From patchwork Wed Nov 13 07:53:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 179253 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp9247003ilf; Tue, 12 Nov 2019 23:53:45 -0800 (PST) X-Google-Smtp-Source: APXvYqxP24BDihiMFX7rqQmTwNXQ/AKxwNCdUr6XiakPJDBkDuTmk1F+o1NVQHPJhtI6whExTBe5 X-Received: by 2002:a05:6402:1b04:: with SMTP id by4mr2123609edb.218.1573631625211; Tue, 12 Nov 2019 23:53:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573631625; cv=none; d=google.com; s=arc-20160816; b=IEF/NKmlqjw6AxHp3ikCs9Z53Ul6r/Xad48KFGZ0kfxvpEgoyLfBWMi1rOCP+AOe1n FI9M5D1x1aZlJgJxQG0VPSQPI1WWPLXuw9wR8QIGSjN+SmwMIE7WSRj3UNMHyZ1Z776r rXkuCHBBZXPVhFaFK/jE54h9AO6fVEF+w/ljV1Bm+3TgoyM50VFuVNlsqYMRCN0fZjAb 0aHT+Btt8jCUXTYhPDoO+C++7YlHpP5Jl5fSReP/8eacRAxlhn3RQ5huv5P2mmz6Wc8v vulPLe/3B91giUV7wzFS3WQ03r2a6RO6+Lz+CamXQ/mGOdL2SrLViVrL9HR5hwWOdhZB 4gRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=XqEmLAzEQb9ps3ZlETCYtkOJ5L4AjuKlcBGtyB1ev2Y=; b=b2Cq3ayPTwE+wCpMYaXHRIWeC6xnYUBvYTDQXsiipU24X41WJDkRbtBf7iffBUvRGm NJWpHIDExe2sVihKOnkWO2WQE6JbBwYht+9XOVEtUvpYrbMJwIvqABngbgdQrzzHbbls B3qYwB98jghqKDGrErj8MQHnv3XJiygv+cz90kCYhh9rJrRMrHN2cQYvBCUxJD1TTT5q w97EYfqy4mvLgBMPO9RlMUyN1P7QlB3e4CWw3hKT7s6d/0P5pPiILcQbhPgxNbHrxBCx eI/Jpi7vsWmO3tSmllADvd67kUExzSO7M6GymNyPwVdNQz3fPMOB9VsRVjzKvHBw/uKt EFpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=URdTYiPP; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-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. [209.132.180.67]) by mx.google.com with ESMTP id s17si679078eju.113.2019.11.12.23.53.45; Tue, 12 Nov 2019 23:53:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=URdTYiPP; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-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 S1726074AbfKMHxo (ORCPT + 5 others); Wed, 13 Nov 2019 02:53:44 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:45245 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725908AbfKMHxo (ORCPT ); Wed, 13 Nov 2019 02:53:44 -0500 Received: by mail-lj1-f193.google.com with SMTP id n21so1400035ljg.12 for ; Tue, 12 Nov 2019 23:53:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XqEmLAzEQb9ps3ZlETCYtkOJ5L4AjuKlcBGtyB1ev2Y=; b=URdTYiPPZI+OHS8Y85BIshRaCjUVitFN0qeuAdugtAmJ8F9vgjtPkpCYsrV87m+UkL p3JzfSgYlS2qcthS7lixjMyYDeQAxpoEV4a65ZAhImKWQFu3Lr8oa5460070EyWTu13F u1KXR0ZcAMwMjhwgoxYWSipM8okmYD1J4/eUTBwXp3QhSRsv8/uUNAxEc2UIHjcGSy0D KrGfJKOJGZUKPYTlXuHNChKn/484p7Diy/9zc2WKOALA5QCp6iYOdyKyowuD77Qhggwy V5VaZievWht7aKQhV3v/IXDKbLosRF1SYib2iZ+rVV3s+l4uY8Qj5oVNuNCwDiGNg/hp 1CLw== 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:mime-version :content-transfer-encoding; bh=XqEmLAzEQb9ps3ZlETCYtkOJ5L4AjuKlcBGtyB1ev2Y=; b=kBC/cWPraOsbgnxr4QP4uCZcr01lWgaZU4x74cVm8U8FWbS+aRID3KvFZgeazFbdOe GHgx9OTg9IntgqZmTK2uJCunTK/sutwoyD+IHIcDtR3BMNWEuL8jri8r1/99KfSJB3oi 6vUZC5YHwia+gOMjXYl9ue4e5LcwcHyRnk2m9VLZy5VIezbufmXRqYg3czq4AOpZszVz PfPr9AnkahG3HoUZADRwwKrI+As7uSsZqwryjzOywEgz3im01k1/yJdfprou/dc+P5Z/ fgGMegduaiucUNdKFGLqQwrw70rRFo9fIX851SL5pD1NyanbgIuNhAB+sm3p52a86X5A kJ1Q== X-Gm-Message-State: APjAAAX1+ZsbFyukUN47o0/KAxk6sfm78O3JJLb+05yfgwo8Jk5aLpgV ylsCGA/MniMXb911u+EbyyLRPw== X-Received: by 2002:a05:651c:87:: with SMTP id 7mr1567752ljq.20.1573631621703; Tue, 12 Nov 2019 23:53:41 -0800 (PST) Received: from localhost.bredbandsbolaget (c-79c8225c.014-348-6c756e10.bbcust.telenor.se. [92.34.200.121]) by smtp.gmail.com with ESMTPSA id j10sm610110lfc.43.2019.11.12.23.53.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2019 23:53:40 -0800 (PST) From: Linus Walleij To: Ulf Hansson , linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stephan Gerhold Cc: Russell King , Linus Walleij Subject: [PATCH 0/3] MMCI odd buffer alignment fixes Date: Wed, 13 Nov 2019 08:53:32 +0100 Message-Id: <20191113075335.31775-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org This is an attempt to fix the three independent issues seen by Ulf in the MMCI driver. I am unable to test patches 2 & 3 since I can't provoke the right traffic, but I hope Stephan can try it with his Broadcom WiFi. Linus Walleij (2): mmc: mmci: Bail out from odd DMA on Ux500 mmc: mmci: Proper PIO residue handling Ulf Hansson (1): mmc: mmci: Support odd block sizes for ux500v2 and qcom variant drivers/mmc/host/mmci.c | 166 ++++++++++++++++++++++++++++++++++++---- drivers/mmc/host/mmci.h | 18 ++++- 2 files changed, 169 insertions(+), 15 deletions(-) -- 2.21.0