From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 773A4C43334 for ; Mon, 18 Jul 2022 04:37:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gwy+G3HejGaZN9qU6qnlljU2yz27cwaFLfD8pEeTCUA=; b=KLwOSyiq8jm836 A63siVAMxgLwkSfmf0xEp/ddZj32wLfY6xEbKtvX3xrTHBsJ8Gp49VWZ/RcWwP4W6yBFqcXXLnkl/ 4IGXonf181qHkE+/vLgMCFywyBmiFfbKMJ4tKTazsTJBTJoobeS4zQjlvK/aw+1iUpxCoVFxHTYQO N4vDXopdGFkfDxcgiHdej3YL0CrbsDxjmvm9asDxBHNwPzveF7OeEXUPlfVYF6TnODJdY35RtuAb0 bpgJOOgV2eZneJD7l9h+Vik+9Xn/CoVAxgmdJEsGT+G4Io8vSJMrIOa8UM88O/wsFGaDY5y0XDgze eJUikUs82/Y44bAhvu3A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDIVY-00AtfV-1M; Mon, 18 Jul 2022 04:37:24 +0000 Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDIVM-00Atct-TK; Mon, 18 Jul 2022 04:37:12 +0000 Date: Sun, 17 Jul 2022 21:37:12 -0700 From: Christoph Hellwig To: Stafford Horne Cc: LKML , Arnd Bergmann , Catalin Marinas , Will Deacon , Guo Ren , Paul Walmsley , Palmer Dabbelt , Albert Ou , Richard Weinberger , Anton Ivanov , Johannes Berg , Bjorn Helgaas , linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-riscv@lists.infradead.org, linux-um@lists.infradead.org, linux-pci@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH v2 2/2] asm-generic: Add new pci.h and use it Message-ID: References: <20220717033453.2896843-1-shorne@gmail.com> <20220717033453.2896843-3-shorne@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220717033453.2896843-3-shorne@gmail.com> X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Sun, Jul 17, 2022 at 12:34:53PM +0900, Stafford Horne wrote: > Two things to note are: > > - isa_dma_bridge_buggy, traditionally this is defined in asm/dma.h but > these architectures avoid creating that file and add the definition > to asm/pci.h. This doesn't have anyting to do with PCI support. I think adding a separate header just for this that always stubs it out unless a config option is set (which x86 then selects) is the besy idea here. I also think the isa_dma_bridge_buggy needs to move out of the PCI code as well. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv