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

Re: [Xen-devel] [PATCH 1/2] x86/iommu: avoid mapping the interrupt address range for hwdom


  • To: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • From: Jan Beulich <JBeulich@xxxxxxxx>
  • Date: Tue, 23 Jul 2019 16:06:41 +0000
  • Accept-language: en-US
  • 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=GtyIpav2AWNHRzvHJ9+ZChhP7g9azS0ShlsSa1SXAYo=; b=k4rf3c3+ImpfWY6ac3Ni2IEOavcxWCP7o7nnte3HvEjRzYen6RfAplacZyMM+rncCk0vU1hkNGQzcpM0AbdZV6pKS+eQ3FlyoM7shCAylEsKwQsBg2Z2+bZrxmThmWBvwY1Nz+WgXRX3J8Z0nE3VKX4rAEUaqHvxQF9krhFgZy4pVOdpJQosYO1L0G4UaecHotgVjzQxyMOKXeywNp9vzYQt0OxGiIo9Zcf4ODs24b0RtVeAdlgv+qmnyz1AC/P3OQ69VrZJrnpa9OSfkG+G6n0g7DECchqS5gVeAD+P/8Wu3if7UOcKr6SflN/PA/LzKu6FizldfpzX8Epcnlyctw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JRBUr8YpFr42J6AmIskOStVlZbEjsDIVBDedYupDMO5d946k0HO69hQHo4j1Ta9FtQtHq9L9VTrpH80b4Cl6adaUPJLs+9oHL4PriwDjzU8BOYp15Wq5I/7dgvEhBclX5OIhU1EpXdqTgpVVx46MoDoF0hsp6bdY4H2Nk197j3Um1ElUQXfwZr8BlqymWOvtXsB2hm8KIfM54oxa4e04SEO06NByXwdvynB5f6Oh+444WHXmSdbZMUhPWe8e7XallOubPif8xLcYPkBZwcYt9dlKR43aTfz66zux6C5b/QnVVzJFzL6lA60n40fOO1WAvtfhX2VLl775A5kTJcURdA==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=JBeulich@xxxxxxxx;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Delivery-date: Tue, 23 Jul 2019 16:13:29 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVQW4v+Mw2bodxPUiy9HdTXv5ycabYXlgA
  • Thread-topic: [PATCH 1/2] x86/iommu: avoid mapping the interrupt address range for hwdom

On 23.07.2019 17:48, Roger Pau Monne wrote:
> Current code only prevent mapping the lapic page into the guest
> physical memory map. Expand the range to be 0xFEEx_xxxx as described
> in the Intel VTd specification section 3.13 "Handling Requests to
> Interrupt Address Range".

Right, and it being device side accesses that are of interest here,
the LAPIC address range (visible to the CPU only) shouldn't even
matter. Hence after some back and forth with myself I agree that
you remove the entire comment there.

> AMD also lists this address range in the AMD SR5690 Databook, section
> 2.4.4 "MSI Interrupt Handling and MSI to HT Interrupt Conversion".

Which raises the question about yet another patch to also exclude
the HT range.

> Requested-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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