Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2497619yba; Mon, 6 May 2019 07:05:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUlJYUdtHvVNuiBsxbkCyIOCc+4x0KFaW7BZ6B/7MOg1JXzEkTn7Y4eGcYlbRJmXghDXUN X-Received: by 2002:a65:478a:: with SMTP id e10mr32328466pgs.310.1557151533386; Mon, 06 May 2019 07:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557151533; cv=none; d=google.com; s=arc-20160816; b=LcwnDgJa7j603klnma7ERpAZRKscdClhC2S4fMQNSXB0iHMLIbTutV7b2jsCnAKjfb a8S9HOhFgSK8ld0X1stp1H29MFR+4wH0pCggF4U0sKV9IwOQm7IefsznHvfxl3//61D5 jInyavXiHR5rxffr+VRNWZVnaZo+qRhkeQejug6jP0Nyf6DUHk8jlPock1KQMu+bXYGy NGCGL554DVxpqT5/RIqBlOohtCelMtGsTENU0vLzsv6qGzwNk8iG8LTzhwuFT+9LQQGJ EvKJVHY8Hc8Tao+//CZywAUhegkJX6bNVwsz5nD+ggMwQaeozOTHfN0j+499CimYrkER qEMg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=RJAlYDrXarzldK37OjmkTajHk1dK7HSawO/a+LsZX/A=; b=CWj7qN909MmDmsTZAS8d2TJEDhQDx8ZjjnsJGDbjl53z50TuGzBSUA2ph+c47h/Es8 xPwQQno+K9XKuNxTk05NKSF1ykrQll4QTvL7y6ZCI3gRZX90g/MT00UeAGsFqzB4ReQC TRZa5koX463ZDAyrwjL7I2EvMeG9EBdeKwvOuCc0BvTC/sbmZ6HxdUKM0sEux21aq8Fb zNlWtT+K4x+l/iiylsM8FDpRzVMDSvZq/REas9H66xL/KoYRfeC7HTvBp1RmgidAcrae 8aWo3DVSVFME+VEr0yKe5SsCEF9LlgD1LX2umA7qZjPkGkDAzpfC17UAI039RG+015ek 3e3g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ce12si16725096plb.46.2019.05.06.07.05.14; Mon, 06 May 2019 07:05:33 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726400AbfEFODh (ORCPT + 99 others); Mon, 6 May 2019 10:03:37 -0400 Received: from mga12.intel.com ([192.55.52.136]:48642 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726094AbfEFODg (ORCPT ); Mon, 6 May 2019 10:03:36 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 May 2019 07:03:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,438,1549958400"; d="scan'208";a="321973271" Received: from mylly.fi.intel.com (HELO [10.237.72.57]) ([10.237.72.57]) by orsmga005.jf.intel.com with ESMTP; 06 May 2019 07:03:21 -0700 Subject: Re: [PATCH 2/2] eeprom: ee1004: Deal with nack on page selection To: Jean Delvare , LKML Cc: Linux I2C , Arnd Bergmann , Greg Kroah-Hartman References: <20190506151539.69ee75e8@endymion> <20190506151656.47494e56@endymion> From: Jarkko Nikula Message-ID: <04843f27-bb0f-d631-32c8-80cd122b7399@linux.intel.com> Date: Mon, 6 May 2019 17:03:20 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190506151656.47494e56@endymion> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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