mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: "Gupta, Nipun" <nipun.gupta@amd.com>
Cc: Krzysztof Kozlowski <krzk@kernel.org>,
	linux-kernel@vger.kernel.org, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org, derek.kiernan@amd.com,
	dragan.cvetic@amd.com, arnd@arndb.de, praveen.jain@amd.com,
	harpreet.anand@amd.com, nikhil.agarwal@amd.com,
	srivatsa@csail.mit.edu, code@tyhicks.com,
	ptsm@linux.microsoft.com
Subject: Re: [RFC PATCH 2/2] dt-bindings: add device tree binding for silex multipk
Date: Thu, 13 Mar 2025 10:43:41 +0100	[thread overview]
Message-ID: <2025031352-gyration-deceit-5563@gregkh> (raw)
In-Reply-To: <270daefd-22a6-9359-edcb-c514644cfe4f@amd.com>

On Thu, Mar 13, 2025 at 02:55:07PM +0530, Gupta, Nipun wrote:
> On 12-03-2025 16:21, Krzysztof Kozlowski wrote:
> > On 12/03/2025 10:54, Nipun Gupta wrote:
> > > +maintainers:
> > > +  - Nipun Gupta <nipun.gupta@amd.com>
> > > +  - Praveen Jain <praveen.jain@amd.com>
> > > +
> > > +description: |
> > > +  Silex Multipk device handles the Asymmetric crypto operations. The
> > > +  driver provides interface to user-space to directly interact with the
> > > +  Silex MultiPK device.
> > 
> > Why this isn't in crypto?
> 
> It is mentioned in patch RFC 1/2 - because Crypto AF_ALG does not support
> offloading asymmetric operations from user-space (which was attempted to be
> added earlier in Linux at: https://lore.kernel.org/all/146672253157.23101.15291203749122389409.stgit@tstruk-mobl1.ra.intel.com/)

That was 8 years ago.  We now have the accel framework, why not use
that?  Or work on getting this framework properly submitted as it looks
like you now have 2 different users for it.

> > Device name part is weirdly generic. How is this device exactly called?
> > Where is it used? Where is datasheet?
> 
> The device is on AMD versal series and is named "Multi PKI" device. I
> will update to use compatible as xlnx,multipk (AMD versal series link: https://www.amd.com/en/products/adaptive-socs-and-fpgas/versal/premium-series.html).
> Seems also renaming files to xlnx_multipk.c etc would be better. Will
> update.
> 
> The device is used for PKI offload for OpenSSL based applications.
> Unfortunately data sheet is not available in public domain.

Expecting an undocumented crypto accelerator to be used by anyone feels
like a very odd ask.  Would you want to trust that?

thanks,

greg k-h

  parent reply	other threads:[~2025-03-13  9:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-12  9:54 [RFC PATCH 1/2] drivers/misc: add silex multipk driver Nipun Gupta
2025-03-12  9:54 ` [RFC PATCH 2/2] dt-bindings: add device tree binding for silex multipk Nipun Gupta
2025-03-12 10:51   ` Krzysztof Kozlowski
2025-03-13  9:25     ` Gupta, Nipun
2025-03-13  9:38       ` Krzysztof Kozlowski
2025-03-13  9:43       ` Greg KH [this message]
2025-03-12 10:15 ` [RFC PATCH 1/2] drivers/misc: add silex multipk driver Greg KH
2025-03-12 10:18 ` Greg KH
2025-03-13  9:16   ` Gupta, Nipun
2025-03-13  9:41     ` Greg KH
2025-03-12 10:54 ` Krzysztof Kozlowski
2025-03-13  9:37   ` Gupta, Nipun

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=2025031352-gyration-deceit-5563@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=arnd@arndb.de \
    --cc=code@tyhicks.com \
    --cc=conor+dt@kernel.org \
    --cc=derek.kiernan@amd.com \
    --cc=dragan.cvetic@amd.com \
    --cc=harpreet.anand@amd.com \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nikhil.agarwal@amd.com \
    --cc=nipun.gupta@amd.com \
    --cc=praveen.jain@amd.com \
    --cc=ptsm@linux.microsoft.com \
    --cc=robh@kernel.org \
    --cc=srivatsa@csail.mit.edu \
    /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

all inboxes | Powered by JetHome®