[PATCH V3 2/2] powerpc/mpc85xx: Update TMU device tree node for T1023/T1024

2016-10-24 Thread Jia Hongtao
From: Hongtao Jia Update #thermal-sensor-cells from 0 to 1 according to the new binding. The sensor specifier added is the monitoring site ID, and represents the "n" in TRITSRn and TRATSRn. Signed-off-by: Jia Hongtao --- Changes for V3: * Update the commit log to a better description

[PATCH V3 1/2] powerpc/mpc85xx: Update TMU device tree node for T1040/T1042

2016-10-24 Thread Jia Hongtao
From: Hongtao Jia Update #thermal-sensor-cells from 0 to 1 according to the new binding. The sensor specifier added is the monitoring site ID, and represents the "n" in TRITSRn and TRATSRn. Signed-off-by: Jia Hongtao --- Changes for V3: * Update the commit log to a better description

[PATCH V2 5/5] arm64:dt:ls2080a: Add TMU device tree support for LS2080A

2016-10-09 Thread Jia Hongtao
From: Hongtao Jia Also add nodes and properties for thermal management support. Signed-off-by: Jia Hongtao --- Changes for V2: * Rebase on latest linux-next tree (next-20161006). arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts

[PATCH V2 4/5] arm64:dt:ls1043a: Add TMU device tree support for LS1043A

2016-10-09 Thread Jia Hongtao
From: Hongtao Jia Also add nodes and properties for thermal management support. Signed-off-by: Jia Hongtao --- Changes for V2: * Rebase on latest linux-next tree (next-20161006). arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 2

[PATCH V2 3/5] arm:dt:ls1021a: Add TMU device tree support for LS1021A

2016-10-09 Thread Jia Hongtao
From: Hongtao Jia Also add nodes and properties for thermal management support. Signed-off-by: Jia Hongtao --- Changes for V2: * Rebase on latest linux-next tree (next-20161006). arch/arm/boot/dts/ls1021a.dtsi | 84 +- 1 file changed, 82 insertions

[PATCH V2 2/5] powerpc/mpc85xx: Update TMU device tree node for T1023/T1024

2016-10-09 Thread Jia Hongtao
From: Hongtao Jia SoC compatible string and endianness property are added according to the new bindings. Signed-off-by: Jia Hongtao --- Changes for V2: * Rebase on latest linux-next tree (next-20161006). arch/powerpc/boot/dts/fsl/t1023si-post.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH V2 1/5] powerpc/mpc85xx: Update TMU device tree node for T1040/T1042

2016-10-09 Thread Jia Hongtao
From: Hongtao Jia SoC compatible string and endianness property are added according to the new bindings. Signed-off-by: Jia Hongtao --- Changes for V2: * Rebase on latest linux-next tree (next-20161006). arch/powerpc/boot/dts/fsl/t1040si-post.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2

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

2016-06-29 Thread Jia Hongtao
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 driver. Signed-off-by: Jia Hongtao --- Changes of V2:

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

2016-06-06 Thread Jia Hongtao
For different types of SoC the sensor id and endianness may vary. "#thermal-sensor-cells" is used to provide sensor id information. "little-endian" property is to tell the endianness of TMU. Signed-off-by: Jia Hongtao --- Changes for V2: * Remove formatting chnages. Docu

[PATCH 2/7] powerpc/mpc85xx: Update TMU device tree node for T1040/T1042

2016-06-03 Thread Jia Hongtao
SoC compatible string and endianness property are added according to the new bindings. Signed-off-by: Jia Hongtao --- arch/powerpc/boot/dts/fsl/t1040si-post.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi b/arch/powerpc

[PATCH 5/7] arm64:dt:ls1043a: Add TMU device tree support for LS1043A

2016-06-03 Thread Jia Hongtao
Also add nodes and properties for thermal management support. Signed-off-by: Jia Hongtao --- arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi| 78 +++ 3

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

2016-06-03 Thread Jia Hongtao
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 driver. Signed-off-by: Jia Hongtao --- drivers/th

[PATCH 6/7] arm64:dt:ls2080a: Add TMU device tree support for LS2080A

2016-06-03 Thread Jia Hongtao
Also add nodes and properties for thermal management support. Signed-off-by: Jia Hongtao --- arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts | 2 +- arch/arm64/boot/dts

[PATCH 3/7] powerpc/mpc85xx: Update TMU device tree node for T1023/T1024

2016-06-03 Thread Jia Hongtao
SoC compatible string and endianness property are added according to the new bindings. Signed-off-by: Jia Hongtao --- arch/powerpc/boot/dts/fsl/t1023si-post.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi b/arch/powerpc

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

2016-06-03 Thread Jia Hongtao
For different types of SoC the sensor id and endianness may vary. "#thermal-sensor-cells" is used to provide sensor id information. "little-endian" property is to tell the endianness of TMU. Signed-off-by: Jia Hongtao --- .../devicetree/bindings/thermal/qoriq-

[PATCH 4/7] arm:dt:ls1021a: Add TMU device tree support for LS1021A

2016-06-03 Thread Jia Hongtao
Also add nodes and properties for thermal management support. Signed-off-by: Jia Hongtao --- arch/arm/boot/dts/ls1021a.dtsi | 84 +- 1 file changed, 82 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts

[PATCH V3 1/2] cpufreq: qoriq: Remove __exit macro from .exit callback

2016-04-19 Thread Jia Hongtao
.exit callback (qoriq_cpufreq_cpu_exit()) is also used during suspend. So __exit macro should be removed or the function will be discarded. Signed-off-by: Jia Hongtao --- drivers/cpufreq/qoriq-cpufreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq

[PATCH V3 2/2] cpufreq: qoriq: Fix cooling device registration issue during suspend

2016-04-19 Thread Jia Hongtao
Cooling device is registered by ready callback. It's also invoked while system resuming from sleep (Enabling non-boot cpus). Thus cooling device may be multiple registered. Matchable unregistration is added to exit callback to fix this issue. Signed-off-by: Jia Hongtao --- drivers/cpufreq/

[PATCH V2] cpufreq: qoriq: Fix cooling device registration issue during suspend

2016-04-18 Thread Jia Hongtao
Cooling device is registered by ready callback. It's also invoked while system resuming from sleep (Enabling non-boot cpus). Thus cooling device may be multiple registered. Matchable unregistration is added to exit callback to fix this issue. Signed-off-by: Jia Hongtao --- Changes f

[PATCH 1/2] cpufreq: qoriq: Fix cooling device registration issue during suspend

2016-04-18 Thread Jia Hongtao
issue. Signed-off-by: Jia Hongtao --- drivers/cpufreq/qoriq-cpufreq.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/cpufreq/qoriq-cpufreq.c b/drivers/cpufreq/qoriq-cpufreq.c index b23e525..1c2fdc1 100644 --- a/drivers/cpufreq/qoriq-cpufreq.c +++ b/drivers/cpufreq/qoriq-cpuf

[PATCH 2/2] cpufreq: qoriq: Don't show cooling device messages if THERMAL_OF undefined

2016-04-18 Thread Jia Hongtao
When THERMAL_OF is undefined the cooling device messages should not be shown. -ENOSYS is returned from of_cpufreq_cooling_register() when THERMAL_OF is undefined. Signed-off-by: Jia Hongtao --- drivers/cpufreq/qoriq-cpufreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH V3] cpufreq: qoriq: Register cooling device based on device tree

2015-11-26 Thread Jia Hongtao
Register the qoriq cpufreq driver as a cooling device, based on the thermal device tree framework. When temperature crosses the passive trip point cpufreq is used to throttle CPUs. Signed-off-by: Jia Hongtao Reviewed-by: Viresh Kumar --- Changes for V3: * Removed unnecessary cpu node NULL check

[PATCH V2] cpufreq: qoriq: Register cooling device based on device tree

2015-11-25 Thread Jia Hongtao
Register the qoriq cpufreq driver as a cooling device, based on the thermal device tree framework. When temperature crosses the passive trip point cpufreq is used to throttle CPUs. Signed-off-by: Jia Hongtao --- Changes for V2: * Using ->ready callback for cpu cooling device register

[PATCH V4 1/5] dt-bindings: Add QorIQ TMU thermal bindings

2015-11-23 Thread Jia Hongtao
Add bindings documentation for TMU (Thermal Monitoring Unit) on QorIQ platform. Signed-off-by: Jia Hongtao Reviewed-by: Scott Wood --- .../devicetree/bindings/thermal/qoriq-thermal.txt | 63 ++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree

[PATCH] cpufreq: qoriq: Register cooling device based on device tree

2015-11-23 Thread Jia Hongtao
Register the qoriq cpufreq driver as a cooling device, based on the thermal device tree framework. When temperature crosses the passive trip point cpufreq is used to throttle CPUs. Signed-off-by: Jia Hongtao Reviewed-by: Scott Wood --- This patch depends on following patches from Scott Wood

[PATCH V4 0/5] TMU support for QorIQ platform

2015-11-23 Thread Jia Hongtao
patchset is reviewed by Scott Wood . Jia Hongtao (5): dt-bindings: Add QorIQ TMU thermal bindings thermal: qoriq: Add thermal management support powerpc/mpc85xx: Add TMU device tree support for T1040/T1042 powerpc/mpc85xx: Add TMU device tree support for T1023/T1024 arm/ls1021a: Add TMU

[PATCH V4 5/5] arm/ls1021a: Add TMU device tree support for LS1021A

2015-11-23 Thread Jia Hongtao
Also add nodes and properties for thermal management support. Signed-off-by: Jia Hongtao Reviewed-by: Scott Wood --- arch/arm/boot/dts/ls1021a.dtsi | 84 +- 1 file changed, 82 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b

[PATCH V4 2/5] thermal: qoriq: Add thermal management support

2015-11-23 Thread Jia Hongtao
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 driver. Signed-off-by: Jia Hongtao Reviewed-by: Scott

[PATCH V4 3/5] powerpc/mpc85xx: Add TMU device tree support for T1040/T1042

2015-11-23 Thread Jia Hongtao
Also add nodes and properties for thermal management support. Meanwhile preprocessor support is needed using thermal of framework. Signed-off-by: Jia Hongtao Reviewed-by: Scott Wood --- arch/powerpc/boot/dts/fsl/t1040d4rdb.dts| 2 +- arch/powerpc/boot/dts/fsl/t1040qds.dts | 2

[PATCH V4 4/5] powerpc/mpc85xx: Add TMU device tree support for T1023/T1024

2015-11-23 Thread Jia Hongtao
Also add nodes and properties for thermal management support. Meanwhile preprocessor support is needed using thermal of framework. Signed-off-by: Jia Hongtao Reviewed-by: Scott Wood --- arch/powerpc/boot/dts/fsl/t1023rdb.dts | 2 +- arch/powerpc/boot/dts/fsl/t1023si-post.dtsi | 86

[PATCH V3] thermal: qoriq: Add thermal management support

2015-09-23 Thread Jia Hongtao
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 driver. Signed-off-by: Jia Hongtao --- V3: Using therm

[PATCH] PowerPC: Move Freescale device tree files into fsl folder

2015-09-17 Thread Jia Hongtao
from "fsl/*.dtsi" to "*.dtsi". Please add "fsl/" prefix when you make dtb using Makefile. Signed-off-by: Jia Hongtao --- arch/powerpc/boot/dts/{ => fsl}/b4420qds.dts | 4 ++-- arch/powerpc/boot/dts/{ => fsl}/b4860qds.dts | 4

[PATCH] PowerPC: Move Freescale device tree files into fsl folder

2015-09-17 Thread Jia Hongtao
from "fsl/*.dtsi" to "*.dtsi". Plese add "fsl/" prefix when you make dtb using Makefile. Signed-off-by: Jia Hongtao --- arch/powerpc/boot/dts/{ => fsl}/b4420qds.dts | 4 ++-- arch/powerpc/boot/dts/{ => fsl}/b4860qds.dts | 4

[PATCH V2] QorIQ/TMU: add thermal management support based on TMU

2015-07-28 Thread Jia Hongtao
It supports one critical trip point and one passive trip point. The cpufreq is used as the cooling device to throttle CPUs when the passive trip is crossed. Signed-off-by: Jia Hongtao --- This patch based on: http://patchwork.ozlabs.org/patch/482987/ Changes for V2: * Add tmu-range parse. * Use

[PATCH V3] QorIQ/TMU: add TMU node to device tree for QorIQ T1040

2015-06-11 Thread Jia Hongtao
This is Thermal Monitoring Unit for QorIQ platform. Signed-off-by: Jia Hongtao --- Changes of V3: * Put TMU node directly into t1040si-post.dtsi file. * Add "fsl,tmu-range" property. * Change "calibration" property to "fsl,tmu-calibration". * Update the ca

[PATCH V2] QorIQ/TMU: add TMU node to device tree for QorIQ T104x

2015-04-15 Thread Jia Hongtao
This is Thermal Monitoring Unit for QorIQ platform. Signed-off-by: Jia Hongtao --- Changes from V1: * Provide more details on compatible and calibration properties. .../devicetree/bindings/thermal/qoriq-thermal.txt | 68 ++ arch/powerpc/boot/dts/fsl/qoriq-tmu-t104xsi.dtsi

[PATCH] QorIQ/TMU: add thermal management support based on TMU

2015-04-03 Thread Jia Hongtao
It supports one critical trip point and one passive trip point. The cpufreq is used as the cooling device to throttle CPUs when the passive trip is crossed. Signed-off-by: Jia Hongtao --- drivers/thermal/Kconfig | 11 ++ drivers/thermal/Makefile| 1 + drivers/thermal

[PATCH] QorIQ/TMU: add TMU node to device tree for QorIQ T104x

2015-03-30 Thread Jia Hongtao
This is Thermal Monitoring Unit for QorIQ platform. Signed-off-by: Jia Hongtao --- .../devicetree/bindings/thermal/qoriq-thermal.txt | 58 +++ arch/powerpc/boot/dts/fsl/qoriq-tmu-t104xsi.dtsi | 82 ++ arch/powerpc/boot/dts/fsl/t1040si-post.dtsi| 1

[PATCH 1/2] powerpc: Enable thermal monitor feature in defconfig for supported platforms

