Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp4022642rwl; Sat, 7 Jan 2023 09:38:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXtADrI5OqXBYKn8Y8+5yWFm1faSmuPl46SlFJMBRZ5vB8C0/SAmuQIZLdZSYHLpu1dnHMpU X-Received: by 2002:a17:902:ee13:b0:191:3c8:a7bd with SMTP id z19-20020a170902ee1300b0019103c8a7bdmr64222965plb.6.1673113119922; Sat, 07 Jan 2023 09:38:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673113119; cv=none; d=google.com; s=arc-20160816; b=i0hHCeIiTGcWn6OAMyf2KSBRL6pp7E1tMNEG3H6iSVXi5pjezUN81Ikd+cIB7HiY9M sFL6KFumF1OkUQqln27lnLrMYewe2SLYLarYqHP2S0KmTMGGGaxLE4ogcs4KGh4CUlIs 8KQWTPbATs6ScRfUt/hV7XwDpwZjhuxTvv0Bw6EMJLAM7NRuUuQrHayXfZ7klX/beAXQ FKsyfg/eO3QPLetoFqgYOaMhx5CCdcvEEUVixMyMtVFcxdCzAbRVCIrJ2+G2SaJYhxGA gQmfA4KKsnEgJnwQg09tGYr2hhr5fG9kzFttGR2VJl51EVxlN0vtFPTr265lAWIvf5BJ lgGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ApdrS3tSWj75Jx4ozDcfURvKE8QjJ1d5AVnSBy/AzuQ=; b=yz+OvgmPJhOWi8tzM00SfAlUQ/eOCxHjnEfX8M5eij7ihZHZrQ+FTx0TBtRTj3m5+V haq0ocm5D9NGvacGd+cama6mOoz/TDF4jwf93+3mljM45sB8FKJS2l7ZrWxcbw87iXiy 6X6nLteM1xwC9P9u8dca/Ay/kHu2U43Wv52oUgdHpdkPgTGWQP9zXXUTj31eW9zur+Mx vMc7S3IEAt23IzLHYzkwLW5xXqjt1ZcJ2qSzbdOx94VvL1cdDUG6nfgu/r6fQUYboWJL O0ARdbMSoVkyyaBD+w6dWjVlgbjnMnG3HlcleIKw60yzTJ7Bo/VAu7tw1W1umLSW9ucb uwIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=c2T+A4Qv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a18-20020a170902ecd200b0019260195003si4817376plh.599.2023.01.07.09.38.32; Sat, 07 Jan 2023 09:38:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=c2T+A4Qv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230360AbjAGRSz (ORCPT + 54 others); Sat, 7 Jan 2023 12:18:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231785AbjAGRSq (ORCPT ); Sat, 7 Jan 2023 12:18:46 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D669445657; Sat, 7 Jan 2023 09:18:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=ApdrS3tSWj75Jx4ozDcfURvKE8QjJ1d5AVnSBy/AzuQ=; b=c2T+A4Qv0SjXNNHpM3dbOAlQfA Dbolq53uUXvu8D6DU5Y/CydTxr0o3b4/oo3V2H2vz1fZ5KxB4iTRi981LfK+n7sbTr5OfouKAva1t /sND2MtNQLPAfaenVae4HskA/G89pIJCp6FCpZhiigxJUpw5AGK3VAMj+WCnfn4fbz5w=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1pECps-001R2T-1u; Sat, 07 Jan 2023 18:18:24 +0100 Date: Sat, 7 Jan 2023 18:18:24 +0100 From: Andrew Lunn To: Klaus Kudielka Cc: Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Pali =?iso-8859-1?Q?Roh=E1r?= , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Thomas Petazzoni , Chris Packham , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] Revert "ARM: dts: armada-38x: Fix compatible string for gpios" Message-ID: References: <20230107144149.5743-1-klaus.kudielka@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230107144149.5743-1-klaus.kudielka@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 07, 2023 at 03:41:48PM +0100, Klaus Kudielka wrote: > This reverts commit c4de4667f15d04ef5920bacf41e514ec7d1ef03d, which causes > a regression on Turris Omnia (Armada 385): GPIO interrupts cease to work, > ending up in the DSA switch being non-functional. > > The blamed commit is incorrect in the first place: > If compatible = "marvell,armadaxp-gpio", the second (address, size) pair > of the reg property must to point to the per-CPU interrupt registers > <0x18800 0x30> / <0x18840 0x30>, and not to the blink enable registers > <0x181c0 0x08> / <0x181c8 0x08>. > > But even fixing that leaves the GPIO interrupts broken on the Omnia. > > Furthermore: > Commit 5f79c651e81e explains very well, why the gpio-mvebu driver does not > work reliably with per-CPU interrupts. > Commit 988c8c0cd04d deprecates compatible = marvell,armadaxp-gpio for this > reason. > > Fixes: c4de4667f15d ("ARM: dts: armada-38x: Fix compatible string for gpios") > Reported-by: Klaus Kudielka > Link: https://lore.kernel.org/r/f24474e70c1a4e9692bd596ef6d97ceda9511245.camel@gmail.com/ > > Signed-off-by: Klaus Kudielka Hi Klaus I was hoping Pali would comment, maybe fix it. But i think enough time has passed, we should accept your reverts. Reviewed-by: Andrew Lunn Andrew