Re: [PATCH v2 2/3] accel/amdpk: add driver for AMD PKI accelerator
From: Gupta, Nipun
Date: Fri Apr 11 2025 - 00:51:29 EST
On 10-04-2025 13:06, Krzysztof Kozlowski wrote:
On Wed, Apr 09, 2025 at 11:00:32PM GMT, Nipun Gupta wrote:
The AMD PKI accelerator driver provides a accel interface to interact
with the device for offloading and accelerating asymmetric crypto
operations.
For me this is clearly a crypto driver and you are supposed to:
1. Cc crypto maintaners,
2. Put it actually into crypto and use crypto API.
added crypto maintainers for comments.
IMO, as accel framework is designed to support any type of compute
accelerators, the PKI crypto accelerator in accel framework is not
completely out of place here, as also suggested at:
https://lore.kernel.org/all/2025031352-gyration-deceit-5563@gregkh/
Having the crypto accelerator as part of accel also enables to extract
the most performance from the HW PKI engines, given that the queue
assignment is handled per drm device open call.
Regards,
Nipun