On Thu, Dec 28, 2023 at 09:10:44PM +0800, artem.kuzin@xxxxxxxxxx wrote: > There was a work previously published for ARM64 platform > by Russell King (arm64 kernel text replication). > We hope that it will be possible to push this technology forward together. Honestly, I don't think the arm64 kernel text replication is going to progress. I had zero feedback on the last posting, which suggests that there is very little interest in it. With Ard's suggestion to use pKVM for it, that's totally and utterly outside of my knowledge realm about how to implement that, and I have no idea what the implications of doing so would be - would it prevent being able to run KVM guests? How does it interact with the KVM hypervisor? Does it require nested virtualisation (which isn't supported on the platforms that Oracle are interested in.) Then there is now the pKVM hypervisor for kernel text replication would grab the memory it needs to replicate the kernel. Having been through all the different layers of firmware, boot loader etc the conclusion was that it's something that the kernel should be doing - and the code that Ard pointed me towards was firmware-based. So, right now I think arm64 kernel text replication is rather dead in the water. Honestly, I now utterly regret bringing up this idea inside Oracle. It has become something of a millstone around my neck. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!