Message ID | 20240222181324.28242-5-fancer.lancer@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1A539C5478C for <linux-arm-kernel@archiver.kernel.org>; Thu, 22 Feb 2024 18:16:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+l+BemmXDOSgJAmQAnLodMcB/l0O811y28sDHm0EaWE=; b=MLWhNqlNKEuHJ9 13wa/na+ywgRCw9McGdNYjtbVGa1wv4+WboNKy6AB2pLJUkXBQKQESql9M8fhb09ESr1zFxW0HJe9 oT0Z8sZDstUJycHBFGjITySriiYxMkG3JaS21xO7SRwRVGevQUV5jNdqabR8Bb2DUG4N3+b4Wjq/q q0FRnckGFQ+A9NNWeXNWiyYBvcg+vMsDXZA3KnpLNprgLws6NFN10Pwa2PMhFOoIcvqD+KmDCl8/1 TEH2DbbtMSDlYyIJC1UerCZKa8YeE3Su8n6fJuJpjtIoFHOz85HHV/Y6V0EjMIOF27KNhHTVYJF3L iTw1OtCwiiqPHqI1VCkA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdDbT-00000005xVE-41i6; Thu, 22 Feb 2024 18:15:28 +0000 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdDab-00000005x3r-3dzb for linux-arm-kernel@lists.infradead.org; Thu, 22 Feb 2024 18:14:47 +0000 Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2d21cdbc85bso1179301fa.2 for <linux-arm-kernel@lists.infradead.org>; Thu, 22 Feb 2024 10:14:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708625668; x=1709230468; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=e3HjL25KMxGa56gkLYon0vOuoqvhZeVF+dp0oSQkrO0=; b=OW+fNAcJLFo50rIdLHPOb1dX2UPO8BEyaEIVwc8YerWnR4r3SrAE5yvUzDond0mGA2 FFNugYtBL4f2UexXbjGX68uZKyS5XZXr75Jhlrj6c6eVwnMhB+WfocqPklaaMy4GQxQV i9lOiPN419ClBNjdznP9SLiMjcCrdit04aN/q96ZxAQC4zH4Fe+RFJDQAfnlwIufS5Wu DfYSmrVAaoimiNsrW/qEZshP7CQaa1ecuWeGbIT14nB4iUzySrIQCyLcDOdP7/OVbc6e LNo+HJ9KmlUFAAmumNDsHmV9zHNSZFvUq8Go4UitZ99UTe9b166n9v9M37LlrE544Cuf RgCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708625668; x=1709230468; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=e3HjL25KMxGa56gkLYon0vOuoqvhZeVF+dp0oSQkrO0=; b=hSe3Kkxrag7LEhyZKIP+uvWcTp/go+u08vd7R8h8+e7OqGUfqCtyxzmmTET0kZlGRg O1pm8/GlHPNxl8EXaOu4iEvWdFC461ByIegxYNiZKv3mUs43UyA9UCO2bgy/rlnAw9a3 5ea2F4JljEdHxirH8ira+QA2Z0kcsRXMeGAGWH2sUzVyz3Rdt9rrMbR6N8pKEAxelJqO koXfaAGmaKsLBUjggB89phScaYPbMwILABlO7gAtkE1tlXcOqEsNAlNP1RVkTBpAgtYo vs/zfkLyd8QIU6Qv7MJ5C8oAdUS/PWTtQcPoTqefWc+VJUa/RZo7a9Lhu9AdLxd/J8NR VZPQ== X-Forwarded-Encrypted: i=1; AJvYcCUSbVgAc7ekp31j+5354/TXTdhFQLzL11n9kRV4Pzin3w2XtnXPWNzuPRpLYp5RmKNXaBDkfgqVOkGH3xlOh1rOlcIBRPG4dZhCUF2R9ZUtqQaaPFQ= X-Gm-Message-State: AOJu0YyExx+wVcmk5Zl54av3eCA6j1VqofMj6Bh6+zFHyY2cRlOG5smo 6mJCwOoLW5lTpC9QHn6b4EUhcuj1VtwYFvGVlW8cfKQ/zcLKj7+2 X-Google-Smtp-Source: AGHT+IHxkZX3auLTPAfGj/5QgChR12wrYdWdu9SKHx0EmevS1A3wDKwZARalLbPB/ZrSULuvY5aXew== X-Received: by 2002:a2e:b169:0:b0:2d2:643b:df06 with SMTP id a9-20020a2eb169000000b002d2643bdf06mr1365251ljm.2.1708625668311; Thu, 22 Feb 2024 10:14:28 -0800 (PST) Received: from localhost ([178.176.56.174]) by smtp.gmail.com with ESMTPSA id j26-20020a2e801a000000b002d10d093c4csm2381337ljg.111.2024.02.22.10.14.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 10:14:27 -0800 (PST) From: Serge Semin <fancer.lancer@gmail.com> To: Michal Simek <michal.simek@amd.com>, Alexander Stein <alexander.stein@ew.tq-group.com>, Borislav Petkov <bp@alien8.de>, Tony Luck <tony.luck@intel.com>, James Morse <james.morse@arm.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Robert Richter <rric@kernel.org>, Manish Narani <manish.narani@xilinx.com> Cc: Serge Semin <fancer.lancer@gmail.com>, Punnaiah Choudary Kalluri <punnaiah.choudary.kalluri@xilinx.com>, Dinh Nguyen <dinguyen@kernel.org>, Arnd Bergmann <arnd@arndb.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, Borislav Petkov <bp@suse.de> Subject: [PATCH v5 04/20] EDAC/synopsys: Drop erroneous ADDRMAP4.addrmap_col_b10 parse Date: Thu, 22 Feb 2024 21:12:49 +0300 Message-ID: <20240222181324.28242-5-fancer.lancer@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240222181324.28242-1-fancer.lancer@gmail.com> References: <20240222181324.28242-1-fancer.lancer@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240222_101441_586238_D1AF7C66 X-CRM114-Status: GOOD ( 13.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
EDAC/mc/synopsys: Various fixes and cleanups
|
expand
|
diff --git a/drivers/edac/synopsys_edac.c b/drivers/edac/synopsys_edac.c index 7c57c43b4d31..bd6e52db68bc 100644 --- a/drivers/edac/synopsys_edac.c +++ b/drivers/edac/synopsys_edac.c @@ -1236,10 +1236,6 @@ static void setup_column_address_map(struct synps_edac_priv *priv, u32 *addrmap) COL_MAX_VAL_MASK) == COL_MAX_VAL_MASK) ? 0 : (((addrmap[3] >> 24) & COL_MAX_VAL_MASK) + COL_B9_BASE); - priv->col_shift[13] = ((addrmap[4] & - COL_MAX_VAL_MASK) == COL_MAX_VAL_MASK) ? 0 : - ((addrmap[4] & COL_MAX_VAL_MASK) + - COL_B10_BASE); } else { priv->col_shift[11] = (((addrmap[3] >> 16) & COL_MAX_VAL_MASK) == COL_MAX_VAL_MASK) ? 0 :
Currently the ADDRMAP4.addrmap_col_b10 field gets to be parsed in case of the LPDDR3 memory and Quarter DQ bus width mode. It's wrong since that field is marked as unused for that mode in all the available DW uMCTL2 DDRC releases (up to IP-core v3.91a). Most likely the field parsing was added by mistake as a result of the copy-paste from the Half DQ bus width mode part of the same function. Even though the field is supposed to be always set to the UNUSED value (0x1F) drop parsing it anyway so to simplify the setup_column_address_map() method a tiny bit. Fixes: 1a81361f75d8 ("EDAC, synopsys: Add Error Injection support for ZynqMP DDR controller") Signed-off-by: Serge Semin <fancer.lancer@gmail.com> --- drivers/edac/synopsys_edac.c | 4 ---- 1 file changed, 4 deletions(-)