Re: [PATCH 14/14] drm/amdgpu: set TMZ bits in PTEs for secure bo (v2)

2019-09-24 Thread Koenig, Christian
nder ; Tuikov, Luben >> ; Liu, Aaron >> Subject: Re: [PATCH 14/14] drm/amdgpu: set TMZ bits in PTEs for secure bo >> (v2) >> >> Am 12.09.19 um 12:27 schrieb Huang, Ray: >>> On Wed, Sep 11, 2019 at 08:13:19PM +0800, Koenig, Christian wrote: >>>> Am 11.09.19

RE: [PATCH 14/14] drm/amdgpu: set TMZ bits in PTEs for secure bo (v2)

2019-09-24 Thread Huang, Ray
> -Original Message- > From: Koenig, Christian > Sent: Thursday, September 12, 2019 7:49 PM > To: Huang, Ray > Cc: amd-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; > Deucher, Alexander ; Tuikov, Luben > ; Liu, Aaron > Subject: Re: [PATCH 14/14] drm

Re: [PATCH 14/14] drm/amdgpu: set TMZ bits in PTEs for secure bo (v2)

2019-09-12 Thread Koenig, Christian
Am 12.09.19 um 12:27 schrieb Huang, Ray: > On Wed, Sep 11, 2019 at 08:13:19PM +0800, Koenig, Christian wrote: >> Am 11.09.19 um 13:50 schrieb Huang, Ray: >>> From: Alex Deucher >>> >>> If one bo is secure (created with AMDGPU_GEM_CREATE_ENCRYPTED), the TMZ >>> bits of >>> PTEs that belongs that b

Re: [PATCH 14/14] drm/amdgpu: set TMZ bits in PTEs for secure bo (v2)

2019-09-12 Thread Huang, Ray
On Wed, Sep 11, 2019 at 08:13:19PM +0800, Koenig, Christian wrote: > Am 11.09.19 um 13:50 schrieb Huang, Ray: > > From: Alex Deucher > > > > If one bo is secure (created with AMDGPU_GEM_CREATE_ENCRYPTED), the TMZ > > bits of > > PTEs that belongs that bo should be set. Then psp is able to protect

Re: [PATCH 14/14] drm/amdgpu: set TMZ bits in PTEs for secure bo (v2)

2019-09-11 Thread Koenig, Christian
Am 11.09.19 um 13:50 schrieb Huang, Ray: > From: Alex Deucher > > If one bo is secure (created with AMDGPU_GEM_CREATE_ENCRYPTED), the TMZ bits > of > PTEs that belongs that bo should be set. Then psp is able to protect the pages > of this bo to avoid the access from an "untrust" domain such as CP