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: <b5b97198d85ead33afa2fcf619a50944@bootlin.com>
Date:   Mon, 15 Apr 2019 09:59:39 +0200
From:   gregory.clement@...tlin.com
To:     Alexandre Belloni <alexandre.belloni@...tlin.com>
Cc:     Vladimir Zapolskiy <vz@...ia.com>,
        Sylvain Lemieux <slemieux.tyco@...il.com>,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: lpc32xx: stop overwriting TEST_CLK_SEL

On 2019-04-11 16:12, Alexandre Belloni wrote:
> While the UDA1380 is described in some lpc3250 device trees, there is
> currently no real user of that codec. Anyway, if the codec needs a 
> clock,
> it should take it explicitly.
> 
> lpc3250_machine_init is called for all the lpc32xx machines and some 
> are
> using test1_clk (for example to strobe an HW watchdog). Overwriting
> TEST_CLK_SEL prevents booting those platforms.
> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni@...tlin.com>


Tested-by: Gregory CLEMENT <gregory.clement@...tlin.com>


> ---
>  arch/arm/mach-lpc32xx/phy3250.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/arch/arm/mach-lpc32xx/phy3250.c 
> b/arch/arm/mach-lpc32xx/phy3250.c
> index fdbb1409c32b..1db8508493a5 100644
> --- a/arch/arm/mach-lpc32xx/phy3250.c
> +++ b/arch/arm/mach-lpc32xx/phy3250.c
> @@ -128,11 +128,6 @@ static void __init lpc3250_machine_init(void)
>  {
>  	lpc32xx_serial_init();
> 
> -	/* Test clock needed for UDA1380 initial init */
> -	__raw_writel(LPC32XX_CLKPWR_TESTCLK2_SEL_MOSC |
> -		LPC32XX_CLKPWR_TESTCLK_TESTCLK2_EN,
> -		LPC32XX_CLKPWR_TEST_CLK_SEL);
> -
>  	of_platform_default_populate(NULL, lpc32xx_auxdata_lookup, NULL);
>  }

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