Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp481238imw; Wed, 13 Jul 2022 02:07:14 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t5r4OEhbI6G4bL4U+Kfk9t774UYCLm7lDlmKtPVdQMWFESes2FmcD4lB4YV0PVypP2Xt4r X-Received: by 2002:a63:2a89:0:b0:412:4d97:c687 with SMTP id q131-20020a632a89000000b004124d97c687mr2166539pgq.575.1657703233818; Wed, 13 Jul 2022 02:07:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657703233; cv=none; d=google.com; s=arc-20160816; b=t52buDu3sd7iws+OvnHkSa6OeIeh2dDDRkzWmu46pMgh1/bcaux7GFRHOHUFotXEbV bMWdpWLcuNuDe65i2iitCvKsL0GL1RbXoUYByRcKxftC6iFnIVMsv09YpHy8TI+eLGmh XyFsclaqfHOPLI7qhk2b6PkHL2kQJ6BVKAOOry4NqvHPV3CPVqerUh7u8y9BAQVtv8YK PRbkApNN8tdjA7kCVTSUZxliTWoLYn3kGuts/Sa2SyUt/V178aRo8j9EsySu2LFsVFWd OZhHkmHFK9kCCW+/CDRr+UGlMWvZ+OgjBRzutZ/J9fQLEAZBwND8H18UsbpPJR4sZuOP x8Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=aKRn5Fllm5jwxL7GzqT/974I+ShesU6QCQSC0VjGuvE=; b=kau70zitHLGD22r7eUHehBY5JyExlcg6rcQUV8smNLouaRZpJNDmBXQ9EVhuRp1GPj oHz0jmreSV5EWMfV2i+tMow8qC9PGigl/V6nIANQyVzA2nYHG42BuEKuh10EHimoHc6u r8sJ+zKGfN38b2Jn1gsf4MBKXW0I1m1fZzvvovMi4/f9fn4CYvqnQB3CDwtgNDPBtqxr EtQgYZShJ31+kVJ+9GUyUw7NwWDLIVefmcxsAN63Dn7+GzXP0h/5kG0JEfyH2XxGWqZy iWk18Gro9E8Wr+4+/VKF1+4mtMuzwuMbrPQriTYDt3X0oAqkjVDWcD/OwH16CRlbDgha YrwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=T9hMNh8k; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n16-20020a170902e55000b001631214cc97si23180223plf.350.2022.07.13.02.07.00; Wed, 13 Jul 2022 02:07:13 -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; dkim=pass header.i=@collabora.com header.s=mail header.b=T9hMNh8k; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235068AbiGMIUg (ORCPT + 99 others); Wed, 13 Jul 2022 04:20:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235379AbiGMIUR (ORCPT ); Wed, 13 Jul 2022 04:20:17 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3201ED160 for ; Wed, 13 Jul 2022 01:16:20 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 109F06601A33; Wed, 13 Jul 2022 09:15:58 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1657700159; bh=7M53S5bGqltVg134JPN859srEpQycq+FAWS7IeNPoXY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=T9hMNh8kpXhhbUp3rLUW4Iu54RZG5/uf2pf0R5b7+QhGGtswSG9Mdrl3FBjGfrXOl yGVr+ZrkZ/rlbPAwI31Uwi3FwudjKSsyfp5hl+XbOnY1SUcZE/rl8fXywDo/TSxXVo /OOWCHZbs1v+XOKWZdna81RRVPNjZHl9olNYfYGqxAXJuetZC4XNasE2nd3jLCMpa2 wxzBgrh1BdE6rHIn7uXWHI/U3Xom7Ce/+F3ZNPGsHK3Uc2YUT+TEvl7f/zhhDi9nef L7YpRUJZBcefUY5PsssOyRn3098dPR2J1AvmLxig9iPFAeCPkzX+PoHfCy84CB/Jh4 ZvtZvc8Ww2zcA== Message-ID: Date: Wed, 13 Jul 2022 10:15:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] iommu/mediatek: Log with dev_err_probe when failing to parse dts Content-Language: en-US To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Joerg Roedel Cc: kernel@collabora.com, Matthias Brugger , Will Deacon , Yong Wu , iommu@lists.linux-foundation.org, iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org References: <20220712214427.544860-1-nfraprado@collabora.com> From: AngeloGioacchino Del Regno In-Reply-To: <20220712214427.544860-1-nfraprado@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 Il 12/07/22 23:44, NĂ­colas F. R. A. Prado ha scritto: > mtk_iommu_mm_dts_parse() can fail with EPROBE_DEFER if not all larbs > have probed yet, so use dev_err_probe() to avoid logging as an error in > that case. Also drop the return value from the message since it's > already printed by dev_err_probe(), and add the missing newline at the > end. > > Signed-off-by: NĂ­colas F. R. A. Prado > Reviewed-by: AngeloGioacchino Del Regno