Re: [PATCH] arm64: topology: Stop using MPIDR for topology information

2020-09-09 Thread Valentin Schneider
On 03/09/20 02:44, B wrote: >> -Original Message- >> From: Valentin Schneider [mailto:valentin.schnei...@arm.com] >> On 02/09/20 04:24, B wrote: >> > I agree with your idea to remove the topology functionality of MPIDR , >> > but I think we need also consider ARM32 and GIC. >> > >> >> Cou

Re: [PATCH] arm64: topology: Stop using MPIDR for topology information

2020-09-07 Thread Will Deacon
On Sat, 29 Aug 2020 14:00:16 +0100, Valentin Schneider wrote: > In the absence of ACPI or DT topology data, we fallback to haphazardly > decoding *something* out of MPIDR. Sadly, the contents of that register are > mostly unusable due to the implementation leniancy and things like Aff0 > having to

RE: [PATCH] arm64: topology: Stop using MPIDR for topology information

2020-09-02 Thread Zengtao (B)
bin Murphy; Jeremy Linton; > Dietmar Eggemann; Morten Rasmussen > Subject: Re: [PATCH] arm64: topology: Stop using MPIDR for topology > information > > > On 02/09/20 04:24, B wrote: > > Hi Valentin: > > > >> -Original Message- > >> From

Re: [PATCH] arm64: topology: Stop using MPIDR for topology information

2020-09-02 Thread Valentin Schneider
gt; Cc: Catalin Marinas; Will Deacon; Sudeep Holla; Robin Murphy; Jeremy >> Linton; Dietmar Eggemann; Morten Rasmussen; Zengtao (B) >> Subject: [PATCH] arm64: topology: Stop using MPIDR for topology >> information >> >> In the absence of ACPI or DT topology data, we fallba

Re: [PATCH] arm64: topology: Stop using MPIDR for topology information

2020-09-02 Thread Valentin Schneider
On 02/09/20 11:04, Sudeep Holla wrote: > On Sat, Aug 29, 2020 at 02:00:16PM +0100, Valentin Schneider wrote: >> In the absence of ACPI or DT topology data, we fallback to haphazardly >> decoding *something* out of MPIDR. Sadly, the contents of that register are >> mostly unusable due to the imple

Re: [PATCH] arm64: topology: Stop using MPIDR for topology information

2020-09-02 Thread Sudeep Holla
arm-ker...@lists.infradead.org > > Cc: Catalin Marinas; Will Deacon; Sudeep Holla; Robin Murphy; Jeremy > > Linton; Dietmar Eggemann; Morten Rasmussen; Zengtao (B) > > Subject: [PATCH] arm64: topology: Stop using MPIDR for topology > > information > > > > In t

Re: [PATCH] arm64: topology: Stop using MPIDR for topology information

2020-09-02 Thread Sudeep Holla
On Sat, Aug 29, 2020 at 02:00:16PM +0100, Valentin Schneider wrote: > In the absence of ACPI or DT topology data, we fallback to haphazardly > decoding *something* out of MPIDR. Sadly, the contents of that register are > mostly unusable due to the implementation leniancy and things like Aff0 > havi

RE: [PATCH] arm64: topology: Stop using MPIDR for topology information

2020-09-01 Thread Zengtao (B)
Murphy; Jeremy > Linton; Dietmar Eggemann; Morten Rasmussen; Zengtao (B) > Subject: [PATCH] arm64: topology: Stop using MPIDR for topology > information > > In the absence of ACPI or DT topology data, we fallback to haphazardly > decoding *something* out of MPIDR. Sadly, the content

[PATCH] arm64: topology: Stop using MPIDR for topology information

2020-08-29 Thread Valentin Schneider
In the absence of ACPI or DT topology data, we fallback to haphazardly decoding *something* out of MPIDR. Sadly, the contents of that register are mostly unusable due to the implementation leniancy and things like Aff0 having to be capped to 15 (despite being encoded on 8 bits). Consider a simple