[PATCH] test: set iova=va mode on ppc64 with --no-huge

Luca Boccassi bluca at debian.org
Tue Nov 28 15:56:15 CET 2023


On Tue, 28 Nov 2023 at 14:40, <christian.ehrhardt at canonical.com> wrote:
>
> From: Christian Ehrhardt <christian.ehrhardt at canonical.com>
>
> On ppc64, without huge pages, pa would be the default but fails like:
>   EAL: Cannot use IOVA as 'PA' since physical addresses are not available
>
> On a normal system setup we'd expect an admin to set up huge pages
> and for the unlikely case that they do not do that set iova=va
> themselve. But the testing infrastructure does not have this conscious
> admin that will do that, so fix test execution that by adjusting the
> tests arguments accordingly if the conditions are met.
>
> Signed-off-by: Christian Ehrhardt <christian.ehrhardt at canonical.com>
> ---
>  app/test/suites/meson.build | 8 ++++++++
>  1 file changed, 8 insertions(+)

Acked-by: Luca Boccassi <bluca at debian.org>


More information about the dev mailing list