Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3448539pxb; Mon, 1 Nov 2021 14:03:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+5Zh08DlvxF8oks5q4UOywIRQ3q6vFinparnnlgfvayUfY4JUgZymsDfg3b8fH5dJfcuf X-Received: by 2002:a05:6402:27cd:: with SMTP id c13mr2826421ede.365.1635800615321; Mon, 01 Nov 2021 14:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635800615; cv=none; d=google.com; s=arc-20160816; b=fDZL9AmWltd5R+oRjb14uloHn02jdYTXYZQfw507sJUd+nKPlxVJjRLtezNOnbbSCB 1WFAB5KQm66GcbxIjwXI5kpGgiWSODc9gxJP5V2vbW8xZuNQhi2DUzc/P4XXyr1hgXWA 1/XJShLK8a5jPYi1s19T/Hu/4B8F/i5Ng1nJ5Tu1ZSB5kb9GzOKWzle80dRcLobL9m4I uFfR8cnzQOo0hsW6jc8Gzo+rSNbtmUg+Q4o0pKve8luu/AUDXetuCUdzQOr2CG6CK2xH mrXnmp8Hz/ibh105RIVQrxh9Iy49HvhdVe/MlGRRY+5CoEEKvpfuVFkLgRBkbvDWKVNR kjIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=EGrnx62pvPj+VVQAfPPd1GnNOPN1pj0iHtDg0nowNo8=; b=k3AsKIX1elhbMzehqWKqwlP0+VgSQZxyY1Sxlov1xJMb0+vbqs2UOZdiwNaCIMiGt+ +feGxDaOSwN4fq+Jyq2be2qdBPpBNJpktXVVvJRP0hfNv37tLAIJOwTBtsJFiJtDajS7 5Tw55mHmN9QUKmR/AWjTVIYBGfN56/gyWWKHTS+TZhICWsfE6/RHuEUXz5nvnHzpDuUE P1zteKML44MBtXe0omtgfv9QByxfz/OtmFUbDzM+KaiDyn3/crIm2jZVAQX8mduLEEyf kIVPRsryzwBjf9P8LNYuAmp03jhl8Z64hVAIpPVOA9bvEPMo+3NSAAyDoae6siWQpwom 5KEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=q3GESUar; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z13si37536199edd.383.2021.11.01.14.03.09; Mon, 01 Nov 2021 14:03:35 -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; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=q3GESUar; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230505AbhKAVB1 (ORCPT + 99 others); Mon, 1 Nov 2021 17:01:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbhKAVBZ (ORCPT ); Mon, 1 Nov 2021 17:01:25 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 346C3C061714; Mon, 1 Nov 2021 13:58:51 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id r12so68846111edt.6; Mon, 01 Nov 2021 13:58:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EGrnx62pvPj+VVQAfPPd1GnNOPN1pj0iHtDg0nowNo8=; b=q3GESUarDqCYNc90NbDWg2y3hKsM5xAcvaH0+c/nTpxXi9xX+vtNSAq5QXtOW9vINj k8QeuJm365Op4btcuXlNR710bSaEFrxcG2vc3hzH0XZarwPYaJ4it1MoqWZf7PbxMkQk Rmb0UQbtexTZKK+qQ+uKn7ThW7Adnw7NwrCVHf7VyL2riX9QA701emD586D9DYQ087hC dbSyI55CSWvmr60sEzVHTKNixvrvxtl7vExMUYMytF3X3mjkefnYbpmgwO2pY8ZJ6kDJ X1uhVsYnfNc8JfFMDbESC1HvedCHBReLuKM/OFhMsnN5NAhjEFd0ISNGugMifGXS/tKE PL9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EGrnx62pvPj+VVQAfPPd1GnNOPN1pj0iHtDg0nowNo8=; b=bjsT4Tei9vHo2m86UZaGN8RiMNJrP/Y50U0X4Hz9eooM93PWuvcASruMqzwedxpOjo ZaOfU36ZYNogYPBM22Vg5D2h/69Ubrrz/CLPqutb2/JMC+SMHvkWiO5Yyu5zHy+uFSOw 45ibmGyqiHcd0gIGKL6KZfLGZq05Saome5n1Yd3lEwwx806LJ62gFpRGCVzOtLNZbzEm mn65fHu1CHH4h4G5oqW/Rpf6QoqwGq1LitAe4ay3vhoULsSCjY7ZjZKYNSZP3X7XOz9j yEJflMY2spHbSjB9eXympFXUPIfkO2DHOv1tqkHbFQDX+nmJTZHdoGa0zfQNvPCd82zw ckWw== X-Gm-Message-State: AOAM533mF2M+6NVNDz+PZFFrZ6Rm8NL4wvISWD9KI4v7Qth5sOiMyJbf RgZzc6faMyDUYXkSF+Ngz4zXqUQJ6i1T76edWuo= X-Received: by 2002:a05:6402:2815:: with SMTP id h21mr45121875ede.45.1635800329724; Mon, 01 Nov 2021 13:58:49 -0700 (PDT) MIME-Version: 1.0 References: <163425193558.1688384.15520943968787313145@swboyd.mtv.corp.google.com> <20211015120559.3515645-1-martin.blumenstingl@googlemail.com> <04a58d50-634b-fa20-95b4-eb6831f77e85@collabora.com> In-Reply-To: <04a58d50-634b-fa20-95b4-eb6831f77e85@collabora.com> From: Martin Blumenstingl Date: Mon, 1 Nov 2021 21:58:38 +0100 Message-ID: Subject: Re: [PATCH] clk: composite: Also consider .determine_rate for rate + mux composites To: 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > 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