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

Re: [Xen-devel] [PATCH 2/2] x86/iommu: avoid mapping the APIC configuration space for hwdom


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • From: Jan Beulich <JBeulich@xxxxxxxx>
  • Date: Thu, 25 Jul 2019 12:47:01 +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=AtzMgpw8HqGU1yWSKbxabOGqDSryjBnukaMIcax4wyk=; b=k8ZtQtko1VKlpnt0/PnoJ3GqXCdSxU7M+EEZt7tYurUrfL8YbgQ/SZM39vvEWkTWoa8xkO1ru4rFA8UF+rPx8MzctDMjK/ONgPlog+kbkxUYJaS2XdHmjlB/O8w5FS52zwsrMTfpRAgAsL9TBIJ+V4TscLJ8GQgrOF7/qDQCV0DPwRHtLyibzGE2TRUbZfhuKIpITu4595NVtE+aXxSTfVwFNF+vJLpAAZDt9r44qIdm+MJW7VqXHkZcBkJNE31HCN5GyvWslTlTImRJ4/hsSPOJ9DsVljws38IjXd8jYJmUaKD/5eVh82Zy863zj6fbVbcNsTaStjJRXyddaYg92A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KTqjKNkVyHataa+KJRDKjSvAmqkmsbuy0dEpE/ujHUleFer1j4Vay1piZwS3FvqzsyS0FdB71OLFe4wOYFqvqDf66vAlqS/JJ23EjtjH8E0ftzqchvyDGxtRiWN6RwB7eVazGoUpLv/gqvrM1gARu2A9mOfPNmEY44erqNV7N5zuvoNrsbgk0rQynd2jeGZbTCPO9ykXeXET2QHyGd11/cP2xNm2lOyHQstYzq7HAx1Lk9Y/HMVzWomefI+JoMc98r0+Tl1atrhWOHz05+XXhF6SvzOqRTu7ETOIJCWyClzP0GinaaSXasNF7k7i47yvJ7dF5m2LMpcOXAUMkRarGw==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=JBeulich@xxxxxxxx;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 25 Jul 2019 12:48:15 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVQW4zrYUYVM3HpUS5nJG7cGq72KbYXymAgAAKL3CAARxMgIABxZQA
  • Thread-topic: [PATCH 2/2] x86/iommu: avoid mapping the APIC configuration space for hwdom

On 24.07.2019 11:43, Jan Beulich wrote:
> On 23.07.2019 18:45, Andrew Cooper wrote:
>> On 23/07/2019 17:09, Jan Beulich wrote:
>>> On 23.07.2019 17:48, Roger Pau Monne wrote:
>>>> Current code only prevents mapping the io-apic page into the guest
>>>> physical memory map. Expand the range to be 0xFECx_xxxx as described
>>>> in the Intel 3 Series Chipset Datasheet section 3.3.1 "APIC
>>>> Configuration Space (FEC0_0000h–FECF_FFFFh)".
>>>>
>>>> AMD also lists this address range in the AMD SR5690 Databook, section
>>>> 2.4.2 "Non-SB IOAPIC Support".
>>> But that's chipset specific. I don't think we can blindly assume
>>> this range.
>>
>> The IO-APIC has always lived in that region since its introduction, and
>> the location isn't even configurable on newer chipsets (If I've read the
>> SAD routing rules in Skylake correctly.  All that can be configured is
>> multiple IO-APICs being mapped adjacent to each other.)
> 
> I'm pretty sure I've seen IO-APICs outside that range.

 From my AMD Fam15 system:

<7>ACPI: Local APIC address 0xfee00000
<6>IOAPIC[0]: apic_id 0, version 33, address 0xfec00000, GSI 0-23
<6>IOAPIC[1]: apic_id 1, version 33, address 0xc8000000, GSI 24-55

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®.