WSL2-Linux-Kernel/arch/arm/common
Stephen Boyd 36d68f64c4 ARM: Add Krait L2 register accessor functions
Krait CPUs have a handful of L2 cache controller registers that
live behind a cp15 based indirection register. First you program
the indirection register (l2cpselr) to point the L2 'window'
register (l2cpdr) at what you want to read/write.  Then you
read/write the 'window' register to do what you want. The
l2cpselr register is not banked per-cpu so we must lock around
accesses to it to prevent other CPUs from re-pointing l2cpdr
underneath us.

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Russell King <linux@arm.linux.org.uk>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Sricharan R <sricharan@codeaurora.org>
Tested-by: Craig Tatlor <ctatlor97@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2018-10-17 13:14:33 -07:00
..
Kconfig ARM: Add Krait L2 register accessor functions 2018-10-17 13:14:33 -07:00
Makefile ARM: Add Krait L2 register accessor functions 2018-10-17 13:14:33 -07:00
bL_switcher.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
bL_switcher_dummy_if.c ARM: 8743/1: bL_switcher: add MODULE_LICENSE tag 2018-01-21 15:32:27 +00:00
dmabounce.c arm: implement ->dma_supported instead of ->set_dma_mask 2017-06-28 06:54:49 -07:00
firmware.c ARM: Add interface for registering and calling firmware-specific operations 2013-04-09 01:52:06 +09:00
it8152.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
krait-l2-accessors.c ARM: Add Krait L2 register accessor functions 2018-10-17 13:14:33 -07:00
locomo.c PM: ARM: locomo: Drop suspend and resume bus type callbacks 2017-10-05 00:40:57 +02:00
mcpm_entry.c ARM: mcpm, perf/arm-cci: export mcpm_is_available 2018-05-29 16:53:16 +01:00
mcpm_head.S ARM: replace BSYM() with badr assembly macro 2015-05-08 17:33:50 +01:00
mcpm_platsmp.c ARM: use const and __initconst for smp_operations 2015-12-01 22:17:45 +01:00
sa1111.c ARM: sa1111: map interrupt numbers through irqdomain 2017-11-29 10:57:41 +00:00
scoop.c ARM: scoop: use gpiochip data pointer 2016-02-19 09:51:41 +01:00
secure_cntvoff.S ARM: smp: Add initialization of CNTVOFF 2018-05-08 14:50:42 +02:00
sharpsl_param.c ARM: 7845/1: sharpsl_param.c: fix invalid memory access for pxa devices 2013-10-03 10:39:43 +01:00
vlock.S ARM: mcpm: use -st dsb option prior to sev instructions 2013-08-12 12:25:45 +01:00
vlock.h ARM: mcpm: Add baremetal voting mutexes 2013-04-24 10:37:01 -04:00