Message ID | 20190214145231.8750-3-brgl@bgdev.pl (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E348813B4 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 14 Feb 2019 14:53:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF3E82E8D4 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 14 Feb 2019 14:53:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C372F2E8DE; Thu, 14 Feb 2019 14:53:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 67B9D2E8D4 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 14 Feb 2019 14:53:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZG9n2b+UG5mLSQHJ13UCgB3EJnQzonYNZf+1tYTS78c=; b=CivayZb2cuUVsv 5qn3a/ukfeic62LjPcLiE5RrpX3FE3tgDC/BAmqHSOT/nIgiM3uD0kGCfXEPFXBuyo079I6K38RIw Ix7Bi7Yae1VI+gsizIiRa+SxqBfkCYSzu5R9RcEAEC+4EqPqq4CRNf6930sHTOWp1g0s8F2EhYt90 SvqJlxq02j3ML5oudwqugwyy0vzr5vnmTCPxJb2W1Db8QB2UdWy93zWolnx6nFj/vy2se5u6axiEG oTFXadnNf7VcACOGu06dVLGH3xYW/5R1tHJYEWiMjGbXC9lp8kU3sjxVs9p6P2eFuKZOBF0+icxXz TOg4zRAeWFc95OENXrrw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1guINw-0005GS-LM; Thu, 14 Feb 2019 14:53:08 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1guINa-0004lP-C9 for linux-arm-kernel@lists.infradead.org; Thu, 14 Feb 2019 14:52:49 +0000 Received: by mail-wm1-x341.google.com with SMTP id y185so4485671wmd.1 for <linux-arm-kernel@lists.infradead.org>; Thu, 14 Feb 2019 06:52:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FQpTYNOFF/xBKJ0FliQbJ6ZdH9bqB2OMp9FtFZp2/A0=; b=ieKkc0Mnxet5iCwBWminNdy4Nn2hXtoOzFqjEhIH6Thmpw6l+nRcAhLWaKI29CIaaa ObznPZ0b7EN6P/s4jleBeLumohVMhD/BJPZCZkiHgDlImKFV0HDiRtsbmYY2BLv3P6L/ FcZfI+SFmFLdErUC6BMyzoqMEZftoiN2s0ZTAdjp1YNTMWcbuzzDymfOI8TOADyUwWfb l8+TsW8kN2nJM8EaJKTEqWyuesuEsc6V5ITpXpVhimjIIMo9s974Rq5IZ1by7DCBTxxn gx3YxySGFe+6SXE2GqyvC30bLv1dDidXqrzc+zyL3wm6CuXqtLuSO3f0RuFcjWm96vI5 PwQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FQpTYNOFF/xBKJ0FliQbJ6ZdH9bqB2OMp9FtFZp2/A0=; b=ZvQQhPz+kYPdTHLlkFWYNFSHeqj+gKTnM8Rh9HXyb/XezbY8Rnw537VchzhxwEvRBZ +hNxUGaTXAXdGHvolNNwnu23tnmG7mF+rQ5j1WD0zPI+h+c1j6LW3PV2f5dN1Q9p4wks 6kinjJPKUxdGo4SR0HnPv8XU1ccC2T2xOWoorCLKw3vKc2G7+bQpfbxs6GUO51lKWAEF u3M+LaBAO//Osb7uCkweFYMRKsgzoOEwUYDmmv6DfVVh44hxKME/qYiMvGSJ7ZlWu1yr 3kHwRhVR9IC9OQJI3GtuCrzYrLKA3Z/0lx69OR3EqPh9//T9c1OCg3NXLaX2P2O17XD4 KXRQ== X-Gm-Message-State: AHQUAubM67IKOFLRT3HKI0RWO9gShNyGwlDMTgtd7dRP8AypgKLs80F0 8xnrWh22LsrsEgaR24xQAFDm/g== X-Google-Smtp-Source: AHgI3IZMoWnH8YrM2IYFL1w/iZIhYKC9gwErjBprWEuhbgAkvpogJI6slVcXPIoCNPG74uADWOkrvw== X-Received: by 2002:a7b:cf3a:: with SMTP id m26mr996937wmg.144.1550155964651; Thu, 14 Feb 2019 06:52:44 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id y20sm4181005wra.51.2019.02.14.06.52.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 06:52:43 -0800 (PST) From: Bartosz Golaszewski <brgl@bgdev.pl> To: Dmitry Torokhov <dmitry.torokhov@gmail.com>, Sekhar Nori <nsekhar@ti.com>, Kevin Hilman <khilman@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Jason Cooper <jason@lakedaemon.net>, Marc Zyngier <marc.zyngier@arm.com>, David Lechner <david@lechnology.com> Subject: [PATCH v4 02/37] ARM: davinci: remove intc_host_map from davinci_soc_info struct Date: Thu, 14 Feb 2019 15:51:56 +0100 Message-Id: <20190214145231.8750-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190214145231.8750-1-brgl@bgdev.pl> References: <20190214145231.8750-1-brgl@bgdev.pl> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190214_065246_490344_BED3977B X-CRM114-Status: GOOD ( 12.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 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> Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
ARM: davinci: modernize the irq support
|
expand
|
diff --git a/arch/arm/mach-davinci/cp_intc.c b/arch/arm/mach-davinci/cp_intc.c index 94085d21018e..67805ca74ff8 100644 --- a/arch/arm/mach-davinci/cp_intc.c +++ b/arch/arm/mach-davinci/cp_intc.c @@ -117,7 +117,6 @@ int __init cp_intc_of_init(struct device_node *node, struct device_node *parent) { u32 num_irq = davinci_soc_info.intc_irq_num; u8 *irq_prio = davinci_soc_info.intc_irq_prios; - u32 *host_map = davinci_soc_info.intc_host_map; unsigned num_reg = BITS_TO_LONGS(num_irq); int i, irq_base; @@ -182,10 +181,6 @@ int __init cp_intc_of_init(struct device_node *node, struct device_node *parent) cp_intc_write(0x0f0f0f0f, CP_INTC_CHAN_MAP(i)); } - if (host_map) - for (i = 0; host_map[i] != -1; i++) - cp_intc_write(host_map[i], CP_INTC_HOST_MAP(i)); - irq_base = irq_alloc_descs(-1, 0, num_irq, 0); if (irq_base < 0) { pr_warn("Couldn't allocate IRQ numbers\n"); diff --git a/arch/arm/mach-davinci/include/mach/common.h b/arch/arm/mach-davinci/include/mach/common.h index b577e13a9c23..944afd57ee38 100644 --- a/arch/arm/mach-davinci/include/mach/common.h +++ b/arch/arm/mach-davinci/include/mach/common.h @@ -61,7 +61,6 @@ struct davinci_soc_info { int intc_type; u8 *intc_irq_prios; unsigned long intc_irq_num; - u32 *intc_host_map; struct davinci_timer_info *timer_info; int gpio_type; u32 gpio_base;