Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1351292rwb; Fri, 13 Jan 2023 11:01:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXvE+LxDsPwVscPVAv9okaBGbIU6gqyR9WFw/xfUQc4TM38OLoE7pqhIiw725hzhkTDlaZ0+ X-Received: by 2002:a17:906:284a:b0:7c1:e78:1e2 with SMTP id s10-20020a170906284a00b007c10e7801e2mr87430016ejc.11.1673636499348; Fri, 13 Jan 2023 11:01:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673636499; cv=none; d=google.com; s=arc-20160816; b=G7yE2jobjfkfBe5LJXpkrFlCIpmowksw1zmzXw8TVLt93mW3ASpDLYkzwFnSjs3spH KS3vWf8F9yNn4TyEgyW8sexc1Os5tvUiY6wrosG8Q1cOJMNZCR0psRjPDgP0OMtQoL08 fipxRnFEtY+DElAJDcQAPufuu9bZ1cqpmLWVEdNBNUGi/UMknyeg4H41yREhd8xywMIu thW0PfYVoOJZmdq1XDLZaswUhhTs8d6NMF0+9Tx57uMz0xmKU5k1afe1LzTmOxivJhfQ 1Qkc3bu7o+/D6QRA54AbyN3TZZj5s4mJ36dVCAJpNEY9NlPKWNj/D9u93UMFUx3Q62pC tgYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:in-reply-to:cc:references:message-id:date :subject:mime-version:from:content-transfer-encoding; bh=gOk7wnhlnaDFC/Omzny5wNJdpfimsb8+yWDaEWVh3Ns=; b=w/1I9iIbjj5TZ/gInxKs4kCJKoZR2TwLGUMjc/sHKfY8g61Y/B19uxT3Wljuz4gX4j K/tdl8p2LAzskf3pwE/OzOLYApJswIFV5Hh7mTvKPdMcnP5dG/g2KvuzxCjO035yOeQu NvqAq2y9RZrj+oCodVI4sebURLOS01PcZAZelqMrSr2+WqfJOjpdVK9s+dTiE7879FKQ qaxDOKkl20e2BKPSgYH5NsNVxGS4oaVWcDxr/zFKY7jw0AWBLQtKuU4UE5rGq5iBE8+6 C80m2nbrx8n2WbWtDPBAHm24xawsnAU8ttCruFjMR6pcKZ2qsZere9MAaqnQa4i/HIZ8 XmGQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc37-20020a17090716a500b007808f3f4cbcsi25097324ejc.239.2023.01.13.11.01.26; Fri, 13 Jan 2023 11:01: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229527AbjAMSjF convert rfc822-to-8bit (ORCPT + 52 others); Fri, 13 Jan 2023 13:39:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229603AbjAMSjC (ORCPT ); Fri, 13 Jan 2023 13:39:02 -0500 Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8695F1003; Fri, 13 Jan 2023 10:38:59 -0800 (PST) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.95) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1pGOx5-003Fps-AY; Fri, 13 Jan 2023 19:38:55 +0100 Received: from p57ae5361.dip0.t-ipconnect.de ([87.174.83.97] helo=smtpclient.apple) by inpost2.zedat.fu-berlin.de (Exim 4.95) with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (envelope-from ) id 1pGOx5-000ESc-2y; Fri, 13 Jan 2023 19:38:55 +0100 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT From: John Paul Adrian Glaubitz Mime-Version: 1.0 (1.0) Subject: Re: [PATCH v4] sh: avoid using IRQ0 on SH3/4 Date: Fri, 13 Jan 2023 19:38:44 +0100 Message-Id: <09EB6264-E85C-487C-B706-6411BB18DDDF@physik.fu-berlin.de> References: <961f3b42-1522-79d5-7012-1533b568696f@omp.ru> Cc: Rich Felker , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Yoshinori Sato , Greg Kroah-Hartman In-Reply-To: <961f3b42-1522-79d5-7012-1533b568696f@omp.ru> To: Sergey Shtylyov X-Mailer: iPhone Mail (20C65) X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 87.174.83.97 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,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 Hi Sergey! > On Jan 13, 2023, at 7:27 PM, Sergey Shtylyov wrote: > > Hello! > >> On 5/3/22 11:42 PM, Sergey Shtylyov wrote: >> >> Using IRQ0 by the platform devices is going to be disallowed soon (see [1]) >> and even now, when IRQ0 is about to be returned by platfrom_get_irq(), you >> see a big warning. The code supporting SH3/4 SoCs maps the IRQ #s starting >> at 0 -- modify that code to start the IRQ #s from 16 instead. >> >> The patch should mostly affect the AP-SH4A-3A/AP-SH4AD-0A boards as they >> indeed use IRQ0 for the SMSC911x compatible Ethernet chip... >> >> [1] https://lore.kernel.org/all/025679e1-1f0a-ae4b-4369-01164f691511@omp.ru/ >> >> Fixes: a85a6c86c25b ("driver core: platform: Clarify that IRQ 0 is invalid") >> Signed-off-by: Sergey Shtylyov >> Reviewed-by: Geert Uytterhoeven >> Tested-by: Geert Uytterhoeven >> Tested-by: John Paul Adrian Glaubitz >> >> --- >> The patch is against Linus Torvalds' 'linux.git' repo. > > So, this patch hasn't been merged... may I ask why? :-( The SH maintainers have been MIA which is why the other maintainers want to kill the architecture again. I’m seriously considering adopting the architecture. Not sure whether Linus would grant that though. Adrian