On Wed, Oct 21, 2020 at 07:18:19PM +0200, Loic Poulain wrote: > This is a generic MHI-over-PCI controller driver for MHI only devices > such as QCOM modems. For now it supports registering of Qualcomm SDX55 > based PCIe modules. The MHI channels have been extracted from mhi > downstream driver. > > This driver is for MHI-only devices which have all functionalities > exposed through MHI channels and accessed by the corresponding MHI > device drivers (no out-of-band communication). > > Signed-off-by: Loic Poulain <loic.poulain@xxxxxxxxxx> > Reviewed-by: Bhaumik Bhatt <bbhatt@xxxxxxxxxxxxxx> I see the following warning on 32-bit ARM with clang after this patch appeared in -next: drivers/bus/mhi/pci_generic.c:276:25: warning: implicit conversion from 'unsigned long long' to 'dma_addr_t' (aka 'unsigned int') changes value from 18446744073709551615 to 4294967295 [-Wconstant-conversion] mhi_cntrl->iova_stop = DMA_BIT_MASK(info->dma_data_width); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/dma-mapping.h:76:40: note: expanded from macro 'DMA_BIT_MASK' #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^~~~~ 1 warning generated. An explicit cast to dma_addr_t would solve it but I am not sure if that is proper or not. Cheers, Nathan