On Fri, Jul 12, 2019 at 10:57:48AM +0530, Viresh Kumar wrote:
Hello,
This series backports arm64 spectre patches to v4.4 stable kernel. I have started this backport with Mark Rutland's backport of Spectre to 4.9 [1] and tried applying the upstream version of them over 4.4 and resolved conflicts by checking how they have been resolved in 4.9.
The KVM changes are mostly dropped as the KVM code in v4.4 is quite different and it makes backport more complex. This was suggested by the ARM team.
I also had to drop few patches as they weren't getting applied properly due to missing files/features or they were KVM related:
arm/arm64: KVM: Implement PSCI 1.0 support
I have dropped arch/arm64/crypto/sha256-core.S and sha512-core.S files as they weren't part of the upstream commit. Not sure why it was included by Mark as the commit log doesn't provide any reasoning for it.
It looks like I messed up spectacularly when backporting that commit; those files should not have been added. I must have had those lying around from a rebase or similar.
I'll spin a patch for v4.9.y to drop the bits I added erroneously.
It is somewhat concerning that no-one spotted that (myself included) when the v4.9.y backport was originally made. :/
Thanks, Mark.