diff options
author | James Hogan <james.hogan@imgtec.com> | 2013-01-31 11:06:03 +0000 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2013-03-02 20:09:56 +0000 |
commit | 883a635591ef25bc6a325f8a43af17ec8ecfe011 (patch) | |
tree | 2bc087451e14343e35cc6159cb91bfe0b5dd48f5 /include | |
parent | 0a38a8adc5d479c1e59a82d1fcee3bdf59b85ef3 (diff) |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions