Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp54820lqc; Thu, 7 Mar 2024 10:06:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXvIoEp3Ra6t9/jjaaUjILjyTGh9dZncjBRS5/+xFykZ6oao3sUVOKDDJz9jMkJ6xWfKwj3YUiH6tIjRYxtx/fU0UJCiF1B6AyYfJ1OGg== X-Google-Smtp-Source: AGHT+IGnAWz0ypGdfMgpzY7iB/Ndx6VwJLERD3eNnk2XA9LPWLJu50QQVtBcnH/vtjo1FgroG0fC X-Received: by 2002:a9d:684b:0:b0:6e5:704:63fc with SMTP id c11-20020a9d684b000000b006e5070463fcmr3672946oto.34.1709834787691; Thu, 07 Mar 2024 10:06:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709834787; cv=pass; d=google.com; s=arc-20160816; b=PkqVcRTJx50DWTuFn5TKkTGH5ktpCoVbP93S0dUNHv8LRoXjhCB3BRzs1W6WyAnFor FpFtdm1FJHuguxNQAypu90yL0q6wGj3wnHzz34Sq9vZC26NmjPPsnEM1gMDDsbkAqqLv Ob15qzctEcUO7R0H7Q1mCEsZg1rGOSyerTpdKvFHzA7+q/Q+wo8j8Y7HUJ+2sHw7n2cb ETbFftaCjNtLXusTyGQPjZ78jQWKEdkqbTsvaIcHQ4tO/JRgbJ3JW/K9GHExfWcqf2RM ujo/b4dedhQ8cq2NPcSAkFRkK/x4b52jaI29XUnP6IjE7Oc0XzX7EA3eZCkL7a350Dgk HU1w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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=TzD8UvqSvw4cEgOx94hHSw4bv+BV0CfSqASPrJMzbwE=; fh=fi/sUgNi9xuqWG/IEciU4t/r6cNxBkb1+NQOUxoCr1g=; b=X1u+jAK530tFnr5FqlAzIHZWdEx5nXQtmQz4omNgb8ZzcnIvWM6ubyX2/MnJPrbPmp WoKEn8qMw81Fj0dlzNbsKd+66yHushkEjgdKqLdTdv8Um6dxenMePWmpI2B5FlXA77km Q1cFTftkGr792Ql129dAho0m88nKWPI1cA7cdCE6iioiabUI0xxgWZumXlbfS6nuwx9s zNmKwj/bvAyRqZLa9/lbqwD14mgc4tGKOikPOHSNznPFTmPfcyn7fvPEtwFAp9VOBbQJ qZ6X5R2LVGHZ6NOXnGjOt+BWwCNQiRpx9LQ7NO10rIeL0f5ejkkvXOcm4Vtyj2yuq1td HZvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L6gknGiK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-95993-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95993-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d12-20020a056122032c00b004c002be1201si2577158vko.269.2024.03.07.10.06.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 10:06:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95993-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L6gknGiK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-95993-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95993-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 529F21C213BC for ; Thu, 7 Mar 2024 18:06:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1AC42131E29; Thu, 7 Mar 2024 18:06:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="L6gknGiK" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 2A9A812A15C; Thu, 7 Mar 2024 18:06:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709834779; cv=none; b=RnOXynmqcW8vY4Vs+XMtNWOIrIEl6URbywumtjMw7V6/VI3rukRSOoHOkxiQAGJ35FlcmxZiVMxbhgvsGWMhisxN3N813k69yOVQSLKxNmgTvAbfRrVBmrhP+WTuDze2DbbDG0wNkeXUbRTHp0OHy4IxNxXdunK5G6CEFtyBuhA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709834779; c=relaxed/simple; bh=/qMweurkufToMwoadZe649Pm1lLjarPn8VuQ/oC8ncI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=a5Zi6W/OlAtWhK6kLF9PC2n5+5qdsTPwTNaSJrnQELoiINp92tmSnXIk688DT76pDI9nCI9AaxlKqTlODcxwwyG82nb6rKZluZRpj3davsBZ9eDjO0gQhk5vz1CQxgfC8NvFCaqjw7fXtaUYNO1eZS0WjEuVFiyMv/lwSueohjQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=L6gknGiK; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04474C433C7; Thu, 7 Mar 2024 18:06:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709834778; bh=/qMweurkufToMwoadZe649Pm1lLjarPn8VuQ/oC8ncI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=L6gknGiKUfVSiH36Wno+U/gRqlQxWa4hxGU7U9gID7kxMoztJxP20vaHs1m6jR177 bqMFRJCxHQMgCX5H+x7hyipP0S+W2H0W5bb0PQW9/COve6uqhpK9oETQGc2ZSjk0jT O9Bfd7uuQaB0IGK6ILJc6EUPAgVacvPz4Ph2rDrmHClaCQZ3uBluNP40UgDvH117KO UXvXfWKPgAQX8QA2R1RWi46nlhcSwkkMxvihCr5LjyuJmNKooRxTMHtDj80JvCywPs Fv3q/S33/W7UHE5f9nIGG35UZ3fUIwVLXBTgViIy3njxz21pcdpJsHmG2F+4wWEHAA mYZiAYeC4sQYw== Date: Thu, 7 Mar 2024 18:06:13 +0000 From: Conor Dooley To: Shengyu Qu Cc: ganboing@gmail.com, kernel@esmil.dk, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v2] riscv: dts: starfive: Remove PMIC interrupt info for Visionfive 2 board Message-ID: <20240307-underpaid-anyplace-9fe1241643d3@spud> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="e3+Vcw8nCCVh8dqu" Content-Disposition: inline In-Reply-To: --e3+Vcw8nCCVh8dqu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 07, 2024 at 08:21:12PM +0800, Shengyu Qu wrote: > Interrupt line number of the AXP15060 PMIC is not a necessary part of > its device tree. And this would cause kernel to try to enable interrupt > line 0, which is not expected. So delete this part from device tree. >=20 > Cc: stable@vger.kernel.org > Reported-by: Bo Gan > Link: https://lore.kernel.org/all/c8b6e960-2459-130f-e4e4-7c9c2ebaa6d3@gm= ail.com/ > Signed-off-by: Shengyu Qu Thanks for resending. Just to note that I already sent all 6.8 and 6.9 material, so since this is only something that manifests with that "improved" version of OpenSBI I'm gonna pick this up after the merge window. Fixes: 2378341504de ("riscv: dts: starfive: Enable axp15060 pmic for cpufre= q") And hopefully I remember to re-write the commit message to mention that the board doesn't actually connect the interrupt link to a GPIO etc, so the original patch was invalid and a hack. I should have rejected it and got the driver fixed at the time to allow not having an interrupt, but clearly I didn't register that that zero was a plic interrupt, not a GPIO. Thanks, Conor. > --- > arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi | 1 - > 1 file changed, 1 deletion(-) >=20 > diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dt= si b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > index 45b58b6f3df8..7783d464d529 100644 > --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > @@ -238,7 +238,6 @@ &i2c5 { > axp15060: pmic@36 { > compatible =3D "x-powers,axp15060"; > reg =3D <0x36>; > - interrupts =3D <0>; > interrupt-controller; > #interrupt-cells =3D <1>; > =20 > --=20 > 2.39.2 >=20 --e3+Vcw8nCCVh8dqu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZeoCFQAKCRB4tDGHoIJi 0ps6AQD2oxPKg4y3LidQr++C4Vz9xtSEzczxjTPFfkTwQdm2fAD9GvuuDnBLY6Zh NLzH0HrR9oVi/bBt+4DJIiPqHnKywQY= =BFh/ -----END PGP SIGNATURE----- --e3+Vcw8nCCVh8dqu--