#
9c5e1913 |
| 26-Feb-2024 |
Nicholas Piggin <npiggin@gmail.com> |
powerpc: Cleanup SPR and MSR definitions
Move SPR and MSR defines out of ppc_asm.h and processor.h and into a new include, asm/reg.h.
Add a define for the PVR SPR and various processor versions, an
powerpc: Cleanup SPR and MSR definitions
Move SPR and MSR defines out of ppc_asm.h and processor.h and into a new include, asm/reg.h.
Add a define for the PVR SPR and various processor versions, and replace the open coded numbers in the sprs.c test case.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Message-ID: <20240226101218.1472843-6-npiggin@gmail.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
show more ...
|
#
8b10d4fa |
| 26-Feb-2024 |
Nicholas Piggin <npiggin@gmail.com> |
powerpc: add asm/time.h header with delay and get_clock_us/ms
This matches s390x clock and delay APIs, so common test code can start using time facilities.
Signed-off-by: Nicholas Piggin <npiggin@g
powerpc: add asm/time.h header with delay and get_clock_us/ms
This matches s390x clock and delay APIs, so common test code can start using time facilities.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Message-ID: <20240226093832.1468383-5-npiggin@gmail.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
show more ...
|