s390x: Switch to z/Arch
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello Janosch!
Quoted 27 lines · Janosch Frank
Quoted 3 lines · Jens Remus
Hi Janosch,
happy new year!
Thanks, same to you.
Quoted 20 lines · Janosch Frank
Quoted 1 line
LPAR and z/VM start in esam mode depending on the hardware, so we need
Did you consider the CZAM facility? You already use a so called "short PSW" (which is compatible to the ESA/390 PSW, as you did not set bit 31).
LPAR and z/VM start in esam or esame mode, depending on the hardware CZAM facility and z/VM MACHINE setting.
See POP section "Load State":
"When neither the configuration-z/Architecture-architectural-mode (CZAM) facility nor the ESA/390-compatibility-mode facility are installed, this sets the architectural mode to the ESA/390 mode. When the ESA/390-compatibility-mode facility is installed, this sets the architecture mode to the ESA/390-compatibility mode. When the CZAM facility is installed, the architectural mode is unchanged (that is, it remains in the z/Architecture architectural mode)."
Quoted 4 lines
Quoted 1 line
Quoted 1 line
to switch to z/Arch and set 64 bit addressing.
I don't really want to test in which state I am and blindly setting z/Arch and 64 bit is a valid course of action according to the AR.
I completely agree with you. I was rather thinking of enhancing the commit message to make clear that LPAR and z/VM start either in esam or esame mode, depending on the hardware CZAM facility and z/VM MACHINE setting. Re-reading your commit message I must admit that it kind of already contains this with "depending on the hardware" and one may then deduct from the commit subject that it must be z/Arch (esame) otherwise.
Quoted 9 lines
Quoted 3 lines
Wouldn't it be nice to mention this in the commit subject:
s390x: Switch to z/Arch and 64-bit addressing [mode]
As commented yesterday (Message-ID:
<[email protected]>):
The title will be changed to:
s390x: Switch to z/Arch and enable 64 bit addressing mode
Quoted 5 lines
Also I will move the sam64 from the previous patch into this one.
I might add to the comment that we do this no matter what configuration we start out in, because it doesn't produce an exception.
That would be nice. Thanks!
Regards,
Jens
Signature · 10 lines
Linux on Z and z/VSE Development & Service (D3229) IBM Systems & Technology Group, Pure Systems & Modular Software Development IBM Data Privacy Statement: https://www.ibm.com/privacy/us/en/ IBM Deutschland Research & Development GmbH Vorsitzender des Aufsichtsrats: Matthias Hartmann Gesch�ftsf�hrung: Dirk Wittkopp Sitz der Gesellschaft: Boeblingen Registergericht: Amtsgericht Stuttgart, HRB 243294