]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb9e0b2a8a6d29a888b11b35c20dda1da3936c14b
tree0b2220a7618f87e156e13c63f2bac38778051f1e
parentc6008832ba1d9757c875b9ebb37dacc277d2766e
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