Home
last modified time | relevance | path

Searched hist:"0 e1709476bd4cbff2c0808c87867b6cd5286818f" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/arch/arm/cpu/armv8/
H A Dcache_v8.c0e1709476bd4cbff2c0808c87867b6cd5286818f Sat Jul 30 21:13:03 UTC 2016 Alexander Graf <agraf@suse.de> armv8: mmu: Detect page table overflow in emergency pt creation

We create 2 sets of page tables: One for normal operation, one for
emergency (used while modifying the former).

Because the page tables grow dynamically, we have code that checks
for overflow. Unfortunately we didn't adjust the available space
variable while creating the emergency tables, so potentially someone
might run into an overflow there (not seen in real world yet though!).

Fix it by properly adjusting the size as well as the base offset in
emergency page table creation.

Reported-by: York Sun <york.sun@nxp.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: York Sun <york.sun@nxp.com>