Skip to content

Commit 053608a

Browse files
jsun26intellijinxia
authored andcommitted
HV: add px cx data of bxt n3350 SOC
The cpu model name of "Intel(R) Celeron(R) CPU N3350 @ 1.10GHz" is used in APL UP2 board, which is in Acrn official support list. Tracked-On: #1767 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
1 parent 7353005 commit 053608a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

hypervisor/arch/x86/cpu_state_tbl.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@ static const struct cpu_px_data px_j3455[] = {
6464
{0x320UL, 0UL, 0xAUL, 0xAUL, 0x0800UL, 0x0800UL} /* P8 */
6565
};
6666

67+
/* The table includes cpu px info of Intel N3350 SoC */
68+
static const struct cpu_px_data px_n3350[] = {
69+
{0x44DUL, 0UL, 0xAUL, 0xAUL, 0x1800UL, 0x1800UL}, /* P0 */
70+
{0x44CUL, 0UL, 0xAUL, 0xAUL, 0x0B00UL, 0x0B00UL}, /* P1 */
71+
{0x3E8UL, 0UL, 0xAUL, 0xAUL, 0x0A00UL, 0x0A00UL}, /* P2 */
72+
{0x384UL, 0UL, 0xAUL, 0xAUL, 0x0900UL, 0x0900UL}, /* P3 */
73+
{0x320UL, 0UL, 0xAUL, 0xAUL, 0x0800UL, 0x0800UL} /* P4 */
74+
};
75+
6776
/* The table includes cpu cx info of Intel J3455 SoC */
6877
static const struct cpu_cx_data cx_j3455[] = {
6978
{{SPACE_FFixedHW, 0x1U, 0x2U, 0x1U, 0x01UL}, 0x1U, 0x1U, 0x3E8UL}, /* C1 */
@@ -86,6 +95,10 @@ static const struct cpu_state_table {
8695
{"Intel(R) Celeron(R) CPU J3455 @ 1.50GHz",
8796
{(uint8_t)ARRAY_SIZE(px_j3455), px_j3455,
8897
(uint8_t)ARRAY_SIZE(cx_j3455), cx_j3455}
98+
},
99+
{"Intel(R) Celeron(R) CPU N3350 @ 1.10GHz",
100+
{(uint8_t)ARRAY_SIZE(px_n3350), px_n3350,
101+
(uint8_t)ARRAY_SIZE(cx_a3960), cx_a3960} /* Cx is same as A3960 */
89102
}
90103
};
91104

0 commit comments

Comments
 (0)