On Thu, 23 Feb 2023 at 21:47, Joseph Reichman <[email protected]> wrote:
> > I am trying to change psw storage key from "Normal" key 8 to Key 4 > > SPKA X'40' > > I have bit 15 of the psw 0 ,meaning I am in supervisor state and get a s0c1 > running this code under TESTAUTH > A program check 1 is not possible if you execute an SPKA, no matter what state you're in, and what the content of R0 (the implied register) is. So I'd say you didn't actually execute it. How, I have no idea. When you say "running this code", presumably there is more code than the one SPKA instruction. Please make sure it isn't e.g. the instruction right before the SPKA that's failing - that could show you the address of the SPKA as the failing address, depending on how it fails. Perhaps you're branching into the middle of an instruction somewhere nearby? TSO TEST[AUTH] does overlay instructions where you have set a breakpoint with an SVC 97, so if your code is fetching from or storing into the instruction stream where there's a breakpoint, all bets are off. I am able to get to PSW key 0 SPKA 0 > Don't get it > Neither do I. But architecturally, SPKA can't fail that way. If you got an S0C2 that would make sense. Tony H. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
