public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug string/28744] New: A64FX string functions are selected without SVE HWCAP
@ 2022-01-03 21:59 fweimer at redhat dot com
  2022-01-03 22:00 ` [Bug string/28744] " fweimer at redhat dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: fweimer at redhat dot com @ 2022-01-03 21:59 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28744

            Bug ID: 28744
           Summary: A64FX string functions are selected without SVE HWCAP
           Product: glibc
           Version: 2.35
            Status: NEW
          Severity: normal
          Priority: P2
         Component: string
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
                CC: wdijkstr at arm dot com
  Target Milestone: ---

The IFUNC selector for the A64FX-optimized string functions uses them once the
implementation identifies itself as A64FX. It does not check for SVE
hypervisor/kernel support. Without these, the string functions cannot work. The
generic code should be used instead, unless there are compelling reasons not to
support this configuration.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug string/28744] A64FX string functions are selected without SVE HWCAP
  2022-01-03 21:59 [Bug string/28744] New: A64FX string functions are selected without SVE HWCAP fweimer at redhat dot com
@ 2022-01-03 22:00 ` fweimer at redhat dot com
  2022-01-04 15:38 ` wdijkstr at arm dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: fweimer at redhat dot com @ 2022-01-03 22:00 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28744

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Build|                            |aarch64
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug string/28744] A64FX string functions are selected without SVE HWCAP
  2022-01-03 21:59 [Bug string/28744] New: A64FX string functions are selected without SVE HWCAP fweimer at redhat dot com
  2022-01-03 22:00 ` [Bug string/28744] " fweimer at redhat dot com
@ 2022-01-04 15:38 ` wdijkstr at arm dot com
  2022-01-06 14:37 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: wdijkstr at arm dot com @ 2022-01-04 15:38 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28744

--- Comment #1 from Wilco <wdijkstr at arm dot com> ---
There wouldn't be any point in disabling SVE on A64FX! However it's easy to add
the check, I'll post a patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug string/28744] A64FX string functions are selected without SVE HWCAP
  2022-01-03 21:59 [Bug string/28744] New: A64FX string functions are selected without SVE HWCAP fweimer at redhat dot com
  2022-01-03 22:00 ` [Bug string/28744] " fweimer at redhat dot com
  2022-01-04 15:38 ` wdijkstr at arm dot com
@ 2022-01-06 14:37 ` cvs-commit at gcc dot gnu.org
  2022-01-06 14:46 ` wdijkstr at arm dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-06 14:37 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28744

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Wilco Dijkstra <wilco@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e5fa62b8db546f8792ec9e5c61e6419f4f8e3f4d

commit e5fa62b8db546f8792ec9e5c61e6419f4f8e3f4d
Author: Wilco Dijkstra <wdijkstr@arm.com>
Date:   Thu Jan 6 14:36:28 2022 +0000

    AArch64: Check for SVE in ifuncs [BZ #28744]

    Add a check for SVE in the A64FX ifuncs for memcpy, memset and memmove.
    This fixes BZ #28744.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug string/28744] A64FX string functions are selected without SVE HWCAP
  2022-01-03 21:59 [Bug string/28744] New: A64FX string functions are selected without SVE HWCAP fweimer at redhat dot com
                   ` (2 preceding siblings ...)
  2022-01-06 14:37 ` cvs-commit at gcc dot gnu.org
@ 2022-01-06 14:46 ` wdijkstr at arm dot com
  2022-01-06 18:55 ` wdijkstr at arm dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: wdijkstr at arm dot com @ 2022-01-06 14:46 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28744

--- Comment #3 from Wilco <wdijkstr at arm dot com> ---
Fixed (this can be closed but I don't seem to have the right permissions...)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug string/28744] A64FX string functions are selected without SVE HWCAP
  2022-01-03 21:59 [Bug string/28744] New: A64FX string functions are selected without SVE HWCAP fweimer at redhat dot com
                   ` (3 preceding siblings ...)
  2022-01-06 14:46 ` wdijkstr at arm dot com
@ 2022-01-06 18:55 ` wdijkstr at arm dot com
  2022-01-06 18:56 ` wdijkstr at arm dot com
  2022-01-07  9:17 ` cvs-commit at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: wdijkstr at arm dot com @ 2022-01-06 18:55 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28744

Wilco <wdijkstr at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |wdijkstr at arm dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug string/28744] A64FX string functions are selected without SVE HWCAP
  2022-01-03 21:59 [Bug string/28744] New: A64FX string functions are selected without SVE HWCAP fweimer at redhat dot com
                   ` (4 preceding siblings ...)
  2022-01-06 18:55 ` wdijkstr at arm dot com
@ 2022-01-06 18:56 ` wdijkstr at arm dot com
  2022-01-07  9:17 ` cvs-commit at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: wdijkstr at arm dot com @ 2022-01-06 18:56 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28744

Wilco <wdijkstr at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Wilco <wdijkstr at arm dot com> ---
Fixed

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug string/28744] A64FX string functions are selected without SVE HWCAP
  2022-01-03 21:59 [Bug string/28744] New: A64FX string functions are selected without SVE HWCAP fweimer at redhat dot com
                   ` (5 preceding siblings ...)
  2022-01-06 18:56 ` wdijkstr at arm dot com
@ 2022-01-07  9:17 ` cvs-commit at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-07  9:17 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28744

--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.34/master branch has been updated by Florian Weimer
<fw@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=217b84127b3a6590afcc7e198e6c3f665935e8f4

commit 217b84127b3a6590afcc7e198e6c3f665935e8f4
Author: Wilco Dijkstra <wdijkstr@arm.com>
Date:   Thu Jan 6 14:36:28 2022 +0000

    AArch64: Check for SVE in ifuncs [BZ #28744]

    Add a check for SVE in the A64FX ifuncs for memcpy, memset and memmove.
    This fixes BZ #28744.

    (cherry picked from commit e5fa62b8db546f8792ec9e5c61e6419f4f8e3f4d)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-01-07  9:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-03 21:59 [Bug string/28744] New: A64FX string functions are selected without SVE HWCAP fweimer at redhat dot com
2022-01-03 22:00 ` [Bug string/28744] " fweimer at redhat dot com
2022-01-04 15:38 ` wdijkstr at arm dot com
2022-01-06 14:37 ` cvs-commit at gcc dot gnu.org
2022-01-06 14:46 ` wdijkstr at arm dot com
2022-01-06 18:55 ` wdijkstr at arm dot com
2022-01-06 18:56 ` wdijkstr at arm dot com
2022-01-07  9:17 ` cvs-commit at gcc dot gnu.org

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).