Re: [PATCH 2/2] fs/locks: Remove fl_nspid and use fs-specific l_pid for remote locks

2017-06-20 Thread Benjamin Coddington
On 20 Jun 2017, at 10:03, Benjamin Coddington wrote: On 19 Jun 2017, at 13:32, Jeff Layton wrote: On Mon, 2017-06-19 at 09:24 -0400, Benjamin Coddington wrote: @@ -2041,16 +2034,46 @@ SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd) */ int vfs_test_lock(struct file *filp, struc

Re: Problem with new X.509 is_hash_blacklisted() interface

2017-06-20 Thread David Howells
James Bottomley wrote: > Added by > > commit 436529562df2748fd9918f578205b22cf8ced277 > Author: David Howells > Date: Mon Apr 3 16:07:25 2017 +0100 > > X.509: Allow X.509 certs to be blacklisted > > Ironically it duplicates a UEFI bug we've been struggling with for a > while in the pkc

Re: [EXT] Re: [PATCH v2] mmc: core: add mmc-card hardware reset enable support

2017-06-20 Thread Linus Walleij
On Tue, Jun 20, 2017 at 12:24 PM, Richard Leitner wrote: > Should we then add a warning/info message to the kernel if we have a > reset gpio configured in the DT, but the eMMC hasn't this OTP bit set? That makes a lot of sense. Because the situation is ambigous. We provide the hardware to reset

Re: [PATCH v2 3/4] KVM: async_pf: Force a nested vmexit if the injected #PF is async_pf

2017-06-20 Thread Radim Krčmář
2017-06-20 05:47+0800, Wanpeng Li: > 2017-06-19 22:51 GMT+08:00 Radim Krčmář : > > 2017-06-17 13:52+0800, Wanpeng Li: > >> 2017-06-16 23:38 GMT+08:00 Radim Krčmář : > >> > 2017-06-16 22:24+0800, Wanpeng Li: > >> >> 2017-06-16 21:37 GMT+08:00 Radim Krčmář : > >> >> > 2017-06-14 19:26-0700, Wanpeng L

Re: [PATCH] serial: imx: disable DMA for RS-485 on i.MX6 SMP

2017-06-20 Thread Fabio Estevam
Hi Clemens, On Tue, Jun 20, 2017 at 12:37 PM, Clemens Gruber wrote: > DMA support for half-duplex RS-485 never worked correctly on i.MX6Q/D > due to an undiscovered SMP-related bug, instead of the real data being > sent out, the rest of the transmit buffer is sent (xmit->tail jumps over > xmit->h

Re: [Xen-devel] [PATCH v4 07/18] xen/pvcalls: implement socket command

2017-06-20 Thread Roger Pau Monné
On Thu, Jun 15, 2017 at 12:09:36PM -0700, Stefano Stabellini wrote: > Just reply with success to the other end for now. Delay the allocation > of the actual socket to bind and/or connect. > > Signed-off-by: Stefano Stabellini > CC: boris.ostrov...@oracle.com > CC: jgr...@suse.com > --- > drivers

[PATCH v5] HID: Add driver for Retrode2 joypad adapter

2017-06-20 Thread Bastien Nocera
This driver does 2 things: - Apply the MULTI_INPUT quirk to create separate joypad device nodes for each one of the 4 connectors. - Rename the input devices so that their names are different, and allow users to recognise which device corresponds to which physical port, including the SNES

Re: [RFC PATCH 2/2] mm, fs: daxfile, an interface for byte-addressable updates to pmem

2017-06-20 Thread Andy Lutomirski
On Tue, Jun 20, 2017 at 3:11 AM, Dave Chinner wrote: > On Mon, Jun 19, 2017 at 10:53:12PM -0700, Andy Lutomirski wrote: >> On Mon, Jun 19, 2017 at 5:46 PM, Dave Chinner wrote: >> > On Mon, Jun 19, 2017 at 08:22:10AM -0700, Andy Lutomirski wrote: >> >> Second: syncing extents. Here's a straw man.

Re: [PATCH 4/6] PCI / PM: Simplify device wakeup settings code

2017-06-20 Thread kbuild test robot
Hi Rafael, [auto build test WARNING on pm/linux-next] [also build test WARNING on next-20170620] [cannot apply to v4.12-rc6] [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/commits/Rafael-J-Wysocki/PM

[PATCH] MAINTAINERS: Correct path to uDraw PS3 driver

2017-06-20 Thread Bastien Nocera
Signed-off-by: Bastien Nocera --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 09b5ab6a8a5c..f4ac911eb7b4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13066,7 +13066,7 @@ UDRAW TABLET M: Bastien Nocera L: linux-in...@

Re: [RFC PATCH 2/2] mm, fs: daxfile, an interface for byte-addressable updates to pmem

2017-06-20 Thread Dan Williams
On Tue, Jun 20, 2017 at 1:49 AM, Christoph Hellwig wrote: > [stripped giant fullquotes] > > On Mon, Jun 19, 2017 at 10:53:12PM -0700, Andy Lutomirski wrote: >> But that's my whole point. The kernel doesn't really need to prevent >> all these background maintenance operations -- it just needs to b

Re: [PATCH v7 11/36] x86/mm: Add SME support for read_cr3_pa()

2017-06-20 Thread Andy Lutomirski
On Fri, Jun 16, 2017 at 11:51 AM, Tom Lendacky wrote: > The cr3 register entry can contain the SME encryption mask that indicates > the PGD is encrypted. The encryption mask should not be used when > creating a virtual address from the cr3 register, so remove the SME > encryption mask in the read

[PATCH] fbdev: Fix typo in vfb comment

2017-06-20 Thread Bastien Nocera
Signed-off-by: Bastien Nocera --- drivers/video/fbdev/vfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/vfb.c b/drivers/video/fbdev/vfb.c index da653a080394..59cd17bd9de6 100644 --- a/drivers/video/fbdev/vfb.c +++ b/drivers/video/fbdev/vfb.c @@ -374,7 +

[PATCH] usb: plusb: Fix typo in Prolific's company name

2017-06-20 Thread Bastien Nocera
Signed-off-by: Bastien Nocera --- drivers/net/usb/plusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/usb/plusb.c b/drivers/net/usb/plusb.c index 6fe59373cba9..f76c4947ed2b 100644 --- a/drivers/net/usb/plusb.c +++ b/drivers/net/usb/plusb.c @@ -112,7 +112,7 @@ s

Re: [PATCH v11 6/6] virtio-balloon: VIRTIO_BALLOON_F_CMD_VQ

2017-06-20 Thread Michael S. Tsirkin
On Fri, Jun 09, 2017 at 06:41:41PM +0800, Wei Wang wrote: > - if (!virtqueue_indirect_desc_table_add(vq, desc, num)) { > + if (!virtqueue_indirect_desc_table_add(vq, desc, *num)) { > virtqueue_kick(vq); > - wait_event(vb->acked, virtqueue_get_buf(vq, &len)); > -

Re: [PATCH v3 0/4] Generalize fncpy availability

2017-06-20 Thread Florian Fainelli
On 06/20/2017 02:10 AM, Lorenzo Pieralisi wrote: > [+Sudeep] > > On Mon, Jun 19, 2017 at 10:32:38AM -0700, Florian Fainelli wrote: >> On 06/19/2017 05:24 AM, Mark Rutland wrote: >>> On Fri, Jun 16, 2017 at 05:07:40PM -0700, Florian Fainelli wrote: Hi all, >>> >>> Hi Florian, >>> This pat

Re: [PATCH v7 11/36] x86/mm: Add SME support for read_cr3_pa()

2017-06-20 Thread Tom Lendacky
On 6/20/2017 11:17 AM, Andy Lutomirski wrote: On Fri, Jun 16, 2017 at 11:51 AM, Tom Lendacky wrote: The cr3 register entry can contain the SME encryption mask that indicates the PGD is encrypted. The encryption mask should not be used when creating a virtual address from the cr3 register, so r

Re: [RFC PATCH 2/2] mm, fs: daxfile, an interface for byte-addressable updates to pmem

2017-06-20 Thread Andy Lutomirski
On Tue, Jun 20, 2017 at 9:17 AM, Dan Williams wrote: > On Tue, Jun 20, 2017 at 1:49 AM, Christoph Hellwig wrote: >> [stripped giant fullquotes] >> >> On Mon, Jun 19, 2017 at 10:53:12PM -0700, Andy Lutomirski wrote: >>> But that's my whole point. The kernel doesn't really need to prevent >>> all

Re: [PATCH v9 1/5] firmware: add extensible driver data params

2017-06-20 Thread Vikram Mulukutla
Hi Greg, Luis, On 2017-06-17 12:38, Greg KH wrote: On Tue, Jun 13, 2017 at 09:40:11PM +0200, Luis R. Rodriguez wrote: On Tue, Jun 13, 2017 at 11:05:48AM +0200, Greg KH wrote: > On Mon, Jun 05, 2017 at 02:39:33PM -0700, Luis R. Rodriguez wrote: > > As the firmware API evolves we keep extending

[PATCH] gpio: crystalcove: Uniquify driver name

2017-06-20 Thread Bastien Nocera
--- drivers/gpio/gpio-crystalcove.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-crystalcove.c b/drivers/gpio/gpio-crystalcove.c index e60156ec0c18..4fb400150b03 100644 --- a/drivers/gpio/gpio-crystalcove.c +++ b/drivers/gpio/gpio-crystalcove.c @@ -267,7 +2

[PATCH] mfd: intel_soc_pmic_crc: Uniquify device name

2017-06-20 Thread Bastien Nocera
--- drivers/mfd/intel_soc_pmic_crc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/intel_soc_pmic_crc.c b/drivers/mfd/intel_soc_pmic_crc.c index 4a7494872da2..f47dadaf644c 100644 --- a/drivers/mfd/intel_soc_pmic_crc.c +++ b/drivers/mfd/intel_soc_pmic_crc.c @@ -147

Re: [PATCH linux] drivers/fsi: Add SBEFIFO FSI client device driver

2017-06-20 Thread Eddie James
On 06/15/2017 5:24 AM, gre...@linuxfoundation.org wrote: On Wed, Jun 14, 2017 at 02:47:27PM -0500, Edward A. James wrote: +struct sbefifo { +struct timer_list poll_timer; +struct fsi_device *fsi_dev; +struct miscdev

Re: [RFC] gpio: about the need to manage irq mapping dynamically.

2017-06-20 Thread Linus Walleij
On Tue, Jun 20, 2017 at 12:26 PM, Jerome Brunet wrote: So I finally understood that what you want is to handle those cases where gpio_to_irq() is currently in use, and not expand the use of that function. And that is good. > On Tue, 2017-06-20 at 10:39 +0200, Linus Walleij wrote: >> > The fact

Re: [PATCH v3 1/n] perf/core: addressing 4x slowdown during per-process profiling of STREAM benchmark on Intel Xeon Phi

2017-06-20 Thread Mark Rutland
On Tue, Jun 20, 2017 at 06:22:56PM +0300, Alexey Budankov wrote: > On 20.06.2017 16:36, Mark Rutland wrote: > >On Mon, Jun 19, 2017 at 11:31:59PM +0300, Alexey Budankov wrote: > >>On 15.06.2017 22:56, Mark Rutland wrote: > >>>On Thu, Jun 15, 2017 at 08:41:42PM +0300, Alexey Budankov wrote: > +s

Re: [RESEND PATCH v3 1/n] perf/core: addressing 4x slowdown during per-process profiling of STREAM benchmark on Intel Xeon Phi

2017-06-20 Thread Mark Rutland
On Tue, Jun 20, 2017 at 06:12:08PM +0300, Alexey Budankov wrote: > On 20.06.2017 16:44, Mark Rutland wrote: > >On Fri, Jun 16, 2017 at 02:03:58AM +0300, Alexey Budankov wrote: > >>perf/core: use rb trees for pinned/flexible groups > >> > >>By default, the userspace perf tool opens per-cpu task-boun

Re: [PATCH v4 12/18] xen/pvcalls: implement poll command

2017-06-20 Thread Boris Ostrovsky
> @@ -499,6 +521,55 @@ static int pvcalls_back_accept(struct xenbus_device *dev, > static int pvcalls_back_poll(struct xenbus_device *dev, >struct xen_pvcalls_request *req) > { > + struct pvcalls_fedata *fedata; > + struct sockpass_mapping *mappass; > + st

Re: [PATCH v11 4/6] mm: function to offer a page block on the free list

2017-06-20 Thread Rik van Riel
On Mon, 2017-06-12 at 07:10 -0700, Dave Hansen wrote: > The hypervisor is going to throw away the contents of these pages, > right?  As soon as the spinlock is released, someone can allocate a > page, and put good data in it.  What keeps the hypervisor from > throwing > away good data? That looks

Re: [PATCH 01/12] coresight replicator: Cleanup programmable replicator naming

2017-06-20 Thread Mathieu Poirier
On 18 June 2017 at 08:04, Rob Herring wrote: > On Tue, Jun 13, 2017 at 10:55:28AM -0600, Mathieu Poirier wrote: >> On Mon, Jun 12, 2017 at 03:36:40PM +0100, Suzuki K Poulose wrote: >> > The Linux coresight drivers define the programmable ATB replicator as >> > Qualcom replicator, while this is des

Re: WARN_ON_ONCE() in process_one_work()?

2017-06-20 Thread Paul E. McKenney
On Sun, Jun 18, 2017 at 06:40:00AM -0400, Tejun Heo wrote: > Hello, > > On Sat, Jun 17, 2017 at 10:31:05AM -0700, Paul E. McKenney wrote: > > On Sat, Jun 17, 2017 at 07:53:14AM -0400, Tejun Heo wrote: > > > Hello, > > > > > > On Fri, Jun 16, 2017 at 10:36:58AM -0700, Paul E. McKenney wrote: > > >

Re: [PATCH v3 0/4] Generalize fncpy availability

2017-06-20 Thread Lorenzo Pieralisi
On Tue, Jun 20, 2017 at 09:20:34AM -0700, Florian Fainelli wrote: > On 06/20/2017 02:10 AM, Lorenzo Pieralisi wrote: > > [+Sudeep] > > > > On Mon, Jun 19, 2017 at 10:32:38AM -0700, Florian Fainelli wrote: > >> On 06/19/2017 05:24 AM, Mark Rutland wrote: > >>> On Fri, Jun 16, 2017 at 05:07:40PM -07

Re: [PATCH v2 1/3] dt-bindings: iio: humidity: add bindings for HDC100x sensors

2017-06-20 Thread Jonathan Cameron
On Mon, 19 Jun 2017 11:01:04 -0500 Michael Stecklein wrote: > Add the bindings for the family of HDC100x sensors. > > Signed-off-by: Michael Stecklein Ideally a brief note below the --- would have said what was different from v1. Given you have fixed the stuff Rob mentioned, I'll assume he wil

Re: [PATCH v2 2/3] iio: humidity: hdc100x: document compatible HDC10xx devices

2017-06-20 Thread Jonathan Cameron
On Mon, 19 Jun 2017 11:01:05 -0500 Michael Stecklein wrote: > Include datasheet links, add i2c_device_id entries, and update > kconfig help for compatible HDC10xx devices: HDC1000, HDC1008, > HDC1010, HDC1050, and HDC1080. > > Signed-off-by: Michael Stecklein Applied to the togreg branch of iio

Re: [PATCH] acer-wmi: Using zero as the first WMI instance number

2017-06-20 Thread Pali Rohár
On Tuesday 20 June 2017 17:06:23 Lee, Chun-Yi wrote: > Pali Rohár found that there have some wmi query/evaluation > code that they used 'one' as the first WMI instance number. > But the number is indexed from zero that it's must less than > the instance_count in _WDG. > > This patch changes those

Re: [PATCH v2 3/3] iio: humidity: hdc100x: add match table and device id's

2017-06-20 Thread Jonathan Cameron
On Mon, 19 Jun 2017 11:01:06 -0500 Michael Stecklein wrote: > Add of_match_table and point it to a list of compatible device tree > device id's. > > Signed-off-by: Michael Stecklein Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks,

Re: [PATCH v11 4/6] mm: function to offer a page block on the free list

2017-06-20 Thread David Hildenbrand
On 20.06.2017 18:44, Rik van Riel wrote: > On Mon, 2017-06-12 at 07:10 -0700, Dave Hansen wrote: > >> The hypervisor is going to throw away the contents of these pages, >> right? As soon as the spinlock is released, someone can allocate a >> page, and put good data in it. What keeps the hypervis

[PATCH v2 2/7] acpi, nfit: Enable DSM pass thru for root functions.

2017-06-20 Thread Jerry Hoemann
Set ND_CMD_CALL in the cmd_mask to enable calling root functions via the pass trhu mechanism. Signed-off-by: Jerry Hoemann --- drivers/acpi/nfit/core.c | 1 + include/uapi/linux/ndctl.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c in

[PATCH v2 1/7] libnvdimm: passthru functions clear to send

2017-06-20 Thread Jerry Hoemann
Have dsm functions called via the pass thru mechanism also be checked against clear to send. Signed-off-by: Jerry Hoemann --- drivers/nvdimm/bus.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/nvdimm/bus.c b/drivers/nvdimm/bus.c index e9361bf..e16427d 100644 ---

[PATCH v2 7/7] acpi, nfit: override mask

2017-06-20 Thread Jerry Hoemann
Add module parameter override_dsm_mask_root for overriding the dsm_mask like we do for non-root dsm calls. Signed-off-by: Jerry Hoemann --- drivers/acpi/nfit/core.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c index

[PATCH v2 6/7] libnvdimm: New ACPI 6.2 DSM functions

2017-06-20 Thread Jerry Hoemann
ACPI 6.2 added new NVDIMM root DSM functions. Define their data structures. Update the definition of nd_cmd_ars_cap to match the 6.2 spec. Add the new 6.2 functions names to nvdimm_bus_cmd_name. Signed-off-by: Jerry Hoemann --- include/uapi/linux/ndctl.h | 40 +

[PATCH v2 0/7] Enable DSM pass thru for root functions

2017-06-20 Thread Jerry Hoemann
The new ACPI 6.2 spec has added new NVDIMM root DSM functions that managibility and test software needs to call. This patch set enables the calling root functions DSM via the pass thru mechanism. Changes v2 -- 1. Add bus_dsm_mask to filter root pass thru calls. 2. Add bus_dsm_mask_show t

[PATCH v2 5/7] acpi, nfit: Show bus_dsm_mask

2017-06-20 Thread Jerry Hoemann
Add bus_dsm_mask to sysfs display under /sys/bus/nd/devices/ndbusX/nfit. Signed-off-by: Jerry Hoemann --- drivers/acpi/nfit/core.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c index 9d281a4..f133b3e 100644 --- a/drivers/acpi/

[PATCH v2 4/7] acpi, nfit: Use bus_dsm_mask for passthru

2017-06-20 Thread Jerry Hoemann
Populate bus_dsm_mask and use it to filter dsm calls that user can make through the pass thru interface. Signed-off-by: Jerry Hoemann --- drivers/acpi/nfit/core.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c index b46fca2..9d281a4 10

[PATCH v2 3/7] libnvdimm: Add bus level dsm mask.

2017-06-20 Thread Jerry Hoemann
Add a bus level dsm_mask to nvdimm_bus_descriptor to allow the passthru calling mechanism to specify a different mask from the cmd_mask. Signed-off-by: Jerry Hoemann --- include/linux/libnvdimm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/libnvdimm.h b/include/linux/libnvd

Re: [PATCH v5 2/4] Documentation: dt: iio: at91-sama5d2_adc: add hw trigger edge binding

2017-06-20 Thread Jonathan Cameron
On Thu, 15 Jun 2017 16:24:55 +0300 Eugen Hristev wrote: > Add property for the edge type of the hardware trigger pin ADTRG > > Signed-off-by: Eugen Hristev > Acked-by: Rob Herring > Acked-by: Ludovic Desroches Applied to the togreg branch of iio.git and pushed out as testing for the autobuild

Re: [PATCH v3 0/4] Generalize fncpy availability

2017-06-20 Thread Sudeep Holla
On 20/06/17 17:20, Florian Fainelli wrote: > On 06/20/2017 02:10 AM, Lorenzo Pieralisi wrote: >> [+Sudeep] >> >> On Mon, Jun 19, 2017 at 10:32:38AM -0700, Florian Fainelli wrote: >>> On 06/19/2017 05:24 AM, Mark Rutland wrote: On Fri, Jun 16, 2017 at 05:07:40PM -0700, Florian Fainelli wrote:

Re: [PATCH v2] arm: eBPF JIT compiler

2017-06-20 Thread Daniel Borkmann
On 06/20/2017 03:34 AM, Shubham Bansal wrote: Hi Daniel, Sorry, had a travel over the weekend, so didn't read it in time. What is the issue with imitating in JIT what the interpreter is doing as a starting point? That should be generic enough to handle any case. Why not proceeding this way f

Re: [PATCH v5 4/4] iio: adc: at91-sama5d2_adc: add hw trigger and buffer support

2017-06-20 Thread Jonathan Cameron
On Thu, 15 Jun 2017 16:24:57 +0300 Eugen Hristev wrote: > Added support for the external hardware trigger on pin ADTRG, > integrated the three possible edges into the driver > and created buffer management for data retrieval > > Signed-off-by: Eugen Hristev > Acked-by: Ludovic Desroches Applie

Re: [PATCH v5 1/4] ARM: dts: at91: sama5d2_xplained: enable ADTRG pin

2017-06-20 Thread Jonathan Cameron
On Thu, 15 Jun 2017 16:24:54 +0300 Eugen Hristev wrote: > Enable pinctrl for ADTRG pin (PD31) for ADC hardware trigger support. > > Signed-off-by: Eugen Hristev > Acked-by: Ludovic Desroches The driver changes are on their way upstream. Acked-by: Jonathan Cameron > --- > arch/arm/boot/dts/a

Re: [PATCH v5 3/4] ARM: dts: at91: sama5d2: add ADC hw trigger edge type

2017-06-20 Thread Jonathan Cameron
On Thu, 15 Jun 2017 16:24:56 +0300 Eugen Hristev wrote: > Added ADTRG edge type property as interrupt edge type value > > Signed-off-by: Eugen Hristev > Acked-by: Ludovic Desroches Driver support heading upstream. Acked-by: Jonathan Cameron > --- > Changes in v4: > - Modified bindings to

[PATCH] staging: sm750fb: move common locking code to a macro

2017-06-20 Thread Dhananjay Balan
The locking and unlocking code used by copy routines is common, so moved it to a macro. Signed-off-by: Dhananjay Balan --- drivers/staging/sm750fb/sm750.c | 81 - 1 file changed, 31 insertions(+), 50 deletions(-) diff --git a/drivers/staging/sm750fb/sm750

Re: [PATCH v3 0/4] Generalize fncpy availability

2017-06-20 Thread Florian Fainelli
On 06/20/2017 09:54 AM, Sudeep Holla wrote: > > > On 20/06/17 17:20, Florian Fainelli wrote: >> On 06/20/2017 02:10 AM, Lorenzo Pieralisi wrote: >>> [+Sudeep] >>> >>> On Mon, Jun 19, 2017 at 10:32:38AM -0700, Florian Fainelli wrote: On 06/19/2017 05:24 AM, Mark Rutland wrote: > On Fri, J

Re: [PATCH 2/2] fs/locks: Remove fl_nspid and use fs-specific l_pid for remote locks

2017-06-20 Thread Jeff Layton
On Tue, 2017-06-20 at 12:09 -0400, Benjamin Coddington wrote: > On 20 Jun 2017, at 10:03, Benjamin Coddington wrote: > > > On 19 Jun 2017, at 13:32, Jeff Layton wrote: > > > > > On Mon, 2017-06-19 at 09:24 -0400, Benjamin Coddington wrote: > > > > @@ -2041,16 +2034,46 @@ SYSCALL_DEFINE2(flock, un

Re: [Intel-gfx] [PATCH v9 5/7] vfio: Define vfio based dma-buf operations

2017-06-20 Thread Kirti Wankhede
On 6/20/2017 8:30 PM, Alex Williamson wrote: > On Tue, 20 Jun 2017 12:57:36 +0200 > Gerd Hoffmann wrote: > >> On Tue, 2017-06-20 at 08:41 +, Zhang, Tina wrote: >>> Hi, >>> >>> Thanks for all the comments. Here are the summaries: >>> >>> 1. Modify the structures to make it more general. >>>

Re: [PATCH v3 1/n] perf/core: addressing 4x slowdown during per-process profiling of STREAM benchmark on Intel Xeon Phi

2017-06-20 Thread Alexey Budankov
On 20.06.2017 19:37, Mark Rutland wrote: On Tue, Jun 20, 2017 at 06:22:56PM +0300, Alexey Budankov wrote: On 20.06.2017 16:36, Mark Rutland wrote: On Mon, Jun 19, 2017 at 11:31:59PM +0300, Alexey Budankov wrote: On 15.06.2017 22:56, Mark Rutland wrote: On Thu, Jun 15, 2017 at 08:41:42PM +0300

Re: [PATCH v4 13/18] xen/pvcalls: implement release command

2017-06-20 Thread Boris Ostrovsky
> + > +static int pvcalls_back_release_passive(struct xenbus_device *dev, > + struct pvcalls_fedata *fedata, > + struct sockpass_mapping *mappass) > +{ > + if (mappass->sock->sk != NULL) { > + write_lock_bh(&ma

Re: [PATCH v2 2/2] acpi, gicv3-its, numa: Adding numa node mapping for gic-its units

2017-06-20 Thread Ganapatrao Kulkarni
Hi Lorenzo, On Tue, Jun 20, 2017 at 8:47 PM, Lorenzo Pieralisi wrote: > Hi Ganapatrao, > > On Tue, Jun 20, 2017 at 12:37:17PM +0530, Ganapatrao Kulkarni wrote: >> Add code to parse SRAT ITS Affinity sub table as defined in ACPI 6.2 >> Later in per device probe, ITS devices are mapped to >> numa n

Re: net/ipv4: trying to register non-static key in ip_mc_clear_src

2017-06-20 Thread Cong Wang
On Tue, Jun 20, 2017 at 8:14 AM, Andrey Konovalov wrote: > Hi, > > I've got the following error report while fuzzing the kernel with syzkaller. > > On commit 9705596d08ac87c18aee32cc97f2783b7d14624e (4.12-rc6+). > > A reproducer and .config are attached. > > INFO: trying to register non-static key

Re: [PATCH v9 1/5] firmware: add extensible driver data params

2017-06-20 Thread Luis R. Rodriguez
On Tue, Jun 20, 2017 at 09:27:45AM -0700, Vikram Mulukutla wrote: > > Hi Greg, Luis, > > On 2017-06-17 12:38, Greg KH wrote: > > On Tue, Jun 13, 2017 at 09:40:11PM +0200, Luis R. Rodriguez wrote: > > > On Tue, Jun 13, 2017 at 11:05:48AM +0200, Greg KH wrote: > > > > On Mon, Jun 05, 2017 at 02:39:

Re: [PATCH] acer-wmi: Using zero as the first WMI instance number

2017-06-20 Thread Andy Shevchenko
On Tue, Jun 20, 2017 at 7:48 PM, Pali Rohár wrote: > On Tuesday 20 June 2017 17:06:23 Lee, Chun-Yi wrote: >> Pali Rohár found that there have some wmi query/evaluation >> code that they used 'one' as the first WMI instance number. >> But the number is indexed from zero that it's must less than >>

Re: [PATCH 0/4] net-next: stmmac: dwmac-sun8i: add support for V3s

2017-06-20 Thread David Miller
From: Icenowy Zheng Date: Sat, 17 Jun 2017 22:07:33 +0800 > Allwinner V3s features an EMAC like the on in H3, but without external MII > interfaces, so being not able really to use RMII/RGMII. > > And it has a different default value of syscon (0x38000 instead of 0x58000 > on H3), which shows a

Re: [RFC] gpio: about the need to manage irq mapping dynamically.

2017-06-20 Thread Jerome Brunet
On Tue, 2017-06-20 at 18:37 +0200, Linus Walleij wrote: > On Tue, Jun 20, 2017 at 12:26 PM, Jerome Brunet wrote: > > So I finally understood that what you want is to handle those cases > where gpio_to_irq() is currently in use, and not expand the use of that > function. And that is good. Indeed

Re: [PATCH v4 15/18] xen/pvcalls: implement the ioworker functions

2017-06-20 Thread Boris Ostrovsky
On 06/15/2017 03:09 PM, Stefano Stabellini wrote: > We have one ioworker per socket. Each ioworker goes through the list of > outstanding read/write requests. Once all requests have been dealt with, > it returns. > > We use one atomic counter per socket for "read" operations and one > for "write" o

Re: [PATCH v4] platform/x86: dell-laptop: Fix bogus keyboard backlight sysfs interface

2017-06-20 Thread Andy Shevchenko
On Tue, Jun 20, 2017 at 6:05 AM, Kai-Heng Feng wrote: > Dell Latitude 3160 does not have keyboard backlight, but there is a > sysfs interface for it, which does nothing at all. > > KBD_LED_ON_TOKEN is the only token can be found. Since it doesn't have > KBD_LED_OFF_TOKEN or KBD_LED_AUTO_*_TOKEN, i

Re: [PATCH net-next v2 00/10] net: dsa: Global 2 cosmetics

2017-06-20 Thread David Miller
From: Vivien Didelot Date: Mon, 19 Jun 2017 10:55:35 -0400 > Similarly to what has been done for the Port and Global 1 registers, > this patch series prefixes and documents the macros of Global 2. > > It brings no functional changes except for 1/10 which fixes the IRL init > for 88E6390 family.

[PATCH v4 3/4] MAINTAINERS: Add entry for Synopsys Designware HDMI drivers

2017-06-20 Thread Jose Abreu
Add a entry for Synopsys Designware HDMI Receivers drivers and phys. Signed-off-by: Jose Abreu Cc: Carlos Palminha --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c4be6d4..7ebc6dd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11354,6 +

[PATCH v4 4/4] dt-bindings: media: Document Synopsys Designware HDMI RX

2017-06-20 Thread Jose Abreu
Document the bindings for the Synopsys Designware HDMI RX. Signed-off-by: Jose Abreu Cc: Carlos Palminha Cc: Rob Herring Cc: Mark Rutland Cc: Mauro Carvalho Chehab Cc: Hans Verkuil Cc: Sylwester Nawrocki Changes from v3: - Document the new DT bindings suggested by Sylwester Changes

[PATCH v4 0/4] Synopsys Designware HDMI Video Capture Controller + PHY

2017-06-20 Thread Jose Abreu
The Synopsys Designware HDMI RX controller is an HDMI receiver controller that is responsible to process digital data that comes from a phy. The final result is a stream of raw video data that can then be connected to a video DMA, for example, and transfered into RAM so that it can be displayed. T

[PATCH v4 2/4] [media] platform: Add Synopsys Designware HDMI RX Controller Driver

2017-06-20 Thread Jose Abreu
This is an initial submission for the Synopsys Designware HDMI RX Controller Driver. This driver interacts with a phy driver so that a communication between them is created and a video pipeline is configured. The controller + phy pipeline can then be integrated into a fully featured system that ca

[PATCH v2] net/mlx5e: Use device ID defines

2017-06-20 Thread Myron Stowe
Use Mellanox device ID definitions in the driver's mlx5 ID table so tools such as 'grep' and 'cscope' can be used to help find correlated material (such as INTx Masking quirks: d76d2fe05fd PCI: Convert Mellanox broken INTx quirks to be for listed devices only). No functional change intended. Sign

[PATCH v4 1/4] [media] platform: Add Synopsys Designware HDMI RX PHY e405 Driver

2017-06-20 Thread Jose Abreu
This adds support for the Synopsys Designware HDMI RX PHY e405. This phy receives and decodes HDMI video that is delivered to a controller. Main features included in this driver are: - Equalizer algorithm that chooses the phy best settings according to the detected HDMI cable chara

Re: [PATCH 1/2] percpu_counter: Rename __percpu_counter_add to percpu_counter_add_batch

2017-06-20 Thread Tejun Heo
Hello, Nikolay. On Tue, Jun 20, 2017 at 02:36:29PM +0300, Nikolay Borisov wrote: > 252e0ba6b77d ("lib: percpu_counter variable batch") added a batched version > of percpu_counter_add. However, one problem with this patch is the fact that > it > overloads the meaning of double underscore, which in

Re: [PATCH v11 4/6] mm: function to offer a page block on the free list

2017-06-20 Thread Rik van Riel
On Tue, 2017-06-20 at 18:49 +0200, David Hildenbrand wrote: > On 20.06.2017 18:44, Rik van Riel wrote: > > Nitesh Lal (on the CC list) is working on a way > > to efficiently batch recently freed pages for > > free page hinting to the hypervisor. > > > > If that is done efficiently enough (eg. wit

Re: [PATCH v2 2/2] acpi, gicv3-its, numa: Adding numa node mapping for gic-its units

2017-06-20 Thread Lorenzo Pieralisi
On Tue, Jun 20, 2017 at 10:47:24PM +0530, Ganapatrao Kulkarni wrote: > Hi Lorenzo, > > On Tue, Jun 20, 2017 at 8:47 PM, Lorenzo Pieralisi > wrote: > > Hi Ganapatrao, > > > > On Tue, Jun 20, 2017 at 12:37:17PM +0530, Ganapatrao Kulkarni wrote: > >> Add code to parse SRAT ITS Affinity sub table as

Re: [PATCH 1/7] drm/bridge: Support hotplugging panel-bridge.

2017-06-20 Thread Eric Anholt
Archit Taneja writes: > On 06/16/2017 08:13 PM, Eric Anholt wrote: >> Archit Taneja writes: >> >>> On 06/16/2017 02:11 AM, Eric Anholt wrote: If the panel-bridge is being set up after the drm_mode_config_reset(), then the connector's state would never get initialized, and we'd de

Re: [PATCH v4] Introduce v3 namespaced file capabilities

2017-06-20 Thread Stefan Berger
On 06/20/2017 08:19 AM, Stefan Berger wrote: On 06/20/2017 01:42 AM, Amir Goldstein wrote: On Tue, Jun 20, 2017 at 12:34 AM, Eric W. Biederman wrote: "Serge E. Hallyn" writes: Quoting Stefan Berger (stef...@linux.vnet.ibm.com): On 06/14/2017 11:05 PM, Serge E. Hallyn wrote: On Wed, Jun 14

Re: [PATCH 2/2] writeback: Rework wb_[dec|inc]_stat family of functions

2017-06-20 Thread Tejun Heo
Hello, On Tue, Jun 20, 2017 at 02:36:30PM +0300, Nikolay Borisov wrote: > Currently the writeback statistics code uses a percpu counters to hold > various statistics. As such we have 2 families of functions - those which > disable local irq and those which doesn't and whose names are begin with >

Fw: [PATCH] cmdline: fix get_options() overflow while parsing ranges

2017-06-20 Thread Jonathan Corbet
Andrew, this seems to have fallen through the cracks. It addresses a real bug with possible security considerations and should probably get merged with a CC: stable...? jon Begin forwarded message: Date: Mon, 22 May 2017 19:53:47 +0400 From: Ilya Matveychikov To: linux-kernel@vger.kernel.org C

Re: [PATCH] netxen: Fix a sleep-in-atomic bug in netxen_nic_pci_mem_access_direct

2017-06-20 Thread David Miller
From: Jia-Ju Bai Date: Mon, 19 Jun 2017 10:48:53 +0800 > The driver may sleep under a spin lock, and the function call path is: > netxen_nic_pci_mem_access_direct (acquire the lock by spin_lock) > ioremap --> may sleep > > To fix it, the lock is released before "ioremap", and the lock is > ac

Re: [PATCH net-next v3 0/6] vxlan: cleanup and IPv6 link-local support

2017-06-20 Thread David Miller
From: Matthias Schiffer Date: Mon, 19 Jun 2017 10:03:54 +0200 > Running VXLANs over IPv6 link-local addresses allows to use them as a > drop-in replacement for VLANs, avoiding to allocate additional outer IP > addresses to run the VXLAN over. > > Since v1, I have added a lot more consistency che

Re: [PATCH v4 3/3] x86/build: Specify stack alignment for clang

2017-06-20 Thread Matthias Kaehlcke
El Tue, Jun 20, 2017 at 11:20:54AM +0200 Ingo Molnar ha dit: > > * Matthias Kaehlcke wrote: > > > Ingo didn't like the duplication and suggested the use of a variable, which > > kinda implies a check for the compiler name. > > I don't think it implies that: why cannot cc_stack_align_opt probe

Re: [PATCH 1/3] sched/loadavg: Generalize idle naming to nohz

2017-06-20 Thread Rik van Riel
On Mon, 2017-06-19 at 04:12 +0200, Frederic Weisbecker wrote: > The loadavg naming code still assumes that nohz == idle whereas its > code > is actually handling well both nohz idle and nohz full. > > So lets fix the naming according to what the code actually does. > > Signed-off-by: Frederic Wei

Re: [PATCH 2/3] nohz: Move idle balancer registration to idle path

2017-06-20 Thread Rik van Riel
On Mon, 2017-06-19 at 04:12 +0200, Frederic Weisbecker wrote: > The idle load balancing registration path assumes that we only stop > the > tick when the CPU is idle, ignoring the nohz full case. As a result, > a > nohz full CPU that is running a task may be chosen to perform idle > load > balancin

Applied "regulator: lp87565: Fix the initial voltage range" to the regulator tree

2017-06-20 Thread Mark Brown
The patch regulator: lp87565: Fix the initial voltage range has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Re: [PATCH net-next] net: phy: lxt: Export link partner advertising

2017-06-20 Thread David Miller
From: Thomas Bogendoerfer Date: Mon, 19 Jun 2017 16:00:22 +0200 > From: Thomas Bogendoerfer > > Provide link partner advertising information. > Removed testing for gigabit modes, which is useless for a fast ethernet phy. > > Signed-off-by: Thomas Bogendoerfer Applied, thank you.

Re: [PATCH 3/3] sched: Spare idle load balancing on nohz_full CPUs

2017-06-20 Thread Rik van Riel
On Mon, 2017-06-19 at 04:12 +0200, Frederic Weisbecker wrote: > Although idle load balancing obviously only concern idle CPUs, it can > be a disturbance on a busy nohz_full CPU. Indeed a CPU can only get > rid > of an idle load balancing duty once a tick fires while it runs a task > and this can ta

Re: [PATCH 0/4] percpu: add basic stats and tracepoints to percpu allocator

2017-06-20 Thread Tejun Heo
On Mon, Jun 19, 2017 at 07:28:28PM -0400, Dennis Zhou wrote: > There is limited visibility into the percpu memory allocator making it hard to > understand usage patterns. Without these concrete numbers, we are left to > conjecture about the correctness of percpu memory patterns and usage. > Additio

Re: [PATCH 0/2] fix loadable module for DPAA Ethernet

2017-06-20 Thread David Miller
From: Madalin Bucur Date: Mon, 19 Jun 2017 18:04:15 +0300 > The DPAA Ethernet makes use of a symbol that is not exported. > Address the issue by propagating the dma_ops rather than calling > arch_setup_dma_ops(). Series applied, thanks.

[PATCH v2] net/phy: micrel: configure intterupts after autoneg workaround

2017-06-20 Thread Zach Brown
The commit ("net/phy: micrel: Add workaround for bad autoneg") fixes an autoneg failure case by resetting the hardware. This turns off intterupts. Things will work themselves out if the phy polls, as it will figure out it's state during a poll. However if the phy uses only intterupts, the phy will

Re: [kernel-hardening] Re: [PATCH] random: silence compiler warnings and fix race

2017-06-20 Thread Sandy Harris
On Tue, Jun 20, 2017 at 5:49 AM, Jeffrey Walton wrote: > On Tue, Jun 20, 2017 at 5:36 AM, Theodore Ts'o wrote: >> On Tue, Jun 20, 2017 at 10:53:35AM +0200, Jason A. Donenfeld wrote: >>> > Suppressing all messages for all configurations cast a wider net than >>> > necessary. Configurations that c

[PATCH v2] drm/core: Fail atomic IOCTL with no CRTC state but with signaling.

2017-06-20 Thread Andrey Grodzovsky
Problem : While running IGT kms_atomic_transition test suite i encountered a hang in drmHandleEvent immediately following an atomic_commit. After dumping the atomic state I relized that in this case there was not even one CRTC attached to the state and only disabled planes. This probably due to a

Re: [PATCH v8 3/3] iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #126

2017-06-20 Thread Will Deacon
On Tue, Jun 20, 2017 at 07:47:39PM +0530, Geetha sowjanya wrote: > From: Geetha Sowjanya > > Cavium ThunderX2 SMMU doesn't support MSI and also doesn't have unique irq > lines for gerror, eventq and cmdq-sync. > > SHARED_IRQ option is set as a errata workaround, which allows to share the irq > l

Re: [PATCH v8 1/3] ACPI/IORT: Fixup SMMUv3 resource size for Cavium ThunderX2 SMMUv3 model

2017-06-20 Thread Will Deacon
On Tue, Jun 20, 2017 at 07:47:37PM +0530, Geetha sowjanya wrote: > From: Linu Cherian > > Cavium ThunderX2 implementation doesn't support second page in SMMU > register space. Hence, resource size is set as 64k for this model. > > Signed-off-by: Linu Cherian > Signed-off-by: Geetha Sowjanya >

[PATCH v2 1/2] percpu_counter: Rename __percpu_counter_add to percpu_counter_add_batch

2017-06-20 Thread Nikolay Borisov
Currently, in both !SMP and SMP configs percpu_counter_add calls __percpu_counter_add which is preempt safe due to explicit calls to preempt_disable. This state of play creates the false sense that __percpu_counter_add is less SMP-safe than percpu_counter_add. They are both identical irrespective o

[PATCH v2 2/2] writeback: Rework wb_[dec|inc]_stat family of functions

2017-06-20 Thread Nikolay Borisov
Currently the writeback statistics code uses a percpu counters to hold various statistics. Furthermore we have 2 families of functions - those which disable local irq and those which doesn't and whose names begin with double underscore. However, they both end up calling __add_wb_stats which in turn

Re: [PATCH] mm: Add SLUB free list pointer obfuscation

2017-06-20 Thread Laura Abbott
On 06/19/2017 08:01 PM, Kees Cook wrote: > This SLUB free list pointer obfuscation code is modified from Brad > Spengler/PaX Team's code in the last public patch of grsecurity/PaX based > on my understanding of the code. Changes or omissions from the original > code are mine and don't reflect the o

Re: [PATCH v8 2/3] iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #74

2017-06-20 Thread Will Deacon
On Tue, Jun 20, 2017 at 07:47:38PM +0530, Geetha sowjanya wrote: > From: Linu Cherian > > Cavium ThunderX2 SMMU implementation doesn't support page 1 register space > and PAGE0_REGS_ONLY option is enabled as an errata workaround. > This option when turned on, replaces all page 1 offsets used for

Re: um: PTRACE_SETREGSET failure with XSTATE on Kabylake CPU

2017-06-20 Thread Yu-cheng Yu
On Tue, 2017-06-20 at 11:05 +0200, Richard Weinberger wrote: > [adding x86 folks] > > Am 20.06.2017 um 10:49 schrieb Thomas Meyer: > > > > In UML the first userspace ptrace always fails, so init get's killed. > > > > The check "count < fpu_user_xstate_size" was introduced by commit: > > > > com

[PATCH v3 28/31] quota: add get_inode_usage callback to transfer multi-inode charges

2017-06-20 Thread Tahsin Erdogan
Ext4 ea_inode feature allows storing xattr values in external inodes to be able to store values that are bigger than a block in size. Ext4 also has deduplication support for these type of inodes. With deduplication, the actual storage waste is eliminated but the users of such inodes are still charg

Re: [PATCH] mm: Add SLUB free list pointer obfuscation

2017-06-20 Thread Kees Cook
On Tue, Jun 20, 2017 at 11:05 AM, Laura Abbott wrote: > On 06/19/2017 08:01 PM, Kees Cook wrote: >> This SLUB free list pointer obfuscation code is modified from Brad >> Spengler/PaX Team's code in the last public patch of grsecurity/PaX based >> on my understanding of the code. Changes or omissio

Re: linux-next: manual merge of the uuid tree with the arm64 tree

2017-06-20 Thread Baicar, Tyler
On 6/20/2017 2:47 AM, Andy Shevchenko wrote: On Tue, 2017-06-20 at 10:43 +0200, Christoph Hellwig wrote: On Tue, Jun 20, 2017 at 09:40:08AM +0100, Will Deacon wrote: To have better coordination, please, look at my WIP branch regarding UUID stuff: http://bitbucket.org/andy-shev/linux/branch/topi

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