Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3083212rwb; Mon, 15 Aug 2022 17:43:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR5hM3824H1M7xOmKVVnrTOHQXTSPFHeFVzTxa+yd5SlXnzSBpGT537dWkEZkKupSQjg3c2O X-Received: by 2002:a05:6402:190b:b0:43d:d001:2cce with SMTP id e11-20020a056402190b00b0043dd0012ccemr16462494edz.326.1660610580945; Mon, 15 Aug 2022 17:43:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660610580; cv=none; d=google.com; s=arc-20160816; b=PNfIXeCh5z5LCX2NgSQj6wkswrHRqLi6oWkShfHZfXvw2DAfOJR1gjlOCvh4891X79 vvY8Ly3yZ8U21PjmYw6F28SiFj5jM4K3Im9HPKRLnUaW8rgFq8hpOcyKxRV5Ae+CUnZ8 QfZmTi2ETyIBGhFwXH+a9zMnFEI1v3L/M+ib1nF0hst/BYtnrQ3e3bdrkvI3Murzo2As H0rH0dR7AgVwO+65gsEtR+AoWCtFtGyOPBXs2XkYmqt/f0X/0GNLCfH13sAP02ihG8/n k5c6CGWrPJNYdFsDqyMzoDnFE44GvIuW9M9xws6X+5wanEPN3pCcZaKlexfgoqbmVwvI behw== 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=w7ISdCgI7zetFalFzKD5gMZAc6wgalPogG+UZWASsrC/Sy+JkFJ8QRWsR5AYqrcymB llCB4lRMHfXs7O9Elh2TopiRexPs+KsxIUFn9C6ErBC1GshKDDfMdraQkdjj0KZr7Fzz w07V2MBUTtzLzlNRQY5i+ejgyLpslvq13pqwP7c6UnxGVBvfxpMbDBFLSo8rWkmaelyA y78QyfAsNInhb/did61yzmSWNUJY3Y7fhWsTN61qQpJ2WceUNcNw4vaWxPtyCufodD7u RigryMmFkJohHCM9M4AOY9sLfKvF3+ARl3hCpHZg4/Ein2mRZz3JI1Az0YYTJGtgdxt+ xccA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1FNI1ge4; 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 l11-20020a170906794b00b00730f07ead67si9911262ejo.929.2022.08.15.17.42.35; Mon, 15 Aug 2022 17:43:00 -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=1FNI1ge4; 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 S1348143AbiHOWFo (ORCPT + 99 others); Mon, 15 Aug 2022 18:05:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350269AbiHOWB7 (ORCPT ); Mon, 15 Aug 2022 18:01:59 -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 B22A91136BC; Mon, 15 Aug 2022 12:36:18 -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 396AA6115A; Mon, 15 Aug 2022 19:36:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 375E3C433D6; Mon, 15 Aug 2022 19:36:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660592177; bh=OJljRTS4HyrlDm+ltcUSILqSsYkZQZT6YDGYiSn4cUA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1FNI1ge4IWLz9uGkV8bifkVVRu2bzX8aHV+wyB1PHyk+AHwYb307MG0DOSJ3r3u6N bOqG+CzmkRgCUdOffyfJqZ2dEjzL5GwO3G3FPdJAAqySQftudGxOT4zzr6NDeZET3E 2RrXJST60k/EdWDh4wkwickWa1GN5i31pKhy5uIc= 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.19 0070/1157] riscv: dts: starfive: correct number of external interrupts Date: Mon, 15 Aug 2022 19:50:26 +0200 Message-Id: <20220815180442.302330716@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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 {