Re: [PATCH tip/core/rcu 11/26] rcu: Exit RCU extended QS on user preemption

2012-09-12 Thread Frederic Weisbecker
On Wed, Sep 12, 2012 at 11:33:33AM +0200, Peter Zijlstra wrote: > On Mon, 2012-09-10 at 22:26 +0200, Frederic Weisbecker wrote: > > > > > OK, so colour me unconvinced.. why are we doing this? > > > > > > > > Typically when we call schedule nr_running != 1 (we need current to be > > > > running

[PATCH 1/1] leds: Add new LED driver for lm3642 chips

2012-09-12 Thread G.Shark Jeong
From: "G.Shark Jeong" This driver is a general version for LM642 led chip of TI. LM3642 : The LM3642 is a 4MHz fixed-frequency synchronous boost converter plus 1.5A constant current driver for a high-current white LED. The LM3642 is controlled via an I2C-compatible interface. Signed-off-by:

[PATCH 0/1] leds: Add new LED driver for lm3642 chips

2012-09-12 Thread G.Shark Jeong
From: "G.Shark Jeong" This driver is a general version for LM642 led chip of TI. LM3642 : The LM3642 is a 4MHz fixed-frequency synchronous boost converter plus 1.5A constant current driver for a high-current white LED. The LM3642 is controlled via an I2C-compatible interface. G.Shark Jeong

[PATCH V2] netfilter/iptables: Fix log-level processing

2012-09-12 Thread Joe Perches
auto75914...@hushmail.com reports that iptables does not correctly output the KERN_. $IPTABLES -A RULE_0_in -j LOG --log-level notice --log-prefix "DENY in: " result with linux 3.6-rc5 Sep 12 06:37:29 x kernel: <5>DENY in: IN=eth0 OUT= MAC=... result with linux 3.5.3 and older: Sep

RE: [PATCH] mmc: omap_hsmmc: Enable HSPE bit for high speed cards

2012-09-12 Thread Hebbar, Gururaja
On Wed, Sep 12, 2012 at 14:19:51, S, Venkatraman wrote: > On Tue, Sep 4, 2012 at 6:39 PM, Hebbar, Gururaja > wrote: > > HSMMC IP on AM33xx need a special setting to handle High-speed cards. > > Other platforms like TI81xx, OMAP4 may need this as-well. This depends > > on the HSMMC IP timing

Re: [PATCH 11/11] ASoC: omap-pcm: Convert to use dmaengine

2012-09-12 Thread Russell King - ARM Linux
On Wed, Sep 12, 2012 at 02:47:07PM +0300, Peter Ujfalusi wrote: > 2. Pause/Resume >OMAP DMA engine backend does not support pausing and resuming >an in-progress transfer. It is unclear from the specs what >effect clearing the enable bit has on the DMA position of a >destination

Re: [PATCH 03/20] Staging: ipack/bridges/tpci200: provide new callbacks to tpci200

2012-09-12 Thread Dan Carpenter
On Wed, Sep 12, 2012 at 01:21:17PM +0200, Samuel Iglesias Gonsálvez wrote: > On Wed, 2012-09-12 at 14:13 +0300, Dan Carpenter wrote: > > On Wed, Sep 12, 2012 at 11:28:33AM +0200, Jens Taprogge wrote: > > > On Tue, Sep 11, 2012 at 11:47:02AM +0300, Dan Carpenter wrote: > > > > > +static int

Re: [PATCH 03/20] Staging: ipack/bridges/tpci200: provide new callbacks to tpci200

2012-09-12 Thread Jens Taprogge
On Wed, Sep 12, 2012 at 02:13:30PM +0300, Dan Carpenter wrote: > On Wed, Sep 12, 2012 at 11:28:33AM +0200, Jens Taprogge wrote: > > On Tue, Sep 11, 2012 at 11:47:02AM +0300, Dan Carpenter wrote: > > > > +static int tpci200_get_clockrate(struct ipack_device *dev) > > > > +{ > > > > + struct

Re: [PATCH v3 00/31] AArch64 Linux kernel port

2012-09-12 Thread Arnd Bergmann
On Monday 10 September 2012, Jon Masters wrote: > On 09/07/2012 12:26 PM, Catalin Marinas wrote: > > This is the 3rd version of patches implementing Linux kernel support for > > the 64-bit ARM architecture. > > > > ...but the main goal was to freeze the user ABI. > > Is the consensus now that

[PATCH 05/11] ASoC: omap-pcm: Prepare to configure the DMA data_type based on stream properties

2012-09-12 Thread Peter Ujfalusi
Based on the format of the stream the omap-pcm can decide alone what data type should be used with by the sDMA. Keep the possibility for OMAP dai drivers to tell omap-pcm if they want to use different data type. This is needed for the omap-hdmi for example which needs 32bit data type even if the

[PATCH 06/11] ARM: OMAP4: hwmod_data: Add resource names to McPDM memory ranges

2012-09-12 Thread Peter Ujfalusi
To help the driver to get the correct memory range to access McPDM registers. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c

[PATCH 01/11] dmaengine: omap: Support for element mode in cyclic DMA

2012-09-12 Thread Peter Ujfalusi
When src_maxburst/dst_maxburst is set to 0 by the users of cyclic DMA (mostly audio) indicates that we should configure the omap DMA to element sync mode instead of packet mode. Signed-off-by: Peter Ujfalusi --- drivers/dma/omap-dma.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-)

[PATCH 07/11] ASoC: omap-mcpdm: Use platform_get_resource_* to get resources

2012-09-12 Thread Peter Ujfalusi
Get the needed resources in a correct way and avoid using defines for them. Signed-off-by: Peter Ujfalusi --- sound/soc/omap/omap-mcpdm.c | 28 +++- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/sound/soc/omap/omap-mcpdm.c b/sound/soc/omap/omap-mcpdm.c

[PATCH 09/11] ASoC: omap-pcm, omap-hdmi: Change the use of omap_pcm_dma_data->data_type

2012-09-12 Thread Peter Ujfalusi
Instead of the OMAP DMA data type definition the data_type will be used to specify the number of bits the DMA word should be configured or 0 in case when based on the stream's format the omap-pcm can decide the needed DMA word size. This feature is needed for the omap-hdmi where the sDMA need to

[PATCH 11/11] ASoC: omap-pcm: Convert to use dmaengine

2012-09-12 Thread Peter Ujfalusi
Original author: Russell King Switch the omap-pcm to use dmaengine. Certain features are not supported by after dmaengine conversion: 1. No period wakeup mode DMA engine has no way to communicate this information through standard channels. 2. Pause/Resume OMAP DMA engine backend does

[PATCH 10/11] ASoC: OMAP: mcbsp, mcpdm, dmic, hdmi: Set dma_data at startup time

2012-09-12 Thread Peter Ujfalusi
Set the dma_data for the stream (snd_soc_dai_set_dma_data) at dai_startup time so omap-pcm will have access to the needed information regarding to the DMA channel earlier. This is needed for the clean dmaengine support. Signed-off-by: Peter Ujfalusi --- sound/soc/omap/omap-dmic.c | 6 --

[PATCH 08/11] ASoC: OMAP: mcbsp, mcpdm, dmic: Let omap-pcm to pick the dma_type

2012-09-12 Thread Peter Ujfalusi
omap-pcm can figure out the correct dma_type based on the stream's format. In this way we can get rid of the plat/dma.h include from these drivers. Signed-off-by: Peter Ujfalusi --- sound/soc/omap/omap-dmic.c | 2 -- sound/soc/omap/omap-mcbsp.c | 3 --- sound/soc/omap/omap-mcpdm.c | 3 --- 3

[PATCH 04/11] ASoC: OMAP: Remove sync_mode from omap_pcm_dma_data struct

2012-09-12 Thread Peter Ujfalusi
The omap-pcm platform driver no longer needs this parameter to select between ELEMENT and PACKET mode. The selection is based on the configured packet_size. Signed-off-by: Peter Ujfalusi --- sound/soc/omap/omap-dmic.c | 1 - sound/soc/omap/omap-hdmi.c | 1 - sound/soc/omap/omap-mcbsp.c | 5

[PATCH 03/11] ASoC: omap-pcm: Select sDMA synchronization based on packet_size

2012-09-12 Thread Peter Ujfalusi
Since we only have element or packet synchronization we can use the dma_data->packet_size to select the desired mode: if packet_size is 0 we use ELEMENT mode if packet_size is not 0 we use PACKET mode for sDMA synchronization. Signed-off-by: Peter Ujfalusi --- sound/soc/omap/omap-pcm.c | 7

[PATCH 02/11] ASoC: omap-mcbsp: Use sDMA packet mode instead of frame mode

2012-09-12 Thread Peter Ujfalusi
When McBSP is configured in threshold mode we can use sDMA packet mode in all cases. Signed-off-by: Peter Ujfalusi --- sound/soc/omap/omap-mcbsp.c | 47 - 1 file changed, 17 insertions(+), 30 deletions(-) diff --git a/sound/soc/omap/omap-mcbsp.c

[PATCH 00/11] ASoC: OMAP: Convert to use dmaengine

2012-09-12 Thread Peter Ujfalusi
Hello, This series will switch the OMAP audio to use dmaengine. The final patch which does the switch was based on Russell King's earlier patch. The first 10 patch is to prepare the OMAP audio drivers for a smooth change to dmaengine: - sDMA FRAME sync mode is removed and replaced with PACKET

[PATCH] xen/m2p: do not reuse kmap_op->dev_bus_addr

2012-09-12 Thread Stefano Stabellini
If the caller passes a valid kmap_op to m2p_add_override, we use kmap_op->dev_bus_addr to store the original mfn, but dev_bus_addr is part of the interface with Xen and if we are batching the hypercalls it might not have been written by the hypervisor yet. That means that later on Xen will write

RE: [PATCH] coredump: prevent double-free on an error path in core dumper

2012-09-12 Thread Venu Byravarasu
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Denys Vlasenko > Sent: Wednesday, September 12, 2012 5:07 PM > To: Oleg Nesterov; linux-kernel@vger.kernel.org; Andrew Morton; Roland > McGrath > Cc: Denys Vlasenko

RE: [PATCH] mmc: omap_hsmmc: Enable HSPE bit for high speed cards

2012-09-12 Thread Hebbar, Gururaja
On Wed, Sep 12, 2012 at 14:51:34, Krishnamoorthy, Balaji T wrote: > On Tue, Sep 4, 2012 at 6:39 PM, Hebbar, Gururaja > wrote: > > HSMMC IP on AM33xx need a special setting to handle High-speed cards. > > Other platforms like TI81xx, OMAP4 may need this as-well. This depends > > on the HSMMC IP

[PATCH] coredump: prevent double-free on an error path in core dumper

2012-09-12 Thread Denys Vlasenko
In !CORE_DUMP_USE_REGSET case, if elf_note_info_init fails to allocate memory for info->fields, it frees already allocated stuff and returns error to its caller, fill_note_info. Which in turn returns error to its caller, elf_core_dump. Which jumps to cleanup label and calls free_note_info, which

Re: [PATCH] fs: prevent double-free on an error path in core dumper

2012-09-12 Thread Denys Vlasenko
On Tue, Sep 11, 2012 at 5:59 PM, Oleg Nesterov wrote: > What do you think about the patch below? Looks good. You know that I like to *remove* code :) -- vda -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

[RFC][PATCH] perf, intel: Expose SMI_COUNT as a fixed counter

2012-09-12 Thread Peter Zijlstra
Subject: perf, intel: Expose SMI_COUNT as a fixed counter From: Peter Zijlstra Date: Wed Sep 12 13:10:53 CEST 2012 The Intel SMI_COUNT sadly isn't a proper PMU event but a free-running MSR, expose it by creating another fake fixed PMC and another pseudo event. Signed-off-by: Peter Zijlstra ---

[PATCH 3/3] block: add back command filter modification via sysfs

2012-09-12 Thread Paolo Bonzini
This adds two new sysfs attributes to the queue kobject. The attributes allow reading and writing the whitelist of unprivileged commands. This is again a bit different from what was removed in commit 018e044 (block: get rid of queue-private command filter, 2009-06-26), but the idea is the same.

[PATCH 2/3] scsi: create an all-zero filter for scanners

2012-09-12 Thread Paolo Bonzini
Using /dev/sg for scanners is blocked from unprivileged users. Reimplement this using customizable command filters, so that the sysfs knobs will work in this case too. Cc: linux-s...@vger.kernel.org Signed-off-by: Paolo Bonzini --- drivers/scsi/scsi_scan.c |6 +- drivers/scsi/sg.c

[PATCH 1/3] block: add back queue-private command filter

2012-09-12 Thread Paolo Bonzini
The command filter used to be mutable via sysfs, but this was broken and backed out. Let's add it back. This patch adds the infrastructure for filtering, but unlike the old code this one just adds a pointer to request_queue, so as to make it cheaper in the majority of cases where no special

[PATCH 0/3] block: add queue-private command filter, editable via sysfs

2012-09-12 Thread Paolo Bonzini
[sorry for the resend, I used a wrong mailing list address] The set of use cases for SG_IO is quite variable that no single filter can accomodate all of them. The current filter is tailored very much to CD burning, and includes many MMC-specific commands that may have other meanings in different

[PATCH 3/3] block: add back command filter modification via sysfs

2012-09-12 Thread Paolo Bonzini
This adds two new sysfs attributes to the queue kobject. The attributes allow reading and writing the whitelist of unprivileged commands. This is again a bit different from what was removed in commit 018e044 (block: get rid of queue-private command filter, 2009-06-26), but the idea is the same.

[PATCH 2/3] scsi: create an all-zero filter for scanners

2012-09-12 Thread Paolo Bonzini
Using /dev/sg for scanners is blocked from unprivileged users. Reimplement this using customizable command filters, so that the sysfs knobs will work in this case too. Cc: linux-is...@vger.kernel.org Signed-off-by: Paolo Bonzini --- drivers/scsi/scsi_scan.c |6 +- drivers/scsi/sg.c

[PATCH 1/3] block: add back queue-private command filter

2012-09-12 Thread Paolo Bonzini
The command filter used to be mutable via sysfs, but this was broken and backed out. Let's add it back. This patch adds the infrastructure for filtering, but unlike the old code this one just adds a pointer to request_queue, so as to make it cheaper in the majority of cases where no special

[PATCH 0/3] block: add queue-private command filter, editable via sysfs

2012-09-12 Thread Paolo Bonzini
The set of use cases for SG_IO is quite variable that no single filter can accomodate all of them. The current filter is tailored very much to CD burning, and includes many MMC-specific commands that may have other meanings in different standards. Someone may want to remove those commands; at

Re: [PATCH] perf: Introduce function to report unsupported syscall attribute flags

2012-09-12 Thread Peter Zijlstra
On Wed, 2012-09-12 at 13:01 +0200, Robert Richter wrote: > + if (notsup) > + pr_warn("perf: unsupported attribute flags: %016llx\n", > notsup); This is a dmesg DoS.. I'm also not sure dmesg is the right way.. could we not somehow change the attrs to provide better

Re: [PATCH 03/20] Staging: ipack/bridges/tpci200: provide new callbacks to tpci200

2012-09-12 Thread Samuel Iglesias Gonsálvez
On Wed, 2012-09-12 at 14:13 +0300, Dan Carpenter wrote: > On Wed, Sep 12, 2012 at 11:28:33AM +0200, Jens Taprogge wrote: > > On Tue, Sep 11, 2012 at 11:47:02AM +0300, Dan Carpenter wrote: > > > > +static int tpci200_get_clockrate(struct ipack_device *dev) > > > > +{ > > > > + struct

Re: [PATCH 1/2] module: add syscall to load module from fd

2012-09-12 Thread Rusty Russell
"H. Peter Anvin" writes: > On 09/06/2012 11:13 AM, Kees Cook wrote: >> Instead of (or in addition to) kernel module signing, being able to reason >> about the origin of a kernel module would be valuable in situations >> where an OS already trusts a specific file system, file, etc, due to >>

Re: [PATCH] btrfs: Kill some bi_idx references

2012-09-12 Thread Stefan Behrens
On Tue, 11 Sep 2012 14:31:14 -0700, Kent Overstreet wrote: > For immutable bio vecs, I've been auditing and removing bi_idx > references. These were harmless, but removing them will make auditing > easier. > > scrub_bio_end_io_worker() was open coding a bio_reset() - but this > doesn't appear to

[PATCH] USB: phy: re-organize tegra phy driver

2012-09-12 Thread Venu Byravarasu
Nvidia produces several Tegra SOCs viz Tegra2, Tegra3 etc. In order to support USB phy drivers on these SOCs, existing phy driver is split into SOC agnostic common USB phy driver and tegra2 specific USB phy driver. This will facilitate easy addition & deletion of phy drivers for Tegra SOCs.

Re: [PATCH 03/20] Staging: ipack/bridges/tpci200: provide new callbacks to tpci200

2012-09-12 Thread Dan Carpenter
On Wed, Sep 12, 2012 at 11:28:33AM +0200, Jens Taprogge wrote: > On Tue, Sep 11, 2012 at 11:47:02AM +0300, Dan Carpenter wrote: > > > +static int tpci200_get_clockrate(struct ipack_device *dev) > > > +{ > > > + struct tpci200_board *tpci200 = check_slot(dev); > > > + __le16 __iomem *addr; > > > >

[PATCH] perf: Introduce function to report unsupported syscall attribute flags

2012-09-12 Thread Robert Richter
Often a syscall fails with Error: sys_perf_event_open() syscall returned with 95 (Operation not supported). /bin/dmesg may provide additional information. but no additional information. This patch adds some macro magic and a helper function to check and report unsupported syscall attribute

[PATCH] perf, ibs: Add sysfs support

2012-09-12 Thread Robert Richter
Add sysfs format entries for ibs pmus: # find /sys/bus/event_source/devices/ibs_*/format /sys/bus/event_source/devices/ibs_fetch/format /sys/bus/event_source/devices/ibs_fetch/format/rand_en /sys/bus/event_source/devices/ibs_op/format /sys/bus/event_source/devices/ibs_op/format/cnt_ctl This

Re: mtd: kernel BUG at arch/x86/mm/pat.c:279!

2012-09-12 Thread Sasha Levin
On 09/12/2012 12:50 PM, Sasha Levin wrote: > On 09/09/2012 04:56 PM, Suresh Siddha wrote: >> On Sat, 2012-09-08 at 12:57 -0700, Linus Torvalds wrote: Whatever. Something like this (TOTALLY UNTESTED) attached patch should get the mtdchar overflows to go away, >> It looks good to me.

Re: [PATCH 12/19] i2c-nomadik: Register sub-devices when passed via Device Tree

2012-09-12 Thread Wolfram Sang
On Mon, Sep 10, 2012 at 04:42:36AM -0700, Linus Walleij wrote: > On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: > > > Each I2C device can be correctly probed already using Device Tree, > > but the sub-devices still have to be registered by calls to > > i2c_register_board_info(). After this

Re: mtd: kernel BUG at arch/x86/mm/pat.c:279!

2012-09-12 Thread Sasha Levin
On 09/09/2012 04:56 PM, Suresh Siddha wrote: > On Sat, 2012-09-08 at 12:57 -0700, Linus Torvalds wrote: >> > Whatever. Something like this (TOTALLY UNTESTED) attached patch should >> > get the mtdchar overflows to go away, > It looks good to me. Acked-by: Suresh Siddha > > Sasha, can you please

Re: [PATCH v2 2/2] virtio-ring: Allocate indirect buffers from cache when possible

2012-09-12 Thread Sasha Levin
On 09/12/2012 08:13 AM, Rusty Russell wrote: > The real question is now whether we'd want a separate indirect cache for > the 3 case (so num above should be a bitmap?), or reuse the same one, or > not use it at all? > > Benchmarking will tell... Since there are no specific decisions about actual

RE: [PATCH 02/16] ARM: davinci: move platform_data definitions

2012-09-12 Thread Hebbar, Gururaja
On Tue, Sep 11, 2012 at 18:29:36, Arnd Bergmann wrote: > Platform data for device drivers should be defined in > include/linux/platform_data/*.h, not in the architecture > and platform specific directories. > > This moves such data out of the davinci include directories > > Signed-off-by: Arnd

[PATCH] plist: Make plist test announcements KERN_DEBUG

2012-09-12 Thread Borislav Petkov
From: Borislav Petkov They show up in dmesg [4.041094] start plist test [4.045804] end plist test without a lot of meaning so hide them behind debug loglevel. Signed-off-by: Borislav Petkov Cc: Lai Jiangshan Cc: Steven Rostedt Cc: Paul Gortmaker --- lib/plist.c | 4 ++-- 1 file

Re: [PATCH 2/2] memory-hotplug: don't replace lowmem pages with highmem

2012-09-12 Thread Michal Nazarewicz
On Wed, Sep 12 2012, Minchan Kim wrote: > [1] reporeted that lowmem pages could be replaced by > highmem pages during migration of CMA and fixed. > > Quote from [1]'s description > " > The filesystem layer expects pages in the block device's mapping to not > be in highmem (the mapping's

Re: [RFC] tty/serial/kgdboc: Add and wire up clear_irqs callback

2012-09-12 Thread Anton Vorontsov
On Wed, Sep 12, 2012 at 10:44:20AM +0100, Alan Cox wrote: > > Of course, if Alan is OK with this, I'm more than OK too. :-) > > It may well be better. > > > (But the polling routines would need to clear all interrupts, not > > just rx/tx. For example, if the controller indicated some error, and

Re: [PATCH 1/2] mm: refactor out __alloc_contig_migrate_alloc

2012-09-12 Thread Michal Nazarewicz
On Wed, Sep 12 2012, Minchan Kim wrote: > __alloc_contig_migrate_alloc can be used by memory-hotplug so > refactor out(move + rename as a common name) it into > page_isolation.c. > > Cc: Kamezawa Hiroyuki > Cc: Yasuaki Ishimatsu > Cc: Michal Nazarewicz Acked-by: Michal Nazarewicz > Cc:

Re: [PATCH v3 11/31] arm64: IRQ handling

2012-09-12 Thread Catalin Marinas
On Fri, Sep 07, 2012 at 08:37:18PM +0100, Arnd Bergmann wrote: > On Friday 07 September 2012, Catalin Marinas wrote: > > > +#define __inc_irq_stat(cpu, member)__IRQ_STAT(cpu, member)++ > > +#define __get_irq_stat(cpu, member)__IRQ_STAT(cpu, member) > > Isn't this something that

[PATCH 6/8] sta2x11-mfd : use one lock per device instead of one lock per mfd.

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi The lock is used to implement atomic operations on each platform device's registers, so it looks reasonable having one lock per device instead of one common lock for all the devices belonging to the same sta2x11 instance. Signed-off-by: Davide Ciminaghi ---

[PATCH 5/8] sta2x11-mfd : platform probe: don't mind about gpio platform data

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi The gpio platform driver will take care of its platform data, let's not do any checks here. Signed-off-by: Davide Ciminaghi --- drivers/mfd/sta2x11-mfd.c | 11 --- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/drivers/mfd/sta2x11-mfd.c

[PATCH 3/8] sta2x11-mfd : use defines for platform devices' names

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi Since there are now many sta2x11-mfd platform devices, using defines for their names looks like a better solution. Signed-off-by: Davide Ciminaghi --- drivers/mfd/sta2x11-mfd.c | 42 -- include/linux/mfd/sta2x11-mfd.h |8

[PATCH 7/8] sta2x11-mfd : add defines for some sta2x11 sctl registers.

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi These are required for the clock infrastructure code to properly configure and control the sta2x11 PLLs. Signed-off-by: Davide Ciminaghi --- include/linux/mfd/sta2x11-mfd.h | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git

Re: [v2 PATCH 2/2] netprio_cgroup: Use memcpy instead of the for-loop to copy priomap

2012-09-12 Thread Srivatsa S. Bhat
On 09/12/2012 01:54 PM, Srivatsa S. Bhat wrote: > On 09/12/2012 01:19 PM, David Miller wrote: >> From: "Srivatsa S. Bhat" >> Date: Wed, 12 Sep 2012 11:37:47 +0530 >> >>> + memcpy(new_priomap->priomap, old_priomap->priomap, >>> + old_priomap->priomap_len * >>> +

[PATCH 8/8] sta2x11-mfd : add myself to copyright

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi Signed-off-by: Davide Ciminaghi --- drivers/mfd/sta2x11-mfd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/sta2x11-mfd.c b/drivers/mfd/sta2x11-mfd.c index 2c6f777..d5ce5e3 100644 --- a/drivers/mfd/sta2x11-mfd.c +++

[PATCH 1/8] sta2x11-mfd : add apb-soc regs driver and factor out common code

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi A driver for the apb-soc registers is needed by the clock infrastructure code to configure and control clocks on the sta2x11 chip. Since some of the functions in sta2x11-mfd.c were almost identical for the two existing platform devices, the following changes have been

[PATCH 2/8] sta2x11-mfd : add sta2x11_mfd_get_regs_data() function

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi A couple of predefined clocks (mux and gated) need to be initialized with the virtual address of the clock's controlling register and the address of a spinlock used to protect against races. This function exports such data for all the mfd cells. Signed-off-by: Davide

[PATCH 4/8] sta2x11-mfd : only add sta2x11_mfd if it hasn't already been added

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi The pci probe method is called twice now, so we have to call sta2x11_mfd_add() only once to avoid a -EBUSY error. Signed-off-by: Davide Ciminaghi --- drivers/mfd/sta2x11-mfd.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

[PATCH 0/8 RESEND] sta2x11-mfd patches

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi Hi, this is a resend of a patchset dated Jun 10th (see https://lkml.org/lkml/2012/6/10/188) even if some of the commits have been squashed. I'm working on the implementation of the common clock framework for the STA2X11 (aka CONNEXT) soc. To configure, enable and disable

Re: [GIT] Digital signature library bugfix

2012-09-12 Thread Kasatkin, Dmitry
On Wed, Sep 12, 2012 at 8:38 AM, Linus Torvalds wrote: > On Wed, Sep 12, 2012 at 11:34 AM, James Morris wrote: >> >> - if (!err && len == hlen) >> - err = memcmp(out2, h, hlen); >> + if (err || len != hlen) { >> + err = -EINVAL; >> + goto

Re: iwl3945: order 5 allocation during ifconfig up; vm problem?

2012-09-12 Thread Mel Gorman
On Tue, Sep 11, 2012 at 04:25:36PM -0700, Andrew Morton wrote: > On Mon, 10 Sep 2012 13:11:13 +0200 > Pavel Machek wrote: > > > On Sun 2012-09-09 15:40:55, David Rientjes wrote: > > > On Sun, 9 Sep 2012, Pavel Machek wrote: > > > > > > > On 3.6.0-rc2+, I tried to turn on the wireless, but got >

sta2x11-mfd patches

2012-09-12 Thread Davide Ciminaghi
Hi, I made a mistake sending the sta2x11-mfd patches (patch number 0007 is repeated twice). I'm about to resend in few minutes, and hopefully will get it right this time. Sorry for the noise Davide -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[PATCH 1/8] sta2x11-mfd : add apb-soc regs driver and factor out common code

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi A driver for the apb-soc registers is needed by the clock infrastructure code to configure and control clocks on the sta2x11 chip. Since some of the functions in sta2x11-mfd.c were almost identical for the two existing platform devices, the following changes have been

[PATCH 4/8] sta2x11-mfd : only add sta2x11_mfd if it hasn't already been added

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi The pci probe method is called twice now, so we have to call sta2x11_mfd_add() only once to avoid a -EBUSY error. Signed-off-by: Davide Ciminaghi --- drivers/mfd/sta2x11-mfd.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

[PATCH 5/8] sta2x11-mfd : platform probe: don't mind about gpio platform data

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi The gpio platform driver will take care of its platform data, let's not do any checks here. Signed-off-by: Davide Ciminaghi --- drivers/mfd/sta2x11-mfd.c | 11 --- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/drivers/mfd/sta2x11-mfd.c

[PATCH 7/8] sta2x11-mfd : add defines for sctl registers

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi Signed-off-by: Davide Ciminaghi --- include/linux/mfd/sta2x11-mfd.h | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/include/linux/mfd/sta2x11-mfd.h b/include/linux/mfd/sta2x11-mfd.h index 9de20fd..2c29924 100644 ---

[PATCH 3/8] sta2x11-mfd : use defines for platform devices' names

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi Since there are now many sta2x11-mfd platform devices, using defines for their names looks like a better solution. Signed-off-by: Davide Ciminaghi --- drivers/mfd/sta2x11-mfd.c | 42 -- include/linux/mfd/sta2x11-mfd.h |8

[PATCH 7/8] sta2x11-mfd : add defines for some sta2x11 sctl registers.

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi These are required for the clock infrastructure code to properly configure and control the sta2x11 PLLs. Signed-off-by: Davide Ciminaghi --- include/linux/mfd/sta2x11-mfd.h | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git

[PATCH 8/8] sta2x11-mfd : add myself to copyright

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi Signed-off-by: Davide Ciminaghi --- drivers/mfd/sta2x11-mfd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/sta2x11-mfd.c b/drivers/mfd/sta2x11-mfd.c index 2c6f777..d5ce5e3 100644 --- a/drivers/mfd/sta2x11-mfd.c +++

[PATCH 6/8] sta2x11-mfd : use one lock per device instead of one lock per mfd.

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi The lock is used to implement atomic operations on each platform device's registers, so it looks reasonable having one lock per device instead of one common lock for all the devices belonging to the same sta2x11 instance. Signed-off-by: Davide Ciminaghi ---

[PATCH 2/8] sta2x11-mfd : add sta2x11_mfd_get_regs_data() function

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi A couple of predefined clocks (mux and gated) need to be initialized with the virtual address of the clock's controlling register and the address of a spinlock used to protect against races. This function exports such data for all the mfd cells. Signed-off-by: Davide

[PATCH 0/8 RESEND] sta2x11-mfd patches

2012-09-12 Thread ciminaghi
From: Davide Ciminaghi Hi, this is a resend of a patchset dated Jun 10th (see https://lkml.org/lkml/2012/6/10/188) even if some of the commits have been squashed. I'm working on the implementation of the common clock framework for the STA2X11 (aka CONNEXT) soc. To configure, enable and disable

Re: [PATCH v4 0/8] Avoid cache trashing on clearing huge/gigantic page

2012-09-12 Thread Kirill A. Shutemov
Hi, Any feedback? -- Kirill A. Shutemov signature.asc Description: Digital signature

[PATCH v3 10/10] thp: implement refcounting for huge zero page

2012-09-12 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" H. Peter Anvin doesn't like huge zero page which sticks in memory forever after the first allocation. Here's implementation of lockless refcounting for huge zero page. We have two basic primitives: {get,put}_huge_zero_page(). They manipulate reference counter. If

[PATCH v4] pwm: Fix compilation error when CONFIG_PWM is not defined

2012-09-12 Thread Tushar Behera
Add dummy implemention of public symbols for compilation-safe inclusion of include/linux/pwm.h file when CONFIG_PWM is not defined. Reported-by: Sachin Kamat Signed-off-by: Tushar Behera --- Changes since v3: * Nitpicks Changes since v2: * #if condition for legacy functions modified * Reverted

Re: [PATCH] ARM: suspend: use flush range instead of flush all

2012-09-12 Thread Shilimkar, Santosh
On Wed, Sep 12, 2012 at 3:16 PM, Russell King - ARM Linux wrote: > On Wed, Sep 12, 2012 at 02:40:45PM +0530, Shilimkar, Santosh wrote: >> On Wed, Sep 12, 2012 at 2:24 PM, Russell King - ARM Linux >> wrote: >> > On Wed, Sep 12, 2012 at 01:13:33PM +0530, Shilimkar, Santosh wrote: >> >> On Wed, Sep

Re: [RFC PATCH v1 19/22] PCI/x86: enable PCI bus lock mechanism for x86 platforms

2012-09-12 Thread Jiang Liu
On 2012-9-12 7:22, Bjorn Helgaas wrote: > On Tue, Aug 7, 2012 at 10:10 AM, Jiang Liu wrote: >> This patch turns on PCI bus lock mechanism for x86 platforms. It also >> enhances x86 specific PCI implementation to support PCI bus lock. >> >> Signed-off-by: Jiang Liu >> --- >> arch/x86/pci/acpi.c

[PATCH v6 3/4] tegra: dt: add label to tegra20's PWM

2012-09-12 Thread Alexandre Courbot
This is necessary to reference the PWM in board device trees. Signed-off-by: Alexandre Courbot --- arch/arm/boot/dts/tegra20.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 405d167..67a6cd9 100644 ---

[PATCH v6 4/4] tegra: ventana: add pwm backlight DT nodes

2012-09-12 Thread Alexandre Courbot
Signed-off-by: Alexandre Courbot --- arch/arm/boot/dts/tegra20-ventana.dts | 59 ++- 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra20-ventana.dts b/arch/arm/boot/dts/tegra20-ventana.dts index 3e5952f..4ca3ceb 100644 ---

[PATCH v6 1/4] Runtime Interpreted Power Sequences

2012-09-12 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 -

[PATCH v6 2/4] pwm_backlight: use power sequences

2012-09-12 Thread Alexandre Courbot
Make use of the power sequences specified in the device tree or platform data to control how the backlight is powered on and off. Signed-off-by: Alexandre Courbot --- .../bindings/video/backlight/pwm-backlight.txt | 65 +++- drivers/video/backlight/Kconfig| 1 +

[PATCH v6 0/4] Runtime Interpreted Power Sequences

2012-09-12 Thread Alexandre Courbot
New revision of the power sequences, taking as usual the feedback that was kindly provided about the last version. I think now is a good time to discuss integrating this and to start looking for a maintainer who would be willing to merge this into his/her tree (I am especially thinking about the

Re: [PATCH] ARM: suspend: use flush range instead of flush all

2012-09-12 Thread Russell King - ARM Linux
On Wed, Sep 12, 2012 at 02:40:45PM +0530, Shilimkar, Santosh wrote: > On Wed, Sep 12, 2012 at 2:24 PM, Russell King - ARM Linux > wrote: > > On Wed, Sep 12, 2012 at 01:13:33PM +0530, Shilimkar, Santosh wrote: > >> On Wed, Sep 12, 2012 at 12:48 PM, wzch wrote: > >> > void __cpu_suspend_save(u32

RE: [PATCH v7 1/8] Talitos: Support for async_tx XOR offload

2012-09-12 Thread Liu Qiang-B32616
> >> Will this engine be coordinating with another to handle memory copies? > >> The dma mapping code for async_tx/raid is broken when dma mapping > >> requests overlap or cross dma device boundaries [1]. > >> > >> [1]: http://marc.info/?l=linux-arm-kernel=129407269402930=2 > > Yes, it needs

[PATCH] at24: make module parameters changeable via sysfs

2012-09-12 Thread Uwe Kleine-König
The respective values are evaluated at each read/write, so no further action is required than to change the perm argument to module_param. Note there is no sanity check so root can make the driver effectively unusable but that's what root is for :-) Signed-off-by: Uwe Kleine-König ---

Re: [PATCH v3] pwm: Fix compilation error when CONFIG_PWM is not defined

2012-09-12 Thread Thierry Reding
On Wed, Sep 12, 2012 at 02:30:12PM +0530, Tushar Behera wrote: > Add dummy implemention of public symbols for compilation-safe inclusion > of include/linux/pwm.h file when CONFIG_PWM is not defined. > > Reported-by: Sachin Kamat > Signed-off-by: Tushar Behera > --- > Changes since v2: > * #if

Re: [PATCH tip/core/rcu 11/26] rcu: Exit RCU extended QS on user preemption

2012-09-12 Thread Peter Zijlstra
On Mon, 2012-09-10 at 22:26 +0200, Frederic Weisbecker wrote: > > > OK, so colour me unconvinced.. why are we doing this? > > > > > > Typically when we call schedule nr_running != 1 (we need current to be > > > running and a possible target to switch to). > > > > > > So I'd prefer to simply

[PATCH v2] kbuild: setlocalversion: ignore private tags while reporting local version

2012-09-12 Thread Tushar Behera
The output of 'git describe' is relative to the immediate preceding tag. When the immediate tag preceding or at the HEAD is a private tag, setlocalversion extracts information with respect to the private tag and wrongly reports them with respect to Linux tag. Fixing this to extract information

Re: [PATCH v3 09/31] arm64: Cache maintenance routines

2012-09-12 Thread Catalin Marinas
Hi Simon, On Fri, Sep 07, 2012 at 08:35:42PM +0100, Simon Baatz wrote: > On Fri, Sep 07, 2012 at 05:26:44PM +0100, Catalin Marinas wrote: > > +#define ARCH_HAS_FLUSH_ANON_PAGE > > +static inline void flush_anon_page(struct vm_area_struct *vma, > > + struct page *page,

Re: [PATCH 03/20] Staging: ipack/bridges/tpci200: provide new callbacks to tpci200

2012-09-12 Thread Jens Taprogge
On Tue, Sep 11, 2012 at 11:47:02AM +0300, Dan Carpenter wrote: > > I had a few style comments on this patchset. Nothing that couldn't > be fixed later. > > On Mon, Sep 10, 2012 at 10:51:41AM +0200, Samuel Iglesias Gonsálvez wrote: > > From: Jens Taprogge > > > > Provide get_clockrate,

Re: [RFC] tty/serial/kgdboc: Add and wire up clear_irqs callback

2012-09-12 Thread Alan Cox
> Of course, if Alan is OK with this, I'm more than OK too. :-) It may well be better. > (But the polling routines would need to clear all interrupts, not > just rx/tx. For example, if the controller indicated some error, and > nobody clears it, then we'll start reentering infinitely.) For a

Re: iwl3945: order 5 allocation during ifconfig up; vm problem?

2012-09-12 Thread Stanislaw Gruszka
On Tue, Sep 11, 2012 at 04:25:36PM -0700, Andrew Morton wrote: > On Mon, 10 Sep 2012 13:11:13 +0200 > Pavel Machek wrote: > > > On Sun 2012-09-09 15:40:55, David Rientjes wrote: > > > On Sun, 9 Sep 2012, Pavel Machek wrote: > > > > > > > On 3.6.0-rc2+, I tried to turn on the wireless, but got >

Re: [PATCH] mmc: omap_hsmmc: Enable HSPE bit for high speed cards

2012-09-12 Thread T Krishnamoorthy, Balaji
On Tue, Sep 4, 2012 at 6:39 PM, Hebbar, Gururaja wrote: > HSMMC IP on AM33xx need a special setting to handle High-speed cards. > Other platforms like TI81xx, OMAP4 may need this as-well. This depends > on the HSMMC IP timing closure done for the high speed cards. > > From AM335x TRM (SPRUH73F -

Re: [PATCH] ARM: suspend: use flush range instead of flush all

2012-09-12 Thread Shilimkar, Santosh
On Wed, Sep 12, 2012 at 2:28 PM, Lorenzo Pieralisi wrote: > On Wed, Sep 12, 2012 at 08:43:33AM +0100, Shilimkar, Santosh wrote: >> + Lorenzo, >> >> On Wed, Sep 12, 2012 at 12:48 PM, wzch wrote: >> > From: Wenzeng Chen >> > >> > In cpu suspend function __cpu_suspend_save(), we save cp15

Re: [PATCH 1/4] staging: omap-thermal: Correct checkpatch.pl warnings

2012-09-12 Thread Valentin, Eduardo
Hello Dan, On Wed, Sep 12, 2012 at 11:26 AM, Dan Carpenter wrote: > On Wed, Sep 12, 2012 at 11:11:27AM +0300, Dan Carpenter wrote: >> On Tue, Sep 11, 2012 at 07:06:52PM +0300, Eduardo Valentin wrote: >> > From: J Keerthy >> > >> > Removes checkpatch warnings on omap-bandgap.c. >> > >> >> Which

Re: [PATCH] ARM: suspend: use flush range instead of flush all

2012-09-12 Thread Shilimkar, Santosh
On Wed, Sep 12, 2012 at 2:24 PM, Russell King - ARM Linux wrote: > On Wed, Sep 12, 2012 at 01:13:33PM +0530, Shilimkar, Santosh wrote: >> On Wed, Sep 12, 2012 at 12:48 PM, wzch wrote: >> > void __cpu_suspend_save(u32 *ptr, u32 ptrsz, u32 sp, u32 *save_ptr) >> > { >> > + u32 *ptr_orig =

<    4   5   6   7   8   9   10   11   12   13   >