diff mbox series

[v5,1/3] linux-headers: Update kvm.h for ppc single step capability

Message ID 20191211191013.454125-2-farosas@linux.ibm.com
State New
Headers show
Series target/ppc: single step for KVM HV | expand

Commit Message

Fabiano Rosas Dec. 11, 2019, 7:10 p.m. UTC
Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
---
 linux-headers/linux/kvm.h | 1 +
 1 file changed, 1 insertion(+)

Comments

David Gibson Dec. 12, 2019, 3:44 a.m. UTC | #1
On Wed, Dec 11, 2019 at 04:10:11PM -0300, Fabiano Rosas wrote:
> Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>

Generally, imported linux header updates are done as a block, pulling
qemu up to a specified kernel commit id, rather than just grabbing
pieces for a particular feature.

There's actually already a header update to be2eca94d144 in my
ppc-for-5.0 tree.  Is that recent enough for what you need here?

> ---
>  linux-headers/linux/kvm.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h
> index 3d9b18f7f8..488f3baf01 100644
> --- a/linux-headers/linux/kvm.h
> +++ b/linux-headers/linux/kvm.h
> @@ -1000,6 +1000,7 @@ struct kvm_ppc_resize_hpt {
>  #define KVM_CAP_PMU_EVENT_FILTER 173
>  #define KVM_CAP_ARM_IRQ_LINE_LAYOUT_2 174
>  #define KVM_CAP_HYPERV_DIRECT_TLBFLUSH 175
> +#define KVM_CAP_PPC_GUEST_DEBUG_SSTEP 176
>  
>  #ifdef KVM_CAP_IRQ_ROUTING
>
Fabiano Rosas Dec. 13, 2019, 9:03 p.m. UTC | #2
David Gibson <david@gibson.dropbear.id.au> writes:

> On Wed, Dec 11, 2019 at 04:10:11PM -0300, Fabiano Rosas wrote:
>> Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
>
> Generally, imported linux header updates are done as a block, pulling
> qemu up to a specified kernel commit id, rather than just grabbing
> pieces for a particular feature.
>

I know, I thought it would make the review easier. =)

> There's actually already a header update to be2eca94d144 in my
> ppc-for-5.0 tree.  Is that recent enough for what you need here?
>

It is. I need 1a9167a214f5.

>> ---
>>  linux-headers/linux/kvm.h | 1 +
>>  1 file changed, 1 insertion(+)
>> 
>> diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h
>> index 3d9b18f7f8..488f3baf01 100644
>> --- a/linux-headers/linux/kvm.h
>> +++ b/linux-headers/linux/kvm.h
>> @@ -1000,6 +1000,7 @@ struct kvm_ppc_resize_hpt {
>>  #define KVM_CAP_PMU_EVENT_FILTER 173
>>  #define KVM_CAP_ARM_IRQ_LINE_LAYOUT_2 174
>>  #define KVM_CAP_HYPERV_DIRECT_TLBFLUSH 175
>> +#define KVM_CAP_PPC_GUEST_DEBUG_SSTEP 176
>>  
>>  #ifdef KVM_CAP_IRQ_ROUTING
>>
diff mbox series

Patch

diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h
index 3d9b18f7f8..488f3baf01 100644
--- a/linux-headers/linux/kvm.h
+++ b/linux-headers/linux/kvm.h
@@ -1000,6 +1000,7 @@  struct kvm_ppc_resize_hpt {
 #define KVM_CAP_PMU_EVENT_FILTER 173
 #define KVM_CAP_ARM_IRQ_LINE_LAYOUT_2 174
 #define KVM_CAP_HYPERV_DIRECT_TLBFLUSH 175
+#define KVM_CAP_PPC_GUEST_DEBUG_SSTEP 176
 
 #ifdef KVM_CAP_IRQ_ROUTING