Re: [PATCH 2/2] powerpc/topology: Override cpu_smt_mask

2020-08-04 Thread Valentin Schneider
On 04/08/20 11:46, pet...@infradead.org wrote: > On Tue, Aug 04, 2020 at 09:03:07AM +0530, Srikar Dronamraju wrote: >> On Power9 a pair of cores can be presented by the firmware as a big-core >> for backward compatibility reasons, with 4 threads per (small) core and 8 >> threads per big-core. cpu

Re: [PATCH 2/2] powerpc/topology: Override cpu_smt_mask

2020-08-04 Thread peterz
On Tue, Aug 04, 2020 at 09:03:07AM +0530, Srikar Dronamraju wrote: > On Power9 a pair of cores can be presented by the firmware as a big-core > for backward compatibility reasons, with 4 threads per (small) core and 8 > threads per big-core. cpu_smt_mask() should generally point to the cpu mask > o

[PATCH 2/2] powerpc/topology: Override cpu_smt_mask

2020-08-03 Thread Srikar Dronamraju
On Power9 a pair of cores can be presented by the firmware as a big-core for backward compatibility reasons, with 4 threads per (small) core and 8 threads per big-core. cpu_smt_mask() should generally point to the cpu mask of the (small)core. In order to maintain userspace backward compatibility (