From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.52 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796398032; b=moG4FDUm/Noc240KQccnekPRGl6CzCzkWxBs62svO2NPw+0iMzOxDy3+H6konHXGqfoA hwzNQ6SJ6AXGv2WSp9XnV7AVvc6ETwkbN7Bixq+bhQgLfDQVBfArF9hpBJN+6WgFpVNpW wVkaN/0+y7994aqwuOhJaZQk+fdF4urhwZKKelYOj1nRuALmnAEek7lZ54QD01paw0865 hQK/1UP6fQ8gBxNzl5HS4AKz+Z1t8HPCetbE8sgs9S5Q495/Dr5qp+GcTWwGX2/O5Dd4k 8SfLxz6bQlsVbvAHuE9fivP1e4hIHAugn0tfOhbIVJALgHmxbvJKdc052PsMOQigkpA== 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=mN2HM8LaQsCqMYZAVk5gP/7g5z6OV4/PrP7+zPtUJzr2W0GTxq1lqDjTcVE2bWxFhUi8 JBorisuITjGof+M0zsWmvjuXJb//Wx246kYg6MgBtXLOo5OjWXUTdvzMSdfjcOJX3jl9l qLaHCBRppVZzse8LjolOWwf4m+qXGXigaEYL8375rzVHrAmdFT2jngVp7optD2NurIsjU kv/+xvLrxM6Y04KsOTVDIKgcvN8g2WxkDYC4x+Ti4F5pVMKAYMp1LRaaysPMxBxKPPnXr 6mt78aK46gKLqMHbe04iNgCM0yQUcR+C/WW1Fpnk+P4LdTX8SvEtCxYgNzG2rEG6uRA== 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.216.52 Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) (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 0B2FD606A322 for ; Fri, 4 Dec 2026 15:27:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0B2FD606A322 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, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Elc7syRu Received: by mail-pj1-f52.google.com with SMTP id 98e67ed59e1d1-3b413d04c93so715999a91.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=K8fVNZOwHJr3PXdi4Zg6UOqPm5+twTFhBLvDPxvENX/uQJ5MYKQwWzjRApBKhyLd2x EWz6uuT5ZYGz80hktiQGipDH05fEZ2pGHKQTOd1coy44DzZy49aOXw3CPvMS/T/gafGu UT2Kfko442PgUolCojo8iRbAf/fOYmF25nFTK8z7xXcuuQrvW3endFDCZQ3uhGyLI2mc 4PswN1hRuCZ3RcokX8OhVRifrFxhUadcYj5QbRxBlTF6zGefx+s7vMIDQsQ5bb0xB2nQ z8OU1uR7fBMFCps3BDFmbdtSTkotfNHXr6ZrMaHr26UNrc1euNNV/yWZrdedii1g8FuC 57Fg== X-Forwarded-Encrypted: i=1; AL+hErGru91VDvqJuadwKvxze5E3rY9OnitB3SMGh+WEEhjEmuPRIrMFO0a6Hh4Y1tKpd+x2IZq6jShG8mmCmn2cjXig@vger.kernel.org X-Gm-Message-State: AB4q+uH3y5gFdf0G2T//OK738S/3NGwyXxl0zf9MAiAuV8/Wbj4Zr8s+ SrxaycxcnlJK/fbc2OGdCduRGiB3RABK9OKDEdtq35KQOPTf9y5oCg9MRn4hD5q0xKo= X-Gm-Gg: AZFdTZcGLISqXhJ0MZwzlSDxRyd9MVzTBqu6fA5iF8qKIEViQTZzyfYs7J2KkXBZIYg Jj4AzGDfskRiadXxlA2dHRsoowBV4/0a3XtrDV74LAsY0LR930k8gZfXP5wCcfqTLdQ50WCfw67 OSTh+9syGf8RRJPyPM7N+UOgT5K7G/kJ2xf2ZgqnFnBdMnKJ+Vum4qRQNOIac1p7o5PnaD121j4 rvQ1kIXXcBWkj6nTBzxrYbVKWMca4uOzMN1DhSZ1cS6ZdH8rb/YSrDEf7ECHlx7buRo/flAiVMb Bdk2QMyVAKSauTwacRIt7xiN7KAK+7/dWT8Mjk/nPBkxXZlvhX8u0/QVPsHLWVymmhEDryig7SH 2pXSSjtLVXW21KqLvtPMtSBxsRwJvCox5TkM51EfT4h9RU/GV186OdJozLclIbN0wZ50z0TMrQO JycWVU+iWdW39EfJ9roTs5L7uZlUWRexe9d0lmDPzF56cnnJD4aihrxeqaODSXyWT21wzjQbudJ J35LcUqoVWXPZi4SdnxKU1z7DWzBRnC9ErdZcTGUf1EpEqghW6fqkXwGHI99+PRmvGNHnH8t8YP Aek94jeFTmxqZnEx8RsxbfyFnCfPX3gEe02/y5pdQP9v0MJtqxrO 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-remoteproc@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 >