diff options
author | Masato Noguchi <Masato.Noguchi@jp.sony.com> | 2006-10-24 18:31:14 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-10-25 06:20:20 +0200 |
commit | 24f43b33f74c8e8c8aabc40b728eaf9137802942 (patch) | |
tree | 013c3b7eabc49ef8706f6e989ee88aa9ec5ef04d /include/asm-powerpc/spu_csa.h | |
parent | [POWERPC] Make irq_dispose_mapping(NO_IRQ) a nop (diff) | |
download | linux-24f43b33f74c8e8c8aabc40b728eaf9137802942.tar.xz linux-24f43b33f74c8e8c8aabc40b728eaf9137802942.zip |
[POWERPC] spufs: wrap mfc sdr access
SPRN_SDR1 and the SPE's MFC SDR are hypervisor resources and
are not accessible from a logical partition. This change adds an
access wrapper.
When running on bare H/W, the spufs needs to only set the SPE's MFC SDR
to the value of the PPE's SPRN_SDR1 once at SPE initialization, so this
change renames mfc_sdr_set() to mfc_sdr_setup() and moves the
access of SPRN_SDR1 into the mmio wrapper. It also removes the now
unneeded member mfc_sdr_RW from struct spu_priv1_collapsed.
Signed-off-by: Masato Noguchi <Masato.Noguchi@jp.sony.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
--
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/spu_csa.h')
-rw-r--r-- | include/asm-powerpc/spu_csa.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-powerpc/spu_csa.h b/include/asm-powerpc/spu_csa.h index 964c2d38ccb7..bdbf906a767f 100644 --- a/include/asm-powerpc/spu_csa.h +++ b/include/asm-powerpc/spu_csa.h @@ -151,7 +151,6 @@ struct spu_priv1_collapsed { u64 mfc_fir_chkstp_enable_RW; u64 smf_sbi_signal_sel; u64 smf_ato_signal_sel; - u64 mfc_sdr_RW; u64 tlb_index_hint_RO; u64 tlb_index_W; u64 tlb_vpn_RW; |