2015-03-12 Thread Jia Hongtao
Signed-off-by: Jia Hongtao --- arch/powerpc/configs/corenet32_smp_defconfig | 2 +- arch/powerpc/configs/corenet64_smp_defconfig | 2 +- arch/powerpc/configs/mpc85xx_defconfig | 3 +-- arch/powerpc/configs/mpc85xx_smp_defconfig | 2 +- 4 files changed, 4 insertions(+), 5 deletions

[PATCH 2/2] powerpc: Enable power monitor feature in defconfig for supported platforms

2015-03-12 Thread Jia Hongtao
Signed-off-by: Jia Hongtao --- arch/powerpc/configs/corenet32_smp_defconfig | 1 + arch/powerpc/configs/corenet64_smp_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/powerpc/configs/corenet32_smp_defconfig b/arch/powerpc/configs/corenet32_smp_defconfig index 7370990

[PATCH V3] powerpc/85xx: workaround for chips with MSI hardware errata

2015-02-25 Thread Jia Hongtao
From: Hongtao Jia The MPIC version 2.0 has a MSI errata (errata PIC1 of mpc8544), It causes that neither MSI nor MSI-X can work fine. This is a workaround to allow MSI-X to function properly. Signed-off-by: Liu Shuo Signed-off-by: Li Yang Signed-off-by: Jia Hongtao --- Changes for V3

[PATCH 1/2] powerpc: Add ADT7461 to device tree for supported boards

2014-11-04 Thread Jia Hongtao
Including: T104xRDB T208xQDS B4QDS Signed-off-by: Jia Hongtao --- arch/powerpc/boot/dts/b4qds.dtsi| 11 +++ arch/powerpc/boot/dts/t104xrdb.dtsi | 7 +++ arch/powerpc/boot/dts/t208xqds.dtsi | 11 +++ 3 files changed, 29 insertions(+) diff --git a/arch/powerpc/boot/dts

[PATCH 2/2] powerpc: Add INA220 to device tree for supported boards

2014-11-04 Thread Jia Hongtao
Including: P3041DS P5020DS P5040DS B4QDS Signed-off-by: Jia Hongtao --- arch/powerpc/boot/dts/b4qds.dtsi | 12 arch/powerpc/boot/dts/p3041ds.dts | 20 arch/powerpc/boot/dts/p5020ds.dts | 20 arch/powerpc/boot/dts/p5040ds.dts | 20

[PATCH V3] powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

2013-09-09 Thread Jia Hongtao
In both B4 and T4240QDS platform PCA9547 I2C bus multiplexer is used. The sub-nodes are also reorganized according to right I2C topology. Signed-off-by: Jia Hongtao --- V3 change log: * Change "channel" to "i2c" based on i2c-mux binding. * Update vendor from philips to

[PATCH V3] powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

2013-09-08 Thread Jia Hongtao
In both B4 and T4240QDS platform PCA9547 I2C bus multiplexer is used. The sub-nodes are also reorganized according to right I2C topology. Signed-off-by: Jia Hongtao --- V3 change log: * change "channel" to "i2c" based on i2c-mux binding. V2 change log: * Reorganized the

RE: [PATCH V2] powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

2013-09-08 Thread Jia Hongtao-B38951
Great thanks. I will update the patch and send it soon. -Hongtao > -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+b38951=freescale@lists.ozlabs.org] On Behalf Of Kumar Gala > Sent: Saturday, September 07, 2013 12:10 AM > To: Jia Hongtao-B3

RE: [PATCH V2] powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

2013-09-05 Thread Jia Hongtao-B38951
> -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Friday, September 06, 2013 2:41 AM > To: Jia Hongtao-B38951 > Cc: linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421; > wei.y...@windriver.com > Subject: Re: [PATCH V2] powerpc: Add I2C

RE: [V2,2/2] powerpc/85xx: workaround for chips with MSI hardware errata

2013-09-05 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, September 06, 2013 1:57 AM > To: Jia Hongtao-B38951 > Cc: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org; > ga...@kernel.crashing.org > Subject: Re: [V2,2/2] powerpc/85xx: workaround for chips with

RE: [V2,2/2] powerpc/85xx: workaround for chips with MSI hardware errata

2013-09-04 Thread Jia Hongtao-B38951
> -Original Message- > From: Jia Hongtao-B38951 > Sent: Monday, July 01, 2013 5:36 PM > To: Wood Scott-B07421 > Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org > Subject: RE: [V2,2/2] powerpc/85xx: workaround for chips with MSI > hardware errata > &

[PATCH V2] powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

2013-09-04 Thread Jia Hongtao
In both B4 and T4240QDS platform PCA9547 I2C bus multiplexer is used. The sub-nodes are also reorganized according to right I2C topology. Signed-off-by: Jia Hongtao --- V2 change log: Reorganized the sub-nodes under I2C multiplexer to represent right topology. arch/powerpc/boot/dts/b4qds.dtsi

RE: [PATCH] powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

