Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1039931rdh; Fri, 27 Oct 2023 03:03:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFzFgQRBK+Hf3n7sWF+PpfhbKe8if5DTgJ0VAroAaLdFrmm7t69AqfTBCxLUHbzbWggjG65 X-Received: by 2002:a05:6808:1898:b0:3ad:9c16:aa94 with SMTP id bi24-20020a056808189800b003ad9c16aa94mr2562038oib.33.1698401005409; Fri, 27 Oct 2023 03:03:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698401005; cv=none; d=google.com; s=arc-20160816; b=lDG8Iq1KDharVBIgCLT3rQ2cQjY4XsbUqysr23lKHTF9/aK+SAD3YlJLHUB5MFKOLx tYmJJ7mGcbqf7tJpftIlr1duC7qhC28+tfM12SIMsoUe7ye/mlsW03UQ1WGtWLyh3ePP RfSzKpUikuB4gfd6qzODe/J6oo3cpbz0B25G9syDr5gUoyAYulHnfTOalbbPMiT5HAI/ DPYtZIsGcGSTFP9a59CcYeI80IrjqI3baMGJsGnY2OczpwnPOjXuCJW1m7ltqTgRKLkE l2JkJEtZ8XuxIY3Q1+NLc7Bnt3TQNuhLZNPI0S8oYfqPLnFumTPARwZ0qxsdfvXZylez GwFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=YXE7lgarxwuv4Xl7UQk0cudPQAILR43rhjN5/cXQAig=; fh=4wTBew4/b6iMXFqLZSOinbhwJV/bDLoU97Ov3rNa7MA=; b=qmATesjl+oIvFG3KR90dDqP+JWZUH2lhgXnCkuIIidXgyQPTCI6gGcsFZ9C/B6j1bA rodjmdx7Y4m9EKPLTKOd8V6N4Hnxue7j9ZXvkdTYU8Sz8gBlWeE8dShg0TaTrV/1mHNX qKEf1ehyQKzkIUdggFGGT/4A2M0j8s5+3FAPUvVxLqxdZYy9nP12UjL2nVeOJB170raS w0C7Sm09c+O222qq5EKK4Z3XBBNYXQ1/G6a8hICoTdioG8x9cHwrSVMki6qdXEemOkTX G/SzkQ9rxU9ezpUzZHPzD2O4nZ5fBpL36zGKuRdAiq1AlOY1xL410wRI7KxmGLYsYPmH e6tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qlMKTcoM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id t6-20020a259086000000b00d9ab4eb48a1si2172178ybl.705.2023.10.27.03.03.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 03:03:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qlMKTcoM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 767AF830F557; Fri, 27 Oct 2023 03:03:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235036AbjJ0KDM (ORCPT + 99 others); Fri, 27 Oct 2023 06:03:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231386AbjJ0KDK (ORCPT ); Fri, 27 Oct 2023 06:03:10 -0400 Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 691AD194 for ; Fri, 27 Oct 2023 03:03:08 -0700 (PDT) Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-5a82c2eb50cso14499567b3.2 for ; Fri, 27 Oct 2023 03:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698400987; x=1699005787; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=YXE7lgarxwuv4Xl7UQk0cudPQAILR43rhjN5/cXQAig=; b=qlMKTcoMuz2ascR0kUAJFi8oBCTlpoi3kS1ibXH0Nmy/tbs1bgkQvLSGIaQcD5BWOQ Ub9MWQZYofB+qZdC7F+5+raVfyHzlcxcNk0+QIxokLaxiAZ/RBodjT14k70UgrthLiD3 ZqFHeGCmIQD7RBceA+A+aeH534GwNdGTMBf/3il1aI7RJk269zH5o6pTgJtHBuCllY3v 46AI6oa07c5F0LGiif2aJ3jyXlIxT5+Jhq6gPy6EQaZEgkNbF/dYPJJrnFwIY1/CYhsw /cnyJZlAAUevS1LrSqLTuyh/w5yAuLTlb5LxVFDm9YuNyd11TWvn/i4Gu6JkkgyDpD7i Hzcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698400987; x=1699005787; h=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=YXE7lgarxwuv4Xl7UQk0cudPQAILR43rhjN5/cXQAig=; b=eIXCrw7rkBLZKG160abbyOxyRCgfz49uhtrQQ9/ofAgEugccc6DLKCVEYF5MbiAxKt +N2BZ9/m8O6PvbGIK5lKSlHywzZY3gOR6yUoU3AMnE3Njle0UeLmuc2ktSy7xPBMEPxG 0nyimpIZElIjrbEuRzEBHDui9K/me4GvdL7WDRO5uyfJI7Q7+0QNBMOljyENq7IIz053 H9wZGfjSf/KccONfYeKHwaRUeyRPjCCNe8wGDyBRP59YLm19GgpUM061hjXYGFBLm7x/ 3Dlj7ltfNVLtSucZwDjTwVDiTjxwPrUUH31SyfwlfwDIkrI8FuMk+Ez03iwV1rN7a84m GxTg== X-Gm-Message-State: AOJu0YziTsdvp8wFFKxt/4EhQ2ia/NbkuA8aqAIsc29xgnfqgS3CTgxX VTbsKzvi4Pz4e+YgSDd/fK2284hOwWg+z8UQNdazDQ== X-Received: by 2002:a81:c80a:0:b0:5a8:5824:b953 with SMTP id n10-20020a81c80a000000b005a85824b953mr2187884ywi.8.1698400987537; Fri, 27 Oct 2023 03:03:07 -0700 (PDT) MIME-Version: 1.0 References: <20231026073156.2868310-1-rong.chen@amlogic.com> In-Reply-To: <20231026073156.2868310-1-rong.chen@amlogic.com> From: Ulf Hansson Date: Fri, 27 Oct 2023 12:02:31 +0200 Message-ID: Subject: Re: [PATCH v2] mmc: meson-gx: Remove setting of CMD_CFG_ERROR To: "Rong.Chen" Cc: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Fri, 27 Oct 2023 03:03:22 -0700 (PDT) On Thu, 26 Oct 2023 at 09:32, Rong.Chen wrote: > > From: Rong Chen > > For the t7 and older SoC families, the CMD_CFG_ERROR has no effect. > Starting from SoC family C3, setting this bit without SG LINK data > address will cause the controller to generate an IRQ and stop working. > > To fix it, don't set the bit CMD_CFG_ERROR anymore. > > Fixes: 18f92bc02f17 ("mmc: meson-gx: make sure the descriptor is stopped on errors") > Signed-off-by: Rong Chen Applied for fixes and by adding a stable tag, thanks! Kind regards Uffe > --- > drivers/mmc/host/meson-gx-mmc.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/mmc/host/meson-gx-mmc.c b/drivers/mmc/host/meson-gx-mmc.c > index 9837dab096e6..c7c067b9415a 100644 > --- a/drivers/mmc/host/meson-gx-mmc.c > +++ b/drivers/mmc/host/meson-gx-mmc.c > @@ -801,7 +801,6 @@ static void meson_mmc_start_cmd(struct mmc_host *mmc, struct mmc_command *cmd) > > cmd_cfg |= FIELD_PREP(CMD_CFG_CMD_INDEX_MASK, cmd->opcode); > cmd_cfg |= CMD_CFG_OWNER; /* owned by CPU */ > - cmd_cfg |= CMD_CFG_ERROR; /* stop in case of error */ > > meson_mmc_set_response_bits(cmd, &cmd_cfg); > > -- > 2.42.0 >