[PATCH] clk: tegra: dfll: add missing rcu_read_unlock() for error path

2015-09-16 Thread Vince Hsu
From: Vince Hsu The commit e770940218028c6a5927fda45f2ca9db5d9b35e0 ("clk: tegra: dfll: Properly protect OPP list") added the rcu_read_{lock,unlock} but missed one in the error path. So add the missing one. Signed-off-by: Vince Hsu --- Hi, I noticed the

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

2015-09-16 Thread Jiri Olsa
On Wed, Sep 16, 2015 at 10:12:45AM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the tip tree, today's linux-next build (perf) failed > like this: > > make[3]: *** No rule to make target 'tools/lib/api/fs/debugfs.h', needed by > 'tools/perf/arch/common.o'. Stop. >

[PATCH v1] mm: hwpoison: ratelimit messages from unpoison_memory()

2015-09-16 Thread Naoya Horiguchi
Currently kernel prints out results of every single unpoison event, which is not necessary because unpoison is purely a testing feature and testers can get little or no information from lots of lines of unpoison log storm. So this patch ratelimits printk in unpoison_memory(). This patch

Re: [PATCH v3 1/2] KVM: nVMX: enhance allocate/free_vpid to handle shadow vpid

2015-09-16 Thread Jan Kiszka
On 2015-09-16 05:51, Wanpeng Li wrote: > Enhance allocate/free_vid to handle shadow vpid. > > Signed-off-by: Wanpeng Li > --- > arch/x86/kvm/vmx.c | 24 +++- > 1 file changed, 11 insertions(+), 13 deletions(-) > > diff --git a/arch/x86/kvm/vmx.c

Re: [PATCH] clk: ti: clk-7xx: Remove hardwired ABE clock configuration

2015-09-16 Thread Tero Kristo
On 09/14/2015 11:52 AM, Peter Ujfalusi wrote: Hi Tero, On 08/24/2015 10:35 AM, Peter Ujfalusi wrote: The ABE related clocks should be configured via DT and not have it wired inside of the kernel. can you take a look at this patch? It will not cause any regression since we do not have audio

[PATCH v2 1/1] eventfd: implementation of EFD_MASK flag

2015-09-16 Thread Damian Hobson-Garcia
From: Martin Sustrik When implementing network protocols in user space, one has to implement fake file descriptors to represent the sockets for the protocol. Polling on such fake file descriptors is a problem (poll/select/epoll accept only true file descriptors) and forces

Re: [PATCH] KVM: nVMX: nested VPID emulation

2015-09-16 Thread Wanpeng Li
On 9/16/15 1:20 PM, Jan Kiszka wrote: On 2015-09-16 04:36, Wanpeng Li wrote: On 9/16/15 1:32 AM, Jan Kiszka wrote: On 2015-09-15 12:14, Wanpeng Li wrote: On 9/14/15 10:54 PM, Jan Kiszka wrote: Last but not least: the guest can now easily exhaust the host's pool of vpid by simply spawning

[PATCH v2 0/1] Generalize poll events from eventfd

2015-09-16 Thread Damian Hobson-Garcia
Using eventfd user space can generate POLLIN/POLLOUT events but some applications may want to generate POLLPRI/POLLERR events as well. This patch submission aims to generalize the events generated by an eventfd. This is a resubmission of a patch from Feb 2013[1]. The original discussion trailed

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

2015-09-16 Thread Jiri Olsa
On Wed, Sep 16, 2015 at 08:16:52AM +0200, Jiri Olsa wrote: > On Wed, Sep 16, 2015 at 10:12:45AM +1000, Stephen Rothwell wrote: > > Hi all, > > > > After merging the tip tree, today's linux-next build (perf) failed > > like this: > > > > make[3]: *** No rule to make target

[PATCH v8 3/5] usb: phy: add usb3.0 phy driver for mt65xx SoCs

2015-09-16 Thread Chunfeng Yun
support usb3.0 phy of mt65xx SoCs Signed-off-by: Chunfeng Yun --- drivers/phy/Kconfig | 9 + drivers/phy/Makefile | 1 + drivers/phy/phy-mt65xx-usb3.c | 456 ++ 3 files changed, 466 insertions(+) create

[PATCH v8 4/5] xhci: mediatek: support MTK xHCI host controller

2015-09-16 Thread Chunfeng Yun
There some vendor quirks for MTK xhci host controller: 1. It defines some extra SW scheduling parameters for HW to minimize the scheduling effort for synchronous and interrupt endpoints. The parameters are put into reseved DWs of slot context and endpoint context. 2. Its IMODI unit for

[RFC PATCH v8 01/10] mmc: dw_mmc: Add external dma interface support

2015-09-16 Thread Shawn Lin
DesignWare MMC Controller can supports two types of DMA mode: external dma and internal dma. We get a RK312x platform integrated dw_mmc and ARM pl330 dma controller. This patch add edmac ops to support these platforms. I've tested it on RK31xx platform with edmac mode and RK3288 platform with

[RFC PATCH v8 09/10] arm: multi_v7_defconfig: remove CONFIG_MMC_DW_IDMAC

