lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <33a9bb1c-136f-40cc-adfb-9f94365158ed@arm.com>
Date: Thu, 27 Mar 2025 08:58:53 +0000
From: Lukas Zapolskas <lukas.zapolskas@....com>
To: Adrián Larumbe <adrian.larumbe@...labora.com>
Cc: Boris Brezillon <boris.brezillon@...labora.com>,
 Steven Price <steven.price@....com>, Liviu Dudau <liviu.dudau@....com>,
 Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
 Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>,
 David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
 dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
 Mihail Atanassov <mihail.atanassov@....com>, nd@....com
Subject: Re: [RFC v2 8/8] drm/panthor: Expose the panthor perf ioctls



On 27/01/2025 20:14, Adrián Larumbe wrote:
> I don't know what the usual practice is when adding a new DRM driver ioctl(), but wouldn't it make
> more sense to add the PERF_CONTROL one to the panthor_drm_driver_ioctls array in this patch instead?
>

That does make more sense, I'll shuffle the patches around.


> Other than that:
> 
> Reviewed-by: Adrián Larumbe <adrian.larumbe@...labora.com>
> 
> On 11.12.2024 16:50, Lukas Zapolskas wrote:
>> Signed-off-by: Lukas Zapolskas <lukas.zapolskas@....com>
>> ---
>>   drivers/gpu/drm/panthor/panthor_drv.c | 4 +++-
>>   1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/panthor/panthor_drv.c b/drivers/gpu/drm/panthor/panthor_drv.c
>> index 2848ab442d10..ef081a383fa9 100644
>> --- a/drivers/gpu/drm/panthor/panthor_drv.c
>> +++ b/drivers/gpu/drm/panthor/panthor_drv.c
>> @@ -1654,6 +1654,8 @@ static void panthor_debugfs_init(struct drm_minor *minor)
>>    * - 1.1 - adds DEV_QUERY_TIMESTAMP_INFO query
>>    * - 1.2 - adds DEV_QUERY_GROUP_PRIORITIES_INFO query
>>    *       - adds PANTHOR_GROUP_PRIORITY_REALTIME priority
>> + * - 1.3 - adds DEV_QUERY_PERF_INFO query
>> + *         adds PERF_CONTROL ioctl
>>    */
>>   static const struct drm_driver panthor_drm_driver = {
>>   	.driver_features = DRIVER_RENDER | DRIVER_GEM | DRIVER_SYNCOBJ |
>> @@ -1667,7 +1669,7 @@ static const struct drm_driver panthor_drm_driver = {
>>   	.name = "panthor",
>>   	.desc = "Panthor DRM driver",
>>   	.major = 1,
>> -	.minor = 2,
>> +	.minor = 3,
>>   
>>   	.gem_create_object = panthor_gem_create_object,
>>   	.gem_prime_import_sg_table = drm_gem_shmem_prime_import_sg_table,
>> -- 
>> 2.25.1
> 
> 
> Adrian Larumbe

Thank you very much for taking a look! I'm working on addressing
the comments you left and hoping to get a v3 up soon.

Kind regards,
Lukas Zapolskas


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