Re: [PATCH] PCI: Fix Switchtec DMA aliasing quirk dmesg noise

2018-10-04 Thread Christoph Hellwig
> +SWITCHTEC_QUIRK(0x8531); //PFX 24xG3 Please use /* * style comments.

[PATCH] PCI: Fix Switchtec DMA aliasing quirk dmesg noise

2018-10-04 Thread Logan Gunthorpe
Currently the Switchtec quirk runs on all endpoints in the Switch which includes all the upstream and downstream ports. Seeing these other functions do not contain BARs the quirk fails when trying to map the BAR and prints the error "Cannot iomap Switchtec device". The user will see a few of these