Home
last modified time | relevance | path

Searched hist:"3902 a15e784e9b1efa8e6ad246489c609e0ef880" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm/mm/
H A Dcache-xsc3l2.cdiff 3902a15e784e9b1efa8e6ad246489c609e0ef880 Thu Sep 18 21:55:47 CDT 2008 Nicolas Pitre <nico@cam.org> [ARM] xsc3: add highmem support to L2 cache handling code

On xsc3, L2 cache ops are possible only on virtual addresses. The code
is rearranged so to have a linear progression requiring the least amount
of pte setups in the highmem case. To protect the virtual mapping so
created, interrupts must be disabled currently up to a page worth of
address range.

The interrupt disabling is done in a way to minimize the overhead within
the inner loop. The alternative would consist in separate code for
the highmem and non highmem compilation which is less preferable.

Signed-off-by: Nicolas Pitre <nico@marvell.com>