Re: [PATCH] staging: mt7621-pci: stop using of_pci_range_to_resource

2021-04-13 Thread Sergio Paracuellos
Hi Illya, On Wed, Apr 14, 2021 at 6:10 AM Ilya Lipnitskiy wrote: > > Hi Sergio, > > Just as an aside, are you planning to move staging/mt7621-pci into > arch/mips/pci at some point? This driver seems more maintained (by > you!) than many in-tree drivers... Yes, I am planning to move it and

Re: [PATCH] staging: mt7621-pci: stop using of_pci_range_to_resource

2021-04-13 Thread Ilya Lipnitskiy
Hi Sergio, Just as an aside, are you planning to move staging/mt7621-pci into arch/mips/pci at some point? This driver seems more maintained (by you!) than many in-tree drivers... Ilya On Sat, Apr 10, 2021 at 12:23 PM Sergio Paracuellos wrote: > > Hi Ilya, > > On Sat, Apr 10, 2021 at 7:33 PM

Re: [PATCH] staging: mt7621-pci: stop using of_pci_range_to_resource

2021-04-10 Thread Sergio Paracuellos
Hi Ilya, On Sat, Apr 10, 2021 at 7:33 PM Ilya Lipnitskiy wrote: > > The logic here was already overriding the erroneous IO addresses > returned from of_pci_range_to_resource, which is the bulk of the logic. > > So stop using it altogether and initialize the fields explicitly, as > done in

[PATCH] staging: mt7621-pci: stop using of_pci_range_to_resource

2021-04-10 Thread Ilya Lipnitskiy
The logic here was already overriding the erroneous IO addresses returned from of_pci_range_to_resource, which is the bulk of the logic. So stop using it altogether and initialize the fields explicitly, as done in aeba3731b150 ("powerpc/pci: Fix IO space breakage after of_pci_range_to_resource()