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

[PATCH v2] powerpc: add documentation for HWCAPs

2022-07-14 Thread Nicholas Piggin via Gcc
Take the arm64 HWCAP documentation file and adjust it for powerpc. Signed-off-by: Nicholas Piggin --- Thanks for the comments. v2: - Addition of "categories" paragraph. - Change "features should not be probed via other means" to "HWCAP is preferred". - Speling fix. - Documentation/powerpc/el

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

2022-07-14 Thread Nicholas Piggin via Gcc
Excerpts from Segher Boessenkool's message of May 25, 2022 4:32 am: > On Tue, May 24, 2022 at 11:52:00AM +0200, Florian Weimer wrote: >> * Nicholas Piggin: >> >> > +2. Facilities >> > +- >> > +The Power ISA uses the term "facility" to describe a class of >> > instructions, >> > +regis

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

2022-07-14 Thread Nicholas Piggin via Gcc
Finally got some details about the icache snoop question so just coming back to this now, sorry for the delay... (POWER10 does support the coherent icache flush sequence as expected, there was some updates to the UM wording but that will be fixed). Excerpts from Segher Boessenkool's message of M

[PATCH Linux] powerpc: add documentation for HWCAPs

2022-05-24 Thread Nicholas Piggin via Gcc
Take the arm64 HWCAP documentation file and adjust it for powerpc. Signed-off-by: Nicholas Piggin --- Thanks for all the comments and corrections. It should be nearing the point where it is useful now. Yes I do think it would be useful to align this more with OpenPOWER docs (and possibly eventua

Re: [RFC Linux patch] powerpc: add documentation for HWCAPs

2022-05-20 Thread Nicholas Piggin via Gcc
Excerpts from Paul E Murphy's message of May 21, 2022 12:21 am: > > > On 5/20/22 12:15 AM, Nicholas Piggin via Gcc wrote: >> This takes the arm64 file and adjusts it for powerpc. Feature >> descriptions are vaguely handwaved by me. >> --- >> >> Anyb

Re: [RFC Linux patch] powerpc: add documentation for HWCAPs

2022-05-20 Thread Nicholas Piggin via Gcc
Excerpts from Michael Ellerman's message of May 20, 2022 7:21 pm: > Nicholas Piggin via Libc-alpha writes: >> This takes the arm64 file and adjusts it for powerpc. Feature >> descriptions are vaguely handwaved by me. >> --- > > Thanks for attempting to document this. It was mainly copy and paste

[RFC Linux patch] powerpc: add documentation for HWCAPs

2022-05-19 Thread Nicholas Piggin via Gcc
This takes the arm64 file and adjusts it for powerpc. Feature descriptions are vaguely handwaved by me. --- Anybody care to expand on or correct the meaning of these entries or bikeshed the wording of the intro? Many of them are no longer used anywhere by upstream kernels and even where they are i