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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A9E7C7EE37 for ; Sat, 10 Jun 2023 04:32:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233399AbjFJEcO convert rfc822-to-8bit (ORCPT ); Sat, 10 Jun 2023 00:32:14 -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 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