Received: by 10.213.65.68 with SMTP id h4csp1384612imn; Wed, 21 Mar 2018 09:22:11 -0700 (PDT) X-Google-Smtp-Source: AG47ELu9omBK3fXYjJpDnKH8W9n0F8Y2nwbneTrVcfyt1A+PM0z8JKQrTOlL+lZIaq6u8VRiHZTC X-Received: by 10.98.141.65 with SMTP id z62mr17582641pfd.129.1521649331368; Wed, 21 Mar 2018 09:22:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521649331; cv=none; d=google.com; s=arc-20160816; b=YipACwQz3fbVp17KyC1RTtfyJBsBizztTtoOjSXuUyRPzXxCb8ldRcQq4yMO2aqVtH s+EuqH0kXaDN1ZYg2/Ij+66IAhab3gPyimgdXIwpID2/NqkBsLkFijiEUvqMdVMg17v0 TnP9SD4fNperiZmhmEvi3ameCAbO49nyu/n77MBT5VPy1Umug654L+mn5RNIeO2ZudXE fa6gOe1SavelICh3XwaJAwLkVreW3i9M+6cTLnMMX/fa96zRaA4uHZOhhETT0hIhRkr9 7l+me54A5u9nrFFD0yafEBHXzUwBsT7Ilww/NUePhQQH6Ww3+w/Ei1L2ygaudVmhaAXc 4/9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:arc-authentication-results; bh=Obqk2uWSEmbm7U5jDonxuOy0cnMIr2zkmEW8yHGPD1k=; b=ehXfaFCxuq7r2po5ikkPzEOV7dtMEtIeRkMmryTUmTxW36mkwAVUbtkW5hwVz5A/84 Z+rmYP2QaFpgQB9HqMZxpzHWQiXwfHyOodujMcT5K9f+itVQTguwTRuUiLzgZa7Y1veA simeQKtbAM9ZmD3EPZZJTjHd8vhBtDq1xMTGm7L6TmgOb8NRBhEJQBJXvFMo/Rtv4GPh eQFF3g2/0JInskJd351rfHGJN6rREwZa7G6WWrpvUDlFa2Bh+wV/ai0BxPYy9Ke8C3bw ntgIYgEfDkxRSagEssZamfzTgUwFXfXwsM2iwjQ71eozxfhlkr+FQJF/dLquChvx0K/9 62hA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p33-v6si4322426pld.224.2018.03.21.09.21.55; Wed, 21 Mar 2018 09:22:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751755AbeCUQTo (ORCPT + 99 others); Wed, 21 Mar 2018 12:19:44 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:50655 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751416AbeCUQTl (ORCPT ); Wed, 21 Mar 2018 12:19:41 -0400 Received: by mail-wm0-f65.google.com with SMTP id f19so10844698wmc.0; Wed, 21 Mar 2018 09:19:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Obqk2uWSEmbm7U5jDonxuOy0cnMIr2zkmEW8yHGPD1k=; b=IUmfekqGK+uA+z1uGA9fxhnCp2vBqoDEmZOkEhstF/4c5Tww0o6XKgtn1Otx7vb0rU cWl/JDQw/X5oImo/5wwNGCaBTsXZyh7KBR7cU1ivBeeYUUY9PlKtjXjG4gRAJ7VuCNiY 8nbaSk0t4EqKBZa/shQhZvBZvyDBLFcWVe94k683mWZVDq55yOKHFQzL55pkNIsILev6 6gjikPYo8gryUierR6u4LW5+yHQIkE+0vJtkM67wWgOwCfiT0wL1lmo+huZM556DG+kj nsjfnGfR1pFPpPm+Yu0Rsps7ujFfEiFePPsIw7ZZ7MgBRIxGR/c7fnytOvKTUPDt9hFG 386g== X-Gm-Message-State: AElRT7HkougrAszt8gkV7fgLpxGpXwGb1VZ4j0i2HW3nZxzpHDz+FBaE /0JuGzHklXFxVrHltsu+DceQV8n5 X-Received: by 10.80.131.69 with SMTP id 63mr22179496edh.297.1521649180105; Wed, 21 Mar 2018 09:19:40 -0700 (PDT) Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com. [74.125.82.41]) by smtp.gmail.com with ESMTPSA id 26sm3708375eds.26.2018.03.21.09.19.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Mar 2018 09:19:39 -0700 (PDT) Received: by mail-wm0-f41.google.com with SMTP id a20so22674778wmd.1; Wed, 21 Mar 2018 09:19:39 -0700 (PDT) X-Received: by 10.28.170.5 with SMTP id t5mr3106531wme.116.1521649179221; Wed, 21 Mar 2018 09:19:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.164.129 with HTTP; Wed, 21 Mar 2018 09:19:18 -0700 (PDT) In-Reply-To: <20180321161437.smb5mniyridguw4x@sasha-lappy> References: <20180303222716.26640-1-alexander.levin@microsoft.com> <20180303222716.26640-109-alexander.levin@microsoft.com> <20180321161437.smb5mniyridguw4x@sasha-lappy> From: Chen-Yu Tsai Date: Thu, 22 Mar 2018 00:19:18 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH AUTOSEL for 4.9 109/219] clk: sunxi-ng: a33: Add offset and minimum value for DDR1 PLL N factor To: Sasha Levin Cc: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Maxime Ripard Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 22, 2018 at 12:14 AM, Sasha Levin wrote: > On Tue, Mar 20, 2018 at 11:10:42AM +0800, Chen-Yu Tsai wrote: >>Hi, >> >>On Sun, Mar 4, 2018 at 6:28 AM, Sasha Levin >> wrote: >>> From: Chen-Yu Tsai >>> >>> [ Upstream commit 68f37d862403e8f95337b2eca90af15d0b8cd5d7 ] >>> >>> The DDR1 PLL on the A33 is an oddball amongst the A33 CCU clocks. >>> It is a clock multiplier, with the effective multiplier in the >>> range of 12 ~ 255 and no offset between the multiplier value and >>> the value programmed into the register. >>> >>> Implement the zero offset and minimum value of 12 for this clock. >>> >>> Fixes: d05c748bd730 ("clk: sunxi-ng: Add A33 CCU support") >>> Signed-off-by: Chen-Yu Tsai >>> Signed-off-by: Maxime Ripard >>> Signed-off-by: Sasha Levin >>> --- >>> drivers/clk/sunxi-ng/ccu-sun8i-a33.c | 18 +++++++++++------- >>> 1 file changed, 11 insertions(+), 7 deletions(-) >>> >>> diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-a33.c b/drivers/clk/sunxi-ng/ccu-sun8i-a33.c >>> index e1dc4e5b34e1..bdbaf26f551f 100644 >>> --- a/drivers/clk/sunxi-ng/ccu-sun8i-a33.c >>> +++ b/drivers/clk/sunxi-ng/ccu-sun8i-a33.c >>> @@ -159,13 +159,17 @@ static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_de_clk, "pll-de", >>> BIT(28), /* lock */ >>> CLK_SET_RATE_UNGATE); >>> >>> -/* TODO: Fix N */ >>> -static SUNXI_CCU_N_WITH_GATE_LOCK(pll_ddr1_clk, "pll-ddr1", >>> - "osc24M", 0x04c, >>> - 8, 6, /* N */ >>> - BIT(31), /* gate */ >>> - BIT(28), /* lock */ >>> - CLK_SET_RATE_UNGATE); >>> +static struct ccu_mult pll_ddr1_clk = { >>> + .enable = BIT(31), >>> + .lock = BIT(28), >> >>As you undoubtedly noticed, this does not build. It needs commit >>cf719012b232 ("clk: sunxi-ng: mult: Support PLL lock detection") >>to be applied first. They were part of the same series. > > Thanks for the heads up! > >>Incidentally, how can we note these kinds of dependencies to make >>life easier for stable kernel maintainers? > > Yes! There are more details in Documentation/process/stable-kernel-rules.rst: > > > """ > Additionally, some patches submitted via Option 1 may have additional patch > prerequisites which can be cherry-picked. This can be specified in the following > format in the sign-off area: > > Cc: # 3.3.x: a1f84a3: sched: Check for idle > Cc: # 3.3.x: 1b9508f: sched: Rate-limit newidle > Cc: # 3.3.x: fd21073: sched: Fix affinity logic > Cc: # 3.3.x > Signed-off-by: Ingo Molnar > > The tag sequence has the meaning of: > > git cherry-pick a1f84a3 > git cherry-pick 1b9508f > git cherry-pick fd21073 > git cherry-pick > """ I know about these, and add them when I can. What I'm asking about is if a fix and its prerequisites are sent as part of a larger series for -next, then none of the prerequisites would be in Linus' tree, and I can't use this format. What then? Mention the prerequisite patches' subjects in the commit log? We tend to bunch fixes into -next if they aren't critical (such as a faulty clock that doesn't have any in tree users yet) or related to the current -rc series. Thanks ChenYu