[PATCH v2 2/3] fuse: Translate pids passed to userspace into pid namespaces

2014-09-02 Thread Seth Forshee
If the process reading on the fuse fd is executing in a pid namespace then giving it the global pid of the process making a request doesn't make sense. Instead, capture the pid namespace when the filesystem is first mounted and translate pids into this namespace before passing them to userspace.

Re: [PATCH 00/15] atmel_mxt_ts - device tree, bootloader, etc

2014-09-02 Thread Stephen Warren
On 07/29/2014 01:26 PM, Stephen Warren wrote: On 07/29/2014 11:06 AM, Nick Dyer wrote: On 29/07/14 17:16, Stephen Warren wrote: ... I also found that removing the module (even without attempting a FW update) yields: After attempted FW update via sysfs: root@localhost:~# rmmod

[PATCH v2 3/3] fuse: Add support for mounts from user namespaces

2014-09-02 Thread Seth Forshee
Update fuse to support mounts from within user namespaces. This is mostly a matter of translating uids and gids into the namespace of the process reading requests before handing the requests off to userspace. Due to security concerns the namespace used should be fixed, otherwise a user might be

[PATCH] RFC: add function for localbus address

2014-09-02 Thread Stanimir Varbanov
Hi Grant, I came down to this. Could you review? Is that implementation closer to the suggestion made by you. --- drivers/of/address.c | 49 drivers/of/platform.c | 20 ++--- include/linux/of_address.h | 19

Re: [PATCH] tty/serial: fix config dependencies for samsung serial

2014-09-02 Thread Arnd Bergmann
On Tuesday 02 September 2014 20:52:00 Naveen Krishna Chatradhi wrote: Make the config symbols SERIAL_SAMSUNG_UARTS_4 and SERIAL_SAMSUNG_UARTS depend on SERIAL_SAMSUNG rather than PLAT_SAMSUNG. Please always describe why you are doing a change. This patch seems really pointless. config

[PATCH v2 1/3] vfs: Check for invalid i_uid in may_follow_link()

2014-09-02 Thread Seth Forshee
Filesystem uids which don't map into a user namespace may result in inode-i_uid being INVALID_UID. A symlink and its parent could have different owners in the filesystem can both get mapped to INVALID_UID, which may result in following a symlink when this would not have otherwise been permitted.

Re: [PATCH v3 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2014-09-02 Thread Hanjun Guo
On 2014年09月02日 21:02, Marc Zyngier wrote: On 02/09/14 12:48, Tomasz Nowicki wrote: On 01.09.2014 19:35, Marc Zyngier wrote: On 01/09/14 15:57, Hanjun Guo wrote: From: Tomasz Nowicki tomasz.nowi...@linaro.org ACPI kernel uses MADT table for proper GIC initialization. It needs to parse GIC

[PATCH] mmc: sdhci-esdhc-imx: Enable boot partition access from DT

2014-09-02 Thread Jean-Michel Hautbois
This property is useful when we don't want to access boot partitions on eMMC Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- Documentation/devicetree/bindings/mmc/mmc.txt | 1 + drivers/mmc/host/sdhci-esdhc-imx.c| 8

Re: [PATCH 2/2] cgroup: check cgroup liveliness before unbreaking kernfs protection

2014-09-02 Thread Tejun Heo
On Tue, Sep 02, 2014 at 06:57:54PM +0800, Li Zefan wrote: diff --git a/kernel/cgroup.c b/kernel/cgroup.c index e03fc62..c8d07e5 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -1025,6 +1025,11 @@ static umode_t cgroup_file_mode(const struct cftype *cft) return mode; }

Re: linux-next: Tree for Aug 29

2014-09-02 Thread Tejun Heo
On Mon, Sep 01, 2014 at 04:15:52PM -0500, Christoph Lameter wrote: On Mon, 1 Sep 2014, Guenter Roeck wrote: arch/ia64/sn/kernel/setup.c: In function 'sn_cpu_init': arch/ia64/sn/kernel/setup.c:632:13: error: lvalue required as left operand of assignment make[1]: ***

Re: [PATCH v2 0/3] ARM: dts: qcom: Add initial IFC6540 board support

2014-09-02 Thread Kumar Gala
On Sep 2, 2014, at 10:40 AM, Georgi Djakov gdja...@mm-sol.com wrote: Add basic support for the IFC6540 single-board computer boards, that are based on the APQ8084 SoC. The first patch adds the initial device tree. The second enables the serial console. The third adds the SDHC nodes and

Re: [PATCH 1/1] do_exit(): Solve possibility of BUG() due to race with try_to_wake_up()

2014-09-02 Thread Oleg Nesterov
On 09/01, Peter Zijlstra wrote: On Mon, Sep 01, 2014 at 07:58:51PM +0200, Oleg Nesterov wrote: However, the very fact that another CPU can look at this task_struct means that we still need spin_unlock_wait(). If nothing else to ensure that try_to_wake_up()-spin_unlock(pi_lock) won't write

Re: [PATCH] Revert leds: convert blink timer to workqueue

2014-09-02 Thread Josh Boyer
On Tue, Sep 2, 2014 at 5:03 AM, Jiri Kosina jkos...@suse.cz wrote: This reverts commit 8b37e1bef5a6b60e949e28a4db3006e4b00bd758. It's broken as it changes led_blink_set() in a way that it can now sleep (while synchronously waiting for workqueue to be cancelled). That's a problem, because it's

Re: [PATCH v2] mfd: syscon: Decouple syscon interface from platform devices

2014-09-02 Thread Alexander Shiyan
Tue, 02 Sep 2014 17:20:03 +0200 от Arnd Bergmann a...@arndb.de: On Tuesday 02 September 2014 20:12:15 Pankaj Dubey wrote: Currently a syscon entity can only be registered directly through a platform device that binds to a dedicated syscon driver. However in certain cases it is required to

Re: 回复: Status of 'unicore32' architecture in Linux kernel

2014-09-02 Thread Guenter Roeck
On Tue, Sep 02, 2014 at 10:03:48PM +0800, Xuetao Guan wrote: Sorry for late reply. - Guenter Roeck li...@roeck-us.net 写道: Status of 'unicore32' architecture in Linux kernel -- The idea was to create a working kernel and initramfs

Re: [PATCH] irqchip: exynos-combiner: Fix compilation error on ARM64

2014-09-02 Thread Sudeep Holla
On 02/09/14 16:24, Naveen Krishna Chatradhi wrote: The following compilation error occurs on 64-bit Exynos7 SoC: drivers/irqchip/exynos-combiner.c: In function ‘combiner_irq_domain_map’: drivers/irqchip/exynos-combiner.c:162:2: error: implicit declaration of function ‘set_irq_flags’

Re: [percpu] BUG: unable to handle kernel NULL pointer dereference at (null)

2014-09-02 Thread Christoph Lameter
On Tue, 2 Sep 2014, Paul E. McKenney wrote: Before this commit, raw_cpu_add_return() didn't build. The commit didn't affect anything else. So I don't understand how anything could work before this commit and be broken after it. Enlightenment? Where is that raw_cpu_add_return statement?

