From patchwork Wed Jun 28 13:35:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 106530 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1022825qge; Wed, 28 Jun 2017 06:35:17 -0700 (PDT) X-Received: by 10.98.152.208 with SMTP id d77mr7953206pfk.210.1498656917652; Wed, 28 Jun 2017 06:35:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498656917; cv=none; d=google.com; s=arc-20160816; b=wRAfhN1jpaxM1Pm74mwz961XchwhimosegLeKpeUWzQFCcHmAdMqKVBXmrhXz3qUhk CqS7R10hyxEg/Xq/IqDK9kE4m7TNlMBz9XA394r2M4T6w7AAxlGLfdJ2vHPBvORnIZa+ 1mj3kCZ2/NlP6IcpMqkk+3zg2WCF2MqzODny8GgWveUGjOpGgSkFKIFGGaWJFould4pC Tsmu6KJLnQNNatnlsUFspgHSRqYQ73wnM+/t/k+EAypIP5Y3HpfmGne9OJNWR3KOcXTO CDTez1bga4G+ZHBBP8mcdWQgAfWA9bNr6YBzPadkc/0nzqrz9ixRWbB4VM/vObcjImOy nHzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=F4CkNE+TsUdg31JrdH6vx2yEY95sJQTmNTkiZveIkTk=; b=dWntiKH0VD3jRxbvYR09Yom14fAJv0zX47woyqsoRPL+AidH64svvyzgF0NwkAvmhf o4VXI/JzeZNXjD4iuEMPEHcRqUqx8lC4ceIuHvJAf4ughgdwrsA+LR7zuI1PMSWq49jG 2YyRxqxfEZTmfvzSkYrsegHPcXNqI2/PJT4F10+OR706E8MCDW7OH1ayqrp4goWYTmzy vS3pvFZn05THIX1q76l5eNhz/ZOFSiOtPhxWYm7QnuvEr3vVDx30CxfjeGYmkAmdHgUM 8QN5xuboIa0QYmANrmhkiGNZ8owuGih7e2y9l70jJSH2Ap2LuYxOaizT9PD00y3iJJka WXJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=UqEWuLQ3; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (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 j187si1524506pgc.439.2017.06.28.06.35.17; Wed, 28 Jun 2017 06:35:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=UqEWuLQ3; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752068AbdF1NfP (ORCPT + 10 others); Wed, 28 Jun 2017 09:35:15 -0400 Received: from mail-io0-f172.google.com ([209.85.223.172]:33953 "EHLO mail-io0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752037AbdF1NfO (ORCPT ); Wed, 28 Jun 2017 09:35:14 -0400 Received: by mail-io0-f172.google.com with SMTP id r36so35597123ioi.1 for ; Wed, 28 Jun 2017 06:35:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=kzDqPdBiYnhrnzp66LN+u/DgSExk6nIKNpXqmt/8IEc=; b=UqEWuLQ3Buo0i/A9Vd0c1e9LbZXrVEEVtL+XWWlQj8/lPbbPZRUzg0bTxT8bQ/2OEE a5qlWTmDNEFybNKWyPl1Jm7cIv51hcUmLXliluGci6JNztnNf7/VjGzac8yiNV5MDjnQ 3bc7ziUCOOh6WgRVlJEBWwBIRrofYXJlPgF6w= 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=kzDqPdBiYnhrnzp66LN+u/DgSExk6nIKNpXqmt/8IEc=; b=AgEzjCAwuYsIvldOI2k5+G/y/3jQrcze+5T6VjkYftNtlg2PdbaK7AsuuN9egueFAq eksuZS6OYNldUqoya5naFauOwvXRNwEZlPwXwaCON6R4ybYfTP3j6I/oyYJb0bCFDvbN f5H7x8fr0CWzjIL7fgll1e6qgVqPByBG22YIpJVh4y7OoKMfdUKOtf7A5pxX4vWuW7b0 fA0P7O21GDAY8FXazVJblV0T5IMiQYn+zFYlYJRdWwkWLm7lmnefsi7CaQ922MvlFtXy hd+dypjqidoedHXNV5hNCuWkM/NjB3Z22tOGoWyTEvX8DG/93RTWNhLJ21uWCE1DRr90 dGiQ== X-Gm-Message-State: AIVw112PRobf53AlnwuxPQ44UrD+amaUroD+iI3FpMqkQ2YLi0s8lhJn KVPaaNgPvGRvd8Qq X-Received: by 10.107.32.70 with SMTP id g67mr1101871iog.75.1498656913130; Wed, 28 Jun 2017 06:35:13 -0700 (PDT) Received: from localhost.localdomain (static.8.26.4.46.clients.your-server.de. [46.4.26.8]) by smtp.gmail.com with ESMTPSA id h76sm2859553ith.24.2017.06.28.06.35.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Jun 2017 06:35:12 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: Adrian Hunter , Ulf Hansson Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Srinivas Kandagatla Subject: [RFC PATCH 0/2] mmc: sdhci: Add SDHCI_QUIRK2_BROKEN_SDMA_BOUNDARY_BUFFER Date: Wed, 28 Jun 2017 15:35:02 +0200 Message-Id: <20170628133504.17422-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.11.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Srinivas Kandagatla This patchset adds quirk to support cards which have issues when sdma boundary buffer bits are programmed in Block Size Register (0x04) when using ADMA. First patch adds quirk and second one uses that quirk in msm sdhci driver. Tested on DB410c with WLAN SDIO card. thanks, srini Srinivas Kandagatla (2): mmc: sdhci: add quirk SDHCI_QUIRK2_BROKEN_SDMA_BOUNDARY_BUFFER mmc: sdhci-msm: enable SDHCI_QUIRK2_BROKEN_SDMA_BOUNDARY_BUFFER drivers/mmc/host/sdhci-msm.c | 3 ++- drivers/mmc/host/sdhci.c | 24 ++++++++++++++++++------ drivers/mmc/host/sdhci.h | 2 ++ 3 files changed, 22 insertions(+), 7 deletions(-) -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html