Re: [PATCH 11/17] cls_bpf: Convert to use idr_alloc_u32

2017-11-29 Thread Matthew Wilcox
On Tue, Nov 28, 2017 at 05:08:40PM -0800, Jakub Kicinski wrote: > On Tue, 28 Nov 2017 13:33:06 -0800, Matthew Wilcox wrote: > > + ret = idr_alloc_u32(&head->handle_idr, prog, &handle, > > + INT_MAX, GFP_KERNEL); > > + } else if (!oldprog) { > >

Re: [PATCH v5 next 1/5] modules:capabilities: add request_module_cap()

2017-11-29 Thread Theodore Ts'o
On Wed, Nov 29, 2017 at 10:58:16AM -0500, David Miller wrote: > That's not what we're talking about. > > We're talking about making sure that loading "ppp.ko" really gets > ppp.ko rather than some_other_module.ko renamed to ppp.ko via some > other mechanism. Right, and the best solution to this p

Re: linux-next: Signed-off-by missing for commits in the mfd-fixes tree

2017-11-29 Thread Lee Jones
On Wed, 29 Nov 2017, Johan Hovold wrote: > On Thu, Nov 30, 2017 at 01:43:05AM +1100, Stephen Rothwell wrote: > > Hi Lee, > > > > Commits > > > > 5f6bf7b9f96e ("mfd: twl4030-audio: Fix sibling-node lookup") > > 38c021ee7af3 ("mfd: twl6040: Fix child-node lookup") > > > > are missing a Signed

Re: [PATCH 1/3] scripts/kernel-doc: Don't fail with status != 0 if error encountered with -none

2017-11-29 Thread Will Deacon
On Wed, Nov 29, 2017 at 09:12:14AM -0700, Jonathan Corbet wrote: > On Wed, 29 Nov 2017 15:20:03 + > Will Deacon wrote: > > > My bisect scripts starting running into build failures when trying to > > compile 4.15-rc1 with the builds failing with things like: > > > > drivers/net/wireless/broad

Re: [PATCH 11/17] cls_bpf: Convert to use idr_alloc_u32

2017-11-29 Thread David Miller
From: Matthew Wilcox Date: Wed, 29 Nov 2017 08:29:16 -0800 > On Tue, Nov 28, 2017 at 05:08:40PM -0800, Jakub Kicinski wrote: >> On Tue, 28 Nov 2017 13:33:06 -0800, Matthew Wilcox wrote: >> > + ret = idr_alloc_u32(&head->handle_idr, prog, &handle, >> > +

[PATCH 0/4] Fix use after free in HPT resizing code and related minor improvements

2017-11-29 Thread Serhii Popovych
It is possible to trigger use after free during HPT resize causing host kernel to crash. More details and analysis of the problem can be found in change with corresponding subject (KVM: PPC: Book3S HV: Fix use after free in case of multiple resize requests). We need some changes to prepare for the

Re: [RFC V7 0/2] OPP: Allow OPP table to be used for power-domains

2017-11-29 Thread Rob Herring
On Tue, Nov 28, 2017 at 10:14 PM, Viresh Kumar wrote: > On 31-10-17, 18:17, Viresh Kumar wrote: >> Hi, >> >> Now that the performance state of PM domains are supported by the kernel >> (merged in linux-next), I am trying once again to define the bindings >> which we dropped until the code is merge

Re: [PATCH 09/13] MIPS: mscc: Add initial support for Microsemi MIPS SoCs

2017-11-29 Thread Alexandre Belloni
Hi Paul, On 28/11/2017 at 11:50:02 -0800, Paul Burton wrote: > On Tue, Nov 28, 2017 at 05:31:51PM +, James Hogan wrote: > > On Tue, Nov 28, 2017 at 05:53:59PM +0100, Alexandre Belloni wrote: > > > On 28/11/2017 at 16:01:38 +, James Hogan wrote: > > > > On Tue, Nov 28, 2017 at 04:26:39PM +0

[PATCH 1/4] KVM: PPC: Book3S HV: Drop prepare_done from struct kvm_resize_hpt and cleanups

2017-11-29 Thread Serhii Popovych
Replace ->prepare_done flag functionality with special handling of -EBUSY in ->error as indicator that allocation work is running. Besides cosmetics this reduces size of struct kvm_resize_hpt by __alignof__(struct kvm_hpt_info) and saves few bytes of code. While there correct comment in struct kv

[PATCH 3/4] KVM: PPC: Book3S HV: Fix use after free in case of multiple resize requests

2017-11-29 Thread Serhii Popovych
When serving multiple resize requests following could happen: CPU0CPU1 kvm_vm_ioctl_resize_hpt_prepare(1); -> schedule_work() /* system_rq might be busy: d

[PATCH 4/4] KVM: PPC: Book3S HV: Remove redundant parameter from resize_hpt_release()

2017-11-29 Thread Serhii Popovych
There is no need to pass it explicitly from the caller: struct kvm_resize_hpt already contains it. Additional benefit from this change is that BUG_ON() assertion now checks that mutex is held on kvm instance associated with resize structure we going to release. Also kill check for resize being NU

[PATCH 2/4] KVM: PPC: Book3S HV: Improve kvmppc_allocate_hpt()/kvmppc_free_hpt()

2017-11-29 Thread Serhii Popovych
There are several points of improvements: 1) Make kvmppc_free_hpt() check if allocation is made before attempt to release. This follows kfree(p) semantics where p == NULL. 2) Return initialized @info parameter from kvmppc_allocate_hpt() even if allocation fails. This allows to

Re: [Xen-devel] [PATCH] Xen/pciback: Implement PCI slot or bus reset with 'do_flr' SysFS attribute

2017-11-29 Thread Jan Beulich
>>> On 29.11.17 at 17:29, wrote: > On Wed, Nov 29, 2017 at 08:35:33AM -0700, Jan Beulich wrote: >> >>> On 29.11.17 at 16:08, wrote: >> > On 11/9/2017 2:28 AM, Jan Beulich wrote: >> > On 08.11.17 at 16:44, wrote: >> >>> On 11/7/2017 8:40 AM, Jan Beulich wrote: >> >>> On 06.11.17 at 18:48,

Re: [PATCHv2 0/4] x86: 5-level related changes into decompression code

2017-11-29 Thread Thomas Gleixner
On Wed, 29 Nov 2017, Kirill A. Shutemov wrote: > On Wed, Nov 29, 2017 at 04:49:08PM +0100, Borislav Petkov wrote: > > On Sat, Nov 11, 2017 at 01:06:41AM +0300, Kirill A. Shutemov wrote: > > > Hi Ingo, > > > > > > Here's updated changes that prepare the code to boot-time switching > > > between >

[PATCH] jsm_tty: Fix a possible null pointer dereference in two functions

2017-11-29 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 29 Nov 2017 17:30:36 +0100 Move two debug messages so that a null pointer access can not happen for the variable "ch" in these functions. This issue was detected by using the Coccinelle software. Fixes: 669fef464468d3f02d60a5cf725fc097e03c5cb8 ("serial: jsm: Conv

Re: [RFC V7 1/2] OPP: Allow OPP table to be used for power-domains

2017-11-29 Thread Rob Herring
On Tue, Oct 31, 2017 at 7:47 AM, Viresh Kumar wrote: > Power-domains can also have their active states and this patch enhances > the OPP binding to define those. > > The power domains can use the OPP bindings mostly as is. Though there > are some changes required to support special cases: > > - Al

Re: kasan: false use-after-scope warnings with KCOV

2017-11-29 Thread Andrey Ryabinin
On 11/28/2017 08:52 PM, Dmitry Vyukov wrote: > On Tue, Nov 28, 2017 at 4:24 PM, Mark Rutland wrote: > As a heads-up, I'm seeing a number of what appear to be false-positive > use-after-scope warnings when I enable both KCOV and KASAN (inline or > outline), > when using the Linaro

RE: [PATCH] x86/entry/64: Fix native_load_gs_index() SWAPGS handling with IRQ state tracing enabled

2017-11-29 Thread David Laight
From: Andy Lutomirski > Sent: 29 November 2017 16:23 > > I can't remember what happens when swapgs itself faults. ... > SWAPGS never faults. Ah yes, I remember, it only restores the offset. For 32bit processes you need to do a 'pop %gs' to recover the segment register itself - and that can fault.

Re: [PATCH 3/3] autofs - fix AT_NO_AUTOMOUNT not being honored

2017-11-29 Thread Mike Marion
On Wed, Nov 29, 2017 at 02:00:31PM +0800, Ian Kent wrote: > On 29/11/17 11:45, NeilBrown wrote: > > On Wed, Nov 29 2017, Ian Kent wrote: > > > >> Adding Al Viro to the Cc list as I believe Stephen Whitehouse and > >> Al have discussed something similar, please feel free to chime in > >> with your

Re: linux-next: Signed-off-by missing for commit in the omap tree

2017-11-29 Thread Tony Lindgren
* Stephen Rothwell [171128 22:32]: > Hi Tony, > > Commit > > 57af8b4f7b46 ("Revert "ARM: omap2plus: Run make savedefconfig again to save > some space"") > > is missing a Signed-off-by from its author or committer. > > Also, it is nice to put some reasoning in the commit message for a revert

Re: [PATCH] [RFC v3] packet: experimental support for 64-bit timestamps

2017-11-29 Thread Willem de Bruijn
> Thanks for the review! Any suggestions for how to do the testing? If you have > existing test cases, could you give my next version a test run to see if there > are any regressions and if the timestamps work as expected? > > I see that there are test cases in tools/testing/selftests/net/, but non

Re: [PATCH] x86/entry/64: Fix native_load_gs_index() SWAPGS handling with IRQ state tracing enabled

2017-11-29 Thread Andy Lutomirski
On Wed, Nov 29, 2017 at 8:22 AM, Andy Lutomirski wrote: > On Wed, Nov 29, 2017 at 6:56 AM, David Laight wrote: >> From: Andy Lutomirski >>> Sent: 29 November 2017 14:34 >>> > On Nov 29, 2017, at 4:47 AM, Peter Zijlstra wrote: >>> > >>> >> On Wed, Nov 29, 2017 at 08:09:51AM +0100, Ingo Molnar wro

[ANNOUNCE] 4.9.61-rt52

2017-11-29 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 4.9.61-rt52 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v4.9-rt Head SHA1: 90a44e3e7d9e94f96d8d6c2f70789f8eeb594ca8 Or to build 4.9.61-rt52 directl

Re: [PATCH] coresight: Use PTR_ERR_OR_ZERO()

2017-11-29 Thread Mathieu Poirier
On 28 November 2017 at 15:16, Vasyl Gomonovych wrote: > Fix ptr_ret.cocci warnings: > drivers/hwtracing/coresight/coresight-tpiu.c:163:1-3: WARNING: > PTR_ERR_OR_ZERO can be used > drivers/hwtracing/coresight/coresight-funnel.c:217:1-3: WARNING: > PTR_ERR_OR_ZERO can be used > drivers/hwtracing/

[ANNOUNCE] 4.4.97-rt111

2017-11-29 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 4.4.97-rt111 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v4.4-rt Head SHA1: 8a76c8160f17b98621e66686d042afdd7a981ece Or to build 4.4.97-rt111 direc

Re: [PATCH v2] KVM: VMX: Cache IA32_DEBUGCTL in memory

2017-11-29 Thread Jim Mattson
Thanks for doing this! Reviewed-by: Jim Mattson On Wed, Nov 29, 2017 at 1:31 AM, Wanpeng Li wrote: > From: Wanpeng Li > > MSR_IA32_DEBUGCTLMSR is zeroed on VMEXIT, so it is saved/restored > each time during world switch. Jim from Google pointed out that > when running schbench in L2, vmx_vcpu_

Re: [PATCHSET v2] cgroup, writeback, btrfs: make sure btrfs issues metadata IOs from the root cgroup

2017-11-29 Thread Jan Kara
Hi Tejun, What has happened with this patch set? Honza On Tue 10-10-17 08:54:36, Tejun Heo wrote: > Changes from the last version are > > * blkcg_root_css exported to fix build breakage on modular btrfs. > > * Use ext4_should_journal_data() test instead of > EXT4_MOUNT_JOURNAL_DATA. > > * S

Re: [PATCH v7 1/5] add infrastructure for tagging functions as error injectable

2017-11-29 Thread Daniel Borkmann
On 11/28/2017 09:02 PM, Josef Bacik wrote: > On Tue, Nov 28, 2017 at 11:58:41AM -0700, Jonathan Corbet wrote: >> On Wed, 22 Nov 2017 16:23:30 -0500 >> Josef Bacik wrote: >>> From: Josef Bacik >>> >>> Using BPF we can override kprob'ed functions and return arbitrary >>> values. Obviously this can

Re: [PATCH v2 1/2] pinctrl: Allow a device to indicate when to force a state

2017-11-29 Thread Tony Lindgren
* Florian Fainelli [171102 23:18]: > It may happen that a device needs to force applying a state, e.g: > because it only defines one state of pin states (default) but loses > power/register contents when entering low power modes. Add a > pinctrl_dev::flags bitmask to help describe future quirks an

Re: [PATCH v2 2/2] pinctrl: Allow indicating loss of pin states during low-power

2017-11-29 Thread Tony Lindgren
* Linus Walleij [171129 13:03]: > On Fri, Nov 3, 2017 at 12:15 AM, Florian Fainelli > wrote: > > > Some platforms (e.g: Broadcom STB: BMIPS_GENERIC/ARCH_BRCMSTB) will lose > > their register contents when entering their lower power state. In such a > > case, the pinctrl-single driver that is us

Re: [PATCH v3] scripts/package: snap-pkg target

2017-11-29 Thread Paolo Pisati
Weird, are you sure you are checking the snap version? $ /snap/bin/snapcraft --version snapcraft, version 2.35+git26.0474d85 $ snap info snapcraft name: snapcraft summary: easily create snaps publisher: canonical contact: snappy-canonical-storeacco...@canonical.com description: | Snapc

Re: [PATCHSET v2] cgroup, writeback, btrfs: make sure btrfs issues metadata IOs from the root cgroup

2017-11-29 Thread Tejun Heo
Hello, On Wed, Nov 29, 2017 at 05:56:08PM +0100, Jan Kara wrote: > What has happened with this patch set? No idea. cc'ing Chris directly. Chris, if the patchset looks good, can you please route them through the btrfs tree? Thanks. -- tejun

Re: [PATCH v3] arch: arm: mach-stm32: Fix copyright

2017-11-29 Thread Philippe Ombredanne
On Wed, Nov 29, 2017 at 4:25 PM, Benjamin Gaignard wrote: > Uniformize STMicroelectronics copyrights header > Add SPDX identifier > > Signed-off-by: Benjamin Gaignard > --- > arch/arm/mach-stm32/board-dt.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/mach-stm32/board-dt.c

Re: [PATCHSET v2] cgroup, writeback, btrfs: make sure btrfs issues metadata IOs from the root cgroup

2017-11-29 Thread Tejun Heo
On Wed, Nov 29, 2017 at 09:03:30AM -0800, Tejun Heo wrote: > Hello, > > On Wed, Nov 29, 2017 at 05:56:08PM +0100, Jan Kara wrote: > > What has happened with this patch set? > > No idea. cc'ing Chris directly. Chris, if the patchset looks good, > can you please route them through the btrfs tree?

Re: [PATCH v3] scripts/package: snap-pkg target

2017-11-29 Thread Paolo Pisati
On Wed, Nov 29, 2017 at 8:33 AM, Masahiro Yamada wrote: > > Worked for me too, > after updating snapcraft. > > > Is it really impossible to check the snapcraft version? > What is the minimum version? 2.35 ? The minimum version is 2.35+ - what is about to become 2.36 anytime soon now. -- bye, p

Re: [PATCH] clk: stm32-h7: fix copyright

2017-11-29 Thread Stephen Boyd
On 11/29, Benjamin Gaignard wrote: > Uniformize STMicroelectronics copyrights header > > Signed-off-by: Benjamin Gaignard > CC: Gabriel Fernandez > --- Can we get Gabriel's Ack on this please? > drivers/clk/clk-stm32h7.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --

Re: [PATCHv2 0/4] x86: 5-level related changes into decompression code

2017-11-29 Thread Kirill A. Shutemov
On Wed, Nov 29, 2017 at 05:40:32PM +0100, Thomas Gleixner wrote: > On Wed, 29 Nov 2017, Kirill A. Shutemov wrote: > > > On Wed, Nov 29, 2017 at 04:49:08PM +0100, Borislav Petkov wrote: > > > On Sat, Nov 11, 2017 at 01:06:41AM +0300, Kirill A. Shutemov wrote: > > > > Hi Ingo, > > > > > > > > Here'

Re: [PATCH v3 4/5] drm/rockchip: Add ROCKCHIP DW MIPI DSI controller driver

2017-11-29 Thread Brian Norris
On Tue, Nov 28, 2017 at 6:02 PM, Sean Paul wrote: > On Tue, Nov 28, 2017 at 02:55:41PM -0800, Brian Norris wrote: >> On Tue, Nov 28, 2017 at 12:48:43PM -0800, Matthias Kaehlcke wrote: >> > El Tue, Nov 28, 2017 at 07:20:05PM +0800 Nickey Yang ha dit: >> > >> > > Add the ROCKCHIP DSI controller driv

Re: [PATCH v3 3/3] virt: Add vboxguest driver for Virtual Box Guest integration

2017-11-29 Thread Philippe Ombredanne
On Wed, Nov 29, 2017 at 4:55 PM, Hans de Goede wrote: > diff --git a/drivers/virt/vboxguest/vboxguest_core.c > b/drivers/virt/vboxguest/vboxguest_core.c > new file mode 100644 > index ..631101578c2a > --- /dev/null > +++ b/drivers/virt/vboxguest/vboxguest_core.c > @@ -0,0 +1,1582 @@ >

[PATCH v2 0/8] Remove use of "gpio-reset" from DT

2017-11-29 Thread Andrew F. Davis
Hello all, I was working on fixing up the tlv320aic31xx driver when I noticed its gpio reset was not working, it was due to this driver looking for "gpio-reset" instead of the usual "reset-gpio". A quick check shows this mistake is rare and only copied by one other audio CODECs: $ git grep "reset

Re: [RFC PATCH] KVM: x86: Allow Qemu/KVM to use PVH entry point

2017-11-29 Thread Maran Wilson
On 11/29/2017 12:59 AM, Paolo Bonzini wrote: On 28/11/2017 20:34, Maran Wilson wrote: For certain applications it is desirable to rapidly boot a KVM virtual machine. In cases where legacy hardware and software support within the guest is not needed, Qemu should be able to boot directly into the

[PATCH v2 1/8] ASoC: tlv320aic31xx: Fix typo in DT binding documentation

2017-11-29 Thread Andrew F. Davis
The property used to specify a GPIO intended for reset is "reset-gpios", this binding uses "gpio-reset", as almost all other bindings use the former name this use of the latter was certainly not intended. It is not compatible with newer methods used to fetch GPIO pins and to prevent the spread of t

[PATCH v2 5/8] ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin

2017-11-29 Thread Andrew F. Davis
The correct DT property for specifying a GPIO used for reset is "reset-gpios", fix this here. Fixes: 4341881d0562 ("ARM: dts: Add devicetree for Gumstix Pepper board") Signed-off-by: Andrew F. Davis --- arch/arm/boot/dts/am335x-pepper.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH v2 6/8] ARM: dts: imx6: RDU2: Fix the audio CODEC's reset pin

2017-11-29 Thread Andrew F. Davis
The correct DT property for specifying a GPIO used for reset is "reset-gpios", fix this here. Fixes: d763762e3b58 ("ARM: dts: imx6: add ZII RDU2 boards") Signed-off-by: Andrew F. Davis --- arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --

[PATCH v2 7/8] ARM: dts: imx: Fix the audio CODEC's reset pin

2017-11-29 Thread Andrew F. Davis
The correct DT property for specifying a GPIO used for reset is "reset-gpios", fix this here. Fixes: 50bffb78e2ee ("ARM: dts: imx: add Gateworks Ventana GW5903 support") Signed-off-by: Andrew F. Davis --- arch/arm/boot/dts/imx6qdl-gw5903.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

[PATCH v2 2/8] ASoC: tlv320aic3x: Fix typo in DT binding documentation

2017-11-29 Thread Andrew F. Davis
The property used to specify a GPIO intended for reset is "reset-gpios", this binding uses "gpio-reset", as almost all other bindings use the former name this use of the latter was certainly not intended. It is not compatible with newer methods used to fetch GPIO pins and to prevent the spread of t

[PATCH v2 3/8] ASoC: tlv320aic31xx: Fix the reset GPIO OF name

2017-11-29 Thread Andrew F. Davis
The correct DT property for specifying a GPIO used for reset is "reset-gpios", fix this here. Fixes: e00447fafbf7 ("ASoC: tlv320aic31xx: Add basic codec driver implementation") Signed-off-by: Andrew F. Davis --- sound/soc/codecs/tlv320aic31xx.c | 11 +-- 1 file changed, 9 insertions(+)

[PATCH v2 4/8] ASoC: tlv320aic3x: Fix the reset GPIO OF name

2017-11-29 Thread Andrew F. Davis
The correct DT property for specifying a GPIO used for reset is "reset-gpios", fix this here. Fixes: c24fdc886fde ("ASoC: tlv320aic3x: Add device tree bindings") Signed-off-by: Andrew F. Davis --- sound/soc/codecs/tlv320aic3x.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions

Re: [RFC PATCH] KVM: x86: Allow Qemu/KVM to use PVH entry point

2017-11-29 Thread Paolo Bonzini
On 29/11/2017 18:14, Maran Wilson wrote: > That is one option. I guess this gets into a discussion about the QEMU > side of the upcoming patches that would follow ... > > I'm currently just initializing the CPU state in QEMU for testing since > there is such minimal (non Linux specific) setup that

[PATCH v2 8/8] ARM: dts: omap3-n900: Fix the audio CODEC's reset pin

2017-11-29 Thread Andrew F. Davis
The correct DT property for specifying a GPIO used for reset is "reset-gpios", fix this here. Fixes: 14e3e295b2b9 ("ARM: dts: omap3-n900: Add TLV320AIC3X support") Signed-off-by: Andrew F. Davis --- arch/arm/boot/dts/omap3-n900.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH 2/3] kbuild: add cc-if-name-version and compiler-specific variants

2017-11-29 Thread Nick Desaulniers
We could use something like this to warn people trying to build the kernel with clang-3.8 for instance.

Re: [PATCH v4] perf tools: Add ARM Statistical Profiling Extensions (SPE) support

2017-11-29 Thread Kim Phillips
Hi Arnaldo, Just got off the phone with Mark, who said he's at least a couple of weeks away from reviewing this. The SPE kernel-side PMU driver is already in Linus' tree, destined to be in the 4.15 release (commit d5d9696b0380 "drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

[PATCH AUTOSEL for 4.9 15/52] ARM: OMAP2+: Release device node after it is no longer needed.

2017-11-29 Thread alexander . levin
From: Guenter Roeck [ Upstream commit b92675d998a9fa37fe9e0e35053a95b4a23c158b ] The device node returned by of_find_node_by_name() needs to be released after it is no longer needed to avoid a device node leak. Signed-off-by: Guenter Roeck Signed-off-by: Tony Lindgren Signed-off-by: Sasha Lev

[PATCH AUTOSEL for 4.9 28/52] scsi: lpfc: Fix crash during Hardware error recovery on SLI3 adapters

2017-11-29 Thread alexander . levin
From: James Smart [ Upstream commit 5d181531bc6169e19a02a27d202cf0e982db9d0e ] if REG_VPI fails, the driver was incorrectly issuing INIT_VFI (a SLI4 command) on a SLI3 adapter. Signed-off-by: Dick Kennedy Signed-off-by: James Smart Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin

[PATCH AUTOSEL for 4.9 24/52] kvm: nVMX: VMCLEAR should not cause the vCPU to shut down

2017-11-29 Thread alexander . levin
From: Jim Mattson [ Upstream commit 587d7e72aedca91cee80c0a56811649c3efab765 ] VMCLEAR should silently ignore a failure to clear the launch state of the VMCS referenced by the operand. Signed-off-by: Jim Mattson [Changed "kvm_write_guest(vcpu->kvm" to "kvm_vcpu_write_guest(vcpu".] Signed-off-b

[PATCH AUTOSEL for 4.4 28/32] netfilter: don't track fragmented packets

2017-11-29 Thread alexander . levin
From: Florian Westphal [ Upstream commit 7b4fdf77a450ec0fdcb2f677b080ddbf2c186544 ] Andrey reports syzkaller splat caused by NF_CT_ASSERT(!ip_is_fragment(ip_hdr(skb))); in ipv4 nat. But this assertion (and the comment) are wrong, this function does see fragments when IP_NODEFRAG setsockopt is

[PATCH AUTOSEL for 4.9 17/52] gpio: altera: Use handle_level_irq when configured as a level_high

2017-11-29 Thread alexander . levin
From: Phil Reid [ Upstream commit f759921cfbf4847319d197a6ed7c9534d593f8bc ] When a threaded irq handler is chained attached to one of the gpio pins when configure for level irq the altera_gpio_irq_leveL_high_handler does not mask the interrupt while being handled by the chained irq. This result

[PATCH AUTOSEL for 4.4 05/32] module: set __jump_table alignment to 8

2017-11-29 Thread alexander . levin
From: David Daney [ Upstream commit ab42632156becd35d3884ee5c14da2bedbf3149a ] For powerpc the __jump_table section in modules is not aligned, this causes a WARN_ON() splat when loading a module containing a __jump_table. Strict alignment became necessary with commit 3821fd35b58d ("jump_label:

[PATCH] staging: pi433: fix include asm/compat.h to linux/compat.h

2017-11-29 Thread Victor Carvalho
staging: pi433: fix include asm/compat.h to linux/compat.h Signed-off-by: Victor Carvalho --- drivers/staging/pi433/pi433_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 3404cb9722c9..763104760650

[PATCH AUTOSEL for 4.4 09/32] HID: chicony: Add support for another ASUS Zen AiO keyboard

2017-11-29 Thread alexander . levin
From: Daniel Drake [ Upstream commit f2f10b7e722a75c6d75a7f7cd06b0eee3ae20f7c ] Add support for media keys on the keyboard that comes with the Asus V221ID and ZN241IC All In One computers. The keys to support here are WLAN, BRIGHTNESSDOWN and BRIGHTNESSUP. This device is not visibly branded as

[PATCH AUTOSEL for 3.18 14/16] i2c: riic: fix restart condition

2017-11-29 Thread alexander . levin
From: Chris Brandt [ Upstream commit 2501c1bb054290679baad0ff7f4f07c714251f4c ] While modifying the driver to use the STOP interrupt, the completion of the intermediate transfers need to wake the driver back up in order to initiate the next transfer (restart condition). Otherwise you get never e

Re: [RFC PATCH] KVM: x86: Allow Qemu/KVM to use PVH entry point

2017-11-29 Thread Maran Wilson
On 11/29/2017 12:21 AM, Juergen Gross wrote: On 28/11/17 20:34, Maran Wilson wrote: For certain applications it is desirable to rapidly boot a KVM virtual machine. In cases where legacy hardware and software support within the guest is not needed, Qemu should be able to boot directly into the un

[PATCH ipsec] xfrm: fix XFRMA_OUTPUT_MARK policy entry

2017-11-29 Thread Michal Kubecek
This seems to be an obvious typo, NLA_U32 is type of the attribute, not its (minimal) length. Fixes: 077fbac405bf ("net: xfrm: support setting an output mark.") Signed-off-by: Michal Kubecek --- net/xfrm/xfrm_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/xfrm/xfr

Re: [Xen-devel] [PATCH] Xen/pciback: Implement PCI slot or bus reset with 'do_flr' SysFS attribute

2017-11-29 Thread Govinda Tatti
Furthermore, contrary to what you claim in your reply to Pasi, I can't see where you try an actual FLR first - you go straight to pci_probe_reset_{slot,bus}(). If you actually tried FLR first, only falling back to the other methods as "emulation", I could certainly agree with the file name chose

[PATCH AUTOSEL for 3.18 12/16] ipv6: reorder icmpv6_init() and ip6_mr_init()

2017-11-29 Thread alexander . levin
From: WANG Cong [ Upstream commit 15e668070a64bb97f102ad9cf3bccbca0545cda8 ] Andrey reported the following kernel crash: kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linke

Re: [PATCH net-next 0/3] rxrpc: Fixes

2017-11-29 Thread David Howells
David Miller wrote: > This email says "net-next", yet your patches say "net". Sorry about that - it should be 'net'. I copied an old cover note. All the patches have a macro substitution, but the cover note does not. Do you want me to repost? David

[PATCH AUTOSEL for 3.18 16/16] EDAC, i5000, i5400: Fix use of MTR_DRAM_WIDTH macro

2017-11-29 Thread alexander . levin
From: Jérémy Lefaure [ Upstream commit e61555c29c28a4a3b6ba6207f4a0883ee236004d ] The MTR_DRAM_WIDTH macro returns the data width. It is sometimes used as if it returned a boolean true if the width if 8. Fix the tests where MTR_DRAM_WIDTH is misused. Signed-off-by: Jérémy Lefaure Cc: linux-eda

[PATCH AUTOSEL for 4.4 32/32] EDAC, i5000, i5400: Fix use of MTR_DRAM_WIDTH macro

2017-11-29 Thread alexander . levin
From: Jérémy Lefaure [ Upstream commit e61555c29c28a4a3b6ba6207f4a0883ee236004d ] The MTR_DRAM_WIDTH macro returns the data width. It is sometimes used as if it returned a boolean true if the width if 8. Fix the tests where MTR_DRAM_WIDTH is misused. Signed-off-by: Jérémy Lefaure Cc: linux-eda

[PATCH AUTOSEL for 3.18 08/16] KVM: nVMX: reset nested_run_pending if the vCPU is going to be reset

2017-11-29 Thread alexander . levin
From: Wanpeng Li [ Upstream commit 2f707d97982286b307ef2a9b034e19aabc1abb56 ] Reported by syzkaller: WARNING: CPU: 1 PID: 27742 at arch/x86/kvm/vmx.c:11029 nested_vmx_vmexit+0x5c35/0x74d0 arch/x86/kvm/vmx.c:11029 CPU: 1 PID: 27742 Comm: a.out Not tainted 4.10.0+ #229 Hardware na

Re: [PATCH 3/3] arm64: use -mno-implicit-float instead of -mgeneral-regs-only

2017-11-29 Thread Nick Desaulniers
On Wed, Nov 29, 2017 at 8:22 AM, Sami Tolvanen wrote: > On Wed, Nov 29, 2017 at 12:15:14PM +, Ard Biesheuvel wrote: >> Do we still need these patches now that the AES code has been fixed? > > With your AES patch that Herbert just applied, this patch is no longer > needed. Version macros in the

[PATCH AUTOSEL for 3.18 03/16] USB: gadgetfs: Fix a potential memory leak in 'dev_config()'

2017-11-29 Thread alexander . levin
From: Christophe JAILLET [ Upstream commit b6e7aeeaf235901c42ec35de4633c7c69501d303 ] 'kbuf' is allocated just a few lines above using 'memdup_user()'. If the 'if (dev->buf)' test fails, this memory is never released. Signed-off-by: Christophe JAILLET Signed-off-by: Felipe Balbi Signed-off-by

[PATCH AUTOSEL for 3.18 01/16] selftest/powerpc: Fix false failures for skipped tests

2017-11-29 Thread alexander . levin
From: Sachin Sant [ Upstream commit a6d8a21596df041f36f4c2ccc260c459e3e851f1 ] Tests under alignment subdirectory are skipped when executed on previous generation hardware, but harness still marks them as failed. test: test_copy_unaligned tags: git_version:unknown [SKIP] Test skipped on l

[PATCH AUTOSEL for 3.18 04/16] libata: drop WARN from protocol error in ata_sff_qc_issue()

2017-11-29 Thread alexander . levin
From: Tejun Heo [ Upstream commit 0580b762a4d6b70817476b90042813f8573283fa ] ata_sff_qc_issue() expects upper layers to never issue commands on a command protocol that it doesn't implement. While the assumption holds fine with the usual IO path, nothing filters based on the command protocol in

[PATCH AUTOSEL for 4.4 20/32] spi_ks8995: fix "BUG: key accdaa28 not in .data!"

2017-11-29 Thread alexander . levin
From: "Blomme, Maarten" [ Upstream commit 4342696df764ec65dcdfbd0c10d90ea52505f8ba ] Signed-off-by: Maarten Blomme Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/phy/spi_ks8995.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/spi_ks8995.c b/dri

[PATCH AUTOSEL for 4.4 31/32] powerpc/powernv/ioda2: Gracefully fail if too many TCE levels requested

2017-11-29 Thread alexander . levin
From: Alexey Kardashevskiy [ Upstream commit 7aafac11e308d37ed3c509829bb43d80c1811ac3 ] The IODA2 specification says that a 64 DMA address cannot use top 4 bits (3 are reserved and one is a "TVE select"); bottom page_shift bits cannot be used for multilevel table addressing either. The existing

[PATCH AUTOSEL for 3.18 07/16] irqchip/crossbar: Fix incorrect type of register size

2017-11-29 Thread alexander . levin
From: Franck Demathieu [ Upstream commit 4b9de5da7e120c7f02395da729f0ec77ce7a6044 ] The 'size' variable is unsigned according to the dt-bindings. As this variable is used as integer in other places, create a new variable that allows to fix the following sparse issue (-Wtypesign): drivers/irqc

[PATCH AUTOSEL for 4.4 12/32] kvm: nVMX: VMCLEAR should not cause the vCPU to shut down

2017-11-29 Thread alexander . levin
From: Jim Mattson [ Upstream commit 587d7e72aedca91cee80c0a56811649c3efab765 ] VMCLEAR should silently ignore a failure to clear the launch state of the VMCS referenced by the operand. Signed-off-by: Jim Mattson [Changed "kvm_write_guest(vcpu->kvm" to "kvm_vcpu_write_guest(vcpu".] Signed-off-b

Re: [PATCH v5 next 1/5] modules:capabilities: add request_module_cap()

2017-11-29 Thread Serge E. Hallyn
Quoting Theodore Ts'o (ty...@mit.edu): > Half the problem here is that with containers, people are changing the > security model, because they want to let untrusted users have "root", > without really having "root". Part of the fundamental problem is that > there are some well-meaning, but fundame

[PATCH 1/2] switchtec: Added Global Fabric Manager Server (GFMS) event

2017-11-29 Thread Logan Gunthorpe
Add a new event type that is newly exposed by recent firmware. The event will never occur if the firmware is too old. If user space tries to use this event in an older kernel, it will just get an EINVAL which is perfectly acceptable in the existing user space code. Signed-off-by: Logan Gunthorpe

[PATCH AUTOSEL for 4.4 11/32] USB: gadgetfs: Fix a potential memory leak in 'dev_config()'

2017-11-29 Thread alexander . levin
From: Christophe JAILLET [ Upstream commit b6e7aeeaf235901c42ec35de4633c7c69501d303 ] 'kbuf' is allocated just a few lines above using 'memdup_user()'. If the 'if (dev->buf)' test fails, this memory is never released. Signed-off-by: Christophe JAILLET Signed-off-by: Felipe Balbi Signed-off-by

[PATCH 2/2] switchtec: Add device IDs for PSX 24xG3 and PSX 48xG3

2017-11-29 Thread Logan Gunthorpe
From: Kelvin Cao These are valid devices that were missing from the existing device ID table for the Switchtec driver. Signed-off-by: Kelvin Cao Signed-off-by: Logan Gunthorpe # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message a

[PATCH 0/2] Switchtec Updates

2017-11-29 Thread Logan Gunthorpe
Hi Bjorn, Blease accept the following two patches. The first adds a couple more device IDs for the Switchtec driver. The second adds a new event type for it to report. Thanks, Logan Kelvin Cao (1): switchtec: Add device IDs for PSX 24xG3 and PSX 48xG3 Logan Gunthorpe (1): switchtec: Added

[PATCH AUTOSEL for 3.18 11/16] bnx2x: fix possible overrun of VFPF multicast addresses array

2017-11-29 Thread alexander . levin
From: Michal Schmidt [ Upstream commit 22118d861cec5da6ed525aaf12a3de9bfeffc58f ] It is too late to check for the limit of the number of VF multicast addresses after they have already been copied to the req->multicast[] array, possibly overflowing it. Do the check before copying. Also fix the

[PATCH AUTOSEL for 3.18 13/16] crypto: s5p-sss - Fix completing crypto request in IRQ handler

2017-11-29 Thread alexander . levin
From: Krzysztof Kozlowski [ Upstream commit 07de4bc88ce6a4d898cad9aa4c99c1df7e87702d ] In a regular interrupt handler driver was finishing the crypt/decrypt request by calling complete on crypto request. This is disallowed since converting to skcipher in commit b286d8b1a690 ("crypto: skcipher -

[PATCH AUTOSEL for 3.18 10/16] spi_ks8995: fix "BUG: key accdaa28 not in .data!"

2017-11-29 Thread alexander . levin
From: "Blomme, Maarten" [ Upstream commit 4342696df764ec65dcdfbd0c10d90ea52505f8ba ] Signed-off-by: Maarten Blomme Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/phy/spi_ks8995.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/spi_ks8995.c b/dri

[PATCH AUTOSEL for 4.4 10/32] usb: gadget: configs: plug memory leak

2017-11-29 Thread alexander . levin
From: John Keeping [ Upstream commit 38355b2a44776c25b0f2ad466e8c51bb805b3032 ] When binding a gadget to a device, "name" is stored in gi->udc_name, but this does not happen when unregistering and the string is leaked. Signed-off-by: John Keeping Signed-off-by: Felipe Balbi Signed-off-by: Sas

[PATCH AUTOSEL for 3.18 09/16] arm: KVM: Survive unknown traps from guests

2017-11-29 Thread alexander . levin
From: Mark Rutland [ Upstream commit f050fe7a9164945dd1c28be05bf00e8cfb082ccf ] Currently we BUG() if we see a HSR.EC value we don't recognise. As configurable disables/enables are added to the architecture (controlled by RES1/RES0 bits respectively), with associated synchronous exceptions, it m

[PATCH AUTOSEL for 3.18 15/16] axonram: Fix gendisk handling

2017-11-29 Thread alexander . levin
From: Jan Kara [ Upstream commit 672a2c87c83649fb0167202342ce85af9a3b4f1c ] It is invalid to call del_gendisk() when disk->queue is NULL. Fix error handling in axon_ram_probe() to avoid doing that. Also del_gendisk() does not drop a reference to gendisk allocated by alloc_disk(). That has to be

[PATCH AUTOSEL for 4.4 15/32] scsi: lpfc: Fix crash during Hardware error recovery on SLI3 adapters

2017-11-29 Thread alexander . levin
From: James Smart [ Upstream commit 5d181531bc6169e19a02a27d202cf0e982db9d0e ] if REG_VPI fails, the driver was incorrectly issuing INIT_VFI (a SLI4 command) on a SLI3 adapter. Signed-off-by: Dick Kennedy Signed-off-by: James Smart Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin

Re: [PATCH v2] KVM: VMX: Cache IA32_DEBUGCTL in memory

2017-11-29 Thread David Hildenbrand
On 29.11.2017 10:31, Wanpeng Li wrote: > From: Wanpeng Li > > MSR_IA32_DEBUGCTLMSR is zeroed on VMEXIT, so it is saved/restored > each time during world switch. Jim from Google pointed out that > when running schbench in L2, vmx_vcpu_run will occupy 4% cpu time, > and the 25% of vmx_vcpu_run c

[PATCH AUTOSEL for 4.4 16/32] irqchip/crossbar: Fix incorrect type of register size

2017-11-29 Thread alexander . levin
From: Franck Demathieu [ Upstream commit 4b9de5da7e120c7f02395da729f0ec77ce7a6044 ] The 'size' variable is unsigned according to the dt-bindings. As this variable is used as integer in other places, create a new variable that allows to fix the following sparse issue (-Wtypesign): drivers/irqc

[PATCH AUTOSEL for 4.4 18/32] arm: KVM: Survive unknown traps from guests

2017-11-29 Thread alexander . levin
From: Mark Rutland [ Upstream commit f050fe7a9164945dd1c28be05bf00e8cfb082ccf ] Currently we BUG() if we see a HSR.EC value we don't recognise. As configurable disables/enables are added to the architecture (controlled by RES1/RES0 bits respectively), with associated synchronous exceptions, it m

[PATCH AUTOSEL for 3.18 06/16] scsi: lpfc: Fix crash during Hardware error recovery on SLI3 adapters

2017-11-29 Thread alexander . levin
From: James Smart [ Upstream commit 5d181531bc6169e19a02a27d202cf0e982db9d0e ] if REG_VPI fails, the driver was incorrectly issuing INIT_VFI (a SLI4 command) on a SLI3 adapter. Signed-off-by: Dick Kennedy Signed-off-by: James Smart Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin

[PATCH AUTOSEL for 4.4 17/32] KVM: nVMX: reset nested_run_pending if the vCPU is going to be reset

2017-11-29 Thread alexander . levin
From: Wanpeng Li [ Upstream commit 2f707d97982286b307ef2a9b034e19aabc1abb56 ] Reported by syzkaller: WARNING: CPU: 1 PID: 27742 at arch/x86/kvm/vmx.c:11029 nested_vmx_vmexit+0x5c35/0x74d0 arch/x86/kvm/vmx.c:11029 CPU: 1 PID: 27742 Comm: a.out Not tainted 4.10.0+ #229 Hardware na

[PATCH AUTOSEL for 3.18 02/16] usb: gadget: configs: plug memory leak

2017-11-29 Thread alexander . levin
From: John Keeping [ Upstream commit 38355b2a44776c25b0f2ad466e8c51bb805b3032 ] When binding a gadget to a device, "name" is stored in gi->udc_name, but this does not happen when unregistering and the string is leaked. Signed-off-by: John Keeping Signed-off-by: Felipe Balbi Signed-off-by: Sas

[PATCH AUTOSEL for 4.4 30/32] drm/amd/amdgpu: fix console deadlock if late init failed

2017-11-29 Thread alexander . levin
From: Jim Qu [ Upstream commit c085bd5119d5d0bdf3ef591a5563566be7dedced ] Signed-off-by: Jim Qu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --g

[PATCH AUTOSEL for 3.18 05/16] workqueue: trigger WARN if queue_delayed_work() is called with NULL @wq

2017-11-29 Thread alexander . levin
From: Tejun Heo [ Upstream commit 637fdbae60d6cb9f6e963c1079d7e0445c86ff7d ] If queue_delayed_work() gets called with NULL @wq, the kernel will oops asynchronuosly on timer expiration which isn't too helpful in tracking down the offender. This actually happened with smc. __queue_delayed_work()

[PATCH AUTOSEL for 4.4 29/32] axonram: Fix gendisk handling

2017-11-29 Thread alexander . levin
From: Jan Kara [ Upstream commit 672a2c87c83649fb0167202342ce85af9a3b4f1c ] It is invalid to call del_gendisk() when disk->queue is NULL. Fix error handling in axon_ram_probe() to avoid doing that. Also del_gendisk() does not drop a reference to gendisk allocated by alloc_disk(). That has to be

[PATCH AUTOSEL for 4.4 26/32] i2c: riic: fix restart condition

2017-11-29 Thread alexander . levin
From: Chris Brandt [ Upstream commit 2501c1bb054290679baad0ff7f4f07c714251f4c ] While modifying the driver to use the STOP interrupt, the completion of the intermediate transfers need to wake the driver back up in order to initiate the next transfer (restart condition). Otherwise you get never e

Re: [PATCH 3/5] PCI: cadence: Add host driver for Cadence PCIe controller

2017-11-29 Thread Lorenzo Pieralisi
On Thu, Nov 23, 2017 at 04:01:48PM +0100, Cyrille Pitchen wrote: > This patch adds support to the Cadence PCIe controller in host mode. Bjorn already commented on this, it would be good to add some of the cover letter details in this log. > Signed-off-by: Cyrille Pitchen > --- > drivers/Makefil

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