Re: [PATCH v2 07/12] parisc/percpu: Work around the lack of __SIZEOF_INT128__

From
Peter Zijlstra <peterz@infradead.org>
Date
2023-06-01 10:51:17
Also in
linux-arch, linux-crypto, linux-iommu, linux-s390, lkml
Reply to
Helge Deller, 2023-06-01
On Thu, Jun 01, 2023 at 12:32:38PM +0200, Helge Deller wrote:
On 6/1/23 12:14, Peter Zijlstra wrote:
quoted
On Wed, May 31, 2023 at 04:21:22PM +0200, Arnd Bergmann wrote:
quoted
It would be nice to have the hack more localized to parisc
and guarded with a CONFIG_GCC_VERSION check so we can kill
it off in the future, once we drop either gcc-10 or parisc
support.
I vote for dropping parisc -- it's the only 64bit arch that doesn't have
sane atomics.
Of course I'm against dropping parisc.
:-)
quoted
Anyway, the below seems to work -- build tested with GCC-10.1
I don't think we need to care about gcc-10 on parisc.
Debian and Gentoo are the only supported distributions, while Debian
requires gcc-12 to build > 6.x kernels, and I assume Gentoo uses at least
gcc-12 as well.

So raising the gcc limit for parisc only (at least temporarily for now)
should be fine and your workaround below wouldn't be necessary, right?
Correct, if you're willing to set minimum GCC version to 11 for parisc
all is well and this patch can go play in the bit bucket.
Thread (34 messages) 34 messages, 10 authors, last reply 2023-06-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help