[RFC 1/4] mm, compaction: change migrate_async_suitable() to suitable_migration_source()

2016-09-29 Thread Vlastimil Babka
Preparation for making the decisions more complex and depending on compact_control flags. No functional change. Signed-off-by: Vlastimil Babka --- include/linux/mmzone.h | 5 + mm/compaction.c| 19 +++ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/i

Re: [PATCH] mos7840: fix chars_in_buffer() return value

2016-09-29 Thread Stas Sergeev
29.09.2016 13:09, Johan Hovold пишет: On Sat, Sep 24, 2016 at 06:00:57PM +0300, Stas Sergeev wrote: The TIOCOUTQ ioctl calls chars_in_buffer(), and some apps depend on a correct behaviour of that. mos7840 implements it wrongly: if you write just one char, TIOCOUTQ will return 32. This patch shou

Re: [PATCH 01/10] dm snapshot: Use kmalloc_array() in init_origin_hash()

2016-09-29 Thread Joe Perches
On Thu, 2016-09-29 at 22:39 +0200, Paul Bolle wrote: > On Thu, 2016-09-29 at 13:24 -0700, Joe Perches wrote: > > On Thu, 2016-09-29 at 21:43 +0200, Paul Bolle wrote: > > > Why doesn't that regex match on "ORIGIN_HASH_SIZE"? > > It does match. > If that regex does match, it being part of a negative

Re: [PATCH v5 01/14] drivers: iommu: add FWNODE_IOMMU fwnode type

2016-09-29 Thread Rafael J. Wysocki
On Thursday, September 29, 2016 03:15:20 PM Lorenzo Pieralisi wrote: > Hi Rafael, > > On Fri, Sep 09, 2016 at 03:23:30PM +0100, Lorenzo Pieralisi wrote: > > On systems booting with a device tree, every struct device is > > associated with a struct device_node, that represents its DT > > representa

Re: Regression in 4.8 - CPU speed set very low

2016-09-29 Thread Rafael J. Wysocki
On Thursday, September 29, 2016 08:56:16 AM Srinivas Pandruvada wrote: > On Thu, 2016-09-29 at 14:19 +0200, Rafael J. Wysocki wrote: > > [...] > > > > My laptop was inadvertently put to sleep while I was gone. I forgot > > > to leave a > > > note for my wife and she quieted the noisy cpu fan. :)

[PATCH v2 1/3] KVM: VMX: remove functions that enable msr intercepts

2016-09-29 Thread Radim Krčmář
All intercepts are enabled at the beginning, so they can only be used if we disabled an intercept that we wanted to have enabled. This was done for TMCCT to simplify a loop that disables all x2APIC MSR intercepts, but just keeping TMCCT enabled yields better results. Signed-off-by: Radim Krčmář -

ima measurement carrying on -mm

2016-09-29 Thread Thiago Jung Bauermann
Hello Andrew, You have in the -mm tree a version of the "kexec handover buffer" and "ima carry measurement list" patches that were NAKed by Eric Biederman. I would just like to double-check that there's no risk of that version reaching v4.9. Mimi posted v5 of a merged patch set that addresses

[PATCH v2 3/3] KVM: VMX: refactor setup of global page-sized bitmaps

2016-09-29 Thread Radim Krčmář
We've had 10 page-sized bitmaps that were being allocated and freed one by one when we could just use a cycle. Signed-off-by: Radim Krčmář --- arch/x86/kvm/vmx.c | 120 + 1 file changed, 38 insertions(+), 82 deletions(-) diff --git a/arch/x86/

[PATCH v2 2/3] KVM: VMX: join functions that disable x2apic msr intercepts

2016-09-29 Thread Radim Krčmář
vmx_disable_intercept_msr_read_x2apic() and vmx_disable_intercept_msr_write_x2apic() differed only in the type. Pass the type to a new function. Signed-off-by: Radim Krčmář --- arch/x86/kvm/vmx.c | 36 ++-- 1 file changed, 10 insertions(+), 26 deletions(-) diff -

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

2016-09-29 Thread Rafael J. Wysocki
On Thursday, September 29, 2016 03:54:24 PM Chen, Yu C wrote: > Hi, > > > -Original Message- > > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > > Sent: Thursday, September 29, 2016 8:25 PM > > To: Stephen Rothwell > > Cc: Thomas Gleixner; Ingo Molnar; H. Peter Anvin; Peter Zijlstra;

[PATCH] edac: use Intel Model Macros instead of open-coding them

2016-09-29 Thread Dave Hansen
From: Dave Hansen We now have symbolic names for a bunch of Intel cpu modes via asm/intel-family.h. The original conversion missed the edac drivers. Convert them. Signed-off-by: Dave Hansen Cc: Mauro Carvalho Chehab Cc: Doug Thompson Cc: Borislav Petkov Cc: linux-e...@vger.kernel.org Cc:

[PATCH v2 0/3] KVM: VMX: refactor global page-sized bitmaps

2016-09-29 Thread Radim Krčmář
v1: http://www.spinics.net/lists/kvm/msg138118.html v2: - split into multiple patches [Paolo] - add macros for bitmap definitions [Paolo] Radim Krčmář (3): KVM: VMX: remove functions that enable msr intercepts KVM: VMX: join functions that disable x2apic msr intercepts KVM: VMX: refactor s

Re: [PATCH 01/10] dm snapshot: Use kmalloc_array() in init_origin_hash()

2016-09-29 Thread Paul Bolle
On Thu, 2016-09-29 at 13:24 -0700, Joe Perches wrote: > On Thu, 2016-09-29 at 21:43 +0200, Paul Bolle wrote: > > Why doesn't that regex match on "ORIGIN_HASH_SIZE"? > > It does match. If that regex does match, it being part of a negative test, the specific checkpatch rule should be silent, should

Re: [PATCH locking/Documentation 1/2] Add note of release-acquire store vulnerability

