Re: [PATCH v3 1/2] ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock

2017-01-16 Thread Eric Ren
Hi! On 01/17/2017 03:39 PM, Joseph Qi wrote: On 17/1/17 14:30, Eric Ren wrote: We are in the situation that we have to avoid recursive cluster locking, but there is no way to check if a cluster lock has been taken by a precess already. Mostly, we can avoid recursive locking by writing code ca

Re: [PATCH 7/8] Revert "ext4: avoid deadlocks in the writeback path by using sb_getblk_gfp"

2017-01-16 Thread Michal Hocko
On Mon 16-01-17 22:01:18, Theodore Ts'o wrote: > On Fri, Jan 06, 2017 at 03:11:06PM +0100, Michal Hocko wrote: > > From: Michal Hocko > > > > This reverts commit c45653c341f5c8a0ce19c8f0ad4678640849cb86 because > > sb_getblk_gfp is not really needed as > > sb_getblk > > __getblk_gfp > > __g

Re: [PATCH v3 2/2] tpm: enhance TPM 2.0 PCR extend to support multiple banks

2017-01-16 Thread Nayna
On 01/12/2017 11:50 PM, Jarkko Sakkinen wrote: On Thu, Jan 12, 2017 at 11:58:10AM -0500, Nayna Jain wrote: The current TPM 2.0 device driver extends only the SHA1 PCR bank but the TCG Specification[1] recommends extending all active PCR banks, to prevent malicious users from setting unused PCR

Re: [PATCH RESEND] coredump: Ensure proper size of sparse core files

2017-01-16 Thread Christoph Hellwig
On Mon, Jan 16, 2017 at 10:42:43PM -0500, David Miller wrote: > The lseek() done by dump_skip() should extend the file properly. lseek never extends a file. It just moves the current file position. So if you do not have a write after the lseek it does nothing.

Re: [PATCH v2 2/3] spi: pxa2xx: Prepare for edge-triggered interrupts

2017-01-16 Thread Robert Jarzmik
Jan Kiszka writes: > When using the a device with edge-triggered interrupts, such as MSIs, > the interrupt handler has to ensure that there is a point in time during > its execution where all interrupts sources are silent so that a new > event can trigger a new interrupt again. > > This is achiev

Re: [PATCH v1 00/54] block: support multipage bvec

2017-01-16 Thread Christoph Hellwig
On Tue, Jan 17, 2017 at 10:40:36AM +0800, Ming Lei wrote: > IMO, the only one left is raid(1/5/10) which can be dealt with by the > "NO_MP" flag. No, they can't in the long run. They need to handle the bvecs just like everyone else.

Re: [PATCH 1/6] mm: introduce kv[mz]alloc helpers

2017-01-16 Thread Michal Hocko
On Mon 16-01-17 13:57:43, John Hubbard wrote: > > > On 01/16/2017 01:48 PM, Michal Hocko wrote: > > On Mon 16-01-17 13:15:08, John Hubbard wrote: > > > > > > > > > On 01/16/2017 11:40 AM, Michal Hocko wrote: > > > > On Mon 16-01-17 11:09:37, John Hubbard wrote: > > > > > > > > > > > > > > > O

Re: [PATCH v3 2/4] dt-bindings: Add TI SCI PM Domains

2017-01-16 Thread Tero Kristo
On 17/01/17 00:12, Dave Gerlach wrote: On 01/13/2017 08:40 PM, Rob Herring wrote: On Fri, Jan 13, 2017 at 2:28 PM, Dave Gerlach wrote: On 01/13/2017 01:25 PM, Rob Herring wrote: On Thu, Jan 12, 2017 at 9:27 AM, Dave Gerlach wrote: Rob, On 01/11/2017 03:34 PM, Rob Herring wrote: On Mon

Re: [PATCH v3 3/3] reset: zx2967: add reset controller driver for ZTE's zx2967 family

2017-01-16 Thread Shawn Guo
On Tue, Jan 17, 2017 at 11:22:57AM +0800, Baoyou Xie wrote: > This patch adds reset controller driver for ZTE's zx2967 family. > > Signed-off-by: Baoyou Xie Reviewed-by: Shawn Guo

Re: [PATCH v4 07/15] lockdep: Implement crossrelease feature

2017-01-16 Thread Byungchul Park
On Tue, Jan 17, 2017 at 08:14:56AM +0100, Peter Zijlstra wrote: > On Tue, Jan 17, 2017 at 11:05:42AM +0900, Byungchul Park wrote: > > On Mon, Jan 16, 2017 at 04:10:01PM +0100, Peter Zijlstra wrote: > > > On Fri, Dec 09, 2016 at 02:12:03PM +0900, Byungchul Park wrote: > > > > > @@ -155,6 +164,9 @@

Re: [PATCH v3 2/2] ocfs2: fix deadlock issue when taking inode lock at vfs entry points

2017-01-16 Thread Joseph Qi
On 17/1/17 14:30, Eric Ren wrote: Commit 743b5f1434f5 ("ocfs2: take inode lock in ocfs2_iop_set/get_acl()") results in a deadlock, as the author "Tariq Saeed" realized shortly after the patch was merged. The discussion happened here (https://oss.oracle.com/pipermail/ocfs2-devel/2015-September/01

Re: [PATCH] fbdev: ssd1307fb: allow reset-gpios is missing

2017-01-16 Thread Maxime Ripard
On Mon, Jan 16, 2017 at 05:50:21PM +0800, Icenowy Zheng wrote: > > 2017年1月16日 16:02于 Maxime Ripard 写道: > > > > On Sun, Jan 15, 2017 at 07:21:46PM +0800, Icenowy Zheng wrote: > > > Currently some SSD1306 OLED modules are sold without a reset pin (only > > > VCC, GND, SCK, SDA four pins). > > >

Re: [PATCH v4 07/15] lockdep: Implement crossrelease feature

2017-01-16 Thread Byungchul Park
On Tue, Jan 17, 2017 at 02:24:08PM +0800, Boqun Feng wrote: > On Tue, Jan 17, 2017 at 11:33:41AM +0900, Byungchul Park wrote: > > On Mon, Jan 16, 2017 at 04:13:19PM +0100, Peter Zijlstra wrote: > > > On Fri, Dec 09, 2016 at 02:12:03PM +0900, Byungchul Park wrote: > > > > + /* > > > > +

Re: [PATCH] staging: lustre: headers: potential UAPI headers

2017-01-16 Thread Greg Kroah-Hartman
On Mon, Jan 16, 2017 at 09:28:30PM +, James Simmons wrote: > > > On Mon, Dec 19, 2016 at 12:06:47PM -0500, James Simmons wrote: > > > Not for landing. This is the purposed UAPI headers > > > with the removal of unlikely and debugging macros. > > > This is just for feedback to see if this is ac

Re: [PATCH v3 1/2] ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock

2017-01-16 Thread Joseph Qi
On 17/1/17 14:30, Eric Ren wrote: We are in the situation that we have to avoid recursive cluster locking, but there is no way to check if a cluster lock has been taken by a precess already. Mostly, we can avoid recursive locking by writing code carefully. However, we found that it's very hard

[PATCH v2] usb: host: xhci: plat: check hcc_params after add hcd

2017-01-16 Thread William Wu
From: William wu The commit 4ac53087d6d4 ("usb: xhci: plat: Create both HCDs before adding them") move add hcd to the end of probe, this cause hcc_params uninitiated, because xHCI driver sets hcc_params in xhci_gen_setup() called from usb_add_hcd(). This patch checks the Maximum Primary Stream A

Re: [PATCH v3 1/2] ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock

2017-01-16 Thread Junxiao Bi
On 01/17/2017 02:30 PM, Eric Ren wrote: > We are in the situation that we have to avoid recursive cluster locking, > but there is no way to check if a cluster lock has been taken by a > precess already. > > Mostly, we can avoid recursive locking by writing code carefully. > However, we found that

Re: [PATCH v3 2/2] ocfs2: fix deadlock issue when taking inode lock at vfs entry points

2017-01-16 Thread Junxiao Bi
On 01/17/2017 02:30 PM, Eric Ren wrote: > Commit 743b5f1434f5 ("ocfs2: take inode lock in ocfs2_iop_set/get_acl()") > results in a deadlock, as the author "Tariq Saeed" realized shortly > after the patch was merged. The discussion happened here > (https://oss.oracle.com/pipermail/ocfs2-devel/2015-S

Re: [PATCH] tpm: add session handles to the save and restore of the tpm2 space manager

2017-01-16 Thread Jarkko Sakkinen
On Mon, Jan 16, 2017 at 03:18:45PM -0800, James Bottomley wrote: > On Mon, 2017-01-16 at 12:04 +0200, Jarkko Sakkinen wrote: > > On Fri, Jan 13, 2017 at 11:24:13AM -0800, James Bottomley wrote: > > > Session handles are slightly more difficult to manage because any > > > TPM > > > only has a finite

Re: [PATCH 1/1] x86: sanitize argument of clearcpuid command-line option

2017-01-16 Thread Ingo Molnar
* Odzioba, Lukasz wrote: > > pr_warn("x86/cpu: Ignoring invalid "clearcpuid=%s' option!\n", arg) > > > > Which would save quite a bit of head scratching and frustration when > > someone has a > > bad enough day to add silly typos to the kernel cmdline. > > Is there any particular reason w

[PATCH v2 6+/6] platform/x86: dell-wmi-led: fix coding style issues

2017-01-16 Thread Michał Kępień
Fix coding style issues in dell-wmi-led which checkpatch complains about to make sure the module gets a clean start in the x86 platform driver subsystem. Signed-off-by: Michał Kępień --- This is an extra patch that Jacek asked for [1]. [1] https://lkml.org/lkml/2017/1/16/631 drivers/platform/x

Re: [tpmdd-devel] [PATCH RFC v3 5/5] tpm2: expose resource manager via a device link /dev/tpms

2017-01-16 Thread Jarkko Sakkinen
On Mon, Jan 16, 2017 at 09:28:17AM -0800, James Bottomley wrote: > On Mon, 2017-01-16 at 19:24 +0200, Jarkko Sakkinen wrote: > > On Mon, Jan 16, 2017 at 09:14:13AM -0700, Jason Gunthorpe wrote: > > > On Mon, Jan 16, 2017 at 03:12:11PM +0200, Jarkko Sakkinen wrote: > > > > > > > @@ -199,7 +227,9 @@

Re: [PATCH v4 07/15] lockdep: Implement crossrelease feature

2017-01-16 Thread Peter Zijlstra
On Tue, Jan 17, 2017 at 11:05:42AM +0900, Byungchul Park wrote: > On Mon, Jan 16, 2017 at 04:10:01PM +0100, Peter Zijlstra wrote: > > On Fri, Dec 09, 2016 at 02:12:03PM +0900, Byungchul Park wrote: > > > @@ -155,6 +164,9 @@ struct lockdep_map { > > > int cpu; > > >

Re: [GIT PULL 4/4] ARM: defconfig: exynos: Defconfig for v4.11

2017-01-16 Thread Olof Johansson
On Fri, Jan 13, 2017 at 05:20:30PM +0200, Krzysztof Kozlowski wrote: > > The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: > > Linux 4.10-rc1 (2016-12-25 16:13:08 -0800) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/

Re: [GIT PULL 2/4] ARM: dts: exynos: DT for v4.11

2017-01-16 Thread Olof Johansson
On Fri, Jan 13, 2017 at 05:20:28PM +0200, Krzysztof Kozlowski wrote: > Hi, > > Few improvements and Exynos4412 DTSI removal. > > This pulls external dependecy from clock tree (one clock commit). > > Best regards, > Krzysztof > > > The following changes since commit 7ce7d89f48834cefece7804d38fc

Re: [PATCH 2/3] Make static usermode helper binaries constant

2017-01-16 Thread Greg KH
On Mon, Jan 16, 2017 at 04:25:55PM -0500, J. Bruce Fields wrote: > On Mon, Jan 16, 2017 at 05:50:31PM +0100, Greg KH wrote: > > From: Greg Kroah-Hartman > > > > There are a number of usermode helper binaries that are "hard coded" in > > the kernel today, so mark them as "const" to make it harder

Re: [GIT PULL] STi DT update for v4.11 round 1

2017-01-16 Thread Olof Johansson
On Thu, Jan 12, 2017 at 05:59:43PM +0100, Patrice Chotard wrote: > Hi Arnd, Kevin, Olof > > PLease consider this first round of STi dts update for v4.11 : > > The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: > > Linux 4.10-rc1 (2016-12-25 16:13:08 -0800) > > are av

Re: [GIT PULL 1/4] ARM: exynos: Mach/soc for v4.11

2017-01-16 Thread Olof Johansson
On Fri, Jan 13, 2017 at 05:20:27PM +0200, Krzysztof Kozlowski wrote: > Hi, > > Mostly cleanups for v4.11. > > Best regards, > Krzysztof > > > The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: > > Linux 4.10-rc1 (2016-12-25 16:13:08 -0800) > > are available in the

Re: [PATCH v4 07/15] lockdep: Implement crossrelease feature

2017-01-16 Thread Peter Zijlstra
On Tue, Jan 17, 2017 at 11:05:42AM +0900, Byungchul Park wrote: > On Mon, Jan 16, 2017 at 04:10:01PM +0100, Peter Zijlstra wrote: > > On Fri, Dec 09, 2016 at 02:12:03PM +0900, Byungchul Park wrote: > > > + > > > + /* > > > + * Whenever irq happens, these are updated so that we can > > > + * dist

Re: [GIT PULL 3/4] arm64: dts: exynos: DT for v4.11

2017-01-16 Thread Olof Johansson
On Fri, Jan 13, 2017 at 05:20:29PM +0200, Krzysztof Kozlowski wrote: > Hi, > > Important: > 1. Unlike others, this is rebased on v4.10-rc2 because v4.10-rc1 was not >building on arm64. > 2. This contains pinctrl change (in header), acked by Linus Walleij. >Although I kept it on separate br

Re: [PATCH] usb: dwc3: ep0: Fix the possible missed request for handling delay STATUS phase

2017-01-16 Thread Baolin Wang
Hi, On 16 January 2017 at 20:06, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> Hi, >> >> On 16 January 2017 at 19:29, Felipe Balbi wrote: >>> >>> Hi, >>> >>> Baolin Wang writes: Hi, On 16 January 2017 at 18:56, Felipe Balbi wrote: > > Hi, > > Baolin Wan

Re: [PATCH 3/3] Reverted "mm: bail out in shrink_inactive_list()"

2017-01-16 Thread Minchan Kim
On Mon, Jan 16, 2017 at 08:33:17PM +0100, Michal Hocko wrote: > From: Michal Hocko > > This reverts 91dcade47a3d0e7c31464ef05f56c08e92a0e9c2. > inactive_reclaimable_pages shouldn't be needed anymore since that > get_scan_count is aware of the eligble zones ("mm, vmscan: consider > eligible zones

Re: [PATCH 1/3] mm, vmscan: cleanup lru size claculations

2017-01-16 Thread Minchan Kim
On Mon, Jan 16, 2017 at 08:33:15PM +0100, Michal Hocko wrote: > From: Michal Hocko > > lruvec_lru_size returns the full size of the LRU list while we sometimes > need a value reduced only to eligible zones (e.g. for lowmem requests). > inactive_list_is_low is one such user. Later patches will add

[PATCH v3 2/2] ocfs2: fix deadlock issue when taking inode lock at vfs entry points

2017-01-16 Thread Eric Ren
Commit 743b5f1434f5 ("ocfs2: take inode lock in ocfs2_iop_set/get_acl()") results in a deadlock, as the author "Tariq Saeed" realized shortly after the patch was merged. The discussion happened here (https://oss.oracle.com/pipermail/ocfs2-devel/2015-September/011085.html). The reason why taking cl

[PATCH v3 1/2] ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock

2017-01-16 Thread Eric Ren
We are in the situation that we have to avoid recursive cluster locking, but there is no way to check if a cluster lock has been taken by a precess already. Mostly, we can avoid recursive locking by writing code carefully. However, we found that it's very hard to handle the routines that are invok

[PATCH v3 0/2] fix deadlock caused by recursive cluster locking

2017-01-16 Thread Eric Ren
This is a formal patch set v2 to solve the deadlock issue on which I previously started a RFC (draft patch), and the discussion happened here: [https://oss.oracle.com/pipermail/ocfs2-devel/2016-October/012455.html] Compared to the previous draft patch, this one is much simple and neat. It neither

Re: + mm-vmscan-add-mm_vmscan_inactive_list_is_low-tracepoint.patch added to -mm tree

2017-01-16 Thread Minchan Kim
Hello, On Fri, Jan 13, 2017 at 10:10:09AM +0100, Michal Hocko wrote: > On Fri 13-01-17 17:57:34, Minchan Kim wrote: > > On Fri, Jan 13, 2017 at 08:47:07AM +0100, Michal Hocko wrote: > > > On Fri 13-01-17 10:37:24, Minchan Kim wrote: > > > > Hello, > > > > > > > > On Thu, Jan 12, 2017 at 10:10:17A

Re: [PATCH v4 1/3] dt: bindings: add documentation for zx2967 family thermal sensor

2017-01-16 Thread Eduardo Valentin
On Tue, Jan 17, 2017 at 01:38:48PM +0800, Baoyou Xie wrote: > On 17 January 2017 at 13:27, Eduardo Valentin wrote: > > It's a good idea:) In fact, we defined some thermal zones and used IPA > on products. > Cool! Any feedback on using IPA?

[PATCH] ahci: qoriq: added ls2088a platforms support

2017-01-16 Thread yuantian.tang
From: Tang Yuantian Ls2088a is new introduced arm-based soc with sata support with following features: 1. Complies with the serial ATA 3.0 specification and the AHCI 1.3.1 specification 2. Contains a high-speed descriptor-based DMA controller 3. Supports the following: a. Speeds of 1.5 Gb/s

Re: [PATCH v4 07/15] lockdep: Implement crossrelease feature

2017-01-16 Thread Boqun Feng
On Tue, Jan 17, 2017 at 11:33:41AM +0900, Byungchul Park wrote: > On Mon, Jan 16, 2017 at 04:13:19PM +0100, Peter Zijlstra wrote: > > On Fri, Dec 09, 2016 at 02:12:03PM +0900, Byungchul Park wrote: > > > + /* > > > + * We assign class_idx here redundantly even though following > > > + * memcpy wi

Re: [GIT PULL] ARM: exynos: Fixes for v4.10

2017-01-16 Thread Olof Johansson
On Fri, Jan 13, 2017 at 04:32:25PM +0200, Krzysztof Kozlowski wrote: > Hi, > > Just a couple of minor fixes for this release cycle. > > Best regards, > Krzysztof > > > The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: > > Linux 4.10-rc1 (2016-12-25 16:13:08 -0800)

[PATCH v2] thermal/intel_powerclamp: Fix sched_setscheduler fail

2017-01-16 Thread xinwu . liu
From: "Liu, Xinwu" The schedule policy of thread "kidle_inject" is SCHED_NORMAL: [ 772.796284] intel_powerclamp: Start idle injection to reduce power [ 772.825757] [ cut here ] [ 772.825877] WARNING: CPU: 0 PID: 2140 at ../../../../../../kernel/glv/kernel/sched/idle.c:

Re: [PATCH v7 3/3] arm64: dts: exynos: Add tm2 touchkey node

2017-01-16 Thread Chanwoo Choi
Hi, I tested this patch on v6[1] and replied it. But, this version is missing the my tested-by and reviewed-by tag. [1] https://patchwork.kernel.org/patch/9504139/ So, I add my reviewed-by and tested-by tag again. Reviewed-by: Chanwoo Choi Tested-by: Chanwoo Choi On 2017년 01월 17일 14:54, Jaec

Re: [PATCH v4] ARM64: dts: meson-gx: Add reserved memory zone and usable memory range

2017-01-16 Thread Olof Johansson
On Mon, Jan 16, 2017 at 2:39 AM, Neil Armstrong wrote: > On 01/15/2017 03:43 PM, Andreas Färber wrote: >> Am 13.01.2017 um 21:03 schrieb Kevin Hilman: >>> Neil Armstrong writes: >>> The Amlogic Meson GXBB/GXL/GXM secure monitor uses part of the memory space, this patch adds this r

Re: [PATCH 0/3] tty: serial: 8250_omap: Enable DMA support

2017-01-16 Thread Vignesh R
On Friday 13 January 2017 11:50 PM, Tony Lindgren wrote: > * Vignesh R [170113 00:03]: >> This patch series re enables DMA support for UART 8250_omap driver. >> >> Tested on AM335x, AM437x that use EDMA and OMAP5 and DRA74 EVM with >> SDMA. > > Is 8250_omap serial console working for you on oma

[PATCH v7 0/3] Add touch key driver support for TM2

2017-01-16 Thread Jaechul Lee
Hi, This patch is last three patch from https://lkml.org/lkml/2017/1/6/277. because 1 and 2 patches have already been merged by Krzysztof. This patchset adds support for the tm2 touchkey device. The driver has been ported from Tizen Kernel, originally written by Beomho. I ported it to the latest

[PATCH v7 2/3] input: tm2-touchkey: Add touchkey driver support for TM2

2017-01-16 Thread Jaechul Lee
This patch adds support for the TM2 touch key and led functionality. The driver interfaces with userspace through an input device and reports KEY_PHONE and KEY_BACK event types. LED brightness can be controlled by "/sys/class/leds/tm2-touchkey/brightness". Signed-off-by: Beomho Seo Signed-off-by

[PATCH v7 3/3] arm64: dts: exynos: Add tm2 touchkey node

2017-01-16 Thread Jaechul Lee
Add DT node support for TM2 touchkey device. Signed-off-by: Beomho Seo Signed-off-by: Jaechul Lee Signed-off-by: Andi Shyti Reviewed-by: Javier Martinez Canillas --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boo

[PATCH v7 1/3] input: Add support for the tm2 touchkey device driver

2017-01-16 Thread Jaechul Lee
This patch adds the binding description of the tm2 touchkey device driver. Signed-off-by: Jaechul Lee Reviewed-by: Javier Martinez Canillas Reviewed-by: Andi Shyti Reviewed-by: Chanwoo Choi Acked-by: Rob Herring Acked-by: Krzysztof Kozlowski --- .../bindings/input/cypress,tm2-touchkey.txt

Re: [PATCH] pcie: ti: Provide patch to force GEN1 PCIe operation

2017-01-16 Thread Kishon Vijay Abraham I
Hi Joao, On Monday 16 January 2017 10:31 PM, Joao Pinto wrote: > > Hi, > > Às 10:13 AM de 1/16/2017, Kishon Vijay Abraham I escreveu: >> + Joao, Jingoo >> >> Hi, >> >> On Monday 16 January 2017 03:01 PM, Lukasz Majewski wrote: >>> Hi Kishon, >>> Hi Łukasz, On Monday 16 January 201

Re: [PATCH v4 1/3] dt: bindings: add documentation for zx2967 family thermal sensor

2017-01-16 Thread Eduardo Valentin
Hey, On Fri, Jan 13, 2017 at 06:46:56PM +0800, Baoyou Xie wrote: > This patch adds dt-binding documentation for zx2967 family thermal sensor. > > Signed-off-by: Baoyou Xie > Acked-by: Rob Herring > Reviewed-by: Shawn Guo > --- > .../devicetree/bindings/thermal/zx2967-thermal.txt | 21 >

Re: [PATCH v4 3/3] thermal: zx2967: add thermal driver for ZTE's zx2967 family

2017-01-16 Thread Eduardo Valentin
Hello, On Fri, Jan 13, 2017 at 06:46:58PM +0800, Baoyou Xie wrote: > This patch adds thermal driver for ZTE's zx2967 family. Please consider the comments I sent on your v3. They still apply here. and also the following: > > Signed-off-by: Baoyou Xie > +static int zx2967_thermal_get_temp(v

Re: [PATCH v11 06/12] drm/mediatek: update display module connections

2017-01-16 Thread CK Hu
Hi, YT: On Wed, 2017-01-11 at 14:51 +0800, YT Shen wrote: > update connections for OVL, RDMA, BLS, DSI > > Signed-off-by: YT Shen Acked-by: CK Hu > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 25 + > 1 file changed, 25 insertions(+) > > diff --git a/drivers/gpu/dr

[no subject]

2017-01-16 Thread Andy Lutomirski
;; This buffer is for text that is not saved, and for Lisp evaluation. ;; To create a file, visit it with C-x C-f and enter text in its buffer. On Sun, Jan 15, 2017 at 5:19 PM, Tejun Heo wrote: > Hello, > > Sorry about the delay. Some fire fighthing followed the holidays. > > On Tue, Jan 03, 2

[RFC/PATCH 1/3] netfilter: ctnetlink: Fix regression in CTA_TIMEOUT processing

2017-01-16 Thread Kevin Cernekee
Commit b7bd1809e078 ("netfilter: nfnetlink_queue: get rid of nfnetlink_queue_ct.c") introduced a new check on the return value from the NFQA_CT parser (currently ctnetlink_glue_parse_ct()). Prior to Linux 4.4, nfqnl_ct_parse() would process the NFQA_EXP attribute even if there were errors in the NF

[RFC/PATCH 2/3] netfilter: ctnetlink: Fix regression in CTA_STATUS processing

2017-01-16 Thread Kevin Cernekee
The libnetfilter_conntrack userland library always sets IPS_CONFIRMED when building a CTA_STATUS attribute. If this toggles the bit from 0->1, Linux 4.4+ will reject it and this will cause any NFQA_EXP attribute in the packet to be ignored. This breaks conntrackd's userland helpers because they o

[RFC/PATCH 3/3] netfilter: ctnetlink: Fix regression in CTA_HELP processing

2017-01-16 Thread Kevin Cernekee
If a user program specifies CTA_HELP but the argument matches the current conntrack helper name, ignore it instead of generating an error. Signed-off-by: Kevin Cernekee --- net/netfilter/nf_conntrack_netlink.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/net/

[RFC/PATCH 0/3] Fix ctnetlink regressions

2017-01-16 Thread Kevin Cernekee
These patches address a problem I am seeing on Linux 4.4. They do not apply as-is to the master branch. But I wanted to run them past the list first to gather feedback on whether this is a reasonable approach. I am using the user conntrack helpers from conntrackd on systems running Linux 3.14, 3

[GIT PULL] Thermal SoC updates for v4.10-rc5

2017-01-16 Thread Eduardo Valentin
Rui, Please consider pulling the following fixes on rockchip driver. There are more fixes on TI SoC in the mailing list which I am still testing. So, I decided to send you only these 6 patches on rockchip, as they have been in my tree for some time. Please pull. The following changes since commi

Re: [PATCH v11 05/12] drm/mediatek: add BLS component

2017-01-16 Thread CK Hu
Hi, YT: On Wed, 2017-01-11 at 14:51 +0800, YT Shen wrote: > Add BLS component for PWM + GAMMA function > > Signed-off-by: YT Shen Acked-by: CK Hu > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 5 - > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 2 ++ > 2 files changed, 6 insertio

[PATCH] clocksource: exynos_mct: clear irq at stop local mct to fix suspend

2017-01-16 Thread Joonyoung Shim
This patch adds clear interrupt to exynos4_mct_dying_cpu(). Without clearing, after turning on non boot cpu at wakeup from suspend to ram, not cleared tick interrupt occurs and it causes following null deference for MCT_INT_SPI type mct. [ 51.251378] Unable to handle kernel NULL pointer derefere

Re: [PATCH v4 0/4] Application Data Integrity feature introduced by SPARC M7

2017-01-16 Thread David Miller
From: Dave Hansen Date: Wed, 11 Jan 2017 08:33:30 -0800 > Is there a cost in the hardware associated with doing this "ADI > checking"? For instance, instead of having this new mprotect() > interface, why not just always set TTE.mcd on all PTEs? If we did this then for every page mapped into use

Re: arm: module: Add apply_relocate_add

2017-01-16 Thread Jessica Yu
+++ Abel Vesa [06/12/16 17:06 +]: It was only added to fix compiler error. It is not implemented yet. Signed-off-by: Abel Vesa --- arch/arm/kernel/module.c | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/kernel/module.c b/arch/arm/kernel/module.c index 4f14b5c..bf94922

Re: [PATCH v4 0/4] Application Data Integrity feature introduced by SPARC M7

2017-01-16 Thread David Miller
From: Dave Hansen Date: Wed, 11 Jan 2017 10:13:54 -0800 > For memory shared by two different processes, do they have to agree on > what the tags are, or can they differ? Whoever allocates the memory (does the mmap()+mprotect() or whatever), decides on the tag. They set it, and this determines w

Re: BQ27xxx registers

2017-01-16 Thread Chris Lapa
On 17/1/17 4:43 am, Andrew F. Davis wrote: On 12/21/2016 05:37 PM, Chris Lapa wrote: On 21/12/16 11:46 pm, Pali Rohár wrote: On Wednesday 21 December 2016 03:49:10 Chris Lapa wrote: On 20/12/16 10:34 pm, Pali Rohár wrote: On Tuesday 20 December 2016 07:00:41 Chris Lapa wrote: I can generate

Re: [PATCH v4 4/4] sparc64: Add support for ADI (Application Data Integrity)

2017-01-16 Thread David Miller
From: Khalid Aziz Date: Wed, 11 Jan 2017 09:12:54 -0700 > + __asm__ __volatile__( > + ".word 0xa1438000\n\t" /* rd %mcdper, %l0 */ Just use "rd %%asr14, %0" this way you don't have to play all of these fixed register games which kill the code generated by gcc.

Re: Calling device_init_wakeup() on driver removal

2017-01-16 Thread Guenter Roeck
On 01/16/2017 01:50 PM, Rafael J. Wysocki wrote: On Sun, Jan 15, 2017 at 4:23 PM, Guenter Roeck wrote: On 01/15/2017 06:49 AM, Rafael J. Wysocki wrote: On Saturday, January 14, 2017 08:46:05 PM Guenter Roeck wrote: Hi folks, Hi, while looking through driver initialization and removal f

Re: random: /dev/random often returns short reads

2017-01-16 Thread Theodore Ts'o
On Mon, Jan 16, 2017 at 07:50:55PM +0100, Denys Vlasenko wrote: > > /dev/random can legitimately returns short reads > when there is not enough entropy for the full request. Yes, but callers of /dev/random should be able to handle short reads. So it's a bug in the application as well. You have c

linux-next: Tree for Jan 17

2017-01-16 Thread Stephen Rothwell
Hi all, Changes since 20170116: The drm tree gained a conflict against the drm-misc-fixes tree. Non-merge commits (relative to Linus' tree): 3470 4260 files changed, 135300 insertions(+), 82968 deletions(-) I

Re: [PATCH v4 3/4] sparc64: Add support for ADI register fields, ASIs and traps

2017-01-16 Thread David Miller
From: Khalid Aziz Date: Wed, 11 Jan 2017 09:12:53 -0700 > +#define SUN4V_MCD_PRECISE\ > + ldxa[%g0] ASI_SCRATCHPAD, %g2; \ > + ldx [%g2 + HV_FAULT_D_ADDR_OFFSET], %g4;\ > + ldx [%g2 + HV_FAULT_D_CTX_OFFSET], %g5; \ > + b

Re: [PATCH V2] audit: log 32-bit socketcalls

2017-01-16 Thread Richard Guy Briggs
On 2017-01-16 13:27, David Miller wrote: > From: Richard Guy Briggs > Date: Fri, 13 Jan 2017 04:51:48 -0500 > > > diff --git a/include/linux/audit.h b/include/linux/audit.h > > index 9d4443f..43d8003 100644 > > --- a/include/linux/audit.h > > +++ b/include/linux/audit.h > > @@ -387,6 +387,18 @@ s

Re: [PATCH 3/3] Reverted "mm: bail out in shrink_inactive_list()"

2017-01-16 Thread Hillf Danton
On Tuesday, January 17, 2017 3:33 AM Michal Hocko wrote: > > From: Michal Hocko > > This reverts 91dcade47a3d0e7c31464ef05f56c08e92a0e9c2. > inactive_reclaimable_pages shouldn't be needed anymore since that > get_scan_count is aware of the eligble zones ("mm, vmscan: consider > eligible zones

Re: [RFC PATCH] membarrier: handle nohz_full with expedited thread registration

2017-01-16 Thread Frederic Weisbecker
On Mon, Jan 16, 2017 at 10:56:07PM +, Mathieu Desnoyers wrote: > - On Jan 16, 2017, at 3:15 PM, Linus Torvalds > torva...@linux-foundation.org wrote: > > > Excuse my french, but this looks like incredible shit to me. > > I'm currently trying to figure out how we can get membarrier > to p

Re: [PATCH V2] audit: log 32-bit socketcalls

2017-01-16 Thread Richard Guy Briggs
On 2017-01-16 15:04, Paul Moore wrote: > On Fri, Jan 13, 2017 at 9:42 AM, Eric Paris wrote: > > On Fri, 2017-01-13 at 04:51 -0500, Richard Guy Briggs wrote: > >> diff --git a/include/linux/audit.h b/include/linux/audit.h > >> index 9d4443f..43d8003 100644 > >> --- a/include/linux/audit.h > >> +++

Re: [PATCH tip/core/rcu 11/20] sched,rcu: Make cond_resched() provide RCU quiescent state

2017-01-16 Thread Paul E. McKenney
On Mon, Jan 16, 2017 at 06:11:30PM +0100, Peter Zijlstra wrote: > On Sat, Jan 14, 2017 at 01:13:12AM -0800, Paul E. McKenney wrote: > > There is some confusion as to which of cond_resched() or > > cond_resched_rcu_qs() should be added to long in-kernel loops. > > This commit therefore eliminates th

Re: [PATCH 17/22] power: supply: add battery driver for AXP20X and AXP22X PMICs

2017-01-16 Thread Sebastian Reichel
Hi Quentin, Just a couple of small things in this patch. On Mon, Jan 02, 2017 at 05:37:17PM +0100, Quentin Schulz wrote: > [...] > + case POWER_SUPPLY_PROP_CURRENT_NOW: > + ret = regmap_read(axp20x_batt->regmap, AXP20X_PWR_INPUT_STATUS, > + ®); > +

Re: [PATCH RESEND] coredump: Ensure proper size of sparse core files

2017-01-16 Thread David Miller
From: Dave Kleikamp Date: Wed, 11 Jan 2017 13:25:00 -0600 > If the last section of a core file ends with an unmapped or zero page, > the size of the file does not correspond with the last dump_skip() call. > gdb complains that the file is truncated and can be confusing to users. > > After all of

Re: [PATCH 2/3] mm, vmscan: consider eligible zones in get_scan_count

2017-01-16 Thread Hillf Danton
On Tuesday, January 17, 2017 3:33 AM Michal Hocko wrote: > > From: Michal Hocko > > get_scan_count considers the whole node LRU size when > - doing SCAN_FILE due to many page cache inactive pages > - calculating the number of pages to scan > > in both cases this might lead to unexpected behav

Re: [PATCH 1/3] mm, vmscan: cleanup lru size claculations

2017-01-16 Thread Hillf Danton
On Tuesday, January 17, 2017 3:33 AM Michal Hocko wrote: > > From: Michal Hocko > > lruvec_lru_size returns the full size of the LRU list while we sometimes > need a value reduced only to eligible zones (e.g. for lowmem requests). > inactive_list_is_low is one such user. Later patches will add

Re: [PATCH 2/2] virtio_scsi: Implement fc_host

2017-01-16 Thread Fam Zheng
On Tue, 01/17 03:02, kbuild test robot wrote: > Hi Fam, > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.10-rc4 next-20170116] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url: &

Re: [PATCH 0/2] virtio-scsi: Implement FC_HOST feature

2017-01-16 Thread Fam Zheng
On Mon, 01/16 09:34, Christoph Hellwig wrote: > On Tue, Jan 17, 2017 at 12:04:28AM +0800, Fam Zheng wrote: > > This series implements the proposed fc_host feature of virtio-scsi. > > Yikes. Why? Hi Christoph, this is mostly to "passthrough" a host NPIV vport (leaving libvirt doing the heavy lift

Re: [PATCH v1 2/2] arm: dts: mt2701: add nor flash node

2017-01-16 Thread Thomas Petazzoni
Hello, (Side note: you guys should learn about stripping irrelevant parts of an e-mail when replying!) On Mon, 16 Jan 2017 09:40:32 +0100, Boris Brezillon wrote: > > Well this is OK I guess, but then you can also use "mediatek,mt8173-nor" > > as the oldest supported compatible and be done with i

Re: [PATCH 1/2] ARM64: dts: meson-gxm: Add R-Box Pro

2017-01-16 Thread Andreas Färber
Am 17.01.2017 um 04:06 schrieb Andreas Färber: > + leds { > + compatible = "gpio-leds"; > + > + blue { > + label = "rbox-pro:blue:on"; > + gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>; > + default-state = "on";

[PATCH v3 1/3] dt: bindings: add documentation for zx2967 family reset controller

2017-01-16 Thread Baoyou Xie
This patch adds dt-binding documentation for zx2967 family reset controller. Signed-off-by: Baoyou Xie Reviewed-by: Shawn Guo --- .../devicetree/bindings/reset/zte,zx2967-reset.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/binding

Re: [PATCH v1 2/2] arm: dts: mt2701: add nor flash node

2017-01-16 Thread Thomas Petazzoni
Hello, On Fri, 13 Jan 2017 17:56:28 +0100, Boris Brezillon wrote: > because both compatible are referring to very specific IP version. It's > not the same as > > compatible = "mediatek,mt8173-nor", "mediatek,mt81xx-nor"; mt81xx-nor is a bogus compatible string, and DT binding maintainers

[PATCH v3 3/3] reset: zx2967: add reset controller driver for ZTE's zx2967 family

2017-01-16 Thread Baoyou Xie
This patch adds reset controller driver for ZTE's zx2967 family. Signed-off-by: Baoyou Xie --- drivers/reset/Kconfig| 6 +++ drivers/reset/Makefile | 1 + drivers/reset/reset-zx2967.c | 106 +++ 3 files changed, 113 insertions(+) create

[PATCH v3 2/3] MAINTAINERS: add zx2967 reset controller driver to ARM ZTE architecture

2017-01-16 Thread Baoyou Xie
Add the zx2967 reset controller driver as maintained by ARM ZTE architecture maintainers, as they're parts of the core IP. Signed-off-by: Baoyou Xie --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e63063b..5fb9b62 100644 --- a/MAINTAINERS +++

Re: [PATCH] slab: add a check for the first kmem_cache not to be destroyed

2017-01-16 Thread kwon
> On Jan 17, 2017, at 10:33 AM, Joonsoo Kim wrote: > > On Mon, Jan 16, 2017 at 04:04:59PM +0900, Kyunghwan Kwon wrote: >> The first kmem_cache created at booting up is supposed neither mergeable >> nor destroyable but was possible to destroy. So prevent it. >> >> Signed-off-by: Kyunghwan Kwon

Re: [PATCH] lib: bitmap: introduce bitmap_find_next_zero_area_and_size

2017-01-16 Thread Jaewon Kim
On 2017년 01월 15일 16:17, Yury Norov wrote: > Hi Jaewon, > > with all comments above, some of my concerns. > > On Mon, Dec 26, 2016 at 01:18:11PM +0900, Jaewon Kim wrote: >> There was no bitmap API which returns both next zero index and size of zeros >> from that index. > Yes, there is. Most probab

Re: [PATCH 0/6] PM / Domains: Implement domain performance states

2017-01-16 Thread Viresh Kumar
On 16-01-17, 22:47, Rafael J. Wysocki wrote: > http://marc.info/?l=linux-pm&m=148410629024194&w=2 > > Pretty please! > > I will start processing things when I'm back (which probably means the > end of the next week realistically). And I was wondering why aren't you applying any of my cpufreq pat

[GIT] Networking

2017-01-16 Thread David Miller
1) Handle multicast packets properly in fast-RX path of mac80211, from Johannes Berg. 2) Because of a logic bug, the user can't actually force SW checksumming on r8152 devices. This makes diagnosis of hw checksumming bugs really annoying. Fix from Hayes Wang. 3) VXLAN route lookup doe

[PATCH 2/2] ARM64: dts: meson-gxm-rbox-pro: Enable Bluetooth

2017-01-16 Thread Andreas Färber
Add an SDIO reset GPIO and enable the serial used by the AP6255 Bluetooth module. Based on work by Martin Blumenstingl. Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm64/

[PATCH 1/2] ARM64: dts: meson-gxm: Add R-Box Pro

2017-01-16 Thread Andreas Färber
The R-Box Pro is a TV box derived from Amlogic q200 reference design. It uses an AP6255 Wifi module. It features an LED tube that lights a surrounding stripe and the top logo in blue or red or pink'ish - blue is on by default, and red (i.e., pink) is configured as panic indicator. This device is a

[PATCH 0/2] ARM64: meson-gxm: R-Box Pro enablement

2017-01-16 Thread Andreas Färber
Hello, This mini-series adds initial support for the Amlogic S912 based R-Box Pro TV boxes. Patch 1 should apply today, patch 2 depends on Martin's Bluetooth series. Wifi further depends on: https://patchwork.kernel.org/patch/9518447/ (and /etc/wifi/AP6255/nvram.txt as /lib/firmware/brcm/brcmfma

Re: [PATCH tip/core/rcu 10/20] rcu: Add functions to test for trivial grace periods

2017-01-16 Thread Paul E. McKenney
On Mon, Jan 16, 2017 at 12:01:29AM -0800, Josh Triplett wrote: > On Sat, Jan 14, 2017 at 01:13:11AM -0800, Paul E. McKenney wrote: > > Under some circumstances, RCU grace periods are zero cost. For > > RCU-preempt, this is the case during boot, and for RCU-bh and RCU-sched, > > this is the case if

Re: [PATCH 7/8] Revert "ext4: avoid deadlocks in the writeback path by using sb_getblk_gfp"

2017-01-16 Thread Theodore Ts'o
On Fri, Jan 06, 2017 at 03:11:06PM +0100, Michal Hocko wrote: > From: Michal Hocko > > This reverts commit c45653c341f5c8a0ce19c8f0ad4678640849cb86 because > sb_getblk_gfp is not really needed as > sb_getblk > __getblk_gfp > __getblk_slow > grow_buffers > grow_dev_page >

Re: [PATCH 08/22] power: supply: add AC power supply driver for AXP20X and AXP22X PMICs

2017-01-16 Thread Sebastian Reichel
Hi Quentin, The driver looks mostly fine. I do have a two comments, though. On Mon, Jan 02, 2017 at 05:37:08PM +0100, Quentin Schulz wrote: > [...] > > +static int axp20x_ac_power_probe(struct platform_device *pdev) > +{ > + static const char * const axp20x_irq_names[] = { "ACIN_PLUGIN", > +

[PATCH] dma-debug: add comment for failed to check map error

2017-01-16 Thread Miles Chen
Add comment for failed to check map error to help driver developers. Signed-off-by: Miles Chen --- lib/dma-debug.c | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/dma-debug.c b/lib/dma-debug.c index 8971370..60c57ec 100644 --- a/lib/dma-debug.c +++ b/lib/dma-debug.c @@ -1155,6 +1155

Re: [HMM v16 04/15] mm/ZONE_DEVICE/unaddressable: add support for un-addressable device memory v2

2017-01-16 Thread Dan Williams
On Mon, Jan 16, 2017 at 6:00 PM, Jerome Glisse wrote: > On Mon, Jan 16, 2017 at 04:58:24PM -0800, Dan Williams wrote: >> On Mon, Jan 16, 2017 at 12:13 PM, Jerome Glisse wrote: >> > On Mon, Jan 16, 2017 at 11:31:39AM -0800, Dan Williams wrote: >> [..] >> >> >> dev_pagemap is only meant for get_use

Re: [PATCH 8/8] Revert "ext4: fix wrong gfp type under transaction"

2017-01-16 Thread Theodore Ts'o
On Fri, Jan 06, 2017 at 03:11:07PM +0100, Michal Hocko wrote: > From: Michal Hocko > > This reverts commit 216553c4b7f3e3e2beb4981cddca9b2027523928. Now that > the transaction context uses memalloc_nofs_save and all allocations > within the this context inherit GFP_NOFS automatically, there is no

  1   2   3   4   5   6   7   8   9   >