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] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 07 Mar 2023 08:50:47 -0600
From:   Tom Zanussi <tom.zanussi@...ux.intel.com>
To:     Fenghua Yu <fenghua.yu@...el.com>, herbert@...dor.apana.org.au,
        davem@...emloft.net, vkoul@...nel.org
Cc:     dave.jiang@...el.com, tony.luck@...el.com,
        wajdi.k.feghali@...el.com, james.guilford@...el.com,
        kanchana.p.sridhar@...el.com, linux-kernel@...r.kernel.org,
        linux-crypto@...r.kernel.org, dmaengine@...r.kernel.org
Subject: Re: [PATCH 01/16] dmaengine: idxd: add wq driver name support for
 accel-config user tool

Hi Fenghua,

On Tue, 2023-03-07 at 05:43 -0800, Fenghua Yu wrote:
> Hi, Tom,
> 
> On 3/6/23 10:52, Tom Zanussi wrote:
> > From: Dave Jiang <dave.jiang@...el.com>
> > 
> > With the possibility of multiple wq drivers that can be bound to
> > the wq,
> > the user config tool accel-config needs a way to know which wq
> > driver to
> > bind to the wq. Introduce per wq driver_name sysfs attribute where
> > the user
> > can indicate the driver to be bound to the wq. This allows accel-
> > config to
> > just bind to the driver using wq->driver_name.
> > 
> > Signed-off-by: Dave Jiang <dave.jiang@...el.com>
> > Signed-off-by: Tom Zanussi <tom.zanussi@...ux.intel.com>
> > ---
> >   .../ABI/stable/sysfs-driver-dma-idxd          |  6 ++++
> >   drivers/dma/idxd/cdev.c                       |  8 ++++++
> >   drivers/dma/idxd/dma.c                        |  6 ++++
> >   drivers/dma/idxd/idxd.h                       |  7 +++++
> >   drivers/dma/idxd/sysfs.c                      | 28
> > +++++++++++++++++++
> >   include/uapi/linux/idxd.h                     |  1 +
> >   6 files changed, 56 insertions(+)
> > 
> > diff --git a/Documentation/ABI/stable/sysfs-driver-dma-idxd
> > b/Documentation/ABI/stable/sysfs-driver-dma-idxd
> > index 3becc9a82bdf..e9a37e064193 100644
> > --- a/Documentation/ABI/stable/sysfs-driver-dma-idxd
> > +++ b/Documentation/ABI/stable/sysfs-driver-dma-idxd
> > @@ -244,6 +244,12 @@ Description:       Shows the operation
> > capability bits displayed in bitmap format
> >                 correlates to the operations allowed. It's visible
> > only
> >                 on platforms that support the capability.
> >   
> > +What:          /sys/bus/dsa/devices/wq<m>.<n>/driver_name
> > +Date:          Feb 23, 2023
> > +KernelVersion: 6.3.0
> 
> Need to change to 6.4.0. This series won't be in 6.3.0.

OK, will change to 6.4.0.

Thanks,

Tom

> 
> > +Contact:       dmaengine@...r.kernel.org
> > +Description:   Name of driver to be bounded to the wq.
> > +
> 
> Thanks.
> 
> -Fenghua

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