[GIT PULL] Please pull powerpc/linux.git powerpc-5.10-3 tag

2020-11-08 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull some more powerpc fixes for 5.10: The following changes since commit 3cea11cd5e3b00d91caf0b4730194039b45c5891: Linux 5.10-rc2 (2020-11-01 14:43:51 -0800) are available in the git repository at: https://git.kernel.org/pu

Re: [PATCH v2] powerpc: topology.h: fix build when CONFIG_NUMA=n

2020-11-08 Thread Michael Ellerman
On Thu, 5 Nov 2020 16:30:40 -0600, Scott Cheloha wrote: > Add a non-NUMA definition for of_drconf_to_nid_single() to topology.h > so we have one even if powerpc/mm/numa.c is not compiled. On a non-NUMA > kernel the appropriate node id is always first_online_node. Applied to powerpc/fixes. [1/1]

Re: [PATCH] powerpc/32s: Use relocation offset when setting early hash table

2020-11-08 Thread Michael Ellerman
On Sat, 7 Nov 2020 09:07:40 + (UTC), Christophe Leroy wrote: > When calling early_hash_table(), the kernel hasn't been yet > relocated to its linking address, so data must be addressed > with relocation offset. > > Add relocation offset to write into Hash in early_hash_table(). Applied to pow

Re: [PATCH] powerpc/40x: Always fault when _PAGE_ACCESSED is not set

