Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2109301lqp; Sun, 24 Mar 2024 03:45:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXmQMq+keuWi58VYtcCyudjWyaSAb2Zh7vCYwPCeSEG5k7qGNFovZkojhEIqdFi9KIQzfe/HHs+PEkk4SBx6isgsy/GacY8qeos/l87xg== X-Google-Smtp-Source: AGHT+IEr95XbkoismvK3HxA6M4Knk1/dXwLddxLvbcQf/ehdAk0Mh/TJy8CmsWTHj18X2zw7486R X-Received: by 2002:a05:6830:1108:b0:6e6:af64:3581 with SMTP id w8-20020a056830110800b006e6af643581mr5289351otq.12.1711277128847; Sun, 24 Mar 2024 03:45:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711277128; cv=pass; d=google.com; s=arc-20160816; b=xJ8W88c+Mbxk9t/9spXeS4YkvwzHBOKckJy+Hqje1gl3gpX67RHqcmVa/EbdkhP8sw ExLnrJBDXUhOfXcvD6nZjdx0WAEbRuJIraq6DAVJ/GAQG10BjXqv1iEt93aZxrkb+lyz EBfPIyJcRJICuVitC+LhSDCOygEGe7Dt5HuZCRZ94lyCmkJUKWa2jSqi2SLVshYjWE42 k3lgWYtUVfdhTZAbA7906cCd97SJWr4pz7Mz9bqS2DyRV/WJrl9lNF5dWU5PV1ujb0SV yFnmstxosXmYYiTbYHv7rpWYzeNi+AokXVeXzfY1/uBN61d2XZ8d/qxe00UKBJIEg2+E /nJw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=u/NpqECjV96CvVZSJ4zc4oqG9jgeQP/IE7NYaN5ewl8=; fh=fy3pLB397To/AI31RlUUYUFkI4sh0OJcwrNIlJQJkPg=; b=zvnMjgD3fGDIHTWfEQrKAMWfI3hnqC3lN6tGF6l28jPf8TKEgZssBiZTC44H0noGv+ 4fdhs+HKwNc2xfHL3qGVHMmT+7O8pwagHuN7G3SRPQAzHonZk2asyO9xbf0fB1kXhE9F 9Kij8DCZ8+oqDS7e3p0J+h+aPxKKSWPDTY97NnhTqVWeSRoDIdyKt0vLHN30ahasCBcn j8yFEKh2MKP0ODxQj1+kUgJaUI/iOMEA5fkcTTFVQv2osUyzw2UjN7kRq0rR34ZqeKj9 nu+rrpPB+xjq09Gg16q5ku+8fXhSiE/G9+N4dRL6RgpEhD7N/UIc3aRa1BNQYcJwGNJ+ /sHQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zAUqJy4S; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-112637-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112637-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h2-20020a05620a13e200b0078a025958fdsi3176858qkl.275.2024.03.24.03.45.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 03:45:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112637-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zAUqJy4S; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-112637-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112637-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 810221C20D3E for ; Sun, 24 Mar 2024 10:45:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91F2E179A8; Sun, 24 Mar 2024 10:45:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zAUqJy4S" Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A8F4E1759E for ; Sun, 24 Mar 2024 10:45:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711277116; cv=none; b=fbF7APyoc2EUQ0qxnQv2HQE7mIv+PTroXdmXoYXKUp+d6HypAN170Ef96TmDXCduWui2B0nMuyyYL8xtPWPO5yBZDue8/ryDDTstjdA+88A6GGXK7MWb5IrW18SdBkch+ExYYRV9WTBZ5DCmXexTUymcCk8MzImvVD8YmKObzYk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711277116; c=relaxed/simple; bh=gKrajIej698yh+aALL9QVy4ncgZV6Odr9lDlnAQFkV0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=iXHKXd/8FZD7FAvWKKwW95jNUVEoqHfWIWKju6fm0JTYbLiFfu7sH4cqobHNVTLcBIP3UO2WvVVlGuVSVJ6IqhrJsQlXv9HhlhZPJ8u2v8s8wmRgK/NNKpeyMS+3/UnYXp1s+FIQMES1J/okcJzH1jEHjLPmEnZTVZ8+6vny5oA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=zAUqJy4S; arc=none smtp.client-ip=209.85.208.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2d52e65d4a8so47888331fa.0 for ; Sun, 24 Mar 2024 03:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711277113; x=1711881913; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=u/NpqECjV96CvVZSJ4zc4oqG9jgeQP/IE7NYaN5ewl8=; b=zAUqJy4SZrh1GUkduc8NdV2J6NQMZQiGXDeNYhtYJEEmweUsagl/Q0OE5peKpXPyla w0RRgiOScQgyeCW9aIJkIQ49T4zTEyatiNnPL2eON62i8fvYKL2Pkh4SfA7UV3h22wnB Z/CFVqXR5iLJyjo7tUJxREqG8Qfo96Sw6QDrNIpitFC5Z3ryhHpMh+AtDQ7levmlEDUL 4LFLo3iaZB0yUdG1oEm2OfElDwYm6xDtTlCCr8ApDg8QtFKzN71no7/nY7WQrcvk1soU EmerrdL0u/zIsUZsXSlFkwjBFjmaqz8ZIgEUmKd48wDbkGw5Sgp7cgIVGySvbdn5c0rh mB4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711277113; x=1711881913; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=u/NpqECjV96CvVZSJ4zc4oqG9jgeQP/IE7NYaN5ewl8=; b=Bizf7uNIPEpAHhbw9nCw7V1yxNSHux4AAwZWiFqUh5HCi9Qs9ReS7G5i3duLDups2Q GvN7/Q2MNzPkeyo/l7YiRguSk+sNsU4EJy4fTSFcVJXs0zpmK/j80ky1GlAvel4v8tIS Fuo9y9BUlcTI2JGyQZ55g9Dsb0lV6NsFapOWX/ToTPKAJzu5dSi6FNd8BvC9HajX/kCB UjiolTCXJGxnigMaGnuafjiYWFb4aJFGIdeTrErlVgHpUxDLDBL9MhFNnsm94UblHEnJ IRaKmr7drsobncokFGF8+OcSOThBje+4I+bG0L+yMCRwt01KTg17dHX3qfzRWF3ojjo2 dpAw== X-Forwarded-Encrypted: i=1; AJvYcCV29gFNB6nu7OAOE4BszQs7Zt+f5Wk08os7N9Agx2eJxwva+V//cWhiL75CbkPL8TCRj2y50atAOMbrc8U+JMCrDWewMRRZHGKIfdyS X-Gm-Message-State: AOJu0YysrM9iCGHyCAKtgB4cQVCuveo1ZB6Dz/JmRl/dNz0g0m2U5d5l mWEt054io1pnvOBEMKpT2WmYgRjHmTzIllICVZqjy74yD0+mQ5n3tFf7NiQrOYQ= X-Received: by 2002:a05:651c:547:b0:2d4:5404:3e8e with SMTP id q7-20020a05651c054700b002d454043e8emr2808754ljp.42.1711277112775; Sun, 24 Mar 2024 03:45:12 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id j31-20020a05600c1c1f00b004147b824b08sm4965067wms.7.2024.03.24.03.45.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 Mar 2024 03:45:12 -0700 (PDT) Message-ID: <0005257d-8022-4a66-a802-0c920d259ccd@linaro.org> Date: Sun, 24 Mar 2024 11:45:09 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] arm64: dts: rockchip: disable analog audio for rock-5b To: Pratham Patel , robh@kernel.org Cc: krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, heiko@sntech.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240324062816.145858-1-prathampatel@thefossguy.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3n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XtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240324062816.145858-1-prathampatel@thefossguy.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 24/03/2024 07:28, Pratham Patel wrote: > The addition of `of: property: fw_devlink: Fix stupid bug in remote-endpoint parsing` Please refer to commits using commit sha () syntax, as mentioned in submitting patches. > has surfaced an issue with the analog audio property in the devicetree > for the rock-5b. Booting kernels v6.7.9+ and v6.8.0+ would cause the > following call trace: > > [ 21.595068] Call trace: > [ 21.595288] smp_call_function_many_cond+0x174/0x5f8 > [ 21.595728] on_each_cpu_cond_mask+0x2c/0x40 > [ 21.596109] cpuidle_register_driver+0x294/0x318 > [ 21.596524] cpuidle_register+0x24/0x100 > [ 21.596875] psci_cpuidle_probe+0x2e4/0x490 > [ 21.597247] platform_probe+0x70/0xd0 > [ 21.597575] really_probe+0x18c/0x3d8 > [ 21.597905] __driver_probe_device+0x84/0x180 > [ 21.598294] driver_probe_device+0x44/0x120 > [ 21.598669] __device_attach_driver+0xc4/0x168 > [ 21.599063] bus_for_each_drv+0x8c/0xf0 > [ 21.599408] __device_attach+0xa4/0x1c0 > [ 21.599748] device_initial_probe+0x1c/0x30 > [ 21.600118] bus_probe_device+0xb4/0xc0 > [ 21.600462] device_add+0x68c/0x888 > [ 21.600775 > ] platform_device_add+0x19c/0x270 > [ 21.601154] platform_device_register_full+0xdc/0x178 > [ 21.601602] psci_idle_init+0xa0/0xc8 > [ 21.601934] do_one_initcall+0x60/0x290 > [ 21.602275] kernel_init_freeable+0x20c/0x3e0 > [ 21.602664] kernel_init+0x2c/0x1f8 > [ 21.602979] ret_from_fork+0x10/0x20 > > This is a temporary workaround to at least have the SBC boot. There are > a few more SBCs that _might_ have this issue. I suspect that the > rock-5a and nanopc-t6 might also have this issue but I do not own either > board to verify this claim, yet. > > Closes: https://lore.kernel.org/regressions/28S1EMw5YOnQIBpQ8_qaZZ6c9Go-j6-lLuWWbRpe6-MtRUd7Ay-uXq8JHbVVtJv3LzpxjI8jYg7ukNntbN22PVV-hOWbuTY8FNWgvM4zSwI=@thefossguy.com/T/#m69eedea6fbcb0591d54a9ccd478c2782ef045547 > > Signed-off-by: Pratham Patel > --- > .../boot/dts/rockchip/rk3588-rock-5b.dts | 110 +++++++++--------- > 1 file changed, 57 insertions(+), 53 deletions(-) > > diff --git a/arch/arm64/boot/d > ts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts > index 1fe8b2a0e..6d3b9f52c 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts > +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts > @@ -20,22 +20,24 @@ chosen { > stdout-path = "serial2:1500000n8"; > }; > > - analog-sound { > - compatible = "audio-graph-card"; > - label = "rk3588-es8316"; > - > - widgets = "Microphone", "Mic Jack", > - "Headphone", "Headphones"; > - > - routing = "MIC2", "Mic Jack", > - "Headphones", "HPOL", > - "Headphones", "HPOR"; > - > - dais = <&i2s0_8ch_p0>; > - hp-det-gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>; > - pinctrl-names = "default"; > - pinctrl-0 = <&hp_detect>; > - }; > + /* > + *analog-sound { > + * compatible = "audio-graph-card"; > + * label = "rk3588-es8316"; Do not comment out code. Instead disable the nodes and provide appropriate comment describing reason. Anyway, this does not look like correct solution. DTS is independent of OS, so bug in fwlink does not matter for DTS. Either DTS is a correct hardware representation or not. Best regards, Krzysztof