Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1231009
| From | Arthur Marsh <arthur.marsh@internode.on.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFT v3] eata: Convert eata driver as normal PCI and platform device drivers |
| Date | 2015-09-23 00:30 +0200 |
| Message-ID | <qbEeu-1VF-11@gated-at.bofh.it> (permalink) |
| References | <q9lfY-64l-23@gated-at.bofh.it> <qbqbv-6ZU-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Jiang Liu wrote on 22/09/15 17:00:
> Previously the eata driver just grabs and accesses eata PCI devices
> without implementing a PCI device driver, that causes troubles with
> latest IRQ related
>
> Commit 991de2e59090 ("PCI, x86: Implement pcibios_alloc_irq() and
> pcibios_free_irq()") changes the way to allocate PCI legacy IRQ
> for PCI devices on x86 platforms. Instead of allocating PCI legacy
> IRQs when pcibios_enable_device() gets called, now pcibios_alloc_irq()
> will be called by pci_device_probe() to allocate PCI legacy IRQs
> when binding PCI drivers to PCI devices.
>
> But the eata driver directly accesses PCI devices without implementing
> corresponding PCI drivers, so pcibios_alloc_irq() won't be called for
> those PCI devices and wrong IRQ number may be used to manage the PCI
> device.
>
> This patch implements a PCI device driver to manage eata PCI devices,
> so eata driver could properly cooperate with the PCI core. It also
> provides headroom for PCI hotplug with eata driver.
>
> It also represents non-PCI eata devices as platform devices, so it could
> be managed as normal devices.
>
> Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
> Cc: Hannes Reinecke <hare@suse.de>
> Cc: Ballabio, Dario <dario.ballabio@emc.com>
> Cc: Christoph Hellwig <hch@infradead.org>
> ---
Not really any change with this driver:
previously
http://www.users.on.net/~arthur.marsh/20150915547.jpg
now
http://www.users.on.net/~arthur.marsh/20150922553.jpg
If there was any way of capturing any more debug output I'd be happy to
do it.
Arthur.
--
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 — Next in thread | Find similar | Unroll thread
Re: [RFT v3] eata: Convert eata driver as normal PCI and platform device drivers Arthur Marsh <arthur.marsh@internode.on.net> - 2015-09-23 00:30 +0200
Re: [RFT v3] eata: Convert eata driver as normal PCI and platform device drivers James Bottomley <James.Bottomley@HansenPartnership.com> - 2015-09-23 00:50 +0200
Re: [RFT v3] eata: Convert eata driver as normal PCI and platform device drivers Jiang Liu <jiang.liu@linux.intel.com> - 2015-09-23 07:30 +0200
Re: [RFT v3] eata: Convert eata driver as normal PCI and platform device drivers Arthur Marsh <arthur.marsh@internode.on.net> - 2015-09-23 12:50 +0200
Re: [RFT v3] eata: Convert eata driver as normal PCI and platform device drivers James Bottomley <James.Bottomley@HansenPartnership.com> - 2015-09-23 16:50 +0200
Re: [RFT v3] eata: Convert eata driver as normal PCI and platform device drivers Jiang Liu <jiang.liu@linux.intel.com> - 2015-09-24 06:30 +0200
Re: [RFT v3] eata: Convert eata driver as normal PCI and platform device drivers Arthur Marsh <arthur.marsh@internode.on.net> - 2015-09-24 08:00 +0200
Re: [RFT v3] eata: Convert eata driver as normal PCI and platform device drivers Arthur Marsh <arthur.marsh@internode.on.net> - 2015-09-26 08:30 +0200
Re: [RFT v3] eata: Convert eata driver as normal PCI and platform device drivers Jiang Liu <jiang.liu@linux.intel.com> - 2015-10-03 10:20 +0200
Re: [RFT v3] eata: Convert eata driver as normal PCI and platform device drivers Arthur Marsh <arthur.marsh@internode.on.net> - 2015-10-03 13:20 +0200
Re: [RFT v3] eata: Convert eata driver as normal PCI and platform device drivers Arthur Marsh <arthur.marsh@internode.on.net> - 2015-10-05 10:30 +0200
csiph-web