Re: [PATCH 2/5] MIPS: Loongson64: Process ISA Node in DeviceTree

2020-07-20 Thread Rob Herring
On Mon, Jul 20, 2020 at 1:54 AM Jiaxun Yang wrote: > > Previously, we're hardcoding resserved ISA I/O Space in code, now > we're processing reverved I/O via DeviceTree directly. Using the ranges > property to determine the size and address of reserved I/O space. > > Signed-off-by: Jiaxun Yang > -

Re: [PATCH 2/5] MIPS: Loongson64: Process ISA Node in DeviceTree

2020-07-20 Thread Jiaxun Yang
在 2020/7/20 下午7:44, Huacai Chen 写道: Hi, Jiaxun, On Mon, Jul 20, 2020 at 6:20 PM Jiaxun Yang wrote: 在 2020/7/20 下午6:01, Huacai Chen 写道: Hi, Jiaxun, On Mon, Jul 20, 2020 at 3:44 PM Jiaxun Yang wrote: Previously, we're hardcoding resserved ISA I/O Space in code, now we're processing reve

Re: [PATCH 2/5] MIPS: Loongson64: Process ISA Node in DeviceTree

2020-07-20 Thread Huacai Chen
Hi, Jiaxun, On Mon, Jul 20, 2020 at 6:20 PM Jiaxun Yang wrote: > > > > 在 2020/7/20 下午6:01, Huacai Chen 写道: > > Hi, Jiaxun, > > > > On Mon, Jul 20, 2020 at 3:44 PM Jiaxun Yang wrote: > >> Previously, we're hardcoding resserved ISA I/O Space in code, now > >> we're processing reverved I/O via Devi

Re: [PATCH 2/5] MIPS: Loongson64: Process ISA Node in DeviceTree

2020-07-20 Thread Jiaxun Yang
在 2020/7/20 下午6:01, Huacai Chen 写道: Hi, Jiaxun, On Mon, Jul 20, 2020 at 3:44 PM Jiaxun Yang wrote: Previously, we're hardcoding resserved ISA I/O Space in code, now we're processing reverved I/O via DeviceTree directly. Using the ranges property to determine the size and address of reserved

Re: [PATCH 2/5] MIPS: Loongson64: Process ISA Node in DeviceTree

2020-07-20 Thread Huacai Chen
Hi, Jiaxun, On Mon, Jul 20, 2020 at 3:44 PM Jiaxun Yang wrote: > > Previously, we're hardcoding resserved ISA I/O Space in code, now > we're processing reverved I/O via DeviceTree directly. Using the ranges > property to determine the size and address of reserved I/O space. Maybe it is better to

[PATCH 2/5] MIPS: Loongson64: Process ISA Node in DeviceTree

2020-07-20 Thread Jiaxun Yang
Previously, we're hardcoding resserved ISA I/O Space in code, now we're processing reverved I/O via DeviceTree directly. Using the ranges property to determine the size and address of reserved I/O space. Signed-off-by: Jiaxun Yang --- arch/mips/loongson64/init.c | 85 ++--