Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4540236imw; Tue, 19 Jul 2022 08:28:23 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vU+1L52qmAuURPbDbsSpfWHZo/OKd7YFa5gnqw6IkHassQwfre0cjDlFAwDRlQXeWLfHXU X-Received: by 2002:a05:6402:4c3:b0:43a:f612:179d with SMTP id n3-20020a05640204c300b0043af612179dmr44860530edw.422.1658244503545; Tue, 19 Jul 2022 08:28:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658244503; cv=none; d=google.com; s=arc-20160816; b=bZo1/SzwoNWeDnLJ0b0GTG1SyR9p1G39cMWdzDwv5EGbXI/znJd/ScD9i+oPB9DpO8 vTLMf6yqANJgzHleE+Dxy+XMhPtxYGT4kKzeP+ggOgPHzjRBkNTQ0/2Xbvod9Qrspc1D 6RW+2SfHF0o53yFSLg8j+ufRackZV8C/qermdsLP4szBaHaqGocwszKHVnDbzETxoRiH maGKydQg0cuqRp1kz8emfRtRWX0dT8Z/wRJOROU9ewcd3H0Cgw7JBEFiv/1fQYrLpD08 AIqZmxqZq7JIi4YHTF5l7v1IjfsETjnZNJbo+NkI9MrkEMYulV0H/LY0UNwknrkPVH5K +boQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gq2qxu4tTCNdzYLjjggHvDXAaB2s/OnX5S80d1QYkSQ=; b=Y5ZM8Ut6jdr7Ph2YwF5IcXOxFEh5dcSdU4nCfyFQvqafTVHgki0mpxeET/BgH7+HiH 8oYsQizsCE+mTuYn1g9cwz/I+06QySNXYPspZH96b1tONdOEmtr6woOyV+elq4aGn7Z6 6VT5885E7oVgwWjGPrZsRHHQlibIDU+Fgq5sJ97C5Ik5nMX0jlIDlAESff6AP7Jb5OPx EvqQhMBUr3LeazvNnUAOBY8jy9qVQC6bFFd/a9y6n/mkXRLFA/Ok/AVfumxH0ZwUpykB /2VycxspAou/4Zf/a2/UxKh4ctBFZMgKeBAxGl/d6er4wyU8e6N7syZekGH6+fj1QR7r 4YDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="Lk4L/aYk"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ht20-20020a170907609400b0072b3ccf55e1si22299416ejc.786.2022.07.19.08.27.59; Tue, 19 Jul 2022 08:28:23 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b="Lk4L/aYk"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238638AbiGSOMS (ORCPT + 99 others); Tue, 19 Jul 2022 10:12:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238024AbiGSOMC (ORCPT ); Tue, 19 Jul 2022 10:12:02 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B5945720C; Tue, 19 Jul 2022 06:33:55 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id q41-20020a17090a1b2c00b001f2043c727aso1477284pjq.1; Tue, 19 Jul 2022 06:33:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=gq2qxu4tTCNdzYLjjggHvDXAaB2s/OnX5S80d1QYkSQ=; b=Lk4L/aYkRyKZZ37rXnThkj/S+iHNwOUqTGA928Y2CtUFrSgRa7PdcsYAX/OO3pnG4l cRtBcxAtV5plRTM1azRyTzwd4kYIgWPO1dqCRV0isud69pVYsJvKYQRoXUrGoWHKsTDd zFRbtrT8Ebr7W9JBOwQb2yMhCOm0mBRH/jWitZwYyZHjNFET8+Mc2qHma6W0QtY42cBr VyZHPeH2u3B+jcKuSAU6wIGOvUWLg/qKkh2BOnrCLn6zm5Vg2EqJTfCEzmanGiuDMcv2 r9uvWSFzeVS9c9OXzw+UcWN2nDriDcbQOif4OSIr7hCW21K7CHbM+464cSW/XjrwSOi8 FIGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=gq2qxu4tTCNdzYLjjggHvDXAaB2s/OnX5S80d1QYkSQ=; b=fm2teIviZPjBrkDhc2ONy3VhT0zQ42+xTvDrIPB3CMEh55vQWJGkcxwSo8zqO1uD0C 1dpQD3DN2PUlBKeaIMLEPDBLvsVp+/EhfreLQOxCe7k3kHdKxtV8X4zPW1sQoTZ1iTWo 1x5unG3YsfQXJ0Fu5B07B24h5cZeab9lxQZqMU3IPUkbTLYOnXefgv5nOzJG1+0grAcv 2ZvRcI/RHE5GOT/0wNIbUmlrNvnq68v3zzRYJoUvsRAdwWcM9hIoGa792gYnJ4J+eS7k ymO3qQaApmrAfcyl7BH4d3mRcC4fFP07TjhfQAhV7XTIy/qKZefaL1qNLZiI7CHeEXy5 yw5w== X-Gm-Message-State: AJIora9Bjt7KHMcWO7WP0fgckuNtAQUiYHz56mWnIytRa0frifUzcDEa 0JCfWP5/x/B7G+vRatZmL2M= X-Received: by 2002:a17:90a:bc8c:b0:1ef:91ca:1c24 with SMTP id x12-20020a17090abc8c00b001ef91ca1c24mr44620254pjr.81.1658237634812; Tue, 19 Jul 2022 06:33:54 -0700 (PDT) Received: from localhost ([2409:10:24a0:4700:e8ad:216a:2a9d:6d0c]) by smtp.gmail.com with ESMTPSA id i11-20020a170902cf0b00b0016c06a10861sm11551154plg.74.2022.07.19.06.33.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jul 2022 06:33:54 -0700 (PDT) Date: Tue, 19 Jul 2022 22:33:52 +0900 From: Stafford Horne To: Arnd Bergmann Cc: 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 Subject: Re: [PATCH v2 2/2] asm-generic: Add new pci.h and use it Message-ID: References: <20220717033453.2896843-3-shorne@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 03:18:17PM +0200, Arnd Bergmann wrote: > 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. OK, that makes sense. Then I can remove the asm/dma.h include from: - drivers/comedi/drivers/comedi_isadma.c - sound/core/isadma.c -Stafford