powerpc/p5020: fixup portal config info
PATCH 1/3 powerpc/p5020: fixup portal config info
From: Haiying Wang <[email protected]>
P5020 has 10 qman portals, we need to configure all of them:
* As there are only 2 physical cores sdest can only be 0 or 1
* We assign dqrr & frame data LIODNs for all portals so if they are utilized the proper mapping tables can be setup uniquely (PAMU stashing)
* We set Portal 6-10 to LIODN offsets 1-5 as the global LIODN assignments are tuned around an assumption of at most 5 partitions.
--- arch/powerpc/cpu/mpc85xx/p5020_ids.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-)
arch/powerpc/cpu/mpc85xx/p5020_ids.c +10 -10
@@ -27,16 +27,16 @@#ifdef CONFIG_SYS_DPAA_QBMAN struct qportal_info qp_info[CONFIG_SYS_QMAN_NUM_PORTALS ] = {/* dqrr liodn, frame data liodn, liodn off, sdest */ -SET_QP_INFO (1 ,2 ,1 ,0 ), -SET_QP_INFO (3 ,4 ,2 ,1 ), -SET_QP_INFO (5 ,6 ,3 ,2 ), -SET_QP_INFO (7 ,8 ,4 ,3 ), -SET_QP_INFO (9 ,10 ,5 ,4 ), -SET_QP_INFO (0 ,0 ,0 ,5 ), -SET_QP_INFO (0 ,0 ,0 ,6 ), -SET_QP_INFO (0 ,0 ,0 ,7 ), -SET_QP_INFO (0 ,0 ,0 ,0 ),/* for now sdest to 0 */ -SET_QP_INFO (0 ,0 ,0 ,0 ),/* for now sdest to 0 */ +SET_QP_INFO (1 ,2 ,1 ,0 ), +SET_QP_INFO (3 ,4 ,2 ,1 ), +SET_QP_INFO (5 ,6 ,3 ,0 ), +SET_QP_INFO (7 ,8 ,4 ,1 ), +SET_QP_INFO (9 ,10 ,5 ,0 ), +SET_QP_INFO (11 ,12 ,1 ,1 ), +SET_QP_INFO (13 ,14 ,2 ,0 ), +SET_QP_INFO (15 ,16 ,3 ,1 ), +SET_QP_INFO (17 ,18 ,4 ,0 ), +SET_QP_INFO (19 ,20 ,5 ,1 ), };#endif
Signature · 1 line
1.7.3.4
PATCH 2/3 powerpc/p2041: fixup portal config info
From: Haiying Wang <[email protected]>
P2041 has 10 qman portals, we need to configure all of them:
* As there are only 4 physical cores sdest can only be 0 to 3
* We assign dqrr & frame data LIODNs for all portals so if they are utilized the proper mapping tables can be setup uniquely (PAMU stashing)
* We set Portal 6-10 to LIODN offsets 1-5 as the global LIODN assignments are tuned around an assumption of at most 5 partitions.
--- arch/powerpc/cpu/mpc85xx/p2041_ids.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-)
arch/powerpc/cpu/mpc85xx/p2041_ids.c +10 -10
@@ -27,16 +27,16 @@#ifdef CONFIG_SYS_DPAA_QBMAN struct qportal_info qp_info[CONFIG_SYS_QMAN_NUM_PORTALS ] = {/* dqrr liodn, frame data liodn, liodn off, sdest */ -SET_QP_INFO (1 ,2 ,1 ,0 ), -SET_QP_INFO (3 ,4 ,2 ,1 ), -SET_QP_INFO (5 ,6 ,3 ,2 ), -SET_QP_INFO (7 ,8 ,4 ,3 ), -SET_QP_INFO (9 ,10 ,5 ,4 ), -SET_QP_INFO (0 ,0 ,0 ,5 ), -SET_QP_INFO (0 ,0 ,0 ,6 ), -SET_QP_INFO (0 ,0 ,0 ,7 ), -SET_QP_INFO (0 ,0 ,0 ,0 ),/* for now sdest to 0 */ -SET_QP_INFO (0 ,0 ,0 ,0 ),/* for now sdest to 0 */ +SET_QP_INFO (1 ,2 ,1 ,0 ), +SET_QP_INFO (3 ,4 ,2 ,1 ), +SET_QP_INFO (5 ,6 ,3 ,2 ), +SET_QP_INFO (7 ,8 ,4 ,3 ), +SET_QP_INFO (9 ,10 ,5 ,0 ), +SET_QP_INFO (11 ,12 ,1 ,1 ), +SET_QP_INFO (13 ,14 ,2 ,2 ), +SET_QP_INFO (15 ,16 ,3 ,3 ), +SET_QP_INFO (17 ,18 ,4 ,0 ),/* for now sdest to 0 */ +SET_QP_INFO (19 ,20 ,5 ,0 ),/* for now sdest to 0 */ };#endif
Signature · 1 line
1.7.3.4
PATCH 3/3 powerpc/p3041: fixup portal config info
From: Haiying Wang <[email protected]>
P3041 has 10 qman portals, we need to configure all of them:
* As there are only 4 physical cores sdest can only be 0 to 3
* We assign dqrr & frame data LIODNs for all portals so if they are utilized the proper mapping tables can be setup uniquely (PAMU stashing)
* We set Portal 6-10 to LIODN offsets 1-5 as the global LIODN assignments are tuned around an assumption of at most 5 partitions.
--- arch/powerpc/cpu/mpc85xx/p3041_ids.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-)
arch/powerpc/cpu/mpc85xx/p3041_ids.c +10 -10
@@ -27,16 +27,16 @@#ifdef CONFIG_SYS_DPAA_QBMAN struct qportal_info qp_info[CONFIG_SYS_QMAN_NUM_PORTALS ] = {/* dqrr liodn, frame data liodn, liodn off, sdest */ -SET_QP_INFO (1 ,2 ,1 ,0 ), -SET_QP_INFO (3 ,4 ,2 ,1 ), -SET_QP_INFO (5 ,6 ,3 ,2 ), -SET_QP_INFO (7 ,8 ,4 ,3 ), -SET_QP_INFO (9 ,10 ,5 ,4 ), -SET_QP_INFO (0 ,0 ,0 ,5 ), -SET_QP_INFO (0 ,0 ,0 ,6 ), -SET_QP_INFO (0 ,0 ,0 ,7 ), -SET_QP_INFO (0 ,0 ,0 ,0 ),/* for now sdest to 0 */ -SET_QP_INFO (0 ,0 ,0 ,0 ),/* for now sdest to 0 */ +SET_QP_INFO (1 ,2 ,1 ,0 ), +SET_QP_INFO (3 ,4 ,2 ,1 ), +SET_QP_INFO (5 ,6 ,3 ,2 ), +SET_QP_INFO (7 ,8 ,4 ,3 ), + SET_QP_INFO(9, 10 5, 0), +SET_QP_INFO (11 ,12 ,1 ,1 ), +SET_QP_INFO (13 ,14 ,2 ,2 ), +SET_QP_INFO (15 ,16 ,3 ,3 ), +SET_QP_INFO (17 ,18 ,4 ,0 ),/* for now sdest to 0 */ +SET_QP_INFO (19 ,20 ,5 ,0 ),/* for now sdest to 0 */ };#endif
Signature · 1 line
1.7.3.4
Kumar Gala
AppliedPATCH 1/3 powerpc/p5020: fixup portal config info
In reply to Kumar GalaQuoted 11 lines · Kumar Gala
From: Haiying Wang <[email protected]>
P5020 has 10 qman portals, we need to configure all of them:
* As there are only 2 physical cores sdest can only be 0 or 1
* We assign dqrr & frame data LIODNs for all portals so if they are utilized the proper mapping tables can be setup uniquely (PAMU stashing)
* We set Portal 6-10 to LIODN offsets 1-5 as the global LIODN assignments are tuned around an assumption of at most 5 partitions.
Quoted 5 lines
Signed-off-by Haiying Wang <[email protected]>Signed-off-by Kumar Gala <[email protected]>---
arch/powerpc/cpu/mpc85xx/p5020_ids.c| 20 ++++++++++----------1 files changed, 10 insertions(+), 10 deletions(-)
applied
- k
Kumar Gala
AppliedPATCH 2/3 powerpc/p2041: fixup portal config info
In reply to Kumar GalaQuoted 11 lines · Kumar Gala
From: Haiying Wang <[email protected]>
P2041 has 10 qman portals, we need to configure all of them:
* As there are only 4 physical cores sdest can only be 0 to 3
* We assign dqrr & frame data LIODNs for all portals so if they are utilized the proper mapping tables can be setup uniquely (PAMU stashing)
* We set Portal 6-10 to LIODN offsets 1-5 as the global LIODN assignments are tuned around an assumption of at most 5 partitions.
Quoted 5 lines
Signed-off-by Haiying Wang <[email protected]>Signed-off-by Kumar Gala <[email protected]>---
arch/powerpc/cpu/mpc85xx/p2041_ids.c| 20 ++++++++++----------1 files changed, 10 insertions(+), 10 deletions(-)
applied
- k