Re: [PATCH v3 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2014-09-02 Thread Marc Zyngier
On 02/09/14 16:45, Hanjun Guo wrote: On 2014年09月02日 21:02, Marc Zyngier wrote: On 02/09/14 12:48, Tomasz Nowicki wrote: On 01.09.2014 19:35, Marc Zyngier wrote: On 01/09/14 15:57, Hanjun Guo wrote: From: Tomasz Nowicki tomasz.nowi...@linaro.org ACPI kernel uses MADT table for proper GIC

Re: [PATCH v4 4/6] kvm, mem-hotplug: Reload L1' apic access page on migration in vcpu_enter_guest().

2014-09-02 Thread Gleb Natapov
On Wed, Aug 27, 2014 at 06:17:39PM +0800, Tang Chen wrote: apic access page is pinned in memory. As a result, it cannot be migrated/hot-removed. Actually, it is not necessary to be pinned. The hpa of apic access page is stored in VMCS APIC_ACCESS_ADDR pointer. When the page is migrated,

Race condition in HR timers that cause double insertion and hard lockup -- all latest versions

2014-09-02 Thread Itzcak Pechtalt
Hi, I opened a bug in https://bugzilla.kernel.org/show_bug.cgi?id=83601 for this subject with full description. There is also a short fix patch for kernel/hrtimer.c file. Even if this bug occurs rary, however it resolves system hard lockup option. I suspect that it was targeted by mistake to

Re: [PATCH] sh: Fix build error caused by missing dependencies

2014-09-02 Thread Geert Uytterhoeven
Hi Pranith, On Tue, Sep 2, 2014 at 4:39 PM, Pranith Kumar bobby.pr...@gmail.com wrote: Fix a sh4-randconfig build failure which has the following splat: arch/sh/mm/cache-sh4.c:99:17: error: 'cached_to_uncached' undeclared (first use in this function) arch/sh/mm/cache-sh4.c:192:2: error:

Re: [PATCH] fat: Simplify calc_fat_clusters code

2014-09-02 Thread OGAWA Hirofumi
Seunghun Lee way...@gmail.com writes: diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 756aead..6992dea 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c @@ -1307,12 +1307,9 @@ static unsigned long calc_fat_clusters(struct super_block *sb) struct msdos_sb_info *sbi = MSDOS_SB(sb);

Re: [PATCH 0/4] KVM: nested x86: nested page faults fixes

2014-09-02 Thread Valentine Sinitsyn
Hi Paolo, On 02.09.2014 21:13, Paolo Bonzini wrote: Patches 3 and 4 fix the interaction between emulator and nested EPT/NPT, which was reported by Valentine. I can confirm the initial bug I observed is fixed with these patches (applied to 3.16.1). All tests in kvm-unit-test's master also

Re: [PATCH] Next branch: authgss: authgss.c: Fix warnings for uninitizlized variable expire

2014-09-02 Thread Boaz Harrosh
On 09/02/2014 05:17 PM, Bruce Fields wrote: On Tue, Sep 02, 2014 at 04:59:45PM +0300, Boaz Harrosh wrote: uninitialized_var was made to be a friend not an enemy, in the face of real ugliness it is the best we can do. And that is what it should communicate to everyone. Why has it become

Re: [RFC PATCH v6 15/20] vfio/platform: support for maskable and automasked interrupts

2014-09-02 Thread Antonios Motakis
On Sun, Jun 8, 2014 at 12:17 PM, Christoffer Dall christoffer.d...@linaro.org wrote: On Thu, Jun 05, 2014 at 07:03:23PM +0200, Antonios Motakis wrote: Adds support to mask interrupts, and also for automasked interrupts. Level sensitive interrupts are exposed as automasked interrupts and are

Re: [RFC PATCH v6 14/20] vfio/platform: initial interrupts support

2014-09-02 Thread Antonios Motakis
On Sun, Jun 8, 2014 at 12:09 PM, Christoffer Dall christoffer.d...@linaro.org wrote: On Thu, Jun 05, 2014 at 07:03:22PM +0200, Antonios Motakis wrote: This patch allows to set an eventfd for a patform device's interrupt, and also to trigger the interrupt eventfd from userspace for testing.

[PATCHv3] x86, fpu: remove the logic of non-eager fpu mem allocation at the first usage

2014-09-02 Thread David Vrabel
From: Suresh Siddha sbsid...@gmail.com For non-eager fpu mode, thread's fpu state is allocated during the first fpu usage (in the context of device not available exception). This can be a blocking call and hence we enable interrupts (which were originally disabled when the exception happened),

Re: [PATCH] doc: memory-barriers.txt: Correct example for reorderings

2014-09-02 Thread Paul E. McKenney
On Thu, Aug 28, 2014 at 05:45:10PM -0400, Pranith Kumar wrote: On Thu, Aug 28, 2014 at 5:39 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Thu, Aug 28, 2014 at 05:15:50PM -0400, Pranith Kumar wrote: On Thu, Aug 28, 2014 at 5:00 PM, Paul E. McKenney paul...@linux.vnet.ibm.com

Re: Race condition in HR timers that cause double insertion and hard lockup -- all latest versions

2014-09-02 Thread Linus Torvalds
On Tue, Sep 2, 2014 at 8:45 AM, Itzcak Pechtalt itz...@flashnetworks.com wrote: I opened a bug in https://bugzilla.kernel.org/show_bug.cgi?id=83601 for this subject with full description. There is also a short fix patch for kernel/hrtimer.c file. Even if this bug occurs rary, however it

Re: [PATCH v3 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2014-09-02 Thread Sudeep Holla
On 02/09/14 16:45, Hanjun Guo wrote: On 2014年09月02日 21:02, Marc Zyngier wrote: On 02/09/14 12:48, Tomasz Nowicki wrote: On 01.09.2014 19:35, Marc Zyngier wrote: On 01/09/14 15:57, Hanjun Guo wrote: From: Tomasz Nowicki tomasz.nowi...@linaro.org ACPI kernel uses MADT table for proper GIC

[PATCH] powerpc/kvm/cma: Fix panic introduces by signed shift operation

2014-09-02 Thread Laurent Dufour
fc95ca7284bc54953165cba76c3228bd2cdb9591 introduces a memset in kvmppc_alloc_hpt since the general CMA doesn't clear the memory it allocates. However, the size argument passed to memset is computed from a signed value and its signed bit is extended by the cast the compiler is doing. This lead to

[PATCH 2/2] dt-bindings: Add input supplies to rk808 bindings

2014-09-02 Thread Doug Anderson
The original bindings for rk808 didn't include input supplies. Add them. Signed-off-by: Doug Anderson diand...@chromium.org --- Documentation/devicetree/bindings/mfd/rk808.txt | 11 +++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/rk808.txt

[PATCH 0/2] Add input supplies to rk808 regulator

2014-09-02 Thread Doug Anderson
We want to specify the input supplies to the rk808 regulator. This patch series adds them to the driver. Note that the bindings are based atop Chris's most recent version at https://patchwork.kernel.org/patch/4817931/. If the regulator patch is applied before Chris sends out his next version

[PATCH 1/2] regulator: RK808: Add proper input supplies for rk808

2014-09-02 Thread Doug Anderson
The original RK808 regulator driver didn't setup input supplies properly. Add them. Signed-off-by: Doug Anderson diand...@chromium.org --- drivers/regulator/rk808-regulator.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/rk808-regulator.c

Re: [PATCH] perf/documentation: Fix typo in perf/Documentation

2014-09-02 Thread Randy Dunlap
On 08/31/14 20:46, Masanari Iida wrote: This patch fix spelling typo found in tool/perf/Documentation. Signed-off-by: Masanari Iida standby2...@gmail.com --- tools/perf/Documentation/perf-diff.txt | 6 +++--- tools/perf/Documentation/perf-kvm.txt | 4 ++--

Re: [percpu] BUG: unable to handle kernel NULL pointer dereference at (null)

2014-09-02 Thread Paul E. McKenney
On Tue, Sep 02, 2014 at 11:00:12AM -0500, Christoph Lameter wrote: On Tue, 2 Sep 2014, Paul E. McKenney wrote: Before this commit, raw_cpu_add_return() didn't build. The commit didn't affect anything else. So I don't understand how anything could work before this commit and be broken

Re: [PATCH] blk-merge: fix blk_recount_segments

2014-09-02 Thread Christoph Hellwig
Btw, one thing we should reconsider is where we set QUEUE_FLAG_NO_SG_MERGE. At least for virtio-blk it seems to me that doing the S/G merge should be a lot cheaper than fanning out into the indirect descriptors. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH] blk-merge: fix blk_recount_segments

2014-09-02 Thread Jens Axboe
On 09/02/2014 09:02 AM, Ming Lei wrote: QUEUE_FLAG_NO_SG_MERGE is set at default for blk-mq devices, so bio-bi_phys_segment computed may be bigger than queue_max_segments(q) for blk-mq devices, then drivers will fail to handle the case, for example, BUG_ON() in virtio_queue_rq() can be

Re: [PATCH] blk-merge: fix blk_recount_segments

2014-09-02 Thread Jens Axboe
On 09/02/2014 10:21 AM, Christoph Hellwig wrote: Btw, one thing we should reconsider is where we set QUEUE_FLAG_NO_SG_MERGE. At least for virtio-blk it seems to me that doing the S/G merge should be a lot cheaper than fanning out into the indirect descriptors. And we might consider flipping

Re: [Linaro-acpi] [RFC PATCH for Juno 1/2] net: smsc911x add support for probing from ACPI

2014-09-02 Thread Mark Brown
On Tue, Sep 02, 2014 at 03:42:53PM +0200, Arnd Bergmann wrote: The way I recall the discussion, most people were on one extreme side of the discussion or the other: a) We should use _DSD for ARM64 servers to maximize code reuse with DT-enabled drivers, work around the slow UEFI

[PATCH] VMXNET3: Check for map error in vmxnet3_set_mc

2014-09-02 Thread Andy King
We should check if the map of the table actually succeeds, and also free resources accordingly. This fixes the kernel panic reported by Tetsuo Handa. Version bumped to 1.2.1.0 Acked-by: Shelley Gong shelleyg...@vmware.com Acked-by: Bhavesh Davda bhav...@vmware.com Signed-off-by: Andy King

Re: [PATCH v3 1/4] pinctrl: qcom: Add APQ8084 pinctrl support

2014-09-02 Thread Bjorn Andersson
On Tue 02 Sep 06:13 PDT 2014, Georgi Djakov wrote: This patchset adds pinctrl support for the Qualcomm APQ8084 platform. Reviewed-by: Andy Gross agr...@codeaurora.org Signed-off-by: Georgi Djakov gdja...@mm-sol.com I was expecting patch 4 to come before this, so that this commit would be

Re: [PATCH 2/2] dt-bindings: Add input supplies to rk808 bindings

2014-09-02 Thread Mark Brown
On Tue, Sep 02, 2014 at 09:14:29AM -0700, Doug Anderson wrote: The original bindings for rk808 didn't include input supplies. Add them. Acked-by: Mark Brown broo...@linaro.org You probably want to send this to Lee... signature.asc Description: Digital signature

[PATCH] mm: fix dump_vma() compilation

2014-09-02 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com dump_vma() was written to access fields within vma-vm_page_prot. However, pgprot_t is sometimes a scalar and sometimes a struct (At least on ARM; see arch/arm/include/asm/pgtable-2level-types.h). use macro pgprot_val() to get the value, so the code is

Re: [PATCH 2/4] KVM: nSVM: propagate the NPF EXITINFO to the guest

2014-09-02 Thread Joerg Roedel
Ah, here you add emulation of these bits. On Tue, Sep 02, 2014 at 05:13:48PM +0200, Paolo Bonzini wrote: This is similar to what the EPT code does with the exit qualification. This allows the guest to see a valid value for bits 33:32. Signed-off-by: Paolo Bonzini pbonz...@redhat.com ---

Re: [PATCH v3 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2014-09-02 Thread Catalin Marinas
On Tue, Sep 02, 2014 at 12:48:37PM +0100, Tomasz Nowicki wrote: On 01.09.2014 19:35, Marc Zyngier wrote: On 01/09/14 15:57, Hanjun Guo wrote: From: Tomasz Nowicki tomasz.nowi...@linaro.org ACPI kernel uses MADT table for proper GIC initialization. It needs to parse GIC related

Re: [PATCH] ARM: at91/dt: at91sam9m10g45ek add rtc node

2014-09-02 Thread Boris BREZILLON
Hi Erik, On Tue, 2 Sep 2014 12:52:12 +0200 Erik van Luijk evanlu...@interact.nl wrote: Signed-off-by: Erik van Luijk evanlu...@interact.nl Except for the nitpicks you'll find below, you have my Acked-by: Boris Brezillon boris.brezil...@free-electrons.com ---

Re: [PATCH 03/12] of: Add binding document for MIPS GIC

2014-09-02 Thread Andrew Bresticker
On Tue, Sep 2, 2014 at 2:33 AM, Mark Rutland mark.rutl...@arm.com wrote: On Tue, Sep 02, 2014 at 01:53:18AM +0100, Andrew Bresticker wrote: On Mon, Sep 1, 2014 at 4:01 AM, Mark Rutland mark.rutl...@arm.com wrote: On Fri, Aug 29, 2014 at 11:14:30PM +0100, Andrew Bresticker wrote: The Global

Re: [PATCH RFC tip/core/rcu] Eliminate deadlock between CPU hotplug and expedited grace periods

2014-09-02 Thread Paul E. McKenney
On Mon, Sep 01, 2014 at 06:17:35PM +0200, Peter Zijlstra wrote: On Mon, Sep 01, 2014 at 09:05:50AM -0700, Paul E. McKenney wrote: URGH.. I really hate that. The hotplug interface is already too horrible, we should not add such hacks to it. We do have try_ interfaces to a number of

Re: [PATCHv2] ARM: debug: uncompress debug support for omap2plus

2014-09-02 Thread Tony Lindgren
* kpark3...@gmail.com kpark3...@gmail.com [140826 01:29]: From: Sahara keun-o.p...@windriver.com Since OMAP low-level debug code places data in the .data section, The symbol DEBUG_UNCOMPRESS was defined with !DEBUG_OMAP2PLUS_UART. This patch removes the part using data section in

[PATCH 2/3] x86/xen: do not use _PAGE_IOMAP PTE flag for I/O mappings

2014-09-02 Thread David Vrabel
Since mfn_to_pfn() returns the correct PFN for identity mappings (as used for MMIO regions), the use of _PAGE_IOMAP is not required in pte_mfn_to_pfn(). Do not set the _PAGE_IOMAP flag in pte_pfn_to_mfn() and do not use it in pte_mfn_to_pfn(). This will allow _PAGE_IOMAP to be removed, making it

[PATCHv1 0/3] x86,xen: remove _PAGE_IOMAP PTE flag

2014-09-02 Thread David Vrabel
The series removes the Xen-specific _PAGE_IOMAP PTE flag, freeing it up for other uses. I plan to queue this for 3.18 via the Xen tree. This was previously posted as part of a larger series (x86/xen: fixes for mapping high MMIO regions (and remove _PAGE_IOMAP)), the bulk of which is already

[PATCH 1/3] x86: skip check for spurious faults for non-present faults

2014-09-02 Thread David Vrabel
If a fault on a kernel address is due to a non-present page, then it cannot be the result of stale TLB entry from a protection change (RO to RW or NX to X). Thus the pagetable walk in spurious_fault() can be skipped. See the initial if in spurious_fault() and the tests in spurious_fault_check())

