From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 3C4D6433F2;
	Tue, 28 Nov 2023 15:56:32 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 26C4B42DF2;
	Tue, 28 Nov 2023 15:56:32 +0100 (CET)
Received: from mail-yw1-f177.google.com (mail-yw1-f177.google.com
 [209.85.128.177])
 by mails.dpdk.org (Postfix) with ESMTP id 86B8942DDB
 for <dev@dpdk.org>; Tue, 28 Nov 2023 15:56:30 +0100 (CET)
Received: by mail-yw1-f177.google.com with SMTP id
 00721157ae682-5cfa65de9ecso27912997b3.2
 for <dev@dpdk.org>; Tue, 28 Nov 2023 06:56:30 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1701183390; x=1701788190;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=AIOxuPthFsMKwgJF0jlOcbMzqxCZdhpnB0PAPd8ECjk=;
 b=pLqMLjh/fl3QMhh84ppwz8OsxhgMYTcCkWKciOgU1WpIXHIhjT3ey3LGJhvWywDa2L
 B3TotVDyfD5IJZrVf42qKGdrtzvNGamfPckK4y/Wxxx21Wb5rRSOccCXtIzEycogHxqB
 V73uBvXQzD21TH3Bq3fcjBGjAyh5xwAkV3/kleX+E8LH944yE6HZGMrMdvY5voJsff5n
 CQqnVSXaICZP+nM3/vSNJYn/3xddEM+5V2K+S7JTsBWQq3za3SNxhVucHTHoBD1KCUck
 wXpPyYVF11/voK0fqk5qovo39lkA3vMXgErTvqKErYWWO0N2iu8CD7mMv32QgYS0P66H
 o5IA==
X-Gm-Message-State: AOJu0Yxfym92ggkB1TnMedLaA4EddsHAR7eGIVkjHc0w//r3F6eVnwsM
 3c4yHcFJEqHkmgj+UbXEzMlkLmjzl0nBrg==
X-Google-Smtp-Source: AGHT+IHusT0QO8GgfzFuT0YREInWkquHOO3n7zQyDFZgOeymR9gIuKRdsiOKVylqF6YKKaZLKRmeRQ==
X-Received: by 2002:a05:690c:3183:b0:5b3:21cd:ba76 with SMTP id
 fd3-20020a05690c318300b005b321cdba76mr14281190ywb.4.1701183389723; 
 Tue, 28 Nov 2023 06:56:29 -0800 (PST)
Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com.
 [209.85.219.178]) by smtp.gmail.com with ESMTPSA id
 dy19-20020a05690c271300b005ce039bf1ecsm3354518ywb.7.2023.11.28.06.56.27
 for <dev@dpdk.org>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Tue, 28 Nov 2023 06:56:28 -0800 (PST)
Received: by mail-yb1-f178.google.com with SMTP id
 3f1490d57ef6-dae0ab8ac3eso4981435276.0
 for <dev@dpdk.org>; Tue, 28 Nov 2023 06:56:27 -0800 (PST)
X-Received: by 2002:a25:4286:0:b0:d9c:7b92:90b9 with SMTP id
 p128-20020a254286000000b00d9c7b9290b9mr14428115yba.14.1701183387325; Tue, 28
 Nov 2023 06:56:27 -0800 (PST)
MIME-Version: 1.0
References: <20231128144045.2403960-1-christian.ehrhardt@canonical.com>
In-Reply-To: <20231128144045.2403960-1-christian.ehrhardt@canonical.com>
From: Luca Boccassi <bluca@debian.org>
Date: Tue, 28 Nov 2023 14:56:15 +0000
X-Gmail-Original-Message-ID: <CAMw=ZnRmgKfUjQeeR+rTfOwJn7MCGu7it8B9UawGSMwWtzXVZQ@mail.gmail.com>
Message-ID: <CAMw=ZnRmgKfUjQeeR+rTfOwJn7MCGu7it8B9UawGSMwWtzXVZQ@mail.gmail.com>
Subject: Re: [PATCH] test: set iova=va mode on ppc64 with --no-huge
To: dev <dev@dpdk.org>
Cc: David Wilder <dwilder@us.ibm.com>,
 Dmitry Kozliuk <dmitry.kozliuk@gmail.com>, 
 Christian Ehrhardt <christian.ehrhardt@canonical.com>
Content-Type: text/plain; charset="UTF-8"
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

On Tue, 28 Nov 2023 at 14:40, <christian.ehrhardt@canonical.com> wrote:
>
> From: Christian Ehrhardt <christian.ehrhardt@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@canonical.com>
> ---
>  app/test/suites/meson.build | 8 ++++++++
>  1 file changed, 8 insertions(+)

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