Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp774949ybc; Sat, 16 Nov 2019 08:28:04 -0800 (PST) X-Google-Smtp-Source: APXvYqwRjfwJ1+1Ww9S8e2zu7YpbnLQ3qTrqdBq5rVTd5su0zRNGQ34wKR03hVXf2CYEhUCPMFsE X-Received: by 2002:a17:906:9248:: with SMTP id c8mr11208744ejx.47.1573921684858; Sat, 16 Nov 2019 08:28:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573921684; cv=none; d=google.com; s=arc-20160816; b=RRKBOy1kCXBWyoaOiGDrXC07seUN7bPNruJ6I6/L0eIXtHJKkHpp15wqn0p3PayKu3 alDKz7TDarZZcs2hCcEoVl5PRNDNA+wLNjh5aFYPLuiitOLhwMYy/Nz9490DZW7K/WV2 VQskxbEPOwbA7DxgPP3mHvcCZECl8C6jyRN80wzjNtSAaHsGIQKQ482ivNgUU9gx870e pLAPzSjPBGvLXGtmVj15L3k2PBdPfztXZM0EjMKMTfaisQ3lvY82lscjXGXUJ2ziQY8Y RQ6JkKXOBnLZ5lu+ZB9x0JzI03jkxB8x8UuI51VA19JgxSQi0s4pYIBx5quwuPs5T8Nm aw2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OljXud28Yk9Acl7rdHE3+30iFfz6QtYoLKdFeUF8vrA=; b=qHO23aHZVgpfzz8K+jqD7MTcZ9NH6RlEb1Bt7IOeefQ9oPq8mXmyu228v7gDcuDpFF 2EuY9QjFLDygruFScWt9500vT2WC5WES1j5K9xmdc9iLVrY51ztqT70LV6yyS3l3hcS8 O9bOrsqDTywogQDAiBlZ93tBjGvEIoJp9tWWRmm1l1kQjIxbm3JqXyl/BMAfWp4RDRsG xHfpDGswSVkvjk7afuI67zqKhJ898WAnlU29olA8VBaBw6JkMFuecySt2jWf3oez1rIu xd/uBSTTvmroVc/VnNPEUWLfI5ha+YXBECakzw872d4pLM+QLGZsqiDXI8MqSyJbYx1e sXDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aE302id1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e22si7386840ejj.234.2019.11.16.08.27.39; Sat, 16 Nov 2019 08:28:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aE302id1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728184AbfKPPmI (ORCPT + 99 others); Sat, 16 Nov 2019 10:42:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:45522 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728142AbfKPPmF (ORCPT ); Sat, 16 Nov 2019 10:42:05 -0500 Received: from sasha-vm.mshome.net (unknown [50.234.116.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 228082084B; Sat, 16 Nov 2019 15:42:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573918924; bh=E4lEx/M3dpUWK1f5P4pR88zODDCCQts5gWFfasn091I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aE302id1U8tTECaRS7EwrMQCGFXuD0XaTS1smPL64MD2jtcU+qF4IKREAhBEbJIuP btOcBGt3xq5Pz21imxUowLrHWgUXf6Rj68yD6RHp1j1JgtcC6n2AnOY/au/gznsTx2 4uyQUs9JJrTLr1MOdCTOWb74504vldYDzYZ4oEek= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Joseph Lo , Peter De Schrijver , Jon Hunter , Stephen Boyd , Sasha Levin , linux-clk@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH AUTOSEL 4.19 050/237] clk: tegra: Fixes for MBIST work around Date: Sat, 16 Nov 2019 10:38:05 -0500 Message-Id: <20191116154113.7417-50-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191116154113.7417-1-sashal@kernel.org> References: <20191116154113.7417-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joseph Lo [ Upstream commit a4dbbceeee3e0ba670875a147237d6566de78840 ] Fix some incorrect data in LVL2 offset and bit mask. Fixes: e403d0057343 ("clk: tegra: MBIST work around for Tegra210") Signed-off-by: Joseph Lo Signed-off-by: Peter De Schrijver Acked-by: Jon Hunter Acked-by: Peter De Schrijver Signed-off-by: Stephen Boyd Signed-off-by: Sasha Levin --- drivers/clk/tegra/clk-tegra210.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/tegra/clk-tegra210.c b/drivers/clk/tegra/clk-tegra210.c index 080bfa24863ee..7264e97310348 100644 --- a/drivers/clk/tegra/clk-tegra210.c +++ b/drivers/clk/tegra/clk-tegra210.c @@ -2603,7 +2603,7 @@ static struct tegra210_domain_mbist_war tegra210_pg_mbist_war[] = { [TEGRA_POWERGATE_MPE] = { .handle_lvl2_ovr = tegra210_generic_mbist_war, .lvl2_offset = LVL2_CLK_GATE_OVRE, - .lvl2_mask = BIT(2), + .lvl2_mask = BIT(29), }, [TEGRA_POWERGATE_SOR] = { .handle_lvl2_ovr = tegra210_generic_mbist_war, @@ -2654,14 +2654,14 @@ static struct tegra210_domain_mbist_war tegra210_pg_mbist_war[] = { .num_clks = ARRAY_SIZE(nvdec_slcg_clkids), .clk_init_data = nvdec_slcg_clkids, .handle_lvl2_ovr = tegra210_generic_mbist_war, - .lvl2_offset = LVL2_CLK_GATE_OVRC, + .lvl2_offset = LVL2_CLK_GATE_OVRE, .lvl2_mask = BIT(9) | BIT(31), }, [TEGRA_POWERGATE_NVJPG] = { .num_clks = ARRAY_SIZE(nvjpg_slcg_clkids), .clk_init_data = nvjpg_slcg_clkids, .handle_lvl2_ovr = tegra210_generic_mbist_war, - .lvl2_offset = LVL2_CLK_GATE_OVRC, + .lvl2_offset = LVL2_CLK_GATE_OVRE, .lvl2_mask = BIT(9) | BIT(31), }, [TEGRA_POWERGATE_AUD] = { -- 2.20.1