Re: [PATCH 1/2] xen/swiotlb: If iommu=soft was not passed in on > 4GB, don't turn it on.

2012-07-27 Thread Stefano Stabellini
On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: > If we boot a 64-bit guest with more than 4GB memory, the SWIOTLB > gets turned on: > PCI-DMA: Using software bounce buffering for IO (SWIOTLB) > software IO TLB [mem 0xfb43d000-0xff43cfff] (64MB) mapped at > [8800fb43d000-8800ff43cfff] >

Re: [RESEND RFC 3/3] memory-hotplug: bug fix race between isolation and allocation

2012-07-27 Thread Minchan Kim
On Fri, Jul 27, 2012 at 07:22:48PM +0900, Kamezawa Hiroyuki wrote: > (2012/07/23 9:48), Minchan Kim wrote: > > Like below, memory-hotplug makes race between page-isolation > > and page-allocation so it can hit BUG_ON in __offline_isolated_pages. > > > > CPU A

Re: [PATCH 1/2] Revert "hugetlb: avoid taking i_mmap_mutex in unmap_single_vma() for hugetlb"

2012-07-27 Thread Michal Hocko
On Fri 27-07-12 11:46:04, Mel Gorman wrote: > This reverts the patch "hugetlb: avoid taking i_mmap_mutex in > unmap_single_vma() for hugetlb" from mmotm. > > This patch is possibly a mistake and blocks the merging of a hugetlb fix > where page tables can get corrupted

Re: [Xen-devel] [PATCH 5/7] xen/p2m: Add logic to revector a P2M tree to use __va leafs.

2012-07-27 Thread Stefano Stabellini
On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: > During bootup Xen supplies us with a P2M array. It sticks > it right after the ramdisk, as can be seen with a 128GB PV guest: > > (certain parts removed for clarity): > xc_dom_build_image: called > xc_dom_alloc_segment: kernel :

Re: [PATCH 2/2] mm: hugetlbfs: Close race during teardown of hugetlbfs shared page tables

