Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2991571rwd; Fri, 9 Jun 2023 22:45:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ54D4ykXwjEEeDEqNhzRyOjGHy09N71JnG701MgO32jXaOnK/PsqY0Rcca/Q7indsnrDN7K X-Received: by 2002:a05:6a20:a58b:b0:117:eaef:4d with SMTP id bc11-20020a056a20a58b00b00117eaef004dmr3108261pzb.36.1686375923391; Fri, 09 Jun 2023 22:45:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686375923; cv=none; d=google.com; s=arc-20160816; b=0PttQtu9O9isK+ZUy7lpiqVD6hIpqelO18WC7sBOwHFdoAOw5tNVELQbH/5oyScoUs +EE36usX6rvGw/alrfd9iVNIryIo7gwsTuDXmk1pSMi/onkD6naUDSh3nofS8772gxgb yp/kOqC3z+tSCHmR8WBEDc5ba0N2fO9Rh7sRynlg2jc4hGS/rOHyRqCG2VfvBx7v2SQ6 EC/ZaGXqcsTwKbBy11YdNXgdwFjrgnhm9f6Jl5126r6p0Gw/xpUs3Qg7mgGo4KXo88tU bdUvjHUV+o82dpTY+MsBER/sfE6D52gwlojTKN8N+vh+DCQJ4bAVpT81pKM3fPjxtpbq nW4w== 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=y/2V7PgCQvCoHe49PZKGXFM1ababG8HWbIDhXdwoogk=; b=DJCXkrtLo2ctHXcK+YuJvXZC6diXwzmnFMj+H1Dw2LoDlZZSP70MHdjJgqpoa1Iv0h fKuEEIESsiw8VSTbScjkRa8610QEKDLJ3fW9wtbOOuw2gLAhBlL3hjhTmRMDi2ecydrx Whrfh7B5shrmHTl+AMawjFKLfkSFscdu8cmgoyD4yQPQ15PMzs/pHaZHvKJy5e+xy/ee cm6Quc8UnYvgwFJOGV1DogZvuBSLYHES5i9y8XO+4WJ1UnRvevcbruolYywRx/jM8pw6 VcgALaEioSMxZUK4Sikb73bdVXyT8vIiPe5GlO22B1Wy3cuWtBLZRDZcJTM0XlKzY+Vc iwPg== 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 24-20020a631258000000b0051f869d7089si3582528pgs.74.2023.06.09.22.45.10; Fri, 09 Jun 2023 22:45:23 -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 S231208AbjFJEcN convert rfc822-to-8bit (ORCPT + 99 others); Sat, 10 Jun 2023 00:32:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbjFJEcL (ORCPT ); Sat, 10 Jun 2023 00:32:11 -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 B0BFF3AA6; Fri, 9 Jun 2023 21:32:09 -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 1q7qGh-003d55-JG; Sat, 10 Jun 2023 06:32:03 +0200 Received: from dynamic-092-224-243-210.92.224.pool.telefonica.de ([92.224.243.210] 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 1q7qGh-001E1r-C9; Sat, 10 Jun 2023 06:32:03 +0200 Message-ID: <983d701befce7fc0010c53d09be84f5c330bdf45.camel@physik.fu-berlin.de> Subject: Re: [PATCH v6] sh: avoid using IRQ0 on SH3/4 From: John Paul Adrian Glaubitz To: Sergey Shtylyov , Rich Felker , linux-sh@vger.kernel.org Cc: Yoshinori Sato , linux-kernel@vger.kernel.org Date: Sat, 10 Jun 2023 06:32:02 +0200 In-Reply-To: <71105dbf-cdb0-72e1-f9eb-eeda8e321696@omp.ru> References: <71105dbf-cdb0-72e1-f9eb-eeda8e321696@omp.ru> 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: 92.224.243.210 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 Thu, 2023-06-01 at 23:22 +0300, Sergey Shtylyov 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. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913