RE: [PATCH] iommu/vt-d: Increase DMAR_UNITS_SUPPORTED

2022-05-10 Thread Tian, Kevin
> From: Steve Wahl > Sent: Wednesday, May 11, 2022 3:07 AM > > On Tue, May 10, 2022 at 01:16:26AM +, Tian, Kevin wrote: > > > From: Steve Wahl > > > Sent: Friday, May 6, 2022 11:26 PM > > > > > > On Fri, May 06, 2022 at 08:12:11AM +, Tian, Kevin wrote: > > > > > From: David Woodhouse >

Re: [PATCH] iommu/vt-d: Increase DMAR_UNITS_SUPPORTED

2022-05-10 Thread Steve Wahl
On Tue, May 10, 2022 at 01:16:26AM +, Tian, Kevin wrote: > > From: Steve Wahl > > Sent: Friday, May 6, 2022 11:26 PM > > > > On Fri, May 06, 2022 at 08:12:11AM +, Tian, Kevin wrote: > > > > From: David Woodhouse > > > > Sent: Friday, May 6, 2022 3:17 PM > > > > > > > > On Fri,

RE: [PATCH] iommu/vt-d: Increase DMAR_UNITS_SUPPORTED

2022-05-09 Thread Tian, Kevin
> From: Steve Wahl > Sent: Friday, May 6, 2022 11:26 PM > > On Fri, May 06, 2022 at 08:12:11AM +, Tian, Kevin wrote: > > > From: David Woodhouse > > > Sent: Friday, May 6, 2022 3:17 PM > > > > > > On Fri, 2022-05-06 at 06:49 +, Tian, Kevin wrote: > > > > > From: Baolu Lu > > > > > > >

Re: [PATCH] iommu/vt-d: Increase DMAR_UNITS_SUPPORTED

2022-05-06 Thread Steve Wahl
On Fri, May 06, 2022 at 08:12:11AM +, Tian, Kevin wrote: > > From: David Woodhouse > > Sent: Friday, May 6, 2022 3:17 PM > > > > On Fri, 2022-05-06 at 06:49 +, Tian, Kevin wrote: > > > > From: Baolu Lu > > > > > > > > > --- a/include/linux/dmar.h > > > > > +++ b/include/linux/dmar.h > >

RE: [PATCH] iommu/vt-d: Increase DMAR_UNITS_SUPPORTED

2022-05-06 Thread Tian, Kevin
> From: David Woodhouse > Sent: Friday, May 6, 2022 3:17 PM > > On Fri, 2022-05-06 at 06:49 +, Tian, Kevin wrote: > > > From: Baolu Lu > > > > > > > --- a/include/linux/dmar.h > > > > +++ b/include/linux/dmar.h > > > > @@ -19,7 +19,7 @@ > > > > struct acpi_dmar_header; > > > > > > > >

RE: [PATCH] iommu/vt-d: Increase DMAR_UNITS_SUPPORTED

2022-05-06 Thread Tian, Kevin
> From: Rodel, Jorg > Sent: Friday, May 6, 2022 3:11 PM > > On Fri, May 06, 2022 at 06:49:43AM +, Tian, Kevin wrote: > > another nit: dmar is intel specific thus CONFIG_X86 is always true. > > There are Itanium systems which have DMAR units. Is that no longer > supported? > Sorry I just

Re: [PATCH] iommu/vt-d: Increase DMAR_UNITS_SUPPORTED

2022-05-06 Thread David Woodhouse
On Fri, 2022-05-06 at 06:49 +, Tian, Kevin wrote: > > From: Baolu Lu > > > > > --- a/include/linux/dmar.h > > > +++ b/include/linux/dmar.h > > > @@ -19,7 +19,7 @@ > > > struct acpi_dmar_header; > > > > > > #ifdef CONFIG_X86 > > > -# define DMAR_UNITS_SUPPORTEDMAX_IO_APICS > > > +#

Re: [PATCH] iommu/vt-d: Increase DMAR_UNITS_SUPPORTED

2022-05-06 Thread Rodel, Jorg
On Fri, May 06, 2022 at 06:49:43AM +, Tian, Kevin wrote: > another nit: dmar is intel specific thus CONFIG_X86 is always true. There are Itanium systems which have DMAR units. Is that no longer supported? Regards, -- Jörg Rödel jroe...@suse.de SUSE Software Solutions Germany GmbH

RE: [PATCH] iommu/vt-d: Increase DMAR_UNITS_SUPPORTED

2022-05-06 Thread Tian, Kevin
> From: Baolu Lu > Sent: Friday, May 6, 2022 1:57 PM > > On 2022/5/6 03:46, Steve Wahl wrote: > > Increase DMAR_UNITS_SUPPORTED to support 64 sockets with 10 DMAR > units > > each, for a total of 640. > > > > If the available hardware exceeds DMAR_UNITS_SUPPORTED (previously > set > > to

Re: [PATCH] iommu/vt-d: Increase DMAR_UNITS_SUPPORTED

2022-05-05 Thread Baolu Lu
On 2022/5/6 03:46, Steve Wahl wrote: Increase DMAR_UNITS_SUPPORTED to support 64 sockets with 10 DMAR units each, for a total of 640. If the available hardware exceeds DMAR_UNITS_SUPPORTED (previously set to MAX_IO_APICS, or 128), it causes these messages: "DMAR: Failed to allocate seq_id",

[PATCH] iommu/vt-d: Increase DMAR_UNITS_SUPPORTED

2022-05-05 Thread Steve Wahl
Increase DMAR_UNITS_SUPPORTED to support 64 sockets with 10 DMAR units each, for a total of 640. If the available hardware exceeds DMAR_UNITS_SUPPORTED (previously set to MAX_IO_APICS, or 128), it causes these messages: "DMAR: Failed to allocate seq_id", "DMAR: Parse DMAR table failure.", and