[PATCH] test/debug: fix test failure on ppc64
Thomas Monjalon
thomas at monjalon.net
Fri Nov 28 09:54:04 CET 2025
27/11/2025 15:10, Bruce Richardson:
> On Tue, Nov 25, 2025 at 10:39:13AM +0000, luca.boccassi at gmail.com wrote:
> > From: Luca Boccassi <bluca at debian.org>
> >
> > 1001s Running binary with argv[]:'/tmp/autopkgtest.LvdXhc/build.6vT/src/build/app/dpdk-test' '--file-prefix=debug' '-l' '0' '--no-huge' '-m' '2048'
> > <...>
> > 1001s EAL: Cannot use IOVA as 'PA' since physical addresses are not available
> >
> > This is similar to 6b07762e949036389030cf5a1a9bb8a1e4d6ee2d,
> > on ppc64 iova-mode=pa is the default, but it doesn't work with --no-huge,
> > so add --iova-mode=va to the test arguments.
> >
> > Fixes: 2b403dd8fb37 ("test/debug: fix crash with mlx5 devices")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Luca Boccassi <bluca at debian.org>
> > ---
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Applied, thanks.
> > +#ifdef RTE_ARCH_PPC_64
> > + /* iova=pa is the default, but fails on ppc64 with --no-huge */
> > + test_args[7] = "--iova-mode=va";
> > +#else
> > + test_args[7] = "";
> > +#endif
>
> Next release we should maybe see if we can remove the #ifdefs and just
> iova=va for all architectures.
Yes
More information about the dev
mailing list