diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2015-12-08 17:39:15 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-12-11 15:44:24 +0000 |
commit | 82d340081b6f71237373d1452e3573a5a122794c (patch) | |
tree | 05b40eda97d06673cc1e04a66d2158d7abd5761f /crypto | |
parent | arm64: update linker script to increased L1_CACHE_BYTES value (diff) | |
download | linux-dev-82d340081b6f71237373d1452e3573a5a122794c.tar.xz linux-dev-82d340081b6f71237373d1452e3573a5a122794c.zip |
arm64: Improve error reporting on set_pte_at() checks
Currently the BUG_ON() checks do not give enough information about the
PTEs being set. This patch changes BUG_ON to WARN_ONCE and dumps the
values of the old and new PTEs. In addition, the checks are only made if
the new PTE entry is valid.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Ming Lei <tom.leiming@gmail.com>
Cc: Will Deacon <will.deacon@arm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions