Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2831314lqz; Wed, 3 Apr 2024 09:43:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMKdxFkzF2l+vtKzYNVTxjvmTqdlm2jq5+ORQgB0v+Z9cspcZ9yXT8wuyIUC0+DjGFSRVg8OnbJ07MKiWkS/XtddfzQDoFD0ryEnzq6g== X-Google-Smtp-Source: AGHT+IF5Dpi9zNau2H63n/upQyC/jhD28wrGPPKVN2I6QiRAVjxp8D35vHP1YCuVgezly1OBnrVl X-Received: by 2002:a37:db09:0:b0:78a:6dc7:a256 with SMTP id e9-20020a37db09000000b0078a6dc7a256mr15256483qki.76.1712162618388; Wed, 03 Apr 2024 09:43:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712162618; cv=pass; d=google.com; s=arc-20160816; b=d4PvksR4u2hcMMOkVBqo2FpmFkFb8o9e6KNTfp+tHjI0xIIleWvCK/jbnTbJAc+9f/ MeGUy4QifyTJVWR7R9UWsrjBPl/Fro3n5J0sC47/wAVMBAfXhEnyhnBqvJZRytNFwnDV erymdTwyKI0tGZP2ZRC3mDk00Auzh7T2ycQSx5/msGJZvMxfKq1XTQo4IZK5RPWcNYJD AVX3X3a0SCNX0bPuf5I6lHuKZxx7Fxvf9uT+/nx8+k1tAyJtkMRjkZb2v/JuSnLhJ2LJ RIhfH19hNPSX6KI+27FZZGv4lpsiGOEHAgoxi/ludj2muxxmw/T2r9q3a3mMuHdZCeVm 53bg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature :dkim-filter; bh=+7OTAvm4YBh0EW7CUU1g7C3TzjtjyRg6KT1KNDY2o8g=; fh=niXb7DKnqUx/+ZzXPY2LwyrAqL9988HkB/nqU7fPXoM=; b=iAuK2SbWt0nTrSTi1DKQXNWjj5rHVbfFaDvrjBFHnf/Ue9GicVUZZR8PUg7bPkQOcK jzfVCG9ynQb55engpgI6k5IMvFjwtdSi59MeYYwP9XUXlUOZez4np84bZi2hZcvLXi9A 5fAhRfZviocbzH790DxRurpsclDoHu37Zw08+TFBHFaAdWzhhmWruw15maiMOkaH1iFU 9Rc/CaVE1riufbiNtCff5QMlHHritA3jX7ytXjOPndz/Z6FNu9LPTHx9uvsOyIM+j9xO eTtbL/ZAmWoImzKVHenPEEbxnWmYU6yWueIj88Ro+djTGPoPkJPapLxSeTA4Qz9lbtAu jf/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=QerGi8Zw; arc=pass (i=1 spf=pass spfdomain=linux.microsoft.com dkim=pass dkdomain=linux.microsoft.com dmarc=pass fromdomain=linux.microsoft.com); spf=pass (google.com: domain of linux-kernel+bounces-130213-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130213-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a4-20020a05620a102400b0078a34bee9ffsi14604514qkk.397.2024.04.03.09.43.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 09:43:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130213-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=QerGi8Zw; arc=pass (i=1 spf=pass spfdomain=linux.microsoft.com dkim=pass dkdomain=linux.microsoft.com dmarc=pass fromdomain=linux.microsoft.com); spf=pass (google.com: domain of linux-kernel+bounces-130213-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130213-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id ECE321C265BF for ; Wed, 3 Apr 2024 16:43:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BAEE014F9EF; Wed, 3 Apr 2024 16:43:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="QerGi8Zw" Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8986E14C58A for ; Wed, 3 Apr 2024 16:43:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712162611; cv=none; b=jJvOItY+0IOxAlT9o8ObEyXh2IzOLyZjVK8uk/gkFWf4JILs2aJoXtNZhphc/F54cLgtAP7mCJw7NcjJqhx8vojd/SNNij/QWQfPFjUw/+MHGoEzH0j2mWutq3+C7C/fUPu7zilmnNsPvdyaFYh9OUSMSkBhyEwNjeI3P4pBTcU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712162611; c=relaxed/simple; bh=I11F1Ln3mSM90NtnTvHiQnI50Jikm+VjtDtW6OsTNxk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pd82MmG90Nww4Sq1q3AHohWkNkK5GW08AmDTW77jpK3Vjjb0H3EFXotmygPElKVfAgY9aCODyfbltLD9LokTHmSMQT7+Qx8X0w0d0SZi6+/KKjerC1FBJO5LbvV5RLAJrs+LeaMXNiktlC72ImuOj27SVJgw7XoPEQwYt2luJHI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=QerGi8Zw; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Received: from [100.64.216.231] (unknown [20.29.225.195]) by linux.microsoft.com (Postfix) with ESMTPSA id ACCA320E8CB1; Wed, 3 Apr 2024 09:43:28 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com ACCA320E8CB1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1712162610; bh=+7OTAvm4YBh0EW7CUU1g7C3TzjtjyRg6KT1KNDY2o8g=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=QerGi8Zw7a8Qx4JL7KcI3lCaFNAJvtJ5X75cWvobS5bwvxvtpi9r8Xbf8cCSgNg2X WilGbrvejhGM08QGJujzZY9NyiFdcdoE6+o3fJkz7Ihsb/30bpeXUAWL2if9D6UvuF 0ZmE3S84vpwvhntXb5xtj0o+u/kJGKlgcHg8+vOM= Message-ID: <6b9d8463-0336-47ad-a78b-2c983285755b@linux.microsoft.com> Date: Wed, 3 Apr 2024 09:43:27 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v0 02/14] drm/amdgpu,drm/radeon: Make I2C terminology more inclusive To: =?UTF-8?Q?Christian_K=C3=B6nig?= , Jani Nikula , =?UTF-8?B?VmlsbGUgU3lyasOkbMOk?= , Andi Shyti Cc: Alex Deucher , "Pan, Xinhui" , David Airlie , Daniel Vetter , Harry Wentland , Leo Li , Rodrigo Siqueira , Evan Quan , Hawking Zhang , Candice Li , Ran Sun , Alexander Richards , AngeloGioacchino Del Regno , Neil Armstrong , Heiner Kallweit , Hamza Mahfooz , Ruan Jinjie , Alan Liu , Aurabindo Pillai , Wayne Lin , Samson Tam , Alvin Lee , Charlene Liu , Sohaib Nadeem , Lewis Huang , Tom Chung , Bhawanpreet Lakha , Meenakshikumar Somasundaram , George Shen , Aric Cyr , Jun Lei , Nicholas Kazlauskas , Qingqing Zhuo , Dillon Varone , Le Ma , Lijo Lazar , Asad kamal , Kenneth Feng , Ma Jun , Mario Limonciello , Yang Wang , Darren Powell , Yifan Zhang , "open list:RADEON and AMDGPU DRM DRIVERS" , "open list:DRM DRIVERS" , open list , Wolfram Sang References: <20240329170038.3863998-1-eahariha@linux.microsoft.com> <20240329170038.3863998-3-eahariha@linux.microsoft.com> <87sf02d1zf.fsf@intel.com> <53f3afba-4759-4ea1-b408-8a929b26280c@amd.com> Content-Language: en-CA From: Easwar Hariharan In-Reply-To: <53f3afba-4759-4ea1-b408-8a929b26280c@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 4/3/2024 7:26 AM, Christian König wrote: > Am 03.04.24 um 15:12 schrieb Jani Nikula: >> On Wed, 03 Apr 2024, Ville Syrjälä wrote: >>> On Fri, Mar 29, 2024 at 06:38:10PM +0100, Andi Shyti wrote: >>>> Hi, >>>> >>>> On Fri, Mar 29, 2024 at 10:28:14AM -0700, Easwar Hariharan wrote: >>>>> On 3/29/2024 10:16 AM, Andi Shyti wrote: >>>>>> Hi Easwar, >>>>>> >>>>>> On Fri, Mar 29, 2024 at 05:00:26PM +0000, Easwar Hariharan wrote: >>>>>>> I2C v7, SMBus 3.2, and I3C specifications have replaced "master/slave" >>>>>> I don't understand why we forget that i3c is 1.1.1 :-) >>>>> That's because it's a copy-paste error from Wolfram's cover letter. :) I'll update >>>>> next go-around. >>>> not a binding comment, though. Just for completeness, because we >>>> are giving the version to the i2c and smbus, but not i3c. >>>> >>>>>>> with more appropriate terms. Inspired by and following on to Wolfram's >>>>>>> series to fix drivers/i2c/[1], fix the terminology for users of >>>>>>> I2C_ALGOBIT bitbanging interface, now that the approved verbiage exists >>>>>>> in the specification. >>>>>> The specification talks about: >>>>>> >>>>>>   - master -> controller >>>>>>   - slave -> target (and not client) >>>>>> >>>>>> But both you and Wolfram have used client. I'd like to reach >>>>>> some more consistency here. >>>>> I had the impression that remote targets (i.e external to the device) were to be called clients, >>>>> e.g. the QSFP FRUs in drivers/infiniband, and internal ones targets. >>>>> I chose the terminology according to that understanding, but now I can't find where I got that >>>>> information. >>>> The word "client" does not even appear in the documentation (only >>>> one instance in the i3c document), so that the change is not >>>> related to the document as stated in the commit log. Unless, of >>>> course, I am missing something. >>>> >>>> I'm OK with choosing a "customized" naming, but we need to reach >>>> an agreement. >>>> >>>> I raised the same question to Wolfram. >>> I don't know where that discussion happened, but my opinion >>> is NAK to "client". Life is already confusing enough with >>> these renames, so let's not make it even more confusing by >>> inventing new names nowhere to be found in the spec. >>> >>> And let's especially not invent names that don't even fit >>> the purpose. "Client" makes me think of "client/server" or >>> some real world analogy. Neither of which seem to have any >>> resemblence to how the term would be used for i2c. >> Agreed. >> >> I2C 7.0, I3C 1.1.1, and SMBus 3.2 have all switched to controller/target >> terminology. The SMBus spec has additionally converted generic host >> references to controller. >> >> At least for i915 where I have some say in the matter, controller/target >> it shall be. > > +1 for using the same vocabulary in amdgpu as in the specifications. > > My personal opinion is that master/slave was actually a pretty good description of the relationship. > > The "slave" or rather target of the communication is forced into operation, can't speak back and potentially won't get any payment for the serving. > > If we remove the word slave from our vocabulary society will just sooner or later start to forget the meaning, and that is probably not a good thing. > > Regards, > Christian. > Thanks for the review, Christian. I'll adapt to controller/target in v1. Thanks, Easwar