Re: [PATCH 13/21] arc: dma-mapping: skip invalidating before bidirectional DMA

2023-04-04 Thread Shahab Vahedi
On 4/2/23 08:52, Vineet Gupta wrote: > CC Shahab > > On 3/27/23 17:43, Arnd Bergmann wrote: >> From: Arnd Bergmann >> >> Some architectures that need to invalidate buffers after bidirectional >> DMA because of speculative prefetching only do a simpler writeback >> before that DMA, while architectu

[PATCH] Fix backtrace message from arc_pmu_device_probe()

2023-04-04 Thread Nikolay Agishev
this_cpu_ptr() call causes backtrace with CONFIG_DEBUG_PREEMPT=y because it required non-preemptive mode. Stack Trace: arc_unwind_core+0xe8/0x118 dump_stack_lvl+0x2c/0x40 check_preemption_disabled+0xb4/0xb8 arc_pmu_device_probe+0x336/0x3c8 platform_probe+0x30/0x80 really_probe.part.0+0

include/linux/compiler_types.h:328:45: error: call to '__compiletime_assert_313' declared with attribute error: BUILD_BUG_ON failed: (PTRS_PER_PTE * sizeof(pte_t)) > PAGE_SIZE

2023-04-04 Thread kernel test robot
months ago config: arc-randconfig-r043-20230403 (https://download.01.org/0day-ci/archive/20230404/202304042243.qmbldzfx-...@intel.com/config) compiler: arc-elf-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross