diff options
author | Jim Yuan <jim.yuan@supermicro.com> | 2018-04-24 13:25:29 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-04-24 00:11:50 -0500 |
commit | c31cb73d8edb6e8cd227dfe45f85459e6a8ef572 (patch) | |
tree | f52a2025050909d74c06674497748a6f098c12d3 /platforms | |
parent | 3837226ceb35e08829e7e6182debbcbcb7ffaa67 (diff) | |
download | skiboot-c31cb73d8edb6e8cd227dfe45f85459e6a8ef572.zip skiboot-c31cb73d8edb6e8cd227dfe45f85459e6a8ef572.tar.gz skiboot-c31cb73d8edb6e8cd227dfe45f85459e6a8ef572.tar.bz2 |
p9dsu: add slot power limit.
Signed-off-by: Jim Yuan <jim.yuan@supermicro.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/astbmc/p9dsu.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/platforms/astbmc/p9dsu.c b/platforms/astbmc/p9dsu.c index 06f6599..a9a2a9a 100644 --- a/platforms/astbmc/p9dsu.c +++ b/platforms/astbmc/p9dsu.c @@ -29,6 +29,7 @@ static const struct slot_table_entry p9dsu1u_phb0_0_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "UIO Slot1", + .power_limit = 75, }, { .etype = st_end }, }; @@ -38,6 +39,7 @@ static const struct slot_table_entry p9dsu1u_phb0_1_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "UIO Slot2", + .power_limit = 75, }, { .etype = st_end }, }; @@ -83,6 +85,7 @@ static const struct slot_table_entry p9dsu1u_phb8_0_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "WIO Slot1", + .power_limit = 75, }, { .etype = st_end }, }; @@ -92,6 +95,7 @@ static const struct slot_table_entry p9dsu1u_phb8_1_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "WIO-R Slot", + .power_limit = 75, }, { .etype = st_end }, }; @@ -101,6 +105,7 @@ static const struct slot_table_entry p9dsu1u_phb8_2_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "WIO Slot3", + .power_limit = 75, }, { .etype = st_end }, }; @@ -110,6 +115,7 @@ static const struct slot_table_entry p9dsu1u_phb8_3_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "WIO Slot2", + .power_limit = 75, }, { .etype = st_end }, }; @@ -174,6 +180,7 @@ static const struct slot_table_entry p9dsu2u_phb0_0_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "UIO Slot1", + .power_limit = 75, }, { .etype = st_end }, }; @@ -183,6 +190,7 @@ static const struct slot_table_entry p9dsu2u_phb0_1_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "UIO Slot2", + .power_limit = 75, }, { .etype = st_end }, }; @@ -228,6 +236,7 @@ static const struct slot_table_entry p9dsu2u_phb8_0_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "WIO Slot1", + .power_limit = 75, }, { .etype = st_end }, }; @@ -237,6 +246,7 @@ static const struct slot_table_entry p9dsu2u_phb8_1_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "WIO-R Slot", + .power_limit = 75, }, { .etype = st_end }, }; @@ -246,6 +256,7 @@ static const struct slot_table_entry p9dsu2u_phb8_2_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "WIO Slot3", + .power_limit = 75, }, { .etype = st_end }, }; @@ -255,6 +266,7 @@ static const struct slot_table_entry p9dsu2u_phb8_3_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "WIO Slot3", + .power_limit = 75, }, { .etype = st_end }, }; @@ -264,6 +276,7 @@ static const struct slot_table_entry p9dsu2u_phb8_4_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "WIO Slot2", + .power_limit = 75, }, { .etype = st_end }, }; @@ -333,11 +346,13 @@ static const struct slot_table_entry p9dsu2uess_uio_plx_down[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0x1,0), .name = "UIO Slot2", + .power_limit = 75, }, { .etype = st_builtin_dev, .location = ST_LOC_DEVFN(0x8,0), .name = "PLX switch", + .power_limit = 75, }, { .etype = st_builtin_dev, @@ -353,6 +368,7 @@ static const struct slot_table_entry p9dsu2uess_uio_plx_up[] = { .location = ST_LOC_DEVFN(0,0), .children = p9dsu2uess_uio_plx_down, .name = "PLX up", + .power_limit = 75, }, { .etype = st_end }, }; @@ -362,16 +378,19 @@ static const struct slot_table_entry p9dsu2uess_wio_plx_down[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0x1,0), .name = "WIO Slot1", + .power_limit = 75, }, { .etype = st_builtin_dev, .location = ST_LOC_DEVFN(0x8,0), .name = "PLX switch", + .power_limit = 75, }, { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0x9,0), .name = "WIO Slot2", + .power_limit = 75, }, { .etype = st_end }, }; @@ -382,6 +401,7 @@ static const struct slot_table_entry p9dsu2uess_wio_plx_up[] = { .location = ST_LOC_DEVFN(0,0), .children = p9dsu2uess_wio_plx_down, .name = "PLX up", + .power_limit = 75, }, { .etype = st_end }, }; @@ -391,6 +411,7 @@ static const struct slot_table_entry p9dsu2uess_phb0_0_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "UIO Slot1", + .power_limit = 75, }, { .etype = st_end }, }; @@ -401,6 +422,7 @@ static const struct slot_table_entry p9dsu2uess_phb0_1_slot[] = { .location = ST_LOC_DEVFN(0,0), .children = p9dsu2uess_uio_plx_up, .name = "PLX", + .power_limit = 75, }, { .etype = st_end }, }; @@ -410,6 +432,7 @@ static const struct slot_table_entry p9dsu2uess_phb0_2_slot[] = { .etype = st_builtin_dev, .location = ST_LOC_DEVFN(0,0), .name = "UIO Slot3", + .power_limit = 75, }, { .etype = st_end }, }; @@ -446,6 +469,7 @@ static const struct slot_table_entry p9dsu2uess_phb8_0_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "WIO Slot3", + .power_limit = 75, }, { .etype = st_end }, }; @@ -455,6 +479,7 @@ static const struct slot_table_entry p9dsu2uess_phb8_1_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "WIO-R Slot", + .power_limit = 75, }, { .etype = st_end }, }; @@ -465,6 +490,7 @@ static const struct slot_table_entry p9dsu2uess_phb8_2_slot[] = { .location = ST_LOC_DEVFN(0,0), .children = p9dsu2uess_wio_plx_up, .name = "PLX", + .power_limit = 75, }, { .etype = st_end }, }; @@ -474,6 +500,7 @@ static const struct slot_table_entry p9dsu2uess_phb8_3_slot[] = { .etype = st_pluggable_slot, .location = ST_LOC_DEVFN(0,0), .name = "WIO Slot4", + .power_limit = 75, }, { .etype = st_end }, }; |