Re: [PATCH v8 09/18] nitro_enclaves: Add logic for setting an enclave vCPU

2020-09-07 Thread Paraschiv, Andra-Irina
On 07/09/2020 11:58, Greg KH wrote: On Fri, Sep 04, 2020 at 08:37:09PM +0300, Andra Paraschiv wrote: An enclave, before being started, has its resources set. One of its resources is CPU. A NE CPU pool is set and enclave CPUs are chosen from it. Offline the CPUs from the NE CPU pool during

Re: [PATCH v8 09/18] nitro_enclaves: Add logic for setting an enclave vCPU

2020-09-07 Thread Greg KH
On Fri, Sep 04, 2020 at 08:37:09PM +0300, Andra Paraschiv wrote: > An enclave, before being started, has its resources set. One of its > resources is CPU. > > A NE CPU pool is set and enclave CPUs are chosen from it. Offline the > CPUs from the NE CPU pool during the pool setup and online them

[PATCH v8 09/18] nitro_enclaves: Add logic for setting an enclave vCPU

2020-09-04 Thread Andra Paraschiv
An enclave, before being started, has its resources set. One of its resources is CPU. A NE CPU pool is set and enclave CPUs are chosen from it. Offline the CPUs from the NE CPU pool during the pool setup and online them back during the NE CPU pool teardown. The CPU offline is necessary so that