summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2019-02-01 14:57:45 +1100
committerStewart Smith <stewart@linux.ibm.com>2019-02-18 22:12:37 -0600
commita3a64a4b8737f26eff9787f5b6a65c5966b509fb (patch)
tree3ab402626e7ed5f49ab0f4ba312e4497321158d5 /include
parente19f14e3134b4877c0aad34c1b2b6ce9d1c2056f (diff)
downloadtalos-skiboot-a3a64a4b8737f26eff9787f5b6a65c5966b509fb.tar.gz
talos-skiboot-a3a64a4b8737f26eff9787f5b6a65c5966b509fb.zip
phb4: Eliminate peltv_cache
The PELT-V is also an in-memory table and there is no reason to have two copies of it. Removing the cache shaves another 128KB off the size of each struct phb4. Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/phb4.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/phb4.h b/include/phb4.h
index 0f1d38b5..b6937664 100644
--- a/include/phb4.h
+++ b/include/phb4.h
@@ -198,7 +198,7 @@ struct phb4 {
/* SkiBoot owned in-memory tables */
uint16_t *tbl_rtt;
- uint64_t tbl_peltv;
+ uint8_t *tbl_peltv;
uint64_t tbl_peltv_size;
uint64_t tbl_pest;
uint64_t tbl_pest_size;
@@ -217,7 +217,6 @@ struct phb4 {
/* FIXME: dynamically allocate only what's needed below */
uint64_t tve_cache[1024];
- uint8_t peltv_cache[PELTV_TABLE_SIZE_MAX];
uint64_t mbt_cache[32][2];
uint64_t mdt_cache[512]; /* max num of PEs */
uint64_t mist_cache[4096/4];/* max num of MSIs */
OpenPOWER on IntegriCloud