[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 2/6] x86/P2M: relax permissions of PVH Dom0's MMIO entries


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 6 Sep 2021 17:55:59 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0eMpjxEXhNm6omFEl8aBZ2ChtVfNPks2EaXMUmuJAqg=; b=oW2mU8h4+nJF+7gaYSuD086lsqKeg0UyEeQEhKIrVOLWyy3/xqbH8KL91jiQAsCM3picT6K9N0harL+UWaSPC5REiP8k90Qu9LJjNdLs+J09qqUVv6+qdkkPuD0gtJZXTMTBcAAjjHFDsaJX2T67XCL7CnCCbfYrwnRW3u4Owx374Iuvxb84ssXCorTTJ5J9d4H6SqofSXt6WLsEUPepd71TpdgDaS6vuCUSkWXT/XWjYpJGh/n8i3TFDFBfoTTqTPNgBmrtEuwGL42izeARRAIc1zA1wdjwiCiD36O+zwYAM1zUcRAvmHnzngjlSzlS5mASN9Ik9UHktr4hxu8KtA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sa4U2cSGjzNInatLJPKW4bsGiTjipHz3GBD4+9hjcxgNXYMpX1Ujz77ItvoB69KvGjZEj6rTZ8vqqB7uGtqzWc2RfIrQdMBfNBn7ItH2q0Ya4FE3EVxgMcg727J/7tUQJYp+1U2O9txHEJPEZv3/YIqpV3RBdUHot1GGeIzZ20cbxk5sADfDMjkxKk277aonkZtWtYH7SDas2qWrPYq8Fz7/6VOpGyqq/hl1zfCBgebk+u7aXfLRgDpAD+seGftOs0yu9aG2nCq4+M2nZv3+WuzeMSBiZWVrEbAswp2HwfXVhL0AnnMTPgv2I6qH8hA+hRnRO3xSInDKhH0dhsuJHQ==
  • Authentication-results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=suse.com;
  • Cc: Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 06 Sep 2021 15:56:07 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 06.09.2021 17:48, Andrew Cooper wrote:
> On 02/09/2021 09:33, Jan Beulich wrote:
>> To become independent of the sequence of mapping operations, permit
>> "access" to accumulate for Dom0, noting that there's not going to be an
>> introspection agent for it which this might interfere with. While e.g.
>> ideally only ROM regions would get mapped with X set, getting there is
>> quite a bit of work.
> 
> ?
> 
> That's literally the opposite of what needs to happen to fix this bug. 
> Introspection is the only interface which should be restricting X
> permissions.

What agent would be handling access violations in Dom0? The description
(now) focuses on entirely Dom0; I agree that DomU wants things the way
you describe (provided all p2m_access_t abuses are gone).

Jan




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.