linux/arch/metag
James Hogan 883a635591 metag: add boot time LNKGET/LNKSET check
Add boot time check for whether LNKGET/LNKSET go through or around the
cache. Depending on the configuration an info message (no harm), warning
(technically wrong but no harm), or big WARN (expect failure in either
kernel or userland) may be emitted if the behaviour is not as expected:

Configuration                                Hardware   Response
------------------------------------------   --------   --------
AROUND_CACHE                                 through    pr_info
!AROUND_CACHE && ATOMICITY_LNKGET            around     WARN (kernel)
     "        && !ATOMICITY_LNKGET && SMP    around     WARN (user)
     "                   "         && !SMP   around     pr_warn

Signed-off-by: James Hogan <james.hogan@imgtec.com>
2013-03-02 20:09:56 +00:00
..
boot metag: Build infrastructure 2013-03-02 20:09:54 +00:00
configs metag: Add JTAG Debug Adapter (DA) support 2013-03-02 20:09:56 +00:00
include metag: Add JTAG Debug Adapter (DA) support 2013-03-02 20:09:56 +00:00
kernel metag: Add JTAG Debug Adapter (DA) support 2013-03-02 20:09:56 +00:00
lib metag: Build infrastructure 2013-03-02 20:09:54 +00:00
mm metag: add boot time LNKGET/LNKSET check 2013-03-02 20:09:56 +00:00
tbx metag: Build infrastructure 2013-03-02 20:09:54 +00:00
Kconfig metag: Add JTAG Debug Adapter (DA) support 2013-03-02 20:09:56 +00:00
Kconfig.debug metag: Build infrastructure 2013-03-02 20:09:54 +00:00
Kconfig.soc metag: Build infrastructure 2013-03-02 20:09:54 +00:00
Makefile metag: Build infrastructure 2013-03-02 20:09:54 +00:00