]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8258/1: l2c: use l2c_write_sec() for restoring latency and filter regs
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 8 Jan 2015 06:49:41 +0000 (07:49 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 16 Jan 2015 14:35:26 +0000 (14:35 +0000)
commitf270e726ae07d6b2cb5c2cd2834af85c995383c6
tree98c70e0fe37d7f06e8d68ef47893004c271c4938
parent3131cbf73f910169d39cf70812d7ea4cb7dcb8ae
ARM: 8258/1: l2c: use l2c_write_sec() for restoring latency and filter regs

All four register for latency and filter settings cannot be written in
non-secure mode and they should go through l2c_write_sec(). More on this
can be found in CoreLink Level 2 Cache Controller L2C-310 Technical
Reference Manual, 3.2. Register summary, table 3.1. This have been checked
the TRM for r3p3, but it should be uniform for all revisions.

Reported-by: Nishanth Menon <nm@ti.com>
Suggested-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Nishanth Menon <nm@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/cache-l2x0.c