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

2016-10-24 Thread Jia Hongtao
From: Hongtao Jia <hongtao@nxp.com> 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 <hongtao@nxp.com> --- Ch

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

2016-10-24 Thread Jia Hongtao
From: Hongtao Jia <hongtao@nxp.com> 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 <hongtao@nxp.com> --- Ch

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

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

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

2016-10-09 Thread Jia Hongtao
From: Hongtao Jia <hongtao@nxp.com> Also add nodes and properties for thermal management support. Signed-off-by: Jia Hongtao <hongtao@nxp.com> --- Changes for V2: * Rebase on latest linux-next tree (next-20161006). arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.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 <hongtao@nxp.com> Also add nodes and properties for thermal management support. Signed-off-by: Jia Hongtao <hongtao@nxp.com> --- Changes for V2: * Rebase on latest linux-next tree (next-20161006). arch/arm/boot/dts/ls102

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

2016-10-09 Thread Jia Hongtao
From: Hongtao Jia <hongtao@nxp.com> SoC compatible string and endianness property are added according to the new bindings. Signed-off-by: Jia Hongtao <hongtao@nxp.com> --- Changes for V2: * Rebase on latest linux-next tree (next-20161006). arch/powerpc/boot/dts/fsl/t1023

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

2016-10-09 Thread Jia Hongtao
From: Hongtao Jia <hongtao@nxp.com> SoC compatible string and endianness property are added according to the new bindings. Signed-off-by: Jia Hongtao <hongtao@nxp.com> --- Changes for V2: * Rebase on latest linux-next tree (next-20161006). arch/powerpc/boot/dts/fsl/t1040

