mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-23 11:40:16 +07:00

Use linux generic asid/vmid algorithm to implement csky switch_mm function. The algorithm is from arm and it could work with SMP system. It'll help reduce tlb flush for switch_mm in task/vm switch. Signed-off-by: Guo Ren <ren_guo@c-sky.com> Cc: Arnd Bergmann <arnd@arndb.de>
17 lines
325 B
Makefile
17 lines
325 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
ifeq ($(CONFIG_CPU_HAS_CACHEV2),y)
|
|
obj-y += cachev2.o
|
|
else
|
|
obj-y += cachev1.o
|
|
endif
|
|
|
|
obj-y += dma-mapping.o
|
|
obj-y += fault.o
|
|
obj-$(CONFIG_HIGHMEM) += highmem.o
|
|
obj-y += init.o
|
|
obj-y += ioremap.o
|
|
obj-y += syscache.o
|
|
obj-y += tlb.o
|
|
obj-y += asid.o
|
|
obj-y += context.o
|