[PATCH] Fix dma_mapping_error() parameters in the usage examples

2013-10-17 Thread Shuah Khan
Fix the dma_mapping_error() parameter list in the usage examples to add the missing argument to struct device *. Signed-off-by: Shuah Khan shuah...@samsung.com --- Documentation/DMA-API-HOWTO.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

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

2013-10-17 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 Changes in v7: - remove the extra autotranslate check in biomerge.c. ---

[PATCH v8 13/19] swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device

2013-10-17 Thread Stefano Stabellini
Call xen_dma_map_page, xen_dma_unmap_page, xen_dma_sync_single_for_cpu, xen_dma_sync_single_for_device from swiotlb-xen to ensure cpu/device coherency of the pages used for DMA, including the ones belonging to the swiotlb buffer. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com

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

2013-10-17 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 v8 18/19] swiotlb-xen: no need to do execute two bus_to_phys translations in a row

2013-10-17 Thread Stefano Stabellini
xen_unmap_single calls xen_bus_to_phys, then passes dev_addr to is_xen_swiotlb_buffer that calls xen_bus_to_phys again. xen_bus_to_phys is potentially a slow operation that might involve walking a tree. We can avoid calling xen_bus_to_phys twice by removing the is_xen_swiotlb_buffer call and doing

[PATCH v8 17/19] grant-table: call set_phys_to_machine after mapping grant refs

2013-10-17 Thread Stefano Stabellini
When mapping/unmapping grant refs, call set_phys_to_machine to update the P2M with the new mappings for autotranslate guests. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- drivers/xen/grant-table.c | 17 +++-- 1 files changed, 15 insertions(+), 2

[PATCH v8 12/19] xen: introduce xen_dma_map/unmap_page and xen_dma_sync_single_for_cpu/device

2013-10-17 Thread Stefano Stabellini
Introduce xen_dma_map_page, xen_dma_unmap_page, xen_dma_sync_single_for_cpu and xen_dma_sync_single_for_device. They have empty implementations on x86 and ia64 but they call the corresponding platform dma_ops function on arm and arm64. Signed-off-by: Stefano Stabellini

[PATCH v8 14/19] ASoC: Samsung: Rename dma_ops by samsung_dma_ops

2013-10-17 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 v8 15/19] swiotlb: print a warning when the swiotlb is full

2013-10-17 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Changes in v7: - use dev_warn instead of pr_warn. --- 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

[PATCH v8 19/19] swiotlb-xen: static inline xen_phys_to_bus, xen_bus_to_phys, xen_virt_to_bus and range_straddles_page_boundary

2013-10-17 Thread Stefano Stabellini
This functions are small and called frequently. Static inline them. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- drivers/xen/swiotlb-xen.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/xen/swiotlb-xen.c

Re: [PATCH v2 3/9] bitops: Introduce a more generic BITMASK macro

2013-10-17 Thread Joe Perches
On Thu, 2013-10-17 at 09:10 -0700, Tony Luck wrote: On Thu, Oct 17, 2013 at 1:55 AM, Joe Perches j...@perches.com wrote: It's cost free to add the BUILD_BUG_ON and perhaps you underestimate the runtime bug checking effort, This looks OK to me. Gong: This doesn't stop people from using

Re: [PATCH v2 3/4] ARM: EXYNOS: add Exynos Dual Cluster Support

2013-10-17 Thread Nicolas Pitre
On Thu, 17 Oct 2013, Daniel Lezcano wrote: On 10/17/2013 04:32 PM, Dave Martin wrote: On Thu, Oct 17, 2013 at 12:45:29PM +0200, Daniel Lezcano wrote: On 10/14/2013 05:08 PM, Vyacheslav Tyrtov wrote: From: Tarek Dakhran t.dakh...@samsung.com Add EDCS(Exynos Dual Cluster Support)

[tip:x86/intel-mid] mrst: Fixed printk/pr_* related issues

2013-10-17 Thread tip-bot for Kuppuswamy Sathyanarayanan
Commit-ID: 0d73e8722ecc4eb0cbbc2b551cf1704f8f19dd48 Gitweb: http://git.kernel.org/tip/0d73e8722ecc4eb0cbbc2b551cf1704f8f19dd48 Author: Kuppuswamy Sathyanarayanan sathyanarayanan.kuppusw...@linux.intel.com AuthorDate: Tue, 15 Oct 2013 21:11:30 -0700 Committer: H. Peter Anvin

[tip:x86/intel-mid] mrst: Fixed indentation issues

2013-10-17 Thread tip-bot for Kuppuswamy Sathyanarayanan
Commit-ID: 67dab0088863676719cda55dee963a3c7572c66c Gitweb: http://git.kernel.org/tip/67dab0088863676719cda55dee963a3c7572c66c Author: Kuppuswamy Sathyanarayanan sathyanarayanan.kuppusw...@linux.intel.com AuthorDate: Tue, 15 Oct 2013 21:11:31 -0700 Committer: H. Peter Anvin

[tip:x86/intel-mid] mrst: Fixed checkpatch warnings

2013-10-17 Thread tip-bot for Kuppuswamy Sathyanarayanan
Commit-ID: ecaf497694f340ae3c751ea5f93abca5a47600da Gitweb: http://git.kernel.org/tip/ecaf497694f340ae3c751ea5f93abca5a47600da Author: Kuppuswamy Sathyanarayanan sathyanarayanan.kuppusw...@linux.intel.com AuthorDate: Tue, 15 Oct 2013 21:11:32 -0700 Committer: H. Peter Anvin

[tip:x86/intel-mid] intel_mid: Renamed *mrst* to *intel_mid*

2013-10-17 Thread tip-bot for Kuppuswamy Sathyanarayanan
Commit-ID: 46fa9a0195b5ac69d653e88f71992b26f2ab7215 Gitweb: http://git.kernel.org/tip/46fa9a0195b5ac69d653e88f71992b26f2ab7215 Author: Kuppuswamy Sathyanarayanan sathyanarayanan.kuppusw...@linux.intel.com AuthorDate: Tue, 15 Oct 2013 21:11:33 -0700 Committer: H. Peter Anvin

[tip:x86/intel-mid] intel_mid: Refactored sfi_parse_devs() function

2013-10-17 Thread tip-bot for Kuppuswamy Sathyanarayanan
Commit-ID: a1ed6bbed6651e549db3ace20b16491974c6e93d Gitweb: http://git.kernel.org/tip/a1ed6bbed6651e549db3ace20b16491974c6e93d Author: Kuppuswamy Sathyanarayanan sathyanarayanan.kuppusw...@linux.intel.com AuthorDate: Tue, 15 Oct 2013 21:11:35 -0700 Committer: H. Peter Anvin

[tip:x86/intel-mid] x86: intel-mid: add section for sfi device table

2013-10-17 Thread tip-bot for David Cohen
Commit-ID: bedc8013631804c61f873cca4117e7af8236285a Gitweb: http://git.kernel.org/tip/bedc8013631804c61f873cca4117e7af8236285a Author: David Cohen david.a.co...@linux.intel.com AuthorDate: Tue, 15 Oct 2013 21:11:40 -0700 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Wed, 16

[tip:x86/intel-mid] intel_mid: move platform device definitions to their own platform_device.* files

2013-10-17 Thread tip-bot for David Cohen
Commit-ID: 9f04349ad92c27757175aa338934787bab19f251 Gitweb: http://git.kernel.org/tip/9f04349ad92c27757175aa338934787bab19f251 Author: David Cohen david.a.co...@linux.intel.com AuthorDate: Wed, 16 Oct 2013 19:36:59 -0700 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Thu, 17

Re: [PATCH] x86: Run checksumming in parallel accross multiple alu's

2013-10-17 Thread H. Peter Anvin
On 10/17/2013 01:41 AM, Ingo Molnar wrote: To correctly simulate the workload you'd have to: - allocate a buffer larger than your L2 cache. - to measure the effects of the prefetches you'd also have to randomize the individual buffer positions. See how 'perf bench numa' implements a

[tip:x86/intel-mid] intel-mid: sfi: allow struct devs_id.get_platform_data to be NULL

2013-10-17 Thread tip-bot for David Cohen
Commit-ID: d121fa8c225b89b0ea2c126bd9db6fff51949973 Gitweb: http://git.kernel.org/tip/d121fa8c225b89b0ea2c126bd9db6fff51949973 Author: David Cohen david.a.co...@linux.intel.com AuthorDate: Tue, 15 Oct 2013 21:11:39 -0700 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Wed, 16

[tip:x86/intel-mid] intel_mid: Renamed *mrst* to *intel_mid*

2013-10-17 Thread tip-bot for Kuppuswamy Sathyanarayanan
Commit-ID: c588fe6e9ec46483150d6e39ee28c3c840751ba8 Gitweb: http://git.kernel.org/tip/c588fe6e9ec46483150d6e39ee28c3c840751ba8 Author: Kuppuswamy Sathyanarayanan sathyanarayanan.kuppusw...@linux.intel.com AuthorDate: Tue, 15 Oct 2013 21:11:34 -0700 Committer: H. Peter Anvin

Re: [PATCH] kmod: Run usermodehelpers only on cpus allowed for kthreadd

2013-10-17 Thread Christoph Lameter
On Thu, 17 Oct 2013, Andrew Morton wrote: On Thu, 17 Oct 2013 18:07:28 +0200 Frederic Weisbecker fweis...@gmail.com wrote: Couldn't we instead make kthread children (those created with kthread_create()) to inherit kthread initial affinity? Currently kthread's children have

[PATCHv6 2/4] ARM: msm: Add support for APQ8074 Dragonboard

2013-10-17 Thread Rohit Vaswani
This patch adds basic board support for APQ8074 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani rvasw...@codeaurora.org --- arch/arm/boot/dts/Makefile | 3 ++-

[PATCH 0/2 v3] usb: ohci: remove ep93xx bus glue driver

2013-10-17 Thread H Hartley Sweeten
Refresh the ep93xx_defconfig then remove the ep93xx OHCI bus glue driver in favor of the Generic OHCI driver for a platform device. v3: split patch to refresh the ep93xx_defconfig before removing ohci-ep93xx.c in favor of the Generic OHCI driver for a platform device. v2: Use the

[PATCH 1/2 v3] ARM: ep93xx_defconfig: cleanup ep93xx_defconfig

2013-10-17 Thread H Hartley Sweeten
Generate ep93xx_defconfig by doing: make ep93xx_defconfig make savedefconfig mv defconfig arch/arm/configs/ep93xx_defconfig No functional change. This just refreshes the ep93xx_defconfig to make it easier and cleaner when adding new entries. Signed-off-by: H Hartley Sweeten

Re: [PATCH] perf, x86: Optimize intel_pmu_pebs_fixup_ip()

2013-10-17 Thread Linus Torvalds
On Thu, Oct 17, 2013 at 9:30 AM, Peter Zijlstra pet...@infradead.org wrote: So avoid having to call copy_from_user_nmi() for every instruction. Since we already limit the max basic block size, we can easily pre-allocate a piece of memory to copy the entire thing into in one go.

[PATCH 2/2 v3] usb: ohci: remove ep93xx bus glue platform driver

2013-10-17 Thread H Hartley Sweeten
Convert ep93xx to use the OHCI platform driver and remove the ohci-ep93xx bus glue driver. Enable CONFIG_OHCI_HCD_PLATFORM in the ep93xx_defconfig so that USB is still enabled by default on the EP93xx platform. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ryan Mallon

Re: cp --reflink and target file open flags

2013-10-17 Thread Shirish Pargaonkar
I think it would not matter which ioctl is used if the target file is not opened with flag O_RDWR. Perhaps cifs.ko can make the decision to change O_WRONLY to O_RDWR based on the flag and location of the source and destination files. On Thu, Oct 17, 2013 at 5:45 AM, David Disseldorp

[tip:x86/intel-mid] intel_mid: Added custom handler for ipc devices

2013-10-17 Thread tip-bot for Kuppuswamy Sathyanarayanan
Commit-ID: b8af4ddc1bab3dae75cef7a33a0170c5ab435fe2 Gitweb: http://git.kernel.org/tip/b8af4ddc1bab3dae75cef7a33a0170c5ab435fe2 Author: Kuppuswamy Sathyanarayanan sathyanarayanan.kuppusw...@linux.intel.com AuthorDate: Tue, 15 Oct 2013 21:11:37 -0700 Committer: H. Peter Anvin

[tip:x86/intel-mid] intel_mid: Moved SFI related code to sfi.c

2013-10-17 Thread tip-bot for Kuppuswamy Sathyanarayanan
Commit-ID: 76b13ba79b6854700b812a4a7c9298583cad4bc5 Gitweb: http://git.kernel.org/tip/76b13ba79b6854700b812a4a7c9298583cad4bc5 Author: Kuppuswamy Sathyanarayanan sathyanarayanan.kuppusw...@linux.intel.com AuthorDate: Tue, 15 Oct 2013 21:11:38 -0700 Committer: H. Peter Anvin

Re: [PATCHv6 2/4] ARM: msm: Add support for APQ8074 Dragonboard

2013-10-17 Thread Kumar Gala
On Oct 17, 2013, at 1:25 PM, Rohit Vaswani wrote: This patch adds basic board support for APQ8074 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani rvasw...@codeaurora.org ---

[tip:x86/intel-mid] intel_mid: Added custom device_handler support

2013-10-17 Thread tip-bot for Kuppuswamy Sathyanarayanan
Commit-ID: 2f34908ca11015254dd318ec05d602e162b884f9 Gitweb: http://git.kernel.org/tip/2f34908ca11015254dd318ec05d602e162b884f9 Author: Kuppuswamy Sathyanarayanan sathyanarayanan.kuppusw...@linux.intel.com AuthorDate: Tue, 15 Oct 2013 21:11:36 -0700 Committer: H. Peter Anvin

Re: [PATCH] kmod: Run usermodehelpers only on cpus allowed for kthreadd

2013-10-17 Thread Christoph Lameter
On Thu, 17 Oct 2013, Frederic Weisbecker wrote: The invocation is coming from keventd so the affinity seems to be set to a different cpu before we get the thread moved. Looking at alloc_singlethread_workqueue(), it seems to create a kthread by using kthread_create(). So I guess the

Re: [PATCH 0/2] (Was: perf_event_mmap(vma) !vma-vm_mm)

2013-10-17 Thread Oleg Nesterov
On 10/17, Peter Zijlstra wrote: - name = arch_vma_name(vma); + name = (char *)arch_vma_name(vma); Yes, this way we do not need another non-const ptr. OK, please consider another cleanup on top of this change. Just to complete the discussion, do not even bother to

Re: [Kernel-BR] Re: [PATCH] sound: pci: emu10k1: code refactoring and casting removal

2013-10-17 Thread Raphael S Carvalho
2013/10/17 Takashi Iwai ti...@suse.de: Geyslan, you don't have to waste too much of your time (and my time for review) for this kind of so old driver code unless it really fixes the bugs. A clean up is good in general, but it can be sometimes worse than nothing since it also breaks the

Re: [PATCH v2] xhci: fix usb3 streams

2013-10-17 Thread Sarah Sharp
The more I look at this patch, the more I hate it for the failure cases it doesn't cover. What happens if the radix_tree_insert fails in the middle of adding a set of ring segments? We leave those segments that were inserted in the radix tree, which is a problem, since we could allocate those

Re: trace-cmd problem with FC19

2013-10-17 Thread Steven Rostedt
On Thu, 17 Oct 2013 14:08:08 +0200 Arend van Spriel ar...@broadcom.com wrote: Hi Steven, When tracing I get these error messages and no trace data is recorded. I also cloned the trace-cmd repo and tried that with the same result. I think the kernel configuration looks ok, but adding it.

Re: [PATCH] x86: Run checksumming in parallel accross multiple alu's

2013-10-17 Thread Eric Dumazet
On Thu, 2013-10-17 at 11:19 -0700, H. Peter Anvin wrote: Seriously, though, how much does it matter? All the above seems likely to do is to drown the signal by adding noise. I don't think so. If the parallel (threaded) checksumming is faster, which theory says it should and

Corrupted low memory in v3.9+

2013-10-17 Thread Olof Johansson
Hi Peter, When booting a newer kernel on a Chromebox (Samsung SNB system, coreboot firmware, verified boot and not using seabios), I get reports of: [1.727520] Corrupted low memory at 88002a90 (2a90 phys) = 1 [1.734565] Corrupted low memory at 88002a98 (2a98 phys)

Re: [PATCH v2 3/5] slab: restrict the number of objects in a slab

2013-10-17 Thread Christoph Lameter
n Thu, 17 Oct 2013, Joonsoo Kim wrote: To prepare to implement byte sized index for managing the freelist of a slab, we should restrict the number of objects in a slab to be less or equal to 256, since byte only represent 256 different values. Setting the size of object to value equal or more

Re: [PATCH v2 04/15] slab: remove nodeid in struct slab

2013-10-17 Thread Christoph Lameter
On Wed, 16 Oct 2013, Joonsoo Kim wrote: We can get nodeid using address translation, so this field is not useful. Therefore, remove it. Acked-by: Christoph Lameter c...@linux.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH v2 08/15] slab: use __GFP_COMP flag for allocating slab pages

2013-10-17 Thread Christoph Lameter
On Wed, 16 Oct 2013, Joonsoo Kim wrote: If we use 'struct page' of first page as 'struct slab', there is no advantage not to use __GFP_COMP. So use __GFP_COMP flag for all the cases. Yes this is going to make the allocators behave in the same way. We could actually put some of the page

Re: [PATCH v2 11/15] slab: remove SLAB_LIMIT

2013-10-17 Thread Christoph Lameter
On Wed, 16 Oct 2013, Joonsoo Kim wrote: It's useless now, so remove it. Acked-by: Christoph Lameter c...@linux.com -- 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: [PATCH 2/2 v3] usb: ohci: remove ep93xx bus glue platform driver

2013-10-17 Thread Alan Stern
On Thu, 17 Oct 2013, H Hartley Sweeten wrote: Convert ep93xx to use the OHCI platform driver and remove the ohci-ep93xx bus glue driver. Enable CONFIG_OHCI_HCD_PLATFORM in the ep93xx_defconfig so that USB is still enabled by default on the EP93xx platform. Signed-off-by: H Hartley

Re: [bug] get_maintainer.pl incomplete output

2013-10-17 Thread Andrew Morton
On Wed, 16 Oct 2013 20:51:18 -0700 (PDT) David Rientjes rient...@google.com wrote: I haven't looked closely at scripts/get_maintainer.pl, but I recently wrote a patch touching mm/vmpressure.c and it doesn't list the file's author, Anton Vorontsov anton.voront...@linaro.org. Even when I

Re: [PATCH v2 13/15] slab: use struct page for slab management

