Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1381642
| From | Joerg Roedel <jroedel@suse.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/3] v4.4: Revert "PCI: Implement pcibios_alloc_irq() and |
| Date | 2016-04-18 14:00 +0200 |
| Message-ID | <rpg0r-502-29@gated-at.bofh.it> (permalink) |
| References | <rnm0i-4qe-7@gated-at.bofh.it> <rnRQu-4b1-13@gated-at.bofh.it> <rodxD-4ZA-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Bjorn, On Fri, Apr 15, 2016 at 10:08:21AM -0500, Bjorn Helgaas wrote: > I assume you're thinking about doing pci_enable_resources() before > the core calls the driver's probe method? One question there is how > we would deal with pci_enable_device_mem(). If the core calls > pci_enable_resources(), it has to assume the driver requires all BARs, > and there are quite a few drivers that don't need the I/O BARs. Yes, I think that the problem might be fixed when the resources are enabled during the pcibios-call. What do you think of enabling the the resources at probe time for the pcibios-call and disable them afterwards? Then the driver can re-enable whatever it needs and keep the rest disabled. Joerg
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH 0/3] v4.4: Revert "PCI: Implement pcibios_alloc_irq() and Joerg Roedel <jroedel@suse.de> - 2016-04-18 14:00 +0200
Re: [PATCH 0/3] v4.4: Revert "PCI: Implement pcibios_alloc_irq() and Bjorn Helgaas <helgaas@kernel.org> - 2016-04-18 16:50 +0200
Re: [PATCH 0/3] v4.4: Revert "PCI: Implement pcibios_alloc_irq() and Joerg Roedel <jroedel@suse.de> - 2016-04-19 11:50 +0200
csiph-web