Home
last modified time | relevance | path

Searched hist:a55f9929a9b257f84b6cc7b2397379cabd744a22 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm64/mm/
H A Dmmu.cdiff a55f9929a9b257f84b6cc7b2397379cabd744a22 Tue Feb 04 10:01:31 CST 2014 Catalin Marinas <catalin.marinas@arm.com> 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: <stable@vger.kernel.org>
Reported-by: Mark Salter <msalter@redhat.com>
Tested-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>