2013-10-17 Thread Christoph Lameter
On Wed, 16 Oct 2013, Joonsoo Kim wrote: - * see PAGE_MAPPING_ANON below. - */ + union { + struct address_space *mapping; /* If low bit clear, points to + *

Re: [PATCH v2 1/5] slab: factor out calculate nr objects in cache_estimate

2013-10-17 Thread Christoph Lameter
On Thu, 17 Oct 2013, Joonsoo Kim wrote: This logic is not simple to understand so that making separate function helping readability. Additionally, we can use this change in the following patch which implement for freelist to have another sized index in according to nr objects. Acked-by:

Re: [PATCH] isdn: remove deprecated IRQF_DISABLED

2013-10-17 Thread David Miller
From: Michael Opdenacker michael.opdenac...@free-electrons.com Date: Sun, 13 Oct 2013 07:24:29 +0200 This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker

Re: [PATCH v2 00/15] slab: overload struct slab over struct page to reduce memory usage

2013-10-17 Thread Christoph Lameter
On Wed, 16 Oct 2013, Andrew Morton wrote: This issue hasn't been well thought through. Given a random struct page, there isn't any protocol to determine what it actually *is*. It's a plain old variant record, but it lacks the agreed-upon tag field which tells users which variant is currently

Re: [PATCH] irda: update comment mentioning IRQF_DISABLED

2013-10-17 Thread David Miller
From: Michael Opdenacker michael.opdenac...@free-electrons.com Date: Sun, 13 Oct 2013 08:26:31 +0200 This patch removes a comment mentioning IRQF_DISABLED, which is deprecated. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com Applied to net-next, thanks. -- To

Re: [PATCH v2] TTY: hvc_dcc: probe for a JTAG connection before registering

2013-10-17 Thread Rob Herring
On Tue, Sep 24, 2013 at 9:05 PM, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com Enabling the ARM DCC console and using without a JTAG connection will simply hang the system. Since distros like to turn on all options, this is a reoccurring problem to debug.

Re: [PATCH 6/6] percpu: Add preemption checks to __this_cpu ops

2013-10-17 Thread Christoph Lameter
On Wed, 16 Oct 2013, Peter Zijlstra wrote: On Wed, Oct 16, 2013 at 06:25:37PM +0200, Peter Zijlstra wrote: To rename __this_cpu to raw_cpu; it would then need a little manual fixup and generic __this_cpu - raW_cpu map, which can add the preemption check. Something like so perhaps... only

Re: [PATCH] kmod: Run usermodehelpers only on cpus allowed for kthreadd

2013-10-17 Thread Andrew Morton
On Wed, 16 Oct 2013 22:37:52 + Christoph Lameter c...@linux.com wrote: - /* We can run anywhere, unlike our parent keventd(). */ - set_cpus_allowed_ptr(current, cpu_all_mask); + /* We can run anywhere kthreadd can run */ This is a poor comment - it explains what (which was

Re: [bug] get_maintainer.pl incomplete output

2013-10-17 Thread Joe Perches
On Thu, 2013-10-17 at 12:12 -0700, Andrew Morton wrote: On Wed, 16 Oct 2013 20:51:18 -0700 (PDT) David Rientjes rient...@google.com wrote: I haven't looked closely at scripts/get_maintainer.pl, but I recently wrote a patch touching mm/vmpressure.c and it doesn't list the file's

Re: [PATCH v3] perf: disable PERF_RECORD_MMAP2 support

2013-10-17 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 17, 2013 at 07:32:15PM +0200, Stephane Eranian escreveu: For now, we disable the extended MMAP record support (MMAP2). We have identified cases where it would not report the correct mapping information, clone(VM_CLONE) but with separate pids. We will revisit the support once we

Re: [PATCH] media: Add BCM2048 radio driver

2013-10-17 Thread Pali Rohár
Hello, so what do you suggest? Add it to staging for now (or not)? On Tuesday 15 October 2013 17:08:39 Hans Verkuil wrote: Hi Pali, Thanks for the patch, but I am afraid it will need some work to make this acceptable for inclusion into the kernel. The main thing you need to do is to

[PATCH/RFC] m68k/amiga: Fix specifying multiple debug= parameters

2013-10-17 Thread Geert Uytterhoeven
Since commit d6713b4091a99fa2af2fabdcd2f3fb97f32ecf2e (m68k: early parameter support), the user can specify multiple debug consoles using the debug= kernel command line parameter. However, as the struct console object was shared, it would actually register the same console object multiple times,

[PATCH] xhci: Remove segments from radix tree on failed insert.

2013-10-17 Thread Sarah Sharp
If we're expanding a stream ring, we want to make sure we can add those ring segments to the radix tree that maps segments to ring pointers. Try the radix tree insert after the new ring segments have been allocated (the last segment in the new ring chunk will point to the first newly allocated

Re: [PATCH net V2 1/2] virtio-net: don't respond to cpu hotplug notifier if we're not ready

2013-10-17 Thread David Miller
From: Jason Wang jasow...@redhat.com Date: Tue, 15 Oct 2013 11:18:58 +0800 We're trying to re-configure the affinity unconditionally in cpu hotplug callback. This may lead the issue during resuming from s3/s4 since - virt queues haven't been allocated at that time. - it's unnecessary since

Re: [PATCH -next] netdev: inet_timewait_sock.h missing semi-colon when KMEMCHECK is enabled

2013-10-17 Thread David Miller
From: Randy Dunlap rdun...@infradead.org Date: Mon, 14 Oct 2013 12:36:32 -0700 From: Randy Dunlap rdun...@infradead.org Fix (a few hundred) build errors due to missing semi-colon when KMEMCHECK is enabled: include/net/inet_timewait_sock.h:139:2: error: expected ',', ';' or '}' before

Re: kexec cannot find text map area if kaslr is enabled

2013-10-17 Thread Eric W. Biederman
HATAYAMA Daisuke d.hatay...@jp.fujitsu.com writes: Hello, I tried to use x86/kaslr branch to check if how it works with kdump framework. As far as I can tell x86/kaslr is a pretty silly idea. There don't seem to be enough bits to make it hard to brute force, much less hard to guess. And it

Re: [PATCH v2 0/4] Exynos 5410 Dual cluster support

2013-10-17 Thread Kevin Hilman
Aliaksei Katovich aliaksei.katov...@gmail.com writes: hi Kevin; Vyacheslav Tyrtov v.tyr...@samsung.com writes: The series of patches represent support of Exynos 5410 SoC The Exynos 5410 is the first Samsung SoC based on bigLITTLE architecture. Patches allow all 8 CPU cores (4 x

[PATCH v5 13/17] clk: at91: add PMC usb clock

2013-10-17 Thread Boris BREZILLON
This patch adds new at91 usb clock implementation using common clk framework. This clock is used to clock usb ports (ohci, ehci and udc). Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/mach-at91/Kconfig | 11 ++

Re: [PATCH net V2 2/2] virtio-net: refill only when device is up during setting queues

2013-10-17 Thread David Miller
From: Jason Wang jasow...@redhat.com Date: Tue, 15 Oct 2013 11:18:59 +0800 We used to schedule the refill work unconditionally after changing the number of queues. This may lead an issue if the device is not up. Since we only try to cancel the work in ndo_stop(), this may cause the refill

Re: [PATCH] X.25: Fix address field length calculation

2013-10-17 Thread David Miller
From: Kelleter, Günther gkelle...@datus.com Date: Tue, 15 Oct 2013 14:29:06 + Addresses are BCD encoded, not ASCII. x25_addr_ntoa got it right. Signed-off-by: Guenther Kelleter gkelle...@datus.com --- Wrong length calculation leads to rejection of CALL ACCEPT packets. This patch

Re: pull request: wireless 2013-10-15

2013-10-17 Thread David Miller
From: John W. Linville linvi...@tuxdriver.com Date: Tue, 15 Oct 2013 13:56:12 -0400 Please pull this batch of fixes intended for the 3.12 stream! For the mac80211 bits, Johannes says: Jouni fixes a remain-on-channel vs. scan bug, and Felix fixes client TX probing on VLANs. And also:

Re: trace-cmd problem with FC19

2013-10-17 Thread Arend van Spriel
On 10/17/13 20:41, Steven Rostedt wrote: On Thu, 17 Oct 2013 14:08:08 +0200 Arend van Sprielar...@broadcom.com wrote: Hi Steven, When tracing I get these error messages and no trace data is recorded. I also cloned the trace-cmd repo and tried that with the same result. I think the kernel

Re: Corrupted low memory in v3.9+

2013-10-17 Thread H. Peter Anvin
On 10/17/2013 11:57 AM, Olof Johansson wrote: And the low memory checker never even ran before, since it had nothing to check. Earlier the lower reserved region would be included in the e820-reserved area if I read the code correctly, and now it's just marked reserved by the memblock code.

Re: [PATCH] net: qmi_wwan: Olivetti Olicard 200 support

2013-10-17 Thread David Miller
From: Enrico Mioso mrkiko...@gmail.com Date: Tue, 15 Oct 2013 15:06:48 +0200 This is a QMI device, manufactured by TCT Mobile Phones. A companion patch blacklisting this device's QMI interface in the option.c driver has been sent. Signed-off-by: Enrico Mioso mrkiko...@gmail.com

Re: [PATCH v2 0/3] perf,x86: add Intel RAPL PMU support

2013-10-17 Thread Stephane Eranian
Peter, On Thu, Oct 17, 2013 at 11:07 AM, Peter Zijlstra pet...@infradead.org wrote: On Thu, Oct 17, 2013 at 10:14:20AM +0200, Ingo Molnar wrote: I.e. you would be encoding the counter unit as the suffix, might as well call it power/cores.joules and use the dot as the separator for the

Re: [PATCH 1/2] ARM: dts: omap5-uevm: remove always_on, boot_on from smps10_out1

2013-10-17 Thread Benoit Cousson
Hi Kishon, On 16/10/2013 15:27, Nishanth Menon wrote: On 10/16/2013 08:17 AM, Kishon Vijay Abraham I wrote: Benoit, On Thursday 10 October 2013 04:19 PM, Kishon Vijay Abraham I wrote: smps10 should be enabled only in the case of host mode. So stop doing always_on, boot_on from smps10_out1.

Re: [PATCH v2 2/2] ARM: dts: omap5: Add dr_mode for dwc3

2013-10-17 Thread Benoit Cousson
Hi Kishon, On 16/10/2013 15:17, Kishon Vijay Abraham I wrote: Benoit, On Tuesday 15 October 2013 11:19 AM, Kishon Vijay Abraham I wrote: From: George Cherian george.cher...@ti.com Added dr_mode property in dwc3 and set its default mode to device. Currently dwc3 driver doesn't have support

Re: [PATCH v2] TTY: hvc_dcc: probe for a JTAG connection before registering

2013-10-17 Thread Greg Kroah-Hartman
On Thu, Oct 17, 2013 at 02:16:37PM -0500, Rob Herring wrote: On Tue, Sep 24, 2013 at 9:05 PM, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com Enabling the ARM DCC console and using without a JTAG connection will simply hang the system. Since distros like

Re: trace-cmd problem with FC19

2013-10-17 Thread Steven Rostedt
On Thu, 17 Oct 2013 22:07:15 +0200 Arend van Spriel ar...@broadcom.com wrote: Does recording other traces work? Or is it only spicific to this module? It seems a generic issue: $ sudo trace-cmd record -e ext4:* ls /sys/kernel/debug/tracing/events/ext4/*/filter systemd-private-6pVB5L

Re: [PATCH] readahead: fix sequential read cache miss detection

2013-10-17 Thread Andrew Morton
On Thu, 17 Oct 2013 20:09:12 +0200 Damien Ramonda damien.ramo...@intel.com wrote: The kernel's readahead algorithm sometimes interprets random read accesses as sequential and triggers unnecessary data prefecthing from storage device (impacting random read average latency). In order to

Re: [PATCH 1/2 v3] ARM: ep93xx_defconfig: cleanup ep93xx_defconfig

2013-10-17 Thread Ryan Mallon
On 18/10/13 05:25, H Hartley Sweeten wrote: Generate ep93xx_defconfig by doing: make ep93xx_defconfig make savedefconfig mv defconfig arch/arm/configs/ep93xx_defconfig No functional change. This just refreshes the ep93xx_defconfig to make it easier and cleaner when adding new entries.

Re: [PATCH] Bluetooth: Add hci_h4p driver

2013-10-17 Thread Pali Rohár
On Friday 20 September 2013 21:01:50 Pali Rohár wrote: From: Ville Tervo ville.te...@nokia.com This driver adding support for Nokia N900 bluetooth hardware Signed-off-by: Ville Tervo ville.te...@nokia.com Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/bluetooth/Kconfig

[PATCH 0/2 v4] usb: ohci: remove ep93xx bus glue platform driver

2013-10-17 Thread H Hartley Sweeten
Refresh the ep93xx_defconfig then remove the ep93xx OHCI bus glue driver in favor of the Generic OHCI driver for a platform device. v4: propagate errno from clk_enable() in ep93xx_ohci_power_on(). v3: split patch to refresh the ep93xx_defconfig before removing ohci-ep93xx.c in favor of the

[PATCH 2/2 v4] usb: ohci: remove ep93xx bus glue platform driver

2013-10-17 Thread H Hartley Sweeten
Convert ep93xx to use the OHCI platform driver and remove the ohci-ep93xx bus glue driver. Enable CONFIG_OHCI_HCD_PLATFORM in the ep93xx_defconfig so that USB is still enabled by default on the EP93xx platform. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Acked-by: Alan Stern

Re: [PATCH] usb: usb_phy_gen: refine conditional declaration of usb_nop_xceiv_register

2013-10-17 Thread Guenter Roeck
On Thu, Oct 17, 2013 at 01:25:48PM -0400, Josh Boyer wrote: On Wed, Oct 16, 2013 at 07:18:41PM -0700, Guenter Roeck wrote: Commit 3fa4d734 (usb: phy: rename nop_usb_xceiv = usb_phy_gen_xceiv) changed the conditional around the declaration of usb_nop_xceiv_register from #if

Re: [PATCH v2] TTY: hvc_dcc: probe for a JTAG connection before registering

2013-10-17 Thread Rob Herring
On 10/17/2013 03:20 PM, Greg Kroah-Hartman wrote: On Thu, Oct 17, 2013 at 02:16:37PM -0500, Rob Herring wrote: On Tue, Sep 24, 2013 at 9:05 PM, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com Enabling the ARM DCC console and using without a JTAG connection

Re: [Resend PATCH 5/5] IA64/PCI/ACPI: Rework PCI root bridge ACPI resource conversion

2013-10-17 Thread Bjorn Helgaas
[+cc Mike] On Thu, Oct 17, 2013 at 12:09 AM, Lan Tianyu tianyu@intel.com wrote: On 2013年10月17日 07:55, Bjorn Helgaas wrote: On Fri, Oct 11, 2013 at 08:19:01PM +0800, tianyu@intel.com wrote: From: Lan Tianyu tianyu@intel.com Using ACPI resource functions to convert ACPI resource to

[PATCH 1/2 v4] ARM: ep93xx_defconfig: cleanup ep93xx_defconfig

2013-10-17 Thread H Hartley Sweeten
Generate ep93xx_defconfig by doing: make ep93xx_defconfig make savedefconfig mv defconfig arch/arm/configs/ep93xx_defconfig No function change. This just refreshes the ep93xx_defconfig to make it easier and cleaner when adding new entries. Signed-off-by: H Hartley Sweeten

Re: [PATCHv6] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-10-17 Thread Rafael J. Wysocki
On Thursday, October 17, 2013 10:48:46 AM Zoran Markovic wrote: From: Benoit Goby ben...@android.com Rather than hard-lock the kernel, dump the suspend/resume thread stack and panic() to capture a message in pstore when a driver takes too long to suspend/resume. Default suspend/resume

Re: Corrupted low memory in v3.9+

2013-10-17 Thread Olof Johansson
On Thu, Oct 17, 2013 at 12:39 PM, H. Peter Anvin h...@linux.intel.com wrote: On 10/17/2013 11:57 AM, Olof Johansson wrote: And the low memory checker never even ran before, since it had nothing to check. Earlier the lower reserved region would be included in the e820-reserved area if I read

3.12-rcX - NFS regression - kswapd0 / kswapd1 stays using 100% CPU?

2013-10-17 Thread Helge Deller
I'm seeing a regression with current kernel git head when using NFS-mounts. Architecture in my case is parisc, although I don't think that this is relevant. At least kernel 3.10 (and I think 3.11) didn't showed that problem. The symtom is, that top shows high usage of either kswapd0 or kswapd1.

Re: trace-cmd problem with FC19

2013-10-17 Thread Bob Copeland
[sorry, resent for the archives, I failed email] On Thu, Oct 17, 2013 at 4:20 PM, Steven Rostedt rost...@goodmis.org wrote: On Thu, 17 Oct 2013 22:07:15 +0200 Arend van Spriel ar...@broadcom.com wrote: Does recording other traces work? Or is it only spicific to this module? It seems a

Re: [PATCHv6 2/4] ARM: msm: Add support for APQ8074 Dragonboard

2013-10-17 Thread David Brown
On Thu, Oct 17, 2013 at 11:25:10AM -0700, Rohit Vaswani wrote: This patch adds basic board support for APQ8074 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani rvasw...@codeaurora.org --- Do you mind

Re: trace-cmd problem with FC19

2013-10-17 Thread Steven Rostedt
On Thu, 17 Oct 2013 16:43:08 -0400 Bob Copeland m...@bobcopeland.com wrote: [sorry, resent for the archives, I failed email] On Thu, Oct 17, 2013 at 4:20 PM, Steven Rostedt rost...@goodmis.org wrote: On Thu, 17 Oct 2013 22:07:15 +0200 Arend van Spriel ar...@broadcom.com wrote: Does

Re: [PATCH 07/12] mm, thp, tmpfs: handle huge page in shmem_undo_range for truncate

2013-10-17 Thread Ning Qu
Best wishes, -- Ning Qu (曲宁) | Software Engineer | qun...@google.com | +1-408-418-6066 On Wed, Oct 16, 2013 at 5:09 AM, Kirill A. Shutemov kirill.shute...@linux.intel.com wrote: Ning Qu wrote: Again. Here and below ifdef is redundant: PageTransHugeCache() is zero compile-time and thp case

Re: [PATCH] LSM: ModPin LSM for module loading restrictions

2013-10-17 Thread Kees Cook
On Thu, Oct 17, 2013 at 4:30 AM, Jarkko Sakkinen jarkko.sakki...@linux.intel.com wrote: On Thu, Oct 17, 2013 at 07:02:17PM +1100, James Morris wrote: This seems like a regression in terms of separating mechanism and policy. We have several access control systems available (SELinux, at least)

Re: [PATCH v4 1/3] clk: samsung: Add clock driver for s5pc110/s5pv210

2013-10-17 Thread Rafael J. Wysocki
On Saturday, September 21, 2013 07:42:20 PM Mateusz Krawczuk wrote: This patch adds new, Common Clock Framework-based clock driver for Samsung S5PV210 SoCs. The driver is just added, without enabling it yet. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com Signed-off-by:

Re: AMD Bobcat cpufreq

2013-10-17 Thread Joonas Saarinen
On Thu, 22 Aug 2013 13:17:53 +0200 Borislav Petkov wrote: On Tue, Aug 20, 2013 at 10:58:07PM +0300, Joonas Saarinen wrote: Hi guys, The turbo core feature on AMD Bobcat platform seems not to be working. I have a netbook with C-60 CPU which never cranks the frequency over 1000MHz (it could

Re: 3.12-rcX - NFS regression - kswapd0 / kswapd1 stays using 100% CPU?

2013-10-17 Thread Myklebust, Trond
On Thu, 2013-10-17 at 22:42 +0200, Helge Deller wrote: I'm seeing a regression with current kernel git head when using NFS-mounts. Architecture in my case is parisc, although I don't think that this is relevant. At least kernel 3.10 (and I think 3.11) didn't showed that problem. The symtom

[PATCH 05/10] tty: xuartps: support 64 byte FIFO size

2013-10-17 Thread Soren Brinkmann
From: Suneel sune...@xilinx.com Changes to use the 64 byte FIFO depth and fix the issue by clearing the txempty interrupt in isr status for tx after filling in data in start_tx function Signed-off-by: Suneel Garapati sune...@xilinx.com Signed-off-by: Soren Brinkmann soren.brinkm...@xilinx.com

[PATCH 00/10] tty: xuartps: Update

2013-10-17 Thread Soren Brinkmann
This is a series of patches to update the xuartps driver. Most of these are contributions to our vendor tree that I ported on top of the current mainline tree. The highlights are: - support magic-sysrq and kgdb by Vlad - a fix for a deadlock condition by Lars - support for suspend/resume -

[PATCH 06/10] tty: xuartps: Force enable the UART in xuartps_console_write

2013-10-17 Thread Soren Brinkmann
From: Lars-Peter Clausen l...@metafoo.de It is possible that under certain circumstances xuartps_console_write is entered while the UART disabled. When this happens the code will busy loop in xuartps_console_putchar, since the character is never written and the TXEMPTY flag is never set. The

[PATCH 09/10] tty: xuartps: Implement suspend/resume callbacks

2013-10-17 Thread Soren Brinkmann
Implement suspend and resume callbacks in order to support system suspend/hibernation. Signed-off-by: Soren Brinkmann soren.brinkm...@xilinx.com --- drivers/tty/serial/xilinx_uartps.c | 114 + 1 file changed, 114 insertions(+) diff --git

[PATCH 07/10] tty: xuartps: Updating set_baud_rate()

2013-10-17 Thread Soren Brinkmann
The original algorithm to find the best baud rate dividers does not necessarily find the best set of dividers. And in the worst case may even write illegal values to the hardware. The new function should make better use of the hardware capabilities and be able to provide valid settings for a wider

<    7   8   9   10   11   12   13   14   >