Skip to content
Commit a7faa8dc authored by Takashi Yamamoto's avatar Takashi Yamamoto Committed by Paul Mackerras
Browse files

[POWERPC] PS3: Fix setting bookmark in logical performance monitor



Fix the ps3_set_bookmark() routine of the PS3 logical performance
monitor driver.

To properly set a performance monitor bookmark the Cell processor
requires no instruction branches near the setting of the bookmark
SPR.  Testing showed that the use of the db10cyc instruction did
not work correctly.  This change replaces the db10cyc instruction
with 10 nop instructions.

Signed-off-by: default avatarTakashi Yamamoto <TakashiA.Yamamoto@jp.sony.com>
Signed-off-by: default avatarGeoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 79ccd1be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment