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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4E969C433F5 for ; Wed, 9 Feb 2022 15:13:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:Cc:To:Subject:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=/wu1NkJEDHVqh3o35iutsjfl3+yTGqZbg3eqE9XFFrg=; b=p6oO7Y72uvCQ3leWC5GoDRyBKj xjPEzecUFuovqb67dDb40EJWhZp/wSzykTc+8dOsVgLiHy8SVApTRq//qpW/FrlB4Ox+qXfLfoh0J ahmnYqENTjkFusecyVrCe7Xe7hVL8okipEJeHXP5Ja2mqqkHfeI7K1LftWmzIrP4MxOLta1xB7n+F rtah5eAmMtOIZplNHkij00ZHAlCAU8d9KqtfiwDPA70zc+Wa5ivJfa1aKsi8Jyr76Grg6tDJSTZwc PzZs60fl+RfdxR/yXzjzsxOhOhmS256VJZQpdla/eswuNeZjpwKuzZor9GEKB28gFdpaiFWyAsm8d qO2xE+JQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHodE-000WZN-9c; Wed, 09 Feb 2022 15:11:44 +0000 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHodA-000WYM-DO; Wed, 09 Feb 2022 15:11:41 +0000 Received: by mail-lj1-x22e.google.com with SMTP id t14so3837483ljh.8; Wed, 09 Feb 2022 07:11:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=L/a44QIFu4GEqu3h1MLP6vM8XWtuYMRwBshrx27WyAY=; b=I/c+R0NmgLwawUGu//RsV9iBqj4yNQZ0BJ8ZI+PigPc7n+2It+pspwCEYoovxBqD/r UpQfnuqyu6mgVHsA3tp6NIFlFDtqAuMt8LR3RB3T58qriHjgJ2E2S6fVv+Ig7UcDuh2u rFY7m+uxoyEhlYcHYzVd+qNAxGNb9R+8c1BHk/niRFdonEBFFT45t4gNqdqJGXSZHcRy si1GUeVcayD6MLfDR9bfcJGTeHS78OILzQRakHdPflgWM7i7Q2T/VRB/fl2MQX/N6mp6 RlrdZ7qdLl/xsH29abHkIgkmsqkiAFuG1vuYJWbVR2nC7QwCSMeE5Mcx85HZPF+8Z+jC ASjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=L/a44QIFu4GEqu3h1MLP6vM8XWtuYMRwBshrx27WyAY=; b=gSlr54EobrbtLqXOm9wJWLcY/qTInXEiRHuCAIATvlpXt6BRJxnTQNezwt/xKcIrVT 4m6zmVpih61wAn0P5hUijx80bH8RXXIo8Vl7lMf7cN5X/Fgin1h5msXCovgUILw4cgBo zsJx58+fht3AUMVXQtulugWfpb067GE1/hOyWhltt6u2KENi1CNiMYvRFC8jjBb5Dj72 hMV7K02YDma0xxo/JMtZCx0khbwPMspdkqmTgC9nEcEg/lQImresNOOZtflGGxXiuytB e6yhPjbyBPRmWS8GWZ1M+6WPMYjGgOyReyPX3txGcaVEpRni8axEluLOE8Oxmrx5YGwp biNA== X-Gm-Message-State: AOAM531aWsvVjfL3AMI6hjTrld/0EylX0FZ7tMRHYkfGrz1wRXnxpo73 MzA5Lic0GL5Jn7peugEt3PI= X-Google-Smtp-Source: ABdhPJymRUs4E0EHRsGlJwzixf2d554R5n77Y2e17iIb6xpGil6l9mbKxSnYfkGCeXjTlAkBsRDhuQ== X-Received: by 2002:a05:651c:1542:: with SMTP id y2mr1850490ljp.279.1644419497692; Wed, 09 Feb 2022 07:11:37 -0800 (PST) Received: from [192.168.1.103] ([178.176.73.27]) by smtp.gmail.com with ESMTPSA id g26sm2409550lfj.176.2022.02.09.07.11.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Feb 2022 07:11:37 -0800 (PST) Subject: Re: [PATCH 2/3] i2c: sh_mobile: Use platform_get_irq_optional() to get the interrupt To: Arnd Bergmann Cc: Geert Uytterhoeven , Lad Prabhakar , Rob Herring , Nicolas Saenz Julienne , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list , Chris Brandt , Wolfram Sang , Linux I2C , linux-rpi-kernel , Linux ARM , Linux Kernel Mailing List , Linux-Renesas , Prabhakar , Linux-sh list References: <20211218165258.16716-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20211218165258.16716-3-prabhakar.mahadev-lad.rj@bp.renesas.com> <042a2183-3f04-088c-1861-656de870337d@gmail.com> From: Sergei Shtylyov Message-ID: Date: Wed, 9 Feb 2022 18:11:35 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_071140_490460_D7A9CD30 X-CRM114-Status: GOOD ( 14.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2/8/22 3:31 PM, Arnd Bergmann wrote: [...] >>> I might have missed something, but it seems the only user of IRQ 0 on >>> SuperH is smsc911x Ethernet in arch/sh/boards/board-apsh4a3a.c and >>> arch/sh/boards/board-apsh4ad0a.c, which use evt2irq(0x200). >>> These should have been seeing the "0 is an invalid IRQ number" >>> warning splat since it was introduced in commit a85a6c86c25be2d2 >>> ("driver core: platform: Clarify that IRQ 0 is invalid"). Or not: >> >> Warning or no warning, 0 is still returned. :-/ >> My attempt to put an end to this has stuck waiting a review from the IRQ >> people... > > I had another look at this after you asked about it on IRC. I don't > know much SH assembly, but I suspect IRQ 0 has not been delivered > since 2009 after 1e1030dccb10 ("sh: nmi_debug support."). On a Mhm... this commit changes the SH3 code while SH778x are SH4A, no? [...] > > Arnd MBR, Sergey _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel