mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 11:21:33 +00:00
d492cccac2
For optimal performance, in a HW I/O coherency context such as the one used on Armada XP, the shared L2 bit of the CPU configuration register should be cleared. This commit adjusts the coherency fabric code used by Marvell EBU processors to clear this bit on Armada XP. Since it's a per-CPU register, it's cleared in set_cpu_coherent() for the boot CPU, and through a CPU notifier for the non-boot CPUs. [gregory.clement@free-electrons.com: rebasd on 4.3-rc1] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
21 lines
402 B
Plaintext
21 lines
402 B
Plaintext
MVEBU CPU Config registers
|
|
--------------------------
|
|
|
|
MVEBU (Marvell SOCs: Armada 370/XP)
|
|
|
|
Required properties:
|
|
|
|
- compatible: one of:
|
|
- "marvell,armada-370-cpu-config"
|
|
- "marvell,armada-xp-cpu-config"
|
|
|
|
- reg: Should contain CPU config registers location and length, in
|
|
their per-CPU variant
|
|
|
|
Example:
|
|
|
|
cpu-config@21000 {
|
|
compatible = "marvell,armada-xp-cpu-config";
|
|
reg = <0x21000 0x8>;
|
|
};
|