Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2830699lqz; Wed, 3 Apr 2024 09:42:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkb23N7pZsw128K/oUnMNW3p5EP2S+bWyvxtxZOeTSUAma3ZDcSFmA1TEGDEYZ7hzy/3NYH2U6iSdqBk49xO/XNmwIjqNqHsNVijuzOw== X-Google-Smtp-Source: AGHT+IE/Z+vPpbSlZi3m9XD3MtrpnqyFuiLlELAtaSZKxGCHJ6iAE3yIWozlgLMEe6hXhOksckYq X-Received: by 2002:a17:902:ea08:b0:1e2:8f1d:6fa8 with SMTP id s8-20020a170902ea0800b001e28f1d6fa8mr3717298plg.19.1712162557415; Wed, 03 Apr 2024 09:42:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712162557; cv=pass; d=google.com; s=arc-20160816; b=eoRCqVYV24BU5FSKLq+U6FarZ2hztrygwgSrfOXP5L4UWr6K85Mr+W1gaYVu3koxuy 1Bbs01mW8fqUGlCZSlI1Vhk8Sy3Z2PVzx11c9amza9vqdzBQYhAApEsRGgxLmb521WvA GIMT9eX/mza0hEdd5VIApydAmrgNpKM+IgArH9BhRFL1AYnmGn+8/tCH7X2weF/VEauV ciAlijmjGSfvfZG3mfSX3bHJyy0o43dfymu/k5RPaZNZGRdh7J5+xG99/1lxCd7JypGV 1NHX0XziLkINc4HmZFXo7iAsQw+iPr/M62W8cqw+jv2K11mZqD79BiY5m4LZnMyEXMfi DvOQ== 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=vqt9SWYA+DonVFY3bwxfhND2wn3sK4WmMeoT1wrpVFg=; fh=z09WNkdXIvChMl0EVEO+FtD1g4OCg7j0QXwZ59MF89U=; b=oxhXcDl0WMVrekGgQ4Ius+CBgWKAQVMd+UnE//hpEqaCb1zjGcD1mYnB+w5bdBRnpE L4jfqzQHKMBaTSrQjDLHDhtVV1yjoH+Nsapw8sQ/Hg1bbIQ8eYJOMGoumsWhJ8LWnz/9 3RH53nCftncSwmIbu+hMw5hFONg/MIjDcbUsfQL9Har263rzGqnreXG+iJwsvesymS/s uooP2cSa1OdYGMFfrL6IpMlPTRTI66BlAbWcpm7kKuCj6XosSjNi+6UAtOGlmMgUyNZ4 kBIo5MOEFF73gK8DpBB3/UJBCPYTcE91agEVu1aP4C7LAsviMynnUtsJIkTFxNYW3h6C NHcQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=F7zOCAhq; 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-130210-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130210-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 sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id me12-20020a170902fc4c00b001e259e8d02esi5714224plb.385.2024.04.03.09.42.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 09:42:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130210-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=F7zOCAhq; 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-130210-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130210-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0CBFB282523 for ; Wed, 3 Apr 2024 16:42:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F2AA314F9C3; Wed, 3 Apr 2024 16:42:31 +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="F7zOCAhq" Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9AA4714C5B3 for ; Wed, 3 Apr 2024 16:42:29 +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=1712162551; cv=none; b=DirO9dqFl4qp1GkU9kqZrefb9Rf+QLHzhuK4AxF/ZNidYDaVrQa5tMGj7Ss0qYTok7ZdKNQUDKk7qcy1I7DpWwGoSZC1Dkr5oG4cOApQ8GW06pWTKu2aZyaBZGFdN8Kj2zq0UOpqer/YadHQHT7OF5X9fhcIkegsHOoJ3KUKZdE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712162551; c=relaxed/simple; bh=5/TgGowfLSBGhCrZVCt7b81IA1GU7dKBtGmLk3DQKkI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Gm7XSgK5WnbWWb8TSIAvxqSfp2Ld+oekqIdsh7dCwryQOywpH3o0XdEkIMIEy2D3o+9V0YpOXffeNEAggdEmvkjyV2bxjkM5pyRU+71OY2dwOWgelO+el4Zyv54aWF8GmCCY6b2XUvnmRvtncYVPTQ81OIMkjgskgdXJoAl3xsk= 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=F7zOCAhq; 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 769C820E8CB1; Wed, 3 Apr 2024 09:42:27 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 769C820E8CB1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1712162549; bh=vqt9SWYA+DonVFY3bwxfhND2wn3sK4WmMeoT1wrpVFg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=F7zOCAhqFjnPTo0KQRYeE5uaIvqcIJyPOzLq2iBWdr4/iS1BFOtgydlTfhGdni/uY iQe+halaQkCqhosXfjF16IdtmPqtyPh6IScEcHIn0jn1nl91AmmtdwdUuMD5wYIr47 D+BmC3oQaJFSpLyY4kMKD5trvQTBtQmMygvY8AiA= Message-ID: <8f475409-d56d-45b4-8310-4c2122a43eb7@linux.microsoft.com> Date: Wed, 3 Apr 2024 09:42:25 -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: Jani Nikula , =?UTF-8?B?VmlsbGUgU3lyasOkbMOk?= , Andi Shyti Cc: Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= , "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> Content-Language: en-CA From: Easwar Hariharan In-Reply-To: <87sf02d1zf.fsf@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 4/3/2024 6:12 AM, Jani Nikula wrote: > 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. > > > BR, > Jani. > > Will do in v1. Thanks for the review, Jani and Ville. Thanks, Easwar