2020-11-08 Thread Michael Ellerman
On Sat, 10 Oct 2020 15:14:29 + (UTC), Christophe Leroy wrote: > The kernel expects pte_young() to work regardless of CONFIG_SWAP. > > Make sure a minor fault is taken to set _PAGE_ACCESSED when it > is not already set, regardless of the selection of CONFIG_SWAP. Applied to powerpc/fixes. [1/

Re: [PATCH v2 1/2] powerpc/8xx: Always fault when _PAGE_ACCESSED is not set

2020-11-08 Thread Michael Ellerman
On Mon, 12 Oct 2020 08:54:31 + (UTC), Christophe Leroy wrote: > The kernel expects pte_young() to work regardless of CONFIG_SWAP. > > Make sure a minor fault is taken to set _PAGE_ACCESSED when it > is not already set, regardless of the selection of CONFIG_SWAP. > > This adds at least 3 instr

Re: [PATCH] powerpc: Use asm_goto_volatile for put_user()

2020-11-08 Thread Michael Ellerman
On Wed, 4 Nov 2020 22:17:42 +1100, Michael Ellerman wrote: > Andreas reported that commit ee0a49a6870e ("powerpc/uaccess: Switch > __put_user_size_allowed() to __put_user_asm_goto()") broke > CLONE_CHILD_SETTID. > > Further inspection showed that the put_user() in schedule_tail() was > missing ent

Re: [PATCH] powerpc/603: Always fault when _PAGE_ACCESSED is not set

2020-11-08 Thread Michael Ellerman
On Sat, 10 Oct 2020 15:14:30 + (UTC), Christophe Leroy wrote: > The kernel expects pte_young() to work regardless of CONFIG_SWAP. > > Make sure a minor fault is taken to set _PAGE_ACCESSED when it > is not already set, regardless of the selection of CONFIG_SWAP. Applied to powerpc/fixes. [1/

[Bug 209733] Starting new KVM virtual machines on PPC64 starts to hang after box is up for a while

2020-11-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209733 --- Comment #3 from Cameron (c...@neo-zeon.de) --- Same issue now that I'm running with qemu-system-ppc version 1:5.0-14~bpo10+1 from Debian backports. -- You are receiving this mail because: You are watching the assignee of the bug.

[PATCH v2 1/3] powerpc/64s: Replace RFI by RFI_TO_KERNEL and remove RFI

2020-11-08 Thread Christophe Leroy
In head_64.S, we have two places using RFI to return to kernel. Use RFI_TO_KERNEL instead. They are the two only places using RFI on book3s/64, so the RFI macro can go away. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/ppc_asm.h | 1 - arch/powerpc/kernel/head_64.S | 9

[PATCH v2 3/3] powerpc: Remove RFI macro

2020-11-08 Thread Christophe Leroy
RFI macro is just there to add an infinite loop past rfi in order to avoid prefetch on 40x in half a dozen of places in entry_32 and head_32. Those places are already full of #ifdefs, so just add a few more to explicitely show those loops and remove RFI. Signed-off-by: Christophe Leroy --- arch

[PATCH v2 2/3] powerpc: Replace RFI by rfi on book3s/32 and booke

2020-11-08 Thread Christophe Leroy
For book3s/32 and for booke, RFI is just an rfi. Only 40x has a non trivial RFI. CONFIG_PPC_RTAS is never selected by 40x platforms. Make it more explicit by replacing RFI by rfi wherever possible. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/entry_32.S | 6 +++--- arch/powerp

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.10-3 tag

2020-11-08 Thread pr-tracker-bot
The pull request you sent on Sun, 08 Nov 2020 21:28:03 +1100: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.10-3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e942d75281398a8aef4f751753eff26a2a53f081 Thank you! -- Deet-doot-d

Re: [PATCH] powerpc: add compile-time support for lbarx, lwarx

2020-11-08 Thread Gabriel Paubert
On Sat, Nov 07, 2020 at 05:42:57AM -0600, Segher Boessenkool wrote: > On Sat, Nov 07, 2020 at 08:12:13AM +0100, Gabriel Paubert wrote: > > On Sat, Nov 07, 2020 at 01:23:28PM +1000, Nicholas Piggin wrote: > > > ISA v2.06 (POWER7 and up) as well as e6500 support lbarx and lwarx. > > > > Hmm, lwarx e

[RFC][PATCH 1/2] libnvdimm: Introduce ND_CMD_GET_STAT to retrieve nvdimm statistics

2020-11-08 Thread Vaibhav Jain
Implement support for exposing generic nvdimm statistics via newly introduced dimm-command ND_CMD_GET_STAT that can be handled by nvdimm command handler function and provide values for these statistics back to libnvdimm. Following generic nvdimm statistics are defined as an enumeration in 'uapi/ndc

[RFC][PATCH 2/2] powerpc/papr_scm: Implement support for reporting generic nvdimm stats

2020-11-08 Thread Vaibhav Jain
Add support for reporting papr-scm supported generic nvdimm stats by implementing support for handling ND_CMD_GET_STAT in 'papr_scm_ndctl(). The mapping between libnvdimm generic nvdimm-stats and papr-scm specific performance-stats is embedded inside 'dimm_stats_map[]'. This array is queried by ne

Re: [PATCH v2 20/39] docs: ABI: testing: make the files compatible with ReST output

2020-11-08 Thread Jonathan Cameron
On Mon, 2 Nov 2020 15:42:50 +0100 Mauro Carvalho Chehab wrote: > Em Mon, 2 Nov 2020 13:46:41 +0100 > Greg Kroah-Hartman escreveu: > > > On Mon, Nov 02, 2020 at 12:04:36PM +0100, Fabrice Gasnier wrote: > > > On 10/30/20 11:09 AM, Mauro Carvalho Chehab wrote: > > > > Em Fri, 30 Oct 2020 10:

Re: [PATCH kernel v2] irq: Add reference counting to IRQ mappings

2020-11-08 Thread Thomas Gleixner
On Fri, Nov 06 2020 at 14:06, Alexey Kardashevskiy wrote: > Hi, > > This one seems to be broken in the domain associating part so please > ignore it, I'll post v3 soon. Thanks, When you do that please use a proper subject line: [ PATCH vN ] $subsystem: Shortlog and to find the subsystem string

[powerpc:fixes-test] BUILD SUCCESS 33fe43cfd9b1c20f6f9899b44bf04e91823ff1c9

2020-11-08 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git fixes-test branch HEAD: 33fe43cfd9b1c20f6f9899b44bf04e91823ff1c9 powerpc/8xx: Manage _PAGE_ACCESSED through APG bits in L1 entry elapsed time: 4486m configs tested: 152 configs skipped: 87 The following configs ha

[powerpc:next-test] BUILD SUCCESS fea97f268bc201789c3da74db7eb0c6313d17917

2020-11-08 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next-test branch HEAD: fea97f268bc201789c3da74db7eb0c6313d17917 powerpc: Use the common INIT_DATA_SECTION macro in vmlinux.lds.S elapsed time: 4487m configs tested: 163 configs skipped: 3 The following configs hav

Re: [PATCH v2 09/16] PCI: dwc: Rework MSI initialization

2020-11-08 Thread Jisheng Zhang
On Thu, 5 Nov 2020 15:11:52 -0600 Rob Herring wrote: > CAUTION: Email originated externally, do not click links or open attachments > unless you recognize the sender and know the content is safe. > > > There are 3 possible MSI implementations for the DWC host. The first is > using the built-i

[PATCH] sched/rt, powerpc: Prepare for PREEMPT_RT

2020-11-08 Thread Wang Qing
Add PREEMPT_RT output to die(). Signed-off-by: Wang Qing --- arch/powerpc/kernel/traps.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 5006dcb..6dfe567 --- a/arch/powerpc/kernel/traps.c +++ b/arch/pow

Re: [PATCH] sched/rt, powerpc: Prepare for PREEMPT_RT

2020-11-08 Thread Greg Kroah-Hartman
On Mon, Nov 09, 2020 at 11:40:08AM +0800, Wang Qing wrote: > Add PREEMPT_RT output to die(). That says what you did, but not why you are doing this. Why are you doing this? That needs to go into the changelog text. greg k-h