History log of /kvm-unit-tests/lib/arm/asm/sysreg.h (Results 1 – 6 of 6)
Revision Date Author Comments
# 0cc3a351 22-Feb-2025 Sean Christopherson <seanjc@google.com>

lib: Use __ASSEMBLER__ instead of __ASSEMBLY__

Convert all non-x86 #ifdefs from __ASSEMBLY__ to __ASSEMBLER__, and remove
all manual __ASSEMBLY__ #defines. __ASSEMBLY_ was inherited blindly from
th

lib: Use __ASSEMBLER__ instead of __ASSEMBLY__

Convert all non-x86 #ifdefs from __ASSEMBLY__ to __ASSEMBLER__, and remove
all manual __ASSEMBLY__ #defines. __ASSEMBLY_ was inherited blindly from
the Linux kernel, and must be manually defined, e.g. through build rules
or with the aforementioned explicit #defines in assembly code.

__ASSEMBLER__ on the other hand is automatically defined by the compiler
when preprocessing assembly, i.e. doesn't require manually #defines for
the code to function correctly.

Ignore x86, as x86 doesn't actually rely on __ASSEMBLY__ at the moment,
and is undergoing a parallel cleanup.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Andrew Jones <andrew.jones@linux.dev>
Message-ID: <20250222014526.2302653-1-seanjc@google.com>
[thuth: Fix three more occurances in libfdt.h and sbi-tests.h]
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...


# 49f758b8 29-May-2017 Andrew Jones <drjones@redhat.com>

arm/arm64: code derived from Linux must be GPL not LGPL

Also update copyrights.

Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Andrew Jones <drjones@redhat.com>
[Amend two other "Adapat

arm/arm64: code derived from Linux must be GPL not LGPL

Also update copyrights.

Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Andrew Jones <drjones@redhat.com>
[Amend two other "Adapated" typos as well.]
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>

show more ...


# 98cbd390 18-May-2017 Alex Bennée <alex.bennee@linaro.org>

sysregs: add __ACCESS_CP14 macro

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20170518160208.9674-2-alex.bennee@linaro.org>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-

sysregs: add __ACCESS_CP14 macro

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20170518160208.9674-2-alex.bennee@linaro.org>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


# 92fca209 06-Dec-2016 Wei Huang <wei@redhat.com>

arm: Add support for read_sysreg() and write_sysreg()

This patch adds two new macros to support read/write operations of ARMv7
and ARMv8 system registers. As part of the change, xstr() is revised to

arm: Add support for read_sysreg() and write_sysreg()

This patch adds two new macros to support read/write operations of ARMv7
and ARMv8 system registers. As part of the change, xstr() is revised to
support variable arguments. With it, ARMv7 system register can be defined
with __ACCESS_CP15() or __ACCESS_CP15_64() depending if it is 32-bit or
64-bit. get_mpidr() is re-written with new macros.

Suggested-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Wei Huang <wei@redhat.com>
Signed-off-by: Andrew Jones <drjones@redhat.com>

show more ...


# d9193a9c 06-Dec-2016 Wei Huang <wei@redhat.com>

arm: rename cp15.h to sysreg.h

To prepare for future support of ARMv8 system register, rename cp15.h file
to sysreg.h, with _ASMARM_CP15_H_ renamed to _ASMARM_SYSREG_H_ in header
file.

Signed-off-b

arm: rename cp15.h to sysreg.h

To prepare for future support of ARMv8 system register, rename cp15.h file
to sysreg.h, with _ASMARM_CP15_H_ renamed to _ASMARM_SYSREG_H_ in header
file.

Signed-off-by: Wei Huang <wei@redhat.com>
Signed-off-by: Andrew Jones <drjones@redhat.com>

show more ...


# d3aacb4f 08-Apr-2014 Andrew Jones <drjones@redhat.com>

arm: add useful headers from the Linux kernel

We're going to need PSR bit defines and pt_regs. We'll also need
pt_regs offsets in assembly code. This patch adapts the Linux
kernel's ptrace.h and gen

arm: add useful headers from the Linux kernel

We're going to need PSR bit defines and pt_regs. We'll also need
pt_regs offsets in assembly code. This patch adapts the Linux
kernel's ptrace.h and generated/asm-offsets.h to this framework.
It also adapts cp15.h from the kernel, since we'll need bit defines
from there too.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
---
v4: much improved asm-offsets.h generation based on Kbuild

show more ...