[PATCH 2/7] powerpc/watchpoint/kvm: Add infrastructure to support 2nd DAWR

Ravi Bangoria ravi.bangoria at linux.ibm.com
Wed Sep 2 15:12:18 AEST 2020


Hi Paul,

> diff --git a/arch/powerpc/include/asm/hvcall.h b/arch/powerpc/include/asm/hvcall.h
> index 33793444144c..03f401d7be41 100644
> --- a/arch/powerpc/include/asm/hvcall.h
> +++ b/arch/powerpc/include/asm/hvcall.h
> @@ -538,6 +538,8 @@ struct hv_guest_state {
>   	s64 tb_offset;
>   	u64 dawr0;
>   	u64 dawrx0;
> +	u64 dawr1;
> +	u64 dawrx1;
>   	u64 ciabr;
>   	u64 hdec_expiry;
>   	u64 purr;

After this struct, there is a macro HV_GUEST_STATE_VERSION, I guess that
also needs to be incremented because I'm adding new members in the struct?

Thanks,
Ravi


More information about the Linuxppc-dev mailing list