xen: Strip vcpu_switch_to_aarch64_mode() from PPC and RISC-V stubs
PATCH 1/1 xen: Strip vcpu_switch_to_aarch64_mode() from PPC and RISC-V stubs
This is absolutely too much copy&paste from ARM. All other stubs look somewhat reasonable.
No functional change.
---
CC: Oleksii Kurochko <[email protected]>
CC: Timothy Pearson <[email protected]>
CC: Anthony PERARD <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
--- xen/arch/ppc/stubs.c | 5 ----- xen/arch/riscv/stubs.c | 5 ----- 2 files changed, 10 deletions(-)
xen/arch/ppc/stubs.c +0 -5
@@ -162,11 +162,6 @@ void arch_vcpu_destroy(struct vcpu *v)BUG_ON ("unimplemented" ); } -void vcpu_switch_to_aarch64_mode (struct vcpu *v) -{ -BUG_ON ("unimplemented" ); -} -int arch_sanitise_domain_config (struct xen_domctl_createdomain *config) {BUG_ON ("unimplemented" );
xen/arch/riscv/stubs.c +0 -5
@@ -126,11 +126,6 @@ void arch_vcpu_destroy(struct vcpu *v)BUG_ON ("unimplemented" ); } -void vcpu_switch_to_aarch64_mode (struct vcpu *v) -{ -BUG_ON ("unimplemented" ); -} -int arch_sanitise_domain_config (struct xen_domctl_createdomain *config) {BUG_ON ("unimplemented" );
base-commit: 2fa468919c39aac189623b6c580ce4ff8592d799
Signature · 1 line
2.39.5
Quoted 41 lines · Andrew Cooper
This is absolutely too much copy&paste from ARM. All other stubs look somewhat reasonable.
No functional change.
Signed-off-by Andrew Cooper <[email protected]>---
CC: Oleksii Kurochko <[email protected]>
CC: Timothy Pearson <[email protected]>
CC: Anthony PERARD <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>--- xen/arch/ppc/stubs.c | 5 ----- xen/arch/riscv/stubs.c | 5 ----- 2 files changed, 10 deletions(-)xen/arch/ppc/stubs.c +0
-5@@ -162,11 +162,6 @@ void arch_vcpu_destroy(struct vcpu *v)BUG_ON ("unimplemented" ); } -void vcpu_switch_to_aarch64_mode (struct vcpu *v) -{ -BUG_ON ("unimplemented" ); -} -int arch_sanitise_domain_config (struct xen_domctl_createdomain *config) {BUG_ON ("unimplemented" );xen/arch/riscv/stubs.c +0
-0
xen/arch/riscv/stubs.c void arch_vcpu_destroy(struct vcpu *v) · line 133
Quoted 8 lines
xen/arch/riscv/stubs.c +0
-5@@ -126,11 +126,6 @@ void arch_vcpu_destroy(struct vcpu *v)BUG_ON ("unimplemented" ); } -void vcpu_switch_to_aarch64_mode (struct vcpu *v) -{ -BUG_ON ("unimplemented" ); -} -
These changes looks good to me:
Thanks for cleaning it up.
~ Oleksii