OSDN Git Service

arm64: mm: Add ISB instruction to set_pgd()
authorWill Deacon <will@kernel.org>
Fri, 23 Aug 2019 12:03:55 +0000 (13:03 +0100)
committerWill Deacon <will@kernel.org>
Tue, 27 Aug 2019 16:38:30 +0000 (17:38 +0100)
commiteb6a4dcce33925ac95023bbe5199474f8db40ba7
treec75346356d59dbfcd1cff2c8dfd3d74803c979e0
parent51696d346c49c6cf4f29e9b20d6e15832a2e3408
arm64: mm: Add ISB instruction to set_pgd()

Commit 6a4cbd63c25a ("Revert "arm64: Remove unnecessary ISBs from
set_{pte,pmd,pud}"") reintroduced ISB instructions to some of our
page table setter functions in light of a recent clarification to the
Armv8 architecture. Although 'set_pgd()' isn't currently used to update
a live page table, add the ISB instruction there too for consistency
with the other macros and to provide some future-proofing if we use it
on live tables in the future.

Reported-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/pgtable.h