Re: [RFC net-next] net: fixed_phy: Move the DT based link GPIO parsing to of_mdio.c

2019-02-06 Thread Andrew Lunn
On Wed, Feb 06, 2019 at 12:51:06PM -0800, Moritz Fischer wrote: > Move the DT based link GPIO parsing to of_mdio and let the places > that register a fixed_phy pass in a GPIO descriptor or NULL. > > This allows fixed_phy on non-DT platforms to have link GPIOs, too. > > Signed-off-by: Moritz

Re: [PATCH net-next v4 00/12] net: Introduce ndo_get_port_parent_id()

2019-02-06 Thread David Miller
From: Florian Fainelli Date: Wed, 6 Feb 2019 09:45:34 -0800 > Based on discussion with Ido and feedback from Jakub there are clearly > two classes of users that implement SWITCHDEV_ATTR_ID_PORT_PARENT_ID: > > - PF/VF drivers which typically only implement return the port's parent > ID, yet

Re: [PATCH net] sctp: make sctp_setsockopt_events() less strict about the option length

2019-02-06 Thread Julien Gomes
On 2/6/19 1:39 PM, Neil Horman wrote: > On Wed, Feb 06, 2019 at 01:26:55PM -0800, Julien Gomes wrote: >> >> >> On 2/6/19 1:07 PM, Marcelo Ricardo Leitner wrote: >>> On Wed, Feb 06, 2019 at 12:48:38PM -0800, Julien Gomes wrote: On 2/6/19 12:37 PM, Marcelo Ricardo Leitner wrote:

Re: [PATCH net] sctp: make sctp_setsockopt_events() less strict about the option length

2019-02-06 Thread Julien Gomes
On 2/6/19 1:23 PM, Neil Horman wrote: > On Wed, Feb 06, 2019 at 07:07:23PM -0200, Marcelo Ricardo Leitner wrote: >> On Wed, Feb 06, 2019 at 12:48:38PM -0800, Julien Gomes wrote: >>> >>> >>> On 2/6/19 12:37 PM, Marcelo Ricardo Leitner wrote: On Wed, Feb 06, 2019 at 12:14:30PM -0800, Julien

Re: linux-next: build failure after merge of the compiler-attributes tree

2019-02-06 Thread Miguel Ojeda
; 'module_exit' > module_exit(aes_exit); > ^~~ > > Caused by commit > > b31ca3fcca36 ("include/linux/module.h: mark init/cleanup_module aliases as > __init/exit") > > I have used the compiler-attributes tree from next-20190206 for today. Yeah, sorry about that!

Re: [RFC][PATCH] signal: Store pending signal exit in tsk.jobctl not in tsk.pending

2019-02-06 Thread Eric W. Biederman
Dmitry Vyukov writes: > On Tue, Feb 5, 2019 at 4:26 PM Eric W. Biederman > wrote: >> >> >> Recently syzkaller was able to create unkillablle processes by >> creating a timer that is delivered as a thread local signal on SIGHUP, >> and receiving SIGHUP SA_NODEFERER. Ultimately causing a loop

Re: [PATCH] USB: serial: cp210x: Fix GPIO in autosuspend

