Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1189955
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Bjorn Helgaas <bhelgaas@google.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v9 0/8] pci: add pci_iomap_wc() and pci_ioremap_wc_bar() |
| Date | Wed, 22 Jul 2015 15:50:01 +0200 |
| Message-ID | <pP2zf-8rx-13@gated-at.bofh.it> (permalink) |
| References | <pK9i2-2k9-13@gated-at.bofh.it> <pNkqB-7EV-5@gated-at.bofh.it> <pOBz4-3p0-3@gated-at.bofh.it> <pOFMn-18q-29@gated-at.bofh.it> <pOXJg-1yo-19@gated-at.bofh.it> |
| X-Original-To | Ingo Molnar <mingo@kernel.org> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=kBb9Go+2fChgRZEU0yFnN6mjnYcecS5+UIuq73/ng8c=; b=bTMKEDFNZcRGvpx6PS/N1rxNBWP7D3s3g/ddxtdBV3Vlw38vPks3M7YNgkRRKLPd8V gsUu5EJBR4nSfIaYGc7Ybe/IfjSOEa3DGkSMP4n/7fqjUw+HUIRQbsG4moprWXxj92VU ip063sThhKXLXuhxrj/b/yFsRDfc+pE4biERFbt0RR+uktm13BQxLgkdMHpopOsCqH3Q 8ntWSzPSBjAcC9oUfRfHQGhhcW14C8QyzgK50+Tp5wmvZxAUyWZSKcX5brZw/b2nYvx9 sBwhJWx3XC9ZD+ruEpDtygfzQICLqIJ5ZKTQzRXjA1ehwuN+T4XUQ9KSA60hNYRr5LV1 9lSQ== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=kBb9Go+2fChgRZEU0yFnN6mjnYcecS5+UIuq73/ng8c=; b=mVOwvkUsW7TyH8gqe23QYBKZtZQStm+8Epy2OJd7dz4CrNU6qKWcr0TAra+lo+RwEy ACH1i/kTJpDN91CqjjzfitEoPBsPGO3XNIHOOXOIYSMaEgtHxp4w96O5RDS6tKayXSET Y+2NGVQfu45YTreE+pXOxcgwUVYno1imLgnRqceLSme0f8KOmQfb2hcEBY4/b9LLXLp7 qiqRIVF58eJg8nGgZbAVRB1q5ZEG0J9F3qKQwVIk1N44LYm0T6yex7Qe4YBpMllLLtYB gh8AQCN5JnhCGC3ji0+dTST9TBJzeIEMT/9jk14C4ucwYhJ/drmyFjzec44ljMc+tgRc 34xQ== |
| X-Gm-Message-State | ALoCoQnL0AEVHt43CILEU8w2ZmaztQtQE7ufD7TiL56rfcNA+/0dCVHSvzYcpHIjT4eWXyEb/hTA |
| X-Received | by 10.107.3.67 with SMTP id 64mr4507383iod.152.1437572632127; Wed, 22 Jul 2015 06:43:52 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.21 (2010-09-15) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 63 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | "Luis R. Rodriguez" <mcgrof@suse.com>, "Luis R. Rodriguez" <mcgrof@do-not-panic.com>, bp@suse.de, arnd@arndb.de, luto@amacapital.net, akpm@linux-foundation.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, tomi.valkeinen@ti.com, mst@redhat.com, toshi.kani@hp.com, linux-fbdev@vger.kernel.org, xen-devel@lists.xensource.com, benh@kernel.crashing.org |
| X-Original-Date | Wed, 22 Jul 2015 08:43:48 -0500 |
| X-Original-Message-ID | <20150722134348.GA10966@google.com> |
| X-Original-References | <1436406859-1280-1-git-send-email-mcgrof@do-not-panic.com> <20150717202923.GC30479@wotan.suse.de> <20150721085252.GA15861@gmail.com> <20150721132157.GE16841@google.com> <20150722083844.GA14626@gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | aioe.org linux.kernel:1189955 |
Show key headers only | View raw
Hi Ingo, On Wed, Jul 22, 2015 at 10:38:45AM +0200, Ingo Molnar wrote: > > * Bjorn Helgaas <bhelgaas@google.com> wrote: > > > > > > Let me know if these are OK or if there are any questions. > > > > > > > > > > [0] http://lkml.kernel.org/r/20150625204703.GC4898@pd.tnic > > > > > [1] http://lkml.kernel.org/r/20150707095012.GQ7021@wotan.suse.de > > > > > > > > Ingo, > > > > > > > > Just a friendly reminder. Let me know if there are any issues or questions. > > > > > > It would be nice to get an Acked-by from Bjorn for the PCI API bits. > > > > I think the actual code of pci_ioremap_wc() and pci_ioremap_wc_bar() is fine > > (although I might have named it pci_ioremap_bar_wc() for consistency). > > > > I declined to merge or ack them myself because they're obvious extensions of > > pci_ioremap() and pci_ioremap_bar(), and I would prefer that they be exported > > the same way, i.e., with EXPORT_SYMBOL(), not EXPORT_SYMBOL_GPL(). > > Huh? AFAICS pci_ioremap_bar() has been a _GPL export for a long time: > ... > (ioremap_wc() is EXPORT_SYMBOL() mostly by accident, it's the odd one out.) You're right, I was mistaken about pci_ioremap_bar(). But I'm not convinced yet that ioremap_wc() is the odd one out. All the interfaces I found, with the exception of ioremap_uc() on x86 and pci_ioremap_bar(), are EXPORT_SYMBOL(), even the _wc and _wt flavors. > Also, FWIIW: I personally got essentially zero feedback and help from proprietary > binary kernel module vendors in the past couple of years as x86 maintainer, > despite a fair chunk of kernel crashes reported on distro kernels occuring in > them... > > Based on that very negative experience, when we introduce something as complex and > as critical as new caching APIs, the last thing I want is to have obscure bugs in > binary modules I cannot fix in any reasonable fashion. So even if the parent APIs > of new APIs weren't already _GPL exports (as in this case), I'd export them as > _GPL in this case. > > > I think using EXPORT_SYMBOL_GPL to express individual political aims rather than > > as a hint about what might be derived work makes us look like zealots, and > > that's not my style. > > As far as I'm concerned it's a pure technological choice: I don't want to export > certain types of hard to fix and critical functionality to drivers that I cannot > then fix. That's a good argument that I hadn't heard before (or possibly it was there and I missed it). It would be stronger still if we could change the parent APIs similarly. If a proprietary driver can't use pci_ioremap_wc() because it's exported _GPL, it's trivial to use ioremap_wc() directly. Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH v9 0/8] pci: add pci_iomap_wc() and pci_ioremap_wc_bar() Ingo Molnar <mingo@kernel.org> - 2015-07-22 10:40 +0200 Re: [PATCH v9 0/8] pci: add pci_iomap_wc() and pci_ioremap_wc_bar() Bjorn Helgaas <bhelgaas@google.com> - 2015-07-22 15:50 +0200
csiph-web