[Patch v5 1/2] arm: kernel: Add SMC structure parameter

2017-01-30 Thread Andy Gross
This patch adds a quirk parameter to the arm_smccc_smc call. The quirk structure allows for specialized SMC operations due to SoC specific requirements. The current arm_smccc_smc is renamed and macros are used instead to specify the standard arm_smccc_smc or the arm_smccc_smc_quirk function. Thi

[Patch v5 2/2] firmware: qcom: scm: Fix interrupted SCM calls

2017-01-30 Thread Andy Gross
This patch adds a Qualcomm specific quirk to the arm_smccc_smc call. On Qualcomm ARM64 platforms, the SMC call can return before it has completed. If this occurs, the call can be restarted, but it requires using the returned session ID value from the interrupted SMC call. The quirk stores off th

[no subject]

2017-01-30 Thread Andy Gross
Subject: [Patch v5 0/2] Support ARM SMCC SoC vendor quirks At least one SoC vendor (Qualcomm) requires additional processing done during ARM SMCCC calls. As such, an additional parameter to the arm_smccc_smc is required to be able to handle SoC specific quirks. The Qualcomm quirk is necessary du

[PATCH v5 0/2] PM / devfreq: Change the device name on sysfs entry

2017-01-30 Thread Chanwoo Choi
These patches change the name of sysfs entry for devfreq/devfreq-event device as following: - old For devfreq, /sys/class/devfreq/[non-standard device name] For devfreq-event, /sys/class/devfreq-event/event.(X) - new For devfreq, /sys/class/devfreq/devfreq(X) For devfreq-event, /sys/class/devfreq-

[PATCH v5 1/2] PM / devfreq: Simplify the sysfs name of devfreq-event device

2017-01-30 Thread Chanwoo Choi
This patch just removes '.' character from the sysfs name of devfreq-event device as following. Usually, the subsystem uses the similiar naming style such as {framework name}{Number}. - old : /sys/class/devfreq-event/event.(X) - new : /sys/class/devfreq-event/event(X) And this patch initializes th

[PATCH v5 2/2] PM / devfreq: Modify the device name as devfreq(X) for sysfs

