Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'csky-for-linus-5.14-rc1' of git://github.com/c-sky/csky-linux

Pull arch/csky updates from Guo Ren:
"A small cleanup and a fixup"

* tag 'csky-for-linus-5.14-rc1' of git://github.com/c-sky/csky-linux:
csky: Kconfig: Remove unused selects
csky: syscache: Fixup duplicate cache flush

+7 -8
-3
arch/csky/Kconfig
··· 76 76 select PERF_USE_VMALLOC if CPU_CK610 77 77 select RTC_LIB 78 78 select TIMER_OF 79 - select USB_ARCH_HAS_EHCI 80 - select USB_ARCH_HAS_OHCI 81 79 select GENERIC_PCI_IOMAP 82 80 select HAVE_PCI 83 81 select PCI_DOMAINS_GENERIC if PCI ··· 243 245 244 246 menuconfig HAVE_TCM 245 247 bool "Tightly-Coupled/Sram Memory" 246 - select GENERIC_ALLOCATOR 247 248 help 248 249 The implementation are not only used by TCM (Tightly-Coupled Meory) 249 250 but also used by sram on SOC bus. It follow existed linux tcm
+7 -5
arch/csky/mm/syscache.c
··· 12 12 int, cache) 13 13 { 14 14 switch (cache) { 15 - case ICACHE: 16 15 case BCACHE: 17 - flush_icache_mm_range(current->mm, 18 - (unsigned long)addr, 19 - (unsigned long)addr + bytes); 20 - fallthrough; 21 16 case DCACHE: 22 17 dcache_wb_range((unsigned long)addr, 18 + (unsigned long)addr + bytes); 19 + if (cache != BCACHE) 20 + break; 21 + fallthrough; 22 + case ICACHE: 23 + flush_icache_mm_range(current->mm, 24 + (unsigned long)addr, 23 25 (unsigned long)addr + bytes); 24 26 break; 25 27 default: