Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp252026iob; Thu, 28 Apr 2022 01:18:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxm+wf37JvqGxrmlcbsvbPJUOdOhfnJWEk/C5a7WC94ZdL/qT2iAa+XtekHfK8eQH3ob2x X-Received: by 2002:a05:6a00:cc9:b0:50d:a307:a2b2 with SMTP id b9-20020a056a000cc900b0050da307a2b2mr363437pfv.67.1651133938221; Thu, 28 Apr 2022 01:18:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651133938; cv=none; d=google.com; s=arc-20160816; b=GqxFmlizQ9TqekUwKQMOYHFdoDhUXB6GKHwaXAmMGPDPvQx+l1VyOEDF/lV6u8LR+F mH1hYe91QX9eSzpMS2+iSd4UNNMbOhAqol2xsqVZ84vYrsi/cuZPcmRAZHWVigNHwlA8 Z4RRItlBe5G2QW6U1Sq5BWZNJrkwYTdF9ImMB/vgP3/Bmwfu0AhZJienY3s/Ig7iZdUC 6G7BAkHFLpLBrtxIL2gChgg5nT2ld4DoP4srNjAMW0FOZiLPM1iRSY9NpIYmam8S6/Rk Fvmcn/OZs9OJboFipxyk2nhx9NP2REJ5tMaRIdIX1iB4n7QMuDN6mYgGX7F+WjVJBfIN Qtkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=YNRTWtJC91a/jTXP79742bVwl8leG9Stdrdq8uka3gU=; b=hzYWi7MDFp+eIonPNtMkYvqx4oi2A8xoCuaezVlo0pzK1O/K9aolXJPLL3GI8Vthg2 5IHdRqDpMju2JkTskHStXlfvL8BmdX13EwrtAioJmcYS/s7VEzbn6P9rhItP5TL/W6rr N/mwXWkUbCljlOp78f18PuPYNPUseGhGXt5W2zZbBSaQA8Nwp56Tite7yfmBAkxeE6E9 GdgVyKQNac+sojsrN4Dd5DA52AI3eMb2GKCyzgFgwi57SN3SIObR4yV1bQCmdX7A8Ud1 ACRH1gbRb/HFmBtDNor1neRK3isoF2hDrvpvKC2/doyM9NrX3tnt/yhyVE8jjfz544o2 3DTw== ARC-Authentication-Results: i=1; mx.google.com; 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 a19-20020a056a000c9300b0050ad3a1c167si4264900pfv.175.2022.04.28.01.18.44; Thu, 28 Apr 2022 01:18:58 -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; 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 S245659AbiD1Hrj convert rfc822-to-8bit (ORCPT + 99 others); Thu, 28 Apr 2022 03:47:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239176AbiD1Hri (ORCPT ); Thu, 28 Apr 2022 03:47:38 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBFA49D053 for ; Thu, 28 Apr 2022 00:44:24 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1njyol-0002pJ-Gl; Thu, 28 Apr 2022 09:44:03 +0200 Received: from [2a0a:edc0:0:900:1d::4e] (helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1njyoj-005iCw-PE; Thu, 28 Apr 2022 09:44:00 +0200 Received: from pza by lupine with local (Exim 4.94.2) (envelope-from ) id 1njyoh-0002VQ-OH; Thu, 28 Apr 2022 09:43:59 +0200 Message-ID: <23757fe6843e56b91a87d60eb0782ec6b64c10fd.camel@pengutronix.de> Subject: Re: [PATCH 2/5] iommu/sun50i: Support variants without an external reset From: Philipp Zabel To: Samuel Holland , Joerg Roedel , Will Deacon , iommu@lists.linux-foundation.org Cc: Heiko Stuebner , Palmer Dabbelt , linux-riscv@lists.infradead.org, Chen-Yu Tsai , Jernej Skrabec , Krzysztof Kozlowski , Maxime Ripard , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Date: Thu, 28 Apr 2022 09:43:59 +0200 In-Reply-To: <20220428010401.11323-3-samuel@sholland.org> References: <20220428010401.11323-1-samuel@sholland.org> <20220428010401.11323-3-samuel@sholland.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Hi Samuel, On Mi, 2022-04-27 at 20:03 -0500, Samuel Holland wrote: > The IOMMU in the Allwinner D1 SoC does not have an external reset line. > > Only attempt to get the reset on hardware variants which should have one > according to the binding. And switch from the deprecated function to the > explicit "exclusive" variant. > > Signed-off-by: Samuel Holland Reviewed-by: Philipp Zabel regards Philipp