Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3541681pxb; Mon, 4 Oct 2021 04:42:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjnOZgSZgFTXuFmcW8mLfNyhVJIADl00yWw8OKk5M83DhQvuc7zsueYwDKVOFc+JDCClrE X-Received: by 2002:a05:6402:144d:: with SMTP id d13mr18044424edx.223.1633347757488; Mon, 04 Oct 2021 04:42:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633347757; cv=none; d=google.com; s=arc-20160816; b=AxjjZWKrDyUQVUiY/BUhsU1Q6SqzmILUaI6aYsYtuwA+UX4klselFIUTeAF1Hmql/T CjfjWKvMdLX5dCJjO+DHVcq4PXNUVMvzpDGaytmNR21LCVBFGX8Grz0a2XgsfhFmS5xg 2+qdpPZqUiRk4vipxgFqy91NmkjWVw45fNpHHMsqaMs3j9SohByosPYwnBqSwXxEE/ih Kgv4vt7Qr+2jy+PPWX+IwJ88BFtGD2EqUfHocEPmR1pfPAaX5lKyXjdo9op5lh7pv/3g F/CQn1CNtrdKLyDX0pe3HKMI7DjATGBGibP09sUKKFN/a+Ce1hWmnwXzL2dnjJRCuICK OjIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=MEv2pI80t40fuYBDKP440EWV17fkolfVGRxQZI6VhlE=; b=KM88DM9PISgjN5in2iTobspp7o2UZrI+b7R16lPy8oYsz25RxgeweqSAPIwv7n3nrJ VQS/h7mtnpu5hFl/u/uArVoXd/NSSKz0UYWj8C2neoBfEaIQ5g6BeWQvULjixllagYIl LNMTkXLiGwF+dAB25GZVSrovUI1KQuPAj7Wvg56KBm1fRu3XtV4L/aNCIspOR3ooiUig PPXT5KN/Cnog4PEt5OEyu2La0SbkZQ9V2lTBPOX2n2lJrBBTcULGYCzdAHXHmabhjNCk DXNSh5K1d2pvHVbs3za1aVEbiXRt5akGGcagd6pwNK6IaQOx52TLTXHuEGutrKCPzIbO icnw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bs11si16581384ejb.438.2021.10.04.04.42.13; Mon, 04 Oct 2021 04:42:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233014AbhJDLWb (ORCPT + 99 others); Mon, 4 Oct 2021 07:22:31 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:56497 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232278AbhJDLWa (ORCPT ); Mon, 4 Oct 2021 07:22:30 -0400 Received: from mail-wr1-f41.google.com ([209.85.221.41]) by mrelayeu.kundenserver.de (mreue010 [213.165.67.97]) with ESMTPSA (Nemesis) id 1M9FX5-1mTnWZ1N39-006OM4; Mon, 04 Oct 2021 13:20:40 +0200 Received: by mail-wr1-f41.google.com with SMTP id o20so12139824wro.3; Mon, 04 Oct 2021 04:20:40 -0700 (PDT) X-Gm-Message-State: AOAM532Jd4Po+Bvnbqm4GkigEP2bVjOHyYxoCozDi8gcdjWRMXNBSZ7q ewRxpQw07K7OwvM/eoxjkeDpHp+bo43WhY5CnAk= X-Received: by 2002:adf:f481:: with SMTP id l1mr13368134wro.411.1633346439970; Mon, 04 Oct 2021 04:20:39 -0700 (PDT) MIME-Version: 1.0 References: <49890226-cf04-46ff-bc37-33d1643faea2@www.fastmail.com> <1B71F6A3-6467-46EF-858F-82E93D54365D@xenosoft.de> In-Reply-To: From: Arnd Bergmann Date: Mon, 4 Oct 2021 13:20:23 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Add Apple M1 support to PASemi i2c driver To: Wolfram Sang , Christian Zigotzky , Sven Peter , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Olof Johansson , Arnd Bergmann , Hector Martin , Mohamed Mediouni , Stan Skowronek , Mark Kettenis , Linux ARM , Alyssa Rosenzweig , linuxppc-dev , Linux I2C , Linux Kernel Mailing List , "R.T.Dickinson" , Darren Stevens , Matthew Leaman , "R.T.Dickinson" Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:yEGDJdAsg9cAEfqhEAR9pAQVPWRaBH/v0c5qXjHJCtGYJfPwKj1 Q0FuzH2gcjxVhrSESt8aZyVZZSC8BkDZzWcdFduEBEnM7D1CfKwIabP1DoJ2CDc0XYHDBiS dw0vQRAiqxWKEeREgTZMB5K8uke7sce23zpI7vcC2mkuybtwhln5g3mAjzTsdigz5nJ8Kx3 HYCeQAJCdh2AOPBAap4Bg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:DBVNx+O0+SE=:J2teYZ1JJoZ/JJiKj8TtBm wO+XbNXpmoXA2sAYAeQD3mFkS20jgeOIEGSKAAFxvDcOizs4t2YQEnOMGIKvn9923cBWcaGul TMXJyfAHSN4IywcZ1sn8gd+qgWwoEiFKG1eCBabnNWuqRT/ULak2Lus43aeeEWns352C/f5TH YWOEh6hP5dmsEGOH4f4ylgEBY9tfjv5f5PMRbduI5Y7DMvbwgPBOq2jyEa9o2fgKdgEDyXe0G qCO2kS0VgIqyzuYrCwAbC+vLrec4fvGHKlewZLvcaANPWhqDN3RrmTdaBQMReHmAPY/HbBupy pLRP4AXXE8m+wYWtG03sC9lTFUgEKH0LWxeX02xxRXKkjpwsdU9jDYgN1xtNksdCq5w54TMHU h2DIWILMKwMRbFsu4moy8xjgqs6uRpB4IYPuDdGtcFR2963GnUagQ/sTtVdMw8ofhLM1S2OUG OYkWzGIzXIHxTR7UBf/2I+2CB2QRk21DQXA0RdMM7HkU8o8RV9SIfet7E94CthVE28D7vpSol Unb1dPJTY22hXbMAtWzAtIKAZdfWAL8fFPZcIOu2+7XEczWAdJ8EFEhbYguKzkYho+ayifJPn cD8Ni5gN3fnrWCWpplALQe0+ukwwTaCj98+IZfMJ4qwn6zl/RQsSKqskZHJ6CoIAXlpJDBTUm Z4YXdqIUgbreafEJXBc47TWud7O+S382sKNA73HZVhNHARHMuMaf3BcTbZgp/+3sCP+WoVacf QVA3nSTP8x17ZF4Zr42yuZ+WSUA6fdTLSKfQmw3yGrWrHVqBTWRVOzUv1gUCTYe4Z40WZxOiS lD1sJxuX3ai/OrnZJNweZD2oedcioekysWxxZbjBATX/9+LazQgZroRi5DLRevNGycSUEWt1s c8taZp2rOcT+BB72758A== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 4, 2021 at 11:55 AM Wolfram Sang wrote: > > > > i2c-8 i2c PA Semi SMBus adapter at 0x(____ptrval____) I2C adapter > > i2c-9 i2c PA Semi SMBus adapter at 0x(____ptrval____) I2C adapter > > i2c-10 i2c PA Semi SMBus adapter at 0x(____ptrval____) I2C adapter > > As Sven correctly switched from %lx to %p, this is intended behaviour. > Run 'i2cdetect' as root to see the values again. I think the address could just get removed here, as this is clearly not helpful. port number, which is somewhat useful for identifying the device, now it's either the pointless string, or the virtual address that the device is mapped to, which is not helpful either and potentially leaks information about kernel internal structures. Arnd