]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/watchpoint: Guest support for 2nd DAWR hcall
authorRavi Bangoria <ravi.bangoria@linux.ibm.com>
Thu, 23 Jul 2020 09:08:11 +0000 (14:38 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 13:34:19 +0000 (23:34 +1000)
commit75798d250584898cf052b4feb3d1d6311c34fff8
treed02940a478fe85fb61c45ac97dfd6c7064919cfd
parent4bc918659437f31029f8284a87680f481762ed61
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
arch/powerpc/include/asm/hvcall.h
arch/powerpc/include/asm/machdep.h
arch/powerpc/include/asm/plpar_wrappers.h
arch/powerpc/kernel/dawr.c
arch/powerpc/platforms/pseries/setup.c