diff options
author | 2021-11-15 10:23:45 +0200 | |
---|---|---|
committer | 2021-11-17 10:34:06 +0100 | |
commit | 3d7c194b7c9ad414264935ad4f943a6ce285ebb1 (patch) | |
tree | 176d254f1a856af9b1af121d1b6e2d0011fff5a2 /net/unix/af_unix.c | |
parent | mmc: sdhci-esdhc-imx: disable CMDQ support (diff) | |
download | wireguard-linux-3d7c194b7c9ad414264935ad4f943a6ce285ebb1.tar.xz wireguard-linux-3d7c194b7c9ad414264935ad4f943a6ce285ebb1.zip |
mmc: sdhci: Fix ADMA for PAGE_SIZE >= 64KiB
The block layer forces a minimum segment size of PAGE_SIZE, so a segment
can be too big for the ADMA table, if PAGE_SIZE >= 64KiB. Fix by writing
multiple descriptors, noting that the ADMA table is sized for 4KiB chunks
anyway, so it will be big enough.
Reported-and-tested-by: Bough Chen <haibo.chen@nxp.com>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20211115082345.802238-1-adrian.hunter@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions