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 6264DA04AB; Tue, 12 Nov 2019 18:23:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B1A942BF9; Tue, 12 Nov 2019 18:23:39 +0100 (CET) Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by dpdk.org (Postfix) with ESMTP id CC0F42BF5 for ; Tue, 12 Nov 2019 18:23:37 +0100 (CET) Received: by mail-pg1-f170.google.com with SMTP id l24so12268781pgh.10 for ; Tue, 12 Nov 2019 09:23:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=yFPr8bHj7DOEeK5G2x09iz+yt6zGZlEda1SZNhubyJI=; b=Kj9bMqPNDcK7Uo4wH+RABwfXDDxJPxX9cMf+/3NesZcSJSedl3yM19kpu72UFrqJdT 7ODVPV61dCaYau+Lehhu9OIQU9DBwFz/P5KJyUz3ihrB/f6jyGfTcl8BfEw5PRuREWO4 eA1mo0WPnxpjgoKuPeoc7+3NGwnsixvzoTfQ8w1YxzXaEU1mjTJp5Fe75Chy0a5dq7HV z557LDHmrXCnWwRHzno/I1tTI+paNIutZZwoKF0QmTNJJeL5SkMG3KOLQIkETFtQSu4R hXT41CQqf0Dk35Dia96TgxEsYRPI+6KToW9jv8Cle3NOKWuXctoE6GvZ8Do5mOP+0aB4 ecyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=yFPr8bHj7DOEeK5G2x09iz+yt6zGZlEda1SZNhubyJI=; b=hqXf0uwgoXKptGmiZTDrcYTWnufnaxfoTWLx+QIiolIHfYcFQ/tjW0lNjVH5UJ/0xZ VXiPITIoMgnRxyuQtVPRUgV/8lGqbmcNY3DkSk1emlJm+HjIF3rOZA4NsgUr2Lgw9zEV 9aKk6C1/s2/WbNVFEm4p/rm/DOxu1+gnG34s8a7XecQL8wfIhf2zDfoYclW+s8Mbnrk8 AhVNKjrvKzUIznGhp5thUx+jFvZSPXD81Ho96l87PNByVgzl20OcW9t8hdc6R6BCAR/j EET6J05X1d0V0TiHQOAWpEp/VY7oi81t1alB6iNIK7HnxBRdFs0TDyEMzrei5KdjfA0j pgNA== X-Gm-Message-State: APjAAAVxQ5/YIhHf3/rW+mHTXnQSyOXiUXEaffqzFtc8jvgMvMD0n3ZD xjI8DGh/1WeA2DcqkJUQC389Lw== X-Google-Smtp-Source: APXvYqyvqqruI8YmkgpEoo3yrBHA9sMPZiOp4Jogqm4yItZt3lgmwOr+cnzCRUSVWwFKXUw/NGRVXw== X-Received: by 2002:a62:180a:: with SMTP id 10mr38494056pfy.40.1573579415913; Tue, 12 Nov 2019 09:23:35 -0800 (PST) Received: from shemminger-XPS-13-9360 (67-207-105-98.static.wiline.com. [67.207.105.98]) by smtp.gmail.com with ESMTPSA id e17sm20150307pfh.121.2019.11.12.09.23.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2019 09:23:35 -0800 (PST) Date: Tue, 12 Nov 2019 09:23:31 -0800 From: Stephen Hemminger To: Maxime Coquelin , Tiwei Bie , Ferruh Yigit Cc: dev@dpdk.org Message-ID: <20191112092331.1285dda4@shemminger-XPS-13-9360> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [dpdk-dev] Virtio pci legacy support 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" Since Linux kernel is going to drop support for iopl real soon now. Is there any ongoing effort to either drop Legacy virtio support, or replace iopl with ioperm, or at least test with iopl failing? Note: it looks like the current code does not match comment. /* * Request iopl privilege for all RPL, returns 0 on success * iopl() call is mostly for the i386 architecture. For other architectures, * return -1 to indicate IO privilege can't be changed in this way. */ int rte_eal_iopl_init(void) { #if defined(RTE_ARCH_X86) if (iopl(3) != 0) return -1; #endif return 0; }