Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1995831ybi; Thu, 18 Jul 2019 01:42:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1CEb1v2b5dx57UakcZr4XHSyLVScPbYCZb+Uc7uQutsaUjxHRZxTYxg4MfPUQ0f6jjVQd X-Received: by 2002:a17:902:e282:: with SMTP id cf2mr49373567plb.301.1563439373477; Thu, 18 Jul 2019 01:42:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563439373; cv=none; d=google.com; s=arc-20160816; b=XfAYbNWnNZhcx5y73Yxdgz7qzcQPla/B2QxSoV2C94XssY/a+IiNjh0fkIGe4EuCda DeR3n34D6pCgfFbHJ4daSytVqZK1gM0dmSJCB5FRhtzIXEFu61zA+W5oP4om81SH8SRa rl3eSrg3Ie9E//XZOD8FkO7Qn87E1rir1RWSh0K2+yKv3dNdspTajTf0Q4MPqT5xomNS glkN5LL0eOZZugZvOcZNLerTZ+WatcFWQvt+2qTwQ8fJpYzlt5s2kgE1MkRvy9v34c/g KPp4DcyDEvFQEMe6zWTzSPiKEIot55t1PfNplSIChCGxrDPpudL+6U3bZaiFBw+4VMLY aVSg== 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=a9rWBVBGG0k8q+qwmoAeMRB5qwFhSAshWVOdbYNkOOk=; b=TiXM8YstfZZ1hKpoheAaKew8/fW1z2UtAheL/u7BRurNntf7Z/wYKJ1rzjAt7VKPTq 1qJj6FoNIWfgqoxVSlI6hr/eBXb6XlYGWM0cfMCOyPY2ZPcSePewmgAaCjZzbjBZFSIh 78CmassR4xo13hHw5OufzU+4M2ZWxPpDR1yxT8efXC+L7iUVq4iJIjt4MXYJdl2E4ScT R7KnlC3jGXQw8ROH0CFnmowe0zdw/hW3XG0/oyZTDuf1jxVCbgMgWeuVkuqa0bSsWVAv eGT43lxc91AY9hw8aIqA7yfyfHL0NYO1VFP33ezHrPpQsPUwVS55ELNrk41F/rcA8PaC 6g2g== 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 p12si1757629pgj.437.2019.07.18.01.42.36; Thu, 18 Jul 2019 01:42:53 -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 S1727580AbfGRImS (ORCPT + 99 others); Thu, 18 Jul 2019 04:42:18 -0400 Received: from verein.lst.de ([213.95.11.211]:57819 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726386AbfGRImR (ORCPT ); Thu, 18 Jul 2019 04:42:17 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id A8FCC68B05; Thu, 18 Jul 2019 10:42:13 +0200 (CEST) Date: Thu, 18 Jul 2019 10:42:13 +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 2/6] swiotlb: Remove call to sme_active() Message-ID: <20190718084213.GA24562@lst.de> References: <20190718032858.28744-1-bauerman@linux.ibm.com> <20190718032858.28744-3-bauerman@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190718032858.28744-3-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:54AM -0300, Thiago Jung Bauermann wrote: > sme_active() is an x86-specific function so it's better not to call it from > generic code. > > There's no need to mention which memory encryption feature is active, so > just use a more generic message. Besides, other architectures will have > different names for similar technology. > > Signed-off-by: Thiago Jung Bauermann Looks good, Reviewed-by: Christoph Hellwig