powerpc/watchpoint: Guest support for 2nd DAWR hcall
2nd DAWR can be set/unset using H_SET_MODE hcall with resource value 5. Enable powervm guest support with that. This has no effect on kvm guest because kvm will return error if guest does hcall with resource value 5. Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200723090813.303838-9-ravi.bangoria@linux.ibm.com
This commit is contained in:

committed by
Michael Ellerman

parent
6f3fe297f9
commit
03f3e54abd
@@ -358,6 +358,7 @@
|
||||
#define H_SET_MODE_RESOURCE_SET_DAWR0 2
|
||||
#define H_SET_MODE_RESOURCE_ADDR_TRANS_MODE 3
|
||||
#define H_SET_MODE_RESOURCE_LE 4
|
||||
#define H_SET_MODE_RESOURCE_SET_DAWR1 5
|
||||
|
||||
/* Values for argument to H_SIGNAL_SYS_RESET */
|
||||
#define H_SIGNAL_SYS_RESET_ALL -1
|
||||
|
Reference in New Issue
Block a user