[PATCH v3 3/3] staging: greybus: arche-platform: Switch to the gpio descriptor interface

2018-11-22 Thread Nishad Kamdar
Use the gpiod interface instead of the deprecated old non-descriptor interface. Signed-off-by: Nishad Kamdar --- Changes in v2: - Move comment to the same line as to what it applies to. --- drivers/staging/greybus/arche-platform.c | 119 --- 1 file changed, 41 insertions(+),

Re: [RFC PATCH v4 1/5] glibc: Perform rseq(2) registration at nptl init and thread creation

2018-11-22 Thread Rich Felker
On Thu, Nov 22, 2018 at 05:59:44PM +0100, Florian Weimer wrote: > * Mathieu Desnoyers: > > > - On Nov 22, 2018, at 11:28 AM, Florian Weimer fwei...@redhat.com wrote: > > > >> * Mathieu Desnoyers: > >> > >>> Here is one scenario: we have 2 early adopter libraries using rseq which > >>> are dep

WARNING in vkms_plane_duplicate_state

2018-11-22 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:92b419289cee Merge tag 'riscv-for-linus-4.20-rc4' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17ed377b40 kernel config: https://syzkaller.appspot.com/x/.config?x=73e2bc0cb6463446 da

[PATCH v2 0/3] s390: vfio: ap: Using GISA for AP Interrupt

2018-11-22 Thread Pierre Morel
This patch series handles AP Interrupt using the GISA facility. The patch series is based above the GISA+GIB patch series sent by Michael Mueller. - We define a new VFIO ioctl to ask the vfio_ap driver to register a interruption for the guest. - We define the assembler code to register a GISA ba

[PATCH v2 2/3] vfio: ap: ioctl definitions for AP Queue Interrupt Control

2018-11-22 Thread Pierre Morel
We define two VFIO ioctl command to setup and clear the AP Queues interrupt. Arguments passed by the guest are: - the apqn, AP queue number - the Notification by address - the identifier of the previously associated adapter Signed-off-by: Pierre Morel --- include/uapi/linux/vfio.h | 25

[PATCH v2 1/3] vfio: ap: Add AP Queue Interruption Control facility

2018-11-22 Thread Pierre Morel
AP Queue Interruption Control (AQIC) facility gives the guest the possibility to control interruption for the Cryptographic Adjunct Processor queues Signed-off-by: Pierre Morel Reviewed-by: Tony Krowiak --- arch/s390/tools/gen_facilities.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arc

[PATCH v2 3/3] vfio: ap: AP Queue Interrupt Control VFIO ioctl calls

2018-11-22 Thread Pierre Morel
This is the implementation of the VFIO ioctl calls to handle the AQIC interception and use GISA to handle interrupts. Signed-off-by: Pierre Morel --- drivers/s390/crypto/vfio_ap_ops.c | 110 +- 1 file changed, 109 insertions(+), 1 deletion(-) diff --git a/dri

Re: [PATCH] rtc: isl1208: Use i2c block read/write routines

2018-11-22 Thread Alexandre Belloni
On 15/11/2018 18:51:18+, Trent Piepho wrote: > The Linux i2c layer has functions to execute common SMBUS/I2C > transactions. The register access code here is identical to the I2C > read/write block data routines. > > Cc: Alessandro Zummo > Cc: Alexandre Belloni > Signed-off-by: Trent Piepho

Re: [PATCH v2] rtc: max8997: Fix the returned value in case of error in 'max8997_rtc_read_alarm()'

2018-11-22 Thread Alexandre Belloni
On 14/11/2018 18:19:51+0100, Christophe JAILLET wrote: > In case of error, we return 0. > This is spurious and not consistent with the other functions of the driver. > Propagate the error code instead. > > Signed-off-by: Christophe JAILLET > --- > v2: re-word changelog and remove Fixes tag. >

Re: [PATCH v2] regulator: wm8994: Don't use devres for enable GPIOs

2018-11-22 Thread Charles Keepax
On Thu, Nov 22, 2018 at 04:47:20PM +0100, Linus Walleij wrote: > On Thu, Nov 22, 2018 at 3:19 PM Linus Walleij > wrote: > > On Wed, Nov 21, 2018 at 11:13 AM Charles Keepax > > wrote: > > > > > The regulator core takes over managing the lifetime of the enable GPIO > > > once the regulator is regi

Re: [PATCH] x86: only use ERMS for user copies for larger sizes

2018-11-22 Thread Andy Lutomirski
On Thu, Nov 22, 2018 at 8:56 AM Linus Torvalds wrote: > > On Thu, Nov 22, 2018 at 2:32 AM Ingo Molnar wrote: > > * Linus Torvalds wrote: > > > > > > Random patch (with my "asm goto" hack included) attached, in case > > > people want to play with it. > > > > Doesn't even look all that hacky to me

Re: [RFC PATCH v4 1/5] glibc: Perform rseq(2) registration at nptl init and thread creation

2018-11-22 Thread Mathieu Desnoyers
- On Nov 22, 2018, at 11:59 AM, Florian Weimer fwei...@redhat.com wrote: > * Mathieu Desnoyers: > >> - On Nov 22, 2018, at 11:28 AM, Florian Weimer fwei...@redhat.com wrote: >> >>> * Mathieu Desnoyers: >>> Here is one scenario: we have 2 early adopter libraries using rseq which >

Re: [patch 01/24] x86/speculation: Update the TIF_SSBD comment

2018-11-22 Thread Josh Poimboeuf
On Thu, Nov 22, 2018 at 12:08:54AM +0100, Borislav Petkov wrote: > On Wed, Nov 21, 2018 at 05:04:50PM -0600, Josh Poimboeuf wrote: > > Why not just 'user'? Like SPECTRE_V2_USER_*. > > Sure, a bit better except that it doesn't explain what it does, I'd say. But it does describe its purpose, espec

[PATCH 2/3] regulator: Only free GPIOs if the core requested them

2018-11-22 Thread Charles Keepax
Currently, the regulator core will take ownership of any GPIO passed into it. Makes end driver code fairly error prone as the normal devm_ patterns of allocation don't work. Update the regulator core to only free the GPIO if it requested it, this allows the drivers to manage the GPIO lifetime as th

[PATCH 3/3] gpio: Add reference counting for non-exclusive GPIOs

2018-11-22 Thread Charles Keepax
Currently, a GPIO can be requested multiple times when the NONEXCLUSIVE flag is set, however it must still be freed a single time. This makes client code rather complex, since multiple drivers may request the GPIO but only a single one can free it. Rather than manually handling this in each driver

[PATCH 1/3] regulator: wm8994: Revert back to using devres

2018-11-22 Thread Charles Keepax
This reverts commit 466affa06703 ("regulator: wm8994: Don't use devres for enable GPIOs"). Whilst that did work around the issue in question there are complications on the error paths of regulator_register. In the success case clearly the regulator core owns the GPIO, however, in the failure case i

Re: [PATCH net-next] ptp: Fix pass zero to ERR_PTR() in ptp_clock_register

2018-11-22 Thread kbuild test robot
Hi YueHaibing, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/YueHaibing/ptp-Fix-pass-zero-to-ERR_PTR-in-ptp_clock_register/20181123-010251 config: x86_64-randconfig-x017-201846 (attached as .c

Re: [PATCH 0/6] devfreq: handle suspend/resume

2018-11-22 Thread Tobias Jakobi
Hey Lukasz, just wanted to say hi and thanks for picking this up. Sadly my work no longer permits me to spend time working on the kernel. Anyway, great that this issue finally gets solved! :) With best wishes, Tobias Lukasz Luba wrote: > Hi all, > > This patch set aims to address the issue wi

Re: [PATCH] execve.2: document an effect of BINPRM_BUF_SIZE increase to 256

2018-11-22 Thread Eugene Syromiatnikov
On Thu, Nov 22, 2018 at 04:59:24PM +0100, Michael Kerrisk (man-pages) wrote: > Hi Eugene, > > On Wed, 21 Nov 2018 at 17:07, Eugene Syromiatnikov wrote: > > > > Increase of BINPRM_BUF_SIZE to 256 increases the limit on the possible > > interpreter line length for scripts to 255. > > I don't see t

Re: [PATCH] regulator: core: do not put managed GPIOd:s

2018-11-22 Thread Charles Keepax
On Thu, Nov 22, 2018 at 05:04:21PM +0100, Linus Walleij wrote: > Some drivers have been converted to pass GPIO descriptors > rather than GPIO numbers to the regulator core. We should > not issue gpiod_put() on those descriptors, but rather > let the driver reference count it with devm_* if they so

Re: [PATCH] x86: only use ERMS for user copies for larger sizes

2018-11-22 Thread Linus Torvalds
On Thu, Nov 22, 2018 at 9:26 AM Andy Lutomirski wrote: > > So I think your patch is viable. Also, with that patch applied, > put_user_ex() should become worse than worthless Yes. I hate those special-case _ex variants. I guess I should just properly forward-port my patch series where the differ

RE: [PATCH] x86: only use ERMS for user copies for larger sizes

2018-11-22 Thread David Laight
From: Denys Vlasenko > Sent: 21 November 2018 13:44 ... > I also tested this while working for string ops code in musl. > > I think at least 128 bytes would be the minimum where "REP insn" > are more efficient. In my testing, it's more like 256 bytes... What happens for misaligned copies? I had a

Re: [PATCH 1/2] module: Overwrite st_size instead of st_info

2018-11-22 Thread Ard Biesheuvel
On Thu, 22 Nov 2018 at 17:29, Jessica Yu wrote: > > +++ Vincent Whitchurch [22/11/18 13:24 +0100]: > >On Thu, Nov 22, 2018 at 12:01:54PM +, Dave Martin wrote: > >> On Mon, Nov 19, 2018 at 05:25:12PM +0100, Vincent Whitchurch wrote: > >> > st_info is currently overwritten after relocation and u

Re: [PATCH 2/7] mfd / platform: cros_ec: move lightbar attributes to its own driver.

2018-11-22 Thread Guenter Roeck
Hi Enric, On Thu, Nov 22, 2018 at 12:33:51PM +0100, Enric Balletbo i Serra wrote: > The entire way how cros sysfs attibutes are created is broken. > cros_ec_lightbar should be its own driver and its attributes should be > associated with a lightbar driver not the mfd driver. In order to retain > t

Re: [PATCH 0/6] devfreq: handle suspend/resume

2018-11-22 Thread Lukasz Luba
Hi Tobias, On 11/22/18 6:24 PM, Tobias Jakobi wrote: > Hey Lukasz, > > just wanted to say hi and thanks for picking this up. Sadly my work no longer > permits me to spend time working on the kernel. Fingers crossed for your current work and maybe for come back to kernel development in the future!

Re: [PATCH 1/2] module: Overwrite st_size instead of st_info

2018-11-22 Thread Russell King - ARM Linux
On Thu, Nov 22, 2018 at 06:40:45PM +0100, Ard Biesheuvel wrote: > On Thu, 22 Nov 2018 at 17:29, Jessica Yu wrote: > > > > +++ Vincent Whitchurch [22/11/18 13:24 +0100]: > > >On Thu, Nov 22, 2018 at 12:01:54PM +, Dave Martin wrote: > > >> On Mon, Nov 19, 2018 at 05:25:12PM +0100, Vincent Whitch

Re: [patch 01/24] x86/speculation: Update the TIF_SSBD comment

2018-11-22 Thread Borislav Petkov
On Thu, Nov 22, 2018 at 11:30:04AM -0600, Josh Poimboeuf wrote: > But it does describe its purpose, especially in relation to the > 'spectre_v2=' option. Sure, but the thing I'm proposing spectre_v2_task_isol= describes it more precisely, IMHO. :) I.e., "enable/disable spectre v2 task isolation

