Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4318583ybc; Fri, 15 Nov 2019 02:43:26 -0800 (PST) X-Google-Smtp-Source: APXvYqxhW4aSLtFXy2v4t/FoQtDH/z8eLEXGOdmm3PACsxrd9Mqyyy7gOqJuNH5kWzVpFljxeoMb X-Received: by 2002:a17:907:447b:: with SMTP id oo19mr12596891ejb.81.1573814606088; Fri, 15 Nov 2019 02:43:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573814606; cv=none; d=google.com; s=arc-20160816; b=dbJWg3wrGMdgK7woNNCbxOHKZFza37tv4cyngqv9IAsgKGuE5dPChqd8RqEU58ihF6 G52DGeKSwi+GxBVQ8keKtHR4/D//Oeqxu3hKFnsDbg5IZVksR7VD5a5qhwuYNKVN+3Rb Ab9/OQElEMhLkl1iH71NCGeeSBHYWaTM7siGoqUlfWPfOVnwrLAHXh5OfhcVZgOM+QP/ Yd5aGOJxYz1SpucoPdqvg4CzR2pdh058vtg2QNfHvypBujdBbFI8PQsrh/lQQR7qiDHB p2KPCfbeEo9ZdkRVVqDH+vGTYbZU1ahbkhARvHqE/HzkRljDJ+zy2CrYx5qv7+sW4bw0 LJ1g== 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=sZ++OTuPO6CZ+10/YPxexGs+9BN/3XmrfWtpRIF0DC4=; b=LfgEMT3itrhXdLnzVTiF2typgcEuZHFJwAVFJPImevfiyaQEMvg2FDpWqFU+dAMzrC Fn3PT0WguwlLR/HmFVSUGJNV6iOr1bdlH74VkE2ESrYwIax1XJLwYDSd1cxZUGTGWJ4Z kViZneKY/mIA64P4INa3iX3KbzMmyoCqFqIDpEyV5B2wZSxqbHsj21Wjwe7HkVCnRq5E +3+/fvJ80t7YI7YrlwqRrwFUOs97X/R0O8ekLYkHgKqKGzYU6m8EUMvZNl22dSZVZgSC DzB2pjC+EBzQU5O7FjafIr0l8xT2AHpixzTCaP86bBQ/yKyCkJE+yrhvMr+d71DYZEOP njMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Jgtg2xpI; 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 k24si579075ejk.280.2019.11.15.02.43.00; Fri, 15 Nov 2019 02:43:26 -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=Jgtg2xpI; 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 S1727447AbfKOKiu (ORCPT + 99 others); Fri, 15 Nov 2019 05:38:50 -0500 Received: from mail-ua1-f67.google.com ([209.85.222.67]:35526 "EHLO mail-ua1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727122AbfKOKiu (ORCPT ); Fri, 15 Nov 2019 05:38:50 -0500 Received: by mail-ua1-f67.google.com with SMTP id s14so2869995uad.2 for ; Fri, 15 Nov 2019 02:38:49 -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=sZ++OTuPO6CZ+10/YPxexGs+9BN/3XmrfWtpRIF0DC4=; b=Jgtg2xpIT0dwdOdXRUAYtWgX6xEO5ERBK9nrN0ggu3CtBKZyQjYtKiHUsGK5GVzhTh eC2rddyP1BAGqiR9Dq9KmLE5Ags9wbKtnfehJDcokXym2kuAImlsKmvbIpFNh4k59CRk UDpOM5oNxENQNWJkLaTcA0OXRcQW2wxDUzgSMnUuwCY8+2OAt6aJbfS62hfAURhMZyF5 FWoRZBubYKZqZZh5/ov9OO47V+5UrdQLbNSiuCr/qiYxpB+60w63W8ww7aZ0Gh+gNpKn nCpRGaYDRG1J5o5cubgni0VZshY747rWRrnGJ8JFkiGbi2pj96GMjOCNvMbiya9BfzD5 aBbw== 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=sZ++OTuPO6CZ+10/YPxexGs+9BN/3XmrfWtpRIF0DC4=; b=f91O34gPth4VxegLN81VTyclEl6gdo805dTrf4atlZy1CZ+0i5pMHAFzosJL6NZ2wX ftnA3dDpLCj3gCZag2Q1tgNKrztRltxI3G2KfDjzi+yg/q67/bF73cX7UvRT7Fglszcp TFosrkV/tcao9asCpi5JapGHtPQgUfZQNx/dZl0A16NU84LIxiv4ISNrwx1ws3X5Q7FG qij2r0NtMno9Mq2mtdJCfKSMoUZ6SJ2hxaK6QbWSY97AXIjQN97OS/5HTmCWvU5jtMXY LEs9a1e+eU3AAKjTPNK5se9/vUFd1Sd+HPqlgCgJZ+IUrmvZphCXmZtaI3I2W1wf1IEd Zr/w== X-Gm-Message-State: APjAAAWKm0d60/NcHys9c0e6pjWeV8nDCHFa9jf76npJ2klMNIyZOIcQ 8KimHy9GzBjHyVI49Rih3G4IHNul2VoGklFPTj1uuw== X-Received: by 2002:ab0:2042:: with SMTP id g2mr8430889ual.19.1573814328587; Fri, 15 Nov 2019 02:38:48 -0800 (PST) MIME-Version: 1.0 References: <20191112134808.23546-1-erosca@de.adit-jv.com> <20191112204952.GA2976@kunai> <20191114113743.GA19656@vmlxhi-102.adit-jv.com> <20191114201514.GA3058@kunai> <20191115101205.GB2227@kunai> In-Reply-To: <20191115101205.GB2227@kunai> From: Ulf Hansson Date: Fri, 15 Nov 2019 11:38:12 +0100 Message-ID: Subject: Re: [PATCH] mmc: renesas_sdhi_internal_dmac: Add MMC_CAP_ERASE to Gen3 SoCs To: Wolfram Sang Cc: Eugeniu Rosca , Wolfram Sang , Yoshihiro Shimoda , =?UTF-8?Q?Niklas_S=C3=B6derlund?= , Geert Uytterhoeven , Simon Horman , "linux-mmc@vger.kernel.org" , Linux Kernel Mailing List , Linux-Renesas , Eugeniu Rosca , Harish Jenny K N , Andrew Gabbasov 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 On Fri, 15 Nov 2019 at 11:12, Wolfram Sang wrote: > > > > I think using a workqueue for scheduling a reset work with a timeout > > of 5 s, as in your case. > > Sorry, I didn't get it. You think what exactly? Is it good / bad / ok > for now / ok in general? Sorry. It's good for now! If/when you start implementing support for HW busy detection, then you need to adjust to the timeout value according to cmd->busy_timeout from the core. Kind regards Uffe