Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3670889rdb; Wed, 13 Sep 2023 21:32:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFVO7NNDpE0RIZED+NtM1svO36h/em8hAdeTiFeYosfXJb58zbfjxz5mab/vqgVf362e5kN X-Received: by 2002:a17:902:bc46:b0:1bc:e6a:205a with SMTP id t6-20020a170902bc4600b001bc0e6a205amr5068675plz.4.1694665920612; Wed, 13 Sep 2023 21:32:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694665920; cv=none; d=google.com; s=arc-20160816; b=lG+o2ZhqSJzl9IURF+/nrFFsJVd89ompOEoEnXqhbCHNIXqY58T4u9IzBUF7UP2aR2 X3d0I6WzwZ9XbjdiT0GlUmvDzpHfr0nrYb77mWb72ArMsfYY6alDB+e7fruqxBzALj0H R3yDfB+Rc0ZHZKw71Q/1gl7UrKt2hoEIw0IuyZTts/kEpIBKi1FcjUOA3TKlo5G23ueF QCHCHLe5ADXOPD0O5MDpm+KqQFNE0KWyIssx1VVHHrQyymqtq224tc7woF/iINxSkvYx +kwrS8clGbMjRjJ2RPYYKTXYtJbaCy207ACjvB3UPu2l3q8PQhzzgCEapKzK5xAtFo2r wSpw== 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=Nme/JcCZy+21A8LZUmcpQ/snwqu0c1CGtPKLSeADIRc=; fh=Z9TzCLkDhKL5pd4hZSL1eBYuPovH123UBxGRQqoXqu8=; b=yc+Q4vmBa819/ygAj9sLqNI31ToyPz/9vNYj2y6cr9TnhRw8gk/EIzCVeW7ZBRYFWu hR8/9MgwbIQJk3qs7kCMW3B+UBHBPIMvF8m/9o5PFITZPrZpNAfDZMo1xpS0Dq7YjmwO 88/JZOTpqXW8Dnh4fOMjqXJ84F4AjJDoBEcpzOXdFnli4tAp2THpPRxq6L3ZHMUYH/CM LTzvc+qRLx+p0xK2c0nQ57ov/nSHpC+feMTMWWZt1ve9wKt2Pa4/da7o5pYtghEDUpSi +ROs3Ez4ZHdzZLpy0cEtBHAQwcU7CyUuzOlfdu8/9ehxv2Nq9Da8n6E/YAH8c/j0+pfe IC4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j7gXvpyo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id kf3-20020a17090305c300b001bdf225d158si809912plb.284.2023.09.13.21.32.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 21:32:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j7gXvpyo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 1E5F0832C2E0; Wed, 13 Sep 2023 04:37:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238480AbjIMLhS (ORCPT + 99 others); Wed, 13 Sep 2023 07:37:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238945AbjIMLhR (ORCPT ); Wed, 13 Sep 2023 07:37:17 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7489173E for ; Wed, 13 Sep 2023 04:37:13 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-402d499580dso71030795e9.1 for ; Wed, 13 Sep 2023 04:37:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694605032; x=1695209832; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Nme/JcCZy+21A8LZUmcpQ/snwqu0c1CGtPKLSeADIRc=; b=j7gXvpyobUDiLzNyNTZ9Hw0Gug6li/qnT+W/tTKq296h9ORbbw2Dm43yl7dX3onYmx XKd1B5DAwdvQsAzyG2fSX0m44n6E4SJxmKaGr2lwcq+fwKoJOcHkPmKk/i73ICDOKxWz 5dD0hJQQRjYE+lXxQfngpNv/f00gVgir6LKKNHPtFkR8RV3O3tqv97Tw7IncWux/tPgW MWhJKQcM8RTR7tg5SOw+mWQXz6q/ZzwD+P9vLS3ImKxhnOgFYwkCHfBzcgR7wk7gt5gx 6FzpEka6NIQF5EUBQKditkH5w2OHLSS65lbrV5REXeApuUo/tf7ksHsyM2yd1O7BosPv h2zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694605032; x=1695209832; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Nme/JcCZy+21A8LZUmcpQ/snwqu0c1CGtPKLSeADIRc=; b=ZKEIp+MJH70Ax6AvVN5MAmPzFpalvdubTn8RmNzXFv7W243FxPrrEhFkJKw1Ehbo2o l4KZ3oSCfQbw5tXeLqtC/UyDPVgSIcfXcjfZjUK9fh47VO1/cMsT1aBkdZMBnVO5BInq GM+E+wDKFjrzaoL+fjkpl4a/CvZMJCW3KGraojeB05Sn34zkKkxyqTonv/QAEAEhVWf4 HVJusWfzMOLd3cmsUn0Lq38/R6dFNHEL3aCqhnBdGsxnVQUE0qDhH4ypYwS0GptboxdH avEM7ZqJgBkHIA2pqP4hasJ0X+WmKonPVIscxaIBlJ3VlnolLMOMMP2xtoTJC/Zqex5y o3fQ== X-Gm-Message-State: AOJu0YxWj5kiKQuL6lYisciEPDQxX3G7wfrdfDPlWkUXaARDBc9eD2kr mg69kGLckRxrkOiKXXcEFAO2PTNPVPuDI9W6Rvk= X-Received: by 2002:a05:600c:2346:b0:402:a464:1a20 with SMTP id 6-20020a05600c234600b00402a4641a20mr1713557wmq.33.1694605032176; Wed, 13 Sep 2023 04:37:12 -0700 (PDT) Received: from [192.168.1.20] ([178.197.214.188]) by smtp.gmail.com with ESMTPSA id l12-20020a1ced0c000000b003fed4fa0c19sm1803441wmh.5.2023.09.13.04.37.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Sep 2023 04:37:11 -0700 (PDT) Message-ID: <75fbb3fa-8696-c2fe-0a41-a3e588241b79@linaro.org> Date: Wed, 13 Sep 2023 13:37:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH v6 3/4] remoteproc: k3: Split out functions common with M4 driver Content-Language: en-US To: Hari Nagalla , andersson@kernel.org, mathieu.poirier@linaro.org, p.zabel@pengutronix.de, martyn.welch@collabora.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org References: <20230913111644.29889-1-hnagalla@ti.com> <20230913111644.29889-4-hnagalla@ti.com> From: Krzysztof Kozlowski In-Reply-To: <20230913111644.29889-4-hnagalla@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 13 Sep 2023 04:37:23 -0700 (PDT) On 13/09/2023 13:16, Hari Nagalla wrote: > From: Martyn Welch > > In the next commit we will be adding the M4F driver which shares a lot of > commonality with the DSP driver. Split this shared functionality out so > that it can be used by both drivers. > > Signed-off-by: Martyn Welch > Signed-off-by: Hari Nagalla > --- > Changes since v2: > - New patch (reordered refactored from v2) > > Changes since v3: > - Removed "ipc_only" element from k3_rproc structure > - Refactored to bring 3 more common functions > > Changes since v4: > - None > > Changes since v5: > - Rearranged the functions order to match with the functions in > ti_k3_dsp_remoteproc.c to ease review. > > drivers/remoteproc/Makefile | 2 +- > drivers/remoteproc/ti_k3_common.c | 513 +++++++++++++++++++ > drivers/remoteproc/ti_k3_dsp_remoteproc.c | 598 ++-------------------- Generate your patch correctly with -M/-B/-C so the move will be detected. Best regards, Krzysztof