[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 <hongtao@nxp.

[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 <hongtao@nxp.com> --- Changes for V2: *

[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 <hongtao@nxp.com> --- arch/powerpc/boot/dts/fsl/t1040si-post.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/t

[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 <hongtao@nxp.com> --- 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

[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 <hongtao@nxp.

[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 <hongtao@nxp.com> --- 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

[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 <hongtao@nxp.com> --- arch/powerpc/boot/dts/fsl/t1023si-post.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/t

[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 <hongtao@nxp.com> --- .../devicetree/bindings

[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 <hongtao@nxp.com> --- arch/arm/boot/dts/ls1021a.dtsi | 84 +- 1 file changed, 82 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi

[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 <hongtao@nxp.com> --- drivers/cpufreq/qoriq-cpufreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH V2] 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 <hongtao@nxp.

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

2016-04-18 Thread Jia Hongtao
. Signed-off-by: Jia Hongtao <hongtao@nxp.com> --- 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/d

[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 <hongtao@nxp.com> --- drivers/cpufreq/qoriq-cpufreq.c | 4 ++-- 1 file changed, 2 insertions

[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 <hongtao@freescale.com> Reviewed-by: Viresh Kumar <viresh.ku...@l

[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 <hongtao@freescale.com> --- Changes for V2: * Using ->ready callback for cp

[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 <hongtao@freescale.com> Reviewed-by: Scott Wood <scottw...@freescale.com> --- arch/powerpc/boot/dts/fsl/t1023rdb.d

[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 <hongtao@freescale.com> Reviewed-by: Scott Wood <scottw...@freescale.com> --- arch/powerpc/boot/dts/fsl/t1040d4rdb

[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 <hongtao@freescale.

[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 <hongtao@freescale.com> Reviewed-by: Scott Wood <scottw...@freescale.com> --- arch/arm/boot/dts/ls1021a.dtsi | 84 +- 1 file changed, 82 insertions(+),

[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 <hongtao@freescale.com> Reviewed-by: Scott Wood <scottw...@free

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

2015-11-23 Thread Jia Hongtao
. The patchset is reviewed by Scott Wood <scottw...@freescale.com>. 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

[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 <hongtao@freescale.com> Reviewed-by: Scott Wood <scottw...@freescale.com> --- .../devicetree/bindings/thermal/qoriq-thermal.txt | 63 ++ 1 file

[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 <hongtao@freescale.

[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 <hongtao@freescale.com> --- arch/powerpc/boot/dts/{ => fsl}/b4420qds.dts | 4 ++-- arch/powerpc/boot/dts/{ => fsl}

[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 <hongtao@freescale.com> --- arch/powerpc/boot/dts/{ => fsl}/b4420qds.dts | 4 ++-- arch/powerpc/boot/dts/{ => fsl}

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

2015-07-29 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 hongtao@freescale.com --- This patch based on: http://patchwork.ozlabs.org/patch/482987/ Changes for V2

[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 hongtao@freescale.com --- 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 calibration data

[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 hongtao@freescale.com --- Changes from V1: * Provide more details on compatible and calibration properties. .../devicetree/bindings/thermal/qoriq-thermal.txt | 68 ++ arch/powerpc/boot/dts/fsl

[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 hongtao@freescale.com --- drivers/thermal/Kconfig | 11 ++ drivers/thermal/Makefile| 1

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

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

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

2015-03-12 Thread Jia Hongtao
Signed-off-by: Jia Hongtao hongtao@freescale.com --- 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

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

2015-03-12 Thread Jia Hongtao
Signed-off-by: Jia Hongtao hongtao@freescale.com --- 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

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

2015-02-25 Thread Jia Hongtao
From: Hongtao Jia hongtao@freescale.com 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 soniccat@gmail.com Signed-off-by: Li Yang le

[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 hongtao@freescale.com --- 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

[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 hongtao@freescale.com --- 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

[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 hongtao@freescale.com --- V3 change log: * Change channel to i2c based on i2c-mux binding. * Update vendor from philips to nxp

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-B38951 Cc: Wood Scott

[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 hongtao@freescale.com --- V3 change log: * change channel to i2c based on i2c-mux binding. V2 change log: * Reorganized the sub

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 MSI hardware errata On Wed

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 bus multiplexer node for B4

[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 hongtao@freescale.com --- V2 change log: Reorganized the sub-nodes under I2C multiplexer to represent right topology. arch

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 -Original Message- From

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

2013-09-03 Thread Jia Hongtao-B38951
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; Jia Hongtao-B38951

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,Wei Cc: Wood Scott

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: Fix compile error on mpc83xx

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.org Cc: ga

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...@kernel.crashing.org; Li

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

2013-07-01 Thread Jia Hongtao
From: Hongtao Jia hongtao@freescale.com 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

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 hardware errata On Wed, Apr

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: Add get_version API both

[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 b38...@freescale.com Signed-off

[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 hongtao@freescale.com

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] powerpc/msi: Fix compile error

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 Herrenschmidt' Cc: linuxppc-dev

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

2013-05-13 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 Subject: RE: [PATCH 2/2 V8

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; Jia Hongtao-B38951 Subject: Re: [PATCH 2/2 V8

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 machine check handler to fix

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 Subject: Re: [PATCH 2/2 V8] powerpc

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

2013-04-28 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 hongtao@freescale.com Signed-off-by: Li Yang le...@freescale.com --- V2: * Add LHAUX definition. arch/powerpc/include/asm/ppc-opcode.h | 46

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

2013-04-28 Thread Jia Hongtao
soniccat@gmail.com Signed-off-by: Jia Hongtao hongtao@freescale.com --- V8: * Add A variant load instruction emulation. V7: * Correct PCIe checking method (Using indirect_type member of pci_controller stucture). V6: * Move OP and XOP defines to a new header file: asm/ppc-disassemble.h * Add X

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 V7] powerpc/85xx: Add machine check

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 machine check handler to fix

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 opcode definitions from

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

2013-04-23 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 Subject: Re: [PATCH 1/2

[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 hongtao@freescale.com Signed-off-by: Li Yang le...@freescale.com --- arch/powerpc/include/asm/ppc-opcode.h | 45

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

2013-04-22 Thread Jia Hongtao
soniccat@gmail.com Signed-off-by: Jia Hongtao hongtao@freescale.com --- V6: * Correct PCIe checking method (Using indirect_type member of pci_controller stucture). V5: * Move OP and XOP defines to a new header file: asm/ppc-disassemble.h * Add X UX BRX variant of load instruction emulation

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] powerpc/85xx: Add machine check

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

2013-04-11 Thread Jia Hongtao
soniccat@gmail.com Signed-off-by: Jia Hongtao hongtao@freescale.com --- V5: * Move OP and XOP defines to a new header file: asm/ppc-disassemble.h * Add X UX BRX variant of load instruction emulation * Remove A variant of load instruction emulation V4: * Fill rd with all-Fs if the skipped

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 check handler to fix PCIe

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 Hongtao

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-B07421; Li Yang-R58472

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 V4] powerpc/MPIC: Add get_version API

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 V4] powerpc/MPIC: Add get_version API

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_version API both for internal

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_version API both for internal

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_version API both for internal

[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 hongtao

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

2013-04-08 Thread Jia Hongtao
soniccat@gmail.com Signed-off-by: Jia Hongtao hongtao@freescale.com --- Changes for V4: * Fill rd with all-Fs if the skipped instruction is load and emulate the instruction. * Let KVM/QEMU deal with the exception if the machine check comes from KVM. arch/powerpc/kernel/cpu_setup_fsl_booke.S

[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 hongtao

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

2013-04-02 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 V2] powerpc/MPIC: Add

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

2013-04-02 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] powerpc/85xx: workaround for chips

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 to fix PCIe erratum

[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 hongtao

[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 soniccat@gmail.com Signed-off-by: Li Yang le...@freescale.com Signed-off-by: Jia Hongtao

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 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 to fix PCIe erratum

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

2013-03-26 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 hongtao

[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 hongtao

[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 soniccat@gmail.com Signed-off-by: Li Yang le...@freescale.com Signed-off-by: Jia Hongtao

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/MPIC: Add get_version API both

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

2013-03-21 Thread Jia Hongtao-B38951
-Original Message- From: Wood Scott-B07421 Sent: Wednesday, March 20, 2013 12:32 AM To: Jia Hongtao-B38951 Cc: Kumar Gala; linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421; mich...@ellerman.id.au; Li Yang-R58472 Subject: Re: [PATCH V2] powerpc/85xx: workaround for chips with MSI

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

2013-03-19 Thread Jia Hongtao-B38951
-Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Friday, March 15, 2013 11:53 PM To: Jia Hongtao-B38951 Cc: linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421; mich...@ellerman.id.au; Li Yang-R58472 Subject: Re: [PATCH V2] powerpc/85xx: workaround

RE: [PATCH] powerpc/85xx: Add platform_device declaration to fsl_pci.h

2013-03-15 Thread Jia Hongtao-B38951
-Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Wednesday, March 13, 2013 4:46 AM To: Jia Hongtao-B38951 Cc: linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421; Li Yang-R58472 Subject: Re: [PATCH] powerpc/85xx: Add platform_device declaration

  1   2   3   >