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 B00B0A054D; Wed, 17 Feb 2021 10:06:52 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2DF1240691; Wed, 17 Feb 2021 10:06:52 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 431914067A for ; Wed, 17 Feb 2021 10:06:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613552810; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IXScWhvjScKpF1+ES54pAVofHRGzpiqATT41sYiawmU=; b=Tevi7CuVc0GMeml+rWdRyWtidrNYo39BG0KBRteLjNnikmcTwph1EPuVbBbtkiIgyzxwfr yNVtNOTDF7xOw/e9mCYm/kp0fAefWGV3J4yDtVo/7uODwUOe7DLyg9/erzUe7YMgbzD71n D4zDfx5xldZL4IaJUfqoE42z3izYh0M= Received: from mail-ua1-f72.google.com (mail-ua1-f72.google.com [209.85.222.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-355-tcXHrIQGMkq6flJIvkV_uw-1; Wed, 17 Feb 2021 04:06:48 -0500 X-MC-Unique: tcXHrIQGMkq6flJIvkV_uw-1 Received: by mail-ua1-f72.google.com with SMTP id 7so5964561uaw.22 for ; Wed, 17 Feb 2021 01:06:48 -0800 (PST) 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:content-transfer-encoding; bh=IXScWhvjScKpF1+ES54pAVofHRGzpiqATT41sYiawmU=; b=glf+i5GUIsgWf0JiModeOuV705innHibEOzoBYlk6pWno4VVfWIEBPfffOLEXNmRvq 846E6qHcL/b0EjVw4xjs1O9zchG5GjBVy2ghXgrK47v6pE+UBUYTw6nlc+R7vr8T7+G/ sYtZAcooLhe/WCtiA27Epj2G78ewd2SV+wO2dpaXb1wbf+5R9YsFrt/heizCkjfDy172 UXBwjrgNPBxasQF7wHV1aZm5F/jacdFXOt2fj9Z2VpooW2/ppmpTfAvzgT86A11C1B3E V/NIx0zADWQVgR4oS+8QQqytjVOK+q1LGvJWpJpFucg4BIphDSQlNN4S+yAQHjuvctj9 +A9g== X-Gm-Message-State: AOAM531tbpzLCogz32NeuPCxtyY5csCd7mmuBx7CNNhr43WsPXxWagBQ XOfUHLzbytflxSP5FYEufXuUSTu7Fp0yL6tEucrr4M63yFdLqo5iZ9pEZ86wiAZekFcmdBbBnw8 GLs9JMCPduf4P7jgmRdk= X-Received: by 2002:a67:2d0e:: with SMTP id t14mr12917036vst.27.1613552807876; Wed, 17 Feb 2021 01:06:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNMHjPseyF9+aImiC10lj4FwhzxQjK6NkRvyquc4ImMXHLUCVRpVhzVkEtU1qnDtIfg8IcQe0F2NlgNWkLpJA= X-Received: by 2002:a67:2d0e:: with SMTP id t14mr12917028vst.27.1613552807662; Wed, 17 Feb 2021 01:06:47 -0800 (PST) MIME-Version: 1.0 References: <1611890309-99135-1-git-send-email-huawei.xhw@alibaba-inc.com> <1611890309-99135-3-git-send-email-huawei.xhw@alibaba-inc.com> In-Reply-To: <1611890309-99135-3-git-send-email-huawei.xhw@alibaba-inc.com> From: David Marchand Date: Wed, 17 Feb 2021 10:06:36 +0100 Message-ID: To: =?UTF-8?B?6LCi5Y2O5LyfKOatpOaXtuatpOWIu++8iQ==?= Cc: "Yigit, Ferruh" , Maxime Coquelin , dev , "Burakov, Anatoly" , xuemingl@nvidia.com, Gaetan Rivet , "Xia, Chenbo" Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Fri, Jan 29, 2021 at 4:19 AM =E8=B0=A2=E5=8D=8E=E4=BC=9F(=E6=AD=A4=E6=97= =B6=E6=AD=A4=E5=88=BB=EF=BC=89 wrote: > @@ -517,6 +525,60 @@ > } > #endif > > +static inline uint8_t ioread8(void *addr) > +{ > + uint8_t val; > + > + val =3D (uint64_t)(uintptr_t)addr >=3D PIO_MAX ? > + *(volatile uint8_t *)addr : > + inb((unsigned long)addr); inb/outb and others are architecture (x86?) specific. The CI caught this issue, see build failures on ARM64. https://lab.dpdk.org/results/dashboard/results/results-uploads/test_runs/82= 432e287bc94831b7a65d7cd6f05783/log_upload_file/2021/2/dpdk_b49c677a0d24_154= 33_2021-02-01_00-15-59_NA.zip I can see the same issue with ppc64le. -- David Marchand