Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2889171rwb; Mon, 15 Aug 2022 13:22:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR7piCHidgV6yTj1bPvdemtBvSSYmVUMLb4dkk4LGgNAdM3QrVfAlVtotUHc7wKErFxKknit X-Received: by 2002:a17:907:6e1e:b0:730:a923:421d with SMTP id sd30-20020a1709076e1e00b00730a923421dmr11179410ejc.118.1660594969691; Mon, 15 Aug 2022 13:22:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660594969; cv=none; d=google.com; s=arc-20160816; b=kVi81DnAQ5cHY6+Drlr1kn/zD9fuED9OlBmp+1/qXmVOq/+aMYEAIezDJYdNQU1BwL t6eaVHU0i5ktZCt3ry1sQ1j16B9oeyXjRc9uy/eHxMap7g7kn+KsSAaBdcFtDlOFMA3v IE7k94c9juVsxnsLLW1xieKFmifesYqzgaEpyBeJPDD4BP1kDGOQKXR2AbcfrBLVIut8 7cSRnbDmb/t3hKqakv3svW664K+XrYSDv0rwVkqGnFZAhZUNv+4SyldUBY2IU5hCiFfz FLIcwY1L3jwUzFUqsUGfljNqhGLdscaVDMqEWwb+/22GvURjz0JbNbA8HP8ppgeW/DUI ELHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=kG70aEOWA61m9kjpdbpUyLYmaalq9+ArEViy1p4oA/o=; b=0WxuMm0jt8golG0Il/BpmYBWmJOa7UqMm2iQQxFvuOhH0xGP8NtHV72DVPUjrC5W6i oMY+XNAld+D+tZzLqcswrLeY61/vvMcprJvIH5qm+Od8887bR3X57+2CG1munPFgsT9M rUMv8pBCAZ5SD4kHhc3PT5XjmqIAphU5XgDm2zCFguOEX0rhTwzUELiF8wYCHFJXSNHk iM39MFhzYg3MfdCxP56N6U+hkfs6ha/xJNvusr8/2mJDRWx6r/6HLC4i2C/gRM3KtnQ6 5cXtFDlizRVl62p3sLWx9bh9TzJmE0F59fEuyJno7IcHJeVbTxDHCRjUEmKF8lEj2fSz UfTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LZBTZsng; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id di3-20020a170906730300b00730c4d1b1c9si8790988ejc.278.2022.08.15.13.22.20; Mon, 15 Aug 2022 13:22:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LZBTZsng; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243077AbiHOUOR (ORCPT + 99 others); Mon, 15 Aug 2022 16:14:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346685AbiHOUL6 (ORCPT ); Mon, 15 Aug 2022 16:11:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D93784ED8; Mon, 15 Aug 2022 11:58:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 73F396126A; Mon, 15 Aug 2022 18:58:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80F5BC433D7; Mon, 15 Aug 2022 18:58:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660589887; bh=OJljRTS4HyrlDm+ltcUSILqSsYkZQZT6YDGYiSn4cUA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LZBTZsnghi95o2DQwA062C4wlxLF5dNPQNZIDn2+npXRqymO1qM/OUVTAoXtjdekv frW78oxzGMNJWT5DvZU1bVxVQkooDkNhxj/4j5HPkKLHuQs2dq08K6H6t61XoN0jyk exqlovFKQwRC5r+EhFzMSur3n8RflOEP/0GOqlBk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mark Kettenis , Palmer Dabbelt Subject: [PATCH 5.18 0063/1095] riscv: dts: starfive: correct number of external interrupts Date: Mon, 15 Aug 2022 19:51:02 +0200 Message-Id: <20220815180432.107680149@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mark Kettenis commit a208acf0eac857dc8cdaddd63a4e18ed03f91786 upstream. The PLIC integrated on the Vic_U7_Core integrated on the StarFive JH7100 SoC actually supports 133 external interrupts. 127 of these are exposed to the outside world; the remainder are used by other devices that are part of the core-complex such as the L2 cache controller. But all 133 interrupts are external interrupts as far as the PLIC is concerned. Fix the property so that the driver can manage these additional interrupts, which is important since the interrupts for the L2 cache controller are enabled by default. Fixes: ec85362fb121 ("RISC-V: Add initial StarFive JH7100 device tree") Signed-off-by: Mark Kettenis Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20220707185529.19509-1-kettenis@openbsd.org Signed-off-by: Palmer Dabbelt Signed-off-by: Greg Kroah-Hartman --- arch/riscv/boot/dts/starfive/jh7100.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/riscv/boot/dts/starfive/jh7100.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7100.dtsi @@ -118,7 +118,7 @@ interrupt-controller; #address-cells = <0>; #interrupt-cells = <1>; - riscv,ndev = <127>; + riscv,ndev = <133>; }; clkgen: clock-controller@11800000 {