Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2528197yba; Mon, 6 May 2019 07:32:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIOuM+xLWf6EoB3IcEYPtuvN8MFri44dnPA+bowzYijP/BSzibOnsVFGgDwYFDCDGBVLv+ X-Received: by 2002:a63:a54:: with SMTP id z20mr32181695pgk.27.1557153138787; Mon, 06 May 2019 07:32:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557153138; cv=none; d=google.com; s=arc-20160816; b=yjzcxexvCWmXSTlZB9j0EXNo0Wp1ts9Pi23P/Sb/r1hmpZKyqghQ+f9/0qdKLwdX0G uECdGGHxl/rPuzy/Xwqi0lJz6Uc4ZLLuFuVXFa7JoEyS+N/74OCkyGK/8MKRLipIlsB0 amqjHMenFmjAIp4PmLBga/QQr1rpnhjS3kd4/wG/hxBJGoPRfdBOTEPgJoj6khsS4TqS jeiSR6/pXZrt5lsxO47v4uPH9ETCWs0to2yQIzbz+33B46uBy4WJT02nB0KxldYPMzz/ 8WznoYJNsVb8kpqoGepr6MKi3F5/boRdnHOrQ6aWAE9/x3WudPDNKr/83+GXVKZMN5EZ eB9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=vlVIw6vZVRSOd+U7atr+9c1eQwA07taQdyi0YQSxezc=; b=MoKviXG17VPKDoVIA8VXtCC1tdKZ/yYazsS6LMPnD1Di5P3pqyIlbJeadCsknrymiY Ewm88YDDRRVbxpdnUDX1cEQR5mEn40kYr7s1tBK6AqRH3zjzT6tQVBK9WasKJnBQ1iP+ ONeVhIp46FAxrlBMNcMrhZ6Kjv0RIaf4J02KOx1yrgiZd0SmHj4bowTL7UJvqVFZlRxX Ac/BALH66Nvs7dFfrOqukjU+/d8qj0kmbEN60O53EeSdNlPtD+PFvLzaG5i56UeXs5i9 3d76GWZ9QG/ntoGkxamxw78si/yj2BFyZuVmMqSSrqw5ChEMwKhhbPpFcENLAlieZH2B ku/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sll1RVUA; 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 f18si4057191pgb.36.2019.05.06.07.31.59; Mon, 06 May 2019 07:32:18 -0700 (PDT) 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=sll1RVUA; 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 S1726276AbfEFObE (ORCPT + 99 others); Mon, 6 May 2019 10:31:04 -0400 Received: from mail-vs1-f67.google.com ([209.85.217.67]:41499 "EHLO mail-vs1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726094AbfEFObE (ORCPT ); Mon, 6 May 2019 10:31:04 -0400 Received: by mail-vs1-f67.google.com with SMTP id g187so8256017vsc.8; Mon, 06 May 2019 07:31:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vlVIw6vZVRSOd+U7atr+9c1eQwA07taQdyi0YQSxezc=; b=sll1RVUAUXI6hmEPMAb7nMUvFPfC52yZbzrVrDlOe4udfQWSQeHtzag+DPSFEoIJL9 pFzEPWOFBqUJpAu7KYrNT/zfWi2/aQp0rNigOnLYk5WmVYLxS/bYrNxhlOBn9MJuXd2j AGapMhYsP0tSavAAkIAwiK31jShxd9SvrskQVO33PFU+Q1M88/0qe4ilm5OkuIGnMQr6 rTRiwWDEc/4LPWQTROxjihR1YFl/vSr2njK2uNhmDAWMBrk1swpt/tgjCQAiygJ3wFa8 SJiqRwix3cy9eLObcVE9KJ9M7dcNF07TFr14v6kZVi9qy0nIlbizaaCEi4PfFMMTieb+ duug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vlVIw6vZVRSOd+U7atr+9c1eQwA07taQdyi0YQSxezc=; b=E3VDoJ/MGNSufEX7Lr8PFuwiQUsk5HNOSfmIBz8Wa7keekP6qNNtatABfiSlqmiwGD IW6M5UcugNX0F0yCG6/Ya3P1oJNuiFuhPgWkVSwclQGqlL41gVCD54USjARVfEx0rLKp jaDIAhkQ386tXiAzZxBlq5LofY3FOO71PdVxK40KvhE657h/w/dW1mT4ymUwhbK095Bq /ZWWwLTQT4MhbEZCy/bv34VwzyvAzSZyzKHdnfpycpAn5/XzItbZhgd+/Zm8BAJNOGsd 4RA3sL1g43TxL2+lc50YSnp/M/sH451oPUaHlTZeDVoDZr2x9e2JuSS3O4WIJACwTYB+ p3HQ== X-Gm-Message-State: APjAAAWE/QiDW1g29RXTJNpD2/01cUN1ZWICoPPq6aFhbBXWv0xAfAkJ Wa3C2OyyPOlnJn6jBtOPABWOcBmXy2PN7GqL0coLUA== X-Received: by 2002:a67:fbc4:: with SMTP id o4mr3075513vsr.30.1557153063423; Mon, 06 May 2019 07:31:03 -0700 (PDT) MIME-Version: 1.0 References: <20190506151539.69ee75e8@endymion> <20190506151656.47494e56@endymion> <04843f27-bb0f-d631-32c8-80cd122b7399@linux.intel.com> In-Reply-To: <04843f27-bb0f-d631-32c8-80cd122b7399@linux.intel.com> From: Dreamcat4 Date: Mon, 6 May 2019 15:30:26 +0100 Message-ID: Subject: Re: [PATCH 2/2] eeprom: ee1004: Deal with nack on page selection To: Jarkko Nikula Cc: Jean Delvare , LKML , Linux I2C , Arnd Bergmann , Greg Kroah-Hartman Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Don't mind either way, please do as you see fit On Mon, May 6, 2019 at 3:04 PM Jarkko Nikula wrote: > > On 5/6/19 4:16 PM, Jean Delvare wrote: > > Some EE1004 implementations will not properly ack page selection > > commands. They still set the page correctly, so there is no actual > > error. Deal with this case gracefully by checking the currently > > selected page after we receive a nack. If the page is set right then > > we can continue. > > > > Signed-off-by: Jean Delvare > > Tested-by: Jarkko Nikula > > Cc: Arnd Bergmann > > Cc: Greg Kroah-Hartman > > --- > > drivers/misc/eeprom/ee1004.c | 12 +++++++++++- > > 1 file changed, 11 insertions(+), 1 deletion(-) > > > Does Dreamcat4 deserve reported and tested by tags here? I guess > anonymous address is fine with those tags? > > (I re-tested these two patches on top of v5.1 and they make decode-dimms > working on a machine with 2-4 * Crucial DD4 dimms) > > -- > Jarkko