Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp445579ybc; Tue, 12 Nov 2019 04:04:06 -0800 (PST) X-Google-Smtp-Source: APXvYqzpQ7BMHV4Zpb3assAD+G3ggJMSR/gHzWX63ynFkGHFNMS50Wi0i1TYXSHj1HBemQzzVXa2 X-Received: by 2002:a05:6402:57:: with SMTP id f23mr32070684edu.257.1573560245891; Tue, 12 Nov 2019 04:04:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573560245; cv=none; d=google.com; s=arc-20160816; b=UEBbolv7NMMN3d07YE3eQUz7mN08UTEQd8QmaQZqcdk3Kv+jBBqxbAr/TgSnYnb2Lz ZtjFhP+HvzQMlwGiykJvDpYdsQM2yyVZppmChVTDZir7dgtujhH0godjfEN3qeHdWlNh LazBQ2AZw9ECVCSCXImKELJWyL5cDg1qdC/uhE3pV9/VzQKNQqR9KeX81On5k9u4DcdS 1sb4d4l0NAm7V/Mi4ww8CSzKz+KYH6WWKxd72qIotS0JysplZoHSjtrhr9/19lRpYGYS QxwEfeVJAw10j6qw2MeFBn+KhTZi/2QErXM5kC6xImCIFih6a74Ecuwgy+Bg3iiW209r 0UXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=MXqTssWPWKdVEX2bZ8+ChpONM31fFZUEKiWQR+GY8GA=; b=lYi677JsSaTHVvDxBTt+RtbHtTzUlFs7z8ICaL0zia32eYpWjdMuyqjfQ51zFGC1r/ QaTm4l75Nckzb+0z8tgAgoDqaw4dxLy9QiHHoFXUUkOazsP19+rKZK//2FOTdA/d/s5G 96RDHdaMA04GZHLX+RNPru/CWyFeeLpXOId1REtIPQsa9m4Kk6EASL53VreC/iEYdveB WOvEWR99kIlDr7nNyrz88O+Yv4FqX3qN1qlWhj+jBK4Nwjut/WC5LqvO1V7h88inA8yV tzv9U1jpMvGUK1DiN2Jdk7/bPW7M7udG94weZVUL9XcG/HsA8ZGJ+Atm9okico/m6LWh EPJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=nErOwMR9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m45si12718565edc.153.2019.11.12.04.03.40; Tue, 12 Nov 2019 04:04:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=nErOwMR9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727233AbfKLMCG (ORCPT + 99 others); Tue, 12 Nov 2019 07:02:06 -0500 Received: from hqemgate15.nvidia.com ([216.228.121.64]:18632 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725865AbfKLMCF (ORCPT ); Tue, 12 Nov 2019 07:02:05 -0500 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 12 Nov 2019 04:02:05 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Tue, 12 Nov 2019 04:02:05 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Tue, 12 Nov 2019 04:02:05 -0800 Received: from [10.21.133.51] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 12 Nov 2019 12:02:03 +0000 Subject: Re: [PATCH] mailbox: tegra: Fix superfluous IRQ error message To: Thierry Reding , Greg Kroah-Hartman , Jassi Brar CC: , References: <20191011083459.11551-1-jonathanh@nvidia.com> <20191014132458.GG422231@ulmo> From: Jon Hunter Message-ID: Date: Tue, 12 Nov 2019 12:02:02 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191014132458.GG422231@ulmo> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1573560125; bh=MXqTssWPWKdVEX2bZ8+ChpONM31fFZUEKiWQR+GY8GA=; h=X-PGP-Universal:Subject:To:CC:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=nErOwMR9+n7s4nN5ASX7kZEmlxiXBdpT4WEr4AjSUZEr8uKD/jPCSe8O/j6yjU5Xa hfYHc/WVti7CLYxZ2caWfwkp7YnGDHZtoSOLfn4l/7JHq8BSUxUkBa+LHLr3ID735e XWmEFw8oR8Fow96AguuKNC4ernuLrIAZWJvFjUXGmtD1GThFWA6Ip7UDJAKz8DnhJH os/Xh0kD3f4jfpjfBucgxC82LyUVFV6bwECqWF63JwJYoa7KZSgG0qfJLSewt3hXeM o5VfDViSXsj6x/VNNPm93PK9Pd3L+OBP68P6OPGkbqqY529IeImh0U2VcGP25dUiXq GJ3uRAcSZkAwA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, On 14/10/2019 14:24, Thierry Reding wrote: > On Fri, Oct 11, 2019 at 09:34:59AM +0100, Jon Hunter wrote: >> Commit 7723f4c5ecdb ("driver core: platform: Add an error message to >> platform_get_irq*()") added an error message to avoid drivers having >> to print an error message when IRQ lookup fails. However, there are >> some cases where IRQs are optional and so new optional versions of >> the platform_get_irq*() APIs have been added for these cases. >> >> The IRQs for Tegra HSP module are optional because not all instances >> of the module have the doorbell and all of the shared interrupts. >> Hence, since the above commit was applied the following error messages >> are now seen on Tegra194 ... >> >> ERR KERN tegra-hsp c150000.hsp: IRQ doorbell not found >> ERR KERN tegra-hsp c150000.hsp: IRQ shared0 not found >> >> The Tegra HSP driver deliberately does not fail if these are not found >> and so fix the above errors by updating the Tegra HSP driver to use >> the platform_get_irq_byname_optional() API. >> >> Signed-off-by: Jon Hunter >> --- >> drivers/mailbox/tegra-hsp.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) > > Perhaps Greg should pick up this patch because he's carrying the patch > that adds the platform_get_irq_byname_optional() patch for v5.5. > > Greg, would you prefer a copy of this in your mailbox, or does the > following patchwork link suffice: > > http://patchwork.ozlabs.org/patch/1175012/ > > Either way, this patch: > > Acked-by: Thierry Reding > > Thierry Are you OK to pick this up? Do you need Jassi's ACK as well? Thanks! Jon -- nvpublic