Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[IA64] Update Altix BTE error return status patch

I neglected to send Tony the most recent version of the
patch ("Fix Altix BTE error return status") applied
as commit: 64135fa97ce016058f95345425a9ebd04ee1bd2a

This patch gets it up to date. Without this patch
on shub2, if there is no error xpcBteUnmappedError is
returned instead of xpcSuccess.

Signed-off-by: Russ Anderson (rja@sgi.com)
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by

Russ Anderson and committed by
Tony Luck
4ca8ad7e 304b4699

+4 -2
+4 -2
include/asm-ia64/sn/xpc.h
··· 1211 1211 static inline enum xpc_retval 1212 1212 xpc_map_bte_errors(bte_result_t error) 1213 1213 { 1214 + if (error == BTE_SUCCESS) 1215 + return xpcSuccess; 1216 + 1214 1217 if (is_shub2()) { 1215 1218 if (BTE_VALID_SH2_ERROR(error)) 1216 1219 return xpcBteSh2Start + error; 1217 - else 1218 - return xpcBteUnmappedError; 1220 + return xpcBteUnmappedError; 1219 1221 } 1220 1222 switch (error) { 1221 1223 case BTE_SUCCESS: return xpcSuccess;