2012-07-27 Thread Michal Hocko
Just a nit On Fri 27-07-12 11:46:05, Mel Gorman wrote: > diff --git a/mm/hugetlb.c b/mm/hugetlb.c > index fd1d530..8c6e5a5 100644 > --- a/mm/hugetlb.c > +++ b/mm/hugetlb.c > @@ -2429,6 +2429,25 @@ again: > tlb_end_vma(tlb, vma); > } > I would welcome a comment here. Something like: /* *

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

2012-07-27 Thread Sasha Levin
On 07/26/2012 01:42 PM, Avi Kivity wrote: > On 07/24/2012 08:10 PM, Sasha Levin wrote: >> [ 215.026612] NMI backtrace for cpu 1 >> [ 215.026612] CPU 1 >> [ 215.026612] Pid: 2395, comm: pageattr-test Tainted: GW >> 3.5.0-sasha-01644-g824681b #267 >> [ 215.026612] RIP: 0010:[] []

Re: [Xen-devel] [PATCH 7/7] xen/mmu: Remove from __ka space PMD entries for pagetables.

2012-07-27 Thread Stefano Stabellini
On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: > Please first read the description in "xen/mmu: Copy and revector the > P2M tree." > > At this stage, the __ka address space (which is what the old > P2M tree was using) is partially disassembled. The cleanup_highmap > has removed the PMD entries

Re: [PATCH] dma: imx-dma: Fix kernel crash due to missing clock conversion

2012-07-27 Thread Fabio Estevam
On Fri, Jul 27, 2012 at 12:17 AM, Vinod Koul wrote: >> Reported-by: Javier Martin >> Signed-off-by: Fabio Estevam > Applied thanks (to fixes-for 3.7) You mentioned that you would also copy stable. Would it be applied into stable soon too? -- To unsubscribe from this list: send the line

Re: [Xen-devel] [PATCH 3/7] xen/mmu: Release the Xen provided L4 (PGD) back.

2012-07-27 Thread Stefano Stabellini
On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: > Since we are not using it and somebody else could use it. make sense except it is almost entirely rewritten by the following patch... > Signed-off-by: Konrad Rzeszutek Wilk > --- > arch/x86/xen/mmu.c | 13 +++-- > 1 files changed, 7

[PATCH] of: drop of_pdt_build_more in pdt.c

2012-07-27 Thread Sam Ravnborg
>From bc1fde5cacff425c4bddc061a72e52d3ecb9eeb2 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Fri, 27 Jul 2012 13:34:54 +0200 Subject: [PATCH] of: drop of_pdt_build_more in pdt.c It is no longer used - as the sparc usage was dropped in: d884297acac228f15a793850be167ba8f9dd3818 -

[PATCH] staging/olpc_dcon: fix checkpatch warnings

2012-07-27 Thread Toshiaki Yamane
fixed some checkpatch warnings. (Excluding -WARNING: msleep < 20ms can sleep for up to 20ms-) $ find drivers/staging/olpc_dcon/ -name "*.[ch]"|xargs ./scripts/checkpatch.pl \ -f --terse --nosummary|cut -f3- -d":"|sort |uniq -c|sort -n 2 WARNING: msleep < 20ms can sleep for up to 20ms; see

Re: [Xen-devel] [PATCH 4/7] xen/mmu: Recycle the Xen provided L4, L3, and L2 pages

2012-07-27 Thread Stefano Stabellini
On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: > As we are not using them. We end up only using the L1 pagetables > and grafting those to our page-tables. > > Signed-off-by: Konrad Rzeszutek Wilk > --- > arch/x86/xen/mmu.c | 38 -- > 1 files changed, 32

[PATCH/RFC] platform: Add support for automatic device IDs

2012-07-27 Thread Jean Delvare
Right now we have support for explicit platform device IDs, as well as ID-less platform devices when a given device type can only have one instance. However there are cases where multiple instances of a device type can exist, and their IDs aren't (and can't be) known in advance and do not matter.

Re: [REGRESSION] [KMS] [INTEL] Wrong resolution in console and XWindow

2012-07-27 Thread Maciej Rutecki
On czwartek, 26 lipca 2012 o 14:38:28 Daniel Vetter wrote: > On Wed, Jul 25, 2012 at 01:55:59PM +0200, Daniel Vetter wrote: > > On Wed, Jul 25, 2012 at 12:57 PM, Maciej Rutecki > > > > wrote: > > > On środa, 25 lipca 2012 o 11:29:28 Daniel Vetter wrote: > > >> On Wed, Jul 25, 2012 at 10:54:25AM

Re: [Xen-devel] [PATCH 5/7] xen/p2m: Add logic to revector a P2M tree to use __va leafs.

2012-07-27 Thread Jan Beulich
>>> On 27.07.12 at 13:18, Stefano Stabellini >>> wrote: > On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: >> 1) All P2M lookups instead of using the __ka address would >> use the __va address. This means we can safely erase from >> __ka space the PMD pointers that point to the PFNs

Re: [Xen-devel] [PATCH 01/24] arm: initial Xen support

2012-07-27 Thread Stefano Stabellini
On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: > On Thu, Jul 26, 2012 at 04:33:43PM +0100, Stefano Stabellini wrote: > > - Basic hypervisor.h and interface.h definitions. > > - Skelethon enlighten.c, set xen_start_info to an empty struct. > > Skeleton > > > - Do not limit xen_initial_domain

[PATCHv5 0/2] ARM: replace custom consistent dma region with vmalloc

2012-07-27 Thread Marek Szyprowski
Hello! This is yet another quick update on the patchset which replaces custom consistent dma regions usage in dma-mapping framework in favour of generic vmalloc areas created on demand for each allocation. The main purpose for this patchset is to remove 2MiB limit of dma coherent/writecombine

[PATCHv5 1/2] mm: vmalloc: use const void * for caller argument

2012-07-27 Thread Marek Szyprowski
'const void *' is a safer type for caller function type. This patch updates all references to caller function type. Signed-off-by: Marek Szyprowski Reviewed-by: Kyungmin Park Reviewed-by: Minchan Kim --- include/linux/vmalloc.h |8 mm/vmalloc.c| 18

[PATCHv5 2/2] ARM: dma-mapping: remove custom consistent dma region

2012-07-27 Thread Marek Szyprowski
This patch changes dma-mapping subsystem to use generic vmalloc areas for all consistent dma allocations. This increases the total size limit of the consistent allocations and removes platform hacks and a lot of duplicated code. Atomic allocations are served from special pool preallocated on

[RFC][PATCH v3 0/3] Power sequences with PWM and DT support

2012-07-27 Thread Alexandre Courbot
Widening audience for this version. The issue addressed is that the power sequences for backlights (and probably other devices), which were implemented using board-specific callbacks so far, could not be used with the device tree. This series of patches adds a small power sequence interpreter

[RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-27 Thread Alexandre Courbot
Some device drivers (panel backlights especially) need to follow precise sequences for powering on and off, involving gpios, regulators, PWMs with a precise powering order and delays to respect between each steps. These sequences are board-specific, and do not belong to a particular driver -

[RFC][PATCH v3 3/3] tegra: add pwm backlight device tree nodes

2012-07-27 Thread Alexandre Courbot
Signed-off-by: Alexandre Courbot --- arch/arm/boot/dts/tegra20-ventana.dts | 53 +++ arch/arm/boot/dts/tegra20.dtsi| 2 +- 2 files changed, 54 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra20-ventana.dts

[RFC][PATCH v3 2/3] pwm_backlight: use power sequences

2012-07-27 Thread Alexandre Courbot
Make use of the power sequences specified in the device tree or platform data, if any. Signed-off-by: Alexandre Courbot --- .../bindings/video/backlight/pwm-backlight.txt | 55 +- drivers/video/backlight/Kconfig| 1 + drivers/video/backlight/pwm_bl.c

Re: [PATCH] cx25840: Declare MODULE_FIRMWARE usage

2012-07-27 Thread Tim Gardner
On 07/26/2012 03:59 PM, Andy Walls wrote: On Thu, 2012-07-26 at 10:44 -0600, Tim Gardner wrote: Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org Signed-off-by: Tim Gardner --- drivers/media/video/cx25840/cx25840-firmware.c | 15 --- 1 file changed, 12 insertions(+),

Re: [GIT PULL] PWM subsystem for v3.6

2012-07-27 Thread Sachin Kamat
On 27 July 2012 10:40, Thierry Reding wrote: > On Thu, Jul 26, 2012 at 02:11:58PM -0700, Linus Torvalds wrote: >> On Thu, Jul 26, 2012 at 12:16 AM, Thierry Reding >> wrote: >> > >> > The new PWM subsystem aims at collecting all implementations of the >> > legacy PWM API and to eventually replace

[PATCH] tty, add kref to sysrq handlers

2012-07-27 Thread Prarit Bhargava
3rd try on this one ... 8<- On a large system with a large number of tasks, the output of echo t > /proc/sysrq-trigger can take a long period of time. If this period is greater than the period of the current clocksource, the clocksource watchdog will mark the clocksource as unstable

[PATCHv8 00/13] perf: Add backtrace post dwarf unwind

2012-07-27 Thread Jiri Olsa
hi, patches available also as tarball in here: http://people.redhat.com/~jolsa/perf_post_unwind_v8.tar.bz2 v8 changes: - patch 2 - added dump registers ABI specification as suggested by Stephane - v7 patches 9,10,16,17 already in v7 changes: - omitted v6 patches 9 and 15

[PATCH 1/7] perf: Unified API to record selective sets of arch registers

2012-07-27 Thread Jiri Olsa
This brings a new API to help the selective dump of registers on event sampling, and its implementation for x86 arch. Added HAVE_PERF_REGS config option to determine if the architecture provides perf registers ABI. The information about desired registers will be passed in u64 mask. It's up to

[PATCH 3/7] perf, x86: Add copy_from_user_nmi_nochk for best effort copy

2012-07-27 Thread Jiri Olsa
Adding copy_from_user_nmi_nochk that provides the best effort copy regardless the requesting size crossing the task boundary. This is going to be useful for stack dump we need in post DWARF CFI based unwind, where we have predefined size of the user stack to dump, and we need to store the most of

[PATCH 4/7] perf: Factor __output_copy to be usable with specific copy function

2012-07-27 Thread Jiri Olsa
From: Frederic Weisbecker Adding a generic way to use __output_copy function with specific copy function via DEFINE_PERF_OUTPUT_COPY macro. Using this to add new __output_copy_user function, that provides output copy from user pointers. For x86 the copy_from_user_nmi_nochk function is used and

[PATCH 5/7] perf: Add perf_output_skip function to skip bytes in sample

2012-07-27 Thread Jiri Olsa
Introducing perf_output_skip function to be able to skip data within the perf ring buffer. When writing data into perf ring buffer we first reserve needed place in ring buffer and then copy the actual data. There's a possibility we won't be able to fill all the reserved size with data, so we

[PATCH 10/13] perf, tool: Add libunwind dependency for dwarf cfi unwinding

2012-07-27 Thread Jiri Olsa
Adding libunwind to be linked with perf if available. It's required for the to get dwarf cfi unwinding support. Also building perf with the dwarf call frame informations by default, so that we can unwind callchains in perf itself. Adding LIBUNWIND_DIR Makefile variable allowing user to specify

[PATCH 12/13] perf, tool: Support for dwarf cfi unwinding on post processing

2012-07-27 Thread Jiri Olsa
This brings the support for dwarf cfi unwinding on perf post processing. Call frame informations are retrieved and then passed to libunwind that requests memory and register content from the applications. Adding unwind object to handle the user stack backtrace based on the user register values

[PATCH 7/7] perf: Add attribute to filter out callchains

2012-07-27 Thread Jiri Olsa
From: Frederic Weisbecker Introducing following bits to the the perf_event_attr struct: - exclude_callchain_kernel to filter out kernel callchain from the sample dump - exclude_callchain_user to filter out user callchain from the sample dump We need to be able to disable standard

[PATCH 08/13] perf, tool: Adding PERF_ATTR_SIZE_VER2 to the header swap check

2012-07-27 Thread Jiri Olsa
Updating attr_file_abi_sizes array with PERF_ATTR_SIZE_VER2 version, so we have the swap check complete. Signed-off-by: Jiri Olsa --- tools/perf/util/header.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index

[PATCH 2/7] perf: Add ability to attach user level registers dump to sample

2012-07-27 Thread Jiri Olsa
Introducing PERF_SAMPLE_REGS_USER sample type bit to trigger the dump of user level registers on sample. Registers we want to dump are specified by sample_regs_user bitmask. Only user level registers are dumped at the moment. Meaning the register values of the user space context as it was before

[PATCH 11/13] perf, tool: Support user regs and stack in sample parsing

2012-07-27 Thread Jiri Olsa
Adding following info to be parsed out of the event sample: - user register set - user stack dump Both are global and specific to all events within the session. This info will be used in the unwind patches coming in shortly. Adding simple output printout (report -D) for both register and stack

[PATCH 13/13] perf, tool: Support for dwarf mode callchain on perf record

2012-07-27 Thread Jiri Olsa
This patch enables perf to use the dwarf unwind code. It extends the perf record '-g' option with following arguments: 'fp' - provides framepointer based user stack backtrace 'dwarf[,size]' - provides dwarf (libunwind) based user stack

[PATCH 09/13] perf, tool: Add interface to arch registers sets

2012-07-27 Thread Jiri Olsa
Adding header files to access unified API for arch registers. util/perf_regs.h - global perf_reg declarations arch/x86/include/perf_regs.h - x86 arch specific Adding perf_reg_name function to obtain register name based on the reg ID value, and PERF_REGS_MASK macro with mask definition of all

Re: [GIT PULL] PWM subsystem for v3.6

2012-07-27 Thread richard -rw- weinberger
On Fri, Jul 27, 2012 at 7:10 AM, Thierry Reding wrote: > Right. I don't have any signatures on my GPG key, but I'm not aware of > any kernel developers in my area and unfortunately I don't get around > much either. I can request key-signing via us...@kernel.org and see if > I missed anyone. I

[PATCH 7/7] ARM: ux500: Ensure probing of Audio devices when Device Tree is enabled

2012-07-27 Thread Lee Jones
Previous attempts to add platform probing of the Audio related devices only call from non-DT initialisation functions. This patch extends that functionality to the Device Tree related ones too. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500.c |4 1 file changed, 4

[PATCH 0/7] Bugfixes and clean-ups bound for the v3.6 RCs

2012-07-27 Thread Lee Jones
This patch-set includes some important changes which should make their way to the Mainline Release Candidates for the v3.6 release. Without them Audio doesn't even probe (at all) when booting with Device Tree selected. The kernel can't compile with ux500 audio enabled. Also platform data will fail

[PATCH 1/7] ASoC: dapm: If one widget fails, do not force all subsequent widgets to fail too

2012-07-27 Thread Lee Jones
If a list of widgets is provided and one of them fails to be added as a control, the present semantics fail all subsequent widgets. A better solution would be to only fail that widget, but pursue in attempting to add the rest of the list. Signed-off-by: Lee Jones --- sound/soc/soc-dapm.c |2

[PATCH 2/7] ASoC: ab8500: Inform SoC Core that we have our own I/O arrangements

2012-07-27 Thread Lee Jones
If codec->control_data is not populated SoC Core assumes we want to use regmap, which fails catastrophically, as we don't have one: Unable to handle kernel NULL pointer dereference at virtual address 0080 pgd = c0004000 [0080] *pgd= Internal error: Oops: 17 [#1] PREEMPT SMP ARM

[PATCH 3/7] mfd: db8500-prcmu: Ensure AB8500 platform data is passed through MFD Core

2012-07-27 Thread Lee Jones
When booting via platform code the AB8500 platform data is now passed in though the DB8500. However, if pdata_size is not set it will not be subsequently passed onto subordinate devices. This patch correctly populates pdata_size. Signed-off-by: Lee Jones --- drivers/mfd/db8500-prcmu.c |1 +

[PATCH 4/7] mfd: ab8500-core: Apply the AB8500 CODEC's compatible string to its MFD cell

2012-07-27 Thread Lee Jones
Provide a compatible string for the AB8500 CODEC to aid in configuration property look-up from its associated Device Tree node. Signed-off-by: Lee Jones --- drivers/mfd/ab8500-core.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c

[PATCH 5/7] ARM: ux500: Remove unused snowball_of_platform_devs struct

2012-07-27 Thread Lee Jones
This was left over during a recent clean-up which removed Device Tree helper structs. There is no longer a requirement for it, so we can just remove it. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500.c |5 - 1 file changed, 5 deletions(-) diff --git

[PATCH 6/7] ARM: ux500: Fix merge error, so such struct 'snd_soc_u8500'

2012-07-27 Thread Lee Jones
The platform attempts to register platform device 'snd_soc_u8500' which doesn't actually exist. Here we change the reference to the correct one 'snd_soc_mop500'. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-msp.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 04/18] ASoC: Ux500: Enable ux500 PCM driver for Device Tree

2012-07-27 Thread Lee Jones
This simple patch ensures the PCM driver will be probed during boot-up when Device Tree is enabled. Signed-off-by: Lee Jones --- sound/soc/ux500/ux500_pcm.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/sound/soc/ux500/ux500_pcm.c b/sound/soc/ux500/ux500_pcm.c index

[PATCH 05/18] ASoC: Ux500: Enable ux500 MSP driver for Device Tree

2012-07-27 Thread Lee Jones
Register both parts of the MSP driver from Device Tree so that they are probed when Device Tree is enabled. Also, as there is platform data involved, we ensure that there is allocated memory to place the configuration into and that the correct information is extracted from the DT binary.

[PATCH 08/18] ARM: ux500: Add AB8500 CODEC node to DB8500 Device Tree

2012-07-27 Thread Lee Jones
Ensure correct probing and pass though important configuration options to the AB8500 CODEC driver when DT is enabled Signed-off-by: Lee Jones --- arch/arm/boot/dts/db8500.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/db8500.dtsi

[PATCH 00/18] Configure ux500 Audio Drivers for Device Tree

2012-07-27 Thread Lee Jones
This patch-set sees many of the ux500 related Audio drivers gain Device Tree enablement. There are also some fixes to issues which where encountered along the way. Documentation/devicetree/bindings/sound/ux500.txt | 62 + arch/arm/boot/dts/db8500.dtsi | 48

[PATCH 07/18] ARM: ux500: Clean-up MSP platform code

2012-07-27 Thread Lee Jones
This patch contains a couple of general MSP clean-ups pertaining to layout changes and changing functions to be void instead of int instead of regardlessly returning '0'. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-msp.c | 26 --

[PATCH 02/18] ASoC: Ux500: Move MSP pinctrl setup into the MSP driver

2012-07-27 Thread Lee Jones
In the initial submission of the MSP driver msp1 and msp3's associated pinctrl mechanism was passed back to platform code using a plat_init() call-back routine, but it has no place in platform code. The MSP driver should set this up for the appropriate ports. Instead we use a use_pinctrl

[PATCH 11/18] ARM: ux500: Pass MSP DMA platform data though AUXDATA

2012-07-27 Thread Lee Jones
It isn't currently possible to pass all platform specific configuration though Device Tree. Thinks like device names used in the clock infrastructure, call-backs and DMA information have to be passed in via AUXDATA structures and the MSP is no exception. Here we're passing DMA settings.

[PATCH 13/18] ARM: ux500: Add ux500 PCM to DB8500 Device Tree

2012-07-27 Thread Lee Jones
Nothing special here. We're only providing a compatible string to ensure the driver is probed using a Device Tree boot. Signed-off-by: Lee Jones --- arch/arm/boot/dts/db8500.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/db8500.dtsi

[PATCH 16/18] ARM: ux500: Remove platform registration of MSP devices

2012-07-27 Thread Lee Jones
This patch removes platform device registration of all 4 MSP devices. It also takes care of all redundant infrastructure now that each of the ux500 audio components have been Device Tree enabled. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-msp.c | 14 --

[PATCH 17/18] ARM: ux500: Add all encompassing Sound node to DB8500 Device Tree

2012-07-27 Thread Lee Jones
This is the node which links together the platform (PCM), codec (AB8500) and the CPU side Digital Audio Interface (MCP) with the machine driver. Signed-off-by: Lee Jones --- arch/arm/boot/dts/db8500.dtsi |8 1 file changed, 8 insertions(+) diff --git

[PATCH 18/18] ARM: ux500: Rename MSP board file to something more meaningful

2012-07-27 Thread Lee Jones
The 'msp' board file does more than just register MSP devices. It also registers some other components necessary to get audio working on ux500 based platforms; such as the PCM and Machine Drivers. For that reason we're changing the filename to be more encompassing - 'audio'. Signed-off-by: Lee

[PATCH 15/18] ARM: ux500: Add MSP devices to DB8500 Device Tree

2012-07-27 Thread Lee Jones
List all four MSP devices which exist on all DB8500 based platforms, to ensure correct device probing and configuration passing when booting with DT. Signed-off-by: Lee Jones --- arch/arm/boot/dts/db8500.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git

Re: [PATCH] list corruption by gather_surplus

2012-07-27 Thread Hillf Danton
On Fri, Jul 27, 2012 at 5:43 AM, Cliff Wickman wrote: > From: Cliff Wickman > > Gentlemen, > I see that you all have done maintenance on mm/hugetlb.c, so I'm hoping one > or two of you could comment on a problem and proposed fix. > > > I am seeing list corruption occurring from within

[PATCH 14/18] ARM: ux500: Stop registering the PCM driver from platform code

2012-07-27 Thread Lee Jones
In this patch we prevent PCM driver registration from platform code and rely solely on Device Tree to do the probing for us. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-msp.c |3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500-msp.c

[PATCH 12/18] ARM: ux500: Stop registering the MOP500 Audio driver from platform code

2012-07-27 Thread Lee Jones
In this patch we prevent MOP500 driver registration from platform code and rely solely on Device Tree to do the probing for us. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-msp.c |3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500-msp.c

[PATCH 10/18] ARM: ux500: Enable HIGHMEM on all mop500 platforms

2012-07-27 Thread Lee Jones
The current kernel commandline for ux500 based devices includes hard-coded allocations for things like mali and hwmem, which actually run over lowmem. Here we enable highmem in order to avoid memory corruption errors. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/Kconfig |1 + 1 file

[PATCH 09/18] ARM: ux500: Fork MSP platform registration for step-by-step DT enablement

2012-07-27 Thread Lee Jones
We've done this before and it worked well last time. Here we're duplicating a complex registration function to ease the process of enabling it for Device Tree. As there are quite a few steps taken during the registration process, it makes sense to break them up into more manageable chunks. This

[PATCH 06/18] ASoC: codecs: Enable AB8500 CODEC for Device Tree

2012-07-27 Thread Lee Jones
We continue to allow the AB8500 CODEC to be registered via the AB8500 Multi Functional Device API, only this time we extract its configuration from the Device Tree binary. Signed-off-by: Lee Jones --- include/linux/mfd/abx500/ab8500-codec.h |6 ++- sound/soc/codecs/ab8500-codec.c |

[PATCH 03/18] ASoC: Ux500: Enable MOP500 driver for Device Tree

2012-07-27 Thread Lee Jones
Here we ensure that the MOP500 audio driver will be probed during a Device Tree boot. We also parse the sound node to link together the codec, dma and the CPU-side Digital Audio Interface. Signed-off-by: Lee Jones --- sound/soc/ux500/mop500.c | 41 + 1

[PATCH 01/18] Documentation: Describe the ux500 realated audio related DT nodes

2012-07-27 Thread Lee Jones
Also explains the related AB8500 CODEC configuration properties. Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/sound/ux500.txt | 62 + 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/ux500.txt diff --git

Re: [GIT PULL] PWM subsystem for v3.6

2012-07-27 Thread Thierry Reding
On Fri, Jul 27, 2012 at 02:38:33PM +0200, richard -rw- weinberger wrote: > On Fri, Jul 27, 2012 at 7:10 AM, Thierry Reding > wrote: > > Right. I don't have any signatures on my GPG key, but I'm not aware of > > any kernel developers in my area and unfortunately I don't get around > > much either.

Re: [PATCH 02/24] xen/arm: hypercalls

2012-07-27 Thread Christopher Covington
On 07/27/2012 05:19 AM, Ian Campbell wrote: > On Thu, 2012-07-26 at 20:19 +0100, Christopher Covington wrote: >> Hi Stefano, >> >> On 07/26/2012 11:33 AM, Stefano Stabellini wrote: >>> Use r12 to pass the hypercall number to the hypervisor. >>> >>> We need a register to pass the hypercall number

Re: [Xen-devel] [PATCH 02/24] xen/arm: hypercalls

2012-07-27 Thread Stefano Stabellini
On Fri, 27 Jul 2012, Ian Campbell wrote: > On Thu, 2012-07-26 at 17:33 +0100, Konrad Rzeszutek Wilk wrote: > > On Thu, Jul 26, 2012 at 04:33:44PM +0100, Stefano Stabellini wrote: > > > Use r12 to pass the hypercall number to the hypervisor. > > > > > > We need a register to pass the hypercall

Re: [PATCH] n_tty: Don't lose characters when PARMRK is enabled

2012-07-27 Thread Alan Cox
On Thu, 26 Jul 2012 17:12:31 -0500 Jaeden Amero wrote: > When PARMRK is set and large transfers of characters that will get > marked are being received, n_tty could drop data silently (i.e. > without reporting any error to the client). This is because > characters have the potential to take up

[PATCH] tty, add kref to sysrq handlers

2012-07-27 Thread Prarit Bhargava
On a large system with a large number of tasks, the output of echo t > /proc/sysrq-trigger can take a long period of time. If this period is greater than the period of the current clocksource, the clocksource watchdog will mark the clocksource as unstable and fail the clocksource over. The

Re: [PATCH] vxge: Declare MODULE_FIRMWARE usage

2012-07-27 Thread Tim Gardner
On 07/26/2012 01:55 PM, Jon Mason wrote: On Thu, Jul 26, 2012 at 12:08 PM, Tim Gardner wrote: Cc: Jon Mason Cc: "David S. Miller" Cc: Joe Perches Cc: Jiri Pirko Cc: Stephen Hemminger Cc: Paul Gortmaker Cc: net...@vger.kernel.org Signed-off-by: Tim Gardner ---

Re: [RFC PATCH] netconsole.txt: "nc" needs "-p" to specify the listening port

2012-07-27 Thread Borislav Petkov
On Fri, Jul 27, 2012 at 11:24:53AM +0200, Dirk Gouders wrote: > Cong Wang writes: > > > On Fri, Jul 27, 2012 at 2:35 PM, Dirk Gouders > > wrote: > >> Hi Jesse, > >> > >> I would like to ask you to check if the documentation of "nc" in > >> netconsole.txt is still correct. I tried two different

Re: [Xen-devel] [PATCH 02/24] xen/arm: hypercalls

2012-07-27 Thread Ian Campbell
On Fri, 2012-07-27 at 14:02 +0100, Stefano Stabellini wrote: > On Fri, 27 Jul 2012, Ian Campbell wrote: > > On Thu, 2012-07-26 at 17:33 +0100, Konrad Rzeszutek Wilk wrote: > > > On Thu, Jul 26, 2012 at 04:33:44PM +0100, Stefano Stabellini wrote: > > > > Use r12 to pass the hypercall number to the

Re: linux-next: Tree for July 25 (mfd/arizona)

2012-07-27 Thread Samuel Ortiz
Hi Randy On Wed, Jul 25, 2012 at 11:19:59AM -0700, Randy Dunlap wrote: > On 07/24/2012 09:30 PM, Stephen Rothwell wrote: > > > Hi all, > > > > > > Changes since 20120724: > > > > > > The mfd tree gained a conflict against Linus' tree. > > > > on i386 and x86_64: > > CONFIG_MFD_ARIZONA=y

Re: [PATCH] rtc: tps65910: Add RTC driver for TPS65910 PMIC RTC

2012-07-27 Thread Samuel Ortiz
Hi Venu, On Thu, Jul 26, 2012 at 12:05:19PM +0530, Venu Byravarasu wrote: > TPS65910 PMIC is a MFD with RTC as one of the device. > Adding RTC driver for supporting RTC device present > inside TPS65910 PMIC. > > Only support for RTC alarm is implemented as part of this patch. > > Signed-off-by:

Re: [PATCH] [RFC] [SCSI] mpt fusion: add support for 0x1000/0x0055

2012-07-27 Thread Jiri Kosina
On Sat, 21 Jul 2012, Jiri Kosina wrote: > The device identifies itself as > > 0d:05.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068 PCI-X > Fusion-MPT SAS (rev 01) Subsystem: NEC Corporation SAS1068 > > and seems to be functionally compatible with 0x0054 PID. > > The request for

Re: [PATCH 3/7] mfd: db8500-prcmu: Ensure AB8500 platform data is passed through MFD Core

2012-07-27 Thread Samuel Ortiz
Hi Lee, On Fri, Jul 27, 2012 at 01:38:50PM +0100, Lee Jones wrote: > When booting via platform code the AB8500 platform data is now passed > in though the DB8500. However, if pdata_size is not set it will not be > subsequently passed onto subordinate devices. This patch correctly > populates

Re: [PATCH 4/7] mfd: ab8500-core: Apply the AB8500 CODEC's compatible string to its MFD cell

2012-07-27 Thread Samuel Ortiz
Hi Lee, On Fri, Jul 27, 2012 at 01:38:51PM +0100, Lee Jones wrote: > Provide a compatible string for the AB8500 CODEC to aid in > configuration property look-up from its associated Device Tree > node. > > Signed-off-by: Lee Jones > --- > drivers/mfd/ab8500-core.c |1 + > 1 file changed, 1

[PATCH] n_tty: Don't lose characters when PARMRK is enabled

2012-07-27 Thread Jaeden Amero
When PARMRK is set and large transfers of characters that will get marked are being received, n_tty could drop data silently (i.e. without reporting any error to the client). This is because characters have the potential to take up to three bytes in the line discipline (when they get marked with

Re: [Xen-devel] [PATCH 02/24] xen/arm: hypercalls

2012-07-27 Thread Stefano Stabellini
On Fri, 27 Jul 2012, Ian Campbell wrote: > > > > Should this comment be by 'privcmd_call'? > > > > > > When we add a 5 argument hypercall I suppose we'll see the required > > > push/pop of r4 added to this macro too. > > > > For performance and simplicity I would add a second macro that push/pop

Re: [Xen-devel] [PATCH 03/24] xen/arm: page.h definitions

2012-07-27 Thread Stefano Stabellini
On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: > On Thu, Jul 26, 2012 at 04:33:45PM +0100, Stefano Stabellini wrote: > > ARM Xen guests always use paging in hardware, like PV on HVM guests in > > the X86 world. > > Nice, so no dealing with the P2M at all in the guest? Nope ;-) > >

[RFC patch] vm: clear swap entry before copying pte

2012-07-27 Thread Hillf Danton
If swap entry is cleared, we can see the reason that copying pte is interrupted. If due to page table lock held long enough, no need to increase swap count. Signed-off-by: Hillf Danton --- --- a/mm/memory.c Fri Jul 27 21:33:32 2012 +++ b/mm/memory.c Fri Jul 27 21:35:24 2012 @@

[PATCH v2] regmap: Don't lock in regmap_reinit_cache()

2012-07-27 Thread Dimitris Papastamos
When bus->fast_io is set, the locking here is done with spinlocks. This is currently true for the regmap-mmio bus implementation. While holding a spinlock we can't go to sleep, various operations like removing the debugfs entries or re-initializing the cache will sleep, therefore, shift the

Re: [Ksummit-2012-discuss] ARM mini-summit

2012-07-27 Thread Igor Grinberg
On 07/13/12 10:18, Tony Lindgren wrote: > * Kukjin Kim [120712 15:13]: >> >> +1 same here, I'm interested in ARM mini-summit :) > > Yeah me too! > +1 very interested and we have lot's of stuff to discuss -- Regards, Igor. -- To unsubscribe from this list: send the line "unsubscribe

[PATCH v2] regmap: Add regmap dummy driver

2012-07-27 Thread Dimitris Papastamos
Add a pseudo-driver for debugging and stress-testing the regmap/regcache APIs. A standard set of tools for working with this driver (mainly sh scripts) will be put in a repo at https://github.com/quantumdream/regmap-tools Some of these tests will require one to build with

Re: [PATCH 02/24] xen/arm: hypercalls

2012-07-27 Thread Stefano Stabellini
On Fri, 27 Jul 2012, Christopher Covington wrote: > On 07/27/2012 05:19 AM, Ian Campbell wrote: > > On Thu, 2012-07-26 at 20:19 +0100, Christopher Covington wrote: > >> Hi Stefano, > >> > >> On 07/26/2012 11:33 AM, Stefano Stabellini wrote: > >>> Use r12 to pass the hypercall number to the

[PATCH] tcp: perform DMA to userspace only if there is a task waiting for it

2012-07-27 Thread Jiri Kosina
Back in 2006, commit 1a2449a87b ("[I/OAT]: TCP recv offload to I/OAT") added support for receive offloading to IOAT dma engine if available. The code in tcp_rcv_established() tries to perform early DMA copy if applicable. It however does so without checking whether the userspace task is

[1/3][PATCH][v2] Adding documentation for TDM

2012-07-27 Thread sandeep
From: Sandeep Singh tdm-summary.txt contains general description about TDM. tdm-framework.txt contains specific description of TDM framework. Signed-off-by: Sandeep Singh Signed-off-by: Poonam Aggrwal --- Changes since v1: Incorporated Laight's comments. -Removed reference

[3/3][PATCH][v2] Added TDM device support and Freescale Starlite driver

2012-07-27 Thread sandeep
From: Sandeep Singh Freescale TDM controller consists of a TDM module supporting 128 channels running at up to 50 Mbps with 8-bit and 16-bit word size. The TDM bus connects gluelessly to most T1/E1 frames as well as to common buses such as the H.110, SCAS, and MVIP. TDM also supports an I2S

[2/3][PATCH][v2] TDM Framework

2012-07-27 Thread sandeep
From: Sandeep Singh TDM Framework is an attempt to provide a platform independent layer which can offer a standard interface for TDM access to different client modules. Beneath, the framework layer can house different types of TDM drivers to handle various TDM devices, the hardware intricacies

Re: [Xen-devel] [PATCH 17/24] xen: allow privcmd for HVM guests

2012-07-27 Thread Stefano Stabellini
On Fri, 27 Jul 2012, Jan Beulich wrote: > >>> On 26.07.12 at 17:33, Stefano Stabellini > >>> wrote: > > In order for privcmd mmap to work correctly, xen_remap_domain_mfn_range > > needs to be implemented for HVM guests. > > If it is not, mmap is going to fail later on. > > Somehow, for me at

Re: [2/3][PATCH][v2] TDM Framework

2012-07-27 Thread John Stoffel
> From: Sandeep Singh > TDM Framework is an attempt to provide a platform independent layer which can > offer a standard interface for TDM access to different client modules. Please don't use TLAs (Three Letter Acronyms) like TDM without explaining the clearly and up front. It makes it hard

[RFC PATCH 3/3] dma-bikeshed-fence: Hardware dma-buf implementation of fencing

2012-07-27 Thread Maarten Lankhorst
This type of fence can be used with hardware synchronization for simple hardware that can block execution until the condition dma_buf[offset] >= value has been met, accounting for wraparound. A software fallback still has to be provided in case the fence is used with a device that doesn't support

[RFC PATCH 2/3] dma-buf-mgr: multiple dma-buf synchronization (v2)

2012-07-27 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst dma-buf-mgr handles the case of reserving single or multiple dma-bufs while trying to prevent deadlocks from buffers being reserved simultaneously. For this to happen extra functions have been introduced: + dma_buf_reserve() + dma_buf_unreserve() +

[RFC PATCH 1/3] dma-fence: dma-buf synchronization (v5)

2012-07-27 Thread Maarten Lankhorst
A dma-fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another device. For example, userspace can call page_flip ioctl to display the next frame of graphics after kicking the GPU but while the GPU is still

Re: [Xen-devel] [PATCH 02/24] xen/arm: hypercalls

2012-07-27 Thread Russell King - ARM Linux
On Fri, Jul 27, 2012 at 02:02:18PM +0100, Stefano Stabellini wrote: > > > > +/** > > > > + * hypercall.h > > > > + * > > > > + * Linux-specific hypervisor handling. > > > > + * > > > > + * Stefano Stabellini , Citrix, 2012

Re: [RFC PATCH] fs/direct-io.c: Set bi_rw when alloc bio.

2012-07-27 Thread Jeff Moyer
majianpeng writes: > When exec bio_alloc, the bi_rw is zero.But after calling bio_add_page, > it will use bi_rw. > Fox example, in functiion __bio_add_page,it will call merge_bvec_fn(). > The merge_bvec_fn of raid456 will use the bi_rw to judge the merge. >>> if ((bvm->bi_rw & 1) == WRITE) >>>

<    2   3   4   5   6   7   8   9   10   >