Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1997153pxb; Wed, 9 Feb 2022 08:47:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXDVsBxbhxogKhoqbGMd+mA/maDDqHXFJWMOfKp18OzDjybXNZqnlHUsRFqiRTw4JxdI2q X-Received: by 2002:a62:e907:: with SMTP id j7mr3272980pfh.3.1644425256098; Wed, 09 Feb 2022 08:47:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644425256; cv=none; d=google.com; s=arc-20160816; b=wZQzK8A5cw1L2vowHTog9ZQfB9Q7BoBIVGdzF1S8oQL5sqEs2e0fQ5FCbUVVQ0hc7d 9zljf016pZfHdzhY8fu1mTlpD664JdJ78C56diZf5mncoKbJVet7nADyJKb156HwzYJw hqEt5Kl5sGfOXAryoWh9IOSY52SSsiLiv/p+b/NFYJ7jUDrFKELiDcIRZWdCOkrrFO1p DcYzXA4Mv+PcTRtI9fxPU00emBIQjtH+hMasiaa93JooaMSVuV4Bx2QPshm+2eQnZ+9n fuYlmSEYYwC+gnbfifizef+SDiR8Oa6uu5eC7o7xFZwka51iUPxH/PlutS9HekW8YiP1 IDMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=L/a44QIFu4GEqu3h1MLP6vM8XWtuYMRwBshrx27WyAY=; b=zQxs0CMUTAYIrQ8EJ6RckV2WRlWOHWXiSOcNJHWheI1fXyUuxQe4ObyWQ+8dEDDd+b clUMT8p40qIK6cUzHt5qlMx1i/Web2JST9HIBYJoVnvg6vvIs7z0R67BfAirY2Rud53w Bpn0UIfLQlb4izePEJIBOpyCVynyrCKoK20NFPRTXwnV2/nGA2LG2qZc+5zOVjYitSyk PTo+RtVtHXJKScMgYCiSOITw65iqgnA5+M11eUDCYwwtenpYW2Nr21flJcfQ3VT8ZFWb 8dRgRVLUO6aAM5DPfasBjt59gWX9GiVMaMXqWuMaBpOKIp0tvyN+PllhHHITwS1RkapE i7Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="I/c+R0Nm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v24si5267788pjg.92.2022.02.09.08.47.21; Wed, 09 Feb 2022 08:47:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="I/c+R0Nm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235564AbiBIPLi (ORCPT + 99 others); Wed, 9 Feb 2022 10:11:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229820AbiBIPLg (ORCPT ); Wed, 9 Feb 2022 10:11:36 -0500 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8879C061355; Wed, 9 Feb 2022 07:11:39 -0800 (PST) Received: by mail-lj1-x235.google.com with SMTP id q22so3840024ljh.7; 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=LNs1DxorgF1ZbKcSS5+4fZwzsXRgIASOuAgkdOPdrCX6ZYAboSKQMjz/DJVYb578pP TfQ9SjcoZXl7STLzLUipGTQgR+92hTllOKo1mIP5I51kKl4xPyIBOf2s/dI1jfbnjbGE 8/KlVFtLjqz5iDZ7GhaTCBNlhSje3UG6YHSzJvxOuvLPnQACTqPgwvZIwUN73H8VzkoE EXLC/j1rAtyU9JNXd0JHaYsybilQTcwqT/ysEn80JYMrPSuM/muW1K/iAV3uw+A9CSon NRMOxTFKCqXcc/WfRP7UHgEIDp3SI7n58TZBYCXOG2urG2Eb+GrYBtKNYuT5Gs/IngOr RVIA== X-Gm-Message-State: AOAM5326MYW93Wmh6oe8Qef6cSo8XCLj/smJ41FjOB/J+Onfh7uajds6 ZgOalwb+HKSuq4Ihz7xrAOqUlQXM5+g= 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-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,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 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