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]
Message-ID: <20250401075211.GE98772@ubuntu>
Date: Tue, 1 Apr 2025 16:52:11 +0900
From: Jung Daehwan <dh10.jung@...sung.com>
To: Puma Hsu <pumahsu@...gle.com>
Cc: Wesley Cheng <quic_wcheng@...cinc.com>, srinivas.kandagatla@...aro.org,
	mathias.nyman@...el.com, perex@...ex.cz, conor+dt@...nel.org,
	dmitry.torokhov@...il.com, corbet@....net, broonie@...nel.org,
	lgirdwood@...il.com, krzk+dt@...nel.org,
	pierre-louis.bossart@...ux.intel.com, Thinh.Nguyen@...opsys.com,
	tiwai@...e.com, robh@...nel.org, gregkh@...uxfoundation.org,
	linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
	linux-sound@...r.kernel.org, linux-input@...r.kernel.org,
	linux-usb@...r.kernel.org, linux-arm-msm@...r.kernel.org,
	linux-doc@...r.kernel.org
Subject: Re: [PATCH v36 04/31] usb: host: xhci-plat: Set XHCI max
 interrupters if property is present

On Fri, Mar 28, 2025 at 03:44:00PM +0800, Puma Hsu wrote:
> On Wed, Mar 19, 2025 at 8:54 AM Wesley Cheng <quic_wcheng@...cinc.com> wrote:
> >
> > Some platforms may want to limit the number of XHCI interrupters allocated.
> > This is passed to xhci-plat as a device property.  Ensure that this is read
> > and the max_interrupters field is set.
> >
> > Signed-off-by: Wesley Cheng <quic_wcheng@...cinc.com>
> 
> Tested-by: Puma Hsu <pumahsu@...gle.com>
> 

Tested-by: Daehwan Jung <dh10.jung@...sung.com>

> > ---
> >  drivers/usb/host/xhci-plat.c | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
> > index 3155e3a842da..6dab142e7278 100644
> > --- a/drivers/usb/host/xhci-plat.c
> > +++ b/drivers/usb/host/xhci-plat.c
> > @@ -267,6 +267,8 @@ int xhci_plat_probe(struct platform_device *pdev, struct device *sysdev, const s
> >
> >                 device_property_read_u32(tmpdev, "imod-interval-ns",
> >                                          &xhci->imod_interval);
> > +               device_property_read_u16(tmpdev, "num-hc-interrupters",
> > +                                        &xhci->max_interrupters);
> >         }
> >
> >         /*
> >
> 
> 


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