Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1106943pxb; Sun, 10 Oct 2021 21:07:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZ14vXzcoFGGh+f+hwEUYyfOUaQ3i6PT/+h3LJ0+Rz7a2uLRpabVTj4kCpHqy/iDb+qCyo X-Received: by 2002:a05:6402:1d55:: with SMTP id dz21mr26217051edb.164.1633925262142; Sun, 10 Oct 2021 21:07:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633925262; cv=none; d=google.com; s=arc-20160816; b=iAgCz95eKK+6Knmv3LAO0n9Ix5O5RLazBVJFwmoQlcgk84s9I22E2dLarB5s6aJw84 P3CbQfQKthE7AJt6Gg+I0KJ5I+OQRzNZHrZZkt4x47wi0agsiS4X7O/2r7yq7Syy+Vnx stlExqZNxq3GL2UjExDQV2pia6ivMDqaReGZ+dUJ2mJDtMwzfMe6mYJgqfjauazD/lh3 bTs+VSkgb0jr18K9rJFjj3qMObKEtkIJ3pdskUYk1CcrqOHcHCa3uWrQd/aWHdgmIh2C mwy1deMJC4rBqzJ3fIAF2tEmDI7QpCDKYewJ18bFKp/XEk9SEVwVmK5EnJ1hypw6lj15 ikvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=AodP6EAPZXigXGEIde6qJnEbgPAIpoRFX2juSTmeejE=; b=vXwdx1GcrNAOfJNROhFfgRtApzl8rQNz6UUzwoGC2ardOM0tsRgfSCuApUcjuMeQ/Q xY7zuwOCRTSEaGIetqqNnupHFCQjhthQQuTTd3QnjdWkxdzNHS5VQkeNE/QKp2Zm2U+p 7kkI6P5cLfXvr/HuzG4vM9jTgZMrIxTlVIek37Df+J4r+QBh/jhmFjaUIN1AjlJvl5hc rhluOVP0XA03qf8v//E6SS2tZtjjQ3ljR2tVBet2Idwr41Efk0hCJ/Uool0BKfrUCJcJ teR5/EyV43pL9Xd0/+g+MgJ5iIwy4taKBrCm/PZbYDkoDjRpX/mG1bOvsAPOthjflk/t Wr4Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l21si3050783eda.304.2021.10.10.21.06.48; Sun, 10 Oct 2021 21:07:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233630AbhJKCl5 (ORCPT + 99 others); Sun, 10 Oct 2021 22:41:57 -0400 Received: from mga17.intel.com ([192.55.52.151]:13178 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231578AbhJKCl4 (ORCPT ); Sun, 10 Oct 2021 22:41:56 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10133"; a="207592594" X-IronPort-AV: E=Sophos;i="5.85,363,1624345200"; d="scan'208";a="207592594" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Oct 2021 19:39:57 -0700 X-IronPort-AV: E=Sophos;i="5.85,363,1624345200"; d="scan'208";a="459805979" Received: from akleen-mobl1.amr.corp.intel.com (HELO [10.209.83.75]) ([10.209.83.75]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Oct 2021 19:39:56 -0700 Message-ID: <8c906de6-5efa-b87a-c800-6f07b98339d0@linux.intel.com> Date: Sun, 10 Oct 2021 19:39:55 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH v5 16/16] x86/tdx: Add cmdline option to force use of ioremap_host_shared Content-Language: en-US To: "Michael S. Tsirkin" , Kuppuswamy Sathyanarayanan Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Peter Zijlstra , Andy Lutomirski , Bjorn Helgaas , Richard Henderson , Thomas Bogendoerfer , James E J Bottomley , Helge Deller , "David S . Miller" , Arnd Bergmann , Jonathan Corbet , Paolo Bonzini , David Hildenbrand , Andrea Arcangeli , Josh Poimboeuf , Peter H Anvin , Dave Hansen , Tony Luck , Dan Williams , Kirill Shutemov , Sean Christopherson , Kuppuswamy Sathyanarayanan , x86@kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-alpha@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, sparclinux@vger.kernel.org, linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, virtualization@lists.linux-foundation.org References: <20211009003711.1390019-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20211009003711.1390019-17-sathyanarayanan.kuppuswamy@linux.intel.com> <20211009070132-mutt-send-email-mst@kernel.org> From: Andi Kleen In-Reply-To: <20211009070132-mutt-send-email-mst@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The connection is quite unfortunate IMHO. > Can't there be an option > that unbreaks drivers *without* opening up security holes by > making BIOS shared? That would require new low level APIs that distinguish both cases, and a tree sweep. -Andi