Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4791464rdb; Tue, 12 Dec 2023 09:22:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IGWtitP+W/DWuZIhsxwrcTMYSwDlRLxYFidcV3XRY8J2OuJM0Dxz+G2ilCMeXomAk87W3D+ X-Received: by 2002:a17:902:f807:b0:1d0:c0f4:7c1c with SMTP id ix7-20020a170902f80700b001d0c0f47c1cmr6672541plb.78.1702401722276; Tue, 12 Dec 2023 09:22:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702401722; cv=none; d=google.com; s=arc-20160816; b=TVnGDxPz/rXvYChYk6HUACl9STjUglVCesyh01AsrDv+OYQbLVauvlqPxCSshpb1DA CYvOifiZCrT1YiZYxYAFTqyEFy4yScFd7m26/1FPLIw3MGeB/QFI1f+tOqU8ahoiMHFe 7CMqScf1xAM02I6evp11UhrUaIIGv9BCNpYM19Tc7hSqGamMh0lhPZiVTku3BhJG9+1+ bdUH1j3LM5nLg03NXCfTm91kZgnSaHJt7oOmRTxoEfjvxGqqebzOvyQHHglA2kVtPdiC LUum3TjnbryxT8pbuTBAnGW0zfmqrzMmV6r4aO/oSMknJfkwfcF8RB4TK1ptOy8hK0C3 PG/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JfIHJWtHtPqXo61sD+mbwVww6wwMdLlq+wba/kOWTGQ=; fh=1qxpV5wOujwdWGV5aTluSLaml1I8uakylzjhJeK4+Tw=; b=ZMuZRMA0wHFiTTXz/4i2U8QxP9p7qY9Xg2evmdr0XtB8Eu9AaOcmAJnnpGoAarVZey 7i1QvV3Jo4ETLWRhfucEkhM2j4q6u7RhDRc8ZJXMbN/oc6dmEQVOcz1N9/PDqqpx5J+h 6gPVtkn1iWbiUWYlVU7BgTIRDXIekMiwAhwZS3SbCw5nC+nQ4OhwjjREXXKnryOUtbVk 4nSK845MAXc6MqkrYfMm1mTd/wZVF5+vxdN+fh1c8lH4n3Xuxyx+wJJRO05G7gfq02+w Y28nCn6UxSLtrJAE8JuYBPZGYOAB4uOVInDAKE/vXygVqbjYPsMKQOM8TAt8dGd1P22n ODGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qlNhbvWP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id l12-20020a170902d34c00b001c566ea86eesi8004137plk.177.2023.12.12.09.22.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 09:22:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qlNhbvWP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 4B65B8048C0D; Tue, 12 Dec 2023 09:21:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376434AbjLLRVc (ORCPT + 99 others); Tue, 12 Dec 2023 12:21:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376396AbjLLRV2 (ORCPT ); Tue, 12 Dec 2023 12:21:28 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 048B5B7 for ; Tue, 12 Dec 2023 09:21:35 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E8F4C433C9; Tue, 12 Dec 2023 17:21:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702401694; bh=ax1TJ8fcxuZhrG1GseVHnGGDWIWrJDvPmtLFkog0odM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qlNhbvWP0Dv5mgbzBG7ZiT/08F9m3fxzXLqsIJwvBHh+I9EfBGC7CZyz0H1dH6ZPt yGUHEwpENHdLF/PI7uaBOGFNzy9L1mq7dJaiPxb3X70KtJkH4F2PDGa1T3dO1fza4c CSZBXnVoInqWfDZ8XO30aei/keTJw4WQG52z/frNW6wIxR3dS9Z1XEz9cp9qZpSllk JiIKSjJDWurE5bIllI9w/QthMu4pvIuNQL05oJtpNTM0kcKwBmfs5FNEn/2JoKvek+ gunH2c04ObuoBSXHTZQfvFkaNUtW3G36e6AW49Je/eL6f7cAIUkiV0YJAYscstlYw6 f6c3AbTIg+2IQ== From: Will Deacon To: ~postmarketos/upstreaming@lists.sr.ht, Robin Murphy , Rob Clark , phone-devel@vger.kernel.org, Joerg Roedel , Luca Weiss Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , linux-arm-msm@vger.kernel.org, Vladimir Lypak , iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iommu/qcom: restore IOMMU state if needed Date: Tue, 12 Dec 2023 17:20:57 +0000 Message-Id: <170238443082.3098533.11843607939616442768.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20231011-msm8953-iommu-restore-v1-1-48a0c93809a2@z3ntu.xyz> References: <20231011-msm8953-iommu-restore-v1-1-48a0c93809a2@z3ntu.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Dec 2023 09:21:58 -0800 (PST) On Wed, 11 Oct 2023 19:57:26 +0200, Luca Weiss wrote: > From: Vladimir Lypak > > If the IOMMU has a power domain then some state will be lost in > qcom_iommu_suspend and TZ will reset device if we don't call > qcom_scm_restore_sec_cfg before accessing it again. > > > [...] Applied to will (for-joerg/arm-smmu/updates), thanks! [1/1] iommu/qcom: restore IOMMU state if needed https://git.kernel.org/will/c/268dd4edb748 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev