Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4503690imw; Tue, 19 Jul 2022 07:51:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vap4swOu+a7temw6S08th9dOT1bMNBzBYM0a6OwqKoYZ7z9tKoJig+ghuX1Z7bIrs0vQRR X-Received: by 2002:a05:6870:e746:b0:10c:2d87:848d with SMTP id t6-20020a056870e74600b0010c2d87848dmr19916566oak.177.1658242272380; Tue, 19 Jul 2022 07:51:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658242272; cv=none; d=google.com; s=arc-20160816; b=Tv340bkgidEePdcg5AsfbVeem/1gk6Q63P15AgSfc0AqXrNbwA7de3e3nIPO7CNVJK XnKJNvKqXskHh2H8IIHXMbzqV1ZkbmPPSz1fE/QOyiY1R4BVwOPFCqwYSzNjXomUgnQL hiXRt27mLWD8eS5tnI+nT2WafspZlyqcohrs+ybQK+Z2HqXC4nO8Ef4X2u1XDCBfQnx7 Mw8trkH96DhzU+EEl9oh0TkK8l+4Rr0QNYpACoRWmx+x88LmsZvS4qJH8gq2Fo8HX+uE SKqeehtFlXELPOwSUjcp4oISpQa4tacwne3u/MnPU5NaxYgpD9eF4oWvp++vDPFv33QT yKYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=QQZ9Ic482fISTryYj6ySrJWcegXkhDKrX7SXNn8AePI=; b=DZannxRlVA1dWuTlolqtoHbMCgpwVWOKh96u5Kk+2EqJiMGU6AyoPhBTUjdZJA1ycB J20tNSxoP3s0mcLXGhqoiQwC5a+Iar9/9ipVcFA8ch/NUhBh84e9qiq6DvfE3vj7DIo7 NqwlCfpn3Cm+Gwc/a3s6yFsdn6T1cBLLTij58CS5f+Bfogplt0vN58Q8TNhHpzw9rh7L gLbdR8j+Brky/2F4dxP1Wvy2VGxyj3xFV4CJFNu08OcGrTttgFagZwo9cd6frXRQ6KzY kyExjRl3zZ/Pc3IdAoxE1AJeDX8QvGheITPuwjDD06odTDL7X3GW19d5MccbRv3KOE2w Y4Hw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q7-20020a9d57c7000000b00617fe6c1057si5776983oti.252.2022.07.19.07.50.58; Tue, 19 Jul 2022 07:51:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238138AbiGSOFa (ORCPT + 99 others); Tue, 19 Jul 2022 10:05:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235397AbiGSOE4 (ORCPT ); Tue, 19 Jul 2022 10:04:56 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65150643F; Tue, 19 Jul 2022 06:18:36 -0700 (PDT) Received: from mail-yb1-f170.google.com ([209.85.219.170]) by mrelayeu.kundenserver.de (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1M4KFF-1oE46M0Qq1-000ODC; Tue, 19 Jul 2022 15:18:35 +0200 Received: by mail-yb1-f170.google.com with SMTP id j67so3792601ybb.3; Tue, 19 Jul 2022 06:18:34 -0700 (PDT) X-Gm-Message-State: AJIora+Ln0DM5rLJQh6Z2mZo2QKV84RRscnpXoCcMKargdVnDqJVW0cE o3tLkld5Udhdw57vb0/Sg0Hw9rJAeGrCeTlcrhw= X-Received: by 2002:a25:6706:0:b0:670:8d4d:7832 with SMTP id b6-20020a256706000000b006708d4d7832mr812105ybc.106.1658236713658; Tue, 19 Jul 2022 06:18:33 -0700 (PDT) MIME-Version: 1.0 References: <20220717033453.2896843-1-shorne@gmail.com> <20220717033453.2896843-3-shorne@gmail.com> In-Reply-To: From: Arnd Bergmann Date: Tue, 19 Jul 2022 15:18:17 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/2] asm-generic: Add new pci.h and use it To: Stafford Horne Cc: Arnd Bergmann , Christoph Hellwig , LKML , Catalin Marinas , Will Deacon , Guo Ren , Paul Walmsley , Palmer Dabbelt , Albert Ou , Richard Weinberger , Anton Ivanov , Johannes Berg , Bjorn Helgaas , Linux ARM , linux-csky@vger.kernel.org, linux-riscv , linux-um , linux-pci , linux-arch Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:JReNJ9TYqYW1jG6zuflAcJYsrp8I3rPMcDbRtNPOKoS2FAa86k6 OxpXUiNMAdh4Ky+6PWw9PG8aDaUih9cykdTd5priqmosuvWf7BDjjsz8kU3OwqD3OOdXiYj LoSu7WWtVpiGM0bo6/n1WJ4jbcurAyqvrjiI7gQOpain4yPLtL+6Vw8DxpqOJBjIsfQuBum tYSTxLQODl4yLkXRKUq0A== X-UI-Out-Filterresults: notjunk:1;V03:K0:z6KeR9UUFvA=:t+hxNbe8GOzxAp5FaaiHSz 2P0eAqogTjA364gKUdh58byK4qEVqtCsINoYeHcwDWyo/Z8R+vDlllPZ7dtsNzUe5ULDS6sIR byNXURRPPmw4aH8dDneeyh109l8Z/FgQyqcYwqmnqCil/p0NT/wSnoMceblb22JXBn8y34sxC TiBf2ZH5aZbUBwFvWKGm+aZA5X6/2Q20psvNbFXTtEjMrCgxnlNkUJ71Ohvv+EVLC0SrKNAlv Gj0HKR3RLZou7xTBbMJlzCG12yQdQAnUhiGTmntN9UdlsiT5ExjI9tv8PsYpC7ARJB89lWb9w 6O1TGAfzFh8mjeg/4ykqTD3Lh/yyX9ggoaLyu4Y6+K2AWRQhDtXmZeMRde68EARxa/wBBa/bp G75reux/Gd69IjIVq0tm1F36LyvJHF+YCmHW1FdXUCG8JWFJSU/6Wm81Y7qHPu6qiWl2O9tlj a9djNZ1Uv9ajTfWr9Mr8JX9hUOsZ/k30PnBIrCvjPLUH3Q6yDA21osLjWRTljAvfdLRHfuTEO 6ilkNOkSR4Rk4/QgUIAheoQVOHpAprRZY8QHYLoz5nZXb9H3JiLmQDOxE09Kyg3azykNMIZvL Sf2gRdEeOefvfn9xLoeg28grFYBxv9IwtL/z7eeNMUG+foc/eRiOqTUYaG+7Skswh3X6izmQX RSxvYa1FDpZtLDUhrQuLpdBZygsyfIYXJ5PwK015FvobQ99UGof0FTM+DCrE0IGpYQmaNB7Sq vODWY9ScGTPNvfHbkaGLDaYzOCSNZoUt3kJ19g== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 19, 2022 at 3:05 PM Stafford Horne wrote: > On Tue, Jul 19, 2022 at 09:23:36PM +0900, Stafford Horne wrote: > > On Tue, Jul 19, 2022 at 01:55:03PM +0200, Arnd Bergmann wrote: > > And this is the result, I will get this into the series and create a v4 tomorrow > if no issues. Looks good to me, just one detail: > diff --git a/include/linux/isa-dma.h b/include/linux/isa-dma.h > new file mode 100644 > index 000000000000..9514f0949fa1 > --- /dev/null > +++ b/include/linux/isa-dma.h > @@ -0,0 +1,12 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > + > +#ifndef __LINUX_ISA_DMA_H > +#define __LINUX_ISA_DMA_H > + > +#if defined(CONFIG_PCI) && defined(CONFIG_X86_32) > +extern int isa_dma_bridge_buggy; > +#else > +#define isa_dma_bridge_buggy (0) > +#endif > + > +#endif /* __LINUX_ISA_DMA_H */ I would make this file #include as a step towards making linux/isa-dma.h the official replacement for it in the driver api. Including asm/dma.h from a driver is already a bit awkward, since we are generally moving towards including only linux/*.h type headers, and the dma.h name is too generic for something that is completely obsolete. Arnd