Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4526986ioa; Wed, 27 Apr 2022 05:52:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwgK7VaSSTPJuvZIEAcrwrP3yz3WbHSS9pbAvBE1wvDVj+PMJh22xL3P79n5cVF8V3FJK5 X-Received: by 2002:a17:90a:dd46:b0:1b8:8:7303 with SMTP id u6-20020a17090add4600b001b800087303mr43534748pjv.197.1651063969270; Wed, 27 Apr 2022 05:52:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651063969; cv=none; d=google.com; s=arc-20160816; b=wF9bu9NVjVSZqv94dvFOPqn4WpAHbqQWDICby4STX9pPl9NNCXgen3E3jauRA0r/PO +5d8zss8RYLSPR/SKXeGY6wMMejZO4rDiG8Te3M+F0VnKr78blJwz8SlO+bIdwYJrG1t utlsSX9ShnlZ9ethCSDn7oQUql8NYbdfcsNiK0Fnd/o6q6BxMah/fA8e8xjcP5f2wmDC gPaBBcEva4YANnWjYo3AxuAm4oehXde0kGEvYAFgc7EOdRq8PJzZIPc9vnQKRtkabCmv 48bb5OEiBHgMBA6HjnBO56L7ITVMmWemrLxsg6qIetfUmxvGSUFWm03rem24IL2NsPo/ ncNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=m8FIMyp7ZxBzuhSiLeCthOnvDkv17+5J5OEYlvXy4cw=; b=Z6NdQNLWP2RpXmmRO1NXYUI4GIJkiXzyNjByhYmlSdvosXvPZKu0pIzAfdZqqlo63m hXwlLL92qHEbBTl7v2VhwhQXQvEVa7yh2tuL5xFGCcRpNmBguquOPfWEzs5c4MUso24Z 8BArLTlNzzIkvq5JrxwHsJ3nZTAeaHXWcp4hZJhK1cS5RstfSBqigJ+yzkGU4cNu5X/R 5llD9c9CG3pBUcX7wdJ9SZsRWvV3N5z2K9nPxuWw0/R8HXd1SeGIsUEZGUNgvDU+Isb+ 8ahPlwsc4vlsP5aRsvDwNxEBWRbgjcvYpKdiMZFlGLPz/PwTom6LQxA8PoXtqacEroyI 9qUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="BLLaHL/v"; 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=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id f17-20020a631011000000b00398ab3fdcafsi1284585pgl.655.2022.04.27.05.52.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 05:52:49 -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=@alien8.de header.s=dkim header.b="BLLaHL/v"; 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=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5E2B74AE2D; Wed, 27 Apr 2022 05:27:00 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233932AbiD0MaF (ORCPT + 99 others); Wed, 27 Apr 2022 08:30:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233896AbiD0MaE (ORCPT ); Wed, 27 Apr 2022 08:30:04 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 829853B3C4; Wed, 27 Apr 2022 05:26:51 -0700 (PDT) Received: from zn.tnic (p5de8eeb4.dip0.t-ipconnect.de [93.232.238.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id F12FD1EC0535; Wed, 27 Apr 2022 14:26:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1651062406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=m8FIMyp7ZxBzuhSiLeCthOnvDkv17+5J5OEYlvXy4cw=; b=BLLaHL/v37UgDg8YVRsrBqadD8/AOSlOYjrucBOjQQ4xkZtUmRhQrtSNB17Ys/XD22MHUj MPbAFv85Gl0kwftQJ2j7hRfqy+kq1IIvbV23CGj4wW9vhmkKwCo9RqDF2QbHU9er4YnlbF ezdiJhZzKnMWPMSM6WibhwDeLBc92c4= Date: Wed, 27 Apr 2022 14:26:41 +0200 From: Borislav Petkov To: Juergen Gross Cc: Heiko Carstens , 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 Subject: Re: [PATCH 2/2] virtio: replace arch_has_restricted_virtio_memory_access() Message-ID: References: <20220426134021.11210-1-jgross@suse.com> <20220426134021.11210-3-jgross@suse.com> <49e33b14-b439-340b-aa59-a6c77daa4929@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <49e33b14-b439-340b-aa59-a6c77daa4929@suse.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no 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 On Wed, Apr 27, 2022 at 08:40:08AM +0200, Juergen Gross wrote: > I was planning to look at the x86 cpu features to see whether some of > those might be candidates to be switched to platform features instead. I'd say "never touch a running system" unless the platform features are of an advantage... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette