unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Peter Bergner <bergner@linux.ibm.com>
To: GNU C Library <libc-alpha@sourceware.org>
Cc: Manjunath Matti <mmatti@linux.ibm.com>,
	"Carlos O'Donell" <carlos@redhat.com>,
	Florian Weimer <fweimer@redhat.com>
Subject: Question on backporting. [Was Re: [PATCH v2 2/2] powerpc: Add HWCAP3/HWCAP4 data to TCB for Power Architecture.]
Date: Wed, 20 Mar 2024 09:50:16 -0500	[thread overview]
Message-ID: <9fdb4cf9-1ed2-4163-b0d2-9f138f7869ee@linux.ibm.com> (raw)

On 3/19/24 6:50 PM, Peter Bergner wrote:
> On 12/13/23 5:47 PM, Peter Bergner wrote:
>> On 12/5/23 6:38 AM, Manjunath Matti wrote:
>>> This patch adds a new feature for powerpc.  In order to get faster
>>> access to the HWCAP3/HWCAP4 masks, similar to HWCAP/HWCAP2 (i.e. for
>>> implementing __builtin_cpu_supports() in GCC) without the overhead of
>>> reading them from the auxiliary vector, we now reserve space for them
>>> in the TCB.
>>>
>>> This is an ABI change for GLIBC 2.39.
>>>
>>> Suggested-by: Peter Bergner <bergner@linux.ibm.com>
>>> ---
>>>  elf/dl-diagnostics.c                          |  2 +
>>>  elf/dl-support.c                              |  2 +
>>>  elf/elf.h                                     |  4 ++
>>>  sysdeps/generic/ldsodefs.h                    |  2 +
>>>  sysdeps/powerpc/dl-procinfo.c                 |  6 ++-
>>>  sysdeps/powerpc/dl-procinfo.h                 | 52 +++++++++++++------
>>>  sysdeps/powerpc/hwcapinfo.c                   | 11 ++--
>>>  sysdeps/unix/sysv/linux/dl-parse_auxv.h       |  2 +
>>>  sysdeps/unix/sysv/linux/dl-sysdep.c           |  2 +
>>>  .../unix/sysv/linux/powerpc/cpu-features.c    |  2 +
>>>  .../unix/sysv/linux/powerpc/cpu-features.h    |  2 +
>>>  sysdeps/unix/sysv/linux/powerpc/libc-start.c  |  6 +++
>>>  12 files changed, 74 insertions(+), 19 deletions(-)
>>
>> LGTM.  The only catch is that this patch is dependent on the associated
>> kernel patch that adds the AT_HWCAP3 and AT_HWCAP4 getting upstream so
>> glibc can rely on their values.  I'm still working on upstreaming that.
> 
> The kernel patch this is dependent on has finally reached Linus's tree,
> so I have pushed this patch.

As someone new to the Power maintainership role, can someone help explain
the process/rules for backporting changes into the release branches?
The above patch which was reviewed and approved before the 2.39 release
had to wait for the Linux kernel patch which it was dependent on, before
being pushed, thus missing the 2.39 release (patch 1/2 did make it).

As port maintainer do I have discretion to decide whether this patch
can be backported to the release branches or do I need consensus that
backporting it is ok?

I'll mention I would also like to backport Amrita's recent Power11 patch
as well to the 2.39 release branch.

Peter



             reply	other threads:[~2024-03-20 16:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-20 14:50 Peter Bergner [this message]
2024-03-20 19:08 ` Question on backporting. [Was Re: [PATCH v2 2/2] powerpc: Add HWCAP3/HWCAP4 data to TCB for Power Architecture.] Tulio Magno Quites Machado Filho
2024-03-20 20:09   ` Adhemerval Zanella Netto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/libc/involved.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9fdb4cf9-1ed2-4163-b0d2-9f138f7869ee@linux.ibm.com \
    --to=bergner@linux.ibm.com \
    --cc=carlos@redhat.com \
    --cc=fweimer@redhat.com \
    --cc=libc-alpha@sourceware.org \
    --cc=mmatti@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).