2013-09-03 Thread Jia Hongtao-B38951
Hi Yuantian, Yes, you are right. Hi Wei, I misunderstood your idea. I agree it and I will submit V2 patch to update it soon. Thanks. -Hongtao > -Original Message- > From: Tang Yuantian-B29983 > Sent: Wednesday, September 04, 2013 12:04 PM > To: Jia Hongtao-B38951; Yang,We

RE: [PATCH] powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

2013-09-03 Thread Jia Hongtao-B38951
patch based on mine. I think this is the more reasonable way. Thanks. -Hongtao > -Original Message- > From: Yang,Wei [mailto:wei.y...@windriver.com] > Sent: Wednesday, September 04, 2013 9:27 AM > To: Jia Hongtao-B38951 > Cc: linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421

[PATCH] powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

2013-09-03 Thread Jia Hongtao
In both B4 and T4240QDS platform PCA9547 I2C bus multiplexer is used. Signed-off-by: Jia Hongtao --- arch/powerpc/boot/dts/b4qds.dtsi | 4 arch/powerpc/boot/dts/t4240qds.dts | 4 2 files changed, 8 insertions(+) diff --git a/arch/powerpc/boot/dts/b4qds.dtsi b/arch/powerpc/boot/dts

RE: [PATCH] powerpc/msi: Fix compile error on mpc83xx

2013-07-22 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, July 23, 2013 1:19 AM > To: Jia Hongtao-B38951 > Cc: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org; > ga...@kernel.crashing.org; Li Yang-R58472; Jia Hongtao-B38951 > Subject: Re: [PATCH] powerpc/msi:

RE: [PATCH] powerpc/msi: Fix compile error on mpc83xx

2013-07-21 Thread Jia Hongtao-B38951
Hi Scott, The fsl_msi.c build error on MPC83xx platform is fixed by this patch. Could you please have a review? Thanks. -Hongtao > -Original Message- > From: Jia Hongtao-B38951 > Sent: Wednesday, July 10, 2013 10:04 AM > To: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.

RE: [PATCH] powerpc/msi: Fix compile error on mpc83xx

2013-07-09 Thread Jia Hongtao-B38951
Hi Scott, I made this patch to fix msi compile error on mpc83xx. Could you please have a review. Thanks. -Hongtao > -Original Message- > From: Jia Hongtao-B38951 > Sent: Tuesday, July 02, 2013 9:37 AM > To: linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421 > Cc: ga...@kern

RE: [PATCH] powerpc/msi: Fix compile error on mpc83xx

2013-07-01 Thread Jia Hongtao-B38951
Please ignore this patch. -Hongtao > -Original Message- > From: Jia Hongtao-B38951 > Sent: Tuesday, July 02, 2013 9:35 AM > To: linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421 > Cc: ga...@kernel.crashing.org; Li Yang-R58472; Jia Hongtao-B38951 > Subject: [PATCH] powerp

[PATCH] powerpc/msi: Fix compile error on mpc83xx

2013-07-01 Thread Jia Hongtao
mpic_get_primary_version() is not defined when not using MPIC. The compile error log like: arch/powerpc/sysdev/built-in.o: In function `fsl_of_msi_probe': fsl_msi.c:(.text+0x150c): undefined reference to `fsl_mpic_primary_get_version' Signed-off-by: Jia Hongtao --- arch/powerpc/i

[PATCH] powerpc/msi: Fix compile error on mpc83xx

2013-07-01 Thread Jia Hongtao
mpic_get_primary_version() is not defined when not using MPIC. The compile error log like: arch/powerpc/sysdev/built-in.o: In function `fsl_of_msi_probe': fsl_msi.c:(.text+0x150c): undefined reference to `fsl_mpic_primary_get_version' Signed-off-by: Jia Hongtao Signed-off-by: J

RE: [PATCH V6] powerpc/MPIC: Add get_version API both for internal and external use

2013-07-01 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, July 02, 2013 7:59 AM > To: Jia Hongtao-B38951 > Cc: linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421; > ga...@kernel.crashing.org; Li Yang-R58472; Jia Hongtao-B38951 > Subject: Re: [PATCH V6] powerpc/MPIC

RE: [V2,2/2] powerpc/85xx: workaround for chips with MSI hardware errata

2013-07-01 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, June 28, 2013 10:29 AM > To: Jia Hongtao-B38951 > Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org; Wood Scott- > B07421 > Subject: Re: [V2,2/2] powerpc/85xx: workaround for chips with MSI >

[PATCH V6] powerpc/MPIC: Add get_version API both for internal and external use

2013-06-30 Thread Jia Hongtao
From: Hongtao Jia MPIC version is useful information for both mpic_alloc() and mpic_init(). The patch provide an API to get MPIC version for reusing the code. Also, some other IP block may need MPIC version for their own use. The API for external use is also provided. Signed-off-by: Jia Hongtao

RE: [PATCH 2/2 V8] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-05-20 Thread Jia Hongtao-B38951
Hi Ben and Kumar, I'm really appreciate if you could help me to review this patches for these patches were pending nearly a month. Thanks. -Hongtao > -Original Message- > From: Jia Hongtao-B38951 > Sent: Monday, May 13, 2013 2:20 PM > To: 'Benjamin Herrenschmi

RE: [PATCH 2/2 V8] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-05-12 Thread Jia Hongtao-B38951
://patchwork.ozlabs.org/patch/240238/ http://patchwork.ozlabs.org/patch/240239/ Thanks. -Hongtao > -Original Message- > From: Jia Hongtao-B38951 > Sent: Friday, May 10, 2013 12:01 PM > To: ga...@kernel.crashing.org > Cc: linuxppc-dev@lists.ozlabs.org; Li Yang-R58472; Jia Hongtao-B38951 > Sub

RE: [PATCH 2/2 V8] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-05-09 Thread Jia Hongtao-B38951
> > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, May 03, 2013 1:04 AM > > To: Jia Hongtao-B38951 > > Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org; Wood > > Scott- B07421; seg...@kernel.crashing.org; Li Yang-R58472; Ji

RE: [PATCH 2/2 V8] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-05-02 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, May 03, 2013 1:04 AM > To: Jia Hongtao-B38951 > Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org; Wood Scott- > B07421; seg...@kernel.crashing.org; Li Yang-R58472; Jia Hongtao-B38951 > Subje

RE: [PATCH 2/2 V7] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-05-02 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, April 30, 2013 4:30 AM > To: Jia Hongtao-B38951 > Cc: Wood Scott-B07421; Segher Boessenkool; linuxppc-dev@lists.ozlabs.org; > ga...@kernel.crashing.org > Subject: Re: [PATCH 2/2 V7] powerpc/85xx: Add mac

[PATCH 2/2 V8] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-27 Thread Jia Hongtao
by the handler. We implements the handler which skips the instruction caused the stall. This patch depends on patch: powerpc/85xx: Add platform_device declaration to fsl_pci.h Signed-off-by: Zhao Chenhui Signed-off-by: Li Yang Signed-off-by: Liu Shuo Signed-off-by: Jia Hongtao --- V8: * Add A

[PATCH 1/2 V2] powerpc: Move opcode definitions from kvm/emulate.c to asm/ppc-opcode.h

2013-04-27 Thread Jia Hongtao
Opcode and xopcode are useful definitions not just for KVM. Move these definitions to asm/ppc-opcode.h for public use. Signed-off-by: Jia Hongtao Signed-off-by: Li Yang --- V2: * Add LHAUX definition. arch/powerpc/include/asm/ppc-opcode.h | 46 +++ arch/powerpc

RE: [PATCH 2/2 V7] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-27 Thread Jia Hongtao-B38951
> -Original Message- > From: Segher Boessenkool [mailto:seg...@kernel.crashing.org] > Sent: Saturday, April 27, 2013 9:32 PM > To: Jia Hongtao-B38951 > Cc: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org; > ga...@kernel.crashing.org > Subject: Re: [PATCH 2/2

RE: [PATCH 2/2 V7] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-26 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, April 26, 2013 12:58 AM > To: Segher Boessenkool > Cc: Jia Hongtao-B38951; linuxppc-dev@lists.ozlabs.org; > ga...@kernel.crashing.org; Wood Scott-B07421 > Subject: Re: [PATCH 2/2 V7] powerpc/85xx: Add mac

RE: [PATCH 1/2] powerpc: Move opcode definitions from kvm/emulate.c to asm/ppc-opcode.h

2013-04-25 Thread Jia Hongtao-B38951
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Wednesday, April 24, 2013 12:19 PM > To: Jia Hongtao-B38951 > Cc: Michael Ellerman; Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH 1/2] powerpc: Move

RE: [PATCH 1/2] powerpc: Move opcode definitions from kvm/emulate.c to asm/ppc-opcode.h

2013-04-22 Thread Jia Hongtao-B38951
> -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+b38951=freescale@lists.ozlabs.org] On Behalf Of Michael > Ellerman > Sent: Tuesday, April 23, 2013 1:30 PM > To: Jia Hongtao-B38951 > Cc: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org &g

[PATCH 2/2 V7] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-22 Thread Jia Hongtao
by the handler. We implements the handler which skips the instruction caused the stall. This patch depends on patch: powerpc/85xx: Add platform_device declaration to fsl_pci.h Signed-off-by: Zhao Chenhui Signed-off-by: Li Yang Signed-off-by: Liu Shuo Signed-off-by: Jia Hongtao --- V6

[PATCH 1/2] powerpc: Move opcode definitions from kvm/emulate.c to asm/ppc-opcode.h

