Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1998682ybi; Thu, 18 Jul 2019 01:46:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqzeoCzBAsxe/R/pGERrxhJdXFg6FutyKql+jIpwu+KLwGo4OZs4D43DPR64jYZ+ElJqzONa X-Received: by 2002:a17:90a:cb97:: with SMTP id a23mr48764044pju.67.1563439571115; Thu, 18 Jul 2019 01:46:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563439571; cv=none; d=google.com; s=arc-20160816; b=VpyD9y7yTo71L/weOAW6ygmBTpUV/7jC+rLPSF6JQ9MY8JRwUd36QvWDhbXdi0i4jv M01Xr6IYKxSdsMILUynmzK7Y8EmT8G1WLQtGAOJ2NHAahv4CY6ZBMBdRk/l4LOqsRXdh gqWzspe9/8OO5l3rUvE3ZX9vqBCRnCKPwIltmP5ToAvFLmNvuVSr7yGZZ0+FcZfH91bb kkSIw7vHXVGzA2ifAryk+wVqMXI86JBAuwFy64CfbrHan8Q/K+fKGqZPXrNI536KI+eH lO60/hP8Bg1xSxXGA3VTIdfiSaUiN9lArwrn6bwSWAM1ukmGaJz6lX24hUYoXR694b72 bYYw== 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=ZguOCCsjd63+qg0nahmTeOTg7JNXAaLiJrn04EjcciQ=; b=Ne0jId6mtLwEc/FuwvMkeNBP0/8f77wDusE3TWeITv9FOHJTGym5d6gqyUeHXMAx5M dckvC+0fqjy71d4/8FPfKFLXiubODsdQm6n2vURGjzu+v4mTxxpdmIwWKm9TT1KIISya KBpb9pWmiSRDzWiZ6T7Tusby7/660oPildAeTTCPSFJJv9oCBY9mZpQvuGf0GjlISQ9E vpS3eTWdWsOfY1vFjrNYw7CYPwLYwB6feijowR8Ofqw7CLYhYe5KEgEradJcujXXruiE GlpwW/8w94D3r3Gi8yo2yJeZt0jZk4DrR/FsoKO6FCi4j31rD3u0wlTakiZf/uLytTnn LD7Q== 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 q18si705932pll.79.2019.07.18.01.45.55; Thu, 18 Jul 2019 01:46:11 -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 S2389634AbfGRIpA (ORCPT + 99 others); Thu, 18 Jul 2019 04:45:00 -0400 Received: from verein.lst.de ([213.95.11.211]:57902 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726482AbfGRIo7 (ORCPT ); Thu, 18 Jul 2019 04:44:59 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id BEB5068B05; Thu, 18 Jul 2019 10:44:57 +0200 (CEST) Date: Thu, 18 Jul 2019 10:44:56 +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 6/6] s390/mm: Remove sev_active() function Message-ID: <20190718084456.GE24562@lst.de> References: <20190718032858.28744-1-bauerman@linux.ibm.com> <20190718032858.28744-7-bauerman@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190718032858.28744-7-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 > -/* are we a protected virtualization guest? */ > -bool sev_active(void) > -{ > - return is_prot_virt_guest(); > -} > - > bool force_dma_unencrypted(struct device *dev) > { > - return sev_active(); > + return is_prot_virt_guest(); > } Do we want to keep the comment for force_dma_unencrypted? Otherwise looks good: Reviewed-by: Christoph Hellwig