[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 12/14] arm/cpu: Add sysreg generation scripts
From: |
Cornelia Huck |
Subject: |
Re: [PATCH v8 12/14] arm/cpu: Add sysreg generation scripts |
Date: |
Tue, 17 Jun 2025 17:45:15 +0200 |
User-agent: |
Notmuch/0.38.3 (https://notmuchmail.org) |
On Tue, Jun 17 2025, Cornelia Huck <cohuck@redhat.com> wrote:
> diff --git a/scripts/arm-gen-cpu-sysregs-header.awk
> b/scripts/arm-gen-cpu-sysregs-header.awk
> new file mode 100755
> index 000000000000..f92bbbafa727
> --- /dev/null
> +++ b/scripts/arm-gen-cpu-sysregs-header.awk
> @@ -0,0 +1,37 @@
> +#!/bin/awk -f
> +# SPDX-License-Identifier: GPL-2.0-or-later
> +# arm-gen-cpu-sysregs-header.awk: arm64 sysreg header include generator
> +#
> +# Usage: awk -f arm-gen-cpu-sysregs-header.awk
> $LINUX_PATH/arch/arm64/tools/sysreg
> +
> +BEGIN {
> + print "/* SPDX-License-Identifier: GPL-2.0-or-later */"
FWIW, checkpatch.pl chokes on this:
^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE
/"$/ at scripts/checkpatch.pl line 1389.
ERROR: Saw unacceptable licenses '*/"', valid choices for QEMU are:
GPL-2.0-or-later
GPL-2.0-only
LGPL-2.1-only
LGPL-2.1-or-later
BSD-2-Clause
BSD-3-Clause
MIT
total: 1 errors, 0 warnings, 76 lines checked
> + print "/* GENERATED FILE, DO NOT EDIT */"
> + print "/* use arm-gen-cpu-sysregs-header.awk to regenerate */"
> +} END {
> + print ""
> +}
> +
- [PATCH v8 06/14] arm/cpu: Store aa64dfr0/1 into the idregs array, (continued)
- [PATCH v8 06/14] arm/cpu: Store aa64dfr0/1 into the idregs array, Cornelia Huck, 2025/06/17
- [PATCH v8 05/14] arm/cpu: Store aa64mmfr0-3 into the idregs array, Cornelia Huck, 2025/06/17
- [PATCH v8 10/14] arm/cpu: Store id_dfr0/1 into the idregs array, Cornelia Huck, 2025/06/17
- [PATCH v8 14/14] arm/kvm: use fd instead of fdarray[2], Cornelia Huck, 2025/06/17
- [PATCH v8 03/14] arm/cpu: Store aa64isar1/2 into the idregs array, Cornelia Huck, 2025/06/17
- [PATCH v8 04/14] arm/cpu: Store aa64pfr0/1 into the idregs array, Cornelia Huck, 2025/06/17
- [PATCH v8 02/14] arm/cpu: Store aa64isar0/aa64zfr0 into the idregs arrays, Cornelia Huck, 2025/06/17
- [PATCH v8 08/14] arm/cpu: Store id_isar0-7 into the idregs array, Cornelia Huck, 2025/06/17
- [PATCH v8 11/14] arm/cpu: Store id_mmfr0-5 into the idregs array, Cornelia Huck, 2025/06/17
- [PATCH v8 12/14] arm/cpu: Add sysreg generation scripts, Cornelia Huck, 2025/06/17
[PATCH v8 13/14] arm/cpu: switch to a generated cpu-sysregs.h.inc, Cornelia Huck, 2025/06/17
Re: [PATCH v8 00/14] arm: rework id register storage, Eric Auger, 2025/06/25
Re: [PATCH v8 00/14] arm: rework id register storage, Cornelia Huck, 2025/06/30