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 E9E59A054D; Wed, 17 Feb 2021 15:15:18 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 62C0D40690; Wed, 17 Feb 2021 15:15:18 +0100 (CET) Received: from out0-142.mail.aliyun.com (out0-142.mail.aliyun.com [140.205.0.142]) by mails.dpdk.org (Postfix) with ESMTP id 6EFE34067A for ; Wed, 17 Feb 2021 15:15:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alibaba-inc.com; s=default; t=1613571314; h=Subject:To:From:Message-ID:Date:MIME-Version:Content-Type; bh=l590ZkoCPD9At2R++mX/lfNckZh8LRLzh87i89Pcx/A=; b=VRsIJHXC+t7HTON/xRnp1bFkbZplt+JOblWZAArJSGrLxDMz4u+69Q4qz+5sVoZ9DkyM5PdGay8tTgtpSLuyHsIJXMuAtr2dGYXISVEwlDfSYFNc1t6IifcYk1zBGdbWZ+VSPhYvWaWjYO2jQN4m9P3mKvcrpYUEvABxrgg8rZs= X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R721e4; CH=green; DM=||false|; DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=ay29a033018047190; MF=huawei.xhw@alibaba-inc.com; NM=1; PH=DS; RN=8; SR=0; TI=SMTPD_---.JZmNK5d_1613571313; Received: from 30.39.170.214(mailfrom:huawei.xhw@alibaba-inc.com fp:SMTPD_---.JZmNK5d_1613571313) by smtp.aliyun-inc.com(127.0.0.1); Wed, 17 Feb 2021 22:15:13 +0800 To: David Marchand Cc: "Yigit, Ferruh" , Maxime Coquelin , dev , "Burakov, Anatoly" , xuemingl@nvidia.com, Gaetan Rivet , "Xia, Chenbo" References: <1611890309-99135-1-git-send-email-huawei.xhw@alibaba-inc.com> <1611890309-99135-3-git-send-email-huawei.xhw@alibaba-inc.com> From: "=?UTF-8?B?6LCi5Y2O5LyfKOatpOaXtuatpOWIu++8iQ==?=" Message-ID: Date: Wed, 17 Feb 2021 22:15:13 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH v6 2/2] bus/pci: support MMIO in PCI ioport accessors 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 Sender: "dev" On 2021/2/17 17:06, David Marchand wrote: > On Fri, Jan 29, 2021 at 4:19 AM 谢华伟(此时此刻) wrote: >> @@ -517,6 +525,60 @@ >> } >> #endif >> >> +static inline uint8_t ioread8(void *addr) >> +{ >> + uint8_t val; >> + >> + val = (uint64_t)(uintptr_t)addr >= PIO_MAX ? >> + *(volatile uint8_t *)addr : >> + inb((unsigned long)addr); > inb/outb and others are architecture (x86?) specific. Yes, only X86 has PIO. > > The CI caught this issue, see build failures on ARM64. > https://lab.dpdk.org/results/dashboard/results/results-uploads/test_runs/82432e287bc94831b7a65d7cd6f05783/log_upload_file/2021/2/dpdk_b49c677a0d24_15433_2021-02-01_00-15-59_NA.zip > > I can see the same issue with ppc64le. > > > -- > David Marchand