On Wed, Jan 15, 2025 at 11:57:05PM +1100, Alexey Kardashevskiy wrote:
On 15/1/25 00:35, Jason Gunthorpe wrote:Yeah, maybe, though I don't know which of vfio/iommufd/kvm should be
On Tue, Jun 18, 2024 at 07:28:43AM +0800, Xu Yilun wrote:Something like this experiment?
I think Dan's series is different, any uapi from that series shouldis needed so the secure world can prepare anything it needs prior toOK. From Dan's patchset there are some touch point for vendor tsm
starting the VM.
drivers to do secure world preparation. e.g. pci_tsm_ops::probe().
Maybe we could move to Dan's thread for discussion.
https://lore.kernel.org/linux- coco/173343739517.1074769.13134786548545925484.stgit@dwillia2- xfh.jf.intel.com/
not be used in the VMM case. We need proper vfio APIs for the VMM to
use. I would expect VFIO to be calling some of that infrastructure.
https://github.com/aik/linux/commit/ ce052512fb8784e19745d4cb222e23cabc57792e
hosting those APIs, the above does seem to be a reasonable direction.
When the various fds are closed I would expect the kernel to unbind
and restore the device back.