2015-09-16 Thread Shawn Lin
DesignWare MMC Controller's transfer mode should be decided at runtime instead of compile-time. So we remove this config option and read dw_mmc's register to select DMA master. Signed-off-by: Shawn Lin --- Changes in v8: None Changes in v7: None Changes in v6: None

Re: [PATCH v3 2/2] KVM: nVMX: nested VPID emulation

2015-09-16 Thread Jan Kiszka
On 2015-09-16 05:51, Wanpeng Li wrote: > VPID is used to tag address space and avoid a TLB flush. Currently L0 use > the same VPID to run L1 and all its guests. KVM flushes VPID when switching > between L1 and L2. > > This patch advertises VPID to the L1 hypervisor, then address space of L1

Re: [GIT PULL 00/15] perf/urgent fixes

2015-09-16 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, there are quite a few patches, but that is > because Adrian did the right thing and made his patches very granular, thanks > Adrian! > > - Arnaldo > > The following changes since commit

[tip:perf/core] perf evsel: Add own_cpus member

2015-09-16 Thread tip-bot for Adrian Hunter
Commit-ID: fce4d296b405b03fba033a55017348bf55b10db6 Gitweb: http://git.kernel.org/tip/fce4d296b405b03fba033a55017348bf55b10db6 Author: Adrian Hunter AuthorDate: Tue, 8 Sep 2015 10:58:55 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[tip:perf/core] perf evlist: Make set_maps() more resilient

2015-09-16 Thread tip-bot for Adrian Hunter
Commit-ID: 934e0f2053ce299893ca48a411bf7fdc8ac6254f Gitweb: http://git.kernel.org/tip/934e0f2053ce299893ca48a411bf7fdc8ac6254f Author: Adrian Hunter AuthorDate: Tue, 8 Sep 2015 10:58:56 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[tip:perf/core] perf evlist: Make create_maps() use set_maps()

2015-09-16 Thread tip-bot for Adrian Hunter
Commit-ID: 74bfd2b25de354feb4484c553dce4fe8d9c3b60b Gitweb: http://git.kernel.org/tip/74bfd2b25de354feb4484c553dce4fe8d9c3b60b Author: Adrian Hunter AuthorDate: Tue, 8 Sep 2015 10:58:57 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[tip:perf/core] perf evlist: Fix splice_list_tail() not setting evlist

2015-09-16 Thread tip-bot for Adrian Hunter
Commit-ID: f114d6eff76d20b521d8716e969e71b1f56f82b5 Gitweb: http://git.kernel.org/tip/f114d6eff76d20b521d8716e969e71b1f56f82b5 Author: Adrian Hunter AuthorDate: Tue, 8 Sep 2015 10:58:53 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[tip:perf/core] perf evlist: Fix missing thread_map__put in propagate_maps()

2015-09-16 Thread tip-bot for Adrian Hunter
Commit-ID: b278c364b35ae940b05f6a9edf8061fc886cd09e Gitweb: http://git.kernel.org/tip/b278c364b35ae940b05f6a9edf8061fc886cd09e Author: Adrian Hunter AuthorDate: Tue, 8 Sep 2015 10:58:54 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[PATCH 2/2] drivers: clk: st: Rename st_pll3200c32_407_c0_x into st_pll3200c32_cx_x

2015-09-16 Thread Gabriel Fernandez
Use a generic name for this kind of PLL Correction in dts files are already done here: commit 5eb26c605909 ("ARM: STi: DT: Rename st_pll3200c32_407_c0_x into st_pll3200c32_cx_x") Signed-off-by: Gabriel Fernandez --- drivers/clk/st/clkgen-fsyn.c | 8

Re: [PATCH v2 1/1] eventfd: implementation of EFD_MASK flag

2015-09-16 Thread Damian Hobson-Garcia
Hi Martin, On 2015-09-16 3:51 PM, Martin Sustrik wrote: > On 2015-09-16 08:27, Damian Hobson-Garcia wrote: >> >> Additionally, to provide a way to associate user-space state with eventfd >> object, it allows to attach user-space data to the file descriptor. > > The above paragraph is a leftover

RE: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

2015-09-16 Thread Thomas Gleixner
On Wed, 16 Sep 2015, Zhu Jefferry wrote: > Thanks for your detail guideline and explanations. Please see my questions > in-line. Please trim the reply to the relevant sections. It's annoying if I have to search your replies inside of useless quoted text. > > -Original Message- > >

[PATCH 1/6] pinctrl: tz1090: Remove unneded semicolons

2015-09-16 Thread Javier Martinez Canillas
They aren't needed and are just creating null statements so remove it. Signed-off-by: Javier Martinez Canillas --- drivers/pinctrl/pinctrl-tz1090.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl-tz1090.c

[PATCH 6/6] pinctrl: samsung: Remove unneded semicolon

2015-09-16 Thread Javier Martinez Canillas
It's not needed an is just creating a null statement, so remove it. Signed-off-by: Javier Martinez Canillas --- drivers/pinctrl/samsung/pinctrl-exynos5440.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/samsung/pinctrl-exynos5440.c

[PATCH 3/6] pinctrl: mxs: Remove unneded semicolon

2015-09-16 Thread Javier Martinez Canillas
It's not needed an is just creating a null statement, so remove it. Signed-off-by: Javier Martinez Canillas --- drivers/pinctrl/freescale/pinctrl-mxs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/freescale/pinctrl-mxs.c

[PATCH 4/6] pinctrl: sunxi: Remove unneeded semicolon

2015-09-16 Thread Javier Martinez Canillas
It's not needed an is just creating a null statement, so remove it. Signed-off-by: Javier Martinez Canillas --- drivers/pinctrl/sunxi/pinctrl-sunxi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/sunxi/pinctrl-sunxi.c

Re: [PATCH 5/7] [media] use v4l2_get_timestamp where possible

2015-09-16 Thread Sylwester Nawrocki
On 15/09/15 17:49, Arnd Bergmann wrote: > This is a preparation for a change to the type of v4l2 timestamps. > v4l2_get_timestamp() is a helper function that reads the monotonic > time and stores it into a 'struct timeval'. Multiple drivers implement > the same thing themselves for historic

[PATCH v8 07/13] KVM: x86: Update IRTE for posted-interrupts

2015-09-16 Thread Feng Wu
This patch adds the routine to update IRTE for posted-interrupts when guest changes the interrupt configuration. Signed-off-by: Feng Wu --- v8: - Move 'kvm_arch_update_pi_irte' to vmx.c as a callback - Only update the PI irte when VM has assigned devices - Add a trace point

[PATCH v8 08/13] KVM: Implement IRQ bypass consumer callbacks for x86

2015-09-16 Thread Feng Wu
Implement the following callbacks for x86: - kvm_arch_irq_bypass_add_producer - kvm_arch_irq_bypass_del_producer - kvm_arch_irq_bypass_stop: dummy callback - kvm_arch_irq_bypass_resume: dummy callback and set CONFIG_HAVE_KVM_IRQ_BYPASS for x86. Signed-off-by: Feng Wu --- v8:

[RFC PATCH 0/3] fix *pbl format support

2015-09-16 Thread Maurizio Lombardi
Hi, I tried to fix the "*pb[l]" format issue while taking care of the problems discussed in this thread: https://lkml.org/lkml/2015/9/9/153 I would like to know whether this approach is more acceptable to you: PATCH 1 modifies the code so that the printf_spec struct is not passed by value

[PATCH v8 02/13] KVM: Add some helper functions for Posted-Interrupts

2015-09-16 Thread Feng Wu
This patch adds some helper functions to manipulate the Posted-Interrupts Descriptor. Signed-off-by: Feng Wu Reviewed-by: Paolo Bonzini --- arch/x86/kvm/vmx.c | 26 ++ 1 file changed, 26 insertions(+) diff --git

[PATCH v8 05/13] KVM: make kvm_set_msi_irq() public

2015-09-16 Thread Feng Wu
Make kvm_set_msi_irq() public, we can use this function outside. Signed-off-by: Feng Wu Reviewed-by: Paolo Bonzini --- v8: - Export kvm_set_msi_irq() so we can use it in vmx code arch/x86/include/asm/kvm_host.h | 4 arch/x86/kvm/irq_comm.c

Re: [PATCH] mmc: pxamci: fix card detect threaded interrupt

2015-09-16 Thread Robert Jarzmik
Ulf Hansson writes: > On 12 September 2015 at 11:03, Robert Jarzmik wrote: >> Change the interrupt flavor of the card detection, from a hard interrupt >> to a threaded interrupt. There is no strong requirement for a hard >> interrupt. >> >> It

[PATCH v4] add stealth mode

2015-09-16 Thread Matteo Croce
Add option to disable any reply not related to a listening socket, like RST/ACK for TCP and ICMP Port-Unreachable for UDP. Also disables ICMP replies to echo request and timestamp. The stealth mode can be enabled selectively for a single interface. Signed-off-by: Matteo Croce

Re: Request for submaintainer moderation: PFC pinctrl patches

2015-09-16 Thread Geert Uytterhoeven
Hi Linus, On Tue, Sep 15, 2015 at 10:48 PM, Linus Walleij wrote: > On Fri, Sep 11, 2015 at 2:49 PM, Laurent Pinchart > wrote: > >> The topic is on our agenda for a meeting on Monday, I believe we'll appoint >> someone to submaintain

Re: [PATCH 08/17] Update the mmc driver to use idr helper functions.

2015-09-16 Thread Ulf Hansson
On 15 September 2015 at 18:46, Lee Duncan wrote: > Signed-off-by: Lee Duncan Please change the prefix of the commit message header to "mmc: core" and resend to linux-mmc. Kind regards Uffe > --- > drivers/mmc/core/host.c | 14 -- > 1 file

[RFC PATCH v8 02/10] mmc: dw_mmc: use macro for HCON register operations

2015-09-16 Thread Shawn Lin
This patch add some macros for HCON register operations to make code more readable. Signed-off-by: Shawn Lin Acked-by: Jaehoon Chung --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes

Re: [PATCH v3 1/2] KVM: nVMX: enhance allocate/free_vpid to handle shadow vpid

2015-09-16 Thread Wanpeng Li
On 9/16/15 2:42 PM, Jan Kiszka wrote: On 2015-09-16 05:51, Wanpeng Li wrote: Enhance allocate/free_vid to handle shadow vpid. Signed-off-by: Wanpeng Li --- arch/x86/kvm/vmx.c | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) diff

[PATCH v8 1/5] dt-bindings: Add usb3.0 phy binding for MT65xx SoCs

2015-09-16 Thread Chunfeng Yun
add a DT binding documentation of usb3.0 phy for MT65xx SoCs from Mediatek. Acked-by: Rob Herring Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/phy/phy-mt65xx-usb.txt | 68 ++ 1 file changed, 68 insertions(+) create

[PATCH v8 0/5] Mediatek xHCI support

2015-09-16 Thread Chunfeng Yun
>From e731877598e7564171bea62955b4e50b04d88d34 Mon Sep 17 00:00:00 2001 From: Chunfeng Yun Date: Wed, 16 Sep 2015 14:24:11 +0800 Subject: [PATCH v8 0/5] Mediatek xHCI support The patch supports MediaTek's xHCI controller. There are some differences from xHCI spec: 1.

Re: [PATCH v3] tpm, tpm_crb: fix unaligned read of the command buffer address

2015-09-16 Thread Jarkko Sakkinen
On Tue, Sep 15, 2015 at 11:22:27AM -0600, Jason Gunthorpe wrote: > On Tue, Sep 15, 2015 at 08:05:40PM +0300, Jarkko Sakkinen wrote: > > The command buffer address must be read with exactly two 32-bit reads. > > Otherwise, on some HW platforms, it seems that HW will abort the read > > operation,

[PATCH v4 0/2] KVM: nested VPID emulation

2015-09-16 Thread Wanpeng Li
v3 -> v4: * return 0 if vpid == VMX_NR_VPIDs * skip vpid != 0 check v2 -> v3: * enhance allocate/free_vpid as Jan's suggestion * add more comments to 2/2 v1 -> v2: * enhance allocate/free_vpid to handle shadow vpid * drop empty space * allocate shadow vpid during initialization * For

[tip:perf/core] perf evsel: Propagate error info from tp_format

2015-09-16 Thread tip-bot for Jiri Olsa
Commit-ID: 8dd2a1317eba2c207632dcb19adb7cb746861652 Gitweb: http://git.kernel.org/tip/8dd2a1317eba2c207632dcb19adb7cb746861652 Author: Jiri Olsa AuthorDate: Mon, 7 Sep 2015 10:38:06 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 15 Sep

[tip:perf/core] perf evlist: Simplify propagate_maps() logic

2015-09-16 Thread tip-bot for Adrian Hunter
Commit-ID: a69b09e2342a9c144b0291b9aeb849ab7d5843bf Gitweb: http://git.kernel.org/tip/a69b09e2342a9c144b0291b9aeb849ab7d5843bf Author: Adrian Hunter AuthorDate: Tue, 8 Sep 2015 10:58:49 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[tip:perf/core] perf tools: regs_query_register_offset() infrastructure

2015-09-16 Thread tip-bot for Wang Nan
Commit-ID: 63ab024a5b6f295ca17a293ad81b7c728f49a89a Gitweb: http://git.kernel.org/tip/63ab024a5b6f295ca17a293ad81b7c728f49a89a Author: Wang Nan AuthorDate: Mon, 14 Sep 2015 23:02:49 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 15 Sep

[tip:perf/core] perf tools: Enhance parsing events tracepoint error output

2015-09-16 Thread tip-bot for Jiri Olsa
Commit-ID: 196581717d85f59365dc9303685cd5b1cdf106a3 Gitweb: http://git.kernel.org/tip/196581717d85f59365dc9303685cd5b1cdf106a3 Author: Jiri Olsa AuthorDate: Mon, 7 Sep 2015 10:38:07 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 15 Sep

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

2015-09-16 Thread Stephen Rothwell
Hi Jiri, On Wed, 16 Sep 2015 08:38:17 +0200 Jiri Olsa wrote: > > > > Also, building perf seems to ignore O= on the make invocation. > > > Is that expected? > > > > hum, not sure about this one.. I'm not using it, but we have > > tests for this and I thought we're ok.. I'll

