Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2955695ybg; Mon, 28 Oct 2019 05:14:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqwPmT5LJdfBgscvGcO2do/zVlQ4v/j8w2icDyCKYGmREqipc4rjeEUqEmbkvKz1d/tsWI56 X-Received: by 2002:a17:906:3592:: with SMTP id o18mr15958881ejb.17.1572264860789; Mon, 28 Oct 2019 05:14:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572264860; cv=none; d=google.com; s=arc-20160816; b=dtDSzp4Y5UKJ8/8/eanaJgHnOTKcGwGYaF2KJ/i4boRe41A2s/kK1eGhIJzBmlw2Lb d9mJoZhjINxrpM29ZltGhdAkI3Xi0T8xLfx/jtNJ3UqIqDc6ZN1yXP/MR7iKnDQ0saXP yB7+PXIg0gZXxhXc8dnR4flcvLtt5OuuAroquOY1rIcHY9d1Fs6djNZnbBdi0Gub8Ucv dIILg/o0Zspf0GPhE2GdodeqVxOLI5LueU1cRv/CqBCuh21fdbXNjO1HxsoGBeGBQhGx FLv+HzmPyoKlmzXFFB0lpmAAEdnlZvQ6X09NEAI1DHnMPphKDUW77qQfFw6AL0L9Ggi5 JRcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=Dqb8PrPg3nx9Zz41cRHgrQZczAedpXCzsSCPiDYGql8=; b=kqxXesYP3L3mHXp/3Hg4zbCTDmza+JlMU4RcyXe0nxg5rfXH5rER/7Otg7a3xiJtv1 0B/W2c0P4ojZDCoV5sT+tfRbvjQZSupFJ2b3Ze1R+whY6ODzYBwyUWvfn4ZYYYBeTNm6 IT31F46caYmamXlQM2pI8KoZfe2r7ySP+jphxkwH/PhUawHEIoazBUEw/Lvl3kILb7oa zQ6kWXRFKGA6vPsMYuOZyaLgVOo09LX4aXcarsGlCsreZeYXjCXS+OmYRJAwl8zloPiw KBo78G65VY52qq/hVRtoE9bTP5FcKtkmAe9Kob2rnQrR9VuSBsVSyPa/xSF0J7/YV2Z2 TwyQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d18si1998775ejj.237.2019.10.28.05.13.57; Mon, 28 Oct 2019 05:14:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728098AbfJ0Xo7 (ORCPT + 99 others); Sun, 27 Oct 2019 19:44:59 -0400 Received: from eddie.linux-mips.org ([148.251.95.138]:35704 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727957AbfJ0Xo6 (ORCPT ); Sun, 27 Oct 2019 19:44:58 -0400 Received: (from localhost user: 'macro', uid#1010) by eddie.linux-mips.org with ESMTP id S23991783AbfJ0Xo4LVPWP (ORCPT ); Mon, 28 Oct 2019 00:44:56 +0100 Date: Sun, 27 Oct 2019 23:44:56 +0000 (GMT) From: "Maciej W. Rozycki" To: Andy Lutomirski cc: Willy Tarreau , dev@dpdk.org, Thomas Gleixner , Peter Zijlstra , LKML Subject: Re: Please stop using iopl() in DPDK In-Reply-To: Message-ID: References: <20191025064225.GA22917@1wt.eu> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 25 Oct 2019, Andy Lutomirski wrote: > > I'd see an API more or less like this : > > > > int ioport(int op, u16 port, long val, long *ret); > > Hmm. I have some memory of a /dev/ioport or similar, but now I can't > find it. It does seem quite reasonable. crw-r----- 1 root kmem 1, 4 Sep 9 13:58 /dev/port Maciej