Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4826702yba; Tue, 30 Apr 2019 05:08:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfCzL+rvZJ8rFFCXphoyRWb25u7GBymlFr3mHT3Sg/otv7RWFKFSq4UQvk96qTop5RYx9d X-Received: by 2002:a17:902:822:: with SMTP id 31mr67996231plk.41.1556626104840; Tue, 30 Apr 2019 05:08:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556626104; cv=none; d=google.com; s=arc-20160816; b=aeqPqgqW5GFzagatkruk0eCF7jgjTHEPDARTyDofIxG7OXXswjZ4KpyaThq0E91ysq mTQwVs/MNUudRmB/0e8wvU0BaW4z3K3MKKvP48Ljo8/YaKiQqu4xA/NlO+kjsf2cW9Xg rRBuole7X1zERVa1b+SEeNfIcx9qJk070S4WtOBDb5XRpCGk3wjHwBryjZMtljFhbQRW 7V3uK0bK6DBHRuKXzqZVx6v0gZtJJMLSQAwC2hAfdQojN3KSU5c+w0di2/THQfXVdTPJ WHTdqepZg3wk75R0yRzijzMWJMNTz5mdBS45wkAG9TYgN91cQCEf8+OTGccVjVOOFv7T FZDg== 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:dkim-signature; bh=0TJCqpAByJcnuLJ0JtSeGC0DKLxILjaYjgU3/kNbuek=; b=B8QjPQ7ebv6QY+YVDOwy1ppiVeW+6jtlpLLoiC4rdW1QNElrxfi0YacloqBW0ixKlg 0tP2tir1EcTw4FpjxCYrjzYSLivsX8Ym46CEpGU01uBQJHmPY7ZD+dAsL4Mh7cBtJMSC wVOs/gZjbEfkh3fq9cGvwiPtsC5ZPt8znjKTEjfRYSFgm+rhiVKoEEgwTtuEyAgvYzE0 DIBaOGdrUiie0Z03hP8Gaxht7ukhCB03P1nohf7W1HmRRYxOLI9UhCsJXaMWauHpgCHs YYPEpHeJXMfTNe3gYywTOJSXC2qvlrvl5AlyY1MATm7rs8IcmLrurZwXdlypfLolYrIR TFSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=NmBhW31f; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4si36869552pfp.185.2019.04.30.05.08.06; Tue, 30 Apr 2019 05:08:24 -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=@st.com header.s=STMicroelectronics header.b=NmBhW31f; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728876AbfD3MHA (ORCPT + 99 others); Tue, 30 Apr 2019 08:07:00 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:51322 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727948AbfD3MG6 (ORCPT ); Tue, 30 Apr 2019 08:06:58 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3UBv3l2016156; Tue, 30 Apr 2019 14:06:47 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=STMicroelectronics; bh=0TJCqpAByJcnuLJ0JtSeGC0DKLxILjaYjgU3/kNbuek=; b=NmBhW31fR9zLCaqeXjHXtkG5/BQARi8G719yE+lA8MT+RIjgdhnjtI1rVcuizf7yT2ha fjDWIVwaVZSlTvU+BQ5dakHKoI4uCLaihfSydWw9ymEnQMIQw/okuMvLQsvrMGWXKxXZ GvMl+PTikZK8q0t2qdIM6Wp0qCLDy9SPY+96JOdYQJcfWmBAHr/aaxtWiOTacXyqWHrf OhfzASaUV7E5u14LxjwzJJcXL1ttxOO+/P3p/A2fZvY4GtqzZxcfIFzrtwOb5hAL8VqO AezCbzmDnt4DyRPwqmw/Ndi+MwL2iff+nGvUwXGhPOUAN1SdbLZ9QxNc/dxu4MPizXjI 7Q== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2s61q8dqy5-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 30 Apr 2019 14:06:47 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 082673A; Tue, 30 Apr 2019 12:06:47 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node1.st.com [10.75.127.16]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D06F22516; Tue, 30 Apr 2019 12:06:46 +0000 (GMT) Received: from [10.48.0.237] (10.75.127.48) by SFHDAG6NODE1.st.com (10.75.127.16) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 30 Apr 2019 14:06:46 +0200 Subject: Re: [PATCH V2 0/5] mmc: mmci: add busy detect for stm32 sdmmc variant To: Ulf Hansson CC: Rob Herring , Srinivas Kandagatla , Maxime Coquelin , Alexandre Torgue , Linux ARM , Linux Kernel Mailing List , DTML , "linux-mmc@vger.kernel.org" , References: <1556264798-18540-1-git-send-email-ludovic.Barre@st.com> From: Ludovic BARRE Message-ID: <74b91eb4-e5a3-38b2-f732-29cdd058eb6a@st.com> Date: Tue, 30 Apr 2019 14:06:45 +0200 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: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG1NODE2.st.com (10.75.127.2) To SFHDAG6NODE1.st.com (10.75.127.16) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-04-30_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/30/19 1:13 PM, Ulf Hansson wrote: > On Fri, 26 Apr 2019 at 09:46, Ludovic Barre wrote: >> >> From: Ludovic Barre >> >> This patch series adds busy detect for stm32 sdmmc variant. >> Some adaptations are required: >> -Avoid to check and poll busy status when is not expected. >> -Clear busy status bit if busy_detect_flag and busy_detect_mask are >> different. >> -Add hardware busy timeout with MMCIDATATIMER register. >> >> V2: >> -mmci_cmd_irq cleanup in separate patch. >> -simplify the busy_detect_flag exclude >> -replace sdmmc specific comment in >> "mmc: mmci: avoid fake busy polling in mmci_irq" >> to focus on common behavior >> >> Ludovic Barre (5): >> mmc: mmci: cleanup mmci_cmd_irq for busy detect feature >> mmc: mmci: avoid fake busy polling in mmci_irq >> mmc: mmci: fix clear of busy detect status >> mmc: mmci: add hardware busy timeout feature >> mmc: mmci: add busy detect for stm32 sdmmc variant >> >> drivers/mmc/host/mmci.c | 61 ++++++++++++++++++++++++++++++++++++++----------- >> drivers/mmc/host/mmci.h | 3 +++ >> 2 files changed, 51 insertions(+), 13 deletions(-) >> >> -- >> 2.7.4 >> > > Ludovic, just wanted to let you know that I am reviewing and testing > this series. > > However, while running some tests on Ux500 for validating the busy > detection code, even without your series applied, I encounter some odd > behaviors. I am looking into the problem to understand better and will > let you know as soon as I have some more data to share. Oops, don't hesitate to share your status, if I could help. > > Kind regards > Uffe >