Re: scripts/coccicheck: Update for a comment?

2016-10-07 Thread SF Markus Elfring
> Either you send the patch, or I will send the patch, when I have time, > with no credit to you. I am curious when "the time" will be appropriate. > I'm not an expert on all of the future plans for the documentation, I assumed that you know a bit more about the corresponding software evolution

Re: [PATCH 2/2] powernv: Pass PSSCR value and mask to power9_idle_stop

2016-10-07 Thread Gautham R Shenoy
Hi Balbir, Michael, On Tue, Oct 04, 2016 at 10:33:27PM +1100, Balbir Singh wrote: > > > On 04/10/16 21:32, Michael Ellerman wrote: > > "Gautham R. Shenoy" writes: > > > >> From: "Gautham R. Shenoy" > >> > >> The power9_idle_stop method currently takes only the requested stop > >> level as a

[PATCH] drm: Release resources with a safer function

2016-10-07 Thread Christophe JAILLET
We should use 'ida_simple_remove()' instead of 'ida_remove()' when freeing resources allocated with 'ida_simple_get()'. Signed-off-by: Christophe JAILLET --- drivers/gpu/drm/drm_connector.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_connector.

Re: [RFC PATCH 6/6] sparc64: Enable 64-bit DMA

2016-10-07 Thread Christoph Hellwig
On Thu, Oct 06, 2016 at 04:33:36PM -0700, Tushar Dave wrote: > ATU 64bit addressing allows PCIe devices with 64bit DMA capabilities > to use ATU for 64bit DMA. Any chance to always enable this? Last I checked sparc was the only architecture still using a 32-bit dma_addr_t, leading to some fun bre

RE: [PATCH v7 2/6] mfd: lpc_ich: Rename lpc-ich driver

2016-10-07 Thread Tan, Jui Nee
> -Original Message- > From: Lee Jones [mailto:lee.jo...@linaro.org] > Sent: Friday, September 30, 2016 8:31 AM > To: Tan, Jui Nee > Cc: mika.westerb...@linux.intel.com; heikki.kroge...@linux.intel.com; > andriy.shevche...@linux.intel.com; t...@linutronix.de; mi...@redhat.com; > h...@zyt

RE: [PATCH v7 4/6] mfd: move enum lpc_chipsets into lpc_ich.h

2016-10-07 Thread Tan, Jui Nee
> -Original Message- > From: Lee Jones [mailto:lee.jo...@linaro.org] > Sent: Friday, September 30, 2016 8:33 AM > To: Tan, Jui Nee > Cc: mika.westerb...@linux.intel.com; heikki.kroge...@linux.intel.com; > andriy.shevche...@linux.intel.com; t...@linutronix.de; mi...@redhat.com; > h...@zyt

RE: [PATCH v7 5/6] mfd: lpc_ich: Add Device IDs for Intel Apollo Lake PCH

2016-10-07 Thread Tan, Jui Nee
> -Original Message- > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > Sent: Thursday, September 29, 2016 7:09 PM > To: Tan, Jui Nee > Cc: heikki.kroge...@linux.intel.com; andriy.shevche...@linux.intel.com; > t...@linutronix.de; mi...@redhat.com; h...@zytor.com; x...@ker

Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422

2016-10-07 Thread Felipe Balbi
Hi, Michael Niewöhner writes: >> The clocks are same across working/non-working. >> Is it possible to bisect the commit that's causing hang for 4.8x ? > > > [c499ff71ff2a281366c6ec7a904c547d806cbcd1] usb: dwc3: core: re-factor init > and exit paths > This patch causes both the hang on reboot an

Re: [PATCH v4 10/12] dax: add struct iomap based DAX PMD support

2016-10-07 Thread Jan Kara
On Thu 06-10-16 20:58:33, Ross Zwisler wrote: > On Thu, Oct 06, 2016 at 03:34:24PM -0600, Ross Zwisler wrote: > > Interesting - adding iomap_end() calls to the DAX PTE fault handler causes > > an > > AA deadlock because we try and retake ei->dax_sem. We take dax_sem in > > ext2_dax_fault() before

Re: [PATCH 15/15] md-cluster: Delete unnecessary braces in unlock_all_bitmaps()

2016-10-07 Thread Dan Carpenter
On Sat, Oct 01, 2016 at 05:00:07PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 1 Oct 2016 16:15:55 +0200 > > Do not use curly brackets at one source code place > where a single statement should be sufficient. > The original style was correct and this is wrong. I have ex

Re: 4.4.10 lio (iscsi_trx) messages in dmesg

2016-10-07 Thread Christoph Hellwig
Hi Wakko, can you try this patch: http://www.spinics.net/lists/target-devel/msg13463.html ?

Re: Problem with VMAP_STACK=y

2016-10-07 Thread Jiri Kosina
On Thu, 6 Oct 2016, Mauro Carvalho Chehab wrote: > I can't see any other obvious error on the conversion. You could try to > enable debug options at DVB core/dvb-usb and/or add some printk's to the > driver and see what's happening. Mauro, also please don't forget that there are many more place

Re: [PATCH 24/54] md/raid1: Improve another size determination in setup_conf()

2016-10-07 Thread Dan Carpenter
On Thu, Oct 06, 2016 at 11:29:20AM +0200, Richard Weinberger wrote: > On Thu, Oct 6, 2016 at 11:22 AM, SF Markus Elfring > wrote: > > From: Markus Elfring > > Date: Tue, 4 Oct 2016 21:46:18 +0200 > > > > Replace the specification of a data structure by a pointer dereference > > as the parameter f

