Message ID | 20210115122006.359149022@linuxfoundation.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp255369jap; Fri, 15 Jan 2021 04:38:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKDjQ6Wl7jxkQaaXfMFxYqJ/CCNCr80sig1iQEJjo6sb/zYPQ3574jB4pGkdh0Skb3mCpv X-Received: by 2002:a17:906:ae42:: with SMTP id lf2mr8357854ejb.487.1610714315955; Fri, 15 Jan 2021 04:38:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610714315; cv=none; d=google.com; s=arc-20160816; b=I3CLou9G8bt4GPRQk24/vGEyAhbOPi0jJK4p+pu8xHDznh4smmLgVYhGw/0Lr56R5F q2nYH8hQSohzW52uJPGR5knAqanTOWrfEN680LihzLB3ouy2HjUlm6kCdYWoh6BWPTvx odpTUXts5Le1LERkzoBKKpsK7A+c3SNh3Hl62Ew2e15fs8XLK6euj+LQk8fqv7ueKR4F sRCwtd3TdYFaof0dfCoEZgOV9br2A6FaVilYNOVg1F63bo3Ux4TDK/dX0hU/v6BiXmOO 4+XDvcPlvk1gmocvU+pEjPOvi8NTnumgtiv0ncJSlFchaCqIHFfB4M0+X4s+R8JKwG30 5Qgg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=X4DPLBBlFqzHbgaiHhfqTifzOB52cynkrClEYaCSqiM=; b=Qd5gH04gwLfb/3w0fXRUJVU9IyHIaqZcLckzE10UZFVpzUQ5uQ07YfJlNq34YBxsKG e60suColiInZ/jwxcF+TDNrCmVJKT8IsT0Y9wiRq8lfYfygUxAo+OS84Q7bMnvcrVDHh S+/rHv724g5AN8HQGmLBvsnhZqHMEFeUDpHBubh/Jq2I40s7yelz4O2rov1GTm1OfEsy yT5Wmrflhd1m26YfTSYfyQvDP7536eJ/ZPOtMlbG+44EP65lvZ82ovUaGG4k5WVFvoGe CHLouM9S8N50UM4olTi4DlfzER69GLQN88bEQgLQxdNwiUwdz3/9bU0AvVN60huILJyj QlOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="HAAwJyt/"; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b21si3638653ejv.614.2021.01.15.04.38.35; Fri, 15 Jan 2021 04:38:35 -0800 (PST) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="HAAwJyt/"; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387992AbhAOMha (ORCPT <rfc822;semen.protsenko@linaro.org> + 13 others); Fri, 15 Jan 2021 07:37:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:44752 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387988AbhAOMh3 (ORCPT <rfc822;stable@vger.kernel.org>); Fri, 15 Jan 2021 07:37:29 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id C0531223E0; Fri, 15 Jan 2021 12:36:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610714209; bh=ew/R7Xq79SLdKA2CSveNE7HSRksXkfDFKWQ9xOF8gdA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HAAwJyt/yvHCwTtgcUJZggYKQjXXfy2izVG6m5dU+9nZcE1AUZqSJejWOx5OVRtbO vmUxFWlbZoHnPBsaYoC4zxIGh6NX08mCu9RikPejNYjpD5QJP/i9p4w+ydYdGQw3Cd 8FILPnPSo6/LCoB+xhTqqUMJkMR0Zhl68lBB+l9E= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Bjorn Andersson <bjorn.andersson@linaro.org>, Will Deacon <will@kernel.org>, Sasha Levin <sashal@kernel.org> Subject: [PATCH 5.10 006/103] iommu/arm-smmu-qcom: Initialize SCTLR of the bypass context Date: Fri, 15 Jan 2021 13:26:59 +0100 Message-Id: <20210115122006.359149022@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210115122006.047132306@linuxfoundation.org> References: <20210115122006.047132306@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c index ef37ccfa82562..0eba5e883e3f1 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -55,6 +55,8 @@ static int qcom_smmu_cfg_probe(struct arm_smmu_device *smmu) set_bit(qsmmu->bypass_cbndx, smmu->context_map); + arm_smmu_cb_write(smmu, qsmmu->bypass_cbndx, ARM_SMMU_CB_SCTLR, 0); + reg = FIELD_PREP(ARM_SMMU_CBAR_TYPE, CBAR_TYPE_S1_TRANS_S2_BYPASS); arm_smmu_gr1_write(smmu, ARM_SMMU_GR1_CBAR(qsmmu->bypass_cbndx), reg); }