Re: x86/sgx: uapi change proposal
From: Jarkko Sakkinen
Date: Mon Dec 24 2018 - 07:01:30 EST
On Sun, Dec 23, 2018 at 12:41:49PM -0800, Andy Lutomirski wrote:
> Presumably sgx would create a bus and enumerate the devices as needed.
> Or I suppose these things could be platform or system devices. Iâm not
> really a device model expert, and the one time I tried to implement a
> character device, I got so disgusted that I wrote a whole library for
> it. Itâs still in limbo somewhere.
In the driver/main.c I have a fairly good framework for device creation
so if there is any reason to add more devices it is dead easy. I just
don't see any reason for that. And I already have a bus there for SGX.
All of this has been done a long time ago.