Implementing a PSCI mechanism in m1n1 sounds like a nice workaround (I could almost consider it an actual fix, even if it's not totally standard), but I'm a bit surprised:
- Doesn't ARMv8 architecture require supervisor mode? You should be able to just pop a good old Arm Trusted Framework sample, implement PSCI in there just like other standard ARMv8?
- Linux kernel already supports various PSCI-less architectures (rpi4 notably for armv8 if I'm not mistaken), so I don't think upstream would mind about that at all?
I guess your proposed approach makes sense when the target is more than just Linux though, do you have hopes that m1n1 could be eventually suitable to boot Windows?
- Doesn't ARMv8 architecture require supervisor mode? You should be able to just pop a good old Arm Trusted Framework sample, implement PSCI in there just like other standard ARMv8?
- Linux kernel already supports various PSCI-less architectures (rpi4 notably for armv8 if I'm not mistaken), so I don't think upstream would mind about that at all?
I guess your proposed approach makes sense when the target is more than just Linux though, do you have hopes that m1n1 could be eventually suitable to boot Windows?