Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2524507ybi; Thu, 18 Jul 2019 09:43:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPPwWGXt6aOhwYQ23mfYFFf2AGsjgfIj/pbyIVzCvBt21Yy2vcI4yEZNDp0YbbzwZTHamI X-Received: by 2002:a63:d944:: with SMTP id e4mr48248132pgj.261.1563468180454; Thu, 18 Jul 2019 09:43:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563468180; cv=none; d=google.com; s=arc-20160816; b=OCNve80VEpN45unt9j05PnKizocKULJ3cq3KsQoL3BjhINRlm6f3RqhaY3LL48SPWe ztC/WyPxjwh+j+kSzw9Ob8LFRJxZ5WbSjGhtHFD+hG0N7ZVUCIwrv6ikfbWAgA0/qxHt /cquwFNi3rC3o8UL8NuWH3tkJwYaLyZ99lElb2FjxXNJJtTP//xC63ATWNX34QPDz2HA ccIX7HK8ayLets+3ah9Ql7MewfkMPHodcEkY/uUm6xWmQRWw0ssSv+vmSPfTe2g2wy+g UGoC9pIOMiFdZWIGLxlA71OqxzWAaMC+aLNDhk0Uv3+hyBVX6Kr9oMyXiQK4610LixL+ UqUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:mime-version:date:in-reply-to :subject:cc:to:from:user-agent:references; bh=PUX3Zij3x+Gw+eS/qvLzqe1LBNnpfULgD33ocDwBF1w=; b=fiU1t6TSrC2Kk89bEUIZZWMSlMmxYWSYfddnZB8broTaAuObb/pyrGt4fx6yzdSpPs TnbdNNamfX/aWWDQbZOBY4vS9XMj/NNYLzYcngQr9qKZXDkTfrfQIjU2fFytTHKsRzpk UIOMRITzeJdEzh76udO9C6i/FckamYutPqKskLUdv5KPLCGw7fKCdCvlqvT8FoRrzzT0 5MFVKfNd7h3oVJhIF++W9IJnH8i9Lv2YvriZA27wRi0lN9hD98LS2uK95HY/3CO+0vtC dRUTEUDnPm95UnWDkN6sn5opBJHUFRL/FIL4KBQBnJQ0dfgTxghIkb8qk4v7xyh9TF0H kGsw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fr6si2829361pjb.97.2019.07.18.09.42.44; Thu, 18 Jul 2019 09:43:00 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730306AbfGRQl6 (ORCPT + 99 others); Thu, 18 Jul 2019 12:41:58 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:51724 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726040AbfGRQl5 (ORCPT ); Thu, 18 Jul 2019 12:41:57 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x6IGas38068926 for ; Thu, 18 Jul 2019 12:41:56 -0400 Received: from e34.co.us.ibm.com (e34.co.us.ibm.com [32.97.110.152]) by mx0a-001b2d01.pphosted.com with ESMTP id 2tttqt4urf-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 18 Jul 2019 12:41:56 -0400 Received: from localhost by e34.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 18 Jul 2019 17:41:55 +0100 Received: from b03cxnp07028.gho.boulder.ibm.com (9.17.130.15) by e34.co.us.ibm.com (192.168.1.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 18 Jul 2019 17:41:50 +0100 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x6IGfmwM34341242 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 Jul 2019 16:41:49 GMT Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B510CC6057; Thu, 18 Jul 2019 16:41:48 +0000 (GMT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8093CC6095; Thu, 18 Jul 2019 16:41:44 +0000 (GMT) Received: from morokweng.localdomain (unknown [9.85.186.82]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTPS; Thu, 18 Jul 2019 16:41:44 +0000 (GMT) References: <20190718032858.28744-1-bauerman@linux.ibm.com> <20190718032858.28744-7-bauerman@linux.ibm.com> <20190718084456.GE24562@lst.de> User-agent: mu4e 1.2.0; emacs 26.2 From: Thiago Jung Bauermann To: Christoph Hellwig 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" , 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 In-reply-to: <20190718084456.GE24562@lst.de> Date: Thu, 18 Jul 2019 13:41:25 -0300 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 x-cbid: 19071816-0016-0000-0000-000009D1B85B X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00011452; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000287; SDB=6.01234001; UDB=6.00650264; IPR=6.01015328; MB=3.00027782; MTD=3.00000008; XFM=3.00000015; UTC=2019-07-18 16:41:55 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19071816-0017-0000-0000-00004412E0B8 Message-Id: <87d0i747nu.fsf@morokweng.localdomain> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-07-18_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=989 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907180174 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christoph Hellwig writes: >> -/* 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 Thank you for your review on al these patches. -- Thiago Jung Bauermann IBM Linux Technology Center