From patchwork Thu Mar 25 19:28:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Cooper X-Patchwork-Id: 12164893 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3321C433C1 for ; Thu, 25 Mar 2021 19:30:34 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2D986619E4 for ; Thu, 25 Mar 2021 19:30:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2D986619E4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=wqDfr/Vdus95sSszC8x41daUpgJ/ExgCdtMGmEXkMP0=; b=RZWglM2YDfDUUZxwBD/0tk9Oon yBbYlb6VdcHHfh3v0EwBx/6Fm2LRtG31D9ApjqO/0fyhd276OsogURdZhf75675hpQxGTbYlyoZTD ICNGy/+HhrVOEDOkzMFgOKCrOWL3QUGfxjjhpaUwOpsSO5t0oTooZrnZgM5vvjSUrOLvpyrne56OP JftCjB9F6O0slFzBeR8uMcXcWL9dB7np2uETudwIRtqtdCtM4aphL9VSb5aJl9wmbzaCh4R+v2g60 hM56G7q+trqaVOIHbTG3ExiMcvv2AP5oDpPBJoWGI3pZOjQl2+PL4Rt1na5ZiN5oin3eMR1uGRtLr wxcwKFZA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lPVf7-0025aj-5b; Thu, 25 Mar 2021 19:28:57 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lPVf1-0025Za-Sp for linux-arm-kernel@lists.infradead.org; Thu, 25 Mar 2021 19:28:53 +0000 Received: by mail-ed1-x529.google.com with SMTP id dm8so3736799edb.2 for ; Thu, 25 Mar 2021 12:28:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=quzKjEj1MtNh5k+TvieXlNYy4mtRV9X0SO8O1gUhSR0=; b=opjo8/NixDoaTA7r0J0M6qko/9RvqgWLvaV1mXIltHk/LPjRG+7CyIICAfCoFKlS1g 7zO5G1ZRyjl8EOWS6g0wfqN8ulx74Dqzdyxx7oI2Bzq36K2G/tlHLEwFy9vQnQWcwgrb C13YTsgj+kfAQ+dzXU3tUWW0zyZnp2K5ADPFgC/Wqc/bZsMXO5fWD1SWIQ7/kt5YSOd0 /Ehl3Z/hPdVEy610ftTErTifi1QoCVzyA36xt6qdJcme/Ah+2PH8bUuwdWMGjxuxhhi2 5VpLr2Vi56M0DbvQZR680Pw4vSYy8PkFF3caDNQo0xVsqYy8FpU2h1OL+QP67zbs6hpx vrMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=quzKjEj1MtNh5k+TvieXlNYy4mtRV9X0SO8O1gUhSR0=; b=LaDgcF1IBu6/QmFBbX+DGBwl94ffLRwaLfAsNxZpRjzk7mvMxrWe30+FBbkLm1u/y3 9dq7LcuZf1zy9daS7qYigxRuSTvknl5+/KuV91fz1gVdm0BTn4jqcjwyEU8sjqzjg3b1 gBxjEHsdxDfQyxgvBu57302U+35lTO84OrW3ENvZZodN+OS0tRcg/JjSXz/CE+Qum2BG otSql3d/V1KlQhW6FT8WfQtMoyGAHsv1hA2j9luLF5595Ps3zD7H6ACP5lBA42rBm4PS vwobxfUM1/8W3UfycClRGMhDKJuOXMgixkIASOdpLzGIm+BHCXY1CQ8DaQ1KotuaGGVM f84w== X-Gm-Message-State: AOAM530RyAjcvsFs+PvmrlqToVY+KFGV28MVlMO3m+9uBCSuZsuXEpbz VY2RxkcjAT5yVMD+k/HhdNo= X-Google-Smtp-Source: ABdhPJwruY07NORIAKjD4ra4ynyRSf4nbBMxJrUnfTuPAUO6aczH+RAbqpDo0VJNycosNCL7BR5q2Q== X-Received: by 2002:aa7:d316:: with SMTP id p22mr10542463edq.107.1616700530738; Thu, 25 Mar 2021 12:28:50 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id oy8sm2827471ejb.58.2021.03.25.12.28.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 12:28:50 -0700 (PDT) From: Al Cooper To: linux-kernel@vger.kernel.org Cc: Al Cooper , Adrian Hunter , bcm-kernel-feedback-list@broadcom.com, Florian Fainelli , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, Ulf Hansson Subject: [PATCH] mmc: sdhci-brcmstb: Remove CQE quirk Date: Thu, 25 Mar 2021 15:28:34 -0400 Message-Id: <20210325192834.42955-1-alcooperx@gmail.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210325_192852_042607_8F97BFD5 X-CRM114-Status: GOOD ( 11.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Remove the CQHCI_QUIRK_SHORT_TXFR_DESC_SZ quirk because the latest chips have this fixed and earlier chips have other CQE problems that prevent the feature from being enabled. Signed-off-by: Al Cooper Acked-by: Florian Fainelli --- drivers/mmc/host/sdhci-brcmstb.c | 1 - 1 file changed, 1 deletion(-) base-commit: e138138003eb3b3d06cc91cf2e8c5dec77e2a31e diff --git a/drivers/mmc/host/sdhci-brcmstb.c b/drivers/mmc/host/sdhci-brcmstb.c index f9780c65ebe9..f24623aac2db 100644 --- a/drivers/mmc/host/sdhci-brcmstb.c +++ b/drivers/mmc/host/sdhci-brcmstb.c @@ -199,7 +199,6 @@ static int sdhci_brcmstb_add_host(struct sdhci_host *host, if (dma64) { dev_dbg(mmc_dev(host->mmc), "Using 64 bit DMA\n"); cq_host->caps |= CQHCI_TASK_DESC_SZ_128; - cq_host->quirks |= CQHCI_QUIRK_SHORT_TXFR_DESC_SZ; } ret = cqhci_init(cq_host, host->mmc, dma64);