[PATCH] cpuidle: coupled: fix the potensial race condition and deadlock

2012-12-02 Thread Joseph Lo
the CPU out of idle are enough. And this fix didn't modify the original behavior of coupled cpuidle framework. It should still compitable with the origianal. The cpuidle driver that already applies coupled cpuidle not need to change as well. Cc: Colin Cross ccr...@android.com Signed-off-by: Joseph Lo

Re: CPU hotplug hang due to swap: make each swap partition have one address_space

2013-02-03 Thread Joseph Lo
On Mon, 2013-02-04 at 10:36 +0800, Shaohua Li wrote: On Fri, Feb 01, 2013 at 10:02:33PM -0700, Stephen Warren wrote: Shaohua, In next-20130128, commit 174f064 swap: make each swap partition have one address_space (from the mm/akpm tree) appears causes a hang/RCU stall for me when

Re: [PATCH 2/5] cpufreq: star/stop cpufreq timers on cpu hotplug

2013-01-29 Thread Joseph Lo
On Wed, 2013-01-30 at 12:52 +0800, Viresh Kumar wrote: Hi Fabio, Sorry for waking up very late :) The reason why i am starting this thread again is due to problem reported by Joseph, with latest linux-next/master branch (which contains few big patches from me :) ): After Viresh point

Re: [PATCH v3 0/9] Migrate Tegra to common clock framework

2013-01-04 Thread Joseph Lo
/tegra from mach-tegra. 5. Add device tree support for Tegra20 and Tegra30 clocks. 6. Remove all legacy clock code from mach-tegra. Tested on Tegra30 (Cardhu) and Tegra20 (Ventana). Changes from v2: Removed APB MISC node. Fixed some issues reported by Joseph Lo. Added function to read

Re: [PATCH 1/7] ARM: dt: tegra20: Add clock information

2013-01-04 Thread Joseph Lo
On Fri, 2013-01-04 at 17:46 +0800, Prashant Gaikwad wrote: Add clock information to device nodes. Signed-off-by: Prashant Gaikwad pgaik...@nvidia.com --- Tested on Ventana (Tegra20) and Cardhu (Tegra30). This series depends on ccf-rework patch series. --- This series : Tested-by: Joseph

Re: [PATCH 2/3] cpuidle: coupled: abort idle if pokes are pending

2013-08-26 Thread Joseph Lo
On Sat, 2013-08-24 at 03:45 +0800, Colin Cross wrote: Joseph Lo jose...@nvidia.com reported a lockup on Tegra3 caused by a race condition in coupled cpuidle. When two or more cpus Actually this issue can be reproduced on both Tegra20/30 platforms. And I suggest using Tegra20 to replace Tegra3

Re: [PATCH 06/21] ARM: tegra: call cpu_do_idle from C code

2013-04-23 Thread Joseph Lo
a tegra kernel with ARMv6 support enabled. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Joseph Lo jose...@nvidia.com Cc: Stephen Warren swar...@nvidia.com --- Hi Arnd, Thanks for fixing. Tested-by: Joseph Lo jose...@nvidia.com Joseph -- To unsubscribe from this list: send the line

Re: [PATCH 07/21] ARM: tegra: unify tegra_idle_device definitions

2013-04-23 Thread Joseph Lo
On Wed, 2013-04-24 at 06:04 +0800, Daniel Lezcano wrote: On 04/23/2013 08:57 PM, Arnd Bergmann wrote: On Tuesday 23 April 2013, Daniel Lezcano wrote: the patch sounds good but I think the side effect of the consolidation patchset [1] fixed that. You can find these fixes in Rafael's

Re: [PATCH 4/4] clk: tegra114: table driven PMC clock init

2013-09-03 Thread Joseph Lo
On Tue, 2013-09-03 at 21:31 +0800, Peter De Schrijver wrote: This patch converts the Tegra114 audio clock registration to be table driven like the periph clocks. s/audio/PMC/ :) Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com --- drivers/clk/tegra/clk-tegra114.c | 58

Re: [PATCH 07/32] arm: delete __cpuinit/__CPUINIT usage from all ARM users

2013-07-02 Thread Joseph Lo
Adding linux-tegra in Cc. On Tue, 2013-06-25 at 03:30 +0800, Paul Gortmaker wrote: The __cpuinit type of throwaway sections might have made sense some time ago when RAM was more constrained, but now the savings do not offset the cost and complications. For example, the fix in commit

Re: [RFC 04/10] memory: Add Tegra124 memory controller support

2014-06-27 Thread Joseph Lo
Hi Thierry, On 06/27/2014 04:49 AM, Thierry Reding wrote: [snip] + +#define MC_INTSTATUS 0x000 +#define MC_INT_DECERR_MTS (1 16) +#define MC_INT_SECERR_SEC (1 13) +#define MC_INT_DECERR_VPR (1 12) +#define MC_INT_INVALID_APB_ASID_UPDATE (1 11) +#define MC_INT_INVALID_SMMU_PAGE (1 10)

Re: [PATCHv4] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-14 Thread Joseph Lo
Tested-by: Joseph Lo jose...@nvidia.com And thanks for your fix. --- changes in v4: separate 8250 port suspend/resume from of_serial_suspend/resume. changes in v3: fix up point reference and deference. changes in v2: add switch selection on uart type. drivers/tty/serial/of_serial.c | 52

Re: [PATCHv4] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-15 Thread Joseph Lo
On 10/15/2014 02:32 PM, Jingchang Lu wrote: -Original Message- From: Joseph Lo [mailto:jose...@nvidia.com] Sent: Wednesday, October 15, 2014 9:01 AM To: Lu Jingchang-B35083; gre...@linuxfoundation.org Cc: pe...@hurleysoftware.com; a...@arndb.de; linux-kernel@vger.kernel.org; linux-ser

