Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1660117
| From | Wesley Terpstra <wesley@sifive.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 02/17] pcie-xilinx: add missing 5th legacy interrupt |
| Date | 2017-06-07 21:10 +0200 |
| Message-ID | <tPOv7-2fF-9@gated-at.bofh.it> (permalink) |
| References | <tK6bn-4ju-3@gated-at.bofh.it> <tPvLP-6UA-3@gated-at.bofh.it> <tPvLQ-6UA-21@gated-at.bofh.it> <tPFrP-4M0-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jun 7, 2017 at 2:24 AM, Marc Zyngier <marc.zyngier@arm.com> wrote: > This is a common problem with the current OF code that numbers INTx from > 1 instead of zero (there is no 5th legacy interrupts in the PCI spec, > despite what $SUBJECT says). I'd be inclined to fix this at the core > level rather than papering over it in the various drivers... While I agree that it's a problem with OF, every other driver has already been changed to paper over the issue. This patch just brings this one remaining OF-PCIe driver to the same level as the others. Without the patch, the driver doesn't work at all if there is a bridge chip on the other end of the controller, so this is not just a hypothetical concern for us. Couldn't the eventual OF fix just refactor this driver along with all of the others? Doing such a sweeping OF change is outside my current comfort zone. I am not familiar enough with the code to understand all the parts that would need to be touched.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 02/17] pcie-xilinx: add missing 5th legacy interrupt Palmer Dabbelt <palmer@dabbelt.com> - 2017-06-07 01:10 +0200
Re: [PATCH 02/17] pcie-xilinx: add missing 5th legacy interrupt Geert Uytterhoeven <geert@linux-m68k.org> - 2017-06-07 09:20 +0200
Re: [PATCH 02/17] pcie-xilinx: add missing 5th legacy interrupt Marc Zyngier <marc.zyngier@arm.com> - 2017-06-07 11:30 +0200
Re: [PATCH 02/17] pcie-xilinx: add missing 5th legacy interrupt Wesley Terpstra <wesley@sifive.com> - 2017-06-07 21:10 +0200
csiph-web