[PATCH 3/3] x86: remove the Xen-specific _PAGE_IOMAP PTE flag

2014-09-02 Thread David Vrabel
The _PAGE_IO_MAP PTE flag was only used by Xen PV guests to mark PTEs that were used to map I/O regions that are 1:1 in the p2m. This allowed Xen to obtain the correct PFN when converting the MFNs read from a PTE back to their PFN. Xen guests no longer use _PAGE_IOMAP for this. Instead

[PATCH] staging: lustre: Fix space prohibited between function name and open parenthesis

2014-09-02 Thread Mathieu OTHACEHE
This patch fixes the following checkpatch.pl warning in lnet/lnet/lib-eq.c: WARNING: space prohibited between function name and open parenthesis '(' Signed-off-by: Mathieu OTHACEHE m.othac...@gmail.com --- This patch is part of task 10 of the eudyptula challenge

Re: [PATCH] fat: Simplify calc_fat_clusters code

2014-09-02 Thread Seunghun Lee
On 09/03/2014 12:37 AM, OGAWA Hirofumi wrote: Seunghun Lee way...@gmail.com writes: diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 756aead..6992dea 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c @@ -1307,12 +1307,9 @@ static unsigned long calc_fat_clusters(struct super_block *sb)

Re: [PATCH v10 03/19] arm: fiq: Replace default FIQ handler

2014-09-02 Thread Russell King - ARM Linux
On Tue, Sep 02, 2014 at 12:49:16PM +0100, Daniel Thompson wrote: On 28/08/14 16:01, Russell King - ARM Linux wrote: I just asked Paul McKenney, our RCU expert... essentially, yes, RCU stuff itself is safe in this context. However, RCU stuff can call into lockdep if lockdep is configured,

Re: [PATCH net v2] ipv6: fix rtnl locking in setsockopt for anycast and multicast

2014-09-02 Thread Cong Wang
On Tue, Sep 2, 2014 at 1:29 AM, Sabrina Dubroca s...@queasysnail.net wrote: v2: - based on net - keep dev_get_by_flags_rcu and RCU in ipv6_sock_ac_* - remove two ASSERT_RTNL() that are not necessary There is no point to keep RCU here. Hannes' reply doesn't make any sense. -- To

Re: [PATCH v3 2/4] dt: Document Qualcomm APQ8084 pinctrl binding

2014-09-02 Thread Bjorn Andersson
On Tue 02 Sep 06:13 PDT 2014, Georgi Djakov wrote: Define a new binding for the Qualcomm TLMM (Top-Level Mode Mux) based pin controller inside the APQ8084. Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com Don't remember giving you this... But, with the s/sdc3/sdc2 below I think it

Re: 3.16/3.16.1: Kernel Oops in nft_do_chain

2014-09-02 Thread leroy christophe
Le 02/09/2014 12:41, Pablo Neira Ayuso a écrit : On Tue, Sep 02, 2014 at 12:14:27PM +0200, leroy christophe wrote: Calling 'iptables-compat -L', first time nothing is listed on the screen. Second try, it generates following Oops. I'm going to pass this patch to -stable asap: commit

Re: [PATCH 2/3] kvm: fix potentially corrupt mmio cache

2014-09-02 Thread David Matlack
On Fri, Aug 29, 2014 at 3:31 AM, Paolo Bonzini pbonz...@redhat.com wrote: From: David Matlack dmatl...@google.com vcpu exits and memslot mutations can run concurrently as long as the vcpu does not aquire the slots mutex. Thus it is theoretically possible for memslots to change underneath a

Re: [PATCH] PM / sleep: Fix test_suspend= command line option

2014-09-02 Thread Srinivas Pandruvada
On Tue, 2014-09-02 at 01:37 +0200, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit d431cbc53cb7 (PM / sleep: Simplify sleep states sysfs interface code) the pm_states[] array is not populated initially, which causes setup_test_suspend() to always fail

Re: [PATCH 2/4] KVM: nSVM: propagate the NPF EXITINFO to the guest

2014-09-02 Thread Paolo Bonzini
Il 02/09/2014 18:33, Joerg Roedel ha scritto: Ah, here you add emulation of these bits. On Tue, Sep 02, 2014 at 05:13:48PM +0200, Paolo Bonzini wrote: This is similar to what the EPT code does with the exit qualification. This allows the guest to see a valid value for bits 33:32.

Re: [PATCH 0/3] fix bugs with stale or corrupt MMIO caches