Re: [PATCHv4] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-15 Thread Joseph Lo
On 10/15/2014 02:41 PM, Joseph Lo wrote: On 10/15/2014 02:32 PM, Jingchang Lu wrote: -Original Message- From: Joseph Lo [mailto:jose...@nvidia.com] Sent: Wednesday, October 15, 2014 9:01 AM To: Lu Jingchang-B35083; gre...@linuxfoundation.org Cc: pe...@hurleysoftware.com; a...@arndb.de

Re: [PATCHv5] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-15 Thread Joseph Lo
suspend/resume from of_serial_suspend/resume. changes in v3: fix up point reference and deference. changes in v2: add switch selection on uart type. Hi Jingchang, Thanks for the fix. This patch Tested-by: Joseph Lo jose...@nvidia.com drivers/tty/serial/of_serial.c | 53

Re: [PATCH] serial: of-serial: add PM suspend/resume support

2014-10-03 Thread Joseph Lo
Hi, This patch might have a potential issue that cause system hard hung immediately when it accesses to registers with no clock. This could happen on many chips that mainline kernel supporting with the setting no_console_suspend=1 during suspend time. On 09/23/2014 04:34 PM, Jingchang Lu

Re: [PATCHv2] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-13 Thread Joseph Lo
Hi, On 10/13/2014 03:37 PM, Jingchang Lu wrote: This patch fixes commit 2dea53bf57783f243c892e99c10c6921e956aa7e, serial: of-serial: add PM suspend/resume support, which disables the uart clock on suspend, but also causes a hardware hang on register access if no_console_suspend command line

Re: [PATCH] ARM: tegra: Ensure entire dcache is flushed on entering LP0/1

2015-11-21 Thread Joseph Lo
he fix. Reviewed-by: Joseph Lo <jose...@nvidia.com> Please note that I have not encountered any problems without this change so far, but I noticed this from reviewing the suspend sequence. I have tested this on tegra20, tegra30, tegra114 and tegra124 and verified that suspend/resume to LP1 is

Re: [PATCH 03/10] Documentation: dt-bindings: firmware: tegra: add bindings of the BPMP

2016-06-28 Thread Joseph Lo
On 06/28/2016 12:08 AM, Stephen Warren wrote: On 06/27/2016 03:02 AM, Joseph Lo wrote: The BPMP is a specific processor in Tegra chip, which is designed for booting process handling and offloading the power management tasks from the CPU. The binding document defines the resources that would

Re: [PATCH 01/10] Documentation: dt-bindings: mailbox: tegra: Add binding for HSP mailbox

2016-06-28 Thread Joseph Lo
On 06/27/2016 11:55 PM, Stephen Warren wrote: On 06/27/2016 03:02 AM, Joseph Lo wrote: Add DT binding for the Hardware Synchronization Primitives (HSP). The HSP is designed for the processors to share resources and communicate together. It provides a set of hardware synchronization primitives

[PATCH V3 3/10] Documentation: dt-bindings: firmware: tegra: add bindings of the BPMP

2016-07-19 Thread Joseph Lo
the interprocessor communication (IPC) between the CPU and BPMP. Signed-off-by: Joseph Lo <jose...@nvidia.com> --- Changes in V3: - s/mmio-ram/mmio-sram/ - revise the file path of the reference binding documents and header files for more generic viem in different SW projects Changes in V2: -

Re: [PATCH V2 01/10] Documentation: dt-bindings: mailbox: tegra: Add binding for HSP mailbox

2016-07-19 Thread Joseph Lo
On 07/19/2016 07:13 AM, Stephen Warren wrote: On 07/11/2016 10:08 AM, Stephen Warren wrote: On 07/11/2016 08:14 AM, Rob Herring wrote: On Thu, Jul 07, 2016 at 12:35:02PM -0600, Stephen Warren wrote: On 07/07/2016 12:13 PM, Sivaram Nair wrote: On Tue, Jul 05, 2016 at 05:04:22PM +0800, Joseph

[PATCH V3 01/10] Documentation: dt-bindings: mailbox: tegra: Add binding for HSP mailbox

2016-07-19 Thread Joseph Lo
use hardware synchronization primitive, when operating between two processors not in an SMP relationship. Signed-off-by: Joseph Lo <jose...@nvidia.com> --- Sorry. Please allow me just update the binding patches of this series. Want to make sure the binding is acceptable first. Thanks. Changes

Re: [PATCH V3 3/10] Documentation: dt-bindings: firmware: tegra: add bindings of the BPMP

2016-07-19 Thread Joseph Lo
On 07/20/2016 09:22 AM, Rob Herring wrote: On Tue, Jul 19, 2016 at 05:17:23PM +0800, Joseph Lo wrote: The BPMP is a specific processor in Tegra chip, which is designed for booting process handling and offloading the power management, clock management, and reset control tasks from the CPU

Re: [PATCH V2 02/10] mailbox: tegra-hsp: Add HSP(Hardware Synchronization Primitives) driver

2016-07-18 Thread Joseph Lo
On 07/08/2016 05:10 AM, Sivaram Nair wrote: On Tue, Jul 05, 2016 at 05:04:23PM +0800, Joseph Lo wrote: The Tegra HSP mailbox driver implements the signaling doorbell-based interprocessor communication (IPC) for remote processors currently. The HSP HW modules support some different features

Re: [PATCH V2 02/10] mailbox: tegra-hsp: Add HSP(Hardware Synchronization Primitives) driver

