From patchwork Wed Nov 20 05:25:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "kernelci.org bot" X-Patchwork-Id: 179819 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1621482ilf; Tue, 19 Nov 2019 21:25:31 -0800 (PST) X-Google-Smtp-Source: APXvYqw8zREv8BAbZKzAXV2RtBdgFgzfgSxA6iRXgI+lXPeRAcl/AeTiwjQvEu67q0ywu6slYodH X-Received: by 2002:a17:906:4dd5:: with SMTP id f21mr2536694ejw.203.1574227531363; Tue, 19 Nov 2019 21:25:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574227531; cv=none; d=google.com; s=arc-20160816; b=srPWAf+lLMOdUp1X+08sz86ctTLsJb2H8LiFpPSYKX2LUayC+wSlEbAW4pMP2xN8Yz M4rwXZK+Js/BC5CMERA/ftwv4/GOu1+FDPlTyVf7qXJ3yIspq/8UE1JJDIcU3wvSM3LQ 8CBxngUJ+om9t4vY852WSl1Hgan2f3ZmgzV4pQMaQzho2LN+peIB+559tQn/U660N63d BdRQKe3bmRhImuW+AyVNRNZ+kvPX+MUXkz4lV98nUgn1ndjWLgZcE8QmyuIWrxyO4b5N Qm4W6bY1E0Suq54hIBFmQSbDjbsgySlfkB/+39Pp40kQHa42Xk+uVoInM5L9PLBOJzMp 0NiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:from:to:subject :content-transfer-encoding:mime-version:date:message-id :dkim-signature; bh=v+uBk5IEyaYZ7IF/b+w4lvOtghz7YVivbgrg50na0fw=; b=ThkgKSqJg9Wb6+0UKbf2f8hqEpOYYta8xMavN41Lvg2pXQaju9SjVmzhWjgCJkH63L CEALahWQN+YIkCEUClHvr0ZcwDU924tYQJfXZ3RBy56RxCMaG1h5rzAOT2xay9THz5Y+ X6XZFzyCLVe33h/PKhUT+phxtKCkf1Kx0CBHa7HHctVm4Z3/FOMUP3yetZiL7jMbmyX5 UrZotJMKCXDVPlUkrvJoAw6gg7+PAhe9/BKsYFZb8dlvUxWNJ8dxtPtDrv+OhJm+W0S+ 0v/pCwS+iBzMwl4hYjH6ovpCjYi5M/UrghQURJCCPKKUL1dTNlA4bPWs3voRbiKy7HbL gveQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernelci-org.20150623.gappssmtp.com header.s=20150623 header.b=ov0DGKKW; 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 w54si17516330eda.214.2019.11.19.21.25.31; Tue, 19 Nov 2019 21:25:31 -0800 (PST) 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=@kernelci-org.20150623.gappssmtp.com header.s=20150623 header.b=ov0DGKKW; 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 S1726841AbfKTFZY (ORCPT + 26 others); Wed, 20 Nov 2019 00:25:24 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:52691 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726014AbfKTFZX (ORCPT ); Wed, 20 Nov 2019 00:25:23 -0500 Received: by mail-wm1-f66.google.com with SMTP id l1so5605088wme.2 for ; Tue, 19 Nov 2019 21:25:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernelci-org.20150623.gappssmtp.com; s=20150623; h=message-id:date:mime-version:content-transfer-encoding:subject:to :from:cc; bh=v+uBk5IEyaYZ7IF/b+w4lvOtghz7YVivbgrg50na0fw=; b=ov0DGKKWFfs9XQfFjYgGbG8mvNWdUX0PZJC5FicSFBTO+iQBnzhDBYDf0xfmRuuOBr NH2BkVXbo2lWyCvfeEiGRw02G5cV770g6ATNSrTxDBSrdPpvQp1L85Uz7nT/qQxJW5IT xyhtRNPhTqG8zfeU/BCM0G3v0+A3UXpnfHUmdcSugqJ3k5LAmAsa9Q+SgcQAhGHjZ04L EbhorRGcgpqvPHItV7Lsd4FN0lJdIMnjiMPgjXAUFeed0SxhsrEJJfJXJ2TCmg3Slhn4 ehgDN3mBkccZSvgglZnOre1cpxyoKkowLiR/7oCYcHl1Nj25tfUFuuA2Q2ODmhNAgSg0 5LnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:mime-version :content-transfer-encoding:subject:to:from:cc; bh=v+uBk5IEyaYZ7IF/b+w4lvOtghz7YVivbgrg50na0fw=; b=V0K+WMkumjM/mujrWn3Td7AwsWjuA5kSl0qYJkjqsD0VmDtcCoFtZ4wfPhthX4GA1P LEnzi+3Bn3dCGtUexXYPn3lKAiP1DUX9BdiU7nCjTMCXbPu8/uaceAWdR0wyqMGqLCRZ mEXlRE7RbdHdXjTxRq6zr5HiZu6GloxyYCGjrEiZ27YHc1E6kumjXKRnSI9K3qLuGNGl z0+nMdF0CHebyGVLqjMuuH9JW8NT+MTZwgdvS6A2OIjht1BzF+6gWwXRMzTORBaf2y3p eb0kJUgOQqSRGPgiI3HHc6ZrngQK83VCv0yD2APoqIlyKbYD1LHzzRLgBWzp+3vZbtVz Njnw== X-Gm-Message-State: APjAAAU8HJQxkjv1C5kFyxeNNiQx+T27V2Vc5NuFKUuqkCtueEpKEjJa aRZncELM/etyZ96izkweXdQiEg== X-Received: by 2002:a1c:1fca:: with SMTP id f193mr894882wmf.173.1574227520777; Tue, 19 Nov 2019 21:25:20 -0800 (PST) Received: from [148.251.42.114] ([2a01:4f8:201:9271::2]) by smtp.gmail.com with ESMTPSA id q15sm29863955wrs.91.2019.11.19.21.25.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Nov 2019 21:25:20 -0800 (PST) Message-ID: <5dd4ce40.1c69fb81.548f8.e723@mx.google.com> Date: Tue, 19 Nov 2019 21:25:20 -0800 (PST) MIME-Version: 1.0 X-Kernelci-Lab-Name: lab-collabora X-Kernelci-Branch: clk-next X-Kernelci-Tree: clk X-Kernelci-Report-Type: bisect X-Kernelci-Kernel: clk-fixes-for-linus-196-gcd89054e321a Subject: clk/clk-next bisection: boot on tegra124-nyan-big To: tomeu.vizoso@collabora.com, Stephen Boyd , guillaume.tucker@collabora.com, mgalka@collabora.com, Thierry Reding , broonie@kernel.org, matthew.hart@linaro.org, khilman@baylibre.com, enric.balletbo@collabora.com From: "kernelci.org bot" Cc: Thierry Reding , Jonathan Hunter , linux-kernel@vger.kernel.org, Prashant Gaikwad , Peter De Schrijver , linux-tegra@vger.kernel.org, Michael Turquette , linux-clk@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This automated bisection report was sent to you on the basis * * that you may be involved with the breaking commit it has * * found. No manual investigation has been done to verify it, * * and the root cause of the problem may be somewhere else. * * * * If you do send a fix, please include this trailer: * * Reported-by: "kernelci.org bot" * * * * Hope this helps! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * clk/clk-next bisection: boot on tegra124-nyan-big Summary: Start: cd89054e321a Merge branch 'clk-init-leak' into clk-next Details: https://kernelci.org/boot/id/5dd486b059b514415acf54bd Plain log: https://storage.kernelci.org//clk/clk-next/clk-fixes-for-linus-196-gcd89054e321a/arm/tegra_defconfig/gcc-8/lab-collabora/boot-tegra124-nyan-big.txt HTML log: https://storage.kernelci.org//clk/clk-next/clk-fixes-for-linus-196-gcd89054e321a/arm/tegra_defconfig/gcc-8/lab-collabora/boot-tegra124-nyan-big.html Result: 25175c806a68 clk: tegra: Reimplement SOR clock on Tegra124 Checks: revert: PASS verify: PASS Parameters: Tree: clk URL: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git Branch: clk-next Target: tegra124-nyan-big CPU arch: arm Lab: lab-collabora Compiler: gcc-8 Config: tegra_defconfig Test suite: boot Breaking commit found: ------------------------------------------------------------------------------- commit 25175c806a6841149abe46168e0af12593141612 Author: Thierry Reding Date: Thu Jul 25 18:19:00 2019 +0200 clk: tegra: Reimplement SOR clock on Tegra124 In order to allow the display driver to deal uniformly with all SOR generations, implement the SOR clocks in a way that is compatible with Tegra186 and later. Acked-by: Stephen Boyd Signed-off-by: Thierry Reding ------------------------------------------------------------------------------- Git bisection log: ------------------------------------------------------------------------------- git bisect start # good: [dafbb1e6473788cb3068eaeddc58f9d88e9c7a62] Merge branch 'clk-ti' into clk-next git bisect good dafbb1e6473788cb3068eaeddc58f9d88e9c7a62 # bad: [cd89054e321a893073de7bb50f48b524a4ff675b] Merge branch 'clk-init-leak' into clk-next git bisect bad cd89054e321a893073de7bb50f48b524a4ff675b # bad: [097064b841b74b137a7672e8daccd1384574ec9c] Merge tag 'tegra-for-5.5-clk-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into clk-tegra git bisect bad 097064b841b74b137a7672e8daccd1384574ec9c # bad: [bc0b3a60fe19610d649a62879dd318d133ed10c0] clk: tegra: pll: Save and restore pll context git bisect bad bc0b3a60fe19610d649a62879dd318d133ed10c0 # good: [991a051ea5f15266903f52acb5832a596dd3da51] clk: tegra: Remove last remains of TEGRA210_CLK_SOR1_SRC git bisect good 991a051ea5f15266903f52acb5832a596dd3da51 # bad: [25175c806a6841149abe46168e0af12593141612] clk: tegra: Reimplement SOR clock on Tegra124 git bisect bad 25175c806a6841149abe46168e0af12593141612 # good: [da8d1a3555406275650b366460c6235f1696bf8b] clk: tegra: Rename sor0_lvds to sor0_out git bisect good da8d1a3555406275650b366460c6235f1696bf8b # first bad commit: [25175c806a6841149abe46168e0af12593141612] clk: tegra: Reimplement SOR clock on Tegra124 ------------------------------------------------------------------------------- diff --git a/drivers/clk/tegra/clk-tegra124.c b/drivers/clk/tegra/clk-tegra124.c index 7d231529c3a5..b3110d5b5a6c 100644 --- a/drivers/clk/tegra/clk-tegra124.c +++ b/drivers/clk/tegra/clk-tegra124.c @@ -1005,20 +1005,24 @@ static struct tegra_devclk devclks[] __initdata = { { .con_id = "hda2hdmi", .dt_id = TEGRA124_CLK_HDA2HDMI }, }; -static const char *mux_pllp_pllm_plld_plla_pllc_plld2_clkm[] = { - "pll_p", "pll_m", "pll_d_out0", "pll_a_out0", "pll_c", - "pll_d2_out0", "clk_m" +static const char * const sor0_parents[] = { + "pll_p_out0", "pll_m_out0", "pll_d_out0", "pll_a_out0", "pll_c_out0", + "pll_d2_out0", "clk_m", }; -#define mux_pllp_pllm_plld_plla_pllc_plld2_clkm_idx NULL -static const char *mux_clkm_plldp_sor0out[] = { - "clk_m", "pll_dp", "sor0_out", +static const char * const sor0_out_parents[] = { + "clk_m", "sor0_pad_clkout", }; -#define mux_clkm_plldp_sor0out_idx NULL static struct tegra_periph_init_data tegra124_periph[] = { - MUX8_NOGATE_LOCK("sor0_out", mux_pllp_pllm_plld_plla_pllc_plld2_clkm, CLK_SOURCE_SOR0, tegra_clk_sor0_out, &sor0_lock), - NODIV("sor0", mux_clkm_plldp_sor0out, CLK_SOURCE_SOR0, 14, 3, 182, 0, tegra_clk_sor0, &sor0_lock), + TEGRA_INIT_DATA_TABLE("sor0", NULL, NULL, sor0_parents, + CLK_SOURCE_SOR0, 29, 0x7, 0, 0, 0, 0, + 0, 182, 0, tegra_clk_sor0, NULL, 0, + &sor0_lock), + TEGRA_INIT_DATA_TABLE("sor0_out", NULL, NULL, sor0_out_parents, + CLK_SOURCE_SOR0, 14, 0x1, 0, 0, 0, 0, + 0, 0, TEGRA_PERIPH_NO_GATE, tegra_clk_sor0_out, + NULL, 0, &sor0_lock), }; static struct clk **clks;