Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp227547pxk; Fri, 11 Sep 2020 05:23:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7MQ2WRxKDfmM039BVA6ViuC7nBuH8VgGWrj6bM5xJ0y1JybY4MkaxAPeJqCmlIvvQo6ZR X-Received: by 2002:a50:bf47:: with SMTP id g7mr1711122edk.26.1599826983742; Fri, 11 Sep 2020 05:23:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599826983; cv=none; d=google.com; s=arc-20160816; b=Ws7prWIqTk5qEfOBdzk4m3fWdPYuMFqSyTB2PV0qBgmgcLhjgJRZDjszwpvCIBi/it ULxGOTm4+JIz/xhYY5AUbFAaPaBfXLVefUORC5K3AHCC9GRvO8bmzwzFETKtj/E2wXZZ G63M1jjoeKHjJOcbcqxzAaTz6ZRMnC5bMCnUTw929SOmumrJv1aoyHKL6V6J1gdUr5ba h9/YDUdbHhX/eXTWqOkX18zWvkEk1oX8axQ7Wu370OgdO1KRDQmfPcV33SQ+ESv0XuqZ i8Kco9AU3BJvYX5Lte0aoagmosL0RM5Far9zXQNkfgyDgTyOpeLlb3yjfrn3vOsTAul+ pkyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=EciLVaFqArOeqMOysCeguJo/ccX30J42ryApI+Z94UM=; b=rfcV75aPgt3Cp9Rue5zNd/YFEFJS+OcC/7hJaMUCFp2X8YZgl57OB4WdrFzd17FN0G Vl4KhzhQbevYqvcLCJTYFLDreRhNtwYObHDL8xxsaLlJ/8GVA67zvN0K6EtbJUB2JB14 KRYbrKXdO6+5V+w2U1E9wIXHAsu+RPNeh2O1Hf5CMebQ/REYQUJHrza/rWtWEly3LIMG TLmUl7CMsqGS5PM+ECPoBGWgzC0ZXT9RXhiYPx3hvoBbN2nQL8UiZ5BNwvLmvzLfo9cn EvQSrXkiDn6xF2PQPGHNbYy03GAmExI1XsA5yc14wkLJHAuO4/74cY74jd/qJh9XofrK aMbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="KuAPW/VM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h1si1252387edk.240.2020.09.11.05.22.40; Fri, 11 Sep 2020 05:23:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="KuAPW/VM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725900AbgIKMVG (ORCPT + 99 others); Fri, 11 Sep 2020 08:21:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:59378 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725877AbgIKMRR (ORCPT ); Fri, 11 Sep 2020 08:17:17 -0400 Received: from localhost (unknown [122.171.196.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 71CF821D40; Fri, 11 Sep 2020 12:17:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599826635; bh=P+FSpMhRQYWfJVCQ83j/JR1HDo0aoiOL7Q9B8t2+jNU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KuAPW/VM1PxpeYQPg625T5U2dtwo563eZiKJULUnSIY+OaDncs2Qn/bs/5fOOxQwY wPhDjn9Az03BJx31K85xL/RIS4ER+CISzvk+6CvaFi7xXBjnZhJpM45l6TJe2m/3ZW YBNDGUItzmLXTGgT23U9Kqo9Ugkv1agJsRZV0Erg= Date: Fri, 11 Sep 2020 17:47:11 +0530 From: Vinod Koul To: Peter Ujfalusi Cc: dmaengine@vger.kernel.org, dan.j.williams@intel.com, linux-kernel@vger.kernel.org, lokeshvutla@ti.com, nm@ti.com Subject: Re: [PATCH v2] dmaengine: ti: k3-udma: Use soc_device_match() for SoC dependent parameters Message-ID: <20200911121711.GB77521@vkoul-mobl> References: <20200910124329.21206-1-peter.ujfalusi@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200910124329.21206-1-peter.ujfalusi@ti.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10-09-20, 15:43, Peter Ujfalusi wrote: > Use separate data for SoC dependent parameters. These parameters depends > on the DMA integration (either in HW or in SYSFW), the DMA controller > itself remains compatible with either the am654 or j721e variant. > > j7200 have the same DMA as j721e with different number of channels, which > can be queried from HW, but SYSFW defines different rchan_oes_offset > number for j7200 (0x80) compared to j721e (0x400). Applied, thanks > > Signed-off-by: Peter Ujfalusi > --- > Hi Vinod, > > Changes since v1: > - mark the udma_soc_data for am654, j721e and j7200 as static > > this patch is going to be needed when the j7200 support is upstream (we already > have the psil map in dmaengine/next for the UDMA). > > Since the hardware itself is the same (but different number of channels) I > wanted to avoid a new set of compatible just becase STSFW is not using the same > rchan_oes_offset value for j7200 and j721e. > > Vinod: this patch will not apply cleanly on dmaengine/next because it is on top > of dmaengine/next + the dmaengine/fixes. This might cause issues. > > "dmaengine: ti: k3-udma: Update rchan_oes_offset for am654 SYSFW ABI 3.0" in > fixes changes the rchan_oes_offset for am654 from 0x2000 to 0x200 and this patch > assumes 0x200... > > is there anything I can do to make it easier for you? No worries, I have merged fixes into next and applied this. That is how we typically handle this case -- ~Vinod