diff options
author | Masato Noguchi <Masato.Noguchi@jp.sony.com> | 2007-12-20 02:39:59 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-21 03:46:20 -0500 |
commit | 9476141c185aa131fa8b4b6ccc5c0ccf92300225 (patch) | |
tree | f3a594fa7c3945d9cd527d6df3cff30d0b2e6ab7 /include/asm-powerpc/spu.h | |
parent | b192541b39ed29ff82f9f2d5427f451e89617f1c (diff) |
[POWERPC] spufs: don't set reserved bits in spu interrupt status
This changes the spu context switch code to not write to reserved bits
of spu interrupt status register.
The architecture book says the reserved fields should be set to zero.
Signed-off-by: Masato Noguchi <Masato.Noguchi@jp.sony.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/spu.h')
-rw-r--r-- | include/asm-powerpc/spu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h index 277460476aec..5ca30e2e2639 100644 --- a/include/asm-powerpc/spu.h +++ b/include/asm-powerpc/spu.h | |||
@@ -535,11 +535,13 @@ struct spu_priv1 { | |||
535 | #define CLASS1_STORAGE_FAULT_INTR 0x2L | 535 | #define CLASS1_STORAGE_FAULT_INTR 0x2L |
536 | #define CLASS1_LS_COMPARE_SUSPEND_ON_GET_INTR 0x4L | 536 | #define CLASS1_LS_COMPARE_SUSPEND_ON_GET_INTR 0x4L |
537 | #define CLASS1_LS_COMPARE_SUSPEND_ON_PUT_INTR 0x8L | 537 | #define CLASS1_LS_COMPARE_SUSPEND_ON_PUT_INTR 0x8L |
538 | #define CLASS1_INTR_MASK 0xfL | ||
538 | #define CLASS2_MAILBOX_INTR 0x1L | 539 | #define CLASS2_MAILBOX_INTR 0x1L |
539 | #define CLASS2_SPU_STOP_INTR 0x2L | 540 | #define CLASS2_SPU_STOP_INTR 0x2L |
540 | #define CLASS2_SPU_HALT_INTR 0x4L | 541 | #define CLASS2_SPU_HALT_INTR 0x4L |
541 | #define CLASS2_SPU_DMA_TAG_GROUP_COMPLETE_INTR 0x8L | 542 | #define CLASS2_SPU_DMA_TAG_GROUP_COMPLETE_INTR 0x8L |
542 | #define CLASS2_MAILBOX_THRESHOLD_INTR 0x10L | 543 | #define CLASS2_MAILBOX_THRESHOLD_INTR 0x10L |
544 | #define CLASS2_INTR_MASK 0x1fL | ||
543 | u8 pad_0x158_0x180[0x28]; /* 0x158 */ | 545 | u8 pad_0x158_0x180[0x28]; /* 0x158 */ |
544 | u64 int_route_RW; /* 0x180 */ | 546 | u64 int_route_RW; /* 0x180 */ |
545 | 547 | ||