Re: [PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-09-16 Thread Tomeu Vizoso
On 11 September 2015 at 14:08, Mark Brown wrote: > On Mon, Sep 07, 2015 at 02:23:29PM +0200, Tomeu Vizoso wrote: >> Walks the OF tree up and finds the closest ancestor that has a struct >> device associated with it, probing it if isn't bound to a driver yet. > >> The above

RE: [PATCH v3] ARM: configs: Add Freescale LS1021A defconfig

2015-09-16 Thread Huan Wang
Hi, Shawn, > On Fri, Aug 28, 2015 at 5:04 AM, Huan Wang > wrote: > > > I need Fabio's confirmation about removing CONFIG_SOC_LS1021A from > imx_v6_v7_config. > > > > Fabio, Do you agree it? > > Yes, if Shawn accepts ls1021a_defconfig then we should remove >

Re: [4.2] commit d59cfc09c32 (sched, cgroup: replace signal_struct->group_rwsem with a global percpu_rwsem) causes regression for libvirt/kvm

2015-09-16 Thread Paolo Bonzini
On 15/09/2015 19:38, Paul E. McKenney wrote: > Excellent points! > > Other options in such situations include the following: > > o Rework so that the code uses call_rcu*() instead of *_expedited(). > > o Maintain a per-task or per-CPU counter so that every so many >

[PATCH 0/6] pinctrl: Remove unneded semicolons in drivers

2015-09-16 Thread Javier Martinez Canillas
Hello Linus, This series contains trivial patches that removes unneeded semicolons in pinctrl drivers. These are clearly typo errors and are just creating null statements. Best regards, Javier Javier Martinez Canillas (6): pinctrl: tz1090: Remove unneded semicolons pinctrl: tz1090-pdc:

Re: [PATCH 3/6] pinctrl: mxs: Remove unneded semicolon

2015-09-16 Thread Uwe Kleine-König
Hello, On Wed, Sep 16, 2015 at 10:28:28AM +0200, Javier Martinez Canillas wrote: > It's not needed an is just creating a null statement, so remove it. > > Signed-off-by: Javier Martinez Canillas Acked-by: Uwe Kleine-König Thanks Uwe --

[PATCH v8 12/13] KVM: Warn if 'SN' is set during posting interrupts by software

2015-09-16 Thread Feng Wu
Currently, we don't support urgent interrupt, all interrupts are recognized as non-urgent interrupt, so we cannot post interrupts when 'SN' is set. If the vcpu is in guest mode, it cannot have been scheduled out, and that's the only case when SN is set currently, warning if SN is set.

[PATCHv2] SUNRPC: Fix a race in xs_reset_transport

2015-09-16 Thread Suzuki K. Poulose
From: "Suzuki K. Poulose" Encountered the following BUG() with 4.3-rc1 on a fast model for arm64 with NFS root filesystem. [ cut here ] kernel BUG at fs/inode.c:1493! Internal error: Oops - BUG: 0 [#1] PREEMPT SMP Modules linked in: CPU: 2 PID: 1

[PATCH v8 00/13] Add VT-d Posted-Interrupts support

2015-09-16 Thread Feng Wu
VT-d Posted-Interrupts is an enhancement to CPU side Posted-Interrupt. With VT-d Posted-Interrupts enabled, external interrupts from direct-assigned devices can be delivered to guests without VMM intervention when guest is running in non-root mode. You can find the VT-d Posted-Interrtups Spec. in

[PATCH v8 04/13] KVM: Make struct kvm_irq_routing_table accessible

2015-09-16 Thread Feng Wu
Move struct kvm_irq_routing_table from irqchip.c to kvm_host.h, so we can use it outside of irqchip.c. Signed-off-by: Feng Wu Reviewed-by: Paolo Bonzini --- include/linux/kvm_host.h | 14 ++ virt/kvm/irqchip.c | 10 -- 2 files

[PATCH v8 06/13] vfio: Register/unregister irq_bypass_producer

2015-09-16 Thread Feng Wu
This patch adds the registration/unregistration of an irq_bypass_producer for MSI/MSIx on vfio pci devices. Signed-off-by: Feng Wu --- v8: - Merge "[PATCH v7 08/17] vfio: Select IRQ_BYPASS_MANAGER for vfio PCI devices" into this patch. v6: - Make the add_consumer and

[PATCH v8 10/13] KVM: Update Posted-Interrupts Descriptor when vCPU is preempted

2015-09-16 Thread Feng Wu
This patch updates the Posted-Interrupts Descriptor when vCPU is preempted. sched out: - Set 'SN' to suppress furture non-urgent interrupts posted for the vCPU. sched in: - Clear 'SN' - Change NDST if vCPU is scheduled to a different CPU - Set 'NV' to POSTED_INTR_VECTOR Signed-off-by: Feng Wu

[PATCH v8 13/13] iommu/vt-d: Add a command line parameter for VT-d posted-interrupts

2015-09-16 Thread Feng Wu
Enable VT-d Posted-Interrtups and add a command line parameter for it. Signed-off-by: Feng Wu Reviewed-by: Paolo Bonzini --- Documentation/kernel-parameters.txt | 1 + drivers/iommu/irq_remapping.c | 12 2 files changed, 9

Re: [PATCH v4 1/2] KVM: nVMX: enhance allocate/free_vpid to handle shadow vpid

2015-09-16 Thread Wanpeng Li
On 9/16/15 5:11 PM, Jan Kiszka wrote: On 2015-09-16 09:19, Wanpeng Li wrote: Enhance allocate/free_vid to handle shadow vpid. Signed-off-by: Wanpeng Li --- arch/x86/kvm/vmx.c | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git

Re: [PATCH v8 03/13] KVM: Define a new interface kvm_intr_is_single_vcpu()

2015-09-16 Thread Paolo Bonzini
On 16/09/2015 10:49, Feng Wu wrote: > This patch defines a new interface kvm_intr_is_single_vcpu(), > which can returns whether the interrupt is for single-CPU or not. > > It is used by VT-d PI, since now we only support single-CPU > interrupts, For lowest-priority interrupts, if user

Re: [PATCH] vmcore: replace Elf64_Ehdr/Elf32_Ehdr with elfhdr

2015-09-16 Thread Dave Young
Cc kexec list. On 09/16/15 at 10:58am, yanjiang@windriver.com wrote: > From: Yanjiang Jin > > Function parse_crash_elf_headers() reads e_ident[EI_CLASS] then decides to > call parse_crash_elf64_headers() or parse_crash_elf32_headers(). > But this happens in run

Re: [PATCH 02/31] arch/ia64/tioce: use kmemdup rather than duplicating its implementation

2015-09-16 Thread Andrzej Hajda
Ping. Regards Andrzej On 08/07/2015 09:59 AM, Andrzej Hajda wrote: > The patch was generated using fixed coccinelle semantic patch > scripts/coccinelle/api/memdup.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 > > Signed-off-by: Andrzej Hajda >

[PATCH] mmc: sdhci-bcm-kona: fix logic to check for 8-bit data width

2015-09-16 Thread Javier Martinez Canillas
The driver prints if the data width is 8-bit but it's using a binary OR instead of a binary AND so it will always report as "is_8bit=Y" regardless of the flags in host->mmc->caps. Signed-off-by: Javier Martinez Canillas --- drivers/mmc/host/sdhci-bcm-kona.c | 2 +- 1

Re: [PATCH 01/31] arch/arm/mach-lpc32xx: use kmemdup rather than duplicating its implementation

2015-09-16 Thread Andrzej Hajda
Ping. Regards Andrzej On 08/07/2015 09:59 AM, Andrzej Hajda wrote: > The patch was generated using fixed coccinelle semantic patch > scripts/coccinelle/api/memdup.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 > > Signed-off-by: Andrzej Hajda >

Re: [PATCH 08/31] arch/x86/intel-mid: use kmemdup rather than duplicating its implementation

2015-09-16 Thread Andrzej Hajda
Ping. Regards Andrzej On 08/07/2015 09:59 AM, Andrzej Hajda wrote: > The patch was generated using fixed coccinelle semantic patch > scripts/coccinelle/api/memdup.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 > > Signed-off-by: Andrzej Hajda >

[RFC PATCH v8 0/10] Add external dma support for Synopsys MSHC

2015-09-16 Thread Shawn Lin
Synopsys DesignWare mobile storage host controller supports three types of transfer mode: pio, internal dma and external dma. However, dw_mmc can only supports pio and internal dma now. Thus some platforms using dw-mshc integrated with generic dma can't work in dma mode. So we submit this patch

[RFC PATCH v8 07/10] arm: hisi_defconfig: remove CONFIG_MMC_DW_IDMAC

2015-09-16 Thread Shawn Lin
DesignWare MMC Controller's transfer mode should be decided at runtime instead of compile-time. So we remove this config option and read dw_mmc's register to select DMA master. Signed-off-by: Shawn Lin Acked-by: Wei Xu --- Changes in v8: None

Re: [PATCH v2 1/1] eventfd: implementation of EFD_MASK flag

2015-09-16 Thread Martin Sustrik
On 2015-09-16 08:27, Damian Hobson-Garcia wrote: From: Martin Sustrik When implementing network protocols in user space, one has to implement fake file descriptors to represent the sockets for the protocol. Polling on such fake file descriptors is a problem

Re: linux-next: manual merge of the akpm-current tree with the tip tree

2015-09-16 Thread Geert Uytterhoeven
Hi Andrew, On Wed, Sep 9, 2015 at 1:21 AM, Andrew Morton wrote: > New syscalls are rather a pain, both from the patch-monkeying POV and > also because nobody knows what the syscall numbers will be until > everything lands in mainline. Oh well, it doesn't happen often

Re: [PATCH v5 2/5] dt/bindings: add bindings for optee

2015-09-16 Thread Jens Wiklander
On Tue, Sep 15, 2015 at 05:37:07PM -0500, Rob Herring wrote: > On 08/19/2015 03:40 AM, Jens Wiklander wrote: > > Introduces optee prefix and adds bindings for ARM TrustZone based OP-TEE > > implementation. > > > > Signed-off-by: Jens Wiklander > > --- > >

Re: [PATCH] mmc: pxamci: fix card detect threaded interrupt

2015-09-16 Thread Ulf Hansson
On 12 September 2015 at 11:03, Robert Jarzmik wrote: > Change the interrupt flavor of the card detection, from a hard interrupt > to a threaded interrupt. There is no strong requirement for a hard > interrupt. > > It fixes the case where the card detection is on a gpio

[tip:perf/core] perf tests: Fix task exit test setting maps

2015-09-16 Thread tip-bot for Adrian Hunter
Commit-ID: 2998272275fc31fc3d478ef9c95e7eaef67dafa3 Gitweb: http://git.kernel.org/tip/2998272275fc31fc3d478ef9c95e7eaef67dafa3 Author: Adrian Hunter AuthorDate: Tue, 8 Sep 2015 10:59:01 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[tip:perf/core] perf evlist: Fix create_syswide_maps() not propagating maps

2015-09-16 Thread tip-bot for Adrian Hunter
Commit-ID: 8c0498b6891d7ca5c379c6283de7fc7fe8eebe5c Gitweb: http://git.kernel.org/tip/8c0498b6891d7ca5c379c6283de7fc7fe8eebe5c Author: Adrian Hunter AuthorDate: Tue, 8 Sep 2015 10:59:00 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

Re: [PATCH 1/4] stmmac: replace all pr_xxx by their dev_xxx counterpart

2015-09-16 Thread LABBE Corentin
On Wed, Sep 09, 2015 at 09:14:42AM -0700, Joe Perches wrote: > On Wed, 2015-09-09 at 15:14 +0200, LABBE Corentin wrote: > > The stmmac driver use lots of pr_xxx functions to print information. > > This is bad since we cannot know which device logs the information. > > (moreover if two stmmac

Re: [PATCH] pinctrl: sirf: Fix module autoloading for OF

2015-09-16 Thread Javier Martinez Canillas
Hello, On 09/16/2015 09:43 AM, Javier Martinez Canillas wrote: > Drivers needs to export the OF id table and this be built into > the module or udev won't have the necessary information to auto > load the driver module when the device is registered by OF. > > Signed-off-by: Javier Martinez

[v7 PATCH 1/2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-09-16 Thread Adriana Reus
Add support for UPISEMI us5182d als and proximity sensor. Supports raw readings. Data sheet for this device can be found here: http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf Signed-off-by: Adriana Reus --- No changes since v6 drivers/iio/light/Kconfig | 10 +

[v7 PATCH 0/2] Add support and documentation for UPISEMI us5182d als and proximity sensor

2015-09-16 Thread Adriana Reus
This series adds basic support for this als and proximity sensor and devicetree docs. Adriana Reus (2): iio: light: Add support for UPISEMI uS5182d als and proximity sensor devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

[v7 PATCH 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-09-16 Thread Adriana Reus
Added entries in i2c/vendor-prefixes for the us5182d als and proximity sensor. Also added a documentation file for this sensor's properties. Signed-off-by: Adriana Reus --- Changes since v6: * Added some aditional clarifications on the optional properties, as

Re: [linux-next RFC v7 2/6] mtd: spi-nor: read JEDEC ID with multiple I/O protocols

2015-09-16 Thread Cyrille Pitchen
Hi Jagan, Le 15/09/2015 19:53, Jagan Teki a écrit : > On 15 September 2015 at 20:58, Cyrille Pitchen > wrote: >> When their quad or dual I/O mode is enabled, Micron and Macronix spi-nor >> memories don't reply to the regular Read ID (0x9f) command. Instead they >>

Re: [PATCH RFC 1/8] dt-bindings: Document the hi6220 bindings for DRM driver

2015-09-16 Thread Xinwei Kong
hi architt On 2015/9/16 2:11, Rob Herring wrote: > On 09/15/2015 04:37 AM, Xinwei Kong wrote: >> This adds documentation of device tree bindings for the >> Graphics Processing Unit of hi6220 SOC. >> >> Signed-off-by: Xinliang Liu >> Signed-off-by: Xinwei Kong

[PATCH v2] fs: global sync to not clear error status of individual inodes

2015-09-16 Thread Junichi Nomura
filemap_fdatawait() is a function to wait for on-going writeback to complete but also consume and clear error status of the mapping set during writeback. The latter functionality is critical for applications to detect writeback error with system calls like fsync(2)/fdatasync(2). However

Re: [PATCH 6/7] [RFC] [media]: v4l2: introduce v4l2_timeval

2015-09-16 Thread Arnd Bergmann
On Wednesday 16 September 2015 10:12:00 Hans Verkuil wrote: > > Are you also attending the ELCE in Dublin? We could have a quick talk there. > I think the discussion whether to switch to a new v4l2_buffer struct isn't > really > dependent on anything y2038. No, unfortunately I won't be there.

[PATCH] arm/dts: Add node for ina220 on LS1021ATWR

2015-09-16 Thread Yuan Yao
The INA220 monitors both shunt drop and supply voltage. Signed-off-by: Yuan Yao --- arch/arm/boot/dts/ls1021a-twr.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts index

Re: [4.2] commit d59cfc09c32 (sched, cgroup: replace signal_struct->group_rwsem with a global percpu_rwsem) causes regression for libvirt/kvm

2015-09-16 Thread Christian Borntraeger
Am 16.09.2015 um 10:32 schrieb Paolo Bonzini: > > > On 15/09/2015 19:38, Paul E. McKenney wrote: >> Excellent points! >> >> Other options in such situations include the following: >> >> oRework so that the code uses call_rcu*() instead of *_expedited(). >> >> oMaintain a per-task or

Re: [PATCH v4] perf, x86: Fix multi-segment problem of perf_event_intel_uncore

2015-09-16 Thread Peter Zijlstra
On Thu, Sep 17, 2015 at 01:17:12AM +0900, Taku Izumi wrote: > +struct pci2phy_map { > + struct list_head list; > + int segment; > + int pbus_to_physid[256]; > +}; > +struct pci2phy_map *__find_pci2phy_map(int segment) > +{ > + struct pci2phy_map *map, *alloc = NULL; > + > +

[PATCH v8 11/13] KVM: Update Posted-Interrupts Descriptor when vCPU is blocked

2015-09-16 Thread Feng Wu
This patch updates the Posted-Interrupts Descriptor when vCPU is blocked. pre-block: - Add the vCPU to the blocked per-CPU list - Set 'NV' to POSTED_INTR_WAKEUP_VECTOR post-block: - Remove the vCPU from the per-CPU list Signed-off-by: Feng Wu --- v8: - Rename 'pi_pre_block'

[PATCH v8 09/13] KVM: Add an arch specific hooks in 'struct kvm_kernel_irqfd'

2015-09-16 Thread Feng Wu
This patch adds an arch specific hooks 'arch_update' in 'struct kvm_kernel_irqfd'. On Intel side, it is used to update the IRTE when VT-d posted-interrupts is used. Signed-off-by: Feng Wu --- v8: - Remove callback .arch_update() - Remove kvm_arch_irqfd_init() - Call

Re: [PATCH -tip 2/3] sched/wake_q: Relax to acquire semantics

2015-09-16 Thread Peter Zijlstra
On Tue, Sep 15, 2015 at 12:49:46PM -0700, Davidlohr Bueso wrote: > On Tue, 15 Sep 2015, Peter Zijlstra wrote: > > >>Secondly, the wake queues are not concurrent, they're in context, so I > >>don't see ordering matter at all. The only reason its a cmpxchg() is > >>because there is the (small)

Re: [PATCH] coccinelle: tests: unsigned value cannot be lesser than zero

2015-09-16 Thread Andrzej Hajda
On 09/15/2015 03:57 PM, Julia Lawall wrote: > > > On Tue, 15 Sep 2015, Andrzej Hajda wrote: > >> On 09/15/2015 03:31 PM, Julia Lawall wrote: >>> On Tue, 15 Sep 2015, SF Markus Elfring wrote: >>> >> v@p >> ( >> *< 0 >> | >> *<= 0 >> ) > It does not, and is not

Re: [PATCH] barriers: introduce smp_mb__release_acquire and update documentation

2015-09-16 Thread Peter Zijlstra
On Tue, Sep 15, 2015 at 10:47:24AM -0700, Paul E. McKenney wrote: > > diff --git a/arch/powerpc/include/asm/barrier.h > > b/arch/powerpc/include/asm/barrier.h > > index 0eca6efc0631..919624634d0a 100644 > > --- a/arch/powerpc/include/asm/barrier.h > > +++ b/arch/powerpc/include/asm/barrier.h > >

[PATCH v5 1/2] KVM: nVMX: enhance allocate/free_vpid to handle shadow vpid

2015-09-16 Thread Wanpeng Li
Enhance allocate/free_vid to handle shadow vpid. Signed-off-by: Wanpeng Li --- arch/x86/kvm/vmx.c | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 9ff6a3f..f8d704d 100644 ---

[PATCH 2/2] mmc: vub300: Remove unneded semicolons

2015-09-16 Thread Javier Martinez Canillas
They aren't needed and are just creating null statements so remove it. Signed-off-by: Javier Martinez Canillas --- drivers/mmc/host/vub300.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/vub300.c b/drivers/mmc/host/vub300.c

Re: [PATCH v8 10/13] KVM: Update Posted-Interrupts Descriptor when vCPU is preempted

2015-09-16 Thread Paolo Bonzini
On 16/09/2015 10:50, Feng Wu wrote: > + > + if (!irq_remapping_cap(IRQ_POSTING_CAP) || > + (!kvm_arch_has_assigned_device(vcpu->kvm))) > + return; > + Better: if (!arch_has_assigned_device(vcpu->kvm)) || !irq_remapping_cap(IRQ_POSTING_CAP))

Re: [PATCH 3.12 00/33] 3.12.48-stable review

2015-09-16 Thread Jiri Slaby
On 09/15/2015, 06:12 PM, Shuah Khan wrote: > On 09/15/2015 08:22 AM, Jiri Slaby wrote: >> This is the start of the stable review cycle for the 3.12.48 release. >> There are 33 patches in this series, all will be posted as a response >> to this one. If anyone has any issues with these being

Re: [PATCH] net: smc91x: convert pxa dma to dmaengine

2015-09-16 Thread Robert Jarzmik
David Miller writes: > From: Robert Jarzmik > Date: Thu, 10 Sep 2015 21:26:04 +0200 > >> Convert the dma transfers to be dmaengine based, now pxa has a dmaengine >> slave driver. This makes this driver a bit more PXA agnostic. >> >> The driver was

Re: [PATCHv2] SUNRPC: Fix a race in xs_reset_transport

2015-09-16 Thread Marc Zyngier
On 16/09/15 10:35, Suzuki K. Poulose wrote: > From: "Suzuki K. Poulose" > > Ignore the previous patch, which was really v1. > > --- > > Encountered the following BUG() with 4.3-rc1 on a fast model > for arm64 with NFS root filesystem. > > [ cut here

[PATCH] drm/mgag200: Fix calling drm_fb_helper_fini() twice

2015-09-16 Thread Ingo Molnar
* Archit Taneja wrote: > From: Archit Taneja > Date: Mon, 14 Sep 2015 20:11:43 +0530 > Subject: [PATCH] drm/mgag200: Prevent calling drm_fb_helper_fini twice > > mgag200_fbdev_init's error handling path calls drm_fb_helper_fini before > bailing

Re: [PATCH 12/31] drm/amdgpu: use kmemdup rather than duplicating its implementation

2015-09-16 Thread Andrzej Hajda
Ping. Regards Andrzej On 08/07/2015 09:59 AM, Andrzej Hajda wrote: > The patch was generated using fixed coccinelle semantic patch > scripts/coccinelle/api/memdup.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 > > Signed-off-by: Andrzej Hajda >

  1   2   3   4   5   6   7   8   9   10   >