Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5720524rwb; Mon, 5 Dec 2022 03:14:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf4KW68lXiDMZALe6Wim20+ekhBTdNshyiL/KoI6HUnTqWg9gOrqSlH8yNCxh2Ivb9I6bx9K X-Received: by 2002:a65:5a4c:0:b0:477:ba9d:ef8 with SMTP id z12-20020a655a4c000000b00477ba9d0ef8mr52248034pgs.98.1670238874364; Mon, 05 Dec 2022 03:14:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670238874; cv=none; d=google.com; s=arc-20160816; b=x/2e3L2azHEcCQzQCuhDbVDdNyK4Ze9EoLCAM3NFXShE6sQDoh4twVILZf5gcpn+B6 NnuutzMmAQRNlD9mMqcLuRSS7gSWjgf9ai914VGGYN+uopNQalDdmSjXRARkXovPMNFs oUK8ht3P5ecdK2pQrksgZ1gzU6dR6gvGHJtqcLfi0k8P0Ysmfo6xrbYHzqULWCmN4bnl jeS9pE4P1pQnPhsOGIopPW51SyjsN2gS3Jrfy8hkd2PpxFnPDX/3USZ3eoiSlJYF5X8b tBsPg374kDVwo5grc1qwhufJe0RO8TJNtjpij92cC9QLcCA4KFmAuq5tGFKxx108L5+8 QOrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2+wy+GCyWOxAG+D0N5x9jNunNq2AetQegub5DNGgCNU=; b=FjdjInwbtPljTS4rSz/K3kxHnFKUUinKcdI3xK5sLfgqNOYKYIVhJK4U79btfVdW5V NfzHVLrcuKtygxGmVU5/Pi2Mu+Twh5KO4+HhjAHUdPNmbe7hk/5NmU3CB5+xwNb8Wizd XPToPmsYYWOFfofnNVdCgn6pxJeBhj6uY0rAzrflT3jhu3w/i6NZZXqw2UFVuMVZ/BYe ywOhW3uDzWMoyFZOhTlSGJrGwQjyJnjctDFJnWTn+7h/MmTj1te15pz4MXKHJyu72M2d ku10i8pMyp1bou/w+T/WLHoMpyKlB+cbsZsVQaJ1WnASk6i1IqCvAClbyPzzN4K7SxLC Ai/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@8bytes.org header.s=default header.b=eH3Wk83p; 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 pj1-20020a17090b4f4100b00218fa7c0396si15400469pjb.105.2022.12.05.03.14.23; Mon, 05 Dec 2022 03:14:34 -0800 (PST) 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=@8bytes.org header.s=default header.b=eH3Wk83p; 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 S231124AbiLEKqc (ORCPT + 83 others); Mon, 5 Dec 2022 05:46:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230006AbiLEKq3 (ORCPT ); Mon, 5 Dec 2022 05:46:29 -0500 Received: from mail.8bytes.org (mail.8bytes.org [IPv6:2a01:238:42d9:3f00:e505:6202:4f0c:f051]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 15FD111C37 for ; Mon, 5 Dec 2022 02:46:29 -0800 (PST) Received: from 8bytes.org (p200300c27724780086ad4f9d2505dd0d.dip0.t-ipconnect.de [IPv6:2003:c2:7724:7800:86ad:4f9d:2505:dd0d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.8bytes.org (Postfix) with ESMTPSA id 059022202AB; Mon, 5 Dec 2022 11:46:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=8bytes.org; s=default; t=1670237188; bh=DZstiAjHSdQuEbR9+/Iz/H3P6d7QmsPAw9MqDo8doG4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eH3Wk83pZgulySkItoSK6/qHpHlbbH7WyzT+3oj4A9DrnFPuHy5AxmMVNQxuqNGYG qT46b3l6nDkeziVWGCj45KzbXS/DMyctxzs4vPcTZ70ameYyT2uyZRGSUV0tg6xv8A iTIojMgW9i6WkMd/vmJ74YWA8q1jmjPSK1SeWIt/YiGczFoFcK3id6w2Y1Q5HIZwQI iPYApacu/RFV/NW9u4pNWBVKNh4H7/7lpVg+KRYBvzZXRpVWN+/6IeRUWfcfuXWCvJ f7NgbeAmr1+5QaDnef9DRQvM27+2pKa3ro5Gu87vx+JBQKqNjyq0bVNfeqgmWCv5Zz 9xJYHKyqCyvNQ== Date: Mon, 5 Dec 2022 11:46:26 +0100 From: Joerg Roedel To: Yong Wu Cc: Matthias Brugger , Will Deacon , Robin Murphy , iommu@lists.linux.dev, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno , mingyuan.ma@mediatek.com, yf.wang@mediatek.com, libo.kang@mediatek.com, chengci.xu@mediatek.com, youlin.pei@mediatek.com, anan.sun@mediatek.com, xueqi.zhang@mediatek.com, Guenter Roeck , Dan Carpenter Subject: Re: [PATCH v7 0/6] iommu/mediatek: Improve safety from invalid dts input Message-ID: References: <20221018024258.19073-1-yong.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221018024258.19073-1-yong.wu@mediatek.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 Tue, Oct 18, 2022 at 10:42:52AM +0800, Yong Wu wrote: > Guenter Roeck (1): > iommu/mediatek: Validate number of phandles associated with > "mediatek,larbs" > > Yong Wu (5): > iommu/mediatek: Add platform_device_put for recovering the device > refcnt > iommu/mediatek: Use component_match_add > iommu/mediatek: Add error path for loop of mm_dts_parse > iommu/mediatek: Improve safety for mediatek,smi property in larb nodes > iommu/mediatek: Remove unused "mapping" member from mtk_iommu_data Applied, thanks.