PurpleSunray wrote:Linus says something differnt on the commit commentaciddose wrote:That sure is what Intel would like you to believe.dzilizzi wrote:The way I see it, doesn't matter if you have AMD, because if the OS is issuing the fix, it will affect AMD processors the same as Intel.
https://git.kernel.org/pub/scm/linux/ke ... source=anz
Is this the comment you are referring to? I have no idea how you relate that to anything I said in the portion of my post you quoted. Linus isn't saying anything about it, only acknowledging the patch from AMD which checks the CPUID and does not enable the feature for AMD processors.Linus wrote: - Exclude AMD from the PTI enforcement. Not necessarily a fix, but if AMD is so confident that they are not affected, then we should not burden users with the overhead"
What he means exactly by "not necessarily a fix" is most likely that there are likely better solutions to the issue than the AMD-supplied patch, but accepts it anyway due to its urgency. If it turns out AMD chips are affected AMD users will need to specify a flag on boot to force the feature to be enabled.
The patch merely adds an exception "if CPUID not equal AMD" which prevents the default being set to enabled.