2017-01-30 Thread Chanwoo Choi
This patch modifies the device name as devfreq(X) for sysfs by using the 'devfreq' prefix word instead of separate device name. On user-space aspect, user would find the some devfreq drvier with 'devfreq(X)' pattern. So, this patch modify the device name as following: - /sys/class/devfreq/[non-st

Re: [PATCH V3 3/4] arch/powerpc: Implement Optprobes

2017-01-30 Thread Naveen N. Rao
On 2017/01/31 07:43AM, Michael Ellerman wrote: > Anju T Sudhakar writes: > > > Detour buffer contains instructions to create an in memory pt_regs. > > After the execution of the pre-handler, a call is made for instruction > > emulation. > > The NIP is determined in advanced through dummy instruc

[RFC PATCH v2] Input: gpio_keys - add dt abs/rel button support

2017-01-30 Thread Hans Holmberg
This change adds support for specifying device tree buttons emitting abs/rel events. ABS events were previously supported, but only via platform data, so add the missing device tree property to allow axis values to be emitted with abs/rel events. Also emit 0 on button releases for REL and ABS key

Re: [PATCH 1/2 v2] mm: vmscan: do not pass reclaimed slab to vmpressure

2017-01-30 Thread vinayak menon
On Tue, Jan 31, 2017 at 5:26 AM, Minchan Kim wrote: > On Fri, Jan 27, 2017 at 01:43:36PM +0530, Vinayak Menon wrote: >> It is noticed that during a global reclaim the memory >> reclaimed via shrinking the slabs can sometimes result >> in reclaimed pages being greater than the scanned pages >> in s

Re: WARNING: CPU: 1 PID: 15 at kernel/sched/sched.h:804 assert_clock_updated.isra.62.part.63+0x25/0x27

2017-01-30 Thread Ingo Molnar
* Mike Galbraith wrote: > On Tue, 2017-01-31 at 08:28 +0100, Ingo Molnar wrote: > > * Mike Galbraith wrote: > > > > Weeell, I'll have to take your word for it, as tip g35669bb7fd46 grew > > > an early boot brick problem. > > > > That's bad - could you perhaps try to bisect it? All recently qu

Re: [PATCH] x86/microcode: Do not access the initrd after it has been freed

2017-01-30 Thread Ingo Molnar
(Cc:-ed Mike as this could explain his early boot crash/hang? Mike: please try -tip f18a8a0143b1 that I just pushed out. ) * Borislav Petkov wrote: > On Mon, Jan 30, 2017 at 09:46:32AM +0100, Ingo Molnar wrote: > > Ok, I have applied this to tip:x86/urgent. > > > > Note that there are

[PATCH v3] DM: dm-inplace-compress: inplace compressed DM target

2017-01-30 Thread Ram Pai
This patch provides a generic device-mapper compression device. Originally written by Shaohua Li. https://www.redhat.com/archives/dm-devel/2013-December/msg00143.html I have optimized and hardened the code. Testing: --- This compression block device is tested in the following

[PATCH v3 1/1] DM: inplace compressed DM target

2017-01-30 Thread Ram Pai
This is a simple DM target supporting inplace compression. Its best suited for SSD. The underlying disk must support 512B sector size. The target only supports 4k sector size. Disk layout: |super|...meta...|..data...| Store unit is 4k (a block). Super is 1 block, which stores meta and data size

Re: [PATCH v8 07/12] dt-bindings: i2c: i2c-mux-simple: document i2c-mux-simple bindings

2017-01-30 Thread Peter Rosin
On 2017-01-30 18:20, Rob Herring wrote: > On Sat, Jan 28, 2017 at 4:42 PM, Peter Rosin wrote: >> On 2017-01-27 20:39, Rob Herring wrote: >>> On Wed, Jan 18, 2017 at 04:57:10PM +0100, Peter Rosin wrote: Describe how a generic multiplexer controller is used to mux an i2c bus. Acked-by

Re: WARNING: CPU: 1 PID: 15 at kernel/sched/sched.h:804 assert_clock_updated.isra.62.part.63+0x25/0x27

2017-01-30 Thread Mike Galbraith
On Tue, 2017-01-31 at 08:28 +0100, Ingo Molnar wrote: > * Mike Galbraith wrote: > > Weeell, I'll have to take your word for it, as tip g35669bb7fd46 grew > > an early boot brick problem. > > That's bad - could you perhaps try to bisect it? All recently queued up > patches > that could cause su

Re: [PATCH 01/14] locking/atomic: import atomic_dec_not_zero()

2017-01-30 Thread Ingo Molnar
* Fabian Frederick wrote: > complementary definition to atomic_inc_not_zero() featured in > lib/fault-inject.c > > Signed-off-by: Fabian Frederick > --- > include/linux/atomic.h | 2 ++ > lib/fault-inject.c | 2 -- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/inclu

Re: [PATCH] KVM: x86: never specify a sample period for virtualized in_tx_cp counters

2017-01-30 Thread Ingo Molnar
* Robert O'Callahan wrote: > pmc_reprogram_counter() always sets a sample period based on the value of > pmc->counter. However, hsw_hw_config() rejects sample periods less than > 2^31 - 1. So for example, a KVM guest doing > perf stat -e r2005101c4 sleep 0 > will count some conditional branch

Re: [RFC V2 03/12] mm: Change generic FALLBACK zonelist creation process

2017-01-30 Thread John Hubbard
On 01/30/2017 05:57 PM, Dave Hansen wrote: On 01/30/2017 05:36 PM, Anshuman Khandual wrote: Let's say we had a CDM node with 100x more RAM than the rest of the system and it was just as fast as the rest of the RAM. Would we still want it isolated like this? Or would we want a different policy?

Re: WARNING: CPU: 1 PID: 15 at kernel/sched/sched.h:804 assert_clock_updated.isra.62.part.63+0x25/0x27

2017-01-30 Thread Ingo Molnar
* Mike Galbraith wrote: > On Mon, 2017-01-30 at 11:59 +, Matt Fleming wrote: > > On Sat, 28 Jan, at 08:21:05AM, Mike Galbraith wrote: > > > Running Steven's hotplug stress script in tip.today. Config is > > > NOPREEMPT, tune for maximum build time (enterprise default-ish). > > > > > > [

[PATCH v2] iio: accel: Add driver for the Analog Devices ADXL345 3-axis accelerometer

2017-01-30 Thread Eva Rachel Retuya
Add basic IIO support for the Analog Devices ADXL345 3-axis accelerometer. The datasheet can be found here: http://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf Signed-off-by: Eva Rachel Retuya Cc: Michael Hennerich Cc: Daniel Baluta Cc: Alison Schofield --- v1 Mailin

Re: [PATCH v2 2/2] iio: distance: add devantech us ranger srf04

2017-01-30 Thread Peter Meerwald-Stadler
> > + indio_dev->num_channels = ARRAY_SIZE(srf04_chan_spec); > > + > > + return iio_device_register(indio_dev); > > +} > > + > > +static int srf04_remove(struct platform_device *pdev) > > +{ > > + struct iio_dev *indio_dev = platform_get_drvdata(pdev); > > + > > + iio_device_unregister(ind

RE: [PATCH V2 07/12] PM / OPP: Update OPP users to put reference

2017-01-30 Thread MyungJoo Ham
> This patch updates dev_pm_opp_find_freq_*() routines to get a reference > to the OPPs returned by them. > > Also updates the users of dev_pm_opp_find_freq_*() routines to call > dev_pm_opp_put() after they are done using the OPPs. > > As it is guaranteed the that OPPs wouldn't get freed while b

Re: next-20170125 hangs on aarch64

2017-01-30 Thread Andy Gross
he > > >> attempt to dereference the ENOSYS error code as the address. > > >> next-20170124 works > > >> fine, at least it boots. > > >> > > >> Does anyone have details on that? > > > > I hit this with next-20170130 too,

linux-next: Tree for Jan 31

2017-01-30 Thread Stephen Rothwell
Hi all, Changes since 20170130: New tree: idr Dropped tree: vfs-miklos (build failure and out of date) The vfs-miklos tree gained a conflict against the overlayfs tree and a build failure, so I just dropped it for today. The v4l-dvb tree gained a build failure so I used the version from next

Re: [PATCH v6 4/5] iio: light: lm3533-als: Support initialization from Device Tree

2017-01-30 Thread Peter Meerwald-Stadler
> Implement support for initialization of the lm3533 als driver from > Device Tree. minor comment below > Signed-off-by: Bjorn Andersson > Signed-off-by: Bjorn Andersson > --- > > Note that this patch can be merged independently of the other patches in the > series. > > Changes since v5: >

Re: [PATCH] [RFC] fs: Possible filp_open race experiment

2017-01-30 Thread Greg Kroah-Hartman
On Tue, Jan 31, 2017 at 06:29:36AM +0100, Marek Vasut wrote: > +CC Greg, LKML as I don't quite know where this should go. You do know about linux-fsdevel, right? > On 01/18/2017 12:16 AM, Marek Vasut wrote: > > I believe there is a possible race condition when configfs attributes > > trigger filp

crash in perf_event_read

2017-01-30 Thread Alexei Starovoitov
Hi Peter, rarely I'm seeing the following crash: [40196.164255] BUG: unable to handle kernel paging request at a11a [40196.179636] IP: perf_event_read+0xd3/0x1a0 [40196.188669] PGD 82e93a067 [40196.188670] PUD 7e1ddf067 [40196.194629] PMD 0 [40196.200589] [40196.208284] Oops: [#1]

Re: Re: Subject: [PATCH v1] USB:Core: BugFix: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously

2017-01-30 Thread gre...@linuxfoundation.org
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I inclu

RE: [PATCH v2 1/3] PM / devfreq: Fix available_governor sysfs

2017-01-30 Thread MyungJoo Ham
> The devfreq using passive governor is not able to change the governor. > So, the user can not change the governor through 'available_governor' sysfs > entry. Also, the devfreq which don't use the passive governor is not able to > change to 'passive' governor on the fly. > > Fixes: 996133119f57 (

Re: linux-next: manual merge of the vfs-miklos tree with the overlayfs tree and build failure

2017-01-30 Thread Amir Goldstein
On Tue, Jan 31, 2017 at 2:16 AM, Stephen Rothwell wrote: > Hi Miklos, > > Today's linux-next merge of the vfs-miklos tree got a conflict in: > > fs/read_write.c > > between commit: > > 97e147358bea ("vfs: wrap write f_ops with file_{start,end}_write()") > > from the overlayfs tree and various

Re: [GIT PULL rcu/next] RCU commits for 4.11

2017-01-30 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello, Ingo, > > This pull request contains the following changes: > > 1.Documentation updates. > > http://lkml.kernel.org/r/20170114085032.ga18...@linux.vnet.ibm.com > > 2.Dyntick updates, consolidating open-coded counter accesses > into a wel

Re: fs, net: deadlock between bind/splice on af_unix

2017-01-30 Thread Cong Wang
On Thu, Jan 26, 2017 at 10:41 PM, Mateusz Guzik wrote: > On Thu, Jan 26, 2017 at 09:11:07PM -0800, Cong Wang wrote: >> On Thu, Jan 26, 2017 at 3:29 PM, Mateusz Guzik wrote: >> > Currently the file creation is potponed until unix_bind can no longer >> > fail otherwise. With it reordered, it may be

[PATCH v2 2/3] PM / devfreq: Fix wrong trans_stat of passive devfreq device

2017-01-30 Thread Chanwoo Choi
Until now, the trans_stat information of passive devfreq is not updated. This patch updates the trans_stat information after setting the target frequency of passive devfreq device. Fixes: 996133119f57 ("PM / devfreq: Add new passive governor") Cc: sta...@vger.kernel.org Signed-off-by: Chanwoo Choi

[PATCH v2 3/3] PM / devfreq: Remove unnecessary separate _remove_devfreq()

2017-01-30 Thread Chanwoo Choi
The _remove_devfreq() releases the all resources of the devfreq device. This function is only called in the devfreq_dev_release(). For that reason, the devfreq core doesn't need to leave the _remove_devfreq() separately. This patch releases the all resources in the devfreq_dev_release() and then re

[PATCH v2 1/3] PM / devfreq: Fix available_governor sysfs

2017-01-30 Thread Chanwoo Choi
The devfreq using passive governor is not able to change the governor. So, the user can not change the governor through 'available_governor' sysfs entry. Also, the devfreq which don't use the passive governor is not able to change to 'passive' governor on the fly. Fixes: 996133119f57 ("PM / devfre

[PATCH v2 0/3] PM / devfreq: Fix issues about passive governor

2017-01-30 Thread Chanwoo Choi
This patchset fix the two issues about passive governor and remove the unneeded separate _remove_devfreq() function. First, the parent devfreq device can use the governors except for the passive governor on the fly through sysfs entry and the passive devfreq device is only possible to use the pass

Re: [PATCH 2/6] wl1251: Use request_firmware_prefer_user() for loading NVS calibration data

2017-01-30 Thread Kalle Valo
Tony Lindgren writes: > * Pavel Machek [170127 11:41]: >> On Fri 2017-01-27 17:23:07, Kalle Valo wrote: >> > Pali Rohár writes: >> > >> > > On Friday 27 January 2017 14:26:22 Kalle Valo wrote: >> > >> Pali Rohár writes: >> > >> >> > >> > 2) It was already tested that example NVS data can be

RE: Re: [PATCH v4 1/4] PM / devfreq: Fix the wrong description for userspace governor

2017-01-30 Thread MyungJoo Ham
> On Tue, Jan 24, 2017 at 4:42 AM, MyungJoo Ham > wrote: > >> This patch fixes the wrong description of governor_userspace.c > >> and removes the unneeded blank line. > >> > >> Signed-off-by: Chanwoo Choi > >> --- > > > > Applied in for-next > > > Quite frankly I'm not entirely sure what's goi

[PATCH 2/2] ASoC: qcom: Drop __func__ usage from log prints

2017-01-30 Thread Bjorn Andersson
The combination of dev_err() and __func__ make most of these log prints over 100 chars long. Remove the usage of __func__ to clean the kernel log and as the usage is not necessary to identify the individual log prints. Cc: Banajit Goswami Cc: Patrick Lai Cc: Srinivas Kandagatla Signed-off-by: B

Re: [Patch v4 2/2] firmware: qcom: scm: Fix interrupted SCM calls

2017-01-30 Thread Olof Johansson
On Mon, Jan 30, 2017 at 2:55 AM, Will Deacon wrote: > Hi Olof, > > On Sun, Jan 29, 2017 at 04:24:51PM -0800, Olof Johansson wrote: >> On Thu, Jan 19, 2017 at 8:58 AM, Andy Gross wrote: >> > This patch adds a Qualcomm specific quirk to the arm_smccc_smc call. >> > >> > On Qualcomm ARM64 platforms,

Re: net: suspicious RCU usage in nf_hook

2017-01-30 Thread Cong Wang
On Fri, Jan 27, 2017 at 5:31 PM, Eric Dumazet wrote: > On Fri, 2017-01-27 at 17:00 -0800, Cong Wang wrote: >> On Fri, Jan 27, 2017 at 3:35 PM, Eric Dumazet wrote: >> > Oh well, I forgot to submit the official patch I think, Jan 9th. >> > >> > https://groups.google.com/forum/#!topic/syzkaller/BhyN

Re: WARNING: CPU: 1 PID: 15 at kernel/sched/sched.h:804 assert_clock_updated.isra.62.part.63+0x25/0x27

2017-01-30 Thread Mike Galbraith
On Mon, 2017-01-30 at 11:59 +, Matt Fleming wrote: > On Sat, 28 Jan, at 08:21:05AM, Mike Galbraith wrote: > > Running Steven's hotplug stress script in tip.today. Config is > > NOPREEMPT, tune for maximum build time (enterprise default-ish). > > > > [ 75.268049] x86: Booting SMP configurati

Re: [PATCH] remoteproc: Move rproc_delete_debug_dir() to rproc_del()

2017-01-30 Thread Bjorn Andersson
On Mon 30 Jan 14:01 PST 2017, Bjorn Andersson wrote: > On Mon 23 Jan 17:48 PST 2017, Sarangdhar Joshi wrote: > > > The "remoteproc{0,1...}" sysfs entries are added in > > rproc_add() and deleted in rproc_type_release() instead of > > in rproc_del(). That leaves these lingering entries sticking >

Re: [Intel-wired-lan] [PATCH] net: intel: e1000e: use new api ethtool_{get|set}_link_ksettings

2017-01-30 Thread Neftin, Sasha
On 1/26/2017 23:19, Philippe Reynes wrote: The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/inte

Re: [RFC V2 00/12] Define coherent device memory node

2017-01-30 Thread Jerome Glisse
On Tue, Jan 31, 2017 at 11:18:49AM +0530, Anshuman Khandual wrote: > Hello Dave/Jerome/Mel, > > Here is the overall layout of the functions I am trying to put together > through this patch series. > > (1) Define CDM from core VM and kernel perspective > > (2) Isolation/Special consideration for

Re: [PATCH v2 14/25] ARM: dts: sun8i: sina33: enable ACIN power supply subnode

2017-01-30 Thread Chen-Yu Tsai
On Fri, Jan 27, 2017 at 4:54 PM, Quentin Schulz wrote: > The Sinlinx SinA33 has an AXP223 PMIC and an ACIN connector, thus, we > enable the ACIN power supply in its Device Tree. > > Signed-off-by: Quentin Schulz Acked-by: Chen-Yu Tsai

Re: [RFC V2 08/12] mm: Add new VMA flag VM_CDM

2017-01-30 Thread Jerome Glisse
On Tue, Jan 31, 2017 at 09:52:20AM +0530, Anshuman Khandual wrote: > On 01/31/2017 12:22 AM, Jerome Glisse wrote: > > On Mon, Jan 30, 2017 at 09:05:49AM +0530, Anshuman Khandual wrote: > >> VMA which contains CDM memory pages should be marked with new VM_CDM flag. > >> These VMAs need to be identif

Re: [PATCH v3 2/4] remoteproc: qcom: Add additional agree2_clk and px regulator resource.

2017-01-30 Thread Dwivedi, Avaneesh Kumar (avani)
On 1/31/2017 3:16 AM, Bjorn Andersson wrote: On Mon 30 Jan 07:03 PST 2017, Avaneesh Kumar Dwivedi wrote: This patch add additional clock and regulator resource which are initialized based on compatible and has no impact on existing driver working. This resourse addition enable the existing dr

Re: [PATCH v3 2/4] remoteproc: qcom: Add additional agree2_clk and px regulator resource.

2017-01-30 Thread Bjorn Andersson
On Mon 30 Jan 21:58 PST 2017, Dwivedi, Avaneesh Kumar (avani) wrote: > > > On 1/31/2017 3:16 AM, Bjorn Andersson wrote: > > On Mon 30 Jan 07:03 PST 2017, Avaneesh Kumar Dwivedi wrote: > > > > > This patch add additional clock and regulator resource which are > > > initialized based on compatibl

Re: [PATCH] remoteproc: Move rproc_delete_debug_dir() to rproc_del()

2017-01-30 Thread Bjorn Andersson
On Mon 23 Jan 17:48 PST 2017, Sarangdhar Joshi wrote: > The "remoteproc{0,1...}" sysfs entries are added in > rproc_add() and deleted in rproc_type_release() instead of > in rproc_del(). That leaves these lingering entries sticking > around after we return from rproc_del(). Move the > rproc_delete

[PATCH 4.9 14/66] mm, page_alloc: fix check for NULL preferred_zone

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vlastimil Babka commit ea57485af8f4221312a5a95d63c382b45e7840dc upstream. Patch series "fix premature OOM regression in 4.7+ due to cpuset races". This is v2 of my attempt to fix the recent re

[PATCH 4.9 13/66] mm/mempolicy.c: do not put mempolicy before using its nodemask

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vlastimil Babka commit d51e9894d27492783fc6d1b489070b4ba66ce969 upstream. Since commit be97a41b291e ("mm/mempolicy.c: merge alloc_hugepage_vma to alloc_pages_vma") alloc_pages_vma() can potenti

[PATCH 4.9 15/66] mm, page_alloc: fix fast-path race with cpuset update or removal

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vlastimil Babka commit 16096c25bf0ca5d87e4fa6ec6108ba53feead212 upstream. Ganapatrao Kulkarni reported that the LTP test cpuset01 in stress mode triggers OOM killer in few seconds, despite lots

[PATCH 4.9 10/66] Revert "drm/radeon: always apply pci shutdown callbacks"

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit b9b487e494712c8e5905b724e12f5ef17e9ae6f9 upstream. This seems to break reboot on some evergreen systems. bugs: https://bugs.freedesktop.org/show_bug.cgi?id=99524 https://bu

[PATCH 4.9 11/66] drm/atomic: clear out fence when duplicating state

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Lucas Stach [Fixed differently in 4.10] The fence needs to be cleared out, otherwise the following commit might wait on a stale fence from the previous commit. This was fixed as a side effect o

[PATCH 4.9 12/66] mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Keno Fischer commit 8310d48b125d19fcd9521d83b8293e63eb1646aa upstream. In commit 19be0eaffa3a ("mm: remove gup_flags FOLL_WRITE games from __get_user_pages()"), the mm code was changed from uns

[PATCH 4.9 16/66] mm, page_alloc: move cpuset seqcount checking to slowpath

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vlastimil Babka commit 5ce9bfef1d27944c119a397a9d827bef795487ce upstream. This is a preparation for the following patch to make review simpler. While the primary motivation is a bug fix, this a

[PATCH 4.9 17/66] mm, page_alloc: fix premature OOM when racing with cpuset mems update

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vlastimil Babka commit e47483bca2cc59a4593b37a270b16ee42b1d9f08 upstream. Ganapatrao Kulkarni reported that the LTP test cpuset01 in stress mode triggers OOM killer in few seconds, despite lots

[PATCH 4.9 01/66] fbdev: color map copying bounds checking

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 2dc705a9930b4806250fbf5a76e55266e59389f2 upstream. Copying color maps to userspace doesn't check the value of to->start, which will cause kernel heap buffer OOB read due to sig

[PATCH 4.9 56/66] [media] s5k4ecgx: select CRC32 helper

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit c739c0a7c3c2472d7562b8f802cdce44d2597c8b upstream. A rare randconfig build failure shows up in this driver when the CRC32 helper is not there: drivers/media/built-in.o: In

[PATCH 4.9 65/66] perf/core: Fix concurrent sys_perf_event_open() vs. move_group race

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 321027c1fe77f892f4ea07846aeae08cefbbb290 upstream. Di Shen reported a race between two concurrent sys_perf_event_open() calls where both try and move the same pre-existing

[PATCH 4.9 30/66] IB/iser: Fix sg_tablesize calculation

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Max Gurtovoy commit 1e5db6c31ade4150c2e2b1a21e39f776c38fea39 upstream. For devices that can register page list that is bigger than USHRT_MAX, we actually take the wrong value for sg_tablesize.

[PATCH 4.4 18/23] IB/ipoib: move back IB LL address into the hard header

2017-01-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni commit fc791b6335152c5278dc4a4991bcb2d329f806f9 upstream. After the commit 9207f9d45b0a ("net: preserve IP control block during GSO segmentation"), the GSO CB and the IPoIB CB confl

[PATCH 4.9 64/66] mm, memcg: do not retry precharge charges

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: David Rientjes commit 3674534b775354516e5c148ea48f51d4d1909a78 upstream. When memory.move_charge_at_immigrate is enabled and precharges are depleted during move, mem_cgroup_move_charge_pte_rang

RE: Re: Subject: [PATCH v1] USB:Core: BugFix: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously

2017-01-30 Thread Ajay Kaher
  At boot time, probe function of multiple connected devices (proprietary devices) execute simultaneously. And because of the following code path race condition happens: probe->usb_register_dev->init_usb_class Tested with these changes, and problem has been solved. thanks, ajay kaher -

[PATCH 4.4 20/23] [media] s5k4ecgx: select CRC32 helper

2017-01-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit c739c0a7c3c2472d7562b8f802cdce44d2597c8b upstream. A rare randconfig build failure shows up in this driver when the CRC32 helper is not there: drivers/media/built-in.o: In

[PATCH 4.9 46/66] [media] v4l: tvp5150: Dont override output pinmuxing at stream on/off time

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Laurent Pinchart commit 79d6205a3f741c9fb89cfc47dfa0eddb1526726d upstream. The s_stream() handler incorrectly writes the whole MISC_CTL register to enable or disable the outputs, overriding the

Re: [PATCH] irqchip/gic-v3: Remove duplicate definition of GICD_TYPER_LPIS

2017-01-30 Thread Alim Akhtar
Hi Marc, Any comment on this patch? Regards, Alim On 01/04/2017 01:54 PM, Alim Akhtar wrote: GICD_TYPER_LPIS macro is defined twice in this file. This patch removes the duplicate entry. Fixes: f5c1434c217f ("irqchip: GICv3: rework redistributor structure") Signed-off-by: Alim Akhtar --- incl

[PATCH 4.9 60/66] memory_hotplug: make zone_can_shift() return a boolean value

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Yasuaki Ishimatsu commit 8a1f780e7f28c7c1d640118242cf68d528c456cd upstream. online_{kernel|movable} is used to change the memory zone to ZONE_{NORMAL|MOVABLE} and online the memory. To check t

[PATCH 4.4 02/23] tile/ptrace: Preserve previous registers for short regset write

2017-01-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dave Martin commit fd7c99142d77dc4a851879a66715abf12a3193fb upstream. Ensure that if userspace supplies insufficient data to PTRACE_SETREGSET to fill all the registers, the thread's old registe

[PATCH 4.4 00/23] 4.4.46-stable review

2017-01-30 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.46 release. There are 23 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Feb 2 05:36:16 UTC 2017. Anything receive

[PATCH 4.9 63/66] platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 5a00b6c2438460b870a451f14593fc40d3c7edf6 upstream. The commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests") starts refusing misconfigured interrupt handlers

[PATCH 4.9 29/66] IB/cxgb3: fix misspelling in header guard

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Iooss commit b1a27eac7fefff33ccf6acc919fc0725bf9815fb upstream. Use CXGB3_... instead of CXBG3_... Fixes: a85fb3383340 ("IB/cxgb3: Move user vendor structures") Signed-off-by: Nicolas

[PATCH 4.4 19/23] IB/umem: Release pid in error and ODP flow

2017-01-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Kenneth Lee commit 828f6fa65ce7e80f77f5ab12942e44eb3d9d174e upstream. 1. Release pid before enter odp flow 2. Release pid when fail to allocate memory Fixes: 87773dd56d54 ("IB: ib_umem_release

[PATCH 4.9 25/66] Btrfs: remove ->{get, set}_acl() from btrfs_dir_ro_inode_operations

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Omar Sandoval commit 57b59ed2e5b91e958843609c7884794e29e6c4cb upstream. Subvolume directory inodes can't have ACLs. Signed-off-by: Omar Sandoval Reviewed-by: David Sterba Signed-off-by: Chri

[PATCH 4.4 16/23] SUNRPC: cleanup ida information when removing sunrpc module

2017-01-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Kinglong Mee commit c929ea0b910355e1876c64431f3d5802f95b3d75 upstream. After removing sunrpc module, I get many kmemleak information as, unreferenced object 0x88003316b1e0 (size 544): com

[PATCH 4.4 05/23] sysctl: fix proc_doulongvec_ms_jiffies_minmax()

2017-01-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit ff9f8a7cf935468a94d9927c68b00daae701667e upstream. We perform the conversion between kernel jiffies and ms only when exporting kernel value to user space. We need to do the

[PATCH 4.9 61/66] virtio_mmio: Set DMA masks appropriately

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Robin Murphy commit f7f6634d23830ff74335734fbdb28ea109c1f349 upstream. Once DMA API usage is enabled, it becomes apparent that virtio-mmio is inadvertently relying on the default 32-bit DMA mas

[PATCH 4.4 22/23] platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT

2017-01-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 5a00b6c2438460b870a451f14593fc40d3c7edf6 upstream. The commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests") starts refusing misconfigured interrupt handlers

[PATCH 4.4 15/23] NFSv4.0: always send mode in SETATTR after EXCLUSIVE4

2017-01-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Coddington commit a430607b2ef7c3be090f88c71cfcb1b3988aa7c0 upstream. Some nfsv4.0 servers may return a mode for the verifier following an open with EXCLUSIVE4 createmode, but this does

[PATCH 4.9 55/66] IB/rxe: Prevent from completer to operate on non valid QP

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Yonatan Cohen commit 2d4b21e0a2913612274a69a3ba1bfee4cffc6e77 upstream. On UD QP completer tasklet is scheduled for each packet sent. If it is followed by a destroy_qp(), the kernel panic will

[PATCH 4.4 14/23] nfs: Dont increment lock sequence ID after NFS4ERR_MOVED

2017-01-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Chuck Lever commit 059aa734824165507c65fd30a55ff000afd14983 upstream. Xuan Qi reports that the Linux NFSv4 client failed to lock a file that was migrated. The steps he observed on the wire: 1.

[PATCH 4.9 59/66] pinctrl: baytrail: Rectify debounce support

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 04ff5a095d662e0879f0eb04b9247e092210aeff upstream. The commit 658b476c742f ("pinctrl: baytrail: Add debounce configuration") implements debounce for Baytrail pin control,

[PATCH 4.9 62/66] platform/x86: mlx-platform: free first dev on error

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 63d762b88cb5510f2bfdb5112ced18cde867ae61 upstream. There is an off-by-one error so we don't unregister priv->pdev_mux[0]. Also it's slightly simpler as a while loop instead

[PATCH 4.4 01/23] fbdev: color map copying bounds checking

2017-01-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 2dc705a9930b4806250fbf5a76e55266e59389f2 upstream. Copying color maps to userspace doesn't check the value of to->start, which will cause kernel heap buffer OOB read due to sig

[PATCH 4.4 21/23] pinctrl: broxton: Use correct PADCFGLOCK offset

2017-01-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mika Westerberg commit ecc8995363ee6231b32dad61c955b371b79cc4cf upstream. PADCFGLOCK (and PADCFGLOCK_TX) offset in Broxton actually starts at 0x060 and not 0x090 as used in the driver. Fix it t

[PATCH 4.9 03/66] drm: Schedule the output_poll_work with 1s delay if we have delayed event

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Peter Ujfalusi commit 68f458eec7069d618a6c884ca007426e0cea411b upstream. Instead of scheduling the work to handle the initial delayed event, use 1s delay. This delay should not be needed, but

[PATCH 4.9 06/66] drm/vc4: Fix memory leak of the CRTC state.

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Anholt commit 7622b25543665567d8830a63210385b7d705924b upstream. The underscores variant frees the pointers inside, while the no-underscores variant calls underscores and then frees the st

[PATCH 4.9 07/66] drm/vc4: Fix an integer overflow in temporary allocation layout.

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Anholt commit 0f2ff82e11c86c05d051cae32b58226392d33bbf upstream. We copy the unvalidated ioctl arguments from the user into kernel temporary memory to run the validation from, to avoid a r

[PATCH 4.9 23/66] Btrfs: remove old tree_root case in btrfs_read_locked_inode()

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Omar Sandoval commit 67ade058ef2c65a3e56878af9c293ec76722a2e5 upstream. As Jeff explained in c2951f32d36c ("btrfs: remove old tree_root dirent processing in btrfs_real_readdir()"), supporting t

Re: [RFC V2 00/12] Define coherent device memory node

2017-01-30 Thread Anshuman Khandual
Hello Dave/Jerome/Mel, Here is the overall layout of the functions I am trying to put together through this patch series. (1) Define CDM from core VM and kernel perspective (2) Isolation/Special consideration for HugeTLB allocations (3) Isolation/Special consideration for buddy allocations

[PATCH 4.9 22/66] ISDN: eicon: silence misleading array-bounds warning

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 950eabbd6ddedc1b08350b9169a6a51b130ebaaf upstream. With some gcc versions, we get a warning about the eicon driver, and that currently shows up as the only remaining warnin

[PATCH 4.9 24/66] Btrfs: disable xattr operations on subvolume directories

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Omar Sandoval commit 1fdf41941b8010691679638f8d0c8d08cfee7726 upstream. When you snapshot a subvolume containing a subvolume, you get a placeholder directory where the subvolume would be. These

Re: [PATCH v3 3/4] remoteproc: qcom: Add SLPI rproc support to load and boot slpi proc.

2017-01-30 Thread Bjorn Andersson
On Mon 30 Jan 07:03 PST 2017, Avaneesh Kumar Dwivedi wrote: > This patch add slpi remoteproc support in existing adsp rproc driver. > > Signed-off-by: Avaneesh Kumar Dwivedi I added documentation for "aggre2" and "px-supply" and applied this, thanks. Regards, Bjorn

linux-next: manual merge of the pinctrl tree with the arm-soc tree

2017-01-30 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in: arch/arm/mach-exynos/suspend.c between commit: b4765037fc8c ("ARM: EXYNOS: Constify list of retention registers") from the arm-soc tree and commit: 07731019c59c ("pinctrl: samsung: Move retention control from mach

[PATCH 4.9 39/66] NFSv4.1: Fix a deadlock in layoutget

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 8ac092519ad91931c96d306c4bfae2c6587c325f upstream. We cannot call nfs4_handle_exception() without first ensuring that the slot has been freed. If not, we end up deadlocki

[PATCH 4.9 41/66] SUNRPC: cleanup ida information when removing sunrpc module

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Kinglong Mee commit c929ea0b910355e1876c64431f3d5802f95b3d75 upstream. After removing sunrpc module, I get many kmemleak information as, unreferenced object 0x88003316b1e0 (size 544): com

Re: [PATCH 01/50] x86/boot/e820: Introduce arch/x86/include/asm/e820/types.h

2017-01-30 Thread Sam Ravnborg
On Mon, Jan 30, 2017 at 08:58:33AM +0100, Ingo Molnar wrote: > > * Sam Ravnborg wrote: > > > On Sat, Jan 28, 2017 at 11:11:22PM +0100, Ingo Molnar wrote: > > > > > > The plan is to keep the old UAPI header in place but the kernel won't > > > use it anymore - and after some time we'll try to rem

[PATCH 4.9 43/66] [media] pctv452e: move buffer to heap, no mutex

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Max Kellermann commit 48775cb73c2e26b7ca9d679875a6e570c8b8e124 upstream. commit 73d5c5c864f4 ("[media] pctv452e: don't do DMA on stack") caused a NULL pointer dereference which occurs when dvb_

[PATCH 4.9 21/66] xfs: prevent quotacheck from overloading inode lru

2017-01-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Brian Foster commit e0d76fa4475ef2cf4b52d18588b8ce95153d021b upstream. Quotacheck runs at mount time in situations where quota accounting must be recalculated. In doing so, it uses bulkstat to

  1   2   3   4   5   6   7   8   9   10   >