Re: arch/powerpc/kvm/book3s_hv_nested.c:264:6: error: stack frame size of 2304 bytes in function 'kvmhv_enter_nested_guest'

2021-06-20 Thread Nathan Chancellor
On 6/20/2021 4:59 PM, Nicholas Piggin wrote: Excerpts from kernel test robot's message of April 3, 2021 8:47 pm: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d93a0d43e3d0ba9e19387be4dae4a8d5b175a8d7 commit: 97e4910232fa1f81e806aa60c25a0450276d99a2

Re: [PATCH 0/2] powerpc/perf: Add instruction and data address registers to extended regs

2021-06-20 Thread Nageswara Sastry
On 20/06/21 8:15 pm, Athira Rajeev wrote: Patch set adds PMU registers namely Sampled Instruction Address Register (SIAR) and Sampled Data Address Register (SDAR) as part of extended regs in PowerPC. These registers provides the instruction/data address and adding these to extended regs helps

[powerpc:next-test] BUILD SUCCESS 41075908e941f30636a607e841c08d7941966e1b

2021-06-20 Thread kernel test robot
allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a001-20210620 i386 randconfig-a002-20210620 i386 randconfig-a003-20210620 i386 randconfig-a006

Re: [RESEND PATCH v4 08/11] powerpc: Initialize and use a temporary mm for patching

2021-06-20 Thread Daniel Axtens
Hi Chris, > + /* > + * Choose a randomized, page-aligned address from the range: > + * [PAGE_SIZE, DEFAULT_MAP_WINDOW - PAGE_SIZE] > + * The lower address bound is PAGE_SIZE to avoid the zero-page. > + * The upper address bound is DEFAULT_MAP_WINDOW - PAGE_SIZE to stay > +

Re: [RESEND PATCH v4 05/11] powerpc/64s: Add ability to skip SLB preload

2021-06-20 Thread Daniel Axtens
"Christopher M. Riedl" writes: > Switching to a different mm with Hash translation causes SLB entries to > be preloaded from the current thread_info. This reduces SLB faults, for > example when threads share a common mm but operate on different address > ranges. > > Preloading entries from the

Re: [PATCH] watchdog: Remove MV64x60 watchdog driver

2021-06-20 Thread gituser
Hi All, On Mon, Jun 07, 2021 at 04:29:50AM -0700, Guenter Roeck wrote: > On Mon, Jun 07, 2021 at 11:43:26AM +1000, Michael Ellerman wrote: > > Guenter Roeck writes: > > > On 5/17/21 4:17 AM, Michael Ellerman wrote: > > >> Guenter Roeck writes: > > >>> On 3/18/21 10:25 AM, Christophe Leroy

Re: arch/powerpc/kvm/book3s_hv_nested.c:264:6: error: stack frame size of 2304 bytes in function 'kvmhv_enter_nested_guest'

2021-06-20 Thread Nicholas Piggin
Excerpts from kernel test robot's message of April 3, 2021 8:47 pm: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: d93a0d43e3d0ba9e19387be4dae4a8d5b175a8d7 > commit: 97e4910232fa1f81e806aa60c25a0450276d99a2 linux/compiler-clang.h: > define

Re: [PATCH v2 2/9] powerpc: Add Microwatt device tree

2021-06-20 Thread Paul Mackerras
On Sat, Jun 19, 2021 at 09:26:16AM -0500, Segher Boessenkool wrote: > On Fri, Jun 18, 2021 at 01:44:16PM +1000, Paul Mackerras wrote: > > Microwatt currently runs with MSR[HV] = 0, > > That isn't compliant though? If your implementation does not have LPAR > it must set MSR[HV]=1 always. True -

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.13-6 tag

2021-06-20 Thread pr-tracker-bot
The pull request you sent on Sun, 20 Jun 2021 09:40:38 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.13-6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b84a7c286cecf0604a5f8bd5dfcd5e1ca7233e15 Thank you! --

[PATCH 0/2] powerpc/perf: Add instruction and data address registers to extended regs

2021-06-20 Thread Athira Rajeev
Patch set adds PMU registers namely Sampled Instruction Address Register (SIAR) and Sampled Data Address Register (SDAR) as part of extended regs in PowerPC. These registers provides the instruction/data address and adding these to extended regs helps in debug purposes. Patch 1/2 adds SIAR and

[PATCH 1/2] powerpc/perf: Expose instruction and data address registers as part of extended regs

2021-06-20 Thread Athira Rajeev
Patch adds support to include Sampled Instruction Address Register (SIAR) and Sampled Data Address Register (SDAR) SPRs as part of extended registers. Update the definition of PERF_REG_PMU_MASK_300/31 and PERF_REG_EXTENDED_MAX to include these SPR's. Signed-off-by: Athira Rajeev ---

[PATCH 2/2] tools/perf: Add perf tools support to expose instruction and data address registers as part of extended regs

2021-06-20 Thread Athira Rajeev
Patch enables presenting of Sampled Instruction Address Register (SIAR) and Sampled Data Address Register (SDAR) SPRs as part of extended regsiters for perf tool. Add these SPR's to sample_reg_mask in the tool side (to use with -I? option). Signed-off-by: Athira Rajeev ---

[powerpc:merge] BUILD SUCCESS 7f030e9d57b8ff6025bde4162f42378e6081126a

2021-06-20 Thread kernel test robot
allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a001-20210620 i386 randconfig-a002-20210620 i386 randconfig-a003-20210620 i386

[powerpc:next-test] BUILD REGRESSION 77ba1e2abc7474c5321cbf8d90366ec69150d0a2

2021-06-20 Thread kernel test robot
by kconfigs: gcc_recent_errors |-- powerpc-mpc885_ads_defconfig | `-- arch-powerpc-lib-code-patching.c:error:no-previous-prototype-for-poking_init `-- powerpc64-randconfig-r011-20210620 `-- arch-powerpc-lib-code-patching.c:warning:no-previous-prototype-for-poking_init clang_recent_errors

[powerpc:fixes-test] BUILD SUCCESS 60b7ed54a41b550d50caf7f2418db4a7e75b5bdc

2021-06-20 Thread kernel test robot
allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a001-20210620 i386 randconfig-a002-20210620 i386 randconfig-a003-20210620

Re: [PATCH v15 4/4] kasan: use MAX_PTRS_PER_* for early shadow tables

2021-06-20 Thread Andrey Konovalov
On Thu, Jun 17, 2021 at 12:30 PM Daniel Axtens wrote: > > powerpc has a variable number of PTRS_PER_*, set at runtime based > on the MMU that the kernel is booted under. > > This means the PTRS_PER_* are no longer constants, and therefore > breaks the build. Switch to using MAX_PTRS_PER_*, which

Re: [PATCH v15 3/4] mm: define default MAX_PTRS_PER_* in include/pgtable.h

2021-06-20 Thread Andrey Konovalov
On Thu, Jun 17, 2021 at 12:30 PM Daniel Axtens wrote: > > Commit c65e774fb3f6 ("x86/mm: Make PGDIR_SHIFT and PTRS_PER_P4D variable") > made PTRS_PER_P4D variable on x86 and introduced MAX_PTRS_PER_P4D as a > constant for cases which need a compile-time constant (e.g. fixed-size > arrays). > >

Re: [PATCH v15 2/4] kasan: allow architectures to provide an outline readiness check

2021-06-20 Thread Andrey Konovalov
On Thu, Jun 17, 2021 at 12:30 PM Daniel Axtens wrote: > > Allow architectures to define a kasan_arch_is_ready() hook that bails > out of any function that's about to touch the shadow unless the arch > says that it is ready for the memory to be accessed. This is fairly > uninvasive and should have

Re: [PATCH v15 1/4] kasan: allow an architecture to disable inline instrumentation

2021-06-20 Thread Andrey Konovalov
On Thu, Jun 17, 2021 at 12:30 PM Daniel Axtens wrote: > > For annoying architectural reasons, it's very difficult to support inline > instrumentation on powerpc64.* > > Add a Kconfig flag to allow an arch to disable inline. (It's a bit > annoying to be 'backwards', but I'm not aware of any way to

Re: [PATCH v2 6/9] powerpc/microwatt: Add support for hardware random number generator

2021-06-20 Thread Nicholas Piggin
Excerpts from Segher Boessenkool's message of June 20, 2021 12:36 am: > On Sat, Jun 19, 2021 at 01:08:51PM +1000, Nicholas Piggin wrote: >> Excerpts from Paul Mackerras's message of June 18, 2021 1:47 pm: >> > Microwatt's hardware RNG is accessed using the DARN instruction. >> >> I think we're