Received: by 2002:ac0:cd8c:0:0:0:0:0 with SMTP id d12csp9243imp; Sat, 9 Mar 2019 14:04:45 -0800 (PST) X-Google-Smtp-Source: APXvYqxxcBr4JmiqqxrJXjj5J/sTLBVp9AuVPXNJCsbjw2oaM3/Ug/tgERmCXCKSHoaJ2FBgDCu6 X-Received: by 2002:a62:ed06:: with SMTP id u6mr25063066pfh.132.1552169085142; Sat, 09 Mar 2019 14:04:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552169085; cv=none; d=google.com; s=arc-20160816; b=e3NX5ln+r4MFxrIFHKRb5uiEV71VtZHwfhPAuY1WYlIdBOmZMlHSooAaiYq0kvGhTR fxL7JaSPhplDXImRClGsWai6nt2lgmaic5eZYlZGpMRuGEK9YVW1J76tk8BOrkjqYDBQ 0pwkS+q2eEAheX5PtM6WB8nLW9psxM6l+/2tClvl0PSeFkcHnqvHD9wWb212jPLorIwG K/uyIdxOrIMUMEZrWD7Sbr25iZea3LgOBREYTs3wUpzOzJSXoYZA+o2Md6buWAAHSRDi 4AQYjyi7JlirbMXUsx29ioZzL401Tj3WZ3P8pw5w2p14l4BPQ3JfkBZjW7m0l/WMvGEy DjRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=SlDMbagQcGDNc2igxBfQt50QWoGD2RbgPl1lrtEBvtE=; b=IvHA6uOCUbAiiH1lsHbn4+igY5qSOmakRT/e/+moQ8bFwozQy7hKzdKraZN+eXoAWz kngSYSSzg0BvjagMPfwkhr2MKZs/nEXQrvEzvTn444bvj6lKuZNUNQWh7wgxU3h+O32i RhKCQ87DdhvKmke1RqRhQXPTTTfY2ngPHZo6FnPUrmlBhrHe2YFRLJwJueZa5jZLkyZS 64rGABMrL/2TMNmZrXT6FhgmByEtLdklP4A+X4H3HsDVQeeMQI/KlLS0+qIhXVjYShjL Uig2m0XmdheTqGZl64yYKhJygla8WJNAcxRTG9gLY+eCCNxo7BTsMkVZxKGihifTbsrf oFYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OpQj26Nk; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j6si1384449plt.179.2019.03.09.14.04.29; Sat, 09 Mar 2019 14:04:45 -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=@gmail.com header.s=20161025 header.b=OpQj26Nk; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726524AbfCIWDf (ORCPT + 99 others); Sat, 9 Mar 2019 17:03:35 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:41635 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726348AbfCIWDe (ORCPT ); Sat, 9 Mar 2019 17:03:34 -0500 Received: by mail-pf1-f193.google.com with SMTP id d25so787697pfn.8 for ; Sat, 09 Mar 2019 14:03:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SlDMbagQcGDNc2igxBfQt50QWoGD2RbgPl1lrtEBvtE=; b=OpQj26NkOwQBRi+aqBpsK/L3dySu6SUOXji4oeC2g7QCZvjvEdz6xc/8lwQbjMoxQV ExqwX2zJ18hjG1eBpFelvMzx6PgJYeWXGutaCuv/QFxKlec41Xye7LCefLxD9s4RbbAj RWk/IVrsKoLdqlk9TT/fDIega559H9mvJKM9Q+dP+p8O8m9hpZtxbR0Zpo0eLcRsQWnp EBctzu3tpTlOXs0/Pn/bzGVA94HN6/Ie/aIOPxuBVd/KbLoFV5JGS9et+8yaBnjbsNNZ uzK51MuZEQpCfgKqxzGiUaS/r+Qr63qPBhyYrdr86gz+pxk4/cmXg4jG10yIKB5iasZX ok4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=SlDMbagQcGDNc2igxBfQt50QWoGD2RbgPl1lrtEBvtE=; b=LJCirAgoGqD6WJqbWryKa1tm5IzZYBSVY/4vE6UYivL3jOnAsdkvEALSlPu0Rs6/r8 ukSW4J6+ON4jLdRkyZTdPNda1TRHjZZ11ylq2ot+VMxA0brpQkbLIfobEg8HMre6mIhz Bo7MsxMfAdsJf5tRBZV+gLjScBcOnQAx3zZFMPC4LyUtyla8XnNymyqBFK9Y8F3qdXHi 0iRQxjVKRIBNHyPs8nggawkEneiWcVqG2Uk32g0RxiekqHSVQf7CuoMQyPuq5GEJOjPc vXSrP+QSmvokz/0CFEqE/Q6ly7WcEzsr50SyXtnoNguKntxMeqDDspvPakknjqMsbCKP BYPg== X-Gm-Message-State: APjAAAUXmaAH8tL9tmXhMzYI63hLdwze1nhEJ7JN5dtsd9R7j1opgJmL 5wZ0WyPtexS1UhbC+onkmwVgsX1l X-Received: by 2002:a63:6e8d:: with SMTP id j135mr23161539pgc.160.1552169014119; Sat, 09 Mar 2019 14:03:34 -0800 (PST) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.250]) by smtp.gmail.com with ESMTPSA id e5sm2134255pfd.73.2019.03.09.14.03.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Mar 2019 14:03:33 -0800 (PST) From: Florian Fainelli To: bcm-kernel-feedback-list@broadcom.com, Markus Mayer , Brian Norris , Gregory Fong Cc: Markus Mayer , ARM Kernel List , Linux Kernel Mailing List Subject: Re: [PATCH 3/3] soc: brcmstb: dpfe: use byte 3 of registers MR4-MR8 Date: Sat, 9 Mar 2019 14:03:32 -0800 Message-Id: <20190309220332.26100-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190212012443.21819-4-code@mmayer.net> References: <20190212012443.21819-1-code@mmayer.net> <20190212012443.21819-4-code@mmayer.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 11 Feb 2019 17:24:43 -0800, Markus Mayer wrote: > From: Markus Mayer > > For dual-rank LPDDR4, result data for any command is placed in byte 0 > and byte 3 of the corresponding MR register by the firmware. > Single-rank RAM was supposed to work the same way. However, due to a > firmware bug, result values are only placed in byte 3 of the > corresponding MR register. > > Since byte 3 works for single-rank and dual-rank setups, we change the > Linux driver to always use byte 3, thus returning the correct value in > either case. > > Signed-off-by: Markus Mayer > --- Applied to drivers/next, thanks! -- Florian