From: Catalin Marinas Date: Tue, 4 Feb 2014 16:01:31 +0000 (+0000) Subject: arm64: Invalidate the TLB when replacing pmd entries during boot X-Git-Tag: v3.14-rc2~12^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a55f9929a9b257f84b6cc7b2397379cabd744a22;p=pandora-kernel.git arm64: Invalidate the TLB when replacing pmd entries during boot With the 64K page size configuration, __create_page_tables in head.S maps enough memory to get started but using 64K pages rather than 512M sections with a single pgd/pud/pmd entry pointing to a pte table. create_mapping() may override the pgd/pud/pmd table entry with a block (section) one if the RAM size is more than 512MB and aligned correctly. For the end of this block to be accessible, the old TLB entry must be invalidated. Cc: Reported-by: Mark Salter Tested-by: Mark Salter Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed