Re: Is iommu_num_pages() broken ?

2012-08-05 Thread Andreas Schwab
Benjamin Herrenschmidt b...@kernel.crashing.org writes: static inline unsigned long iommu_num_pages(unsigned long addr, unsigned long len, unsigned long io_page_size) { unsigned long size = (addr

Re: Is iommu_num_pages() broken ?

2012-08-05 Thread Benjamin Herrenschmidt
On Sun, 2012-08-05 at 08:39 +0200, Andreas Schwab wrote: addr (io_page_size - 1) computes the offset into the page pointed to by addr. Looks right to me. addr ~(io_page_size - 1) would round addr down to the start of the page. Ah that's right, for some reason I'm so used to seeing ~

Re: i915 regression on 3.6-rc1: lid blanks screen

2012-08-05 Thread Takashi Iwai
At Sat, 4 Aug 2012 10:01:13 -0700 (PDT), Hugh Dickins wrote: Sorry to report that with 3.6-rc1, closing and opening the lid on this ThinkPad T420s leaves the screen blank, and I have to reboot. I understand there's also an nVidia graphics device in here, but I have that configured out,

I don't know why yet but I am sure it'll be perfect

2012-08-05 Thread Carolina Ryans
Hello To start with I'll tell how I managed to find you. I was exploring sites and stumble across ur photos and I thought that there is nothing wrong if I will suggest him to get to know each other, right?) So my name is Carolina and I hope you will promote my idea and tell me your name.)

[PATCH V3] regulator: tps6586x: add support for SYS rail

2012-08-05 Thread Laxman Dewangan
Device have SYS rail which is always ON. It is system power bus. LDO5 and LDO_RTC get powered through this rail internally. Add support for this rail and make the LDO5/LDO_RTC input supply to sys. Update document accordingly. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com Acked-by: Stephen

Re: mellanox mlx4_core and SR-IOV

2012-08-05 Thread Lukas Hejtmanek
Hi, On Fri, Aug 03, 2012 at 06:49:59AM -0700, Konrad Wilk wrote: This looks like you are using PV PCI passthrough? If so, did you remember to use 'iommu=soft' to enable the Xen-SWIOTLB in your guest? And are you booting with more than 4GB? Or is less than 3GB (so that you have a nice gap in

Re: Huge performance degradation for UDP between 2.4.17 and 2.6

2012-08-05 Thread LEROY christophe
Le 02/08/2012 16:13, Eric Dumazet a écrit : On Thu, 2012-08-02 at 14:27 +0200, leroy christophe wrote: Hi I'm having a big issue with UDP. Using a powerpc board (MPC860). With our board running kernel 2.4.17, I'm able to send 16 voice packets (UDP, 96 bytes per packet) in 11 seconds. With

Re: UBI fastmap updates

2012-08-05 Thread Shmulik Ladkani
Hi, On Thu, 2 Aug 2012 19:45:38 +0200 Richard Weinberger rich...@nod.at wrote: Okay, then let's explicitly reserve a few PEBs for fastmap. This should be very easy task. Need to consider what's expected when migrating from a former non-FM UBI system to an FM enabled system, in the case where

Re: Huge performance degradation for UDP between 2.4.17 and 2.6

2012-08-05 Thread Eric Dumazet
On Sun, 2012-08-05 at 10:16 +0200, LEROY christophe wrote: Le 02/08/2012 16:13, Eric Dumazet a écrit : On Thu, 2012-08-02 at 14:27 +0200, leroy christophe wrote: Hi I'm having a big issue with UDP. Using a powerpc board (MPC860). With our board running kernel 2.4.17, I'm able to send

[PATCH 2/4] fs: Make core dump functionality optional

2012-08-05 Thread eshink
From: Alex esh...@gmail.com Adds an expert Kconfig option, CONFIG_COREDUMP, which allows disabling of core dump. This saves approximately 2.6k in the compiled kernel, and complements CONFIG_ELF_CORE, which now depends on it. CONFIG_COREDUMP also disables coredump-related sysctls, except for

[PATCH 4/4] fs: Update coredump-related headers

2012-08-05 Thread eshink
From: Alex Kelly esh...@gmail.com This patch creates a new header file, fs/coredump.h, which contains functions only used by the new coredump.c. It also moves do_coredump to the /include/coredump.h header file, for consistency. Signed-off-by: Alex Kelly alex.page.ke...@gmail.com Reviewed-by:

[PATCH 3/4] fs: Clean up some artifacts in coredump.c

2012-08-05 Thread eshink
From: Alex Kelly esh...@gmail.com Specifically, some whitespace got carried over from the move that shouldn't have, and there were some comment style issues in the original code that are now fixed Signed-off-by: Alex Kelly alex.page.ke...@gmail.com Reviewed-by: Josh Triplett

[PATCH 2/2] block: move down direct IO plugging

2012-08-05 Thread Fengguang Wu
Move unplugging for direct I/O from around -direct_IO() down to do_blockdev_direct_IO(). This implicitly adds plugging for direct writes. CC: Li Shaohua s...@fusionio.com Acked-by: Jeff Moyer jmo...@redhat.com Signed-off-by: Wu Fengguang fengguang...@intel.com --- fs/direct-io.c |5 +

[PATCH 0/2] [RESEND] Remove plugging at buffered write time

2012-08-05 Thread Fengguang Wu
Hi all, It seems this patch was silently forgotten, but the review comments have all been addressed: the patch has been split into two pieces and tests show no performance regressions (nor noticeable gains..). Thanks to Damien for reminding me of the patch! Thanks, Fengguang -- To unsubscribe

[PATCH 1/2] block: remove plugging at buffered write time

2012-08-05 Thread Fengguang Wu
Buffered write(2) is not directly tied to IO, so it's not suitable to handle plug in generic_file_aio_write(). Note that plugging for O_SYNC writes is also removed. The user may pass arbitrary @size arguments, which may be much larger than the preferable I/O size, or may cross extent/device

Re: [ 33/73] x86, microcode: Sanitize per-cpu microcode reloading interface

2012-08-05 Thread Borislav Petkov
On Sat, Aug 04, 2012 at 06:23:41PM +0100, Ben Hutchings wrote: [ … ] Thanks everyone for working this out. If you combine multiple mainline commits like this, the new commit message should refer to all of them. I've fixed that up this time. Thanks. Ben, the backport is also

Re: [RFC PATCH 2/3] ACPIHP: ACPI system device hotplug slot enumerator

2012-08-05 Thread Jiang Liu
On 2012-8-5 4:14, Yinghai Lu wrote: On Sat, Jul 28, 2012 at 4:42 AM, Jiang Liu liu...@gmail.com wrote: The first is an ACPI hotplug slot enumerator, which enumerates ACPI hotplug slots on load and provides callbacks to manage those hotplug slots. An ACPI hotplug slot is an abstraction of

[PATCH 3/6] arch/powerpc/kvm/e500_tlb.c: fix error return code

2012-08-05 Thread Julia Lawall
From: Julia Lawall ju...@diku.dk Convert a 0 error return code to a negative one, as returned elsewhere in the function. A new label is also added to avoid freeing things that are known to not yet be allocated. A simplified version of the semantic match that finds the first problem is as

[PATCH 6/6] drivers/atm/iphase.c: fix error return code

2012-08-05 Thread Julia Lawall
From: Julia Lawall ju...@diku.dk Convert a 0 error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier ret; expression e,e1,e2,e3,e4,x; @@ ( if

[PATCH 0/6] fix error return code

2012-08-05 Thread Julia Lawall
These patches fix cases where the return code appears to be unintentially 0. The complete semantic match that finds the problem is as follows: (http://coccinelle.lip6.fr/) // smpl @r@ identifier f; expression ret,e; constant C; @@ f(...) { +... ( return -C; | ret = -C ... when != ret = e return

[PATCH 2/6] drivers/cpufreq/pcc-cpufreq.c: fix error return code

2012-08-05 Thread Julia Lawall
From: Julia Lawall ju...@diku.dk Convert a 0 error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier ret; expression e,e1,e2,e3,e4,x; @@ ( if

[PATCH 4/6] drivers/gpio/gpio-langwell.c: fix error return code

2012-08-05 Thread Julia Lawall
From: Julia Lawall ju...@diku.dk Convert a 0 error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier ret; expression e,e1,e2,e3,e4,x; @@ ( if

[PATCH 5/6] drivers/char/tlclk.c: fix error return code

2012-08-05 Thread Julia Lawall
From: Julia Lawall ju...@diku.dk Convert a 0 error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier ret; expression e,e1,e2,e3,e4,x; @@ ( if

[PATCH 1/6] drivers/edac/i7core_edac.c: fix error return code

2012-08-05 Thread Julia Lawall
From: Julia Lawall ju...@diku.dk Convert a 0 error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier ret; expression e,e1,e2,e3,e4,x; @@ ( if

Re: [PATCH] gpio: samsung: Fix off-by-one bug in gpio addresses

2012-08-05 Thread Linus Walleij
On Fri, Jul 20, 2012 at 10:58 PM, Sean Paul seanp...@chromium.org wrote: Move gpc4 to the end of the automatically processed gpio controllers so we don't taint the automatic offset calculation. This bug caused all controllers coming after gpc4 to map to the incorrect address. The result is

Re: [PATCH] gpio-ich: Share ownership of GPIO groups

2012-08-05 Thread Linus Walleij
On Mon, Jul 23, 2012 at 5:34 PM, Jean Delvare kh...@linux-fr.org wrote: The ICH chips have their GPIO pins organized in 2 or 3 independent groups of 32 GPIO pins. It can happen that the ACPI BIOS wants to make use of pins in one group, preventing the OS to access these. This does not prevent

Re: DT GPIO numbering?

2012-08-05 Thread Linus Walleij
On Wed, Aug 1, 2012 at 5:22 PM, Johannes Stezenbach j...@sig21.net wrote: I'm currently learning how Linux devicetree support works, here is one question I couldn't find an answer for. I understand that within the devicetree GPIOs are referenced by phandle, thus the numbers are irrelevant.

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-05 Thread Stefan Priebe
Am 01.08.2012 11:53, schrieb Avi Kivity: On 08/01/2012 12:42 PM, Stefan Priebe - Profihost AG wrote: Am 01.08.2012 11:33, schrieb Avi Kivity: So here are 3 backtraces from booting the rescue system: http://pastebin.com/raw.php?i=xCy2pEcP To me they all look the same. They are. What version

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-05 Thread Avi Kivity
On 08/05/2012 01:08 PM, Stefan Priebe wrote: Am 01.08.2012 11:53, schrieb Avi Kivity: On 08/01/2012 12:42 PM, Stefan Priebe - Profihost AG wrote: Am 01.08.2012 11:33, schrieb Avi Kivity: So here are 3 backtraces from booting the rescue system: http://pastebin.com/raw.php?i=xCy2pEcP To me

Re: [GIT PULL 00/18] perf/core fixes and improvements

2012-08-05 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@infradead.org wrote: Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 194f8dcbe9629d8e9346cf96345a9c0bbf0e67ae: uprobes: __replace_page() needs munlock_vma_page() (2012-07-30 11:27:25 +0200) are available in

Re: [PATCH v2] gpio: Add Avionic Design N-bit GPIO expander support

2012-08-05 Thread Linus Walleij
On Mon, Jul 30, 2012 at 9:47 AM, Thierry Reding thierry.red...@avionic-design.de wrote: On Sun, Jul 29, 2012 at 07:13:57PM +0200, Linus Walleij wrote: On Mon, Jul 23, 2012 at 1:59 PM, Thierry Reding thierry.red...@avionic-design.de wrote: +- interrupt-controller: Marks the device as an

[PATCHv3 1/4] fs: Move core dump functionality into its own file

2012-08-05 Thread Alex Kelly
This prepares for making core dump functionality optional. The variable suid_dumpable and associated functions are left in fs/exec.c because they're used elsewhere, such as in ptrace. Signed-off-by: Alex Kelly alex.page.ke...@gmail.com Reviewed-by: Josh Triplett j...@joshtriplett.org --- v2:

[PATCHv3 4/4] fs: Update coredump-related headers

2012-08-05 Thread Alex Kelly
This patch creates a new header file, fs/coredump.h, which contains functions only used by the new coredump.c. It also moves do_coredump to the include/linux/coredump.h header file, for consistency. Signed-off-by: Alex Kelly alex.page.ke...@gmail.com Reviewed-by: Josh Triplett

[PATCHv3 2/4] fs: Make core dump functionality optional

2012-08-05 Thread Alex Kelly
Adds an expert Kconfig option, CONFIG_COREDUMP, which allows disabling of core dump. This saves approximately 2.6k in the compiled kernel, and complements CONFIG_ELF_CORE, which now depends on it. CONFIG_COREDUMP also disables coredump-related sysctls, except for suid_dumpable and related

[PATCHv3 3/4] fs: Clean up some artifacts in coredump.c

2012-08-05 Thread Alex Kelly
Specifically, some whitespace got carried over from the move that shouldn't have, and there were some comment style issues in the original code that are now fixed Signed-off-by: Alex Kelly alex.page.ke...@gmail.com Reviewed-by: Josh Triplett j...@joshtriplett.org --- fs/coredump.c | 8

[RFC/PATCH 1/2] block: Expose kblock_schedule_delayed_work()

2012-08-05 Thread Tatyana Brokhman
This function is exported in blk-core.c to be used in other modules but it's definition in h file is missing. Signed-off-by: Tatyana Brokhman tlin...@codeaurora.org --- include/linux/blkdev.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/linux/blkdev.h

[RFC/PATCH 2/2] block: Adding ROW scheduling algorithm

2012-08-05 Thread Tatyana Brokhman
This patch adds the implementation of a new scheduling algorithm - ROW. The policy of this algorithm is to prioritize READ requests over WRITE as much as possible without starving the WRITE requests. Signed-off-by: Tatyana Brokhman tlin...@codeaurora.org --- Documentation/block/row-iosched.txt |

Re: [PATCH v2 0/2] I2C: SIS964: Bus driver

2012-08-05 Thread Jean Delvare
Salut Amaury, On Sat, 4 Aug 2012 00:38:29 +, Amaury Decrême wrote: There's nothing confusing, drivers supporting several devices are legion. If the devices are really almost compatible, reusing an existing driver is the way to go. With that in mind, here is an alpha preview of what

new section mismatch: uncore_types_exit() refers to .init.text:uncore_type_exit()

2012-08-05 Thread Stefan Richter
Obviously added by 14371cce03c2fc393997e17f979e76674b7f392a: WARNING: vmlinux.o(.text+0x13831): Section mismatch in reference from the function uncore_types_exit() to the function .init.text:uncore_type_exit() The function uncore_types_exit() references the function __init uncore_type_exit().

sound: BUG: can't load gdm greeter on battery with Linux 3.5

2012-08-05 Thread Vincent Blut
Hi, Despite that the subject might suggest that this is a bug in the graphic stack, it appears that commit [b4a91cf0] makes the GDM greeter not loadable, however GDM has been correctly loaded: # service gdm3 status [ ok ] gdm3 is running. This issue only affects Linux 3.5 when I boot on

[PATCH] ARM: dma-mapping: fix incorrect freeing of atomic allocations

2012-08-05 Thread Aaro Koskinen
Commit e9da6e9905e639b0f842a244bc770b48ad0523e9 (ARM: dma-mapping: remove custom consistent dma region) changed the way atomic allocations are handled. However, arm_dma_free() was not modified accordingly, and as a result freeing of atomic allocations does not work correctly when CMA is disabled.

Re: sound: BUG: can't load gdm greeter on battery with Linux 3.5

2012-08-05 Thread Takashi Iwai
At Sun, 05 Aug 2012 14:36:19 +0200, Vincent Blut wrote: Hi, Despite that the subject might suggest that this is a bug in the graphic stack, it appears that commit [b4a91cf0] makes the GDM greeter not loadable, however GDM has been correctly loaded: # service gdm3 status [ ok ] gdm3 is

!!Re: sound: BUG: can't load gdm greeter on battery with Linux 3.5

2012-08-05 Thread Vincent Blut
Le 05/08/2012 14:57, Takashi Iwai a écrit : At Sun, 05 Aug 2012 14:36:19 +0200, Vincent Blut wrote: Hi, Despite that the subject might suggest that this is a bug in the graphic stack, it appears that commit [b4a91cf0] makes the GDM greeter not loadable, however GDM has been correctly

[RFC/PATCH] mmc: core: Add support for idle time BKOPs

2012-08-05 Thread Maya Erez
When the mmcqd thread is idle, a delayed work is created to check the need for BKOPs. The time to start the delayed work is calculated based on the host controller suspend timeout, in case it was set. If not, a default time is used. If BKOPs is required in level 1, which is non-blocking, there

Re: [PATCH] ARM: Don't enable GENERIC_LOCKBREAK with ticket spinlocks

2012-08-05 Thread Will Deacon
On Fri, Aug 03, 2012 at 11:42:42PM +0100, Stephen Boyd wrote: Now that ARM has implemented its spinlocks with tickets we don't need to use the generic lockbreak algorithm. Remove the Kconfig from ARM so that we use the arch_spin_is_contended() definition from the asm header. This also saves a

Re: [PATCH 01/22] ARM: add mechanism for late code patching

2012-08-05 Thread Cyril Chemparathy
Hi Nicolas, On 8/4/2012 1:38 AM, Nicolas Pitre wrote: On Tue, 31 Jul 2012, Cyril Chemparathy wrote: The original phys_to_virt/virt_to_phys patching implementation relied on early patching prior to MMU initialization. On PAE systems running out of 4G address space, this would have entailed an

Re: [PATCH 02/22] ARM: use late patch framework for phys-virt patching

2012-08-05 Thread Cyril Chemparathy
Hi Nicolas, On 8/4/2012 2:15 AM, Nicolas Pitre wrote: On Tue, 31 Jul 2012, Cyril Chemparathy wrote: This patch replaces the original physical offset patching implementation with one that uses the newly added patching framework. In the process, we now unconditionally initialize the

Re: [PATCH 03/22] ARM: LPAE: use phys_addr_t on virt -- phys conversion

2012-08-05 Thread Cyril Chemparathy
On 8/4/2012 2:24 AM, Nicolas Pitre wrote: On Tue, 31 Jul 2012, Cyril Chemparathy wrote: This patch fixes up the types used when converting back and forth between physical and virtual addresses. Signed-off-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Cyril Chemparathy cy...@ti.com Did

Re: [PATCH 04/22] ARM: LPAE: support 64-bit virt/phys patching

2012-08-05 Thread Cyril Chemparathy
Hi Nicolas, On 8/4/2012 2:49 AM, Nicolas Pitre wrote: On Tue, 31 Jul 2012, Cyril Chemparathy wrote: This patch adds support for 64-bit physical addresses in virt_to_phys patching. This does not do real 64-bit add/sub, but instead patches in the upper 32-bits of the phys_offset directly into

Re: [PATCH 08/22] ARM: LPAE: use phys_addr_t for initrd location and size

2012-08-05 Thread Cyril Chemparathy
On 8/4/2012 2:57 AM, Nicolas Pitre wrote: On Tue, 31 Jul 2012, Cyril Chemparathy wrote: From: Vitaly Andrianov vita...@ti.com This patch fixes the initrd setup code to use phys_addr_t instead of assuming 32-bit addressing. Without this we cannot boot on systems where initrd is located above

[PATCH] [trivial] mmc: Fix typo in mmc

2012-08-05 Thread Masanari Iida
Correct spelling typo in drivers/mmc Signed-off-by: Masanari Iida standby2...@gmail.com --- drivers/mmc/core/sdio.c| 2 +- drivers/mmc/host/at91_mci.c| 2 +- drivers/mmc/host/atmel-mci.c | 2 +- drivers/mmc/host/omap_hsmmc.c | 2 +-

Re: UBI fastmap updates

2012-08-05 Thread Richard Weinberger
Am 05.08.2012 10:23, schrieb Shmulik Ladkani: On Thu, 2 Aug 2012 19:45:38 +0200 Richard Weinberger rich...@nod.at wrote: Okay, then let's explicitly reserve a few PEBs for fastmap. This should be very easy task. Need to consider what's expected when migrating from a former non-FM UBI system

Re: [PATCH 09/22] ARM: LPAE: use 64-bit pgd physical address in switch_mm()

2012-08-05 Thread Cyril Chemparathy
On 8/4/2012 3:04 AM, Nicolas Pitre wrote: On Tue, 31 Jul 2012, Cyril Chemparathy wrote: This patch modifies the switch_mm() processor functions to use 64-bit addresses. We use u64 instead of phys_addr_t, in order to avoid having config dependent register usage when calling into switch_mm

[PATCH 1/1] ARM: kirkwood: fix typo in Makefile.boot

2012-08-05 Thread Sebastian Hesselbarth
Just a small typo fix to make lsxl dtbs compile Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@googlemail.com Cc: Jason Cooper ja...@lakedaemon.net Cc: Andrew Lunn and...@lunn.ch Cc: Russell King li...@arm.linux.org.uk Cc: linux-arm-ker...@lists.infradead.org Cc:

[PATCH can-next 0/5] can: add LED trigger support to common devices

2012-08-05 Thread Fabio Baltieri
Hello, this patch series adds support for LED triggers to CAN devices commonly found on SoC architectures, using the support code recently merged in Marc's can-next tree. I actually modified only drivers who's devices may be commonly found in embedded platforms with associated cpu-controlled

[PATCH 1/2] ARM: kirkwood: DT board setup for Seagate FreeAgent Dockstar

2012-08-05 Thread Sebastian Hesselbarth
This add a DT compatible board specific setup for the Seagate FreeAgent Dockstar. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@googlemail.com Cc: Jason Cooper ja...@lakedaemon.net Cc: Andrew Lunn and...@lunn.ch Cc: Russell King li...@arm.linux.org.uk Cc:

[PATCH 2/2] ARM: kirkwood: DT descriptor for Seagate FreeAgent Dockstar

2012-08-05 Thread Sebastian Hesselbarth
This adds the corresponding device tree descriptor for the Seagate FreeAgent Dockstar based on Kirkwood DT. Please note that this patch requires the mach-kirkwood Makefile.boot typo fix to fully apply. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@googlemail.com Cc: Jason Cooper

[PATCH can-next 1/5] can: at91_can: add LED trigger support

2012-08-05 Thread Fabio Baltieri
Add support for canbus activity led indicators on at91_can devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Wolfgang Grandegger w...@grandegger.com Cc: Marc Kleine-Budde m...@pengutronix.de Signed-off-by: Fabio

[PATCH can-next 2/5] can: ti_hecc: add LED trigger support

2012-08-05 Thread Fabio Baltieri
Add support for canbus activity led indicators on ti_hecc devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Anant Gole anantg...@ti.com Cc: Wolfgang Grandegger w...@grandegger.com Cc: Marc Kleine-Budde

[PATCH can-next 3/5] can: c_can: add LED trigger support

2012-08-05 Thread Fabio Baltieri
Add support for canbus activity led indicators on c_can devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Bhupesh Sharma bhupesh.sha...@st.com Cc: AnilKumar Ch anilku...@ti.com Cc: Wolfgang Grandegger

[PATCH can-next 5/5] can: sja1000: add LED trigger support

2012-08-05 Thread Fabio Baltieri
Add support for canbus activity led indicators on sja1000 devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Oliver Hartkopp socket...@hartkopp.net Cc: Wolfgang Grandegger w...@grandegger.com Cc: Marc Kleine-Budde

[PATCH can-next 4/5] can: mcp251x: add LED trigger support

2012-08-05 Thread Fabio Baltieri
Add support for canbus activity led indicators on mcp251x devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Christian Pellegrin chrip...@fsfe.org Cc: Wolfgang Grandegger w...@grandegger.com Cc: Marc Kleine-Budde

Re: [PATCH 00/22] Introducing the TI Keystone platform

2012-08-05 Thread Cyril Chemparathy
Hi Russell, On 8/4/2012 4:39 AM, Russell King - ARM Linux wrote: On Tue, Jul 31, 2012 at 07:04:36PM -0400, Cyril Chemparathy wrote: This series is a follow on to the RFC series posted earlier (archived at [1]). The major change introduced here is the modification to the kernel patching

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-05 Thread Stefan Priebe
Am 05.08.2012 12:29, schrieb Avi Kivity: On 08/05/2012 01:08 PM, Stefan Priebe wrote: Am 01.08.2012 11:53, schrieb Avi Kivity: On 08/01/2012 12:42 PM, Stefan Priebe - Profihost AG wrote: Am 01.08.2012 11:33, schrieb Avi Kivity: So here are 3 backtraces from booting the rescue system:

Re: [PATCH] regulator: core: Add intermediate cast to uintptr_t before casting to pointer

2012-08-05 Thread Axel Lin
2012/8/3 Mark Brown broo...@opensource.wolfsonmicro.com: On Wed, Aug 01, 2012 at 12:08:08AM +0800, Axel Lin wrote: 於 二,2012-07-31 於 16:41 +0100,Mark Brown 提到: So the above cast probably isn't right... you shouldn't need a double cast here. The issue of original warning is: ( I compile

Re: [PATCH 1/2] onewire: w1-gpio: add ext_pullup_enable pin in platform data

2012-08-05 Thread Daniel Mack
On 01.08.2012 18:57, Ville Syrjälä wrote: On Tue, Jul 31, 2012 at 08:19:06AM +0200, Daniel Mack wrote: On 31.07.2012 02:59, Ville Syrjälä wrote: On Mon, Jul 30, 2012 at 10:12:39PM +0400, Evgeniy Polyakov wrote: Hi Sorry for long delay [resend with fixed Greg's address :)] On Wed, Jul 25,

Re: [PATCH v3 1/2] lis3: add generic DT matching code

2012-08-05 Thread Daniel Mack
Ping, anyone? On 30.07.2012 09:36, Daniel Mack wrote: This patch adds logic to parse lis3 properties from a device tree node and store them in a freshly allocated lis3lv02d_platform_data. Note that the actual match tables are left out here. This part should happen in the drivers that bind

Re: Emulating level IRQs

2012-08-05 Thread Daniel Mack
On 24.07.2012 20:01, Daniel Mack wrote: On 23.07.2012 18:51, Dmitry Torokhov wrote: On Thu, Jul 19, 2012 at 05:36:12PM +0200, Daniel Mack wrote: Ok, finally I found some time. In general, the patch works fine. The only detail I had to amend was the irqflags, which were changed from

[PATCH 0/5] mfd: replace IORESOURCE_IO by IORESOURCE_MEM

2012-08-05 Thread Haojian Zhuang
Since IORESOURCE_IO is used for PCI devices, it doesn't fit on 88PM860x PMIC device that lies on I2C bus. So use IORESOURCE_MEM instead. -- 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

[PATCH 1/5] mfd: use IORESOURCE_MEM in 88pm860x backlight

2012-08-05 Thread Haojian Zhuang
Avoid to use IORESOURCE_IO in mfd core backlight driver. Use IORESOURCE_MEM instead. Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com --- drivers/mfd/88pm860x-core.c | 78 -- drivers/video/backlight/88pm860x_bl.c | 114 +

[PATCH 2/5] mfd: use IORESOUCE_MEM in 88pm860x leds driver

2012-08-05 Thread Haojian Zhuang
Avoid to use IORESOURCE_IO in 88pm860x leds drivers. Use IORESOURCE_MEM instead. Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com --- drivers/leds/leds-88pm860x.c | 176 +- drivers/mfd/88pm860x-core.c | 114 +--

[PATCH 3/5] mfd: use IORESOURCE_MEM in 88pm860x regulator

2012-08-05 Thread Haojian Zhuang
Avoid to use IORESOURCE_IO in 88pm860x regulator driver. Use IORESOURCE_IO instead. Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com --- drivers/mfd/88pm860x-core.c | 265 +++--- drivers/regulator/88pm8607.c |7 +- include/linux/mfd/88pm860x.h |

[PATCH 4/5] mfd: avoid to return failure in 88pm860x

2012-08-05 Thread Haojian Zhuang
While touch field of 88pm860x platform_data isn't assigned, probe function returns failure. Now update code to only return without failure since touch field isn't always used in each usage scenario. Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com --- drivers/mfd/88pm860x-core.c |2 +-

[PATCH 5/5] ARM: mmp: enable 88pm860x in ttc dkb

2012-08-05 Thread Haojian Zhuang
Enable backlight led components of 88pm860x PMIC in ttc dkb board. Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com --- arch/arm/mach-mmp/ttc_dkb.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/mach-mmp/ttc_dkb.c b/arch/arm/mach-mmp/ttc_dkb.c index

Re: [RFC v2 6/7] tracepoint: use new hashtable implementation

2012-08-05 Thread Mathieu Desnoyers
* Steven Rostedt (rost...@goodmis.org) wrote: FYI, Mathieu is the author of this file. -- Steve On Fri, 2012-08-03 at 16:23 +0200, Sasha Levin wrote: Switch tracepoints to use the new hashtable implementation. This reduces the amount of generic unrelated code in the tracepoints.

[tip:perf/urgent] perf test: Fix parse events automated tests

2012-08-05 Thread tip-bot for Jiri Olsa
Commit-ID: 30f31c0a492d0c1cd64af631476697f38d6a79d4 Gitweb: http://git.kernel.org/tip/30f31c0a492d0c1cd64af631476697f38d6a79d4 Author: Jiri Olsa jo...@redhat.com AuthorDate: Wed, 1 Aug 2012 14:48:58 +0200 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 1 Aug 2012

[tip:perf/urgent] perf symbols: Fix array sizes for binary types arrays

2012-08-05 Thread tip-bot for Jiri Olsa
Commit-ID: 028df76726c5637c6f70a064d94452808ec74f9e Gitweb: http://git.kernel.org/tip/028df76726c5637c6f70a064d94452808ec74f9e Author: Jiri Olsa jo...@redhat.com AuthorDate: Wed, 1 Aug 2012 14:47:57 +0200 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 1 Aug 2012

[tip:perf/urgent] perf target: Fix check on buffer size

2012-08-05 Thread tip-bot for Namhyung Kim
Commit-ID: 0ecf4f0c02b7802de5d1251e03e6eab360f158e1 Gitweb: http://git.kernel.org/tip/0ecf4f0c02b7802de5d1251e03e6eab360f158e1 Author: Namhyung Kim namhyung@lge.com AuthorDate: Thu, 26 Jul 2012 10:50:10 +0900 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 1 Aug

[tip:perf/urgent] perf evsel: Precalculate the sample size

2012-08-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: bde09467b56c5a3cfe2a29d58edc5f7172c15184 Gitweb: http://git.kernel.org/tip/bde09467b56c5a3cfe2a29d58edc5f7172c15184 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Wed, 1 Aug 2012 18:53:11 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

[tip:perf/urgent] perf session: Use perf_evlist__sample_type more extensively

2012-08-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 7f3be652c1a8866251bfba9ea8b02067328f5db9 Gitweb: http://git.kernel.org/tip/7f3be652c1a8866251bfba9ea8b02067328f5db9 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Wed, 1 Aug 2012 19:15:52 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

[tip:perf/urgent] perf session: Use perf_evlist__sample_id_all more extensively

2012-08-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5e5624745d7e4a2c956c072ef2542872955b59c4 Gitweb: http://git.kernel.org/tip/5e5624745d7e4a2c956c072ef2542872955b59c4 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Wed, 1 Aug 2012 19:25:26 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

[tip:perf/urgent] perf session: Use perf_evlist__id_hdr_size more extensively

2012-08-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 7b56cce27123ccbf2cb82febbbc88443d719f1f8 Gitweb: http://git.kernel.org/tip/7b56cce27123ccbf2cb82febbbc88443d719f1f8 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Wed, 1 Aug 2012 19:31:00 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

[tip:perf/urgent] perf evlist: Introduce perf_evlist__parse_sample

2012-08-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: cb0b29e0861659c9eef9664772cd7e845ba1104a Gitweb: http://git.kernel.org/tip/cb0b29e0861659c9eef9664772cd7e845ba1104a Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 2 Aug 2012 11:42:57 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu,

[tip:perf/urgent] perf evsel: Adopt parse_sample method from perf_event

2012-08-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a3f698fe3082ff80a7f3b27c9b64b4b748c81f9d Gitweb: http://git.kernel.org/tip/a3f698fe3082ff80a7f3b27c9b64b4b748c81f9d Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 2 Aug 2012 12:23:46 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu,

[tip:perf/urgent] perf session: Remove no longer used synthesize_sample method

2012-08-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 7405ed10f6adcdd556d59c360b5b216fccada3d9 Gitweb: http://git.kernel.org/tip/7405ed10f6adcdd556d59c360b5b216fccada3d9 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 2 Aug 2012 21:01:17 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu,

Re: rcu: INFO: rcu_preempt detected stalls on CPUs/tasks on v3.6

2012-08-05 Thread Sasha Levin
On 07/30/2012 03:17 PM, Avi Kivity wrote: Possible causes: - the APIC calibration in the guest failed, so it is programming too low values into the timer - it actually needs 1 us wakeups and then can't keep up (esp. as kvm interrupt injection is slowing it down) You can try to find out

Re: Emulating level IRQs

2012-08-05 Thread Haojian Zhuang
On Mon, Aug 6, 2012 at 12:22 AM, Daniel Mack zon...@gmail.com wrote: On 24.07.2012 20:01, Daniel Mack wrote: On 23.07.2012 18:51, Dmitry Torokhov wrote: On Thu, Jul 19, 2012 at 05:36:12PM +0200, Daniel Mack wrote: Ok, finally I found some time. In general, the patch works fine. The only

[tip:perf/urgent] perf kvm: Use strtol for walking guestmount directory

2012-08-05 Thread tip-bot for David Ahern
Commit-ID: 347ed9903a10179d1cf733d5d77072b283d89da3 Gitweb: http://git.kernel.org/tip/347ed9903a10179d1cf733d5d77072b283d89da3 Author: David Ahern dsah...@gmail.com AuthorDate: Sun, 29 Jul 2012 20:54:35 -0600 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 3 Aug 2012

Re: BUG: unable to handle kernel paging request in usb_match_id()

2012-08-05 Thread Greg Kroah-Hartman
On Sun, Aug 05, 2012 at 10:59:38AM +0800, Fengguang Wu wrote: Hi all, This line triggers an oops in kvm boot test: usb_match_id(): == 748 for (; id-idVendor || id-idProduct || id-bDeviceClass || 749id-bInterfaceClass || id-driver_info; id++) {

[tip:perf/urgent] perf tools: Introducing rblist

2012-08-05 Thread tip-bot for David Ahern
Commit-ID: 37bbd3fff1480a1f5d57abb9e9e56f468954c1b1 Gitweb: http://git.kernel.org/tip/37bbd3fff1480a1f5d57abb9e9e56f468954c1b1 Author: David Ahern dsah...@gmail.com AuthorDate: Mon, 30 Jul 2012 22:31:32 -0600 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 3 Aug 2012

[tip:perf/urgent] perf tools: Remove brace expansion from clean target

2012-08-05 Thread tip-bot for Palmer Cox
Commit-ID: 7f309ed6453926a81e2a97d274f67f1e48f0d74c Gitweb: http://git.kernel.org/tip/7f309ed6453926a81e2a97d274f67f1e48f0d74c Author: Palmer Cox p...@lmercox.com AuthorDate: Sun, 29 Jul 2012 17:54:43 -0400 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 3 Aug 2012

[tip:perf/urgent] perf tools: Change strlist to use the new rblist

2012-08-05 Thread tip-bot for David Ahern
Commit-ID: ee8dd3ca43f151d9fbe1edeef68fb8a77eb9f047 Gitweb: http://git.kernel.org/tip/ee8dd3ca43f151d9fbe1edeef68fb8a77eb9f047 Author: David Ahern dsah...@gmail.com AuthorDate: Mon, 30 Jul 2012 22:31:33 -0600 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 3 Aug 2012

[tip:timers/urgent] time: Fix adjustment cleanup bug in timekeeping_adjust()

2012-08-05 Thread tip-bot for Ingo Molnar
Commit-ID: 1d17d17484d40f2d5b35c79518597a2b25296996 Gitweb: http://git.kernel.org/tip/1d17d17484d40f2d5b35c79518597a2b25296996 Author: Ingo Molnar mi...@kernel.org AuthorDate: Sat, 4 Aug 2012 21:21:14 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Sun, 5 Aug 2012 12:37:14

[tip:perf/urgent] perf tools: Introduce intlist

2012-08-05 Thread tip-bot for David Ahern
Commit-ID: 70b40c4a43ddfcf7a06dad4be32ff1dd2b62be09 Gitweb: http://git.kernel.org/tip/70b40c4a43ddfcf7a06dad4be32ff1dd2b62be09 Author: David Ahern dsah...@gmail.com AuthorDate: Mon, 30 Jul 2012 22:31:34 -0600 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 3 Aug 2012

[tip:perf/urgent] perf kvm top: Limit guest kernel info message to once

2012-08-05 Thread tip-bot for David Ahern
Commit-ID: 6b118e92cc78ccef7b54a296158d4738fd377bcc Gitweb: http://git.kernel.org/tip/6b118e92cc78ccef7b54a296158d4738fd377bcc Author: David Ahern dsah...@gmail.com AuthorDate: Mon, 30 Jul 2012 22:31:35 -0600 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 3 Aug 2012

Re: [RFC v2 6/7] tracepoint: use new hashtable implementation

2012-08-05 Thread Sasha Levin
On 08/05/2012 06:31 PM, Mathieu Desnoyers wrote: * Steven Rostedt (rost...@goodmis.org) wrote: FYI, Mathieu is the author of this file. -- Steve On Fri, 2012-08-03 at 16:23 +0200, Sasha Levin wrote: Switch tracepoints to use the new hashtable implementation. This reduces the amount of

Re: Update VIP to videobuf2 and control framework

2012-08-05 Thread Federico Vaga
Hi Hans, Did you run the latest v4l2-compliance tool from the v4l-utils.git repository over your driver? I'm sure you didn't since VIP is missing support for control events and v4l2-compliance would certainly complain about that. Always check with v4l2-compliance whenever you make

Re: [RFC v2 6/7] tracepoint: use new hashtable implementation

2012-08-05 Thread Mathieu Desnoyers
* Sasha Levin (levinsasha...@gmail.com) wrote: [...] Other than that, it looks good! Thanks! Mathieu Thanks for the review Mathieu! No problem! By the way, if you want to have a look at another hash table API for ideas, here is the RCU lock-free hash table API, within the

[GIT PULL] time fix

2012-08-05 Thread Ingo Molnar
Linus, Please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus HEAD: 1d17d17484d40f2d5b35c79518597a2b25296996 time: Fix adjustment cleanup bug in timekeeping_adjust() Thanks, Ingo

[PATCH] ARM: dma-mapping: fix atomic allocation alignment

2012-08-05 Thread Aaro Koskinen
The alignment mask is calculated incorrectly. Fixing the calculation makes strange hangs/lockups disappear during the boot with Amstrad E3 and 3.6-rc1 kernel. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/arm/mm/dma-mapping.c |6 +++--- 1 files changed, 3 insertions(+), 3

  1   2   3   >