Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp4603296ybh; Tue, 6 Aug 2019 14:41:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOpKfRrxCNtg8jLGCQAi/ZabII2ig6jLZ90RBLo2RAKZ7eK9Z95lpjnj+THVmO0kVVzWEb X-Received: by 2002:a17:90a:7788:: with SMTP id v8mr5332036pjk.132.1565127699918; Tue, 06 Aug 2019 14:41:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565127699; cv=none; d=google.com; s=arc-20160816; b=gWXNj/Q7thm/qHhX8JAbQMJY2sMpo7TqHAhL90rhraJhfeVY38UnFLjgVfZ0gRk6rH uk5fUzLG3y3Q9BAlIqpPfdFcOJyGRFiy9moDas3MHyWIpa8OxRXpf/VB3OBX1POHKeSr 5PC6LvwD0LopUff28dT5rrzVMHR81QpivEt+XO8kvlrYF6UZcVXdE3srjDeS4rlscqJg HdGMLwuvTWMeoz4iH8/Cfd7TaGX9BZB8LdnHZxCS1zOwjHZl0iy526EYlb5B03Zst8M9 Uuv7VkkQ1NqX4ioka2jboLm7u4Z04+RJGf3BGr0e5LNrK4sXHFJV3sUsD/VDfKodVf8+ F20w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7bv03DTPiDEi6EUeBagEpyvBRQCuMhEVzKZFcIOMrhg=; b=j+jZ1jlJUQ1pUifj7urBcxlQ1brAIQbJOpIEBofdIniVCW1JaTRwa6enbPACAcj0dp pOWobjpd+MBgedz6mCqhoy+eOXKoMYaHIgbjWlnAOvON6i2ZpBxwoT5oxuDHXirCtaie OE0JT1maRenRjEZUcEhzjyU7gY9ZJXoaaKlwFxUfCDXGrWfhv9vLE97uhbBETiCMZAni 1hxCLIcyb7dMN2gaw/EGagK08JlwMkA0SI3xsJ548hlQ5RhOpf5w2ckxUzWsy9+rCOja tkZ/IVASs8PgxrDjVWWNTw6BJapiHL+m+t206Aqr57JomJLk+F52tm2+rBnc5HnTCLm6 AAvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1ogaw3EW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s8si47195403pgq.538.2019.08.06.14.41.24; Tue, 06 Aug 2019 14:41:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1ogaw3EW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728929AbfHFVjD (ORCPT + 99 others); Tue, 6 Aug 2019 17:39:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:55616 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728753AbfHFVhz (ORCPT ); Tue, 6 Aug 2019 17:37:55 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 52F812189D; Tue, 6 Aug 2019 21:37:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565127474; bh=EvCSsJWI/XMqsNjvcfOoKaxR/N0uPcaJBeJXu9zYGmE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1ogaw3EWioectkEj6AxGhAUBqY5Z0CC9u9ggkIpcPeCIlsiicHH50ShiZwUZit3dT hUEbJXT5IrRrSjeNLvTNTodIMw3qXK9Imk3xNmM2Ioyov77WRgfDIYSJqGunRk902W T6QWzluMX9hI8JpT1vL3MECuUioPrsiXw2SWqKcI= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Lucas Stach , Marc Zyngier , Sasha Levin Subject: [PATCH AUTOSEL 4.4 03/14] irqchip/irq-imx-gpcv2: Forward irq type to parent Date: Tue, 6 Aug 2019 17:37:37 -0400 Message-Id: <20190806213749.20689-3-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190806213749.20689-1-sashal@kernel.org> References: <20190806213749.20689-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lucas Stach [ Upstream commit 9a446ef08f3bfc0c3deb9c6be840af2528ef8cf8 ] The GPCv2 is a stacked IRQ controller below the ARM GIC. It doesn't care about the IRQ type itself, but needs to forward the type to the parent IRQ controller, so this one can be configured correctly. Signed-off-by: Lucas Stach Signed-off-by: Marc Zyngier Signed-off-by: Sasha Levin --- drivers/irqchip/irq-imx-gpcv2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/irq-imx-gpcv2.c b/drivers/irqchip/irq-imx-gpcv2.c index 2d203b422129e..c56da0b13da5d 100644 --- a/drivers/irqchip/irq-imx-gpcv2.c +++ b/drivers/irqchip/irq-imx-gpcv2.c @@ -145,6 +145,7 @@ static struct irq_chip gpcv2_irqchip_data_chip = { .irq_unmask = imx_gpcv2_irq_unmask, .irq_set_wake = imx_gpcv2_irq_set_wake, .irq_retrigger = irq_chip_retrigger_hierarchy, + .irq_set_type = irq_chip_set_type_parent, #ifdef CONFIG_SMP .irq_set_affinity = irq_chip_set_affinity_parent, #endif -- 2.20.1