2019-02-06 Thread Karoly Pados
Uhm, yes, sorry, it kind of went out of my head. I am doing a lot of travelling lately (in the past 48 hours I've been on 3 airplanes), and I had travels on earlier weeks too, mixed with some project releases and family celebrations. So my head is just somewhere else. Realistically, I'll submit

Re: [PATCH v3 1/2] r8169: Load MAC address from device tree if present

2019-02-06 Thread David Miller
From: Thierry Reding Date: Wed, 6 Feb 2019 13:30:17 +0100 > From: Thierry Reding > > If the system was booted using a device tree and if the device tree > contains a MAC address, use it instead of reading one from the EEPROM. > This is useful in situations where the EEPROM isn't properly

Re: [PATCH v3 2/2] r8169: Avoid pointer aliasing

2019-02-06 Thread David Miller
From: Thierry Reding Date: Wed, 6 Feb 2019 13:30:18 +0100 > From: Thierry Reding > > Read MAC address 32-bit at a time and manually extract the individual > bytes. This avoids pointer aliasing and gives the compiler a better > chance of optimizing the operation. > > Suggested-by: Andrew Lunn

Re: [PATCH net] sctp: make sctp_setsockopt_events() less strict about the option length

2019-02-06 Thread Neil Horman
On Wed, Feb 06, 2019 at 01:26:55PM -0800, Julien Gomes wrote: > > > On 2/6/19 1:07 PM, Marcelo Ricardo Leitner wrote: > > On Wed, Feb 06, 2019 at 12:48:38PM -0800, Julien Gomes wrote: > >> > >> > >> On 2/6/19 12:37 PM, Marcelo Ricardo Leitner wrote: > >>> On Wed, Feb 06, 2019 at 12:14:30PM

Re: [RFC 2/2] ARC: U-boot: check magic number passed from u-boot

2019-02-06 Thread Vineet Gupta
On 2/6/19 9:22 AM, Eugeniy Paltsev wrote: > In case of devboards we really often disable bootloader and load > Linux image in memory via JTAG. In case of using kernel with > CONFIG_ARC_UBOOT_SUPPORT enabled we may crash as we will try to > interpret some junk in a registers as a pointers to

Re: [PATCH v3 7/8] phy: qcom: Utilize UFS reset controller

2019-02-06 Thread Stephen Boyd
Quoting Evan Green (2019-02-05 10:59:01) > diff --git a/drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c > b/drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c > index aef40f7a41d4..b05f89d734f0 100644 > --- a/drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c > +++ b/drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Dave Chinner
On Tue, Feb 05, 2019 at 10:01:20AM -0800, Ira Weiny wrote: > I had an old invalid address for Jason Gunthorpe in my address book... > > Correcting his email in the thread. Probably should have cc'd linux-fsdevel, too, but it's too late for that now > On Tue, Feb 05, 2019 at 09:50:59AM

[PATCH v2] zcrypt: handle AP Info notification from CHSC SEI command

2019-02-06 Thread Tony Krowiak
The current AP bus implementation periodically polls the AP configuration to detect changes. When the AP configuration is dynamically changed via the SE or an SCLP instruction, the changes will not be reflected to sysfs until the next time the AP configuration is polled. The CHSC architecture

linux-next: build failure after merge of the compiler-attributes tree

2019-02-06 Thread Stephen Rothwell
iases as __init/exit") I have used the compiler-attributes tree from next-20190206 for today. -- Cheers, Stephen Rothwell pgpHZZ5XUg3UN.pgp Description: OpenPGP digital signature

[PATCH] HID: steam: fix boot loop with bluetooth firmware.

2019-02-06 Thread Rodrigo Rivas Costa
There is a new firmware for the Steam Controller with support for BLE connections. When using such a device with a wired connection, it reboots itself every 10 seconds unless an application has opened it. Doing hid_hw_open() unconditionally on probe fixes the issue, and the code becomes simpler.

Re: [PATCH net] sctp: make sctp_setsockopt_events() less strict about the option length

2019-02-06 Thread Julien Gomes
On 2/6/19 1:07 PM, Marcelo Ricardo Leitner wrote: > On Wed, Feb 06, 2019 at 12:48:38PM -0800, Julien Gomes wrote: >> >> >> On 2/6/19 12:37 PM, Marcelo Ricardo Leitner wrote: >>> On Wed, Feb 06, 2019 at 12:14:30PM -0800, Julien Gomes wrote: Make sctp_setsockopt_events() able to accept

[PATCH] irqchip/i8259: fix shutdown order by moving syscore_ops registration

2019-02-06 Thread Aaro Koskinen
When using cpufreq on Loongson 2F MIPS platform, "poweroff" command gets frequently stuck in syscore_shutdown(). The reason is that i8259A_shutdown() gets called before cpufreq_suspend(), and if we have pending work then irq_work_sync() in cpufreq_dbs_governor_stop() gets stuck forever as we have

Re: [PATCH net] sctp: make sctp_setsockopt_events() less strict about the option length

2019-02-06 Thread Neil Horman
On Wed, Feb 06, 2019 at 07:07:23PM -0200, Marcelo Ricardo Leitner wrote: > On Wed, Feb 06, 2019 at 12:48:38PM -0800, Julien Gomes wrote: > > > > > > On 2/6/19 12:37 PM, Marcelo Ricardo Leitner wrote: > > > On Wed, Feb 06, 2019 at 12:14:30PM -0800, Julien Gomes wrote: > > >> Make

Re: [PATCH v6 19/27] kvm: Adapt assembly for PIE support

2019-02-06 Thread Thomas Garnier
On Wed, Feb 6, 2019 at 11:56 AM Sean Christopherson wrote: > > On Thu, Jan 31, 2019 at 11:24:26AM -0800, Thomas Garnier wrote: > > Change the assembly code to use only relative references of symbols for the > > kernel to be PIE compatible. The new __ASM_MOVABS macro is used to > > get the address

Re: linux-next: Tree for Feb 6 (drivers/edac/skx* and i10nm)

2019-02-06 Thread Luck, Tony
On Wed, Feb 06, 2019 at 01:11:23PM -0800, Randy Dunlap wrote: > on x86_64: > > ld: drivers/edac/skx_common.o: in function `skx_mce_check_error': > skx_common.c:(.text+0x982): undefined reference to `adxl_decode' > ld: drivers/edac/skx_common.o: in function `skx_adxl_get': >

Re: [PATCH 1/2] PCI: fix serious bug when sizing bridges with additional size

2019-02-06 Thread Bjorn Helgaas
Can you please add a cover letter and series revision the next time you post this? See the list archives for samples. That helps me know when I can ignore old patches when they've been superseded. I think you also need to put something in the "To:" header. I usually use

Re: linux-next: Tree for Feb 6 (drivers/edac/skx* and i10nm)

2019-02-06 Thread Borislav Petkov
On Wed, Feb 06, 2019 at 01:11:23PM -0800, Randy Dunlap wrote: > CONFIG_EDAC_I10NM=y > but CONFIG_EDAC_SKX is not set. > since # CONFIG_ACPI is not set > > Should EDAC_I10NM depend on ACPI also? This should do it:

Re: REGRESSION - System does not resume from suspend

2019-02-06 Thread Pavel Machek
Hi! > Since kernel version 4.19, my computer is unable to resume from suspend to > RAM. I've run git bisect and filed bug report at > https://bugzilla.kernel.org/show_bug.cgi?id=201519 > three months ago, however, I received no reaction. Bug is still present in > 5.0-rc5 kernel version. Is there

Re: [PATCH v2] include/linux/module.h: mark init/cleanup_module aliases as __init/exit

2019-02-06 Thread Miguel Ojeda
On Wed, Feb 6, 2019 at 6:56 PM Miguel Ojeda wrote: > > diff --git a/include/linux/module.h b/include/linux/module.h > index 8fa38d3e7538..1b5e370f1bc0 100644 > --- a/include/linux/module.h > +++ b/include/linux/module.h > @@ -129,13 +129,13 @@ extern void cleanup_module(void); > #define

Re: [PATCH net] sctp: make sctp_setsockopt_events() less strict about the option length

2019-02-06 Thread Marcelo Ricardo Leitner
On Wed, Feb 06, 2019 at 04:08:27PM -0500, Neil Horman wrote: > On Wed, Feb 06, 2019 at 12:48:38PM -0800, Julien Gomes wrote: > > > > > > On 2/6/19 12:37 PM, Marcelo Ricardo Leitner wrote: > > > On Wed, Feb 06, 2019 at 12:14:30PM -0800, Julien Gomes wrote: > > >> Make sctp_setsockopt_events()

Re: [PATCH v2 3/5] media: sunxi: Add A10 CSI driver

2019-02-06 Thread Maxime Ripard
Hi Sakari, Thanks for your review, I have a few questions though, and the rest will be addressed in the next version. On Tue, Jan 29, 2019 at 02:39:49PM +0200, Sakari Ailus wrote: > > +static int csi_notify_complete(struct v4l2_async_notifier *notifier) > > +{ > > + struct sun4i_csi *csi =

Re: Linux 4.20.7

2019-02-06 Thread Greg KH
diff --git a/Makefile b/Makefile index 523922ea9c97..efc46cce5919 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 20 -SUBLEVEL = 6 +SUBLEVEL = 7 EXTRAVERSION = NAME = Shy Crocodile diff --git a/arch/arm/mach-cns3xxx/pcie.c

[LSF/MM TOPIC] The end of the DAX experiment

2019-02-06 Thread Dan Williams
Before people get too excited this isn't a proposal to kill DAX. The topic proposal is a discussion to resolve lingering open questions that currently motivate ext4 and xfs to scream "EXPERIMENTAL" when the current DAX facilities are enabled. The are 2 primary concerns to resolve. Enumerate the

Re: Linux 4.19.20

2019-02-06 Thread Greg KH
diff --git a/Makefile b/Makefile index 39c4e7c3c13c..f1859811dca1 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 19 +SUBLEVEL = 20 EXTRAVERSION = NAME = "People's Front" diff --git

Linux 4.20.7

2019-02-06 Thread Greg KH
I'm announcing the release of the 4.20.7 kernel. All users of the 4.20 kernel series must upgrade. The updated 4.20.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.20.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.9.155

2019-02-06 Thread Greg KH
diff --git a/Makefile b/Makefile index 9964792e200f..1933ac9c3406 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 154 +SUBLEVEL = 155 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm/mach-cns3xxx/pcie.c b/arch/arm/mach-cns3xxx/pcie.c

Re: Linux 4.4.173

2019-02-06 Thread Greg KH
diff --git a/Makefile b/Makefile index 2aa8db459a74..db7665e32da8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 172 +SUBLEVEL = 173 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/arc/include/asm/perf_event.h

Linux 4.19.20

2019-02-06 Thread Greg KH
I'm announcing the release of the 4.19.20 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Doug Ledford
On Wed, 2019-02-06 at 13:04 -0800, Dan Williams wrote: > On Wed, Feb 6, 2019 at 12:14 PM Doug Ledford wrote: > > On Wed, 2019-02-06 at 11:45 -0800, Dan Williams wrote: > > > On Wed, Feb 6, 2019 at 10:52 AM Jason Gunthorpe wrote: > > > > On Wed, Feb 06, 2019 at 10:35:04AM -0800, Matthew Wilcox

Linux 4.14.98

2019-02-06 Thread Greg KH
I'm announcing the release of the 4.14.98 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

Re: Linux 4.14.98

2019-02-06 Thread Greg KH
diff --git a/Makefile b/Makefile index 485afde0f1f1..7f561ef954f2 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 97 +SUBLEVEL = 98 EXTRAVERSION = NAME = Petit Gorille diff --git a/arch/arm/mach-cns3xxx/pcie.c

Linux 4.9.155

2019-02-06 Thread Greg KH
I'm announcing the release of the 4.9.155 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Linux 4.4.173

2019-02-06 Thread Greg KH
I'm announcing the release of the 4.4.173 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: linux-next: Tree for Feb 6 (drivers/edac/skx* and i10nm)

2019-02-06 Thread Randy Dunlap
On 2/5/19 10:00 PM, Stephen Rothwell wrote: > Hi all, > > Changes since 20190205: > > The mips tree gained conflicts against the mips-fixes tree. > > The opp tree gained a conflict against the pm tree. > > The drm-intel tree gained a conflict against the drm tree. > > The akpm-current tree

Re: Linux 3.18.134

2019-02-06 Thread Greg KH
diff --git a/Makefile b/Makefile index 487a367b924d..b82f7c3383ec 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 133 +SUBLEVEL = 134 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index

Linux 3.18.134

2019-02-06 Thread Greg KH
I'm announcing the release of the 3.18.134 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web

Re: [PATCH net] sctp: make sctp_setsockopt_events() less strict about the option length

2019-02-06 Thread Neil Horman
On Wed, Feb 06, 2019 at 12:48:38PM -0800, Julien Gomes wrote: > > > On 2/6/19 12:37 PM, Marcelo Ricardo Leitner wrote: > > On Wed, Feb 06, 2019 at 12:14:30PM -0800, Julien Gomes wrote: > >> Make sctp_setsockopt_events() able to accept sctp_event_subscribe > >> structures longer than the current

Re: [PATCH v4 01/12] Documentation: Document arm64 kpti control

2019-02-06 Thread André Przywara
On 06/02/2019 19:24, Jeremy Linton wrote: > Hi, > > > I just realized I replied to this off-list. > > On 01/30/2019 12:02 PM, Andre Przywara wrote: >> On Fri, 25 Jan 2019 12:07:00 -0600 >> Jeremy Linton wrote: >> >> Hi, >> >>> For a while Arm64 has been capable of force enabling >>> or

Re: [PATCH net] sctp: make sctp_setsockopt_events() less strict about the option length

2019-02-06 Thread Marcelo Ricardo Leitner
On Wed, Feb 06, 2019 at 12:48:38PM -0800, Julien Gomes wrote: > > > On 2/6/19 12:37 PM, Marcelo Ricardo Leitner wrote: > > On Wed, Feb 06, 2019 at 12:14:30PM -0800, Julien Gomes wrote: > >> Make sctp_setsockopt_events() able to accept sctp_event_subscribe > >> structures longer than the current

Re: [PATCH 1/6] vmw_balloon: bump version number

2019-02-06 Thread Greg Kroah-Hartman
On Wed, Feb 06, 2019 at 08:39:52PM +, Nadav Amit wrote: > > On Feb 6, 2019, at 8:42 AM, Greg Kroah-Hartman > > wrote: > > > > On Tue, Feb 05, 2019 at 09:13:31PM -0800, Nadav Amit wrote: > >> Following recent changes. > >> > >> Signed-off-by: Nadav Amit > >> --- > >>

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Dan Williams
On Wed, Feb 6, 2019 at 12:14 PM Doug Ledford wrote: > > On Wed, 2019-02-06 at 11:45 -0800, Dan Williams wrote: > > On Wed, Feb 6, 2019 at 10:52 AM Jason Gunthorpe wrote: > > > On Wed, Feb 06, 2019 at 10:35:04AM -0800, Matthew Wilcox wrote: > > > > > > > > Admittedly, I'm coming in late to this

Re: [PATCH v3 6/8] scsi: ufs: qcom: Expose the reset controller for PHY

2019-02-06 Thread Stephen Boyd
Quoting Evan Green (2019-02-05 10:59:00) > Expose a reset controller that the phy will later use to control its > own PHY reset in the UFS controller. This will enable the combining > of PHY init functionality into a single function. > > Signed-off-by: Evan Green > > --- Reviewed-by: Stephen

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Dave Chinner
On Wed, Feb 06, 2019 at 07:16:21PM +, Christopher Lameter wrote: > On Wed, 6 Feb 2019, Doug Ledford wrote: > > > > Most of the cases we want revoke for are things like truncate(). > > > Shouldn't happen with a sane system, but we're trying to avoid users > > > doing awful things like being

[RFC net-next] net: fixed_phy: Move the DT based link GPIO parsing to of_mdio.c

2019-02-06 Thread Moritz Fischer
Move the DT based link GPIO parsing to of_mdio and let the places that register a fixed_phy pass in a GPIO descriptor or NULL. This allows fixed_phy on non-DT platforms to have link GPIOs, too. Signed-off-by: Moritz Fischer --- drivers/net/dsa/dsa_loop.c | 2 +-

general protection fault in team_nl_cmd_options_set

2019-02-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:9097a058d49e Merge branch 'i2c/for-current' of git://git.k.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1199566740 kernel config: https://syzkaller.appspot.com/x/.config?x=861a3573f4e78ba1

Re: [PATCH v4 0/3] Update AMBA driver for enhanced component ID spec.

2019-02-06 Thread Mathieu Poirier
On Wed, 30 Jan 2019 at 16:40, Mike Leach wrote: > > The latest ARM CoreSight specification updates the component identification > requirements for all components attached to an AMBA bus. (ARM IHI 0029E) > > This specification defines bits 15:12 in the ComponentID (CID) value as the > device

Re: Build regressions/improvements in v5.0-rc5

2019-02-06 Thread Randy Dunlap
On 2/6/19 2:05 AM, Michael Ellerman wrote: > Randy Dunlap writes: >> On 2/4/19 9:46 AM, Randy Dunlap wrote: >>> On 2/4/19 5:42 AM, Geert Uytterhoeven wrote: Below is the list of build error/warning regressions/improvements in v5.0-rc5[1] compared to v4.20[2]. Summarized:

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Doug Ledford
On Wed, 2019-02-06 at 12:20 -0800, Matthew Wilcox wrote: > On Wed, Feb 06, 2019 at 03:16:02PM -0500, Doug Ledford wrote: > > On Wed, 2019-02-06 at 11:40 -0800, Matthew Wilcox wrote: > > > On Wed, Feb 06, 2019 at 07:16:21PM +, Christopher Lameter wrote: > > > > though? If we only allow this use

Re: [PATCH v2 1/3] tracing: uprobes: Re-enable $comm support for uprobe events

2019-02-06 Thread Steven Rostedt
On Fri, 18 Jan 2019 13:44:25 +0900 Masami Hiramatsu wrote: > @@ -180,7 +183,12 @@ fetch_store_strlen(unsigned long addr) > int len; > void __user *vaddr = (void __force __user *) addr; > > - len = strnlen_user(vaddr, MAX_STRING_SIZE); > + if (addr == (unsigned

Re: [PATCH net] sctp: make sctp_setsockopt_events() less strict about the option length

2019-02-06 Thread Neil Horman
On Wed, Feb 06, 2019 at 12:14:30PM -0800, Julien Gomes wrote: > Make sctp_setsockopt_events() able to accept sctp_event_subscribe > structures longer than the current definitions. > > This should prevent unjustified setsockopt() failures due to struct > sctp_event_subscribe extensions (as in 4.11

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Doug Ledford
On Wed, 2019-02-06 at 12:49 -0800, Matthew Wilcox wrote: > On Wed, Feb 06, 2019 at 03:47:53PM -0500, Doug Ledford wrote: > > On Wed, 2019-02-06 at 12:41 -0800, Matthew Wilcox wrote: > > > On Wed, Feb 06, 2019 at 03:28:35PM -0500, Doug Ledford wrote: > > > > On Wed, 2019-02-06 at 12:20 -0800,

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Matthew Wilcox
On Wed, Feb 06, 2019 at 03:47:53PM -0500, Doug Ledford wrote: > On Wed, 2019-02-06 at 12:41 -0800, Matthew Wilcox wrote: > > On Wed, Feb 06, 2019 at 03:28:35PM -0500, Doug Ledford wrote: > > > On Wed, 2019-02-06 at 12:20 -0800, Matthew Wilcox wrote: > > > > Not hot-unplugging the RDMA device but

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Doug Ledford
On Wed, 2019-02-06 at 12:41 -0800, Matthew Wilcox wrote: > On Wed, Feb 06, 2019 at 03:28:35PM -0500, Doug Ledford wrote: > > On Wed, 2019-02-06 at 12:20 -0800, Matthew Wilcox wrote: > > > On Wed, Feb 06, 2019 at 03:16:02PM -0500, Doug Ledford wrote: > > > > On Wed, 2019-02-06 at 11:40 -0800,

Re: [PATCH net] sctp: make sctp_setsockopt_events() less strict about the option length

2019-02-06 Thread Julien Gomes
On 2/6/19 12:37 PM, Marcelo Ricardo Leitner wrote: > On Wed, Feb 06, 2019 at 12:14:30PM -0800, Julien Gomes wrote: >> Make sctp_setsockopt_events() able to accept sctp_event_subscribe >> structures longer than the current definitions. >> >> This should prevent unjustified setsockopt() failures

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Matthew Wilcox
On Wed, Feb 06, 2019 at 03:28:35PM -0500, Doug Ledford wrote: > On Wed, 2019-02-06 at 12:20 -0800, Matthew Wilcox wrote: > > On Wed, Feb 06, 2019 at 03:16:02PM -0500, Doug Ledford wrote: > > > On Wed, 2019-02-06 at 11:40 -0800, Matthew Wilcox wrote: > > > > On Wed, Feb 06, 2019 at 07:16:21PM

Re: [PATCH] drm/doc: Remove solved "VBlank issues"

2019-02-06 Thread Daniel Vetter
On Wed, Feb 06, 2019 at 05:31:57PM -0200, Shayenne Moura wrote: > Remove the list of broken tests on VKMS solved by patchset > https://patchwork.freedesktop.org/series/55994/ > > Signed-off-by: Shayenne Moura Excellent work from you! > --- > Documentation/gpu/vkms.rst | 11 --- > 1

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Christopher Lameter
On Wed, 6 Feb 2019, Matthew Wilcox wrote: > It's straightforward to migrate text pages from one DIMM to another; > you remove the PTEs from the CPU's page tables, copy the data over and > pagefaults put the new PTEs in place. We don't have a way to do similar > things to an RDMA device, do we?

Re: [PATCH 1/6] vmw_balloon: bump version number

2019-02-06 Thread Nadav Amit
> On Feb 6, 2019, at 8:42 AM, Greg Kroah-Hartman > wrote: > > On Tue, Feb 05, 2019 at 09:13:31PM -0800, Nadav Amit wrote: >> Following recent changes. >> >> Signed-off-by: Nadav Amit >> --- >> drivers/misc/vmw_balloon.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git

Re: [PATCH net] sctp: make sctp_setsockopt_events() less strict about the option length

2019-02-06 Thread Marcelo Ricardo Leitner
On Wed, Feb 06, 2019 at 12:14:30PM -0800, Julien Gomes wrote: > Make sctp_setsockopt_events() able to accept sctp_event_subscribe > structures longer than the current definitions. > > This should prevent unjustified setsockopt() failures due to struct > sctp_event_subscribe extensions (as in 4.11

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Jason Gunthorpe
On Wed, Feb 06, 2019 at 12:20:21PM -0800, Matthew Wilcox wrote: > On Wed, Feb 06, 2019 at 03:16:02PM -0500, Doug Ledford wrote: > > On Wed, 2019-02-06 at 11:40 -0800, Matthew Wilcox wrote: > > > On Wed, Feb 06, 2019 at 07:16:21PM +, Christopher Lameter wrote: > > > > > > > > though? If we

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Doug Ledford
On Wed, 2019-02-06 at 12:20 -0800, Matthew Wilcox wrote: > On Wed, Feb 06, 2019 at 03:16:02PM -0500, Doug Ledford wrote: > > On Wed, 2019-02-06 at 11:40 -0800, Matthew Wilcox wrote: > > > On Wed, Feb 06, 2019 at 07:16:21PM +, Christopher Lameter wrote: > > > > though? If we only allow this use

Re: [RFC 1/2] ARC: U-boot: check arguments paranoidly

2019-02-06 Thread Vineet Gupta
On 2/6/19 9:22 AM, Eugeniy Paltsev wrote: > Handle U-boot arguments paranoidly: > * don't allow to pass unknown tag. > * try to use external device tree blob only if corresponding tag >(TAG_DTB) is set. > * don't check: uboot_tag if kernel build with no ARC_UBOOT_SUPPORT. > > While I'm at

[PATCH net] sctp: make sctp_setsockopt_events() less strict about the option length

2019-02-06 Thread Julien Gomes
Make sctp_setsockopt_events() able to accept sctp_event_subscribe structures longer than the current definitions. This should prevent unjustified setsockopt() failures due to struct sctp_event_subscribe extensions (as in 4.11 and 4.12) when using binaries that should be compatible, but were built

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Christopher Lameter
On Wed, 6 Feb 2019, Matthew Wilcox wrote: > > > > Coming in late here too but isnt the only DAX case that we are concerned > > about where there was an mmap with the O_DAX option to do direct write > > There is no O_DAX option. There's mount -o dax, but there's nothing that > a program does to

Re: [PATCH V4 01/13] perf/core, x86: Add PERF_SAMPLE_DATA_PAGE_SIZE

2019-02-06 Thread Liang, Kan
On 2/4/2019 5:54 AM, Peter Zijlstra wrote: On Fri, Feb 01, 2019 at 11:16:51AM -0500, Liang, Kan wrote: if (p4d_large(*p4d)) { This one looks like x86 specific? if (pud_large(*pud)) { if (pmd_large(*pmd)) { Kirill did indeed note that p*_large() isn't

Re: [PATCH 2/2] Input: add Apple SPI keyboard and trackpad driver.

2019-02-06 Thread Andy Shevchenko
On Mon, Feb 04, 2019 at 12:19:47AM -0800, Ronald Tschalär wrote: > The keyboard and trackpad on recent MacBook's (since 8,1) and > MacBookPro's (13,* and 14,*) are attached to an SPI controller instead > of USB, as previously. The higher level protocol is not publicly > documented and hence has

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Matthew Wilcox
On Wed, Feb 06, 2019 at 03:16:02PM -0500, Doug Ledford wrote: > On Wed, 2019-02-06 at 11:40 -0800, Matthew Wilcox wrote: > > On Wed, Feb 06, 2019 at 07:16:21PM +, Christopher Lameter wrote: > > > > > > though? If we only allow this use case then we may not have to worry about > > > long term

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Doug Ledford
On Wed, 2019-02-06 at 11:40 -0800, Matthew Wilcox wrote: > On Wed, Feb 06, 2019 at 07:16:21PM +, Christopher Lameter wrote: > > > > though? If we only allow this use case then we may not have to worry about > > long term GUP because DAX mapped files will stay in the physical location > >

Re: [PATCH 3/3] mm/mincore: provide mapped status when cached status is not allowed

2019-02-06 Thread Jiri Kosina
On Fri, 1 Feb 2019, Vlastimil Babka wrote: > > Well, but rss update will not tell you that the page has been faulted in > > which is the most interesting part. > > Sure, but the patch doesn't add back that capability neither. It allows > to recognize page being reclaimed, and I argue you can

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Doug Ledford
On Wed, 2019-02-06 at 11:45 -0800, Dan Williams wrote: > On Wed, Feb 6, 2019 at 10:52 AM Jason Gunthorpe wrote: > > On Wed, Feb 06, 2019 at 10:35:04AM -0800, Matthew Wilcox wrote: > > > > > > Admittedly, I'm coming in late to this conversation, but did I miss the > > > > portion where that

Re: [PATCH] fs, ipc: Use an asynchronous version of kern_unmount in IPC

2019-02-06 Thread Eric Dumazet
On Wed, Feb 6, 2019 at 11:54 AM Salman Qazi wrote: > > Prior to this patch, the kernel can spend a lot of time with > this stack trace: > > [] __wait_rcu_gp+0x93/0xe0 > [] synchronize_sched+0x48/0x60 > [] kern_unmount+0x3a/0x46 > [] mq_put_mnt+0x15/0x17 > [] put_ipc_ns+0x36/0x8b > > This patch

[PATCH] drm/vkms: WARN when hrtimer_forward_now fails

2019-02-06 Thread Shayenne Moura
Make the variable have the same type of function hrtimer_forward_now return. Add a warn to verify the hrtimer_forward_now return. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/vkms/vkms_crtc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] mm/memory-hotplug: Add sysfs hot-remove trigger

2019-02-06 Thread Robin Murphy
On 2019-02-06 6:45 pm, Greg KH wrote: On Wed, Feb 06, 2019 at 05:03:53PM +, Robin Murphy wrote: ARCH_MEMORY_PROBE is a useful thing for testing and debugging hotplug, but being able to exercise the (arguably trickier) hot-remove path would be even more useful. Extend the feature to allow

Re: [GIT PULL] Immutable branch between MFD and Platform due for the v5.1 merge window

2019-02-06 Thread Benson Leung
Hi Lee, On Fri, Feb 01, 2019 at 08:19:38AM +, Lee Jones wrote: > Enjoy! > > The following changes since commit 49a57857aeea06ca831043acbb0fa5e0f50602fd: > > Linux 5.0-rc3 (2019-01-21 13:14:44 +1300) > > are available in the Git repository at: > >

linux-next: Fixes tag needs some work in the sound-asoc-fixes tree

2019-02-06 Thread Stephen Rothwell
Hi all, In commit d9111d36024d ("ASoC: rsnd: fixup rsnd_ssi_master_clk_start() user count check") Fixes tag Fixes: commit 4d230d1271064 ("ASoC: rsnd: fixup not to call clk_get/set under non-atomic") has these problem(s): - leading word 'commit' unexpected -- Cheers, Stephen

Re: [PATCH V11 3/5] i2c: tegra: Add DMA support

2019-02-06 Thread Dmitry Osipenko
06.02.2019 22:56, Sowjanya Komatineni пишет: > > Oh, another important moment is that physically contiguous dma_buf > allocation isn't guaranteed by the DMA API. This may become a > problem for T186+ that can transfer up to 64K. We need to enforce > the contiguous-allocation

Re: [PATCH 2/2] kernel/sysctl.c: define minmax conv functions in terms of non-minmax versions

2019-02-06 Thread Luis Chamberlain
On Thu, Dec 27, 2018 at 05:12:30AM -0600, Zev Weiss wrote: > do_proc_do[u]intvec_minmax_conv() had included open-coded versions of > do_proc_do[u]intvec_conv(), though the signed one omitted the check > that the value is in [INT_MIN, INT_MAX]. Rather than increase the > duplication further by

Re: [PATCH v6 19/27] kvm: Adapt assembly for PIE support

2019-02-06 Thread Sean Christopherson
On Thu, Jan 31, 2019 at 11:24:26AM -0800, Thomas Garnier wrote: > Change the assembly code to use only relative references of symbols for the > kernel to be PIE compatible. The new __ASM_MOVABS macro is used to > get the address of a symbol on both 32 and 64-bit with PIE support. > > Position

RE: [PATCH V11 3/5] i2c: tegra: Add DMA support

2019-02-06 Thread Sowjanya Komatineni
> >>> Oh, another important moment is that physically contiguous dma_buf > >>> allocation isn't guaranteed by the DMA API. This may become a > >>> problem for T186+ that can transfer up to 64K. We need to enforce > >>> the contiguous-allocation requirement by using > >>>

Re: [PATCH] net: sxgbe: fix unintended sign extension

2019-02-06 Thread David Miller
From: Colin King Date: Wed, 6 Feb 2019 10:25:03 + > From: Colin Ian King > > Shifting a u8 by 24 will cause the value to be promoted to an integer. If > the top bit of the u8 is set then the following conversion to an unsigned > long will sign extend the value causing the upper 32 bits to

Re: [PATCH 1/2] test_sysctl: add tests for >32-bit values written to 32-bit integers

2019-02-06 Thread Luis Chamberlain
Thanks for the patches, please include a...@linux-foundation.org in the future, as we can merge the changes through Andrew as well. Also please Cc yzai...@google.com, brendanhigg...@google.com in follow ups for now. They are looking at the sysctl testing code as well. Some feedback below:

Re: [PATCH] x86/boot/compressed/64: Do not corrupt EDX on EFER.LME=1 setting

2019-02-06 Thread Wei Huang
On 2/6/19 5:52 AM, Kirill A. Shutemov wrote: > RDMSR in the trampoline code overrides EDX, but we use the register to > indicate if 5-level paging has to enabled. It leads to failure to boot > on a 5-level paging machine. > > Preserve EDX on the stack while we are dealing with EFER. > >

RE: [PATCH v3 6/8] scsi: ufs: qcom: Expose the reset controller for PHY

2019-02-06 Thread Stephen Boyd
Quoting Avri Altman (2019-02-06 05:57:17) > Hi, > > > On 06/02/19 12:29 AM, Evan Green wrote: > > > Expose a reset controller that the phy will later use to control its > > > own PHY reset in the UFS controller. This will enable the combining > > > of PHY init functionality into a single

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Dan Williams
On Wed, Feb 6, 2019 at 10:52 AM Jason Gunthorpe wrote: > > On Wed, Feb 06, 2019 at 10:35:04AM -0800, Matthew Wilcox wrote: > > > > Admittedly, I'm coming in late to this conversation, but did I miss the > > > portion where that alternative was ruled out? > > > > That's my preferred option too,

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Matthew Wilcox
On Wed, Feb 06, 2019 at 07:16:21PM +, Christopher Lameter wrote: > On Wed, 6 Feb 2019, Doug Ledford wrote: > > > Most of the cases we want revoke for are things like truncate(). > > > Shouldn't happen with a sane system, but we're trying to avoid users > > > doing awful things like being able

Re: [PATCH 2/2] clk: meson: Add G12A AO Clock + Reset Controller

2019-02-06 Thread Neil Armstrong
Hi, On 05/02/2019 23:18, Stephen Boyd wrote: > Quoting Neil Armstrong (2019-02-04 01:13:30) >> + * Register offsets from the data sheet must be multiplied by 4. >> + */ >> +#define AO_RTI_STATUS_REG3 0x0C >> +#define AO_RTI_PWR_CNTL_REG0 0x10 >> +#define AO_RTI_GEN_CNTL_REG0 0x40 >>

Re: [PATCH] clk: fractional-divider: check parent rate only for general approximation

2019-02-06 Thread Stephen Boyd
+Heiko because it mentions Rockchip Quoting Katsuhiro Suzuki (2019-01-30 15:50:22) > Custom approximation of fractional-divider may not need parent clock > rate checking. For example Rockchip SoCs work fine using grand parent > clock rate even if target rate is greater than parent. > > This

Re: [PATCH v3 1/1] arm64: dts: sdm845: wireup the thermal trip points to cpufreq

2019-02-06 Thread Matthias Kaehlcke
On Wed, Feb 06, 2019 at 04:05:41PM +0530, Amit Kucheria wrote: > On Sat, Jan 26, 2019 at 3:50 AM Matthias Kaehlcke wrote: > > > > > trips { > > > > > - cpu_alert0: trip0 { > > > > > + cpu0_alert1: trip-point@0 { > > > > >

Re: [Intel-gfx] [PATCH v3 3/3] drm/i915: Don't send hotplug in intel_dp_check_mst_status()

2019-02-06 Thread Ville Syrjälä
On Tue, Jan 29, 2019 at 02:10:01PM -0500, Lyude Paul wrote: > This hotplug also isn't needed: drm_dp_mst_topology_mgr_set_mst() > already sends a hotplug on its own from drm_dp_destroy_connector_work() > after destroying connectors in the MST topology. > > Signed-off-by: Lyude Paul > Cc: Imre

[PULL] virtio: fixes

2019-02-06 Thread Michael S. Tsirkin
The following changes since commit 49a57857aeea06ca831043acbb0fa5e0f50602fd: Linux 5.0-rc3 (2019-01-21 13:14:44 +1300) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to

Re: [PATCH v3 2/3] drm/i915: Don't send MST hotplugs during resume

2019-02-06 Thread Ville Syrjälä
On Tue, Jan 29, 2019 at 02:10:00PM -0500, Lyude Paul wrote: > We have a bad habit of calling drm_fb_helper_hotplug_event() far more > then we actually need to. MST appears to be one of these cases, where we > call drm_fb_helper_hotplug_event() if we fail to resume a connected MST > topology in

[PATCH] drm/doc: Remove solved "VBlank issues"

2019-02-06 Thread Shayenne Moura
Remove the list of broken tests on VKMS solved by patchset https://patchwork.freedesktop.org/series/55994/ Signed-off-by: Shayenne Moura --- Documentation/gpu/vkms.rst | 11 --- 1 file changed, 11 deletions(-) diff --git a/Documentation/gpu/vkms.rst b/Documentation/gpu/vkms.rst index

Re: [PATCH tip/core/rcu 0/19] SPDX changes for v5.1

2019-02-06 Thread Joe Perches
On Wed, 2019-02-06 at 05:16 -0800, Paul E. McKenney wrote: > Hello! Hi. > This series makes SPDX and email-address changes to RCU source files. .h files are supposed to use /* SPDX-License-Identifier: ... */ Documentation/process/license-rules.rst: C source: // SPDX-License-Identifier:

Re: [PATCH v2] mfd: cros_ec_dev: Return number of bytes read with CROS_EC_DEV_IOCRDMEM

2019-02-06 Thread Benson Leung
On Wed, Feb 06, 2019 at 06:39:59PM +0100, Enric Balletbo i Serra wrote: > From: Guenter Roeck > > While ioctls normally return a negative error or 0 on success, this is not > the case for CROS_EC_DEV_IOCXCMD in the cros_ec driver, which returns the > number of bytes read instead. However,

<    1   2   3   4   5   6   7   8   9   10   >