[PATCH] ARM64: dts: meson: p230: disable advertisement EEE for GbE.

2018-11-09 Thread He Yangxuan
This patch disable EEE advertisement for P230 board (DWMAC + RTL8211F). If not disable it, the network connection is not stable, will got issues like throughput drop or broken link. Signed-off-by: He Yangxuan --- arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts | 1 + 1 file changed, 1

[PATCH v3 04/10] sched/fair: Dynamically update cfs_overload_cpus

2018-11-09 Thread Steve Sistare
An overloaded CPU has more than 1 runnable task. When a CFS task wakes on a CPU, if h_nr_running transitions from 1 to more, then set the CPU in the cfs_overload_cpus bitmap. When a CFS task sleeps, if h_nr_running transitions from 2 to less, then clear the CPU in cfs_overload_cpus.

Re: [PATCH] x86/mkpiggy: Drop endianness transforming

2018-11-09 Thread Thomas Gleixner
Cao, On Fri, 9 Nov 2018, Cao jin wrote: > gzip file has 4-byte little-endian file size encoded at the end of file, > while all the other compressed kernel file has size_append operation in > the Makefile which also append the 4-byte little-endian file size. There > is no need to do endianness

[PATCH v3 05/10] sched/fair: Hoist idle_stamp up from idle_balance

2018-11-09 Thread Steve Sistare
Move the update of idle_stamp from idle_balance to the call site in pick_next_task_fair, to prepare for a future patch that adds work to pick_next_task_fair which must be included in the idle_stamp interval. No functional change. Signed-off-by: Steve Sistare --- kernel/sched/fair.c | 23

[PATCH v3 03/10] sched/topology: Provide cfs_overload_cpus bitmap

2018-11-09 Thread Steve Sistare
From: Steve Sistare Define and initialize a sparse bitmap of overloaded CPUs, per last-level-cache scheduling domain, for use by the CFS scheduling class. Save a pointer to cfs_overload_cpus in the rq for efficient access. Signed-off-by: Steve Sistare --- include/linux/sched/topology.h | 1 +

[PATCH v3 08/10] sched/fair: Steal work from an overloaded CPU when CPU goes idle

2018-11-09 Thread Steve Sistare
When a CPU has no more CFS tasks to run, and idle_balance() fails to find a task, then attempt to steal a task from an overloaded CPU in the same LLC, using the cfs_overload_cpus bitmap to efficiently identify candidates. To minimize search time, steal the first migratable task that is found when

Re: KMSAN: uninit-value in linear_transfer (2)

2018-11-09 Thread Takashi Iwai
On Fri, 09 Nov 2018 13:17:25 +0100, Alexander Potapenko wrote: > > > It's still strange that the conversion function gets called for the > > uninitialized source. But we should clear the vmalloc page in anyway > > for avoiding such a problem. And even better would be to use > > kvzalloc() for a

[PATCH v3 10/10] sched/fair: Provide idle search schedstats

2018-11-09 Thread Steve Sistare
Add schedstats to measure the effectiveness of searching for idle CPUs and stealing tasks. This is a temporary patch intended for use during development only. SCHEDSTAT_VERSION is bumped to 16, and the following fields are added to the per-CPU statistics of /proc/schedstat: field 10: # of times

[PATCH v3 09/10] sched/fair: disable stealing if too many NUMA nodes

2018-11-09 Thread Steve Sistare
The STEAL feature causes regressions on hackbench on larger NUMA systems, so disable it on systems with more than sched_steal_node_limit nodes (default 2). Note that the feature remains enabled as seen in features.h and /sys/kernel/debug/sched_features, but stealing is only performed if nodes <=

[PATCH v3 00/10] steal tasks to improve CPU utilization

2018-11-09 Thread Steve Sistare
When a CPU has no more CFS tasks to run, and idle_balance() fails to find a task, then attempt to steal a task from an overloaded CPU in the same LLC. Maintain and use a bitmap of overloaded CPUs to efficiently identify candidates. To minimize search time, steal the first migratable task that is

[PATCH v3 02/10] sched/topology: Provide hooks to allocate data shared per LLC

2018-11-09 Thread Steve Sistare
Add functions sd_llc_alloc_all() and sd_llc_free_all() to allocate and free data pointed to by struct sched_domain_shared at the last-level-cache domain. sd_llc_alloc_all() is called after the SD hierarchy is known, to eliminate the unnecessary allocations that would occur if we instead allocated

[PATCH v3 01/10] sched: Provide sparsemask, a reduced contention bitmap

2018-11-09 Thread Steve Sistare
From: Steve Sistare Provide struct sparsemask and functions to manipulate it. A sparsemask is a sparse bitmap. It reduces cache contention vs the usual bitmap when many threads concurrently set, clear, and visit elements, by reducing the number of significant bits per cacheline. For each 64

[PATCH v3 07/10] sched/fair: Provide can_migrate_task_llc

2018-11-09 Thread Steve Sistare
Define a simpler version of can_migrate_task called can_migrate_task_llc which does not require a struct lb_env argument, and judges whether a migration from one CPU to another within the same LLC should be allowed. Signed-off-by: Steve Sistare --- kernel/sched/fair.c | 28

[PATCH v3 06/10] sched/fair: Generalize the detach_task interface

2018-11-09 Thread Steve Sistare
The detach_task function takes a struct lb_env argument, but only needs a few of its members. Pass the rq and cpu arguments explicitly so the function may be called from code that is not based on lb_env. No functional change. Signed-off-by: Steve Sistare --- kernel/sched/fair.c | 14

Re: [PATCH 3/8] sparc: prom: use property "name" directly to construct node names

2018-11-09 Thread Rob Herring
On Thu, Nov 8, 2018 at 9:13 PM David Miller wrote: > > From: Rob Herring > Date: Wed, 7 Nov 2018 16:31:46 -0600 > > > In preparation to remove direct accesses to the device_node.name > > pointer, retrieve the node name from the "name" property instead. > > > > Cc: "David S. Miller" > > Cc:

Re: [PATCH v3 5/9] arm64: defconfig: Replace PINCTRL_MT7622 with PINCTRL_MTK_MOORE

2018-11-09 Thread Matthias Brugger
On 09/11/2018 02:03, Marc Gonzalez wrote: > Commit e78d57b2f87c ("pinctrl: mediatek: add pinctrl-moore that > implements the generic pinctrl dt-bindings") made PINCTRL_MT7622 > depend on PINCTRL_MTK_MOORE. > > Signed-off-by: Marc Gonzalez > --- > arch/arm64/configs/defconfig | 2 +- > 1 file

Re: [PATCH 1/2] ASoC: pcm3060: Add control for differential output

2018-11-09 Thread Kirill Marinushkin
Hello Mark, On 11/05/18 12:20, Mark Brown wrote: > On Mon, Oct 29, 2018 at 09:59:12AM +0100, Kirill Marinushkin wrote: >> DAC may be switched between differential and single-ended output. > > Isn't this something that'd be better controlled by DT - it's usually > going to be part of the board

Re: [PATCH 1/3] gpio: mockup: fix indicated direction

2018-11-09 Thread Uwe Kleine-König
Hello, On Fri, Nov 09, 2018 at 01:24:36PM +0100, Bartosz Golaszewski wrote: > pt., 9 lis 2018 o 12:54 Uwe Kleine-König > napisał(a): > > On Fri, Nov 09, 2018 at 12:13:44PM +0100, Bartosz Golaszewski wrote: > > > czw., 8 lis 2018 o 21:35 Uwe Kleine-König > > > napisał(a): > > > > On Thu, Nov 08,

Re: [RFC PATCH] mm: thp: implement THP reservations for anonymous memory

2018-11-09 Thread Mel Gorman
On Fri, Nov 09, 2018 at 03:13:18PM +0300, Kirill A. Shutemov wrote: > On Thu, Nov 08, 2018 at 10:48:58PM -0800, Anthony Yznaga wrote: > > The basic idea as outlined by Mel Gorman in [2] is: > > > > 1) On first fault in a sufficiently sized range, allocate a huge page > >sized and aligned

Re: [PATCH v3 3/3] ARM64: dts: meson-gxl: Add support for the Smartlabs SML-5442TW

2018-11-09 Thread jbrunet
On Thu, 2018-11-08 at 23:43 +0400, Christian Hewitt wrote: > +/* This will enable the bluetooth module */ > + { > + bt-en { > + gpio-hog; > + gpios = ; > + output-high; > + line-name = "bt-en"; > + }; > +}; Instead of this, is it

RE: [LINUX PATCH v12 3/3] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-11-09 Thread Naga Sureshkumar Relli
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Friday, November 9, 2018 1:38 PM > To: Naga Sureshkumar Relli > Cc: miquel.ray...@bootlin.com; rich...@nod.at; dw...@infradead.org; > computersforpe...@gmail.com; marek.va...@gmail.com;

RE: [LINUX PATCH v12 1/3] dt-bindings: mtd: arasan: Add device tree binding documentation

2018-11-09 Thread Naga Sureshkumar Relli
Hi Miquel, > -Original Message- > From: Miquel Raynal [mailto:miquel.ray...@bootlin.com] > Sent: Friday, November 9, 2018 6:24 PM > To: Naga Sureshkumar Relli > Cc: Boris Brezillon ; rich...@nod.at; > dw...@infradead.org; > computersforpe...@gmail.com; marek.va...@gmail.com; Michal

[PATCH] tracing: clean an indentation issue, remove extraneous spaces

2018-11-09 Thread Colin King
From: Colin Ian King Trivial fix to clean up an indentation issue, a whole chunk of code has an extra space in the indentation. Signed-off-by: Colin Ian King --- kernel/trace/trace_events_filter.c | 48 +++--- 1 file changed, 24 insertions(+), 24 deletions(-) diff

[PATCH] arm64: dts: meson: s400: add bcm bluetooth device

2018-11-09 Thread Jerome Brunet
Add broadcom bluetooth device on the s400 Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index

Re: [PATCH v3 3/3] ALSA: hda: add support for Huawei WMI micmute LED

2018-11-09 Thread Takashi Iwai
On Fri, 09 Nov 2018 14:20:47 +0100, Ayman Bagabas wrote: > > [1 ] > > On Fri, Nov 9, 2018, 4:01 AM Takashi Iwai > On Thu, 08 Nov 2018 18:16:55 +0100, > Ayman Bagabas wrote: > > > > diff --git a/drivers/platform/x86/huawei_wmi.c b/drivers/platform/x86/ > huawei_wmi.c >

Re: [PATCH v2 3/4] of/property: Add of_fwnode_name()

2018-11-09 Thread Heikki Krogerus
On Thu, Nov 08, 2018 at 03:18:21PM -0600, Rob Herring wrote: > On Thu, Nov 8, 2018 at 1:25 PM Andy Shevchenko > wrote: > > > > On Thu, Nov 08, 2018 at 12:23:51PM -0600, Rob Herring wrote: > > > On Thu, Nov 8, 2018 at 10:52 AM Heikki Krogerus > > > wrote: > > > > > > > > This implements get_name

[PATCH] EDAC: clean an indentation issues, replace spaces for tabs

2018-11-09 Thread Colin King
From: Colin Ian King Trivial fix to clean up an indentation issues, replacing 7 space chars for a tab and also inserting a missing indentation Signed-off-by: Colin Ian King --- drivers/edac/e752x_edac.c | 4 ++-- drivers/edac/i3000_edac.c | 4 ++-- drivers/edac/i5000_edac.c | 4 ++--

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Ard Biesheuvel
On 8 November 2018 at 22:15, Josh Poimboeuf wrote: > Add a static call infrastructure. Static calls use code patching to > hard-code function pointers into direct branch instructions. They give > the flexibility of function pointers, but with improved performance. > This is especially important

Re: [GIT PULL] s390 patches for 4.20 #2

2018-11-09 Thread Martin Schwidefsky
On Fri, 9 Nov 2018 06:39:07 -0600 Linus Torvalds wrote: > On Fri, Nov 9, 2018 at 1:14 AM Martin Schwidefsky > wrote: > > > > s390 updates for 4.20-rc2 > > Pulled. > > > - A fix for the pgtable_bytes misaccounting on s390. The patch changes > >common code part in regard to page table

Re: [PATCH 4.4 000/114] 4.4.163-stable review

2018-11-09 Thread Guenter Roeck
On 11/8/18 1:50 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.163 release. There are 114 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: WARNING: CPU: 0 PID: 0 at drivers/irqchip/irq-gic-v3-its.c

2018-11-09 Thread Marc Zyngier
On 09/11/18 12:28, Qian Cai wrote: > > On 11/9/18 at 7:08 AM, Marc Zyngier wrote: > >> [+Ard] >> >> On 08/11/18 20:59, Qian Cai wrote: >>> Just booting up the latest git master (b00d209) on an aarch64 server and saw >>> this. Not sure about the third warning (at kernel/cpu.c:315 >>>

Re: [PATCH RFC 0/3] Static calls

2018-11-09 Thread Ard Biesheuvel
On 9 November 2018 at 08:28, Ingo Molnar wrote: > > * Josh Poimboeuf wrote: > >> These patches are related to two similar patch sets from Ard and Steve: >> >> - https://lkml.kernel.org/r/20181005081333.15018-1-ard.biesheu...@linaro.org >> -

Re: [PATCH 4/4] ARM: dts: meson: consistently disable pin bias

2018-11-09 Thread kbuild test robot
Hi Jerome, I love your patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on v4.20-rc1 next-20181109] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH v2] ARM: module: Fix function kallsyms on Thumb-2

2018-11-09 Thread Vincent Whitchurch
On Fri, Nov 02, 2018 at 02:53:22PM +0100, Jessica Yu wrote: > +++ Vincent Whitchurch [01/11/18 16:29 +0100]: > > On Wed, Oct 31, 2018 at 04:53:41PM +0100, Jessica Yu wrote: > > > Could this be done in modpost? I'm guessing the answer is no as some > > > relocations may rely on that bit being set

Re: [PATCH 1/3] gpio: mockup: fix indicated direction

2018-11-09 Thread Bartosz Golaszewski
pt., 9 lis 2018 o 14:10 Uwe Kleine-König napisał(a): > > Hello, > > On Fri, Nov 09, 2018 at 01:24:36PM +0100, Bartosz Golaszewski wrote: > > pt., 9 lis 2018 o 12:54 Uwe Kleine-König > > napisał(a): > > > On Fri, Nov 09, 2018 at 12:13:44PM +0100, Bartosz Golaszewski wrote: > > > > czw., 8 lis

Re: [GIT PULL] nds32 new features and bug fix for 4.20

2018-11-09 Thread Linus Torvalds
On Fri, Nov 9, 2018 at 4:01 AM Greentime Hu wrote: > > nds32 patches for 4.20 Much much too late for 4.20. Send these the next merge window please. Linus

[PATCH v2 0/4] ARM: dts: meson: set pinmux bias

2018-11-09 Thread Jerome Brunet
On Amlogic chipsets, the bias set through pinconf applies to the pad itself, not only the GPIO function. This means that even when we change the function of the pad from GPIO to anything else, the bias previously set still applies. While trying to boot from SPI, I noticed the eMMC was not working

