Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4056946rwd; Sat, 10 Jun 2023 22:53:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5lsLRzsNwnMC9zN2FoyNVQmpB3BeH40RttKyS81kqI9c3hg12i3aSxp4CVdNeQHdzn+9lA X-Received: by 2002:a05:6402:70b:b0:504:b177:3ef3 with SMTP id w11-20020a056402070b00b00504b1773ef3mr2463712edx.3.1686462791534; Sat, 10 Jun 2023 22:53:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686462791; cv=none; d=google.com; s=arc-20160816; b=Qqs5UI/GcJVltZVtcIpFO6/j+x1UrPEujfl4chWMutOu0dYm2xPTMNFQhnSSgtdDfM QhOmvL0q2ZeHDZMha2RwbQVFkRm2TZ2Zt9s44LCz3lg+87DxIKUOOZfCfc9lrdU1KvS+ gEIg4gGiL6mNV50ppGX6tZHx1wm7/z1dCOfX18DYy+OJUDy3/E0uAhSd86QmLlWvw2FE kERh//ejvCTvWLG2ARmEW9U2gGKX0YGQhyUyJx5s1a58SZBkwCTfOlRbHg6ZTmiaMzUu Slx99Pw8JNhY6fqomXcJHP9LMIZUH0lv1KHGiuJBAQKcw1uUXQ5Jlg1JZGh36sDTjX2P aMlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=zxiXSLk3KsDDJ2Cs9Ri1eT9fIcTZlA+Yefj86pCswC0=; b=UZYX785Mretqw1SGm2WLHxyRLKV9vfw1ZuTwaL3VdmnsoXTnhEOtUEmLPDU/sMNqka UoJNwFiSN7sobvgoelk1s1rSsVglxhk395mM9OY5DGOr2NEBOIBgRiynS0P/k0HBVdbS DdtDOzrYLkUWguAzJt+yCCT9kdcsbcSSY6iydWSZjnCY/2EL0uYjOy85plY1kMONp8jD 7Bppk+iXq/0X10wgqfWSkKh/dfbPS2+0gR7Eht7ePI5EFL2o1ce4HBiPttlqplm9CrtE QbnpEIt+HSsYbIO1ksS4QoswywyHnZ0wOs7Rv4GZMaSVgN71RKpux6CFZ/oKLQKLxUj6 rSrg== 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 f16-20020a056402161000b0050dab547fbbsi4223883edv.570.2023.06.10.22.52.46; Sat, 10 Jun 2023 22:53:11 -0700 (PDT) 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 S232931AbjFKF24 convert rfc822-to-8bit (ORCPT + 99 others); Sun, 11 Jun 2023 01:28:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229562AbjFKF2z (ORCPT ); Sun, 11 Jun 2023 01:28:55 -0400 Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16922E6; Sat, 10 Jun 2023 22:28:54 -0700 (PDT) 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 1q8Dd8-003JdR-F6; Sun, 11 Jun 2023 07:28:46 +0200 Received: from dynamic-077-191-185-170.77.191.pool.telefonica.de ([77.191.185.170] helo=[192.168.1.11]) by inpost2.zedat.fu-berlin.de (Exim 4.95) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1q8Dd8-000T1b-8H; Sun, 11 Jun 2023 07:28:46 +0200 Message-ID: <3fff103bcea3874cc7fd93c3a765ca642aa7f632.camel@physik.fu-berlin.de> Subject: Re: [PATCH v6] sh: avoid using IRQ0 on SH3/4 From: John Paul Adrian Glaubitz To: Sergei Shtylyov , Sergey Shtylyov , Rich Felker , linux-sh@vger.kernel.org Cc: Yoshinori Sato , linux-kernel@vger.kernel.org Date: Sun, 11 Jun 2023 07:28:45 +0200 In-Reply-To: <837a586e-5e76-7a5b-a890-403ce26ea51b@gmail.com> References: <71105dbf-cdb0-72e1-f9eb-eeda8e321696@omp.ru> <983d701befce7fc0010c53d09be84f5c330bdf45.camel@physik.fu-berlin.de> <837a586e-5e76-7a5b-a890-403ce26ea51b@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.48.3 MIME-Version: 1.0 X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 77.191.185.170 X-ZEDAT-Hint: PO 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, T_SCC_BODY_TEXT_LINE 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, 2023-06-10 at 13:24 +0300, Sergei Shtylyov wrote: > On 6/10/23 7:32 AM, John Paul Adrian Glaubitz wrote: > > > > IRQ0 is no longer returned by platform_get_irq() and its ilk -- they now > > > return -EINVAL instead. However, the kernel code supporting SH3/4 based > > > SoCs still 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 are using IRQ0 for the SMSC911x compatible Ethernet chip... > > > > Do you mind if I remove the ellipsis at the end of this sentence when I merge > > this later today? I think it makes no sense from a grammatical point of view. > > No, I don't mind. :-) Applied to my for-next branch. Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913