[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1391789955-26927-1-git-send-email-fabrice.gasnier@st.com>
Date: Fri, 7 Feb 2014 17:19:14 +0100
From: Fabrice GASNIER <fabrice.gasnier@...com>
To: linux@....linux.org.uk, u.kleine-koenig@...gutronix.de,
jonathan.austin@....com, catalin.marinas@....com,
will.deacon@....com, nico@...aro.org, sboyd@...eaurora.org,
marc.zyngier@....com, ben.dooks@...ethink.co.uk,
vgupta@...opsys.com, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Cc: maxime.coquelin@...com
Subject: [RFC PATCH] ARM: Enable imprecise external aborts earlier
Some HW / drivers like PCIe use imprecise aborts on ARM to detect ports
that are behind a switch, by using: hook_fault_code(16+6, ...);
At PCIe bus enumeration, imprecise aborts are not enabled. Imprecise
aborts are enabled late during bootup process, when userland
init starts. It seems unmasked later when starting userland init
process (e.g. when CPSR.A bit on arm is cleared). Aborts are deferred
until then.
Enable imprecise external aborts earlier during bootup.
Reference :
http://marc.info/?l=linux-arm-kernel&m=139118404708291&w=2
Fabrice Gasnier (1):
ARM: Add imprecise abort enable/disable macro
arch/arm/include/asm/irqflags.h | 33 +++++++++++++++++++++++++++++++++
arch/arm/kernel/smp.c | 1 +
arch/arm/kernel/traps.c | 4 ++++
3 files changed, 38 insertions(+)
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists