Re: [PATCH 6.6 7/8] KVM: arm64: Mark some header functions as inline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ Sasha's backport helper bot ]

Hi,

✅ All tests passed successfully. No issues detected.
No action required from the submitter.

The upstream commit SHA1 provided is correct: f9dd00de1e53a47763dfad601635d18542c3836d

WARNING: Author mismatch between patch and upstream commit:
Backport author: Mark Brown<broonie@xxxxxxxxxx>
Commit author: Mark Rutland<mark.rutland@xxxxxxx>

Status in newer kernel trees:
6.13.y | Present (different SHA1: 315c35c0aeff)
6.12.y | Present (different SHA1: bb7146694891)

Note: The patch differs from the upstream commit:
---
1:  f9dd00de1e53a ! 1:  57de9b6af7aaf KVM: arm64: Mark some header functions as inline
    @@ Metadata
      ## Commit message ##
         KVM: arm64: Mark some header functions as inline
     
    +    [ Upstream commit f9dd00de1e53a47763dfad601635d18542c3836d ]
    +
         The shared hyp switch header has a number of static functions which
         might not be used by all files that include the header, and when unused
         they will provoke compiler warnings, e.g.
    @@ Commit message
         Reviewed-by: Oliver Upton <oliver.upton@xxxxxxxxx>
         Link: https://lore.kernel.org/r/20250210195226.1215254-8-mark.rutland@xxxxxxx
         Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
    +    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
     
      ## arch/arm64/kvm/hyp/include/hyp/switch.h ##
    -@@ arch/arm64/kvm/hyp/include/hyp/switch.h: static inline bool __populate_fault_info(struct kvm_vcpu *vcpu)
    - 	return __get_fault_info(vcpu->arch.fault.esr_el2, &vcpu->arch.fault);
    - }
    - 
    --static bool kvm_hyp_handle_mops(struct kvm_vcpu *vcpu, u64 *exit_code)
    -+static inline bool kvm_hyp_handle_mops(struct kvm_vcpu *vcpu, u64 *exit_code)
    - {
    - 	*vcpu_pc(vcpu) = read_sysreg_el2(SYS_ELR);
    - 	arm64_mops_reset_regs(vcpu_gp_regs(vcpu), vcpu->arch.fault.esr_el2);
    -@@ arch/arm64/kvm/hyp/include/hyp/switch.h: static void kvm_hyp_save_fpsimd_host(struct kvm_vcpu *vcpu)
    +@@ arch/arm64/kvm/hyp/include/hyp/switch.h: static inline void __hyp_sve_restore_guest(struct kvm_vcpu *vcpu)
       * If FP/SIMD is not implemented, handle the trap and inject an undefined
       * instruction exception to the guest. Similarly for trapped SVE accesses.
       */
---

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.12.y       |  Success    |  Success   |




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux