Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1996859ybi; Thu, 18 Jul 2019 01:44:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqznW03YjMtqDGHIUlFQBzGSYIZSftXUH+cuEU3TfTHAWB4lIJcIl+62TeXxhdDW25FEgwUX X-Received: by 2002:a17:902:7083:: with SMTP id z3mr9253967plk.278.1563439450039; Thu, 18 Jul 2019 01:44:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563439450; cv=none; d=google.com; s=arc-20160816; b=US/PVI7Tw8jYjhn0a06v4dNKQSAjOv4Ic0P/3yL47Tg50JueGch5rBxLELlesw1RnI KJp0HkVImEqVgWv2YAyeRK1zUeAS0IQBEUHeGrBSNvIDBs0p53Hty++NTBdOfvNkcR58 RDq4ZFmMxy046LYp89MO28447RYJisuB1PDED2knzYBwvkAnvkS8H3+G6nFLtHYYrxtc bzuXTuyntAsoZS10eK28xQmwnZNhPSWT+dRZnFVNaanXq17T3Xmx0egwqVChe8m8z2RS D0j/QKI5CSX3kZRCRnfXslWiAkzRQrr/H1fb7KDcSPu/Sms31w8KBfnKE8DKifDh0ws9 nwrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Kp7Ug5wMOdtwUA9lg/bF/sxSVWKSoqZuKiE/dfVpHEc=; b=a1JxfEKOqOAUKQ3jMWnUCW8MP5n2Z33jPdMDHEI6ifLq2NQFh8fz/mEMxT6jiRLRSz 3M1i/wjOugpt/p5OBWb7NFZefPqY4bD+XT8NNB5UhLucKMQkb9nRa26gJBMMXbG/i3as 1OlWyMqzZJIrJy+YNlIDlTyiSrs7wv1xRP1rJ663muheSms0VQ2B/av2r5BlD2tkRnA5 lU2IOaxAKK0M+JtOKaOEYAScWFHcgfBfzTZqkV+lAgK2mQPzRdj52uVNp6EVlWpbDIwt FrtzIsgcvHS0l04Vt8g+WmiI70G5exY51QMllwXU86ntm4UYwOpHN9c81loiiEbCUiK/ /dLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si1803413pfn.170.2019.07.18.01.43.54; Thu, 18 Jul 2019 01:44:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389530AbfGRInB (ORCPT + 99 others); Thu, 18 Jul 2019 04:43:01 -0400 Received: from verein.lst.de ([213.95.11.211]:57850 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726386AbfGRInA (ORCPT ); Thu, 18 Jul 2019 04:43:00 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 9FFC668B05; Thu, 18 Jul 2019 10:42:58 +0200 (CEST) Date: Thu, 18 Jul 2019 10:42:58 +0200 From: Christoph Hellwig To: Thiago Jung Bauermann Cc: x86@kernel.org, iommu@lists.linux-foundation.org, linux-fsdevel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Christoph Hellwig , Marek Szyprowski , Robin Murphy , Konrad Rzeszutek Wilk , Alexey Dobriyan , Thomas Lendacky , Halil Pasic , Mike Anderson , Ram Pai Subject: Re: [PATCH v3 4/6] x86,s390/mm: Move sme_active() and sme_me_mask to x86-specific header Message-ID: <20190718084258.GC24562@lst.de> References: <20190718032858.28744-1-bauerman@linux.ibm.com> <20190718032858.28744-5-bauerman@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190718032858.28744-5-bauerman@linux.ibm.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 18, 2019 at 12:28:56AM -0300, Thiago Jung Bauermann wrote: > Now that generic code doesn't reference them, move sme_active() and > sme_me_mask to x86's . > > Also remove the export for sme_active() since it's only used in files that > won't be built as modules. sme_me_mask on the other hand is used in > arch/x86/kvm/svm.c (via __sme_set() and __psp_pa()) which can be built as a > module so its export needs to stay. > > Signed-off-by: Thiago Jung Bauermann Looks good, Reviewed-by: Christoph Hellwig