Re: [PATCH v3 4/4] thinkpad-acpi: fix handle locate for video and query of _BCL

2013-09-27 Thread Yves-Alexis Perez
On ven., 2013-09-27 at 12:20 -0300, Henrique de Moraes Holschuh wrote: Some testing on a *60 (T60,X60...) would also be best, I cannot test this on my T43. Anyway, the code itself looks fine, so: I can test on T61, would that help? Regards, -- Yves-Alexis signature.asc Description: This

[PATCH] UBI: fastmap: fix a mem leak on error path

2013-09-27 Thread Richard Genoud
If the scan_pool() function fails, the free list is not freed. This leads to destroy_ai(ai) complaining with: kmem_cache_destroy ubi_ainf_peb_slab: Slab cache still has objects Signed-off-by: Richard Genoud richard.gen...@gmail.com --- drivers/mtd/ubi/fastmap.c |4 1 file changed, 4

Re: [PATCH] Staging: sm7xxfb: fixed line break coding style issues

2013-09-27 Thread Martin Berglund
On Fri, Sep 27, 2013 at 03:27:29PM +0300, Dan Carpenter wrote: On Fri, Sep 27, 2013 at 02:08:07PM +0200, Martin Berglund wrote: @@ -508,9 +506,8 @@ static void sm7xx_set_timing(struct smtcfb_info *sfb) /* init SEQ register SR30 - SR75 */ for (i =

Re: [dtc PATCH V2] Warn on node name unit-address presence/absence mismatch

2013-09-27 Thread Kumar Gala
On Sep 26, 2013, at 8:30 PM, Benjamin Herrenschmidt wrote: On Thu, 2013-09-26 at 17:12 -0600, Stephen Warren wrote: Well, ePAPR seems pretty specific that unit address and reg are related, but says nothing about ranges in the section on node naming, nor about node naming in the section

Re: [PATCH] RFC: Introduce FW_INFO* functions

2013-09-27 Thread Joe Perches
On Fri, 2013-09-27 at 09:22 -0400, Prarit Bhargava wrote: I'm proposing with this patch to do something similar to the WARN() mechanism that is currently implemented in the kernel. This patchset introduces FW_INFO() and FW_INFO_DEV() which logs output My first thought was how ugly. There must

Re: [PATCH] Staging: sm7xxfb: fixed line break coding style issues

2013-09-27 Thread Greg KH
On Fri, Sep 27, 2013 at 05:39:11PM +0200, Martin Berglund wrote: On Fri, Sep 27, 2013 at 03:27:29PM +0300, Dan Carpenter wrote: On Fri, Sep 27, 2013 at 02:08:07PM +0200, Martin Berglund wrote: @@ -508,9 +506,8 @@ static void sm7xx_set_timing(struct smtcfb_info *sfb)

Re: [PATCH v1 2/7] arm64: introduce interfaces to hotpatch kernel and module code

2013-09-27 Thread Jiang Liu
On 09/25/2013 10:35 PM, Sandeepa Prabhu wrote: On 25 September 2013 16:14, Jiang Liu liu...@gmail.com wrote: From: Jiang Liu jiang@huawei.com Introduce aarch64_insn_patch_text() and __aarch64_insn_patch_text() to patch kernel and module code. Function aarch64_insn_patch_text() is a

Re: memory binding issues

2013-09-27 Thread Kumar Gala
On Sep 18, 2013, at 3:21 AM, Benjamin Herrenschmidt wrote: On Tue, 2013-09-17 at 21:57 -0500, Grant Likely wrote: - It provides no indication of what a given region is used for (or used by). In the example, display_region is a label (thus information that is lost) and unless it's

Re: [PATCH] Staging: sm7xxfb: fixed line break coding style issues

2013-09-27 Thread Dan Carpenter
On Fri, Sep 27, 2013 at 05:39:11PM +0200, Martin Berglund wrote: On Fri, Sep 27, 2013 at 03:27:29PM +0300, Dan Carpenter wrote: On Fri, Sep 27, 2013 at 02:08:07PM +0200, Martin Berglund wrote: @@ -508,9 +506,8 @@ static void sm7xx_set_timing(struct smtcfb_info *sfb)

Re: [PATCHv2 0/9] omap hwspinlock dt support

2013-09-27 Thread Suman Anna
On 09/17/2013 02:30 PM, Suman Anna wrote: Hi, This is an updated series for adding the device tree support to the OMAP hwspinlock driver. The series is based on 3.12-rc1, and includes patches on hwspinlock driver, OMAP hwmod data files and OMAP DTS files. The updated series adds new patches

Re: [PATCH] kernel: replace strict_strto*() with kstrto*()

2013-09-27 Thread Bjorn Helgaas
[+cc Jean] On Mon, Jul 22, 2013 at 2:39 AM, Jingoo Han jg1@samsung.com wrote: The usage of strict_strto*() is not preferred, because strict_strto*() is obsolete. Thus, kstrto*() should be used. Signed-off-by: Jingoo Han jg1@samsung.com --- kernel/gcov/fs.c |2 +-

[PATCH] ext4: avoid exposure of stale data in ext4_punch_hole() -v2

2013-09-27 Thread Maxim Patlasov
While handling punch-hole fallocate, it's useless to truncate page cache before removing the range from extent tree (or block map in indirect case) because page cache can be re-populated (by read-ahead or read(2) or mmap-ed read) immediately after truncating page cache, but before updating extent

Re: kobject_add_internal failed for msi_irqs with -EEXIST

2013-09-27 Thread Bjorn Helgaas
[+cc Veaceslav, linux-pci] On Fri, Sep 27, 2013 at 7:34 AM, Zdenek Kabelac zkabe...@redhat.com wrote: Hi With recent build of 3.12-rc2 I'm getting this warning report from kernel: (hw Lenovo T61, C2D, 4GB Ram) (repost since linux-kernel@ rejected my gmail email) This looks related to

Re: [v3.11][Regression] HID: hyperv: convert alloc+memcpy to memdup

2013-09-27 Thread Dan Carpenter
On Fri, Sep 27, 2013 at 06:24:12PM +0300, Dan Carpenter wrote: It looks like magicmouse_raw_event() returns 1 on success and 0 on failure. Fixing the return codes is a good idea but it won't fix the oops. What's the point of returning 1 and 0? In the current code no one cares and both are

Re: [PATCH 4/4] [RFC] ipv6: Fix for possible ipv6 seqlock deadlock

2013-09-27 Thread John Stultz
On 09/26/2013 10:47 PM, Ingo Molnar wrote: * John Stultz john.stu...@linaro.org wrote: On 09/26/2013 12:30 PM, Eric Dumazet wrote: On Thu, 2013-09-26 at 11:34 -0700, John Stultz wrote: While enabling lockdep on seqlocks, I ran accross the warning below caused by the ipv6 stats being updated

Re: Please revert 928bea964827d7824b548c1f8e06eccbbc4d0d7d

2013-09-27 Thread Yinghai Lu
On Fri, Sep 27, 2013 at 1:28 AM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: Hi Linus, Yinghai ! Please consider reverting: 928bea964827d7824b548c1f8e06eccbbc4d0d7d PCI: Delay enabling bridges until they're needed (I'd suggest to revert now and maybe merge a better patch later)