2016-07-18 Thread Joseph Lo
On 07/08/2016 05:33 AM, Sivaram Nair wrote: On Thu, Jul 07, 2016 at 02:37:27PM +0800, Joseph Lo wrote: On 07/06/2016 08:23 PM, Alexandre Courbot wrote: On Wed, Jul 6, 2016 at 6:06 PM, Joseph Lo <jose...@nvidia.com> wrote: On 07/06/2016 03:05 PM, Alexandre Courbot wrote: On Tue, Jul 5

Re: [PATCH V2 03/10] Documentation: dt-bindings: firmware: tegra: add bindings of the BPMP

2016-07-18 Thread Joseph Lo
Hi Rob, Thanks for your reviewing. On 07/12/2016 12:05 AM, Stephen Warren wrote: On 07/11/2016 08:22 AM, Rob Herring wrote: On Tue, Jul 05, 2016 at 05:04:24PM +0800, Joseph Lo wrote: The BPMP is a specific processor in Tegra chip, which is designed for booting process handling and offloading

Re: [PATCH V2 03/10] Documentation: dt-bindings: firmware: tegra: add bindings of the BPMP

2016-07-18 Thread Joseph Lo
On 07/14/2016 03:41 AM, Stephen Warren wrote: On 07/05/2016 03:04 AM, Joseph Lo wrote: The BPMP is a specific processor in Tegra chip, which is designed for booting process handling and offloading the power management, clock management, and reset control tasks from the CPU. The binding document

[PATCH 05/10] firmware: tegra: add BPMP support

2016-06-27 Thread Joseph Lo
needs two things to initiate IPC between BPMP. Get the service from the bpmp_ops structure and maintain the message format as the BPMP ABI defined. Based-on-the-work-by: Sivaram Nair <sivar...@nvidia.com> Signed-off-by: Joseph Lo <jose...@nvidia.com> --- drivers/firmware/tegra/Kco

[PATCH 06/10] soc/tegra: Add Tegra186 support

2016-06-27 Thread Joseph Lo
. Signed-off-by: Joseph Lo <jose...@nvidia.com> --- drivers/soc/tegra/Kconfig | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/soc/tegra/Kconfig b/drivers/soc/tegra/Kconfig index 03089ad2fc65..88a71dfd466c 100644 --- a/drivers/soc/tegra/Kconfig +++ b/drivers/soc

[PATCH 04/10] firmware: tegra: add IVC library

2016-06-27 Thread Joseph Lo
and payloads. So the clients can use it to send/receive messages to/from remote ones. We introduce it as a library for the firmware drivers, which can use it for IPC. Based-on-the-work-by: Peter Newman <pnew...@nvidia.com> Signed-off-by: Joseph Lo <jose...@nvidia.com> --- driv

[PATCH 02/10] mailbox: tegra-hsp: Add HSP(Hardware Synchronization Primitives) driver

2016-06-27 Thread Joseph Lo
. And there are multiple HSP HW instances on the chip. So the driver is extendable to support more features for different IPC requirement. The driver of remote processor can use it as a mailbox client and deal with the IPC protocol to synchronize the data communications. Signed-off-by: Joseph Lo <j

[PATCH 00/10] arm64: tegra: add BPMP support

2016-06-27 Thread Joseph Lo
supports debug console and initrd for initial bring up currently. More drivers and functions can be supported based on this later. Thanks, Joseph Joseph Lo (10): Documentation: dt-bindings: mailbox: tegra: Add binding for HSP mailbox mailbox: tegra-hsp: Add HSP(Hardware Synchronization

[PATCH 01/10] Documentation: dt-bindings: mailbox: tegra: Add binding for HSP mailbox

2016-06-27 Thread Joseph Lo
use hardware synchronization primitive, when operating between two processors not in an SMP relationship. Signed-off-by: Joseph Lo <jose...@nvidia.com> --- .../bindings/mailbox/nvidia,tegra186-hsp.txt | 42 ++ include/dt-bindings/mailbox/tegra-hsp.h

[PATCH 03/10] Documentation: dt-bindings: firmware: tegra: add bindings of the BPMP

2016-06-27 Thread Joseph Lo
) between the CPU and BPMP. Signed-off-by: Joseph Lo <jose...@nvidia.com> --- .../bindings/firmware/nvidia,tegra186-bpmp.txt | 61 ++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/firmware/nvidia,tegra186-bpmp.txt diff

[PATCH 10/10] arm64: dts: tegra: Add NVIDIA P2771 board support

2016-06-27 Thread Joseph Lo
Add NVIDIA Tegra186 P2771 board support, which is a reference development board with P2597 I/O board and P3310 chip module on it. Signed-off-by: Joseph Lo <jose...@nvidia.com> --- arch/arm64/boot/dts/nvidia/Makefile| 1 + arch/arm64/boot/dts/nvidia/tegra186-p2771-.d

[PATCH 08/10] arm64: dts: tegra: Add Tegra186 support

2016-06-27 Thread Joseph Lo
This adds the initial support of Tegra186 SoC, which can help to bring up the debug console and initrd for further developing. Signed-off-by: Joseph Lo <jose...@nvidia.com> --- arch/arm64/boot/dts/nvidia/tegra186.dtsi | 77 1 file changed, 77 inse

[PATCH 09/10] arm64: dts: tegra: Add NVIDIA Tegra186 P3310 main board support

2016-06-27 Thread Joseph Lo
Add NVIDIA Tegra186 P3310 main board support, which is a chip module with DRAM, nonvolatile storage, WiFi, ethernet and PMIC chips on it. It also needs an IO board and hooks on it to represent as an application platform. Signed-off-by: Joseph Lo <jose...@nvidia.com> --- arch/arm64/bo

[PATCH 07/10] arm64: defconfig: Enable Tegra186 SoC

2016-06-27 Thread Joseph Lo
Enable Tegra186 SoC. Signed-off-by: Joseph Lo <jose...@nvidia.com> --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index f267eea101a7..033d9cb1e983 100644 --- a/arch/arm64/configs/defconfig

Re: [PATCH 01/10] Documentation: dt-bindings: mailbox: tegra: Add binding for HSP mailbox

2016-06-28 Thread Joseph Lo
On 06/29/2016 03:08 AM, Stephen Warren wrote: On 06/28/2016 03:15 AM, Joseph Lo wrote: On 06/27/2016 11:55 PM, Stephen Warren wrote: On 06/27/2016 03:02 AM, Joseph Lo wrote: snip. Currently the usage of HSP HW in the downstream kernel is something like the model below. remote_processor_A

[PATCH V2 00/10] arm64: tegra: add BPMP support

2016-07-05 Thread Joseph Lo
to represent the binding update Joseph Lo (10): Documentation: dt-bindings: mailbox: tegra: Add binding for HSP mailbox mailbox: tegra-hsp: Add HSP(Hardware Synchronization Primitives) driver Documentation: dt-bindings: firmware: tegra: add bindings of the BPMP firmware: tegra: add

[PATCH V2 01/10] Documentation: dt-bindings: mailbox: tegra: Add binding for HSP mailbox

2016-07-05 Thread Joseph Lo
use hardware synchronization primitive, when operating between two processors not in an SMP relationship. Signed-off-by: Joseph Lo <jose...@nvidia.com> --- Changes in V2: - revise the compatible string, interrupt-names, interrupts, and #mbox-cells properties - remove "nvidia,hsp-functio

[PATCH V2 06/10] soc/tegra: Add Tegra186 support

2016-07-05 Thread Joseph Lo
. Signed-off-by: Joseph Lo <jose...@nvidia.com> --- Changes in V2: - None --- drivers/soc/tegra/Kconfig | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/soc/tegra/Kconfig b/drivers/soc/tegra/Kconfig index 03089ad2fc65..88a71dfd466c 100644 --- a/drivers/soc/tegra/K

[PATCH V2 05/10] firmware: tegra: add BPMP support

2016-07-05 Thread Joseph Lo
needs two things to initiate IPC between BPMP. Get the service from the bpmp_ops structure and maintain the message format as the BPMP ABI defined. Based-on-the-work-by: Sivaram Nair <sivar...@nvidia.com> Signed-off-by: Joseph Lo <jose...@nvidia.com> --- Changes in V2: - None --- driv

[PATCH V2 03/10] Documentation: dt-bindings: firmware: tegra: add bindings of the BPMP

2016-07-05 Thread Joseph Lo
the interprocessor communication (IPC) between the CPU and BPMP. Signed-off-by: Joseph Lo <jose...@nvidia.com> --- Changes in V2: - update the message that the BPMP is clock and reset control provider - add tegra186-clock.h and tegra186-reset.h header files - revise the description of the re

[PATCH V2 04/10] firmware: tegra: add IVC library

2016-07-05 Thread Joseph Lo
and payloads. So the clients can use it to send/receive messages to/from remote ones. We introduce it as a library for the firmware drivers, which can use it for IPC. Based-on-the-work-by: Peter Newman <pnew...@nvidia.com> Signed-off-by: Joseph Lo <jose...@nvidia.com> --- Changes i

[PATCH V2 07/10] arm64: defconfig: Enable Tegra186 SoC

2016-07-05 Thread Joseph Lo
Enable Tegra186 SoC. Signed-off-by: Joseph Lo <jose...@nvidia.com> --- Changes in V2: - None --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index e69051098435..64d767ec142c 100644 --- a/arch

[PATCH V2 02/10] mailbox: tegra-hsp: Add HSP(Hardware Synchronization Primitives) driver

2016-07-05 Thread Joseph Lo
. And there are multiple HSP HW instances on the chip. So the driver is extendable to support more features for different IPC requirement. The driver of remote processor can use it as a mailbox client and deal with the IPC protocol to synchronize the data communications. Signed-off-by: Joseph Lo <j

[PATCH V2 09/10] arm64: dts: tegra: Add NVIDIA Tegra186 P3310 main board support

2016-07-05 Thread Joseph Lo
Add NVIDIA Tegra186 P3310 main board support, which is a chip module with DRAM, nonvolatile storage, WiFi, ethernet and PMIC chips on it. It also needs an IO board and hooks on it to represent as an application platform. Signed-off-by: Joseph Lo <jose...@nvidia.com> --- Changes in V2: -

[PATCH V2 10/10] arm64: dts: tegra: Add NVIDIA P2771 board support

2016-07-05 Thread Joseph Lo
Add NVIDIA Tegra186 P2771 board support, which is a reference development board with P2597 I/O board and P3310 chip module on it. Signed-off-by: Joseph Lo <jose...@nvidia.com> --- Changes in V2: - None --- arch/arm64/boot/dts/nvidia/Makefile| 1 + arch/arm64/boot/dts/

[PATCH V2 08/10] arm64: dts: tegra: Add Tegra186 support

2016-07-05 Thread Joseph Lo
This adds the initial support of Tegra186 SoC, which can help to bring up the debug console and initrd for further developing. Signed-off-by: Joseph Lo <jose...@nvidia.com> --- Changes in V2: - update the file according the HSP and BPMP binding fix in V2 --- arch/arm64/boot/dts/nvidia/te

