Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5988038ybc; Wed, 27 Nov 2019 12:59:09 -0800 (PST) X-Google-Smtp-Source: APXvYqxAWqjF76bNAbS2RiQZfmJgsVhXT5QPDkyopZP588rQuMZQZ0Xk6MZC+swjS4i8gZluZ0tv X-Received: by 2002:a17:906:f109:: with SMTP id gv9mr51567512ejb.196.1574888348914; Wed, 27 Nov 2019 12:59:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574888348; cv=none; d=google.com; s=arc-20160816; b=ST0+evj5tVGkrxLRdyslHzCwowrdu1sSIhar7TQeKZ0dYVirSSQ//9T6rp1vvoD8S3 rVC0/7PGELnpPwyg9pDkE/hMMMMF3C8M/tQg2sse78QgIpwQqnJAlNRKLXXYZ9J17lRA 8Me6mR0NDgt82BO3OZr+4DJVN3D7vjPjt5ob7uU2Otst0bbiNHcL+DkMiRKFb3UdW2VA ZvboV55OtMuxS2enJR1xZ38lXID1Ip3jek9D9dPvBeLkCgEANZKDXuAw4jLfLIqowb6U tar6kTkfGSkuFaJQyURzM1sdrca0w5R5FHBmx7zj7p1sXWEvEuW3ah+TCRKJTDPZYPBu TNdw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=OljXud28Yk9Acl7rdHE3+30iFfz6QtYoLKdFeUF8vrA=; b=px+J6bWJnWVoxSH4BGngRAGfxLfqio2YCDhlbkRXtY2fatY3mk70HIDg757BIpl2aW cmSNPOwXCWhisja9MUpBZXz2st8sk8HhvNt4H/+fUaCvo2PTk1EePUUgju+lT8uQDUhh 7VIiijUt/YRm/YyLE57wK9E8GvkAx5IhXXdT+5fltIWARk9skEKDl9fvFaT6MReNIwGo KU0NZ/1ICWBrdBu5XQCjHbKXkwjVTJwC09R6qaHSe4JH5PtESU9uwmZGVHTVU5oRk84t LYyVN0E7bbWANiumVd+OKYWB3j2JVQUyNIe+AEsY9gFpCGTeFsYioFC86v7d2ll9Ultk Rt1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LRpDjPBJ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y4si10386704edp.177.2019.11.27.12.58.43; Wed, 27 Nov 2019 12:59:08 -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=LRpDjPBJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731243AbfK0U5u (ORCPT + 99 others); Wed, 27 Nov 2019 15:57:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:48924 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730652AbfK0U5s (ORCPT ); Wed, 27 Nov 2019 15:57:48 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5F3222084D; Wed, 27 Nov 2019 20:57:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574888266; bh=E4lEx/M3dpUWK1f5P4pR88zODDCCQts5gWFfasn091I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LRpDjPBJ8VDpld5r7LgNReQwkH1WFjlQwQQHIaZqa74Zs2sfymGJNSFfiC8nDrcmm VmC5GMHIiy/X+APHzAcRyac1azpOkOZnZ7TFARXK2LARJ64nPzSA/hAdWhtcIBbrTm J9nB/teCZY1Dw8IDqRWrnMiSf9GqfZfPuUe3of38= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Joseph Lo , Peter De Schrijver , Jon Hunter , Stephen Boyd , Sasha Levin Subject: [PATCH 4.19 069/306] clk: tegra: Fixes for MBIST work around Date: Wed, 27 Nov 2019 21:28:39 +0100 Message-Id: <20191127203119.834344295@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191127203114.766709977@linuxfoundation.org> References: <20191127203114.766709977@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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