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: <OS0PR01MB592285E3E3B9AA7FD8C291A286D59@OS0PR01MB5922.jpnprd01.prod.outlook.com>
Date:   Sun, 5 Feb 2023 08:52:17 +0000
From:   Biju Das <biju.das.jz@...renesas.com>
To:     Tom Rix <trix@...hat.com>,
        "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
        "arnd@...db.de" <arnd@...db.de>,
        "linus.walleij@...aro.org" <linus.walleij@...aro.org>,
        "artur.bujdoso@...il.com" <artur.bujdoso@...il.com>,
        "miquel.raynal@...tlin.com" <miquel.raynal@...tlin.com>,
        "colin.i.king@...il.com" <colin.i.king@...il.com>,
        "tmaimon77@...il.com" <tmaimon77@...il.com>
CC:     "linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] usb: host: USB_XHCI_RZV2M depends on USB_GADGET

Hi Tom,

Thanks for the patch.

Arnd send a patch for refactoring the USB_XHCI_RZV2M KConfig dependencies related to USB_GADGET on [1] and
is in usb-next. Do you see this issue after applying[1]?

[1] https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/commit/?h=usb-next&id=ec5499d338ece9db9b7590649d3cfcc4d7f9603d

Cheers,
Biju

> -----Original Message-----
> From: Tom Rix <trix@...hat.com>
> Sent: Sunday, February 5, 2023 2:12 AM
> To: gregkh@...uxfoundation.org; arnd@...db.de; linus.walleij@...aro.org;
> artur.bujdoso@...il.com; miquel.raynal@...tlin.com; colin.i.king@...il.com;
> Biju Das <biju.das.jz@...renesas.com>; tmaimon77@...il.com
> Cc: linux-usb@...r.kernel.org; linux-kernel@...r.kernel.org; Tom Rix
> <trix@...hat.com>
> Subject: [PATCH] usb: host: USB_XHCI_RZV2M depends on USB_GADGET
> 
> A rand config causes this link error
> ld: drivers/usb/host/xhci-rzv2m.o: in function `xhci_rzv2m_init_quirk':
> xhci-rzv2m.c:(.text+0x13): undefined reference to `rzv2m_usb3drd_reset'
> 
> xhci_rzv2m_init_quirk build is controlled by USB_XHCI_RZV2M
> rzv2m_usb3drd_reset build is controlled by USB_RZV2M_USB3DRD
> 
> USE_XHCI_RZV2M does select USB_RZV2M_USB3DRD, but USB_RZV2M_USB3DRD depends
> on USB_GADGET, so now does USE_XHCI_RZV2M.
> 
> Signed-off-by: Tom Rix <trix@...hat.com>
> ---
>  drivers/usb/host/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index
> 2b80ce9587c1..2dd9e95a5b86 100644
> --- a/drivers/usb/host/Kconfig
> +++ b/drivers/usb/host/Kconfig
> @@ -100,6 +100,7 @@ config USB_XHCI_RZV2M
>  	tristate "xHCI support for Renesas RZ/V2M SoC"
>  	depends on USB_XHCI_PLATFORM
>  	depends on ARCH_R9A09G011 || COMPILE_TEST
> +	depends on USB_GADGET
>  	select USB_RZV2M_USB3DRD
>  	help
>  	  Say 'Y' to enable the support for the xHCI host controller
> --
> 2.27.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