File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ static inline unsigned int arch_slab_minalign(void)
58
58
#define CTR_L1IP (ctr ) SYS_FIELD_GET(CTR_EL0, L1Ip, ctr)
59
59
60
60
#define ICACHEF_ALIASING 0
61
- #define ICACHEF_VPIPT 1
62
61
extern unsigned long __icache_flags ;
63
62
64
63
/*
@@ -70,11 +69,6 @@ static inline int icache_is_aliasing(void)
70
69
return test_bit (ICACHEF_ALIASING , & __icache_flags );
71
70
}
72
71
73
- static __always_inline int icache_is_vpipt (void )
74
- {
75
- return test_bit (ICACHEF_VPIPT , & __icache_flags );
76
- }
77
-
78
72
static inline u32 cache_type_cwg (void )
79
73
{
80
74
return SYS_FIELD_GET (CTR_EL0 , CWG , read_cpuid_cachetype ());
Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ static struct cpuinfo_arm64 boot_cpu_data;
36
36
static inline const char * icache_policy_str (int l1ip )
37
37
{
38
38
switch (l1ip ) {
39
- case CTR_EL0_L1Ip_VPIPT :
40
- return "VPIPT" ;
41
39
case CTR_EL0_L1Ip_VIPT :
42
40
return "VIPT" ;
43
41
case CTR_EL0_L1Ip_PIPT :
@@ -388,9 +386,6 @@ static void cpuinfo_detect_icache_policy(struct cpuinfo_arm64 *info)
388
386
switch (l1ip ) {
389
387
case CTR_EL0_L1Ip_PIPT :
390
388
break ;
391
- case CTR_EL0_L1Ip_VPIPT :
392
- set_bit (ICACHEF_VPIPT , & __icache_flags );
393
- break ;
394
389
case CTR_EL0_L1Ip_VIPT :
395
390
default :
396
391
/* Assume aliasing */
You can’t perform that action at this time.
0 commit comments