Re: [PATCH V2 03/10] Documentation: dt-bindings: firmware: tegra: add bindings of the BPMP

2016-07-07 Thread Joseph Lo
On 07/06/2016 07:42 PM, Alexandre Courbot wrote: On Tue, Jul 5, 2016 at 6:04 PM, Joseph Lo <jose...@nvidia.com> wrote: The BPMP is a specific processor in Tegra chip, which is designed for booting process handling and offloading the power management, clock management, and reset control

Re: [PATCH V2 03/10] Documentation: dt-bindings: firmware: tegra: add bindings of the BPMP

2016-07-07 Thread Joseph Lo
On 07/07/2016 01:03 AM, Stephen Warren wrote: On 07/05/2016 03:04 AM, Joseph Lo wrote: The BPMP is a specific processor in Tegra chip, which is designed for booting process handling and offloading the power management, clock management, and reset control tasks from the CPU. The binding document

Re: [PATCH V2 01/10] Documentation: dt-bindings: mailbox: tegra: Add binding for HSP mailbox

2016-07-07 Thread Joseph Lo
On 07/07/2016 01:02 AM, Stephen Warren wrote: On 07/05/2016 03:04 AM, Joseph Lo wrote: Add DT binding for the Hardware Synchronization Primitives (HSP). The HSP is designed for the processors to share resources and communicate together. It provides a set of hardware synchronization primitives

Re: [PATCH V2 02/10] mailbox: tegra-hsp: Add HSP(Hardware Synchronization Primitives) driver

2016-07-07 Thread Joseph Lo
On 07/06/2016 08:23 PM, Alexandre Courbot wrote: On Wed, Jul 6, 2016 at 6:06 PM, Joseph Lo <jose...@nvidia.com> wrote: On 07/06/2016 03:05 PM, Alexandre Courbot wrote: On Tue, Jul 5, 2016 at 6:04 PM, Joseph Lo <jose...@nvidia.com> wrote: The Tegra HSP mailbox driver implements t

Re: [PATCH V2 02/10] mailbox: tegra-hsp: Add HSP(Hardware Synchronization Primitives) driver

2016-07-07 Thread Joseph Lo
On 07/07/2016 12:50 AM, Stephen Warren wrote: On 07/06/2016 03:06 AM, Joseph Lo wrote: On 07/06/2016 03:05 PM, Alexandre Courbot wrote: On Tue, Jul 5, 2016 at 6:04 PM, Joseph Lo <jose...@nvidia.com> wrote: The Tegra HSP mailbox driver implements the signaling doorbell-based interpro

Re: [PATCH V2 05/10] firmware: tegra: add BPMP support

2016-07-07 Thread Joseph Lo
On 07/06/2016 07:39 PM, Alexandre Courbot wrote: Sorry, I will probably need to do several passes on this one to understand everything, but here is what I can say after a first look: On Tue, Jul 5, 2016 at 6:04 PM, Joseph Lo <jose...@nvidia.com> wrote: The Tegra BPMP (Boot and Power Mana

Re: [PATCH V2 02/10] mailbox: tegra-hsp: Add HSP(Hardware Synchronization Primitives) driver

2016-07-06 Thread Joseph Lo
On 07/06/2016 03:05 PM, Alexandre Courbot wrote: On Tue, Jul 5, 2016 at 6:04 PM, Joseph Lo <jose...@nvidia.com> wrote: The Tegra HSP mailbox driver implements the signaling doorbell-based interprocessor communication (IPC) for remote processors currently. The HSP HW modules suppor

Re: [PATCH 01/10] Documentation: dt-bindings: mailbox: tegra: Add binding for HSP mailbox

2016-06-30 Thread Joseph Lo
On 06/29/2016 11:28 PM, Stephen Warren wrote: On 06/28/2016 11:56 PM, Joseph Lo wrote: On 06/29/2016 03:08 AM, Stephen Warren wrote: On 06/28/2016 03:15 AM, Joseph Lo wrote: On 06/27/2016 11:55 PM, Stephen Warren wrote: On 06/27/2016 03:02 AM, Joseph Lo wrote: snip. Currently the usage

Re: [PATCH 01/10] Documentation: dt-bindings: mailbox: tegra: Add binding for HSP mailbox

2016-06-30 Thread Joseph Lo
On 07/01/2016 12:02 AM, Stephen Warren wrote: On 06/30/2016 03:25 AM, Joseph Lo wrote: On 06/29/2016 11:28 PM, Stephen Warren wrote: On 06/28/2016 11:56 PM, Joseph Lo wrote: On 06/29/2016 03:08 AM, Stephen Warren wrote: On 06/28/2016 03:15 AM, Joseph Lo wrote: On 06/27/2016 11:55 PM

Re: [PATCH 2/5] cpufreq: star/stop cpufreq timers on cpu hotplug

2013-01-29 Thread Joseph Lo
On Wed, 2013-01-30 at 12:52 +0800, Viresh Kumar wrote: > Hi Fabio, > > Sorry for waking up very late :) > > The reason why i am starting this thread again is due to problem > reported by Joseph, > with latest linux-next/master branch (which contains few big patches > from me :) ): > After

Re: CPU hotplug hang due to "swap: make each swap partition have one address_space"

2013-02-03 Thread Joseph Lo
On Mon, 2013-02-04 at 10:36 +0800, Shaohua Li wrote: > On Fri, Feb 01, 2013 at 10:02:33PM -0700, Stephen Warren wrote: > > Shaohua, > > > > In next-20130128, commit 174f064 "swap: make each swap partition have > > one address_space" (from the mm/akpm tree) appears causes a hang/RCU > > stall for

