[PATCH] powerpc/64s/radix: Enable huge vmalloc mappings

2021-05-01 Thread Nicholas Piggin
This reduces TLB misses by nearly 30x on a `git diff` workload on a 2-node POWER9 (59,800 -> 2,100) and reduces CPU cycles by 0.54%, due to vfs hashes being allocated with 2MB pages. Acked-by: Michael Ellerman Signed-off-by: Nicholas Piggin --- This was in the -mm tree but was dropped at the

Re: [PATCH] Raise the minimum GCC version to 5.2

2021-05-01 Thread Joe Perches
On Sat, 2021-05-01 at 17:52 +0200, Miguel Ojeda wrote: > On Sat, May 1, 2021 at 5:17 PM Masahiro Yamada wrote: > > > > More cleanups will be possible as follow-up patches, but this one must > > be agreed and applied to the mainline first. > > +1 This will allow me to remove the __has_attribute

Re: [PATCH] Raise the minimum GCC version to 5.2

2021-05-01 Thread Christophe Leroy
Le 01/05/2021 à 17:52, Miguel Ojeda a écrit : On Sat, May 1, 2021 at 5:17 PM Masahiro Yamada wrote: More cleanups will be possible as follow-up patches, but this one must be agreed and applied to the mainline first. +1 This will allow me to remove the __has_attribute hack in

[PATCH v2] powerpc/powernv/memtrace: Fix dcache flushing

2021-05-01 Thread Sandipan Das
Trace memory is cleared and the corresponding dcache lines are flushed after allocation. However, this should not be done using the PFN. This adds the missing conversion to virtual address. Fixes: 2ac02e5ecec0 ("powerpc/mm: Remove dcache flush from memory remove.") Reviewed-by: Aneesh Kumar K.V

Re: [PATCH] Raise the minimum GCC version to 5.2

2021-05-01 Thread Miguel Ojeda
On Sat, May 1, 2021 at 5:17 PM Masahiro Yamada wrote: > > More cleanups will be possible as follow-up patches, but this one must > be agreed and applied to the mainline first. +1 This will allow me to remove the __has_attribute hack in include/linux/compiler_attributes.h. Reviewed-by: Miguel

Re: [PATCH] powerpc/powernv/memtrace: Fix dcache flushing

2021-05-01 Thread Sandipan Das
On 30/04/21 2:12 pm, Christophe Leroy wrote: > > > Le 30/04/2021 à 09:55, Sandipan Das a écrit : >> Trace memory is cleared and the corresponding dcache lines >> are flushed after allocation. However, this should not be >> done using the PFN. This adds the missing __va() conversion. >> >>

[PATCH] Raise the minimum GCC version to 5.2

2021-05-01 Thread Masahiro Yamada
The current minimum GCC version is 4.9 except ARCH=arm64 requiring GCC 5.1. When we discussed last time, we agreed to raise the minimum GCC version to 5.1 globally. [1] I'd like to propose GCC 5.2 to clean up arch/powerpc/Kconfig as well. This commit updates the minimum versions in

[PATCH RESEND] iov_iter: Use user_read_access_begin() instead of user_access_begin()

2021-05-01 Thread Christophe Leroy
copy_compat_iovec_from_user() only do unsafe_get_user(), it only requires read access. Signed-off-by: Christophe Leroy --- Resending with mm list in addition lib/iov_iter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/iov_iter.c b/lib/iov_iter.c index

Re: [PATCH 1/3] lib: early_string: allow early usage of some string functions

2021-05-01 Thread Christophe Leroy
Le 30/04/2021 à 10:50, Christophe Leroy a écrit : Le 30/04/2021 à 10:47, Christophe Leroy a écrit : Le 30/04/2021 à 06:22, Daniel Walker a écrit : This systems allows some string functions to be moved into lib/early_string.c and they will be prepended with "early_" and compiled without

RE: Radeon NI: GIT kernel with the nislands_smc commit doesn't boot on a Freescale P5040 board and P.A.Semi Nemo board

2021-05-01 Thread Deucher, Alexander
[AMD Public Use] + Gustavo, amd-gfx > -Original Message- > From: Christian Zigotzky > Sent: Friday, April 30, 2021 8:00 AM > To: gustavo...@kernel.org; Deucher, Alexander > > Cc: R.T.Dickinson ; Darren Stevens zone.net>; mad skateman ; linuxppc-dev > ; Olof Johansson ; > Maling