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 D2136A052A; Mon, 3 Aug 2020 16:31:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A94901C038; Mon, 3 Aug 2020 16:31:54 +0200 (CEST) Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.54]) by dpdk.org (Postfix) with ESMTP id B6FA51C031 for ; Mon, 3 Aug 2020 16:31:52 +0200 (CEST) Received: by mail-ot1-f54.google.com with SMTP id v6so17245656ota.13 for ; Mon, 03 Aug 2020 07:31:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4uV4OFxV7AQDx6b4GdEY2qJh2XHyrRiobN6gxHn1ypk=; b=DV8czPXA4g7PO//2HsL9zkvrdiylYcXr3qHtFL/Lkc7uLjJR2lamqZwIl5AjOlV+oV VStj58NWTjM6RV005O+QZ/rjJ9+L318PE3PDqKjwHFp8ViFJGxVK37OVxyBHYamj5xfv h4rOq2m8CWaTIeHb4pTSioIaFmHxHAPscy/JI= 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=4uV4OFxV7AQDx6b4GdEY2qJh2XHyrRiobN6gxHn1ypk=; b=lHyVOYVS6aWVYG0aMc8SFjM+6CumvgcmJQDv7sOQfRgJTfphiKWhrhWpgmSZJcdJqr HURbMA38pjuxFnt98jEwxrrU9Iq7zu8NYT9lyh949xpVbKnRsUswbsaCdvRUz4gKc9wL WhpZ2tzeLRACurcaXRqGQZ6SXZNI86riFGJaW+dARdxG8mw8tc0MUTRLbIIaN/cGCgSb Mp2z0QMIeyyZbcP/HxvnWxLtgS5hFpJVcdFLyIT1OCtQXA3klXszInKUA7SI3mj4mdtI U1geDRDlbvxjyWedbuBPLkUzKvuV9bnX9VN7f45u1GRMC4fvO86pxTJesThUm7lJpOWu P8jw== X-Gm-Message-State: AOAM532zxoCwcWydJ9XK4JLYeVCqPln3Nx+EOosp/xsxV8hC5YAA4VND 69wzzPU1rhPGbieKBDFMCTN/zQBZix5XTsunFgybDg== X-Google-Smtp-Source: ABdhPJx1gQgCsHjjlmNfZn0jWL8C14YlyN/qE/jzq2DlSsi08KOlopPlTfJ576ogOL6ezerJWw09/1onH/sQi3WNlL4= X-Received: by 2002:a05:6830:1df8:: with SMTP id b24mr7395237otj.222.1596465112033; Mon, 03 Aug 2020 07:31:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Owen Hilyard Date: Mon, 3 Aug 2020 10:31:16 -0400 Message-ID: To: "Burakov, Anatoly" Cc: dts@dpdk.org, dev@dpdk.org, Lincoln Lavoie Content-Type: multipart/alternative; boundary="000000000000e64fbd05abf9ff94" Subject: Re: [dts] [dpdk-dev] Userspace testing X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" --000000000000e64fbd05abf9ff94 Content-Type: text/plain; charset="UTF-8" On Fri, Jul 31, 2020 at 5:12 AM Burakov, Anatoly wrote: > On 30-Jul-20 5:54 PM, Owen Hilyard wrote: > > Thanks for the advice. > > > > I was wondering about the state of the "Setup VFIO permissions" option > > in the setup script. It seems to just modify the character device's > > permissions and then check their memory limit. Should this option also > > handle the hugepages setup? > > I was under the (mis?)impression that the hugepage setup part of the > script did that? > > It doesn't appear to set them up so that non-root users can use them. From what I can tell it only creates the pages, but doesn't change permissions on them in any way. --000000000000e64fbd05abf9ff94 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Fri, Jul 31, 2020 at 5:12 AM Burak= ov, Anatoly <anatoly.burako= v@intel.com> wrote:
On 30-Jul-20 5:54 PM, Owen Hilyard wrote:
> Thanks for the advice.
>
> I was wondering about the state of the "Setup VFIO permissions&qu= ot; option
> in the setup script. It seems to just modify the character device'= s
> permissions and then check their memory limit. Should this option also=
> handle the hugepages setup?

I was under the (mis?)impression that the hugepage setup part of the
script did that?

=C2=A0
It doesn't a= ppear to set them up so that non-root users can use them. From what I can t= ell it only creates the pages, but doesn't change permissions on them i= n any way.=C2=A0
--000000000000e64fbd05abf9ff94--