Re: [PATCH 06/21] ARM: tegra: call cpu_do_idle from C code

2013-04-23 Thread Joseph Lo
unction lets us build > a tegra kernel with ARMv6 support enabled. > > Signed-off-by: Arnd Bergmann > Cc: Joseph Lo > Cc: Stephen Warren > --- Hi Arnd, Thanks for fixing. Tested-by: Joseph Lo Joseph -- To unsubscribe from this list: send the line "unsubscribe linux-kern

Re: [PATCH 07/21] ARM: tegra: unify tegra_idle_device definitions

2013-04-23 Thread Joseph Lo
On Wed, 2013-04-24 at 06:04 +0800, Daniel Lezcano wrote: > On 04/23/2013 08:57 PM, Arnd Bergmann wrote: > > On Tuesday 23 April 2013, Daniel Lezcano wrote: > >> the patch sounds good but I think the side effect of the consolidation > >> patchset [1] fixed that. > >> > >> You can find these fixes

Re: [PATCH 4/4] clk: tegra114: table driven PMC clock init

2013-09-03 Thread Joseph Lo
On Tue, 2013-09-03 at 21:31 +0800, Peter De Schrijver wrote: > This patch converts the Tegra114 audio clock registration to be table driven > like the periph clocks. s/audio/PMC/ :) > > Signed-off-by: Peter De Schrijver > --- > drivers/clk/tegra/clk-tegra114.c | 58 >

Re: [PATCH 07/32] arm: delete __cpuinit/__CPUINIT usage from all ARM users

2013-07-02 Thread Joseph Lo
Adding linux-tegra in Cc. On Tue, 2013-06-25 at 03:30 +0800, Paul Gortmaker wrote: > The __cpuinit type of throwaway sections might have made sense > some time ago when RAM was more constrained, but now the savings > do not offset the cost and complications. For example, the fix in > commit

Re: [RFC 04/10] memory: Add Tegra124 memory controller support

2014-06-27 Thread Joseph Lo
Hi Thierry, On 06/27/2014 04:49 AM, Thierry Reding wrote: [snip] + +#define MC_INTSTATUS 0x000 +#define MC_INT_DECERR_MTS (1 << 16) +#define MC_INT_SECERR_SEC (1 << 13) +#define MC_INT_DECERR_VPR (1 << 12) +#define MC_INT_INVALID_APB_ASID_UPDATE (1 << 11) +#define MC_INT_INVALID_SMMU_PAGE

[PATCH] cpuidle: coupled: fix the potensial race condition and deadlock

2012-12-02 Thread Joseph Lo
from waiting and checking if the CPU need resched at outside world to take the CPU out of idle are enough. And this fix didn't modify the original behavior of coupled cpuidle framework. It should still compitable with the origianal. The cpuidle driver that already applies coupled cpuidle not need t

Re: [PATCH v3 0/9] Migrate Tegra to common clock framework

2013-01-04 Thread Joseph Lo
all clock code to drivers/clk/tegra from mach-tegra. > 5. Add device tree support for Tegra20 and Tegra30 clocks. > 6. Remove all legacy clock code from mach-tegra. > > Tested on Tegra30 (Cardhu) and Tegra20 (Ventana). > > Changes from v2: > Removed APB MISC node. > Fixed som

Re: [PATCH 1/7] ARM: dt: tegra20: Add clock information

2013-01-04 Thread Joseph Lo
On Fri, 2013-01-04 at 17:46 +0800, Prashant Gaikwad wrote: > Add clock information to device nodes. > > Signed-off-by: Prashant Gaikwad > --- > Tested on Ventana (Tegra20) and Cardhu (Tegra30). > This series depends on ccf-rework patch series. > --- This series :

Re: [PATCH V5 11/18] clk: tegra210: Add support for Tegra210 clocks

2019-07-16 Thread Joseph Lo
On 7/16/19 2:35 PM, Sowjanya Komatineni wrote: On 7/15/19 10:37 PM, Dmitry Osipenko wrote: В Mon, 15 Jul 2019 21:37:09 -0700 Sowjanya Komatineni пишет: On 7/15/19 8:50 PM, Dmitry Osipenko wrote: 16.07.2019 6:00, Sowjanya Komatineni пишет: On 7/15/19 5:35 PM, Sowjanya Komatineni wrote:

Re: [PATCH 1/6] dt-bindings: timer: add Tegra210 timer

2019-01-27 Thread Joseph Lo
On 1/25/19 8:01 PM, Jon Hunter wrote: On 25/01/2019 03:23, Joseph Lo wrote: Hi Jon, Thanks for reviewing. On 1/24/19 6:30 PM, Jon Hunter wrote: On 07/01/2019 03:28, Joseph Lo wrote: The Tegra210 timer provides fourteen 29-bit timer counters and one 32-bit timestamp counter. The TMRs run

[PATCH V2 2/6] clocksource: tegra: add Tegra210 timer driver

2019-01-28 Thread Joseph Lo
CPU suspends in power down state. Based on the work of Antti P Miettinen Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Signed-off-by: Joseph Lo --- v2: * add error clean-up code --- drivers/clocksource/Kconfig | 3 + drivers/clocksource/Makefile

[PATCH V2 1/6] dt-bindings: timer: add Tegra210 timer

2019-01-28 Thread Joseph Lo
, or watchdog interrupts. Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Cc: devicet...@vger.kernel.org Signed-off-by: Joseph Lo Reviewed-by: Rob Herring --- v2: * list all the interrupts that are supported by tegra210 timers block * add RB tag from Rob. --- .../bindings

