Skip to contentSkip to conversation

mmc-mmc_spi-replace-flush_kernel_dcache_page-with-flush_dcache_page.patch removed from -mm tree

merged [email protected] 1 participant 1 message Sep 3, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mmc: mmc_spi: replace flush_kernel_dcache_page with flush_dcache_page
has been removed from the -mm tree. Its filename was
mmc-mmc_spi-replace-flush_kernel_dcache_page-with-flush_dcache_page.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Christoph Hellwig <[email protected]>
Subject: mmc: mmc_spi: replace flush_kernel_dcache_page with flush_dcache_page

Pages passed to block drivers can be mapped page cache pages, so we must use flush_dcache_page here instead of the more limited flush_kernel_dcache_page that is intended for highmem pages only.

Cc Alex Shi <[email protected]>
Cc Geoff Levand <[email protected]>
Cc Greentime Hu <[email protected]>
Cc Guo Ren <[email protected]>
Cc Helge Deller <[email protected]>
Cc "James E.J. Bottomley" <[email protected]>
Cc Nick Hu <[email protected]>
Cc Paul Cercueil <[email protected]>
Cc Rich Felker <[email protected]>
Cc Russell King <[email protected]>
Cc Thomas Bogendoerfer <[email protected]>
Cc Ulf Hansson <[email protected]>
Cc Vincent Chen <[email protected]>
Cc Yoshinori Sato <[email protected]>

---

 drivers/mmc/host/mmc_spi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/mmc_spi.c renamed from drivers/mmc/host/mmc_spi.c~mmc-mmc_spi-replace-flush_kernel_dcache_page-with-flush_dcache_page +1 -1
@@ -948,7 +948,7 @@ mmc_spi_data_do(struct mmc_spi_host *hos
 
 		/* discard mappings */
 		if (direction == DMA_FROM_DEVICE)
-			flush_kernel_dcache_page(sg_page(sg));
+			flush_dcache_page(sg_page(sg));
 		kunmap(sg_page(sg));
 		if (dma_dev)
 			dma_unmap_page(dma_dev, dma_addr, PAGE_SIZE, dir);

_

Patches currently in -mm which might be from [email protected] are

riscv-only-select-generic_ioremap-if-mmu-support-is-enabled.patch mm-move-ioremap_page_range-to-vmallocc.patch mm-dont-allow-executable-ioremap-mappings.patch proc-stop-using-seq_get_buf-in-proc_task_name.patch kernel-unexport-get_mmtask_exe_file.patch mm-unexport-folio_memcg_unlock.patch mm-unexport-unlock_page_memcg.patch