Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp363634ybz; Fri, 17 Apr 2020 02:32:44 -0700 (PDT) X-Google-Smtp-Source: APiQypKqOU440aau2E0McQuDtXzhRBhUuEyIHhw1ocuybTRmGpyz43zgXFccFkKtg41R+Ny+Pzmu X-Received: by 2002:a17:906:2988:: with SMTP id x8mr2101908eje.16.1587115964201; Fri, 17 Apr 2020 02:32:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587115964; cv=none; d=google.com; s=arc-20160816; b=w+a5xERci2b/bjNDnYkYrXr7iljiQ2mvSoCLf+/2Umld0WVSzUawtzN6t8gGIelhfr JSw0pIur/YTRmJznJAvV9xRDNAhPESHMI4kWOokrAIvIS4dYmMMzayXlmgw7Oj1TU4T1 Pn0gE3VjkOROnHmBTIo8s6/6SUYMUVV1lW7lOovTOcKaU5R93QoXxBfv873eHey1VRj7 RP8CpFJzbXTZ9LBhiYc6drhPnJ9PBvYAUhCGcNzqEVyP0/YPpA1ZkiPUsl0pBg6/vvZf wqM68lqs6Bhc80vvkUTMoZPztV4MOnDkPLXTAnwnNbmSQHoCrzxHl5dWiG3eWFXqGBiX rbDg== 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=wiAjeMfcURelxBHuZUMdahz3hslfuep2aSIiGdvB4+U=; b=Es5VTqbDT7RxDH1MmGH+jo/a9nWIWrX8OEne2P1WSuCCZZdGChI6TLT19oRxdfxFv5 TbAN7F09y6Cyd5EA8MbtiOHkyJHUKaAQur0XRYZOaSS536hdn43aN+NN/Y/RLQ6BKaZd MTtQrgvzq/XmH6n0hB8QdmYQkJyQVRVWo4ijFEuv5j7LtsiX6o16Lyy6NYibfsjt//1w XIZIwFxe8LwqZulZEGUOZu/+78045c8f5oy0o3K4vYuj7r93ksBnDdqM5Vrljiex8a67 z9A1dq5UG1Kt+mpDmatP0NB1Uy/BK4z/rZYSqcprtS4+F8a2QHRylWXHHd1qDnAG9JRN PH2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MjESJIAG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id c18si14762532edx.372.2020.04.17.02.32.20; Fri, 17 Apr 2020 02:32:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MjESJIAG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1730255AbgDQJb1 (ORCPT + 99 others); Fri, 17 Apr 2020 05:31:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730175AbgDQJb0 (ORCPT ); Fri, 17 Apr 2020 05:31:26 -0400 Received: from mail-vk1-xa41.google.com (mail-vk1-xa41.google.com [IPv6:2607:f8b0:4864:20::a41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 514C3C061A0C for ; Fri, 17 Apr 2020 02:31:26 -0700 (PDT) Received: by mail-vk1-xa41.google.com with SMTP id p123so399765vkg.1 for ; Fri, 17 Apr 2020 02:31:26 -0700 (PDT) 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=wiAjeMfcURelxBHuZUMdahz3hslfuep2aSIiGdvB4+U=; b=MjESJIAGjhwM+OrbAF9iPGpZJ/vkK1eikxiMgw0yxaSOcuysZ9JVFY/FVkUul49Yb+ ovf+VnarnjcO59QYSQd3TdLtK3EwPQLBRvbZrzEppGkSwL/E2vjW0Zi5wxDFNTnhFhjq Dw0Z7KvjigjoPpQ1Oi+ppIM/XAF+Q9U7X850eljiesC/vYF/04hRrI3MXW2XIiCKwnPW 2OFZTk0iC/A+Ph+H6IANq/DNHJPd6d9W0yvIPsQ+f6mrvDJ3sqydF5DKb/Tuc50PdYso ZYFrcO4wneJmMqPZGqcZ64OwN1shzuLS7/LRqsHjnYoec4cZEAuRv8fEmOvMRhRwCyhd Atjw== 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=wiAjeMfcURelxBHuZUMdahz3hslfuep2aSIiGdvB4+U=; b=ZF8XVpc+19a3PD51vAWccwcnp7NZM2e+3N4WNKdB/q9fQkTScTgWiKYhEeN+5yh4f0 7iCo7MHTc/M/ERTUsEVn6HOl9g/FPt9lMZCh6B4FmtMSRJLjcgHliz+8Rzkb+ZtbhYAp x0nkVJZm6ZOS5oNMhWnacIF9L5xnIXAIdXe9dwXHndkboE7Dg8xOd4v41vxYn+SU8CIT JSOS9rBKAcFfCb6lWQRgd0JQdsC0ZbtDXdHXddjoI3//ybFHCXHXYR7F6pB7jg/HUfEI x7d/YmYaBxuCm47x5mIRBAm1n4hKPA+Sn+/YCv387rvn0AqwjqnXnlq6dJ3VP6nLt3t0 h1nw== X-Gm-Message-State: AGi0PuaI6FLqt5hoXKT/mZ0S857ejydFYakQ14DZGEuZ+okd6lTeaumZ 6nuiJj7Gy7qSYXCSjwh/Bf15+6WX0S2btMW+6OL2OQ== X-Received: by 2002:a1f:5003:: with SMTP id e3mr1648075vkb.59.1587115883938; Fri, 17 Apr 2020 02:31:23 -0700 (PDT) MIME-Version: 1.0 References: <20200416183513.993763-1-martin.blumenstingl@googlemail.com> In-Reply-To: <20200416183513.993763-1-martin.blumenstingl@googlemail.com> From: Ulf Hansson Date: Fri, 17 Apr 2020 11:30:48 +0200 Message-ID: Subject: Re: [PATCH v2 0/2] meson-mx-sdhc card busy detection fixes To: Martin Blumenstingl Cc: "linux-mmc@vger.kernel.org" , "open list:ARM/Amlogic Meson..." , Linux ARM , Linux Kernel Mailing List 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 Thu, 16 Apr 2020 at 20:37, Martin Blumenstingl wrote: > > The following errors were observed with Linux 5.7-rc1 and an SD card > hooked up to the meson-mx-sdio controller: > mmc1: Card stuck being busy! __mmc_poll_for_busy > blk_update_request: I/O error, dev mmcblk1, sector 17111080 op > 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 0 > > > At least patch #1 should go to a -fixes branch so it can make it > into v5.7. Applied for both patches for fixes, and adding stable tags, thanks! Kind regards Uffe > > > Changes since v1 at [0]: > - added correct Fixes tag for patch #1 > - added a patch which drops the ->card_busy() implementation from > the meson-mx-sdio driver because this is not working > - special thanks to Ulf for taking the time to provide debug > patches, explaining things and answering my questions! > > > [0] https://patchwork.kernel.org/patch/11483621/ > > > Martin Blumenstingl (2): > mmc: meson-mx-sdio: Set MMC_CAP_WAIT_WHILE_BUSY > mmc: meson-mx-sdio: remove the broken ->card_busy() op > > drivers/mmc/host/meson-mx-sdio.c | 11 +---------- > 1 file changed, 1 insertion(+), 10 deletions(-) > > -- > 2.26.1 >