Message ID | 20241129163721.2385847-2-yury.khrustalev@arm.com |
---|---|
State | Superseded |
Delegated to: | Carlos O'Donell |
Headers |
Return-Path: <libc-alpha-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CA08E3858C31 for <patchwork@sourceware.org>; Fri, 29 Nov 2024 16:38:08 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id 861353858CD9 for <libc-alpha@sourceware.org>; Fri, 29 Nov 2024 16:37:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 861353858CD9 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 861353858CD9 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1732898256; cv=none; b=r/XLAVB21jbDKxq8kuS/EoLzaIE6P5L9/ByXa9TFD/LSmAZcgiTBo4GS2RowI0IX2klGTLIgk31TM9xtjpt24SK1Ro5oWxz6hLBBNZ/K4BSGZTOCQnJLYM0hbigvjZFEQlR+490Sy3+LXPXoxNrgkh4BcqBrl6oJ+rn6U0KAwr0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1732898256; c=relaxed/simple; bh=cI3VTuLF9VSvhtsHbF4OSXDetvMdIXE+CvLxmWljS+s=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=qimbGzZNclfU833/rVZOWdI67NrfZ/8YMgNfGj2g/z79nmVmQ1V9Xv3medzhuCwUjzQs/5avELozeN3o+c6yL5HTutFhMhHGrKN0aIVNCDc/ngI72gYtnHMaBTw3FlKQqcCN+tUtBGro4aPBf9G1eCSW6F6b7d6n3kuX9pR05y8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C46A312FC; Fri, 29 Nov 2024 08:38:05 -0800 (PST) Received: from udebian.localdomain (unknown [10.1.35.24]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4E11C3F5A1; Fri, 29 Nov 2024 08:37:35 -0800 (PST) From: Yury Khrustalev <yury.khrustalev@arm.com> To: libc-alpha@sourceware.org Cc: fweimer@redhat.com, adhemerval.zanella@linaro.org, codonell@redhat.com, nsz@gcc.gnu.org, schwab@suse.de Subject: [PATCH v4 01/22] aarch64: Add HWCAP_GCS Date: Fri, 29 Nov 2024 16:37:00 +0000 Message-Id: <20241129163721.2385847-2-yury.khrustalev@arm.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241129163721.2385847-1-yury.khrustalev@arm.com> References: <20241129163721.2385847-1-yury.khrustalev@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.0 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org |
Series |
aarch64: Add support for Guarded Control Stack extension
|
|
Checks
Context | Check | Description |
---|---|---|
redhat-pt-bot/TryBot-apply_patch | success | Patch applied to master at the time it was sent |
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 | success | Build passed |
Commit Message
Yury Khrustalev
Nov. 29, 2024, 4:37 p.m. UTC
From: Szabolcs Nagy <szabolcs.nagy@arm.com>
Use upper 32 bits of HWCAP.
---
sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h | 1 +
1 file changed, 1 insertion(+)
Comments
On 11/29/24 11:37 AM, Yury Khrustalev wrote: > From: Szabolcs Nagy <szabolcs.nagy@arm.com> > > Use upper 32 bits of HWCAP. This can't go in until a Linux kernel is released with this constant since this is bits/hwcap.h and is included in sys/auxv.h and would make the constant visible to the users. You use HWCAP_GCS internally in a couple of places, so you could put this into another header temporarily to support building glibc without exposing the constant in the release. > --- > sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h > index 2fa158fcc0..47836eb414 100644 > --- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h > +++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h > @@ -54,6 +54,7 @@ > #define HWCAP_SB (1 << 29) > #define HWCAP_PACA (1 << 30) > #define HWCAP_PACG (1UL << 31) > +#define HWCAP_GCS (1UL << 32) > > #define HWCAP2_DCPODP (1 << 0) > #define HWCAP2_SVE2 (1 << 1) Cheers, Carlos.
diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h index 2fa158fcc0..47836eb414 100644 --- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h +++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h @@ -54,6 +54,7 @@ #define HWCAP_SB (1 << 29) #define HWCAP_PACA (1 << 30) #define HWCAP_PACG (1UL << 31) +#define HWCAP_GCS (1UL << 32) #define HWCAP2_DCPODP (1 << 0) #define HWCAP2_SVE2 (1 << 1)