Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3498406pxb; Mon, 1 Nov 2021 15:02:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzw9FyfaQmtq5sKzGQHSLfOC92oRb7pgO9LAZXVKzX0n0KQtJD7Pokw1i+NWbXFCoJ85TAh X-Received: by 2002:a17:906:f742:: with SMTP id jp2mr18496652ejb.214.1635804122220; Mon, 01 Nov 2021 15:02:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635804122; cv=none; d=google.com; s=arc-20160816; b=x5jbTc8qBTs5Ke1RqjPople+iXG+2aoQ+KlYJFFjllSLr5AiMh4wF7Z+BPQER7M3xQ 4qxhveCmyXXwTtCF6L90ivXuJnkv2UEGA9ZMpjOHFA/XLf0rXUdP8VncfZ1TyKZGRk9M G7M3oi5EI4xuMDMTMZ8IxFc3CB2Qu5V4YIrufhplzrKKrBhQjx0N4vRQJgneyp6RrrAw dULCF99LAZWiXqSIdah1eDVkv5fgbeD05lwFhRh8NbMe0FcuqBrv/RPM1P9Etq1inn4b /tOibMQ0SxRE3sTXEddGVKSATeDqSS/Zd8z5tY2CVW7B6CZQmVjojy3KdRThrZZAYSET Kouw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=4i2vGi1ERUhEnZiWPYMjk/Ih3sG2rmFj53t+5ceqvH0=; b=XH88gIZZm6PxYzT2Hfs16HOWmf3sPxzJkFfenJoV4Dm96n0HsZPdx9G4dOcGrKQedV Z954v+vNkrG6KKrH2nauZWlQ1c4jLyoEnachc5Zv0rx/uvM43wI31erwiYIlBvObBH7a sxohbeCjlsU2FHs6v6/6eZfbJ5jiXLtFobXh+B/O5O/VKkd7nOUaHMgIki6iKJjaNAfA CJWTbBtxW0F0YySR1FDjmVh2va6MbmQVAbp7YxV8dYKGkJYEHoPWbUuz1h86HAbVazi7 XS6VhO6BU4LlAd7jlDzxnCUBHxJUuumvHigNP/GnHno5nYypCbPSSt46Hjg4QXl/U+/K 5u1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id fz1si28286227ejc.72.2021.11.01.15.01.25; Mon, 01 Nov 2021 15:02:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231805AbhKAWB4 (ORCPT + 99 others); Mon, 1 Nov 2021 18:01:56 -0400 Received: from foss.arm.com ([217.140.110.172]:48208 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230460AbhKAWBz (ORCPT ); Mon, 1 Nov 2021 18:01:55 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0171CD6E; Mon, 1 Nov 2021 14:59:21 -0700 (PDT) Received: from [10.57.80.217] (unknown [10.57.80.217]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1FF463F5A1; Mon, 1 Nov 2021 14:59:18 -0700 (PDT) Message-ID: Date: Mon, 1 Nov 2021 21:59:14 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: [PATCH] clk: composite: Also consider .determine_rate for rate + mux composites Content-Language: en-GB To: Martin Blumenstingl , Guillaume Tucker Cc: sboyd@kernel.org, heiko@sntech.de, knaerzche@gmail.com, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, "kernelci@groups.io" , Collabora Kernel ML , Chen-Yu Tsai References: <163425193558.1688384.15520943968787313145@swboyd.mtv.corp.google.com> <20211015120559.3515645-1-martin.blumenstingl@googlemail.com> <04a58d50-634b-fa20-95b4-eb6831f77e85@collabora.com> From: Robin Murphy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-11-01 20:58, Martin Blumenstingl wrote: > Hi Guillaume, > > On Mon, Nov 1, 2021 at 9:19 PM Guillaume Tucker > wrote: >> >> Hi Martin, >> >> Please see the bisection report below about a boot failure on >> rk3328-rock64. >> >> Reports aren't automatically sent to the public while we're >> trialing new bisection features on kernelci.org but this one >> looks valid. >> >> Some more details can be found here: >> >> https://linux.kernelci.org/test/case/id/617f11f5c157b666fb3358e6/ >> >> Here's what appears to be the cause of the problem: >> >> [ 0.033465] CPU: CPUs started in inconsistent modes >> [ 0.033557] Unexpected kernel BRK exception at EL1 >> [ 0.034432] Internal error: BRK handler: f2000800 [#1] PREEMPT SMP What's weird is that that's really just the same WARN that's also present in 'successful' logs, except for some reason it's behaving as if the break handler hasn't been registered, despite that having happened long before we got to smp_init(). At this point we're also still some way off getting as far as initcalls, so I'm not sure that the clock driver would be in the picture at all yet. Is the bisection repeatable, or is this just random flakiness misleading things? I'd also note that you need pretty horrifically broken firmware to hit that warning in the first place, which might cast a bit of doubt over the trustworthiness of that board altogether. Robin. >> There doesn't appear to be any other platform in KernelCI showing >> the same issue. > That's a strange error for the changes from my patch. > At first glance I don't see any relation to clk-composite code: > - the call trace doesn't have any references to CCF or rockchip clock drivers > - clk-rk3328.c uses drivers/clk/rockchip/clk-cpu.c to register the CPU > clock which does not use clk-composite > > Chen-Yu has tested this patch (plus [0]) on RK3399 and didn't observe > any problems. > So maybe this is a RK3328 specific issue? > Anyways, I am interested in fixing this issue because reverting is > becoming more and more complex (since I think we're at eight commits > which would need to be reverted in total). > >> Please let us know if you need help debugging the issue or if you >> have a fix to try. > Could you please try [0] which is the second patch in the series which > finally made it upstream. > This second patch is not in 5.15 because I believed that it's only > something to make the code in clk-composite.c more future-proof. It's > not a condition that I am aware of. > > I don't have any Rockchip boards myself. > So I am thankful for any help I can get. > > > Best regards, > Martin > > > [0] https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/commit/?h=clk-next&id=6594988fd625ff0d9a8f90f1788e16185358a3e6 > > _______________________________________________ > Linux-rockchip mailing list > Linux-rockchip@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip >