Lines Matching +full:0 +full:x47
26 return 0; in nobp_setup_early()
33 return 0; in nospec_setup_early()
45 return 0; in nospec_report()
56 return 0; in nospectre_v2_setup_early()
75 nospec_disable = 0; in nospec_auto_detect()
88 nospec_disable = 0; in spectre_v2_setup_early()
95 return 0; in spectre_v2_setup_early()
102 static const u8 branch[] = { 0x47, 0x00, 0x07, 0x00 }; in __nospec_revert()
110 if (instr[0] == 0xc0 && (instr[1] & 0x0f) == 0x04) in __nospec_revert()
112 else if (instr[0] == 0xc0 && (instr[1] & 0x0f) == 0x05) in __nospec_revert()
117 if (thunk[0] == 0xc6 && thunk[1] == 0x00) in __nospec_revert()
120 else if (thunk[0] == 0xc0 && (thunk[1] & 0x0f) == 0x00 && in __nospec_revert()
121 thunk[6] == 0x44 && thunk[7] == 0x00 && in __nospec_revert()
122 (thunk[8] & 0x0f) == 0x00 && thunk[9] == 0x00 && in __nospec_revert()
123 (thunk[1] & 0xf0) == (thunk[8] & 0xf0)) in __nospec_revert()
124 /* larl %rx,<target br> + ex %r0,0(%rx) */ in __nospec_revert()
128 /* Check for unconditional branch 0x07f? or 0x47f???? */ in __nospec_revert()
129 if ((br[0] & 0xbf) != 0x07 || (br[1] & 0xf0) != 0xf0) in __nospec_revert()
135 insnbuf[0] = br[0]; in __nospec_revert()
136 insnbuf[1] = (instr[1] & 0xf0) | (br[1] & 0x0f); in __nospec_revert()
137 if (br[0] == 0x47) { in __nospec_revert()
146 insnbuf[1] = (instr[1] & 0xf0) | (br[1] & 0x0f); in __nospec_revert()
147 if (br[0] == 0x47) { in __nospec_revert()
149 insnbuf[0] = 0x4d; in __nospec_revert()
154 insnbuf[0] = 0x0d; in __nospec_revert()