From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.174 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796398032; b=cE1cyNhxp8qIQbqIYs995MnYS4yWdqAF7awcIEBvKG2cRATqytnXjhFny8fNVT2i4NyU /2xjdFjsP7939CswkFO646JYKIvNHIy5uhG1f33DqVWkylW7DmbIGTo4PxU3Yx5ahF2IA AYMcz8dkYqsFLzBMnRYqIMxj73q8+tXjekDQqXkWnG45xy3v5q3o1WykghdG0faS0pDMt ycRvKZWgXzUcBeiVYVrEALiKkeYNYDWBtMVn0DKN8GcO6bvPHGS3CncDTTevo0bCHRFmL 3eTZVi/nD0G3vzXDeFFkazKwtww7YSsHE6M2x3wMLsUCwexI6PFR5tjAVTJHhD+8zrw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796398032; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; bh=wG74nFNKtWIMc2/xZiMrKJM+OBdpI6cwI4OTYzh1Voc=; b=c70bpeIbrdWDtRUL4Pq/xhCRdHakQjaP/ImFHZI8s5J4ji39YxWrw7KPPwPf//FzuvHI sZxy8yKrmdhiv85Ae5g9639M8xPGjIucnPbKC3Ql3MF0si6FOx2NBSbfDZSg7TOfmVk8o GNbUi3uCS8m4tYUvATllM1Xa5t4AMjmiarU0JjtFrKISc5jM1Pqn1zir2tye9U/33NVyl dPpbIm7lKrnIbbksK60Pa0aeRjISXz1BUnWCgnWLYzs8uJ9AW9BLNzjP3RNjyVxrzkysM 7zv2jmKArFAeerYeJVVaHDKwrvgRElznNcw6jzXPje8XmAqcb1lXCx6RVp+37L2Pxhw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Elc7syRu; arc=none smtp.remote-ip=209.85.210.174 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 17342606A32C for ; Fri, 4 Dec 2026 15:27:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 17342606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Elc7syRu Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-8b66d1a08ccso828882b3a.1 for ; Fri, 04 Dec 2026 07:27:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1796398031; x=1797002831; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=wG74nFNKtWIMc2/xZiMrKJM+OBdpI6cwI4OTYzh1Voc=; b=Elc7syRuj6pszxaS0qtVRwpkgwGGRK33VM+pe0YHBOMWkdTN7faKVXwv39VHap5PhE iNVe+ghOK4NlWETwDuuBZO3FgWvrmiMF/HMsFVipTBxJjVtAnm+hlDrECWhLsLj2IfF5 jl/rPlVP9vJIzeF/50/0Mz1Bd+3IYXwEZhkrQk7qdlvDGcaB89v+pQ6L3S19+rvn4ayG oy1cQ5stW8gt2HOqDk4lkqv3rkGOlN5ylq8gsSAgjB9PntqHMVAw1lFkLCk6o301CE5b rk8yQOGKNvM+7KVa2ADfcNh46nm+hOsjnFox7yC9SKFiECcj+nrYB9Po4HiyBhfBctcP XrWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796398031; x=1797002831; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=wG74nFNKtWIMc2/xZiMrKJM+OBdpI6cwI4OTYzh1Voc=; b=vz38Vx2wu85VbI17SJHvOZk5gNrWH5i3Eq55PMlKawMyul/WJUZ2E9EhhB7kEteq99 KIlzxs6PCxrPrUtznGaZhY668MDa2yJQHlOXciVHe3xE/KpOO+KWmfBxDgmIts5ouC6E xNc/2eXr3QlzYJdFyvOer5TRK8dIZAt0o2lVkxsZGbjC4VmClnbRwo4jnDtB3krTsZUB O2S985H6wncozuIQNdiqSO2EGODvaJG2o4WH2AE3n0lmGzkipBB3Tnn9AZVXLQPzhFzf hzPmHvipbj2N3KN9CzEdgul33fZgghbtp5IiOIELmxFCB4eDYfgfuk8HwlTWa082tPhG QAJg== X-Forwarded-Encrypted: i=1; AL+hErEfYiCBnck6pEYgtDiJkNFCljXRc+FlbF0COKqUjdi9YwhtPbrZISej/u0PmNPvno/GOyaq/rCP9kYcUAk=@vger.kernel.org X-Gm-Message-State: AB4q+uF1udbxndZLU3uc3kHipyxUjn6bAumVuOHaX2x7pvlChqNF2nv2 mNBVUUij21HREXmnimS3cN6Mv7On0T3wUyoaqv30a3qrejDtK6J7/dy6jxu8Lz7upow= X-Gm-Gg: AZFdTZetNvKlLplulRO7CL0QMSVLXPx1f9wta3CN/tp5bZ2I1jy0TGe5F1N4+vf42+4 h5TiYXIDpuEpKGgzDDuSmHDI3sNNAJPUwaP2Gwu/UpqKTsH26Qzj8z9PGCJ9UT69ri+OhvF9bhn 3To32vaHOe3fozYk26nm8bapixod1gToMwmD5eHp2UQHhqm2sSmAzLdtmPRomF+y6EEdzMaMkvM PGYYL37VZIcn+xyOSWOzKNDS/0Mh86vGf7L0173gbAPjP+DuL4jcjAEV48TYQDqmVuZoIGVEkqG CGQ9XrskZxgGl2BPc5xLRMzUlUl1S8A19wlrmhbYmUi3QSV+IGLMGiv/1rSyVzYgaIh9SnYKh8V 4w4A2Mhzold6synpGkD0P9ssmhtviy3tOIH0cT3xuzalkeafztAe7NfKFmXv0v4IArhYWj7q3SC 0sdIUAQML+polKwonR7L/qCiuAgaceMULh8aTUqTrbTcZ6TL26nmg4x0t48T0Pw0m75x55nMf97 AkO9apsDNNPsr+IBgxjpYp7TulZpQXHueivWz6HvoLG3MB2oeUb2V2/NeDHZGDI9NS7ySaUA3Wm yzrDuVC1xAwiU6dgoIM3Osjc4QH/xf1nwEaJqq5csavYnzyYCPNY X-Received: by 2002:a17:90b:528c:b0:3b3:c04e:4b61 with SMTP id 98e67ed59e1d1-3b5e0695f89mr2212062a91.47.1796398030962; Fri, 04 Dec 2026 07:27:10 -0800 (PST) Received: from p14s ([2604:3d09:148c:c800:fdba:321f:5306:151e]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b5ddc54cc1sm4496045a91.12.2026.12.04.07.27.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 07:27:10 -0800 (PST) Date: Fri, 4 Dec 2026 09:27:08 -0600 From: Mathieu Poirier To: Siddharth Karanam Cc: andersson@kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org Subject: Re: [PATCH v3 0/1] remoteproc: k3: Merge ti_sci_dev and ti_sci_proc Message-ID: References: <20261120060231.11033-1-sid9.karanam@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261120060231.11033-1-sid9.karanam@gmail.com> On Fri, Nov 20, 2026 at 11:32:30AM +0530, Siddharth Karanam wrote: > The previous version of the patch had a new header ti_sci_dev.h, > that mirrors ti_sci_proc.h in terms of the struct decl and > its helper function structure, with the goal of abstracting > all ti_sci_handle's members like ti_sci_dev_ops from being > invoked directly in the driver code. > > Lore link to the v1 patch: > https://lore.kernel.org/all/20260922191453.324983-1-sid9.karanam@gmail.com/ > > Lore link to the v2 patch: > https://lore.kernel.org/all/20261014103241.3847-1-sid9.karanam@gmail.com/ > > Upon discussing in the original patch thread, it seemed > better to combine ti_sci_proc.h and ti_sci_dev.h's structs > and merge all their helpers into a single header. That is > what ti_sci_ctrl.h aims to do: It has the union of tsd > (ti_sci_dev) and tsp (ti_sci_proc) and both their helper > functions are prefixed with ti_sci_ctrl_dev and > ti_sci_ctrl_proc respectively. > Who did you discuss this with? Why were they not added to the recipient list for this new revision. I will not look at this set until I get an RB from two people at TI. Thanks, Mathieu > The goal of the patch (v3) is to maintain a single source of origin > for all ti_sci_dev/proc_ops call sites. Any stray calls > to dev_ops/proc_ops function pointer members in driver code should > eventually be abstracted through this header (ti_sci_ctrl.h). > > In the future we can switch to pm runtime calls. > > Siddharth Karanam (1): > remoteproc: k3: Merge ti_sci_dev and ti_sci_proc abstraction > > drivers/remoteproc/ti_k3_common.c | 21 +-- > drivers/remoteproc/ti_k3_common.h | 6 +- > drivers/remoteproc/ti_k3_dsp_remoteproc.c | 25 ++- > drivers/remoteproc/ti_k3_m4_remoteproc.c | 23 ++- > drivers/remoteproc/ti_k3_r5_remoteproc.c | 66 +++----- > drivers/remoteproc/ti_sci_ctrl.h | 184 ++++++++++++++++++++++ > drivers/remoteproc/ti_sci_proc.h | 130 --------------- > 7 files changed, 239 insertions(+), 216 deletions(-) > create mode 100644 drivers/remoteproc/ti_sci_ctrl.h > delete mode 100644 drivers/remoteproc/ti_sci_proc.h > > -- > 2.55.0 >