Re: [PATCH 1/2] ARM: dts: Add the support for display5 equipped with Mitsubishi (800x480) display

2017-11-17 Thread Lucas Stach
Am Freitag, den 17.11.2017, 15:13 +0100 schrieb Lukasz Majewski: > Hi Shawn, > > > On Fri, Nov 17, 2017 at 11:24:03AM +0100, Lukasz Majewski wrote: > > > This is the support for aa070mc01-ca1 Mitsubishi display. > > > > > > Signed-off-by: Lukasz Majewski > > > --- > > >  

Re: Blank console but X11 works on MCP79 - old regression since 3.8

2017-11-17 Thread Ilia Mirkin
With a new kernel, mind grabbing a dmesg with drm.debug=0x1e nouveau.debug=debug (or maybe even =trace)? Maybe also see if fbcon/fbdev have any debug things that can be turned on? Sounds like things are generally working, just the fbcon -> nouveaufb path seems somehow buggered. Another thing to

[PATCH] staging: rtl8822be: fix missing null check on dev_alloc_skb return

2017-11-17 Thread Colin King
From: Colin Ian King dev_alloc_skb can potentially return NULL, so add a null check to avoid a null pointer dereference on skb Detected by CoverityScan, CID#1454558 ("Dereference on null return") Fixes: 7e5b796cde7e ("staging: r8822be: Add the driver code")

Re: [PATCH] gpu: gma500: remove unneeded DRIVER_LICENSE #define

2017-11-17 Thread Philippe Ombredanne
On Fri, Nov 17, 2017 at 3:16 PM, Greg Kroah-Hartman wrote: > There is no need to #define the license of the driver, just put it in > the MODULE_LICENSE() line directly as a text string. > > This allows tools that check that the module license matches the source > code

Re: [PATCH PREEMPT RT] rt-mutex: fix deadlock in device mapper

2017-11-17 Thread Sebastian Siewior
On 2017-11-13 12:56:53 [-0500], Mikulas Patocka wrote: > Hi Hi, > I'm submitting this patch for the CONFIG_PREEMPT_RT patch. It fixes > deadlocks in device mapper when real time preemption is used. applied, thank you. > Mikulas Sebastian

[tip:x86/urgent] x86/boot: Fix boot failure when SMP MP-table is based at 0

2017-11-17 Thread tip-bot for Tom Lendacky
Commit-ID: ac5292e9a294618cecb31109d1ba265e3d027ba2 Gitweb: https://git.kernel.org/tip/ac5292e9a294618cecb31109d1ba265e3d027ba2 Author: Tom Lendacky AuthorDate: Mon, 6 Nov 2017 14:17:53 -0600 Committer: Thomas Gleixner CommitDate: Fri, 17

[tip:x86/urgent] perf/x86/intel/uncore: Cache logical pkg id in uncore driver

2017-11-17 Thread tip-bot for Andi Kleen
Commit-ID: d46b4c1ce5f0d9a13fb2318763076442669a2bdc Gitweb: https://git.kernel.org/tip/d46b4c1ce5f0d9a13fb2318763076442669a2bdc Author: Andi Kleen AuthorDate: Tue, 14 Nov 2017 07:42:55 -0500 Committer: Thomas Gleixner CommitDate: Fri, 17 Nov

Re: [PATCH] media: usbvision: remove unneeded DRIVER_LICENSE #define

2017-11-17 Thread Greg Kroah-Hartman
On Fri, Nov 17, 2017 at 12:58:47PM -0200, Mauro Carvalho Chehab wrote: > Em Fri, 17 Nov 2017 15:18:26 +0100 > Greg Kroah-Hartman escreveu: > > > There is no need to #define the license of the driver, just put it in > > the MODULE_LICENSE() line directly as a text

Re: [PATCH] mm/shmem: set default tmpfs size according to memcg limit

2017-11-17 Thread Roman Gushchin
On Thu, Nov 16, 2017 at 08:43:17PM -0800, Shakeel Butt wrote: > On Thu, Nov 16, 2017 at 7:09 PM, Yafang Shao wrote: > > Currently the default tmpfs size is totalram_pages / 2 if mount tmpfs > > without "-o size=XXX". > > When we mount tmpfs in a container(i.e. docker), it is

Re: [PATCH] qed: fix unnecessary call to memset cocci warnings

2017-11-17 Thread Andy Shevchenko
On Fri, Nov 17, 2017 at 12:04 AM, Vasyl Gomonovych wrote: > Use kzalloc rather than kmalloc followed by memset with 0 > > drivers/net/ethernet/qlogic/qed/qed_dcbx.c:1280:13-20: WARNING: > kzalloc should be used for dcbx_info, instead of kmalloc/memset > Generated by:

Re: [PATCH 3/4] pinctrl: meson-axg: Add new pinctrl driver for Meson AXG SoC

2017-11-17 Thread Neil Armstrong
On 08/11/2017 07:47, Yixun Lan wrote: > From: Xingyu Chen > > Add new pinctrl driver for Amlogic's Meson-AXG SoC. > > Signed-off-by: Xingyu Chen > Signed-off-by: Yixun Lan > --- > drivers/pinctrl/meson/Kconfig

Re: [RFC v5 07/11] [media] vb2: add in-fence support to QBUF

2017-11-17 Thread Mauro Carvalho Chehab
Em Fri, 17 Nov 2017 11:12:48 -0200 Gustavo Padovan escreveu: > > > /* > > >* If streamon has been called, and we haven't yet called > > >* start_streaming() since not enough buffers were queued, and > > >* we now have reached the minimum number of queued

Re: STRICT_KERNEL_RWX on PPC32 is broken on PowerMac G4

2017-11-17 Thread Meelis Roos
> Meelis Roos a écrit : > > > > > For me, 4.13 worked and 4.14 hangs early during boot. Bisecting led to > > > > the following commit. I had STRICT_KERNEL_RWX enabled when I met the > > > > option. When I disabled STRICT_KERNEL_RWX, the same kernel booted fine. > > > > > > Can

Re: [PATCH] of: Document exactly what of_find_node_by_name() puts

2017-11-17 Thread Rob Herring
On Thu, Nov 16, 2017 at 8:44 PM, Stephen Boyd wrote: > On 11/10, Randy Dunlap wrote: >> On 11/10/2017 05:45 PM, Stephen Boyd wrote: >> > It isn't clear if this function of_node_put()s the 'from' >> > argument, or the node it finds in the search. Clearly indicate >> > which

[PATCH] watchdog: pcwd_usb: remove unneeded DRIVER_LICENSE #define

2017-11-17 Thread Greg Kroah-Hartman
There is no need to #define the license of the driver, just put it in the MODULE_LICENSE() line directly as a text string. This allows tools that check that the module license matches the source code license to work properly, as there is no need to unwind the unneeded dereference, especially when

Re: [PATCH v1 04/10] ARM: dts: r7s72100: Add Capture Engine Unit (CEU)

2017-11-17 Thread Simon Horman
On Wed, Nov 15, 2017 at 11:55:57AM +0100, Jacopo Mondi wrote: > Add Capture Engine Unit (CEU) node to device tree. Other patches in this series (which are not for my tree) appear to warrant updating. Accordingly I am marking this patch as "Changes Requested" and am expecting it to be reposted at

Re: [PATCH 01/13] x86/paravirt: remove wbinvd() paravirt interface

2017-11-17 Thread Borislav Petkov
On Wed, Oct 04, 2017 at 10:58:22AM -0500, Josh Poimboeuf wrote: > Since lguest was removed, only the native version of wbinvd() is used. > The paravirt interface is no longer needed. > > Signed-off-by: Josh Poimboeuf > --- > arch/x86/include/asm/paravirt.h | 5 - >

Re: [PATCH] input: remove unneeded DRIVER_LICENSE #defines

2017-11-17 Thread Philippe Ombredanne
On Fri, Nov 17, 2017 at 3:17 PM, Greg Kroah-Hartman wrote: > There is no need to #define the license of the driver, just put it in > the MODULE_LICENSE() line directly as a text string. > > This allows tools that check that the module license matches the source > code

Re: [PATCH] watchdog: pcwd_usb: remove unneeded DRIVER_LICENSE #define

2017-11-17 Thread Philippe Ombredanne
On Fri, Nov 17, 2017 at 3:22 PM, Greg Kroah-Hartman wrote: > There is no need to #define the license of the driver, just put it in > the MODULE_LICENSE() line directly as a text string. > > This allows tools that check that the module license matches the source > code

Re: [PATCH] media: usbvision: remove unneeded DRIVER_LICENSE #define

2017-11-17 Thread Philippe Ombredanne
On Fri, Nov 17, 2017 at 3:58 PM, Mauro Carvalho Chehab wrote: > Em Fri, 17 Nov 2017 15:18:26 +0100 > Greg Kroah-Hartman escreveu: > >> There is no need to #define the license of the driver, just put it in >> the MODULE_LICENSE() line directly

Re: [PATCH 1/2] ARM: dts: Add the support for display5 equipped with Mitsubishi (800x480) display

2017-11-17 Thread Lukasz Majewski
On Fri, 17 Nov 2017 16:07:18 +0100 Lucas Stach wrote: > Am Freitag, den 17.11.2017, 16:03 +0100 schrieb Lukasz Majewski: > > Hi Lucas, > > > > > Am Freitag, den 17.11.2017, 15:13 +0100 schrieb Lukasz Majewski: > > > > Hi Shawn, > > > >    > > > > > On Fri, Nov 17,

[tip:x86/urgent] x86/acpi: Handle SCI interrupts above legacy space gracefully

2017-11-17 Thread tip-bot for Vikas C Sajjan
Commit-ID: 252714155f04c5d16989cb3aadb85fd1b5772f99 Gitweb: https://git.kernel.org/tip/252714155f04c5d16989cb3aadb85fd1b5772f99 Author: Vikas C Sajjan AuthorDate: Thu, 16 Nov 2017 21:43:44 +0530 Committer: Thomas Gleixner CommitDate: Fri,

Re: [PATCH 3/3] arm64: dts: meson-axg: add new reset DT node

2017-11-17 Thread Neil Armstrong
On 10/11/2017 09:46, Yixun Lan wrote: > Add reset DT node for Amlogic's Meson-AXG SoC. > > Signed-off-by: Yixun Lan > --- > arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git

Re: [RFC v5 07/11] [media] vb2: add in-fence support to QBUF

2017-11-17 Thread Gustavo Padovan
2017-11-17 Mauro Carvalho Chehab : > Em Fri, 17 Nov 2017 15:49:23 +0900 > Alexandre Courbot escreveu: > > > > @@ -178,6 +179,12 @@ static int vb2_queue_or_prepare_buf(struct > > > vb2_queue *q, struct v4l2_buffer *b, > > > return

Re: intel-gpio interrupts stop firing with Focaltech I2C-HID touchpad

2017-11-17 Thread Chris Chiu
On Fri, Nov 17, 2017 at 7:00 PM, Mika Westerberg wrote: > On Fri, Nov 17, 2017 at 06:01:27PM +0800, Chris Chiu wrote: >> Hi Mika, >> Here's the full dmesg log you need. The touchpad stop reporting at >> the last of the log. >>

Re: [RFC v5 10/11] [media] vb2: add out-fence support to QBUF

2017-11-17 Thread Hans Verkuil
On 15/11/17 18:10, Gustavo Padovan wrote: > From: Gustavo Padovan > > If V4L2_BUF_FLAG_OUT_FENCE flag is present on the QBUF call we create > an out_fence and send its fd to userspace on the fence_fd field as a > return arg for the QBUF call. > > The fence is

Re: [PATCH] x86 / CPU: Always show current CPU frequency in /proc/cpuinfo

2017-11-17 Thread Rafael J. Wysocki
On Friday, November 17, 2017 5:27:07 AM CET WANG Chao wrote: > On 11/16/17 at 02:54P, Rafael J. Wysocki wrote: > > On Thursday, November 16, 2017 10:50:36 AM CET WANG Chao wrote: > > > On 11/16/17 at 01:24P, Rafael J. Wysocki wrote: > > > > On Wednesday, November 15, 2017 10:33:47 AM CET WANG Chao

Re: [PATCH v1 4/5] platform/x86: intel_telemetry: Remove redundancies

2017-11-17 Thread Andy Shevchenko
On Thu, Nov 16, 2017 at 12:18 PM, Souvik Kumar Chakravarty wrote: > This patch removes unnecessary header files and newlines. > It also fixes some alignment issues. This kind of patches should go last in the series. -- With Best Regards, Andy Shevchenko

[PATCH net-next v2 2/2] net: thunderx: add timestamping support

2017-11-17 Thread Aleksey Makarov
From: Sunil Goutham This adds timestamping support for both receive and transmit paths. On the receive side no filters are supported i.e either all pkts will get a timestamp appended infront of the packet or none. On the transmit side HW doesn't support timestamp insertion

[PATCH net-next v2 1/2] net: add support for Cavium PTP coprocessor

2017-11-17 Thread Aleksey Makarov
From: Radoslaw Biernacki This patch adds support for the Precision Time Protocol Clocks and Timestamping hardware found on Cavium ThunderX processors. Signed-off-by: Radoslaw Biernacki Signed-off-by: Aleksey Makarov ---

Re: [PATCH v3 1/6] PM / core: Add LEAVE_SUSPENDED driver flag

2017-11-17 Thread Ulf Hansson
[...] >> Second, have you considered setting the default value of dev->power.may_skip_resume to true? >>> >>> Yes. >>> That would means the subsystem instead need to implement an opt-out method. I am thinking that it may not be an issue, since we anyway at this point,

[PATCH net-next v2 0/2] net: thunderx: add support for PTP clock

2017-11-17 Thread Aleksey Makarov
This series adds support for IEEE 1588 Precision Time Protocol to Cavium ethernet driver. The first patch adds support for the Precision Time Protocol Clocks and Timestamping coprocessor (PTP) found on Cavium processors. It registers a new PTP clock in the PTP core and provides functions to use

Re: [PATCH 3/5] ARM64: dts: meson-axg: add I2C DT info for Meson-AXG SoC

2017-11-17 Thread Yixun Lan
Hi Neil see my comments in line On 11/17/17 21:05, Neil Armstrong wrote: > Hi Yixun, Jian, > > On 17/11/2017 09:02, Yixun Lan wrote: >> From: Jian Hu >> >> There are four I2C masters in EE domain, and one I2C Master in >> AO domain, the DT info here should describe them

[PATCH] input: remove unneeded DRIVER_LICENSE #defines

2017-11-17 Thread Greg Kroah-Hartman
There is no need to #define the license of the driver, just put it in the MODULE_LICENSE() line directly as a text string. This allows tools that check that the module license matches the source code license to work properly, as there is no need to unwind the unneeded dereference. For some of

[GIT PULL] file locking fixes for v4.15

2017-11-17 Thread Jeff Layton
The following changes since commit 894025f24bd028942da3e602b87d9f7223109b14: Merge tag 'usb-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb (2017-11-13 21:14:07 -0800) are available in the Git repository at:

[PATCH] gpu: gma500: remove unneeded DRIVER_LICENSE #define

2017-11-17 Thread Greg Kroah-Hartman
There is no need to #define the license of the driver, just put it in the MODULE_LICENSE() line directly as a text string. This allows tools that check that the module license matches the source code license to work properly, as there is no need to unwind the unneeded dereference, especially when

Blank console but X11 works on MCP79 - old regression since 3.8

2017-11-17 Thread Ondrej Zary
Hello, I've just been hit by this old bug which is still present in 4.14: https://bugs.freedesktop.org/show_bug.cgi?id=80675 On MCP79 (ION), when stolen memory is set to 32MB in BIOS, console is blank but X11 works. When the stolen memory is increased to 64MB, console works fine. Bisected it

Re: [RFC v5 06/11] [media] vb2: add explicit fence user API

2017-11-17 Thread Hans Verkuil
On 17/11/17 14:53, Mauro Carvalho Chehab wrote: > Em Fri, 17 Nov 2017 14:29:23 +0100 > Hans Verkuil escreveu: > >> On 15/11/17 18:10, Gustavo Padovan wrote: >>> From: Gustavo Padovan >>> >>> Turn the reserved2 field into fence_fd that we will

Re: [PATCH] watchdog: pcwd_usb: remove unneeded DRIVER_LICENSE #define

2017-11-17 Thread Guenter Roeck
On 11/17/2017 06:22 AM, Greg Kroah-Hartman wrote: There is no need to #define the license of the driver, just put it in the MODULE_LICENSE() line directly as a text string. This allows tools that check that the module license matches the source code license to work properly, as there is no need

Re: [PATCH v3 1/6] PM / core: Add LEAVE_SUSPENDED driver flag

2017-11-17 Thread Rafael J. Wysocki
On Fri, Nov 17, 2017 at 2:49 PM, Ulf Hansson wrote: > [...] > >>> > Second, have you considered setting the default value of > dev->power.may_skip_resume to true? Yes. > That would means the subsystem > instead need to implement an opt-out

Re: [PATCH] net: usb: hso.c: remove unneeded DRIVER_LICENSE #define

2017-11-17 Thread Philippe Ombredanne
On Fri, Nov 17, 2017 at 3:19 PM, Greg Kroah-Hartman wrote: > There is no need to #define the license of the driver, just put it in > the MODULE_LICENSE() line directly as a text string. > > This allows tools that check that the module license matches the source > code

Re: [PATCH] media: rc: double keypresses due to timeout expiring to early

2017-11-17 Thread Matthias Reichl
Hi Sean! On Thu, Nov 16, 2017 at 09:54:51PM +, Sean Young wrote: > Since commit d57ea877af38 ("media: rc: per-protocol repeat period"), > double keypresses are reported on the ite-cir driver. This is due > two factors: that commit reduced the timeout used for some protocols > (it became

Re: [PATCH] media: usbvision: remove unneeded DRIVER_LICENSE #define

2017-11-17 Thread Philippe Ombredanne
On Fri, Nov 17, 2017 at 3:18 PM, Greg Kroah-Hartman wrote: > There is no need to #define the license of the driver, just put it in > the MODULE_LICENSE() line directly as a text string. > > This allows tools that check that the module license matches the source > code

Re: [PATCH 6/6] media: usb: add SPDX identifiers to some code I wrote

2017-11-17 Thread Mauro Carvalho Chehab
Em Fri, 17 Nov 2017 12:54:15 +0100 Philippe Ombredanne escreveu: > On Fri, Nov 17, 2017 at 11:21 AM, Mauro Carvalho Chehab > wrote: > > As we're now using SPDX identifiers, on several > > media drivers I wrote, add the proper SPDX, identifying > >

[PATCH v2 1/2] PCI: designware-ep: Fix find_first_zero_bit() usage

2017-11-17 Thread Niklas Cassel
find_first_zero_bit()'s parameter 'size' is defined in bits, not in bytes. find_first_zero_bit() was called with size in bytes rather than bits, which thus defined a too low upper limit, causing dw_pcie_ep_inbound_atu() to assign iatu index #4 to both bar 4 and bar 5, which made bar 5 overwrite

[PATCH v2 2/2] PCI: endpoint: Fix find_first_zero_bit() usage

2017-11-17 Thread Niklas Cassel
find_first_zero_bit()'s parameter 'size' is defined in bits, not in bytes. Calling find_first_zero_bit() with the wrong size unit will lead to insidious bugs. Fix this by using replacing find_first_zero_bit() with ffz(), since ffz() only works on a single 'unsigned long' and therefore does not

Re: [PATCH] staging: rtl8822be: fix missing null check on dev_alloc_skb return

2017-11-17 Thread Larry Finger
On 11/17/2017 08:50 AM, Colin King wrote: From: Colin Ian King dev_alloc_skb can potentially return NULL, so add a null check to avoid a null pointer dereference on skb Acked-by: Larry Finger Larry Detected by CoverityScan,

[PATCH] checkpatch: allow URL >80 chars

2017-11-17 Thread Andreas Brauchli
Allow URL to exceed the 80 char limit for improved interaction in adaption to ongoing but undocumented practice. $ git grep -E '://\S{77}.*' -- '*.[ch]' The patch checks that the URL is indeed on its own line in that it allows a maximal prefix of 4 characters to account for a URL after a comment

Re: [PATCH v3 1/6] PM / core: Add LEAVE_SUSPENDED driver flag

2017-11-17 Thread Ulf Hansson
On 17 November 2017 at 15:31, Rafael J. Wysocki wrote: > On Fri, Nov 17, 2017 at 2:49 PM, Ulf Hansson wrote: >> [...] >> >> Second, have you considered setting the default value of >> dev->power.may_skip_resume to true? > > Yes.

Re: [PATCH] video: fbdev: sm501fb: fix potential null pointer dereference on fbi

2017-11-17 Thread Bartlomiej Zolnierkiewicz
On Friday, November 10, 2017 05:32:31 PM Colin King wrote: > From: Colin Ian King > > The pointer fbi is dereferenced with par = fbi->par before there is a > null check on fbi, hence there is a potential null pointer dereference > on a null par. Fix this by moving the

Re: [patch V4 01/11] Documentation: Add license-rules.rst to describe how to properly identify file licenses

2017-11-17 Thread Thomas Gleixner
On Fri, 17 Nov 2017, Kate Stewart wrote: > On Fri, Nov 17, 2017 at 4:00 AM, Thomas Gleixner wrote: > > + The files in this directory the full license text and `Metatags`_. > > > Missing verb. Possibly "contain"? > > The files in this directory contain the full license

Re: [PATCH v1 2/5] platform/x86: intel_telemetry: Fix suspend stats

2017-11-17 Thread Andy Shevchenko
On Thu, Nov 16, 2017 at 12:18 PM, Souvik Kumar Chakravarty wrote: > Suspend stats are not reported consistently due to a limitation in the PMC > firmware. This limitation causes a delay in updating the s0ix counters and > residencies in the telemetry log upon s0ix

[PATCH v2] PCI: keystone: fix interrupt-controller-node lookup

2017-11-17 Thread Johan Hovold
Fix child-node lookup during initialisation which was using the wrong OF-helper and ended up searching the whole device tree depth-first starting at the parent rather than just matching on its children. To make things worse, the parent pci node could end up being prematurely freed as

[PATCH 08/10] staging: fsl-mc: remove debug WARN_ONs doubling error checks

2017-11-17 Thread laurentiu.tudor
From: Laurentiu Tudor A lot of error checks are doubled by debug WARN_ONs. Given that the driver was thoroughly debugged and is in a stable state, it's time to drop them. Signed-off-by: Laurentiu Tudor ---

[PATCH 05/10] staging: fsl-mc: consistently use EXPORT_SYMBOL_GPL()

2017-11-17 Thread laurentiu.tudor
From: Laurentiu Tudor The bus driver is mixing EXPORT_SYMBOL()/EXPORT_SYMBOL_GPL() usage. Change it to consistently use EXPORT_SYMBOL_GPL(). Signed-off-by: Laurentiu Tudor --- drivers/staging/fsl-mc/bus/dpbp.c | 16

[PATCH 09/10] staging: fsl-mc: add support for device type

2017-11-17 Thread laurentiu.tudor
From: Laurentiu Tudor The MC bus has different types of devices and this is supported by device model. This patch adds initial support for device types (defines them, adds helpers and sets the device type). Signed-off-by: Laurentiu Tudor ---

[PATCH 10/10] staging: fsl-mc: use device_type instead of strcmp()

2017-11-17 Thread laurentiu.tudor
From: Laurentiu Tudor Replace strcmp() based device type checks with the standard device model type. Signed-off-by: Laurentiu Tudor --- drivers/staging/fsl-mc/bus/dprc-driver.c | 4 ++-- drivers/staging/fsl-mc/bus/fsl-mc-allocator.c | 20

[PATCH 04/10] staging: fsl-mc/dpio: remove couple of unused functions

2017-11-17 Thread laurentiu.tudor
From: Laurentiu Tudor These couple of functions are not yet used so lets remove them for now and add them back when/if needed. Signed-off-by: Laurentiu Tudor --- drivers/staging/fsl-mc/bus/dpio/dpio-service.c | 58 --

[PATCH 06/10] staging: fsl-mc/dpio: change to use EXPORT_SYMBOL_GPL()

2017-11-17 Thread laurentiu.tudor
From: Laurentiu Tudor No need to use EXPORT_SYMBOL() so switch to the GPL variant. Signed-off-by: Laurentiu Tudor --- drivers/staging/fsl-mc/bus/dpio/dpio-service.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-)

Re: [RFC v5 06/11] [media] vb2: add explicit fence user API

2017-11-17 Thread Mauro Carvalho Chehab
Em Fri, 17 Nov 2017 14:29:23 +0100 Hans Verkuil escreveu: > On 15/11/17 18:10, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Turn the reserved2 field into fence_fd that we will use to send > > an in-fence to the kernel and return an

Re: intel-gpio interrupts stop firing with Focaltech I2C-HID touchpad

2017-11-17 Thread Mika Westerberg
On Fri, Nov 17, 2017 at 03:35:18PM +0200, Mika Westerberg wrote: > > pin 18 (GPIO_18) GPIO 0x40900100 0x00024075 Hmm, If I decode 0x40900100 correctly PADCFG0_GPIROUTIOXAPIC (BIT 20) flag is set for the pin. This means the interrupt is routed to IO-APIC instead. Now, we do clear that flag along

Re: [Intel-gfx] [PATCH AUTOSEL for 4.9 36/56] drm/i915: Fix the level 0 max_wm hack on VLV/CHV

2017-11-17 Thread Greg KH
On Fri, Nov 17, 2017 at 01:13:27PM +, Emil Velikov wrote: > Hi Greg, all, > > Pardon for the silly question, but I'm struggling to find > documentation about this new 'autoselection' process? > Where can one read up on it - be that about the tooling or the heuristics > used? > > I think the

RE: [PATCH] arm64: dts: ls1088a: add fsl-mc hardware resource manager node

2017-11-17 Thread Ioana Ciornei
> On Thu, Nov 16, 2017 at 02:24:49PM +, Ioana Ciornei wrote: > ... > > > > + fsl_mc: fsl-mc@80c00 { > > > > > > The unit-address of the node should be somehow related to 'reg' > > > property. Can you please help me understand how they are related? > > > > The unit-address of the

Re: [REGRESSION][v4.13.y][v4.14.y] scsi: libsas: allow async aborts

2017-11-17 Thread Hannes Reinecke
On 11/16/2017 11:08 PM, Joseph Salisbury wrote: > Hi Christoph, > > A kernel bug report was opened against Ubuntu [0].  After a kernel > bisect, it was found that reverting the following commit resolved this bug: > > 909657615d9b ("scsi: libsas: allow async aborts") > >   > The regression

[PATCH] media: coda: fix comparision of decoded frames' indexes

2017-11-17 Thread Martin Kepplinger
At this point the driver looks the currently decoded frame's index and compares is to VPU-specific state values. Directly before this if and else statements the indexes are read (index for decoded and for displayed frame). Now what is saved in ctx->display_idx is an older value at this point!

Re: [PATCH] platform/x86 alienware-wmi: lightbar LED support for Dell Inspiron 5675.

2017-11-17 Thread Andy Shevchenko
On Fri, Nov 17, 2017 at 5:19 PM, wrote: > Yes looks good to me. Alienware and Inspiron gaming do share this same > interface. > > Acked-by: Mario Limonciello > Thank you, Mario. Pushed to my review and testing queue. >> -Original

[PATCH] RCU: Remove have_rcu_nocb_mask from tree_plugin.h

2017-11-17 Thread Rakib Mullick
Currently have_rcu_nocb_mask is used to avoid double allocation of rcu_nocb_mask during boot up. Due to different representation of cpumask_var_t on different kernel config CPUMASK=y(or n) it was okay. But now we have a helper cpumask_available(), which can be utilized to check whether

Re: [PATCH 2/3] reset: meson-axg: add compatible string for Meson-AXG SoC

2017-11-17 Thread Neil Armstrong
On 10/11/2017 09:46, Yixun Lan wrote: > Try to add compatible string explictly to support new Meson-AXG SoC. > > Signed-off-by: Yixun Lan > --- > drivers/reset/reset-meson.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/reset/reset-meson.c

Re: [RFC v5 07/11] [media] vb2: add in-fence support to QBUF

2017-11-17 Thread Gustavo Padovan
2017-11-17 Mauro Carvalho Chehab : > Em Wed, 15 Nov 2017 15:10:53 -0200 > Gustavo Padovan escreveu: > > > From: Gustavo Padovan > > > > Receive in-fence from userspace and add support for waiting on them > > before

Re: [PATCH] ARM64: dts: meson-axg: add ethernet mac controller

2017-11-17 Thread Neil Armstrong
On 13/11/2017 09:01, Yixun Lan wrote: > Add DT info for the stmmac ethernet MAC which found in > the Amlogic's Meson-AXG SoC, also describe the ethernet > pinctrl & clock information here. > > This is tested in the S400 dev board which use a RTL8211F PHY, > and the pins connect to the

Re: [Intel-gfx] [PATCH AUTOSEL for 4.9 36/56] drm/i915: Fix the level 0 max_wm hack on VLV/CHV

2017-11-17 Thread Emil Velikov
Hi Greg, all, Pardon for the silly question, but I'm struggling to find documentation about this new 'autoselection' process? Where can one read up on it - be that about the tooling or the heuristics used? I think the above may be the core reason behind the discussion here. Thanks Emil

Re: [PATCH v1 3/5] platform/x86: intel_telemetry: Fix local variables

2017-11-17 Thread Andy Shevchenko
On Thu, Nov 16, 2017 at 12:18 PM, Souvik Kumar Chakravarty wrote: > Remove unnecesary 'static' qualifier. unnecessary Looks like a candidate to be folded in previous one. -- With Best Regards, Andy Shevchenko

Re: [RFC v5 06/11] [media] vb2: add explicit fence user API

2017-11-17 Thread Hans Verkuil
On 15/11/17 18:10, Gustavo Padovan wrote: > From: Gustavo Padovan > > Turn the reserved2 field into fence_fd that we will use to send > an in-fence to the kernel and return an out-fence from the kernel to > userspace. > > Two new flags were added,

[PATCH 02/10] staging: fsl-mc/dpio: remove incomplete refcount implementation

2017-11-17 Thread laurentiu.tudor
From: Laurentiu Tudor There's an unfinished implementation of reference counting for dpaa2_io structure using atomics. Since it's unused lets remove it for now and, if needed at a later time, make use of krefs instead of rolling our own refcounting. Signed-off-by:

[PATCH 01/10] staging: fsl-mc: drop unused dpcon APIs

2017-11-17 Thread laurentiu.tudor
From: Laurentiu Tudor Couple of API functions are not used so lets drop them together with the associated structures and defines. Signed-off-by: Laurentiu Tudor --- drivers/staging/fsl-mc/bus/dpcon-cmd.h | 6 ---

Re: [PATCH] platform/x86 alienware-wmi: lightbar LED support for Dell Inspiron 5675.

2017-11-17 Thread Andy Shevchenko
On Thu, Nov 16, 2017 at 4:35 AM, Chang Liu wrote: > Inspiron 5675 lightbar compatible with wmi interface on alienware, > the difference lies in the zone number and color control. > Add Inspiron 5675 DMI quirks to detect by dmi_check_system. Mario, do you have any comment on

[PATCH] media: usbvision: remove unneeded DRIVER_LICENSE #define

2017-11-17 Thread Greg Kroah-Hartman
There is no need to #define the license of the driver, just put it in the MODULE_LICENSE() line directly as a text string. This allows tools that check that the module license matches the source code license to work properly, as there is no need to unwind the unneeded dereference. Cc: Hans

[PATCH] scsi: csiostor: remove unneeded DRIVER_LICENSE #define

2017-11-17 Thread Greg Kroah-Hartman
There is no need to #define the license of the driver, just put it in the MODULE_LICENSE() line directly as a text string. This allows tools that check that the module license matches the source code license to work properly, as there is no need to unwind the unneeded dereference, especially when

[GIT PULL] ACPI fix for v4.15-rc1

2017-11-17 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-fix-4.15-rc1 with top-most commit 09e15086936e01d7588020be37ea724116bcefec ACPI / utils: Fix memory leak in acpi_evaluate_reference() error path on top of commit

Re: [GIT PULL 2/3] ARM: SoC driver updates for 4.15

2017-11-17 Thread Simon Horman
On Fri, Nov 17, 2017 at 10:31:47AM +0100, Geert Uytterhoeven wrote: > Hi Arnd, Linus, > > On Fri, Nov 17, 2017 at 12:25 AM, Arnd Bergmann wrote: > > On Thu, Nov 16, 2017 at 11:29 PM, Linus Torvalds > > wrote: > >> On Thu, Nov 16, 2017 at 2:02 PM,

Re: intel-gpio interrupts stop firing with Focaltech I2C-HID touchpad

2017-11-17 Thread Mika Westerberg
On Fri, Nov 17, 2017 at 09:21:48PM +0800, Chris Chiu wrote: > On Fri, Nov 17, 2017 at 7:00 PM, Mika Westerberg > wrote: > > On Fri, Nov 17, 2017 at 06:01:27PM +0800, Chris Chiu wrote: > >> Hi Mika, > >> Here's the full dmesg log you need. The touchpad stop

Re: [PATCH 26/31] nds32: Build infrastructure

2017-11-17 Thread Greentime Hu
2017-11-16 18:25 GMT+08:00 Arnd Bergmann : > On Thu, Nov 16, 2017 at 11:03 AM, Greentime Hu wrote: >> 2017-11-13 18:45 GMT+08:00 Geert Uytterhoeven : >>> Given the checks for __NDS32_EB__, NDS32 can be either big or little endian, >>> so

Re: [PATCH AUTOSEL for 4.9 36/56] drm/i915: Fix the level 0 max_wm hack on VLV/CHV

2017-11-17 Thread Greg KH
On Fri, Nov 17, 2017 at 03:01:08PM +0200, Jani Nikula wrote: > On Fri, 17 Nov 2017, Greg KH wrote: > > On Fri, Nov 17, 2017 at 01:28:05PM +0200, Jani Nikula wrote: > >> > >> Cc: Greg > >> > >> On Wed, 15 Nov 2017, Ville Syrjälä wrote:

[RFC 1/2] perf/pmu: Allow PMU providers to override system-wide security settings

2017-11-17 Thread Tvrtko Ursulin
From: Tvrtko Ursulin To allow system administrators finer-grained control over security settings, we add an optional pmu->is_privileged(pmu, event) callback which is consulted when unprivileged system-wide uncore event collection is disabled. Signed-off-by: Tvrtko

[RFC 2/2] drm/i915/pmu: Allow fine-grained PMU access control

2017-11-17 Thread Tvrtko Ursulin
From: Tvrtko Ursulin We implement the new pmu->is_privileged callback and add our own sysctl as /proc/sys/dev/i915/pmu_stream_paranoid (defaulting to true), which enables system administrators to override the global /proc/sys/kernel/perf_event_paranoid setting for i915

Re: [PATCH v2] tpm: Move Linux RNG connection to hwrng

2017-11-17 Thread Jarkko Sakkinen
On Fri, Nov 17, 2017 at 03:28:53PM +0200, Jarkko Sakkinen wrote: > On Tue, Nov 14, 2017 at 04:34:21PM +0200, Jarkko Sakkinen wrote: > > On Tue, Nov 07, 2017 at 09:04:04AM -0700, Jason Gunthorpe wrote: > > > On Tue, Nov 07, 2017 at 08:50:44AM +0530, PrasannaKumar Muralidharan > > > wrote: > > > >

[PATCH] net: usb: hso.c: remove unneeded DRIVER_LICENSE #define

2017-11-17 Thread Greg Kroah-Hartman
There is no need to #define the license of the driver, just put it in the MODULE_LICENSE() line directly as a text string. This allows tools that check that the module license matches the source code license to work properly, as there is no need to unwind the unneeded dereference. Cc: "David S.

Re: [PATCH] media: usbvision: remove unneeded DRIVER_LICENSE #define

2017-11-17 Thread Hans Verkuil
On 17/11/17 15:18, Greg Kroah-Hartman wrote: > There is no need to #define the license of the driver, just put it in > the MODULE_LICENSE() line directly as a text string. > > This allows tools that check that the module license matches the source > code license to work properly, as there is no

Re: [PATCH] media: usbvision: remove unneeded DRIVER_LICENSE #define

2017-11-17 Thread Mauro Carvalho Chehab
Em Fri, 17 Nov 2017 15:18:26 +0100 Greg Kroah-Hartman escreveu: > There is no need to #define the license of the driver, just put it in > the MODULE_LICENSE() line directly as a text string. > > This allows tools that check that the module license matches the source

Re: [PATCH 1/2] ARM: dts: Add the support for display5 equipped with Mitsubishi (800x480) display

2017-11-17 Thread Lukasz Majewski
Hi Lucas, > Am Freitag, den 17.11.2017, 15:13 +0100 schrieb Lukasz Majewski: > > Hi Shawn, > > > > > On Fri, Nov 17, 2017 at 11:24:03AM +0100, Lukasz Majewski wrote: > > > > This is the support for aa070mc01-ca1 Mitsubishi display. > > > > > > > > Signed-off-by: Lukasz Majewski

Re: [RFC PATCH for 4.15 19/24] membarrier: selftest: Test shared expedited cmd

2017-11-17 Thread Shuah Khan
On 11/14/2017 01:04 PM, Mathieu Desnoyers wrote: > Test the new MEMBARRIER_CMD_SHARED_EXPEDITED and > MEMBARRIER_CMD_REGISTER_SHARED_EXPEDITED commands. > > Signed-off-by: Mathieu Desnoyers > CC: Shuah Khan > CC: Greg Kroah-Hartman

Re: [PATCH 1/2] ARM: dts: Add the support for display5 equipped with Mitsubishi (800x480) display

2017-11-17 Thread Lucas Stach
Am Freitag, den 17.11.2017, 16:03 +0100 schrieb Lukasz Majewski: > Hi Lucas, > > > Am Freitag, den 17.11.2017, 15:13 +0100 schrieb Lukasz Majewski: > > > Hi Shawn, > > >    > > > > On Fri, Nov 17, 2017 at 11:24:03AM +0100, Lukasz Majewski wrote:   > > > > > This is the support for aa070mc01-ca1

Re: STRICT_KERNEL_RWX on PPC32 is broken on PowerMac G4

2017-11-17 Thread LEROY Christophe
Meelis Roos a écrit : Meelis Roos a écrit : > > > For me, 4.13 worked and 4.14 hangs early during boot. Bisecting led to > > > the following commit. I had STRICT_KERNEL_RWX enabled when I met the > > > option. When I disabled STRICT_KERNEL_RWX, the same kernel

[tip:x86/urgent] x86/acpi: Reduce code duplication in mp_override_legacy_irq()

2017-11-17 Thread tip-bot for Vikas C Sajjan
Commit-ID: 4ee2ec1b122599f7b10c849fa7915cebb37b7edb Gitweb: https://git.kernel.org/tip/4ee2ec1b122599f7b10c849fa7915cebb37b7edb Author: Vikas C Sajjan AuthorDate: Thu, 16 Nov 2017 21:43:45 +0530 Committer: Thomas Gleixner CommitDate: Fri,

Re: [PATCH] drm/amd/display/dc/core/dc_resource: use swap macro in rect_swap_helper

2017-11-17 Thread Harry Wentland
On 2017-11-10 05:38 PM, Gustavo A. R. Silva wrote: > Make use of the swap macro instead of _manually_ swapping values > and remove unnecessary variable temp. > > This makes the code easier to read and maintain. > > This code was detected with the help of Coccinelle. > > Signed-off-by: Gustavo

Re: [PATCH] drm/amd/display/dc/dce110/dce110_mem_input_v: use swap macro in program_size_and_rotation

2017-11-17 Thread Harry Wentland
On 2017-11-10 05:31 PM, Gustavo A. R. Silva wrote: > Make use of the swap macro instead of _manually_ swapping values > and remove unnecessary variable swap. > > This makes the code easier to read and maintain. > > This code was detected with the help of Coccinelle. > > Signed-off-by: Gustavo

[PATCH RFC 14/25] net: Move net_defaults_ops to pernet_sys list

2017-11-17 Thread Kirill Tkhai
According to net/core/Makefile, net/core/net_namespace.o core initcalls execute right after net/core/sock.o. net_defaults_ops introduces only net_defaults_init_net method, and it acts on net::core::sysctl_somaxconn, which is not interested the rest of pernet_subsys and pernet_device lists. Then,

Re: [PATCH] kmemcheck: add scheduling point to kmemleak_scan

2017-11-17 Thread Catalin Marinas
Please fix the subject as the tool is called "kmemleak" rather than "kmemcheck". On Fri, Nov 17, 2017 at 03:03:56PM +0800, Yisheng Xie wrote: > diff --git a/mm/kmemleak.c b/mm/kmemleak.c > index e4738d5..e9f2e86 100644 > --- a/mm/kmemleak.c > +++ b/mm/kmemleak.c > @@ -1523,6 +1523,8 @@ static

[PATCH RFC 01/25] net: Assign net to net_namespace_list in setup_net()

2017-11-17 Thread Kirill Tkhai
This patch merges two repeating pieces of code in one, and they will live in setup_net() now. It acts as cleanup even despite init_net_initialized assignment is reordered with the linking of net now. This variable is need for proc_net_init() called from:

[PATCH RFC 08/25] net: Move proc_net_ns_ops to pernet_sys list

2017-11-17 Thread Kirill Tkhai
This patch starts to convert pernet_subsys, registered from before initcalls. Since proc_net_ns_ops is registered pernet_subsys, made from: start_kernel()->proc_root_init()->proc_net_init(), and there is no a pernet_subsys, which is registered earlier, we start from it.

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