This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add hwcap2 bits for POWER9
- From: Steven Munroe <munroesj at linux dot vnet dot ibm dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: Tulio Magno Quites Machado Filho <tuliom at linux dot vnet dot ibm dot com>, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, libc-alpha at sourceware dot org, linuxppc-dev at lists dot ozlabs dot org
- Date: Tue, 12 Jan 2016 10:39:17 -0600
- Subject: Re: [PATCH] Add hwcap2 bits for POWER9
- Authentication-results: sourceware.org; auth=none
- References: <568C272D dot 6000705 at linux dot vnet dot ibm dot com> <87egdsi4om dot fsf at totoro dot br dot ibm dot com> <1452267366 dot 5201 dot 12 dot camel at vnet dot ibm dot com> <568FE3D0 dot 7080008 at linaro dot org> <87wprgdu3u dot fsf at totoro dot br dot ibm dot com> <5693C861 dot 9030308 at redhat dot com> <87bn8revra dot fsf at totoro dot br dot ibm dot com> <56941532 dot 9030800 at redhat dot com>
- Reply-to: munroesj at linux dot vnet dot ibm dot com
On Mon, 2016-01-11 at 15:48 -0500, Carlos O'Donell wrote:
> On 01/11/2016 02:55 PM, Tulio Magno Quites Machado Filho wrote:
> > "Carlos O'Donell" <carlos@redhat.com> writes:
> >
> >> On 01/11/2016 10:16 AM, Tulio Magno Quites Machado Filho wrote:
> >>> Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> >>>
> >>>> On 08-01-2016 13:36, Peter Bergner wrote:
> >>>>> On Fri, 2016-01-08 at 11:25 -0200, Tulio Magno Quites Machado Filho wrote:
> >>>>>> Peter, this solves the issue you reported previously [1].
> >>>>>>
> >>>>>> [1] https://sourceware.org/ml/libc-alpha/2015-12/msg00522.html
> >>>>>
> >>>>> Agreed, thanks. I'll also add the POWER9 support to the GCC side
> >>>>> of the patch now that the glibc code is upstream.
> >>>>
> >>>> I do not see these bits being added in kernel side yet and GLIBC usual
> >>>> only sync these kind of bits *after* they are included in kernel side.
> >>>> So I would advise to either get these pieces (kernel support and hwcap
> >>>> advertise) in kernel before 2.23 release, otherwise revert the patches.
> >>>
> >>> Ack.
> >>> It has just been sent to the correspondent Linux mailing list:
> >>> https://lists.ozlabs.org/pipermail/linuxppc-dev/2016-January/137763.html
> >>
> >> Please revert the changes from glibc until you checkin support to linux
> >> kernel mainline.
> >>
> >> Leaving these bits in increases the risk that someone uses to deploy a glibc
> >> that then may have the wrong value.
> >
> > Could you clarify this statement, please?
> > I fail to see how they could have the wrong value.
>
> Until it is checked into the mainline kernel it is not canonical.
>
> That's the rule. There are no other discussions to be had.
>
Well is was posted to to powerpc next:
https://git.kernel.org/powerpc/c/e708c24cd01ce80b1609d8bacc
We have agreement between the kernel and GLIBC (and the ABI).
The issue is just coordination across communities and individuals that
may not being paying attention to other communities dead lines.
Have you ever tried to push a string, up hill. That is open source
development in nutshell. ;)
So it is in flight and glibc is soft/slush freeze. I would hate to
revert this one day just to add it back to the next. Especially if those
days straddle the hard freeze ...
So can we let this ride a day or too?
> The single rule avoids discussions like "it can never be wrong because that's
> what our ABI says it is."
>