diff options
author | Marat Dukhan <marat@fb.com> | 2018-04-04 16:51:29 -0700 |
---|---|---|
committer | Marat Dukhan <marat@fb.com> | 2018-04-04 16:51:29 -0700 |
commit | 831dc28341b5f20d13e840caf87eaba644d82643 (patch) | |
tree | 2e6e30d6a22ae9ec4d4a308255d9042ee58b3a79 /src | |
parent | b12e7dab1bd823a1c9f4367438e9e33f5200424e (diff) | |
download | cpuinfo-831dc28341b5f20d13e840caf87eaba644d82643.tar.gz |
Verify cache configuration on Qualcomm Kryo
Diffstat (limited to 'src')
-rw-r--r-- | src/arm/cache.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/arm/cache.c b/src/arm/cache.c index 8f9d00e..277b423 100644 --- a/src/arm/cache.c +++ b/src/arm/cache.c @@ -872,19 +872,20 @@ void cpuinfo_arm_decode_cache( * +-----------------+-------+-----------+-----------+-----------+-----------+ * | Processor model | Cores | L1D cache | L1I cache | L2 cache | Reference | * +-----------------+-------+-----------+-----------+-----------+-----------+ - * | Snapdragon 820 | 2+2 | ? | ? | 1M+512K | [1] | + * | Snapdragon 820 | 2+2 | 24K | 32K | 1M+512K | [1, 2] | * | Snapdragon 821 | 2+2 | ? | ? | 1M+512K | [1] | * +-----------------+-------+-----------+-----------+-----------+-----------+ * * [1] http://www.anandtech.com/show/9837/snapdragon-820-preview/2 + * [2] https://www.inforcecomputing.com/public_docs/Inforce6601/Inforce_6601_Micro-SOM_FAQs_04-2016-1.pdf */ *l1i = (struct cpuinfo_cache) { - .size = 32 * 1024 /* TODO: verify */, + .size = 32 * 1024, .associativity = 4, .line_size = 64 }; *l1d = (struct cpuinfo_cache) { - .size = 24 * 1024 /* TODO: verify */, + .size = 24 * 1024, .associativity = 3, .line_size = 64 }; |