Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2687046rdb; Wed, 15 Nov 2023 07:53:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IEPRVLn20PeD67YD5NVJbRz8izTd+aVVhY7bkTImpIdEhoBBoThakKDcD7mJD1GGL8QJEcq X-Received: by 2002:a05:6a20:7487:b0:184:7ec7:2bfb with SMTP id p7-20020a056a20748700b001847ec72bfbmr11255661pzd.11.1700063618052; Wed, 15 Nov 2023 07:53:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700063618; cv=none; d=google.com; s=arc-20160816; b=BAdPBUJzTR1J2xP8mF4W4RC+wBORj9iYwuAXvfvhotLeeUlpUvzss1wO52gRmsAgDV OonpW5A4j1N3XmSCfwdobWA/+xXs+T5zFIF7EsADvwSEtJnAYtmCUx+amU5OgFr0/pm3 80nSc1OgAxm9y0X/yamfg7mm0xZUHATOBw/2v5WBTQK4AEn8Ek/7yzdPTE9X5B7Znyuz OvGhEbjDpaES0JHfNXn+dkG+fk91lJYj6AwsQHqhNkRareGDxN1s5mgqTwkSJLpuiw6G SZAAfjCkT3hffr2SM7ADNJ99SvZ7cCdC8AaFWQ2SEHO2UzXeubogg2jj1ZoJXeq58Tz1 itWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=2pylINcL01yD77xhpL+jHM3PYJlt+NwgOinNtm8pq3k=; fh=yHR/OoQdRWNvp7chvG0D6YmGX4MReGShDvEzOiPgchI=; b=Or4sZML5Uq7v+eJ3ern6JcFZygI2ijP+UfufFLnnFtpCJBw7YhirrBYZeLoznqOqkN 7oDmKvJY4pGASXoRm6tk127ppHR4F84WTeiDLyZ+fg5zM5Hg2Tj6xP75BkSlW03/PSor BvKfiAaOkLAYPt5rqbC2wnE/pz+BnULf7v5YGmChSTQKiQf7bainYOfVny9+eTo8LAbu fccVU6BbYf7l6BQGfcrLvztFP+3L5/K2/3LbEC8f+KYSMrWjUOLyoirfapYVcaEVxh4V gVvolP80BqbGmTSPtuNQNlyg4D4M2uuf14cyl3fPO3DMyjWwyKmDDLoTcOnNKKMO9Jxi mslQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B+RbvBST; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id k64-20020a636f43000000b005b896ecd1efsi10361973pgc.172.2023.11.15.07.53.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 07:53:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B+RbvBST; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 44D1381489EF; Wed, 15 Nov 2023 07:53:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232654AbjKOPxA (ORCPT + 99 others); Wed, 15 Nov 2023 10:53:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232288AbjKOPwh (ORCPT ); Wed, 15 Nov 2023 10:52:37 -0500 Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FD8E1FF9 for ; Wed, 15 Nov 2023 07:51:52 -0800 (PST) Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-5a87ac9d245so80945107b3.3 for ; Wed, 15 Nov 2023 07:51:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700063511; x=1700668311; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2pylINcL01yD77xhpL+jHM3PYJlt+NwgOinNtm8pq3k=; b=B+RbvBST7aI9PFS1iePt1s+nnzVtmQYFsioSVQct/FOX6M+TC5IwFws7nbTpNgOUae 7AieerAKE8HaKTTqVLTR54rRhRt1SVeb768x/ecwt9tts5IsqQBFlkcwinZ+Ctkw47Xc J7MyV3j8djshUGTSuz83pyBUspCRzcrZx5H6TSkWsZAggDRx6Ucm3BNMu1YW1se3vYui TXCcvvwEFsVGMjNa/eK06tuAj9sLSPpCSGPW9v47bL5oDi4PC3Ko9YZFxzD+EeTq2T65 5OOzUMkkZL3KYmr6x0CAVQQ5FsUn5TZIi2A1eVjLdPkR+j9o3s3HoUPFBFKzIZZMXrkz 6RNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700063511; x=1700668311; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2pylINcL01yD77xhpL+jHM3PYJlt+NwgOinNtm8pq3k=; b=XWWRqQlxRDCs5vbH/3ktJQFTGpIv34r8ClzDMuev5+MPs6Ko4wQB1L9fXryVsFiUNS Uh+DMDtSyK4wNdjBP1eZa0WmjRnFz10+lPlcqVtrGG34vIxwviyZDZJlRCkP9ee80BQQ CTkHmHlAv37s9BTpRfn6ItfSGknd3T01h6WgNoK8IO1iDZF/XANTjIKeaDfuLgwLLfnr TQTPhl7yMiWDs0WaXh7QuZ7ww7glPEFaJdGhI5EQRWmyzg0G5e1YrNM1fW60vHq5Fp1i 14HiUonyb7+CfgNDmSuLVagQmRinRCKxFL6Uv4ASDyDfhieESA/AAVUT2afCy0nLsOVk 3TjQ== X-Gm-Message-State: AOJu0YwOIvuH65XMqb0EyQqBUV8EsleF430gNzxNNL8PsaBvBbd7BtT9 MV2wcxegEAIe49Wsq8aj6uONMk7hQIF8pipzF7xlIA== X-Received: by 2002:a0d:f5c3:0:b0:5a8:7cb2:15d0 with SMTP id e186-20020a0df5c3000000b005a87cb215d0mr13042799ywf.11.1700063511623; Wed, 15 Nov 2023 07:51:51 -0800 (PST) MIME-Version: 1.0 References: <20231103084720.6886-1-adrian.hunter@intel.com> In-Reply-To: <20231103084720.6886-1-adrian.hunter@intel.com> From: Ulf Hansson Date: Wed, 15 Nov 2023 16:51:15 +0100 Message-ID: Subject: Re: [PATCH V2 0/6] mmc: block: Fixes for CQE error recovery recovery To: Adrian Hunter Cc: =?UTF-8?Q?Kornel_Dul=C4=99ba?= , Radoslaw Biernacki , Gwendal Grignou , Asutosh Das , Chaotian Jing , Bhavya Kapoor , Kamal Dasu , Al Cooper , Haibo Chen , Shaik Sajida Bhanu , Sai Krishna Potthuri , Victor Shih , Ben Chuang , Thierry Reding , Aniruddha Tvs Rao , Chun-Hung Wu , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 15 Nov 2023 07:53:26 -0800 (PST) On Fri, 3 Nov 2023 at 09:48, Adrian Hunter wrote: > > Hi > > Some issues have been found with CQE error recovery. Here are some fixes= . > > As of V2, the alternative implementation for the patch from Kornel Dul=C4= =99ba: > > https://lore.kernel.org/linux-mmc/e7c12e07-7540-47ea-8891-2cec73d= 58df1@intel.com/T/#u > > is now included, see patch 6 "mmc: cqhci: Fix task clearing in CQE error > recovery") > > Please also note ->post_disable() seems to be missing from > cqhci_recovery_start(). It would be good if ->post_disable() > users could check if this needs attention. > > > Changes in V2: > > mmc: cqhci: Fix task clearing in CQE error recovery > New patch > > mmc: cqhci: Warn of halt or task clear failure > Add fixes and stable tags > > > Adrian Hunter (6): > mmc: block: Do not lose cache flush during CQE error recovery > mmc: cqhci: Increase recovery halt timeout > mmc: block: Be sure to wait while busy in CQE error recovery > mmc: block: Retry commands in CQE error recovery > mmc: cqhci: Warn of halt or task clear failure > mmc: cqhci: Fix task clearing in CQE error recovery > > drivers/mmc/core/block.c | 2 ++ > drivers/mmc/core/core.c | 9 +++++++-- > drivers/mmc/host/cqhci-core.c | 44 +++++++++++++++++++++----------------= ------ > 3 files changed, 31 insertions(+), 24 deletions(-) > > Applied for fixes, thanks! Kind regards Uffe