Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1389594

Re: [PATCH v2] ACPI/SRAT: fix SRAT order parsing when both LAPIC and X2APIC present

From "Rafael J. Wysocki" <rjw@rjwysocki.net>
Newsgroups linux.kernel
Subject Re: [PATCH v2] ACPI/SRAT: fix SRAT order parsing when both LAPIC and X2APIC present
Date 2016-04-27 23:30 +0200
Message-ID <rsFbY-8m2-7@gated-at.bofh.it> (permalink)
References <rqalY-8hU-9@gated-at.bofh.it> <rqj5T-6Uw-3@gated-at.bofh.it> <rqj5T-6Uw-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thursday, April 21, 2016 11:29:00 AM Lukasz Anaczkowski wrote:
> SRAT maps APIC ID to proximity domains ids (PXM). Mapping from PXM to
> NUMA node ids is based on order of entries in SRAT table.
> SRAT table has just LAPIC entires or mix of LAPIC and X2APIC entries.
> As long as there are only LAPIC entires, mapping from proximity domain
> id to NUMA node id is as assumed by BIOS. However, once APIC entries are
> mixed, X2APIC entries would be first mapped which causes unexpected NUMA
> node mapping.
> To fix that, change parsing to check each entry against both LAPIC and
> X2APIC so mapping is in the SRAT/PXM order.
> This is supplemental change to the fix made by d81056b5278 (thus
> "Fixes:" tag) and using same mechanism introduced by 9b3fedd (ACPI / tables:
> Add acpi_subtable_proc to ACPI table parsers).
> 
> Fixes: d81056b5278 (Handle apic/x2apic entries in MADT in correct order)
> Signed-off-by: Lukasz Anaczkowski <lukasz.anaczkowski@intel.com>

Applied, thanks!

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] ACPI/SRAT: fix SRAT order parsing when both LAPIC and X2APIC present "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-04-21 02:10 +0200
  [PATCH v2] ACPI/SRAT: fix SRAT order parsing when both LAPIC and X2APIC present Lukasz Anaczkowski <lukasz.anaczkowski@intel.com> - 2016-04-21 11:30 +0200
    Re: [PATCH v2] ACPI/SRAT: fix SRAT order parsing when both LAPIC and X2APIC present "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-04-27 23:30 +0200
  Re: [PATCH] ACPI/SRAT: fix SRAT order parsing when both LAPIC and X2APIC present Lukasz Anaczkowski <lukasz.anaczkowski@intel.com> - 2016-04-21 11:30 +0200

csiph-web