2014-09-02 Thread David Matlack
On Tue, Sep 2, 2014 at 8:42 AM, Paolo Bonzini pbonz...@redhat.com wrote: Il 29/08/2014 12:31, Paolo Bonzini ha scritto: David and Xiao, here's my take on the MMIO generation patches. Now with documentation, too. :) Please review! David Matlack (2): kvm: fix potentially corrupt mmio cache

Re: [PATCH 2/3] kvm: fix potentially corrupt mmio cache

2014-09-02 Thread Paolo Bonzini
Il 02/09/2014 18:44, David Matlack ha scritto: -#define MMIO_GEN_SHIFT 19 -#define MMIO_GEN_LOW_SHIFT 9 -#define MMIO_GEN_LOW_MASK ((1 MMIO_GEN_LOW_SHIFT) - 1) +#define MMIO_GEN_SHIFT 20 +#define MMIO_GEN_LOW_SHIFT

Re: [PATCH 1/1] do_exit(): Solve possibility of BUG() due to race with try_to_wake_up()

2014-09-02 Thread Oleg Nesterov
On 09/02, Oleg Nesterov wrote: OK. So this patch should probably work. But let me think again and send it tommorrow. Because today (and yesterday) I didn't really sleep ;) But since I already wrote v2 yesterday, let me show it anyway. Perhaps you will notice something wrong immediately... So,

Re: [PATCH 0/3] fix bugs with stale or corrupt MMIO caches

2014-09-02 Thread Paolo Bonzini
Il 02/09/2014 18:47, David Matlack ha scritto: Ping? Sorry for the delay. I think the patches look good. And patch 3/3 still fixes the bug I was originally seeing, so I'm happy :). I just had one small comment (see my reply to patch 2/3). I answered that question now. Can I add your

Re: RTNL: assertion failed at net/ipv6/addrconf.c (1699)

2014-09-02 Thread Cong Wang
On Fri, Aug 29, 2014 at 6:51 PM, Hannes Frederic Sowa han...@stressinduktion.org wrote: Also rtnl_lock and rcu_read_lock compose in that order, so we don't need to change dev_get_by_flags, but as this is the only user it sure is possible. RCU locked version is just easier composeable, so I

Re: [PATCH] Revert leds: convert blink timer to workqueue

2014-09-02 Thread Bryan Wu
On Tue, Sep 2, 2014 at 8:55 AM, Josh Boyer jwbo...@fedoraproject.org wrote: On Tue, Sep 2, 2014 at 5:03 AM, Jiri Kosina jkos...@suse.cz wrote: This reverts commit 8b37e1bef5a6b60e949e28a4db3006e4b00bd758. It's broken as it changes led_blink_set() in a way that it can now sleep (while

Re: [PATCH 2/2] dt-bindings: Add input supplies to rk808 bindings

2014-09-02 Thread Doug Anderson
Mark, On Tue, Sep 2, 2014 at 9:31 AM, Mark Brown broo...@kernel.org wrote: On Tue, Sep 02, 2014 at 09:14:29AM -0700, Doug Anderson wrote: The original bindings for rk808 didn't include input supplies. Add them. Acked-by: Mark Brown broo...@linaro.org You probably want to send this to

Re: [PATCH 15/15] tty: serial: 8250: omap: add dma support

2014-09-02 Thread Tony Lindgren
* Sebastian Reichel s...@kernel.org [140901 20:06]: Hi, On Mon, Sep 01, 2014 at 07:47:53PM +0200, Sebastian Andrzej Siewior wrote: On 08/29/2014 06:12 PM, Tony Lindgren wrote: Looks like the paste bug is there for sure, doing off idle and pasting 240 characters to the console can hang

Re: [percpu] BUG: unable to handle kernel NULL pointer dereference at (null)

2014-09-02 Thread Christoph Lameter
On Tue, 2 Sep 2014, Paul E. McKenney wrote: Added by ac1bea85781e (sched,rcu: Make cond_resched() report RCU quiescent states), removed by 4a81e8328d379 (rcu: Reduce overhead of cond_resched() checks for RCU). So, as you say, no effect on contemporary kernels. Well not sure what to make out

Re: [PATCH 0/4] KVM: nested x86: nested page faults fixes

2014-09-02 Thread Paolo Bonzini
Il 02/09/2014 18:02, Valentine Sinitsyn ha scritto: I can confirm the initial bug I observed is fixed with these patches (applied to 3.16.1). All tests in kvm-unit-test's master also pass, except for ioio which is (probably) affected by another (unrelated) bug fixed by Jan back in June but

Re: [PATCH] staging: unisys: uislib: uisqueue.c: fixed sparse warning of context imbalance

2014-09-02 Thread Sudip Mukherjee
On Tue, Sep 02, 2014 at 06:23:27PM +0300, Dan Carpenter wrote: On Tue, Sep 02, 2014 at 08:44:27PM +0530, Sudip Mukherjee wrote: On Tue, Sep 02, 2014 at 05:05:32PM +0300, Dan Carpenter wrote: On Tue, Sep 02, 2014 at 04:39:47PM +0530, Sudip Mukherjee wrote: fixed sparse warning : context

Re: [PATCH v3 4/4] pinctrl: qcom: Make the target processor value configurable

2014-09-02 Thread Bjorn Andersson
On Tue 02 Sep 06:13 PDT 2014, Georgi Djakov wrote: Currently the value used for specify that interrupts from the gpio should be routed to the application processor is hardcoded for all Qualcomm SoCs. But the new APQ8084 SoC uses a different value. To resolve this, we make this value

Re: [PATCH] blk-merge: fix blk_recount_segments

2014-09-02 Thread Jeff Moyer
Jens Axboe ax...@kernel.dk writes: On 09/02/2014 09:02 AM, Ming Lei wrote: QUEUE_FLAG_NO_SG_MERGE is set at default for blk-mq devices, so bio-bi_phys_segment computed may be bigger than queue_max_segments(q) for blk-mq devices, then drivers will fail to handle the case, for example,

Re: [PATCH 2/4] KVM: nSVM: propagate the NPF EXITINFO to the guest

2014-09-02 Thread Joerg Roedel
On Tue, Sep 02, 2014 at 06:46:06PM +0200, Paolo Bonzini wrote: Il 02/09/2014 18:33, Joerg Roedel ha scritto: Comment is true, but doesn't make the check below obsolete, no? No, it doesn't. I'll rewrite it as /* * This cannot happen unless the guest is playing TOCTTOU games,

Re: [PATCH 2/4] KVM: nSVM: propagate the NPF EXITINFO to the guest

2014-09-02 Thread Paolo Bonzini
Il 02/09/2014 18:46, Paolo Bonzini ha scritto: How about an io-port emulated on L1 but passed through to L2 by the nested hypervisor. On emulation of INS or OUTS, KVM would need to read/write to an L2 address space, It would need to read/write to *L1* (that's where the VMCB's IOIO map

Re: [PATCH] Revert leds: convert blink timer to workqueue

2014-09-02 Thread Bryan Wu
On Tue, Sep 2, 2014 at 2:03 AM, Jiri Kosina jkos...@suse.cz wrote: This reverts commit 8b37e1bef5a6b60e949e28a4db3006e4b00bd758. It's broken as it changes led_blink_set() in a way that it can now sleep (while synchronously waiting for workqueue to be cancelled). That's a problem, because it's

Re: [PATCH v3 4/4] pinctrl: qcom: Add support for reset for apq8064

2014-09-02 Thread Bjorn Andersson
On Tue 02 Sep 05:36 PDT 2014, Linus Walleij wrote: A bit dirty to have this in this driver, but who cares. Indeed, but we figured the taint was small enough to justify not creating cross-references to a separate driver. Does the APQ8064 accompanying PMIC also have the ability to completely

Re: [PATCH] init/Kconfig: move RCU_NOCB_CPU dependencies to choice

2014-09-02 Thread Paul E. McKenney
On Fri, Aug 29, 2014 at 03:08:20PM +0200, Stefan Hengelein wrote: Every choice item of the Build-forced no-CBs CPUs choice had a dependency to RCU_NOCB_CPU. It's more comprehensible if the choice itself has the dependency instead of every choice item. The choice itself doesn't need to be

[PATCH v5 0/3] Add ST dwc3 glue layer driver

2014-09-02 Thread Peter Griffin
This series adds support for the ST glue logic which wraps the DWC3 controller on STiH407 SoC family chipsets. Changes since v4 - Fix bug with setting bits in usb control register - Remove superflous '\n' - Change default Kconfig to make default same as other platforms - Update dt doc example

[PATCH v5 3/3] MAINTAINERS: Add dwc3-st.c file to ARCH/STI architecture

2014-09-02 Thread Peter Griffin
This patch adds the new dwc3-st.c glue driver found on STMicroelectronics stih407 consumer electronics SoC's into the STI arch section of the maintainers file. Signed-off-by: Peter Griffin peter.grif...@linaro.org Acked-by: Lee Jones lee.jo...@linaro.org --- MAINTAINERS | 1 + 1 file changed, 1

[PATCH v5 1/3] usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC

2014-09-02 Thread Peter Griffin
This patch adds the ST glue logic to manage the DWC3 HC on STiH407 SoC family. It manages the powerdown signal, and configures the internal glue logic and syscfg registers. Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com Signed-off-by: Peter Griffin peter.grif...@linaro.org Acked-by: Lee

[PATCH v5 2/3] usb: dwc3: dwc3-st: Add st-dwc3 devicetree bindings documentation

2014-09-02 Thread Peter Griffin
This patch documents the device tree documentation required for the ST usb3 controller glue layer found in STiH407 devices. Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com Signed-off-by: Peter Griffin peter.grif...@linaro.org Acked-by: Lee Jones lee.jo...@linaro.org ---

kmemleak: Cannot insert [...] into the object search tree (overlaps existing) (mm: use memblock_alloc_range())

2014-09-02 Thread Sabrina Dubroca
Hello, 2014-08-24, 23:56:03 +0900, Akinobu Mita wrote: Replace memblock_find_in_range() and memblock_reserve() with memblock_alloc_range(). Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: linux...@kvack.org This patch is included in linux-next, and when I boot next-20140901, on a

[GIT PULL] LED fix for 3.17

2014-09-02 Thread Bryan Wu
Hi Linus, Hugh, Jiri and many other people found a kernel oops due to a LED change merged recently. Now the right fix might just revert it and unblock the kernel oops. Please check the bug report in the patch commit message and consider merge the following changes since commit

Re: [PATCH] Revert leds: convert blink timer to workqueue

2014-09-02 Thread Josh Boyer
On Tue, Sep 2, 2014 at 1:02 PM, Bryan Wu coolo...@gmail.com wrote: On Tue, Sep 2, 2014 at 2:03 AM, Jiri Kosina jkos...@suse.cz wrote: This reverts commit 8b37e1bef5a6b60e949e28a4db3006e4b00bd758. It's broken as it changes led_blink_set() in a way that it can now sleep (while synchronously

Re: [percpu] BUG: unable to handle kernel NULL pointer dereference at (null)

2014-09-02 Thread Paul E. McKenney
On Tue, Sep 02, 2014 at 11:55:58AM -0500, Christoph Lameter wrote: On Tue, 2 Sep 2014, Paul E. McKenney wrote: Added by ac1bea85781e (sched,rcu: Make cond_resched() report RCU quiescent states), removed by 4a81e8328d379 (rcu: Reduce overhead of cond_resched() checks for RCU). So, as you

[PATCH] locks: Ability to test for flock presence on fd

2014-09-02 Thread Pavel Emelyanov
Hi, There's a problem with getting information about who has a flock on a specific file. The thing is that the owner field, that is shown in /proc/locks is the pid of the task who created the flock, not the one who _may_ hold it. If the flock creator shared the file with some other task (by

Re: [PATCH 2/3] kvm: fix potentially corrupt mmio cache

2014-09-02 Thread David Matlack
On Tue, Sep 2, 2014 at 9:49 AM, Paolo Bonzini pbonz...@redhat.com wrote: Il 02/09/2014 18:44, David Matlack ha scritto: -#define MMIO_GEN_SHIFT 19 -#define MMIO_GEN_LOW_SHIFT 9 -#define MMIO_GEN_LOW_MASK ((1 MMIO_GEN_LOW_SHIFT) - 1) +#define

Re: [PATCH 0/3] fix bugs with stale or corrupt MMIO caches

2014-09-02 Thread David Matlack
On Tue, Sep 2, 2014 at 9:50 AM, Paolo Bonzini pbonz...@redhat.com wrote: Il 02/09/2014 18:47, David Matlack ha scritto: Ping? Sorry for the delay. I think the patches look good. And patch 3/3 still fixes the bug I was originally seeing, so I'm happy :). I just had one small comment (see my

Re: [RFC PATCH v5] tpm_tis: verify interrupt during init

2014-09-02 Thread Jason Gunthorpe
On Sat, Aug 30, 2014 at 11:23:56PM +, Scot Doyle wrote: On Sat, 30 Aug 2014, Jason Gunthorpe wrote: On Fri, Aug 29, 2014 at 11:59:32PM +, Scot Doyle wrote: I tried calling tpm_get_timeouts only during the interrupt test, but again was timed out after 30 seconds. The interrupt

Re: [PATCH] drivers: base: add cpu_device_create to support per-cpu devices

2014-09-02 Thread Sudeep Holla
Hi Greg, On 22/08/14 12:29, Sudeep Holla wrote: From: Sudeep Holla sudeep.ho...@arm.com This patch adds a new function to create per-cpu devices. This helps in: 1. reusing the device infrastructure to create any cpu related attributes and corresponding sysfs instead of creating and

Re: [PATCH] drivers: base: add cpu_device_create to support per-cpu devices

2014-09-02 Thread Greg Kroah-Hartman
On Tue, Sep 02, 2014 at 06:22:07PM +0100, Sudeep Holla wrote: Hi Greg, On 22/08/14 12:29, Sudeep Holla wrote: From: Sudeep Holla sudeep.ho...@arm.com This patch adds a new function to create per-cpu devices. This helps in: 1. reusing the device infrastructure to create any cpu related

Re: [PATCH 03/12] of: Add binding document for MIPS GIC

2014-09-02 Thread David Daney
On 08/29/2014 03:14 PM, Andrew Bresticker wrote: The Global Interrupt Controller (GIC) present on certain MIPS systems can be used to route external interrupts to individual VPEs and CPU interrupt vectors. It also supports a timer and software-generated interrupts. Signed-off-by: Andrew

Re: [PATCH v2] hwspinlock/msm: Add support for Qualcomm MSM HW Mutex block

2014-09-02 Thread Jeffrey Hugo
On 8/29/2014 5:14 PM, Bjorn Andersson wrote: From: Kumar Gala ga...@codeaurora.org Add driver for Qualcomm MSM Hardware Mutex block that exists on newer Qualcomm SoCs. Cc: Jeffrey Hugo jh...@codeaurora.org Cc: Eric Holmberg eholm...@codeaurora.org Cc: Courtney Cavin

Re: [PATCH] staging: lustre: lov_pack: fix coding style issue

2014-09-02 Thread Greg Kroah-Hartman
On Mon, Sep 01, 2014 at 11:52:35PM +0800, sunwxg wrote: From: Sun Wang sun@gmail.com Fix the style error checking by checkpatch.pl ERROR: space required after that ',' Signed-off-by: Sun Wang sun@gmail.com --- drivers/staging/lustre/lustre/lov/lov_pack.c | 2 +- 1 file

[PATCH V3] edac, amd64_edac: Modify usage of amd64_read_dct_pci_cfg()

2014-09-02 Thread Aravind Gopalakrishnan
Rationale behind this change: - F2x1xx addresses were stopped from being mapped explicitly to DCT1 from F15h (OR) onwards. They use _dct[0:1] mechanism to access the registers. So we should move away from using address ranges to select DCT for these families. - On newer processors, the

Re: [RFC PATCH 1/1] drivers: introduce ARM SBSA generic UART driver

2014-09-02 Thread Rob Herring
On Tue, Sep 2, 2014 at 8:48 AM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 02 September 2014 08:20:53 Rob Herring wrote: This alone is not okay. There is no such implementation of hardware. But the SBSA explicitly allows this. I don't know of any vendor who just implements the

<    7   8   9   10   11   12   13   14   15   16   >