Discussion of the VIRTIO specification
 help / color / mirror / Atom feed
  • * [virtio-comment] Re: [virtio-dev] [PATCH v2] virtio-tee: Reserve device ID 46 for TEE device
           [not found] <80a2e4337affb043909c348395fb45aeeb693dc7.1695640593.git.JESHWANTHKUMAR.NK@amd.com>
           [not found] ` <PH0PR12MB54813F8968ABA023D551E05FDCFCA@PH0PR12MB5481.namprd12.prod.outlook.com>
    @ 2023-09-26  6:00 ` Sumit Garg
           [not found]   ` <CAHUa44GzHPkntr=sFYYzokW0=9CCN7n6Ch1i6J7L7Uhh5U5P3A@mail.gmail.com>
      1 sibling, 1 reply; 10+ messages in thread
    From: Sumit Garg @ 2023-09-26  6:00 UTC (permalink / raw)
      To: jeshwanthkumar.nk
      Cc: Devaraj.Rangasamy, Mythri.Pandeshwarakrishna, Nimesh.Easow,
    	Rijo-john.Thomas, babulu.ellune, virtio-dev, virtio-comment,
    	jens.wiklander
    
    [-- Attachment #1: Type: text/plain, Size: 2661 bytes --]
    
    +cc Jens
    
    > In a virtual environment, an application running in guest VM may want
    > to delegate security sensitive tasks to a Trusted Application (TA)
    > running within a Trusted Execution Environment (TEE). A TEE is a trusted
    > OS running in some secure environment, for example, TrustZone on ARM
    > CPUs, or a separate secure co-processor etc.
    
    I have been exploring this area quite recently with an effort to have a common VIRIO interface which can support different trusted OS implementations. I guess you intend to test it with AMD-TEE, right? Any plans to test it with OP-TEE? As currently we have these two supported upstream.
    
    Do you currently have any virtio frontend/backend implementations for this?
    
    > 
    > A virtual TEE device emulates a TEE within a guest VM. Such a virtual
    > TEE device supports multiple operations such as:
    > 
    > VIRTIO_TEE_CMD_OPEN_DEVICE – Open a communication channel with virtio
    >                              TEE device.
    > VIRTIO_TEE_CMD_CLOSE_DEVICE – Close communication channel with virtio
    >                               TEE device.
    > VIRTIO_TEE_CMD_GET_VERSION – Get version of virtio TEE.
    > VIRTIO_TEE_CMD_OPEN_SESSION – Open a session to communicate with
    >                               trusted application running in TEE.
    > VIRTIO_TEE_CMD_CLOSE_SESSION – Close a session to end communication
    >                                with trusted application running in TEE.
    > VIRTIO_TEE_CMD_INVOKE_FUNC – Invoke a command or function in trusted
    >                              application running in TEE.
    > VIRTIO_TEE_CMD_CANCEL_REQ – Cancel an ongoing command within TEE.
    > 
    
    How about shared memory support? We would like to register guest pages with the trusted OS.
    
    -Sumit
    
    > We would like to reserve device ID 46 for Virtio-TEE device.
    > 
    > Signed-off-by: Jeshwanth Kumar <jeshwanthkumar.nk@amd.com>
    > ---
    >  content.tex  <https://lore.kernel.org/all/80a2e4337affb043909c348395fb45aeeb693dc7.1695640593.git.JESHWANTHKUMAR.NK@amd.com/#Z31content.tex>  | 2 ++
    >  1 file changed  <https://lore.kernel.org/all/80a2e4337affb043909c348395fb45aeeb693dc7.1695640593.git.JESHWANTHKUMAR.NK@amd.com/#related>, 2 insertions(+)
    > 
    > diff 
    <https://lore.kernel.org/all/80a2e4337affb043909c348395fb45aeeb693dc7.1695640593.git.JESHWANTHKUMAR.NK@amd.com/#iZ31content.tex> 
    --git a/content.tex b/content.tex > index 0a62dce..644aa4a 100644 > --- 
    a/content.tex > +++ b/content.tex > @@ -739,6 +739,8 @@ \chapter{Device 
    Types}\label{sec:Device Types} >  \hline
    >  45         &   SPI master \\
    >  \hline
    > +46         &   TEE device \\  > +\hline > \end{tabular}
    > 
    >  Some of the devices above are unspecified by this document,
    
    [-- Attachment #2: Type: text/html, Size: 4870 bytes --]
    
    ^ permalink raw reply	[flat|nested] 10+ messages in thread

  • end of thread, other threads:[~2023-10-06  8:00 UTC | newest]
    
    Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <80a2e4337affb043909c348395fb45aeeb693dc7.1695640593.git.JESHWANTHKUMAR.NK@amd.com>
         [not found] ` <PH0PR12MB54813F8968ABA023D551E05FDCFCA@PH0PR12MB5481.namprd12.prod.outlook.com>
    2023-09-26  5:12   ` [virtio-comment] Re: [virtio-dev] [PATCH v2] virtio-tee: Reserve device ID 46 for TEE device NK, JESHWANTHKUMAR
    2023-09-26  6:00 ` Sumit Garg
         [not found]   ` <CAHUa44GzHPkntr=sFYYzokW0=9CCN7n6Ch1i6J7L7Uhh5U5P3A@mail.gmail.com>
    2023-09-26  6:44     ` Sumit Garg
    2023-09-26  7:33       ` Rijo Thomas
         [not found]       ` <b15e849c-f424-1afb-4b99-ae2df954a044@amd.com>
    2023-09-26  7:49         ` Sumit Garg
    2023-09-26  8:17           ` Rijo Thomas
    2023-09-26 12:32             ` Sumit Garg
    2023-09-26 13:46               ` Rijo Thomas
         [not found]       ` <CAKWjNY-tixKn=N2_5vcjZHEuh0bBE9BpFXwRV7Y5MDDLsPYzfw@mail.gmail.com>
         [not found]         ` <CAFA6WYMraufRMwK=u+5pn4r2a4g-RzcLFiJiNa+t=CjjAE+_xA@mail.gmail.com>
         [not found]           ` <CAKWjNY-Gf-Kf1Ldsni6oXp2+POghFWWg36WYtvZcnUXqhurcLw@mail.gmail.com>
    2023-09-28 14:48             ` Sumit Garg
         [not found]               ` <8124dd4b-d69d-46ca-8b39-7d0aacb078f7@app.fastmail.com>
    2023-10-06  8:00                 ` Sumit Garg
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox