[PATCH v4 11/13] mm: support section-unaligned ZONE_DEVICE memory ranges

2017-03-15 Thread Dan Williams
The initial motivation for this change is persistent memory platforms that, unfortunately, align the pmem range on a boundary less than a full section (64M vs 128M), and may change the alignment from one boot to the next. A secondary motivation is the arrival of prospective ZONE_DEVICE users that w

[PATCH v4 08/13] x86, kasan: clarify kasan's dependency on vmemmap_populate_hugepages()

2017-03-15 Thread Dan Williams
Historically kasan has not been careful about whether vmemmap_populate() internally allocates a section worth of memmap even if the parameters call for less. For example, a request to shadow map a single page results in a full section (128MB) that contains that page being mapped. Also, kasan has n

[PATCH v4 13/13] libnvdimm, pfn, dax: stop padding pmem namespaces to section alignment

2017-03-15 Thread Dan Williams
Now that the mm core supports section-unaligned hotplug of ZONE_DEVICE memory, we no longer need to add padding at pfn/dax device creation time. The kernel will still honor padding established by older kernels. Cc: Toshi Kani Signed-off-by: Dan Williams --- drivers/nvdimm/pfn_devs.c | 42

Re: [PATCH v4 0/7] Xen transport for 9pfs frontend driver

2017-03-15 Thread Juergen Gross
On 15/03/17 20:23, Stefano Stabellini wrote: > Hi all, > > This patch series implements a new transport for 9pfs, aimed at Xen > systems. > > The transport is based on a traditional Xen frontend and backend drivers > pair. This patch series implements the frontend, which typically runs in > a reg

Re: [PATCH v2 10/10] mm: remove SWAP_[SUCCESS|AGAIN|FAIL]

2017-03-15 Thread Minchan Kim
On Thu, Mar 16, 2017 at 02:44:30PM +0900, Sergey Senozhatsky wrote: > On (03/16/17 14:33), Minchan Kim wrote: > [..] > > "There is no user for it" > > > > I was liar so need to be a honest guy. > > ha-ha-ha. I didn't say that :) > > [..] > > @@ -1414,7 +1414,7 @@ static bool try_to_unmap_one(str

[PATCH net-next] r8152: simply the arguments

2017-03-15 Thread Hayes Wang
Replace &tp->napi with napi and tp->netdev with netdev. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 44 +++- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 227e1fd..e480e9

Re: [PATCH v4 4/7] xen/9pfs: connect to the backend

2017-03-15 Thread Juergen Gross
On 15/03/17 20:23, Stefano Stabellini wrote: > Implement functions to handle the xenbus handshake. Upon connection, > allocate the rings according to the protocol specification. > > Initialize a work_struct and a wait_queue. The work_struct will be used > to schedule work upon receiving an event c

Re: [PATCH -mm -v6 3/9] mm, THP, swap: Add swap cluster allocate/free functions

2017-03-15 Thread Huang, Ying
Tim Chen writes: > On Wed, 2017-03-15 at 09:19 +0800, Huang, Ying wrote: >> Tim Chen writes: >> >> > >> > On Wed, 2017-03-08 at 15:26 +0800, Huang, Ying wrote: >> > > >> > > From: Huang Ying >> > > >> > > The swap cluster allocation/free functions are added based on the >> > > existing swap

[PATCH v2 net-next] r8152: simply the arguments

2017-03-15 Thread Hayes Wang
Replace &tp->napi with napi and tp->netdev with netdev. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 43 ++- 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 227e1fd..4b85e95

[PATCH 5/6] gpio: mvebu: extra whitespace fixes

2017-03-15 Thread Ralph Sennhauser
Fix whitespace errors missed by checkpatch. Signed-off-by: Ralph Sennhauser --- drivers/gpio/gpio-mvebu.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c index 1933e63..d9aa77b 100644 --- a/drivers/gpio/gpio-

[PATCH 1/6] gpio: mvebu: checkpatch: block comment fixes

