[PATCH] powerpc: Add doorbell tracepoints

2018-10-03 Thread Anton Blanchard
When analysing sources of OS jitter, I noticed that doorbells cannot be traced. Signed-off-by: Anton Blanchard --- arch/powerpc/include/asm/trace.h | 16 arch/powerpc/kernel/dbell.c | 3 +++ 2 files changed, 19 insertions(+) diff --git a/arch/powerpc/include/asm/trace.h b

Re: [PATCH RFC] mm/memory_hotplug: Introduce memory block types

2018-10-03 Thread Michal Hocko
On Wed 03-10-18 19:14:05, David Hildenbrand wrote: > On 03/10/2018 16:34, Vitaly Kuznetsov wrote: > > Dave Hansen writes: > > > >> On 10/03/2018 06:52 AM, Vitaly Kuznetsov wrote: > >>> It is more than just memmaps (e.g. forking udev process doing memory > >>> onlining also needs memory) but yes,

Re: [PATCH] powerpc: Add doorbell tracepoints

2018-10-03 Thread Anton Blanchard
Hi Russell, > snowpatch builds failed for this patch on all 64-bit configurations > (ppc64e, ppc64 and ppc64le) with the following: Thanks! Stupid bug on my part, need more quilt ref. Update to follow. Anton > arch/powerpc/kernel/dbell.c:85:9: error: undefined identifier > 'trace_doorbell_entry

Re: [v3] powerpc: wire up memtest

2018-10-03 Thread Michael Ellerman
On Fri, 2018-09-28 at 15:39:20 UTC, Christophe Leroy wrote: > Add call to early_memtest() so that kernel compiled with > CONFIG_MEMTEST really perform memtest at startup when requested > via 'memtest' boot parameter. > > Tested-by: Daniel Axtens > Signed-off-by: Christophe Leroy Applied to powe

Re: [1/2] powerpc/pseries: Fix DTL buffer registration

2018-10-03 Thread Michael Ellerman
On Thu, 2018-09-27 at 08:10:57 UTC, "Naveen N. Rao" wrote: > When CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is not set, we register the DTL > buffer for a cpu when the associated file under powerpc/dtl in debugfs > is opened. When doing so, we need to set the size of the buffer being > registered in the se

Re: [v5,1/2] powerpc/32: add stack protector support

