Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp15653rwp; Wed, 12 Jul 2023 09:04:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlFP6B5fFkHJ+62D8mCVcihCG9V3CN/l2mCBo7YSHxkVvStViT9JD/4L8EnkP803lu0SlT+D X-Received: by 2002:a17:902:ef95:b0:1b1:9218:6bf3 with SMTP id iz21-20020a170902ef9500b001b192186bf3mr14060462plb.37.1689177866018; Wed, 12 Jul 2023 09:04:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689177865; cv=none; d=google.com; s=arc-20160816; b=U4SL+MeD8Vt+06Gf+0+ZOnwFZb7kz2W1B/t7QyOK+o8BB+wgTGhZOxBAaAJg0O0D3m TDODyqu7Yn1i+KmKuJWyE6jJS8j+5Ryg+k30tQjG2CFfRcVpR0OrphyHoFXiPvIoeDXG ndwi1aBiYsE+Y9IPRCsmtd6yZ7OJQtdn0obd3o1mSk6OyI0L0wVCGKiBQ93N28oE2VY2 XznJ2Gy7PWugpVPxnmFh4GOYF7bYekUvtB8t08lZtE6uIIDTrKATZaOO2nzxqyPwqV6Z FcNeKcEWd09G0Yy0NYtsIly4B84FculsSdGLYFyqMWGvTWSUSYCV3r1mh2873gR00/me 6BHw== 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=QOcDEon8QUxtwXUitFRuyPVQ4nshrxQsMn99rqDqbdY=; fh=q5Mq+7zCD8BlUqxMJ5ctuVxb9q9BJ+UGhMxhXF5Gv30=; b=DgfeLaWDQTnHdpyQremwuUA4beR4o5wfBNBBmx2pz63xMIOKUcGHvu42NHQzKF7Alh S4Bnkr93qaX4E/nQHMdNkUAg0n+QvBTE4j1qFF6u8NjjOm6r+UepFTHASOWAsn5fyKOx OjpSSqrzRyS8jzI0XccO0X65gJIE5/+uJNKXnw6Kaqd43wXwRFVAGuKIoBgojPg3ZVNt sWiI7wgOiQt4viFJTMudEqOQ2WkdiNlIgMmrEFyEZMCbR7gxbn8kxIEYHCIMEFkPiVCK RgwblofsxJyW7nT43o86kY0x36Zpxj+Lp4zzG+8gJ+a/vTL8zumw97lkPxFhM1ZSiTey X1Bw== 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 q12-20020a17090311cc00b001b89ba65f3dsi3693483plh.193.2023.07.12.09.04.07; Wed, 12 Jul 2023 09:04:25 -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 S232348AbjGLPvn convert rfc822-to-8bit (ORCPT + 99 others); Wed, 12 Jul 2023 11:51:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231867AbjGLPvm (ORCPT ); Wed, 12 Jul 2023 11:51:42 -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 65D98A2; Wed, 12 Jul 2023 08:51:40 -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 1qJc7h-0028cK-6Z; Wed, 12 Jul 2023 17:51:25 +0200 Received: from p57bd9f0d.dip0.t-ipconnect.de ([87.189.159.13] helo=suse-laptop.fritz.box) by inpost2.zedat.fu-berlin.de (Exim 4.95) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1qJc7g-003DUI-VG; Wed, 12 Jul 2023 17:51:25 +0200 Message-ID: <4ceea93f7f3ae45d5d14819cf678e34350c60334.camel@physik.fu-berlin.de> Subject: Re: [PATCH] sh: Avoid using IRQ0 on SH3 and SH4 From: John Paul Adrian Glaubitz To: Guenter Roeck , Sergei Shtylyov , David Laight , Sergey Shtylyov , Geert Uytterhoeven Cc: Yoshinori Sato , Rich Felker , "linux-sh@vger.kernel.org" , "linux-kernel@vger.kernel.org" Date: Wed, 12 Jul 2023 17:51:24 +0200 In-Reply-To: References: <7b2c0d812280afaefee0c70a9aea00a0fcf84e3a.camel@physik.fu-berlin.de> <1178f8d0-be70-c088-ee6a-8b421b290624@roeck-us.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 87.189.159.13 X-ZEDAT-Hint: PO X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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 Hi! On Wed, 2023-07-12 at 08:38 -0700, Guenter Roeck wrote: > > > > Not only x86, IIRC. > > Have you seen the commit below? > > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ce753ad1549cbe9ccaea4c06a1f5fa47432c8289 > > > > Quoting: > > using IRQ0 is considered invalid (according to Linus) outside the arch/ code > ^^^^^^^^^^^^^^^^^^^^^^ > > The changes here were made _in_ the arch code. While there may be valid > arguments for doing that, quoting the above commit as reason isn't really > sufficient. Well, the changes we made inside arch/sh were necessary to achieve the desired effects in the code in drivers such as the SM501 controller or the SH companion chips. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913