* Re: [PATCH] powerpc: powernv: Remove unneeded variable: "rc"
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: dingsenjie, mpe, paulus, benh; +Cc: dingsenjie, linuxppc-dev, linux-kernel
In-Reply-To: <20210326115356.12444-1-dingsenjie@163.com>
On Fri, 26 Mar 2021 19:53:56 +0800, dingsenjie@163.com wrote:
> Remove unneeded variable: "rc".
Applied to powerpc/next.
[1/1] powerpc: powernv: Remove unneeded variable: "rc"
https://git.kernel.org/powerpc/c/69931cc387cca289e0415c79ce5389119670066d
cheers
^ permalink raw reply
* Re: [PATCH] powerpc/chrp: Make hydra_init() static
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: Michael Ellerman, Paul Mackerras, Geert Uytterhoeven,
Benjamin Herrenschmidt, Oliver O'Halloran
Cc: linuxppc-dev, linux-kernel
In-Reply-To: <20210223095345.2139416-1-geert@linux-m68k.org>
On Tue, 23 Feb 2021 10:53:45 +0100, Geert Uytterhoeven wrote:
> Commit 407d418f2fd4c20a ("powerpc/chrp: Move PHB discovery") moved the
> sole call to hydra_init() to the source file where it is defined, so it
> can be made static.
Applied to powerpc/next.
[1/1] powerpc/chrp: Make hydra_init() static
https://git.kernel.org/powerpc/c/9634afa67bfd933b231405d05dda37ffa169f32c
cheers
^ permalink raw reply
* Re: [PATCH] powerpc/ptrace: Remove duplicate check from pt_regs_check()
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: Denis Efremov, Benjamin Herrenschmidt
Cc: linuxppc-dev, Paul Mackerras, linux-kernel
In-Reply-To: <20210305112807.26299-1-efremov@linux.com>
On Fri, 5 Mar 2021 14:28:07 +0300, Denis Efremov wrote:
> "offsetof(struct pt_regs, msr) == offsetof(struct user_pt_regs, msr)"
> checked in pt_regs_check() twice in a row. Remove the second check.
Applied to powerpc/next.
[1/1] powerpc/ptrace: Remove duplicate check from pt_regs_check()
https://git.kernel.org/powerpc/c/0b71b37241784c309bea6bd6a9d2027943c4ab94
cheers
^ permalink raw reply
* Re: [PATCH] powerpc: arch/powerpc/kernel/setup_64.c - cleanup warnings
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: npiggin, He Ying, clg, dja, rppt, mpe, christophe.leroy, benh,
aneesh.kumar, paulus, akpm, ardb
Cc: johnny.chenyi, linuxppc-dev, linux-kernel
In-Reply-To: <20210316041148.29694-1-heying24@huawei.com>
On Tue, 16 Mar 2021 00:11:48 -0400, He Ying wrote:
> warning: symbol 'rfi_flush' was not declared.
> warning: symbol 'entry_flush' was not declared.
> warning: symbol 'uaccess_flush' was not declared.
> We found warnings above in arch/powerpc/kernel/setup_64.c by using
> sparse tool.
>
> Define 'entry_flush' and 'uaccess_flush' as static because they are not
> referenced outside the file. Include asm/security_features.h in which
> 'rfi_flush' is declared.
Applied to powerpc/next.
[1/1] powerpc: arch/powerpc/kernel/setup_64.c - cleanup warnings
https://git.kernel.org/powerpc/c/d2313da4ff56bd631a3afe7a17992ed5bd0e04a6
cheers
^ permalink raw reply
* Re: [PATCH] powerpc/pci: fix warning comparing pointer to 0
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: mpe, Jiapeng Chong; +Cc: paulus, linuxppc-dev, linux-kernel
In-Reply-To: <1615793724-97015-1-git-send-email-jiapeng.chong@linux.alibaba.com>
On Mon, 15 Mar 2021 15:35:24 +0800, Jiapeng Chong wrote:
> Fix the following coccicheck warning:
>
> ./arch/powerpc/platforms/maple/pci.c:37:16-17: WARNING comparing pointer
> to 0.
Applied to powerpc/next.
[1/1] powerpc/pci: fix warning comparing pointer to 0
https://git.kernel.org/powerpc/c/7a0fdc19f2415683f403abee7bb87085d0c624ad
cheers
^ permalink raw reply
* Re: [PATCH] powerpc: remove unneeded semicolon
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: mpe, Jiapeng Chong; +Cc: paulus, linuxppc-dev, linux-kernel
In-Reply-To: <1614151761-53721-1-git-send-email-jiapeng.chong@linux.alibaba.com>
On Wed, 24 Feb 2021 15:29:21 +0800, Jiapeng Chong wrote:
> Fix the following coccicheck warnings:
>
> ./arch/powerpc/kernel/prom_init.c:2986:2-3: Unneeded semicolon.
Applied to powerpc/next.
[1/1] powerpc: remove unneeded semicolon
https://git.kernel.org/powerpc/c/4f46d57cab3b3410411b395a6fa12a07947cb14a
cheers
^ permalink raw reply
* Re: [PATCH] cxl: don't manipulate the mm.mm_users field directly
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: gregkh, fbarrat, arnd, ajd, Laurent Dufour
Cc: clombard, linuxppc-dev, linux-kernel
In-Reply-To: <20210310174405.51044-1-ldufour@linux.ibm.com>
On Wed, 10 Mar 2021 18:44:05 +0100, Laurent Dufour wrote:
> It is better to rely on the API provided by the MM layer instead of
> directly manipulating the mm_users field.
Applied to powerpc/next.
[1/1] cxl: don't manipulate the mm.mm_users field directly
https://git.kernel.org/powerpc/c/2d9f69bc5a5a75579b410beb0dc3d313be762c9f
cheers
^ permalink raw reply
* Re: [PATCH v2] powerpc/pseries: export LPAR security flavor in lparcfg
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: linuxppc-dev, mpe, benh, paulus, Laurent Dufour
Cc: nathanl, cheloha, linux-kernel
In-Reply-To: <20210305125554.5165-1-ldufour@linux.ibm.com>
On Fri, 5 Mar 2021 13:55:54 +0100, Laurent Dufour wrote:
> This is helpful to read the security flavor from inside the LPAR.
>
> In /sys/kernel/debug/powerpc/security_features it can be seen if
> mitigations are on or off but the level set through the ASMI menu.
> Furthermore, reporting it through /proc/powerpc/lparcfg allows an easy
> processing by the lparstat command [1].
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/pseries: export LPAR security flavor in lparcfg
https://git.kernel.org/powerpc/c/6ce56e1ac380eaa088d3f4c01446e15e195bd541
cheers
^ permalink raw reply
* Re: [RESEND 1/1] powerpc: asm: hvconsole: Move 'hvc_vio_init_early's prototype to shared location
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: Lee Jones; +Cc: Paul Mackerras, linuxppc-dev, linux-kernel
In-Reply-To: <20210303124603.3150175-1-lee.jones@linaro.org>
On Wed, 3 Mar 2021 12:46:03 +0000, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):
>
> drivers/tty/hvc/hvc_vio.c:385:13: warning: no previous prototype for ‘hvc_vio_init_early’ [-Wmissing-prototypes]
> 385 | void __init hvc_vio_init_early(void)
> | ^~~~~~~~~~~~~~~~~~
Applied to powerpc/next.
[1/1] powerpc: asm: hvconsole: Move 'hvc_vio_init_early's prototype to shared location
https://git.kernel.org/powerpc/c/13b8219bd00d953cad60431cb47db96eb835c71d
cheers
^ permalink raw reply
* Re: [PATCH] powerpc/iommu/debug: fix ifnullfree.cocci warnings
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: kernel test robot, Alexey Kardashevskiy
Cc: kbuild-all, Niklas Schnelle, linux-kernel, Nicolin Chen,
Paul Mackerras, linuxppc-dev
In-Reply-To: <20210318234441.GA63469@f8e20a472e81>
On Fri, 19 Mar 2021 07:44:41 +0800, kernel test robot wrote:
> arch/powerpc/kernel/iommu.c:76:2-16: WARNING: NULL check before some freeing functions is not needed.
>
> NULL check before some freeing functions is not needed.
>
> Based on checkpatch warning
> "kfree(NULL) is safe this check is probably not required"
> and kfreeaddr.cocci by Julia Lawall.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/iommu/debug: fix ifnullfree.cocci warnings
https://git.kernel.org/powerpc/c/bbbe563f8490958861777d98871e16960163ea1b
cheers
^ permalink raw reply
* Re: [PATCH] arch/powerpc/include:fix misspellings in tlbflush.h
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: mpe, menglong8.dong; +Cc: paulus, zhang.yunkai, linuxppc-dev, linux-kernel
In-Reply-To: <20210304031318.188447-1-zhang.yunkai@zte.com.cn>
On Wed, 3 Mar 2021 19:13:18 -0800, menglong8.dong@gmail.com wrote:
> Some typos are found out.The information at the end of the file
> does not match the beginning.
Applied to powerpc/next.
[1/1] arch/powerpc/include:fix misspellings in tlbflush.h
https://git.kernel.org/powerpc/c/1a029e0edbc5890f76b642222d9899c093212fe6
cheers
^ permalink raw reply
* Re: [PATCH] powerpc/64s: Fold update_current_thread_[i]amr() into their only callers
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: Michael Ellerman, linuxppc-dev
In-Reply-To: <20210314093320.132331-1-mpe@ellerman.id.au>
On Sun, 14 Mar 2021 20:33:20 +1100, Michael Ellerman wrote:
> lkp reported warnings in some configuration due to
> update_current_thread_amr() being unused:
>
> arch/powerpc/mm/book3s64/pkeys.c:284:20: error: unused function 'update_current_thread_amr'
> static inline void update_current_thread_amr(u64 value)
>
> Which is because it's only use is inside an ifdef. We could move it
> inside the ifdef, but it's a single line function and only has one
> caller, so just fold it in.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/64s: Fold update_current_thread_[i]amr() into their only callers
https://git.kernel.org/powerpc/c/c2a2a5d0270c641ce030aee247569afc1a0efbe5
cheers
^ permalink raw reply
* Re: [PATCH] powerpc: Fix section mismatch warning in smp_setup_pacas()
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: Michael Ellerman, linuxppc-dev
In-Reply-To: <20210314093333.132657-1-mpe@ellerman.id.au>
On Sun, 14 Mar 2021 20:33:33 +1100, Michael Ellerman wrote:
> Section mismatch in reference from the function .smp_setup_pacas() to
> the function .init.text:.allocate_paca()
>
> The only caller of smp_setup_pacas() is setup_arch() which is __init,
> so mark smp_setup_pacas() __init.
Applied to powerpc/next.
[1/1] powerpc: Fix section mismatch warning in smp_setup_pacas()
https://git.kernel.org/powerpc/c/55c2f5574a013d2dbf1012a2ad93cb8d947279a7
cheers
^ permalink raw reply
* Re: [PATCH] powerpc/eeh: Fix build failure with CONFIG_PROC_FS=n
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: Michael Ellerman, linuxppc-dev
In-Reply-To: <20210314093300.131998-1-mpe@ellerman.id.au>
On Sun, 14 Mar 2021 20:33:00 +1100, Michael Ellerman wrote:
> The build fails with CONFIG_PROC_FS=n:
>
> arch/powerpc/kernel/eeh.c:1571:12: error: ‘proc_eeh_show’ defined but not used
> 1571 | static int proc_eeh_show(struct seq_file *m, void *v)
>
> Wrap proc_eeh_show() in an ifdef to avoid it.
Applied to powerpc/next.
[1/1] powerpc/eeh: Fix build failure with CONFIG_PROC_FS=n
https://git.kernel.org/powerpc/c/7a7685acd2129e2e5d433636120b4c5038c03e51
cheers
^ permalink raw reply
* Re: [PATCH] powerpc/fadump: Mark fadump_calculate_reserve_size as __init
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: Michael Ellerman, Nathan Chancellor
Cc: linuxppc-dev, Paul Mackerras, linux-kernel, clang-built-linux
In-Reply-To: <20210302195013.2626335-1-nathan@kernel.org>
On Tue, 2 Mar 2021 12:50:14 -0700, Nathan Chancellor wrote:
> If fadump_calculate_reserve_size() is not inlined, there is a modpost
> warning:
>
> WARNING: modpost: vmlinux.o(.text+0x5196c): Section mismatch in
> reference from the function fadump_calculate_reserve_size() to the
> function .init.text:parse_crashkernel()
> The function fadump_calculate_reserve_size() references
> the function __init parse_crashkernel().
> This is often because fadump_calculate_reserve_size lacks a __init
> annotation or the annotation of parse_crashkernel is wrong.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/fadump: Mark fadump_calculate_reserve_size as __init
https://git.kernel.org/powerpc/c/fbced1546eaaab57a32e56c974ea8acf10c6abd8
cheers
^ permalink raw reply
* Re: [PATCH] powerpc/fsl-pci: Fix section mismatch warning
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: Michael Ellerman, linuxppc-dev
In-Reply-To: <20210314093341.132986-1-mpe@ellerman.id.au>
On Sun, 14 Mar 2021 20:33:41 +1100, Michael Ellerman wrote:
> Section mismatch in reference from the function .fsl_add_bridge() to
> the function .init.text:.setup_pci_cmd()
>
> fsl_add_bridge() is not __init, and can't be, and is the only caller
> of setup_pci_cmd(). Fix it by making setup_pci_cmd() non-init.
Applied to powerpc/next.
[1/1] powerpc/fsl-pci: Fix section mismatch warning
https://git.kernel.org/powerpc/c/b77878052a142737522e0e3c2a621c988a4cd7cd
cheers
^ permalink raw reply
* Re: [PATCH v7] powerpc/irq: Inline call_do_irq() and call_do_softirq()
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: Michael Ellerman, linuxppc-dev
In-Reply-To: <20210320122227.345427-1-mpe@ellerman.id.au>
On Sat, 20 Mar 2021 23:22:27 +1100, Michael Ellerman wrote:
> call_do_irq() and call_do_softirq() are simple enough to be
> worth inlining.
>
> Inlining them avoids an mflr/mtlr pair plus a save/reload on stack. It
> also allows GCC to keep the saved ksp_limit in an nonvolatile reg.
>
> This is inspired from S390 arch. Several other arches do more or
> less the same. The way sparc arch does seems odd thought.
Applied to powerpc/next.
[1/1] powerpc/irq: Inline call_do_irq() and call_do_softirq()
https://git.kernel.org/powerpc/c/48cf12d88969bd4238b8769767eb476970319d93
cheers
^ permalink raw reply
* Re: [PATCH v2] selftests/powerpc: Fix L1D flushing tests for Power10
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: Russell Currey, linuxppc-dev; +Cc: dja
In-Reply-To: <20210223070227.2916871-1-ruscur@russell.cc>
On Tue, 23 Feb 2021 17:02:27 +1000, Russell Currey wrote:
> The rfi_flush and entry_flush selftests work by using the PM_LD_MISS_L1
> perf event to count L1D misses. The value of this event has changed
> over time:
>
> - Power7 uses 0x400f0
> - Power8 and Power9 use both 0x400f0 and 0x3e054
> - Power10 uses only 0x3e054
>
> [...]
Applied to powerpc/next.
[1/1] selftests/powerpc: Fix L1D flushing tests for Power10
https://git.kernel.org/powerpc/c/3a72c94ebfb1f171eba0715998010678a09ec796
cheers
^ permalink raw reply
* Re: [PATCH] selftests: powerpc: unmark non-kernel-doc comments
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: linux-kernel, Randy Dunlap; +Cc: linuxppc-dev
In-Reply-To: <20210325200820.16594-1-rdunlap@infradead.org>
On Thu, 25 Mar 2021 13:08:20 -0700, Randy Dunlap wrote:
> Drop the 'beginning of kernel-doc' notation markers (/**)
> in places that are not in kernel-doc format.
Applied to powerpc/next.
[1/1] selftests: powerpc: unmark non-kernel-doc comments
https://git.kernel.org/powerpc/c/dfc4ae3372182a168146745def03d877f31fcf2f
cheers
^ permalink raw reply
* Re: [PATCH] powerpc/prom: Mark identical_pvr_fixup as __init
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: Michael Ellerman, Nathan Chancellor
Cc: Paul Mackerras, linuxppc-dev, linux-kernel, clang-built-linux
In-Reply-To: <20210302200829.2680663-1-nathan@kernel.org>
On Tue, 2 Mar 2021 13:08:29 -0700, Nathan Chancellor wrote:
> If identical_pvr_fixup() is not inlined, there are two modpost warnings:
>
> WARNING: modpost: vmlinux.o(.text+0x54e8): Section mismatch in reference
> from the function identical_pvr_fixup() to the function
> .init.text:of_get_flat_dt_prop()
> The function identical_pvr_fixup() references
> the function __init of_get_flat_dt_prop().
> This is often because identical_pvr_fixup lacks a __init
> annotation or the annotation of of_get_flat_dt_prop is wrong.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/prom: Mark identical_pvr_fixup as __init
https://git.kernel.org/powerpc/c/1ef1dd9c7ed27b080445e1576e8a05957e0e4dfc
cheers
^ permalink raw reply
* Re: [PATCH] powerpc/64s: Fix hash fault to use TRAP accessor
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: linuxppc-dev, Nicholas Piggin
In-Reply-To: <20210316105205.407767-1-npiggin@gmail.com>
On Tue, 16 Mar 2021 20:52:05 +1000, Nicholas Piggin wrote:
> Hash faults use the trap vector to decide whether this is an
> instruction or data fault. This should use the TRAP accessor
> rather than open access regs->trap.
>
> This won't cause a problem at the moment because 64s only uses
> trap flags for system call interrupts (the norestart flag), but
> that could change if any other trap flags get used in future.
Applied to powerpc/next.
[1/1] powerpc/64s: Fix hash fault to use TRAP accessor
https://git.kernel.org/powerpc/c/1479e3d3b7559133b0a107772b5841e9c2cad450
cheers
^ permalink raw reply
* Re: [PATCH v5] powerpc/uprobes: Validation for prefixed instruction
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: mpe, Ravi Bangoria
Cc: jniethe5, oleg, rostedt, linux-kernel, paulus, sandipan,
naveen.n.rao, linuxppc-dev
In-Reply-To: <20210311091538.368590-1-ravi.bangoria@linux.ibm.com>
On Thu, 11 Mar 2021 14:45:38 +0530, Ravi Bangoria wrote:
> As per ISA 3.1, prefixed instruction should not cross 64-byte
> boundary. So don't allow Uprobe on such prefixed instruction.
>
> There are two ways probed instruction is changed in mapped pages.
> First, when Uprobe is activated, it searches for all the relevant
> pages and replace instruction in them. In this case, if that probe
> is on the 64-byte unaligned prefixed instruction, error out
> directly. Second, when Uprobe is already active and user maps a
> relevant page via mmap(), instruction is replaced via mmap() code
> path. But because Uprobe is invalid, entire mmap() operation can
> not be stopped. In this case just print an error and continue.
Applied to powerpc/next.
[1/1] powerpc/uprobes: Validation for prefixed instruction
https://git.kernel.org/powerpc/c/d943bc742a6aabc578b6b62a713ceedf8bf16623
cheers
^ permalink raw reply
* Re: [PATCH] arch: powerpc: kernel: Change droping to dropping in the file traps.c
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: npiggin, linuxppc-dev, Bhaskar Chowdhury, mikey, mpe, jniethe5,
christophe.leroy, benh, alistair, linux-kernel, paulus
Cc: rdunlap
In-Reply-To: <20210224075547.763063-1-unixbhaskar@gmail.com>
On Wed, 24 Feb 2021 13:25:47 +0530, Bhaskar Chowdhury wrote:
> s/droping/dropping/
Applied to powerpc/next.
[1/1] arch: powerpc: kernel: Change droping to dropping in the file traps.c
https://git.kernel.org/powerpc/c/5c4a4802b9ac8c1acdf2250fad3f8f2d6254f9c7
cheers
^ permalink raw reply
* Re: [PATCH] powerpc: kernel: Trivial spelling fixes throughout the file head_fsl_booke.S
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: linuxppc-dev, Bhaskar Chowdhury, rppt, mpe, christophe.leroy,
benh, linux-kernel, oss, paulus, akpm
Cc: rdunlap
In-Reply-To: <20210314220436.3417083-1-unixbhaskar@gmail.com>
On Mon, 15 Mar 2021 03:34:36 +0530, Bhaskar Chowdhury wrote:
> Trivial spelling fixes throughout the file.
Applied to powerpc/next.
[1/1] powerpc: kernel: Trivial spelling fixes throughout the file head_fsl_booke.S
https://git.kernel.org/powerpc/c/f239873fcd953557ba9a9781d10ca95c0594e2b3
cheers
^ permalink raw reply
* Re: [PATCH] powerpc: kernel: Trivial typo fix in the file kgdb.c
From: Michael Ellerman @ 2021-03-31 1:09 UTC (permalink / raw)
To: linuxppc-dev, Bhaskar Chowdhury, mpe, jniethe5, benh, alistair,
linux-kernel, paulus
Cc: rdunlap
In-Reply-To: <20210317090413.120891-1-unixbhaskar@gmail.com>
On Wed, 17 Mar 2021 14:34:13 +0530, Bhaskar Chowdhury wrote:
> s/procesing/processing/
Applied to powerpc/next.
[1/1] powerpc: kernel: Trivial typo fix in the file kgdb.c
https://git.kernel.org/powerpc/c/89f7d2927ae16ea470d29234447763826e40c6cf
cheers
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox