[ 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: e7956c92f396a44eeeb6eaf7a5b5e1ad24db6748
WARNING: Author mismatch between patch and upstream commit: Backport author: Pu Lehuipulehui@huaweicloud.com Commit author: James Morsejames.morse@arm.com
Status in newer kernel trees: 6.15.y | Present (exact SHA1) 6.14.y | Present (different SHA1: aa32707744d6) 6.12.y | Present (different SHA1: ec5bca57afc6) 6.6.y | Present (different SHA1: 854da0ed0671) 6.1.y | Present (different SHA1: 351a505eb478)
Note: The patch differs from the upstream commit: --- 1: e7956c92f396a ! 1: 9cc988b44d8ee arm64: proton-pack: Expose whether the platform is mitigated by firmware @@ Metadata ## Commit message ## arm64: proton-pack: Expose whether the platform is mitigated by firmware
+ [ Upstream commit e7956c92f396a44eeeb6eaf7a5b5e1ad24db6748 ] + is_spectre_bhb_fw_affected() allows the caller to determine if the CPU is known to need a firmware mitigation. CPUs are either on the list of CPUs we know about, or firmware has been queried and reported that @@ Commit message
Signed-off-by: James Morse james.morse@arm.com Reviewed-by: Catalin Marinas catalin.marinas@arm.com + Signed-off-by: Pu Lehui pulehui@huawei.com
## arch/arm64/include/asm/spectre.h ## @@ arch/arm64/include/asm/spectre.h: enum mitigation_state arm64_get_meltdown_state(void); @@ arch/arm64/include/asm/spectre.h: enum mitigation_state arm64_get_meltdown_state +bool is_spectre_bhb_fw_mitigated(void); void spectre_bhb_enable_mitigation(const struct arm64_cpu_capabilities *__unused); bool try_emulate_el1_ssbs(struct pt_regs *regs, u32 instr); - + #endif /* __ASSEMBLY__ */
## arch/arm64/kernel/proton-pack.c ## @@ arch/arm64/kernel/proton-pack.c: void spectre_bhb_enable_mitigation(const struct arm64_cpu_capabilities *entry) ---
Results of testing on various branches:
| Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-6.1.y | Success | Success |