2017-03-15 Thread Ralph Sennhauser
Fix issues in block comments reported by checkpatch. Signed-off-by: Ralph Sennhauser --- drivers/gpio/gpio-mvebu.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c index a649556..a2351f3 100644 ---

[PATCH 0/6] gpio: mvebu: prepatatory cleanup for pwm-fan support

2017-03-15 Thread Ralph Sennhauser
Hi everyone I did pick up a patch series by Andrew Lunn adding PWM upport to mvebu's gpio controller. Checkpach complained quite a bit and there are extra inconsitencies which make it worth to clean drivers/gpio/gpio-mvebu.c a bit before adding the desired pwm fan support for armada 370 / xp. Thi

[PATCH 3/6] gpio: mvebu: checkpatch: unsigned int fixes

2017-03-15 Thread Ralph Sennhauser
Use unsigned int instead of plain unsigned as reported by checkpatch. Signed-off-by: Ralph Sennhauser --- drivers/gpio/gpio-mvebu.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c index 80b1d52..a9522f4 10064

[PATCH 2/6] gpio: mvebu: start multiline block comments with blank line

2017-03-15 Thread Ralph Sennhauser
While this isn't an issue according to checkpatch two styles are used. Add a blank line to the block comments missing a blank line at the start so multiline block comments look the same across the file. Signed-off-by: Ralph Sennhauser --- drivers/gpio/gpio-mvebu.c | 6 -- 1 file changed, 4 i

[PATCH 6/6] gpio: mvebu: let the compiler inline

2017-03-15 Thread Ralph Sennhauser
A modern compiler should know better when to inline, so drop the inline keywords. Signed-off-by: Ralph Sennhauser --- drivers/gpio/gpio-mvebu.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c index d9aa

[PATCH 4/6] gpio: mvebu: checkpatch: whitespace fixes

2017-03-15 Thread Ralph Sennhauser
Fix whitespace errors reported by checkpatch. Signed-off-by: Ralph Sennhauser --- drivers/gpio/gpio-mvebu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c index a9522f4..1933e63 100644 --- a/drivers/gpio/gpio-mvebu.c +++ b/drivers/gpio/g

Re: [PATCH] vc04_services: Fixing coding guideline error

2017-03-15 Thread Greg Kroah-Hartman
On Thu, Mar 16, 2017 at 11:01:38AM +0530, Pushkar Jambhlekar wrote: > Any comment? > > On Wed, Mar 15, 2017 at 12:01 PM, Pushkar Jambhlekar One day's response? Hah, give me a few weeks at best for trivial stuff like this please. Actually, I totally missed this in my last sweep of staging patche

[PATCH 3/4] ARM: mvebu: Enable SENSORS_PWM_FAN in defconfig

2017-03-15 Thread Ralph Sennhauser
From: Andrew Lunn Now that the gpio driver also supports PWM operation, enable the PWM framework and fan driver in mvebu_v7_defconfig. Signed-off-by: Andrew Lunn URL: https://patchwork.ozlabs.org/patch/427297/ [Ralph Sennhauser: add fan driver to defconfig] Signed-off-by: Ralph Sennhauser ---

[PATCH 0/4] gpio: mvebu: Add PWM fan support

2017-03-15 Thread Ralph Sennhauser
Hi everyone this patch series was originally submitted by Andrew Lunn but got stalled. I picked up the series and addressed what was disscussed for the earlier submission with some helpful input from Andrew. Hopefully this time support for the PWM fan as found on Linksys WRT1900AC (Mamba) will mak

[PATCH 4/4] mvebu: wrt1900ac: Use pwm-fan rather than gpio-fan

2017-03-15 Thread Ralph Sennhauser
From: Andrew Lunn The mvebu gpio driver can also perform PWM on some pins. Us the pwm-fan driver to control the fan of the WRT1900AC, giving us finer grained control over its speed and hence noise. Signed-off-by: Andrew Lunn URL: https://patchwork.ozlabs.org/patch/427291/ Signed-off-by: Ralph S

Re: change uprobe_events default ? Was: [PATCH] perf: Rename CONFIG_[UK]PROBE_EVENT to CONFIG_[UK]PROBE_EVENTS

2017-03-15 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Added more people to the CC list. > > Em Wed, Mar 15, 2017 at 05:58:19PM -0700, Alexei Starovoitov escreveu: > > On Thu, Feb 16, 2017 at 05:00:50PM +1100, Anton Blanchard wrote: > > > We have uses of CONFIG_UPROBE_EVENT and CONFIG_KPROBE_EVENT as > > > well a

Re: [PATCH] lockdep: avoid signed overflow

2017-03-15 Thread Ingo Molnar
* Mark Rutland wrote: > The counters in struct lockdep_stats are all (signed) ints. For some > counters (e.g. hardirqs_on_events, hardirqs_off_events), it's easy to > trigger an overflow in a short period of time, rendering the information > exposed under /proc/lockdep_stats erroneous, and causi

[PATCH 2/4] mvebu: xp: Add pwm properties to .dtsi files

2017-03-15 Thread Ralph Sennhauser
From: Andrew Lunn Add properties to the gpio nodes to allow them to be also used as pwm lines. Signed-off-by: Andrew Lunn URL: https://patchwork.ozlabs.org/patch/427294/ Signed-off-by: Ralph Sennhauser --- arch/arm/boot/dts/armada-370.dtsi| 10 -- arch/arm/boot/dts/armada-xp-m

[PATCH 1/4] gpio: mvebu: Add limited PWM support

2017-03-15 Thread Ralph Sennhauser
From: Andrew Lunn Armada 370/XP devices can 'blink' gpio lines with a configurable on and off period. This can be modelled as a PWM. However, there are only two sets of PWM configuration registers for all the gpio lines. This driver simply allows a single gpio line per gpio chip of 32 lines to b

Re: Still OOM problems with 4.9er/4.10er kernels

2017-03-15 Thread Gerhard Wiesinger
On 02.03.2017 08:17, Minchan Kim wrote: Hi Michal, On Tue, Feb 28, 2017 at 09:12:24AM +0100, Michal Hocko wrote: On Tue 28-02-17 14:17:23, Minchan Kim wrote: On Mon, Feb 27, 2017 at 10:44:49AM +0100, Michal Hocko wrote: On Mon 27-02-17 18:02:36, Minchan Kim wrote: [...] >From 9779a1c5d32e2ed

Re: [patch 4/4] staging: speakup: move those functions which do outgoing serial comms, into serialio.c

2017-03-15 Thread Okash Khawaja
On Thu, Mar 16, 2017 at 11:14:09AM +0900, Greg Kroah-Hartman wrote: > On Tue, Mar 14, 2017 at 01:41:55PM +, Okash Khawaja wrote: > > This moves spk_synth_immediate and spk_serial_synth_probe functions into > > serialio.c. These functions do outgoing serial comms. The move is a step > > towards

RE: [4.10][regression][PM] Oops pci_restore_msi_state() e1000e? (Re: [BUG] 4.11.0-rc1 panic on shutdown X61s)

2017-03-15 Thread Brown, Aaron F
> From: Shawn Starr [mailto:shawn.st...@rogers.com] > Sent: Tuesday, March 14, 2017 1:43 PM > To: linux-kernel@vger.kernel.org > Cc: Brown, Aaron F > Subject: Re: [4.10][regression][PM] Oops pci_restore_msi_state() e1000e? > (Re: [BUG] 4.11.0-rc1 panic on shutdown X61s) > > This isn't just Lenovo

Re: [PATCH v2 0/5] mm: support parallel free of memory

2017-03-15 Thread Aaron Lu
On Wed, Mar 15, 2017 at 05:28:43PM +0100, Michal Hocko wrote: > On Wed 15-03-17 23:44:07, Aaron Lu wrote: > > On Wed, Mar 15, 2017 at 03:18:14PM +0100, Michal Hocko wrote: > > > On Wed 15-03-17 16:59:59, Aaron Lu wrote: > > > [...] > > > > The proposed parallel free did this: if the process has man

<    5   6   7   8   9   10