[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZtbPksgBZiXd0iHc@arm.com>
Date: Tue, 3 Sep 2024 09:57:54 +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 4/39] mman: Add map_shadow_stack() flags
On Thu, Aug 29, 2024 at 12:27:20AM +0100, Mark Brown wrote:
> In preparation for adding arm64 GCS support make the map_shadow_stack()
> SHADOW_STACK_SET_TOKEN flag generic and add _SET_MARKER. The existing
> flag indicates that a token usable for stack switch should be added to
> the top of the newly mapped GCS region while the new flag indicates that
> a top of stack marker suitable for use by unwinders should be added
> above that.
>
> For arm64 the top of stack marker is all bits 0.
>
> Reviewed-by: Thiago Jung Bauermann <thiago.bauermann@...aro.org>
> Reviewed-by: Catalin Marinas <catalin.marinas@....com>
> Signed-off-by: Mark Brown <broonie@...nel.org>
Acked-by: Yury Khrustalev <yury.khrustalev@....com>
Powered by blists - more mailing lists