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: <8dbed370-c6d6-496c-eb41-efce2ee78286@microchip.com>
Date:   Mon, 11 Jul 2022 14:03:07 +0200
From:   Nicolas Ferre <nicolas.ferre@...rochip.com>
To:     Geert Uytterhoeven <geert+renesas@...der.be>,
        Ludovic Desroches <ludovic.desroches@...rochip.com>,
        Linus Walleij <linus.walleij@...aro.org>,
        Bartosz Golaszewski <brgl@...ev.pl>,
        Conor Dooley <Conor.Dooley@...rochip.com>,
        Horatiu Vultur <Horatiu.Vultur@...rochip.com>,
        Kavyasree Kotagiri <Kavyasree.Kotagiri@...rochip.com>
CC:     <linux-gpio@...r.kernel.org>,
        <linux-arm-kernel@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] gpio: GPIO_SAMA5D2_PIOBU should depend on ARCH_AT91

On 11/07/2022 at 10:36, Geert Uytterhoeven wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> The SAMA5D2 PIOBU is only present on some AT91/Microchip SoCs.  Hence
> add a dependency on ARCH_AT91, to prevent asking the user about this
> driver when configuring a kernel without AT91/Microchip SoC support.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>

Looks good to me:
Acked-by: Nicolas Ferre <nicolas.ferre@...rochip.com>

I'm adding to the thread my colleagues from lan966 and mpfs if it 
happens that they use this same IP on their SoC. Anyway, we can add them 
afterwards.

Thanks for your heads-up Geert, Best regards,
   Nicolas

> ---
>   drivers/gpio/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 63a89ff7865e374f..1852656d5eb248f6 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -553,6 +553,7 @@ config GPIO_SAMA5D2_PIOBU
>          tristate "SAMA5D2 PIOBU GPIO support"
>          depends on MFD_SYSCON
>          depends on OF_GPIO
> +       depends on ARCH_AT91 || COMPILE_TEST
>          select GPIO_SYSCON
>          help
>            Say yes here to use the PIOBU pins as GPIOs.
> --
> 2.25.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel


-- 
Nicolas Ferre

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