diff options
author | Ravi Bangoria <ravi.bangoria@linux.ibm.com> | 2020-07-23 11:08:07 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-26 15:34:19 +0200 |
commit | 8f460a8175e6d85537d581734e9fa7ef97036b1a (patch) | |
tree | 30a5d57cffe11d25a28f3d528c6311cbf03fa1fc /init | |
parent | powerpc/watchpoint: Fix DAWR exception for CACHEOP (diff) | |
download | linux-8f460a8175e6d85537d581734e9fa7ef97036b1a.tar.xz linux-8f460a8175e6d85537d581734e9fa7ef97036b1a.zip |
powerpc/watchpoint: Enable watchpoint functionality on power10 guest
CPU_FTR_DAWR is by default enabled for host via CPU_FTRS_DT_CPU_BASE
(controlled by CONFIG_PPC_DT_CPU_FTRS). But cpu-features device-tree
node is not PAPR compatible and thus not yet used by kvm or pHyp
guests. Enable watchpoint functionality on power10 guest (both kvm
and powervm) by adding CPU_FTR_DAWR to CPU_FTRS_POWER10. Note that
this change does not enable 2nd DAWR support.
Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Tested-by: Jordan Niethe <jniethe5@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200723090813.303838-5-ravi.bangoria@linux.ibm.com
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions