Re: [PATCH v2] powerpc: add documentation for HWCAPs

2022-07-29 Thread Michael Ellerman
On Fri, 15 Jul 2022 11:26:36 +1000, Nicholas Piggin wrote: > Take the arm64 HWCAP documentation file and adjust it for powerpc. > > Applied to powerpc/next. [1/1] powerpc: add documentation for HWCAPs https://git.kernel.org/powerpc/c/ef1911c6d26678b0e91fea33f076e98925997f0c cheers

Re: [PATCH v2] powerpc: add documentation for HWCAPs

2022-07-20 Thread Nicholas Piggin via Gcc
Excerpts from Tulio Magno Quites Machado Filho's message of July 16, 2022 6:17 am: > Segher Boessenkool writes: > >> That is a usability problem. Can it be fixed, or will that create its >> own compatibility problems? In practice I mean. If it is, the C >> libraries could fix it up, for new p

Re: [PATCH v2] powerpc: add documentation for HWCAPs

2022-07-15 Thread Tulio Magno Quites Machado Filho via Gcc
Segher Boessenkool writes: > That is a usability problem. Can it be fixed, or will that create its > own compatibility problems? In practice I mean. If it is, the C > libraries could fix it up, for new programs, and then after a while the > kernel can do the sane thing? > > How big is the prob

Re: [PATCH v2] powerpc: add documentation for HWCAPs

2022-07-15 Thread Segher Boessenkool
On Fri, Jul 15, 2022 at 03:41:20PM -0300, Tulio Magno Quites Machado Filho wrote: > Nicholas Piggin writes: > > > +PPC_FEATURE_ARCH_2_05 > > +The processor supports the v2.05 userlevel architecture. Processors > > +supporting later architectures also set this feature. > > I don't think

Re: [PATCH v2] powerpc: add documentation for HWCAPs

2022-07-15 Thread Tulio Magno Quites Machado Filho via Gcc
Nicholas Piggin writes: > +PPC_FEATURE_ARCH_2_05 > +The processor supports the v2.05 userlevel architecture. Processors > +supporting later architectures also set this feature. I don't think this bit is enabled when processors support later architectures. In my tests, this behavior start

Re: [PATCH v2] powerpc: add documentation for HWCAPs

2022-07-15 Thread Segher Boessenkool
On Fri, Jul 15, 2022 at 11:26:36AM +1000, Nicholas Piggin wrote: > Take the arm64 HWCAP documentation file and adjust it for powerpc. > > Signed-off-by: Nicholas Piggin Reviewed-by: Segher Boessenkool > +2. Facilities > +- > + > +The Power ISA uses the term "facility" to describe a