[PATCH v2 2/4] arm64: dts: meson: disable pad bias for mmc pinmuxes

2018-11-09 Thread Jerome Brunet
In some cases (such as a boot from SPI) the bootloader or the ROM code may leave a bias pull-down on the mmc pins. If so the MMC will fail during the initialisation. Explicitly disabling the pinmux solves the problem. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi

[PATCH 1/5] scsi: hisi_sas: Create separate host attributes per HBA

2018-11-09 Thread John Garry
From: Xiang Chen Currently all the three HBA (v1/v2/v3 HW) share the same host attribute. To support each HBA having separate attributes in future, create per-HBA attributes. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas.h | 1 -

[PATCH 2/5] scsi: hisi_sas: Add support for interrupt converge for v3 hw

2018-11-09 Thread John Garry
From: Xiang Chen If CQ_INT_CONVERGE_EN is enabled, the interrupts of all the 16 CQ queues will be reported by CQ0. So we need to change the process of CQ tasklet for this situation. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 29

[PATCH v2 4/4] ARM: dts: meson: consistently disable pin bias

2018-11-09 Thread Jerome Brunet
On Amlogic chipsets, the bias set through pinconf applies to the pad itself, not only the GPIO function. This means that even when we change the function of the pad from GPIO to anything else, the bias previously set still applies. As we have seen with the eMMC, depending on the bias type and the

[PATCH 3/5] scsi: hisi_sas: Add support for interrupt coalescing for v3 hw

2018-11-09 Thread John Garry
From: Xiang Chen If INT_COAL_EN is enabled, config time and count of interrupt coalescing. Then if CQ collects count of CQ entries in time, it will report the interrupt. Or if CQ doesn't collect enough CQ entries in time, it Will report the interrupt at timeout. As all the registers are not

[PATCH v2 3/4] arm64: dts: meson: consistently disable pin bias

2018-11-09 Thread Jerome Brunet
On Amlogic chipsets, the bias set through pinconf applies to the pad itself, not only the GPIO function. This means that even when we change the function of the pad from GPIO to anything else, the bias previously set still applies. As we have seen with the eMMC, depending on the bias type and the

[PATCH v2 1/4] arm64: dts: meson: remove extra subnode in mmc clk_gate pinmux

2018-11-09 Thread Jerome Brunet
In the pinmux of the mmc clk_gate nodes, we define 2 subnodes. One for the function definition, the other for the bias. This is not necessary since we can define the function and the bias in the same subnode. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 6

Re: [PATCH v6 1/3] printk: Add line-buffered printk() API.

2018-11-09 Thread Petr Mladek
On Thu 2018-11-08 21:30:49, Sergey Senozhatsky wrote: > On (11/08/18 12:24), Petr Mladek wrote: > > > - It seems that buffered printk attempts to solve too many problems. > > > I'd prefer it to address just one. > > > > This API tries to handle continuous lines more reliably. > > Do I miss

Re: [PATCH 4.4 000/114] 4.4.163-stable review

2018-11-09 Thread Guenter Roeck
On 11/9/18 5:50 AM, Guenter Roeck wrote: On 11/8/18 1:50 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.163 release. There are 114 patches in this series, all will be posted as a response to this one.  If anyone has any issues with these being applied,

Re: [PATCH 3/3] lockdep: Use line-buffered printk() for lockdep messages.

2018-11-09 Thread Linus Torvalds
On Fri, Nov 9, 2018 at 12:12 AM Sergey Senozhatsky wrote: > > Dunno. I guess we still haven't heard from Linus because he did quite a good > job setting up his 'email filters' ;) Not filters, just long threads that I lurk on. I don't actually care too much about this - the part I care about is

[PATCH v2 1/6] driver core: platform: Remove duplicated device_remove_properties() call

2018-11-09 Thread Heikki Krogerus
device_remove_properties() is called for every device in device_del(). Signed-off-by: Heikki Krogerus --- drivers/base/platform.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/base/platform.c b/drivers/base/platform.c index 41b91af95afb..0fb5f140f1b0 100644 ---

[PATCH v2 3/6] ACPI / glue: Add acpi_platform_notify() function

2018-11-09 Thread Heikki Krogerus
Instead of relying on the "platform_notify" callback hook, introducing separate notification function acpi_platform_notify() and calling that directly from drivers core when device entries are added and removed. Signed-off-by: Heikki Krogerus --- drivers/acpi/bus.c | 1 -

[PATCH v2 5/6] device property: Move device_add_properties() to swnode.c

2018-11-09 Thread Heikki Krogerus
Concentrating struct property_entry processing to drivers/base/swnode.c Signed-off-by: Heikki Krogerus --- drivers/base/property.c | 179 -- drivers/base/swnode.c | 184 2 files changed, 184 insertions(+), 179

[PATCH v2 4/6] drivers: base: Introducing software nodes to the firmware node framework

2018-11-09 Thread Heikki Krogerus
Software node is a new struct fwnode_handle type that can be used to describe devices in kernel (software). It is meant to complement fwnodes representing real firmware nodes when they are incomplete (for example missing device properties) and to supply the primary fwnode when the firmware lacks

