Message ID | 20221201212807.616191-1-sean.anderson@seco.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 708A1C4332F for <linux-arm-kernel@archiver.kernel.org>; Thu, 1 Dec 2022 22:58:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=IC8Kbr+dVGTUrOM9XM9Zb3uNQ5Ir193kOJiFgrWcTXQ=; b=eI05b4RZ1sNkDW HC971C+jsZt9IykgjcerbkIm2PriX5LMzZxkUrJT/ymB2wApCWZ7mdlSZb9Qgdf1U+AfKq2zfnITj YKyyThtlEJ2bQb9waep04U2wPtS6evbfCfwX3ygdQlXZxcrksSGNP3OfYIuzcXXZwLY/mLrifITUt BKS4NNtNVML5qSmNibGkN30NUTtuHrG4wQ9tOUaQfgc4wxL7a1A/l2Mv6qEPARXRxLKB4MwoQ51A8 138QwchN8krWP0Z/3Etlnxui0+qXffAjMBwUNwOpT9kb8JM3nEPtHLwNdNvzxB5MFztmj2dTud74c r9xtCrLcWu7Z8LiPqcoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p0sV3-00BSZE-TG; Thu, 01 Dec 2022 22:57:50 +0000 Received: from mail-db3eur04on0617.outbound.protection.outlook.com ([2a01:111:f400:fe0c::617] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p0r6Y-00B8kF-B4 for linux-arm-kernel@lists.infradead.org; Thu, 01 Dec 2022 21:28:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j7KDeaMkXGPs1lqXoL432ZKuI/lwjdYHQT50eDDjC3cKURTi3Wr9qD7lf+zcfb5n3ufQ+tn2LzCbWKX+N+kesX8caTlcq/Pb3ejql+j60bWq/L6RKPquJWOoKIzFImQNhoRpq5A7dwxoSRkL2b0HVZvmnuiNplN+Hk2Xzgx9pN1fQ3UqYYAo2GlUib1J/KEj3L3tn7axEJulBiAv6Q/G3yhDe1cWYj0uriFTjf4u6TpG/yg5sFwnAm+ORQl5SPLyJC0DKZdZCZYjZwfFlTUUTNVDxsoL0j77DqHVTfElgAjf5FOGqLEpWm+2Cb+5D995/ywSQNk+hHljWB/RFYrxFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HksBDMgcloWtuciTMBvCJiopBlkVDGTvUNtWz2g2ui0=; b=lwRHlA6VJuwClUy7RbKv0orJbmWaMCzdi4u168D9z7Z2ZQySX99a9ZMrevreT1FCUVQ26TfHn7xxEB7ofAPbQHfg1Qqu+DGkFrQmXaWCoXpp2R2V+07DcJvbO+7QGGP1qVLXMFWMhvPKtuH8Kl8UUN3w99k2xp6YzAjRjNm4p2L4TB8lCVbb4YrJ/wClfm2TUU+0yyxluy71/SJnMS8rj/KbBEEvOppLzWR6KEp6eh3UAHpk02+gQKpOWxlwikq0Zt5JHoI6seFS6Gjq4bWgzc/mh1rO+yWJLG/kaLg5qvQGV0C5pg56jEeDkKbTDfQeHMeLXIoRQkASP7x8tM57gw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=seco.com; dmarc=pass action=none header.from=seco.com; dkim=pass header.d=seco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seco.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HksBDMgcloWtuciTMBvCJiopBlkVDGTvUNtWz2g2ui0=; b=WImPuGsYRZbIUfg16qzkYyFNlFa+gQeNQkLVUXyWHgFPazArZjojJ39vOHv1TWpT1VmHYY3pFz8H+zsifFG0z+DxlFfmM5UJdTarrV/FenWg3BIGXWVvY62CiGxBbQdWfzFT+r6HjQFABr/dFWHNYQ0nAbrSRY443qLeHTG/HZFc38Nzqc1vhz/onSMz9R/JPx98BMMg4g6sbz581QkYdO7Qun1r4bzObgtwlvvvsCPbMvGxJ9RgYspVXsf2/XHxzXw0J5m4VlZkkMC0Q9aACrj9sVo0d/xOH/Dw90oyYfHEp5HfPSEnoFOrlrU1VgfuO9hXoggSAvLzkp30tFecSA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=seco.com; Received: from DB9PR03MB8847.eurprd03.prod.outlook.com (2603:10a6:10:3dd::13) by AM9PR03MB6819.eurprd03.prod.outlook.com (2603:10a6:20b:2d9::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.19; Thu, 1 Dec 2022 21:28:19 +0000 Received: from DB9PR03MB8847.eurprd03.prod.outlook.com ([fe80::2b95:1fe4:5d8f:22fb]) by DB9PR03MB8847.eurprd03.prod.outlook.com ([fe80::2b95:1fe4:5d8f:22fb%8]) with mapi id 15.20.5857.023; Thu, 1 Dec 2022 21:28:19 +0000 From: Sean Anderson <sean.anderson@seco.com> To: Thomas Gleixner <tglx@linutronix.de>, Marc Zyngier <maz@kernel.org>, Vladimir Oltean <vladimir.oltean@nxp.com>, linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Li Yang <leoyang.li@nxp.com>, Shawn Guo <shawnguo@kernel.org>, Sean Anderson <sean.anderson@seco.com> Subject: [PATCH] irqchip/ls-extirq: Fix endianness detection Date: Thu, 1 Dec 2022 16:28:07 -0500 Message-Id: <20221201212807.616191-1-sean.anderson@seco.com> X-Mailer: git-send-email 2.35.1.1320.gc452695387.dirty X-ClientProxiedBy: MN2PR05CA0041.namprd05.prod.outlook.com (2603:10b6:208:236::10) To DB9PR03MB8847.eurprd03.prod.outlook.com (2603:10a6:10:3dd::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR03MB8847:EE_|AM9PR03MB6819:EE_ X-MS-Office365-Filtering-Correlation-Id: cfbaa5d9-2ea9-4772-9775-08dad3e2f677 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Iqi36ehODGi3O1lZ5ZYVEyYSXy48R2nnzxjdmmDiO/bJYWSK1v+QYt1ruVZUMmcBozXKxdiEygWqSxeAA4ddZ8XeTdGT4qaopWiBhILPEwZFBeSN6oKFGpqaLLo+zFt0cxH7ysK/a5GP56es+zy9JHNIsGOsr5Eb16TDO0PV9lTsDwGeEqLkZGKG2mjmjYm+4TdIqWnNlfyXci4abpMIkO3G/Gx6lv4ijHnlCfVPnwSr4pMeCWwjhrwJ+8ORSGoz5uLV1B2/dHyQ0i79hu2ehevs0UQkeTlyPeHRMsjVdWaNrKGqpM/mdhAzAV6LMu2SvjZURgYoDT0qkMWrRWdmSAHtKyidtaHdkNKgmKBFYAVqs2i+DY8lpje2/EsyK2uiWwYS2g75ucnfDrhjGqMpFp7rXRY9n3h/6d5uHXWPfo9uWwgeERuNinbGrfXcxKlu5FCtbkYVt+DN4ermy71gLIa9btmHVmwxnX8g/h5H72N28/EjBIa69RIvQosm6cJOxindNj4mDiKVlFy4FGyaGv8WbqZp8GSIE0EZ4l7IQ7y/moW84v739BmvZrEFw+YjpRIiyFcHv3SO1N9qRX9bBR1xK66Sl96oKrxlKOZizgn7uqxLwBZ8zvgELhLUF8AIO/A6AcfqcrYl5ehEvwfTzOLeejFWT/mlA2orkFS3EaDzjtQXCdox8MnX9i4HaEHo X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR03MB8847.eurprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(136003)(39850400004)(396003)(346002)(366004)(376002)(451199015)(6666004)(2906002)(36756003)(2616005)(107886003)(86362001)(52116002)(6486002)(478600001)(26005)(316002)(6506007)(44832011)(4744005)(66556008)(5660300002)(4326008)(41300700001)(8676002)(110136005)(54906003)(66476007)(66946007)(8936002)(38350700002)(38100700002)(6512007)(186003)(83380400001)(1076003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: V+8hUfHFJOPxvmE+g1FDePhgIjA0qiLi8szT/cOV22vOaoUC+1lGOf6CPSZxSf+X3OYTU7WhCx8Bbzj1a5Nr2KFcEk9AYt1NrKa02Zy1+gr4J+a88uIWCTxkG27E7mJOpsrjcG/hTs0T2nP1YVlGahQXAbCEK2u3J+EcFLvg7Hujg9ppmwROL/AH4+eKeccedp62ITQZwQotuGdNwBpv3FHe3ngS80+dNpBB2HBhHAMyDA1poSV+5XDdk9cHr9nzBYzdPaRuKtcs1Ei2HBfQ3aes554tH0mrbvGCrED6zzMBPGFfjINBnezNf5p57FSNB59MZH4wSRuLz26XmimbvUUbL/jfObzuDm3L1IFfDZ/c+sIwZAg93cR33uFq3zWd7C7V9BMKwE8h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ZFCaYW3QMq2LOxjNaxlaSY1/3ZfeWa6C97ZFcZLjcXqwJA2QuRqgfbAiuuM11GEPy0QRRldAZiSfyEAUwI8jXavLZhmUvw9yQjaCIEtFvWMkGsW2SY0f0+Dd6rPvgh9oC5288AQx/KA== X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: cfbaa5d9-2ea9-4772-9775-08dad3e2f677 X-MS-Exchange-CrossTenant-AuthSource: DB9PR03MB8847.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2022 21:28:19.3082 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bebe97c3-6438-442e-ade3-ff17aa50e733 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Wgm9EN12mCR1x1auwMVrW1VdiHukTzOERZFnIqsH0nHURoMwyKExk80jNR665H7tJRaQvVQI3272oQ0H2y99nA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR03MB6819 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221201_132826_952169_E41243D9 X-CRM114-Status: GOOD ( 10.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
irqchip/ls-extirq: Fix endianness detection
|
expand
|
diff --git a/drivers/irqchip/irq-ls-extirq.c b/drivers/irqchip/irq-ls-extirq.c index d8d48b1f7c29..139f26b0a6ef 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);
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> --- drivers/irqchip/irq-ls-extirq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)