diff options
author | Omri Itach <omrii@marvell.com> | 2017-07-25 16:12:57 +0300 |
---|---|---|
committer | Kostya Porotchkin <kostap@marvell.com> | 2017-08-30 11:23:10 +0300 |
commit | e8fc2d5ebab5dfd07429709a2a3bc36985d610f2 (patch) | |
tree | 1c100c39719bf9074085e394b7f6f38e40f94546 | |
parent | a1af51f8a6371be341f18519476dde36e0e2f213 (diff) |
fix: llc: ocp, pcac: temporarily force disable of LLC
Force disable of LLC for A8k-OCP and A7k-PCAC boards, regardless
of LLC_DISABLE compilation flag.
This is due to an issue observed while running iperf with
smartNIC End Poind driver/application, while LLC is enabled.
As a temporary workaround, until issue is solved, we disable LLC.
Change-Id: Ie8362dafcf227112a8c48e865f74bfe69c8598d5
Signed-off-by: Omri Itach <omrii@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/42127
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
-rw-r--r-- | plat/marvell/a8k/a70x0_pcac/plat_def.h | 10 | ||||
-rw-r--r-- | plat/marvell/a8k/a80x0_ocp/plat_def.h | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/plat/marvell/a8k/a70x0_pcac/plat_def.h b/plat/marvell/a8k/a70x0_pcac/plat_def.h index 6d6a53ec..1ec015cf 100644 --- a/plat/marvell/a8k/a70x0_pcac/plat_def.h +++ b/plat/marvell/a8k/a70x0_pcac/plat_def.h @@ -39,6 +39,16 @@ #define CP_COUNT 1 /* A70x0 has single CP0 */ +/* Force disable of LLC, regardless of LLC_DISABLE compilation flag + * this is due to an issue observed while running iperf with + * smartNIC End Poind driver/application, while LLC is enabled. + * as a temporary workaround, until issue is solved, we disable LLC + */ +#ifdef LLC_DISABLE +#undef LLC_DISABLE +#define LLC_DISABLE 1 +#endif + /************************************************************************* * Required platform porting definitions common to all * Mangement Compute SubSystems (MSS) diff --git a/plat/marvell/a8k/a80x0_ocp/plat_def.h b/plat/marvell/a8k/a80x0_ocp/plat_def.h index 03a59a9b..132f507f 100644 --- a/plat/marvell/a8k/a80x0_ocp/plat_def.h +++ b/plat/marvell/a8k/a80x0_ocp/plat_def.h @@ -39,4 +39,14 @@ #define CP_COUNT 2 /* A80x0 has both CP0 & CP1 */ +/* Force disable of LLC, regardless of LLC_DISABLE compilation flag + * this is due to an issue observed while running iperf with + * smartNIC End Poind driver/application, while LLC is enabled. + * as a temporary workaround, until issue is solved, we disable LLC + */ +#ifdef LLC_DISABLE +#undef LLC_DISABLE +#define LLC_DISABLE 1 +#endif + #endif /* __MVEBU_DEF_H__ */ |