[PATCH] powerpc64/hw_breakpoints: Handle data breakpoints in radix mode

Anshuman Khandual khandual at linux.vnet.ibm.com
Wed Jun 14 16:07:53 AEST 2017


On 06/14/2017 12:12 AM, Naveen N. Rao wrote:
> On P9, trying to use data breakpoints throws the splat shown below (*).
> This is because the check for a data breakpoint in DSISR is in
> do_hash_page(). Move this check to handle_page_fault() so as to catch
> data breakpoints in both hash and radix MMU modes.

Why cant we check for DSISR inside do_hash_page() on P9 ?



More information about the Linuxppc-dev mailing list