[PATCH v2 6/6] device property: Remove struct property_set

2018-11-09 Thread Heikki Krogerus
Replacing struct property_set with the software nodes that were just introduced. The API and functionality for adding properties to devices remains the same, however, the goal is to convert the drivers to use the API for software nodes when the device has no real firmware node, and use the old

[PATCH v2 0/6] device property: Introducing software nodes

2018-11-09 Thread Heikki Krogerus
Hi, This is the second version of my proposal for "software nodes". There was a "dereferencing freed memory" bug in patch 3/5 which is now fixed. device_add_properties() and device_remove_properties() no longer change places in the code as requested by Andy. The original RFC can be checked from

[PATCH v2 2/6] drivers core: Prepare support for multiple platform notifications

2018-11-09 Thread Heikki Krogerus
Since it should be possible to support several hardware description models at the same time (at least in theory), for example ACPI and devicetree on a running system, the platform notifications need to be handled differently. For now a single "platform_notify" callback function was used to notify

Re: [RCF PATCH,v2,2/2] pwm: imx: Configure output to GPIO in disabled state

2018-11-09 Thread Vokáč Michal
On 8.11.2018 20:18, Uwe Kleine-König wrote: > On Thu, Nov 08, 2018 at 03:21:44PM +, Vokáč Michal wrote: >> Hi Uwe, >> >> On 7.11.2018 16:01, Uwe Kleine-König wrote: Interesting idea. I just wonder why nobody else did not come up with such a simple solution before. >>> >>> I think I

dcache_readdir NULL inode oops

2018-11-09 Thread Jan Glauber
Hi Al, I'm seeing the following oops reproducible with upstream kernel on arm64 (ThunderX2): [ 5428.795719] Unable to handle kernel NULL pointer dereference at virtual address 0040 [ 5428.813838] Mem abort info: [ 5428.820721] ESR = 0x9606 [ 5428.828476] Exception class =

[PATCH] infiniband/hw/hns/hns_roce_hw_v2.c: Use dma_zalloc_coherent

2018-11-09 Thread Sabyasachi Gupta
Replaced dma_alloc_coherent + memset with dma_zalloc_coherent Signed-off-by: Sabyasachi Gupta --- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v2.c

Re: [PATCH 1/3] gpio: mockup: fix indicated direction

2018-11-09 Thread Uwe Kleine-König
On Fri, Nov 09, 2018 at 02:53:16PM +0100, Bartosz Golaszewski wrote: > pt., 9 lis 2018 o 14:10 Uwe Kleine-König > napisał(a): > > > > Hello, > > > > On Fri, Nov 09, 2018 at 01:24:36PM +0100, Bartosz Golaszewski wrote: > > > pt., 9 lis 2018 o 12:54 Uwe Kleine-König > > > napisał(a): > > > > On

Re: [PATCH 4.18 00/34] 4.18.18-stable review

2018-11-09 Thread Naresh Kamboju
On Fri, 9 Nov 2018 at 03:40, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.18.18 release. > There are 34 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH] drivers/android/binder.c: Remove duplicate header

2018-11-09 Thread kbuild test robot
Hi Brajeswar, Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.20-rc1 next-20181109] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

Re: [PATCH 4.14 00/31] 4.14.80-stable review

2018-11-09 Thread Naresh Kamboju
On Fri, 9 Nov 2018 at 03:38, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.80 release. > There are 31 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 3/3] lockdep: Use line-buffered printk() for lockdep messages.

2018-11-09 Thread Steven Rostedt
On Fri, 9 Nov 2018 08:08:13 -0600 Linus Torvalds wrote: > You guys seem to be talking it out > ok. Do your new filters not only remove words, but also add text? ;-) -- Steve

Re: [GIT PULL] nds32 new features and bug fix for 4.20

2018-11-09 Thread Greentime Hu
Linus Torvalds 於 2018年11月9日 週五 下午10:03寫道: > > On Fri, Nov 9, 2018 at 4:01 AM Greentime Hu wrote: > > > > nds32 patches for 4.20 > > Much much too late for 4.20. > > Send these the next merge window please. Sorry for late. I will send these in the next merge window.

Re: [PATCH RFC 0/3] Static calls

2018-11-09 Thread Josh Poimboeuf
On Fri, Nov 09, 2018 at 08:28:11AM +0100, Ingo Molnar wrote: > > - I'm not sure about the objtool approach. Objtool is (currently) > > x86-64 only, which means we have to use the "unoptimized" version > > everywhere else. I may experiment with a GCC plugin instead. > > I'd prefer the

Re: [PATCH 4.4 000/114] 4.4.163-stable review

2018-11-09 Thread Greg Kroah-Hartman
On Fri, Nov 09, 2018 at 05:50:09AM -0800, Guenter Roeck wrote: > On 11/8/18 1:50 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.163 release. > > There are 114 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH] drivers/android/binder.c: Remove duplicate header

2018-11-09 Thread Greg KH
On Fri, Nov 09, 2018 at 10:40:14PM +0800, kbuild test robot wrote: > Hi Brajeswar, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on staging/staging-testing] > [also build test ERROR on v4.20-rc1 next-20181109] > [if your patch is applied

[ANNOUNCE] v4.19.1-rt3

2018-11-09 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v4.19.1-rt3 patch set. Changes since v4.19.1-rt2: - A patch to the bcm2835 pinctrl driver to use raw_spinlock_t. Patch by Lukas Wunner. - The Atmel TCB timer patch set by Alexandre Belloni has been update to v7. - The RCU Kconfig entry

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Josh Poimboeuf
On Fri, Nov 09, 2018 at 10:51:16AM +0100, Ard Biesheuvel wrote: > Hi Josh, > > Thanks a lot for looking into this. > > On 8 November 2018 at 22:15, Josh Poimboeuf wrote: > > Add a static call infrastructure. Static calls use code patching to > > hard-code function pointers into direct branch

Re: [PATCH 3/4] dt-bindings: reset: uniphier: Add AHCI core reset description

2018-11-09 Thread Philipp Zabel
Hi Kunihiko, On Fri, 2018-11-09 at 10:42 +0900, Kunihiko Hayashi wrote: > Add compatible strings for reset control of AHCI core implemented in > UniPhier SoCs. The reset control belongs to AHCI glue layer. > > Signed-off-by: Kunihiko Hayashi > --- >

hackbench run scripts

2018-11-09 Thread Steven Sistare
Hi folks, I am attaching the bash helper scripts I used to run and post-process hackbench in case you find them useful. They compute the statistics and print a nicely formatted result: feat - Enable/disable one or more sched_features. runmany - run a command many times and print average

Re: [PATCH] init/Kconfig: make CC_OPTIMIZE_FOR_DEBUGGING visible only for GCC

2018-11-09 Thread Masahiro Yamada
On Tue, Nov 6, 2018 at 12:18 AM Changbin Du wrote: > > Currently CC_OPTIMIZE_FOR_DEBUGGING is only able to build with GCC. > For clang, -Og optimization level could break kernel build. So make > CC_OPTIMIZE_FOR_DEBUGGING visible only for GCC. > > Cc: Masahiro Yamada > Signed-off-by: Changbin Du

[PATCH 0/4] Add SPDX identifiers to some more files

2018-11-09 Thread Borislav Petkov
From: Borislav Petkov Hi, here's some more files converted to SPDX identifiers. In the MCE and microcode cases, I've made one patch per subsystem as this is shared functionality so maybe splitting them even more would not make any sense. But I could be wrong and the lawyer logic could very

[PATCH 2/4] EDAC, amd64: Add SPDX identifiers

2018-11-09 Thread Borislav Petkov
From: Borislav Petkov While the license of these files can be deduced by the MODULE_LICENSE() information, each source file should contain a SPDX identifier. Module license 'GPL' is equivalent to GPL v2 only, i.e. the kernel license. Add the corresponding SPDX identifier. Signed-off-by:

Re: [PATCH v3 1/2] kretprobe: produce sane stack traces

2018-11-09 Thread Aleksa Sarai
On 2018-11-09, Masami Hiramatsu wrote: > > diff --git a/arch/x86/include/asm/ptrace.h b/arch/x86/include/asm/ptrace.h > > index ee696efec99f..c4dfafd43e11 100644 > > --- a/arch/x86/include/asm/ptrace.h > > +++ b/arch/x86/include/asm/ptrace.h > > @@ -172,6 +172,7 @@ static inline unsigned long

[PATCH 4/4] x86/mce: Add an SPDX license identifiers

2018-11-09 Thread Borislav Petkov
From: Borislav Petkov Add the SPDX tag and remove the GPL-v2 free text. Signed-off-by: Borislav Petkov Cc: Andi Kleen Cc: Cc: Huang Ying Cc: Tom Lendacky Cc: Tony Luck --- arch/x86/kernel/cpu/mcheck/dev-mcelog.c | 1 + arch/x86/kernel/cpu/mcheck/mce-apei.c | 14 +-

[PATCH 3/4] x86/microcode: Add SPDX license identifiers

2018-11-09 Thread Borislav Petkov
From: Borislav Petkov ... and drop the GPL v2 license free text. Signed-off-by: Borislav Petkov Cc: Fenghua Yu Cc: "H Peter Anvin" Cc: Shaohua Li Cc: Tigran Aivazian Cc: Tom Lendacky --- arch/x86/kernel/cpu/microcode/amd.c | 4 +--- arch/x86/kernel/cpu/microcode/core.c | 6 +-

[PATCH 1/4] EDAC, mce_amd: Add an SPDX identifier

2018-11-09 Thread Borislav Petkov
From: Borislav Petkov While the license of this file can be deduced by the MODULE_LICENSE() information, each source file should contain a SPDX identifier. Module license 'GPL' is equivalent to GPL v2 only, i.e. the kernel license. Add the corresponding SPDX identifier. Signed-off-by: Borislav

Re: [PATCH 10/12] fs/locks: create a tree of dependent requests.

2018-11-09 Thread J. Bruce Fields
On Fri, Nov 09, 2018 at 05:24:04PM +1100, NeilBrown wrote: > Thanks pretty thorough - and even looks correct. > I'll re-reading some time when it isn't late, and maybe make it into a > comment in the code. > I agree, this sort of documentation can be quite helpful. OK. The idea looks sound to

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Josh Poimboeuf
On Fri, Nov 09, 2018 at 02:39:17PM +0100, Ard Biesheuvel wrote: > > + for (site = start; site < stop; site++) { > > + struct static_call_key *key = static_call_key(site); > > + unsigned long addr = static_call_addr(site); > > + > > + if

Re: [PATCH v2 6/6] device property: Remove struct property_set

2018-11-09 Thread Andy Shevchenko
On Fri, Nov 09, 2018 at 05:21:38PM +0300, Heikki Krogerus wrote: > Replacing struct property_set with the software nodes that > were just introduced. > > The API and functionality for adding properties to devices > remains the same, however, the goal is to convert the > drivers to use the API for

Re: [PATCH v2 0/6] device property: Introducing software nodes

2018-11-09 Thread Andy Shevchenko
On Fri, Nov 09, 2018 at 05:21:32PM +0300, Heikki Krogerus wrote: > Hi, > > This is the second version of my proposal for "software nodes". There > was a "dereferencing freed memory" bug in patch 3/5 which is now > fixed. device_add_properties() and device_remove_properties() no > longer change

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Ard Biesheuvel
On 9 November 2018 at 16:10, Josh Poimboeuf wrote: > On Fri, Nov 09, 2018 at 02:39:17PM +0100, Ard Biesheuvel wrote: >> > + for (site = start; site < stop; site++) { >> > + struct static_call_key *key = static_call_key(site); >> > + unsigned long addr =

Re: [PATCH RFC 0/3] Static calls

2018-11-09 Thread Andy Lutomirski
On Thu, Nov 8, 2018 at 11:28 PM Ingo Molnar wrote: > > > All other usecases are bonus, but it would certainly be interesting to > investigate the impact of using these APIs for tracing: that too is a > feature enabled everywhere but utilized only by a small fraction of Linux > users - so

Re: [PATCH RFC 0/3] Static calls

2018-11-09 Thread Josh Poimboeuf
On Fri, Nov 09, 2018 at 02:50:27PM +0100, Ard Biesheuvel wrote: > On 9 November 2018 at 08:28, Ingo Molnar wrote: > > > > * Josh Poimboeuf wrote: > > > >> These patches are related to two similar patch sets from Ard and Steve: > >> > >> - > >>

Re: [PATCH RFC 0/3] Static calls

2018-11-09 Thread Josh Poimboeuf
On Fri, Nov 09, 2018 at 07:16:17AM -0800, Andy Lutomirski wrote: > On Thu, Nov 8, 2018 at 11:28 PM Ingo Molnar wrote: > > > > > > All other usecases are bonus, but it would certainly be interesting to > > investigate the impact of using these APIs for tracing: that too is a > > feature enabled

Re: [PATCH] pinctrl: generic: Avoid several implicit enum conversions

2018-11-09 Thread Nathan Chancellor
On Fri, Nov 09, 2018 at 10:29:02AM +0100, Linus Walleij wrote: > On Thu, Nov 1, 2018 at 1:03 AM Nathan Chancellor > wrote: > > [Me] > > > A slightly lesser evil variant is to add a few PIN_CONFIG_CUSTOM_1 > > > PIN_CONFIG_CUSTOM_2 etc at the end of the enum and just > > > #define MY_CONFIG

Re: [PATCH 1/3] gpio: mockup: fix indicated direction

2018-11-09 Thread Bartosz Golaszewski
pt., 9 lis 2018 o 15:39 Uwe Kleine-König napisał(a): > > On Fri, Nov 09, 2018 at 02:53:16PM +0100, Bartosz Golaszewski wrote: > > pt., 9 lis 2018 o 14:10 Uwe Kleine-König > > napisał(a): > > > > > > Hello, > > > > > > On Fri, Nov 09, 2018 at 01:24:36PM +0100, Bartosz Golaszewski wrote: > > > >

Re: WARNING: CPU: 0 PID: 0 at drivers/irqchip/irq-gic-v3-its.c

2018-11-09 Thread Qian Cai
> On Nov 9, 2018, at 8:50 AM, Marc Zyngier wrote: > > On 09/11/18 12:28, Qian Cai wrote: >> >> On 11/9/18 at 7:08 AM, Marc Zyngier wrote: >> >>> [+Ard] >>> >>> On 08/11/18 20:59, Qian Cai wrote: Just booting up the latest git master (b00d209) on an aarch64 server and saw

Re: [RFC PATCH] mm: thp: implement THP reservations for anonymous memory

2018-11-09 Thread Zi Yan
On 9 Nov 2018, at 8:11, Mel Gorman wrote: > On Fri, Nov 09, 2018 at 03:13:18PM +0300, Kirill A. Shutemov wrote: >> On Thu, Nov 08, 2018 at 10:48:58PM -0800, Anthony Yznaga wrote: >>> The basic idea as outlined by Mel Gorman in [2] is: >>> >>> 1) On first fault in a sufficiently sized range,

Re: [PATCH 4.4 063/114] l2tp: hold socket before dropping lock in l2tp_ip{, 6}_recv()

2018-11-09 Thread Guillaume Nault
On Thu, Nov 08, 2018 at 01:51:18PM -0800, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > This patch was partly wrong. Here is the followup fix: 94d7ee0baa8b ("l2tp: hold tunnel socket when handling control frames in l2tp_ip and

Re: [PATCH 3/4] x86/microcode: Add SPDX license identifiers

2018-11-09 Thread Tigran Aivazian
Hi Borislav, Ok, that's fine. I noticed these things when changing BFS code a couple of days ago and wondered what they were --- now I know :) Kind regards, Tigran On Fri, 9 Nov 2018 at 15:04, Borislav Petkov wrote: > > From: Borislav Petkov > > ... and drop the GPL v2 license free text. > >

Re: [PATCH] pinctrl: zynq: Use define directive for PIN_CONFIG_IO_STANDARD

2018-11-09 Thread Nathan Chancellor
On Fri, Nov 09, 2018 at 10:33:00AM +0100, Michal Simek wrote: > On 08. 11. 18 16:01, Nathan Chancellor wrote: > > On Thu, Nov 08, 2018 at 07:45:42AM +0100, Michal Simek wrote: > >> On 07. 11. 18 18:48, Nick Desaulniers wrote: > >>> On Wed, Nov 7, 2018 at 1:01 AM Michal Simek > >>> wrote: >

Re: WARNING: CPU: 0 PID: 0 at drivers/irqchip/irq-gic-v3-its.c

2018-11-09 Thread Marc Zyngier
On 09/11/18 15:28, Qian Cai wrote: > > >> On Nov 9, 2018, at 8:50 AM, Marc Zyngier wrote: >> >> On 09/11/18 12:28, Qian Cai wrote: >>> >>> On 11/9/18 at 7:08 AM, Marc Zyngier wrote: >>> [+Ard] On 08/11/18 20:59, Qian Cai wrote: > Just booting up the latest git master

[PATCH v4 1/4] iio: ad_sigma_delta: Allow to provide custom data register address

2018-11-09 Thread Stefan Popa
From: Lars-Peter Clausen Some newer devices from the Sigma-Delta ADC family do have their data register at a different address than the current default address. Add a parameter to the ad_sigma_delta_info struct which allows to override the default address. Signed-off-by: Lars-Peter Clausen

[PATCH v4 2/4] dt-bindings: iio: adc: Add common ADCs properties to a separate file

2018-11-09 Thread Stefan Popa
There are several ADC drivers that depend on the same device tree bindings. Rather than continue to duplicate the properties, this patch adds a common adc binding document that can be referenced. For beginning, only two properties are documented. Signed-off-by: Stefan Popa --- Changes in v2, v3:

[PATCH v4 3/4] iio: adc: Add ad7124 support

2018-11-09 Thread Stefan Popa
The ad7124-4 and ad7124-8 are a family of 4 and 8 channel sigma-delta ADCs with 24-bit precision and reference. Three power modes are available which in turn affect the output data rate: * Full power: 9.38 SPS to 19,200 SPS * Mid power: 2.34 SPS to 4800 SPS * Low power: 1.17 SPS to 2400 SPS

Re: [PATCH v3 4/4] mm: Remove managed_page_count spinlock

2018-11-09 Thread Arun KS
On 2018-11-08 15:44, Michal Hocko wrote: On Thu 08-11-18 15:33:06, Arun KS wrote: On 2018-11-08 14:04, Michal Hocko wrote: > On Thu 08-11-18 13:53:18, Arun KS wrote: > > Now totalram_pages and managed_pages are atomic varibles. No need > > of managed_page_count spinlock. > > As explained

Re: [PATCH 3/3] lockdep: Use line-buffered printk() for lockdep messages.

2018-11-09 Thread Petr Mladek
On Fri 2018-11-09 18:55:26, Tetsuo Handa wrote: > On 2018/11/09 15:12, Sergey Senozhatsky wrote: > > On (11/08/18 20:37), Tetsuo Handa wrote: > > > On 2018/11/08 13:45, Sergey Senozhatsky wrote: > How early_printk requirement affects line buffered printk() API? > > I don't think it is impossible

[PATCH v4 4/4] dt-bindings: iio: adc: Add docs for ad7124

2018-11-09 Thread Stefan Popa
Add support for Analog Devices AD7124 4-channels and 8-channels ADC. Signed-off-by: Stefan Popa --- Changes in v2: - Nothing changed. Changes in v3: - Removed the "adi,channels" property. - Used the "reg" property to get the channel number and "adi,diff-channels"

Re: BUG: aio/direct-io data corruption in 4.7

2018-11-09 Thread Jack Wang
Gregory Shapiro 于2018年11月6日周二 下午12:31写道: > > Hi Jack, > I tested it in 4.9.102 and I checked the latest code from elixir > (versions 4.19 and 4.20) and the error in code is still present there. > More on the scenario and the bug: > I experienced data corruption in my application (nvme based

<    4   5   6   7   8   9   10   11   12   13   >