diff mbox

habanero/slottable: Remove Network Mezz(2, 0) from PHB1.

Message ID 1481894891-12612-1-git-send-email-ppaidipe@linux.vnet.ibm.com
State Accepted
Headers show

Commit Message

ppaidipe Dec. 16, 2016, 1:28 p.m. UTC
With addition of latest callback of check_all_slot_table found below
error message in habanero platform.

[   17.069198739,3] PCI: built-in device not found: Network Mezz (loc: 10)
https://github.com/open-power/skiboot/issues/54

So PHB1 already having one Network Mezz(1,0) which is the only one there in the
habanero platform design layout. check_all_slot_table found the additional
Network Mezz(2,0) in slot table is in-correct. Fix this by removing it.

Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com>
---
 platforms/astbmc/habanero.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Stewart Smith Feb. 2, 2017, 6:34 a.m. UTC | #1
Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com> writes:
> With addition of latest callback of check_all_slot_table found below
> error message in habanero platform.
>
> [   17.069198739,3] PCI: built-in device not found: Network Mezz (loc: 10)
> https://github.com/open-power/skiboot/issues/54
>
> So PHB1 already having one Network Mezz(1,0) which is the only one there in the
> habanero platform design layout. check_all_slot_table found the additional
> Network Mezz(2,0) in slot table is in-correct. Fix this by removing it.
>
> Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com>
> ---
>  platforms/astbmc/habanero.c | 5 -----
>  1 file changed, 5 deletions(-)

Thanks for chasing this up.

Merged to master as of 3d0e3d8d288ede98b6adf969c8f341eac6c4784d
diff mbox

Patch

diff --git a/platforms/astbmc/habanero.c b/platforms/astbmc/habanero.c
index 0d3a01f..2856a97 100644
--- a/platforms/astbmc/habanero.c
+++ b/platforms/astbmc/habanero.c
@@ -39,11 +39,6 @@  static const struct slot_table_entry habanero_plx_slots[] = {
 		.name = "Network Mezz",
 	},
 	{
-		.etype = st_pluggable_slot,
-		.location = ST_LOC_DEVFN(2,0),
-		.name = "Network Mezz",
-	},
-	{
 		.etype = st_builtin_dev,
 		.location = ST_LOC_DEVFN(8,0),
 		.name = "Storage Mezz",