commit | 82d340081b6f71237373d1452e3573a5a122794c | [log] [tgz] |
---|---|---|
author | Catalin Marinas <catalin.marinas@arm.com> | Tue Dec 08 17:39:15 2015 +0000 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Fri Dec 11 15:44:24 2015 +0000 |
tree | 05b40eda97d06673cc1e04a66d2158d7abd5761f | |
parent | 98fb754831e1d139f1151e968bdebb6eefb9b581 [diff] |
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>