Skip to content

mmc: sdhci: Add 64-bit ADMA support

Adrian Hunter linux-mmc 3 versions – Applied

Status from this message: Thanks! Applied for next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/215 patches 1 replyApplied
  2. v2 posting 1/21 patch 10 repliesSuperseded
  3. v115 patches 12 repliesApplied

Patches in v2 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/15mmc: sdhci: Fix incorrect ADMA2 descriptor table sizedrivers/mmc/host/sdhci.c+7 -10 replies
2/15mmc: sdhci: Fix ADMA page boundary warningsdrivers/mmc/host/sdhci.c+4 -20 replies
3/15mmc: sdhci: Fix ADMA table size warningdrivers/mmc/host/sdhci.c+1 -10 replies
4/15mmc: sdhci: Rename two ADMA-related functions for consistencydrivers/mmc/host/sdhci.c+7 -70 replies
5/15mmc: sdhci: Rename adma_desc to adma_tabledrivers/mmc/host/sdhci.c include/linux/mmc/sdhci.h+17 -160 replies
6/15mmc: sdhci: Add sdhci_adma_mark_end()drivers/mmc/host/sdhci.c+8 -10 replies
7/15mmc: sdhci: Use 'void *' for not 'u8 *' for ADMA datadrivers/mmc/host/sdhci.c include/linux/mmc/sdhci.h+8 -80 replies
8/15mmc: sdhci: Parameterize ADMA sizes and alignmentdrivers/mmc/host/sdhci.c include/linux/mmc/sdhci.h+41 -340 replies
9/15mmc: sdhci: Define maximum segmentsdrivers/mmc/host/sdhci.c drivers/mmc/host/sdhci.h+10 -40 replies
10/15mmc: sdhci: Define ADMA constantsdrivers/mmc/host/sdhci.c drivers/mmc/host/sdhci.h+23 -100 replies
11/15mmc: sdhci: Define ADMA descriptor structuredrivers/mmc/host/sdhci.c drivers/mmc/host/sdhci.h+18 -190 replies
12/15mmc: sdhci: Add 64-bit ADMA supportdrivers/mmc/host/sdhci.c drivers/mmc/host/sdhci.h include/linux/mmc/sdhci.h+102 -280 replies
13/15mmc: sdhci-acpi: Add 64-bit DMA supportdrivers/mmc/host/sdhci-acpi.c+24 -160 replies
14/15mmc: sdhci-pci: Add 64-bit DMA supportdrivers/mmc/host/sdhci-pci.c+12 -20 replies
15/15mmc: mmc_test: Extend "Badly aligned" tests for 8-byte alignmentdrivers/mmc/card/mmc_test.c+6 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 00/15] mmc: sdhci: Add 64-bit ADMA support

Hi

Here is V2 of the patches to add 64-bit ADMA support to the SDHCI driver. V2 fixes the warning:

drivers/mmc/host/sdhci.c: In function 'sdhci_adma_show_error':
drivers/mmc/host/sdhci.c:2314:10: warning: dereferencing 'void *' pointer

      attr = *desc;
             ^
drivers/mmc/host/sdhci.c:2314:8: error: void value not ignored as it ought to be
      attr = *desc;

that was found in:

mmc: sdhci: Use 'void *' for not 'u8 *' for ADMA data

And adjusts:

mmc: sdhci: Define ADMA descriptor structure

The result should be that the final tree is exactly the same.

Adrian Hunter (15):
mmc: sdhci: Fix incorrect ADMA2 descriptor table size
mmc: sdhci: Fix ADMA page boundary warnings
mmc: sdhci: Fix ADMA table size warning
mmc: sdhci: Rename two ADMA-related functions for consistency
mmc: sdhci: Rename adma_desc to adma_table
mmc: sdhci: Add sdhci_adma_mark_end()
mmc: sdhci: Use 'void *' for not 'u8 *' for ADMA data
mmc: sdhci: Parameterize ADMA sizes and alignment
mmc: sdhci: Define maximum segments
mmc: sdhci: Define ADMA constants
mmc: sdhci: Define ADMA descriptor structure
mmc: sdhci: Add 64-bit ADMA support
mmc: sdhci-acpi: Add 64-bit DMA support
mmc: sdhci-pci: Add 64-bit DMA support
mmc: mmc_test: Extend "Badly aligned" tests for 8-byte alignment

 drivers/mmc/card/mmc_test.c   |  10 +-
 drivers/mmc/host/sdhci-acpi.c |  41 +++++---
 drivers/mmc/host/sdhci-pci.c  |  14 ++-
 drivers/mmc/host/sdhci.c      | 226 +++++++++++++++++++++++++++---------------
 drivers/mmc/host/sdhci.h      |  41 ++++++++
 include/linux/mmc/sdhci.h     |  14 ++-
 6 files changed, 241 insertions(+), 105 deletions(-)

Regards
Adrian