From: Ravi Bangoria Date: Thu, 23 Jul 2020 10:49:05 +0000 Subject: Re: [PATCH 0/7] powerpc/watchpoint: 2nd DAWR kvm enablement + selftests Message-Id: List-Id: References: <20200723102058.312282-1-ravi.bangoria@linux.ibm.com> In-Reply-To: <20200723102058.312282-1-ravi.bangoria@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: mpe@ellerman.id.au, paulus@samba.org Cc: mikey@neuling.org, npiggin@gmail.com, pbonzini@redhat.com, christophe.leroy@c-s.fr, jniethe5@gmail.com, pedromfc@br.ibm.com, rogealve@br.ibm.com, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kselftest@vger.kernel.org, Ravi Bangoria 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