Re: [PATCH v3] PCI: dwc: dra7xx: Fix compilation warning.

2017-06-19 Thread Arvind Yadav
Hi, Thanks for you suggestion. I will update change log and re-submit. Regards ~arvind On Monday 19 June 2017 02:49 PM, Kishon Vijay Abraham I wrote: Hi, On Friday 16 June 2017 01:48 PM, Arvind Yadav wrote: Hi Kishon/Bjorn, What is correct Setting for these two

Re: [PATCH v3] PCI: dwc: dra7xx: Fix compilation warning.

2017-06-19 Thread Arvind Yadav
Hi, Thanks for you suggestion. I will update change log and re-submit. Regards ~arvind On Monday 19 June 2017 02:49 PM, Kishon Vijay Abraham I wrote: Hi, On Friday 16 June 2017 01:48 PM, Arvind Yadav wrote: Hi Kishon/Bjorn, What is correct Setting for these two

Re: [PATCH v3] PCI: dwc: dra7xx: Fix compilation warning.

2017-06-19 Thread Kishon Vijay Abraham I
Hi, On Friday 16 June 2017 01:48 PM, Arvind Yadav wrote: > Hi Kishon/Bjorn, > > What is correct Setting for these two PCIECTRL_DRA7XX_CONF_IRQSTATUS_MSI and > PCIECTRL_DRA7XX_CONF_IRQSTATUS_MAIN register. > > Value of register After change: > register[PCIECTRL_DRA7XX_CONF_IRQSTATUS_MSI] =

Re: [PATCH v3] PCI: dwc: dra7xx: Fix compilation warning.

2017-06-19 Thread Kishon Vijay Abraham I
Hi, On Friday 16 June 2017 01:48 PM, Arvind Yadav wrote: > Hi Kishon/Bjorn, > > What is correct Setting for these two PCIECTRL_DRA7XX_CONF_IRQSTATUS_MSI and > PCIECTRL_DRA7XX_CONF_IRQSTATUS_MAIN register. > > Value of register After change: > register[PCIECTRL_DRA7XX_CONF_IRQSTATUS_MSI] =

Re: [PATCH v3] PCI: dwc: dra7xx: Fix compilation warning.

2017-06-16 Thread Arvind Yadav
Hi Kishon/Bjorn, What is correct Setting for these two PCIECTRL_DRA7XX_CONF_IRQSTATUS_MSI and PCIECTRL_DRA7XX_CONF_IRQSTATUS_MAIN register. Value of register After change: register[PCIECTRL_DRA7XX_CONF_IRQSTATUS_MSI] = LEG_EP_INTERRUPTS | MSI = 0x1f

Re: [PATCH v3] PCI: dwc: dra7xx: Fix compilation warning.

2017-06-16 Thread Arvind Yadav
Hi Kishon/Bjorn, What is correct Setting for these two PCIECTRL_DRA7XX_CONF_IRQSTATUS_MSI and PCIECTRL_DRA7XX_CONF_IRQSTATUS_MAIN register. Value of register After change: register[PCIECTRL_DRA7XX_CONF_IRQSTATUS_MSI] = LEG_EP_INTERRUPTS | MSI = 0x1f

Re: [PATCH v3] PCI: dwc: dra7xx: Fix compilation warning.

2017-06-15 Thread Bjorn Helgaas
On Thu, Jun 15, 2017 at 02:19:20PM +0530, Arvind Yadav wrote: > drivers/pci/dwc/pci-dra7xx.c: In function ‘dra7xx_pcie_enable_msi_interrupts’: > drivers/pci/dwc/pci-dra7xx.c:177:7: warning: large integer implicitly > truncated to unsigned type [-Woverflow] >~LEG_EP_INTERRUPTS & ~MSI); >

Re: [PATCH v3] PCI: dwc: dra7xx: Fix compilation warning.

2017-06-15 Thread Bjorn Helgaas
On Thu, Jun 15, 2017 at 02:19:20PM +0530, Arvind Yadav wrote: > drivers/pci/dwc/pci-dra7xx.c: In function ‘dra7xx_pcie_enable_msi_interrupts’: > drivers/pci/dwc/pci-dra7xx.c:177:7: warning: large integer implicitly > truncated to unsigned type [-Woverflow] >~LEG_EP_INTERRUPTS & ~MSI); >