From patchwork Mon Feb 11 12:25:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10805587 Return-Path: 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 A551213BF for ; Mon, 11 Feb 2019 12:26:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 93D94287A0 for ; Mon, 11 Feb 2019 12:26:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8811A2A163; Mon, 11 Feb 2019 12:26:35 +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 1EBF9287A0 for ; Mon, 11 Feb 2019 12:26:35 +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=rlL5bqHhFQm6ZK 5xdyHdrf3uI0EZR68aIDWBqfl14xCEFaWYoHEaOe2CpFmDY7DYQsbvSKrhsmudn3g+d0qUpYz+X+H Fpqegc9Q2YziJbdSVtw69xluwiTKMwOS2m5G+5VNJDsAy/EVBq/yInu1Qx0mP7EgD+8XzwB3KN2Wg V3CfwRSf+LvfnHffaIiYz9jFESOU48ngHpaev0xVd+FUY0eMdkZN7/ZsgQUdDz8cetYvKkqxQWlo3 ZJ8vLCpF2TKAb4EM+xp1TGuTpfss/HBjlM0hXJICnQ4WycfadFo1Xu35AKa4V074EFsL0J0ijvsou /mB6rDSGOIFFqrKXzeMg==; 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 1gtAfS-0007Tj-3k; Mon, 11 Feb 2019 12:26:34 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtAfA-0007C2-ML for linux-arm-kernel@lists.infradead.org; Mon, 11 Feb 2019 12:26:18 +0000 Received: by mail-wm1-x344.google.com with SMTP id d15so17498034wmb.3 for ; Mon, 11 Feb 2019 04:26:16 -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=BFVLyWtEcq3eYr+UveOpnwt303iKNYCSo0ye2M7eD7Yq1k8CGzjLZhHDhVurnWT22/ UOFx8iul2pzQWy8e0R4O/gYu+YlAqKoNgvBHDA+US0tCk6sVfC71J5O03Qztv37b/iMN mQYCqXTStM9DKBTrUmZGEgLsBbZF9wwUXseXWKvqAzyJtpCVRj/enIJczCUINHShdC32 hvgqjB17gJzdMpVORlyehifzHJci24srzGIM6Q6Ew80v9BanmdfzK6GQ1eeASSWi8o9q K0CMjuOMG8XZosP3FXc+pxGj4AvgC6I6Vp9bwmgseQEDTPIzOXkz7l3jWRxZduVi0fJd LG9g== 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=QI6/y8dEkoliM0A3FxxaReWPXHYYKwFm7KfYKpjBHWAUuWr+IWpVQmo1X4YVtJMXHF YkGrSO3NLUz47mL0w30MuW8/aDSOg7noNScuXJVhReRx5SC/wKk/CWUgq5DOgUYEiTU7 GFaZnQidm2QQmLM5O3jbX0b+nS9aFDej+xq2YnxNzU6d0073Kq3Pa0ZyBqtGxEIFff3V xPv4kPBp+ldP+HovgqnUnnozd775UGpSALTQZX3oNGumijyPrRq61bmhYcDXouE979rC UIWEOIEL12Zm+NXrcwThVr1WWy084Pvm6SiQH0UTuYDQMpSNYZ9Rn9jlB8M4jHLd/1q3 ICew== X-Gm-Message-State: AHQUAuZ2ad1jZ+HScVIo3ZOOEyOYvepCfctOKQfGDbwoiOaIlyU1X3re oW1/TeuGOzqpnbb5Q67tG5t5CLqI55g= X-Google-Smtp-Source: AHgI3IblV/DCRQY/D7Xl++V8bobEnOVNtH+5cIads6wnGJzdT2I4A8o4xQeOWLInrKHGvdc2hXMNzw== X-Received: by 2002:a1c:7a18:: with SMTP id v24mr8767751wmc.107.1549887974861; Mon, 11 Feb 2019 04:26:14 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id l20sm19494321wrb.93.2019.02.11.04.26.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Feb 2019 04:26:14 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier , David Lechner Subject: [RESEND PATCH v2 01/33] ARM: davinci: remove intc_host_map from davinci_soc_info struct Date: Mon, 11 Feb 2019 13:25:34 +0100 Message-Id: <20190211122606.8662-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211122606.8662-1-brgl@bgdev.pl> References: <20190211122606.8662-1-brgl@bgdev.pl> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190211_042616_725515_20D5F3DA X-CRM114-Status: GOOD ( 12.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartosz Golaszewski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bartosz Golaszewski The intc_host_map field in struct davinci_soc_info is not used by any board. Remove it as part of the interrupt support cleanup. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- 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;