Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5331238ybl; Tue, 10 Dec 2019 04:21:51 -0800 (PST) X-Google-Smtp-Source: APXvYqz/lekKefmwgxl/xAWqs3xZ1/IBWX42y/IUxIFAzrSaDTGBFACsoSHtouJPzdfbBZOch7tX X-Received: by 2002:aca:52c7:: with SMTP id g190mr3596809oib.84.1575980510905; Tue, 10 Dec 2019 04:21:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575980510; cv=none; d=google.com; s=arc-20160816; b=DCd3uiYzddw1tgdEAJq1bc80ABjrjvQ9xhbHCLQQU+crljbltGqeskmgGEOCzrCJ2+ k8NZZZVaqvI9N+TstwG7xJJiV0Q1/EZ/DH9HlrqEtwHu23wXOWlFSyeZDpQchKpEp/8Q B132nLzbS4vX7Nxwmd7km0YwgpPN1YfsiiezbD+gsf/dwp7bi5WCkL7EDSYVgUlNLjaj aZHz970rh7Iqczy58JZCXizzdWf7F7OE7VbDgrwPNao8AP49VwE8TA3IvBZk/rhI6IKV l2RThXX0KdR3HatP22VN7PvWU+fF4GZwNcwUIgUGRijUgTnyizGbnPpJICuTxIQlvt4h 8bKg== 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=+GXCkz0A083CnW2Auy3zOSjwo1M0I1o2oKHeSL9F3ck=; b=smTew4nLiEXfYRNZls8F5ivPA273yUB+TTAYkVFosXQgFbBWZx/y8SCGHNseWvL6AI gQ4p5CEM3WTucA4tFArhMR/O1PgckrWSX80dBDGUxYuPKWM6qS7wA+yXV0YDaAzbIDf/ ibpaFvn3ckaEKjaq3/wvMYHouLmCeKZr+Y+Ux7C6ndE3jxqwdgsiPTiMqUdiaNr7k0yN u0bTyzI5wB7HquGoRxaOq4MjfOTRUuLuYjJWR7s6jSQ7tQEZvmHNJgCNtlbBKY+dayXO PUsXHVhN8fAdRcNOQr96CTPZUBeX7PgHchQb2Dlt0brGKHXVS/CX9P0c7Fk0r3JVEBD0 Q1Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KyH5SEa3; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s22si1837295otq.10.2019.12.10.04.21.37; Tue, 10 Dec 2019 04:21:50 -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=@linaro.org header.s=google header.b=KyH5SEa3; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727380AbfLJMUz (ORCPT + 99 others); Tue, 10 Dec 2019 07:20:55 -0500 Received: from mail-ua1-f66.google.com ([209.85.222.66]:37340 "EHLO mail-ua1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727306AbfLJMUy (ORCPT ); Tue, 10 Dec 2019 07:20:54 -0500 Received: by mail-ua1-f66.google.com with SMTP id f9so6776444ual.4 for ; Tue, 10 Dec 2019 04:20:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+GXCkz0A083CnW2Auy3zOSjwo1M0I1o2oKHeSL9F3ck=; b=KyH5SEa3abXaiGToIC3ZdQDJPjQz7ehlNHa1ewyHS05ElloLcTSWUH0+HHxGSpmv35 0zlWrNuW20o6rR7byo5kwkQGHdbqOsjtqAk71j96a9o1pdQ8ZalAOazL9CCburkIWQg3 QHXevI2feYkETt3mDJ6WQBTmj6EZ2zjN/PiP6GJdTkujIbnhuW6Vce6LMqVPlCwGIfJt E8byyo1vnZ1FiSNFISAIBbopXvRnZtV3tsqzNmLNKEya3TQpuE8vYslVfw1+wssR+kLR KxGH+irE1aFPt39ROF9djLlen7lWYJ9nXFdNXFLZ3P2/XbWfdiiOcvpQVQe4QFLEAp4n WPaw== 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=+GXCkz0A083CnW2Auy3zOSjwo1M0I1o2oKHeSL9F3ck=; b=Vj3zA0rTI2HqSjy30RyH2q1+WOWJWw4LHXHAzjef6HcfV03D2mjyYGzud0FOoXR8J9 GIkRBNYuJJFcgwXUJFRfTYQ5EX7hDQMjrx5sgJbf4CJWIWwkoI8Q4wCpCcAChiQkorj0 1O+3MjR8YgPLPH7B1+gVAKwCiS5m2CsxoAMjTuTfxH/9t+VYtiijw+/fB/Hlj4P3Nc3p /Iqj0Xs58rsv2nhWj7ZCLQV9QRCQA+kBsMlPNBQ0ysdHEuq1OiKR61tFXKt/FBqKflvX mw9wpx4VBEJMBgP2/AT+g325mUY/OdH7Gg6cVBqJZgGLO6pKnsei8s5sVqhbvxm6RP2a RYbw== X-Gm-Message-State: APjAAAWuJNALUmG3+m++E3Mp4WXG5HevGlsbtMxTQFf8ypw2lE0NPj7O c7l0Ja4645vC2StHfC94HxyVhQcf7v0yHMOV+VIsOg== X-Received: by 2002:ab0:4ea6:: with SMTP id l38mr29080701uah.129.1575980453850; Tue, 10 Dec 2019 04:20:53 -0800 (PST) MIME-Version: 1.0 References: <20191113172514.19052-1-ludovic.Barre@st.com> In-Reply-To: From: Ulf Hansson Date: Tue, 10 Dec 2019 13:20:17 +0100 Message-ID: Subject: Re: [Linux-stm32] [PATCH 1/1] mmc: mmci: add threaded irq to abort DPSM of non-functional state To: Ludovic BARRE Cc: DTML , "linux-mmc@vger.kernel.org" , Linux Kernel Mailing List , Rob Herring , Srinivas Kandagatla , Maxime Coquelin , linux-stm32@st-md-mailman.stormreply.com, Linux ARM 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 Hi Ludovic, On Thu, 28 Nov 2019 at 15:06, Ludovic BARRE wrote: > > hi Ulf > > just a gentleman ping about this thread. > > small summarize: > This patch return an IRQ_WAKE_THREAD only when the variant is > busy_timeout capable and a datatimeout occurs on R1B request. > > So the threaded irq is called only to treat this specific error. > Normally, there is no impact on HW flow control or for legacy variants. Yes, this should work. > > In your previous message, you seem to suggest using threaded irq to > manage HW flow control (pio mode). But Like you mention below, the mmci > legacy could timing sensitive. > > For the moment, I prefer to use the threaded irq just to manage this > error. If needed, the irq threade could be extended later. > > What do you think about that? Yes, that's fine! I have another minor comment on the code, though, but posting that separately. [...] Kind regards Uffe