config/arm: disable building octeontx2 on cn10k

Message ID 20211001203833.2115176-1-tduszynski@marvell.com (mailing list archive)
State Accepted, archived
Delegated to: Jerin Jacob
Headers
Series config/arm: disable building octeontx2 on cn10k |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/github-robot: build success github build: passed
ci/iol-spell-check-testing warning Testing issues
ci/iol-aarch64-compile-testing success Testing PASS
ci/iol-x86_64-unit-testing fail Testing issues
ci/iol-x86_64-compile-testing fail Testing issues
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS

Commit Message

Tomasz Duszynski Oct. 1, 2021, 8:38 p.m. UTC
  Common octeontx2 code shares some of the PCI identifiers
with cn10k platform and if built wrong drivers may be probed.

octeontx2 configuration disables common cn10k code so disable
common octeontx2 on cn10k.

Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
Reviewed-by: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
---
 config/arm/arm64_cn10k_linux_gcc | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Jerin Jacob Oct. 8, 2021, 9:10 a.m. UTC | #1
On Sat, Oct 2, 2021 at 2:09 AM Tomasz Duszynski <tduszynski@marvell.com> wrote:
>
> Common octeontx2 code shares some of the PCI identifiers
> with cn10k platform and if built wrong drivers may be probed.
>
> octeontx2 configuration disables common cn10k code so disable
> common octeontx2 on cn10k.
>
> Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
> Reviewed-by: Jerin Jacob Kollanukkaran <jerinj@marvell.com>


Changed subject to config/cn10k: disable octeontx2 drivers

Applied to dpdk-next-net-mrvl/for-next-net. Thanks.

> ---
>  config/arm/arm64_cn10k_linux_gcc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/config/arm/arm64_cn10k_linux_gcc b/config/arm/arm64_cn10k_linux_gcc
> index a3578c03a1..88e5f10945 100644
> --- a/config/arm/arm64_cn10k_linux_gcc
> +++ b/config/arm/arm64_cn10k_linux_gcc
> @@ -14,3 +14,4 @@ endian = 'little'
>
>  [properties]
>  platform = 'cn10k'
> +disable_drivers = 'common/octeontx2'
> --
> 2.25.1
>
  

Patch

diff --git a/config/arm/arm64_cn10k_linux_gcc b/config/arm/arm64_cn10k_linux_gcc
index a3578c03a1..88e5f10945 100644
--- a/config/arm/arm64_cn10k_linux_gcc
+++ b/config/arm/arm64_cn10k_linux_gcc
@@ -14,3 +14,4 @@  endian = 'little'
 
 [properties]
 platform = 'cn10k'
+disable_drivers = 'common/octeontx2'