Message ID | a71cee05633ffac508366d66ca23a467716b14b7.camel@microchip.com |
---|---|
Headers | show |
Series | PCI: microchip: Add host driver for Microchip PCIe controller | expand |
On Wed, Apr 29, 2020 at 09:37:49AM +0000, Daire.McNamara@microchip.com wrote: > This v8 patch adds support for the Microchip PCIe PolarFire PCIe > controller when configured in host (Root Complex) mode. > > Updates since v7: > * Build for 64bit RISCV architecture only why?
On Wed, 2020-04-29 at 04:11 -0700, Christoph Hellwig wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you > know the content is safe > > On Wed, Apr 29, 2020 at 09:37:49AM +0000, > Daire.McNamara@microchip.com wrote: > > This v8 patch adds support for the Microchip PCIe PolarFire PCIe > > controller when configured in host (Root Complex) mode. > > > > Updates since v7: > > * Build for 64bit RISCV architecture only > > why? The PCIe hardware is only available on 64-bit RISCV based platforms at the moment. Our intention is to extend the driver, at a later date, as and when the hardware becomes available.
On Wed, Apr 29, 2020 at 02:44:05PM +0000, Daire.McNamara@microchip.com wrote: > > why? > The PCIe hardware is only available on 64-bit RISCV based platforms at the moment. Our intention is to extend the driver, at a later date, as and when the hardware becomes available. > I'll let the actual PCIe maintainer speak, but normally we try to allow drivers to build on all platforms unless they have an actual code platform depency. And as far as I can tell this driver doesn't actually depend on RISC-V specific code.
On Wed, Apr 29, 2020 at 07:57:03AM -0700, Christoph Hellwig wrote: > On Wed, Apr 29, 2020 at 02:44:05PM +0000, Daire.McNamara@microchip.com wrote: > > > why? > > The PCIe hardware is only available on 64-bit RISCV based > > platforms at the moment. Our intention is to extend the driver, > > at a later date, as and when the hardware becomes available. > > I'll let the actual PCIe maintainer speak, but normally we try to > allow drivers to build on all platforms unless they have an actual > code platform depency. And as far as I can tell this driver doesn't > actually depend on RISC-V specific code. Agreed; if the driver doesn't actually depend on interfaces that are RISC-V-specific, we should be able to compile-test it on other arches. Bjorn