Re: [PATCH V2 2/6] clocksource: tegra: add Tegra210 timer driver

2019-01-28 Thread Joseph Lo
Hi Daniel, Thanks for your review. On 1/28/19 9:00 PM, Daniel Lezcano wrote: On 28/01/2019 10:18, Joseph Lo wrote: Add support for the Tegra210 timer that runs at oscillator clock (TMR10-TMR13). We need these timers to work as clock event device and to replace the ARMv8 architected timer due

Re: [PATCH V2 2/6] clocksource: tegra: add Tegra210 timer driver

2019-01-28 Thread Joseph Lo
On 1/28/19 11:09 PM, Thierry Reding wrote: On Mon, Jan 28, 2019 at 05:18:11PM +0800, Joseph Lo wrote: Add support for the Tegra210 timer that runs at oscillator clock (TMR10-TMR13). We need these timers to work as clock event device and to replace the ARMv8 architected timer due to it can't

[PATCH V3 2/6] clocksource: tegra: add Tegra210 timer driver

2019-01-29 Thread Joseph Lo
CPU suspends in power down state. Based on the work of Antti P Miettinen Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Signed-off-by: Joseph Lo --- v3: * use timer-of API v2: * add error clean-up code --- drivers/clocksource/Kconfig | 8 + drivers

[PATCH V3 1/6] dt-bindings: timer: add Tegra210 timer

2019-01-29 Thread Joseph Lo
, or watchdog interrupts. Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Cc: devicet...@vger.kernel.org Signed-off-by: Joseph Lo Reviewed-by: Rob Herring --- v3: * no change v2: * list all the interrupts that are supported by tegra210 timers block * add RB tag from Rob

Re: [PATCH V2 2/6] clocksource: tegra: add Tegra210 timer driver

2019-01-29 Thread Joseph Lo
On 1/29/19 6:29 PM, Thierry Reding wrote: On Tue, Jan 29, 2019 at 10:41:55AM +0200, Peter De Schrijver wrote: On Mon, Jan 28, 2019 at 04:09:08PM +0100, Thierry Reding wrote: ... Up to here this is a duplicate of timer-tegra20.c. And a lot of tegra210_timer_init() is the same as

[PATCH V4 1/7] dt-bindings: timer: add Tegra210 timer

2019-01-31 Thread Joseph Lo
, or watchdog interrupts. Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Cc: devicet...@vger.kernel.org Signed-off-by: Joseph Lo Reviewed-by: Rob Herring --- V4: * no change v3: * no change v2: * list all the interrupts that are supported by tegra210 timers block * add

[PATCH V4 2/7] clocksource: tegra: add Tegra210 timer support

2019-01-31 Thread Joseph Lo
CPU suspends in power down state. Also convert the original driver to use timer-of API. Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Signed-off-by: Joseph Lo --- v4: * merge timer-tegra210.c in previous version into timer-tegra20.c v3: * use timer-of API v2: * add

Re: [PATCH 1/6] dt-bindings: timer: add Tegra210 timer

