about "x86/cpu: Fix AMD erratum #1485 on Zen4-based CPUs" in 4.4
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
[Cc cip-dev to get more input]
Quoted 25 lines · CET Pavel Machek
Quoted 5 lines
I'm not sure if that should be in 4.4; maybe somebody can offer some opinions:
1. The platform affected is post-2022. Do we care about such things?
2. It requires backporting of the whole AMD cpu erratum stuff. Annoying, but doable.I guess it might be possible to re-do the erratum stuff with less changes.
Quoted 4 lines
3. Not sure if it is actually required or not:
It's a fix for an actual issue (spurious undefined instruction exception) that is triggered if STIBP mitigation is _not_ enabled. AFAICT we are indeed not enabling it (not backported), so unless that is done by the firmware, we're affected.I'd guess we are affected. But as we were not backporting previous CPU bug workarounds, it will not be easy to backport this one.
We have "KNOWN-BUGS" file explaining
"
Not all speculation fixes from 4.9.306, 4.9.310, 4.9.319 and subsequent kernel version were merged here. These affect mostly x86 and arm64 architectures.
"
Quoted 3 lines
I guess explaining that listed AMD cpus actually need speculation fixes for stable operation, and thus are not suitable for 4.4, would be an acceptable solution.
Sounds like an attractive solution to me if nobody actually needs those chips supported.
Does anybody know of any use case for Zen4 chips on 4.4?
CU
Uli
Quoted 27 lines · Ulrich Hecht
[Cc cip-dev to get more input]
Quoted 25 lines · CET Pavel Machek
Quoted 5 lines
I'm not sure if that should be in 4.4; maybe somebody can offer some opinions:
1. The platform affected is post-2022. Do we care about such things?
2. It requires backporting of the whole AMD cpu erratum stuff. Annoying, but doable.I guess it might be possible to re-do the erratum stuff with less changes.
Quoted 4 lines
3. Not sure if it is actually required or not:
It's a fix for an actual issue (spurious undefined instruction exception) that is triggered if STIBP mitigation is _not_ enabled. AFAICT we are indeed not enabling it (not backported), so unless that is done by the firmware, we're affected.I'd guess we are affected. But as we were not backporting previous CPU bug workarounds, it will not be easy to backport this one.
We have "KNOWN-BUGS" file explaining
"
Not all speculation fixes from 4.9.306, 4.9.310, 4.9.319 and subsequent kernel version were merged here. These affect mostly x86 and arm64 architectures.
"
Quoted 8 lines
Quoted 3 lines
I guess explaining that listed AMD cpus actually need speculation fixes for stable operation, and thus are not suitable for 4.4, would be an acceptable solution.
Sounds like an attractive solution to me if nobody actually needs those chips supported.
Does anybody know of any use case for Zen4 chips on 4.4?
Unlikely, and I think it is as more reasonable approach to list this issue as unfixed under 4.4.
Jan
Signature · 2 lines
Siemens AG, Technology Linux Expert Center