Skip to contentSkip to conversation

x86: Drop "enabled" field from "struct kvm_vcpu_pv_apf_data"

PATCH Applied Sean Christopherson 2 participants 3 messages Feb 21, 2025 – Feb 24, 2025 KVM

lore
Share & tools
lore

Sean Christopherson

author reviewer
#0 lore raw

PATCH 1/1 x86: Drop "enabled" field from "struct kvm_vcpu_pv_apf_data"

Remove the now-defunct (and never used in KVM-Unit-Tests) "enabled" field from kvm_vcpu_pv_apf_data. The field was removed from KVM by commit ccb2280ec2f9 ("x86/kvm: Use separate percpu variable to track the enabling of asyncpf").

---
 x86/asyncpf.c | 1 -
 1 file changed, 1 deletion(-)
x86/asyncpf.c +0 -1
index 6474fede..0e6eb6ff 100644
@@ -50,7 +50,6 @@ struct kvm_vcpu_pv_apf_data {
       uint32_t  token;
 
       uint8_t  pad[56];
-      uint32_t  enabled;
 } apf_reason __attribute__((aligned(64)));
 
 char *buf;

base-commit: f77fb696cfd0e4a5562cdca189be557946bf522f

Signature · 1 line
2.48.1.601.g30ceb7b040-goog
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Sean Christopherson

Remove the now-defunct (and never used in KVM-Unit-Tests) "enabled" field from kvm_vcpu_pv_apf_data. The field was removed from KVM by commit ccb2280ec2f9 ("x86/kvm: Use separate percpu variable to track the enabling of asyncpf").

Quoted 18 lines
---
  x86/asyncpf.c | 1 -
  1 file changed, 1 deletion(-)
x86/asyncpf.c +0 -1
index 6474fede..0e6eb6ff 100644
@@ -50,7 +50,6 @@ struct kvm_vcpu_pv_apf_data {
        uint32_t  token;
 
        uint8_t  pad[56];
-      uint32_t  enabled;
  } apf_reason __attribute__((aligned(64)));
 
  char *buf;

base-commit: f77fb696cfd0e4a5562cdca189be557946bf522f

author reviewer Applied
#2 lore raw
In reply to Sean Christopherson
Quoted 6 lines · Sean Christopherson

Remove the now-defunct (and never used in KVM-Unit-Tests) "enabled" field from kvm_vcpu_pv_apf_data. The field was removed from KVM by commit ccb2280ec2f9 ("x86/kvm: Use separate percpu variable to track the enabling of asyncpf").

Applied to kvm-x86 next (and now pulled by Paolo), thanks!

[1/1] x86: Drop "enabled" field from "struct kvm_vcpu_pv_apf_data"

      https://github.com/kvm-x86/kvm-unit-tests/commit/5f4bb7408590

--
https://github.com/kvm-x86/kvm-unit-tests/tree/next