Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4421310ioa; Wed, 27 Apr 2022 03:35:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztCEL2tuTMUm2dClNtpcZDTOFEUw8Lm/4VMoinClrGp5B+umGy20Witr36gJrOKWUce1Yv X-Received: by 2002:a17:902:ef45:b0:155:cede:5a9d with SMTP id e5-20020a170902ef4500b00155cede5a9dmr27602703plx.93.1651055735143; Wed, 27 Apr 2022 03:35:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651055735; cv=none; d=google.com; s=arc-20160816; b=P4Bi2Ca1D0Hv22c+/CVfj9ySatXms6lu44Gszr/8FkoidL2LSFI3EmATsr1iCo3nDT USXSmiuqVQqSkeWCd99f0nnwwM2VNXGjk+i99heMJXUl56cMaUUVdcFY5jWw5AzCZ92C JZ86THIn+bWvzDfKyt9mg5Re+AIFalxNLgFO0Y1MYqAWLEQ2kdWgLL1VcKFbxXTVC2VJ oJ+6FUK7fQzo4xdtgpFTMm36wGvojON8ZfPYPohN0UfAmrQJ/JGNorbZ1JU6D6frZLEn MYmz/f8MZbNhSjoJFQvXTwBiIwNjYPARKLiUbfFqrkbH5lj61BpioY1FQ2jSpntRZTyV /WmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=VMMhCTg9Mz44tbBAcPnS8dTXZRe/T0RsJs3CgplUBHw=; b=sZf6sXKAvTBEXp3dD1fjXsglg48js4fxhpEVkxaOATMiGRiZ2lRGHIGeVpjFY1okSj BTRWyRRg39fB3n9aWl3Rw1eRpGS6eDEv63bWDkbGTYEduMEPsTQxEVq8WHXdrUMJWKkU JdL9yAYQ3nxp4B3/WcWo1+8PvxL1U+hvKfnIX5YV4xGyDY1ghwpMrbCfBoQe+OgPgaR6 mafCDbNPwSaaVL/FDmA/Go9KRnD47iNJ4WcXDkIF0DMJU4oIMIC3aeJBXAtunuNahEE+ MyneF9FqZ8ATxR7GNkrJm19qS2eVSpyAsg3zkOA9It9GsebkdUssHJ2o8zwzz2+/Gut2 Yesg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=BGRU2O86; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l184-20020a6388c1000000b003ab7e471c80si1037627pgd.471.2022.04.27.03.35.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 03:35:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=BGRU2O86; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 66FA83C59B4; Wed, 27 Apr 2022 02:48:15 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358204AbiD0Gne (ORCPT + 99 others); Wed, 27 Apr 2022 02:43:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238758AbiD0GnX (ORCPT ); Wed, 27 Apr 2022 02:43:23 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 786B61117F; Tue, 26 Apr 2022 23:40:11 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 0AC381F388; Wed, 27 Apr 2022 06:40:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1651041610; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VMMhCTg9Mz44tbBAcPnS8dTXZRe/T0RsJs3CgplUBHw=; b=BGRU2O86KAhV+N0TXXa4Lzh5zasnW0BIvE0vflcAP9c1JUYO32qYZYHNH5dTYytFPDrMJ1 Y7ySJZ94UG3/nmRYRlg8JSO0EoK8vT47ctmZ/+X1gBp167njPwojwdEneikLUusJ9S3NL5 DWlc8ZgW9ExXInKOj9DK6zx847Qy0HE= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 46A641323E; Wed, 27 Apr 2022 06:40:09 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id vsHyD0nlaGIoFAAAMHmgww (envelope-from ); Wed, 27 Apr 2022 06:40:09 +0000 Message-ID: <49e33b14-b439-340b-aa59-a6c77daa4929@suse.com> Date: Wed, 27 Apr 2022 08:40:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH 2/2] virtio: replace arch_has_restricted_virtio_memory_access() Content-Language: en-US To: Heiko Carstens , Borislav Petkov Cc: linux-kernel@vger.kernel.org, x86@kernel.org, linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, linux-hyperv@vger.kernel.org, virtualization@lists.linux-foundation.org, Arnd Bergmann , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , Andy Lutomirski , Peter Zijlstra , "Michael S. Tsirkin" , Jason Wang , Christoph Hellwig , Oleksandr Tyshchenko References: <20220426134021.11210-1-jgross@suse.com> <20220426134021.11210-3-jgross@suse.com> From: Juergen Gross In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------S4HLpMY97WHW4YGrYFa7I3Pk" X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------S4HLpMY97WHW4YGrYFa7I3Pk Content-Type: multipart/mixed; boundary="------------w0zPX6ei5mincRTkBIeAwr5i"; protected-headers="v1" From: Juergen Gross To: Heiko Carstens , Borislav Petkov Cc: linux-kernel@vger.kernel.org, x86@kernel.org, linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, linux-hyperv@vger.kernel.org, virtualization@lists.linux-foundation.org, Arnd Bergmann , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , Andy Lutomirski , Peter Zijlstra , "Michael S. Tsirkin" , Jason Wang , Christoph Hellwig , Oleksandr Tyshchenko Message-ID: <49e33b14-b439-340b-aa59-a6c77daa4929@suse.com> Subject: Re: [PATCH 2/2] virtio: replace arch_has_restricted_virtio_memory_access() References: <20220426134021.11210-1-jgross@suse.com> <20220426134021.11210-3-jgross@suse.com> In-Reply-To: --------------w0zPX6ei5mincRTkBIeAwr5i Content-Type: multipart/mixed; boundary="------------e82U6XVXXlBrBuGa7pUvQIO7" --------------e82U6XVXXlBrBuGa7pUvQIO7 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMjYuMDQuMjIgMjE6NTEsIEhlaWtvIENhcnN0ZW5zIHdyb3RlOg0KPiBPbiBUdWUsIEFw ciAyNiwgMjAyMiBhdCAwNzozNTo0M1BNICswMjAwLCBCb3Jpc2xhdiBQZXRrb3Ygd3JvdGU6 DQo+PiBPbiBUdWUsIEFwciAyNiwgMjAyMiBhdCAwMzo0MDoyMVBNICswMjAwLCBKdWVyZ2Vu IEdyb3NzIHdyb3RlOg0KPj4+ICAgLyogcHJvdGVjdGVkIHZpcnR1YWxpemF0aW9uICovDQo+ Pj4gICBzdGF0aWMgdm9pZCBwdl9pbml0KHZvaWQpDQo+Pj4gICB7DQo+Pj4gICAJaWYgKCFp c19wcm90X3ZpcnRfZ3Vlc3QoKSkNCj4+PiAgIAkJcmV0dXJuOw0KPj4+ICAgDQo+Pj4gKwlw bGF0Zm9ybV9zZXRfZmVhdHVyZShQTEFURk9STV9WSVJUSU9fUkVTVFJJQ1RFRF9NRU1fQUND RVNTKTsNCj4+DQo+PiBLaW5kYSBsb25nLWlzaCBmb3IgbXkgdGFzdGUuIEknbGwgcHJvYmFi b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hlIHg4NiBjcHUgZmVhdHVyZXMg dG8gc2VlIHdoZXRoZXIgc29tZSBvZg0KdGhvc2UgbWlnaHQgYmUgY2FuZGlkYXRlcyB0byBi ZSBzd2l0Y2hlZCB0byBwbGF0Zm9ybSBmZWF0dXJlcyBpbnN0ZWFkLg0KDQoNCkp1ZXJnZW4N Cg== --------------e82U6XVXXlBrBuGa7pUvQIO7 Content-Type: application/pgp-keys; name="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Disposition: attachment; filename="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xsBNBFOMcBYBCACgGjqjoGvbEouQZw/ToiBg9W98AlM2QHV+iNHsEs7kxWhKMjri oyspZKOBycWxw3ie3j9uvg9EOB3aN4xiTv4qbnGiTr3oJhkB1gsb6ToJQZ8uxGq2 kaV2KL9650I1SJvedYm8Of8Zd621lSmoKOwlNClALZNew72NjJLEzTalU1OdT7/i 1TXkH09XSSI8mEQ/ouNcMvIJNwQpd369y9bfIhWUiVXEK7MlRgUG6MvIj6Y3Am/B BLUVbDa4+gmzDC9ezlZkTZG2t14zWPvxXP3FAp2pkW0xqG7/377qptDmrk42GlSK N4z76ELnLxussxc7I2hx18NUcbP8+uty4bMxABEBAAHNHEp1ZXJnZW4gR3Jvc3Mg PGpnQHBmdXBmLm5ldD7CwHkEEwECACMFAlOMcBYCGwMHCwkIBwMCAQYVCAIJCgsE FgIDAQIeAQIXgAAKCRCw3p3WKL8TL0KdB/93FcIZ3GCNwFU0u3EjNbNjmXBKDY4F UGNQH2lvWAUy+dnyThpwdtF/jQ6j9RwE8VP0+NXcYpGJDWlNb9/JmYqLiX2Q3Tye vpB0CA3dbBQp0OW0fgCetToGIQrg0MbD1C/sEOv8Mr4NAfbauXjZlvTj30H2jO0u +6WGM6nHwbh2l5O8ZiHkH32iaSTfN7Eu5RnNVUJbvoPHZ8SlM4KWm8rG+lIkGurq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pWPlJEBRMedCot60g5dmbdrZ5DWClAr0yau47zpWj3enf1tLWaqc suylWsviuGjKGw7KHQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------e82U6XVXXlBrBuGa7pUvQIO7-- --------------w0zPX6ei5mincRTkBIeAwr5i-- --------------S4HLpMY97WHW4YGrYFa7I3Pk Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmJo5UgFAwAAAAAACgkQsN6d1ii/Ey+n HAgAlI5tgqXfIHi9klo7ckJBdbCjT2EvYU2yTBe7BacJ6ocCDc+0WxtX4/ckT9AImG4krsTHVb0K SQ6XTp1DtFKIsFbvK9T3z6eSwe1v+nSe3E+5Eym+GFcl8KdMCSvm06H+/rWGBa4eQasYftWopVLd bzywDXij4CbKqhHiELGFQR1xO+iOQxJA3vjTFSXq+ZemjPXIEBCU2p/nTnspcpVh+sN4T3tAjVgi rUUf4obOqAbi1fdTlgEZSBgyu108VYYWE2oBZZ2Al5QRmdK/PMIw081eOt20Vi315rvWCpAy/nIY unnqv1osxafnDog4t4KjQi4QGmxMbZndp636gvQwyQ== =vLJU -----END PGP SIGNATURE----- --------------S4HLpMY97WHW4YGrYFa7I3Pk--