Re: [PATCH v4 00/10] Introduce SMT level and add PowerPC support

2023-07-28 Thread Zhang, Rui
later since the original failure is due to the use_tfh confusion. Tested-by: Xi Ruoyao Reported-and-tested-by: Niklāvs Koļesņikovs Reported-and-tested-by: Jeff Chua Reported-and-tested-by: Zhang Rui Link: https://bugzilla.kernel.org/show_bug.cgi?id=217622 L

Re: [PATCH v4 00/10] Introduce SMT level and add PowerPC support

2023-07-09 Thread Zhang, Rui
, for patch 1~7 in this series, Tested-by: Zhang Rui thanks, rui On Wed, 2023-07-05 at 16:51 +0200, Laurent Dufour wrote: > I'm taking over the series Michael sent previously [1] which is > smartly > reviewing the initial series I sent [2].  This series is addressing > the >

Re: [PATCH v3 6/9] cpu/SMT: Allow enabling partial SMT states via sysfs

2023-07-04 Thread Zhang, Rui
On Thu, 2023-06-29 at 16:31 +0200, Laurent Dufour wrote: > @@ -2580,6 +2597,17 @@ static ssize_t control_show(struct device > *dev, >  { > const char *state = smt_states[cpu_smt_control]; >   > +#ifdef CONFIG_HOTPLUG_SMT > +   /* > +    * If SMT is enabled but not all threads are

Re: [PATCH v3 3/9] cpu/SMT: Store the current/max number of threads

2023-07-04 Thread Zhang, Rui
On Thu, 2023-06-29 at 16:31 +0200, Laurent Dufour wrote: > From: Michael Ellerman > > Some architectures allows partial SMT states at boot time, s/allows/allow. thanks, rui

Re: [PATCH v3 0/9] Introduce SMT level and add PowerPC support

2023-07-04 Thread Zhang, Rui
Hi, Laurent, I want to test this patch set and found that it does not apply on top of latest usptream git, because of some changes in this merge window, so better rebase. thanks, rui On Thu, 2023-06-29 at 16:31 +0200, Laurent Dufour wrote: > I'm taking over the series Michael sent previously

Re: [-next PATCH 4/4] treewide: Use DEVICE_ATTR_WO

2017-12-20 Thread Zhang Rui
s/input/touchscreen/elants_i2c.c | 2 +- >  drivers/net/ethernet/ibm/ibmvnic.c | 2 +- >  drivers/net/wimax/i2400m/sysfs.c   | 3 +-- >  drivers/scsi/lpfc/lpfc_attr.c  | 3 +-- >  drivers/thermal/thermal_sysfs.c| 2 +- For the thermal part, Acked-by: Zhang Rui <rui.

Re: [PATCH V2 1/7] dt-bindings: Update QorIQ TMU thermal bindings

2016-09-18 Thread Zhang Rui
; > Changes for V2: > > > * Remove formatting chnages. > > > > > >  Documentation/devicetree/bindings/thermal/qoriq-thermal.txt | 7 > > > +++ > > >  1 file changed, 7 insertions(+) > > Acked-by: Rob Herring <r...@kernel.org> > Hi Zhang

Re: [PATCH V2 7/7] thermal: qoriq: Add thermal management support

2016-08-19 Thread Zhang Rui
On 四, 2016-06-30 at 11:08 +0800, Jia Hongtao wrote: > This driver add thermal management support by enabling TMU (Thermal > Monitoring Unit) on QorIQ platform. > > It's based on thermal of framework: > - Trip points defined in device tree. > - Cpufreq as cooling device registered in qoriq cpufreq