Re: [PATCH 3/3] ovl: redirect on rename-dir

2016-10-26 Thread Miklos Szeredi
On Tue, Oct 25, 2016 at 2:49 PM, Amir Goldstein wrote: >> @@ -880,31 +913,34 @@ static int ovl_rename(struct inode *olddir, struct >> dentry *old, >> if (WARN_ON(olddentry->d_inode == newdentry->d_inode)) >> goto out_dput; >> >> - if (is_dir && !old_opaque && ovl_lo

Re: [PATCH v6 5/9] x86/sysctl: Add sysctl for ITMT scheduling feature

2016-10-26 Thread Thomas Gleixner
On Wed, 26 Oct 2016, Peter Zijlstra wrote: > On Wed, Oct 26, 2016 at 12:49:36PM +0200, Thomas Gleixner wrote: > > > > + /* > > > + * ITMT capability automatically enables ITMT > > > + * scheduling for small systems (single node). > > > + */ > > > + if (topology_num_packages() == 1) > > > +

Re: [PATCH] ARM: imx6: Fix GPC probe error path

2016-10-26 Thread Fabio Estevam
Hi Guenter, On Wed, Oct 26, 2016 at 12:35 AM, Guenter Roeck wrote: > Looking into this some more, it turns out that > of_genpd_add_provider_onecell() > now returns an error if one of the provided power domains does not exist. > In this case, the "ARM" power domain does not exist. I don't see whe

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-26 Thread Jan Kara
On Wed 26-10-16 03:19:03, Christoph Hellwig wrote: > Just as last time: > > big NAK for introducing giant new infrastructure like a new I/O scheduler > for the legacy request structure. > > Please direct your engergy towards blk-mq instead. Christoph, we will probably talk about this next week b

Re: [PATCH 1/5] ARM: davinci: Compile MMC in kernel

2016-10-26 Thread Sekhar Nori
On Saturday 22 October 2016 12:06 AM, David Lechner wrote: > This changes the davinci default configuration to compile the davinci > MMC driver into the kernel. This allows booting from an SD card without > requiring an initrd containing the kernel module. > > Signed-off-by: David Lechner "build

[PATCH v5] x86/msr: Add write msr notrace to avoid the debug codes splash

2016-10-26 Thread Wanpeng Li
From: Wanpeng Li As Peterz pointed out: | The thing is, many many smp_reschedule_interrupt() invocations don't | actually execute anything much at all and are only send to tickle the | return to user path (which does the actual preemption). This patch add write msr notrace to avoid the debug co

[PATCH] sched/fair: Remove unused but set variable 'rq'

2016-10-26 Thread Tobias Klauser
Since commit 8663e24d56dc ("sched/fair: Reorder cgroup creation code"), the variable rq in alloc_fair_sched_group is set but no longer used. Remove it to fix the following GCC warning when building with 'W=1': kernel/sched/fair.c:8842:13: warning: variable ‘rq’ set but not used [-Wunused-but-set-

Re: [PATCH v5] x86/msr: Add write msr notrace to avoid the debug codes splash

2016-10-26 Thread Paolo Bonzini
On 26/10/2016 13:35, Wanpeng Li wrote: > From: Wanpeng Li > > As Peterz pointed out: > > | The thing is, many many smp_reschedule_interrupt() invocations don't > | actually execute anything much at all and are only send to tickle the > | return to user path (which does the actual preemption).

Re: [PATCH 3/6 v5] sched: factorize PELT update

2016-10-26 Thread Peter Zijlstra
On Mon, Oct 17, 2016 at 11:14:10AM +0200, Vincent Guittot wrote: > @@ -3110,11 +3116,12 @@ static inline void update_load_avg(struct > sched_entity *se, int update_tg) >* Track task load average for carrying it to new CPU after migrated, > and >* track group sched_entity load aver

Re: int overflow in io_getevents

2016-10-26 Thread Jiri Slaby
Hi, what's the status of this? I have just hit it now and don't see it merged. On 01/07/2016, 05:27 PM, Dmitry Vyukov wrote: > On Thu, Jan 7, 2016 at 4:52 PM, Benjamin LaHaise wrote: >> On Thu, Jan 07, 2016 at 04:37:43PM +0100, Dmitry Vyukov wrote: >>> pass ts to the function >> >> Yeah, I shoul

[PATCH] KVM: fix OOPS on flush_work

2016-10-26 Thread Paolo Bonzini
The conversion done by commit 3706feacd007 ("KVM: Remove deprecated create_singlethread_workqueue") is broken. It flushes a single work item &irqfd->shutdown instead of all of them, and even worse if there is no irqfd on the list then you get a NULL pointer dereference. Revert the virt/kvm/eventfd

Re: [PATCH 4/6 v5] sched: propagate load during synchronous attach/detach

2016-10-26 Thread Peter Zijlstra
On Mon, Oct 17, 2016 at 11:14:11AM +0200, Vincent Guittot wrote: > +/* Take into account change of load of a child task group */ > +static inline void > +update_tg_cfs_load(struct cfs_rq *cfs_rq, struct sched_entity *se) > +{ > + struct cfs_rq *gcfs_rq = group_cfs_rq(se); > + long delta, lo

Re: [PATCH v5] x86/msr: Add write msr notrace to avoid the debug codes splash

2016-10-26 Thread Borislav Petkov
On Wed, Oct 26, 2016 at 07:35:26PM +0800, Wanpeng Li wrote: > From: Wanpeng Li > > As Peterz pointed out: > > | The thing is, many many smp_reschedule_interrupt() invocations don't > | actually execute anything much at all and are only send to tickle the > | return to user path (which does the a

Re: [PATCH v4 00/23] soc: renesas: Add R-Car RST driver for obtaining mode pin state

2016-10-26 Thread Geert Uytterhoeven
Hi Philip, On Fri, Oct 21, 2016 at 5:45 PM, Philipp Zabel wrote: > Am Freitag, den 21.10.2016, 15:17 +0200 schrieb Geert Uytterhoeven: >> Hi Philipp, Mike, Stephen, Simon, Magnus, >> (see questions *** below!) >> >> Currently the R-Car Clock Pulse Generator (CPG) drivers obtains the

Re: [PATCH v2] ARM: davinci: da8xx: Fix some redefined symbol warnings

2016-10-26 Thread Sekhar Nori
On Tuesday 25 October 2016 05:41 PM, Alexandre Bailon wrote: > Some macro for DA8xx CFGCHIP are defined in usb-davinci.h, > but da8xx-cfgchip.h intend to replace them. > The usb-da8xx.c is using both headers, causing redefined symbol warnings. > Remove the macro and update the da830-evm board file

Re: [PATCH v4 00/23] soc: renesas: Add R-Car RST driver for obtaining mode pin state

2016-10-26 Thread Geert Uytterhoeven
Hi Mike, Stephen, On Fri, Oct 21, 2016 at 3:17 PM, Geert Uytterhoeven wrote: > Currently the R-Car Clock Pulse Generator (CPG) drivers obtains the > state of the mode pins either by a call from the platform code, or > directly by using a hardcoded register access. This is a bit messy, and > creat

[PATCH v2] usb: musb: remove duplicated actions

2016-10-26 Thread Kirill Esipov
Removing unnecessary duplicated actions that we've got while merging: "Merge 4.1-rc7 into usb-next" 19915e623458 Signed-off-by: Kirill Esipov --- drivers/usb/musb/musb_core.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c inde

Re: [PATCH] KVM: fix OOPS on flush_work

2016-10-26 Thread Cornelia Huck
On Wed, 26 Oct 2016 13:44:50 +0200 Paolo Bonzini wrote: > The conversion done by commit 3706feacd007 ("KVM: Remove deprecated > create_singlethread_workqueue") is broken. It flushes a single work > item &irqfd->shutdown instead of all of them, and even worse if there > is no irqfd on the list th

Re: [PATCH 2/3] f2fs: call f2fs_balance_fs for setattr

2016-10-26 Thread Chao Yu
On 2016/10/18 5:56, Jaegeuk Kim wrote: > If inode becomes dirty, we need to check the # of dirty inodes whether or not > further checkpoint would be required. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu

Re: [PATCH 1/3] f2fs: count dirty inodes to flush node pages during checkpoint

2016-10-26 Thread Chao Yu
On 2016/10/18 5:56, Jaegeuk Kim wrote: > If there are a lot of dirty inodes, we need to flush all of them when doing > checkpoint. So, we need to count this for enough free space. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu

Re: [RFC PATCH 2/2] module: When modifying a module's text ignore modules which are going away too

2016-10-26 Thread Steven Rostedt
On Wed, 26 Oct 2016 11:35:18 +1030 Rusty Russell wrote: > Aaron Tomlin writes: > > By default, during the access permission modification of a module's core > > and init pages, we only ignore modules that are malformed. There is no > > reason not to extend this to modules which are going away too

Re: complete_all and "forever" completions

2016-10-26 Thread Dmitry Torokhov
On Wed, Oct 26, 2016 at 10:45:35AM +0200, Peter Zijlstra wrote: > On Tue, Oct 25, 2016 at 03:30:54PM -0700, Dmitry Torokhov wrote: > > Hi, > > > > Reading Documentation/scheduler/completion.txt, complete_all() is > > Oh, there is documentation? /me goes read. > > > supposed to be usable with "fo

Re: [PATCH 1/2] backlight: pwm_bl: Move the checks for initial power state to a separate function

2016-10-26 Thread Lee Jones
On Fri, 30 Sep 2016, Peter Ujfalusi wrote: > Move the check for gpio and regulator initial state to a new function and > document better what we are checking and why. > > It is going to be easier to fix or improve the initial power state > configuration later and it is easier to read the code. >

Re: [PATCH 3/3] ovl: redirect on rename-dir

2016-10-26 Thread Amir Goldstein
On Wed, Oct 26, 2016 at 2:26 PM, Miklos Szeredi wrote: > On Tue, Oct 25, 2016 at 2:49 PM, Amir Goldstein wrote: > >>> @@ -880,31 +913,34 @@ static int ovl_rename(struct inode *olddir, struct >>> dentry *old, >>> if (WARN_ON(olddentry->d_inode == newdentry->d_inode)) >>> g

Re: [PATCH 2/2] backlight: pwm_bl: Check the pwm state for initial backlight power state

2016-10-26 Thread Lee Jones
On Fri, 30 Sep 2016, Peter Ujfalusi wrote: > If the pwm is not enabled the backlight initially should not be enabled > either if we have booted with DT and there is a phandle pointing to the > backlight node. > > The patch extends the checks to decide if we should keep the backlight off > initial

regression 4.8+ commit 8ea1d2a (mm, frontswap: convert frontswap_enabled to static key) cause memory leak on swapon

2016-10-26 Thread Christian Borntraeger
Vlastimil, with commit 8ea1d2a1985a7ae096e ("mm, frontswap: convert frontswap_enabled to static key") kmemleak complains about a memory leak in swapon unreferenced object 0x3e09ba56000 (size 32112640): comm "swapon", pid 7852, jiffies 4294968787 (age 1490.770s) hex dump (first 32 bytes):

Re: [PATCH v14 4/9] acpi/arm64: Add GTDT table parse driver

2016-10-26 Thread Marc Zyngier
On 26/10/16 12:10, Fu Wei wrote: > Hi Mark, > > On 21 October 2016 at 00:37, Mark Rutland wrote: >> Hi, >> >> As a heads-up, on v4.9-rc1 I see conflicts at least against >> arch/arm64/Kconfig. Luckily git am -3 seems to be able to fix that up >> automatically, but this will need to be rebased bef

Re: [PATCH 06/15] mfd: tc3589x: improve function-level documentation

2016-10-26 Thread Lee Jones
On Sat, 01 Oct 2016, Julia Lawall wrote: > Use the correct function name in one case and adjust a variable name to > that of the corresponding function parameter in another case. > > Issue detected using Coccinelle (http://coccinelle.lip6.fr/) > > Signed-off-by: Julia Lawall > > --- > drivers

Re: [PATCH 4/4] mfd: Enable compile testing for max77620 and max77686

2016-10-26 Thread Lee Jones
On Sun, 02 Oct 2016, Krzysztof Kozlowski wrote: > The OF is not a strict build-time dependency so max77620 and max77686 > can be compile tested to increase build coverage. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/mfd/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions

Re: [PATCH V2 1/3] mfd: wm8994-core: don't split lines unnecessarily

2016-10-26 Thread Lee Jones
On Fri, 16 Sep 2016, Viresh Kumar wrote: > These can fit in a single line (80 columns), don't split lines > unnecessarily. > > Signed-off-by: Viresh Kumar > > --- > V1->V2: New patch > --- > drivers/mfd/wm8994-core.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) Applied, thank

Re: [PATCH V2 3/3] mfd: wm8994-core: Don't use managed regulator bulk get API

2016-10-26 Thread Lee Jones
On Fri, 16 Sep 2016, Viresh Kumar wrote: > The kernel WARNs and then crashes today if wm8994_device_init() fails > after calling devm_regulator_bulk_get(). > > That happens because there are multiple devices involved here and the > order in which managed resources are freed isn't correct. > > Th

Re: [PATCH V2 2/3] mfd: wm8994-core: disable regulators before removing them

2016-10-26 Thread Lee Jones
On Fri, 16 Sep 2016, Viresh Kumar wrote: > The order in which resources were freed in wm8994_device_exit() isn't > correct. The regulators are removed before they are disabled. > > Fix it by reordering code a bit, which makes it exact opposite of > wm8994_device_init() as well. > > Signed-off-by

Re: [PATCH V2 3/3] mfd: wm8994-core: Don't use managed regulator bulk get API

2016-10-26 Thread Lee Jones
On Wed, 26 Oct 2016, Lee Jones wrote: > On Fri, 16 Sep 2016, Viresh Kumar wrote: > > > The kernel WARNs and then crashes today if wm8994_device_init() fails > > after calling devm_regulator_bulk_get(). > > > > That happens because there are multiple devices involved here and the > > order in whi

[PATCH 4.8 010/140] rtlwifi: Fix missing country code for Great Britain

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 0c9d3491530773858ff9d705ec2a9c382f449230 upstream. Some RTL8821AE devices sold in Great Britain have the country code of 0x25 encoded in their EEPROM. This value is not test

Re: [PATCH 1/4] mfd: ti_am335x_tscadc: store physical address

2016-10-26 Thread Lee Jones
On Fri, 30 Sep 2016, Mugunthan V N wrote: > On Wednesday 28 September 2016 01:10 AM, Lee Jones wrote: > > On Wed, 21 Sep 2016, Mugunthan V N wrote: > > > >> store the physical address of the device in its priv to use it > >> for DMA addressing in the client drivers. > >> > >> Signed-off-by: Mugun

[PATCH 4.8 001/140] gpio: mpc8xxx: Correct irq handler function

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Liu Gang commit d71cf15b865bdd45925f7b094d169aaabd705145 upstream. >From the beginning of the gpio-mpc8xxx.c, the "handle_level_irq" has being used to handle GPIO interrupts in the PowerPC/Laye

[PATCH 4.8 012/140] mmc: sdhci: cast unsigned int to unsigned long long to avoid unexpeted error

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Haibo Chen commit 02265cd60335a2c1417abae4192611e1fc05a6e5 upstream. Potentially overflowing expression 100 * data->timeout_clks with type unsigned int is evaluated using 32-bit arithmetic,

[PATCH 4.8 013/140] PCI: Mark Atheros AR9580 to avoid bus reset

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Maik Broemme commit 8e2e03179923479ca0c0b6fdc7c93ecf89bce7a8 upstream. Similar to the AR93xx and the AR94xx series, the AR95xx also have the same quirk for the Bus Reset. It will lead to insta

[PATCH 4.8 067/140] [media] cx231xx: fix GPIOs for Pixelview SBTVD hybrid

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 24b923f073ac37eb744f56a2c7f77107b8219ab2 upstream. This device uses GPIOs: 28 to switch between analog and digital modes: on digital mode, it should be set to 1. T

[PATCH 4.8 016/140] cpufreq: ti: Use generic platdev driver

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dave Gerlach commit e01072d22d4e7f9ca966f848def22fe41eaef4de upstream. Now that the cpufreq-dt-platdev is used to create the cpufreq-dt platform device for all OMAP platforms and the platform c

[PATCH 4.8 051/140] zfcp: fix ELS/GS request&response length for hardware data router

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 70369f8e15b220f50a16348c79a61d3f7054813c upstream. In the hardware data router case, introduced with kernel 3.2 commit 86a9668a8d29 ("[SCSI] zfcp: support for hardware data

[PATCH 4.8 061/140] fbdev/efifb: Fix 16 color palette entry calculation

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Max Staudt commit d50b3f43db739f03fcf8c0a00664b3d2fed0496e upstream. When using efifb with a 16-bit (5:6:5) visual, fbcon's text is rendered in the wrong colors - e.g. text gray (#aa) is re

[PATCH 4.8 059/140] zfcp: trace full payload of all SAN records (req,resp,iels)

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit aceeffbb59bb91404a0bda32a542d7ebf878433a upstream. This was lost with commit 2c55b750a884b86dea8b4cc5f15e1484cc47a25c ("[SCSI] zfcp: Redesign of the debug tracing for SAN r

[PATCH 4.8 050/140] zfcp: fix fc_host port_type with NPIV

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit bd77befa5bcff8c51613de271913639edf85fbc2 upstream. For an NPIV-enabled FCP device, zfcp can erroneously show "NPort (fabric via point-to-point)" instead of "NPIV VPORT" for

[PATCH 4.8 088/140] soc/fsl/qe: fix Oops on CPM1 (and likely CPM2)

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Leroy commit 4d486e0083796b54d5aeddd7a5794f897fca1008 upstream. Commit 0e6e01ff694ee ("CPM/QE: use genalloc to manage CPM/QE muram") has changed the way muram is managed. genalloc us

[PATCH 4.8 057/140] zfcp: fix D_ID field with actual value on tracing SAN responses

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 771bf03537ddfa4a4dde62ef9dfbc82e4f77ab20 upstream. With commit 2c55b750a884b86dea8b4cc5f15e1484cc47a25c ("[SCSI] zfcp: Redesign of the debug tracing for SAN records.") we l

[PATCH 4.8 074/140] Input: elantech - add Fujitsu Lifebook E556 to force crc_enabled

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit 62837b3c1a95535d1a287c9c8c6563bbd8d37033 upstream. Another Lifebook machine that needs the same quirk as other similar models to make the driver working. Also let's reor

[PATCH 4.8 004/140] regulator: tps65910: Work around silicon erratum SWCZ010

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Jan Remmet commit 8f9165c981fed187bb483de84caf9adf835aefda upstream. http://www.ti.com/lit/pdf/SWCZ010: DCDC o/p voltage can go higher than programmed value Impact: VDDI, VDD2, and VIO outpu

[PATCH 4.8 024/140] parisc: Increase initial kernel mapping size

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 65bf34f59594c11f13d371c5334a6a0a385cd7ae upstream. Increase the initial kernel default page mapping size for 64-bit kernels to 64 MB and for 32-bit kernels to 32 MB. Due to

[PATCH 4.8 014/140] PCI: tegra: Fix argument order in tegra_pcie_phy_disable()

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Bjorn Helgaas commit 8dd99bca7bfa4b62753b556c45d26f45ec9da6e6 upstream. The tegra_pcie_phy_disable() path called pads_writel() with arguments in the wrong order. Swap them to be the "value, of

[PATCH 4.8 003/140] mei: me: add kaby point device ids

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Usyskin commit ac182e8abc6f93c1c4cc12f042af64c9d7be0d1e upstream. Add device ids for Intel Kabypoint PCH (Kabylake) Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler Si

[PATCH 4.8 023/140] parisc: Fix kernel memory layout regarding position of __gp

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit f8850abb7ba68229838014b3409460e576751c6d upstream. Architecturally we need to keep __gp below 0x100. But because of ftrace and tracepoint support, the RO_DATA_SECTION n

[PATCH 4.8 006/140] clk: imx6: fix i.MX6DL clock tree to reflect reality

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Lucas Stach commit b1d51b448e4e6a392283b3eab06a7c5ec6d8a4e2 upstream. The current clock tree only implements the minimal set of differences between the i.MX6Q and the i.MX6DL, but that doesn't

[PATCH 4.8 078/140] NFSv4: Dont report revoked delegations as valid in nfs_have_delegation()

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit b3f9e7239074613aa6bdafa4caf7c104fe1e7276 upstream. If the delegation is revoked, then it can't be used for caching. Fixes: 869f9dfa4d6d ("NFSv4: Fix races between nfs_re

[PATCH 4.8 068/140] [media] cx231xx: cant proceed if I2C bus register fails

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 461af077d349b11106ca084e9ef2973a753d33ff upstream. The driver should not ignore errors while registering the I2C bus, as this device can't even minimally work witho

[PATCH 4.8 035/140] dm mpath: check if paths request_queue is dying in activate_path()

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Mike Snitzer commit f10e06b744074824fb8ec7066bc03ecc90918f5b upstream. If pg_init_retries is set and a request is queued against a multipath device with all underlying block device request_queu

[PATCH 4.8 091/140] fs/super.c: fix race between freeze_super() and thaw_super()

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit 89f39af129382a40d7cd1f6914617282cfeee28e upstream. Change thaw_super() to check frozen != SB_FREEZE_COMPLETE rather than frozen == SB_UNFROZEN, otherwise it can race with f

[PATCH 4.8 063/140] ovl: copy_up_xattr(): use strnlen

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit 8b326c61de08f5ca4bc454a168f19e7e43c4cc2a upstream. Be defensive about what underlying fs provides us in the returned xattr list buffer. strlen() may overrun the buffer, s

[PATCH 4.8 055/140] zfcp: trace on request for open and close of WKA port

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit d27a7cb91960cf1fdd11b10071e601828cbf4b1f upstream. Since commit a54ca0f62f953898b05549391ac2a8a4dad6482b ("[SCSI] zfcp: Redesign of the debug tracing for HBA records.") HBA

[PATCH 4.8 048/140] IB/core: correctly handle rdma_rw_init_mrs() failure

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steve Wise commit b6bc1c731f0b985e91f618561fc82c6e252dfaf4 upstream. Function ib_create_qp() was failing to return an error when rdma_rw_init_mrs() fails, causing a crash further down in ib_cre

[PATCH 4.8 002/140] mei: fix return value on disconnection

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Tomas Winkler commit 2d4d5481e2d6f93b25fcfb13a9f20bbfbf54266a upstream. Correct errno on client disconnection is -ENODEV not -EBUSY Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usysk

[PATCH 4.8 008/140] PM / devfreq: event: remove duplicate devfreq_event_get_drvdata()

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Lin Huang commit c8a9a6daccad495c48d5435d3487956ce01bc6a1 upstream. there define two devfreq_event_get_drvdata() function in devfreq-event.h when disable CONFIG_PM_DEVFREQ_EVENT, it will lead t

[PATCH 4.8 032/140] dm: mark request_queue dead before destroying the DM device

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 3b785fbcf81c3533772c52b717f77293099498d3 upstream. This avoids that new requests are queued while __dm_destroy() is in progress. Signed-off-by: Bart Van Assche Signed-o

[PATCH 4.8 072/140] Input: i8042 - skip selftest on ASUS laptops

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Marcos Paulo de Souza commit 930e19248e9b61da36c967687ca79c4d5f977919 upstream. On suspend/resume cycle, selftest is executed to reset i8042 controller. But when this is done in Asus devices, s

[PATCH 4.8 099/140] Cleanup missing frees on some ioctls

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 24df1483c272c99ed88b0cba135d0e1dfdee3930 upstream. Cleanup some missing mem frees on some cifs ioctls, and clarify others to make more obvious that no data is returned. Sig

[PATCH 4.8 097/140] SMB3: GUIDs should be constructed as random but valid uuids

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit fa70b87cc6641978b20e12cc5d517e9ffc0086d4 upstream. GUIDs although random, and 16 bytes, need to be generated as proper uuids. Signed-off-by: Steve French Reviewed-by: Aure

[PATCH 4.8 101/140] blkcg: Unlock blkcg_pol_mutex only once when cpd == NULL

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit bbb427e342495df1cda10051d0566388697499c0 upstream. Unlocking a mutex twice is wrong. Hence modify blkcg_policy_register() such that blkcg_pol_mutex is unlocked once if cp

[PATCH 4.8 080/140] NFSv4: Open state recovery must account for file permission changes

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 304020fe48c6c7fff8b5a38f382b54404f0f79d3 upstream. If the file permissions change on the server, then we may not be able to recover open state. If so, we need to ensure t

[PATCH 4.8 106/140] pinctrl: intel: Only restore pins that are used by the driver

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Mika Westerberg commit c538b9436751a0be2e1246b48353bc23156bdbcc upstream. Dell XPS 13 (and maybe some others) uses a GPIO (CPU_GP_1) during suspend to explicitly disable USB touchscreen interru

[PATCH 4.8 104/140] x86/platform/UV: Fix support for EFI_OLD_MEMMAP after BIOS callback updates

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alex Thorlton commit caef78b6cdeddf4ad364f95910bba6b43b8eb9bf upstream. Some time ago, we brought our UV BIOS callback code up to speed with the new EFI memory mapping scheme, in commit: d

[PATCH 4.8 096/140] Set previous session id correctly on SMB3 reconnect

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit c2afb8147e69819885493edf3a7c1ce03aaf2d4e upstream. Signed-off-by: Steve French Reported-by: David Goebel Signed-off-by: Greg Kroah-Hartman --- fs/cifs/smb2pdu.c |5

[PATCH 4.8 109/140] sched/fair: Fix min_vruntime tracking

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit b60205c7c558330e4e2b5df498355ec959457358 upstream. While going through enqueue/dequeue to review the movement of set_curr_task() I noticed that the (2nd) update_min_vrunti

[PATCH 4.4 001/112] gpio: mpc8xxx: Correct irq handler function

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Liu Gang commit d71cf15b865bdd45925f7b094d169aaabd705145 upstream. >From the beginning of the gpio-mpc8xxx.c, the "handle_level_irq" has being used to handle GPIO interrupts in the PowerPC/Laye

[PATCH 4.8 112/140] irqchip/gic-v3-its: Fix entry size mask for GITS_BASER

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Vladimir Murzin commit 9224eb77e63f70f16c0b6b7a20ca7d395f3bc077 upstream. Entry Size in GITS_BASER occupies 5 bits [52:48], but we mask out 8 bits. Fixes: cc2d3216f53c ("irqchip: GICv3: ITS co

[PATCH 4.8 081/140] NFSv4.2: Fix a reference leak in nfs42_proc_layoutstats_generic

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 3f807e5ae5597bd65a6fff684083e8eaa21f3fa7 upstream. The caller of rpc_run_task also gets a reference that must be put. Signed-off-by: Jeff Layton Signed-off-by: Trond Mykleb

[PATCH 4.8 120/140] arm64: kernel: Init MDCR_EL2 even in the absence of a PMU

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit 850540351bb1a4fa5f192e5ce55b89928cc57f42 upstream. Commit f436b2ac90a0 ("arm64: kernel: fix architected PMU registers unconditional access") made sure we wouldn't access uni

[PATCH 4.8 114/140] isofs: Do not return EACCES for unknown filesystems

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit a2ed0b391dd9c3ef1d64c7c3e370f4a5ffcd324a upstream. When isofs_mount() is called to mount a device read-write, it returns EACCES even before it checks that the device actually co

[PATCH 4.8 137/140] target: Re-add missing SCF_ACK_KREF assignment in v4.1.y

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 527268df31e57cf2b6d417198717c6d6afdb1e3e upstream. This patch fixes a regression in >= v4.1.y code where the original SCF_ACK_KREF assignment in target_get_sess_cmd()

[PATCH 4.8 123/140] ceph: fix error handling in ceph_read_iter

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Nikolay Borisov commit 0d7718f666be181fda1ba2d08f137d87c1419347 upstream. In case __ceph_do_getattr returns an error and the retry_op in ceph_read_iter is not READ_INLINE, then it's possible to

[PATCH 4.8 134/140] ubifs: Fix xattr_names length in exit paths

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 843741c5778398ea67055067f4cc65ae6c80ca0e upstream. When the operation fails we also have to undo the changes we made to ->xattr_names. Otherwise listxattr() will repor

[PATCH 4.8 083/140] scsi: Fix use-after-free

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit bcd8f2e94808fcddf6ef3af5f060a36820dcc432 upstream. This patch fixes one use-after-free report[1] by KASAN. In __scsi_scan_target(), when a type 31 device is probed, SCSI_SCAN_T

[PATCH 4.8 129/140] KVM: s390: reject invalid modes for runtime instrumentation

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Christian Borntraeger commit a5efb6b6c99a3a6dc4330f51d8066f638bdea0ac upstream. Usually a validity intercept is a programming error of the host because of invalid entries in the state descripti

[PATCH 4.8 140/140] Revert "target: Fix residual overflow handling in target_complete_cmd_with_length"

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 61f36166c245e563c7a2b624f4c78c5ce0f680d6 upstream. This reverts commit c1ccbfe0311e2380a6d2dcb0714b36904f5d586f. Reverting this patch, as it incorrectly assumes the a

[PATCH 4.8 127/140] mmc: rtsx_usb_sdmmc: Avoid keeping the device runtime resumed when unused

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ulf Hansson commit 31cf742f515c275d22843c4c756e048d2b6d716c upstream. The rtsx_usb_sdmmc driver may bail out in its ->set_ios() callback when no SD card is inserted. This is wrong, as it could

[PATCH 4.8 125/140] mmc: core: Annotate cmd_hdr as __le32

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby commit 3f2d26643595973e835e8356ea90c7c15cb1b0f1 upstream. Commit f68381a70bb2 (mmc: block: fix packed command header endianness) correctly fixed endianness handling of packed_cmd_hdr

[PATCH 4.4 081/112] blkcg: Unlock blkcg_pol_mutex only once when cpd == NULL

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit bbb427e342495df1cda10051d0566388697499c0 upstream. Unlocking a mutex twice is wrong. Hence modify blkcg_policy_register() such that blkcg_pol_mutex is unlocked once if cp

[PATCH 4.4 004/112] clk: imx6: initialize GPU clocks

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Lucas Stach commit d8846023aed1293e54d33499558fc2aa2b2f393f upstream. Initialize the GPU clock muxes to sane inputs. Until now they have not been changed from their default values, which means

[PATCH 4.4 003/112] regulator: tps65910: Work around silicon erratum SWCZ010

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Remmet commit 8f9165c981fed187bb483de84caf9adf835aefda upstream. http://www.ti.com/lit/pdf/SWCZ010: DCDC o/p voltage can go higher than programmed value Impact: VDDI, VDD2, and VIO outpu

[PATCH 4.4 082/112] x86/e820: Dont merge consecutive E820_PRAM ranges

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 23446cb66c073b827779e5eb3dec301623299b32 upstream. Commit: 917db484dc6a ("x86/boot: Fix kdump, cleanup aborted E820_PRAM max_pfn manipulation") ... fixed up the broken

[PATCH 4.4 014/112] parisc: Increase initial kernel mapping size

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 65bf34f59594c11f13d371c5334a6a0a385cd7ae upstream. Increase the initial kernel default page mapping size for 64-bit kernels to 64 MB and for 32-bit kernels to 32 MB. Due to

[PATCH 4.4 078/112] Do not send SMB3 SET_INFO request if nothing is changing

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 18dd8e1a65ddae2351d0f0d6dd4a334f441fc5fa upstream. [CIFS] We had cases where we sent a SMB2/SMB3 setinfo request with all timestamp (and DOS attribute) fields marked as 0 (i

[PATCH 4.4 059/112] Input: elantech - add Fujitsu Lifebook E556 to force crc_enabled

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit 62837b3c1a95535d1a287c9c8c6563bbd8d37033 upstream. Another Lifebook machine that needs the same quirk as other similar models to make the driver working. Also let's reor

[PATCH 4.4 008/112] mmc: sdhci: cast unsigned int to unsigned long long to avoid unexpeted error

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Haibo Chen commit 02265cd60335a2c1417abae4192611e1fc05a6e5 upstream. Potentially overflowing expression 100 * data->timeout_clks with type unsigned int is evaluated using 32-bit arithmetic,

[PATCH 4.4 025/112] dm crypt: fix crash on exit

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Rabin Vincent commit f659b10087daaf4ce0087c3f6aec16746be9628f upstream. As the documentation for kthread_stop() says, "if threadfn() may call do_exit() itself, the caller must ensure task_struc

Re: [PATCH 4/6 v5] sched: propagate load during synchronous attach/detach

2016-10-26 Thread Vincent Guittot
On 26 October 2016 at 12:54, Peter Zijlstra wrote: > On Mon, Oct 17, 2016 at 11:14:11AM +0200, Vincent Guittot wrote: >> /* >> + * Signed add and clamp on underflow. >> + * >> + * Explicitly do a load-store to ensure the intermediate value never hits >> + * memory. This allows lockless observatio

[PATCH 4.4 079/112] Cleanup missing frees on some ioctls

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 24df1483c272c99ed88b0cba135d0e1dfdee3930 upstream. Cleanup some missing mem frees on some cifs ioctls, and clarify others to make more obvious that no data is returned. Sig

[PATCH 4.4 076/112] Set previous session id correctly on SMB3 reconnect

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit c2afb8147e69819885493edf3a7c1ce03aaf2d4e upstream. Signed-off-by: Steve French Reported-by: David Goebel Signed-off-by: Greg Kroah-Hartman --- fs/cifs/smb2pdu.c |5

[PATCH 4.4 096/112] isofs: Do not return EACCES for unknown filesystems

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit a2ed0b391dd9c3ef1d64c7c3e370f4a5ffcd324a upstream. When isofs_mount() is called to mount a device read-write, it returns EACCES even before it checks that the device actually co

[PATCH 4.4 090/112] acpi, nfit: check for the correct event code in notifications

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Vishal Verma commit c09f12186d6b03b798832d95289af76495990192 upstream. Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added support for _FIT notifications, but it neglected to verify

[PATCH 4.4 072/112] cifs: Limit the overall credit acquired

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ross Lagerwall commit 7d414f396c91a3382e51cf628c1cf0709ad0188b upstream. The kernel client requests 2 credits for many operations even though they only use 1 credit (presumably to build up a bu

<    3   4   5   6   7   8   9   10   11   12   >