Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp952135pxp; Wed, 16 Mar 2022 22:26:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrZJLTOqpGcenbcIWL06Z7+N8URXpMhhaKCVxVRPj0g6fObohKGG1wKiwxagzMk31izwGS X-Received: by 2002:a05:6a00:1809:b0:4f7:673d:7de5 with SMTP id y9-20020a056a00180900b004f7673d7de5mr3024354pfa.52.1647494799380; Wed, 16 Mar 2022 22:26:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647494799; cv=none; d=google.com; s=arc-20160816; b=WjSxVax2X3f9eevLSX3T+JAZaa8o7lSj0vgLtEfzsXO9Nuk2N4T78dlp4fkJo8o7X7 oSUWTS2HwpP2s9RQKOoEGChCKQx7PVu5rAYUq/l2RmZK6hGEp1jDN/SxcqdP5OUIHEMf feEnJqcJdIzg1ob7nnc3v/AOXkfhPkYC/GqizbgmieP+/MpFp+pxTRCO+fEeJxiPF8G8 YAqQPG4EsAFBF0j4bv1o9p4e90hU72indG5j7lcGi0mRVt7ZCwEzEqkJcfp0AzoDH3wX U8UN5PKVevbjVK/FWzb/9TtKWJCMZEhKL1oN5S8tH4ZCv+CPmtGQCctuHSEM1sPUaM52 bUzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=XZtij7ykIKsDmITYVJPkRBid61vXscepVoRDQWzQCHM=; b=Qp9Dknl/dLNkwO22izdj/nlJI2uMtTV/BeAFBnfpQ21PUeOwNP9njp5u8nZ/ETT+E2 /CzhsyG/VNrNrGNpJ2YhZatZ7H4jyX0HMJv0YJ00K9c7dQPHkZpoERxxuoSgHYhd9Q8e dBuJVfGNWpw3a0rGKEkmi9vkZ1XKUDCH7+2nsepb/0I+ukWj9f9Yf1Y+4CMexc+1LjLj /DfTE34Ulr1uWfnGDdbMtgXOWB0p7x7qYDvt2SGZLdqg32TW+7GD4pFaqltrikp7RQr8 V3SqTHf9nA8uxYPj0UMv0hqZOzwLzcWzbuDDFHPPv1lhCIGw5d/4c5jJROuYose+oXGk J8ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=G42YMc0t; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j14-20020a63fc0e000000b003816043eeffsi1022003pgi.244.2022.03.16.22.26.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 22:26:39 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=G42YMc0t; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AAB2910C500; Wed, 16 Mar 2022 21:34:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355331AbiCPL3f (ORCPT + 99 others); Wed, 16 Mar 2022 07:29:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345749AbiCPL3a (ORCPT ); Wed, 16 Mar 2022 07:29:30 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40B141A82E; Wed, 16 Mar 2022 04:28:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647430096; x=1678966096; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=4jogdazBJV35LcyWiOHLVD3Ee6rHelFVxCPdz8kIHnk=; b=G42YMc0ts/GjkO7owmhptiEQEDYJmj7wkD+wQoIRl5U371SXIackCN0r C+tRMJdMyXdeBFDNhBYgu3GRa20cc/GBVUS37kvXJGQ3khJ5cPe4I/pm9 77Ea66fktW3KktaRT7fBylEqE1BouL5teaDLaXt2puIUvBryxBf2adJ1N hNVtHXBrCjlmvGBbh9Y1uQWPcQtmZi5nB213FGie/QzUKynCpp2rtw9co VGOGxDcjXzMmSo3qYMztlDhRryVK7euthufUGZ+2GHk80lJs3HDdSCQDX GU3rRjtgQciMbyRkdE8CqjLe6iMuHO1oDGN9b2s2wiD2+4vu2wfX6KOHa g==; X-IronPort-AV: E=McAfee;i="6200,9189,10286"; a="238720659" X-IronPort-AV: E=Sophos;i="5.90,186,1643702400"; d="scan'208";a="238720659" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2022 04:28:15 -0700 X-IronPort-AV: E=Sophos;i="5.90,186,1643702400"; d="scan'208";a="557395100" Received: from ahunter6-mobl1.ger.corp.intel.com (HELO [10.0.2.15]) ([10.252.35.28]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2022 04:28:13 -0700 Message-ID: <312d724c-e43f-d766-49fb-9c5b10fe8b07@intel.com> Date: Wed, 16 Mar 2022 13:28:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.5.0 Subject: Re: [PATCH] mmc: block: enable cache-flushing when mmc cache is on Content-Language: en-US To: Avri Altman , Michael Wu , "ulf.hansson@linaro.org" , "beanhuo@micron.com" , "porzio@gmail.com" Cc: "linux-mmc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , allwinner-opensource-support References: <20220312044315.7994-1-michael@allwinnertech.com> <83edf9a1-1712-5388-a3fa-d685f1f581df@intel.com> <88e53cb9-791f-ee58-9be8-76ae9986e0e2@allwinnertech.com> <32b29790-eb5c-dac0-1f91-aede38220914@allwinnertech.com> From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16.3.2022 13.09, Avri Altman wrote: >> Hi Avril & Adrian, >> Thanks for your efforts. Could we have an agreement now -- >> >> 1. enabling-cache and cmd23/reliable-write should be independent; >> >> Here's what I found in the spec JESD84-B51: >> > 6.6.31 Cache >> > Caching of data shall apply only for the single block >> > read/write(CMD17/24), pre-defined multiple block >> > read/write(CMD23+CMD18/25) and open ended multiple block >> > read/write(CMD18/25+CMD12) commands and excludes any other access >> > e.g., to the register space(e.g., CMD6). >> Which means with CMD18/25+CMD12 (without using CMD23), the cache can >> also be enabled. Maybe this could be an evidence of the independence >> between enabling-cache and cmd23/reliable-write? > Acked-by: Avri Altman > > Thanks, > Avri > >> >> 2. We don't consider supporting SD in this change. >> >> > On 14/03/2022 19:10, Avri Altman wrote: >> >> Here is what our SD system guys wrote: >> >> " In SD we don’t support reliable write and this eMMC driver may not >> >> be utilizing the cache feature we added in SD5.0. >> >> The method of cache flush is different between SD and eMMC." >> >> >> >> So adding SD seems to be out of scope of this change. >> >> Is there anything else I can do about this patch? Thanks again. So we are not going to let the block layer know about SD cache? Or is it a separate change?