Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7140255imu; Thu, 31 Jan 2019 05:42:41 -0800 (PST) X-Google-Smtp-Source: ALg8bN469mKBDcSfowumI57ag+5KEBlYph+eGHK0aGDD8P4jXeqZEmCBLE6no1YllxHljoGeaame X-Received: by 2002:a17:902:6acc:: with SMTP id i12mr33997706plt.148.1548942161877; Thu, 31 Jan 2019 05:42:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548942161; cv=none; d=google.com; s=arc-20160816; b=Dh8JkXVQbH4ocY+C1zZbwOViBBsKVC3eU9XPXCcBUrEV5LN1NWxy7+0diTCaxJeYRG y7KMg8UIrHtVa+3iBXERF4Vmq7oJ1gzLfldfqnw3mBcM9l6+a1bYt/2OdrTGrjn8DXV2 SFUNBXzFGuZgsnV9iRLJdeF/aaXIi+xViKkvTfdiFLH1FCsQOmtZX+ii3/1IGu3NNf2s 7mbDeJTshc2HNJcvE/r9HkEj13ILaYU5B2NhYeaDz+fWY1xSJ66rW8Urh1ExJbHEnT2J v0EjsYtR4T/vFWh2UYB2hreDyRIfEjxg85ez3uUH1P9X9R4YYQjkc246twRape94/eEY Z/ag== 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=gYOoz7sLfOmvnQTTTNScB4YjgZPjHnNJytRdhrJ93Tc=; b=A06S10GgZKowqoHe0RpKHmhJofV1S2vyXyqE1DI/n1vbVE+M6hr7Otk79v51P3A2mD zJ/Rs2P8yLKJTDMCM//Lr2lt9KecxHWbiLfwDFyaXkdgAHoU1bPMZgBVLZps9YQoB0cY gd7Go5K0xqyaHDnd/ZEiTdoX2bw1aSA0xCPmZBBXo1/pmejbuAytLQocrAIlgxOsiyYX ubSgaa1M7OkvdKPW4+j43p8+1w584xXb9bAt+ivZLcdmiwliGGCYTGO9Xz2vrXHzwx23 BW94q6e/Iq1VBZvkydgLhwFgA5WiEYk0fTNwvRndbkMu6hB1VjFAA6Rr5maHaok4nSDB 5pjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=kR8b33Dw; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h32si4351599pgh.276.2019.01.31.05.42.26; Thu, 31 Jan 2019 05:42:41 -0800 (PST) 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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=kR8b33Dw; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387592AbfAaNjp (ORCPT + 99 others); Thu, 31 Jan 2019 08:39:45 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:34979 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726863AbfAaNjn (ORCPT ); Thu, 31 Jan 2019 08:39:43 -0500 Received: by mail-wr1-f67.google.com with SMTP id 96so3370109wrb.2 for ; Thu, 31 Jan 2019 05:39:42 -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=gYOoz7sLfOmvnQTTTNScB4YjgZPjHnNJytRdhrJ93Tc=; b=kR8b33DwbGVi80dq56qDYiOVzCpjcWmz+Oo4usclGpeR/XtgWNj2/0oG/J37mMKBc8 vibG6NIVXChxP94HL9cW+fVmTjJy+kwW/Pibxf17VuoG8gW0nKfgi0y2Io+ff6UWQQSM sHv/8aKiT4J5c8qdUMgxnaG/vV9bFlhBMoANb3WtZ3gxXemgDIaRBFLdGhf93wEtyWCr 7zOHgGcwx/9eVh5X7G8tOx4dPbEU1iWdLDmY5IckhEUUTqsfMk8g0KMxzm9rlFPhgYCL YdZ4VkSdWKJ9Frs6stYe1OuZL6ju9IOGDsW0TUpIErQrygTXCh+BHUC2mVJQ1tnti4Je yv3w== 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=gYOoz7sLfOmvnQTTTNScB4YjgZPjHnNJytRdhrJ93Tc=; b=fLV7b9zhyT+Huz8gkPLos8ob2XgImru6KCT/acCsyGNSwE78PIeqUfYlgSxBiiCtKo jyQ/GO3pxerJHoB/Yc6m6wAEntRBXBZ3Qd9rvVlSNn7zNrWamvgxHxg2BJBlrPC6/Y7W LNd8zDgvWcUIX8ZXwaaaVh6cmQp80dbUxoXCMKOnZzCwq8l81eR7Oqkf5/LV98M+f/Xn /hdyfdA0j+nCu7YhZMoW+Sisjkp/YJ1zpAUNeRQLynasf0xzOQyzG47VH/ryc8INRZaw ewVD/H7DUy+7XxvoXtkyBXBpihD2/tL+WIOsaLA/+F7dtBvFhqACwUVt7ogNoIcXjduL /znA== X-Gm-Message-State: AJcUukczi6PQxEpKLe6dC3rFwFZVauUazKB/6Ps3MhnqLRoNU+G4JQp/ PXy3xl39RmbrLt4DY5gpA89+Ng== X-Received: by 2002:a05:6000:8a:: with SMTP id m10mr33726539wrx.79.1548941981798; Thu, 31 Jan 2019 05:39:41 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id h10sm5479768wmf.44.2019.01.31.05.39.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Jan 2019 05:39:41 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 01/35] ARM: davinci: remove intc_host_map from davinci_soc_info struct Date: Thu, 31 Jan 2019 14:38:54 +0100 Message-Id: <20190131133928.17985-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190131133928.17985-1-brgl@bgdev.pl> References: <20190131133928.17985-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski This field is not used by any board. Remove it as part of the interrupt support cleanup. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/cp_intc.c | 5 ----- arch/arm/mach-davinci/include/mach/common.h | 1 - 2 files changed, 6 deletions(-) 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; -- 2.20.1