Skip to contentSkip to conversation

Please pull powerpc/linux.git powerpc-5.3-4 tag

GIT PULL Merged Michael Ellerman 4 participants 5 messages Aug 10, 2019

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Linus,

Please pull another powerpc fix for 5.3:

The following changes since commit d7e23b887f67178c4f840781be7a6aa6aeb52ab1:

powerpc/kasan: fix early boot failure on PPC32 (2019-07-31 22:02:52 +1000)

are available in the git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git tags/powerpc-5.3-4

for you to fetch changes up to ed4289e8b48845888ee46377bd2b55884a55e60b:

Revert "powerpc: slightly improve cache helpers" (2019-07-31 22:56:27 +1000)

- ------------------------------------------------------------------ powerpc fixes for 5.3 #4

Just one fix, a revert of a commit that was meant to be a minor improvement to some inline asm, but ended up having no real benefit with GCC and broke booting 32-bit machines when using Clang.

Thanks to:
Arnd Bergmann, Christophe Leroy, Nathan Chancellor, Nick Desaulniers, Segher Boessenkool.

- ------------------------------------------------------------------ Michael Ellerman (1):
Revert "powerpc: slightly improve cache helpers"

 arch/powerpc/include/asm/cache.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEJFGtCPCthwEv2Y/bUevqPMjhpYAFAl1OmC4ACgkQUevqPMjh pYBuKw/9H4ZMZpetAqOfJgfpByyhXlNRFriW1QS+KkMjjI60ZY1QYwZNFhZsUs8P chpAvGnLv6zuJafOQ1hlxFa7wc70LTc/RRDRwWPFdtWdDl54OB3YvwFP2do2b/7D gDtqCRMWTgtWdLx7ZpDk3qSN2mDxPRss//FO/UqtkTzNWh2LsQr9sbTZHc0BsIa/ VAyEZSGeFMkUBHjuCKoqyMZAc0aBk7HmJ4LN8zFGH6CtY05c1TBA4rN0qBnGBQI9 upNUgwbG2/vVS3t5YgHzHbrC8KfX+/8Oqo6ePLVlH39g0+wvp6avTeZDwrA7ZHtR wNzHBxlLIpphOSRDr/fQk6yd69rVVbK14DZk3UHaz2qqyBkj3LxlRHKFIYWmPwoi 6E01ovThjSiHyxN1oPJfI1TXmhualhOlER9RTHPYsA20SnFYqAwH+TCydzuhvwAO ueWSqKjK7O+KNhR1QJ3PGD6LIUWiPLMBG0a860Jg9oJ28/X5ZU/UqxBunoYUyQg+ u5bBViUtMkD8d7LEfQjvHSW9IpIRA/N2Y5cHTtmQxPEgspI/t/jXAxLEgkOBVkS2 kJoljNsTNFfKnyTD4v7zh5AABZquy5kyGLFBywQuloJ/7Jc4U3rBOqvRQ+f55E3s naAU0Pf27Bob6VKKNPVeWP5OhPuYZ8YXHnvZ/fpcrYpA/k+xYsg= =Dzq1
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 4 lines · Michael Ellerman

Just one fix, a revert of a commit that was meant to be a minor improvement to some inline asm, but ended up having no real benefit with GCC and broke booting 32-bit machines when using Clang.

Pulled, but whenever there are possible subtle compiler issues I get nervous, and wonder if the problem was reported to the clang guys?

In particular, if the kernel change was technically correct, maybe somebody else comes along in a few years and tries the same, and then it's another odd "why doesn't this work for person X when it works just fine for me"..

Linus

merge bot Merged
#4 lore raw
In reply to Michael Ellerman
The pull request you sent on Sat, 10 Aug 2019 20:11:49 +1000:

The pull request you sent on Sat, 10 Aug 2019 20:11:49 +1000:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git tags/powerpc-5.3-4

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/23df57afe8eebff6ece05a815934f2f70a851e0a

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker
#2 lore raw
In reply to Linus Torvalds
Quoted 9 lines · Linus Torvalds
Quoted 4 lines · Michael Ellerman

Just one fix, a revert of a commit that was meant to be a minor improvement to some inline asm, but ended up having no real benefit with GCC and broke booting 32-bit machines when using Clang.

Pulled, but whenever there are possible subtle compiler issues I get nervous, and wonder if the problem was reported to the clang guys?

Quoted 6 lines

In particular, if the kernel change was technically correct, maybe somebody else comes along in a few years and tries the same, and then it's another odd "why doesn't this work for person X when it works just fine for me"..

Linus

It was.

https://github.com/ClangBuiltLinux/linux/issues/593

https://bugs.llvm.org/show_bug.cgi?id=42762

We're still waiting for input from the PowerPC backend maintainers as that is most likely where this issue originates from.

Cheers,
Nathan

#3 lore raw
In reply to Linus Torvalds

[ expanded Cc ]

Quoted 8 lines · Linus Torvalds
Quoted 4 lines · Michael Ellerman

Just one fix, a revert of a commit that was meant to be a minor improvement to some inline asm, but ended up having no real benefit with GCC and broke booting 32-bit machines when using Clang.

Pulled, but whenever there are possible subtle compiler issues I get nervous, and wonder if the problem was reported to the clang guys?

Yes, sorry I should have included more context. It was actually the Clang Linux folks who noticed it and reported it to us:
https://github.com/ClangBuiltLinux/linux/issues/593

There's an LLVM bug filed:
https://bugs.llvm.org/show_bug.cgi?id=42762

And I think there's now agreement that the Clang behaviour is not correct, Nick actually sent a revert as well but I already had one queued:
https://patchwork.ozlabs.org/patch/1144980/

Arnd identified some work arounds, which we may end up using, but for this cycle we thought it was preferable to just revert this change as it didn't actually change code generation with GCC anyway.

cheers