Re: [PATCH] USB: input: powermate: fix oops with malicious USB descriptors

2016-03-14 Thread Greg Kroah-Hartman
On Mon, Mar 14, 2016 at 10:12:53AM -0400, Josh Boyer wrote: > The powermate driver expects at least one valid USB endpoint in its > probe function. If given malicious descriptors that specify 0 for > the number of endpoints, it will crash. Validate the number of > endpoints on the interface befor

Re: [PATCH v3 0/8] arm64: rockchip: Initial GeekBox enablement

2016-03-14 Thread Giuseppe CAVALLARO
Hi Tomeu On 3/14/2016 12:43 PM, Tomeu Vizoso wrote: Hi Peppe, with that patch I don't see any difference at all in my setup. So to be clear, with these commits on top of next-20160314, I still get the hang during boot: 209afef6f0cd ARM: dts: rockchip: Add mdio node to ethernet

Re: [PATCH 3/3] mm, oom: protect !costly allocations some more

2016-03-14 Thread Michal Hocko
On Fri 11-03-16 11:08:05, Hugh Dickins wrote: > On Fri, 11 Mar 2016, Michal Hocko wrote: > > On Fri 11-03-16 04:17:30, Hugh Dickins wrote: > > > On Wed, 9 Mar 2016, Michal Hocko wrote: > > > > Joonsoo has pointed out that this attempt is still not sufficient > > > > becasuse we might have invoked o

Re: [PATCH v6 net-next 00/10] API set for HW Buffer management

2016-03-14 Thread David Miller
From: Gregory CLEMENT Date: Mon, 14 Mar 2016 09:38:55 +0100 > This is the sixth version of the API set for HW Buffer management (that was > initially submitted here: > http://thread.gmane.org/gmane.linux.kernel/2125152). Series applied, thanks.

Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple emulated TPMs

2016-03-14 Thread Jarkko Sakkinen
On Sun, Mar 13, 2016 at 06:54:38PM -0400, Stefan Berger wrote: > This patch implements a proxy driver for supporting multiple emulated TPMs > in a system. > > The driver implements a device /dev/vtpmx that is used to created > a client device pair /dev/tpmX (e.g., /dev/tpm10) and a server side tha

Re: [PATCH 4/5] regulator: pwm: Add support for voltage linear equal steps

2016-03-14 Thread Mark Brown
On Sun, Mar 13, 2016 at 06:36:06PM +0530, Laxman Dewangan wrote: > On Saturday 12 March 2016 11:39 AM, Mark Brown wrote: > >I can't see any reason why this would ever be preferable to just using > >the flat linear range (you certainly haven't articulated one, you're > >just stating it). This seem

Re: [PATCH] watchdog: don't run proc_watchdog_update if new value is same as old

2016-03-14 Thread Don Zickus
On Mon, Mar 14, 2016 at 09:45:26AM -0500, Josh Hunt wrote: > On 03/14/2016 09:34 AM, Don Zickus wrote: > >On Sat, Mar 12, 2016 at 06:50:26PM -0500, Joshua Hunt wrote: > >>While working on a script to restore all sysctl params before a series of > >>tests I found that writing any value into the > >>

Re: [PATCH V2 4/5] gpio: DT: Rephrase "gpios" of hog node to support multiple gpios

2016-03-14 Thread Stephen Warren
On 03/11/2016 06:43 AM, Laxman Dewangan wrote: The property "gpios" of GPIO hog node support the multiple GPIO entries. Rephrase the details of this property for this new support. Add details of new property "label" for GPIO label name. diff --git a/Documentation/devicetree/bindings/gpio/gpio

Re: [PATCH v2] x86: don't assume all fb devices are PCI devices

2016-03-14 Thread Ingo Molnar
* Bjorn Helgaas wrote: > On Mon, Mar 14, 2016 at 03:42:57PM +0100, Vitaly Kuznetsov wrote: > > When booting Hyper-V Generation 2 guests KASAN reports the following > > out-of-bounds access: > > > > BUG: KASAN: slab-out-of-bounds in fb_is_primary_device+0x58/0x70 at addr > > 880079cf0eb0 >

Re: [PATCH] USB: input: powermate: fix oops with malicious USB descriptors

2016-03-14 Thread Dmitry Torokhov
On Mon, Mar 14, 2016 at 09:15:48AM -0700, Greg Kroah-Hartman wrote: > On Mon, Mar 14, 2016 at 10:12:53AM -0400, Josh Boyer wrote: > > The powermate driver expects at least one valid USB endpoint in its > > probe function. If given malicious descriptors that specify 0 for > > the number of endpoint

Re: [PATCH v2 0/2] net: thunderx: Performance enhancement changes

2016-03-14 Thread David Miller
From: sunil.kovv...@gmail.com Date: Mon, 14 Mar 2016 16:36:13 +0530 > Below patches attempts to improve performance by reducing > no of atomic operations while allocating new receive buffers > and reducing cache misses by adjusting nicvf structure elements. > > Changes from v1: > No changes, res

Re: [PATCH] x86_32: add support for 64 bit __get_user() v3

2016-03-14 Thread Ingo Molnar
* Benjamin LaHaise wrote: > Any more comments/feedback on this? Can this be merged for 4.6? Will get to it once the merge window calms down. Thanks, Ingo

Re: [PATCH V5 02/10] perf/amd/iommu: Consolidate and move perf_event_amd_iommu header

2016-03-14 Thread Peter Zijlstra
On Mon, Mar 14, 2016 at 03:19:45PM +0100, Borislav Petkov wrote: > On Mon, Mar 14, 2016 at 08:37:02PM +0700, Suravee Suthikulpanit wrote: > > Basically, we are trying to match the current Perf hierarchy for AMD IOMMU > > (arch/x86/events/amd/iommu.c). I can put it into > > arch/x86/include/asm/perf

Re: [PATCH] exit: clear TIF_MEMDIE after exit_task_work

2016-03-14 Thread Michal Hocko
On Tue 01-03-16 19:20:24, Michael S. Tsirkin wrote: > On Tue, Mar 01, 2016 at 06:17:58PM +0100, Michal Hocko wrote: [...] > > Sorry, I could have been more verbose... The code would have to make sure > > that the mm is still alive before calling g-u-p by > > atomic_inc_not_zero(&mm->mm_users) and f

Re: [PART1 RFC v2 10/10] svm: Manage vcpu load/unload when enable AVIC

2016-03-14 Thread Radim Krčmář
2016-03-14 18:48+0700, Suravee Suthikulpanit: > On 03/10/2016 04:46 AM, Radim Krčmář wrote: >>2016-03-04 14:46-0600, Suravee Suthikulpanit: >>>From: Suravee Suthikulpanit >>> >>>When a vcpu is loaded/unloaded to a physical core, we need to update >>>information in the Physical APIC-ID table accord

Re: [PATCH v2 2/5] perf: Free aux pages in unmap path

2016-03-14 Thread Peter Zijlstra
On Mon, Mar 14, 2016 at 04:04:44PM +0200, Alexander Shishkin wrote: > Peter Zijlstra writes: > >> +static void perf_pmu_output_stop(struct perf_event *event) > >> +{ > >> + int cpu, err; > >> + > >> + /* better be thorough */ > >> + get_online_cpus(); > >> +restart: > >> + for_each_online_cpu

Re: [PATCH 1/1] net: Fix use after free in the recvmmsg exit path

2016-03-14 Thread David Miller
From: Arnaldo Carvalho de Melo Date: Mon, 14 Mar 2016 09:56:35 -0300 > From: Arnaldo Carvalho de Melo > > The syzkaller fuzzer hit the following use-after-free: > > Call Trace: >[] __asan_report_load8_noabort+0x3e/0x40 > mm/kasan/report.c:295 >[] __sys_recvmmsg+0x6fa/0x7f0 net/socke

A new approach to verify changes in the Linux kernel ABI

2016-03-14 Thread Ponomarenko Andrey
Hello, I've released new versions of the abi-compliance-checker and abi-dumper tools that are now able to easily verify compatibility of changes in the Linux kernel ABI: https://github.com/lvc/ 1. The kernel should be compiled with CONFIG_DEBUG_INFO=y and CONFIG_DEBUG_INFO_REDUCED=n additional

Re: Backport patch from 4.2 to 3.18

2016-03-14 Thread Sasha Levin
On 03/04/2016 04:26 PM, Sasha Levin wrote: > On 03/04/2016 03:40 PM, Andrei Sharaev wrote: >> > Hi Sasha, >> > >> > Can you backport this patch for "inet-frag-fixes" to linux kernel 3.18 LTS? >> > http://kernel.suse.com/cgit/kernel/commit/?h=v4.2-rc5&id=64b892ad2326348a5b8314167590d240e3bcc69e >>

[GIT PULL] RTC for 4.6

2016-03-14 Thread Alexandre Belloni
Hi Linus, Here is the pull-request for the RTC susbsystem for 4.6. It is based on v4.5-rc1 as arm-soc, through samsung-soc, depends on an immutable tag: rtc-max77686-4.6 The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d: Linux 4.5-rc1 (2016-01-24 13:06:47 -0800) are

Re: [PATCH] USB: input: powermate: fix oops with malicious USB descriptors

2016-03-14 Thread Josh Boyer
On Mon, Mar 14, 2016 at 12:15 PM, Greg Kroah-Hartman wrote: > On Mon, Mar 14, 2016 at 10:12:53AM -0400, Josh Boyer wrote: >> The powermate driver expects at least one valid USB endpoint in its >> probe function. If given malicious descriptors that specify 0 for >> the number of endpoints, it will

Re: [PATCH] x86/efi: Always map boot service regions into new EFI page tables

2016-03-14 Thread Ingo Molnar
* Matt Fleming wrote: > Running the attached semantic patch across arch/x86/mm yields a few > more places where we get the data type wrong for PAE, Very nice! > * file: arch/x86/mm/mmap.c:43 shifting int '( ( - 1UL ) & STACK_RND_MASK )' > by PAGE_SHIFT is truncated to 32-bits > * file: arch/x

Re: [PATCH] USB: input: powermate: fix oops with malicious USB descriptors

2016-03-14 Thread Dmitry Torokhov
On Mon, Mar 14, 2016 at 9:46 AM, Josh Boyer wrote: > On Mon, Mar 14, 2016 at 12:15 PM, Greg Kroah-Hartman > wrote: >> On Mon, Mar 14, 2016 at 10:12:53AM -0400, Josh Boyer wrote: >>> The powermate driver expects at least one valid USB endpoint in its >>> probe function. If given malicious descrip

Re: [PATCH v2] x86: don't assume all fb devices are PCI devices

2016-03-14 Thread Vitaly Kuznetsov
Ingo Molnar writes: > * Bjorn Helgaas wrote: > >> On Mon, Mar 14, 2016 at 03:42:57PM +0100, Vitaly Kuznetsov wrote: >> > When booting Hyper-V Generation 2 guests KASAN reports the following >> > out-of-bounds access: >> > >> > BUG: KASAN: slab-out-of-bounds in fb_is_primary_device+0x58/0x70 at

Re: [RFC PATCH] Unexport do_machine_check() and machine_check_poll()

2016-03-14 Thread Luck, Tony
On Mon, Mar 14, 2016 at 05:38:54PM +0100, Borislav Petkov wrote: > Hey Tony, > > how about the below, untested change? > > Some backporting work to SLE11 got me pondering over why we're exporting > all those MCA-internal things to modules. Modules don't have any > business calling those so how ab

Re: [PART1 RFC v2 10/10] svm: Manage vcpu load/unload when enable AVIC

2016-03-14 Thread Radim Krčmář
2016-03-14 18:58+0700, Suravee Suthikulpanit: > On 03/10/2016 09:01 PM, Radim Krčmář wrote: >>Well, we haven't reached an agreement on is_running yet. The situation: >>if we don't unset vcpu1.is_running when vcpu1 is scheduled out and vcpu2 >>gets scheduled on vcpu1's physical core, then vcpu2 wou

Re: [PATCH v7 5/7] mm, kasan: Stackdepot implementation. Enable stackdepot for SLAB

2016-03-14 Thread Andrey Ryabinin
2016-03-14 13:43 GMT+03:00 Alexander Potapenko : > + > + rec = this_cpu_ptr(&depot_recursion); > + /* Don't store the stack if we've been called recursively. */ > + if (unlikely(*rec)) > + goto fast_exit; > + *rec = true; This just can't work. As long as pre

Re: [RFC PATCH] Unexport do_machine_check() and machine_check_poll()

2016-03-14 Thread Borislav Petkov
On Mon, Mar 14, 2016 at 05:38:54PM +0100, Borislav Petkov wrote: > Hey Tony, > > how about the below, untested change? I meant this one, which actually builds: --- diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h index 92b6f651fa4f..6d0845c8a025 100644 --- a/arch/x86/include/

Re: linux-next: Tree for Mar 14

2016-03-14 Thread James Morse
Hi Guenter, On 14/03/16 14:37, Guenter Roeck wrote: > To give people an idea what to expect in the merge window, here are my current > build and runtime test results. Some of the runtime failures are due to the > newly introduced i2c bug, but many (including the arm64 boot failures) have > been ar

Re: [PATCH v3 3/5] x86/paravirt: Add paravirt_{read,write}_msr

2016-03-14 Thread Andy Lutomirski
On Mar 14, 2016 7:03 AM, "Paolo Bonzini" wrote: > > > > On 11/03/2016 20:06, Andy Lutomirski wrote: > > This adds paravirt hooks for unsafe MSR access. On native, they > > call native_{read,write}_msr. On Xen, they use > > xen_{read,write}_msr_safe. > > > > Nothing uses them yet for ease of bise

[RFC PATCH] Unexport do_machine_check() and machine_check_poll()

2016-03-14 Thread Borislav Petkov
Hey Tony, how about the below, untested change? Some backporting work to SLE11 got me pondering over why we're exporting all those MCA-internal things to modules. Modules don't have any business calling those so how about hiding them behind a single point mce_call() function which gets a command

Re: [PATCH v3 3/5] x86/paravirt: Add paravirt_{read,write}_msr

2016-03-14 Thread Andy Lutomirski
On Mon, Mar 14, 2016 at 9:58 AM, Linus Torvalds wrote: > > On Mar 14, 2016 9:53 AM, "Andy Lutomirski" wrote: >> >> Can you clarify? KVM uses the native version, and the native version >> only oopses with this series applied if panic_on_oops is set. > > Can we please remove that idiocy? > > There

Re: [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-14 Thread Dr. David Alan Gilbert
* Li, Liang Z (liang.z...@intel.com) wrote: > > > > Hi, > > I'm just catching back up on this thread; so without reference to any > > particular previous mail in the thread. > > > > 1) How many of the free pages do we tell the host about? > > Your main change is telling the host about al

Re: [PATCH v12] [PATCH] PCI: Xilinx-NWL-PCIe: Adding support for Xilinx NWL PCIe Host Controller

2016-03-14 Thread Bjorn Helgaas
On Mon, Mar 14, 2016 at 03:51:01PM +, Bharat Kumar Gogada wrote: > > On Sun, Mar 06, 2016 at 10:02:14PM +0530, Bharat Kumar Gogada wrote: > > > Adding PCIe Root Port driver for Xilinx PCIe NWL bridge IP. > > > > > +static bool nwl_pcie_valid_device(struct pci_bus *bus, unsigned int > > > +devf

Re: Nokia N900 - audio TPA6130A2 problems

2016-03-14 Thread Ivaylo Dimitrov
Hi, On 14.03.2016 11:59, Peter Ujfalusi wrote: Does the i2c communication breaks with DT _and_ non DT boot? IIRC, there was the same problem with legacy boot as well, but because there were tons of other problems, we did not investigate it :) Regards, Ivo

Re: [PATCH v4 2/5] x86/msr: Carry on after a non-"safe" MSR access fails without !panic_on_oops

2016-03-14 Thread Andy Lutomirski
On Mon, Mar 14, 2016 at 5:02 AM, Borislav Petkov wrote: > On Sat, Mar 12, 2016 at 10:08:49AM -0800, Andy Lutomirski wrote: >> This demotes an OOPS and likely panic due to a failed non-"safe" MSR >> access to a WARN_ONCE and, for RDMSR, a return value of zero. If >> panic_on_oops is set, then fail

Re: [PATCH 1/3] net: mediatek: use dma_addr_t correctly

2016-03-14 Thread David Miller
From: Arnd Bergmann Date: Mon, 14 Mar 2016 15:07:10 +0100 > dma_alloc_coherent() expects a dma_addr_t pointer as its argument, > not an 'unsigned int', and gcc correctly warns about broken > code in the mtk_init_fq_dma function: > > drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function 'mtk_i

Re: [PATCH] USB: input: powermate: fix oops with malicious USB descriptors

2016-03-14 Thread Greg Kroah-Hartman
On Mon, Mar 14, 2016 at 12:46:26PM -0400, Josh Boyer wrote: > On Mon, Mar 14, 2016 at 12:15 PM, Greg Kroah-Hartman > wrote: > > On Mon, Mar 14, 2016 at 10:12:53AM -0400, Josh Boyer wrote: > >> The powermate driver expects at least one valid USB endpoint in its > >> probe function. If given malici

Re: [PATCH 2/3] net: mediatek: remove incorrect dma_mask assignment

2016-03-14 Thread David Miller
From: Arnd Bergmann Date: Mon, 14 Mar 2016 15:07:11 +0100 > Device drivers should not mess with the DMA mask directly, > but instead call dma_set_mask() etc if needed. > > In case of the mtk_eth_soc driver, the mask already gets set > correctly when the device is created, and setting it again >

Re: [PATCH 3/3] net: mediatek: check device_reset return code

2016-03-14 Thread David Miller
From: Arnd Bergmann Date: Mon, 14 Mar 2016 15:07:12 +0100 > The device_reset() function may fail, so we have to check > its return value, e.g. to make deferred probing work correctly. > gcc warns about it because of the warn_unused_result attribute: > > drivers/net/ethernet/mediatek/mtk_eth_soc.

Re: linux-next: build failure after merge of the aio tree

2016-03-14 Thread Benjamin LaHaise
On Mon, Mar 14, 2016 at 03:49:15PM +1100, Stephen Rothwell wrote: > Hi Ben, ... > OK, so at this point (just to get rid of the build failure I have done this: ... > Well, you need to negotiate that with the affected architectures. I put in a patch to use get_user() for now since the 32 bit archit

Re: [PATCH v4 1/5] x86/paravirt: Add _safe to the read_msr and write_msr PV hooks

2016-03-14 Thread Andy Lutomirski
On Mon, Mar 14, 2016 at 4:57 AM, Borislav Petkov wrote: > On Sat, Mar 12, 2016 at 10:08:48AM -0800, Andy Lutomirski wrote: >> These hooks match the _safe variants, so name them accordingly. >> This will make room for unsafe PV hooks. >> >> Signed-off-by: Andy Lutomirski >> --- >> arch/x86/includ

Re: [PATCH] vmxnet3: fix lock imbalance in vmxnet3_tq_xmit()

2016-03-14 Thread David Miller
From: Arnd Bergmann Date: Mon, 14 Mar 2016 15:53:57 +0100 > A recent bug fix rearranged the code in vmxnet3_tq_xmit() in a > way that left the error handling for oversized headers unlock > a lock that had not been taken yet. Gcc warns about the incorrect > use of the 'flags' variable because of t

Bug in 4.5.0: hard lockups on docker operations

2016-03-14 Thread Torsten Luettgert
Hello kernel hackers, I'm still getting hard lockups on my docker machine with overlayfs and 3ware RAID with linux 4.5.0. They look a bit different though. It would be great if someone could look into it. Kernel messages follow: NMI watchdog: Watchdog detected hard LOCKUP on cpu 6 Kernel panic -

Re: [lkp] [ALSA] ca53fbf3a6: WARNING: CPU: 0 PID: 151 at sound/hda/hdac_i915.c:129 pin2port+0x2a/0x40 [snd_hda_core]()

2016-03-14 Thread Takashi Iwai
On Mon, 14 Mar 2016 16:30:22 +0100, Lin, Mengdong wrote: > > > -Original Message- > > From: Takashi Iwai [mailto:ti...@suse.de] > > Sent: Monday, March 14, 2016 9:03 PM > > To: Yang, Libin > > Cc: kernel test robot; l...@01.org; LKML; Wu, Fengguang; Lin, Mengdong > > Subject: Re: [lkp] [AL

Re: [PATCH v4 2/5] x86/msr: Carry on after a non-"safe" MSR access fails without !panic_on_oops

2016-03-14 Thread Andy Lutomirski
On Mon, Mar 14, 2016 at 10:11 AM, Linus Torvalds wrote: > > On Mar 14, 2016 10:05 AM, "Andy Lutomirski" wrote: >> >> We could probably remove that check and let custom fixups run early. >> I don't see any compelling reason to keep them disabled. That should >> probably be a separate change, thou

aio openat Re: [PATCH 07/13] aio: enabled thread based async fsync

2016-03-14 Thread Benjamin LaHaise
On Sat, Jan 23, 2016 at 03:39:22PM +1100, Dave Chinner wrote: > On Wed, Jan 20, 2016 at 03:07:26PM -0800, Linus Torvalds wrote: ... > > We could do things like that for the name loopkup for openat() too, where > > we could handle the successful RCU loopkup synchronously, but then if we > > fall out

Re: [PATCHv3 00/13] scripts/gdb: Linux awareness debug commands

2016-03-14 Thread Kieran Bingham
On 14/03/16 15:09, Jan Kiszka wrote: > On 2016-03-14 15:40, Kieran Bingham wrote: >> On 13/03/16 16:35, Jan Kiszka wrote: >>> On 2016-03-03 12:40, Kieran Bingham wrote: Hi Jan, V3 of the patchset respun. Now finally adding the lx-interrupts command after I resolved my issues wit

Re: [PATCH v4 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings

2016-03-14 Thread Sergei Shtylyov
Hello. On 03/14/2016 05:24 PM, Magnus Damm wrote: From: Magnus Damm Remove the 32-bit CMT compat strings to reduce maintenance burden. It should be fine to break DT compatibility because the 32-bit 32-bit Once is enough. :-) CMT DT binding was never part of any upstream DTS file. Sig

Re: [PATCH v5 2/6] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper

2016-03-14 Thread Benson Leung
Thanks! On Mon, Mar 14, 2016 at 8:44 AM, Tomeu Vizoso wrote: > So that callers of cros_ec_cmd_xfer don't have to repeat boilerplate > code when checking for errors from the EC side. > > Signed-off-by: Tomeu Vizoso Reviewed-by: Benson Leung > --- > > Changes in v5: > - Check explicitly for !EC

Re: [PATCHv3 00/13] scripts/gdb: Linux awareness debug commands

2016-03-14 Thread Jan Kiszka
On 2016-03-14 18:18, Kieran Bingham wrote: > On 14/03/16 15:09, Jan Kiszka wrote: >> On 2016-03-14 15:40, Kieran Bingham wrote: >>> On 13/03/16 16:35, Jan Kiszka wrote: On 2016-03-03 12:40, Kieran Bingham wrote: > Hi Jan, > > V3 of the patchset respun. Now finally adding the lx-int

Re: [PATCH v3 05/14] i2c-octeon: Make adapter timeout tunable

2016-03-14 Thread Swain, Peter
Agreed, this timeout modparam can go, it serves no purpose which can't be achieved with existing ioctl. It was introduced during debug to reduce spurious error count while hunting an issue finally resolved by the 80uS IFLG re-poll. But the same effect is achieved by (for example) the at24 driv

Re: [PATCH] block: protect iterate_bdevs() against concurrent close

2016-03-14 Thread Rabin Vincent
(fixed Jens' address) On Thu, Mar 10, 2016 at 06:37:27PM +0100, Jan Kara wrote: > On Thu 10-03-16 13:26:03, Rabin Vincent wrote: > > If a block device is closed while iterate_bdevs() is handling it, the > > following NULL pointer dereference occurs because bdev->b_disk is NULL > > in bdev_get_queu

Re: [PATCH] epoll: add exclusive wakeups flag

2016-03-14 Thread Michael Kerrisk (man-pages)
[Restoring CC, which I see I accidentally dropped, one iteration back.] Hi Jason, Thanks for the review. I've tweaked one piece to respond to your feedback. But I also have another new question below. On 03/15/2016 03:55 AM, Jason Baron wrote: > On 03/11/2016 06:25 PM, Michael Kerrisk (man-pages

Re: livepatch/module: remove livepatch module notifier

2016-03-14 Thread Jessica Yu
+++ Petr Mladek [14/03/16 16:06 +0100]: On Fri 2016-03-11 15:03:48, Jessica Yu wrote: Remove the livepatch module notifier in favor of directly enabling and disabling patches to modules in the module loader. Hard-coding the function calls ensures that ftrace_module_enable() is run before klp_mod

[PATCH 4.4 16/50] jffs2: reduce the breakage on recovery from halfway failed rename()

2016-03-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit f93812846f31381d35c04c6c577d724254355e7f upstream. d_instantiate(new_dentry, old_inode) is absolutely wrong thing to do - it will oops if new_dentry used to be positive, for star

[PATCH 4.4 17/50] ncpfs: fix a braino in OOM handling in ncp_fill_cache()

2016-03-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 803c00123a8012b3a283c0530910653973ef6d8f upstream. Failing to allocate an inode for child means that cache for *parent* is incompletely populated. So it's parent directory inode

[PATCH 4.4 50/50] ld-version: Fix awk regex compile failure

2016-03-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit 4b7b1ef2c2f83d702272555e8adb839a50ba0f8e upstream. The ld-version.sh script fails on some versions of awk with the following error, resulting in build failures for MIPS: awk

[PATCH 4.4 49/50] target: Drop incorrect ABORT_TASK put for completed commands

2016-03-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 7f54ab5ff52fb0b91569bc69c4a6bc5cac1b768d upstream. This patch fixes a recent ABORT_TASK regression associated with commit febe562c, where a left-over target_put_sess_c

[PATCH 4.4 09/50] KVM: PPC: Book3S HV: Sanitize special-purpose register values on guest exit

2016-03-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit ccec44563b18a0ce90e2d4f332784b3cb25c8e9c upstream. Thomas Huth discovered that a guest could cause a hard hang of a host CPU by setting the Instruction Authority Mask Regi

[PATCH 4.4 08/50] KVM: s390: correct fprs on SIGP (STOP AND) STORE STATUS

2016-03-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: David Hildenbrand commit 9522b37f5a8c7bfabe46eecadf2e130f1103f337 upstream. With MACHINE_HAS_VX, we convert the floating point registers from the vector registeres when storing the status. For

[PATCH 4.4 46/50] MIPS: Fix build error when SMP is used without GIC

2016-03-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Hauke Mehrtens commit 7a50e4688dabb8005df39b2b992d76629b8af8aa upstream. The MIPS_GIC_IPI should only be selected when MIPS_GIC is also selected, otherwise it results in a compile error. smp-gi

[PATCH 3.10 16/18] lib/ucs2_string: Correct ucs2 -> utf8 conversion

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jason Andryuk commit a68075908a37850918ad96b056acc9ac4ce1bd90 upstream. The comparisons should be >= since 0x800 and 0x80 require an additional bit to store. For the 3 byte case, the existing

[PATCH 3.10 18/18] Revert: "crypto: af_alg - Disallow bind/setkey/... after accept(2)"

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- This reverts commit 5a707f0972e1c9d8a4a921ddae79d0f9dc36a341 which is commit c840ac6af3f8713a71b4d2363419145760bd6044 upstream. It's been widely reported that this patch breaks existing userspace appl

[PATCH 3.10 07/18] mac80211: minstrel_ht: set default tx aggregation timeout to 0

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 7a36b930e6ed4702c866dc74a5ad07318a57c688 upstream. The value 5000 was put here with the addition of the timeout field to ieee80211_start_tx_ba_session. It was originally a

[PATCH 3.10 08/18] powerpc: Fix dedotify for binutils >= 2.26

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Schwab commit f15838e9cac8f78f0cc506529bb9d3b9fa589c1f upstream. Since binutils 2.26 BFD is doing suffix merging on STRTAB sections. But dedotify modifies the symbol names in place, w

[PATCH 3.10 09/18] KVM: x86: move steal time initialization to vcpu entry time

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Tosatti commit 7cae2bedcbd4680b155999655e49c27b9cf020fa upstream. As reported at https://bugs.launchpad.net/qemu/+bug/1494350, it is possible to have vcpu->arch.st.last_steal initializ

[PATCH 3.10 05/18] wext: fix message delay/ordering

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 8bf862739a7786ae72409220914df960a0aa80d8 upstream. Beniamino reported that he was getting an RTM_NEWLINK message for a given interface, after the RTM_DELLINK for it. It tu

[PATCH 3.10 03/18] ASoC: wm8994: Fix enum ctl accesses in a wrong type

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 8019c0b37cd5a87107808300a496388b777225bf upstream. The DRC Mode like "AIF1DRC1 Mode" and EQ Mode like "AIF1.1 EQ Mode" in wm8994 codec driver are enum ctls, while the curre

[PATCH 4.4 48/50] block: dont optimize for non-cloned bio in bio_get_last_bvec()

2016-03-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit 90d0f0f11588ec692c12f9009089b398be395184 upstream. For !BIO_CLONED bio, we can use .bi_vcnt safely, but it doesn't mean we can just simply return .bi_io_vec[.bi_vcnt - 1] becaus

[PATCH 3.10 02/18] tracing: Fix check for cpu online when event is disabled

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (Red Hat) commit dc17147de328a74bbdee67c1bf37d2f1992de756 upstream. Commit f37755490fe9b ("tracepoints: Do not trace when cpu is offline") added a check to make sure that tracep

[PATCH 3.10 06/18] mac80211: fix use of uninitialised values in RX aggregation

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Chris Bainbridge commit f39ea2690bd61efec97622c48323f40ed6e16317 upstream. Use kzalloc instead of kmalloc for struct tid_ampdu_rx to initialize the "removed" field (all others are initialized

[PATCH 3.10 17/18] modules: fix longstanding /proc/kallsyms vs module insertion race.

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Rusty Russell commit 8244062ef1e54502ef55f54cced659913f244c3e upstream. For CONFIG_KALLSYMS, we keep two symbol tables and two string tables. There's one full copy, marked SHF_ALLOC and laid o

[PATCH 3.10 00/18] 3.10.101-stable review

2016-03-14 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.10.101 release. There are 18 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Mar 16 17:50:35 UTC 2016. Anything recei

[PATCH 3.10 04/18] ASoC: wm8958: Fix enum ctl accesses in a wrong type

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit d0784829ae3b0beeb69b476f017d5c8a2eb95198 upstream. "MBC Mode", "VSS Mode", "VSS HPF Mode" and "Enhanced EQ Mode" ctls in wm8958 codec driver are enum, while the current dri

[PATCH 3.14 14/19] efi: Make our variable validation list include the guid

2016-03-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Peter Jones commit 8282f5d9c17fe15a9e658c06e3f343efae1a2a2f upstream. All the variables in this list so far are defined to be in the global namespace in the UEFI spec, so this just further ens

[PATCH 3.10 11/18] efi: Use ucs2_as_utf8 in efivarfs instead of open coding a bad version

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Peter Jones commit e0d64e6a880e64545ad7d55786aa84ab76bac475 upstream. Translate EFI's UCS-2 variable names to UTF-8 instead of just assuming all variable names fit in ASCII. Signed-off-by: Pe

[PATCH 3.10 12/18] efi: Do variable name validation tests in utf8

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Peter Jones commit 3dcb1f55dfc7631695e69df4a0d589ce5274bd07 upstream. Actually translate from ucs2 to utf8 before doing the test, and then test against our other utf8 data, instead of fudging

[PATCH 3.10 14/18] efi: Make efivarfs entries immutable by default

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Peter Jones commit ed8b0de5a33d2a2557dce7f9429dca8cb5bc5879 upstream. "rm -rf" is bricking some peoples' laptops because of variables being used to store non-reinitializable firmware driver da

[PATCH 3.14 05/19] ASoC: wm8958: Fix enum ctl accesses in a wrong type

2016-03-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit d0784829ae3b0beeb69b476f017d5c8a2eb95198 upstream. "MBC Mode", "VSS Mode", "VSS HPF Mode" and "Enhanced EQ Mode" ctls in wm8958 codec driver are enum, while the current dri

[PATCH 3.10 15/18] efi: Add pstore variables to the deletion whitelist

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Matt Fleming commit e246eb568bc4cbbdd8a30a3c11151ff9b7ca7312 upstream. Laszlo explains why this is a good idea, 'This is because the pstore filesystem can be backed by UEFI variables, and

[GIT PULL] drm-vc4-next for 4.6

2016-03-14 Thread Eric Anholt
Merge tag 'drm-vc4-fixes-2016-03-03' of github.com:anholt/linux into drm-next (2016-03-14 09:48:04 +1000) are available in the git repository at: g...@github.com:anholt/linux.git tags/drm-vc4-next-2016-03-14 for you to fetch changes up to 90d7116061f86c1f8ea460806a0414addea7b58b: drm/vc4

[PATCH 4.4 11/50] KVM: MMU: fix reserved bit check for ept=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0

2016-03-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit 5f0b819995e172f48fdcd91335a2126ba7d9deae upstream. KVM has special logic to handle pages with pte.u=1 and pte.w=0 when CR0.WP=1. These pages' SPTEs flip continuously betwe

Re: [PATCH 1/3] net: mediatek: use dma_addr_t correctly

2016-03-14 Thread John Crispin
On 14/03/2016 15:07, Arnd Bergmann wrote: > dma_alloc_coherent() expects a dma_addr_t pointer as its argument, > not an 'unsigned int', and gcc correctly warns about broken > code in the mtk_init_fq_dma function: > > drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function 'mtk_init_fq_dma': > d

[PATCH 3.10 10/18] lib/ucs2_string: Add ucs2 -> utf8 helper functions

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Peter Jones commit 73500267c930baadadb0d02284909731baf151f7 upstream. This adds ucs2_utf8size(), which tells us how big our ucs2 string is in bytes, and ucs2_as_utf8, which translates from ucs

[PATCH 4.4 00/50] 4.4.6-stable review

2016-03-14 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.6 release. There are 50 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Mar 16 17:49:43 UTC 2016. Anything received

[PATCH 4.4 01/50] arm64: account for sparsemem section alignment when choosing vmemmap offset

2016-03-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit 36e5cd6b897e17d03008f81e075625d8e43e52d0 upstream. Commit dfd55ad85e4a ("arm64: vmemmap: use virtual projection of linear region") fixed an issue where the struct page arr

[PATCH 4.4 10/50] KVM: MMU: fix ept=0/pte.u=1/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo

2016-03-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit 844a5fe219cf472060315971e15cbf97674a3324 upstream. Yes, all of these are needed. :) This is admittedly a bit odd, but kvm-unit-tests access.flat tests this if you run it wi

[PATCH 3.14 13/19] efi: Do variable name validation tests in utf8

2016-03-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Peter Jones commit 3dcb1f55dfc7631695e69df4a0d589ce5274bd07 upstream. Actually translate from ucs2 to utf8 before doing the test, and then test against our other utf8 data, instead of fudging

[PATCH 3.14 12/19] efi: Use ucs2_as_utf8 in efivarfs instead of open coding a bad version

2016-03-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Peter Jones commit e0d64e6a880e64545ad7d55786aa84ab76bac475 upstream. Translate EFI's UCS-2 variable names to UTF-8 instead of just assuming all variable names fit in ASCII. Signed-off-by: Pe

[PATCH 4.4 13/50] s390/dasd: fix diag 0x250 inline assembly

2016-03-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit ce0c12b633846a47e103842149a5bac2e5d261ec upstream. git commit 1ec2772e0c3c ("s390/diag: add a statistic for diagnose calls") added function calls to gather diagnose statis

[PATCH 4.4 14/50] tracing: Fix check for cpu online when event is disabled

2016-03-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (Red Hat) commit dc17147de328a74bbdee67c1bf37d2f1992de756 upstream. Commit f37755490fe9b ("tracepoints: Do not trace when cpu is offline") added a check to make sure that tracepo

[PATCH 3.10 13/18] efi: Make our variable validation list include the guid

2016-03-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Peter Jones commit 8282f5d9c17fe15a9e658c06e3f343efae1a2a2f upstream. All the variables in this list so far are defined to be in the global namespace in the UEFI spec, so this just further ens

[PATCH 3.14 07/19] mac80211: fix use of uninitialised values in RX aggregation

2016-03-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Chris Bainbridge commit f39ea2690bd61efec97622c48323f40ed6e16317 upstream. Use kzalloc instead of kmalloc for struct tid_ampdu_rx to initialize the "removed" field (all others are initialized

[PATCH 3.14 09/19] powerpc: Fix dedotify for binutils >= 2.26

2016-03-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Schwab commit f15838e9cac8f78f0cc506529bb9d3b9fa589c1f upstream. Since binutils 2.26 BFD is doing suffix merging on STRTAB sections. But dedotify modifies the symbol names in place, w

[PATCH 3.14 19/19] Revert: "crypto: af_alg - Disallow bind/setkey/... after accept(2)"

2016-03-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- This reverts commit 06b4194533ff92ed540e3a6beaf29a8fe5d4 which is commit c840ac6af3f8713a71b4d2363419145760bd6044 upstream. It's been widely reported that this patch breaks existing userspace appl

[PATCH 3.14 03/19] tracing: Fix check for cpu online when event is disabled

2016-03-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (Red Hat) commit dc17147de328a74bbdee67c1bf37d2f1992de756 upstream. Commit f37755490fe9b ("tracepoints: Do not trace when cpu is offline") added a check to make sure that tracep

[PATCH 3.14 15/19] efi: Make efivarfs entries immutable by default

2016-03-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Peter Jones commit ed8b0de5a33d2a2557dce7f9429dca8cb5bc5879 upstream. "rm -rf" is bricking some peoples' laptops because of variables being used to store non-reinitializable firmware driver da

[PATCH 3.14 11/19] lib/ucs2_string: Add ucs2 -> utf8 helper functions

2016-03-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Peter Jones commit 73500267c930baadadb0d02284909731baf151f7 upstream. This adds ucs2_utf8size(), which tells us how big our ucs2 string is in bytes, and ucs2_as_utf8, which translates from ucs

[PATCH 3.14 16/19] efi: Add pstore variables to the deletion whitelist

2016-03-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Matt Fleming commit e246eb568bc4cbbdd8a30a3c11151ff9b7ca7312 upstream. Laszlo explains why this is a good idea, 'This is because the pstore filesystem can be backed by UEFI variables, and

<    1   2   3   4   5   6   7   8   9   >