Re: [PATCHv2 2/4] PCI: dwc: fix 4GiB outbound window size truncated to zero issue

2018-12-11 Thread Lorenzo Pieralisi
g; linux-kernel@vger.kernel.org; > > bhelg...@google.com; jingooh...@gmail.com; > > gustavo.pimen...@synopsys.com; Roy Zang ; Mingkai Hu > > ; M.h. Lian > > Subject: Re: [PATCHv2 2/4] PCI: dwc: fix 4GiB outbound window size > > truncated to zero issue > > > >

RE: [PATCHv2 2/4] PCI: dwc: fix 4GiB outbound window size truncated to zero issue

2018-12-05 Thread Z.q. Hou
ynopsys.com; Roy Zang ; Mingkai Hu > ; M.h. Lian > Subject: Re: [PATCHv2 2/4] PCI: dwc: fix 4GiB outbound window size > truncated to zero issue > > On Wed, Nov 07, 2018 at 10:09:10AM +, Z.q. Hou wrote: > > From: Hou Zhiqiang > > > > The current type of mem_size is &

Re: [PATCHv2 2/4] PCI: dwc: fix 4GiB outbound window size truncated to zero issue

2018-12-05 Thread Lorenzo Pieralisi
On Wed, Nov 07, 2018 at 10:09:10AM +, Z.q. Hou wrote: > From: Hou Zhiqiang > > The current type of mem_size is 'u32', so when resource_size() > return 4G it will be truncated to zero. This patch fix it by > changing its type to 'u64'. > > Signed-off-by: Hou Zhiqiang > Acked-by: Gustavo Pime

[PATCHv2 2/4] PCI: dwc: fix 4GiB outbound window size truncated to zero issue

2018-11-07 Thread Z.q. Hou
From: Hou Zhiqiang The current type of mem_size is 'u32', so when resource_size() return 4G it will be truncated to zero. This patch fix it by changing its type to 'u64'. Signed-off-by: Hou Zhiqiang Acked-by: Gustavo Pimentel --- V2: - Reworded the subject. drivers/pci/controller/dwc/pcie-d