Re: remove the ->mapping_error method from dma_map_ops V2

2018-11-22 Thread Robin Murphy
On 22/11/2018 17:09, Linus Torvalds wrote: On Thu, Nov 22, 2018 at 9:07 AM Russell King - ARM Linux wrote: I'm afraid that won't work very well - 32 bit platforms with 64-bit addresses (LPAE) would have dma_addr_t as a 64-bit value, which wouldn't fit into an unsigned long. Good point. So we

Re: [PATCH] x86: only use ERMS for user copies for larger sizes

2018-11-22 Thread Linus Torvalds
On Thu, Nov 22, 2018 at 9:36 AM David Laight wrote: > > The other problem with the ERMS copy is that it gets used > for copy_to/from_io() - and the 'rep movsb' on uncached > locations has to do byte copies. Ugh. I thought we changed that *long* ago, because even our non-ERMS copy is broken for PC

Re: [PATCH] fs/xfs: fix f_ffree value for statfs when project quota is set

2018-11-22 Thread Darrick J. Wong
On Thu, Nov 22, 2018 at 01:28:04PM +, dbyin(尹烨) wrote: > When project is set, we should use inode limit minus the used count > > Signed-off-by: Ye Yin This makes sense to me, but ... it's been broken like this since 2006. Is there a reason why (someone named Glen) wrote it this way? Reviewe

Re: [PATCH 0/7] ACPI HMAT memory sysfs representation

2018-11-22 Thread Dave Hansen
On 11/22/18 3:52 AM, Anshuman Khandual wrote: >> >> It sounds like the subset that's being exposed is insufficient for yo >> We did that because we think doing anything but a subset in sysfs will >> just blow up sysfs: MAX_NUMNODES is as high as 1024, so if we have 4 >> attributes, that's at _leas

Re: [PATCH] x86: only use ERMS for user copies for larger sizes

2018-11-22 Thread Andy Lutomirski
On Thu, Nov 22, 2018 at 9:53 AM Linus Torvalds wrote: > > On Thu, Nov 22, 2018 at 9:36 AM David Laight wrote: > > > > The other problem with the ERMS copy is that it gets used > > for copy_to/from_io() - and the 'rep movsb' on uncached > > locations has to do byte copies. > > Ugh. I thought we ch

Re: [PATCH v9 01/13] x86/resctrl: Rename and move rdt files to new directory

2018-11-22 Thread Borislav Petkov
On Wed, Nov 21, 2018 at 08:28:25PM +, Moger, Babu wrote: > New generation of AMD processors start supporting RDT(or QOS) > features. Together these features will be called as RESCTRL. > With more than one vendors supporting these features, it seems > more appropriate to rename these files. > >

Re: [PATCH 4.9 00/59] 4.9.139-stable review

2018-11-22 Thread Murilo Fossa Vicentini
On 22/11/18 14:33, Guenter Roeck wrote: drivers/net/ethernet/ibm/ibmvnic.c: In function 'ibmvnic_xmit': drivers/net/ethernet/ibm/ibmvnic.c:789:40: error: implicit declaration of function 'skb_vlan_tag_present' Caused by 5f51bb855fa1 ("ibmvnic: fix accelerated VLAN handling"). Problem is missin

Re: [PATCH 0/7] ACPI HMAT memory sysfs representation

2018-11-22 Thread Dan Williams
On Thu, Nov 22, 2018 at 3:52 AM Anshuman Khandual wrote: > > > > On 11/19/2018 11:07 PM, Dave Hansen wrote: > > On 11/18/18 9:44 PM, Anshuman Khandual wrote: > >> IIUC NUMA re-work in principle involves these functional changes > >> > >> 1. Enumerating compute and memory nodes in heterogeneous env

Re: perf tools: remove option --tail-synthesize ?

2018-11-22 Thread Song Liu
> On Nov 21, 2018, at 5:50 PM, Wangnan (F) wrote: > > > > On 2018/11/21 21:11, Arnaldo Carvalho de Melo wrote: >> Em Wed, Nov 21, 2018 at 07:45:28AM +, Song Liu escreveu: >>> Hi, >>> >>> I found perf-record --tail-synthesize without --overwrite breaks symbols >>> for perf-script, perf-r

[PATCH v1] arm64: dts: msm8998: thermal: split address space into two

2018-11-22 Thread Amit Kucheria
We added support to split the register address space for tsens into TM and SROT regions in 'Commit 5b1283984fa3 ("thermal: tsens: Add support to split up register address space into two")'. Split up the tsens address space for msm8998 since it has a similar register layout to other versions of the

Re: [RFC PATCH v4 1/5] glibc: Perform rseq(2) registration at nptl init and thread creation

2018-11-22 Thread Mathieu Desnoyers
- On Nov 22, 2018, at 11:24 AM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > On 22/11/18 15:33, Mathieu Desnoyers wrote: >> - On Nov 22, 2018, at 10:21 AM, Florian Weimer fwei...@redhat.com wrote: >>> Right, but in case of user-supplied stacks, we actually free TLS memory >>> at this point

Re: [PATCH v2 0/2] driver: thermal: Move some drivers into subdirs

2018-11-22 Thread Amit Kucheria
On Fri, Oct 26, 2018 at 2:21 PM Amit Kucheria wrote: > > Hi Rui, > > On Thu, Oct 4, 2018 at 1:22 PM Amit Kucheria wrote: > > > > Move the various drivers for Intel platforms into their own subdir. Also > > consolidate Qualcomm drivers into the qcom subdir. > > > > This cleans up the directory mak

Re: [PATCH 4/7] mfd / platform: cros_ec: move debugfs attributes to its own driver.

2018-11-22 Thread Guenter Roeck
On Thu, Nov 22, 2018 at 12:33:53PM +0100, Enric Balletbo i Serra wrote: > The entire way how cros debugfs attibutes are created is broken. > cros_ec_debugfs should be its own driver and its attributes should be > associated with a debugfs driver not the mfd driver. > > Signed-off-by: Enric Balletb

Re: [PATCH] x86: only use ERMS for user copies for larger sizes

2018-11-22 Thread Linus Torvalds
On Thu, Nov 22, 2018 at 10:07 AM Andy Lutomirski wrote: > > I'm not personally volunteering, but I suspect we can do much better > than we do now: > > - The new MOVDIRI and MOVDIR64B instructions can do big writes to WC > and UC memory. > > - MOVNTDQA can, I think, do 64-byte loads, but only fro

Re: [RFC PATCH v4 1/5] glibc: Perform rseq(2) registration at nptl init and thread creation

2018-11-22 Thread Rich Felker
On Thu, Nov 22, 2018 at 01:35:44PM -0500, Mathieu Desnoyers wrote: > - On Nov 22, 2018, at 11:24 AM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > > > On 22/11/18 15:33, Mathieu Desnoyers wrote: > >> - On Nov 22, 2018, at 10:21 AM, Florian Weimer fwei...@redhat.com > >> wrote: > >>> Right,

Re: [RCF PATCH,v2,2/2] pwm: imx: Configure output to GPIO in disabled state

2018-11-22 Thread Uwe Kleine-König
Hello Michal, On Thu, Nov 22, 2018 at 04:46:39PM +, Vokáč Michal wrote: > On 22.11.2018 17:23, Uwe Kleine-König wrote: > > On Thu, Nov 22, 2018 at 03:42:14PM +, Vokáč Michal wrote: > >> On 16.11.2018 09:25, Uwe Kleine-König wrote: > >>> On Fri, Nov 16, 2018 at 08:34:30AM +0100, Lothar Waßm

Re: [PATCH 4/4] mm: Stall movable allocations until kswapd progresses during serious external fragmentation event

2018-11-22 Thread Mel Gorman
On Thu, Nov 22, 2018 at 06:02:10PM +0100, Vlastimil Babka wrote: > On 11/21/18 11:14 AM, Mel Gorman wrote: > > An event that potentially causes external fragmentation problems has > > already been described but there are degrees of severity. A "serious" > > event is defined as one that steals a co

Re: [PATCH 5/7] mfd / platform: cros_ec: move device sysfs attributes to its own driver.

2018-11-22 Thread Guenter Roeck
On Thu, Nov 22, 2018 at 12:33:54PM +0100, Enric Balletbo i Serra wrote: > The entire way how cros debugfs attibutes are created is broken. > cros_ec_sysfs should be its own driver and its attributes should be > associated with the sysfs driver not the mfd driver. > > The patch also adds the sysfs

Re: [PATCH 6/7] mfd / platform: cros_ec: instantiate only if th EC has a VBC NVRAM.

2018-11-22 Thread Guenter Roeck
On Thu, Nov 22, 2018 at 12:33:55PM +0100, Enric Balletbo i Serra wrote: > The cros-ec-vbc driver is DT-only and there is a DT property that > indicates if the EC has the VCB NVRAM, in such case instantiate the > driver but don't instantiate on the other cases. > > To do this move the check code to

Re: [RFC PATCH v2] ptrace: add PTRACE_GET_SYSCALL_INFO request

2018-11-22 Thread Dmitry V. Levin
On Thu, Nov 22, 2018 at 06:55:29AM -0800, Andy Lutomirski wrote: > On Wed, Nov 21, 2018 at 3:56 PM Dmitry V. Levin wrote: > > On Wed, Nov 21, 2018 at 02:56:57PM -0800, Andy Lutomirski wrote: > > > Please cc linux-...@vger.kernel.org for future versions. > > > > > > On Wed, Nov 21, 2018 at 7:58 AM E

Re: [PATCH 7/7] platform/chrome: cros_ec_lightbar: instantiate only if the EC has a lightbar.

2018-11-22 Thread Guenter Roeck
On Thu, Nov 22, 2018 at 12:33:56PM +0100, Enric Balletbo i Serra wrote: > Due to the way attribute groups visibility work, the function > cros_ec_lightbar_attrs_are_visible is called multiple times, once per > attribute, and each of these calls makes an EC transaction. For what is > worth the EC lo

Re: [PATCH AUTOSEL 4.18 39/59] i2c: omap: Enable for ARCH_K3

2018-11-22 Thread Sasha Levin
On Thu, Nov 15, 2018 at 10:05:02AM +0530, Vignesh R wrote: Hi, On 15/11/18 3:53 AM, Sasha Levin wrote: From: Vignesh R [ Upstream commit 5b277402deac0691226a947df71c581686bd4020 ] This patch depends on c77245722fb4 ("arm64: Add support for TI's K3 Multicore SoC architecture") which adds ARC

Re: [PATCH AUTOSEL 4.19 32/73] ARM: dts: imx6sx-sdb: Fix enet phy regulator

2018-11-22 Thread Sasha Levin
On Thu, Nov 15, 2018 at 10:39:44AM +, Leonard Crestez wrote: On Wed, 2018-11-14 at 17:21 -0500, Sasha Levin wrote: From: Leonard Crestez [ Upstream commit 1ad9fb750a104f51851c092edd7b3553f0218428 ] Bindings for "fixed-regulator" only explicitly support "gpio" property, not "gpios". Fix by

Re: [PATCH AUTOSEL 4.18 31/39] clk: sunxi-ng: sun50i: h6: Add 2x fixed post-divider to MMC module clocks

2018-11-22 Thread Sasha Levin
On Tue, Nov 13, 2018 at 08:27:50PM +0800, Icenowy Zheng wrote: 于 2018年11月13日 GMT+08:00 下午1:50:45, Sasha Levin 写到: From: Icenowy Zheng [ Upstream commit c2ff8383cc33c2d9c169e4daf1e37a434c3bb420 ] On the H6, the MMC module clocks are fixed in the new timing mode, i.e. they do not have a bit

Re: [RFC PATCH v4 1/5] glibc: Perform rseq(2) registration at nptl init and thread creation

2018-11-22 Thread Mathieu Desnoyers
- On Nov 22, 2018, at 2:01 PM, Rich Felker dal...@libc.org wrote: > On Thu, Nov 22, 2018 at 01:35:44PM -0500, Mathieu Desnoyers wrote: >> - On Nov 22, 2018, at 11:24 AM, Szabolcs Nagy szabolcs.n...@arm.com >> wrote: >> >> > On 22/11/18 15:33, Mathieu Desnoyers wrote: >> >> - On Nov 2

Re: [PATCH] uprobes: Fix handle_swbp() vs. unregister() + register() race once more

2018-11-22 Thread Andrea Parri
On Thu, Nov 22, 2018 at 05:27:09PM +0100, Oleg Nesterov wrote: > On 11/22, Oleg Nesterov wrote: > > On 11/22, Andrea Parri wrote: > > > > > > Commit 142b18ddc8143 ("uprobes: Fix handle_swbp() vs unregister() + > > > register() race") added the UPROBE_COPY_INSN flag, and corresponding > > > smp_wmb(

Re: [PATCH AUTOSEL 3.18 1/9] bfs: add sanity check at bfs_fill_super()

2018-11-22 Thread Sasha Levin
On Tue, Nov 13, 2018 at 08:00:56PM +, Tigran Aivazian wrote: On Tue, 13 Nov 2018 at 19:40, Tigran Aivazian wrote: On Tue, 13 Nov 2018 at 08:31, Tigran Aivazian wrote: > Andrew, if you would like me to make the same patch against 4.19.1 as > well, please let me know. I decided to just go

Re: [PATCH AUTOSEL 3.18 1/9] bfs: add sanity check at bfs_fill_super()

2018-11-22 Thread Sasha Levin
On Tue, Nov 13, 2018 at 08:00:56PM +, Tigran Aivazian wrote: On Tue, 13 Nov 2018 at 19:40, Tigran Aivazian wrote: On Tue, 13 Nov 2018 at 08:31, Tigran Aivazian wrote: > Andrew, if you would like me to make the same patch against 4.19.1 as > well, please let me know. I decided to just go

Re: [PATCH 4.9 00/59] 4.9.139-stable review

2018-11-22 Thread Guenter Roeck
On 11/22/18 10:07 AM, Murilo Fossa Vicentini wrote: On 22/11/18 14:33, Guenter Roeck wrote: drivers/net/ethernet/ibm/ibmvnic.c: In function 'ibmvnic_xmit': drivers/net/ethernet/ibm/ibmvnic.c:789:40: error: implicit declaration of function 'skb_vlan_tag_present' Caused by 5f51bb855fa1 ("ibmvnic

[PATCH AUTOSEL 4.19 01/36] pinctrl: meson: fix pinconf bias disable

2018-11-22 Thread Sasha Levin
From: Jerome Brunet [ Upstream commit e39f9dd8206ad66992ac0e6218ef1ba746f2cce9 ] If a bias is enabled on a pin of an Amlogic SoC, calling .pin_config_set() with PIN_CONFIG_BIAS_DISABLE will not disable the bias. Instead it will force a pull-down bias on the pin. Instead of the pull type registe

[PATCH AUTOSEL 4.19 02/36] pinctrl: meson: fix gxbb ao pull register bits

2018-11-22 Thread Sasha Levin
From: Jerome Brunet [ Upstream commit 4bc51e1e350cd4707ce6e551a93eae26d40b9889 ] AO pull register definition is inverted between pull (up/down) and pull enable. Fixing this allows to properly apply bias setting through pinconf Fixes: 468c234f9ed7 ("pinctrl: amlogic: Add support for Amlogic Meso

[PATCH AUTOSEL 4.19 03/36] pinctrl: meson: fix gxl ao pull register bits

2018-11-22 Thread Sasha Levin
From: Jerome Brunet [ Upstream commit ed3a2b74f3eb34c84c8377353f4730f05acdfd05 ] AO pull register definition is inverted between pull (up/down) and pull enable. Fixing this allows to properly apply bias setting through pinconf Fixes: 0f15f500ff2c ("pinctrl: meson: Add GXL pinctrl definitions")

[PATCH AUTOSEL 4.19 06/36] tools/testing/nvdimm: Fix the array size for dimm devices.

2018-11-22 Thread Sasha Levin
From: Masayoshi Mizuma [ Upstream commit af31b04b67f4fd7f639fd465a507c154c46fc9fb ] KASAN reports following global out of bounds access while nfit_test is being loaded. The out of bound access happens the following reference to dimm_fail_cmd_flags[dimm]. 'dimm' is over than the index value, NUM_

[PATCH AUTOSEL 4.19 11/36] cpufreq: imx6q: add return value check for voltage scale

2018-11-22 Thread Sasha Levin
From: Anson Huang [ Upstream commit 6ef28a04d1ccf718eee069b72132ce4aa1e52ab9 ] Add return value check for voltage scale when ARM clock rate change fail. Signed-off-by: Anson Huang Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- drivers/cpufreq/imx6q-c

[PATCH AUTOSEL 4.19 04/36] pinctrl: meson: fix meson8 ao pull register bits

2018-11-22 Thread Sasha Levin
From: Jerome Brunet [ Upstream commit e91b162d2868672d06010f34aa83d408db13d3c6 ] AO pull register definition is inverted between pull (up/down) and pull enable. Fixing this allows to properly apply bias setting through pinconf Fixes: 6ac730951104 ("pinctrl: add driver for Amlogic Meson SoCs") S

[PATCH AUTOSEL 4.19 10/36] KVM: PPC: Move and undef TRACE_INCLUDE_PATH/FILE

2018-11-22 Thread Sasha Levin
From: Scott Wood [ Upstream commit 28c5bcf74fa07c25d5bd118d1271920f51ce2a98 ] TRACE_INCLUDE_PATH and TRACE_INCLUDE_FILE are used by , so like that #include, they should be outside #ifdef protection. They also need to be #undefed before defining, in case multiple trace headers are included by th

[PATCH AUTOSEL 4.19 08/36] scsi: hisi_sas: Remove set but not used variable 'dq_list'

2018-11-22 Thread Sasha Levin
From: YueHaibing [ Upstream commit e34ff8edcae89922d187425ab0b82e6a039aa371 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/scsi/hisi_sas/hisi_sas_v1_hw.c: In function 'start_delivery_v1_hw': drivers/scsi/hisi_sas/hisi_sas_v1_hw.c:907:20: warning: variable 'dq_list' set but not used [

[PATCH AUTOSEL 4.19 05/36] pinctrl: meson: fix meson8b ao pull register bits

2018-11-22 Thread Sasha Levin
From: Jerome Brunet [ Upstream commit a1705f02704cd8a24d434bfd0141ee8142ad277a ] AO pull register definition is inverted between pull (up/down) and pull enable. Fixing this allows to properly apply bias setting through pinconf Fixes: 0fefcb6876d0 ("pinctrl: Add support for Meson8b") Signed-off-

[PATCH AUTOSEL 4.19 12/36] rtc: cmos: Do not export alarm rtc_ops when we do not support alarms

2018-11-22 Thread Sasha Levin
From: Hans de Goede [ Upstream commit fbb974ba693bbfb4e24a62181ef16d4e45febc37 ] When there is no IRQ configured for the RTC, the rtc-cmos code does not support alarms, all alarm rtc_ops fail with -EIO / -EINVAL. The rtc-core expects a rtc driver which does not support rtc alarms to not have al

[PATCH AUTOSEL 4.19 21/36] ARM: clean up per-processor check_bugs method call

2018-11-22 Thread Sasha Levin
From: Russell King [ Upstream commit 945aceb1db8885d3a35790cf2e810f681db52756 ] Call the per-processor type check_bugs() method in the same way as we do other per-processor functions - move the "processor." detail into proc-fns.h. Reviewed-by: Julien Thierry Signed-off-by: Russell King Signed

[PATCH AUTOSEL 4.19 19/36] ARM: make lookup_processor_type() non-__init

2018-11-22 Thread Sasha Levin
From: Russell King [ Upstream commit 899a42f836678a595f7d2bc36a5a0c2b03d08cbc ] Move lookup_processor_type() out of the __init section so it is callable from (eg) the secondary startup code during hotplug. Reviewed-by: Julien Thierry Signed-off-by: Russell King Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 4.19 18/36] perf/x86/intel/uncore: Add more IMC PCI IDs for KabyLake and CoffeeLake CPUs

2018-11-22 Thread Sasha Levin
From: Kan Liang [ Upstream commit c10a8de0d32e95b0b8c7c17b6dc09baea5a5a899 ] KabyLake and CoffeeLake CPUs have the same client uncore events as SkyLake. Add the PCI IDs for the KabyLake Y, U, S processor lines and CoffeeLake U, H, S processor lines. Signed-off-by: Kan Liang Signed-off-by: Pet

[PATCH AUTOSEL 4.19 17/36] sched/fair: Fix cpu_util_wake() for 'execl' type workloads

2018-11-22 Thread Sasha Levin
From: Patrick Bellasi [ Upstream commit c469933e772132aad040bd6a2adc8edf9ad6f825 ] A ~10% regression has been reported for UnixBench's execl throughput test by Aaron Lu and Ye Xiaolong: https://lkml.org/lkml/2018/10/30/765 That test is pretty simple, it does a "recursive" execve() syscall on

[PATCH AUTOSEL 4.19 20/36] ARM: split out processor lookup

2018-11-22 Thread Sasha Levin
From: Russell King [ Upstream commit 65987a8553061515b5851b472081aedb9837a391 ] Split out the lookup of the processor type and associated error handling from the rest of setup_processor() - we will need to use this in the secondary CPU bringup path for big.Little Spectre variant 2 mitigation. R

[PATCH AUTOSEL 4.19 16/36] powerpc/io: Fix the IO workarounds code to work with Radix

2018-11-22 Thread Sasha Levin
From: Michael Ellerman [ Upstream commit 43c6494fa1499912c8177e71450c0279041152a6 ] Back in 2006 Ben added some workarounds for a misbehaviour in the Spider IO bridge used on early Cell machines, see commit 014da7ff47b5 ("[POWERPC] Cell "Spider" MMIO workarounds"). Later these were made to be ge

[PATCH AUTOSEL 4.19 27/36] RISC-V: Silence some module warnings on 32-bit

2018-11-22 Thread Sasha Levin
From: Olof Johansson [ Upstream commit ef3a61406618291c46da168ff91acaa28d85944c ] Fixes: arch/riscv/kernel/module.c: In function 'apply_r_riscv_32_rela': ./include/linux/kern_levels.h:5:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'Elf32

[PATCH AUTOSEL 4.19 23/36] ARM: spectre-v2: per-CPU vtables to work around big.Little systems

2018-11-22 Thread Sasha Levin
From: Russell King [ Upstream commit 383fb3ee8024d596f488d2dbaf45e572897acbdb ] In big.Little systems, some CPUs require the Spectre workarounds in paths such as the context switch, but other CPUs do not. In order to handle these differences, we need per-CPU vtables. We are unable to use the k

[PATCH AUTOSEL 4.19 26/36] riscv: add missing vdso_install target

2018-11-22 Thread Sasha Levin
From: David Abdurachmanov [ Upstream commit f157d411a9eb170d2ee6b766da7a381962017cc9 ] Building kernel 4.20 for Fedora as RPM fails, because riscv is missing vdso_install target in arch/riscv/Makefile. Signed-off-by: David Abdurachmanov Signed-off-by: Palmer Dabbelt Signed-off-by: Sasha Levin

[PATCH AUTOSEL 4.19 24/36] block: copy ioprio in __bio_clone_fast() and bounce

2018-11-22 Thread Sasha Levin
From: Hannes Reinecke [ Upstream commit ca474b73896bf6e0c1eb8787eb217b0f80221610 ] We need to copy the io priority, too; otherwise the clone will run with a different priority than the original one. Fixes: 43b62ce3ff0a ("block: move bio io prio to a new field") Signed-off-by: Hannes Reinecke S

[PATCH AUTOSEL 4.19 22/36] ARM: add PROC_VTABLE and PROC_TABLE macros

2018-11-22 Thread Sasha Levin
From: Russell King [ Upstream commit e209950fdd065d2cc46e6338e47e52841b830cba ] Allow the way we access members of the processor vtable to be changed at compile time. We will need to move to per-CPU vtables to fix the Spectre variant 2 issues on big.Little systems. However, we have a couple of

[PATCH AUTOSEL 4.19 33/36] z3fold: fix possible reclaim races

2018-11-22 Thread Sasha Levin
From: Vitaly Wool [ Upstream commit ca0246bb97c23da9d267c2107c07fb77e38205c9 ] Reclaim and free can race on an object which is basically fine but in order for reclaim to be able to map "freed" object we need to encode object length in the handle. handle_to_chunks() is then introduced to extract

[PATCH AUTOSEL 4.19 34/36] mm, memory_hotplug: check zone_movable in has_unmovable_pages

2018-11-22 Thread Sasha Levin
From: Michal Hocko [ Upstream commit 9d789c62c1a81129b76d2a6ecbc4655e1597 ] Page state checks are racy. Under a heavy memory workload (e.g. stress -m 200 -t 2h) it is quite easy to hit a race window when the page is allocated but its state is not fully populated yet. A debugging patch to

[PATCH AUTOSEL 4.19 30/36] NFSv4: Fix an Oops during delegation callbacks

2018-11-22 Thread Sasha Levin
From: Trond Myklebust [ Upstream commit e39d8a186ed002854196668cb7562ffdfbc6d379 ] If the server sends a CB_GETATTR or a CB_RECALL while the filesystem is being unmounted, then we can Oops when releasing the inode in nfs4_callback_getattr() and nfs4_callback_recall(). Signed-off-by: Trond Mykle

[PATCH AUTOSEL 4.19 35/36] tmpfs: make lseek(SEEK_DATA/SEK_HOLE) return ENXIO with a negative offset

2018-11-22 Thread Sasha Levin
From: Yufen Yu [ Upstream commit 1a413646931cb14442065cfc17561e50f5b5bb44 ] Other filesystems such as ext4, f2fs and ubifs all return ENXIO when lseek (SEEK_DATA or SEEK_HOLE) requests a negative offset. man 2 lseek says : EINVAL whence is not valid. Or: the resulting file offset wou

[PATCH AUTOSEL 4.14 12/21] ARM: clean up per-processor check_bugs method call

2018-11-22 Thread Sasha Levin
From: Russell King [ Upstream commit 945aceb1db8885d3a35790cf2e810f681db52756 ] Call the per-processor type check_bugs() method in the same way as we do other per-processor functions - move the "processor." detail into proc-fns.h. Reviewed-by: Julien Thierry Signed-off-by: Russell King Signed

[PATCH AUTOSEL 4.14 16/21] kdb: Use strscpy with destination buffer size

2018-11-22 Thread Sasha Levin
From: Prarit Bhargava [ Upstream commit c2b94c72d93d0929f48157eef128c4f9d2e603ce ] gcc 8.1.0 warns with: kernel/debug/kdb/kdb_support.c: In function ‘kallsyms_symbol_next’: kernel/debug/kdb/kdb_support.c:239:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-W

[PATCH AUTOSEL 4.14 04/21] cpufreq: imx6q: add return value check for voltage scale

2018-11-22 Thread Sasha Levin
From: Anson Huang [ Upstream commit 6ef28a04d1ccf718eee069b72132ce4aa1e52ab9 ] Add return value check for voltage scale when ARM clock rate change fail. Signed-off-by: Anson Huang Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- drivers/cpufreq/imx6q-c

[PATCH AUTOSEL 4.14 14/21] ARM: spectre-v2: per-CPU vtables to work around big.Little systems

2018-11-22 Thread Sasha Levin
From: Russell King [ Upstream commit 383fb3ee8024d596f488d2dbaf45e572897acbdb ] In big.Little systems, some CPUs require the Spectre workarounds in paths such as the context switch, but other CPUs do not. In order to handle these differences, we need per-CPU vtables. We are unable to use the k

[PATCH AUTOSEL 4.14 15/21] SUNRPC: Fix a bogus get/put in generic_key_to_expire()

2018-11-22 Thread Sasha Levin
From: Trond Myklebust [ Upstream commit e3d5e573a54dabdc0f9f3cb039d799323372b251 ] Signed-off-by: Trond Myklebust Signed-off-by: Sasha Levin --- net/sunrpc/auth_generic.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/net/sunrpc/auth_generic.c b/net/sunrpc/auth_gen

[PATCH AUTOSEL 4.14 01/21] pinctrl: meson: fix pinconf bias disable

2018-11-22 Thread Sasha Levin
From: Jerome Brunet [ Upstream commit e39f9dd8206ad66992ac0e6218ef1ba746f2cce9 ] If a bias is enabled on a pin of an Amlogic SoC, calling .pin_config_set() with PIN_CONFIG_BIAS_DISABLE will not disable the bias. Instead it will force a pull-down bias on the pin. Instead of the pull type registe

[PATCH AUTOSEL 4.14 02/21] scsi: NCR5380: Return false instead of NULL

2018-11-22 Thread Sasha Levin
From: Finn Thain [ Upstream commit 96edebd6bb995f2acb7694bed6e01bf6f5a7b634 ] I overlooked this statement when I recently converted the function result type from struct scsi_cmnd * to bool. No change to object code. Signed-off-by: Finn Thain Signed-off-by: Martin K. Petersen Signed-off-by: Sa

[PATCH AUTOSEL 4.14 11/21] ARM: split out processor lookup

2018-11-22 Thread Sasha Levin
From: Russell King [ Upstream commit 65987a8553061515b5851b472081aedb9837a391 ] Split out the lookup of the processor type and associated error handling from the rest of setup_processor() - we will need to use this in the secondary CPU bringup path for big.Little Spectre variant 2 mitigation. R

[PATCH AUTOSEL 4.19 36/36] mm, page_alloc: check for max order in hot path

2018-11-22 Thread Sasha Levin
From: Michal Hocko [ Upstream commit c63ae43ba53bc432b414fd73dd5f4b01fcb1ab43 ] Konstantin has noticed that kvmalloc might trigger the following warning: WARNING: CPU: 0 PID: 6676 at mm/vmstat.c:986 __fragmentation_index+0x54/0x60 [...] Call Trace: fragmentation_index+0x76/0x90 comp

[PATCH AUTOSEL 4.14 10/21] ARM: make lookup_processor_type() non-__init

2018-11-22 Thread Sasha Levin
From: Russell King [ Upstream commit 899a42f836678a595f7d2bc36a5a0c2b03d08cbc ] Move lookup_processor_type() out of the __init section so it is callable from (eg) the secondary startup code during hotplug. Reviewed-by: Julien Thierry Signed-off-by: Russell King Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 4.14 05/21] rtc: pcf2127: fix a kmemleak caused in pcf2127_i2c_gather_write

2018-11-22 Thread Sasha Levin
From: Xulin Sun [ Upstream commit 9bde0afb7a906f1dabdba37162551565740b862d ] pcf2127_i2c_gather_write() allocates memory as local variable for i2c_master_send(), after finishing the master transfer, the allocated memory should be freed. The kmemleak is reported: unreferenced object 0x80231e

[PATCH AUTOSEL 4.14 19/21] z3fold: fix possible reclaim races

2018-11-22 Thread Sasha Levin
From: Vitaly Wool [ Upstream commit ca0246bb97c23da9d267c2107c07fb77e38205c9 ] Reclaim and free can race on an object which is basically fine but in order for reclaim to be able to map "freed" object we need to encode object length in the handle. handle_to_chunks() is then introduced to extract

[PATCH AUTOSEL 4.14 17/21] powerpc/numa: Suppress "VPHN is not supported" messages

2018-11-22 Thread Sasha Levin
From: Satheesh Rajendran [ Upstream commit 437ccdc8ce629470babdda1a7086e2f477048cbd ] When VPHN function is not supported and during cpu hotplug event, kernel prints message 'VPHN function not supported. Disabling polling...'. Currently it prints on every hotplug event, it floods dmesg when a KV

[PATCH AUTOSEL 4.14 18/21] efi/arm: Revert deferred unmap of early memmap mapping

2018-11-22 Thread Sasha Levin
From: Ard Biesheuvel [ Upstream commit 33412b8673135b18ea42beb7f5117ed0091798b6 ] Commit: 3ea86495aef2 ("efi/arm: preserve early mapping of UEFI memory map longer for BGRT") deferred the unmap of the early mapping of the UEFI memory map to accommodate the ACPI BGRT code, which looks up the

[PATCH AUTOSEL 4.14 20/21] tmpfs: make lseek(SEEK_DATA/SEK_HOLE) return ENXIO with a negative offset

2018-11-22 Thread Sasha Levin
From: Yufen Yu [ Upstream commit 1a413646931cb14442065cfc17561e50f5b5bb44 ] Other filesystems such as ext4, f2fs and ubifs all return ENXIO when lseek (SEEK_DATA or SEEK_HOLE) requests a negative offset. man 2 lseek says : EINVAL whence is not valid. Or: the resulting file offset wou

[PATCH AUTOSEL 4.14 09/21] perf/x86/intel/uncore: Add more IMC PCI IDs for KabyLake and CoffeeLake CPUs

2018-11-22 Thread Sasha Levin
From: Kan Liang [ Upstream commit c10a8de0d32e95b0b8c7c17b6dc09baea5a5a899 ] KabyLake and CoffeeLake CPUs have the same client uncore events as SkyLake. Add the PCI IDs for the KabyLake Y, U, S processor lines and CoffeeLake U, H, S processor lines. Signed-off-by: Kan Liang Signed-off-by: Pet

[PATCH AUTOSEL 4.14 07/21] floppy: fix race condition in __floppy_read_block_0()

2018-11-22 Thread Sasha Levin
From: Jens Axboe [ Upstream commit de7b75d82f70c5469675b99ad632983c50b6f7e7 ] LKP recently reported a hang at bootup in the floppy code: [ 245.678853] INFO: task mount:580 blocked for more than 120 seconds. [ 245.679906] Tainted: GT 4.19.0-rc6-00172-ga9f38e1 #1 [ 245.68

[PATCH AUTOSEL 4.14 13/21] ARM: add PROC_VTABLE and PROC_TABLE macros

2018-11-22 Thread Sasha Levin
From: Russell King [ Upstream commit e209950fdd065d2cc46e6338e47e52841b830cba ] Allow the way we access members of the processor vtable to be changed at compile time. We will need to move to per-CPU vtables to fix the Spectre variant 2 issues on big.Little systems. However, we have a couple of

[PATCH AUTOSEL 3.18 1/7] cpufreq: imx6q: add return value check for voltage scale

2018-11-22 Thread Sasha Levin
From: Anson Huang [ Upstream commit 6ef28a04d1ccf718eee069b72132ce4aa1e52ab9 ] Add return value check for voltage scale when ARM clock rate change fail. Signed-off-by: Anson Huang Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- drivers/cpufreq/imx6q-c

  1   2   3   4   5   6   >