diff options
author | Alexander Graf <agraf@suse.de> | 2016-07-30 21:13:03 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-08-06 00:55:18 (GMT) |
commit | 0e1709476bd4cbff2c0808c87867b6cd5286818f (patch) | |
tree | d2654c16f9b2ff66c664f9dde2b84aed11b021d8 /doc/README.distro | |
parent | c2fdd34569145ad281aeea5ef16fff83d7075830 (diff) | |
download | u-boot-fsl-qoriq-0e1709476bd4cbff2c0808c87867b6cd5286818f.tar.xz |
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>
Diffstat (limited to 'doc/README.distro')
0 files changed, 0 insertions, 0 deletions