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: <CANMBJr7Kp9mJ_TdptR8KzZX=4AYPqB5gh1NEkbDqumoKBsaVVA@mail.gmail.com>
Date:	Thu, 7 May 2015 18:24:37 -0700
From:	Tyler Baker <tyler.baker@...aro.org>
To:	Boris Brezillon <boris.brezillon@...e-electrons.com>
Cc:	Luis Henriques <luis.henriques@...onical.com>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	torvalds@...ux-foundation.org,
	Andrew Morton <akpm@...ux-foundation.org>,
	Guenter Roeck <linux@...ck-us.net>, shuah.kh@...sung.com,
	stable@...r.kernel.org, Mike Turquette <mturquette@...aro.org>
Subject: Re: [PATCH 3.19 000/177] 3.19.7-stable review

On 7 May 2015 at 02:56, Boris Brezillon
<boris.brezillon@...e-electrons.com> wrote:
> Luis, Tyler,
>
> On Thu, 7 May 2015 09:55:53 +0100
> Luis Henriques <luis.henriques@...onical.com> wrote:
>
>> On Wed, May 06, 2015 at 10:25:17PM -0700, Tyler Baker wrote:
>> >
>> > Locally I've reverted c67881fc890916206e723329e774391c6ed354ce on top
>> > of v3.19.7 and confirmed that my at91-sama5d3_xplained boots that
>> > kernel successfully[4].
>> >
>>
>> And that makes sense as commit 1c8e600440c7 ("clk: Add rate
>> constraints to clocks") isn't in 3.19.  This commit changes the
>> signature of .determine_rate to include the 2 extra args present in
>> at91sam9x5_clk_usb_determine_rate() after commit
>> c67881fc890916206e723329e774391c6ed354ce.
>
> Oops, indeed. I shouldn't have tagged this commit for stable.
> Below is a patch fixing this problem.
> Sorry for the inconvenience.

Tested this patch, and confirmed it resolves the boot issues. Thanks
for a speedy response.

>
> Best Regards,
>
> Boris
>
> -- >8 --
> From 73a2cf633be185570c7df689afedaebed86d8451 Mon Sep 17 00:00:00 2001
> Subject: [PATCH] clk: at91: usb: fix determine_rate prototype
>
> Commit c67881fc890916206e723329e774391c6ed354ce is a backport of
> 0b67c43ce36a9964f1d5e3f973ee19eefd3f9f8f upstream commit, fixing a
> bug on clk rate change propagation.
> But in 4.0 ->determine_rate() prototype has changed, thus introducing
> a prototype mismatch when applying it on 3.19.
>
> Signed-off-by: Boris Brezillon <boris.brezillon@...e-electrons.com>
> ---
>  drivers/clk/at91/clk-usb.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/clk/at91/clk-usb.c b/drivers/clk/at91/clk-usb.c
> index 0b7c3e8..0283a57 100644
> --- a/drivers/clk/at91/clk-usb.c
> +++ b/drivers/clk/at91/clk-usb.c
> @@ -58,8 +58,6 @@ static unsigned long at91sam9x5_clk_usb_recalc_rate(struct clk_hw *hw,
>
>  static long at91sam9x5_clk_usb_determine_rate(struct clk_hw *hw,
>                                               unsigned long rate,
> -                                             unsigned long min_rate,
> -                                             unsigned long max_rate,
>                                               unsigned long *best_parent_rate,
>                                               struct clk_hw **best_parent_hw)
>  {
> --
> 1.9.1
>

Cheers,

Tyler
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