From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B46E6C282CE for ; Mon, 11 Feb 2019 12:26:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 85F302075B for ; Mon, 11 Feb 2019 12:26:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rlL5bqHh"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=bgdev-pl.20150623.gappssmtp.com header.i=@bgdev-pl.20150623.gappssmtp.com header.b="BFVLyWtE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 85F302075B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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-MW; 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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; -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel