[PATCH 11/13] powerpc/476: Software workaround to fix dcr read/write sequencing.

2010-03-05 Thread Dave Kleikamp
powerpc/476: Software workaround to fix dcr read/write sequencing. From: Dave Kleikamp Copy the register containing the dcr address to a spr before mfdcrx or mtdcrx instruction. SPRN_SPRG_WSCRATCH_CRIT seems safe enough to use as a dummy register, as it is only otherwise used by critical interr

[RFC: PATCH 11/13] powerpc/476: Software workaround to fix dcr read/write sequencing.

2010-03-01 Thread Dave Kleikamp
powerpc/476: Software workaround to fix dcr read/write sequencing. From: Dave Kleikamp Copy the register containing the dcr address to a spr before mfdcrx or mtdcrx instruction. SPRN_SPRG_WSCRATCH_CRIT seems safe enough to use as a dummy register, as it is only otherwise used by critical interr