Message ID | 167023926482.4906.17012979311813913704.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2192178wrr; Mon, 5 Dec 2022 03:30:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ruj5gIaSUVWOoqyUClmowh7vhGo7yBYeXl5f/LIGsYrvulA/q1Epodge2/29jCjL2aodo X-Received: by 2002:a63:fa41:0:b0:476:e84c:ab65 with SMTP id g1-20020a63fa41000000b00476e84cab65mr57156176pgk.513.1670239846313; Mon, 05 Dec 2022 03:30:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670239846; cv=none; d=google.com; s=arc-20160816; b=IttYB+xZNrbwYYQqFtmEGNRB8pVAsvYZPXAmd/H0XuxBtDKh3hoYUXoAYB/ZlcAbq3 dkjjdehxP21Hcld3hQ7DQpuQeH/3Z0doOjyDAGIdVuuAXW2ziFFL1w13+UwDU5lTmHZB CYxZmaUPifLgONwcsAHcKssOfiOWtiZu+FTJZV5v/BlNk7ewGQ/Dfdb7FQn4h1W8MxaN aODa+wdPEhtqieC/RjDWvnfNf/uD2lX4vtLOydaJW4iT0PiR2oY5mG2fOrsKBAfPk0C6 nn7ojdUgUA3c8zKXjhLNE0mvV1PSjqcnka4Rv5csaA7PNSEovs9N2xVlEUy35RUUwm1h PDhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=THNc2eWNyAUjX46iElhm0cOZLZCKjFqsNGTMEP1GEyk=; b=Z1+5a21u2q+4yV5C0AMIZhcAsIruWJXBySPWQHiuuwTpFxTyEsZzbkhcAI/MqfzUV2 spWl51O9fgmnKsHq2tLSCSpU5nWjk9SDGvMPKFRuLUoVGaLtHeUngIUmAOh5Vq0w+u84 j65K/oHoWPZKMazTQz/pB18Wid2kJDhhgcaVIc6eYrZkdNTq+P5RR8hHVl2aeXyFSdUZ WYVcT2jkV4twumrlGy6vqeGPFcNiFVHZsUzIbCfKOslr/1ehd5qaEPs61NQfk+IxIcJV caREH7GRKfrLTrOZCLMK4AgMPcie7s7uCtDrd0m6OGdycu4A7QkgnBUpAIfdiGUriRKt xuDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="QlPH6/WV"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=gwTRIEGE; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t13-20020a170902d14d00b00188736cbeebsi13119051plt.436.2022.12.05.03.30.32; Mon, 05 Dec 2022 03:30:46 -0800 (PST) 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=@linutronix.de header.s=2020 header.b="QlPH6/WV"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=gwTRIEGE; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231182AbiLELVN (ORCPT <rfc822;jaysivo@gmail.com> + 99 others); Mon, 5 Dec 2022 06:21:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230209AbiLELVK (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 5 Dec 2022 06:21:10 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92B8817599 for <linux-kernel@vger.kernel.org>; Mon, 5 Dec 2022 03:21:06 -0800 (PST) Date: Mon, 05 Dec 2022 11:21:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1670239265; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=THNc2eWNyAUjX46iElhm0cOZLZCKjFqsNGTMEP1GEyk=; b=QlPH6/WVhz/TNDTDqBl+rPOblTX8u25oOl77r42kHyL4M4I9bEougg/tvl5+t2WpA8LKgH deLlyiOQ+wJz8ifPkrCKqaSIJjnFw/qc5zykNiz0e1HlYrJOEfiuAfcUVde0fbjZLprsZY WP3x2UOMcmoNiG27CBkeMjaP4wfEIjKx64RKplNbI8nK56UOx4RtFGbzFnw6FGHPg6qIM5 iOH4VyAQ3yJwEdM8JWUClz8e7pHvOnsey2PFwDX0a9tkDHIznn5nvxY4jHWxqToT0J+App F9bBClQAW+x33LYFEEb81kixszRmulAMAB/phb59e5SYb9CAkrBzOYt2LVqPIw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1670239265; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=THNc2eWNyAUjX46iElhm0cOZLZCKjFqsNGTMEP1GEyk=; b=gwTRIEGE4NFxRxJYZUJGhLyQNGXN+UA5CtetPg4rfxk56FQJsZvMMGGAWvcYBglBJAWNv7 jyfbJtgaQBDoBIDQ== From: "irqchip-bot for Sean Anderson" <tip-bot2@linutronix.de> Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-next] irqchip/ls-extirq: Fix endianness detection Cc: Sean Anderson <sean.anderson@seco.com>, Marc Zyngier <maz@kernel.org>, tglx@linutronix.de In-Reply-To: <20221201212807.616191-1-sean.anderson@seco.com> References: <20221201212807.616191-1-sean.anderson@seco.com> MIME-Version: 1.0 Message-ID: <167023926482.4906.17012979311813913704.tip-bot2@tip-bot2> Robot-ID: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751048798383356659?= X-GMAIL-MSGID: =?utf-8?q?1751373416765754601?= |
Series |
[irqchip:,irq/irqchip-next] irqchip/ls-extirq: Fix endianness detection
|
|
Commit Message
tip-bot2 for Thomas Gleixner
Dec. 5, 2022, 11:21 a.m. UTC
The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: 3ae977d0e4e3a2a2ccc912ca2d20c9430508ecdd Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/3ae977d0e4e3a2a2ccc912ca2d20c9430508ecdd Author: Sean Anderson <sean.anderson@seco.com> AuthorDate: Thu, 01 Dec 2022 16:28:07 -05:00 Committer: Marc Zyngier <maz@kernel.org> CommitterDate: Mon, 05 Dec 2022 10:39:52 irqchip/ls-extirq: Fix endianness detection parent is the interrupt parent, not the parent of node. Use node->parent. This fixes endianness detection on big-endian platforms. Fixes: 1b00adce8afd ("irqchip/ls-extirq: Fix invalid wait context by avoiding to use regmap") Signed-off-by: Sean Anderson <sean.anderson@seco.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20221201212807.616191-1-sean.anderson@seco.com --- drivers/irqchip/irq-ls-extirq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi Stable maintainers, On 12/5/22 06:21, irqchip-bot for Sean Anderson wrote: > The following commit has been merged into the irq/irqchip-next branch of irqchip: > > Commit-ID: 3ae977d0e4e3a2a2ccc912ca2d20c9430508ecdd > Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/3ae977d0e4e3a2a2ccc912ca2d20c9430508ecdd > Author: Sean Anderson <sean.anderson@seco.com> > AuthorDate: Thu, 01 Dec 2022 16:28:07 -05:00 > Committer: Marc Zyngier <maz@kernel.org> > CommitterDate: Mon, 05 Dec 2022 10:39:52 > > irqchip/ls-extirq: Fix endianness detection > > parent is the interrupt parent, not the parent of node. Use > node->parent. This fixes endianness detection on big-endian platforms. > > Fixes: 1b00adce8afd ("irqchip/ls-extirq: Fix invalid wait context by avoiding to use regmap") > Signed-off-by: Sean Anderson <sean.anderson@seco.com> > Signed-off-by: Marc Zyngier <maz@kernel.org> > Link: https://lore.kernel.org/r/20221201212807.616191-1-sean.anderson@seco.com > --- > drivers/irqchip/irq-ls-extirq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/irqchip/irq-ls-extirq.c b/drivers/irqchip/irq-ls-extirq.c > index d8d48b1..139f26b 100644 > --- a/drivers/irqchip/irq-ls-extirq.c > +++ b/drivers/irqchip/irq-ls-extirq.c > @@ -203,7 +203,7 @@ ls_extirq_of_init(struct device_node *node, struct device_node *parent) > if (ret) > goto err_parse_map; > > - priv->big_endian = of_device_is_big_endian(parent); > + priv->big_endian = of_device_is_big_endian(node->parent); > priv->is_ls1021a_or_ls1043a = of_device_is_compatible(node, "fsl,ls1021a-extirq") || > of_device_is_compatible(node, "fsl,ls1043a-extirq"); > raw_spin_lock_init(&priv->lock); This patch has made it into linux/master, but it should also get backported to 6.1. Just want to make sure this doesn't fall through the cracks, since this was a really annoying bug to deal with (causes an IRQ storm). --Sean
On 2022-12-16 16:37, Sean Anderson wrote: > Hi Stable maintainers, > > On 12/5/22 06:21, irqchip-bot for Sean Anderson wrote: >> The following commit has been merged into the irq/irqchip-next branch >> of irqchip: >> >> Commit-ID: 3ae977d0e4e3a2a2ccc912ca2d20c9430508ecdd >> Gitweb: >> https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/3ae977d0e4e3a2a2ccc912ca2d20c9430508ecdd >> Author: Sean Anderson <sean.anderson@seco.com> >> AuthorDate: Thu, 01 Dec 2022 16:28:07 -05:00 >> Committer: Marc Zyngier <maz@kernel.org> >> CommitterDate: Mon, 05 Dec 2022 10:39:52 >> >> irqchip/ls-extirq: Fix endianness detection >> >> parent is the interrupt parent, not the parent of node. Use >> node->parent. This fixes endianness detection on big-endian platforms. >> >> Fixes: 1b00adce8afd ("irqchip/ls-extirq: Fix invalid wait context by >> avoiding to use regmap") >> Signed-off-by: Sean Anderson <sean.anderson@seco.com> >> Signed-off-by: Marc Zyngier <maz@kernel.org> >> Link: >> https://lore.kernel.org/r/20221201212807.616191-1-sean.anderson@seco.com >> --- >> drivers/irqchip/irq-ls-extirq.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/irqchip/irq-ls-extirq.c >> b/drivers/irqchip/irq-ls-extirq.c >> index d8d48b1..139f26b 100644 >> --- a/drivers/irqchip/irq-ls-extirq.c >> +++ b/drivers/irqchip/irq-ls-extirq.c >> @@ -203,7 +203,7 @@ ls_extirq_of_init(struct device_node *node, struct >> device_node *parent) >> if (ret) >> goto err_parse_map; >> >> - priv->big_endian = of_device_is_big_endian(parent); >> + priv->big_endian = of_device_is_big_endian(node->parent); >> priv->is_ls1021a_or_ls1043a = of_device_is_compatible(node, >> "fsl,ls1021a-extirq") || >> of_device_is_compatible(node, >> "fsl,ls1043a-extirq"); >> raw_spin_lock_init(&priv->lock); > > This patch has made it into linux/master, but it should also get > backported to 6.1. Just want to make sure this doesn't fall through the > cracks, since this was a really annoying bug to deal with (causes an > IRQ > storm). If you wanted it backported, why didn't it have a Cc: stable the first place? In any case, if you want a backport to happen, you'll have to post that backport. Thanks, M.
On 12/16/22 13:22, Marc Zyngier wrote: > On 2022-12-16 16:37, Sean Anderson wrote: >> Hi Stable maintainers, >> >> On 12/5/22 06:21, irqchip-bot for Sean Anderson wrote: >>> The following commit has been merged into the irq/irqchip-next branch of irqchip: >>> >>> Commit-ID: 3ae977d0e4e3a2a2ccc912ca2d20c9430508ecdd >>> Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/3ae977d0e4e3a2a2ccc912ca2d20c9430508ecdd >>> Author: Sean Anderson <sean.anderson@seco.com> >>> AuthorDate: Thu, 01 Dec 2022 16:28:07 -05:00 >>> Committer: Marc Zyngier <maz@kernel.org> >>> CommitterDate: Mon, 05 Dec 2022 10:39:52 >>> >>> irqchip/ls-extirq: Fix endianness detection >>> >>> parent is the interrupt parent, not the parent of node. Use >>> node->parent. This fixes endianness detection on big-endian platforms. >>> >>> Fixes: 1b00adce8afd ("irqchip/ls-extirq: Fix invalid wait context by avoiding to use regmap") >>> Signed-off-by: Sean Anderson <sean.anderson@seco.com> >>> Signed-off-by: Marc Zyngier <maz@kernel.org> >>> Link: https://lore.kernel.org/r/20221201212807.616191-1-sean.anderson@seco.com >>> --- >>> drivers/irqchip/irq-ls-extirq.c | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/drivers/irqchip/irq-ls-extirq.c b/drivers/irqchip/irq-ls-extirq.c >>> index d8d48b1..139f26b 100644 >>> --- a/drivers/irqchip/irq-ls-extirq.c >>> +++ b/drivers/irqchip/irq-ls-extirq.c >>> @@ -203,7 +203,7 @@ ls_extirq_of_init(struct device_node *node, struct device_node *parent) >>> if (ret) >>> goto err_parse_map; >>> >>> - priv->big_endian = of_device_is_big_endian(parent); >>> + priv->big_endian = of_device_is_big_endian(node->parent); >>> priv->is_ls1021a_or_ls1043a = of_device_is_compatible(node, "fsl,ls1021a-extirq") || >>> of_device_is_compatible(node, "fsl,ls1043a-extirq"); >>> raw_spin_lock_init(&priv->lock); >> >> This patch has made it into linux/master, but it should also get >> backported to 6.1. Just want to make sure this doesn't fall through the >> cracks, since this was a really annoying bug to deal with (causes an IRQ >> storm). > > If you wanted it backported, why didn't it have a Cc: stable > the first place? In any case, if you want a backport to happen, > you'll have to post that backport. Usually, anything with a Fixes: tag gets picked up. Actually, I was expecting you to submit a PR for 6.1, since this was submitted before that release came out. That said, this email is "option 2" of Documentation/process/stable-kernel-rules.rst, so I don't think I need to do "option 3". --Sean
On 2022-12-16 19:11, Sean Anderson wrote: > On 12/16/22 13:22, Marc Zyngier wrote: >> On 2022-12-16 16:37, Sean Anderson wrote: >>> Hi Stable maintainers, >>> >>> On 12/5/22 06:21, irqchip-bot for Sean Anderson wrote: >>>> The following commit has been merged into the irq/irqchip-next >>>> branch of irqchip: >>>> >>>> Commit-ID: 3ae977d0e4e3a2a2ccc912ca2d20c9430508ecdd >>>> Gitweb: >>>> https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/3ae977d0e4e3a2a2ccc912ca2d20c9430508ecdd >>>> Author: Sean Anderson <sean.anderson@seco.com> >>>> AuthorDate: Thu, 01 Dec 2022 16:28:07 -05:00 >>>> Committer: Marc Zyngier <maz@kernel.org> >>>> CommitterDate: Mon, 05 Dec 2022 10:39:52 >>>> >>>> irqchip/ls-extirq: Fix endianness detection >>>> >>>> parent is the interrupt parent, not the parent of node. Use >>>> node->parent. This fixes endianness detection on big-endian >>>> platforms. >>>> >>>> Fixes: 1b00adce8afd ("irqchip/ls-extirq: Fix invalid wait context by >>>> avoiding to use regmap") >>>> Signed-off-by: Sean Anderson <sean.anderson@seco.com> >>>> Signed-off-by: Marc Zyngier <maz@kernel.org> >>>> Link: >>>> https://lore.kernel.org/r/20221201212807.616191-1-sean.anderson@seco.com >>>> --- >>>> drivers/irqchip/irq-ls-extirq.c | 2 +- >>>> 1 file changed, 1 insertion(+), 1 deletion(-) >>>> >>>> diff --git a/drivers/irqchip/irq-ls-extirq.c >>>> b/drivers/irqchip/irq-ls-extirq.c >>>> index d8d48b1..139f26b 100644 >>>> --- a/drivers/irqchip/irq-ls-extirq.c >>>> +++ b/drivers/irqchip/irq-ls-extirq.c >>>> @@ -203,7 +203,7 @@ ls_extirq_of_init(struct device_node *node, >>>> struct device_node *parent) >>>> if (ret) >>>> goto err_parse_map; >>>> >>>> - priv->big_endian = of_device_is_big_endian(parent); >>>> + priv->big_endian = of_device_is_big_endian(node->parent); >>>> priv->is_ls1021a_or_ls1043a = of_device_is_compatible(node, >>>> "fsl,ls1021a-extirq") || >>>> of_device_is_compatible(node, >>>> "fsl,ls1043a-extirq"); >>>> raw_spin_lock_init(&priv->lock); >>> >>> This patch has made it into linux/master, but it should also get >>> backported to 6.1. Just want to make sure this doesn't fall through >>> the >>> cracks, since this was a really annoying bug to deal with (causes an >>> IRQ >>> storm). >> >> If you wanted it backported, why didn't it have a Cc: stable >> the first place? In any case, if you want a backport to happen, >> you'll have to post that backport. > > Usually, anything with a Fixes: tag gets picked up. And I actively object to this for the subsystems I maintain, so no, this isn't automatic. > Actually, I was > expecting you to submit a PR for 6.1, since this was submitted before > that release came out. Expectations are better stated rather than being implicit. > That said, this email is "option 2" of > Documentation/process/stable-kernel-rules.rst, so I don't think I need > to do "option 3". Here's to hope! M.
On Fri, Dec 16, 2022 at 07:23:36PM +0000, Marc Zyngier wrote: > On 2022-12-16 19:11, Sean Anderson wrote: > > On 12/16/22 13:22, Marc Zyngier wrote: > > > On 2022-12-16 16:37, Sean Anderson wrote: > > > > Hi Stable maintainers, > > > > > > > > On 12/5/22 06:21, irqchip-bot for Sean Anderson wrote: > > > > > The following commit has been merged into the > > > > > irq/irqchip-next branch of irqchip: > > > > > > > > > > Commit-ID: 3ae977d0e4e3a2a2ccc912ca2d20c9430508ecdd > > > > > Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/3ae977d0e4e3a2a2ccc912ca2d20c9430508ecdd > > > > > Author: Sean Anderson <sean.anderson@seco.com> > > > > > AuthorDate: Thu, 01 Dec 2022 16:28:07 -05:00 > > > > > Committer: Marc Zyngier <maz@kernel.org> > > > > > CommitterDate: Mon, 05 Dec 2022 10:39:52 > > > > > > > > > > irqchip/ls-extirq: Fix endianness detection > > > > > > > > > > parent is the interrupt parent, not the parent of node. Use > > > > > node->parent. This fixes endianness detection on big-endian > > > > > platforms. > > > > > > > > > > Fixes: 1b00adce8afd ("irqchip/ls-extirq: Fix invalid wait > > > > > context by avoiding to use regmap") > > > > > Signed-off-by: Sean Anderson <sean.anderson@seco.com> > > > > > Signed-off-by: Marc Zyngier <maz@kernel.org> > > > > > Link: https://lore.kernel.org/r/20221201212807.616191-1-sean.anderson@seco.com > > > > > --- > > > > > drivers/irqchip/irq-ls-extirq.c | 2 +- > > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > > > diff --git a/drivers/irqchip/irq-ls-extirq.c > > > > > b/drivers/irqchip/irq-ls-extirq.c > > > > > index d8d48b1..139f26b 100644 > > > > > --- a/drivers/irqchip/irq-ls-extirq.c > > > > > +++ b/drivers/irqchip/irq-ls-extirq.c > > > > > @@ -203,7 +203,7 @@ ls_extirq_of_init(struct device_node > > > > > *node, struct device_node *parent) > > > > > if (ret) > > > > > goto err_parse_map; > > > > > > > > > > - priv->big_endian = of_device_is_big_endian(parent); > > > > > + priv->big_endian = of_device_is_big_endian(node->parent); > > > > > priv->is_ls1021a_or_ls1043a = > > > > > of_device_is_compatible(node, "fsl,ls1021a-extirq") || > > > > > > > > > > of_device_is_compatible(node, "fsl,ls1043a-extirq"); > > > > > raw_spin_lock_init(&priv->lock); > > > > > > > > This patch has made it into linux/master, but it should also get > > > > backported to 6.1. Just want to make sure this doesn't fall > > > > through the > > > > cracks, since this was a really annoying bug to deal with > > > > (causes an IRQ > > > > storm). > > > > > > If you wanted it backported, why didn't it have a Cc: stable > > > the first place? In any case, if you want a backport to happen, > > > you'll have to post that backport. > > > > Usually, anything with a Fixes: tag gets picked up. That is NEVER guaranteed at all, please use the system we have had for the past 18+ years and properly tag patches with "cc: stable" that you want applied to a stable tree. > > Actually, I was > > expecting you to submit a PR for 6.1, since this was submitted before > > that release came out. > > Expectations are better stated rather than being implicit. > > > That said, this email is "option 2" of > > Documentation/process/stable-kernel-rules.rst, so I don't think I need > > to do "option 3". > > Here's to hope! I queued it up now, thanks. greg k-h
diff --git a/drivers/irqchip/irq-ls-extirq.c b/drivers/irqchip/irq-ls-extirq.c index d8d48b1..139f26b 100644 --- a/drivers/irqchip/irq-ls-extirq.c +++ b/drivers/irqchip/irq-ls-extirq.c @@ -203,7 +203,7 @@ ls_extirq_of_init(struct device_node *node, struct device_node *parent) if (ret) goto err_parse_map; - priv->big_endian = of_device_is_big_endian(parent); + priv->big_endian = of_device_is_big_endian(node->parent); priv->is_ls1021a_or_ls1043a = of_device_is_compatible(node, "fsl,ls1021a-extirq") || of_device_is_compatible(node, "fsl,ls1043a-extirq"); raw_spin_lock_init(&priv->lock);