Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2036300lqb; Mon, 27 May 2024 06:04:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUun3DJckyv0CDkBTZZ23Q90AYhYMGipJWYE5nBAKMjKJZ6B3LvQ/UefU7mJG6c87dMuDBefn78D+wV3FjVK6Kkf8jurLFTe93I5BxDAQ== X-Google-Smtp-Source: AGHT+IGxry1s5h4GFF2bkE8opFo47CkAyV5XTbMAAC5JY77ACVm1VydKku3HgSm4mJb9c/yK0hqG X-Received: by 2002:a50:8751:0:b0:578:6159:8976 with SMTP id 4fb4d7f45d1cf-57861598a76mr5975850a12.28.1716815044589; Mon, 27 May 2024 06:04:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716815044; cv=pass; d=google.com; s=arc-20160816; b=NKe3FB6q17/EUEgj0oOsAVb0J9JzzYSpITqd/bEfoVy8rgL8Mud0DiAzZ2KDbcCVvA T6TwgF5xrjrDTqDR/KRVwf7LfGlXlr6MwBqx1O0QNtF+LijP4sOI5r0yfmkKQsWesbBY VuqgaTiswnwR9MNUdtIhPC0AJPy7tQskE6TJAukXNkg8A+EUE5QYEFEbkh4O1bLjzmps avwNqH9nW32wdSbKmkmRN3rTLKE8jKyGcCiKvCnqis3nje35zEcVLTSDBEgLlVNwQCnR q2cMm0K1Tj+nXJ1oc76GJlszjkrWOYUPe9L7YIsqXA3fVyzVkvO3EpnvDNgnHrepCUqf HEmQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=rMFfpqCc+bc4O8mDHjvAEFD1eHUpLSCJjFslGtJ4svo=; fh=Zi91RvmFMjZxemZ8HoXqFN7nEXFjJ7idQY+gHowskvI=; b=FsQNMzkdFJnDEf+yrz7WLP22pI6/wQWabwfveOIwnoNb8xdYQrLa4k3/6fI+9Q0gMF onrNoWvmIncJKaNX3RDkLlnVfLFBA0zfq3ZMVrzT72j/i0/yWXMk7yRD5CjjOoSPoL15 1aKuuf9TeifiMbYmg7HIuizrAb62jGbTjtV/jQNKFyt6cNhL1hg0wS1E/MjA+hMDQwSM 8nLXJyE9AOm/EfNHTe/0jriPgokJ1wLMqxiyBLTqvZlKxKjyrROSTSu8nU4vAIGEG3MD jSRQfIwumDAD9+C3ccbC1Bx1hOFMVMxD1mJDR/eSMw8MkiNeXcgKWnZ6f+ANICAf+HwQ v9kQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=BYiyBB3X; arc=pass (i=1 dkim=pass dkdomain=armlinux.org.uk dmarc=pass fromdomain=armlinux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-190643-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190643-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57855cc8e22si3775122a12.473.2024.05.27.06.04.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 06:04:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190643-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=BYiyBB3X; arc=pass (i=1 dkim=pass dkdomain=armlinux.org.uk dmarc=pass fromdomain=armlinux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-190643-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190643-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7C77F1F21E82 for ; Mon, 27 May 2024 13:02:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5477815EFCF; Mon, 27 May 2024 12:57:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="BYiyBB3X" Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 88E3615EFBE; Mon, 27 May 2024 12:57:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.32.30.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716814678; cv=none; b=BI/hVZK3BqCb0wnPygEbAUODEBrj//6yIxCoqv4bWyR/Ht2fwHQaKgJzEe1fbf0T6AGdgjLfymX81oNHJs7MWFAVVN7RCAuCJqFV/wiorfG1j79+p7MPpuGplnNdpPg2QdnyJTE/aXB33gTK4QP9/zfXNZzMqHPRlBakpjqv/xk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716814678; c=relaxed/simple; bh=8GCzunIMdlubOTXf0pyUHn8KPY2JZDD1cESnN8SAnis=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mxpEq9+pD+Vvv8J0BsDaSuUjY8F4cRa1A1fQX1AJdWDy/50DjjD8E0BFRA3g6KysSw/W1pNnLY85dBsB35NkTN9RQup986H8SqvQ7ESdatDq+ptozqEyx5jerM3t+2n+gcdUaV5CoFtZ9BQn+G3Kw45ZUNjNPJQXwGlQmZskniI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk; spf=none smtp.mailfrom=armlinux.org.uk; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b=BYiyBB3X; arc=none smtp.client-ip=78.32.30.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=rMFfpqCc+bc4O8mDHjvAEFD1eHUpLSCJjFslGtJ4svo=; b=BYiyBB3X8G1QiZKbh5RNNixyhN /txB0NYAWfPSURQCARY+CvzFQfrT9NuzVsc6O7U0HqVcm7UzH5eeQa7BX0hQknfK1GBb//KsRn9Fl I9q7M2N2KzZq/dv9EwvUhztgslecsFMmh69szcGzBA6ttSYVdu/OUF+hj/uHYrH5cvWhwKs7TYLke 3ztvLiZZVLuW8GeZfFpX7xYGM0faF2NtfNL/6U4Pr3Ncib88OQC7uA86dF8Om4ZBHGvhFcUxtqMRL lWMyKoi5fgnxHG4p2Mf6qtHUsw1ksvbHxm1CrbiFAxIpsnEMzU0AmZCPEU/SVtk7kAiK70l0PPZkb w66XC4Bw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:37854) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sBZuz-0003Wh-1b; Mon, 27 May 2024 13:57:37 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1sBZv0-0002Kk-8F; Mon, 27 May 2024 13:57:38 +0100 Date: Mon, 27 May 2024 13:57:38 +0100 From: "Russell King (Oracle)" To: "Linux regression tracking (Thorsten Leemhuis)" Cc: Ron Economos , Guenter Roeck , regressions@lists.linux.dev, linux-clk@vger.kernel.org, Linux Kernel Mailing List , linux-riscv Subject: Re: [PATCH] clkdev: report over-sized strings when creating clkdev Message-ID: References: <28114882-f8d7-21bf-4536-a186e8d7a22a@w6rz.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) On Mon, May 27, 2024 at 01:16:06PM +0200, Linux regression tracking (Thorsten Leemhuis) wrote: > On 27.05.24 12:45, Ron Economos wrote: > > On Fri, May 17, 2024 at 03:09:14PM -0700, Guenter Roeck wrote: > >> > >> On Fri, Mar 15, 2024 at 11:47:55AM +0000, Russell King (Oracle) wrote: > >> > Report an error when an attempt to register a clkdev entry results in a > >> > truncated string so the problem can be easily spotted. > >> > > >> > Reported by: Duanqiang Wen > >> > Signed-off-by: Russell King (Oracle) > >> > Reviewed-by: Stephen Boyd > >> > >> With this patch in the mainline kernel, I get > >> [...] > >> when trying to boot sifive_u in qemu. > >> > >> Apparently, "10000000.clock-controller" is too long. Any suggestion on > >> how to solve the problem ? I guess using dev_name(dev) as dev_id > > parameter > >> for clk_hw_register_clkdev() is not or no longer a good idea. > >> What else should be used instead ? > > > > This issue causes a complete boot failure on real hardware (SiFive > > Unmatched). > > Hmmm. That and because nobody afaics has time/motivation to fix this > anytime soon (or am I mistaken there?) makes me wonder if we should > revert this change for now (and remerge it later once the problem this > change exposed was fixed). Or is another solution in sight somewhere? I'm sorry, but clearly I should tell my employer that I can't do work for them because there's been a mainline kernel regression, and of course I should be working on this bank holiday Monday... No, please wait a bit longer. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!