Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5748701rwb; Mon, 5 Dec 2022 03:40:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf4oMEclhH8g9U3ylFJn6eqYTaVmM1W09BUzZPxKnVimYQOTLDOClz/FO6DBO0kxCb4yWGt7 X-Received: by 2002:a63:134e:0:b0:46e:f011:9563 with SMTP id 14-20020a63134e000000b0046ef0119563mr75922700pgt.451.1670240432648; Mon, 05 Dec 2022 03:40:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670240432; cv=none; d=google.com; s=arc-20160816; b=cO9Qlz62acLH4SFPE2zjm8dFieszD6/TTgmM0ssQ9TDxyyE79pmmgPQiHRRpss6JGT dR/nTPmE3OeNQf7V1wBYD0jjIESRbsnd+QJTBK6Hdj29THiFqBa3x3W9DeSTJcW7rVsT Rm6UtRfASUikfgWXZnDspsOggeYmkyzZ1ApOZ9ULRwDQ6GFDcwokVit5lsHxJ6iCX2Mi d7AV6vfMfH1WN2oXMyhPWqD8Vv8WyXE+jQWGS1M7oeW6R/zsZ6elIrX/FXoOhkuqDUHZ OCSGgxF6vFwoJxgw3psF/UMUEt4/UC82JZh1DUr/E4VyG6Ap/6LKhdt/bA9e6qtiWnRw Vu/Q== 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.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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q7-20020a17090a2e0700b0020ad8a730dbsi13564987pjd.58.2022.12.05.03.40.22; Mon, 05 Dec 2022 03:40:32 -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.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 + 82 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 ); 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 ; 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" 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 , Marc Zyngier , 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: Robot-Unsubscribe: Contact 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 AuthorDate: Thu, 01 Dec 2022 16:28:07 -05:00 Committer: Marc Zyngier 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 Signed-off-by: Marc Zyngier 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);