From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BB630A0547; Fri, 14 Feb 2020 14:22:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F2066F72; Fri, 14 Feb 2020 14:22:47 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id B3D38B62 for ; Fri, 14 Feb 2020 14:22:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581686565; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kYHKP3T85zJDelKw+kYjNk0HWOXK4RhD4Da4wJ3KhiE=; b=ULhnZZnT16iMWqdhnZ2xMk6JD8sHZeXuhL55iTdZv2jp97N+mi2rpgSHOuhcSQ79Ka6ZSH e0/el2hAzfb9axmCg4z5M8HKx1Jnxnj3IqFttOl/O/2/s16a3gRk9PvNc+bzQGwF30pC7B tzSWqqkGt8dyD1WdJgsjA9PVHkuPtG0= Received: from mail-vk1-f197.google.com (mail-vk1-f197.google.com [209.85.221.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-409-8o8dPGAzMkSTDk7DmoocVg-1; Fri, 14 Feb 2020 08:22:40 -0500 Received: by mail-vk1-f197.google.com with SMTP id 128so3267363vka.12 for ; Fri, 14 Feb 2020 05:22:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=49fc2kmD9NgIFUfZ2jNf8BSMzxKxq99q9hLs60uzrvA=; b=re6CMY1C6YEWoezhZUPXpuAGKSeVvET6+LbkXHZCaWyUIeU14m4QXGuoKGmHdHih7s hkgBx1SsyMMI8LEekdIf/1hzYFjX7YS5S+pPRSfEXbmvk6GTFq4Ru+jvWXpl9DXG0CTB iezzO/w+nZw9r+YhmZ4nioVKv6moUSrxyrBvIEvv0y1BoSo1fX7FftQScWvFRsO8GS15 8ht2GirdMtymJEBpenb2TgQvayxGbSfhIvBQEEu7Elu1K0eVwhS+oVu15HYEWTMxadKu lpPK8BKdfCUgzMOxqQInh7ScgoEQfJjmwUn9eMDRjmki3Q5e3iNEOiZbec0X+gxbBtIx vtrA== X-Gm-Message-State: APjAAAWcsulGXu9K0QVtITHFxxVVu2KfMTG3eSEqftiwtyztvYp9NFb+ iUPZ0XPhISQmYhzB/DF9juK+PpuGM0ijuPL2NIQAr1V8AT0WJu3c5mqhihXNKKXcZxoaI6x9U1L 11owPsp6nFDV0djJCUnw= X-Received: by 2002:a67:f315:: with SMTP id p21mr1357867vsf.39.1581686559552; Fri, 14 Feb 2020 05:22:39 -0800 (PST) X-Google-Smtp-Source: APXvYqw0OpKoAXZrvvryiw1ou8PQs30fVZ9ikK/VtpdJWeWM1rdZa6YuIrNofaxLXOKQvshKfH7XgPnj2KeiwTo+1EI= X-Received: by 2002:a67:f315:: with SMTP id p21mr1357842vsf.39.1581686559190; Fri, 14 Feb 2020 05:22:39 -0800 (PST) MIME-Version: 1.0 References: <20200213202442.19674-1-dwilder@us.ibm.com> <2695382.dT8XKq9c71@xps> <3387752.bqPgKRP4r2@xps> <29fa0202af95822277276caccbfcf967@linux.vnet.ibm.com> In-Reply-To: <29fa0202af95822277276caccbfcf967@linux.vnet.ibm.com> From: David Marchand Date: Fri, 14 Feb 2020 14:22:28 +0100 Message-ID: To: dwilder Cc: Thomas Monjalon , "Burakov, Anatoly" , Aaron Conole , Michael Santana , "Yigit, Ferruh" , Andrew Rybchenko , dev , "Ruifeng Wang (Arm Technology China)" , David Christensen , David Wilder X-MC-Unique: 8o8dPGAzMkSTDk7DmoocVg-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH v1 1/2] devtools: allow test-null.sh to run on ppc64le X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Feb 14, 2020 at 12:22 AM dwilder wrote: > > On 2020-02-13 14:17, Thomas Monjalon wrote: > > 13/02/2020 21:58, dwilder: > >> On 2020-02-13 12:32, Thomas Monjalon wrote: > >> > 13/02/2020 21:24, David Wilder: > >> >> - The --no-huge option requires iova-mode=3DVA. > >> >> On ppc64le iova-mode defaults to PA therefor > >> >> VA mode must be explicitly set. > >> > > >> > Should we make VA mode automatic when using --no-huge? > >> > Should we log an error message when using --no-huge with PA mode? > >> > >> Logging a messages sounds like a good idea. Ignoring the users > >> request > >> of iova-mode=3DPA (in the case of x86) and just switching modes would = be > >> bad. > > > > Yes, I mean for ppc64, if --no-huge is specified, > > would you like to change the default to VA mode? > > OK, that would be better. > I will switch to VA when --no-huge is set (ppc64 only). With no-huge, we can't ensure the physical addresses won't change (might be different if we locked the pages in memory... but not possible and/or not handled in eal afaics). This limitation is generic, not arch specific. > Add log messages if PA is selected with --no-huge (all arches). --=20 David Marchand