Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1526991ybl; Thu, 22 Aug 2019 16:27:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqx06G+WLU9k21it6ffJRjaiQmDCN4fTlmiPJWYxMDQsVoPJJrAqO4kLmqidrVXZOfuAv+LP X-Received: by 2002:a65:5786:: with SMTP id b6mr1431804pgr.236.1566516474825; Thu, 22 Aug 2019 16:27:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566516474; cv=none; d=google.com; s=arc-20160816; b=pXZ4YC28NFNy/cPM7IEHVm2GV0lGpEktRZenLwWS/yGEPfvyTXdasQ22vHEYxSukAv bTGFQqfy9t6l+BnUGasQJq7f/zk6lc48XpdDG+x5/DFednptQBTYPpaQqq50YvertV6D QgT+J/P43oPLBws3glKwVdtXpmcE/AnzJZq021d2BUtdRSBA8yLMi1llX/sc8+71W+tg FXpkRc6g7iUOQb2g+1eyCe9MwAQAp65bAN+uokLc1dTVwmbBYRBIioPsd0W7XNfi6YzJ +SJalmJWFroIdATotUDSG3Fa0NSPg5EI703+cwZk7stDLPuq/4ME++4IGG69GW0seKmo NMdg== 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=vBIrni4A7EW9EBCRwCmD8NsTrS3uTUQScIBMuC9pVKM=; b=qyk7kKgE+qKlALZnYeRs3bHoLukc+ptbjoK9YowO4OXbssLE+g86C/MLVc3G+kT7PY sy9cYR86TL+j8R4LnDgbGxtVVnOYiymw1LHYtLQOImy1M+JavsauvB4TLpXKhOwo0Sjw /gdvcyRcGgclXGaE4OurQGuwO4QFyWvrqmqVT7W6Yjfh5+WDtz4z3FXsW6ZQhgEOy6MI P24IXEwxo0stQLaEdeg9HtYop25Y/KX4jbU3cuIQHPT5Awd4eNnhm3Y2O122umsOU7hb TyyDSszylWO62qybT5JwzOzgw7fXkQ/kpGocmcerPF/RnYzRSn2BcvFgLlxV96Nk8D66 2Qzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Pgr6amUV; 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 o1si841788pjt.51.2019.08.22.16.27.38; Thu, 22 Aug 2019 16:27:54 -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=Pgr6amUV; 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 S2389023AbfHVRPs (ORCPT + 99 others); Thu, 22 Aug 2019 13:15:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:58282 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390433AbfHVRIk (ORCPT ); Thu, 22 Aug 2019 13:08:40 -0400 Received: from sasha-vm.mshome.net (wsip-184-188-36-2.sd.sd.cox.net [184.188.36.2]) (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 C8D382343B; Thu, 22 Aug 2019 17:08:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566493720; bh=SDgvjDR81+fPZOdTNC5f0V9NZfAQNRzqN+nYvN92QTs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Pgr6amUVwtFC4N9d3OICZ9DCzLoq7vWTa/ZcLoV+Fovnc0VHgjbRwham9Y42/WtfV +wal+EK9WdJNDQZLBtcANtjIw/TwUyWDGlMHe5JmcSQllQGWv87zad6lQuC+LtjlmK dwEh37GzJdntGz5pQsbvOAzL88g4OaBhUi5AAQ5M= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Lucas Stach , Marc Zyngier , Sasha Levin Subject: [PATCH 5.2 048/135] irqchip/irq-imx-gpcv2: Forward irq type to parent Date: Thu, 22 Aug 2019 13:06:44 -0400 Message-Id: <20190822170811.13303-49-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190822170811.13303-1-sashal@kernel.org> References: <20190822170811.13303-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.2.10-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-5.2.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 5.2.10-rc1 X-KernelTest-Deadline: 2019-08-24T17:07+00:00 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 bf2237ac5d091..4f74c15c47555 100644 --- a/drivers/irqchip/irq-imx-gpcv2.c +++ b/drivers/irqchip/irq-imx-gpcv2.c @@ -131,6 +131,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