Re: taint/module: Clean up global and module taint flags handling

2016-10-07 Thread Jiri Kosina
On Fri, 23 Sep 2016, Jessica Yu wrote: > Hm, quick question, which tree would this patch go to? Though the > cleanup is for modules, there is an indirect cross-tree dependency > (taint_flag.module needs to be true for TAINT_LIVEPATCH for Josh's > patch to still work as intended). The least complic

Re: [PATCH] Added Support for STMicroelectronics 16 channels LED7708 LED Driver

2016-10-07 Thread Jacek Anaszewski
Hi Saurabh, Thanks for the patch. General remarks: - use scripts/checkpatch.pl - read Documentation/CodingStyle - read Documentation/SubmitChecklist - read Documentation/SubmittingDrivers - read Documentation/SubmittingPatches On 10/06/2016 07:46 AM, Saurabh Rawat wrote: --- .../devicetree/bi

Re: [PATCH] clk: mvebu: armada-37xx-periph: Fix the clock provider registration

2016-10-07 Thread Gregory CLEMENT
Hi Stephen and Mike On jeu., sept. 29 2016, Gregory CLEMENT wrote: > While trying using a peripheral clock on a driver, I saw that the clock > pointer returned by the provider was NULL. > > The problem was a missing indirection. It was the pointer stored in the > hws array which needed to be

[GIT PULL] AVR32 update for 4.9

2016-10-07 Thread Hans-Christian Noren Egtvedt
Hello Linus, please pull git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32.git for-linus to receive the following AVR32 update for 4.9 Paul Gortmaker (1): avr32: migrate exception table users off module.h and onto extable.h arch/avr32/kernel/traps.c | 3 ++- arch/avr32/m

Re: [PATCH] arch/x86: Fix kdump on x86 with physically hotadded CPUs

2016-10-07 Thread Thomas Gleixner
On Fri, 7 Oct 2016, Jiri Olsa wrote: > On Thu, Oct 06, 2016 at 11:25:43AM -0400, Prarit Bhargava wrote: > > I thought about doing this but it seems like every time some driver uses > > topology_logical_package_id() the driver would have to replicate the error > > checking code. > > hm, unless we g

lockdep splat due to reclaim recursion detected

2016-10-07 Thread Michal Hocko
Hi Dave, while playing with the test case you have suggested [1], I have hit the following lockdep splat. This is with mmotm git tree [2] but I didn't get to retest with the current linux-next (or any other tree of your preference) so there is a chance that something is broken in my tree so take th

Re: [RFC PATCH 6/6] sparc64: Enable 64-bit DMA

2016-10-07 Thread tndave
On 10/07/2016 12:32 AM, Christoph Hellwig wrote: On Thu, Oct 06, 2016 at 04:33:36PM -0700, Tushar Dave wrote: ATU 64bit addressing allows PCIe devices with 64bit DMA capabilities to use ATU for 64bit DMA. Any chance to always enable this? Last I checked sparc was the only architecture still

Re: [PATCH 1/8] mm/swap: Fix kernel message in swap_info_get()

2016-10-07 Thread Rik van Riel
On Tue, 2016-09-27 at 10:17 -0700, Tim Chen wrote: > From: "Huang, Ying" > > swap_info_get() is used not only in swap free code path but also in > page_swapcount(), etc.  So the original kernel message in > swap_info_get() is not correct now.  Fix it via replacing "swap_free" > to > "swap_info_ge

Re: [PATCH v5 0/3] drm/nouveau: set DMA mask before mapping scratch page

2016-10-07 Thread Alexandre Courbot
On Fri, Oct 7, 2016 at 12:49 AM, Ard Biesheuvel wrote: > This v4 is now a 3 piece series (since v4), after Alexandre pointed out that > both GF 100 and NV50 are affected by the same issue, and that a related issue > has been solved already for Tegra in commit 9d0394c6bed5 > ("drm/nouveau/instmem/g

Re: lockdep splat due to reclaim recursion detected

2016-10-07 Thread Michal Hocko
Fix up xfs ML address On Fri 07-10-16 10:07:39, Michal Hocko wrote: > Hi Dave, > while playing with the test case you have suggested [1], I have hit the > following lockdep splat. This is with mmotm git tree [2] but I didn't > get to retest with the current linux-next (or any other tree of your >

Re: [RFC PATCH] mm, compaction: allow compaction for GFP_NOFS requests

2016-10-07 Thread Vlastimil Babka
On 10/07/2016 08:50 AM, Michal Hocko wrote: On Fri 07-10-16 07:27:37, Vlastimil Babka wrote: [...] diff --git a/mm/compaction.c b/mm/compaction.c index badb92bf14b4..07254a73ee32 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -834,6 +834,13 @@ isolate_migratepages_block(struct compact_con

Re: [PATCH 24/54] md/raid1: Improve another size determination in setup_conf()

2016-10-07 Thread Richard Weinberger
On 07.10.2016 09:53, Dan Carpenter wrote: > On Thu, Oct 06, 2016 at 11:29:20AM +0200, Richard Weinberger wrote: >> On Thu, Oct 6, 2016 at 11:22 AM, SF Markus Elfring >> wrote: >>> From: Markus Elfring >>> Date: Tue, 4 Oct 2016 21:46:18 +0200 >>> >>> Replace the specification of a data structure b

Re: [PATCH] mm/slab: fix kmemcg cache creation delayed issue

2016-10-07 Thread Michal Hocko
On Fri 07-10-16 14:14:01, Joonsoo Kim wrote: > On Thu, Oct 06, 2016 at 09:02:00AM -0700, Doug Smythies wrote: > > It was my (limited) understanding that the subsequent 2 patch set > > superseded this patch. Indeed, the 2 patch set seems to solve > > both the SLAB and SLUB bug reports. > > It would

Re: [PATCH v3 1/2] phy: Add a driver for simple phy

2016-10-07 Thread Vivek Gautam
Hi Alban, On Wed, Feb 17, 2016 at 7:51 PM, Alban wrote: > On Mon, 1 Feb 2016 17:12:42 +0530 > Kishon Vijay Abraham I wrote: > >> Hi, >> >> On Friday 29 January 2016 01:22 AM, Alban Bedel wrote: >> > This driver is meant to take care of all trivial phys that don't need >> > any special configura

[PATCH v4 00/10] net-next: ethernet: add sun8i-emac driver

2016-10-07 Thread Corentin Labbe
Hello This patch series add the driver for sun8i-emac which handle the Ethernet MAC present on Allwinner H3/A83T/A64 SoCs. It supports 10/100/1000 Mbit/s speed with half/full duplex. It can use an internal PHY (MII 10/100) or an external PHY via RGMII/RMII. This patch series enable the driver on

[PATCH v4 06/10] ARM: dts: sun8i: Enable sun8i-emac on the Orange PI PC

2016-10-07 Thread Corentin Labbe
The sun8i-emac hardware is present on the Orange PI PC. It uses the internal PHY. This patch create the needed emac node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-

[PATCH v4 01/10] ethernet: add sun8i-emac driver

2016-10-07 Thread Corentin Labbe
This patch add support for sun8i-emac ethernet MAC hardware. It could be found in Allwinner H3/A83T/A64 SoCs. It supports 10/100/1000 Mbit/s speed with half/full duplex. It can use an internal PHY (MII 10/100) or an external PHY via RGMII/RMII. Signed-off-by: Corentin Labbe --- drivers/net/ethe

[PATCH v4 07/10] ARM: dts: sun8i: Enable sun8i-emac on the Orange PI One

2016-10-07 Thread Corentin Labbe
From: Hans de Goede The sun8i-emac hardware is present on the Orange PI One. It uses the internal PHY. This patch create the needed emac node. Signed-off-by: Hans de Goede Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 8 1 file changed, 8 insertions

[PATCH v4 05/10] ARM: dts: sun8i-h3: add sun8i-emac ethernet driver

2016-10-07 Thread Corentin Labbe
The sun8i-emac is an ethernet MAC hardware that support 10/100/1000 speed. This patch enable the sun8i-emac on the Allwinner H3 SoC Device-tree. The SoC H3 have an internal PHY, so optionals syscon and ephy are set. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3.dtsi | 24

[PATCH v4 03/10] ARM: sun8i: dt: Add DT bindings documentation for Allwinner sun8i-emac

2016-10-07 Thread Corentin Labbe
This patch adds documentation for Device-Tree bindings for the Allwinner sun8i-emac driver. Signed-off-by: Corentin Labbe --- .../bindings/net/allwinner,sun8i-emac.txt | 70 ++ 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/ne

[PATCH v4 10/10] ARM: sunxi: Enable sun8i-emac driver on multi_v7_defconfig

2016-10-07 Thread Corentin Labbe
Enable the sun8i-emac driver in the multi_v7 default configuration Signed-off-by: Corentin Labbe --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 5845910..f44d633 100644 --

[PATCH v4 02/10] MAINTAINERS: Add myself as maintainer of sun8i-emac

2016-10-07 Thread Corentin Labbe
This patch add myself as maintainer of the sun8i-emac driver. Signed-off-by: Corentin Labbe --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 40f4629..e197d82 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -582,6 +582,12 @@ S: Maintained F:

[PATCH v4 04/10] ARM: dts: sun8i-h3: Add dt node for the syscon control module

2016-10-07 Thread Corentin Labbe
This patch add the dt node for the syscon register present on the Allwinner H3. Only two register are present in this syscon and the only one useful is the one dedicated to EMAC clock. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3.dtsi | 5 + 1 file changed, 5 insertions(+)

Re: [patch] staging: ion: use two separate locks for heaps and clients in ion_device

2016-10-07 Thread YiPing Xu
On 2016/10/5 2:02, Laura Abbott wrote: On 09/30/2016 01:18 AM, Xu YiPing wrote: ion_alloc may get into slow path to get free page, the call stack: __alloc_pages_slowpath ion_page_pool_alloc_pages alloc_buffer_page ion_system_heap_allocate ion_buffer_create <-- hold ion_device->lock ion_alloc

Re: [PATCH] staging: lustre: lprocfs_status.h: fix sparse error: symbol redeclared with different type

2016-10-07 Thread Samuele Baisi
Il giorno ven 7 ott 2016 alle 5:55, Greg KH ha scritto: On Thu, Oct 06, 2016 at 06:52:07PM +0200, Samuele Baisi wrote: drivers/staging/lustre/lustre/obdclass/lprocfs_status.c:1554:5: error: symbol 'lprocfs_wr_root_squash' redeclared with different type (originally declared at drivers/st

[RFC 5/4] mm, page_alloc: split smallest stolen page in fallback

2016-10-07 Thread Vlastimil Babka
The __rmqueue_fallback() is called when there's no free page of requested migratetype, and we need to steal from a different one. There are various heuristics to make this event infrequent and reduce permanent fragmentation. The main one is to try stealing from a pageblock that has the most free pa

[PATCH v4 08/10] ARM: dts: sun8i: Enable sun8i-emac on the Orange Pi 2

2016-10-07 Thread Corentin Labbe
The sun8i-emac hardware is present on the Orange PI 2. It uses the internal PHY. This patch create the needed emac node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-orangepi-2.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-2.

[PATCH v4 09/10] ARM: sunxi: Enable sun8i-emac driver on sunxi_defconfig

2016-10-07 Thread Corentin Labbe
Enable the sun8i-emac driver in the sunxi default configuration Signed-off-by: Corentin Labbe --- arch/arm/configs/sunxi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 714da33..153707a 100644 --- a/arch/arm/

Re: [PATCH v4 1/2] mm, proc: Fix region lost in /proc/self/smaps

2016-10-07 Thread Michal Hocko
On Fri 07-10-16 10:17:22, Robert Hu wrote: > On Mon, 2016-10-03 at 13:52 +0200, Michal Hocko wrote: > > On Sat 01-10-16 12:42:37, Robert Ho wrote: > > > Recently, Redhat reported that nvml test suite failed on QEMU/KVM, > > > more detailed info please refer to: > > >https://bugzilla.redhat.com/

Re: md-cluster: Delete unnecessary braces in unlock_all_bitmaps()

2016-10-07 Thread SF Markus Elfring
>> Do not use curly brackets at one source code place >> where a single statement should be sufficient. > > The original style was correct and this is wrong. I have explained this > before. Did I change a bit too much in the proposed step according to the following update suggestion? elfring@S

[GIT PULL] HID for 4.9

2016-10-07 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive 4.9 merge window queue for HID subsystem. == - Integrated Sensor Hub support (Cherrytrail+) from Srinivas Pandruvada - Big cleanup of Wacom driver; namely it's now using devres, a

[GIT PULL] trivial for 4.9

2016-10-07 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial.git for-linus to get the usual rocket science from trivial tree. Thanks. Andreas Gruenbacher (1): doc: vfs: fix fadvise() sycall name Co

[GIT PULL] livepatching for 4.9

2016-10-07 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching.git for-linus to receive livepatching queue for 4.9 merge window: == - fix for patching modules that contain .altinstructions or .parainstructions sections, from Jessica Yu - make TAINT_LIVEPAT

Re: md/raid1: Improve another size determination in setup_conf()

2016-10-07 Thread SF Markus Elfring
>>> Replace the specification of a data structure by a pointer dereference >>> as the parameter for the operator "sizeof" to make the corresponding size >>> determination a bit safer. >> >> Isn't this pure matter of taste? >> Some developers prefer sizeof(*ptr) because it is easier to type, other >

Re: powerpc64: Enable CONFIG_E500 and CONFIG_PPC_E500MC for e5500/e6500

2016-10-07 Thread David Engraf
Am 27.09.2016 um 01:08 schrieb Scott Wood: On Mon, 2016-09-26 at 10:48 +0200, David Engraf wrote: Am 25.09.2016 um 08:20 schrieb Scott Wood: On Mon, Aug 22, 2016 at 04:46:43PM +0200, David Engraf wrote: The PowerPC e5500/e6500 architecture is based on the e500mc core. Enable CONFIG_E500 and

Re: [PATCH] ftrace: Support full glob matching

2016-10-07 Thread Masami Hiramatsu
On Wed, 5 Oct 2016 09:36:35 -0400 Steven Rostedt wrote: > On Wed, 5 Oct 2016 20:58:15 +0900 > Masami Hiramatsu wrote: > > > Use glob_match() to support flexible glob wildcards (*,?) > > and character classes ([) for ftrace. > > Since the full glob matching is slower than the current > > partia

Re: md/raid1: Improve another size determination in setup_conf()

2016-10-07 Thread Richard Weinberger
On 07.10.2016 10:53, SF Markus Elfring wrote: Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer. >>> >>> Isn't this pure matter of taste? >>> Some developers prefe

[PATCH v2 1/3] input: pwm-beeper: add feature to set volume via sysfs

2016-10-07 Thread Schrempf Frieder
Make the driver accept switching volume levels via sysfs. This can be helpful if the beep/bell sound intensity needs to be adapted to the environment of the device. The volume adjustment is done by changing the duty cycle of the pwm signal. This patch adds the sysfs interface with 5 default volum

Re: [PATCH 1/1] input: pwm-beeper: add feature to set volume via sysfs

2016-10-07 Thread Schrempf Frieder
Thank you Rob for looking at my first kernel contribution. I come back to it now, as I had some time to process your comments. On 11.04.2016 17:21, Rob Herring wrote: > On Thu, Apr 07, 2016 at 03:58:40PM +, Schrempf Frieder wrote: >> Make the driver accept different volume levels via sysfs. >>

[PATCH v2 0/3] input: pwm-beeper: add feature to set volume level

2016-10-07 Thread Schrempf Frieder
Make the driver accept switching volume levels via sysfs. This can be helpful if the beep/bell sound intensity needs to be adapted to the environment of the device. The number of volume levels available and their values can be specified via device tree (similar to pwm-backlight). The volume adjus

Re: [PATCH 3/4] mm: unreserve highatomic free pages fully before OOM

2016-10-07 Thread Michal Hocko
On Fri 07-10-16 14:45:35, Minchan Kim wrote: > After fixing the race of highatomic page count, I still encounter > OOM with many free memory reserved as highatomic. > > One of reason in my testing was we unreserve free pages only if > reclaim has progress. Otherwise, we cannot have chance to unres

[PATCH v2 3/3] input: pwm-beeper: add devicetree bindings to set volume levels

2016-10-07 Thread Schrempf Frieder
This patch adds the devicetree bindings to set the volume levels and the default volume level. Signed-off-by: Frieder Schrempf --- Changes in v2: - split into 3 separate patches - make volume properties optional drivers/input/misc/pwm-beeper.c | 49 ++--- 1

[PATCH v2 2/3] input: pwm-beeper: add documentation for volume devicetree bindings

2016-10-07 Thread Schrempf Frieder
This patch adds the documentation for the devicetree bindings to set the volume levels. Signed-off-by: Frieder Schrempf --- Changes in v2: - split into 3 separate patches - make volume properties optional .../devicetree/bindings/input/pwm-beeper.txt | 22 ++ 1 file c

Re: [PATCH] staging: sm750fb: Fix printk() style warning

2016-10-07 Thread Mike Rapoport
On Thu, Oct 06, 2016 at 09:27:36PM -0700, Edward Lipinsky wrote: > On Sun, Oct 02, 2016 at 08:13:01PM +0200, Greg KH wrote: > > On Sun, Oct 02, 2016 at 11:05:05AM -0700, Edward Lipinsky wrote: > > > This patch fixes the checkpatch.pl warning: > > > > > > WARNING: printk() should include KERN_ faci

Re: [RFC PATCH 2/3] PM / Domains: Add support for devices with multiple domains

2016-10-07 Thread Kevin Hilman
Jon Hunter writes: > Some devices may require more than one PM domain to operate and this is > not currently by the PM domain framework. Furthermore, the current Linux > 'device' structure only allows devices to be associated with a single PM > domain and so cannot easily be associated with more

Re: [PATCH 0/4] use up highorder free pages before OOM

2016-10-07 Thread Michal Hocko
On Fri 07-10-16 14:45:32, Minchan Kim wrote: > I got OOM report from production team with v4.4 kernel. > It has enough free memory but failed to allocate order-0 page and > finally encounter OOM kill. > I could reproduce it with my test easily. Look at below. > The reason is free pages(19M) of DMA3

Re: [PATCH] extcon: usb-gpio: Add VBUS detection support

2016-10-07 Thread Roger Quadros
Hi Chanwoo, On 27/09/16 08:48, Peter Chen wrote: > On Tue, Sep 20, 2016 at 05:53:55PM +0300, Roger Quadros wrote: >> Driver can now work with both ID and VBUS pins or either one of >> them. >> >> There can be the following 3 cases >> >> 1) Both ID and VBUS GPIOs are available: >> >> ID = LOW -> U

Re: [RFC PATCH] mm, compaction: allow compaction for GFP_NOFS requests

2016-10-07 Thread Michal Hocko
On Fri 07-10-16 10:15:07, Vlastimil Babka wrote: > On 10/07/2016 08:50 AM, Michal Hocko wrote: > > On Fri 07-10-16 07:27:37, Vlastimil Babka wrote: [...] > > > But make sure you don't break kcompactd and manual compaction from /proc, > > > as > > > they don't currently set cc->gfp_mask. Looks like

[PULL REQUEST] i2c for 4.9

2016-10-07 Thread Wolfram Sang
Linus, here is the 4.9 pull request from I2C including: * centralized error messages when registering to the core * improved lockdep annotations to prevent false positives * DT support for muxes, gates, and arbitrators * bus speeds can now be obtained from ACPI * i2c-octeon got refactored and now

[tip:x86/fpu] x86/crypto, x86/fpu: Remove X86_FEATURE_EAGER_FPU #ifdef from the crc32c code

2016-10-07 Thread tip-bot for Andy Lutomirski
Commit-ID: 02f39b2379fb81557ae864ec8f85421c0250c954 Gitweb: http://git.kernel.org/tip/02f39b2379fb81557ae864ec8f85421c0250c954 Author: Andy Lutomirski AuthorDate: Tue, 4 Oct 2016 20:34:30 -0400 Committer: Ingo Molnar CommitDate: Fri, 7 Oct 2016 11:14:06 +0200 x86/crypto, x86/fpu: Remov

[tip:x86/fpu] x86/fpu: Hard-disable lazy FPU mode

2016-10-07 Thread tip-bot for Andy Lutomirski
Commit-ID: ca6938a1cd8a1c5e861a99b67f84ac166fc2b9e7 Gitweb: http://git.kernel.org/tip/ca6938a1cd8a1c5e861a99b67f84ac166fc2b9e7 Author: Andy Lutomirski AuthorDate: Tue, 4 Oct 2016 20:34:31 -0400 Committer: Ingo Molnar CommitDate: Fri, 7 Oct 2016 11:14:17 +0200 x86/fpu: Hard-disable lazy

[tip:x86/fpu] x86/fpu: Remove the XFEATURE_MASK_EAGER/LAZY distinction

2016-10-07 Thread tip-bot for Andy Lutomirski
Commit-ID: 2f7fada23549b4657e9ea92eeddebc878db569d2 Gitweb: http://git.kernel.org/tip/2f7fada23549b4657e9ea92eeddebc878db569d2 Author: Andy Lutomirski AuthorDate: Tue, 4 Oct 2016 20:34:32 -0400 Committer: Ingo Molnar CommitDate: Fri, 7 Oct 2016 11:14:29 +0200 x86/fpu: Remove the XFEATU

[tip:x86/fpu] x86/fpu: Remove struct fpu::counter

2016-10-07 Thread tip-bot for Rik van Riel
Commit-ID: 3913cc3507575273beb165a5e027a081913ed507 Gitweb: http://git.kernel.org/tip/3913cc3507575273beb165a5e027a081913ed507 Author: Rik van Riel AuthorDate: Tue, 4 Oct 2016 20:34:34 -0400 Committer: Ingo Molnar CommitDate: Fri, 7 Oct 2016 11:14:40 +0200 x86/fpu: Remove struct fpu::c

[tip:x86/fpu] x86/fpu, kvm: Remove KVM vcpu->fpu_counter

2016-10-07 Thread tip-bot for Rik van Riel
Commit-ID: 3d42de25d290fdfe604835d1b389845b8cba5bff Gitweb: http://git.kernel.org/tip/3d42de25d290fdfe604835d1b389845b8cba5bff Author: Rik van Riel AuthorDate: Tue, 4 Oct 2016 20:34:35 -0400 Committer: Ingo Molnar CommitDate: Fri, 7 Oct 2016 11:14:41 +0200 x86/fpu, kvm: Remove KVM vcpu

[tip:x86/fpu] x86/fpu: Remove use_eager_fpu()

2016-10-07 Thread tip-bot for Andy Lutomirski
Commit-ID: c592b57347069abfc0dcad3b3a302cf882602597 Gitweb: http://git.kernel.org/tip/c592b57347069abfc0dcad3b3a302cf882602597 Author: Andy Lutomirski AuthorDate: Tue, 4 Oct 2016 20:34:33 -0400 Committer: Ingo Molnar CommitDate: Fri, 7 Oct 2016 11:14:36 +0200 x86/fpu: Remove use_eager_

[tip:x86/fpu] x86/fpu: Remove __fpregs_(de)activate()

2016-10-07 Thread tip-bot for Rik van Riel
Commit-ID: 66f314efca3843a8874405ab015e354d041f86dd Gitweb: http://git.kernel.org/tip/66f314efca3843a8874405ab015e354d041f86dd Author: Rik van Riel AuthorDate: Tue, 4 Oct 2016 20:34:37 -0400 Committer: Ingo Molnar CommitDate: Fri, 7 Oct 2016 11:14:42 +0200 x86/fpu: Remove __fpregs_(de)

[tip:x86/fpu] x86/fpu: Rename lazy restore functions to "register state valid"

2016-10-07 Thread tip-bot for Rik van Riel
Commit-ID: 25d83b531c1aa4fca5b4e24ed10f493268f162bc Gitweb: http://git.kernel.org/tip/25d83b531c1aa4fca5b4e24ed10f493268f162bc Author: Rik van Riel AuthorDate: Tue, 4 Oct 2016 20:34:36 -0400 Committer: Ingo Molnar CommitDate: Fri, 7 Oct 2016 11:14:41 +0200 x86/fpu: Rename lazy restore

[tip:x86/fpu] x86/fpu: Split old & new FPU code paths

2016-10-07 Thread tip-bot for Rik van Riel
Commit-ID: 9ad93fe35aff616fca4e2b9581fdeed498605f9e Gitweb: http://git.kernel.org/tip/9ad93fe35aff616fca4e2b9581fdeed498605f9e Author: Rik van Riel AuthorDate: Tue, 4 Oct 2016 20:34:38 -0400 Committer: Ingo Molnar CommitDate: Fri, 7 Oct 2016 11:14:43 +0200 x86/fpu: Split old & new FPU

Re: [PATCH] mm: check VMA flags to avoid invalid PROT_NONE NUMA balancing

2016-10-07 Thread Lorenzo Stoakes
On Sun, Sep 25, 2016 at 03:50:21PM -0700, Linus Torvalds wrote: > I'd really like to re-open the "drop FOLL_FORCE entirely" discussion, > because the thing really is disgusting. > > I realize that debuggers etc sometimes would want to punch through > PROT_NONE protections, and I also realize that r

[PATCH v1 6/6] intel_pmc_core: Add KBL CPUID support

2016-10-07 Thread Rajneesh Bhardwaj
This patch adds Kabylake CPU support for pmc_core driver. Signed-off-by: Rajneesh Bhardwaj --- drivers/platform/x86/intel_pmc_core.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/platform/x86/intel_pmc_core.c b/drivers/platform/x86/intel_pmc_core.c index 5b867b7..45411b1 10064

[PATCH v1 1/6] intel_pmc_core: Fix PWRMBASE mask and mmio reg len

2016-10-07 Thread Rajneesh Bhardwaj
On Sunrise Point PCH, the Power Management Controller provides 4K bytes of memory space for various power management and debug registers. This fix is needed to access power management & debug registers that are mapped at a higher offset. Also, this provides a fix for correctly masking the PWRMBASE

[PATCH v1 0/6] PMC Core driver new features

2016-10-07 Thread Rajneesh Bhardwaj
This patch series adds few new features to the Intel PMC Core driver applicable for Skylake & Kabylake SoCs with Sunrise Point LP PCH. These new features enhance the low power debug capabilities on Intel platforms. These debug features can be used for platform power optimization. Please refer to th

[PATCH v1 3/6] intel_pmc_core: ModPhy core lanes pg status

2016-10-07 Thread Rajneesh Bhardwaj
The PCH implements a number of High Speed I/O (HSIO) lanes that are split between PCIe*, USB 3.0, SATA, GbE, USB OTG and SSIC. This patch shows the current power gating status of the available ModPhy Core lanes. This is done by sending a message to the PMC (MTPMC) that contains the XRAM register of

[PATCH v1 4/6] intel_pmc_core: Add MPHY PLL clock gating status

2016-10-07 Thread Rajneesh Bhardwaj
ModPhy Common lanes can provide the clock gating status for the important system PLLs such as Gen2 USB3PCIE2 PLL, DMIPCIE3 PLL, SATA PLL and MIPI PLL. On SPT, in addition to the crystal oscillator clock, the 100Mhz Gen2 USB3PCI2 PLL clock is used as the PLL reference clock and Gen2 PLL idling is a

[PATCH v1 5/6] intel_pmc_core: Add LTR IGNORE debug feature

2016-10-07 Thread Rajneesh Bhardwaj
SPT LTR_IGN register provides a means to make the PMC ignore the LTR values reported by the individual PCH devices. echo > /sys/kernel/debug/pmc_core/ltr_ignore. When a particular IP Offset bit is set the PMC will ignore the LTR value reported by the corresponding IP when the PMC performs the la

Re: lockdep splat due to reclaim recursion detected

2016-10-07 Thread Dave Chinner
On Fri, Oct 07, 2016 at 10:13:40AM +0200, Michal Hocko wrote: > Fix up xfs ML address > > On Fri 07-10-16 10:07:39, Michal Hocko wrote: > > Hi Dave, > > while playing with the test case you have suggested [1], I have hit the > > following lockdep splat. This is with mmotm git tree [2] but I didn't

[PATCH v1 2/6] intel_pmc_core: Add PCH IP Power Gating Status

2016-10-07 Thread Rajneesh Bhardwaj
This patch adds the support for reading the power gating status of various devices present on Sunrise Point PCH. This is intended to be used for debugging purpose while tuning the platform for power optimizations and also to understand which devices (on PCH) are blocking the system to enter a low p

Re: [PATCH 0/2] fix issue: vblank interrupts are never disabled

2016-10-07 Thread Daniel Kurtz
On Thu, Sep 29, 2016 at 11:29 AM, Bibby Hsieh wrote: > > Clean the interrupt status before enable interrupt > and set the vblank_disable_allowed to fix the issue. For the series: Reviewed-by: Daniel Kurtz > > Bibby Hsieh (2): > drm/mediatek: set vblank_disable_allowed to true > drm/mediate

[PATCH] inotify: Convert to using per-namespace limits

2016-10-07 Thread Nikolay Borisov
This patchset converts inotify to using the newly introduced per-userns sysctl infrastructure. Currently the inotify instances/watches are being accounted in the user_struct structure. This means that in setups where multiple users in unprivileged containers map to the same underlying real user (i

[patch added to 3.12-stable] MIPS: Malta: Fix IOCU disable switch read for MIPS64

2016-10-07 Thread Jiri Slaby
From: Paul Burton This patch has been added to the 3.12 stable tree. If you have any objections, please let us know. === commit 305723ab439e14debc1d339aa04e835d488b8253 upstream. Malta boards used with CPU emulators feature a switch to disable use of an IOCU. Software has to check

Re: lockdep splat due to reclaim recursion detected

2016-10-07 Thread Michal Hocko
On Fri 07-10-16 21:30:39, Dave Chinner wrote: > On Fri, Oct 07, 2016 at 10:13:40AM +0200, Michal Hocko wrote: > > Fix up xfs ML address > > > > On Fri 07-10-16 10:07:39, Michal Hocko wrote: > > > Hi Dave, > > > while playing with the test case you have suggested [1], I have hit the > > > following

[PATCH] spi: change post transfer udelay() to usleep_range() for long delays

2016-10-07 Thread Daniel Kurtz
The spi_transfer parameter delay_usecs allows specifying a time to wait after transferring a spi message. This wait can be quite long - some devices, such as some Chrome OS ECs, require as much as 2000 usecs after a SPI transaction, before it can respond. (cf: arch/arm64/boot/dts/nvidia/tegra132-

Re: md/raid1: Improve another size determination in setup_conf()

2016-10-07 Thread SF Markus Elfring
> Linux has tons of issues, fixes for real problems are very welcome. Is a spectrum of software improvements to reconsider there? > But coding style bike shedding is just a waste of time. Why do various software developers bother about coding style specifications at all then? Regards, Markus

Re: [PULL REQUEST] i2c for 4.9

2016-10-07 Thread Bartosz Golaszewski
2016-10-07 11:32 GMT+02:00 Wolfram Sang : > Linus, > > here is the 4.9 pull request from I2C including: > > * centralized error messages when registering to the core > * improved lockdep annotations to prevent false positives > * DT support for muxes, gates, and arbitrators > * bus speeds can now b

Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid <-> apicid mapping

2016-10-07 Thread Thomas Gleixner
On Thu, 6 Oct 2016, Yinghai Lu wrote: > On Thu, Oct 6, 2016 at 1:06 AM, Dou Liyang wrote: > Yes, that should work. but should do the same thing for x2apic > > in acpi_parse_x2apic should have > > > + if (processor->local_apic_id == -1) { > > + ++disabled_cpus; > > +

Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid <-> apicid mapping

2016-10-07 Thread Thomas Gleixner
On Thu, 6 Oct 2016, Yinghai Lu wrote: > Yes, that should work. but should do the same thing for x2apic > > in acpi_parse_x2apic should have > > > + if (processor->local_apic_id == -1) { > > + ++disabled_cpus; > > + return -EINVAL; > > + } So that means, th

Re: [PATCH] dmaengine: DW DMAC: split pdata to hardware properties and platform quirks

2016-10-07 Thread Andy Shevchenko
On Wed, 2016-10-05 at 15:14 +, Eugeniy Paltsev wrote: > Hi Andy, > what do you think about these changes? I was off for few weeks, will look at this next week. -- Andy Shevchenko Intel Finland Oy

Re: Problem with VMAP_STACK=y

2016-10-07 Thread Mauro Carvalho Chehab
Em Fri, 7 Oct 2016 09:52:56 +0200 (CEST) Jiri Kosina escreveu: > On Thu, 6 Oct 2016, Mauro Carvalho Chehab wrote: > > > I can't see any other obvious error on the conversion. You could try to > > enable debug options at DVB core/dvb-usb and/or add some printk's to the > > driver and see what's

Re: [RFC][PATCH 4/4] futex: Rewrite FUTEX_UNLOCK_PI

2016-10-07 Thread Peter Zijlstra
New version.. This one seems to pass all the (pi) futex tests and survives many hours of my modified pi_stress (I added MADV_UNMAP to punch holes in the page-tables to trigger (minor) faults). --- Subject: futex: Rewrite FUTEX_UNLOCK_PI From: Peter Zijlstra Date: Sun Oct 2 18:42:33 CEST 2016

Re: [PATCH v5 2/5] firmware: encapsulate firmware loading status

2016-10-07 Thread Daniel Wagner
Hi Luis, On 10/05/2016 10:27 PM, Luis R. Rodriguez wrote: On Tue, Sep 13, 2016 at 11:47:08AM +0200, Daniel Wagner wrote: On 09/09/2016 02:12 PM, Daniel Wagner wrote: The firmware user helper code tracks the current state of the loading process via unsigned long status and a complection in stru

Re: md/raid1: Improve another size determination in setup_conf()

2016-10-07 Thread Austin S. Hemmelgarn
On 2016-10-07 06:50, SF Markus Elfring wrote: Linux has tons of issues, fixes for real problems are very welcome. Is a spectrum of software improvements to reconsider there? But coding style bike shedding is just a waste of time. Why do various software developers bother about coding style

Re: [kernel-hardening] RE: [PATCH] printk: introduce kptr_restrict level 3

2016-10-07 Thread Jann Horn
On Thu, Oct 06, 2016 at 04:05:53PM +0200, Jann Horn wrote: > On Thu, Oct 06, 2016 at 01:47:47PM +, Roberts, William C wrote: > > > -Original Message- > > > From: Christoph Hellwig [mailto:h...@infradead.org] > > > Sent: Thursday, October 6, 2016 9:32 AM > > > To: Roberts, William C > >

[PATCH v4] Adding missing features of Coresight PTM components

2016-10-07 Thread Muhammad Abdul WAHAB
In the current driver for Coresight components, two features of PTM components are missing: 1. Branch Broadcasting (present also in ETM but called Branch Output) 2. Return Stack (only present in PTM v1.0 and PTMv1.1) These features can be added simply to the code using `mode` field of `etm_confi

Re: docs: Fixing "sphinxify coccinelle.txt"?

2016-10-07 Thread SF Markus Elfring
>> Information from a commit like "docs: sphinxify coccinelle.txt and add it >> to dev-tools" caught also my software development attention. >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/Documentation/coccinelle.txt?id=4b9033a33494ec9154d63e706e9e47f7eb3fd59e >> >> Did a

Re: [PATCH 1/4] mm: adjust reserved highatomic count

2016-10-07 Thread Vlastimil Babka
On 10/07/2016 07:45 AM, Minchan Kim wrote: In page freeing path, migratetype is racy so that a highorderatomic page could free into non-highorderatomic free list. Yes. If page from a pageblock went to a pcplist before that pageblock was reserved as highatomic, free_pcppages_bulk() will misplac

Re: [PATCH v2 2/3] KVM: VMX: join functions that disable x2apic msr intercepts

2016-10-07 Thread Radim Krčmář
2016-09-30 10:29+0200, Paolo Bonzini: > On 29/09/2016 22:41, Radim Krčmář wrote: >> for (msr = 0x800; msr <= 0x8ff; msr++) { >> if (msr == 0x839 /* TMCCT */) >> continue; >> -vmx_disable_intercept_msr_read_x2apic(msr, true); >> +vmx_dis

Re: [PATCH v3 2/9] hwmon: (core) New hwmon registration API

2016-10-07 Thread Jean Delvare
Hi Guenter, On Tue, 4 Oct 2016 12:37:13 -0700, Guenter Roeck wrote: > On Tue, Oct 04, 2016 at 10:45:59AM +0200, Jean Delvare wrote: > > I see this patch is upstream now, but I had started reviewing it and > > maybe some of my comments are still relevant. > > > As always, I appreciate the feedback

  1   2   3   4   5   6   7   >