Received: by 2002:a05:7208:208b:b0:81:d631:dc8 with SMTP id y11csp223360rby; Wed, 3 Apr 2024 07:27:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVALUb8D/QhMFzQWi21k4G6pSl6YkOppurfehC6bsilI6tsd+TqpJe6g0mMxUV+gGsmBbBJi1N7pRAvt3XS/IDCvBQtEof9SPQbCEiHtA== X-Google-Smtp-Source: AGHT+IGf56lcj+zgo87u827OglPBkUbCZcpi6/oKp7mBLEaXo9UObnc0S/ZMRbWUwpQZ2PquV8y5 X-Received: by 2002:a17:90a:5aa6:b0:29d:d7a5:91f9 with SMTP id n35-20020a17090a5aa600b0029dd7a591f9mr12361367pji.48.1712154477913; Wed, 03 Apr 2024 07:27:57 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 38-20020a17090a09a900b002a29f476ea3si1096277pjo.124.2024.04.03.07.27.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 07:27:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129963-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=@amd.com header.s=selector1 header.b=JndjP0Aw; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-129963-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129963-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.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 65A94281EE1 for ; Wed, 3 Apr 2024 14:27:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 463BE149C77; Wed, 3 Apr 2024 14:27:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="JndjP0Aw" Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2094.outbound.protection.outlook.com [40.107.93.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4CA5C14A081 for ; Wed, 3 Apr 2024 14:27:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.93.94 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712154424; cv=fail; b=MSitCwhPxd9VRZIC8Fq64rzyAeudZ+JM7veXWtIP7rQiPppofLP2rIBytiAbNlRRBZDUYx9N9AkikzxnOA2/9Ssad0r5qDp7ceXJkLFXmX/ldibrF0TwQqPa9+fia5w0qRfRc92FgRi3181PSGv+hObjSXOn1eAnfdvclgTVU04= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712154424; c=relaxed/simple; bh=UVhO4Y/yGh9IDwMQTtuldweApvCSbXQnfnY8VSkq1YA=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=hBMxD1Rf/wYgGX1V1SfZXrO3yb9+gP63xrtNBKuqjfAbbeqAXlVnNfd3bWHr1Ut8Z3Wu+0BDh77f0jhV7y8V7r7T+sR1PUyQ0SXQ9SlBDpsODKLt0rA4jJPIdSvj4I/LpaLaGIW8w2CAaZChHTGNxguMeIS+Pjeeext8kwTqAYQ= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=JndjP0Aw; arc=fail smtp.client-ip=40.107.93.94 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BVBO/ywu4J3LfKkM9zYnvfdR81K+rlohb2YjToQvyjROe22vN6fvLgtbgRlDUSjSQdhB0GLATecX0onZPMOwI6dfoEpUiB4Kz1PHWk3rUJYqzPXGT0iqJgtlefGVNpHPydA4cciNCcuUdzY2UD6dE/m8/+5XtferCvIMWSHpcBWxAgHPMU4sbESj+Y5C545uwLPwRMBR0YccfZ2isIYFbnF8IY67LMfb8OrMqQjIYOL9Y0yQvPcG1IBihmF41K1mR9+wwfiYNuadpdlrNgo7qo/s4RECZPalMssKLZhJx7im9qSWGcwmXlHScAHgZBzfoTUQABSbfCXK46j6qP5q8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZlfLAZIJp09mkpStccyb8rB1wQixxLxcTVybXjAT+sE=; b=N/GA0BrnzkHZZ7pSA7NToNwLHgQfJndvLMjEt6k1uqv4CdUQrKRlyUHSqD21BhrJa7QkeQiC+hTlEK3UxD1rV6Pa5joa+SFbJOMyGZUhZDoC1yYEGNOnmaMQpkeiqrkwTRFKZawH5mFVwCBBPTbIFdcU5oT6F4xuFeDDp6CxQZdby5Gc9mOtmyK+3Mbvpcue03NRoWwoQqIn5MuNMlQMLrFjP6S4WYhhpZwNX2quhPn9zrIviHPMwxFf8uCsGu4X7M+Dz9YJ+wojeyTbJxS/bz4TTlyz5SIwcUBisLapHH8dskRKXfzXhZWuspWCudJjPoy3RkBXW+qVe7WcxTQ/uA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZlfLAZIJp09mkpStccyb8rB1wQixxLxcTVybXjAT+sE=; b=JndjP0AwytpKQgcZOFqE23xuvo4db96MKieDyRwY5dE2kV0jptesrNuxyNZ7pA+H1JSw6Nsp47XHV9uW3AQRcMjHSmzpCkGbkCtsqfKOsCJF8Ia26p0/hOIYUSGoZpJa8XnLEqwfiCYQ2Tc3HwleIZVcne+aPWzBmqSmxS7qExk= Received: from PH7PR12MB5685.namprd12.prod.outlook.com (2603:10b6:510:13c::22) by DS0PR12MB9038.namprd12.prod.outlook.com (2603:10b6:8:f2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Wed, 3 Apr 2024 14:27:00 +0000 Received: from PH7PR12MB5685.namprd12.prod.outlook.com ([fe80::f2b6:1034:76e8:f15a]) by PH7PR12MB5685.namprd12.prod.outlook.com ([fe80::f2b6:1034:76e8:f15a%6]) with mapi id 15.20.7409.042; Wed, 3 Apr 2024 14:27:00 +0000 Message-ID: <53f3afba-4759-4ea1-b408-8a929b26280c@amd.com> Date: Wed, 3 Apr 2024 16:26:44 +0200 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: Easwar Hariharan , 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> Content-Language: en-US From: =?UTF-8?Q?Christian_K=C3=B6nig?= In-Reply-To: <87sf02d1zf.fsf@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: VI1PR0902CA0035.eurprd09.prod.outlook.com (2603:10a6:802:1::24) To PH7PR12MB5685.namprd12.prod.outlook.com (2603:10b6:510:13c::22) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR12MB5685:EE_|DS0PR12MB9038:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JKTi7FgZqau3yIko/NzpfJBC9GXNsLV9HkP53TKAVzIViaaMBbZjEyPiCB3SRn0Yc3UWfWD5DyHtfmbnCGSJvP9Dt5Zu8tfiTg0wYzGeggc/crNd9+IVCYGl1d3CjZzqfYPH5XfoUFqDO1QDD6MBUQk+zuN1DCPiceL9DQjpvSRL7pcU8O+zAB0alwZuj++4njSD3KrDnK0GE4m9cSQoTMoCMSF+cZDkYjFAOh2+LjpGTrLVPUnxFR1NF+uNUdZrBqqUovvWUlcL20gPyjeW3kq5yDNUp56JI/BLZsGfXL8NXyB8foBVv9eLeoTVCZ2RcdwoqHIFhRLrdPsoUiR+RYkcvNhKmJYaV0+xJqEXrpUyNl26ZkRSX3uiBvz7ao+qAsXztVtEL7wkJLa/pTs2zL0QKxi2ec4WH8/WW5fzE7WgLhpBwmAG2TUV7ByZlxvNx+CG6bkKC7cGF1RfFpOyGfsU3IDFv7tzJpEzbw1IT5WfGy9MsCtmxNAUtZIQYvGgMUc4AI50nnxoLyci8IEkJs8aVdt02rabLDIpFLLIQccmaJZgbx3HKC8Sdo7R20xaG2n9kW2bwode0t8xemQpT3xVd9Rxi/TS9SDaVQJip6Jb39KaJl3LO4gO4+aWkEEyl71Josr26/ly60Ab2cHD5j+UanvrNfp91C+W01jN/QA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR12MB5685.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(376005)(7416005)(366007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Slc5M2U1cW10REpWVnJrdzlDb2REdG5pV1RudS9oNlZ1TGkvSzNjUFNabkVU?= =?utf-8?B?REwvQnpJaVhEdkRRcTk3TUY5SVZWRkhrNERsWnFjeWtiSXpwTUF0d1czVUMw?= =?utf-8?B?ZXIyRlp6RDlnZmNqelB0Z0ZkcERzN3RpbGVucmMvdW51Mm5VNTVmTzkyT0Yz?= =?utf-8?B?SVdEcWdUK0dQdnV4YmVtVDFreUtkbGZMVTlpc2orSEptcGsvY2QxeTFqMHVW?= =?utf-8?B?dkNIMDZyZ2pOVzN5RUNCeElyNVlOMXNWTkQvWWYrSzVKczhXYmUrck1VeU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SmhlRzhYZDJrODlIYnlBVnY2NVl4QlZY?= =?utf-8?Q?zvyY05yUsYD69l1J7CU+Myylz?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6756c8b5-902d-488c-db44-08dc53ea1f98 X-MS-Exchange-CrossTenant-AuthSource: PH7PR12MB5685.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2024 14:26:59.9222 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: rreBfafSxtVurBuIAA4q31122OzlMWG7bk2mmpgKWjuEjKR33b0iRxLPB+UY9o9a X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB9038 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. > > > BR, > Jani. > >