Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: vitaly prosyak <vprosyak@amd.com>
To: Kamil Konieczny <kamil.konieczny@linux.intel.com>,
	igt-dev@lists.freedesktop.org, vitaly.prosyak@amd.com,
	Jesse Zhang <jesse.zhang@amd.com>,
	Alex Deucher <alexander.deucher@amd.com>,
	Christian Koenig <christian.koenig@amd.com>
Subject: Re: [PATCH 1/2] lib/amdgpu: add secure flag to sdma packet
Date: Mon, 15 Jan 2024 23:18:14 -0500	[thread overview]
Message-ID: <4a5c81ae-e562-45a0-bd7c-40f00f777984@amd.com> (raw)
In-Reply-To: <20240115151619.2r65k52bwlaypvbo@kamilkon-desk.igk.intel.com>


On 2024-01-15 10:16, Kamil Konieczny wrote:
> Hi,
>
> On 2024-01-11 at 14:25:52 -0500, vitaly.prosyak@amd.com wrote:
>> From: Vitaly Prosyak <vitaly.prosyak@amd.com>
>>
>> The change is required to handle the security flag for
>> trusted memory zone copy operation(TMZ feature).
>> Previously the security test was its own hardcoded version,
>> now we are allowed to use ASIC -the dependent version function
> ------------------------------------- ^^^^^^^^^
> Small nit:
> 'dependant' may be misspelled - perhaps 'dependent'?
Thanks for paying attention to this, yes, you are correct, the 'dependent' word is required.

The main difference is that a 'dependant' is a person, whereas a 'dependent' is an adjective describing a status and that is what we want.

Vitaly

>
> Regards,
> Kamil
>
>> to create the SDMA packet.
>>
>> v2 : added description to commit message (Kamil)
>>
>> Cc: Jesse Zhang <jesse.zhang@amd.com>
>> Cc: Alex Deucher <alexander.deucher@amd.com>
>> Cc: Christian Koenig <christian.koenig@amd.com>
>> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
>>
>> Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
>> Reviewed-by: Jesse Zhang <jesse.zhang@amd.com>
>> ---
>>  lib/amdgpu/amd_ip_blocks.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/lib/amdgpu/amd_ip_blocks.c b/lib/amdgpu/amd_ip_blocks.c
>> index 1adea6987..a7ccfa38b 100644
>> --- a/lib/amdgpu/amd_ip_blocks.c
>> +++ b/lib/amdgpu/amd_ip_blocks.c
>> @@ -139,7 +139,7 @@ sdma_ring_copy_linear(const struct amdgpu_ip_funcs *func,
>>  	} else {
>>  		context->pm4[i++] = SDMA_PACKET(SDMA_OPCODE_COPY,
>>  				       SDMA_COPY_SUB_OPCODE_LINEAR,
>> -				       0);
>> +					context->secure ? 0x4 : 0);
>>  		if (func->family_id >= AMDGPU_FAMILY_AI)
>>  			context->pm4[i++] = context->write_length - 1;
>>  		else
>> -- 
>> 2.25.1
>>

  reply	other threads:[~2024-01-16  4:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-11 19:25 [PATCH 1/2] lib/amdgpu: add secure flag to sdma packet vitaly.prosyak
2024-01-11 19:25 ` vitaly.prosyak
2024-01-11 19:25 ` [PATCH 2/2] tests/amd_security: fix secure bounce test vitaly.prosyak
2024-01-11 19:25   ` vitaly.prosyak
2024-01-15 15:19   ` Kamil Konieczny
2024-01-11 20:23 ` ✓ Fi.CI.BAT: success for series starting with [1/2] lib/amdgpu: add secure flag to sdma packet Patchwork
2024-01-11 21:23 ` ✗ CI.xeBAT: failure " Patchwork
2024-01-12 17:45   ` Kamil Konieczny
2024-01-11 23:39 ` ✗ Fi.CI.IGT: " Patchwork
2024-01-12 17:46   ` Kamil Konieczny
2024-01-18 12:32     ` Illipilli, TejasreeX
2024-01-15 15:16 ` [PATCH 1/2] " Kamil Konieczny
2024-01-16  4:18   ` vitaly prosyak [this message]
2024-01-18 12:40 ` ✓ Fi.CI.IGT: success for series starting with [1/2] " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2024-01-11  0:31 [PATCH 1/2] " vitaly.prosyak
2024-01-11  0:31 ` vitaly.prosyak
2024-01-11 13:09 ` Kamil Konieczny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4a5c81ae-e562-45a0-bd7c-40f00f777984@amd.com \
    --to=vprosyak@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=christian.koenig@amd.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jesse.zhang@amd.com \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=vitaly.prosyak@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox