When ripping out Qualcomm's EL2 on the x13s, calls into the Secure Monitor
authorpatrick <patrick@openbsd.org>
Sun, 23 Jun 2024 22:04:53 +0000 (22:04 +0000)
committerpatrick <patrick@openbsd.org>
Sun, 23 Jun 2024 22:04:53 +0000 (22:04 +0000)
commit0f0ca42219342ba30757b892bc28ec1d98fb0f20
treede6166d348b66f8da60d2bd51815214c521cee3e
parent2679ff7fc59fbe0363d63a59398ec0a48376e068
When ripping out Qualcomm's EL2 on the x13s, calls into the Secure Monitor
make the machine crash.  As it turns out the SMC calling convention specifies
that further registers up to and including x18 might need to be caller-saved,
which we seem to have to follow now.

ok kettenis@
sys/dev/fdt/qcscm.c