diff options
| -rw-r--r-- | .mailmap | 1 | ||||
| -rw-r--r-- | arch/arm64/include/asm/processor.h | 8 | ||||
| -rw-r--r-- | arch/arm64/mm/init.c | 2 | ||||
| -rw-r--r-- | arch/arm64/mm/mmu.c | 2 | ||||
| -rw-r--r-- | lib/raid6/test/Makefile | 4 |
5 files changed, 13 insertions, 4 deletions
| @@ -159,6 +159,7 @@ Peter Oruba <peter@oruba.de> | |||
| 159 | Peter Oruba <peter.oruba@amd.com> | 159 | Peter Oruba <peter.oruba@amd.com> |
| 160 | Pratyush Anand <pratyush.anand@gmail.com> <pratyush.anand@st.com> | 160 | Pratyush Anand <pratyush.anand@gmail.com> <pratyush.anand@st.com> |
| 161 | Praveen BP <praveenbp@ti.com> | 161 | Praveen BP <praveenbp@ti.com> |
| 162 | Punit Agrawal <punitagrawal@gmail.com> <punit.agrawal@arm.com> | ||
| 162 | Qais Yousef <qsyousef@gmail.com> <qais.yousef@imgtec.com> | 163 | Qais Yousef <qsyousef@gmail.com> <qais.yousef@imgtec.com> |
| 163 | Oleksij Rempel <linux@rempel-privat.de> <bug-track@fisher-privat.net> | 164 | Oleksij Rempel <linux@rempel-privat.de> <bug-track@fisher-privat.net> |
| 164 | Oleksij Rempel <linux@rempel-privat.de> <external.Oleksij.Rempel@de.bosch.com> | 165 | Oleksij Rempel <linux@rempel-privat.de> <external.Oleksij.Rempel@de.bosch.com> |
diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h index 3e2091708b8e..6b0d4dff5012 100644 --- a/arch/arm64/include/asm/processor.h +++ b/arch/arm64/include/asm/processor.h | |||
| @@ -24,6 +24,14 @@ | |||
| 24 | #define KERNEL_DS UL(-1) | 24 | #define KERNEL_DS UL(-1) |
| 25 | #define USER_DS (TASK_SIZE_64 - 1) | 25 | #define USER_DS (TASK_SIZE_64 - 1) |
| 26 | 26 | ||
| 27 | /* | ||
| 28 | * On arm64 systems, unaligned accesses by the CPU are cheap, and so there is | ||
| 29 | * no point in shifting all network buffers by 2 bytes just to make some IP | ||
| 30 | * header fields appear aligned in memory, potentially sacrificing some DMA | ||
| 31 | * performance on some platforms. | ||
| 32 | */ | ||
| 33 | #define NET_IP_ALIGN 0 | ||
| 34 | |||
| 27 | #ifndef __ASSEMBLY__ | 35 | #ifndef __ASSEMBLY__ |
| 28 | #ifdef __KERNEL__ | 36 | #ifdef __KERNEL__ |
| 29 | 37 | ||
diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c index 9d9582cac6c4..9b432d9fcada 100644 --- a/arch/arm64/mm/init.c +++ b/arch/arm64/mm/init.c | |||
| @@ -483,8 +483,6 @@ void __init arm64_memblock_init(void) | |||
| 483 | high_memory = __va(memblock_end_of_DRAM() - 1) + 1; | 483 | high_memory = __va(memblock_end_of_DRAM() - 1) + 1; |
| 484 | 484 | ||
| 485 | dma_contiguous_reserve(arm64_dma_phys_limit); | 485 | dma_contiguous_reserve(arm64_dma_phys_limit); |
| 486 | |||
| 487 | memblock_allow_resize(); | ||
| 488 | } | 486 | } |
| 489 | 487 | ||
| 490 | void __init bootmem_init(void) | 488 | void __init bootmem_init(void) |
diff --git a/arch/arm64/mm/mmu.c b/arch/arm64/mm/mmu.c index 394b8d554def..d1d6601b385d 100644 --- a/arch/arm64/mm/mmu.c +++ b/arch/arm64/mm/mmu.c | |||
| @@ -659,6 +659,8 @@ void __init paging_init(void) | |||
| 659 | 659 | ||
| 660 | memblock_free(__pa_symbol(init_pg_dir), | 660 | memblock_free(__pa_symbol(init_pg_dir), |
| 661 | __pa_symbol(init_pg_end) - __pa_symbol(init_pg_dir)); | 661 | __pa_symbol(init_pg_end) - __pa_symbol(init_pg_dir)); |
| 662 | |||
| 663 | memblock_allow_resize(); | ||
| 662 | } | 664 | } |
| 663 | 665 | ||
| 664 | /* | 666 | /* |
diff --git a/lib/raid6/test/Makefile b/lib/raid6/test/Makefile index 5d73f5cb4d8a..79777645cac9 100644 --- a/lib/raid6/test/Makefile +++ b/lib/raid6/test/Makefile | |||
| @@ -27,7 +27,7 @@ ifeq ($(ARCH),arm) | |||
| 27 | CFLAGS += -I../../../arch/arm/include -mfpu=neon | 27 | CFLAGS += -I../../../arch/arm/include -mfpu=neon |
| 28 | HAS_NEON = yes | 28 | HAS_NEON = yes |
| 29 | endif | 29 | endif |
| 30 | ifeq ($(ARCH),arm64) | 30 | ifeq ($(ARCH),aarch64) |
| 31 | CFLAGS += -I../../../arch/arm64/include | 31 | CFLAGS += -I../../../arch/arm64/include |
| 32 | HAS_NEON = yes | 32 | HAS_NEON = yes |
| 33 | endif | 33 | endif |
| @@ -41,7 +41,7 @@ ifeq ($(IS_X86),yes) | |||
| 41 | gcc -c -x assembler - >&/dev/null && \ | 41 | gcc -c -x assembler - >&/dev/null && \ |
| 42 | rm ./-.o && echo -DCONFIG_AS_AVX512=1) | 42 | rm ./-.o && echo -DCONFIG_AS_AVX512=1) |
| 43 | else ifeq ($(HAS_NEON),yes) | 43 | else ifeq ($(HAS_NEON),yes) |
| 44 | OBJS += neon.o neon1.o neon2.o neon4.o neon8.o | 44 | OBJS += neon.o neon1.o neon2.o neon4.o neon8.o recov_neon.o recov_neon_inner.o |
| 45 | CFLAGS += -DCONFIG_KERNEL_MODE_NEON=1 | 45 | CFLAGS += -DCONFIG_KERNEL_MODE_NEON=1 |
| 46 | else | 46 | else |
| 47 | HAS_ALTIVEC := $(shell printf '\#include <altivec.h>\nvector int a;\n' |\ | 47 | HAS_ALTIVEC := $(shell printf '\#include <altivec.h>\nvector int a;\n' |\ |