2019-01-24 Thread Joseph Lo
Hi Jon, Thanks for reviewing. On 1/24/19 6:30 PM, Jon Hunter wrote: On 07/01/2019 03:28, Joseph Lo wrote: The Tegra210 timer provides fourteen 29-bit timer counters and one 32-bit timestamp counter. The TMRs run at either a fixed 1 MHz clock rate derived from the oscillator clock (TMR0-TMR9

Re: [PATCH 2/6] clocksource: tegra: add Tegra210 timer driver

2019-01-24 Thread Joseph Lo
On 1/24/19 7:09 PM, Jon Hunter wrote: On 07/01/2019 03:28, Joseph Lo wrote: Add support for the Tegra210 timer that runs at oscillator clock (TMR10-TMR13). We need these timers to work as clock event device and to replace the ARMv8 architected timer due to it can't survive across the power

Re: [PATCH V6 2/7] clocksource: tegra: add Tegra210 timer support

2019-02-08 Thread Joseph Lo
Hi Daniel & Thomas, Do we have the chance to get this patch merged for K5.1? Thanks, Joseph On 2/2/19 12:16 AM, Joseph Lo wrote: Add support for the Tegra210 timer that runs at oscillator clock (TMR10-TMR13). We need these timers to work as clock event device and to replace the A

[PATCH] clocksource/drivers/tegra: rework for compensation of suspend time

2019-04-01 Thread Joseph Lo
Since the clocksource framework has the support for suspend time compensation. Re-work the driver to use that, so we can reduce the duplicate code. Suggested-by: Daniel Lezcano Signed-off-by: Joseph Lo --- drivers/clocksource/timer-tegra20.c | 63 + 1 file changed

Re: [PATCH] clocksource/drivers/tegra: rework for compensation of suspend time

2019-04-02 Thread Joseph Lo
On 4/2/19 10:46 PM, Thierry Reding wrote: On Tue, Apr 02, 2019 at 11:02:34AM +0800, Joseph Lo wrote: Since the clocksource framework has the support for suspend time compensation. Re-work the driver to use that, so we can reduce the duplicate code. Suggested-by: Daniel Lezcano Signed-off

Re: [PATCH V6 2/7] clocksource: tegra: add Tegra210 timer support

2019-02-19 Thread Joseph Lo
On 2/18/19 5:39 PM, Daniel Lezcano wrote: On 18/02/2019 10:01, Joseph Lo wrote: On 2/15/19 11:14 PM, Daniel Lezcano wrote: On 01/02/2019 17:16, Joseph Lo wrote: Add support for the Tegra210 timer that runs at oscillator clock (TMR10-TMR13). We need these timers to work as clock event device

[PATCH V7 2/8] clocksource: tegra: add Tegra210 timer support

2019-02-20 Thread Joseph Lo
CPU suspends in power down state. Also convert the original driver to use timer-of API. Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Signed-off-by: Joseph Lo Acked-by: Thierry Reding Acked-by: Jon Hunter --- v7: * kconfig fix for 'depends on ARM || ARM64' * move

[PATCH V7 1/8] dt-bindings: timer: add Tegra210 timer

2019-02-20 Thread Joseph Lo
, or watchdog interrupts. Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Cc: devicet...@vger.kernel.org Signed-off-by: Joseph Lo Reviewed-by: Rob Herring Acked-by: Jon Hunter --- v7: * no change v6: * add ack tag from Jon. v5: * no change v4: * no change v3

Re: [PATCH V7 2/8] clocksource: tegra: add Tegra210 timer support

2019-02-22 Thread Joseph Lo
On 2/22/19 4:43 PM, Daniel Lezcano wrote: On 21/02/2019 08:21, Joseph Lo wrote: Add support for the Tegra210 timer that runs at oscillator clock (TMR10-TMR13). We need these timers to work as clock event device and to replace the ARMv8 architected timer due to it can't survive across

Re: [PATCH V6 2/7] clocksource: tegra: add Tegra210 timer support

2019-02-13 Thread Joseph Lo
On 2/13/19 4:55 PM, Daniel Lezcano wrote: On 08/02/2019 14:23, Joseph Lo wrote: Hi Daniel & Thomas, Do we have the chance to get this patch merged for K5.1? Hi Jospeh, sorry for the delay, I was overbooked these past two weeks. Overall it looks ok but give me a couple of days to re

Re: [PATCH V6 2/7] clocksource: tegra: add Tegra210 timer support

2019-02-18 Thread Joseph Lo
On 2/15/19 11:14 PM, Daniel Lezcano wrote: On 01/02/2019 17:16, Joseph Lo wrote: Add support for the Tegra210 timer that runs at oscillator clock (TMR10-TMR13). We need these timers to work as clock event device and to replace the ARMv8 architected timer due to it can't survive across the power

[PATCH V5 2/7] clocksource: tegra: add Tegra210 timer support

2019-01-31 Thread Joseph Lo
CPU suspends in power down state. Also convert the original driver to use timer-of API. Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Signed-off-by: Joseph Lo Acked-by: Thierry Reding --- v5: * add ack tag from Thierry v4: * merge timer-tegra210.c in previous version

[PATCH V5 1/7] dt-bindings: timer: add Tegra210 timer

2019-01-31 Thread Joseph Lo
, or watchdog interrupts. Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Cc: devicet...@vger.kernel.org Signed-off-by: Joseph Lo Reviewed-by: Rob Herring --- v5: * no change v4: * no change v3: * no change v2: * list all the interrupts that are supported by tegra210

Re: [PATCH V5 2/7] clocksource: tegra: add Tegra210 timer support

2019-02-01 Thread Joseph Lo
On 2/1/19 9:54 PM, Jon Hunter wrote: On 01/02/2019 13:11, Dmitry Osipenko wrote: 01.02.2019 16:06, Dmitry Osipenko пишет: 01.02.2019 6:36, Joseph Lo пишет: Add support for the Tegra210 timer that runs at oscillator clock (TMR10-TMR13). We need these timers to work as clock event device

Re: [PATCH V5 2/7] clocksource: tegra: add Tegra210 timer support

2019-02-01 Thread Joseph Lo
On 2/1/19 8:44 PM, Jon Hunter wrote: On 01/02/2019 03:36, Joseph Lo wrote: Add support for the Tegra210 timer that runs at oscillator clock (TMR10-TMR13). We need these timers to work as clock event device and to replace the ARMv8 architected timer due to it can't survive across the power

Re: [PATCH V5 2/7] clocksource: tegra: add Tegra210 timer support

2019-02-01 Thread Joseph Lo
On 2/1/19 11:13 PM, Dmitry Osipenko wrote: 01.02.2019 17:13, Joseph Lo пишет: On 2/1/19 9:54 PM, Jon Hunter wrote: On 01/02/2019 13:11, Dmitry Osipenko wrote: 01.02.2019 16:06, Dmitry Osipenko пишет: 01.02.2019 6:36, Joseph Lo пишет: Add support for the Tegra210 timer that runs

Re: [PATCH V5 2/7] clocksource: tegra: add Tegra210 timer support

2019-02-01 Thread Joseph Lo
On 2/1/19 11:43 PM, Jon Hunter wrote: On 01/02/2019 14:39, Joseph Lo wrote: On 2/1/19 8:44 PM, Jon Hunter wrote: On 01/02/2019 03:36, Joseph Lo wrote: Add support for the Tegra210 timer that runs at oscillator clock (TMR10-TMR13). We need these timers to work as clock event device

[PATCH V6 2/7] clocksource: tegra: add Tegra210 timer support

2019-02-01 Thread Joseph Lo
CPU suspends in power down state. Also convert the original driver to use timer-of API. Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Signed-off-by: Joseph Lo Acked-by: Thierry Reding Acked-by: Jon Hunter --- v6: * refine the timer defines * add ack tag from Jon. v5

[PATCH V6 1/7] dt-bindings: timer: add Tegra210 timer

2019-02-01 Thread Joseph Lo
, or watchdog interrupts. Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Cc: devicet...@vger.kernel.org Signed-off-by: Joseph Lo Reviewed-by: Rob Herring Acked-by: Jon Hunter --- v6: * add ack tag from Jon. v5: * no change v4: * no change v3: * no change v2: * list

  1   2   >