2013-04-22 Thread Jia Hongtao
Opcode and xopcode are useful definitions not just for KVM. Move these definitions to asm/ppc-opcode.h for public use. Signed-off-by: Jia Hongtao Signed-off-by: Li Yang --- arch/powerpc/include/asm/ppc-opcode.h | 45 +++ arch/powerpc/kvm/emulate.c

RE: [PATCH V5] powerpc/MPIC: Add get_version API both for internal and external use

2013-04-11 Thread Jia Hongtao-B38951
Hi Kumar, Scott reviewed this patch and MSI errata patch for weeks. Here is the link for MSI errata patch: http://patchwork.ozlabs.org/patch/233211/ Could you please have a review and ACK them if they look good to you too? Thanks. - Hongtao > -Original Message- > From: Jia H

RE: [PATCH V6] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-11 Thread Jia Hongtao-B38951
> -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Thursday, April 11, 2013 9:47 PM > To: Jia Hongtao-B38951 > Cc: linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421; Li Yang-R58472 > Subject: Re: [PATCH V6] powerpc/85xx: Add machine ch

[PATCH V6] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-11 Thread Jia Hongtao
by the handler. We implements the handler which skips the instruction caused the stall. This patch depends on patch: powerpc/85xx: Add platform_device declaration to fsl_pci.h Signed-off-by: Zhao Chenhui Signed-off-by: Li Yang Signed-off-by: Liu Shuo Signed-off-by: Jia Hongtao --- V5: * Move

RE: [PATCH V5] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-11 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, April 11, 2013 5:52 AM > To: Jia Hongtao-B38951 > Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org; Wood Scott- > B07421; Li Yang-R58472; Jia Hongtao-B38951 > Subject: Re: [PATCH V5] powe

[PATCH V5] powerpc/MPIC: Add get_version API both for internal and external use

2013-04-09 Thread Jia Hongtao
MPIC version is useful information for both mpic_alloc() and mpic_init(). The patch provide an API to get MPIC version for reusing the code. Also, some other IP block may need MPIC version for their own use. The API for external use is also provided. Signed-off-by: Jia Hongtao Signed-off-by: Li

RE: [PATCH V4] powerpc/MPIC: Add get_version API both for internal and external use

2013-04-09 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, April 10, 2013 11:20 AM > To: Jia Hongtao-B38951 > Cc: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org; > ga...@kernel.crashing.org; Li Yang-R58472 > Subject: Re: [PATCH V4] powerpc/MPIC: Add get

RE: [PATCH V4] powerpc/MPIC: Add get_version API both for internal and external use

2013-04-09 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, April 10, 2013 11:12 AM > To: Jia Hongtao-B38951 > Cc: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org; > ga...@kernel.crashing.org; Li Yang-R58472 > Subject: Re: [PATCH V4] powerpc/MPIC: Add get

RE: [PATCH V4] powerpc/MPIC: Add get_version API both for internal and external use

2013-04-09 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, April 10, 2013 11:08 AM > To: Jia Hongtao-B38951 > Cc: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org; > ga...@kernel.crashing.org; Li Yang-R58472 > Subject: Re: [PATCH V4] powerpc/MPIC: Add get

RE: [PATCH V4] powerpc/MPIC: Add get_version API both for internal and external use

