From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8F794A0032; Fri, 24 Jun 2022 10:49:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E4C540A87; Fri, 24 Jun 2022 10:49:40 +0200 (CEST) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2087.outbound.protection.outlook.com [40.107.100.87]) by mails.dpdk.org (Postfix) with ESMTP id 3A20F40A82; Fri, 24 Jun 2022 10:49:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Iuo2JtirZ0qHxUdz8UQmoepHoCVuoXDwxNjhBr2IvPiXqA7rMdwvBCYxKQJvoPpCFwFeWYJ8R78gcvF/CWAYfGcfDQmy7FaCNbZsaWQBUAWDVJZ8BecTpsFdQ0uR5pHjni/yDILL52T07au4pMm+DYAZlucLWK9+1ySsbnZlHul8aUNVEFOgxnk2J1co6HRqbAgSPwaq7UNpMiN4tvTKM5DBcEHPn9UP9s/ngUi4BOKut3eQ3MsVSBTW9MeqxdM9XzwE3AWlYNoS+LH1+cBarjp0XDrDFKfjQs3lQr+CnX+vO+UF3gMoGFKaRxbu1T8zZLEdz2Ggg+iIXzci65eVrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WXuWEGP0jcs6CGrgQFK3KjKgj54BXUoKq+ldIeUooWs=; b=cy6Iokmw9VvzesyMh9lAtoUXL434M1SmvI4pFClqiWNuTrgH3gnK7EJTTu3NG8WOyvMcOZxurYXEMvPBBW+kTnaFksBcrcdLJn6NchA4bAbLT1uQVXKQGlXr9ma35d8HDK5lr3gpAwIQQWd/sM+L4EQEd1S+GeCAOu57nprOoXTN2y/iehebt+sK+vEa5JYnj7teUaiK9+fny72mjpKbUk16iCvVFbwp+hLqWwBNbLC3VrhKlEe1a/QFTeWs/JL6RqZx9lBMFTT87PuDvBuDIE6ICzQ5gLiGlBXEKTsWPzmxWPQNzJBYfqPOeFN/cu6x1OL/eauiMY+Z0bh22hp70g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WXuWEGP0jcs6CGrgQFK3KjKgj54BXUoKq+ldIeUooWs=; b=knskAPtVNk4/X3USdZfLgjKckTS2OA0AKmRvJSuhLLSWScyimCKSfQtpS/OrionEGSQwhS+f9cKMD7bMZ2d+TGtnlCUgDVnp2T8kLvEkXmBLrlwIq+RSD/cUErGqY32DttBRtu2ssopfV06be2i2YjA9pcegh8HD8fO2ATEzfm0ytufIvDb3afstV79ZFBWZ3Nm146m9MzKBvpZKv2UXJwT3gfhgpOz0ctEVG+0aZDdaQ/GN35nV+oIIliYVlOzOn4KZcxJpgIHc6Jly38ra1fsaA+fFsRvwYnH+c7IpUUoO1UbiKEXbEiBd/3ZBqtc6vsDEGR6q2xLWKRsPBDm62w== Received: from BL1PR12MB5945.namprd12.prod.outlook.com (2603:10b6:208:398::14) by MWHPR1201MB2476.namprd12.prod.outlook.com (2603:10b6:300:de::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.15; Fri, 24 Jun 2022 08:49:35 +0000 Received: from BL1PR12MB5945.namprd12.prod.outlook.com ([fe80::9951:cab3:3606:671d]) by BL1PR12MB5945.namprd12.prod.outlook.com ([fe80::9951:cab3:3606:671d%6]) with mapi id 15.20.5353.022; Fri, 24 Jun 2022 08:49:35 +0000 From: Dmitry Kozlyuk To: Bruce Richardson CC: "dev@dpdk.org" , "stable@dpdk.org" , Anatoly Burakov Subject: RE: [PATCH v2 3/4] doc: give specific instructions for running as non-root Thread-Topic: [PATCH v2 3/4] doc: give specific instructions for running as non-root Thread-Index: AQHYgjz+e0oWkc5TFkemtqdv8EkHPq1TzNOAgAQAI+CAADCKgIAEGgIA Date: Fri, 24 Jun 2022 08:49:35 +0000 Message-ID: References: <20220607234949.2311884-1-dkozlyuk@nvidia.com> <20220617112508.3823291-1-dkozlyuk@nvidia.com> <20220617112508.3823291-4-dkozlyuk@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 234ebce1-c2a9-4288-f0ec-08da55be76f6 x-ms-traffictypediagnostic: MWHPR1201MB2476:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xAMZoN19QeKd/9X4MULxpmZKOQHbbrD0PpkZzE/1Rq5nJCZmn3xZ6tq+VnE2yHXlSTzGNAzF7bozkHtW3nuxQ7n2l3PLnan8W/krrUfNfbVadv4ovi9AIoaPLnaA8VwXMIRDF01rX61afmkHVIMxY2qozEVUsbzsFbNMiv48l7Ro3UheJsg35arfJPC1nNGqLvBm7DBVnhiJerF2Axf8ArariPC5EvHphBIED3bKeTK48uDrPmtL2T/fyby1h0aElcPxG/UqRQ1tZufsWG/fwV9fVbXVmmnwbbQour/6IhJepVmmQWz6CgwMyGmqyhflWLG8+DMeim5K3q2z+4Ro2VGjD/UOzLLm0zDldk7rqnM+AwjNv0YgUG6w1ZZ6+nUTe/kNYbGrjjmwvRv/UhBT//DGWB6KN1EDtvOVm/SXzeeEENfWFVFbazQrJ8Inlc1ewitShSB7kRuDeBj8CEo+ygZRU0TkB5xUvGTCkdyLVt0toTsvwDOrQqCMpLXx3xryOGA2HhrXHeeMNNldzQqCn7Mp/TS8Uj4m0LhbVDULtlfTR9O3G97kTTiLKlF8IYH9/ZazfMabgWT+/EMwCXsfQr0zJrjtm9eOq7udV3Ud1mZ30FbiFimFDoTrV4nFAkFCzZpmW18ak3aV1kqb4FmrAfQFbDtl3QkVpgAZDOvHXfSAJm7qva7wbm3gZiW40zBlM+ynuITT3Hhjy6gsqEfPieG7exGVGgL3uixVb2vVq9XSYKZ0VlxQgj8lYXsrXzvGx+tW60pxoRENiOQmY5i9LGVa15LLTM/tciaa/5JF73w= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL1PR12MB5945.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(39860400002)(376002)(346002)(136003)(366004)(396003)(66556008)(86362001)(5660300002)(66946007)(4326008)(83380400001)(41300700001)(66446008)(38100700002)(66476007)(76116006)(38070700005)(186003)(64756008)(8936002)(7696005)(8676002)(52536014)(478600001)(2906002)(122000001)(6506007)(6916009)(54906003)(33656002)(71200400001)(55016003)(26005)(316002)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?/GoeNc/82pxUJgltLaTDRGaslHswst+08R7/KyVe6OydiIzxdYJ3tXlPoGzc?= =?us-ascii?Q?RbUiRRgijCP13S/WQaFnw1q9PD8OE8UsjrbDp9XSPaJnRKFvJFgXNUvqyxGV?= =?us-ascii?Q?7Z49dKbqcxpClfTU7Z/GNxFUwzdA4Qjx6IwIyRp+CDW3k8090nhbL/9PaZ6o?= =?us-ascii?Q?dXUHEEQSNnNPBqcMELF/HNORegwASR14SmxkA15L7ODK0rGj2H5XJX0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FVu15D7+Gspl/AB82JURy+ZHMUsCffr?= =?us-ascii?Q?EDzYI9T9ycDmlNluPYxpxM9hfErq53CMZ+2QDnso8IlnCGo4TnVtPGSzANji?= =?us-ascii?Q?DxgMfrqTJFbXuzXwWVfTg/VdS9DOXvPkhcrawKISyzh1prZDs24lVpL3DCjL?= =?us-ascii?Q?GybggkerEJ438XJmpnbRgoa8RCtrXOQqeauGPpU2ho+k8DyQV+gJ6GUAwSPv?= =?us-ascii?Q?6un2KTLYAv0A2uFgpnchE+JMlUJ0LnGVDT8uzYNlJB1L+j88lPZSN0kjZqpE?= =?us-ascii?Q?JAbcJ0R+GazfFOigUzLjDLHuiomF498JC/G/5H8LOW7t2yRn3jCRgO0jW61M?= =?us-ascii?Q?torUCwi9SyUZKZ9PD8fLoVnMMDuOLa6BjOVq+yn3ib1C8Y7Tnjj7tTzEgc53?= =?us-ascii?Q?TwCHmD2tM3KlZ9/NRzk0m+kneWy/sF46bIbhuCuRbdhWPVmD2mkrak/L9olb?= =?us-ascii?Q?m7CXJehCbfI3ELI0YWPDJ6Qb79g6ZO6gf5nTKRcI?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5945.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 234ebce1-c2a9-4288-f0ec-08da55be76f6 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2022 08:49:35.3920 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: IkzqvKcm4fEgzMyrMZRH6+2L5gIrds5WpzATLH0oK50dDZb8ieXLSF+xwyl0k/DsBvP1Rm+FEXy7RQYB0JF7WA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1201MB2476 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > From: Bruce Richardson > Sent: Monday, June 20, 2022 11:38 AM > [...] > > > > +For ``virtio`` PMD in legacy mode, ``SYS_RAWIO`` capability is > > > required > > > > +for ``iopl()`` call to enable access to PCI IO ports. > > > > > > > > > > How "legacy" is legacy-mode? Is it still likely in widespread use > that > > > we need this? > > > > I don't really know. > > The spec says that legacy support is optional > > (2.2.3 Legacy Interface: A Note on Feature Bits) and it aims > > to reduce the chance of a legacy driver attempting to drive the > device > > (4.1.2.1 Device Requirements: PCI Device Discovery). > > OTOH, DPDK supports it and requirements must be documented. > > I can add a line suggesting to use modern virtio, > > but also don't mind removing this. > > >=20 > I suppose the main question for this legacy virtio bit > is where it should be documented, more than if it should be. > Given this is a GSG, we should try and avoid getting too deep > into driver-specific issues, so I think we should omit legacy virtio here= , > but have it docuemented in the relevant virtio-specific doc. > Does that seem reasonable? Yes, moved to the virtio doc (it looks like it could use an update BTW). I also chose to keep HPET line because there's an entire section on HPET below in the document.