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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D070C4332F for ; Thu, 10 Nov 2022 11:34:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229518AbiKJLeN (ORCPT ); Thu, 10 Nov 2022 06:34:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230158AbiKJLeL (ORCPT ); Thu, 10 Nov 2022 06:34:11 -0500 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B364D716C9; Thu, 10 Nov 2022 03:34:09 -0800 (PST) Received: by mail-wr1-x432.google.com with SMTP id cl5so1814334wrb.9; Thu, 10 Nov 2022 03:34:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=dngPew9tfIsXqis9aTN0QEZkVjpf3qlZJxq/uUcFp5I=; b=aywOQVWHakfRF+EVLr/DXeg6DSIYTOV5WLZWZVJnFACVHAgqhjBNvfx71PxFj7lBpP nZw9U1PrY02zEP7x+fXGLHL2npkWvKUlHYsae5698cCJKZzzKEHBcBswduDBCOlsKQpg EKmDSFrWcCNfiw3++1Rz729iuntBQ3sAeB4JVP3JDWoZJkJt/Fd6SW2Y+YFaQZVR7vvT v/v09IA+QcA6ksQl91mZuU3tOFTuy43OVH+E6ULL7+hsCad+FhJXS9gXcEIZtcSHK22S AmNtdUFunoFiHV7xQC0aXvNrTD+8cJgfMjz+8f4dmXRtjYKgk7LDL1PIqGZV/tZRzTWF Rrww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dngPew9tfIsXqis9aTN0QEZkVjpf3qlZJxq/uUcFp5I=; b=FogM0DtFeSbfupu+IlxglBoC8eMP99fGMcZNUyfNm+m0pUrQFnzjAtfmMkXIdQ17uW aEZBBCxcsicsPn5LdBh3hlXMCTu+mFIVRlrPHy3hXlbbaO0GQjP0FYWvsEWdY+Bk/r1H 1lxz2d+n7QEX3N0XNBgaog4yyAIXuquiIMghKBqFfv1ogANtPe9wd9V62PXmPfD6qgr2 eJKN4V0jieGwIjQT/EAOEecpZbSxKO1WGtjSr2Qa9A3vaDlio3/3CU04Topd9ew3AG0b m5FsPGxeElRp9b8Yh0wM7J4HIkD+XSEJJBHRJBHXVUr0yJnlHDmijSUItzspTRleUb05 lhRA== X-Gm-Message-State: ACrzQf2lHc2KbApajhQzX3kRTNjPhJEAY5QeibYu59ruaypbWdFCQR1K uo6XXe6xoArw49i6BTng1St22dI69s8= X-Google-Smtp-Source: AMsMyM6ngVayMsn7VTfVuWEO1II37haoj7GbfGLyrR0yAWqi+VQnOmfQfpnim+VdFaOygMG5/Hkr4w== X-Received: by 2002:a05:6000:228:b0:236:773e:a6c0 with SMTP id l8-20020a056000022800b00236773ea6c0mr39961152wrz.102.1668080048236; Thu, 10 Nov 2022 03:34:08 -0800 (PST) Received: from [192.168.1.131] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id u13-20020a5d434d000000b0023647841c5bsm15516987wrr.60.2022.11.10.03.34.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Nov 2022 03:34:07 -0800 (PST) Message-ID: Date: Thu, 10 Nov 2022 12:34:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH v6 0/3] iommu/mediatek: Add mt8365 iommu support Content-Language: en-US To: Alexandre Mergnat , Krzysztof Kozlowski , Joerg Roedel , Rob Herring , Robin Murphy , Will Deacon , Yong Wu Cc: linux-kernel@vger.kernel.org, iommu@lists.linux.dev, linux-mediatek@lists.infradead.org, Amjad Ouled-Ameur , Markus Schneider-Pargmann , linux-arm-kernel@lists.infradead.org, Fabien Parent , AngeloGioacchino Del Regno , devicetree@vger.kernel.org, Krzysztof Kozlowski References: <20221001-iommu-support-v6-0-be4fe8da254b@baylibre.com> From: Matthias Brugger In-Reply-To: <20221001-iommu-support-v6-0-be4fe8da254b@baylibre.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 02/11/2022 16:18, Alexandre Mergnat wrote: > Hi, > > This series contains patches related to the support of mt8365 iommu. > Thanks for your feedback so far. > > Regards, > Alex > > Changes in v6: > - Rebase > - Add new trailers > - Link to v5: https://lore.kernel.org/r/20221001-iommu-support-v5-0-92cdbb83bbb8@baylibre.com > > Changes in v5: > - Fix name file in mediatek,iommu.yaml > - Rename defines to be more consistent > - Rework INT_ID_PORT_WIDTH_6 check > - Link to v4: https://lore.kernel.org/r/20221001-iommu-support-v4-0-f1e13438dfd2@baylibre.com > > Changes in v4: > - Typo > - Rebase > - Link to v3: https://lore.kernel.org/r/20221001-iommu-support-v3-0-c7b3059b0d16@baylibre.com > > Changes in v3: > - Rename "mt8365-larb-port.h" to "mediatek,mt8365-larb-port.h" > - Rework the macros which retrieve larb/port ID to improve human readability > - Link to v2: https://lore.kernel.org/r/20221001-iommu-support-v2-0-dbfef2eeebc9@baylibre.com > > Changes in v2: > - Rebase. > - Change M4U_PORT_APU_READ & M4U_PORT_APU_WRITE port to avoid display > conflict in larb0. These definitions are used for vpu0 device node. > - Add dual license. > - Retitle commit. > - Rename to int_id_port_width for more detail. > - Fix typo. > - Set banks_enable and banks_num in mt8365_data to fix kernel panic at boot. > - Link to v1 - https://lore.kernel.org/lkml/20220530180328.845692-1-fparent@baylibre.com/ > > To: Yong Wu > To: Joerg Roedel > To: Will Deacon > To: Robin Murphy > To: Rob Herring > To: Krzysztof Kozlowski > To: Matthias Brugger > Cc: iommu@lists.linux.dev > Cc: linux-mediatek@lists.infradead.org > Cc: devicetree@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: Fabien Parent > Cc: Markus Schneider-Pargmann > Cc: Amjad Ouled-Ameur > Cc: AngeloGioacchino Del Regno > Cc: Krzysztof Kozlowski > Signed-off-by: Alexandre Mergnat > > --- > Fabien Parent (3): > dt-bindings: iommu: mediatek: add binding documentation for MT8365 SoC > iommu/mediatek: add support for 6-bit encoded port IDs > iommu/mediatek: add support for MT8365 SoC > > .../devicetree/bindings/iommu/mediatek,iommu.yaml | 2 + > drivers/iommu/mtk_iommu.c | 25 +++++- > .../dt-bindings/memory/mediatek,mt8365-larb-port.h | 90 ++++++++++++++++++++++ > 3 files changed, 116 insertions(+), 1 deletion(-) > --- > base-commit: 11082343e3bf2953a937509f0316cabf69dbf908 > change-id: 20221001-iommu-support-f409c7e094e6 > For the whole series: Reviewed-by: Matthias Brugger