2013-04-09 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, April 10, 2013 10:32 AM > To: Jia Hongtao-B38951 > Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org; Wood Scott- > B07421; Li Yang-R58472; Jia Hongtao-B38951 > Subject: Re: [PATCH

RE: [PATCH V4] powerpc/MPIC: Add get_version API both for internal and external use

2013-04-09 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, April 10, 2013 10:32 AM > To: Jia Hongtao-B38951 > Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org; Wood Scott- > B07421; Li Yang-R58472; Jia Hongtao-B38951 > Subject: Re: [PATCH

RE: [PATCH V5] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-09 Thread Jia Hongtao-B38951
Hi Scott, I added load instruction handler for the skipped instruction. For now most common load instructions are handled in this patch. Any advice for this? Thanks. -Hongtao. > -Original Message- > From: Jia Hongtao-B38951 > Sent: Monday, April 08, 2013 4:27 PM > To:

RE: [PATCH V4] powerpc/MPIC: Add get_version API both for internal and external use

2013-04-09 Thread Jia Hongtao-B38951
Hi Kumar and Scott, Any more comments for this patch and MSI-X erratum patch? Thanks. -Hongtao. > -Original Message- > From: Jia Hongtao-B38951 > Sent: Monday, April 08, 2013 10:02 AM > To: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org > Cc: Wood Scott-

[PATCH V5] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-08 Thread Jia Hongtao
by the handler. We implements the handler which skips the instruction caused the stall. This patch depends on patch: powerpc/85xx: Add platform_device declaration to fsl_pci.h Signed-off-by: Zhao Chenhui Signed-off-by: Li Yang Signed-off-by: Liu Shuo Signed-off-by: Jia Hongtao --- Changes for

[PATCH V4] powerpc/MPIC: Add get_version API both for internal and external use

2013-04-07 Thread Jia Hongtao
MPIC version is useful information for both mpic_alloc() and mpic_init(). The patch provide an API to get MPIC version for reusing the code. Also, some other IP block may need MPIC version for their own use. The API for external use is also provided. Signed-off-by: Jia Hongtao Signed-off-by: Li

[PATCH V2 2/2] powerpc/85xx: workaround for chips with MSI hardware errata

2013-04-02 Thread Jia Hongtao
The MPIC version 2.0 has a MSI errata (errata PIC1 of mpc8544), It causes that neither MSI nor MSI-X can work fine. This is a workaround to allow MSI-X to function properly. Signed-off-by: Liu Shuo Signed-off-by: Li Yang Signed-off-by: Jia Hongtao --- Changes for V2: * change the name of

[PATCH V3 1/2] powerpc/MPIC: Add get_version API both for internal and external use

2013-04-02 Thread Jia Hongtao
MPIC version is useful information for both mpic_alloc() and mpic_init(). The patch provide an API to get MPIC version for reusing the code. Also, some other IP block may need MPIC version for their own use. The API for external use is also provided. Signed-off-by: Jia Hongtao Signed-off-by: Li

RE: [PATCH V4] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-02 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, March 30, 2013 12:34 AM > To: Jia Hongtao-B38951 > Cc: Wood Scott-B07421; David Laight; linuxppc-dev@lists.ozlabs.org; > Stuart Yoder > Subject: Re: [PATCH V4] powerpc/85xx: Add machine check handler

RE: [PATCH 2/2] powerpc/85xx: workaround for chips with MSI hardware errata

2013-04-01 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, March 30, 2013 5:55 AM > To: Jia Hongtao-B38951 > Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org; Wood Scott- > B07421; Li Yang-R58472; Jia Hongtao-B38951 > Subject: Re: [PATCH 2/2] pow

RE: [PATCH V2] powerpc/MPIC: Add get_version API both for internal and external use

2013-04-01 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, March 30, 2013 5:55 AM > To: Wood Scott-B07421 > Cc: Jia Hongtao-B38951; linuxppc-dev@lists.ozlabs.org; > ga...@kernel.crashing.org; Wood Scott-B07421; Li Yang-R58472; Jia > Hongtao-B38951 > Subject

RE: [PATCH V4] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-03-29 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, March 16, 2013 12:35 AM > To: Jia Hongtao-B38951 > Cc: Wood Scott-B07421; David Laight; linuxppc-dev@lists.ozlabs.org; > Stuart Yoder > Subject: Re: [PATCH V4] powerpc/85xx: Add machine check handler

RE: [PATCH V2] powerpc/MPIC: Add get_version API both for internal and external use

2013-03-29 Thread Jia Hongtao-B38951
Hi Kumar and Scott, Any comments on these two patches? Thanks. -Hongtao. > -Original Message- > From: Jia Hongtao-B38951 > Sent: Tuesday, March 26, 2013 1:28 PM > To: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org > Cc: Wood Scott-B07421; Li Yang-R58472; Jia

[PATCH V2] powerpc/MPIC: Add get_version API both for internal and external use

2013-03-25 Thread Jia Hongtao
MPIC version is useful information for both mpic_alloc() and mpic_init(). The patch provide an API to get MPIC version for reusing the code. Also, some other IP block may need MPIC version for their own use. The API for external use is also provided. Signed-off-by: Jia Hongtao Signed-off-by: Li

RE: [PATCH 1/2] powerpc/MPIC: Add get_version API both for internal and external use

2013-03-25 Thread Jia Hongtao-B38951
> -Original Message- > From: Michael Ellerman [mailto:mich...@ellerman.id.au] > Sent: Tuesday, March 26, 2013 12:14 PM > To: Jia Hongtao-B38951 > Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org; Wood Scott- > B07421 > Subject: Re: [PATCH 1/2] powerpc/

[PATCH 2/2] powerpc/85xx: workaround for chips with MSI hardware errata

2013-03-25 Thread Jia Hongtao
The MPIC version 2.0 has a MSI errata (errata PIC1 of mpc8544), It causes that neither MSI nor MSI-X can work fine. This is a workaround to allow MSI-X to function properly. Signed-off-by: Liu Shuo Signed-off-by: Li Yang Signed-off-by: Jia Hongtao --- arch/powerpc/sysdev/fsl_msi.c | 47

[PATCH 1/2] powerpc/MPIC: Add get_version API both for internal and external use

2013-03-25 Thread Jia Hongtao
MPIC version is useful information for both mpic_alloc() and mpic_init(). The patch provide an API to get MPIC version for reusing the code. Also, some other IP block may need MPIC version for their own use. The API for external use is also provided. Signed-off-by: Jia Hongtao Signed-off-by: Li

  1   2   3   >