Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4419911ioa; Wed, 27 Apr 2022 03:33:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFUmJ7JensaiE0nOkhSKzkPy/zXE1+kLOeT2CcHUuLZ/aMDD2QhOa2Z9hDhhKOLhyt65Tx X-Received: by 2002:a65:4503:0:b0:382:aad5:ad7d with SMTP id n3-20020a654503000000b00382aad5ad7dmr23648169pgq.488.1651055605255; Wed, 27 Apr 2022 03:33:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651055605; cv=none; d=google.com; s=arc-20160816; b=nzSYRGLz2ltuockIBXJbvyanM0S2rGrwQozJO9uXH2UXwd86RF0ELwTa7stDGMgOog q7efQeCp3A6sqh3sstNaNiMs47n4iF5G42gxHzmAGqF1vv1LjP4dOmehQsUc2FmxK64y nfShYifZzY+8M57SXrgui0BBaMLFpuYR0r7Xo+mV4hLTXn234cBmahfr5xJSRBL4coN1 A0JFNxDWIA+XdIj6UIAr7MiWOhgIec2nV98IClOAAzf5zHS/0k5iLT5xhCAeElG8A9E8 kSwRszO4QvoRPZM5zQBEMWtt7eFfcsLSU70pXJAjzVKILHE5dlqyOw5QZQO2IDtpGY1y 27Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=hIAZm9r1VDhAElkE1+2svEA6lw1ewe4ogFbmiroQgP4=; b=R79K3YbsWW0bgF/4cVvcmYVQj3yu97sWjtEA9BZsXHPpicAwdVv312mJFhd2xQCOIv 3Ot7XZjFRUnkvp6ZYIls24P8QFD/ELuw9hgjl1h3zQLlKpg31zlrRBSvJBZTOXq23gqs T7owhuS+EUr+hiOBJQIPz5WLPEjsR0QDEJu0ZCRXvKGvI3Z1E1SQjUdQrSM4ILq62p3M wzq8yj1RT8Krvo4PGB5IwEL9cpIJqbL2Q4p7Ag9XVcjkenoqcSj7yPa9GlF6Xtzg631R qfvzHFoZ6+rBtEVQRBGIGsykYkBA0dEvqq5uzekAs9v9iy6scZPAKOoiDpYLl0i6Q+VH PR8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=p9gYvueF; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id r15-20020a63ce4f000000b003aa66b8915fsi1134064pgi.809.2022.04.27.03.33.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 03:33:25 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=p9gYvueF; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 784663B9605; Wed, 27 Apr 2022 02:46:51 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358186AbiD0Gkq (ORCPT + 99 others); Wed, 27 Apr 2022 02:40:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238117AbiD0Gkp (ORCPT ); Wed, 27 Apr 2022 02:40:45 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B0131D336; Tue, 26 Apr 2022 23:37:34 -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-out1.suse.de (Postfix) with ESMTPS id CE819210EB; Wed, 27 Apr 2022 06:37:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1651041452; 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=hIAZm9r1VDhAElkE1+2svEA6lw1ewe4ogFbmiroQgP4=; b=p9gYvueF1siXdTXd9t0+h6KpT9vy0RBkQ5GDeRB2NZ4QadZ1DUbkQ1soFwuR/YIye8V+Lb RER9L++lDxAgGgTes9u5QfZ2B5td/67dtnFzANpoDN9CBH3TlzirGHZJgF4VaFdtMUV+ZJ XYFdbP3xbsmzuYLHS215ZIk2j9V9ieA= 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 15E101323E; Wed, 27 Apr 2022 06:37:32 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 3dCQA6zkaGIgEwAAMHmgww (envelope-from ); Wed, 27 Apr 2022 06:37:32 +0000 Message-ID: <1c1a4a7d-a273-c3b0-3683-195f6e09a027@suse.com> Date: Wed, 27 Apr 2022 08:37:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Content-Language: en-US To: 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 , Heiko Carstens , 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 Subject: Re: [PATCH 2/2] virtio: replace arch_has_restricted_virtio_memory_access() In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------Tv20wGOiy6FQjb02RJyTGGbf" 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) --------------Tv20wGOiy6FQjb02RJyTGGbf Content-Type: multipart/mixed; boundary="------------g3LQIICVaZ9MN3qiKd20kOyb"; protected-headers="v1" From: Juergen Gross To: 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 , Heiko Carstens , 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: <1c1a4a7d-a273-c3b0-3683-195f6e09a027@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: --------------g3LQIICVaZ9MN3qiKd20kOyb Content-Type: multipart/mixed; boundary="------------UBo4NeYC7LUvi1M7vp3Ag3TK" --------------UBo4NeYC7LUvi1M7vp3Ag3TK Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMjYuMDQuMjIgMTk6MzUsIEJvcmlzbGF2IFBldGtvdiB3cm90ZToNCj4gT24gVHVlLCBB cHIgMjYsIDIwMjIgYXQgMDM6NDA6MjFQTSArMDIwMCwgSnVlcmdlbiBHcm9zcyB3cm90ZToN Cj4+ICAgLyogcHJvdGVjdGVkIHZpcnR1YWxpemF0aW9uICovDQo+PiAgIHN0YXRpYyB2b2lk IHB2X2luaXQodm9pZCkNCj4+ICAgew0KPj4gICAJaWYgKCFpc19wcm90X3ZpcnRfZ3Vlc3Qo KSkNCj4+ICAgCQlyZXR1cm47DQo+PiAgIA0KPj4gKwlwbGF0Zm9ybV9zZXRfZmVhdHVyZShQ TEFURk9STV9WSVJUSU9fUkVTVFJJQ1RFRF9NRU1fQUNDRVNTKTsNCj4gDQo+IEtpbmRhIGxv bmctaXNoIGZvciBteSB0YXN0ZS4gSSdsbCBwcm9iYWJseSBjYWxsIGl0Og0KPiANCj4gCXBs YXRmb3JtX3NldCgpDQo+IA0KPiBhcyBpdCBpcyBpbXBsaWNpdCB0aGF0IGl0IHNldHMgY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klSVElPX1JFU1RSSUNURURfTUVNX0FDQ0VT Uyk7DQo+IA0KPiBIdWgsIHdoYXQgZG9lcyB0aGF0IGhhdmUgdG8gZG8gd2l0aCBTTUU/DQoN CkkgcGlja2VkIHRoZSBmdW5jdGlvbiB3aGVyZSBzZXZfc3RhdHVzIGlzIGJlaW5nIHNldCwg YXMgdGhpcyBzZWVtZWQgdG8gYmUNCnRoZSBjb3JyZWN0IHBsYWNlIHRvIHNldCB0aGUgZmVh dHVyZSBiaXQuDQoNCkxvb2tpbmcgYXQgaXQgaW4gbW9yZSBkZXRhaWwgaXQgbWlnaHQgYmUg cHJlZmVyYWJsZSB0byBkbyBpdCBpbg0Kc2V2X3NldHVwX2FyY2goKSBpbnN0ZWFkLg0KDQoN Ckp1ZXJnZW4NCg== --------------UBo4NeYC7LUvi1M7vp3Ag3TK 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 FgIDAQIeAQIXgAAKCRCw3p3W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BfBBgBAgAJBQJTjHAWAhsMAAoJELDendYovxMv Q/gH/1ha96vm4P/L+bQpJwrZ/dneZcmEwTbe8YFsw2V/Buv6Z4Mysln3nQK5ZadD 534CF7TDVft7fC4tU4PONxF5D+/tvgkPfDAfF77zy2AH1vJzQ1fOU8lYFpZXTXIH b+559UqvIB8AdgR3SAJGHHt4RKA0F7f5ipYBBrC6cyXJyyoprT10EMvU8VGiwXvT yJz3fjoYsdFzpWPlJEBRMedCot60g5dmbdrZ5DWClAr0yau47zpWj3enf1tLWaqc suylWsviuGjKGw7KHQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------UBo4NeYC7LUvi1M7vp3Ag3TK-- --------------g3LQIICVaZ9MN3qiKd20kOyb-- --------------Tv20wGOiy6FQjb02RJyTGGbf Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmJo5KsFAwAAAAAACgkQsN6d1ii/Ey97 qQgAnhF1BQYikeBdShj94UJG4leGZg9I17mVpNA5whmgpqA9u8YaGSbb2KLlrW0qGAx5sJu1Zy2m JYfTWc8Nqs9N67fq8iocL/5iiaULgIeYvAsr62I1znZELFaw9MAuCMQOZhPoVC39Rrsucp0RR39a 9nt/YL+8cu91+kbMcF7QkZ0ORb1Y5ZWOBRyIWkDRkGU/uFnmot16zNpuF1ccqzJagi/84SxlRbFE e1B/3xYM/WyBCXFKKDNjYA27ct1EMkzIZ1lohSZSB0IgyWgN3nzB6d8ngjnrZhs3ChyhcTrawE/b SgiX7TNHX44Q3PTTAyZs3FvJ5tVDGSSDXuJ4wAlVwg== =niPG -----END PGP SIGNATURE----- --------------Tv20wGOiy6FQjb02RJyTGGbf--