Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp212502iob; Mon, 2 May 2022 17:22:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBpzoAnLp7SkLE2YqGgAdOse4JxWvHjarNhvQUE4na3QaHHW/ZFD1j+2FA9hW5hceQ7XXW X-Received: by 2002:a63:87c1:0:b0:3ab:254f:7aff with SMTP id i184-20020a6387c1000000b003ab254f7affmr11828221pge.341.1651537351305; Mon, 02 May 2022 17:22:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651537351; cv=none; d=google.com; s=arc-20160816; b=wtanf0vGivEp7/NWVKXgw16MsC+7mLjnWNoJD6FkvzcbasGb/YoyA7Z4UlH1drhooZ 0R6pU9U3NcvTgvvUE7KVuVIwEMgdMXBp5ZST6Zjl5S+V2WNnbrl8y9XnfSmr3LrUYT+x e+89289AZ2sWh5P9dt2RCJHrsulFT9gghh4jGIonums6N2fxqn3fPB2Of0ippexniCwH ujNQWHlpAtwsZOevwIKLN8bN1ebTiliv7xSj0iynCHr7rvfMAaqss3a+/1o+7YBUs8A4 UQz4G6KldYuIWb+gYfZZEsnj5v+CMaAdwBrAZVUUwo+Nh7IyjHeB+ai6NvYwRCn+mnmt F3Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=EpAcbnx+U/L1NwXa16pvqhPXcqBubVwUeHlDIja2sKs=; b=KWhdl0icaDAHBITEqgRd4W02W9hIHrLoqp4buswSlifrBMfJx4EqAllxKkiROeMdgk mmpVlEztA5WAfaGnuLAVlBl8lVxF9BYWSM1FrwbsdGm6HY9+1tTku13FG0mCS/gFwL4f 07fGHA2iJ6LpKTqqKaiMEA9OCTjn7I66MeDo0EwYEafe89T8RvtsoS0aT8dqCfPERlmu T4Jgiy5u0ISD/NnRYDZcf18fUsuI6/CnrthxOOytS/cDrNEv5VQ3/0kGUkzTeM5QYkb7 hmdJYG6oG3PtANdiSygJFmU58c8/aYDmN9UXzIUUTbFP/8zzXv9jw/RSFE7rGvpk61Fo V68w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fVBaXJca; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id mw5-20020a17090b4d0500b001d6d8ba05a5si789835pjb.125.2022.05.02.17.22.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:22:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fVBaXJca; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5AFC72982C; Mon, 2 May 2022 17:18:57 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380271AbiD2Tdj (ORCPT + 99 others); Fri, 29 Apr 2022 15:33:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357195AbiD2Tde (ORCPT ); Fri, 29 Apr 2022 15:33:34 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 529B613D03; Fri, 29 Apr 2022 12:30:14 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id c15so11650350ljr.9; Fri, 29 Apr 2022 12:30:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=EpAcbnx+U/L1NwXa16pvqhPXcqBubVwUeHlDIja2sKs=; b=fVBaXJcaF9JmA9kT3gJGJ1d182xVAxExs/K2C2cpg9fOUq9K4LgvkN5/2cWKEV8XX1 vdk0G98yxS2sLJ8zWaB7rhdyyJXKLgvzNqBV6A8afXlXuOH91elyLLmUDaTqdKe4V69x AAvZ50gl//UGXVXDm7KrqMLY7C8sZcSZWv2FS0leIXeR83qD9QrBN8p2fl+Pq8HASr1G TKXvllgu1hI2pYC43JwELnhiq4v7YL5/ugckF8nanpl/WTJIHkmE7zH4QJz9h7FqOUVT 0Jz3z+e4DkBb7K3Koshx7MxQKB7Q04DFmhKx0W84Bksadz0n4fPxx9SVm6StU8NgbLlo 18pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=EpAcbnx+U/L1NwXa16pvqhPXcqBubVwUeHlDIja2sKs=; b=YWQMMlhm+0W5xptY+8dn4YRDAhByKq9NNVHmlyPkCq+u7EXiYpMOKFYEXe5TZDPfDU eUMwTSyOtHmO/b0CYvKRiqtB2fA8c3L8R3D9HOosOBQMyI4HDF/QsTZ5s8JZfyHF1vTx 9/CTZUlsPs/zCsSw2vTPlsiZElWEl+awl3H/A+zmbE4vrtP+flpwoL5b2YMyiG1Co7JV yEG8HlDI4N0pc4Em/PMfBvQT8x2+6+VsVxnZP9DcLqyv2Lvcnxu1o+ox+XsPLUmpjpeu vGJdkXdUL/tQ7KDSAO2NIEAwU1RvSmeltOAenwdMYkAYCUJGxy4Bs4qoZ+1yBXsfwRRN JXJg== X-Gm-Message-State: AOAM533USA4eG1AgtFaw+rBqJuEFEXmjN+teG8FKBlqJ9+lm+EQjKIr8 tpGBLjIeP6fR2ybgroJzqm4= X-Received: by 2002:a2e:8502:0:b0:24f:1036:b405 with SMTP id j2-20020a2e8502000000b0024f1036b405mr465514lji.220.1651260612572; Fri, 29 Apr 2022 12:30:12 -0700 (PDT) Received: from [10.0.0.42] (91-159-150-230.elisa-laajakaista.fi. [91.159.150.230]) by smtp.gmail.com with ESMTPSA id d3-20020ac24c83000000b0047255d2115dsm5721lfl.140.2022.04.29.12.30.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Apr 2022 12:30:12 -0700 (PDT) Message-ID: <7e47c5fa-4cff-b12f-20ce-2e62b62ec538@gmail.com> Date: Fri, 29 Apr 2022 22:36:53 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH 22/41] ARM: omap1: move plat/dma.c to mach/omap-dma.c Content-Language: en-US To: Arnd Bergmann , linux-omap@vger.kernel.org, tony@atomide.com, aaro.koskinen@iki.fi, jmkrzyszt@gmail.com Cc: Arnd Bergmann , Russell King , Paul Walmsley , Kevin Hilman , Vinod Koul , Dmitry Torokhov , Ulf Hansson , Dominik Brodowski , Mark Brown , Felipe Balbi , Alan Stern , Lee Jones , Daniel Thompson , Jingoo Han , Helge Deller , Linus Walleij , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, dmaengine@vger.kernel.org, linux-input@vger.kernel.org, linux-mmc@vger.kernel.org, linux-serial@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, alsa-devel@alsa-project.org References: <20220419133723.1394715-1-arnd@kernel.org> <20220419133723.1394715-23-arnd@kernel.org> From: =?UTF-8?Q?P=c3=a9ter_Ujfalusi?= In-Reply-To: <20220419133723.1394715-23-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/19/22 16:37, Arnd Bergmann wrote: > From: Arnd Bergmann > > Most of the interface functions in plat/dma.c are only used from the > USB driver, which is practically OMAP1 specific, except for compile > testing. > > The omap_get_plat_info(), omap_request_dma() and omap_free_dma() > functions are never called on omap2 because of runtime checks. Reviewed-by: Peter Ujfalusi > Signed-off-by: Arnd Bergmann > --- > arch/arm/mach-omap1/Makefile | 2 +- > arch/arm/{plat-omap/dma.c => mach-omap1/omap-dma.c} | 0 > arch/arm/plat-omap/Makefile | 2 +- > 3 files changed, 2 insertions(+), 2 deletions(-) > rename arch/arm/{plat-omap/dma.c => mach-omap1/omap-dma.c} (100%) > > diff --git a/arch/arm/mach-omap1/Makefile b/arch/arm/mach-omap1/Makefile > index 450bbf552b57..0615cb0ba580 100644 > --- a/arch/arm/mach-omap1/Makefile > +++ b/arch/arm/mach-omap1/Makefile > @@ -5,7 +5,7 @@ > > # Common support > obj-y := io.o id.o sram-init.o sram.o time.o irq.o mux.o flash.o \ > - serial.o devices.o dma.o fb.o > + serial.o devices.o dma.o omap-dma.o fb.o > obj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o > > ifneq ($(CONFIG_SND_SOC_OMAP_MCBSP),) > diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/mach-omap1/omap-dma.c > similarity index 100% > rename from arch/arm/plat-omap/dma.c > rename to arch/arm/mach-omap1/omap-dma.c > diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile > index 68ccec9de106..5d55295a14ee 100644 > --- a/arch/arm/plat-omap/Makefile > +++ b/arch/arm/plat-omap/Makefile > @@ -6,4 +6,4 @@ > ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-omap/include > > # Common support > -obj-y := sram.o dma.o > +obj-y := sram.o -- Péter