mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
ANDROID: arm64: Fix up CTR_EL0 L1Ip handling.
A partial backport of sysreg naming changes broke extraction of the
L1Ip field from CTR_EL0. Revert the CTR_L1IP() macro to an earlier,
correct form.
Signed-off-by: Keir Fraser <keirf@google.com>
Bug: 233588291
Fixes: f660cd9614 ("BACKPORT: arm64/sysreg: Standardise naming for CTR_EL0 fields")
Change-Id: I8d46ad5e266c5792239066b16fbc78762706c023
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#include <asm/cputype.h>
|
||||
#include <asm/sysreg.h>
|
||||
|
||||
#define CTR_L1IP(ctr) SYS_FIELD_GET(CTR_EL0, L1Ip, ctr)
|
||||
#define CTR_L1IP(ctr) (((ctr) >> CTR_EL0_L1Ip_SHIFT) & CTR_EL0_L1Ip_MASK)
|
||||
|
||||
#define ICACHEF_ALIASING 0
|
||||
#define ICACHEF_VPIPT 1
|
||||
|
||||
Reference in New Issue
Block a user