Message ID | 20200723102058.312282-1-ravi.bangoria@linux.ibm.com (mailing list archive) |
---|---|
Headers | show |
Series | powerpc/watchpoint: 2nd DAWR kvm enablement + selftests | expand |
On 7/23/20 3:50 PM, Ravi Bangoria wrote: > Patch #1, #2 and #3 enables p10 2nd DAWR feature for Book3S kvm guest. DAWR > is a hypervisor resource and thus H_SET_MODE hcall is used to set/unset it. > A new case H_SET_MODE_RESOURCE_SET_DAWR1 is introduced in H_SET_MODE hcall > for setting/unsetting 2nd DAWR. Also, new capability KVM_CAP_PPC_DAWR1 has > been added to query 2nd DAWR support via kvm ioctl. > > This feature also needs to be enabled in Qemu to really use it. I'll reply > link to qemu patches once I post them in qemu-devel mailing list. Qemu patches: https://lore.kernel.org/kvm/20200723104220.314671-1-ravi.bangoria@linux.ibm.com
On Thu, Jul 23, 2020 at 03:50:51PM +0530, Ravi Bangoria wrote: > Patch #1, #2 and #3 enables p10 2nd DAWR feature for Book3S kvm guest. DAWR > is a hypervisor resource and thus H_SET_MODE hcall is used to set/unset it. > A new case H_SET_MODE_RESOURCE_SET_DAWR1 is introduced in H_SET_MODE hcall > for setting/unsetting 2nd DAWR. Also, new capability KVM_CAP_PPC_DAWR1 has > been added to query 2nd DAWR support via kvm ioctl. > > This feature also needs to be enabled in Qemu to really use it. I'll reply > link to qemu patches once I post them in qemu-devel mailing list. > > Patch #4, #5, #6 and #7 adds selftests to test 2nd DAWR. If/when you resubmit these patches, please split the KVM patches into a separate series, since the KVM patches would go via my tree whereas I expect the selftests/powerpc patches would go through Michael Ellerman's tree. Paul.
Hi Paul, On 9/2/20 8:02 AM, Paul Mackerras wrote: > On Thu, Jul 23, 2020 at 03:50:51PM +0530, Ravi Bangoria wrote: >> Patch #1, #2 and #3 enables p10 2nd DAWR feature for Book3S kvm guest. DAWR >> is a hypervisor resource and thus H_SET_MODE hcall is used to set/unset it. >> A new case H_SET_MODE_RESOURCE_SET_DAWR1 is introduced in H_SET_MODE hcall >> for setting/unsetting 2nd DAWR. Also, new capability KVM_CAP_PPC_DAWR1 has >> been added to query 2nd DAWR support via kvm ioctl. >> >> This feature also needs to be enabled in Qemu to really use it. I'll reply >> link to qemu patches once I post them in qemu-devel mailing list. >> >> Patch #4, #5, #6 and #7 adds selftests to test 2nd DAWR. > > If/when you resubmit these patches, please split the KVM patches into > a separate series, since the KVM patches would go via my tree whereas > I expect the selftests/powerpc patches would go through Michael > Ellerman's tree. Sure. Will split it. Thanks, Ravi