Received: by 10.213.65.68 with SMTP id h4csp1381372imn; Wed, 21 Mar 2018 09:17:30 -0700 (PDT) X-Google-Smtp-Source: AG47ELuezpjZAbPQXJYSNM7IinChLNZnE8lATOITXtv3BB3j9V5xMZvVwC6Di0PgAbziGySBO7uO X-Received: by 10.99.97.203 with SMTP id v194mr15259889pgb.373.1521649050437; Wed, 21 Mar 2018 09:17:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521649050; cv=none; d=google.com; s=arc-20160816; b=iYwRQqa630qQnvESrHklIf+QLw2v4MQpo28a8JgOy7tt2lywmiL6Dej6StRMcJ5OUW qtRuBOfgnn+vEwcPaqhBcpTQaVkzCazeroRcoTLk6FulInJHHZnTWnlhcdcF5bgLrguF E4VEYDizQ1VTYy7LK8TvQYzn6dtnc1utuD1q0AmwmouBiP+NHgWnZTuqHJzBSd1jADJl EeUiybB1OPCZKB7QSqIbB+EqP0wQFEN59jkbFyVDRpo6ZvS5Ap4YYhs2P03f8L3zEWTs o+kRZUJZ5o7c9fjTR8ukBI5q/YBUtSG5vrQwqcmUGca74r8ckuq5j/lLMuOqfmACM+84 eG7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=Jg1Y8n9fd3PwNYmflO62ujcmdvAyEyo3k47TmAi1aLc=; b=B4yKbM+FZZFJ7MoFJSuEQEcnja5zWKpz+mLBvNShpD3QMMHKwAffhOd0sg6CSLQhz2 6krx97m6doF973SHL+bWSGGzZJCN8ChbYKeefQzLkXnI/AGImgm03jbjjFyO7edXQvGn oGQzNYW90FoYd+lW+4MB18OnwUa5w1tPq7nqx5FRikY8mWN4r+zW5+oUWwFVnaHajUm9 4642eZ8NCs2T3AVA4ErbByFHet1Dle5NY3vod4TSgiH/AvpJWsY7gTOPusx39w4pckrn sjlop6Spm8Qayxv/1WBbCA1UpxtO1XGeV7IRsZHbbPdU64NwbebGKag1FQgu+fICXnQ3 pG0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=MM+XUShT; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com 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.17.16; Wed, 21 Mar 2018 09:17:30 -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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=MM+XUShT; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752826AbeCUQOo (ORCPT + 99 others); Wed, 21 Mar 2018 12:14:44 -0400 Received: from mail-by2nam01on0098.outbound.protection.outlook.com ([104.47.34.98]:41466 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752714AbeCUQOl (ORCPT ); Wed, 21 Mar 2018 12:14:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Jg1Y8n9fd3PwNYmflO62ujcmdvAyEyo3k47TmAi1aLc=; b=MM+XUShTEE9Lg+poqdExzjB8B+H8rg5dE+uLJvwPm41ykRMiyoYmLWA7Fm44K/2IRyXjVEhFaKo3KjVwn6KU1jD4Y/q7wrzMeXwqG0AG/XijLfKvDnmvPXGyFmDxqOygpK8oKB3+K9CFOYjImdMOzgFrr4ecKc24rvC1/29oqcs= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB1048.namprd21.prod.outlook.com (52.132.128.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.631.0; Wed, 21 Mar 2018 16:14:39 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::3d9b:79e7:94eb:5d62]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::3d9b:79e7:94eb:5d62%5]) with mapi id 15.20.0631.004; Wed, 21 Mar 2018 16:14:39 +0000 From: Sasha Levin To: Chen-Yu Tsai CC: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Maxime Ripard Subject: Re: [PATCH AUTOSEL for 4.9 109/219] clk: sunxi-ng: a33: Add offset and minimum value for DDR1 PLL N factor Thread-Topic: [PATCH AUTOSEL for 4.9 109/219] clk: sunxi-ng: a33: Add offset and minimum value for DDR1 PLL N factor Thread-Index: AQHTsz8G8OCjc/NOiUqTqMNb2h8hGKPYi5EAgAJtW4A= Date: Wed, 21 Mar 2018 16:14:39 +0000 Message-ID: <20180321161437.smb5mniyridguw4x@sasha-lappy> References: <20180303222716.26640-1-alexander.levin@microsoft.com> <20180303222716.26640-109-alexander.levin@microsoft.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB1048;7:DJEDE3wAg0+pEm37K1QEbVzp1DvtkLHPKolHJ1gSaCM/7L5t0zaOO1enlJfS5xObOyLmktdbBhbPs/95IzzgqnB9i5MKHX7XJjOjrx9L1TkBgA016U4PbcH211LChaGmx+9BX4rR6X2vQlHdzVeyxBZ4L9A5WSe3sV0iwQK1mzhoOMeh1Dg78K4rKLqW5XnEt0/lN+cSptCDbLFnMcgp/oI26RjthstDW8pQgPYJS52FanOB9p2uR52g53+Thex1;20:LjAGQP9DwQbEIN88Qw0PzoepTq/r5wayOCJQyC4CKfyfDM36qzjxd7ueitYO3zP6HsApSJ7+GVGbm6pswIs5p8OBGT07vUvgl9qZlMRM5l2PPuIW22SK5GJrgEqEnusPKqaj9GI/JpxAx64xTdsrW4okg/M1OV6uHB+fxq2AHYA= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 5b9c745f-6fd6-404f-d5cd-08d58f46d917 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB1048; x-ms-traffictypediagnostic: DM5PR2101MB1048: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(9452136761055)(58145275503218); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231221)(944501316)(52105095)(6055026)(61426038)(61427038)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011);SRVR:DM5PR2101MB1048;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB1048; x-forefront-prvs: 0618E4E7E1 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(39860400002)(376002)(396003)(366004)(346002)(39380400002)(199004)(189003)(51914003)(2950100002)(22452003)(86362001)(575784001)(316002)(14454004)(7736002)(305945005)(5660300001)(106356001)(2900100001)(478600001)(66066001)(54906003)(3280700002)(72206003)(33716001)(2906002)(6116002)(99286004)(6916009)(10090500001)(105586002)(1076002)(86612001)(3846002)(68736007)(4326008)(186003)(53936002)(6512007)(6486002)(6436002)(8936002)(9686003)(76176011)(26005)(33896004)(102836004)(6506007)(97736004)(59450400001)(6246003)(3660700001)(10290500003)(229853002)(81156014)(81166006)(8676002)(25786009)(5250100002)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB1048;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 33oygVD8nYgfZCMMFL74SLM+sBea/B8K346RqRpEHYmihNSg+wuEzpp5rCoRq3r8eGPxdX2pWFOf2F8XubPF6pEcMCgdoXfWiBMoJ1XowceBhWKglhm8w2SYZhBrsb8GOSCTkzgLVOl69AjTluo/CKLf7m4rfJn5l/dz2tu11EP1nGhz3Ecez8H44ETWyIkEgD+sSwM12hh2cfIujX/+on/FkJbdrLVZysk3Cy5GIiPvgXUBxofNaDaytdDI2d6Sixr2M7jc4tqJ7ZIu7/aWs5XjsUNmVUvw5ldL+eBmdZ52CgmBg3K467NnosfuNs/dX61zkiEf/OXyA1qxIJLBRQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5b9c745f-6fd6-404f-d5cd-08d58f46d917 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2018 16:14:39.4212 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB1048 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 =3D { >> + .enable =3D BIT(31), >> + .lock =3D 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.rs= t: """ Additionally, some patches submitted via Option 1 may have additional patch prerequisites which can be cherry-picked. This can be specified in the foll= owing format in the sign-off area: Cc: # 3.3.x: a1f84a3: sched: Check for idle Cc: # 3.3.x: 1b9508f: sched: Rate-limit newid= le Cc: # 3.3.x: fd21073: sched: Fix affinity log= ic 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 =20 """ --=20 Thanks, Sasha=