[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aYoCiXg8pSC_bwIv@willie-the-truck>
Date: Mon, 9 Feb 2026 15:51:37 +0000
From: Will Deacon <will@...nel.org>
To: Suzuki K Poulose <suzuki.poulose@....com>
Cc: kvmarm@...ts.linux.dev, kvm@...r.kernel.org, maz@...nel.org,
oupton@...nel.org, aneesh.kumar@...nel.org, steven.price@....com,
linux-kernel@...r.kernel.org, alexandru.elisei@....com,
tabba@...gle.com
Subject: Re: [kvmtool PATCH v5 02/15] update_headers: arm64: Track psci.h for
PSCI definitions
On Thu, Jan 08, 2026 at 05:57:40PM +0000, Suzuki K Poulose wrote:
> Track UAPI psci.h for PSCI definitions
>
> Reviewed-by: Marc Zyngier <maz@...nel.org>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose@....com>
> ---
> util/update_headers.sh | 17 ++++++++++-------
> 1 file changed, 10 insertions(+), 7 deletions(-)
>
> diff --git a/util/update_headers.sh b/util/update_headers.sh
> index af75ca36..9fe782a2 100755
> --- a/util/update_headers.sh
> +++ b/util/update_headers.sh
> @@ -37,13 +37,16 @@ done
>
> unset KVMTOOL_PATH
>
> -copy_optional_arch () {
> - local src="$LINUX_ROOT/arch/$arch/include/uapi/$1"
> +copy_arm64_headers () {
> + local uapi_asm_hdr="$LINUX_ROOT/arch/$arch/include/uapi/asm"
>
> - if [ -r "$src" ]
> - then
> - cp -- "$src" "$KVMTOOL_PATH/include/asm/"
> - fi
> + for f in sve_context.h psci.h
> + do
> + if [ -r "$uapi_asm_hdr/$f" ]
> + then
> + cp -- "$uapi_asm_hdr/$f" "$KVMTOOL_PATH/include/asm/"
> + fi
> + done
This doesn't make sense to me as I don't think we've ever had an
arm64 uapi/asm/psci.h. You presumably want linux/psci.h (which is what
the next patch pulls in), but then I don't understand how that worked
with the change you've got here :/
For now, I'll apply the first patch and then update the headers to 6.19
myself using the current script (as other folks need them updating too).
Will
Powered by blists - more mailing lists