From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 5 Aug 2016 21:00:17 -0400 Subject: [U-Boot] [U-Boot, v2] armv8: mmu: Detect page table overflow in emergency pt creation In-Reply-To: <1469913183-206665-1-git-send-email-agraf@suse.de> References: <1469913183-206665-1-git-send-email-agraf@suse.de> Message-ID: <20160806010017.GP9942@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Jul 30, 2016 at 11:13:03PM +0200, Alexander Graf wrote: > 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 > Signed-off-by: Alexander Graf > Reviewed-by: York Sun Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: