[PATCH v2 1/4] time: rtc-lib: Add rtc_show_time(const char *prefix_msg)

2017-07-18 Thread Mark Salyzyn
Go directly to the rtc for persistent wall clock time and print. Useful if REALTIME is required to be logged in a low level power management function or when clock activities are suspended. An aid to permit user space alignment of kernel activities. Feature activated by CONFIG_RTC_SHOW_TIME. Sig

Re: [PATCH] nvme: Acknowledge completion queue on each iteration

2017-07-18 Thread Keith Busch
On Tue, Jul 18, 2017 at 02:52:26PM -0400, Sinan Kaya wrote: > On 7/18/2017 10:36 AM, Keith Busch wrote: > > I do see that the NVMe driver is creating a completion interrupt on > each CPU core for the completions. No problems with that. > > However, I don't think you can guarantee that there will

Re: [PATCH] efifb: allow user to disable write combined mapping.

2017-07-18 Thread Dave Airlie
On 19 July 2017 at 06:44, Dave Airlie wrote: > On 19 July 2017 at 05:57, Linus Torvalds > wrote: >> On Tue, Jul 18, 2017 at 7:34 AM, Peter Jones wrote: >>> >>> Well, that's kind of amazing, given 3c004b4f7eab239e switched us /to/ >>> using ioremap_wc() for the exact same reason. I'm not agains

[PATCH v2 2/4] time: Print wall time at die and reboot

2017-07-18 Thread Mark Salyzyn
Permits power state and battery life diagnosis. Feature activated by CONFIG_RTC_SHOW_TIME. Signed-off-by: Mark Salyzyn v2: - react to implementation move to kernel timekeeping from rtc_lib - use late_initcall to ensure rtc_lib driver(s) are loaded --- kernel/time/rtc_show_time.c | 59 +

Re: [PATCH 3/3] ghes_edac: add platform check to enable ghes_edac

2017-07-18 Thread Kani, Toshimitsu
On Tue, 2017-07-18 at 10:08 +0200, Borislav Petkov wrote: > On Tue, Jul 18, 2017 at 08:00:07AM +0200, Borislav Petkov wrote: > > And I think we should try this first: have the firmware disable > > detection methods so that the platform drivers don't load. > > Btw, in looking at this more, what abo

Re: [PATCH] lib/strscpy: avoid KASAN false positive

2017-07-18 Thread Andrey Ryabinin
On 07/18/2017 11:26 PM, Linus Torvalds wrote: > On Tue, Jul 18, 2017 at 1:15 PM, Andrey Ryabinin > wrote: >> >> No, it does warn about valid users. The report that Dave posted wasn't about >> wrong strscpy() usage >> it was about reading 8-bytes from 5-bytes source string. It wasn't about >> bug

RE: [PATCH] workqueue: doc change for ST behavior on NUMA systems

2017-07-18 Thread Alexei Potashnik
target has a bug in TMR handling. dev->tmr_wq = alloc_workqueue("tmr-%s", WQ_MEM_RECLAIM | WQ_UNBOUND, 1, dev->transport->name); LUN_RESET can race with TASK_ABORT in different sessions. Will send a patch to target list. -Original Message- Fr

Re: [PATCH] lib/strscpy: avoid KASAN false positive

2017-07-18 Thread Andrey Ryabinin
On 07/19/2017 12:31 AM, Andrey Ryabinin wrote: > On 07/18/2017 11:26 PM, Linus Torvalds wrote: >> On Tue, Jul 18, 2017 at 1:15 PM, Andrey Ryabinin >> wrote: >>> >>> No, it does warn about valid users. The report that Dave posted wasn't >>> about wrong strscpy() usage >>> it was about reading 8-

Re: [PATCH v2] timers: Don't wake ktimersoftd on every tick

2017-07-18 Thread Thomas Gleixner
On Mon, 17 Jul 2017, Haris Okanovic wrote: > We recently upgraded from 4.1 to 4.6 and noticed a minor latency > regression caused by an additional thread wakeup (ktimersoftd) in > interrupt context on every tick. The wakeups are from > run_local_timers() raising TIMER_SOFTIRQ. Both TIMER and SCHED

[PATCH v13 0/5] In-Memory Collection Counter instrumentation Support

2017-07-18 Thread Madhavan Srinivasan
Power9 has In-Memory-Collection (IMC) infrastructure which contains various Performance Monitoring Units (PMUs) at Nest level (these are on-chip but off-core), Core level and Thread level. The Nest PMU counters are handled by a Nest IMC microcode which runs in the OCC (On-Chip Controller) complex.

Re: [PATCH v2 1/3] leds: core: Introduce generic pattern interface

2017-07-18 Thread Jacek Anaszewski
On 07/18/2017 01:39 AM, Bjorn Andersson wrote: > On Mon 17 Jul 14:08 PDT 2017, Jacek Anaszewski wrote: > >> On 07/16/2017 11:14 PM, Bjorn Andersson wrote: >>> On Sun 16 Jul 11:49 PDT 2017, Jacek Anaszewski wrote: On 07/06/2017 05:18 AM, Pavel Machek wrote: > [..] I've been working on add

[PATCH v13 3/5] powerpc/perf: Add nest imc pmu support

2017-07-18 Thread Madhavan Srinivasan
Add support to register Nest In-Memory Collection pmu counters. Patch adds a new device file called "imc-pmu.c" under powerpc/perf folder to contain all the device pmu functions. Device tree parser code added to parse the pmu events information and create sysfs event attributes for the pmu. Cpuma

[PATCH v13 5/5] powerpc/perf: Add thread imc pmu support

2017-07-18 Thread Madhavan Srinivasan
Add support to register Thread In-Memory Collection pmu counters. Patch adds thread imc specific data structures, along with memory init functions and cpuhotplug support. Signed-off-by: Anju T Sudhakar Signed-off-by: Hemant Kumar Signed-off-by: Madhavan Srinivasan --- arch/powerpc/perf/imc-pmu

[PATCH v13 2/5] powerpc/platform/powernv: Detect and create IMC device

2017-07-18 Thread Madhavan Srinivasan
Code to create platform device for the In-Memory Collection (IMC) counters. Paltform devices are created based on the IMC compatibility. New header file created to contain the data structures and macros needed for In-Memory Collection (IMC) counter pmu devices. The device tree for IMC counters sta

[PATCH v13 1/5] powerpc/platform/powernv: Update IMC OPAL APIs

2017-07-18 Thread Madhavan Srinivasan
In-Memory Collection (IMC) counters are performance monitoring infrastrcuture. These counters need special sequence of scoms to init/start/stop which is handled by OPAL. And OPAL provides three APIs to init and control these IMC engines. OPAL API documentation: https://github.com/open-power/sk

[PATCH v13 4/5] powerpc/perf: Add core imc pmu support

2017-07-18 Thread Madhavan Srinivasan
Add support to register Core In-Memory Collection pmu counters. Patch adds core imc specific data structures, along with memory init functions and cpuhotplug support. Signed-off-by: Anju T Sudhakar Signed-off-by: Hemant Kumar Signed-off-by: Madhavan Srinivasan --- arch/powerpc/perf/imc-pmu.c |

Re: [PATCH v2 3/3] DT: leds: Add Qualcomm Light Pulse Generator binding

2017-07-18 Thread Jacek Anaszewski
On 07/18/2017 02:03 AM, Bjorn Andersson wrote: > On Mon 17 Jul 14:08 PDT 2017, Jacek Anaszewski wrote: > >> On 07/17/2017 06:44 AM, Bjorn Andersson wrote: >>> On Sun 16 Jul 11:49 PDT 2017, Jacek Anaszewski wrote: On 07/15/2017 12:45 AM, Bjorn Andersson wrote: > diff --git a/Documentation/

Re: [PATCH] ARM: zImage: Fix stack overflow in merge_fdt_bootargs()

2017-07-18 Thread Rask Ingemann Lambertsen
On Tue, Jul 18, 2017 at 09:39:10AM +0200, Richard Genoud wrote: > On 16/07/2017 23:43, Rask Ingemann Lambertsen wrote: [snip] > > +/* This is called early on from head.S, so it can't use much stack. */ > > +static void merge_fdt_bootargs(void *fdt, const char *atag_cmdline) > > +{ > > + char *fdt

[PATCH v1] mm/mempolicy.c: Fix get_nodes() off-by-one error.

2017-07-18 Thread Luis Felipe Sandoval Castro
set_mempolicy() and mbind() take as argument a pointer to a bit mask (nodemask) and the number of bits in the mask the kernel will use (maxnode), among others. For instace on a system with 2 NUMA nodes valid masks are: 0b00, 0b01, 0b10 and 0b11 it's clear maxnode=2, however an off-by-one error in

Re: [PATCH 09/15] mm/hmm/devmem: device memory hotplug using ZONE_DEVICE v6

2017-07-18 Thread Evgeny Baskakov
On 6/28/17 11:00 AM, Jérôme Glisse wrote: +/* + * struct hmm_devmem_ops - callback for ZONE_DEVICE memory events + * + * @free: call when refcount on page reach 1 and thus is no longer use + * @fault: call when there is a page fault to unaddressable memory + */ +struct hmm_devmem_ops { + v

[PATCH] c6x: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Mark Salter Cc: Aurelien Jacquiot Cc: linux-c6x-...@linux-c6x.org --- arch/c6x/platform

[PATCH] bus: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: linux-arm-ker...@lists.infradead.org --- drivers/bus

[PATCH] x86: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org --- arch/x86/

[PATCH] fpga: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Alan Tull Cc: Moritz Fischer Cc: linux-f...@vger.kernel.org --- drivers/fpga/fpga-regio

[PATCH] i2c: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Haavard Skinnemoen Cc: Wolfram Sang Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc:

[PATCH] leds: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Richard Purdie Cc: Jacek Anaszewski Cc: Pavel Machek Cc: linux-l...@vger.kernel.org ---

[PATCH] misc: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Arnd Bergmann Cc: Greg Kroah-Hartman --- drivers/misc/eeprom/idt_89hpesx.c | 8 ---

[PATCH] sound: fsl_dma: remove dma_object path member

2017-07-18 Thread Rob Herring
dma_object.path is unused, so rather than fix it to work with DT full_name changes, just remove it. Signed-off-by: Rob Herring Cc: Timur Tabi Cc: Nicolin Chen Cc: Xiubo Li Cc: Fabio Estevam Cc: Liam Girdwood Cc: Mark Brown Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: alsa-de...@alsa-project.o

[PATCH] sound: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Johannes Berg Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: Timur Tabi Cc: Nicolin Chen Cc

[PATCH] spmi: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring --- drivers/spmi/spmi.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-)

[PATCH] usb: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Greg Kroah-Hartman Cc: Felipe Balbi Cc: linux-...@vger.kernel.org --- drivers/usb/commo

[PATCH] virt: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring --- drivers/virt/fsl_hypervisor.c | 12 ++-- 1 file changed, 6 insertions(+), 6 delet

[PATCH] spi: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Mark Brown Cc: linux-...@vger.kernel.org --- drivers/spi/spi-orion.c | 4 ++-- drivers/

[PATCH] video: fbdev: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Bartlomiej Zolnierkiewicz Cc: linux-fb...@vger.kernel.org --- drivers/video/fbdev/bw2.c

[PATCH] tty: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Mi

[PATCH] soc: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Scott Wood Cc: Qiang Zhao Cc: Matthias Brugger Cc: Simon Horman Cc: Magnus Damm Cc: K

[PATCH] soc/samsung: use kbasename instead of open coding

2017-07-18 Thread Rob Herring
In preparation to not store the full path of nodes in full_name, use kbasename instead as it will work either with the full path or not. Signed-off-by: Rob Herring Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: Javier Martinez Canillas Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...

[PATCH] staging: fsl-mc: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Stuart Yoder Cc: Laurentiu Tudor Cc: Greg Kroah-Hartman Cc: de...@driverdev.osuosl.org

[PATCH] regulator: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Liam Girdwood Cc: Mark Brown Cc: Sangbeom Kim Cc: Krzysztof Kozlowski Cc: Bartlomiej Z

[PATCH] scsi: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-s...@vger.kernel.org --- driv

[PATCH] power/reset: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Nicolas Ferre Cc: Sebastian Reichel Cc: linux...@vger.kernel.org --- drivers/power/rese

[PATCH] sbus: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: "David S. Miller" Cc: sparcli...@vger.kernel.org --- drivers/sbus/char/display7seg.c | 4

[PATCH] pwm: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Thierry Reding Cc: Carlo Caione Cc: Kevin Hilman Cc: linux-...@vger.kernel.org Cc: linu

[PATCH] nvmem: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Srinivas Kandagatla --- drivers/nvmem/core.c | 4 ++-- 1 file changed, 2 insertions(+),

[PATCH] pinctrl: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Linus Walleij Cc: Lee Jones Cc: Eric Anholt Cc: Stefan Wahren Cc: Florian Fainelli Cc

[PATCH] msi-wmi: remove unnecessary static in msi_wmi_notify()

2017-07-18 Thread Gustavo A. R. Silva
Remove unnecessary static on local variable _key_. Such variable is initialized before being used, on every execution path throughout the function. The static has no benefit and, removing it reduces the object file size. This issue was detected using Coccinelle and the following semantic patch: ht

[PATCH] net: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Andrew Lunn Cc: Vivien Didelot Cc: Florian Fainelli Cc: Madalin Bucur Cc: Douglas Mill

[PATCH] PCI: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Thomas Petazzoni Cc: Jason Cooper Cc: Bjorn Helgaas Cc: Thierry Reding Cc: Jonathan Hu

[PATCH] perf: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Will Deacon Cc: Mark Rutland Cc: linux-arm-ker...@lists.infradead.org --- drivers/perf/

[PATCH] mtd: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: David Woodhouse Cc: Brian Norris Cc: Boris Brezillon Cc: Marek Vasut Cc: Richard Weinb

[PATCH] mux: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Peter Rosin --- drivers/mux/mux-core.c | 12 ++-- 1 file changed, 6 insertions(+

[PATCH] memory: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Nicolas Ferre Cc: Alexandre Belloni Cc: Roger Quadros Cc: Tony Lindgren Cc: linux-arm-

Re: [PATCH] net: Convert to using %pOF instead of full_name

2017-07-18 Thread David Miller
From: Rob Herring Date: Tue, 18 Jul 2017 16:43:19 -0500 > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring Acked-by: David S. Miller

Re: [PATCH] sbus: Convert to using %pOF instead of full_name

2017-07-18 Thread David Miller
From: Rob Herring Date: Tue, 18 Jul 2017 16:43:27 -0500 > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring Acked-by: David S. Miller

Re: [PATCH] crypto: n2_core: Convert to using %pOF instead of full_name

2017-07-18 Thread David Miller
From: Rob Herring Date: Tue, 18 Jul 2017 16:42:56 -0500 > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring Acked-by: David S. Miller

Re: [PATCH] tty: Convert to using %pOF instead of full_name

2017-07-18 Thread David Miller
From: Rob Herring Date: Tue, 18 Jul 2017 16:43:34 -0500 > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring For sparc bits: Acked-by

Re: [PATCH v2 1/4] time: rtc-lib: Add rtc_show_time(const char *prefix_msg)

2017-07-18 Thread Thomas Gleixner
On Tue, 18 Jul 2017, Mark Salyzyn wrote: > Go directly to the rtc for persistent wall clock time and print. > Useful if REALTIME is required to be logged in a low level power > management function or when clock activities are suspended. An > aid to permit user space alignment of kernel activities

[PATCH] media: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Kyungmin Park Cc: Andrzej Hajda Cc: Mauro Carvalho Chehab Cc: "Lad, Prabhakar" Cc: Son

[PATCH] mmc: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Ulf Hansson Cc: Ludovic Desroches Cc: Jan Glauber Cc: David Daney Cc: "Steven J. Hill"

[PATCH] irqchip: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: Lee Jones Cc: Eric Anholt Cc: S

Re: [PATCH v5 2/5] tick: Add freeze timer events

2017-07-18 Thread Thomas Gleixner
On Tue, 18 Jul 2017, dbasehore . wrote: > On Mon, Jul 17, 2017 at 11:40 PM, Thomas Gleixner wrote: > > On Mon, 17 Jul 2017, dbasehore . wrote: > >> On Mon, Jul 17, 2017 at 6:33 PM, Rafael J. Wysocki > >> wrote: > >> I could make a patch to try it out. I would probably add a flag to rtc > >> time

[PATCH] macintosh: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Benjamin Herrenschmidt Cc: linuxppc-...@lists.ozlabs.org --- drivers/macintosh/macio_sys

Re: [kernel-hardening] Re: [RFC PATCH 6/6] arm64: add VMAP_STACK and detect out-of-bounds SP

2017-07-18 Thread Laura Abbott
On 07/15/2017 05:03 PM, Ard Biesheuvel wrote: > On 14 July 2017 at 22:27, Mark Rutland wrote: >> On Fri, Jul 14, 2017 at 03:06:06PM +0100, Mark Rutland wrote: >>> On Fri, Jul 14, 2017 at 01:27:14PM +0100, Ard Biesheuvel wrote: On 14 July 2017 at 11:48, Ard Biesheuvel wrote: > On 14 July

[PATCH] gpu: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Russell King Cc: David Airlie Cc: Daniel Vetter Cc: Jani Nikula Cc: Sean Paul Cc: Ink

[PATCH] iommu: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Joerg Roedel Cc: Heiko Stuebner Cc: io...@lists.linux-foundation.org Cc: linux-arm-ker..

[PATCH] hwmon: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Dirk Eibach Cc: Jean Delvare Cc: Guenter Roeck Cc: linux-hw...@vger.kernel.org --- dri

[PATCH] iio: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Jonathan Cameron Cc: Hartmut Knaack Cc: Lars-Peter Clausen Cc: Peter Meerwald-Stadler

[PATCH] ide: pmac: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: "David S. Miller" Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman C

[PATCH] extcon: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: MyungJoo Ham Cc: Chanwoo Choi --- drivers/extcon/extcon.c | 4 ++-- 1 file changed, 2 i

[PATCH] gpio: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Tien Hock Loh Cc: Linus Walleij Cc: Alexandre Courbot Cc: Gregory Fong Cc: Brian Norri

[PATCH] firmware: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Sudeep Holla Cc: Mark Rutland Cc: Lorenzo Pieralisi Cc: linux-arm-ker...@lists.infradea

[PATCH] EDAC: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Borislav Petkov Cc: Mauro Carvalho Chehab Cc: linux-e...@vger.kernel.org --- drivers/ed

[PATCH] cpuidle: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: "Rafael J. Wysocki" Cc: Daniel Lezcano Cc: linux...@vger.kernel.org --- drivers/cpuidle

[PATCH] crypto: n2_core: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Herbert Xu Cc: "David S. Miller" Cc: linux-cry...@vger.kernel.org --- drivers/crypto/n2

[PATCH] dma: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Vinod Koul Cc: Dan Williams Cc: dmaeng...@vger.kernel.org --- drivers/dma/of-dma.c

[PATCH cgroup/for-4.13-fixes] cgroup: create dfl_root files on subsys registration

2017-07-18 Thread Tejun Heo
On subsystem registration, css_populate_dir() is not called on the new root css, so the interface files for the subsystem on cgrp_dfl_root aren't created on registration. This is a residue from the days when cgrp_dfl_root was used only as the parking spot for unused subsystems, which no longer is

[PATCH] devfreq: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Chanwoo Choi Cc: MyungJoo Ham Cc: Kyungmin Park Cc: linux...@vger.kernel.org --- drive

[PATCH] PM / Domains: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: "Rafael J. Wysocki" Cc: Kevin Hilman Cc: Ulf Hansson Cc: Pavel Machek Cc: Len Brown C

[PATCH] clocksource: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: Marc Gonzalez Cc: Maxime Coquelin Cc: Alexandre

[PATCH] clk: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Michael Turquette Cc: Stephen Boyd Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: Russel

Re: [PATCH] ide: pmac: Convert to using %pOF instead of full_name

2017-07-18 Thread David Miller
From: Rob Herring Date: Tue, 18 Jul 2017 16:43:07 -0500 > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring Acked-by: David S. Miller

[PATCH] cpufreq: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: "Rafael J. Wysocki" Cc: Viresh Kumar Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc:

[PATCH] base: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Greg Kroah-Hartman --- drivers/base/arch_topology.c | 8 1 file changed, 4 inse

Re: [PATCH] mmc: Convert to using %pOF instead of full_name

2017-07-18 Thread David Daney
On 07/18/2017 02:43 PM, Rob Herring wrote: Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Ulf Hansson Cc: Ludovic Desroches Cc: Jan G

[PATCH] powerpc: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Anatolij Gustschin

[PATCH] ata: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Tejun Heo Cc: linux-...@vger.kernel.org --- drivers/ata/sata_svw.c | 2 +- 1 file change

Re: [PATCH 1/2] MIPS: ralink: Fix build error due to missing header

2017-07-18 Thread Ralf Baechle
On Tue, Jul 18, 2017 at 02:25:45PM +0100, Harvey Hunt wrote: > Previously, was included before ralink_regs.h in all > ralink files - leading to being implicitly included. > > After commit 26dd3e4ff9ac ("MIPS: Audit and remove any unnecessary > uses of module.h") removed the inclusion of module.

[PATCH] x86/platform/uv/BAU: disable BAU on single hub configurations

2017-07-18 Thread Andrew Banman
The BAU confers no benefit to a UV system running with only one hub/socket. Permanently disable the BAU driver if there are less than two hubs online to avoid BAU overhead. We have observed failed boots on single-socket UV4 systems caused by BAU that are avoided with this patch. Signed-off-by: And

[PATCH] ibm_rtl: remove unnecessary static in ibm_rtl_write()

2017-07-18 Thread Gustavo A. R. Silva
Remove unnecessary static on local variable cmd_port_val. Such variable is initialized before being used, on every execution path throughout the function. The static has no benefit and, removing it reduces the object file size. This issue was detected using Coccinelle and the following semantic pa

[PATCH] arm64: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Catalin Marinas Cc: Will Deacon Cc: linux-arm-ker...@lists.infradead.org --- arch/arm64

[PATCH] microblaze: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Michal Simek --- arch/microblaze/kernel/timer.c | 2 +- arch/microblaze/pci/pci-commo

[PATCH] MIPS: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Ralf Baechle Cc: linux-m...@linux-mips.org --- arch/mips/ath79/clock.c| 9 -

[PATCH] ARM: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Russell King Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: Javier Martinez Canillas Cc: S

Re: [PATCH v5 2/5] tick: Add freeze timer events

2017-07-18 Thread dbasehore .
On Tue, Jul 18, 2017 at 2:53 PM, Thomas Gleixner wrote: > On Tue, 18 Jul 2017, dbasehore . wrote: >> On Mon, Jul 17, 2017 at 11:40 PM, Thomas Gleixner wrote: >> > On Mon, 17 Jul 2017, dbasehore . wrote: >> >> On Mon, Jul 17, 2017 at 6:33 PM, Rafael J. Wysocki >> >> wrote: >> >> I could make a p

Re: [PATCH] ata: Convert to using %pOF instead of full_name

2017-07-18 Thread Tejun Heo
On Tue, Jul 18, 2017 at 04:42:48PM -0500, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring > Cc: Tejun Heo > Cc:

Re: [PATCH] lib/strscpy: avoid KASAN false positive

2017-07-18 Thread Andrew Morton
On Wed, 19 Jul 2017 00:31:36 +0300 Andrey Ryabinin wrote: > On 07/18/2017 11:26 PM, Linus Torvalds wrote: > > On Tue, Jul 18, 2017 at 1:15 PM, Andrey Ryabinin > > wrote: > >> > >> No, it does warn about valid users. The report that Dave posted wasn't > >> about wrong strscpy() usage > >> it wa

Re: [PATCH 2/2] MIPS: ralink: mt7620: Add missing header

2017-07-18 Thread Ralf Baechle
On Tue, Jul 18, 2017 at 02:25:46PM +0100, Harvey Hunt wrote: > Fix a build error caused by not including . > > The following compilation errors are caused by the missing header: > > arch/mips/ralink/mt7620.c: In function ‘mt7620_get_cpu_pll_rate’: > arch/mips/ralink/mt7620.c:431:2: error: implic

Re: [PATCH v2 1/4] time: rtc-lib: Add rtc_show_time(const char *prefix_msg)

2017-07-18 Thread Mark Salyzyn
On 07/18/2017 02:52 PM, Thomas Gleixner wrote: On Tue, 18 Jul 2017, Mark Salyzyn wrote: Go directly to the rtc for persistent wall clock time and print. Useful if REALTIME is required to be logged in a low level power management function or when clock activities are suspended. An aid to permit

Re: [PATCH v2 2/4] time: Print wall time at die and reboot

2017-07-18 Thread Thomas Gleixner
On Tue, 18 Jul 2017, Mark Salyzyn wrote: > Permits power state and battery life diagnosis. This changelog is useless as long as you do not explain in which whay that permits power state and battery life diagnosis. I really have a hard time to figure out why you need to print RTC time on oops or

Re: [PATCH cgroup/for-4.13-fixes] cgroup: create dfl_root files on subsys registration

2017-07-18 Thread Waiman Long
On 07/18/2017 05:57 PM, Tejun Heo wrote: > On subsystem registration, css_populate_dir() is not called on the new > root css, so the interface files for the subsystem on cgrp_dfl_root > aren't created on registration. This is a residue from the days when > cgrp_dfl_root was used only as the parkin

<    5   6   7   8   9   10   11   12   13   >