[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Ztb9aNvPZQsRPdB7@arm.com>
Date: Tue, 3 Sep 2024 13:13:28 +0100
From: Yury Khrustalev <yury.khrustalev@....com>
To: Mark Brown <broonie@...nel.org>
CC: <Szabolcs.Nagy@....com>, <akpm@...ux-foundation.org>,
<aou@...s.berkeley.edu>, <ardb@...nel.org>, <arnd@...db.de>,
<brauner@...nel.org>, <catalin.marinas@....com>, <corbet@....net>,
<debug@...osinc.com>, <ebiederm@...ssion.com>, <fweimer@...hat.com>,
<hjl.tools@...il.com>, <james.morse@....com>, <kees@...nel.org>,
<kvmarm@...ts.linux.dev>, <linux-arch@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <linux-doc@...r.kernel.org>,
<linux-fsdevel@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-kselftest@...r.kernel.org>, <linux-mm@...ck.org>,
<linux-riscv@...ts.infradead.org>, <maz@...nel.org>, <oleg@...hat.com>,
<oliver.upton@...ux.dev>, <palmer@...belt.com>, <paul.walmsley@...ive.com>,
<rick.p.edgecombe@...el.com>, <ross.burton@....com>, <shuah@...nel.org>,
<suzuki.poulose@....com>, <thiago.bauermann@...aro.org>,
<wilco.dijkstra@....com>, <will@...nel.org>, <yury.khrustalev@....com>
Subject: Re: [PATCH v12 25/39] arm64/signal: Expose GCS state in signal frames
On Thu, Aug 29, 2024 at 12:27:41AM +0100, Mark Brown wrote:
> Add a context for the GCS state and include it in the signal context when
> running on a system that supports GCS. We reuse the same flags that the
> prctl() uses to specify which GCS features are enabled and also provide the
> current GCS pointer.
>
> We do not support enabling GCS via signal return, there is a conflict
> between specifying GCSPR_EL0 and allocation of a new GCS and this is not
> an ancticipated use case. We also enforce GCS configuration locking on
> signal return.
>
> Signed-off-by: Mark Brown <broonie@...nel.org>
> Reviewed-by: Catalin Marinas <catalin.marinas@....com>
Acked-by: Yury Khrustalev <yury.khrustalev@....com>
Powered by blists - more mailing lists