[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173471533453.2414588.7044123053780464753.b4-ty@arm.com>
Date: Fri, 20 Dec 2024 17:22:17 +0000
From: Catalin Marinas <catalin.marinas@....com>
To: Will Deacon <will@...nel.org>,
Mark Brown <broonie@...nel.org>
Cc: Mark Rutland <mark.rutland@....com>,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
kernel test robot <lkp@...el.com>
Subject: Re: [PATCH v3] arm64/signal: Silence sparse warning storing GCSPR_EL0
On Sat, 14 Dec 2024 02:12:06 +0000, Mark Brown wrote:
> We are seeing a sparse warning in gcs_restore_signal():
>
> arch/arm64/kernel/signal.c:1054:9: sparse: sparse: cast removes address space '__user' of expression
>
> when storing the final GCSPR_EL0 value back into the register, caused by
> the fact that write_sysreg_s() casts the value it writes to a u64 which
> sparse sees as discarding the __userness of the pointer.
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64/signal: Silence sparse warning storing GCSPR_EL0
https://git.kernel.org/arm64/c/926e86205897
--
Catalin
Powered by blists - more mailing lists