Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1270956iob; Fri, 29 Apr 2022 01:18:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynP0mebFBNkO40QBYZjIgvkL555ltiSbOcC17OCcOIxwPFjyWzhyuK5pybAAqvDHCdrQ9t X-Received: by 2002:a62:e80f:0:b0:50d:3693:43df with SMTP id c15-20020a62e80f000000b0050d369343dfmr27713130pfi.36.1651220327450; Fri, 29 Apr 2022 01:18:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651220327; cv=none; d=google.com; s=arc-20160816; b=kyUkDZF9bfJQHUX5m2i9lEKy+txvzh6Lju0phXF2rRFtl9l9MOzF7Jb049wzvPTyQo GE5MIAGsE4vEQddI582XvFUnbeNdzDSOP+aJ8aWdjKcUCTLkGyM+QQEJlYKAVY5wiyAq hA3Kaw8s02EO2mhkmEzx3Y1kjuspPgXLOoZPNZY0mqCKFZH7VAXI2dTc4coGHwC5qBYG B+MZZ/ML/Twv1inJIpNF2/lpJxC8StTpkRN7rnRIfmA3z2sfocSYcxMIw8NkDB4uNSJX 8t3BIXQux5ltV5wOPTJK1BQ4sl6M5tG4eWl1u1+c1jzNr9+iPyPhgbx2q8hsfwKL6WyN 87sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=AZZoBR+MifOMfzpc2UaQXWXUtdGp5oejb9lwzXknN14=; b=odsRDQQf3TT8u3ntzQ7xyfiQ9By+gu6hpAyOsZATVddEEc3T/bEjDc5+Gt/L6EsbjX vzHRi4ukIFKmKfOMY5fxfVXNnHyTgTaSCE+EDGaZInwjotkRIr6vbOR1P02kWNhAa69H gxV9RzwJA1ESgNa/6ecpdZljmCDK5+izrnOOnQpvFcCryaVcUSoYAQudLBxCdgsejUvH A1kCY7tdt31fSZTa2Tirjcq0fCbIj6di6Ar/oS5NqSZPKd13qRcoAkgAIPP2a2h6I6EJ NzpHyocZG+bH+R+cBjOjBqzJ+9+FO+B4DXOic9tX1SoMf9ypl6pIStcg5fLwb0tX9fOh igCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=YnotU1aV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d7-20020aa78147000000b0050a952467b5si6087665pfn.338.2022.04.29.01.18.31; Fri, 29 Apr 2022 01:18:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=YnotU1aV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243361AbiD1NMv (ORCPT + 99 others); Thu, 28 Apr 2022 09:12:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229846AbiD1NMu (ORCPT ); Thu, 28 Apr 2022 09:12:50 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E96E2B0A67; Thu, 28 Apr 2022 06:09:35 -0700 (PDT) Received: from zn.tnic (p5de8eeb4.dip0.t-ipconnect.de [93.232.238.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 960D31EC04A6; Thu, 28 Apr 2022 15:09:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1651151370; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=AZZoBR+MifOMfzpc2UaQXWXUtdGp5oejb9lwzXknN14=; b=YnotU1aVf2LVp6eHrZ4SvHyz1x/qggcQnfrKqLeECCiZH98kafs2LrLeGP8gIPG32sELFY cmmTBHwZNLqFvIyTDwKc/7JM/FwafuvK2fxVlVClL8amkJjpxNRLFYAGTiyTonTquX1PKm nAilvE/+vpeRCp7bKBu9Nq0dkU3sJYw= Date: Thu, 28 Apr 2022 15:09:31 +0200 From: Borislav Petkov To: Jane Chu Cc: dan.j.williams@intel.com, hch@infradead.org, dave.hansen@intel.com, peterz@infradead.org, luto@kernel.org, david@fromorbit.com, djwong@kernel.org, linux-fsdevel@vger.kernel.org, nvdimm@lists.linux.dev, linux-kernel@vger.kernel.org, x86@kernel.org, vishal.l.verma@intel.com, dave.jiang@intel.com, agk@redhat.com, snitzer@redhat.com, dm-devel@redhat.com, ira.weiny@intel.com, willy@infradead.org, vgoyal@redhat.com Subject: Re: [PATCH v9 2/7] x86/mce: relocate set{clear}_mce_nospec() functions Message-ID: References: <20220422224508.440670-1-jane.chu@oracle.com> <20220422224508.440670-3-jane.chu@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220422224508.440670-3-jane.chu@oracle.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 22, 2022 at 04:45:03PM -0600, Jane Chu wrote: > Relocate the twin mce functions to arch/x86/mm/pat/set_memory.c > file where they belong. > > While at it, fixup a function name in a comment. > > Reviewed-by: Christoph Hellwig > Reviewed-by: Dan Williams > Signed-off-by: Jane Chu > --- > arch/x86/include/asm/set_memory.h | 52 ------------------------------- > arch/x86/mm/pat/set_memory.c | 49 ++++++++++++++++++++++++++++- > include/linux/set_memory.h | 8 ++--- > 3 files changed, 52 insertions(+), 57 deletions(-) Acked-by: Borislav Petkov -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette