of/Documentation: Specify local APIC ID in "reg"
authorIvan Gorinov <ivan.gorinov@intel.com>
Thu, 22 Mar 2018 21:35:33 +0000 (14:35 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 26 Mar 2018 13:13:32 +0000 (15:13 +0200)
commit7f2e85840871f199057e65232ebde846192ed989
tree0b2220a7618f87e156e13c63f2bac38778051f1e
parente21c963c0fe3dc6d8a5c23474eb8f560b184132a
of/Documentation: Specify local APIC ID in "reg"

Use the "reg" property to specify the processor's local APIC ID instead of
setting it to the CPU node index in Device Tree.

Local APIC ID is assigned by hardware and visible in the APIC ID register.
Some processor models allow APIC ID to be changed by software, but CPUID
instruction executed with %eax = 0x0b always returns the initial ID in %edx.

Local APIC ID does not match the node index in many systems.

Signed-off-by: Ivan Gorinov <ivan.gorinov@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Frank Rowand <frowand.list@gmail.com>
Link: https://lkml.kernel.org/r/4b1a471a56ac0ebd7510f4759afce9104595d6da.1521753738.git.ivan.gorinov@intel.com
Documentation/devicetree/bindings/x86/ce4100.txt