From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC041ECAAD5 for ; Mon, 5 Sep 2022 18:21:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6rSrqCE5cv8cp6uz4JHQXcz7+QtQMsn7Zgxg/5HxMdE=; b=eB5puhwGS1jz/h OeDR2WZ/bkG2ZxwlcxxQIDYYS/chfdKQiGCfauAas0pLSht9I05lnQ6CfwQW7RE/7BS3ykYCMcnsE kmiv0lvOxbw7a/ucaq//4d8HAabXrzBwTBgt+URboJcawcbfUmDR9U/4sMBN/DvpJHtAg97+9mZdx TalXXC3JekovTd4ZVM6oG3qaAIHEkApv/aNBPbrTuf0XMq8UgPJTdLG0P8dEgl3+2QFFukOXA8pW3 HiFQDczX8JE/nv3juToIFzYkcI6Abl/nPEm74UABgTVQSOWEQxXfxr/oLy/gjQB/sgR3//yUmO+yu 9810RYX3bUSlzvHP8Zzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVGhX-008IoT-K7; Mon, 05 Sep 2022 18:20:04 +0000 Received: from desiato.infradead.org ([90.155.92.199]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVEPT-006MNw-5C for linux-arm-kernel@bombadil.infradead.org; Mon, 05 Sep 2022 15:53:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID: Sender:Reply-To:Content-ID:Content-Description; bh=K7JOhoeqve5tMK3dvw/fiy2l6nwI0Ntr0VTrIOW+gs4=; b=W2e9Ms5GLLsjwxNb/eYC9aPnai 2ENrlNeu0WhcKhagZLb8hvxr6F+SSnqCF5X9Q/ZoScOweuU7OhBl2lLhxHw15x59PME3x8R8K0Cxy uK6o+6WGDzAGtegOpzrn0vMghcR+U0zw4GsimOujUb1TaPOKtv5kVqEjTRgbCKeGrwHhEXuZwaQ2w JWyDd5T26atZbr+0aXnGHt/S1uCRkepBnuNIgTL7H2DP7qdtugj0XP7kjOjQaOZq7q9exMGv5wb7M oUBrZ7nGx3zabrl9RAparCqTb9b99v4NW3/b/P+xBiu5azS13Shpn197dzVNXWmF9vMwMfPlv5Tbi IasZ43Vg==; Received: from marcansoft.com ([212.63.210.85] helo=mail.marcansoft.com) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVEPA-009mzp-Pf for linux-arm-kernel@lists.infradead.org; Mon, 05 Sep 2022 15:52:58 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id BE74B41F78; Mon, 5 Sep 2022 15:52:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marcan.st; s=default; t=1662393173; bh=Ra3o6r5W8eESsw93yHTiwc7uW/oimDp1IFWslWumMc8=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=hbDFQOVIABdVF7kdJ1z1Mav3dov0Ja9+ZKrq/RJ2cJPsFlrBN7MX+FcDWyfJGytLz D+LNbh57tdhvsch7LXB1/IDh3ILSSe2ikP+8TTbLyyR/c03WloBfTxY3u5FNuyI6qc ZgJyoMt3HS9etSf5A7KvQsNdXI6hVtsiuoySHgT5ydDpjYh2RUNLpLFV90GgZCIeHM uWVRloc3CvePFLYRrgvcIawvpysNk2eNWwdqFkgZU2UaQuGl87RwoYkoaMiis7SHrq xBpaeDdcNIgROcSFTGsTJ0L+LWgg/7MnkOTJbLq84iQCjU+CpnPwrW8luIfTkYTnOl TjJgJKCyCwS2Q== Message-ID: <0457bda4-8449-dede-1d85-e4e1317dff12@marcan.st> Date: Tue, 6 Sep 2022 00:52:48 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH 5/6] gpio: Add new gpio-macsmc driver for Apple Macs Content-Language: es-ES To: "Russell King (Oracle)" , Andy Shevchenko Cc: Arnd Bergmann , Lee Jones , Linus Walleij , Alyssa Rosenzweig , asahi@lists.linux.dev, Bartosz Golaszewski , linux-arm Mailing List , "open list:GPIO SUBSYSTEM" , Sven Peter References: From: Hector Martin In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220905_165257_146446_02CCCB8C X-CRM114-Status: GOOD ( 14.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 05/09/2022 23.01, Russell King (Oracle) wrote: > On Mon, Sep 05, 2022 at 04:16:27PM +0300, Andy Shevchenko wrote: >> P.S. Do you have a platform to test all these? > > Yes, but that doesn't mean I can do testing sufficient to ensure that > the modifications are correct. As I understand things, the SMC is not > limited to just aarch64 hardware. FWIW, the RTKit backend is limited to aarch64 hardware, and that's also why I kept all the endian-munging there. T2 and legacy x86 backends (which don't exist yet, so whether things need changing for those platforms is an open question anyway) would respectively do whatever endian-munging is appropriate for them. So at this point, only Apple Mx AArch64 SoCs matter, though I *tried* to write the code in the way that I thought was most likely to cleanly transfer over to other SMC platforms by just changing the backend code. - Hector _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel