Re: [RFC PATCH 3/4] KVM: x86: add support for emulating UMIP

2016-07-14 Thread Paolo Bonzini
On 13/07/2016 22:03, Radim Krčmář wrote: > 2016-07-12 21:20+0200, Paolo Bonzini: >> Signed-off-by: Paolo Bonzini >> --- >> diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c >> @@ -3738,6 +3747,10 @@ static int em_lidt(struct x86_emulate_ctxt *ctxt) >> >> static int em_smsw(struct x

[tip:perf/core] objtool: Add fallback from ELF_C_READ_MMAP to ELF_C_READ

2016-07-14 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 774bec3fddcccb0b36f319c6d6e8148dc5e8c937 Gitweb: http://git.kernel.org/tip/774bec3fddcccb0b36f319c6d6e8148dc5e8c937 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 13 Jul 2016 15:28:51 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 15:38:50 -0300 ob

[tip:perf/core] tools: Fix up BITS_PER_LONG setting

2016-07-14 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 2a00f026a15d161b47ba3d3417d0fec5193468c3 Gitweb: http://git.kernel.org/tip/2a00f026a15d161b47ba3d3417d0fec5193468c3 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 13 Jul 2016 15:04:04 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 15:04:04 -0300 to

[tip:perf/core] objtool: Avoid checking code drift on busybox's diff

2016-07-14 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 1a4bf28573c82b4cbeb4e8d3326b24a93ed64c8e Gitweb: http://git.kernel.org/tip/1a4bf28573c82b4cbeb4e8d3326b24a93ed64c8e Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 13 Jul 2016 15:33:54 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:08:54 -0300 ob

[tip:perf/core] tools lib bpf: New API to adjust type of a BPF program

2016-07-14 Thread tip-bot for Wang Nan
Commit-ID: 5f44e4c810bf3ace5a97a84554d4eeccbb563ca5 Gitweb: http://git.kernel.org/tip/5f44e4c810bf3ace5a97a84554d4eeccbb563ca5 Author: Wang Nan AuthorDate: Wed, 13 Jul 2016 10:44:01 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:09:02 -0300 tools lib bpf: New

[tip:perf/core] tools lib bpf: Report error when kernel doesn't support program type

2016-07-14 Thread tip-bot for Wang Nan
Commit-ID: 705fa2190dfb3d02f83adcd1abdb4e7dc3434597 Gitweb: http://git.kernel.org/tip/705fa2190dfb3d02f83adcd1abdb4e7dc3434597 Author: Wang Nan AuthorDate: Wed, 13 Jul 2016 10:44:02 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:09:02 -0300 tools lib bpf: Rep

RE: [PATCH] arm64: Add config to limit user space to 47bits

2016-07-14 Thread Zheng Xu
LuaJIT also fix the 48VA issue by allocating heap memory below 47 bits. For mozjs issue, if there are pointers to .rodata, it can be a problem. Does it happen on master and do we have any case to reproduce the issue so that I can take a look? Thanks, Zheng -Original Message- From: Alex

[tip:perf/core] perf event parser: Add const qualifier to evt_name and sys_name

2016-07-14 Thread tip-bot for Wang Nan
Commit-ID: 8c619d6a333f98087816e64c62f0f2389e19ab4a Gitweb: http://git.kernel.org/tip/8c619d6a333f98087816e64c62f0f2389e19ab4a Author: Wang Nan AuthorDate: Wed, 13 Jul 2016 10:44:03 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:09:03 -0300 perf event parser:

[tip:perf/core] perf bpf: Support BPF program attach to tracepoints

2016-07-14 Thread tip-bot for Wang Nan
Commit-ID: b4ee6d415e731b9d8a51451da0ebe33450c355d2 Gitweb: http://git.kernel.org/tip/b4ee6d415e731b9d8a51451da0ebe33450c355d2 Author: Wang Nan AuthorDate: Wed, 13 Jul 2016 10:44:05 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:09:04 -0300 perf bpf: Support

[tip:perf/core] perf bpf: Rename bpf__foreach_tev() to bpf__foreach_event()

2016-07-14 Thread tip-bot for Wang Nan
Commit-ID: cd102d70fe957b060b9df6bc4f54684de3fe00cd Gitweb: http://git.kernel.org/tip/cd102d70fe957b060b9df6bc4f54684de3fe00cd Author: Wang Nan AuthorDate: Wed, 13 Jul 2016 10:44:04 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:09:03 -0300 perf bpf: Rename b

[tip:perf/core] perf probe: Fix to show correct error message for $vars and $params

2016-07-14 Thread tip-bot for Masami Hiramatsu
Commit-ID: f6eb0518f325ef0d6557fbef5c7ebe48a81e74db Gitweb: http://git.kernel.org/tip/f6eb0518f325ef0d6557fbef5c7ebe48a81e74db Author: Masami Hiramatsu AuthorDate: Tue, 12 Jul 2016 19:04:34 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:09:04 -0300 perf probe

[tip:perf/core] perf probe: Accept %sdt and %cached event name

2016-07-14 Thread tip-bot for Masami Hiramatsu
Commit-ID: 36a009fe07bdecd201335f982babb8af34b603e2 Gitweb: http://git.kernel.org/tip/36a009fe07bdecd201335f982babb8af34b603e2 Author: Masami Hiramatsu AuthorDate: Tue, 12 Jul 2016 19:04:43 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:09:05 -0300 perf probe

[tip:perf/core] perf probe: Make --list show only available cached events

2016-07-14 Thread tip-bot for Masami Hiramatsu
Commit-ID: c3492a3a4e58117f18d96125e67b0bed7c4231e1 Gitweb: http://git.kernel.org/tip/c3492a3a4e58117f18d96125e67b0bed7c4231e1 Author: Masami Hiramatsu AuthorDate: Tue, 12 Jul 2016 19:04:54 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:09:05 -0300 perf probe

[tip:perf/core] perf probe-cache: Add for_each_probe_cache_entry() wrapper

2016-07-14 Thread tip-bot for Masami Hiramatsu
Commit-ID: 05bf2c8a2a819132b4a8f35d4315ff22e8e84a20 Gitweb: http://git.kernel.org/tip/05bf2c8a2a819132b4a8f35d4315ff22e8e84a20 Author: Masami Hiramatsu AuthorDate: Tue, 12 Jul 2016 19:05:04 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:09:06 -0300 perf probe

[tip:perf/core] perf probe: Allow wildcard for cached events

2016-07-14 Thread tip-bot for Masami Hiramatsu
Commit-ID: 42bba263eb58800b6239a0cb35ac17fd29379277 Gitweb: http://git.kernel.org/tip/42bba263eb58800b6239a0cb35ac17fd29379277 Author: Masami Hiramatsu AuthorDate: Tue, 12 Jul 2016 19:05:18 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:09:07 -0300 perf probe

[tip:perf/core] perf probe: Search SDT/cached event from all probe caches

2016-07-14 Thread tip-bot for Masami Hiramatsu
Commit-ID: 1de7b8bf728fd8d51b0cc644003d0694c6e0feef Gitweb: http://git.kernel.org/tip/1de7b8bf728fd8d51b0cc644003d0694c6e0feef Author: Masami Hiramatsu AuthorDate: Tue, 12 Jul 2016 19:05:28 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:09:07 -0300 perf probe

[tip:perf/core] perf probe: Support @BUILDID or @FILE suffix for SDT events

2016-07-14 Thread tip-bot for Masami Hiramatsu
Commit-ID: a598180aa1279bac4d24dfc85cd2d78553c4210d Gitweb: http://git.kernel.org/tip/a598180aa1279bac4d24dfc85cd2d78553c4210d Author: Masami Hiramatsu AuthorDate: Tue, 12 Jul 2016 19:05:37 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:09:08 -0300 perf probe

[tip:perf/core] perf probe: Support a special SDT probe format

2016-07-14 Thread tip-bot for Masami Hiramatsu
Commit-ID: 7e9fca51fbf8430e27fb6b29299eda575e3f00cf Gitweb: http://git.kernel.org/tip/7e9fca51fbf8430e27fb6b29299eda575e3f00cf Author: Masami Hiramatsu AuthorDate: Tue, 12 Jul 2016 19:05:46 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:09:09 -0300 perf probe

Re: [PATCH 1/2] Bluetooth: Add LED triggers for HCI frames tx and rx

2016-07-14 Thread Guodong Xu
On 13 July 2016 at 16:07, Marcel Holtmann wrote: > Hi Guodong, > >> Two LED triggers are defined: tx_led and rx_led. Upon frames >> available in HCI core layer, for tx or for rx, the combined LED >> can blink. >> >> Verified on HiKey, 96boards. It uses hi6220 SoC and TI WL1835 combo >> chip. >> >>

[tip:perf/core] perf list: Show SDT and pre-cached events

2016-07-14 Thread tip-bot for Masami Hiramatsu
Commit-ID: 40218daea1db1f95f1f10e58ebd43b8adf1c6c61 Gitweb: http://git.kernel.org/tip/40218daea1db1f95f1f10e58ebd43b8adf1c6c61 Author: Masami Hiramatsu AuthorDate: Fri, 24 Jun 2016 18:06:46 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:09:07 -0300 perf list:

[tip:perf/core] perf test: Add a test case for SDT event

2016-07-14 Thread tip-bot for Masami Hiramatsu
Commit-ID: 8e5dc848356ecf6ea8d27d641c4d7ad8d42fe92b Gitweb: http://git.kernel.org/tip/8e5dc848356ecf6ea8d27d641c4d7ad8d42fe92b Author: Masami Hiramatsu AuthorDate: Tue, 12 Jul 2016 19:06:05 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:09:10 -0300 perf test:

[tip:perf/core] perf build: Add sdt feature detection

2016-07-14 Thread tip-bot for Masami Hiramatsu
Commit-ID: e26e63be64a108c1fd12020b93b5b447ffe0532b Gitweb: http://git.kernel.org/tip/e26e63be64a108c1fd12020b93b5b447ffe0532b Author: Masami Hiramatsu AuthorDate: Tue, 12 Jul 2016 19:05:56 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Jul 2016 23:09:09 -0300 perf build

Re: [PATCH RESEND] iwlwifi, Do not implement thermal zone unless ucode is loaded

2016-07-14 Thread Kalle Valo
Prarit Bhargava writes: > On 07/13/2016 02:50 AM, Kalle Valo wrote: >> Prarit Bhargava writes: >> We implement thermal zone because we do support it, but the problem is that we need the firmware to be loaded for that. So you can argue that we should register *later* when the firm

Re: [PATCH] arm64: Add config to limit user space to 47bits

2016-07-14 Thread Alexander Graf
On 14.07.16 09:03, Zheng Xu wrote: > LuaJIT also fix the 48VA issue by allocating heap memory below 47 bits. > > For mozjs issue, if there are pointers to .rodata, it can be a problem. Does > it happen on master and do we have any case to reproduce the issue so that I > can take a look? mozjs

Re: [patch V2 43/67] leds/trigger/cpu: Convert to hotplug state machine

2016-07-14 Thread Jacek Anaszewski
Hi Anna, On 07/13/2016 07:16 PM, Anna-Maria Gleixner wrote: > Original Message > Subject: [patch V2 43/67] leds/trigger/cpu: Convert to hotplug state machine > Date: Wed, 13 Jul 2016 17:16:45 + > From: Anna-Maria Gleixner > To: LKML > CC: Peter Zijlstra , Ingo Molnar ,

Re: [PATCH v3 3/9] DocBook/v4l: Add compressed video formats used on MT8173 codec driver

2016-07-14 Thread tiffany lin
Hi Nicolas, On Wed, 2016-07-13 at 09:55 -0400, Nicolas Dufresne wrote: > Le mercredi 13 juillet 2016 à 10:00 +0800, tiffany lin a écrit : > > Hi Nicolas, > > > > On Tue, 2016-07-12 at 15:14 -0400, Nicolas Dufresne wrote: > > > Le mardi 12 juillet 2016 à 15:08 -0400, Nicolas Dufresne a écrit : > >

Re: [PATCH] [media] mtk-vcodec: fix type mismatches

2016-07-14 Thread tiffany lin
On Mon, 2016-07-11 at 23:37 +0200, Arnd Bergmann wrote: > The newly added mtk-vcodec driver produces a number of warnings in an ARM > allmodconfig build, mainly since it assumes that dma_addr_t is 32-bit wide: > > mtk-vcodec/venc/venc_vp8_if.c: In function 'vp8_enc_alloc_work_buf': > mtk-vcodec/ve

Re: [PATCH 7/8] x86: kvm: audit and remove any unnecessary uses of module.h

2016-07-14 Thread Paolo Bonzini
On 14/07/2016 02:19, Paul Gortmaker wrote: > > This means we should be able to reduce the usage of module.h > in code that is obj-y Makefile or bool Kconfig. In the case of > kvm where it is modular, we can extend that to also include files > that are building basic support functionality but no

Re: [PATCH v3] locking/qrwlock: Let qrwlock has same layout regardless of the endian

2016-07-14 Thread xinhui
On 2016年07月14日 03:54, Peter Zijlstra wrote: On Mon, Jun 20, 2016 at 02:20:52PM +0800, Pan Xinhui wrote: This patch aims to get rid of endianness in queued_write_unlock(). We want to set __qrwlock->wmode to NULL, however the address is not &lock->cnts in big endian machine. That causes queued_

Re: [patch V2 43/67] leds/trigger/cpu: Convert to hotplug state machine

2016-07-14 Thread Ingo Molnar
* Jacek Anaszewski wrote: > > @@ -133,7 +125,13 @@ static int __init ledtrig_cpu_init(void) > > } > > > > register_syscore_ops(&ledtrig_cpu_syscore_ops); > > - register_cpu_notifier(&ledtrig_cpu_nb); > > + > > + /* > > + * FIXME: Why needs this to happen in the interrupt

Re: [PATCH 04/31] mm, vmscan: begin reclaiming pages on a per-node basis

2016-07-14 Thread Vlastimil Babka
On 07/14/2016 08:28 AM, Joonsoo Kim wrote: On Fri, Jul 08, 2016 at 11:05:32AM +0100, Mel Gorman wrote: On Fri, Jul 08, 2016 at 11:28:52AM +0900, Joonsoo Kim wrote: On Thu, Jul 07, 2016 at 10:48:08AM +0100, Mel Gorman wrote: On Thu, Jul 07, 2016 at 10:12:12AM +0900, Joonsoo Kim wrote: @@ -1402

RE: [PATCH] arm64: Add config to limit user space to 47bits

2016-07-14 Thread Zheng Xu
Sorry, I might misunderstand the issue. I thought there are still issues with master. I saw that you've mentioned there are pointers to .rodata. And I only fixed the heap. So I am just worried if there can be issues with .rodata. If pointers to .rodata are not tagged and used as js objects, it

[PATCH] locking/pvqspinlock: restore/set vcpu_hashed state after failing adaptive locking spinning

2016-07-14 Thread Wanpeng Li
From: Wanpeng Li When the lock holder vCPU is racing with the queue head: CPU 0 (lock holder)CPU1 (queue head) ==== spin_lock(); spin_lock(); pv_kick_node();pv_wait_head_or_lock(); if (!lp) {

Re: [PATCH] iio: ad5380: Fix probe failure when no external reference is supplied

2016-07-14 Thread Lars-Peter Clausen
On 07/14/2016 01:32 AM, Paweł Grudziński wrote: > From: Pawel Grudzinski > > Driver fails to load when there is no external Vref regulator defined, > leaving no way to use internal reference. ad5380_probe function tries to > obtain regulator with demv_regulator_get and checks for error, in which

Re: [PATCH] rndis_host: Set random MAC for ZTE MF910

2016-07-14 Thread Kristian Evensen
Hi Bjørn, On Thu, Jul 14, 2016 at 12:23 AM, Bjørn Mork wrote: > > Or how about the more generic?: > > if (bp[0] & 0x02) > eth_hw_addr_random(net); > else > ether_addr_copy(net->dev_addr, bp); > > That would catch similar screwups from other vendors

Re: perf probe: Seaching the cache automatically

2016-07-14 Thread Masami Hiramatsu
On Wed, 13 Jul 2016 16:11:37 -0300 Arnaldo Carvalho de Melo wrote: > Hi Masami, > > While reviewing your latest patchkit I figured out I left some > sdt entries in my cache, cool! Tried to use but: > > [root@jouet 22]# perf probe --cache --list > /usr/lib64/libc-2.23.so (88686319c72f1a9d9

Re: [PATCH RESEND] iwlwifi, Do not implement thermal zone unless ucode is loaded

2016-07-14 Thread Kalle Valo
Prarit Bhargava writes: > On 07/13/2016 03:24 AM, Luca Coelho wrote: > >> I totally agree with Emmanuel and Kalle. We should not change this. >> It is a design decision to return an error when the interface is >> down, this is very common with other subsystems as well. > > Please show me another

Re: [PATCH] rndis_host: Set random MAC for ZTE MF910

2016-07-14 Thread Kristian Evensen
On Thu, Jul 14, 2016 at 9:54 AM, Kristian Evensen wrote: > Hi Bjørn, > > On Thu, Jul 14, 2016 at 12:23 AM, Bjørn Mork wrote: >> >> Or how about the more generic?: >> >> if (bp[0] & 0x02) >> eth_hw_addr_random(net); >> else >> ether_addr_copy(net->de

Re: [PATCH] arm64: Add config to limit user space to 47bits

2016-07-14 Thread Alexander Graf
> Am 14.07.2016 um 09:49 schrieb Zheng Xu : > > Sorry, I might misunderstand the issue. I thought there are still issues with > master. > > I saw that you've mentioned there are pointers to .rodata. And I only fixed > the heap. So I am just worried if there can be issues with .rodata. If > po

Re: [PATCH 6/9] x86, pkeys: add pkey set/get syscalls

2016-07-14 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Wed, Jul 13, 2016 at 12:56 AM, Ingo Molnar wrote: > > > > * Andy Lutomirski wrote: > > > >> > If we push a PKRU value into a thread between the rdpkru() and wrpkru(), > >> > we'll > >> > lose the content of that "push". I'm not sure there's any way to > >> > gu

Re: [RFC PATCH 4/4] KVM: vmx: add support for emulating UMIP

2016-07-14 Thread Paolo Bonzini
On 13/07/2016 22:30, Radim Krčmář wrote: > 2016-07-12 21:20+0200, Paolo Bonzini: >> UMIP (User-Mode Instruction Prevention) is a feature of future >> Intel processors (Cannonlake?) that blocks SLDT, SGDT, STR, SIDT >> and SMSW from user-mode processes. >> >> On Intel systems it's *almost* possibl

RE: [PATCH v5 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

2016-07-14 Thread Tan, Jui Nee
> -Original Message- > From: Lee Jones [mailto:lee.jo...@linaro.org] > Sent: Tuesday, June 28, 2016 5:15 PM > To: Andy Shevchenko > Cc: Tan, Jui Nee ; Mika Westerberg > ; Krogerus, Heikki > ; Andy Shevchenko > ; Thomas Gleixner > ; Ingo Molnar ; H. Peter Anvin > ; x...@kernel.org; pty...

Re: [patch V2 43/67] leds/trigger/cpu: Convert to hotplug state machine

2016-07-14 Thread Jacek Anaszewski
On 07/14/2016 09:47 AM, Ingo Molnar wrote: * Jacek Anaszewski wrote: @@ -133,7 +125,13 @@ static int __init ledtrig_cpu_init(void) } register_syscore_ops(&ledtrig_cpu_syscore_ops); - register_cpu_notifier(&ledtrig_cpu_nb); + + /* + * FIXME: Why needs this to happen

[PATCH 0/2] dmi-id: export oem strings to sysfs

2016-07-14 Thread Allen Hung
*** BLURB HERE *** Allen Hung (2): dmi-id: don't free dev structure after calling device_register dmi-id: add dmi/id/oem group for exporting oem strings to sysfs drivers/firmware/dmi-id.c | 116 -- 1 file changed, 112 insertions(+), 4 deletions(-)

[PATCH 1/2] dmi-id: don't free dev structure after calling device_register

2016-07-14 Thread Allen Hung
dmi_dev is freed in error exit code but, according to the document of device_register, it should never directly free device structure after calling this function, even if it returned an error! Use put_device() instead. Signed-off-by: Allen Hung --- drivers/firmware/dmi-id.c | 8 1 file

[PATCH v6 0/3] pinctrl/broxton: enable platform device in the absent of ACPI enumeration

2016-07-14 Thread Tan Jui Nee
Hi, The patches are to cater the need for non-ACPI system whereby a platform device has to be created in order to bind with Apollo Lake Pinctrl GPIO platform driver. The MMIO BAR is accessed over the Primary to Sideband bridge (P2SB). Since the BIOS prevents the P2SB device from being enumerated b

[PATCH 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-07-14 Thread Allen Hung
The oem strings in DMI system identification information of the BIOS have been parsed and stored as dmi devices in dmi_scan.c but they are not exported to userspace via sysfs. The patch intends to export oem strings to sysfs device /sys/class/dmi/id. As the number of oem strings are dynamic, a gro

[PATCH v6 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

2016-07-14 Thread Tan Jui Nee
This driver uses the P2SB hide/unhide mechanism cooperatively to pass the PCI BAR address to the gpio platform driver. Signed-off-by: Tan Jui Nee --- Changes in V6: - Rename CONFIG_X86_INTEL_APL to CONFIG_X86_INTEL_IVI so that it relates to the actual product, as suggested by Mi

[PATCH v6 2/3] mfd: lpc_ich: Rename lpc-ich driver

2016-07-14 Thread Tan Jui Nee
This patch follows the example of mfd/wm831x to rename the driver from "lpc_ich" to "lpc_ich-core". Signed-off-by: Tan Jui Nee --- Changes in V6: - none, just a subject line and commit message change. drivers/mfd/Makefile | 1 + drivers/mfd/{lpc_ich.c => lpc_ich-cor

Re: [PATCH net-next 1/2] devlink: fix build error for CONFIG_MODULES=n

2016-07-14 Thread Arnd Bergmann
On Thursday, July 14, 2016 8:21:11 AM CEST Jiri Pirko wrote: > >diff --git a/include/trace/events/devlink.h b/include/trace/events/devlink.h > >index 333c32ac9bfa..26f92d3c7e9c 100644 > >--- a/include/trace/events/devlink.h > >+++ b/include/trace/events/devlink.h > >@@ -22,7 +22,11 @@ TRACE_EVENT(d

[PATCH v6 1/3] x86/platform/p2sb: New Primary to Sideband bridge support driver for Intel SOC's

2016-07-14 Thread Tan Jui Nee
From: Andy Shevchenko There is already one and at least one more user coming which require an access to Primary to Sideband bridge (P2SB) in order to get IO or MMIO bar hidden by BIOS. Create a driver to access P2SB for x86 devices. Signed-off-by: Yong, Jonathan Signed-off-by: Andy Shevchenko

[PATCH v2] locking/pvqspinlock: restore/set vcpu_hashed state after failing adaptive locking spinning

2016-07-14 Thread Wanpeng Li
From: Wanpeng Li When the lock holder vCPU is racing with the queue head: CPU 0 (lock holder)CPU1 (queue head) ==== spin_lock(); spin_lock(); pv_kick_node():pv_wait_head_or_lock(): if (!lp) {

[PATCH 3.12 08/88] sparc64: Take ctx_alloc_lock properly in hugetlb_setup().

2016-07-14 Thread Jiri Slaby
From: "David S. Miller" 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 9ea46abe22550e3366ff7cee2f8391b35b12f730 ] On cheetahplus chips we take the ctx_alloc_lock in order to modify the TLB lookup parameters for the indexed TLBs, w

[PATCH 3.12 15/88] tcp: record TLP and ER timer stats in v6 stats

2016-07-14 Thread Jiri Slaby
From: Yuchung Cheng 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit ce3cf4ec0305919fc69a972f6c2b2efd35d36abc ] The v6 tcp stats scan do not provide TLP and ER timer information correctly like the v4 version . This patch fixes that.

[PATCH 3.12 10/88] sparc64: Fix return from trap window fill crashes.

2016-07-14 Thread Jiri Slaby
From: "David S. Miller" 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 7cafc0b8bf130f038b0ec2dcdd6a9de6dc59b65a ] We must handle data access exception as well as memory address unaligned exceptions from return from trap window fil

[PATCH 3.12 03/88] powerpc/pseries/eeh: Handle RTAS delay requests in configure_bridge

2016-07-14 Thread Jiri Slaby
From: Russell Currey 3.12-stable review patch. If anyone has any objections, please let me know. === commit 871e178e0f2c4fa788f694721a10b4758d494ce1 upstream. In the "ibm,configure-pe" and "ibm,configure-bridge" RTAS calls, the spec states that values of 9900-9905 can be returned,

[PATCH 3.12 04/88] sparc: Fix system call tracing register handling.

2016-07-14 Thread Jiri Slaby
From: Mike Frysinger 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 1a40b95374f680625318ab61d81958e949e0afe3 ] A system call trace trigger on entry allows the tracing process to inspect and potentially change the traced process's

[PATCH 3.12 00/88] 3.12.62-stable review

2016-07-14 Thread Jiri Slaby
This is the start of the stable review cycle for the 3.12.62 release. There are 88 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 Mon Jul 18 10:12:31 CEST 2016. Anything recei

[PATCH 3.12 01/88] PCI/AER: Clear error status registers during enumeration and restore

2016-07-14 Thread Jiri Slaby
From: Taku Izumi 3.12-stable review patch. If anyone has any objections, please let me know. === commit b07461a8e45b7a62ef7fb46e4f6ada66f63406a8 upstream. AER errors might be recorded when powering-on devices. These errors can be ignored, so firmware usually clears them before th

[PATCH 3.12 39/88] netfilter: ip6_tables: simplify translate_compat_table args

2016-07-14 Thread Jiri Slaby
From: Florian Westphal 3.12-stable review patch. If anyone has any objections, please let me know. === commit 329a0807124f12fe1c8032f95d8a8eb47047fb0e upstream. Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso Signed-off-by: Jiri Slaby --- net/ipv6/netfilter/ip

[PATCH 3.12 83/88] HID: hiddev: validate num_values for HIDIOCGUSAGES, HIDIOCSUSAGES commands

2016-07-14 Thread Jiri Slaby
From: Scott Bauer 3.12-stable review patch. If anyone has any objections, please let me know. === commit 93a2001bdfd5376c3dc2158653034c20392d15c5 upstream. This patch validates the num_values parameter from userland during the HIDIOCGUSAGES and HIDIOCSUSAGES commands. Previously,

[PATCH 3.12 86/88] cdc_ncm: workaround for EM7455 "silent" data interface

2016-07-14 Thread Jiri Slaby
From: Bjørn Mork 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit c086e7096170390594c425114d98172bc9aceb8a ] Several Lenovo users have reported problems with their Sierra Wireless EM7455 modem. The driver has loaded successfully and

[PATCH 3.12 85/88] HID: elo: kill not flush the work

2016-07-14 Thread Jiri Slaby
From: Oliver Neukum 3.12-stable review patch. If anyone has any objections, please let me know. === commit ed596a4a88bd161f868ccba078557ee7ede8a6ef upstream. Flushing a work that reschedules itself is not a sensible operation. It needs to be killed. Failure to do so leads to a ker

[PATCH 3.12 87/88] MIPS: KVM: Fix modular KVM under QEMU

2016-07-14 Thread Jiri Slaby
From: James Hogan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 797179bc4fe06c89e47a9f36f886f68640b423f8 upstream. Copy __kvm_mips_vcpu_run() into unmapped memory, so that we can never get a TLB refill exception in it when KVM is built as a

[PATCH 3.12 38/88] netfilter: ip_tables: simplify translate_compat_table args

2016-07-14 Thread Jiri Slaby
From: Florian Westphal 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7d3f843eed2954c9feab481f55175a1afcc9 upstream. Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso Signed-off-by: Jiri Slaby --- net/ipv4/netfilter/ip

[PATCH 3.12 62/88] NFS: Fix another OPEN_DOWNGRADE bug

2016-07-14 Thread Jiri Slaby
From: Trond Myklebust 3.12-stable review patch. If anyone has any objections, please let me know. === commit e547f2628327fec6afd2e03b46f113f614cca05b upstream. Olga Kornievskaia reports that the following test fails to trigger an OPEN_DOWNGRADE on the wire, and only triggers the f

[PATCH 3.12 40/88] netfilter: x_tables: xt_compat_match_from_user doesn't need a retval

2016-07-14 Thread Jiri Slaby
From: Florian Westphal 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0188346f21e6546498c2a0f84888797ad4063fc5 upstream. Always returned 0. Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso Signed-off-by: Jiri Slaby --- i

[PATCH 3.12 61/88] make nfs_atomic_open() call d_drop() on all ->open_context() errors.

2016-07-14 Thread Jiri Slaby
From: Al Viro 3.12-stable review patch. If anyone has any objections, please let me know. === commit d20cb71dbf3487f24549ede1a8e2d67579b4632e upstream. In "NFSv4: Move dentry instantiation into the NFSv4-specific atomic open code" unconditional d_drop() after the ->open_context()

[PATCH 3.12 88/88] signal: remove warning about using SI_TKILL in rt_[tg]sigqueueinfo

2016-07-14 Thread Jiri Slaby
From: Vladimir Davydov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 69828dce7af2cb6d08ef5a03de687d422fb7ec1f upstream. Sending SI_TKILL from rt_[tg]sigqueueinfo was deprecated, so now we issue a warning on the first attempt of doing it. W

[PATCH 3.12 82/88] mm/swap.c: flush lru pvecs on compound page arrival

2016-07-14 Thread Jiri Slaby
From: Lukasz Odzioba 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8f182270dfec432e93fae14f9208a6b9af01009f upstream. Currently we can have compound pages held on per cpu pagevecs, which leads to a lot of memory unavailable for reclaim when

[PATCH 3.12 76/88] rds: fix an infoleak in rds_inc_info_copy

2016-07-14 Thread Jiri Slaby
From: Kangjie Lu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4116def2337991b39919f3b448326e21c40e0dbb upstream. The last field "flags" of object "minfo" is not initialized. Copying this object out may leak kernel stack data. Assign 0 to i

[PATCH 3.12 77/88] EDAC: Remove arbitrary limit on number of channels

2016-07-14 Thread Jiri Slaby
From: Tony Luck 3.12-stable review patch. If anyone has any objections, please let me know. === commit c44696fff04ff62f65441afe9ea244b47653dd6d upstream. Currently set to "6", but the reset of the code will dynamically allocate as needed. We need to go to "8" today, but drop the

[PATCH 3.12 79/88] KEYS: potential uninitialized variable

2016-07-14 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 38327424b40bcebe2de92d07312c89360ac9229a upstream. If __key_link_begin() failed then "edit" would be uninitialized. I've added a check to fix that. This allows a random use

[PATCH 3.12 81/88] KVM: x86: expose invariant tsc cpuid bit (v2)

2016-07-14 Thread Jiri Slaby
From: Marcelo Tosatti 3.12-stable review patch. If anyone has any objections, please let me know. === commit e4c9a5a17567f8ea975bdcfdd1bf9d63965de6c9 upstream. Invariant TSC is a property of TSC, no additional support code necessary. Signed-off-by: Marcelo Tosatti Signed-off-by:

[PATCH 3.12 84/88] ALSA: compress: fix an integer overflow check

2016-07-14 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6217e5ede23285ddfee10d2e4ba0cc2d4c046205 upstream. I previously added an integer overflow check here but looking at it now, it's still buggy. The bug happens in snd_compr_al

Re: [PATCH] locking/pvqspinlock: restore/set vcpu_hashed state after failing adaptive locking spinning

2016-07-14 Thread xinhui
On 2016年07月14日 15:53, Wanpeng Li wrote: From: Wanpeng Li When the lock holder vCPU is racing with the queue head: CPU 0 (lock holder)CPU1 (queue head) ==== spin_lock(); spin_lock(); pv_kick_node();pv_wait_head_or_lock

[PATCH 3.12 74/88] ALSA: timer: Fix leak in events via snd_timer_user_tinterrupt

2016-07-14 Thread Jiri Slaby
From: Kangjie Lu 3.12-stable review patch. If anyone has any objections, please let me know. === commit e4ec8cc8039a7063e24204299b462bd1383184a5 upstream. The stack object “r1” has a total size of 32 bytes. Its field “event” and “val” both contain 4 bytes padding. These 8 bytes pa

[PATCH 3.12 80/88] base: make module_create_drivers_dir race-free

2016-07-14 Thread Jiri Slaby
3.12-stable review patch. If anyone has any objections, please let me know. === commit 7e1b1fc4dabd6ec8e28baa0708866e13fa93c9b3 upstream. Modules which register drivers via standard path (driver_register) in parallel can cause a warning: WARNING: CPU: 2 PID: 3492 at ../fs/sysfs/dir.

[PATCH 3.12 78/88] SCSI: Increase REPORT_LUNS timeout

2016-07-14 Thread Jiri Slaby
From: Brian King 3.12-stable review patch. If anyone has any objections, please let me know. === commit b39c9a661b9bc77e064cade26cf913a1d4255d55 upstream. This patch fixes an issue seen with an IBM 2145 (SVC) where, following an error injection test which results in paths going of

Re: [patch V2 31/67] KVM/x86: Remove superfluous SMP function call

2016-07-14 Thread Paolo Bonzini
On 13/07/2016 19:16, Anna-Maria Gleixner wrote: > From: Anna-Maria Gleixner > > Since the following commit: > > 1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu") > > ... the CPU_ONLINE and CPU_DOWN_PREPARE notifiers are always run on the hot > plugged CPU, and as of commit:

[PATCH 3.12 75/88] net/qlge: Avoids recursive EEH error

2016-07-14 Thread Jiri Slaby
From: Gavin Shan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3275c0c6c522ab04afa14f80efdac6213c3883d6 upstream. One timer, whose handler keeps reading on MMIO register for EEH core to detect error in time, is started when the PCI device d

[PATCH 3.12 71/88] ALSA: hrtimer: Handle start/stop more properly

2016-07-14 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit d2c5cf88d5282de258f4eb6ab40040b80a075cd8 upstream. This patch tries to address the still remaining issues in ALSA hrtimer driver: - Spurious use-after-free was detected in hrt

[PATCH 3.12 72/88] ALSA: timer: Fix leak in SNDRV_TIMER_IOCTL_PARAMS

2016-07-14 Thread Jiri Slaby
From: Kangjie Lu 3.12-stable review patch. If anyone has any objections, please let me know. === commit cec8f96e49d9be372fdb0c3836dcf31ec71e457e upstream. The stack object “tread” has a total size of 32 bytes. Its field “event” and “val” both contain 4 bytes padding. These 8 bytes

[PATCH 3.12 73/88] ALSA: timer: Fix leak in events via snd_timer_user_ccallback

2016-07-14 Thread Jiri Slaby
From: Kangjie Lu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9a47e9cff994f37f7f0dbd9ae23740d0f64f9fe6 upstream. The stack object “r1” has a total size of 32 bytes. Its field “event” and “val” both contain 4 bytes padding. These 8 bytes pa

[PATCH 3.12 70/88] ktime: export ktime_divns

2016-07-14 Thread Jiri Slaby
3.12-stable review patch. If anyone has any objections, please let me know. === ktime_divns was exported in upstream as a side-effect of commit 166afb64511eef08e13331b970c44fe91cea45ef (ktime: Sanitize ktime_to_us/ms conversion). But we do not want the commit given ktime is not nanos

[PATCH 3.12 63/88] ARM: 8578/1: mm: ensure pmd_present only checks the valid bit

2016-07-14 Thread Jiri Slaby
From: Will Deacon 3.12-stable review patch. If anyone has any objections, please let me know. === commit 624531886987f0f1b5d01fb598034d039198e090 upstream. In a subsequent patch, pmd_mknotpresent will clear the valid bit of the pmd entry, resulting in a not-present entry from the

[PATCH 3.12 68/88] Bridge: Fix ipv6 mc snooping if bridge has no ipv6 address

2016-07-14 Thread Jiri Slaby
From: daniel 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 0888d5f3c0f183ea6177355752ada433d370ac89 ] The bridge is falsly dropping ipv6 mulitcast packets if there is: 1. No ipv6 address assigned on the brigde. 2. No external m

[PATCH 3.12 69/88] USB: usbfs: fix potential infoleak in devio

2016-07-14 Thread Jiri Slaby
From: Kangjie Lu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 681fef8380eb818c0b845fca5d2ab1dcbab114ee upstream. The stack object “ci” has a total size of 8 bytes. Its last 3 bytes are padding bytes which are not initialized and leaked to

[PATCH 3.12 66/88] scsi: remove scsi_end_request

2016-07-14 Thread Jiri Slaby
From: Christoph Hellwig 3.12-stable review patch. If anyone has any objections, please let me know. === commit bc85dc500f9df9b2eec15077e5046672c46adeaa upstream. By folding scsi_end_request into its only caller we can significantly clean up the completion logic. We can use simple

[PATCH 3.12 64/88] mm: Export migrate_page_move_mapping and migrate_page_copy

2016-07-14 Thread Jiri Slaby
From: Richard Weinberger 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1118dce773d84f39ebd51a9fe7261f9169cb056e upstream. Export these symbols such that UBIFS can implement ->migratepage. Signed-off-by: Richard Weinberger Acked-by: Christ

[PATCH 3.12 65/88] UBIFS: Implement ->migratepage()

2016-07-14 Thread Jiri Slaby
From: "Kirill A. Shutemov" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4ac1c17b2044a1b4b2fbed74451947e905fc2992 upstream. During page migrations UBIFS might get confused and the following assert triggers: [ 213.48] UBIFS assert faile

[PATCH net-next] rndis_host: Set valid random MAC on buggy devices

2016-07-14 Thread Kristian Evensen
From: Kristian Evensen Some devices of the same type all export the same, random MAC address. This behavior has been seen on the ZTE MF910, MF823 and MF831, and there are probably more devices out there. Fix this by generating a valid random MAC address if we read a random MAC from device. Also,

[PATCH 3.12 67/88] scsi_lib: correctly retry failed zero length REQ_TYPE_FS commands

2016-07-14 Thread Jiri Slaby
From: James Bottomley 3.12-stable review patch. If anyone has any objections, please let me know. === commit a621bac3044ed6f7ec5fa0326491b2d4838bfa93 upstream. When SCSI was written, all commands coming from the filesystem (REQ_TYPE_FS commands) had data. This meant that our sign

[PATCH v2 2/2] mmc: core: expose MMC_CAP2_NO_* to dt

2016-07-14 Thread Shawn Lin
The reason for why we expose these to dt is that some of the controller is unable to send special cmd type due to the hw limitation. Signed-off-by: Shawn Lin --- Changes in v2: - amend the commit msg drivers/mmc/core/host.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mmc

[PATCH 3.12 54/88] IB/mlx4: Properly initialize GRH TClass and FlowLabel in AHs

2016-07-14 Thread Jiri Slaby
From: Jason Gunthorpe 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8c5122e45a10a9262f872b53f151a592e870f905 upstream. When this code was reworked for IBoE support the order of assignments for the sl_tclass_flowlabel got flipped around resu

[PATCH 3.12 56/88] powerpc/pseries: Fix PCI config address for DDW

2016-07-14 Thread Jiri Slaby
From: Gavin Shan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8a934efe94347eee843aeea65bdec8077a79e259 upstream. In commit 8445a87f7092 "powerpc/iommu: Remove the dependency on EEH struct in DDW mechanism", the PE address was replaced with

[PATCH 3.12 53/88] mac80211_hwsim: Add missing check for HWSIM_ATTR_SIGNAL

2016-07-14 Thread Jiri Slaby
From: Martin Willi 3.12-stable review patch. If anyone has any objections, please let me know. === commit 62397da50bb20a6b812c949ef465d7e69fe54bb6 upstream. A wmediumd that does not send this attribute causes a NULL pointer dereference, as the attribute is accessed even if it does

[PATCH 3.12 57/88] USB: EHCI: declare hostpc register as zero-length array

2016-07-14 Thread Jiri Slaby
From: Alan Stern 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7e8b3dfef16375dbfeb1f36a83eb9f27117c51fd upstream. The HOSTPC extension registers found in some EHCI implementations form a variable-length array, with one element for each port

[PATCH 3.12 58/88] x86, build: copy ldlinux.c32 to image.iso

2016-07-14 Thread Jiri Slaby
From: "H. Peter Anvin" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9c77679cadb118c0aa99e6f88533d91765a131ba upstream. For newer versions of Syslinux, we need ldlinux.c32 in addition to isolinux.bin to reside on the boot disk, so if the la

[PATCH 3.12 50/88] usb: musb: Stop bulk endpoint while queue is rotated

2016-07-14 Thread Jiri Slaby
From: Andrew Goodbody 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7b2c17f829545df27a910e8d82e133c21c9a8c9c upstream. Ensure that the endpoint is stopped by clearing REQPKT before clearing DATAERR_NAKTIMEOUT before rotating the queue on th

  1   2   3   4   5   6   7   8   9   10   >