2016-09-29 Thread Paul E. McKenney
On Thu, Sep 29, 2016 at 03:36:38PM -0400, Alan Stern wrote: > On Thu, 29 Sep 2016, Paul E. McKenney wrote: > > > On Thu, Sep 29, 2016 at 08:44:39PM +0200, Peter Zijlstra wrote: > > > > How about something like so on PPC? > > > > > > P0(int *x, int *y) > > > { > > > WRITE_ONCE(*x, 1); > > > s

Re: [PATCH 01/10] dm snapshot: Use kmalloc_array() in init_origin_hash()

2016-09-29 Thread Joe Perches
On Thu, 2016-09-29 at 21:43 +0200, Paul Bolle wrote: > On Thu, 2016-09-29 at 08:01 -0700, Joe Perches wrote: > > $Constant there is any number and the match regex is > > any upper case variable. > Why doesn't that regex match on "ORIGIN_HASH_SIZE"? It does match. Did you see my earlier email? $

[PATCH] perf config: Fix a bug about permission checking state of config file

2016-09-29 Thread Wookje Kwon
perf_config_set__init() check state of user config file before opening it. But there is a bug when checking uid and euid of current user. Although current user have superuser permission, a error occurs as below. Before: user01@localhost:~$ ls -l ~/.perfconfig -rw-rw-r-- 1 user01 user01 89 2016-09

[PATCH] perf diff: Introduce the new rules of colored printing of delta.

2016-09-29 Thread SeongSoo Cho
From: SeongSoo Cho As you know, there are the common colored printing of percents so overhead(%) can be c$ But Delta means difference percents from percents of overhead between two files e.g. p$ Although the rule is for overhead(%), Delta value also follow the same rule. So, I think that it wo

Re: [RFC PATCH 0/3] kvm: x86: speedups for APICv

2016-09-29 Thread Radim Krčmář
2016-09-27 23:20+0200, Paolo Bonzini: > The difficult one is patch 2. I find the new code easier to follow than > the old one, but it doesn't mean it works. :) The aim is for APICv to > not use KVM_REQ_EVENT at all for interrupts, therefore turning APICv's > weakness (having to look at PIR on eve

Re: [PATCH] mfd: arizona: Mark AIFx_TX_BCLK_RATE as readable for cs47l24

2016-09-29 Thread Lee Jones
On Tue, 13 Sep 2016, Charles Keepax wrote: > From: Praveen Kumar Vegivada > > This register is used in the AIF code but is missing from the register > tables. > > Signed-off-by: Praveen Kumar Vegivada > Signed-off-by: Charles Keepax > --- > drivers/mfd/cs47l24-tables.c | 6 ++ > 1 file c

[PATCH v2 2/2] x86/asm: Get rid of __read_cr4_safe()

2016-09-29 Thread Andy Lutomirski
We use __read_cr4() vs __read_cr4_safe() inconsistently. On CR4-less CPUs, all CR4 bits are effectively clear, so we can make the code simpler and more robust by making __read_cr4() always fix up faults on 32-bit kernels. This may fix some bugs on old 486-like CPUs, but I don't have any easy way

[PATCH v2 0/2] CR4 fixes (one is urgent)

2016-09-29 Thread Andy Lutomirski
Hi Ingo, etc: Patch 1 fixes a boot regressions that's new in 4.8. Patch 2 cleans the whole mess up. It's probably not 4.8 material, but I'm sending it as part of this series for ease of review. If you like, you could apply patch 1 to x86/urgent, merge into x86/asm, and apply patch 3 on top. Ch

Re: [RESEND PATCH v2 1/4] mmc: core: switch to 1V8 or 1V2 for hs400es mode

2016-09-29 Thread Doug Anderson
Hi, On Thu, Sep 22, 2016 at 5:12 PM, Shawn Lin wrote: > When introducing hs400es, I didn't notice that we haven't > switched voltage to 1V2 or 1V8 for it. That happens to work > as the first controller claiming to support hs400es, arasan(5.1), > which is designed to only support 1V8. So the volta

Re: [PATCH v2 4/4] mmc: sdhci-of-arasan: add sdhci_arasan_voltage_switch for arasan,5.1

2016-09-29 Thread Doug Anderson
Hi, On Thu, Sep 22, 2016 at 5:03 PM, Shawn Lin wrote: > Per the vendor's requirement, we shouldn't do any setting for > 1.8V Signaling Enable, otherwise the interaction/behaviour between > phy and controller will be undefined. Mostly it works fine if we do > that, but we still see failures. Anywa

[PATCH v2 1/2] x86/boot: Fix another __read_cr4() case on 486

2016-09-29 Thread Andy Lutomirski
The condition for reading CR4 was wrong: there are some CPUs with CPUID but not CR4. Rather than trying to make the condition exact, using __read_cr4_safe(). Reported-by: da...@saggiorato.net Fixes: 18bc7bd523e0 ("x86/boot: Synchronize trampoline_cr4_features and mmu_cr4_features directly") Sign

Re: NMI for ARC

2016-09-29 Thread Vineet Gupta
On 09/29/2016 11:54 AM, Andy Lutomirski wrote: >> So lets first see how a single priority intr works on ARC (maybe on other >> arches >> > as well). >> > >> > 1. task t1 enters kernel syscall (Trap Exception on ARC), handler drops >> > down to >> > pure kernel model and proceeds into syscall hand

Re: [RESEND PATCH v2 2/4] mmc: core: changes frequency to hs_max_dtr when selecting hs400es

2016-09-29 Thread Doug Anderson
Hi, On Thu, Sep 22, 2016 at 5:12 PM, Shawn Lin wrote: > Per JESD84-B51 P69, Host need to change frequency to <=52MHz Technically Page 49. In the PDF you go to page 69, but the heading on the top of the page says 49. > after setting HS_TIMING to 0x1, and host may changes frequency > to <= 200MH

Re: [PATCH 01/10] dm snapshot: Use kmalloc_array() in init_origin_hash()

2016-09-29 Thread Paul Bolle
On Thu, 2016-09-29 at 08:01 -0700, Joe Perches wrote: > $Constant there is any number and the match regex is > any upper case variable. Why doesn't that regex match on "ORIGIN_HASH_SIZE"? Paul Bolle

Re: [PATCH 1/2] backlight: arcxcnn: add support for ArticSand devices

2016-09-29 Thread Mark Rutland
On Thu, Sep 29, 2016 at 12:34:39PM -0400, Olimpiu Dejeu wrote: > Resubmition of arcxcnn backliught driver adding definitions of the > internal registers of the chip. s/backliught/backlight/ [...] > +#ifdef CONFIG_OF > +static int arcxcnn_parse_dt(struct arcxcnn *lp) > +{ > + struct device

Re: [PATCH locking/Documentation 1/2] Add note of release-acquire store vulnerability

2016-09-29 Thread Alan Stern
On Thu, 29 Sep 2016, Paul E. McKenney wrote: > On Thu, Sep 29, 2016 at 08:44:39PM +0200, Peter Zijlstra wrote: > > How about something like so on PPC? > > > > P0(int *x, int *y) > > { > > WRITE_ONCE(*x, 1); > > smp_store_release(y, 1); > > } > > > > P1(int *x, int *y) > > { > > WRIT

Re: linux-next: Tree for Jul 21

2016-09-29 Thread Segher Boessenkool
On Thu, Jul 21, 2016 at 07:52:43PM -0400, Paul Gortmaker wrote: > A new i386-allmodconfig fail showed up relating to VDSO: > > I tried to reproduce it locally with x86-64 build host and could > not, so I wonder if it is a missing HOSTCC vs. CC since next > coverage is power host... > > VDSO2C

RE: [PATCH] dma/fsldma : Unmap region obtained by of_iomap

2016-09-29 Thread Leo Li
> -Original Message- > From: Arvind Yadav [mailto:arvind.yadav...@gmail.com] > Sent: Wednesday, September 28, 2016 5:45 AM > To: le...@freescale.com; z...@zh-kernel.org; vinod.k...@intel.com > Cc: dan.j.willi...@intel.com; linuxppc-...@lists.ozlabs.org; > dmaeng...@vger.kernel.org; linux-

Re: [PATCH 4/6] vfio_pci: use pci_irq_allocate_vectors

2016-09-29 Thread Alex Williamson
On Thu, 29 Sep 2016 21:24:04 +0200 Christoph Hellwig wrote: > On Thu, Sep 29, 2016 at 01:21:01PM -0600, Alex Williamson wrote: > > Sorry for the delay, slipped by me. Overall a really nice cleanup. > > One tiny nit, the commit log mis-names the function as > > pci_irq_allocate_vectors instead of

put_page vs release_pages

2016-09-29 Thread Nicolas Morey-Chaisemartin
Hi, Can someone explain to me what is the difference between put_page and release_pages and which one should be used when ? To explain my case: We have a PCIe driver than transfers data between user process (read/write scalls) to a PCI device, using DMA. We followed the DMA guide so the code ba

Re: [PATCH 4/6] vfio_pci: use pci_irq_allocate_vectors

2016-09-29 Thread Christoph Hellwig
On Thu, Sep 29, 2016 at 01:21:01PM -0600, Alex Williamson wrote: > Sorry for the delay, slipped by me. Overall a really nice cleanup. > One tiny nit, the commit log mis-names the function as > pci_irq_allocate_vectors instead of pci_alloc_irq_vectors. With that, > > Acked-by: Alex Williamson >

Re: [PATCH 2/2] backlight: arcxcnn: devicetree bindings for ArticSand devices

2016-09-29 Thread Mark Rutland
On Thu, Sep 29, 2016 at 12:35:37PM -0400, Olimpiu Dejeu wrote: > Resubmition of arcxcnn backliught driver bindings correcting the file > location, device name, and proper use of reg for device address > > Signed-off-by: Olimpiu Dejeu > > --- > .../bindings/leds/backlight/arcxcnn_bl.txt

Re: [PATCH 4/6] vfio_pci: use pci_irq_allocate_vectors

2016-09-29 Thread Alex Williamson
On Sun, 11 Sep 2016 15:31:26 +0200 Christoph Hellwig wrote: > Simply the interrupt setup by using the new PCI layer helpers. > > Signed-off-by: Christoph Hellwig > --- > drivers/vfio/pci/vfio_pci_intrs.c | 45 > + > drivers/vfio/pci/vfio_pci_private.h |

Re: [PATCH v6 1/4] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-09-29 Thread Stefan Wahren
Hi Lee, [add Rob and Mark] > Lee Jones hat am 29. September 2016 um 19:15 > geschrieben: > > > On Thu, 29 Sep 2016, Stefan Wahren wrote: > > > Lee Jones hat am 28. September 2016 um 03:05 > > > geschrieben: > > > > > > > > > On Sat, 17 Sep 2016, Ksenija Stanojevic wrote: > > > > > > > + >

Re: [PATCH locking/Documentation 1/2] Add note of release-acquire store vulnerability

2016-09-29 Thread Paul E. McKenney
On Thu, Sep 29, 2016 at 08:44:39PM +0200, Peter Zijlstra wrote: > On Thu, Sep 29, 2016 at 11:10:15AM -0700, Paul E. McKenney wrote: > > > > > > > > P0(int *x, int *y) > > > > { > > > > WRITE_ONCE(*x, 1); > > > > smp_wmb(); > > > > smp

RE: [RFC PATCH v3 1/2] usb: typec: USB Type-C Port Manager (tcpm)

2016-09-29 Thread Jun Li
Hi Guenter, > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Guenter Roeck > Sent: Wednesday, August 24, 2016 5:11 AM > To: Felipe Balbi > Cc: Chandra Sekhar Anagani ; Bruce > Ashfield ; Bin Gao ; > Pranav Tipnis ; Heikk

Re: [PATCH 2/3] x86/boot: Fix another __read_cr4() case on 486

2016-09-29 Thread Andy Lutomirski
On Thu, Sep 29, 2016 at 4:48 AM, Borislav Petkov wrote: > On Wed, Sep 28, 2016 at 12:34:15PM -0700, Andy Lutomirski wrote: >> The condition for reading CR4 was wrong: there are some CPUs with >> CPUID but not CR4. Rather than trying to make the condition exact, >> using __read_cr4_safe(). >> >> R

Re: [PATCH] Adding Support for Coresight Components on Zynq 7000.

2016-09-29 Thread Sören Brinkmann
Hi Muhammad, On Thu, 2016-09-29 at 12:26:13 +0200, Muhammad Abdul WAHAB wrote: > The Coresight components are present on the Zynq SoC but the corresponding > device tree entries are missing. This patch adds device tree entries for > coresight components while explaining how it was done in order to

Re: [PATCH 6/6] ARM: da850: adjust memory settings for tilcdc

2016-09-29 Thread Karl Beldan
Hi, On Thu, Sep 29, 2016 at 06:31:55PM +0200, Bartosz Golaszewski wrote: > Default memory settings of da850 do not meet the throughput/latency > requirements of tilcdc. This results in the image displayed being > incorrect and the following warning being displayed by the LCDC > drm driver: > >

Re: [PATCH 4/6] ARM: dts: da850-lcdk: add support for 1024x768 resolution

2016-09-29 Thread Karl Beldan
Hi, On Thu, Sep 29, 2016 at 06:31:53PM +0200, Bartosz Golaszewski wrote: > Add svga timings for 1024x768 resolution to the da850-lcdk > device tree. > > Signed-off-by: Bartosz Golaszewski > --- > arch/arm/boot/dts/da850-lcdk.dts | 15 +-- > 1 file changed, 13 insertions(+), 2 deleti

Re: NMI for ARC

2016-09-29 Thread Andy Lutomirski
On Thu, Sep 29, 2016 at 9:47 AM, Vineet Gupta wrote: > On 09/28/2016 11:43 PM, Peter Zijlstra wrote: >> On Wed, Sep 28, 2016 at 06:20:29PM -0700, Vineet Gupta wrote: >>> On 09/28/2016 03:26 PM, Andy Lutomirski wrote: > >> >> >> userirq nmi >> >> | >> | >> `-> .

Re: [PATCH 5/6] genwqe: use pci_irq_allocate_vectors

2016-09-29 Thread Gabriel Krisman Bertazi
Christoph Hellwig writes: > On Thu, Sep 29, 2016 at 03:45:29PM -0300, Gabriel Krisman Bertazi wrote: >> I'm stepping up to assist with the genwqe_card driver just now, since we >> (ibm) missed some of the last patches that went in. I'll add myself to >> maintainers file. > > Can your forward it

Re: [PATCH locking/Documentation 1/2] Add note of release-acquire store vulnerability

2016-09-29 Thread Peter Zijlstra
On Thu, Sep 29, 2016 at 11:10:15AM -0700, Paul E. McKenney wrote: > > > > > > P0(int *x, int *y) > > > { > > > WRITE_ONCE(*x, 1); > > > smp_wmb(); > > > smp_store_release(y, 1); > > > } > > > > > > P1(int *y) > > > { > > > WRITE_ONCE(*y, 2); > > >

Re: [PATCH 5/6] genwqe: use pci_irq_allocate_vectors

2016-09-29 Thread Christoph Hellwig
On Thu, Sep 29, 2016 at 03:45:29PM -0300, Gabriel Krisman Bertazi wrote: > I'm stepping up to assist with the genwqe_card driver just now, since we > (ibm) missed some of the last patches that went in. I'll add myself to > maintainers file. Can your forward it to Greg together with whatever other

Re: [PATCH 5/6] genwqe: use pci_irq_allocate_vectors

2016-09-29 Thread Gabriel Krisman Bertazi
Christoph Hellwig writes: > On Thu, Sep 29, 2016 at 03:28:02PM -0300, Gabriel Krisman Bertazi wrote: >> Christoph Hellwig writes: >> >> > Simply the interrupt setup by using the new PCI layer helpers. >> >> Good clean up. Tested and: >> >> Acked-by: Gabriel Krisman Bertazi > > Which tree sh

Re: [PATCH 4/6] vfio_pci: use pci_irq_allocate_vectors

2016-09-29 Thread Christoph Hellwig
On Sun, Sep 11, 2016 at 03:31:26PM +0200, Christoph Hellwig wrote: > Simply the interrupt setup by using the new PCI layer helpers. > > Signed-off-by: Christoph Hellwig Any chance to get a review for this one? Vfio seems to be actively maintained, so the silence seems odd. I'm still hoping to

Re: [PATCH 3/6] ARM: dts: da850-lcdk: enable the LCD controller

2016-09-29 Thread Karl Beldan
Hi, On Thu, Sep 29, 2016 at 06:31:52PM +0200, Bartosz Golaszewski wrote: > From: Karl Beldan > > This adds the pins used by the LCD controller, and uses 'tilcdc,panel' > with some default timings for 800x600. > > Tested on an LCDK connected on the VGA port (the LCDC is connected to > this port

Re: [PATCH 5/6] genwqe: use pci_irq_allocate_vectors

2016-09-29 Thread Christoph Hellwig
On Thu, Sep 29, 2016 at 03:28:02PM -0300, Gabriel Krisman Bertazi wrote: > Christoph Hellwig writes: > > > Simply the interrupt setup by using the new PCI layer helpers. > > Good clean up. Tested and: > > Acked-by: Gabriel Krisman Bertazi Which tree should this go in through?

Re: [PATCH] KVM: VMX: Better name x2apic msr bitmaps

2016-09-29 Thread Radim Krčmář
2016-09-23 19:17+0800, Wanpeng Li: > Renames x2apic_apicv_inactive msr_bitmaps to x2apic and original > x2apic bitmaps to x2apic_apicv. > > Cc: Paolo Bonzini > Cc: Radim Krčmář > Signed-off-by: Wanpeng Li > --- Applied to kvm/queue, thanks.

Applied "ASoC: Intel: Skylake: fix memory leak of module on error exit path" to the asoc tree

2016-09-29 Thread Mark Brown
The patch ASoC: Intel: Skylake: fix memory leak of module on error exit path has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH 5/6] genwqe: use pci_irq_allocate_vectors

2016-09-29 Thread Gabriel Krisman Bertazi
Christoph Hellwig writes: > Simply the interrupt setup by using the new PCI layer helpers. Good clean up. Tested and: Acked-by: Gabriel Krisman Bertazi > One odd thing about this driver is that it looks like it could request > multiple MSI vectors, but it will then only ever use a single one

Re: [PATCH] kvm/x86: Fix unused variable warning in kvm_timer_init()

2016-09-29 Thread Radim Krčmář
2016-09-04 19:13+0200, Borislav Petkov: > From: Borislav Petkov > > When CONFIG_CPU_FREQ is not set, int cpu is unused and gcc rightfully > warns about it: > > arch/x86/kvm/x86.c: In function ‘kvm_timer_init’: > arch/x86/kvm/x86.c:5697:6: warning: unused variable ‘cpu’ > [-Wunused-variable]

[tip:x86/urgent] x86/init: Fix cr4_init_shadow() on CR4-less machines

2016-09-29 Thread tip-bot for Andy Lutomirski
Commit-ID: e1bfc11c5a6f40222a698a818dc269113245820e Gitweb: http://git.kernel.org/tip/e1bfc11c5a6f40222a698a818dc269113245820e Author: Andy Lutomirski AuthorDate: Wed, 28 Sep 2016 12:34:14 -0700 Committer: Ingo Molnar CommitDate: Thu, 29 Sep 2016 19:08:30 +0200 x86/init: Fix cr4_init_s

Re: [PATCH v3 00/11] re-enable DAX PMD support

2016-09-29 Thread Ross Zwisler
On Wed, Sep 28, 2016 at 02:55:50PM +1000, Dave Chinner wrote: > On Tue, Sep 27, 2016 at 07:08:42PM -0700, Christoph Hellwig wrote: > > On Tue, Sep 27, 2016 at 02:47:51PM -0600, Ross Zwisler wrote: > > > DAX PMDs have been disabled since Jan Kara introduced DAX radix tree based > > > locking. This

[PATCH][V2] dmaengine: coh901318: fix integer overflow when shifting more than 32 places

2016-09-29 Thread Colin King
From: Colin Ian King Currently U300_DMA_CHANNELS is set to 40, meaning that the shift of 1 can be more than 32 places, which leads to a 32 bit integer overflow. Fix this by using 1ULL instead of 1 before shifting it. Also add braces on the for-loop to keep with coding style conventions. Signed-

[tip:perf/core] perf intel-pt: Add support for recording the max non-turbo ratio

2016-09-29 Thread tip-bot for Adrian Hunter
Commit-ID: fa8025c37454501a2df4a90ae84ff01f4aff8ba8 Gitweb: http://git.kernel.org/tip/fa8025c37454501a2df4a90ae84ff01f4aff8ba8 Author: Adrian Hunter AuthorDate: Fri, 23 Sep 2016 17:38:42 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:03 -0300 perf intel-pt

[tip:perf/core] perf tools: Make perf_evsel__append_filter() generic

2016-09-29 Thread tip-bot for Mathieu Poirier
Commit-ID: b15d0a4c828eafc82ea68fcf88db6fa93eeb23d7 Gitweb: http://git.kernel.org/tip/b15d0a4c828eafc82ea68fcf88db6fa93eeb23d7 Author: Mathieu Poirier AuthorDate: Fri, 16 Sep 2016 08:44:03 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:16:58 -0300 perf tools:

[tip:perf/core] perf tests: Add dwarf unwind test for powerpc

2016-09-29 Thread tip-bot for Ravi Bangoria
Commit-ID: d18019a53a07e009899ff6b8dc5ec30f249360d9 Gitweb: http://git.kernel.org/tip/d18019a53a07e009899ff6b8dc5ec30f249360d9 Author: Ravi Bangoria AuthorDate: Mon, 19 Sep 2016 02:38:20 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:18:21 -0300 perf tests: A

Re: pull-request: wireless-drivers-next 2016-09-29

2016-09-29 Thread Pablo Neira Ayuso
On Thu, Sep 29, 2016 at 07:57:28PM +0300, Kalle Valo wrote: > Hi Dave, > > this should be the last wireless-drivers-next pull request for 4.9, from > now on only important bugfixes. Nothing really special stands out, > iwlwifi being most active but other drivers also getting attention. More > deta

[tip:perf/core] perf probe: Match linkage name with mangled name

2016-09-29 Thread tip-bot for Masami Hiramatsu
Commit-ID: d5a00296a63fdd049273f86d0a0cdef6b230f8e6 Gitweb: http://git.kernel.org/tip/d5a00296a63fdd049273f86d0a0cdef6b230f8e6 Author: Masami Hiramatsu AuthorDate: Sat, 24 Sep 2016 00:35:31 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:08 -0300 perf probe

[tip:perf/core] perf probe: Ignore the error of finding inline instance

2016-09-29 Thread tip-bot for Masami Hiramatsu
Commit-ID: f8da4b5155ed9a639ee4250746b5f7ffa6302bf6 Gitweb: http://git.kernel.org/tip/f8da4b5155ed9a639ee4250746b5f7ffa6302bf6 Author: Masami Hiramatsu AuthorDate: Sat, 24 Sep 2016 00:34:57 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:07 -0300 perf probe

[tip:perf/core] perf probe: Skip if the function address is 0

2016-09-29 Thread tip-bot for Masami Hiramatsu
Commit-ID: 0ad45b33c58dca60dec7e1fb44766753bc4a7a38 Gitweb: http://git.kernel.org/tip/0ad45b33c58dca60dec7e1fb44766753bc4a7a38 Author: Masami Hiramatsu AuthorDate: Sat, 24 Sep 2016 00:35:07 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:07 -0300 perf probe

[tip:perf/core] perf probe: Fix to cut off incompatible chars from group name

2016-09-29 Thread tip-bot for Masami Hiramatsu
Commit-ID: 35726d3a4ca9ce10811032baf6fa0b3529aac087 Gitweb: http://git.kernel.org/tip/35726d3a4ca9ce10811032baf6fa0b3529aac087 Author: Masami Hiramatsu AuthorDate: Sat, 24 Sep 2016 00:35:16 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:08 -0300 perf probe

[tip:perf/core] perf intel-pt: Fix decoding when there are address filters

2016-09-29 Thread tip-bot for Adrian Hunter
Commit-ID: 2acee108f58045d07475516852d4282ab73904dc Gitweb: http://git.kernel.org/tip/2acee108f58045d07475516852d4282ab73904dc Author: Adrian Hunter AuthorDate: Fri, 23 Sep 2016 17:38:48 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:06 -0300 perf intel-pt

Re: [PATCH v3 09/11] dax: add struct iomap based DAX PMD support

2016-09-29 Thread Ross Zwisler
On Wed, Sep 28, 2016 at 08:14:24AM +1000, Dave Chinner wrote: > On Tue, Sep 27, 2016 at 02:48:00PM -0600, Ross Zwisler wrote: > > DAX PMDs have been disabled since Jan Kara introduced DAX radix tree based > > locking. This patch allows DAX PMDs to participate in the DAX radix tree > > based lockin

[tip:perf/core] perf intel-pt: Enable decoder to handle TIP.PGD with missing IP

2016-09-29 Thread tip-bot for Adrian Hunter
Commit-ID: 9f1d122b528ef3ffcef1bdcf6a3dddf9450a864e Gitweb: http://git.kernel.org/tip/9f1d122b528ef3ffcef1bdcf6a3dddf9450a864e Author: Adrian Hunter AuthorDate: Fri, 23 Sep 2016 17:38:47 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:06 -0300 perf intel-pt

[tip:perf/core] perf intel-pt: Read address filter from AUXTRACE_INFO event

2016-09-29 Thread tip-bot for Adrian Hunter
Commit-ID: 2b9e32c47fd3edb0373067de7a151775b0e005c2 Gitweb: http://git.kernel.org/tip/2b9e32c47fd3edb0373067de7a151775b0e005c2 Author: Adrian Hunter AuthorDate: Fri, 23 Sep 2016 17:38:46 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:05 -0300 perf intel-pt

[tip:perf/core] perf intel-pt: Record address filter in AUXTRACE_INFO event

2016-09-29 Thread tip-bot for Adrian Hunter
Commit-ID: c093f308cea3eb4be3ed6e7e9ad54bf67a26abe4 Gitweb: http://git.kernel.org/tip/c093f308cea3eb4be3ed6e7e9ad54bf67a26abe4 Author: Adrian Hunter AuthorDate: Fri, 23 Sep 2016 17:38:45 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:05 -0300 perf intel-pt

[tip:perf/core] perf intel-pt: Add a helper function for processing AUXTRACE_INFO

2016-09-29 Thread tip-bot for Adrian Hunter
Commit-ID: 40b746a06332799786ba557fe84184428bef62fb Gitweb: http://git.kernel.org/tip/40b746a06332799786ba557fe84184428bef62fb Author: Adrian Hunter AuthorDate: Fri, 23 Sep 2016 17:38:44 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:04 -0300 perf intel-pt

[tip:perf/core] perf intel-pt: Fix missing error codes processing auxtrace_info

2016-09-29 Thread tip-bot for Adrian Hunter
Commit-ID: 4d34e10a9f9a38c611cac0deda8f91b064282747 Gitweb: http://git.kernel.org/tip/4d34e10a9f9a38c611cac0deda8f91b064282747 Author: Adrian Hunter AuthorDate: Fri, 23 Sep 2016 17:38:43 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:04 -0300 perf intel-pt

[tip:perf/core] perf record: Fix error paths

2016-09-29 Thread tip-bot for Adrian Hunter
Commit-ID: 5c01ad60b8a23f8ff59b9a5a756f07ed08f0b6d1 Gitweb: http://git.kernel.org/tip/5c01ad60b8a23f8ff59b9a5a756f07ed08f0b6d1 Author: Adrian Hunter AuthorDate: Fri, 23 Sep 2016 17:38:37 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:01 -0300 perf record:

[tip:perf/core] perf intel-pt: Fix snapshot overlap detection decoder errors

2016-09-29 Thread tip-bot for Adrian Hunter
Commit-ID: 810c398bc09b2f2dfde52a7d2483a710612c5fb8 Gitweb: http://git.kernel.org/tip/810c398bc09b2f2dfde52a7d2483a710612c5fb8 Author: Adrian Hunter AuthorDate: Fri, 23 Sep 2016 17:38:41 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:03 -0300 perf intel-pt

[tip:perf/core] perf symbols: Add dso__last_symbol()

2016-09-29 Thread tip-bot for Adrian Hunter
Commit-ID: cd67f99fe90dcf515f1c70c474b84d56b6236cbb Gitweb: http://git.kernel.org/tip/cd67f99fe90dcf515f1c70c474b84d56b6236cbb Author: Adrian Hunter AuthorDate: Fri, 23 Sep 2016 17:38:38 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:01 -0300 perf symbols:

[tip:perf/core] perf evsel: New tracepoint specific function

2016-09-29 Thread tip-bot for Mathieu Poirier
Commit-ID: 3541c034d9b953cbd4b961db74630fb6d72e7f37 Gitweb: http://git.kernel.org/tip/3541c034d9b953cbd4b961db74630fb6d72e7f37 Author: Mathieu Poirier AuthorDate: Fri, 16 Sep 2016 08:44:04 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:16:59 -0300 perf evsel:

[tip:perf/core] perf probe: Increase debug level of SDT debug messages

2016-09-29 Thread tip-bot for Adrian Hunter
Commit-ID: f9655200ecd2d6cc13900a727150177b94ca229e Gitweb: http://git.kernel.org/tip/f9655200ecd2d6cc13900a727150177b94ca229e Author: Adrian Hunter AuthorDate: Fri, 23 Sep 2016 17:38:40 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:02 -0300 perf probe: I

[tip:perf/core] perf record: Add support for using symbols in address filters

2016-09-29 Thread tip-bot for Adrian Hunter
Commit-ID: 1b36c03e356936d62abbe2accaae1573d3b66f14 Gitweb: http://git.kernel.org/tip/1b36c03e356936d62abbe2accaae1573d3b66f14 Author: Adrian Hunter AuthorDate: Fri, 23 Sep 2016 17:38:39 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:02 -0300 perf record:

[tip:perf/core] perf evsel: Add support for address filters

2016-09-29 Thread tip-bot for Mathieu Poirier
Commit-ID: 1e85748437ba5fd05abe5396d67062e0b4b502f2 Gitweb: http://git.kernel.org/tip/1e85748437ba5fd05abe5396d67062e0b4b502f2 Author: Mathieu Poirier AuthorDate: Fri, 16 Sep 2016 08:44:05 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:16:59 -0300 perf evsel:

[tip:perf/core] perf script: Fix vanished idle symbols

2016-09-29 Thread tip-bot for Adrian Hunter
Commit-ID: e7a06a5353574cac3a34211bd4e514bb8d00d766 Gitweb: http://git.kernel.org/tip/e7a06a5353574cac3a34211bd4e514bb8d00d766 Author: Adrian Hunter AuthorDate: Fri, 23 Sep 2016 17:38:35 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:00 -0300 perf script:

[tip:perf/core] perf record: Rename label 'out_symbol_exit'

2016-09-29 Thread tip-bot for Adrian Hunter
Commit-ID: 394c01ed8aafdf0f14fb18c6d320d8a783da243c Gitweb: http://git.kernel.org/tip/394c01ed8aafdf0f14fb18c6d320d8a783da243c Author: Adrian Hunter AuthorDate: Fri, 23 Sep 2016 17:38:36 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:17:00 -0300 perf record:

[tip:perf/core] perf tools: Update documentation info about quipper

2016-09-29 Thread tip-bot for Simon Que
Commit-ID: 2acad19500c28ce0c4dc3f9bf1dcfc82040b6531 Gitweb: http://git.kernel.org/tip/2acad19500c28ce0c4dc3f9bf1dcfc82040b6531 Author: Simon Que AuthorDate: Wed, 28 Sep 2016 11:37:53 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Sep 2016 11:16:44 -0300 perf tools: Updat

[tip:perf/core] perf trace: Beautify sched_[gs]et_attr return value

2016-09-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: f0bbd602268e69f4f428075c645391d64bdd6c9f Gitweb: http://git.kernel.org/tip/f0bbd602268e69f4f428075c645391d64bdd6c9f Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 28 Sep 2016 13:45:38 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 28 Sep 2016 13:48:04 -0300 pe

[tip:perf/core] perf data: Fix building in 32 bit platform with libbabeltrace

2016-09-29 Thread tip-bot for Wang Nan
Commit-ID: f2c8852e6e990fcab0d9e68de9d86e5fbea0b5dc Gitweb: http://git.kernel.org/tip/f2c8852e6e990fcab0d9e68de9d86e5fbea0b5dc Author: Wang Nan AuthorDate: Wed, 28 Sep 2016 03:58:46 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 28 Sep 2016 10:38:20 -0300 perf data: Fix bui

[tip:perf/core] perf tools: Fix MMAP event synthesis broken by MAP_HUGETLB change

2016-09-29 Thread tip-bot for Adrian Hunter
Commit-ID: 973186ca7fe94d770a9847d7d530864de6ab638b Gitweb: http://git.kernel.org/tip/973186ca7fe94d770a9847d7d530864de6ab638b Author: Adrian Hunter AuthorDate: Fri, 23 Sep 2016 17:38:34 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 28 Sep 2016 10:21:15 -0300 perf tools: F

[tip:perf/core] perf record: Fix documentation 'event_sources' -> 'event_source'

2016-09-29 Thread tip-bot for Adrian Hunter
Commit-ID: a9e57009dacd58052755cf58463ce41a14a01db5 Gitweb: http://git.kernel.org/tip/a9e57009dacd58052755cf58463ce41a14a01db5 Author: Adrian Hunter AuthorDate: Fri, 23 Sep 2016 17:38:33 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 27 Sep 2016 15:00:29 -0300 perf record:

Re: [PATCH locking/Documentation 1/2] Add note of release-acquire store vulnerability

2016-09-29 Thread Paul E. McKenney
On Thu, Sep 29, 2016 at 11:04:44AM -0700, Paul E. McKenney wrote: > On Thu, Sep 29, 2016 at 10:23:22AM -0700, Paul E. McKenney wrote: > > On Thu, Sep 29, 2016 at 06:10:37PM +0100, Will Deacon wrote: > > > On Thu, Sep 29, 2016 at 09:43:53AM -0700, Paul E. McKenney wrote: > > > > On Thu, Sep 29, 2016

Re: [PATCH] dmaengine: coh901318: fix integer overflow when shifting more than 32 places

2016-09-29 Thread Joe Perches
On Thu, 2016-09-29 at 18:57 +0100, Colin King wrote: > Currently U300_DMA_CHANNELS is set to 40, meaning that the shift of 1 can > be more than 32 places, which leads to a 32 bit integer overflow. Fix this > by casting 1 to a u64 (the same type as started_channels) before shifting > it. trivia: >

Re: [PATCH locking/Documentation 1/2] Add note of release-acquire store vulnerability

2016-09-29 Thread Paul E. McKenney
On Thu, Sep 29, 2016 at 10:23:22AM -0700, Paul E. McKenney wrote: > On Thu, Sep 29, 2016 at 06:10:37PM +0100, Will Deacon wrote: > > On Thu, Sep 29, 2016 at 09:43:53AM -0700, Paul E. McKenney wrote: > > > On Thu, Sep 29, 2016 at 05:03:08PM +0100, Will Deacon wrote: > > > > On Thu, Sep 29, 2016 at 0

Re: [PATCH] ramoops: Remove pmsg case for write with write_buf function

2016-09-29 Thread Mark Salyzyn
On 09/28/2016 07:21 AM, Joel Fernandes wrote: From: Joel Fernandes PMSG now uses ramoops_pstore_write_buf_user instead of write_buf. Remove the case where we check PSTORE_TYPE_PMSG case in write_buf. Ack

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-29 Thread Ondrej Zary
On Thursday 29 September 2016 19:18:43 Sinan Kaya wrote: > On 9/29/2016 12:48 PM, Ondrej Zary wrote: > >> Let's see the new set. If this doesn't work, I'll have to provide you > >> with > >> > >> > another patch to get the penalty counts again. The original debug aids > >> > patch may not apply aft

Re: [PATCH] spmi: regmap: enable userspace writes

2016-09-29 Thread Mark Brown
On Thu, Sep 29, 2016 at 05:06:26PM +0530, Kiran Gunda wrote: > -#undef REGMAP_ALLOW_WRITE_DEBUGFS > +#define REGMAP_ALLOW_WRITE_DEBUGFS This is completely inappropriate for upstream, if you need to do debugging on your platform you can enable this locally but enabling random writes from userspace

[PATCH] dmaengine: coh901318: fix integer overflow when shifting more than 32 places

2016-09-29 Thread Colin King
From: Colin Ian King Currently U300_DMA_CHANNELS is set to 40, meaning that the shift of 1 can be more than 32 places, which leads to a 32 bit integer overflow. Fix this by casting 1 to a u64 (the same type as started_channels) before shifting it. Signed-off-by: Colin Ian King --- drivers/dma/

Re: [PATCH] Input: synaptics-rmi4 - Fix error handling in I2C transport driver

2016-09-29 Thread Bjorn Andersson
On Wed 28 Sep 17:37 PDT 2016, Guenter Roeck wrote: > Instantiating the rmi4 I2C transport driver without interrupts assigned > (for example using manual i2c instantiation from the command line) > caused the driver to fail to load, but it does not clean up its > regulator or transport device regist

[PATCH] x86/vmware: Skip lapic calibration on VMware.

2016-09-29 Thread Renat Valiullin
In virtualized environment the APIC timer calibration could go wrong when the host is overcommitted or the guest is running nested, this would result in the APIC timers operating at an incorrect frequency. Since VMware supports a mechanism to retrieve the local APIC frequency we can ask the hypervi

Re: [PATCH 1/1] crypto: atmel-aes: add support to the XTS mode

2016-09-29 Thread Stephan Mueller
Am Donnerstag, 29. September 2016, 18:49:07 CEST schrieb Cyrille Pitchen: Hi Cyrille, > This patch adds the xts(aes) algorithm, which is supported from > hardware version 0x500 and above (sama5d2x). > > Signed-off-by: Cyrille Pitchen > --- > drivers/crypto/atmel-aes-regs.h | 4 + > drivers/c

[PATCH] dmaengine: jz4780: fix resource leaks on error exit return

2016-09-29 Thread Colin King
From: Colin Ian King In two cases when jz4780_dma_setup_hwdesc fails, there is a memory leak on the allocated desc and associated DMA pools on the error exit return path. Fix this by free'ing the resources before returning. Signed-off-by: Colin Ian King --- drivers/dma/dma-jz4780.c | 8 ++

Re: [PATCH v19 05/12] fpga-mgr: add fpga image information struct

2016-09-29 Thread Michal Simek
On 28.9.2016 21:34, Alan Tull wrote: > On Wed, Sep 28, 2016 at 6:41 PM, Moritz Fischer > wrote: > Hi Moritz, > >> Hi Alan, >> >> generally ok with the change. > > Cool! > >> >> On Wed, Sep 28, 2016 at 11:21 AM, Alan Tull >> wrote: >> >>> -int fpga_mgr_buf_load(struct fpga_manager *mgr, u32 fl

Re: [RFC PATCH 1/1] mm/percpu.c: fix potential memory leakage for pcpu_embed_first_chunk()

2016-09-29 Thread zijun_hu
On 2016/9/30 0:44, Tejun Heo wrote: > Hello, > > On Fri, Sep 30, 2016 at 12:03:20AM +0800, zijun_hu wrote: >> From: zijun_hu >> >> it will cause memory leakage for pcpu_embed_first_chunk() to go to >> label @out_free if the chunk spans over 3/4 VMALLOC area. all memory >> are allocated and record

<    1   2   3   4   5   6   7   8   >