arm: tegra: add FIQ WAR for t11x non-secure
authorXin Xie <xxie@nvidia.com>
Wed, 25 Sep 2013 01:04:29 +0000 (18:04 -0700)
committerMrutyunjay Sawant <msawant@nvidia.com>
Thu, 26 Sep 2013 10:10:57 +0000 (03:10 -0700)
commitdfc8004de2af404ac9d28937e019066aebcaa716
treed6520b96b9e929d128d38aca730ea128ab5c3bde
parentbe5c298a576fc68b66c433a2e8a7ee5ca850afc4
arm: tegra: add FIQ WAR for t11x non-secure

On Tegra T11x WDT FIQ is not routed to the GIC, so we cannot use Tegra
WDT for soft-hang debugging.

This WAR is to configure GIC group0 to generate the FIQ to CPU, and only
let WDT routed to GIC group0. All other normal IRQs will use GIC group1.
This WAR is only applicable to non-secure OS build; secure OS build will
treat FIQ as secure interrupt for enterring monitor.

This patch is based on previous work of Lucas Dai and Bo Yan.

bug 1277869
bug 1357562

Change-Id: Ie9a05f9f2974d2b9fb2d09f7847639e553917cb7
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/268797
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
arch/arm/mach-tegra/Kconfig
arch/arm/mach-tegra/fiq.c
arch/arm/mach-tegra/gic.c
arch/arm/mach-tegra/gic.h
arch/arm/mach-tegra/include/mach/fiq.h