2018-10-03 Thread Michael Ellerman
On Thu, 2018-09-27 at 07:05:53 UTC, Christophe Leroy wrote: > This functionality was tentatively added in the past > (commit 6533b7c16ee5 ("powerpc: Initial stack protector > (-fstack-protector) support")) but had to be reverted > (commit f2574030b0e3 ("powerpc: Revert the initial stack > protector

Re: powerpc/tm: Reformat comments

2018-10-03 Thread Michael Ellerman
On Thu, 2018-09-27 at 05:05:15 UTC, Michael Neuling wrote: > The comments in this file don't conform to the coding style so take > them to "Comment Formatting Re-Education Camp" > > Suggested-by: Michael "Camp Drill Sargent" Ellerman > Signed-off-by: Michael Neuling Applied to powerpc next, tha

Re: [1/1] powerpc/config: Enable CONFIG_PRINTK_TIME

2018-10-03 Thread Michael Ellerman
On Wed, 2018-09-26 at 14:10:56 UTC, Petr Vorel wrote: > for 64bit configs which use for CONFIG_LOG_BUF_SHIFT the same > or higher value than the default (currently 17). > > Signed-off-by: Petr Vorel Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/5bd9b4445d1f02639cb5e5b151ef40

Re: powerpc/64s: consolidate MCE counter increment.

2018-10-03 Thread Michael Ellerman
On Wed, 2018-09-26 at 12:24:30 UTC, Michal Suchanek wrote: > The code in machine_check_exception excludes 64s hvmode when > incrementing the MCE counter only to call opal_machine_check to > increment it specifically for this case. > > Remove the exclusion and special case. > > Fixes: a43c1590426c

Re: powerpc: xive: Move a dereference below a NULL test

2018-10-03 Thread Michael Ellerman
On Wed, 2018-09-26 at 12:09:32 UTC, zhong jiang wrote: > It is safe to move dereference below a NULL test. > > Signed-off-by: zhong jiang Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/cd5ff94577e004e0a4457e70d0ef3a cheers

Re: powerpc/powernv: Mark function as __noreturn

2018-10-03 Thread Michael Ellerman
On Tue, 2018-09-25 at 14:29:33 UTC, Breno Leitao wrote: > There is a mismatch between function pnv_platform_error_reboot() definition > and declaration regarding function modifiers. In the declaration part, it > contains the function attribute __noreturn, while function definition > itself lacks it

Re: [-next] powerpc: Remove duplicated include from pci_32.c

2018-10-03 Thread Michael Ellerman
On Sun, 2018-09-23 at 08:12:08 UTC, YueHaibing wrote: > Remove duplicated include. > > Signed-off-by: YueHaibing > Reviewed-by: Stephen Rothwell Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/01b9870ea614518d48b6d2c787284b cheers

Re: [V3, 1/6] powerpc/mm/book3s: Update pmd_present to look at _PAGE_PRESENT bit

2018-10-03 Thread Michael Ellerman
On Thu, 2018-09-20 at 18:09:42 UTC, "Aneesh Kumar K.V" wrote: > With this patch we use 0x8000UL (_PAGE_PRESENT) to indicate a > valid > pgd/pud/pmd entry. We also switch the p**_present() to look at this bit. > > With pmd_present, we have a special case. We need to make sure we consid

Re: [v2] powerpc/traps: merge unrecoverable_exception() and nonrecoverable_exception()

2018-10-03 Thread Michael Ellerman
On Tue, 2018-09-25 at 14:10:04 UTC, Christophe Leroy wrote: > PPC32 uses nonrecoverable_exception() while PPC64 uses > unrecoverable_exception(). > > Both functions are doing almost the same thing. > > This patch removes nonrecoverable_exception() > > Signed-off-by: Christophe Leroy Applied to

Re: [1/3] powerpc: Redefine TIF_32BITS thread flag

2018-10-03 Thread Michael Ellerman
On Thu, 2018-09-20 at 16:45:05 UTC, Breno Leitao wrote: > Moving TIF_32BIT to use bit 20 instead of 4 in the task flag field. > > This change is making room for an upcoming new task macro > (_TIF_SYSCALL_EMU) which is preferred to set a bit in the lower 16-bits > part of the word. > > This upcomi

Re: powerpc/perf: Add missing break in power7_marked_instr_event()

2018-10-03 Thread Michael Ellerman
On Thu, 2018-09-20 at 09:41:11 UTC, Michael Ellerman wrote: > In power7_marked_instr_event() there is a switch case that is missing > a break or an explicit fallthrough, it's not immediately clear which > it should be. > > The function determines based on the PMU event code, whether the event > is

Re: [v3] powerpc/powernv: Make possible for user to force a full ipl cec reboot

2018-10-03 Thread Michael Ellerman
On Fri, 2018-09-07 at 07:34:48 UTC, Vaibhav Jain wrote: > Ever since fast reboot is enabled by default in opal, > opal_cec_reboot() will use fast-reset instead of full IPL to perform > system reboot. This leaves the user with no direct way to force a full > IPL reboot except changing an nvram setti

Re: [v3] macintosh: Convert to using %pOFn instead of device_node.name

2018-10-03 Thread Michael Ellerman
On Tue, 2018-09-04 at 21:27:44 UTC, Rob Herring wrote: > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Benjamin Herrenschmidt > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Rob Herring Applied to p

Re: powerpc: Convert to using %pOFn instead of device_node.name

2018-10-03 Thread Michael Ellerman
On Tue, 2018-08-28 at 01:52:07 UTC, Rob Herring wrote: > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Michael Ellerman > Cc: Arnd Bergmann > Cc: linuxp

Re: [v3] powerpc/tm: Remove msr_tm_active()

2018-10-03 Thread Michael Ellerman
On Thu, 2018-08-16 at 17:21:07 UTC, Breno Leitao wrote: > Currently msr_tm_active() is a wrapper around MSR_TM_ACTIVE() if > CONFIG_PPC_TRANSACTIONAL_MEM is set, or it is just a function that > returns false if CONFIG_PPC_TRANSACTIONAL_MEM is not set. > > This function is not necessary, since MSR_

Re: powerpc/mm: Don't report hugepage tables as memory leaks when using kmemleak

2018-10-03 Thread Michael Ellerman
On Mon, 2018-08-13 at 13:19:52 UTC, Christophe Leroy wrote: > When a process allocates a hugepage, the following leak is > reported by kmemleak. This is a false positive which is > due to the pointer to the table being stored in the PGD > as physical memory address and not virtual memory pointer. >

Re: [v2] powerpc/tm: Print 64-bits MSR

2018-10-03 Thread Michael Ellerman
On Tue, 2018-08-07 at 13:35:00 UTC, Breno Leitao wrote: > On a kernel TM Bad thing program exception, the Machine State Register > (MSR) is not being properly displayed. The exception code dumps a 32-bits > value but MSR is a 64 bits register for all platforms that have HTM > enabled. > > This pat

Re: [v2] powerpc: pseries: use of_irq_get helper in request_event_sources_irqs

2018-10-03 Thread Michael Ellerman
On Thu, 2018-02-01 at 17:59:22 UTC, Rob Herring wrote: > Instead of calling both of_irq_parse_one and irq_create_of_mapping, call > of_irq_get instead which does essentially the same thing. of_irq_get > also calls irq_find_host for deferred probe support, but this should be > fine as irq_create_of_

Re: powerpc: cell: use irq_of_parse_and_map helper

2018-10-03 Thread Michael Ellerman
On Thu, 2018-01-04 at 22:45:41 UTC, Rob Herring wrote: > Instead of calling both of_irq_parse_one and irq_create_of_mapping, call > of_irq_parse_and_map instead which does the same thing. This gets us closer > to making the former 2 functions static. > > Cc: Arnd Bergmann > Cc: Benjamin Herrensch

Re: [PATCH] powerpc: Add doorbell tracepoints

2018-10-03 Thread Russell Currey
On Wed, 2018-10-03 at 10:29 +1000, Anton Blanchard wrote: > When analysing sources of OS jitter, I noticed that doorbells cannot be > traced. > > Signed-off-by: Anton Blanchard Hi Anton, snowpatch builds failed for this patch on all 64-bit configurations (ppc64e, ppc64 and ppc64le) with the fo

Re: [PATCH v2 3/3] powerpc/powernv/npu: Remove atsd_threshold debugfs setting

2018-10-03 Thread Alistair Popple
Reviewed-by: Alistair Popple On Wednesday, 3 October 2018 11:51:34 AM AEST Mark Hairgrove wrote: > This threshold is no longer used now that all invalidates issue a single > ATSD to each active NPU. > > Signed-off-by: Mark Hairgrove > --- > arch/powerpc/platforms/powernv/npu-dma.c | 14 -

Re: [PATCH v2 2/3] powerpc/powernv/npu: Use size-based ATSD invalidates

2018-10-03 Thread Alistair Popple
Reviewed-By: Alistair Popple On Wednesday, 3 October 2018 11:51:33 AM AEST Mark Hairgrove wrote: > Prior to this change only two types of ATSDs were issued to the NPU: > invalidates targeting a single page and invalidates targeting the whole > address space. The crossover point happened at the co

Re: [PATCH v2 1/3] powerpc/powernv/npu: Reduce eieio usage when issuing ATSD invalidates

2018-10-03 Thread Alistair Popple
Reviewed-by: Alistair Popple On Wednesday, 3 October 2018 11:51:32 AM AEST Mark Hairgrove wrote: > There are two types of ATSDs issued to the NPU: invalidates targeting a > specific virtual address and invalidates targeting the whole address > space. In both cases prior to this change, the sequen

Re: [PATCH v3 30/33] KVM: PPC: Book3S HV: Allow HV module to load without hypervisor mode

2018-10-03 Thread Paul Mackerras
On Wed, Oct 03, 2018 at 04:15:15PM +1000, David Gibson wrote: > On Tue, Oct 02, 2018 at 09:31:29PM +1000, Paul Mackerras wrote: > > With this, the KVM-HV module can be loaded in a guest running under > > KVM-HV, and if the hypervisor supports nested virtualization, this > > guest can now act as a n

Re: [PATCH v3 23/33] KVM: PPC: Book3S HV: Introduce rmap to track nested guest mappings

2018-10-03 Thread Paul Mackerras
On Wed, Oct 03, 2018 at 03:56:37PM +1000, David Gibson wrote: > On Tue, Oct 02, 2018 at 09:31:22PM +1000, Paul Mackerras wrote: > > From: Suraj Jitindar Singh > > > > When a host (L0) page which is mapped into a (L1) guest is in turn > > mapped through to a nested (L2) guest we keep a reverse map

Re: [PATCH v03 1/5] powerpc/drmem: Export 'dynamic-memory' loader

2018-10-03 Thread Nathan Fontenot
On 10/02/2018 08:00 PM, Michael Ellerman wrote: > Michael Bringmann writes: > >> powerpc/drmem: Export many of the functions of DRMEM to parse >> "ibm,dynamic-memory" and "ibm,dynamic-memory-v2" during hotplug >> operations and for Post Migration events. > > This isn't a criticism of your patch,

Re: [PATCH] migration/mm: Add WARN_ON to try_offline_node

2018-10-03 Thread Michael Bringmann
On 10/03/2018 06:05 PM, Tyrel Datwyler wrote: > On 10/03/2018 06:27 AM, Michael Bringmann wrote: >> On 10/02/2018 02:45 PM, Tyrel Datwyler wrote: >>> On 10/02/2018 11:13 AM, Michael Bringmann wrote: On 10/02/2018 11:04 AM, Michal Hocko wrote: > On Tue 02-10-18 10:14:49, Michael B

[PATCH] dma-direct: Fix return value of dma_direct_supported

2018-10-03 Thread Alexander Duyck
It appears that in commit 9d7a224b463e ("dma-direct: always allow dma mask <= physiscal memory size") the logic of the test was changed from a "<" to a ">=" however I don't see any reason for that change. I am assuming that there was some additional change planned, specifically I suspect the logic

Re: [PATCH 5/5] dma-direct: always allow dma mask <= physiscal memory size

2018-10-03 Thread Alexander Duyck
On Thu, Sep 27, 2018 at 3:38 PM Christoph Hellwig wrote: > > This way an architecture with less than 4G of RAM can support dma_mask > smaller than 32-bit without a ZONE_DMA. Apparently that is a common > case on powerpc. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Robin Murphy > --- >

Re: [PATCH] migration/mm: Add WARN_ON to try_offline_node

2018-10-03 Thread Tyrel Datwyler
On 10/03/2018 06:27 AM, Michael Bringmann wrote: > On 10/02/2018 02:45 PM, Tyrel Datwyler wrote: >> On 10/02/2018 11:13 AM, Michael Bringmann wrote: >>> >>> >>> On 10/02/2018 11:04 AM, Michal Hocko wrote: On Tue 02-10-18 10:14:49, Michael Bringmann wrote: > On 10/02/2018 09:59 AM, Michal H

[PATCH] selftests/powerpc: Add check for TM SPRS on coredump

2018-10-03 Thread Breno Leitao
Add a selftest to check if the TM SPRs are being properly saved into a coredump. The segfault is caused by an illegal instruction and ideally it happens after load_tm overflowed and TM became lazily disabled. This test is implemented basically setting three TM_SPR and sleeping until load_tm is exp

[PATCH v2 3/3] powerpc/powernv/npu: Remove atsd_threshold debugfs setting

2018-10-03 Thread Mark Hairgrove
This threshold is no longer used now that all invalidates issue a single ATSD to each active NPU. Signed-off-by: Mark Hairgrove --- arch/powerpc/platforms/powernv/npu-dma.c | 14 -- 1 files changed, 0 insertions(+), 14 deletions(-) diff --git a/arch/powerpc/platforms/powernv/npu-d

[PATCH v2 1/3] powerpc/powernv/npu: Reduce eieio usage when issuing ATSD invalidates

2018-10-03 Thread Mark Hairgrove
There are two types of ATSDs issued to the NPU: invalidates targeting a specific virtual address and invalidates targeting the whole address space. In both cases prior to this change, the sequence was: for each NPU - Write the target address to the XTS_ATSD_AVA register - EIEIO

[PATCH v2 2/3] powerpc/powernv/npu: Use size-based ATSD invalidates

2018-10-03 Thread Mark Hairgrove
Prior to this change only two types of ATSDs were issued to the NPU: invalidates targeting a single page and invalidates targeting the whole address space. The crossover point happened at the configurable atsd_threshold which defaulted to 2M. Invalidates that size or smaller would issue per-page in

[PATCH v2 0/3] powerpc/powernv/npu: Improve ATSD invalidation overhead

2018-10-03 Thread Mark Hairgrove
When ATS is used in a process, all CPU TLB invalidates in that process also trigger ATSD invalidates via mmu_notifiers. This additional overhead is noticeable in applications which do heavy memory allocation or page migration among nodes, particularly to and from GPUs. This patch set reduces that

Re: [PATCH 2/3] powerpc/powernv/npu: Use size-based ATSD invalidates

2018-10-03 Thread Mark Hairgrove
On Wed, 3 Oct 2018, Alistair Popple wrote: > > > > > > We also support 4K page sizes on PPC. If I am not mistaken this means > > > every ATSD > > > would invalidate the entire GPU TLB for a the given PID on those systems. > > > Could > > > we change the above check to `if (size <= PAGE_64K)`

Re: [RFC PATCH kernel] vfio/spapr_tce: Get rid of possible infinite loop

2018-10-03 Thread Alex Williamson
On Tue, 2 Oct 2018 13:22:31 +1000 Alexey Kardashevskiy wrote: > As a part of cleanup, the SPAPR TCE IOMMU subdriver releases preregistered > memory. If there is a bug in memory release, the loop in > tce_iommu_release() becomes infinite; this actually happened to me. > > This makes the loop fin

Re: [PATCH RFC] mm/memory_hotplug: Introduce memory block types

2018-10-03 Thread David Hildenbrand
On 03/10/2018 16:34, Vitaly Kuznetsov wrote: > Dave Hansen writes: > >> On 10/03/2018 06:52 AM, Vitaly Kuznetsov wrote: >>> It is more than just memmaps (e.g. forking udev process doing memory >>> onlining also needs memory) but yes, the main idea is to make the >>> onlining synchronous with hotp

Re: [PATCH RFC] mm/memory_hotplug: Introduce memory block types

2018-10-03 Thread David Hildenbrand
On 03/10/2018 16:24, Michal Hocko wrote: > On Wed 03-10-18 15:52:24, Vitaly Kuznetsov wrote: > [...] >>> As David said some of the memory cannot be onlined without further steps >>> (e.g. when it is standby as David called it) and then I fail to see how >>> eBPF help in any way. >> >> and also, we

Re: [PATCH RFC] mm/memory_hotplug: Introduce memory block types

2018-10-03 Thread David Hildenbrand
On 03/10/2018 15:54, Michal Hocko wrote: > On Tue 02-10-18 17:25:19, David Hildenbrand wrote: >> On 02/10/2018 15:47, Michal Hocko wrote: > [...] >>> Zone imbalance is an inherent problem of the highmem zone. It is >>> essentially the highmem zone we all loved so much back in 32b days. >>> Yes the

Re: [PATCH RFC] mm/memory_hotplug: Introduce memory block types

2018-10-03 Thread Vitaly Kuznetsov
Dave Hansen writes: > On 10/03/2018 06:52 AM, Vitaly Kuznetsov wrote: >> It is more than just memmaps (e.g. forking udev process doing memory >> onlining also needs memory) but yes, the main idea is to make the >> onlining synchronous with hotplug. > > That's a good theoretical concern. > > But,

RE: [PATCH v3 4/6] drivers: clk-qoriq: Add clockgen support for lx2160a

2018-10-03 Thread Vabhav Sharma
> -Original Message- > From: devicetree-ow...@vger.kernel.org > On Behalf Of Stephen Boyd > Sent: Tuesday, October 2, 2018 3:34 AM > To: Vabhav Sharma ; a...@arndb.de; > catalin.mari...@arm.com; devicet...@vger.kernel.org; > gre...@linuxfoundation.org; kstew...@linuxfoundation.org; linux

RE: [PATCH v3 3/6] drivers: clk-qoriq: increase array size of cmux_to_group

2018-10-03 Thread Vabhav Sharma
> -Original Message- > From: Stephen Boyd > Sent: Tuesday, October 2, 2018 3:34 AM > To: Vabhav Sharma ; a...@arndb.de; > catalin.mari...@arm.com; devicet...@vger.kernel.org; > gre...@linuxfoundation.org; kstew...@linuxfoundation.org; linux-arm- > ker...@lists.infradead.org; linux-...@vg

Re: [PATCH RFC] mm/memory_hotplug: Introduce memory block types

2018-10-03 Thread Michal Hocko
On Wed 03-10-18 15:52:24, Vitaly Kuznetsov wrote: [...] > > As David said some of the memory cannot be onlined without further steps > > (e.g. when it is standby as David called it) and then I fail to see how > > eBPF help in any way. > > and also, we can fight till the end of days here trying to

Re: [PATCH v03 4/5] migration/memory: Evaluate LMB assoc changes

2018-10-03 Thread Michael Bringmann
On 10/02/2018 04:08 PM, Tyrel Datwyler wrote: > On 10/01/2018 06:00 AM, Michael Bringmann wrote: >> migration/memory: This patch adds code that recognizes changes to >> the associativity of memory blocks described by the device-tree >> properties in order to drive equivalent 'hotplug' operations to

Re: [PATCH RFC] mm/memory_hotplug: Introduce memory block types

2018-10-03 Thread Dave Hansen
On 10/03/2018 06:52 AM, Vitaly Kuznetsov wrote: > It is more than just memmaps (e.g. forking udev process doing memory > onlining also needs memory) but yes, the main idea is to make the > onlining synchronous with hotplug. That's a good theoretical concern. But, is it a problem we need to solve

Re: [PATCH RFC] mm/memory_hotplug: Introduce memory block types

2018-10-03 Thread Michal Hocko
On Tue 02-10-18 17:25:19, David Hildenbrand wrote: > On 02/10/2018 15:47, Michal Hocko wrote: [...] > > Zone imbalance is an inherent problem of the highmem zone. It is > > essentially the highmem zone we all loved so much back in 32b days. > > Yes the movable zone doesn't have any addressing limit

Re: [PATCH RFC] mm/memory_hotplug: Introduce memory block types

2018-10-03 Thread Vitaly Kuznetsov
Michal Hocko writes: > On Wed 03-10-18 15:38:04, Vitaly Kuznetsov wrote: >> David Hildenbrand writes: >> >> > On 02/10/2018 15:47, Michal Hocko wrote: >> ... >> >> >> >> Why do you need a generic hotplug rule in the first place? Why don't you >> >> simply provide different set of rules for dif

Re: [PATCH RFC] mm/memory_hotplug: Introduce memory block types

2018-10-03 Thread Michal Hocko
On Wed 03-10-18 15:38:04, Vitaly Kuznetsov wrote: > David Hildenbrand writes: > > > On 02/10/2018 15:47, Michal Hocko wrote: > ... > >> > >> Why do you need a generic hotplug rule in the first place? Why don't you > >> simply provide different set of rules for different usecases? Let users > >>

Re: [PATCH RFC] mm/memory_hotplug: Introduce memory block types

2018-10-03 Thread Vitaly Kuznetsov
David Hildenbrand writes: > On 02/10/2018 15:47, Michal Hocko wrote: ... >> >> Why do you need a generic hotplug rule in the first place? Why don't you >> simply provide different set of rules for different usecases? Let users >> decide which usecase they prefer rather than try to be clever whic

Re: [PATCH v03 3/5] migration/memory: Add hotplug READD_MULTIPLE

2018-10-03 Thread Michael Bringmann
On 10/02/2018 04:03 PM, Tyrel Datwyler wrote: > On 10/01/2018 05:59 AM, Michael Bringmann wrote: >> migration/memory: This patch adds a new pseries hotplug action >> for CPU and memory operations, PSERIES_HP_ELOG_ACTION_READD_MULTIPLE. >> This is a variant of the READD operation which performs the

Re: [PATCH] migration/mm: Add WARN_ON to try_offline_node

2018-10-03 Thread Michael Bringmann
On 10/02/2018 02:45 PM, Tyrel Datwyler wrote: > On 10/02/2018 11:13 AM, Michael Bringmann wrote: >> >> >> On 10/02/2018 11:04 AM, Michal Hocko wrote: >>> On Tue 02-10-18 10:14:49, Michael Bringmann wrote: On 10/02/2018 09:59 AM, Michal Hocko wrote: > On Tue 02-10-18 09:51:40, Michael Bring

Re: [PATCH v03 1/5] powerpc/drmem: Export 'dynamic-memory' loader

2018-10-03 Thread Michael Bringmann
On 10/02/2018 03:56 PM, Tyrel Datwyler wrote: > On 10/01/2018 05:59 AM, Michael Bringmann wrote: >> powerpc/drmem: Export many of the functions of DRMEM to parse >> "ibm,dynamic-memory" and "ibm,dynamic-memory-v2" during hotplug >> operations and for Post Migration events. >> >> Also modify the DRM

Re: [PATCH v9 0/3] powerpc: Detection and scheduler optimization for POWER9 bigcore

2018-10-03 Thread Gautham R Shenoy
Hello Dave, On Mon, Oct 01, 2018 at 07:05:11AM -0700, Dave Hansen wrote: > On 10/01/2018 06:16 AM, Gautham R. Shenoy wrote: > > > > Patch 3: Creates a pair of sysfs attributes named > > /sys/devices/system/cpu/cpuN/topology/smallcore_thread_siblings > > and > > /sys/devices/syst

Re: [PATCH] powerpc: use PTRRELOC during early init

2018-10-03 Thread Andreas Schwab
On Okt 03 2018, Christophe LEROY wrote: > Did you try my proposed fix https://patchwork.ozlabs.org/patch/977195/ ? That works as well. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely d

Re: [RFC PATCH v3 4/7] powerpc: regain entire stack space

2018-10-03 Thread Christophe LEROY
Le 03/10/2018 à 09:07, Nicholas Piggin a écrit : On Wed, 3 Oct 2018 08:45:25 +0200 Christophe LEROY wrote: Le 03/10/2018 à 08:30, Nicholas Piggin a écrit : On Wed, 3 Oct 2018 07:52:59 +0200 Christophe LEROY wrote: Le 03/10/2018 à 07:34, Nicholas Piggin a écrit : On Mon, 1 Oct 2018

Re: [PATCH kernel] cxl: Remove unused include

2018-10-03 Thread Frederic Barrat
Le 03/10/2018 à 09:46, Alexey Kardashevskiy a écrit : On 28/09/2018 22:46, Michael Ellerman wrote: Alexey Kardashevskiy writes: The included opal.h gives a wrong idea that CXL makes PPC OPAL calls while it does not so let's remote it. But it does use eg. OPAL_PHB_CAPI_MODE_SNOOP_ON

Re: [PATCH kernel] cxl: Remove unused include

2018-10-03 Thread Alexey Kardashevskiy
On 28/09/2018 22:46, Michael Ellerman wrote: > Alexey Kardashevskiy writes: >> The included opal.h gives a wrong idea that CXL makes PPC OPAL calls >> while it does not so let's remote it. > > But it does use eg. > > OPAL_PHB_CAPI_MODE_SNOOP_ON > OPAL_PHB_CAPI_MODE_CAPI > > Which come fr

Re: [PATCH] migration/mm: Add WARN_ON to try_offline_node

2018-10-03 Thread Michal Hocko
On Tue 02-10-18 12:45:50, Tyrel Datwyler wrote: > On 10/02/2018 11:13 AM, Michael Bringmann wrote: > > > > > > On 10/02/2018 11:04 AM, Michal Hocko wrote: > >> On Tue 02-10-18 10:14:49, Michael Bringmann wrote: > >>> On 10/02/2018 09:59 AM, Michal Hocko wrote: > On Tue 02-10-18 09:51:40, Mic

Re: [RFC PATCH v3 4/7] powerpc: regain entire stack space

2018-10-03 Thread Nicholas Piggin
On Wed, 3 Oct 2018 08:45:25 +0200 Christophe LEROY wrote: > Le 03/10/2018 à 08:30, Nicholas Piggin a écrit : > > On Wed, 3 Oct 2018 07:52:59 +0200 > > Christophe LEROY wrote: > > > >> Le 03/10/2018 à 07:34, Nicholas Piggin a écrit : > >>> On Mon, 1 Oct 2018 12:30:25 + (UTC) > >>> Chris