[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 7/9] ppc/pnv/occ: Update pstate frequency tables
From: |
Nicholas Piggin |
Subject: |
[PATCH 7/9] ppc/pnv/occ: Update pstate frequency tables |
Date: |
Tue, 10 Dec 2024 13:04:47 +1000 |
Make each pstate have a different frequency, because that's easier
to observe and test.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
hw/ppc/pnv_occ.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/ppc/pnv_occ.c b/hw/ppc/pnv_occ.c
index 918b08ba2ff..5567fbf008e 100644
--- a/hw/ppc/pnv_occ.c
+++ b/hw/ppc/pnv_occ.c
@@ -681,11 +681,11 @@ static bool occ_init_homer_memory(PnvOCC *occ, Error
**errp)
static_data.v2.pstate_turbo = -1;
static_data.v2.pstate_ultra_turbo = 0;
static_data.v2.pstates[0].id = 0;
- static_data.v2.pstates[1].freq_khz = cpu_to_be32(3000);
+ static_data.v2.pstates[1].freq_khz = cpu_to_be32(4000);
static_data.v2.pstates[1].id = -1;
static_data.v2.pstates[1].freq_khz = cpu_to_be32(3000);
static_data.v2.pstates[2].id = -2;
- static_data.v2.pstates[2].freq_khz = cpu_to_be32(3000);
+ static_data.v2.pstates[2].freq_khz = cpu_to_be32(2000);
for (i = 0; i < chip->nr_cores; i++) {
static_data.v2.core_max[i] = 1;
}
@@ -701,11 +701,11 @@ static bool occ_init_homer_memory(PnvOCC *occ, Error
**errp)
static_data.v9.pstate_turbo = 1;
static_data.v9.pstate_ultra_turbo = 0;
static_data.v9.pstates[0].id = 0;
- static_data.v9.pstates[0].freq_khz = cpu_to_be32(3000);
+ static_data.v9.pstates[0].freq_khz = cpu_to_be32(4000);
static_data.v9.pstates[1].id = 1;
static_data.v9.pstates[1].freq_khz = cpu_to_be32(3000);
static_data.v9.pstates[2].id = 2;
- static_data.v9.pstates[2].freq_khz = cpu_to_be32(3000);
+ static_data.v9.pstates[2].freq_khz = cpu_to_be32(2000);
for (i = 0; i < chip->nr_cores; i++) {
static_data.v9.core_max[i] = 1;
}
--
2.45.2
- [PATCH 0/9] ppc/pnv: HOMER and OCC fixes and improvements, Nicholas Piggin, 2024/12/09
- [PATCH 1/9] ppc/pnv/homer: Fix OCC registers, Nicholas Piggin, 2024/12/09
- [PATCH 3/9] ppc/pnv/occ: Fix common area sensor offsets, Nicholas Piggin, 2024/12/09
- [PATCH 2/9] ppc/pnv/homer: Make dummy reads return 0, Nicholas Piggin, 2024/12/09
- [PATCH 4/9] ppc/pnv/homer: class-based base and size, Nicholas Piggin, 2024/12/09
- [PATCH 5/9] ppc/pnv/occ: Better document OCCMISC bits, Nicholas Piggin, 2024/12/09
- [PATCH 7/9] ppc/pnv/occ: Update pstate frequency tables,
Nicholas Piggin <=
- [PATCH 6/9] ppc/pnv: Make HOMER memory a RAM region, Nicholas Piggin, 2024/12/09
- [PATCH 8/9] ppc/pnv/occ: Add POWER10 OCC-OPAL data format, Nicholas Piggin, 2024/12/09
- [PATCH 9/9] ppc/pnv/occ: Implement a basic dynamic OCC model, Nicholas Piggin, 2024/12/09