[PATCH v2 0/5] PM: PCI/ACPI: Hibernation handling fixes

2019-07-01 Thread Rafael J. Wysocki
Hi All, This series of patches addresses a few issues related to the handling of hibernation in the PCI bus type and the ACPI PM domain and ACPI LPSS driver. The v2 addresses Hans' concerns regarding the LPSS changes. First of all, all of the runtime-suspended PCI devices and devices in the

Re: [PATCH 2/2] Input: edt-ft5x06 - simplify event reporting code

2019-07-01 Thread Andy Shevchenko
On Sun, Jun 30, 2019 at 10:05 AM Dmitry Torokhov wrote: > > On Sun, Jun 23, 2019 at 10:59:18AM +0300, Andy Shevchenko wrote: > > On Sun, Jun 23, 2019 at 9:31 AM Dmitry Torokhov > > wrote: > > > > > > Now that input_mt_report_slot_state() returns true if slot is active we no > > > longer need a

Re: [PATCH 01/11] vfs: syscall: Add fsinfo() to query filesystem information [ver #15]

2019-07-01 Thread Christian Brauner
On Fri, Jun 28, 2019 at 04:43:45PM +0100, David Howells wrote: > Add a system call to allow filesystem information to be queried. A request > value can be given to indicate the desired attribute. Support is provided > for enumerating multi-value attributes. > > === > NEW SYSTEM CALL

[PATCH v2] riscv: ccache: Remove unused variable

2019-07-01 Thread Yash Shah
Reading the count register clears the interrupt signal. Currently, the count registers are read into 'regval' variable but the variable is never used. Therefore remove it. V2 of this patch add comments to justify the readl calls without checking the return value. Signed-off-by: Yash Shah ---

Re: [RFC PATCH v2 1/2] printk-rb: add a new printk ringbuffer implementation

2019-07-01 Thread John Ogness
On 2019-06-28, Peter Zijlstra wrote: >> I have implemented and tested these changes. I also added setting the >> list terminator to this function, since all callers would have to do >> it anyway. Also, I spent a lot of time trying to put in comments that >> I think are _understandable_ and

Re: linux-next: Fixes tag needs some work in the wireless-drivers-next tree

2019-07-01 Thread Lorenzo Bianconi
> Hi all, > > In commit > > d923cf6bc38a ("mt76: mt7615: fix sparse warnings: warning: cast from > restricted __le16") > > Fixes tag > > Fixes: 3ca0a6f6e9df ("mt7615: mcu: use standard signature for > mt7615_mcu_msg_send") > > has these problem(s): > > - Target SHA1 does not exist >

linux-next: manual merge of the pidfd tree with Linus' tree

2019-07-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pidfd tree got a conflict in: kernel/fork.c between commits: 9014143bab2f ("fork: don't check parent_tidptr with CLONE_PIDFD") 6fd2fe494b17 ("copy_process(): don't use ksys_close() on cleanups") from Linus' tree and commit: 7f192e3cd316 ("fork:

[PATCH v5 0/3] [v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping

2019-07-01 Thread Ajay Kaher
coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping [PATCH v5 1/3]: Backporting of commit 04f5866e41fb70690e28397487d8bd8eea7d712a upstream. [PATCH v5 2/3]: Extension of commit 04f5866e41fb to fix the race condition between get_task_mm() and core dumping for

Re: [GIT PULL v2] PHY: for 5.2-rc

2019-07-01 Thread Kishon Vijay Abraham I
Hi Greg, On 01/07/19 3:44 PM, Greg Kroah-Hartman wrote: > On Thu, Jun 27, 2019 at 06:46:50PM +0530, Kishon Vijay Abraham I wrote: >> Hi Greg, >> >> On 21/06/19 12:50 PM, Kishon Vijay Abraham I wrote: >>> >>> >>> On 21/06/19 12:10 PM, Greg Kroah-Hartman wrote: On Fri, Jun 21, 2019 at

[PATCH v5 2/3][v4.9.y] infiniband: fix race condition between infiniband mlx4, mlx5 driver and core dumping

2019-07-01 Thread Ajay Kaher
This patch is the extension of following upstream commit to fix the race condition between get_task_mm() and core dumping for IB->mlx4 and IB->mlx5 drivers: commit 04f5866e41fb ("coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping")' Thanks to Jason for pointing

[PATCH v5 3/3] [v4.9.y] coredump: fix race condition between collapse_huge_page() and core dumping

2019-07-01 Thread Ajay Kaher
From: Andrea Arcangeli coredump: fix race condition between collapse_huge_page() and core dumping commit 59ea6d06cfa9247b586a695c21f94afa7183af74 upstream. When fixing the race conditions between the coredump and the mmap_sem holders outside the context of the process, we focused on

[PATCH v5 1/3] [v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping

2019-07-01 Thread Ajay Kaher
From: Andrea Arcangeli commit 04f5866e41fb70690e28397487d8bd8eea7d712a upstream. The core dumping code has always run without holding the mmap_sem for writing, despite that is the only way to ensure that the entire vma layout will not change from under it. Only using some signal serialization

[GIT PULL] PHY: For 5.3

2019-07-01 Thread Kishon Vijay Abraham I
Hi Greg, Please find the pull request for 5.3 merge window below. It adds couple of new PHY drivers and other misc driver fixes. Please see the tag message for complete list of changes. Let me know if I have to change something. Thanks Kishon The following changes since commit

RE: [PATCHv5 10/20] PCI: mobiveil: Fix the INTx process errors

2019-07-01 Thread Z.q. Hou
Hi Lorenzo, Thanks a lot for your comments! > -Original Message- > From: Lorenzo Pieralisi > Sent: 2019年6月29日 1:06 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; > bhelg...@google.com;

Re: [PATCH v3 10/11] mm/memory_hotplug: Make unregister_memory_block_under_nodes() never fail

2019-07-01 Thread Michal Hocko
On Mon 01-07-19 11:36:44, Oscar Salvador wrote: > On Mon, Jul 01, 2019 at 10:51:44AM +0200, Michal Hocko wrote: > > Yeah, we do not allow to offline multi zone (node) ranges so the current > > code seems to be over engineered. > > > > Anyway, I am wondering why do we have to strictly check for

RE: [PATCHv5 09/20] PCI: mobiveil: Correct inbound/outbound window setup routines

2019-07-01 Thread Z.q. Hou
Hi Lorenzo, Thanks a lot for your comments! > -Original Message- > From: Lorenzo Pieralisi > Sent: 2019年6月29日 0:42 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; > bhelg...@google.com;

Hello....

2019-07-01 Thread Edith Mohammed
Date: Mon, 1 Jul 2019 10:16:36 + Subject: Hello <>

Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

2019-07-01 Thread Sebastian Andrzej Siewior
On 2019-07-01 11:42:15 [+0200], Peter Zijlstra wrote: > I'm not sure if smp_send_reschedule() can be used as self-IPI, some > hardware doesn't particularly like that IIRC. That is, hardware might > only have interfaces to IPI _other_ CPUs, but not self. > > The normal scheduler code takes care to

Re: [PATCH v3 0/5] Introduce MADV_COLD and MADV_PAGEOUT

2019-07-01 Thread Michal Hocko
On Mon 01-07-19 16:38:48, Minchan Kim wrote: > > Hi Folks, > > Do you guys have comments? I think it would be long enough to be > pending. If there is no further comments, I want to ask to merge. This is definitely on my todo list for this week. But please be patient. It's been _one_ work day

Re: [PATCH v2 1/2] mtd: nand: Add Cadence NAND controller driver

2019-07-01 Thread Piotr Sroka
The 07/01/2019 12:04, Miquel Raynal wrote: EXTERNAL MAIL Hi Piotr, Piotr Sroka wrote on Mon, 1 Jul 2019 10:51:45 +0100: [...] >> >> > >> >> >This driver is way too massive, I am pretty sure it can shrink a >> >> >little bit more. >> >> >[...] >> >> > >> >> I will try to make it shorer but

Re: [PATCH v4] HID: sb0540: add support for Creative SB0540 IR receivers

2019-07-01 Thread Bastien Nocera
On Mon, 2019-07-01 at 12:15 +0200, Benjamin Tissoires wrote: > > I forgot to mention that sparse was complaining about: > > scripts/Makefile.build:283: target 'drivers/hid/hid-creative- > sb0540.c' > doesn't match the target pattern > > And it turns out your line should read

[PATCH v5] HID: sb0540: add support for Creative SB0540 IR receivers

2019-07-01 Thread Bastien Nocera
From: Bastien Nocera Add a new hid driver for the Creative SB0540 IR receiver. This receiver is usually coupled with an RM-1500 or an RM-1800 remote control. The scrollwheels on the RM-1800 remote are not bound, as they are labelled for specific audio controls that don't usually exist on most

RE: [PATCH net-next v2 00/10] net: stmmac: 10GbE using XGMAC

2019-07-01 Thread Jose Abreu
From: David Miller > About the Kconfig change, maybe it just doesn't make sense to list all > of the various speeds the chip supports... just a thought. What about: "STMicroelectronics Multi-Gigabit Ethernet driver" ? Or, just "STMicroelectronics Ethernet driver" ?

RE: [PATCHv5 08/20] PCI: mobiveil: Use the 1st inbound window for MEM inbound transactions

2019-07-01 Thread Z.q. Hou
Hi Lorenzo, Thanks a lot for your comments! > -Original Message- > From: Lorenzo Pieralisi > Sent: 2019年6月29日 0:02 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; > bhelg...@google.com;

Re: [PATCH v4] HID: sb0540: add support for Creative SB0540 IR receivers

2019-07-01 Thread Benjamin Tissoires
On Mon, Jul 1, 2019 at 12:08 PM Bastien Nocera wrote: > > From: Bastien Nocera > > Add a new hid driver for the Creative SB0540 IR receiver. This receiver > is usually coupled with an RM-1500 or an RM-1800 remote control. > > The scrollwheels on the RM-1800 remote are not bound, as they are >

RE: [PATCH net-next v2 06/10] net: stmmac: Do not disable interrupts when cleaning TX

2019-07-01 Thread Jose Abreu
From: Willem de Bruijn > By the > > if ((status & handle_rx) && (chan < priv->plat->rx_queues_to_use)) { > stmmac_disable_dma_irq(priv, priv->ioaddr, chan); > napi_schedule_irqoff(>rx_napi); > } > > branch directly above? If so, is it possible to

Re: [GIT PULL v2] PHY: for 5.2-rc

2019-07-01 Thread Greg Kroah-Hartman
On Thu, Jun 27, 2019 at 06:46:50PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > On 21/06/19 12:50 PM, Kishon Vijay Abraham I wrote: > > > > > > On 21/06/19 12:10 PM, Greg Kroah-Hartman wrote: > >> On Fri, Jun 21, 2019 at 11:41:26AM +0530, Kishon Vijay Abraham I wrote: > >>> Hi Greg, >

Re: [PATCH 0/5] mm/vmalloc.c: improve readability and rewrite vmap_area

2019-07-01 Thread Uladzislau Rezki
On Mon, Jul 01, 2019 at 11:20:37AM +0200, Michal Hocko wrote: > On Sun 30-06-19 15:56:45, Pengfei Li wrote: > > Hi, > > > > This series of patches is to reduce the size of struct vmap_area. > > > > Since the members of struct vmap_area are not being used at the same time, > > it is possible to

Re: [PATCH v2] phy: rockchip-inno-usb2: allow to force the B-Device Session Valid bit.

2019-07-01 Thread Enric Balletbo i Serra
Hi Ezequiel, Thanks for reviewing these patches. On 29/6/19 2:38, Ezequiel Garcia wrote: > Hi Heiko, Kishon, > > I'll try to pick up this patch. > Some comments below, just for self-reference. > > On Wed, 2019-06-26 at 12:32 -0300, Ezequiel Garcia wrote: >> On Wed, 2019-05-15 at 18:20 -0400,

Re: [PATCH v3] HID: sb0540: add support for Creative SB0540 IR receivers

2019-07-01 Thread Bastien Nocera
On Mon, 2019-07-01 at 11:45 +0200, Benjamin Tissoires wrote: > Hi Bastien, > > On Wed, Jun 26, 2019 at 4:07 PM Bastien Nocera > wrote: > > From: Bastien Nocera > > > > Add a new hid driver for the Creative SB0540 IR receiver. This > > receiver > > is usually coupled with an RM-1500 or an

[PATCH] nvme: fix multipath crash when ANA deactivated

2019-07-01 Thread Marta Rybczynska
Fix a crash with multipath activated. It happends when ANA log page is larger than MDTS and because of that ANA is disabled. When connecting the target, the driver in nvme_parse_ana_log then tries to access nvme_mpath_init.ctrl->ana_log_buf that is unallocated. The signature is as follows: [

[PATCH v4] HID: sb0540: add support for Creative SB0540 IR receivers

2019-07-01 Thread Bastien Nocera
From: Bastien Nocera Add a new hid driver for the Creative SB0540 IR receiver. This receiver is usually coupled with an RM-1500 or an RM-1800 remote control. The scrollwheels on the RM-1800 remote are not bound, as they are labelled for specific audio controls that don't usually exist on most

RE: [PATCHv5 04/20] PCI: mobiveil: Remove the flag MSI_FLAG_MULTI_PCI_MSI

2019-07-01 Thread Z.q. Hou
Hi Lorenzo, Thanks a lot for your comments! > -Original Message- > From: Lorenzo Pieralisi > Sent: 2019年6月28日 19:36 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; > bhelg...@google.com;

Re: [PATCH v2 1/2] mtd: nand: Add Cadence NAND controller driver

2019-07-01 Thread Miquel Raynal
Hi Piotr, Piotr Sroka wrote on Mon, 1 Jul 2019 10:51:45 +0100: [...] > >> >> > > >> >> >This driver is way too massive, I am pretty sure it can shrink a > >> >> >little bit more. > >> >> >[...] > >> >> > > >> >> I will try to make it shorer but it will be difucult to achive. It is > >> >>

Re: [PATCH v3 5/7] sched: SIS_CORE to disable idle core search

2019-07-01 Thread Parth Shah
On 6/29/19 3:59 AM, Subhra Mazumdar wrote: > > On 6/28/19 12:01 PM, Parth Shah wrote: >> >> On 6/27/19 6:59 AM, subhra mazumdar wrote: >>> Use SIS_CORE to disable idle core search. For some workloads >>> select_idle_core becomes a scalability bottleneck, removing it improves >>> throughput.

Re: [PATCH v3] kasan: add memory corruption identification for software tag-based mode

2019-07-01 Thread Walter Wu
On Mon, 2019-06-17 at 20:32 +0800, Walter Wu wrote: > On Mon, 2019-06-17 at 13:57 +0200, Dmitry Vyukov wrote: > > On Mon, Jun 17, 2019 at 6:00 AM Walter Wu wrote: > > > > > > On Fri, 2019-06-14 at 10:32 +0800, Walter Wu wrote: > > > > On Fri, 2019-06-14 at 01:46 +0800, Walter Wu wrote: > > > > >

RE: [PATCH] let proc net directory inodes reflect to active net namespace

2019-07-01 Thread Hallsmark, Per
Indeed it does! :-) I'll make a new version. From: Alexey Dobriyan [adobri...@gmail.com] Sent: Saturday, June 29, 2019 15:29 To: Hallsmark, Per Cc: David S. Miller; linux-kernel@vger.kernel.org; net...@vger.kernel.org Subject: Re: [PATCH] let proc net

Re: [PATCH v2 1/2] mtd: nand: Add Cadence NAND controller driver

2019-07-01 Thread Piotr Sroka
The 06/27/2019 18:15, Miquel Raynal wrote: EXTERNAL MAIL Hi Piotr, Piotr Sroka wrote on Thu, 6 Jun 2019 16:19:51 +0100: Hi Miquel The 05/12/2019 14:24, Miquel Raynal wrote: >EXTERNAL MAIL > > >EXTERNAL MAIL > > >Hi Piotr, > >Sorry for de delay. > >Piotr Sroka wrote on Thu, 21 Mar 2019

[PATCH 2/2] arm64: dts: imx8mm: Add "fsl,imx8mq-src" as src's fallback compatible

2019-07-01 Thread Anson . Huang
From: Anson Huang i.MX8MM can reuse i.MX8MQ's src driver, add "fsl,imx8mq-src" as src's fallback compatible to enable it. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 1/2] reset: imx7: Add support for i.MX8MM SoC

2019-07-01 Thread Anson . Huang
From: Anson Huang i.MX8MM SoC has a subset of i.MX8MQ IP block variant, it can reuse the i.MX8MQ reset controller driver and just skip those non-existing IP blocks, add support for i.MX8MM SoC reset control. Signed-off-by: Anson Huang --- drivers/reset/reset-imx7.c | 20

[PATCH V4 4/5] arm64: dts: imx8mq: Add system counter node

2019-07-01 Thread Anson . Huang
From: Anson Huang Add i.MX8MQ system counter node to enable timer-imx-sysctr broadcast timer driver. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi

[PATCH V4 3/5] clocksource: imx-sysctr: Make timer work with clock driver using platform driver model

2019-07-01 Thread Anson . Huang
From: Anson Huang On some i.MX8M platforms, clock driver uses platform driver model and it is NOT ready during timer initialization phase, the clock operations will fail and system counter driver will fail too. As all the i.MX8M platforms' system counter clock are from OSC which is always

[PATCH V4 5/5] arm64: dts: imx8mm: Add system counter node

2019-07-01 Thread Anson . Huang
From: Anson Huang Add i.MX8MM system counter node to enable timer-imx-sysctr broadcast timer driver. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi

[PATCH V4 2/5] clocksource/drivers/sysctr: Add clock-frequency property

2019-07-01 Thread Anson . Huang
From: Anson Huang Systems which use platform driver model for clock driver require the clock frequency to be supplied via device tree when system counter driver is enabled. This is necessary as in the platform driver model the of_clk operations do not work correctly because system counter

[PATCH V4 1/5] clocksource: timer-of: Support getting clock frequency from DT

2019-07-01 Thread Anson . Huang
From: Anson Huang More and more platforms use platform driver model for clock driver, so the clock driver is NOT ready during timer initialization phase, it will cause timer initialization failed. To support those platforms with upper scenario, introducing a new flag TIMER_OF_CLOCK_FREQUENCY

Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

2019-07-01 Thread Peter Zijlstra
On Fri, Jun 28, 2019 at 03:01:36PM -0500, Scott Wood wrote: > On Fri, 2019-06-28 at 16:15 +0200, Peter Zijlstra wrote: > > On Thu, Jun 27, 2019 at 01:36:12PM -0700, Paul E. McKenney wrote: > > > On Thu, Jun 27, 2019 at 03:17:27PM -0500, Scott Wood wrote: > > > > On Thu, 2019-06-27 at 11:41 -0700,

Re: [PATCH v3] HID: sb0540: add support for Creative SB0540 IR receivers

2019-07-01 Thread Benjamin Tissoires
Hi Bastien, On Wed, Jun 26, 2019 at 4:07 PM Bastien Nocera wrote: > > From: Bastien Nocera > > Add a new hid driver for the Creative SB0540 IR receiver. This receiver > is usually coupled with an RM-1500 or an RM-1800 remote control. > > The scrollwheels on the RM-1800 remote are not bound, as

Re: [PATCH] media: imx7-media-csi: Remove unneeded break after return

2019-07-01 Thread Rui Miguel Silva
Hi Chinmaya, Thanks for your patch. On Sun 30 Jun 2019 at 04:49, Chinmaya Krishnan Mahesh wrote: > This patch fixes the checkpatch.pl warning: > > WARNING: break is not useful after a goto or return but this is already fixed in the media subsystem tree, by a patch from Fabio: 964fcacddf media:

Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

2019-07-01 Thread Peter Zijlstra
On Fri, Jun 28, 2019 at 10:20:56AM -0700, Paul E. McKenney wrote: > On Fri, Jun 28, 2019 at 06:04:08PM +0200, Peter Zijlstra wrote: > > On Fri, Jun 28, 2019 at 08:54:04AM -0700, Paul E. McKenney wrote: > > > Thank you! Plus it looks like scheduler_ipi() takes an early exit if > > > ->wake_list is

Re: [PATCH v3 10/11] mm/memory_hotplug: Make unregister_memory_block_under_nodes() never fail

2019-07-01 Thread Oscar Salvador
On Mon, Jul 01, 2019 at 10:51:44AM +0200, Michal Hocko wrote: > Yeah, we do not allow to offline multi zone (node) ranges so the current > code seems to be over engineered. > > Anyway, I am wondering why do we have to strictly check for already > removed nodes links. Is the sysfs code going to

[DRAFT] mm/kprobes: Add generic kprobe_fault_handler() fallback definition

2019-07-01 Thread Anshuman Khandual
Architectures like parisc enable CONFIG_KROBES without having a definition for kprobe_fault_handler() which results in a build failure. Arch needs to provide kprobe_fault_handler() as it is platform specific and cannot have a generic working alternative. But in the event when platform lacks such a

Re: [PATCH 1/2] usbip: Skip DMA mapping and unmapping for urb at vhci

2019-07-01 Thread Suwan Kim
On Fri, Jun 28, 2019 at 06:11:54PM -0600, shuah wrote: > Hi Suwan, > > On 6/21/19 11:45 AM, Suwan Kim wrote: > > vhci doesn’t do dma for remote device. Actually, the real dma > > operation is done by network card driver. So, vhci doesn’t use and > > need dma address of transfer buffer of urb. > >

Re: [PATCH RFC 0/4] DDR/L3 Scaling support on SDM845 SoCs

2019-07-01 Thread Viresh Kumar
On 27-06-19, 19:04, Sibi Sankar wrote: > This RFC series aims to extend cpu based scaling support to L3/DDR on > SDM845 SoCs. The patch series depends on "Introduce OPP bandwidth bindings" > series (https://patchwork.kernel.org/cover/10912993/). A part of the > series will still be applicable if

[RFC PATCH v6] rtl8xxxu: Improve TX performance of RTL8723BU on rtl8xxxu driver

2019-07-01 Thread Chris Chiu
We have 3 laptops which connect the wifi by the same RTL8723BU. The PCI VID/PID of the wifi chip is 10EC:B720 which is supported. They have the same problem with the in-kernel rtl8xxxu driver, the iperf (as a client to an ethernet-connected server) gets ~1Mbps. Nevertheless, the signal strength is

Re: shrink_dentry_list() logics change (was Re: [RFC PATCH v3 14/15] dcache: Implement partial shrink via Slab Movable Objects)

2019-07-01 Thread Tobin C. Harding
On Sat, Jun 29, 2019 at 08:06:24PM +0100, Al Viro wrote: > On Sat, Jun 29, 2019 at 05:38:03AM +0100, Al Viro wrote: > > > PS: the problem is not gone in the next iteration of the patchset in > > question. The patch I'm proposing (including dput_to_list() and _ONLY_ > > compile-tested) follows.

Re: [LKP] [x86/hotplug] e1056a25da: WARNING:at_arch/x86/kernel/apic/apic.c:#setup_local_APIC

2019-07-01 Thread Thomas Gleixner
Feng, On Mon, 1 Jul 2019, Feng Tang wrote: > On Mon, Jul 01, 2019 at 09:13:54AM +0200, Thomas Gleixner wrote: > > On Sun, 30 Jun 2019, Thomas Gleixner wrote: > > In case you still have your debug version (that old tree which triggered > > the warn) around, could you please run that again and add

Re: [PATCH] perf: Fix race between close() and fork()

2019-07-01 Thread Mark Rutland
On Fri, Jun 28, 2019 at 10:46:08PM +0200, Peter Zijlstra wrote: > On Fri, Jun 28, 2019 at 05:50:03PM +0100, Mark Rutland wrote: > > > + /* > > > + * Wake any perf_event_free_task() waiting for this event to be > > > + * freed. > > > + */ > > > + smp_mb();

Re: [PATCH 0/5] mm/vmalloc.c: improve readability and rewrite vmap_area

2019-07-01 Thread Michal Hocko
On Sun 30-06-19 15:56:45, Pengfei Li wrote: > Hi, > > This series of patches is to reduce the size of struct vmap_area. > > Since the members of struct vmap_area are not being used at the same time, > it is possible to reduce its size by placing several members that are not > used at the same

[PATCH] ARM: dts: stm32: fix -Wall W=1 compilation warnings for can1_sleep pinctrl

2019-07-01 Thread Erwan Le Ray
Fix compilations warnings detected by -Wall W=1 compilation option: - node has a unit name, but no reg property Signed-off-by: Erwan Le Ray diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi index 140a983..ce98fd8 100644 ---

[PATCH v2] staging: kpc2000: fix brace issues in kpc2000_spi.c

2019-07-01 Thread Simon Sandström
Fixes issues found by checkpatch: - "WARNING: braces {} are not necessary for single statement blocks" - "WARNING: braces {} are not necessary for any arm of this statement" Signed-off-by: Simon Sandström --- Changed in v2: rebased. drivers/staging/kpc2000/kpc2000_spi.c | 33

[RFC/RFT v3 00/14] arm64: g12a: add support for DVFS

2019-07-01 Thread Neil Armstrong
The G12A/G12B Socs embeds a specific clock tree for each CPU cluster : cpu_clk / cpub_clk | \- cpu_clk_dyn | | \- cpu_clk_premux0 | ||- cpu_clk_postmux0 | |||- cpu_clk_dyn0_div | ||\- xtal/fclk_div2/fclk_div3 | |\-

[RFC/RFT v3 01/14] pinctrl: meson-g12a: add pwm_a on GPIOE_2 pinmux

2019-07-01 Thread Neil Armstrong
Add the missing pinmux for the pwm_a function on the GPIOE_2 pin. Reviewed-by: Kevin Hilman Signed-off-by: Neil Armstrong --- drivers/pinctrl/meson/pinctrl-meson-g12a.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson-g12a.c

[RFC/RFT v3 07/14] clk: meson: g12a: add notifiers to handle cpu clock change

2019-07-01 Thread Neil Armstrong
In order to implement clock switching for the CLKID_CPU_CLK and CLKID_CPUB_CLK, notifiers are added on specific points of the clock tree : cpu_clk / cpub_clk | \- cpu_clk_dyn | | \- cpu_clk_premux0 | ||- cpu_clk_postmux0 | |||- cpu_clk_dyn0_div | |

[RFC/RFT v3 08/14] clk: meson: g12a: expose CPUB clock ID for G12B

2019-07-01 Thread Neil Armstrong
Expose the CPUB clock id to add DVFS to the second CPU cluster of the Amlogic G12B SoC. Signed-off-by: Neil Armstrong --- include/dt-bindings/clock/g12a-clkc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/g12a-clkc.h b/include/dt-bindings/clock/g12a-clkc.h

[RFC/RFT v3 04/14] clk: meson: eeclk: add setup callback

2019-07-01 Thread Neil Armstrong
Add a setup() callback in the eeclk structure, to call an optional call() function at end of eeclk probe to setup clocks. It's used for the G12A clock controller to setup the CPU clock notifiers. Signed-off-by: Neil Armstrong --- drivers/clk/meson/meson-eeclk.c | 6 ++

[RFC/RFT v3 12/14] arm64: dts: meson-g12a: enable DVFS on G12A boards

2019-07-01 Thread Neil Armstrong
Enable DVFS for the U200, SEI520 and X96-Max Amlogic G12A based board by setting the clock, OPP and supply for each CPU cores. The CPU cluster power supply can achieve 0.73V to 1.01V using a PWM output clocked at 800KHz with an inverse duty-cycle. DVFS has been tested by running the arm64

[RFC/RFT v3 05/14] soc: amlogic: meson-clk-measure: protect measure with a mutex

2019-07-01 Thread Neil Armstrong
In order to protect clock measuring when multiple process asks for a measure, protect the main measure function with mutexes. Reviewed-by: Kevin Hilman Signed-off-by: Neil Armstrong --- drivers/soc/amlogic/meson-clk-measure.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-)

[RFC/RFT v3 03/14] clk: meson: regmap: export regmap_div ops functions

2019-07-01 Thread Neil Armstrong
The G12A CPU Clock Postmux divider needs a custom div_set_rate() call. Export the clk_regmap_div_round_rate() and clk_regmap_div_recalc_rate() to be able to override the default clk_regmap_div_set_rate() callback. Signed-off-by: Neil Armstrong --- drivers/clk/meson/clk-regmap.c | 10 ++

[RFC/RFT v3 11/14] arm64: dts: meson-g12a: add cpus OPP table

2019-07-01 Thread Neil Armstrong
Add the OPP table taken from the vendor u200 and u211 DTS. The Amlogic G12A SoC seems to available in 3 types : - low-speed: up to 1,8GHz - mid-speed: up to 1,908GHz - high-speed: up to 2.1GHz And the S905X2 opp voltages are slightly higher than the S905D2 OPP voltages for the low-speed table.

Re: [LKP] [x86/hotplug] e1056a25da: WARNING:at_arch/x86/kernel/apic/apic.c:#setup_local_APIC

2019-07-01 Thread Feng Tang
Hi Thomas, On Mon, Jul 01, 2019 at 09:13:54AM +0200, Thomas Gleixner wrote: > Feng, > > On Sun, 30 Jun 2019, Thomas Gleixner wrote: > > On Sun, 30 Jun 2019, Feng Tang wrote: > > > On Sun, Jun 30, 2019 at 01:35:39PM +0200, Thomas Gleixner wrote: > > > > On Sat, 29 Jun 2019, Thomas Gleixner wrote:

[RFC/RFT v3 09/14] arm64: dts: move common G12A & G12B modes to meson-g12-common.dtsi

2019-07-01 Thread Neil Armstrong
To simplify the representation of differences betweem the G12A and G12B SoCs, move the common nodes into a meson-g12-common.dtsi file and express the CPU nodes and differences in meson-g12a.dtsi and meson-g12b.dtsi. This separation will help for DVFS and future Amlogic SM1 Family support. The

[RFC/RFT v3 13/14] arm64: dts: meson-g12b: add cpus OPP tables

2019-07-01 Thread Neil Armstrong
Add the OPP table taken from the HardKernel Odroid-N2 DTS. The Amlogic G12B SoC seems to available in 2 types : - low-speed: Cortex-A73 Cluster up to 1,704GHz - high-speed: Cortex-A73 Cluster up to 2.208GHz The Cortex-A73 Cluster can be clocked up to 1,896GHz for both types. The Vendor Amlogic

[RFC/RFT v3 10/14] arm64: dts: meson-g12-common: add pwm_a on GPIOE_2 pinmux

2019-07-01 Thread Neil Armstrong
Add the ao_pinctrl subnode for the pwm_a function on GPIOE_2. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi

[RFC/RFT v3 06/14] soc: amlogic: meson-clk-measure: add G12B second cluster cpu clk

2019-07-01 Thread Neil Armstrong
Add the G12B second CPU cluster CPU and SYS_PLL measure IDs. These IDs returns 0Hz on G12A. Reviewed-by: Kevin Hilman Signed-off-by: Neil Armstrong --- drivers/soc/amlogic/meson-clk-measure.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/amlogic/meson-clk-measure.c

[RFC/RFT v3 14/14] arm64: dts: meson-g12b-odroid-n2: enable DVFS

2019-07-01 Thread Neil Armstrong
Enable DVFS for the Odroid-N2 by setting the clock, OPP and supply for each cores of each CPU clusters. The first cluster uses the "VDDCPU_B" power supply, and the second cluster uses the "VDDCPU_A" power supply. Each power supply can achieve 0.73V to 1.01V using 2 distinct PWM outputs clocked

[RFC/RFT v3 02/14] clk: core: introduce clk_hw_set_parent()

2019-07-01 Thread Neil Armstrong
Introduce the clk_hw_set_parent() provider call to change parent of a clock by using the clk_hw pointers. This eases the clock reparenting from clock rate notifiers and implementing DVFS with simpler code avoiding the boilerplates functions as __clk_lookup(clk_hw_get_name()) then

linux-next: manual merge of the char-misc tree with the driver-core tree

2019-07-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the char-misc tree got a conflict in: drivers/hwtracing/coresight/of_coresight.c between commit: 418e3ea157ef ("bus_find_device: Unify the match callback with class_find_device") from the driver-core tree and commits: 22aa495a6477 ("coresight:

Re: [RFC/RFT v2 12/14] arm64: dts: meson-g12a: enable DVFS on G12A boards

2019-07-01 Thread Neil Armstrong
On 28/06/2019 20:08, Kevin Hilman wrote: > Neil Armstrong writes: > >> Enable DVFS for the U200, SEI520 and X96-Max Amlogic G12A based board >> by setting the clock, OPP and supply for each CPU cores. >> >> The CPU cluster power supply can achieve 0.73V to 1.01V using a PWM >> output clocked at

Re: [PATCH] ipv6_sockglue: Fix a missing-check bug in ip6_ra_control()

2019-07-01 Thread Gen Zhang
On Mon, Jul 01, 2019 at 10:57:36AM +0200, Jiri Slaby wrote: > On 24. 05. 19, 5:19, Gen Zhang wrote: > > In function ip6_ra_control(), the pointer new_ra is allocated a memory > > space via kmalloc(). And it is used in the following codes. However, > > when there is a memory allocation error,

RE: [PATCH V3 1/5] clocksource: timer-of: Support getting clock frequency from DT

2019-07-01 Thread Anson Huang
Hi, Daniel > Subject: Re: [PATCH V3 1/5] clocksource: timer-of: Support getting clock > frequency from DT > > > Hi Anson, > > thanks for taking care of adding the clock-frequency handling in the timer-of. Sure. > > On 28/06/2019 05:30, anson.hu...@nxp.com wrote: > > From: Anson Huang > > >

Re: [GIT PULL] extcon next for v5.3

2019-07-01 Thread Greg KH
On Fri, Jun 28, 2019 at 10:32:45AM +0900, Chanwoo Choi wrote: > Dear Greg, > > This is extcon-next pull request for v5.3. I add detailed description of > this pull request on below. Please pull extcon with following updates. > > [Detailed description for this pull request] > 1. Add new

Re: [RESEND PATCH v3 0/7] Improve scheduler scalability for fast path

2019-07-01 Thread Peter Zijlstra
On Wed, Jun 26, 2019 at 06:29:12PM -0700, subhra mazumdar wrote: > Hi, > > Resending this patchset, will be good to get some feedback. Any suggestions > that will make it more acceptable are welcome. We have been shipping this > with Unbreakable Enterprise Kernel in Oracle Linux. > > Current

Re: [PATCH 1/2] habanalabs: Add debugfs node for engines status

2019-07-01 Thread Oded Gabbay
On Mon, Jul 1, 2019 at 11:36 AM Tomer Tayar wrote: > > Command submissions sent to the device are composed of command buffers > which are targeted to different device engines, like DMA and compute > entities. When a command submission gets stuck, knowing in which engine > the stuck is, is crucial

Re: [Question] Should direct reclaim time be bounded?

2019-07-01 Thread Mel Gorman
On Fri, Jun 28, 2019 at 11:20:42AM -0700, Mike Kravetz wrote: > On 4/24/19 7:35 AM, Vlastimil Babka wrote: > > On 4/23/19 6:39 PM, Mike Kravetz wrote: > >>> That being said, I do not think __GFP_RETRY_MAYFAIL is wrong here. It > >>> looks like there is something wrong in the reclaim going on. > >>

Re: [PATCH V3 1/5] clocksource: timer-of: Support getting clock frequency from DT

2019-07-01 Thread Daniel Lezcano
Hi Anson, thanks for taking care of adding the clock-frequency handling in the timer-of. On 28/06/2019 05:30, anson.hu...@nxp.com wrote: > From: Anson Huang > > More and more platforms use platform driver model for clock driver, > so the clock driver is NOT ready during timer initialization

Re: [PATCH v6 14/14] arm64: dts: Add power controller device node of MT8183

2019-07-01 Thread CK Hu
Hi, Weiyi: On Thu, 2019-06-20 at 10:38 +0800, Weiyi Lu wrote: > Add power controller node and smi-common node for MT8183 > In scpsys node, it contains clocks and regmapping of > infracfg and smi-common for bus protection. > > Signed-off-by: Weiyi Lu > --- >

Re: [PATCH] ipv6_sockglue: Fix a missing-check bug in ip6_ra_control()

2019-07-01 Thread Jiri Slaby
On 24. 05. 19, 5:19, Gen Zhang wrote: > In function ip6_ra_control(), the pointer new_ra is allocated a memory > space via kmalloc(). And it is used in the following codes. However, > when there is a memory allocation error, kmalloc() fails. Thus null > pointer dereference may happen. And it

Re: [PATCH] sound/soc/codecs/tas5720.c: add ACPI support

2019-07-01 Thread Nikolaus Voss
On Fri, 28 Jun 2019, Andrew F. Davis wrote: On 6/28/19 8:34 AM, Nikolaus Voss wrote: Add support for ACPI enumeration for tas5720 and tas5722. Use device_match API to unify access to driver data for DT and ACPI. Aggregate variant stuff into its own struct and directly reference it in variant

Re: [PATCH] sound/soc/codecs/tas5720.c: add ACPI support

2019-07-01 Thread Nikolaus Voss
On Fri, 28 Jun 2019, Mark Brown wrote: On Fri, Jun 28, 2019 at 02:34:16PM +0200, Nikolaus Voss wrote: Add support for ACPI enumeration for tas5720 and tas5722. Use device_match API to unify access to driver data for DT and ACPI. Aggregate variant stuff into its own struct and directly reference

Re: [PATCH] sched/fair: util_est: fast ramp-up EWMA on utilization increases

2019-07-01 Thread Patrick Bellasi
On 30-Jun 10:43, Vincent Guittot wrote: > On Fri, 28 Jun 2019 at 16:10, Patrick Bellasi wrote: > > On 28-Jun 15:51, Vincent Guittot wrote: > > > On Fri, 28 Jun 2019 at 14:38, Peter Zijlstra wrote: > > > > On Fri, Jun 28, 2019 at 11:08:14AM +0100, Patrick Bellasi wrote: > > > > > On 26-Jun 13:40,

Re: [PATCH v3 11/11] mm/memory_hotplug: Remove "zone" parameter from sparse_remove_one_section

2019-07-01 Thread Michal Hocko
On Mon 27-05-19 13:11:52, David Hildenbrand wrote: > The parameter is unused, so let's drop it. Memory removal paths should > never care about zones. This is the job of memory offlining and will > require more refactorings. > > Reviewed-by: Dan Williams > Signed-off-by: David Hildenbrand

Re: [PATCH 2/6] Adjust watch_queue documentation to mention mount and superblock watches. [ver #5]

2019-07-01 Thread David Howells
Randy Dunlap wrote: > I'm having a little trouble parsing that sentence. > Could you clarify it or maybe rewrite/modify it? > Thanks. How about: * ``info_filter`` and ``info_mask`` act as a filter on the info field of the notification record. The notification is only written into the

Re: [PATCH v3 10/11] mm/memory_hotplug: Make unregister_memory_block_under_nodes() never fail

2019-07-01 Thread Michal Hocko
On Mon 27-05-19 13:11:51, David Hildenbrand wrote: > We really don't want anything during memory hotunplug to fail. > We always pass a valid memory block device, that check can go. Avoid > allocating memory and eventually failing. As we are always called under > lock, we can use a static piece of

Re: [PATCH v2 4/7] powerpc/ftrace: Additionally nop out the preceding mflr with -mprofile-kernel

2019-07-01 Thread Naveen N. Rao
Steven Rostedt wrote: On Thu, 27 Jun 2019 20:58:20 +0530 "Naveen N. Rao" wrote: > But interesting, I don't see a synchronize_rcu_tasks() call > there. We felt we don't need it in this case. We patch the branch to ftrace with a nop first. Other cpus should see that first. But, now that I

Re: [patch V2 3/6] genirq: Add optional hardware synchronization for shutdown

2019-07-01 Thread Marc Zyngier
On 28/06/2019 12:11, Thomas Gleixner wrote: > free_irq() ensures that no hardware interrupt handler is executing on a > different CPU before actually releasing resources and deactivating the > interrupt completely in a domain hierarchy. > > But that does not catch the case where the interrupt is

Re: [PATCH 01/13] vfs: verify param type in vfs_parse_sb_flag()

2019-07-01 Thread Miklos Szeredi
Hi David, Ping? Have you had a chance of looking at this series? Köszi, Miklos On Wed, Jun 19, 2019 at 2:30 PM Miklos Szeredi wrote: > > vfs_parse_sb_flag() accepted any kind of param with a matching key, not > just a flag. This is wrong, only allow flag type and return -EINVAL > otherwise.

Re: [PATCH 1/2] staging:kpc2000:Fix symbol not declared warning

2019-07-01 Thread Greg KH
On Fri, Jun 28, 2019 at 10:57:23PM +0530, Harsh Jain wrote: > It fixes "symbol was not declared. Should it be static?" > sparse warning. > > Signed-off-by: Harsh Jain > --- > drivers/staging/kpc2000/kpc_i2c/i2c_driver.c | 4 ++-- This file isn't even in the linux-next tree at all, it has moved

Re: [PATCH] staging: kpc2000: fix brace issues in kpc2000_spi.c

2019-07-01 Thread Greg KH
On Thu, Jun 27, 2019 at 09:53:23PM +0200, Simon Sandström wrote: > Fixes issues found by checkpatch: > > - "WARNING: braces {} are not necessary for single statement blocks" > - "WARNING: braces {} are not necessary for any arm of this statement" > > Signed-off-by: Simon Sandström > --- >

Re: [PATCH 1/8] staging: kpc2000: add line breaks

2019-07-01 Thread Greg Kroah-Hartman
On Wed, Jun 26, 2019 at 09:35:19AM +0200, Fabian Krueger wrote: > To fix some checkpatch-warnings some lines of this module had to be > shortened so that they do not exceed 80 characters per line. > This refactoring makes the code more readable. > > Signed-off-by: Fabian Krueger > Signed-off-by:

Re: [PATCH v3 09/11] mm/memory_hotplug: Remove memory block devices before arch_remove_memory()

2019-07-01 Thread Michal Hocko
On Mon 27-05-19 13:11:50, David Hildenbrand wrote: > Let's factor out removing of memory block devices, which is only > necessary for memory added via add_memory() and friends that created > memory block devices. Remove the devices before calling > arch_remove_memory(). > > This finishes

<    2   3   4   5   6   7   8   9   >