[PATCH v5 0/3] dmaengine: APM X-Gene SoC DMA engine driver support

2015-02-03 Thread Rameshwar Prasad Sahu
This patch set implements the APM X-Gene SoC DMA driver support to offload the DMA operations such as memory copy(memcpy), scatter gathering. v5 changes: 1. Minor changes in coding style. 2. Added DMA_CTRL_ACK flag initialization v4 changes: 1. Fixed dma-ranges property on

[PATCH v5 2/3] arm64: dts: Add APM X-Gene DMA device and DMA clock DTS nodes

2015-02-03 Thread Rameshwar Prasad Sahu
This patch adds the device tree node for APM X-Gene SoC DMA controller and DMA clock. Signed-off-by: Rameshwar Prasad Sahu Signed-off-by: Loc Ho --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm

[PATCH v5 3/3] Documentation: dma: Add APM X-Gene SoC DMA engine driver documentation

2015-02-03 Thread Rameshwar Prasad Sahu
This patch adds device tree binding for APM X-Gene SoC DMA engine driver. Signed-off-by: Rameshwar Prasad Sahu Signed-off-by: Loc Ho --- .../devicetree/bindings/dma/apm-xgene-dma.txt | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/

Re: [PATCH] PCI: Fix pcibios_update_irq misuse of irq number

2015-02-03 Thread Arnd Bergmann
On Tuesday 03 February 2015 11:37:30 Marc Zyngier wrote: > Side question: In the probe-only case, should we still allow this write > to happen? No, my understanding is that PCI_PROBE_ONLY precisely means that we do not modify the config space and instead trust what is there to be sensible.

[PATCH v5 1/3] dmaengine: Add support for APM X-Gene SoC DMA engine driver

2015-02-03 Thread Rameshwar Prasad Sahu
This patch implements the APM X-Gene SoC DMA engine driver. The APM X-Gene SoC DMA engine consists of 4 DMA channels for performing DMA operations. These DMA operations include memory copy and scatter gathering offload. Signed-off-by: Rameshwar Prasad Sahu Signed-off-by: Loc Ho --- drivers/dma/

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Daniel Vetter
On Tue, Feb 03, 2015 at 12:28:14PM +, Russell King - ARM Linux wrote: > On Tue, Feb 03, 2015 at 08:48:56AM +0100, Daniel Vetter wrote: > > On Mon, Feb 02, 2015 at 03:30:21PM -0500, Rob Clark wrote: > > > On Mon, Feb 2, 2015 at 11:54 AM, Daniel Vetter wrote: > > > >> My initial thought is for d

Re: [PATCH 3/5] iommu: Limit iommu_attach/detach_device to devices with their own group

2015-02-03 Thread Joerg Roedel
On Tue, Feb 03, 2015 at 01:25:07PM +0100, Thierry Reding wrote: > Sorry for my ignorance, but I don't understand what IOMMU groups are > supposed to be or how to make use of them. It seems like a common idiom > is to simply allocate a new group and add a device to it in the IOMMU's > ->add_device()

Re: [GIT PULL] liblockdep fixes for v3.19

2015-02-03 Thread Sasha Levin
On 02/03/2015 06:26 AM, Ingo Molnar wrote: > > * Sasha Levin wrote: > >> Hi Ingo, >> >> Two fixes for liblockdep. One prevents git from trying to track the generated >> .so libraries, and the other avoids mixups with header files when building >> liblockdep inside a kernel tree that doesn't matc

Re: [x86_64] Question about early page tables initialization

2015-02-03 Thread Alexander Kuleshov
Hello Oren, Ah yes, absolutely right. I thought almost the same, just overlooked that pdp is right after pml4 in memory. Oren thank you for help. 2015-02-03 18:42 GMT+06:00 Oren Twaig : > Hi, > > This is the corresponding C code which can help you understand: > >u64 *pml4 = (u64*)pgtable; >

[PATCH] PowerPC-PCI: Delete unnecessary checks before the function call "kfree"

2015-02-03 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 3 Feb 2015 13:55:53 +0100 The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- arch/powerpc

Re: [PATCH v1 4/7] thermal: introduce the Power Allocator governor

2015-02-03 Thread Javi Merino
On Mon, Feb 02, 2015 at 11:51:20PM +, Lina Iyer wrote: > On Wed, Jan 28 2015 at 14:42 -0700, Javi Merino wrote: > >The power allocator governor is a thermal governor that controls system > >and device power allocation to control temperature. Conceptually, the > >implementation divides the sust

Re: [PATCH] brcmfmac: avoid duplicated suspend/resume operation

2015-02-03 Thread Kalle Valo
"Fu, Zhonghui" writes: >>From ff39ed4af9f1c50358fe92ec4c8eaac9db183e00 Mon Sep 17 00:00:00 2001 > From: Zhonghui Fu > Date: Mon, 26 Jan 2015 10:13:21 +0800 > Subject: [PATCH] brcmfmac: avoid duplicated suspend/resume operation > > WiFi chip has 2 SDIO functions, and PM core will trigger > twice

[PATCH] staging: rtl8723au: multiple condition with no effect - if identical to else

2015-02-03 Thread Nicholas Mc Guire
, CONFIG_8723AU_BT_COEXIST=y Patch is against 3.0.19-rc7 (localversoin = -next-20150203) .../staging/rtl8723au/hal/rtl8723a_bt-coexist.c| 60 +++- 1 file changed, 8 insertions(+), 52 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c b/drivers/staging/rtl8723au/hal

Re: [PATCH v3 01/10] ARM: tegra: Set the sound card model that alsaucm expects

2015-02-03 Thread Tomeu Vizoso
On 2 February 2015 at 22:08, Stephen Warren wrote: > On 01/28/2015 03:50 AM, Tomeu Vizoso wrote: >> >> Patches are on its way to add a config file to alsaucm for the Nyan >> boards. Use the same card ID that alsaucm will expect. > > >> diff --git a/arch/arm/boot/dts/tegra124-nyan-big.dts >> b/arch

Re: [PATCH] mm/swapfile.c: use spin_lock_bh with swap_lock to avoid deadlocks

2015-02-03 Thread Michal Hocko
On Mon 02-02-15 18:25:28, pasi.sjoh...@jolla.com wrote: > From: Pasi Sjöholm > > It is possible to get kernel in deadlock-state if swap_lock is not locked > with spin_lock_bh by calling si_swapinfo() simultaneously through > timer_function and registered vm shinker callback-function. > > BUG: sp

Re: [PATCH] gpio: mmp: add GPIO driver for Marvell MMP series

2015-02-03 Thread Linus Walleij
On Wed, Jan 28, 2015 at 3:30 AM, Chao Xie wrote: > From: Chao Xie > > For some old PXA series, they used PXA GPIO driver. > The IP of GPIO changes since PXA988 which is Marvell MMP > series. > It will use new way to control the GPIO level, direction > and edge status. > > Signed-off-by: Chao Xie

Re: [PATCH] staging: rtl8723au: multiple condition with no effect - if identical to else

2015-02-03 Thread Jes Sorensen
ch was compile tested for x86_64_defconfig + CONFIG_STAGING=y > CONFIG_R8723AU=m, CONFIG_8723AU_BT_COEXIST=y > > Patch is against 3.0.19-rc7 (localversoin = -next-20150203) > > .../staging/rtl8723au/hal/rtl8723a_bt-coexist.c| 60 > +++- > 1 file changed, 8 ins

Re: [PATCH 1/3] dt/bindings: Add binding for Versatile system registers

2015-02-03 Thread Linus Walleij
On Wed, Jan 28, 2015 at 6:56 PM, Rob Herring wrote: > Add binding for Versatile board system registers found in the FPGA of the > Versatile/AB and Versatile/PB boards. > > Signed-off-by: Rob Herring > Cc: Pawel Moll > Cc: Mark Rutland > Cc: Ian Campbell > Cc: Kumar Gala > Cc: devicet...@vger

Re: [PATCH 3/3] dts: versatile: add sysregs node

2015-02-03 Thread Linus Walleij
On Wed, Jan 28, 2015 at 6:56 PM, Rob Herring wrote: > The Versatile boards have the same sysregs as other ARM Ltd boards. Add > the nodes in order to enable support for 24MHz counter as sched_clock. > > This is a minimal node definition as the existing sub node definition > used on VExpress has s

[PATCH] cptm1217: blow it all away

2015-02-03 Thread Alan
We have a drivers/input layer for Synaptics products and nothing should now be using the staging driver. Signed-off-by: Alan Cox --- drivers/staging/Kconfig|2 drivers/staging/Makefile |1 drivers/staging/cptm1217/Kconfig | 12 - driver

Re: [x86_64] Question about early page tables initialization

2015-02-03 Thread Oren Twaig
Hi, This is the corresponding C code which can help you understand: u64 *pml4 = (u64*)pgtable; u64 pdp = pgtable + 0x1000; u64 pml4_entry = pdp | PTE_P | PTE_W | PTU; // present, write, userspace = 0x7 pml4[0] = pml4_entry; The 0x1007 you see is just the calculation of the pml4_entr

Re: [PATCH v8 17/21] clocksource / arch_timer: Parse GTDT to initialize arch timer

2015-02-03 Thread Hanjun Guo
On 2015年02月03日 06:23, Rafael J. Wysocki wrote: On Monday, February 02, 2015 08:45:45 PM Hanjun Guo wrote: Using the information presented by GTDT (Generic Timer Description Table) to initialize the arch timer (not memory-mapped). CC: Daniel Lezcano Originally-by: Amit Daniel Kachhap Tested-by

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Christian Gmeiner
2015-02-03 13:28 GMT+01:00 Russell King - ARM Linux : > On Tue, Feb 03, 2015 at 08:48:56AM +0100, Daniel Vetter wrote: >> On Mon, Feb 02, 2015 at 03:30:21PM -0500, Rob Clark wrote: >> > On Mon, Feb 2, 2015 at 11:54 AM, Daniel Vetter wrote: >> > >> My initial thought is for dma-buf to not try to pr

Re: [PATCH] mm: fix arithmetic overflow in __vm_enough_memory()

2015-02-03 Thread Michal Hocko
On Thu 29-01-15 16:06:03, Roman Gushchin wrote: > I noticed, that "allowed" can easily overflow by falling below 0, > because (total_vm / 32) can be larger than "allowed". The problem > occurs in OVERCOMMIT_NONE mode. s@OVERCOMMIT_NONE@OVERCOMMIT_NEVER@ > In this case, a huge allocation can succ

Re: [PATCH v8 06/21] ARM64 / ACPI: Introduce PCI stub functions for ACPI

2015-02-03 Thread Hanjun Guo
On 2015年02月03日 20:15, Catalin Marinas wrote: On Mon, Feb 02, 2015 at 12:45:34PM +, Hanjun Guo wrote: diff --git a/arch/arm64/kernel/pci.c b/arch/arm64/kernel/pci.c index ce5836c..c17e7ea 100644 --- a/arch/arm64/kernel/pci.c +++ b/arch/arm64/kernel/pci.c @@ -10,6 +10,7 @@ * */ +#includ

Re: How to fix CDROM/DVD eject mess?

2015-02-03 Thread One Thousand Gnomes
> By working with people who spent a lot of time with the questions what > the default behavior of user interfaces should be. Buttons, especially > physical ones, need to give immediate feedback to the user. If they > don't give it it, people will look for something else to get what they > want. S

[PATCH 0/5] MIPS: LLVMLinux: Patches to enable compilation of a working kernel for MIPS using Clang/LLVM

2015-02-03 Thread Daniel Sanders
When combined with 'MIPS: Changed current_thread_info() to an equivalent ...' (http://www.linux-mips.org/archives/linux-mips/2015-01/msg00070.html), this patch series makes it possible to compile a working kernel for MIPS using Clang. The patches aren't inter-dependent so I'm happy to split this u

[PATCH 5/5] MIPS: LLVMLinux: Silence unicode warnings when preprocessing assembly.

2015-02-03 Thread Daniel Sanders
From: Toma Tabacu Differentiate the 'u' GAS .macro argument from the '\u' C preprocessor unicode escape sequence by renaming it to '_u'. When the 'u' argument is evaluated, we end up writing '\u', which causes clang to emit -Wunicode warnings. This silences a couple of -Wunicode warnings report

[PATCH 4/5] MIPS: LLVMLinux: Silence variable self-assignment warnings.

2015-02-03 Thread Daniel Sanders
From: Toma Tabacu Remove variable self-assignments. This silences a bunch of -Wself-assign warnings reported by clang. The changed code can be compiled without warnings by both gcc and clang. Signed-off-by: Toma Tabacu Signed-off-by: Daniel Sanders Cc: Ralf Baechle Cc: linux-m...@linux-mips.o

[PATCH 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-03 Thread Daniel Sanders
From: Toma Tabacu Change the type of csum_ipv6_magic's 'proto' argument from unsigned short to __u32. This fixes a type mismatch between the 'htonl(proto)' inline asm input, which is __u32, and the 'proto' output, which is unsigned short. This is the error message reported by clang: arch/mips/i

[PATCH 2/5] MIPS: LLVMLinux: Fix a 'cast to type not present in union' error.

2015-02-03 Thread Daniel Sanders
From: Toma Tabacu Remove a cast to the 'mips16e_instruction' union inside an if condition and instead do an assignment to a local 'union mips16e_instruction' variable's 'full' member before the if statement and use this variable in the if condition. This is the error message reported by clang: a

[PATCH 1/5] LLVMLinux: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-02-03 Thread Daniel Sanders
This patch moves the initialization of the size_index table slightly earlier so that the first few kmem_cache_node's can be safely allocated when KMALLOC_MIN_SIZE is large. There are currently two ways to generate indices into kmalloc_caches (via kmalloc_index() and via the size_index table in sla

Re: [PATCH] net: rfkill: Add Broadcom BCM2E40 bluetooth ACPI ID

2015-02-03 Thread Johannes Berg
On Thu, 2015-01-29 at 18:26 +0200, Mika Westerberg wrote: > This is yet another Broadcom bluetooth chip with ACPI ID BCM2E40. Applied. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: How to fix CDROM/DVD eject mess?

2015-02-03 Thread One Thousand Gnomes
> > It is no workaround, it's the SCSI spec. You only see events if you > > lock the door. > > Yeah, I do understand the reason behind it. But: why udev has to take > care of SCSI implementation details at this place at all? Isn't the > place for the generic cdrom device? If it's only for obtai

Re: [PATCH RFC] Make rcu_dereference_raw() safe for NMI etc.

2015-02-03 Thread Paul E. McKenney
On Tue, Feb 03, 2015 at 12:00:40PM +0100, Peter Zijlstra wrote: > On Mon, Feb 02, 2015 at 11:55:33AM -0800, Paul E. McKenney wrote: > > As promised/threatened on IRC. > > > > Thanx, Paul > > > > --

[PATCH] PowerPC-rheap: Delete an unnecessary check before the function call "kfree"

2015-02-03 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 3 Feb 2015 14:34:10 +0100 The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- arch/powerpc

Re: How to fix CDROM/DVD eject mess?

2015-02-03 Thread Austin S Hemmelgarn
On 2015-02-03 07:31, Takashi Iwai wrote: Then, udev unlocks the media and issues the SCSI eject ioctl unconditionally when DISK_EVENT_EJECT_REQUEST event is received. Since SCSI ioctl doesn't take the open refcount into account, it results in the forcible eject. Which again is the expected be

Re: [PATCH 3/3] gpio: pxa: add PXA1928 gpio type support

2015-02-03 Thread Rob Herring
On Tue, Feb 3, 2015 at 6:41 AM, Linus Walleij wrote: > On Tue, Jan 27, 2015 at 5:46 AM, Rob Herring wrote: > >> Add support for PXA1928 GPIOs. The PXA1928 adds a 6th bank from previous >> generations. >> >> Signed-off-by: Jing Xiang >> Signed-off-by: Xiangzhan Meng >> [robh: ported to 3.19 from

Re: [PATCH] ARM: berlin: add a defconfig

2015-02-03 Thread Antoine Tenart
Hi Arnd, On Tue, Feb 03, 2015 at 01:54:42PM +0100, Arnd Bergmann wrote: > On Tuesday 03 February 2015 12:28:52 Antoine Tenart wrote: > > Marvell Berlin SoCs did not have a custom defconfig and were only > > supported in multi_v7_defconfig. > > > > Adds a proper defconfig, allowing to boot a Berli

Re: [PATCH 3/5] WIP: fs: ext4: support unlinkat_s() for secure deletion of files

2015-02-03 Thread Lukáš Czerner
On Mon, 2 Feb 2015, Alexander Holler wrote: > Date: Mon, 2 Feb 2015 18:05:11 +0100 > From: Alexander Holler > To: linux-fsde...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org, Alexander Holler > Subject: [PATCH 3/5] WIP: fs: ext4: support unlinkat_s() for secure deletion > of files Hi,

Re: How to fix CDROM/DVD eject mess?

2015-02-03 Thread Takashi Iwai
At Tue, 3 Feb 2015 13:39:06 +, One Thousand Gnomes wrote: > > > > It is no workaround, it's the SCSI spec. You only see events if you > > > lock the door. > > > > Yeah, I do understand the reason behind it. But: why udev has to take > > care of SCSI implementation details at this place at al

[PATCH] spmi: pmic_arb: enable build on arm64 platforms

2015-02-03 Thread Stanimir Varbanov
This enables pmic arbiter driver to be build on arm64 platforms. Signed-off-by: Stanimir Varbanov --- drivers/spmi/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/spmi/Kconfig b/drivers/spmi/Kconfig index bf1295e..115348c 100644 --- a/drivers/spmi/Kconfi

Re: [PATCH v8 13/21] ARM64 / ACPI: Parse MADT for SMP initialization

2015-02-03 Thread Mark Rutland
On Mon, Feb 02, 2015 at 12:45:41PM +, Hanjun Guo wrote: > MADT contains the information for MPIDR which is essential for > SMP initialization, parse the GIC cpu interface structures to > get the MPIDR value and map it to cpu_logical_map(), and add > enabled cpu with valid MPIDR into cpu_possibl

[PATCH] net: rds: use correct size for max unacked packets and bytes

2015-02-03 Thread Sasha Levin
Max unacked packets/bytes is an int while sizeof(long) was used in the sysctl table. This means that when they were getting read we'd also leak kernel memory to userspace along with the timeout values. Signed-off-by: Sasha Levin --- net/rds/sysctl.c |4 ++-- 1 file changed, 2 insertions(+),

Re: [PATCH v5 1/6] KVM: nVMX: Use hardware MSR bitmap

2015-02-03 Thread Paolo Bonzini
On 03/02/2015 10:11, Wincy Van wrote: > @@ -8468,6 +8484,38 @@ static void vmx_start_preemption_timer(struct > kvm_vcpu *vcpu) > ns_to_ktime(preemption_timeout), HRTIMER_MODE_REL); > } Hi Wincy, the patch is corrupted here. Also it has spaces instead of tabs earlier. Ple

Re: [PATCH] staging/fwserial: use correct vendor/version IDs

2015-02-03 Thread Peter Hurley
On 02/03/2015 03:44 AM, Stefan Richter wrote: > On Feb 02 Peter Hurley wrote: >> On 01/28/2015 03:07 PM, Clemens Ladisch wrote: >>> The driver was using the vendor ID 0xd00d1e from the FireWire core. >>> However, this ID was not registered, and invalid. >>> >>> Instead, use the vendor/version IDs t

Re: [PATCH v5 6/6] KVM: nVMX: Enable nested posted interrupt processing

2015-02-03 Thread Paolo Bonzini
On 03/02/2015 10:17, Wincy Van wrote: > +static int vmx_accomp_nested_posted_interrupt(struct kvm_vcpu *vcpu) Replace accomp with complete. > +{ > + struct vcpu_vmx *vmx = to_vmx(vcpu); > + int max_irr; > + void *vapic_page; > + u16 status; > + > + if (vmx->nested.

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Rob Clark
On Tue, Feb 3, 2015 at 2:48 AM, Daniel Vetter wrote: > On Mon, Feb 02, 2015 at 03:30:21PM -0500, Rob Clark wrote: >> On Mon, Feb 2, 2015 at 11:54 AM, Daniel Vetter wrote: >> >> My initial thought is for dma-buf to not try to prevent something than >> >> an exporter can actually do.. I think the s

Re: [PATCH] staging: sm7xxfb: make smtc_scr_info static

2015-02-03 Thread Sudip Mukherjee
On Tue, Feb 03, 2015 at 02:44:28PM +0600, Max Perepelitsyn wrote: > This symbol is never used anywhere else besides sm7xxfb.c Hi Greg, do i need to do anything about this patch? maybe a tested-by or reviewed-by? regards sudip > > Signed-off-by: Max Perepelitsyn > --- > drivers/staging/sm7xxfb

Re: [PATCH] zram: fix umount-reset_store-mount race condition

2015-02-03 Thread Ganesh Mahendran
Hello, Sergey 2015-02-02 22:08 GMT+08:00 Sergey Senozhatsky : > Ganesh Mahendran was the first one who proposed to use bdev->bd_mutex > to avoid ->bd_holders race condition: > > CPU0CPU1 > umount /* zram->init_done is true */ > reset_store() > bdev->bd_holders =

Re: [PATCH v5 1/6] KVM: nVMX: Use hardware MSR bitmap

2015-02-03 Thread Wincy Van
On Tue, Feb 3, 2015 at 9:57 PM, Paolo Bonzini wrote: > > > On 03/02/2015 10:11, Wincy Van wrote: >> @@ -8468,6 +8484,38 @@ static void vmx_start_preemption_timer(struct >> kvm_vcpu *vcpu) >> ns_to_ktime(preemption_timeout), HRTIMER_MODE_REL); >> } > > Hi Wincy, the patch is

Re: [RFC] [PATCH 0/3] sched: Support for real CPU runtime and SMT scaling

2015-02-03 Thread Martin Schwidefsky
On Sat, 31 Jan 2015 12:43:07 +0100 Peter Zijlstra wrote: > On Fri, Jan 30, 2015 at 03:02:39PM +0100, Philipp Hachtmann wrote: > > Hello, > > > > when using "real" processors the scheduler can make its decisions based > > on wall time. But CPUs under hypervisor control are sometimes > > unavailab

[PATCH] [media] sp2: Delete an unnecessary check before the function call "kfree"

2015-02-03 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 3 Feb 2015 15:05:26 +0100 The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/medi

Re: [PATCH] zram: fix umount-reset_store-mount race condition

2015-02-03 Thread Sergey Senozhatsky
Hello, On (02/03/15 22:05), Ganesh Mahendran wrote: > > zram->disksize = 0; > > - if (reset_capacity) > > - set_capacity(zram->disk, 0); > > How about keep this here? Protected by zram->init_lock. >set_capacity(zram->disk, 0); why? -ss -- To unsub

Re: [PATCH 6/6 v2] perf: Make perf aware of tracefs

2015-02-03 Thread Jiri Olsa
On Mon, Feb 02, 2015 at 02:35:07PM -0500, Steven Rostedt wrote: SNIP > } > @@ -325,12 +351,19 @@ const char *perf_debugfs_mount(const char *mountpoint) > void perf_debugfs_set_path(const char *mntpt) > { > snprintf(debugfs_mountpoint, strlen(debugfs_mountpoint), "%s", mntpt); > - set

[PATCH RESEND 0/6] Drivers: hv: vmbus: Some miscellaneous bug fixes and cleanup

2015-02-03 Thread K. Y. Srinivasan
This is a resend of the patches from Dexuan and Nicholas Dexuan Cui (3): hv: hv_util: move vmbus_open() to a later place hv: vmbus_post_msg: retry the hypercall on some transient errors hv: vmbus_open(): reset the channel state on ENOMEM Nicholas Mc Guire (3): hv: channel: match var type

[PATCH RESEND 5/6] hv: channel_mgmt: match var type to return type of wait_for_completion

2015-02-03 Thread K. Y. Srinivasan
From: Nicholas Mc Guire return type of wait_for_completion_timeout is unsigned long not int, this patch changes the type of t from int to unsigned long. Signed-off-by: Nicholas Mc Guire Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c |3 ++- 1 files changed, 2 insertions(+),

Re: [PATCH v8 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-02-03 Thread Mark Rutland
On Mon, Feb 02, 2015 at 12:45:42PM +, Hanjun Guo wrote: > Introduce a new function map_gicc_mpidr() to allow MPIDRs to be obtained > from the GICC Structure introduced by ACPI 5.1. > > MPIDR is the CPU hardware ID as local APIC ID on x86 platform, so we use > MPIDR not the GIC CPU interface ID

Re: [PATCH v5 6/6] KVM: nVMX: Enable nested posted interrupt processing

2015-02-03 Thread Wincy Van
On Tue, Feb 3, 2015 at 10:02 PM, Paolo Bonzini wrote: > > > On 03/02/2015 10:17, Wincy Van wrote: >> +static int vmx_accomp_nested_posted_interrupt(struct kvm_vcpu *vcpu) > > Replace accomp with complete. Will do. > >> +{ >> + struct vcpu_vmx *vmx = to_vmx(vcpu); >> + int max_irr; >>

[PATCH RESEND 3/6] hv: vmbus_open(): reset the channel state on ENOMEM

2015-02-03 Thread K. Y. Srinivasan
From: Dexuan Cui <[mailto:de...@microsoft.com]> Without this patch, the state is put to CHANNEL_OPENING_STATE, and when the driver is loaded next time, vmbus_open() will fail immediately due to newchannel->state != CHANNEL_OPEN_STATE. CC: "K. Y. Srinivasan" Signed-off-by: Dexuan Cui Reviewed-by

[PATCH RESEND 6/6] hv: hv_balloon: match var type to return type of wait_for_completion

2015-02-03 Thread K. Y. Srinivasan
From: Nicholas Mc Guire return type of wait_for_completion_timeout is unsigned long not int, this patch changes the type of t from int to unsigned long. Signed-off-by: Nicholas Mc Guire Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_balloon.c |3 ++- 1 files changed, 2 insertions(+), 1

[PATCH RESEND 4/6] hv: channel: match var type to return type of wait_for_completion

2015-02-03 Thread K. Y. Srinivasan
From: Nicholas Mc Guire return type of wait_for_completion_timeout is unsigned long not int, this patch changes the type of t from int to unsigned long. Signed-off-by: Nicholas Mc Guire Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel.c |3 ++- 1 files changed, 2 insertions(+), 1 de

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Arnd Bergmann
On Tuesday 03 February 2015 09:04:03 Rob Clark wrote: > On Tue, Feb 3, 2015 at 2:48 AM, Daniel Vetter wrote: > > On Mon, Feb 02, 2015 at 03:30:21PM -0500, Rob Clark wrote: > >> On Mon, Feb 2, 2015 at 11:54 AM, Daniel Vetter wrote: > >> >> My initial thought is for dma-buf to not try to prevent so

[PATCH RESEND 1/6] hv: hv_util: move vmbus_open() to a later place

2015-02-03 Thread K. Y. Srinivasan
From: Dexuan Cui <[mailto:de...@microsoft.com]> Before the line vmbus_open() returns, srv->util_cb can be already running and the variables, like util_fw_version, are needed by the srv->util_cb. So we have to make sure the variables are initialized before the vmbus_open(). CC: "K. Y. Srinivasan"

[PATCH RESEND 2/6] hv: vmbus_post_msg: retry the hypercall on some transient errors

2015-02-03 Thread K. Y. Srinivasan
From: Dexuan Cui <[mailto:de...@microsoft.com]> I got HV_STATUS_INVALID_CONNECTION_ID on Hyper-V 2008 R2 when keeping running "rmmod hv_netvsc; modprobe hv_netvsc; rmmod hv_utils; modprobe hv_utils" in a Linux guest. Looks the host has some kind of throttling mechanism if some kinds of hypercalls

Re: [PATCH] regmap: Fix i2c word access when using SMBus access functions

2015-02-03 Thread Guenter Roeck
On 02/03/2015 03:42 AM, Mark Brown wrote: On Mon, Feb 02, 2015 at 06:30:02AM -0800, Guenter Roeck wrote: On 02/02/2015 03:56 AM, Mark Brown wrote: Yes, we really ought to handle _NATIVE too (though the chances of it being used with I2C are minimal, it's mostly for MMIO). This also feels W

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Rob Clark
On Tue, Feb 3, 2015 at 7:28 AM, Russell King - ARM Linux wrote: > On Tue, Feb 03, 2015 at 08:48:56AM +0100, Daniel Vetter wrote: >> On Mon, Feb 02, 2015 at 03:30:21PM -0500, Rob Clark wrote: >> > On Mon, Feb 2, 2015 at 11:54 AM, Daniel Vetter wrote: >> > >> My initial thought is for dma-buf to no

Re: [PATCH v2 08/17] {macvtap,tun}_get_user(): switch to iov_iter

2015-02-03 Thread Al Viro
On Tue, Feb 03, 2015 at 12:10:44PM +0200, Michael S. Tsirkin wrote: > Hmm does copy_from_iter actually modify the iovec? > If so, won't this break aio on tun/macvtap, by > reversing the effect of > commit 6f26c9a7555e5bcca3560919db9b852015077dae > tun: fix tun_chr_aio_write so that aio works >

[PATCH] [media] V4L2: Delete an unnecessary check before the function call "media_entity_put"

2015-02-03 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 3 Feb 2015 15:27:38 +0100 The media_entity_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- d

Re: [PATCH] staging: rtl8723au: multiple condition with no effect - if identical to else

2015-02-03 Thread Nicholas Mc Guire
> > > Anyway the number of useless code repetition is potentially record breaking > > ! > > > > Patch was compile tested for x86_64_defconfig + CONFIG_STAGING=y > > CONFIG_R8723AU=m, CONFIG_8723AU_BT_COEXIST=y > > > > Patch is agains

Re: [PATCH v8 06/21] ARM64 / ACPI: Introduce PCI stub functions for ACPI

2015-02-03 Thread Rafael J. Wysocki
On Tuesday, February 03, 2015 09:30:00 PM Hanjun Guo wrote: > On 2015年02月03日 20:15, Catalin Marinas wrote: > > On Mon, Feb 02, 2015 at 12:45:34PM +, Hanjun Guo wrote: > >> diff --git a/arch/arm64/kernel/pci.c b/arch/arm64/kernel/pci.c > >> index ce5836c..c17e7ea 100644 > >> --- a/arch/arm64/ker

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Russell King - ARM Linux
On Tue, Feb 03, 2015 at 02:28:26PM +0100, Christian Gmeiner wrote: > 2015-02-03 13:28 GMT+01:00 Russell King - ARM Linux : > > What I've found with *my* etnaviv drm implementation (not Christian's - I > > found it impossible to work with Christian, especially with the endless > > "msm doesn't do it

Re: [GIT PULL rcu/next] RCU commits for 3.20

2015-02-03 Thread David Hildenbrand
> > * Paul E. McKenney wrote: > > > Hello, Ingo, > > > > The changes in this series include: > > > > 1. Documentation updates. These were posted to LKML at > > https://lkml.org/lkml/2015/1/7/496. > > > > 2. Miscellaneous fixes. These were posted to LKML at > > https://lkml.org/lkm

Re: [PATCH] ath9k_htc: add adaptive usb flow control to repair soft lockup with monitor mode

2015-02-03 Thread Oleksij Rempel
It seems to work without noticeable regressions. Am 03.02.2015 um 12:52 schrieb Kalle Valo: > yuweizh...@139.com writes: > >> From: Yuwei Zheng >> >> In the environment with heavy wifi traffic, set the ar9271 into monitor >> mode, will >> trigger a deadloop panic. >> >> The ath9k_hif_usb_rx_c

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Russell King - ARM Linux
On Tue, Feb 03, 2015 at 09:04:03AM -0500, Rob Clark wrote: > Since I'm stuck w/ an iommu, instead of built in mmu, my plan was to > drop use of dma-mapping entirely (incl the current call to dma_map_sg, > which I just need until we can use drm_cflush on arm), and > attach/detach iommu domains direc

Re: [PATCH v5 1/6] KVM: nVMX: Use hardware MSR bitmap

2015-02-03 Thread Paolo Bonzini
On 03/02/2015 15:07, Wincy Van wrote: > Ouch, my bad, gmail cut the lines which is over 78 chars. > Since gmail is GFWed(VPN does not work, and I have a web proxy), I > was sending the patches to my gmail via git-send-email with other mail > and forwarding them to the community. Yeah, forwarding

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Russell King - ARM Linux
On Tue, Feb 03, 2015 at 03:17:27PM +0100, Arnd Bergmann wrote: > On Tuesday 03 February 2015 09:04:03 Rob Clark wrote: > > Since I'm stuck w/ an iommu, instead of built in mmu, my plan was to > > drop use of dma-mapping entirely (incl the current call to dma_map_sg, > > which I just need until we c

Re: [RFC PATCH] ASoC: wm8731: let codec to manage clock by itself

2015-02-03 Thread Manuel Lauss
On Tue, Feb 3, 2015 at 1:44 PM, Mark Brown wrote: > On Tue, Feb 03, 2015 at 08:54:57AM +0100, Manuel Lauss wrote: > >> +wm8731->mclk = devm_clk_get(&spi->dev, "mclk"); >> +if (IS_ERR(wm8731->mclk)) { >> +wm8731->mclk = NULL; >> +dev_warn(&spi->dev, "assuming static MCLK\n")

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Rob Clark
On Tue, Feb 3, 2015 at 9:37 AM, Russell King - ARM Linux wrote: > On Tue, Feb 03, 2015 at 09:04:03AM -0500, Rob Clark wrote: >> Since I'm stuck w/ an iommu, instead of built in mmu, my plan was to >> drop use of dma-mapping entirely (incl the current call to dma_map_sg, >> which I just need until

Re: [Patch v3] firmware: dmi-sysfs: add SMBIOS entry point area raw attribute

2015-02-03 Thread Ivan Khoronzhuk
On 02/03/2015 12:49 PM, Matt Fleming wrote: On Wed, 28 Jan, at 05:56:25PM, Ivan Khoronzhuk wrote: diff --git a/drivers/firmware/dmi-sysfs.c b/drivers/firmware/dmi-sysfs.c index e0f1cb3..61b6a38 100644 --- a/drivers/firmware/dmi-sysfs.c +++ b/drivers/firmware/dmi-sysfs.c @@ -29,6 +29,8 @@ #def

Re: [PATCH 3/5] WIP: fs: ext4: support unlinkat_s() for secure deletion of files

2015-02-03 Thread Alexander Holler
Am 03.02.2015 um 14:50 schrieb Lukáš Czerner: On Mon, 2 Feb 2015, Alexander Holler wrote: Date: Mon, 2 Feb 2015 18:05:11 +0100 From: Alexander Holler To: linux-fsde...@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Alexander Holler Subject: [PATCH 3/5] WIP: fs: ext4: support unlinkat_s()

Re: [PATCH] zram: fix umount-reset_store-mount race condition

2015-02-03 Thread Sergey Senozhatsky
On (02/03/15 23:15), Sergey Senozhatsky wrote: > > How about keep this here? Protected by zram->init_lock. > >set_capacity(zram->disk, 0); > > why? > yeah, I see why. good catch. hm, why do we perform destroy_device() before zram_reset_device() in zram_exit()? how about doing someth

[PATCH] ARM: multi_v7_defconfig: update Berlin config

2015-02-03 Thread Antoine Tenart
Marvell Berlin SoCs are supported in the multi_v7_defconfig. However some options were missing to support some features. This patch adds the missing features: pxa168 Ethernet, Berlin USB PHY and Berlin SATA PHY. Signed-off-by: Antoine Tenart --- arch/arm/configs/multi_v7_defconfig | 3 +++ 1 fi

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Arnd Bergmann
On Tuesday 03 February 2015 14:41:09 Russell King - ARM Linux wrote: > On Tue, Feb 03, 2015 at 03:17:27PM +0100, Arnd Bergmann wrote: > > On Tuesday 03 February 2015 09:04:03 Rob Clark wrote: > > > Since I'm stuck w/ an iommu, instead of built in mmu, my plan was to > > > drop use of dma-mapping en

[PATCH 0/2] staging: sm7xxfb: checkpatch cleanup

2015-02-03 Thread Sudip Mukherjee
Hi, Continuing with the checkpatch cleanup, this series will just fix the CamelCase. Two different patches are made just to make review easier. Now there is only one checkpatch warning pending about __setup, which will be fixed in one of the upcoming patch where I will introduce the use of fb_get_

[PATCH 2/2] staging: sm7xxfb: fix remaining CamelCase

2015-02-03 Thread Sudip Mukherjee
since mixed case names are not encouraged in coding, so those has been changed to their corresponding lowercase version. Signed-off-by: Sudip Mukherjee --- drivers/staging/sm7xxfb/sm7xx.h | 30 - drivers/staging/sm7xxfb/sm7xxfb.c | 46 +++

[PATCH 1/2] staging: sm7xxfb: fix CamelCase

2015-02-03 Thread Sudip Mukherjee
since mixed case names are not encouraged in coding, so those has been changed to their corresponding lowercase version. Signed-off-by: Sudip Mukherjee --- drivers/staging/sm7xxfb/sm7xx.h | 14 +++--- drivers/staging/sm7xxfb/sm7xxfb.c | 12 ++-- 2 files changed, 13 insertions(+

[PATCH v3 0/15] Those patches is used for dw_hdmi audio support

2015-02-03 Thread Yakir Yang
We found Designware hdmi driver only support audio clock config, we can not play sound through it. To add Designware HDMI Audio support, we make those patch set: 1): fixed dw_hdmi irq bug, add irq control to suspend/resume interfaces. 2): add suspend/resume callback for dw_hdmi rockchip driver. 3

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Russell King - ARM Linux
On Tue, Feb 03, 2015 at 09:44:57AM -0500, Rob Clark wrote: > On Tue, Feb 3, 2015 at 9:37 AM, Russell King - ARM Linux > wrote: > > On Tue, Feb 03, 2015 at 09:04:03AM -0500, Rob Clark wrote: > >> Since I'm stuck w/ an iommu, instead of built in mmu, my plan was to > >> drop use of dma-mapping entir

Re: [Patch v3] firmware: dmi-sysfs: add SMBIOS entry point area raw attribute

2015-02-03 Thread Mark Salter
On Wed, 2015-01-28 at 14:39 +0200, Ivan Khoronzhuk wrote: > Some utils, like dmidecode and smbios, needs to access SMBIOS entry > table area in order to get information like SMBIOS version, size, etc. > Currently it's done via /dev/mem. But for situation when /dev/mem > usage is disabled, the utils

Re: [RFC PATCH 0/5] compaction: changing initial position of scanners

2015-02-03 Thread Joonsoo Kim
2015-02-03 18:05 GMT+09:00 Vlastimil Babka : > On 02/03/2015 07:49 AM, Joonsoo Kim wrote: >> On Mon, Jan 19, 2015 at 11:05:15AM +0100, Vlastimil Babka wrote: >> >> Hello, >> >> I don't have any elegant idea, but, have some humble opinion. >> >> The point is that migrate scanner should scan whole zo

[PATCH v2] hwmon: tmp102: add hibernation callbacks

2015-02-03 Thread grygorii.strashko
From: Grygorii Strashko Setting a dev_pm_ops suspend/resume pair but not a set of hibernation functions means those pm functions will not be called upon hibernation. Fix this by using SIMPLE_DEV_PM_OPS, which appropriately assigns the suspend and hibernation handlers and move mp102_suspend/tmp102

[PATCH v3 01/15] drm: bridge/dw_hdmi: add irq control to suspend/resume

2015-02-03 Thread Yakir Yang
when kernel enter into suspend, cpus will shutdown, hdmi registers will reset invisibly. After kernel resume, drm core will call the bridge enable function. All of hdmi registers will be setup again except the interrupt registers. In that case we should mute all the interrupt in suspend stage, and

[PATCH v3 02/15] drm: bridge/dw_hdmi: wrap irq control in fucntions

2015-02-03 Thread Yakir Yang
Wrap irq control in functions, and then we can call in dw_hdmi_bind / dw_hdmi_unbind / dw_hdmi_resume / dw_hdmi_suspend functions. Signed-off-by: Yakir Yang --- Changes in v3: - Wrap irq control in fucntions Changes in v2: None drivers/gpu/drm/bridge/dw_hdmi.c | 75

Re: [PATCH] zram: fix umount-reset_store-mount race condition

2015-02-03 Thread Sergey Senozhatsky
On (02/03/15 23:52), Sergey Senozhatsky wrote: > On (02/03/15 23:15), Sergey Senozhatsky wrote: > > > How about keep this here? Protected by zram->init_lock. > > >set_capacity(zram->disk, 0); > > > > why? > > > yeah, I see why. good catch. > > hm, why do we perform destroy_device() b

[RFC PATCH] fork: report pid reservation failure properly

2015-02-03 Thread Michal Hocko
Hi, while debugging an unexpected ENOMEM from fork (there was no memory pressure and OVERCOMMIT_ALWAYS) I have found out that fork returns ENOMEM even when not short on memory. In this particular case it was due to depleted pid space which is documented to return EAGAIN in man pages. Here is a qu

[PATCH v3 03/15] drm: rockchip/dw_hdmi_rockchip: add resume/suspend support

2015-02-03 Thread Yakir Yang
Signed-off-by: Yakir Yang --- Changes in v3: - Setting the .pm member instead of suspend/resume Changes in v2: - Add suspend/resume support for dw_hdmi_rockchip driver drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/gpu/d

Re: [PATCH 3/5] WIP: fs: ext4: support unlinkat_s() for secure deletion of files

2015-02-03 Thread Alexander Holler
Am 03.02.2015 um 15:50 schrieb Alexander Holler: Maybe I should request removal of shred from Fedora/RH instead. According to you it's one of the most misleading and useless tools. So why still confuse people with it and still ship it? At least it should be documented that it doesn't delete th

[PATCH v3 04/15] drm: bridge/dw_hdmi: add indentification registers parse and record

2015-02-03 Thread Yakir Yang
By parsing the indentification registers we can know what functions are present on the hdmi ip. Signed-off-by: Yakir Yang --- Changes in v3: - Add ID registers parse and record Changes in v2: None drivers/gpu/drm/bridge/dw_hdmi.c | 59 drivers/gpu/drm/b

Re: [PATCH RFC] staging: comedi: dt282x: condition with no effect - if identical to else

2015-02-03 Thread Ian Abbott
ls of this driver. Also not sure about the retained comment string if that is still valid now. Patch was only compile tested for x86_64_defconfig + CONFIG_STAGING=y CONFIG_COMEDI=m, COMEDI_ISA_DRIVERS=y, CONFIG_COMEDI_DT282X=m Patch is against 3.0.19-rc7 (localversion = -next-20150203) drive

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