Re: [PATCH 3/3] Fix compile error in drivers/gpu/drm/msm/msm_drv.c with IOMMU disabled

2013-09-27 Thread Joerg Roedel
Hi Rob, On Fri, Sep 27, 2013 at 11:28:36AM -0400, Rob Clark wrote: But I am not the right one to merge this one. And, well, if there is a way to make this work without msm_iommu_get_ctx(), I am interested in some hints ;-) Of the other two, 1/3 looks fine and I'll pull that in. And I'll

Re: kobject_add_internal failed for msi_irqs with -EEXIST

2013-09-27 Thread Veaceslav Falico
On Fri, Sep 27, 2013 at 09:58:28AM -0600, Bjorn Helgaas wrote: [+cc Veaceslav, linux-pci] On Fri, Sep 27, 2013 at 7:34 AM, Zdenek Kabelac zkabe...@redhat.com wrote: Hi With recent build of 3.12-rc2 I'm getting this warning report from kernel: (hw Lenovo T61, C2D, 4GB Ram) (repost since

Re: [PATCH] checkpatch: Make the memory barrier test noisier

2013-09-27 Thread Paul E. McKenney
On Fri, Sep 27, 2013 at 05:34:34PM +0200, Peter Zijlstra wrote: On Fri, Sep 27, 2013 at 08:17:50AM -0700, Paul E. McKenney wrote: Barriers are fundamentally about order; and order only makes sense if there's more than 1 party to the game. Oddly enough, there is one exception that

Re: Crash of 3.12-rc2 BUG: unable to handle kernel NULL pointer dereference

2013-09-27 Thread Bjorn Helgaas
[+cc Thomas, Russell] On Fri, Sep 27, 2013 at 7:13 AM, Zdenek Kabelac zkabe...@redhat.com wrote: Dne 27.9.2013 13:57, Zdenek Kabelac napsal(a): Hi I'm trying to use -rc2 kernel however I'm getting quite often regular kernel panic: Here is a BUG trace from kvm running this kernel: (I'm

Re: [PATCHv2 1/9] hwspinlock/core: add common dt bindings and OF helpers

2013-09-27 Thread Kumar Gala
On Sep 17, 2013, at 2:30 PM, Suman Anna wrote: All the platform-specific hwlock driver implementations need the number of locks and the associated base id for registering the locks present within a hwspinlock device with the driver core. These two variables are represented by

Re: [PATCH 1/2] pinctrl: palmas: do not abort pin configuration for BIAS_DEFAULT

2013-09-27 Thread Stephen Warren
On 09/27/2013 07:30 AM, Laxman Dewangan wrote: On Thursday 26 September 2013 09:08 PM, Stephen Warren wrote: On 09/26/2013 06:48 AM, Laxman Dewangan wrote: Recent movement of all configurations of pin in the single call of pin_config_set(), it is aborting configuration if BIAS_PULL_PIN_DEFAULT

Re: [PATCHv2 2/9] hwspinlock/omap: add support for dt nodes

2013-09-27 Thread Kumar Gala
On Sep 17, 2013, at 2:30 PM, Suman Anna wrote: HwSpinlock IP is present only on OMAP4 and other newer SoCs, which are all device-tree boot only. This patch adds the base support for parsing the DT nodes, and removes the code dealing with the traditional platform device instantiation.

[PATCH v6 0/19] enable swiotlb-xen on arm and arm64

2013-09-27 Thread Stefano Stabellini
Hi all, this patch series enables xen-swiotlb on arm and arm64. Considering that all guests, including dom0, run on xen on arm with second stage translation enabled, it follows that without an IOMMU no guests could actually drive the hardware. The solution for platforms without an IOMMU is to

[PATCH v6 06/19] xen/arm,arm64: enable SWIOTLB_XEN

2013-09-27 Thread Stefano Stabellini
Xen on arm and arm64 needs SWIOTLB_XEN: when running on Xen we need to program the hardware with mfns rather than pfns for dma addresses. Remove SWIOTLB_XEN dependency on X86 and PCI and make XEN select SWIOTLB_XEN on arm and arm64. At the moment always rely on swiotlb-xen, but when Xen starts

[PATCH v6 05/19] swiotlb-xen: support autotranslate guests

2013-09-27 Thread Stefano Stabellini
Support autotranslate guests in swiotlb-xen by keeping track of the phys-to-bus and bus-to-phys mappings of the swiotlb buffer (xen_io_tlb_start-xen_io_tlb_end). Use a simple direct access on a pre-allocated array for phys-to-bus queries. Use a red-black tree for bus-to-phys queries.

[PATCH v6 01/19] arm: make SWIOTLB available

2013-09-27 Thread Stefano Stabellini
IOMMU_HELPER is needed because SWIOTLB calls iommu_is_span_boundary, provided by lib/iommu_helper.c. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com CC: will.dea...@arm.com CC: li...@arm.linux.org.uk Changes in v6: -

Re: [PATCH 2/3] hwmon: (adt7310) Use spi_w8r16be() instead spi_w8r16()

2013-09-27 Thread Guenter Roeck
On Fri, Sep 27, 2013 at 04:34:28PM +0200, Lars-Peter Clausen wrote: Using spi_w8r16be() instead of spi_w8r16() in this driver makes a code a bit shorter and cleaner. Signed-off-by: Lars-Peter Clausen l...@metafoo.de Acked-by: Guenter Roeck li...@roeck-us.net Would this patch go through the

[PATCH v6 02/19] arm64: define DMA_ERROR_CODE

2013-09-27 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: catalin.mari...@arm.com CC: will.dea...@arm.com --- arch/arm64/include/asm/dma-mapping.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm64/include/asm/dma-mapping.h

Re: [PATCH v6 5/6] MCS Lock: Restructure the MCS lock defines and locking code into its own file

2013-09-27 Thread Jason Low
On Fri, 2013-09-27 at 08:02 +0200, Ingo Molnar wrote: Would be nice to have this as a separate, add-on patch. Every single instruction removal that has no downside is an upside! Okay, so here is a patch. Tim, would you like to add this to v7? ... Subject: MCS lock: Remove and reorder

[PATCH v6 07/19] swiotlb-xen: introduce xen_swiotlb_set_dma_mask

2013-09-27 Thread Stefano Stabellini
Implement xen_swiotlb_set_dma_mask, use it for set_dma_mask on arm. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- arch/arm/xen/mm.c |1 + drivers/xen/swiotlb-xen.c | 12 include/xen/swiotlb-xen.h |2 ++ 3 files changed, 15 insertions(+), 0

[PATCH v6 04/19] xen: make xen_create_contiguous_region return the dma address

2013-09-27 Thread Stefano Stabellini
Modify xen_create_contiguous_region to return the dma address of the newly contiguous buffer. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Reviewed-by: David Vrabel david.vra...@citrix.com Changes in v4: - use

Re: [dtc PATCH V2] Warn on node name unit-address presence/absence mismatch

2013-09-27 Thread Stephen Warren
On 09/27/2013 09:39 AM, Kumar Gala wrote: On Sep 26, 2013, at 8:30 PM, Benjamin Herrenschmidt wrote: On Thu, 2013-09-26 at 17:12 -0600, Stephen Warren wrote: Well, ePAPR seems pretty specific that unit address and reg are related, but says nothing about ranges in the section on node

[PATCH v6 10/19] xen: introduce xen_alloc/free_coherent_pages

2013-09-27 Thread Stefano Stabellini
xen_swiotlb_alloc_coherent needs to allocate a coherent buffer for cpu and devices. On native x86 and ARMv8 is sufficient to call __get_free_pages in order to get a coherent buffer, while on ARM we need to call the native dma_ops-alloc implementation. When arm64 stops using the swiotlb by default

[PATCH v6 08/19] arm/xen: get_dma_ops: return xen_dma_ops if we are running on Xen

2013-09-27 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Suggested-by: Catalin Marinas catalin.mari...@arm.com CC: will.dea...@arm.com CC: li...@arm.linux.org.uk --- arch/arm/include/asm/dma-mapping.h | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git

[PATCH v6 03/19] xen: introduce XENMEM_exchange_and_pin and XENMEM_unpin

2013-09-27 Thread Stefano Stabellini
XENMEM_exchange can't be used by autotranslate guests because of two severe limitations: - it does not copy back the mfns into the out field for autotranslate guests; - it does not guarantee that the hypervisor won't change the p2m mappings for the exchanged pages while the guest is using

Re: [PATCH 1/3] mutex,spinlock: rename arch_mutex_cpu_relax() to cpu_relax_simple()

2013-09-27 Thread Linus Torvalds
On Fri, Sep 27, 2013 at 1:03 AM, Heiko Carstens heiko.carst...@de.ibm.com wrote: s390 needs a special version of cpu_relax() for the new lockref code. The new variant should be a no-op but also have memory barrier semantics, since that is what the default cpu_relax() variant implements. I'd

[PATCH v6 09/19] arm64/xen: get_dma_ops: return xen_dma_ops if we are running on Xen

2013-09-27 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Suggested-by: Catalin Marinas catalin.mari...@arm.com CC: catalin.mari...@arm.com CC: will.dea...@arm.com --- arch/arm64/include/asm/dma-mapping.h | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git

Re: [PATCH] ext4: avoid exposure of stale data in ext4_punch_hole() -v2

2013-09-27 Thread Jan Kara
On Fri 27-09-13 19:54:03, Maxim Patlasov wrote: While handling punch-hole fallocate, it's useless to truncate page cache before removing the range from extent tree (or block map in indirect case) because page cache can be re-populated (by read-ahead or read(2) or mmap-ed read) immediately

Re: [PATCH 04/27] mmc: cb710: Move away from using deprecated APIs

2013-09-27 Thread Michał Mirosław
On Thu, Sep 26, 2013 at 04:54:29PM +0200, Ulf Hansson wrote: Suspend and resume of cards are being handled from the protocol layer and consequently the mmc_suspend|resume_host APIs are deprecated. This means we can simplify the suspend|resume callbacks by removing the use of the deprecated

Re: [PATCH v6 5/6] MCS Lock: Restructure the MCS lock defines and locking code into its own file

2013-09-27 Thread Tim Chen
On Fri, 2013-09-27 at 09:12 -0700, Jason Low wrote: On Fri, 2013-09-27 at 08:02 +0200, Ingo Molnar wrote: Would be nice to have this as a separate, add-on patch. Every single instruction removal that has no downside is an upside! Okay, so here is a patch. Tim, would you like to add this

Re: [RFT PATCH v1 0/7] enable FPSIMD lazy save and restore for arm64

2013-09-27 Thread Catalin Marinas
On Fri, Sep 27, 2013 at 04:20:15PM +0100, Jiang Liu wrote: The patchset actually includes three optimizations. The first one uses PF_USED_MATH to track whether the thread has accessed FPSIMD registers since it has been created. If the thread hasn't accessed FPSIMD registers since it's

Re: applesmc oops in 3.10/3.11

2013-09-27 Thread Josh Boyer
On Thu, Sep 26, 2013 at 2:34 AM, Henrik Rydberg rydb...@euromail.se wrote: This suggests that initialization may be attempted more than once. The key cache is allocated only once, but the number of keys is read for each attempt. No idea if that can happen, but if the number of keys

Re: [PATCHv2 2/9] hwspinlock/omap: add support for dt nodes

2013-09-27 Thread Suman Anna
On 09/27/2013 11:06 AM, Kumar Gala wrote: On Sep 17, 2013, at 2:30 PM, Suman Anna wrote: HwSpinlock IP is present only on OMAP4 and other newer SoCs, which are all device-tree boot only. This patch adds the base support for parsing the DT nodes, and removes the code dealing with the

Re: [PATCH v2] i2c: i2c-dev: Create 'name' attribute automatically

2013-09-27 Thread Wolfram Sang
On Thu, Sep 26, 2013 at 07:36:11PM -0700, Guenter Roeck wrote: The 'name' attribute is needed for all i2c-dev class devices, meaning it can be created automatically by pointing to it in the class data structure. This simplifies the code and reduces the probability for race conditions (the name

Re: [PATCH 10/27] mmc: vub300: Remove redundant suspend and resume callbacks

2013-09-27 Thread Alan Stern
On Thu, 26 Sep 2013, Ulf Hansson wrote: Suspend and resume of cards are handled by the protocol layer and consequently the mmc_suspend|resume_host APIs are marked as deprecated. While moving away from using the deprecated APIs, there are nothing left to be done for the suspend and resume

Re: linux-next: Tree for Sep 27

2013-09-27 Thread Joe Perches
On Fri, 2013-09-27 at 19:05 +1000, Stephen Rothwell wrote: Hi all, Heads up: I will be having a 3 week break leading up to the kernel summit. This means that next-20130927 (today) will be the last linux-next release until next-20131028 (or maybe 29). I presume that Linus will be up

Re: [git pull] Score: Fix compiling error and updatr thee information of maintainers

2013-09-27 Thread Linus Torvalds
On Thu, Sep 26, 2013 at 6:33 AM, Lennox Wu lennox...@gmail.com wrote: are available in the git repository at: https://github.com/sctscore/official-linux.git release-up-to-date Please, I *really* want signed tags from github. You've done it before.. Also, please use the git:// protocol instead

[PATCH v2] Staging: sm7xxfb: fixed line break coding style issues

2013-09-27 Thread Martin Berglund
Fixed coding style issues. Signed-off-by: Martin Berglund mar...@rogsta.net --- v2: minor style change as suggested by Dan. drivers/staging/sm7xxfb/sm7xxfb.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c

Re: [GIT PULL] Keyrings patches

2013-09-27 Thread David Howells
James Morris jmor...@namei.org wrote: Hi James, Could you pull these patches into the security tree? They're based on your next branch. Thanks, pulled. Nagyon köszönöm! David -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] misc: (at24) move header to linux/platform_data/

2013-09-27 Thread Wolfram Sang
On Thu, Sep 26, 2013 at 04:09:12PM -0400, Vivien Didelot wrote: Hi Wolfram, Wolfram wrote: IMHO it makes sense. Why wouldn't we want all platform_data in include/linux/platform_data/? For the same reason we don't want all driver source files in one directory? It's a mess.

[PATCH v6 11/19] swiotlb-xen: use xen_alloc/free_coherent_pages

2013-09-27 Thread Stefano Stabellini
Use xen_alloc_coherent_pages and xen_free_coherent_pages to allocate or free coherent pages. We need to be careful handling the pointer returned by xen_alloc_coherent_pages, because on ARM the pointer is not equal to phys_to_virt(*dma_handle). In fact virt_to_phys only works for kernel direct

[PATCH v6 13/19] ASoC: Samsung: Rename dma_ops by samsung_dma_ops

2013-09-27 Thread Stefano Stabellini
From: Julien Grall julien.gr...@linaro.org The commit arm: introduce a global dma_ops pointer introduce compilation issue when CONFIG_SND_SOC_SAMSUNG is enabled. sound/soc/samsung/dma.c:345:27: error: conflicting types for 'dma_ops'

[PATCH v6 16/19] arm,arm64: do not always merge biovec if we are running on Xen

2013-09-27 Thread Stefano Stabellini
This is similar to what it is done on X86: biovecs are prevented from merging otherwise every dma requests would be forced to bounce on the swiotlb buffer. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- arch/arm/include/asm/io.h |8

[PATCH v6 14/19] swiotlb: print a warning when the swiotlb is full

2013-09-27 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- drivers/xen/swiotlb-xen.c |1 + lib/swiotlb.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c index 96ad316..790c2eb 100644 ---

[PATCH v6 19/19] swiotlb-xen: instead of bouncing on the swiotlb, pin single pages

2013-09-27 Thread Stefano Stabellini
If we are dealing with single page mappings that don't cross page boundaries, we can try to pin the page and get the corresponding mfn, using xen_pin_page. This avoids going through the swiotlb bounce buffer. If xen_pin_page fails (because the underlying mfn doesn't respect the dma_mask) fall

[PATCH v6 18/19] swiotlb-xen: introduce a rbtree to track phys to bus mappings

2013-09-27 Thread Stefano Stabellini
Introduce a second red-back tree to track phys to bus mappings created after the initialization of the swiotlb buffer. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- drivers/xen/swiotlb-xen.c | 99 +--- 1 files changed, 83

[PATCH v6 12/19] swiotlb: don't assume that io_tlb_start-io_tlb_end is coherent

2013-09-27 Thread Stefano Stabellini
The swiotlb code has appropriate calls to dma_mark_clean in place for buffers passed to swiotlb_map_page as an argument. However it assumes that the swiotlb bounce buffer (io_tlb_start-io_tlb_end) is already coherent and doesn't need any calls to dma_mark_clean. On ARM the swiotlb bounce buffer

[PATCH v6 17/19] xen: introduce XENMEM_pin

2013-09-27 Thread Stefano Stabellini
Introduce a new hypercall to pin one or more pages whose machine addresses respect a dma_mask passed as an argument Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- arch/arm/xen/mm.c | 16 arch/x86/xen/mmu.c |7 +++

[PATCH v6 15/19] swiotlb-xen: call dma_capable only if dev-dma_mask is allocated

2013-09-27 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- drivers/xen/swiotlb-xen.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c index 790c2eb..3011736 100644 --- a/drivers/xen/swiotlb-xen.c +++

Re: [PATCH] IPv6: Allow the MTU of ipip6 tunnel to be set below 1280

2013-09-27 Thread Oussama Ghorbel
Please see my comments below Regards, Oussama On Fri, Sep 27, 2013 at 11:58 AM, Hannes Frederic Sowa han...@stressinduktion.org wrote: On Fri, Sep 27, 2013 at 11:45:48AM +0100, Oussama Ghorbel wrote: The ip6_tunnel.c module would be then dependent on ip_tunnel.c and may be it would not be

Re: [lm-sensors] [PATCH] [TRIVIAL] Correct some typos

2013-09-27 Thread Guenter Roeck
On Fri, Sep 27, 2013 at 02:36:04PM +0200, LABBE Corentin wrote: Signed-off-by: LABBE Corentin clabbe.montj...@gmail.com Applied to -next. Thanks, Guenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

[GIT PULL] hwmon fixes for 3.12-rc3

2013-09-27 Thread Guenter Roeck
Hi Linus, Please pull hwmon fixes for Linux 3.12-rc3 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus Thanks, Guenter -- The following changes since commit 4b97280675f45c1650ee4e388bd711ecbb18c4b4: Merge tag

[PATCH] kthread_bind: don't wait in kthread_bind for presmp initcalls

2013-09-27 Thread Abbas Raza
From: Abbas Raza abbas_r...@mentor.com wait_task_inactive shouldn't be called in __kthread_bind for presmp initcalls the same way it is done in !SMP case. more info here: http://permalink.gmane.org/gmane.linux.kernel.embedded/4046 This patch improves boot time for pre-smp initcalls as given

Re: [PATCHv2 1/9] hwspinlock/core: add common dt bindings and OF helpers

2013-09-27 Thread Suman Anna
Kumar, On 09/27/2013 11:04 AM, Kumar Gala wrote: On Sep 17, 2013, at 2:30 PM, Suman Anna wrote: All the platform-specific hwlock driver implementations need the number of locks and the associated base id for registering the locks present within a hwspinlock device with the driver core.

[PATCH char-misc-next 1/5] misc: mic: host driver sysfs cleanups.

2013-09-27 Thread Sudeep Dutt
+ Use DEVICE_ATTR_RO/RW instead of DEVICE_ATTR + Use ATTRIBUTE_GROUPS These changes were suggested by Greg Kroah-Hartman during the code review @ https://lkml.org/lkml/2013/9/6/13 Reported-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Ashutosh Dixit ashutosh.di...@intel.com

[PATCH char-misc-next 0/5] misc: mic: driver cleanups and a build fix.

2013-09-27 Thread Sudeep Dutt
These patches address code review feedback received on the patch series @ https://lkml.org/lkml/2013/9/5/561 ,from: a) Greg Kroah-Hartman on sysfs and header file cleanups. b) Joe Perches on issues found by --strict checkpatch. It should also fix the build failures on certain non X86

[PATCH char-misc-next 2/5] misc: mic: header file cleanups.

2013-09-27 Thread Sudeep Dutt
Dont use same name for header files in different folders. These changes were suggested by Greg Kroah-Hartman during the code review @ https://lkml.org/lkml/2013/9/6/18 Reported-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Ashutosh Dixit ashutosh.di...@intel.com Signed-off-by:

[PATCH char-misc-next 3/5] misc: mic: cleanups for --strict checkpatch.

2013-09-27 Thread Sudeep Dutt
From: Ashutosh Dixit ashutosh.di...@intel.com These changes were mostly authored by Joe Perches j...@perches.com @ https://lkml.org/lkml/2013/9/5/602 Reported-by: Joe Perches j...@perches.com Signed-off-by: Ashutosh Dixit ashutosh.di...@intel.com Signed-off-by: Dasaratharaman Chandramouli

[PATCH char-misc-next 4/5] misc: mic: fix a warning in the IOCTL header file.

2013-09-27 Thread Sudeep Dutt
The following warning from mic_ioctl.h is fixed via this patch: found __[us]{8,16,32,64} type without #include linux/types.h Reported-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Ashutosh Dixit ashutosh.di...@intel.com Signed-off-by: Dasaratharaman Chandramouli

[PATCH char-misc-next 5/5] misc: mic: depend on X86 for both host and card drivers.

2013-09-27 Thread Sudeep Dutt
This fixes build failures seen on certain non X86 architectures. The card driver should correctly always depend on X86. The host driver can potentially work on non X86 architectures although it has never been built or validated in such configurations. The host driver dependency on X86 can be

Re: [PATCH v4] PWM: atmel-pwm: add PWM controller driver

2013-09-27 Thread Alexandre Belloni
Sorry to get in so late but there is a small issue with the driver. On 25/09/2013 05:27, Bo Shen wrote: Add Atmel PWM controller driver based on PWM framework. This is the basic function implementation of Atmel PWM controller. It can work with PWM based led and backlight. Signed-off-by: Bo

[PATCH] iommu: Remove stack trace from broken irq remapping warning

2013-09-27 Thread Neil Horman
The warning for the irq remapping broken check in intel_irq_remapping.c is pretty pointless. We need the warning, but we know where its comming from, the stack trace will always be the same, and it needlessly triggers things like Abrt. This changes the warning to just print a text warning about

[PATCH v6 0/2] mmc: sdhci-msm: Add support for MSM chipsets

2013-09-27 Thread Georgi Djakov
This patchset adds support of the Secure Digital Host Controller Interface compliant controller found in Qualcomm MSM chipsets. It has been tested on a APQ8074 Dragonboard. Changes from v5: - Driver is split into multiple patches - Do not initialize variables that are assigned later in code -

[PATCH v6 2/2] mmc: sdhci-msm: Initial support for MSM chipsets

2013-09-27 Thread Georgi Djakov
This platform driver adds the initial support of Secure Digital Host Controller Interface compliant controller found in Qualcomm MSM chipsets. CC: Asutosh Das asuto...@codeaurora.org CC: Venkat Gopalakrishnan venk...@codeaurora.org CC: Sahitya Tummala stumm...@codeaurora.org CC: Subhash Jadavani

[PATCH v6 1/2] mmc: sdhci-msm: Initial SDHCI MSM driver documentation

2013-09-27 Thread Georgi Djakov
This patch adds documentation for Qualcomm SDHCI MSM driver. It contains the differences between the core properties in mmc.txt and the properties used by the sdhci-msm driver. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- .../devicetree/bindings/mmc/sdhci-msm.txt | 70

Re: [PATCH 23/26] ARM: sunxi: remove custom .init_time hook

2013-09-27 Thread Maxime Ripard
Hi Sebastian, On Thu, Sep 26, 2013 at 08:15:54AM +0200, Sebastian Hesselbarth wrote: I am still waiting for some ACKs (nomadik, prima2, socfpga, nspire) and possibly Mike's on the clock changes. My current idea is to prepare a branch for Olof to pull in as whole. Ok. That works for me. Tell

Re: [PATCH] IPv6: Allow the MTU of ipip6 tunnel to be set below 1280

2013-09-27 Thread Hannes Frederic Sowa
On Fri, Sep 27, 2013 at 05:36:45PM +0100, Oussama Ghorbel wrote: Please see my comments below Regards, Oussama On Fri, Sep 27, 2013 at 11:58 AM, Hannes Frederic Sowa han...@stressinduktion.org wrote: On Fri, Sep 27, 2013 at 11:45:48AM +0100, Oussama Ghorbel wrote: The ip6_tunnel.c

Re: [PATCH 0/5] Allwinner SoCs High Speed Timer support

2013-09-27 Thread Maxime Ripard
Hi Thomas, On Thu, Sep 26, 2013 at 04:39:42PM +0200, Thomas Petazzoni wrote: On Wed, 25 Sep 2013 22:50:12 +0300, Maxime Ripard wrote: For all we know, so far, allwinner has released, by family: - sun3i (ARM926) * F20 (not supported) - sun4i (Cortex A8) * A10 - sun5i

Re: Please revert 928bea964827d7824b548c1f8e06eccbbc4d0d7d

2013-09-27 Thread Linus Torvalds
On Fri, Sep 27, 2013 at 9:01 AM, Yinghai Lu ying...@kernel.org wrote: So i would like to use the first way that you suggest : call pci_set_master PCIe port driver. So I have to say, that if we can fix this with just adding a single new pci_set_master() call, we should do that before we decide

Re: applesmc oops in 3.10/3.11

2013-09-27 Thread Guenter Roeck
On Fri, Sep 27, 2013 at 12:21:04PM -0400, Josh Boyer wrote: On Thu, Sep 26, 2013 at 2:34 AM, Henrik Rydberg rydb...@euromail.se wrote: This suggests that initialization may be attempted more than once. The key cache is allocated only once, but the number of keys is read for each

Re: [PATCHv2 1/9] hwspinlock/core: add common dt bindings and OF helpers

2013-09-27 Thread Kumar Gala
On Sep 27, 2013, at 11:48 AM, Suman Anna wrote: Kumar, On 09/27/2013 11:04 AM, Kumar Gala wrote: On Sep 17, 2013, at 2:30 PM, Suman Anna wrote: All the platform-specific hwlock driver implementations need the number of locks and the associated base id for registering the locks

Re: [PATCHv2 2/9] hwspinlock/omap: add support for dt nodes

2013-09-27 Thread Kumar Gala
On Sep 27, 2013, at 11:21 AM, Suman Anna wrote: On 09/27/2013 11:06 AM, Kumar Gala wrote: On Sep 17, 2013, at 2:30 PM, Suman Anna wrote: HwSpinlock IP is present only on OMAP4 and other newer SoCs, which are all device-tree boot only. This patch adds the base support for parsing the DT

[GIT PULL] arm/context_tracking build fix

2013-09-27 Thread Frederic Weisbecker
Ingo, Please pull the context_tracking/fixes branch that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git context_tracking/fixes Thanks, Frederic --- Frederic Weisbecker (1): arm: Fix build error with context tracking calls

[PATCH] perf tools: Move start conditions to start of the flex file

2013-09-27 Thread Jiri Olsa
Moving start conditions to start of the flex file so it's clear what the INITIAL condition rules are. Plus adding default rule for INITIAL condition. This prevents default space to be printed for events like: $ ./perf stat -e cycles kill 2/dev/null $ Signed-off-by: Jiri

[PATCH] tty: Fix pty master read() after slave closes

2013-09-27 Thread Peter Hurley
Commit f95499c3030fe1bfad57745f2db1959c5b43dca8, n_tty: Don't wait for buffer work in read() loop creates a race window which can cause a pty master read() to miss the last pty slave write(s) and return -EIO instead, thus signalling the pty slave is closed. This can happen when the pty slave is

Re: [PATCH char-misc-next 0/5] misc: mic: driver cleanups and a build fix.

2013-09-27 Thread Joe Perches
On Fri, 2013-09-27 at 09:49 -0700, Sudeep Dutt wrote: These patches address code review feedback received on the patch series @ https://lkml.org/lkml/2013/9/5/561 ,from: a) Greg Kroah-Hartman on sysfs and header file cleanups. b) Joe Perches on issues found by --strict checkpatch. It should

Re: [PATCH] tty: Fix pty master read() after slave closes

2013-09-27 Thread Peter Hurley
On 09/27/2013 01:27 PM, Peter Hurley wrote: Commit f95499c3030fe1bfad57745f2db1959c5b43dca8, n_tty: Don't wait for buffer work in read() loop creates a race window which can cause a pty master read() to miss the last pty slave write(s) and return -EIO instead, thus signalling the pty slave is

Re: [GIT PULL] ARM: SoC fixes for 3.12-rc

2013-09-27 Thread Brian Norris
On Fri, Sep 27, 2013 at 3:59 AM, Woodhouse, David david.woodho...@intel.com wrote: On Thu, 2013-09-19 at 17:44 -0700, Brian Norris wrote: Does that m25p80 'fix 4 byte addressing' fix for Micron not also want to go in? I suppose the m25p80 one can go in as well. It's not so much a bugfix as

Re: Please revert 928bea964827d7824b548c1f8e06eccbbc4d0d7d

2013-09-27 Thread Yinghai Lu
On Fri, Sep 27, 2013 at 9:01 AM, Yinghai Lu ying...@kernel.org wrote: On Fri, Sep 27, 2013 at 1:28 AM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: Hi Linus, Yinghai ! Please consider reverting: 928bea964827d7824b548c1f8e06eccbbc4d0d7d PCI: Delay enabling bridges until they're

Re: [PATCH 4/4] [RFC] ipv6: Fix for possible ipv6 seqlock deadlock

2013-09-27 Thread Eric Dumazet
On Fri, 2013-09-27 at 09:00 -0700, John Stultz wrote: It seems as such, so I'll add stable on my next submission. Documentation/networking/netdev-FAQ.txt Q: I see a network patch and I think it should be backported to stable. Should I request it via sta...@vger.kernel.org like the

Re: [PATCH v2 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-09-27 Thread Wolfram Sang
Hi, Please make one mail thread out of a patch series. That helps reviewing. On Thu, Sep 26, 2013 at 11:53:58AM +0200, Maxime COQUELIN wrote: This patch adds support to SSC (Synchronous Serial Controller) I2C driver. This IP also supports SPI protocol, but this is not the aim of this driver.

Re: [PATCH] kernel: replace strict_strto*() with kstrto*()

2013-09-27 Thread Jean Delvare
Andrew, On Fri, 27 Sep 2013 09:50:39 -0600, Bjorn Helgaas wrote: There's some indication that this change might have broken handling of signed types. See https://lists.ozlabs.org/pipermail/linuxppc-dev/2013-September/111758.html and https://bugzilla.kernel.org/show_bug.cgi?id=61811. It

[GIT PULL] NFS/FS-Cache: Fix crash from accidentally starting caching whilst writing

2013-09-27 Thread David Howells
Hi Trond, Can you pull these commits to fix an issue with NFS whereby caching can be enabled on a file that is open for writing by subsequently opening it for reading. This can be made to crash by opening it for writing again if you're quick enough. The gist of the patchset is that the cookie

Re: [PATCH 0/5] Allwinner SoCs High Speed Timer support

2013-09-27 Thread Thomas Petazzoni
Dear Maxime Ripard, On Fri, 27 Sep 2013 20:05:05 +0300, Maxime Ripard wrote: A small update to Documentation/arm/sunxi/README would be nice :) Yep, right. Even though, for most of these SoCs (F20, A10s, A31*, A2*), I don't think we have publicly available datasheet to point to there. The

Re: applesmc oops in 3.10/3.11

2013-09-27 Thread Guenter Roeck
On Fri, Sep 27, 2013 at 11:41:42AM -0600, Chris Murphy wrote: On Sep 27, 2013, at 11:12 AM, Guenter Roeck li...@roeck-us.net wrote: On Fri, Sep 27, 2013 at 12:21:04PM -0400, Josh Boyer wrote: On Thu, Sep 26, 2013 at 2:34 AM, Henrik Rydberg rydb...@euromail.se wrote: This suggests

Re: applesmc oops in 3.10/3.11

2013-09-27 Thread Guenter Roeck
On Fri, Sep 27, 2013 at 12:21:04PM -0400, Josh Boyer wrote: On Thu, Sep 26, 2013 at 2:34 AM, Henrik Rydberg rydb...@euromail.se wrote: This suggests that initialization may be attempted more than once. The key cache is allocated only once, but the number of keys is read for each

Re: [XFS MAINTAINERS] fs/xfs/xfs_dir2_node.c: xfs: xfs_dir2_leafn_add: Variables Uninitialized

2013-09-27 Thread Geyslan Gregório Bem
Hi Maintainers, I suppose the variables highstale and lowstale are being used despite not having been initialized. File: fs/xfs/xfs_dir2_node.c Function: xfs_dir2_leafn_add L491: /* * Insert the new entry, log everything. */ lep = xfs_dir3_leaf_find_entry(leafhdr, ents, index, compact,

Re: applesmc oops in 3.10/3.11

2013-09-27 Thread Chris Murphy
On Sep 27, 2013, at 11:59 AM, Guenter Roeck li...@roeck-us.net wrote: On Fri, Sep 27, 2013 at 11:41:42AM -0600, Chris Murphy wrote: On Sep 27, 2013, at 11:12 AM, Guenter Roeck li...@roeck-us.net wrote: On Fri, Sep 27, 2013 at 12:21:04PM -0400, Josh Boyer wrote: On Thu, Sep 26, 2013 at

Re: applesmc oops in 3.10/3.11

2013-09-27 Thread Chris Murphy
On Sep 27, 2013, at 11:12 AM, Guenter Roeck li...@roeck-us.net wrote: On Fri, Sep 27, 2013 at 12:21:04PM -0400, Josh Boyer wrote: On Thu, Sep 26, 2013 at 2:34 AM, Henrik Rydberg rydb...@euromail.se wrote: This suggests that initialization may be attempted more than once. The key cache is

<    5   6   7   8   9   10   11   12   >