RE: drivers/mfd/tps65090.c: duplicated TPS65090_INT_STS tests

2012-07-30 Thread Venu Byravarasu
Thanks for catching typo. Plz push a patch with fix. Thanks, Venu -Original Message- From: Fengguang Wu [mailto:fengguang...@intel.com] Sent: Saturday, July 28, 2012 6:05 PM To: Venu Byravarasu Cc: Samuel Ortiz; Axel Lin; kernel-janit...@vger.kernel.org; LKML Subject:

Re: [REPOST #3 PATCH v2] Input: atkbd - make repeat period more accurate.

2012-07-30 Thread Dmitry Torokhov
On Thu, Jul 26, 2012 at 11:15:24AM -0400, George Spelvin wrote: Thanks for the response! I'd been checking mailing list archive sites to see if my submissions were making it out to the list. In addition to a slightly inaccurate lookup table, the old code would round up to the next repeat

Re: [PATCH] MMC/omap_hsmmc: handle failure of regulator_get better.

2012-07-30 Thread NeilBrown
On Mon, 30 Jul 2012 10:50:36 +0530 Rajendra Nayak rna...@ti.com wrote: On Monday 30 July 2012 05:42 AM, NeilBrown wrote: 1/ if regulator_get fails, return an error. This is important if it failed with EPROBE_DEFER, as the probe needs to be deferred. 2/ Don't set .set_power

Re: [PATCH V4 3/3] virtio-blk: Add bio-based IO path for virtio-blk

2012-07-30 Thread Asias He
Hello Sasha, On 07/28/2012 02:35 PM, Sasha Levin wrote: On 07/28/2012 04:21 AM, Asias He wrote: This patch introduces bio-based IO path for virtio-blk. Compared to request-based IO path, bio-based IO path uses driver provided -make_request_fn() method to bypasses the IO scheduler. It handles

[PATCH v3] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list

2012-07-30 Thread Wang Sen
When using the commands below to write some data to a virtio-scsi LUN of the QEMU guest(32-bit) with 1G physical memory(qemu -m 1024), the qemu will crash. # sudo mkfs.ext4 /dev/sdb (/dev/sdb is the virtio-scsi LUN.) # sudo mount /dev/sdb /mnt # dd if=/dev/zero

Re: [net-next RFC V5 3/5] virtio: intorduce an API to set affinity for a virtqueue

2012-07-30 Thread Paolo Bonzini
Il 29/07/2012 22:40, Michael S. Tsirkin ha scritto: Did you set the affinity manually in your experiments, or perhaps there is a difference between scsi and networking... (interrupt mitigation?) You need to run irqbalancer in guest to make it actually work. Do you? Yes, of course, now on

Re: kernel BUG at fs/buffer.c:2886! Linux 3.5.0

2012-07-30 Thread Joel Becker
On Sat, Jul 28, 2012 at 12:18:30AM +0200, Vincent ETIENNE wrote: Hello Get this on first write made ( by deliver sending mail to inform of the restart of services ) Home partition (the one receiving the mail) is based on ocfs2 created from drbd block device in primary/primary mode These

[PATCH] power_supply: Add new power supply properties CHARGE_CURRENT/VOLTAGE_MAX

2012-07-30 Thread Ramakrishna Pallala
There are different types of chargers avalibale like AC, Solar, USB, etc.. Even in USB we have different types SDP/DCP/CDP/ACA and all these chargers have different o/p ratings. For example SDP supports only 500mA of charge current whereas AC charger can support upto 8A or more. Similarly

[GIT] security subsystem bugfixes

2012-07-30 Thread James Morris
Please pull these fixes for your curren tree. The following changes since commit f7da9cdf45cbbad5029d4858dcbc0134e06084ed: Linus Torvalds (1): Merge git://git.kernel.org/.../davem/net are available in the git repository at:

Re: [PATCH] MMC/omap_hsmmc: handle failure of regulator_get better.

2012-07-30 Thread Rajendra Nayak
On Monday 30 July 2012 11:54 AM, NeilBrown wrote: On Mon, 30 Jul 2012 10:50:36 +0530 Rajendra Nayakrna...@ti.com wrote: On Monday 30 July 2012 05:42 AM, NeilBrown wrote: 1/ if regulator_get fails, return an error. This is important if it failed with EPROBE_DEFER, as the probe needs to

[PATCH] drivers: net: irda: bfin_sir: fix compile error

2012-07-30 Thread Bob Liu
From: Sonic Zhang sonic.zh...@analog.com Bit IREN is replaced by UMOD_IRDA and UMOD_MASK since blackfin 60x added, but this driver didn't update which will cause bfin_sir build error: drivers/net/irda/bfin_sir.c:161:9: error: 'IREN' undeclared (first use in this function)

Re: [PATCH] MMC/omap_hsmmc: handle failure of regulator_get better.

2012-07-30 Thread NeilBrown
On Mon, 30 Jul 2012 12:07:09 +0530 Rajendra Nayak rna...@ti.com wrote: On Monday 30 July 2012 11:54 AM, NeilBrown wrote: On Mon, 30 Jul 2012 10:50:36 +0530 Rajendra Nayakrna...@ti.com wrote: On Monday 30 July 2012 05:42 AM, NeilBrown wrote: 1/ if regulator_get fails, return an error.

Re: [Bisected] commit 71574865 (vfs: do_last(): common slow lookup) breaks CUPS printing

2012-07-30 Thread Al Viro
On Sat, Jul 28, 2012 at 12:43:16PM +0200, Markus Trippelsdorf wrote: Printing with CUPS is broken on the current git tree. Whenever I print a page the job just sits in the CUPS queue showing processing. But it never reaches the printer. (My CUPS version is 1.5.2. Filesystem is xfs.) I've

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

2012-07-30 Thread Lee Jones
On 29/07/12 21:42, Mark Brown wrote: On Fri, Jul 27, 2012 at 01:45:49PM +0100, Lee Jones wrote: + if (of_get_property(np, stericsson,use-pinctrl, NULL)) + msp-use_pinctrl = true; + else + msp-use_pinctrl = false; I don't recall seeing any response to

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

2012-07-30 Thread Lee Jones
On 29/07/12 21:45, Mark Brown wrote: On Fri, Jul 27, 2012 at 01:45:54PM +0100, Lee Jones wrote: 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

Re: [GIT PULL] GPIO changes for v3.6

2012-07-30 Thread NeilBrown
On Thu, 26 Jul 2012 00:48:57 +0200 Linus Walleij linus.wall...@linaro.org wrote: Hi Linus, in Grants absence, these are my queued and -next-tested changes for v3.6, please pull them in. Grants merge branch prior to his absence was merged in as a base for this patch series. The following

Re: [PATCH] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-07-30 Thread Thierry Reding
On Wed, Jul 25, 2012 at 05:54:02PM +0530, Philip, Avinash wrote: Low Threshold Brightness should be configured to have a linear relation in brightness scale. This patch adds device tree support for low threshold brightness as optional one for pwm_backlight. I think this should be more explicit

Re: drbd-8.3 fixes

2012-07-30 Thread Jens Axboe
On 07/24/2012 04:24 PM, Philipp Reisner wrote: Hi Jens, Please consider to pull these changes for the 3.6 merge window. I did not found a for-3.6/drivers branch, so I based the patches on the 3.5 release. Best, Phil The following changes since commit

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

2012-07-30 Thread Jan Beulich
On 27.07.12 at 19:54, Konrad Rzeszutek Wilk kon...@darnok.org wrote: On Fri, Jul 27, 2012 at 08:27:39AM +0100, Jan Beulich wrote: On 26.07.12 at 22:43, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: + /* Check if the user supplied the e820_hole parameter + * which would create a

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

2012-07-30 Thread Jan Beulich
On 27.07.12 at 19:34, Konrad Rzeszutek Wilk kon...@darnok.org wrote: On Fri, Jul 27, 2012 at 12:47:47PM +0100, Jan Beulich wrote: On 27.07.12 at 13:18, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: 1) All P2M lookups

Re: [Bisected] commit 71574865 (vfs: do_last(): common slow lookup) breaks CUPS printing

2012-07-30 Thread Markus Trippelsdorf
On 2012.07.30 at 07:50 +0100, Al Viro wrote: On Sat, Jul 28, 2012 at 12:43:16PM +0200, Markus Trippelsdorf wrote: Printing with CUPS is broken on the current git tree. Whenever I print a page the job just sits in the CUPS queue showing processing. But it never reaches the printer.

Re: virtio(-scsi) vs. chained sg_lists (was Re: [PATCH] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list)

2012-07-30 Thread Paolo Bonzini
Il 30/07/2012 01:50, Rusty Russell ha scritto: Also, being the first user of chained scatterlist doesn't exactly give me warm fuzzies. We're far from the first user: they've been in the kernel for well over 7 years. They were introduced for the block layer, but they tended to ignore

Re: [PATCH V3 3/3] virtio-blk: Add bio-based IO path for virtio-blk

2012-07-30 Thread Paolo Bonzini
Il 30/07/2012 06:43, Asias He ha scritto: Yes. Something like this: qemu -drive file=foo.img,cache=writeback/unsafe is not safe against power losses also? cache=writeback and cache=none are safe, cache=unsafe isn't. I think we can add REQ_FLUSH REQ_FUA support to bio path and that

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

2012-07-30 Thread Lee Jones
On 29/07/12 21:50, Mark Brown wrote: On Fri, Jul 27, 2012 at 01:45:57PM +0100, Lee Jones wrote: Nothing special here. We're only providing a compatible string to ensure the driver is probed using a Device Tree boot. + pcm: ux500-pcm { + compatible =

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

2012-07-30 Thread Lee Jones
On 29/07/12 21:52, Mark Brown wrote: On Fri, Jul 27, 2012 at 01:46:01PM +0100, Lee Jones wrote: arch/arm/boot/dts/db8500.dtsi |8 This is a generic DT include file but... + sound { + compatible = stericsson,snd-soc-mop500; + +

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

2012-07-30 Thread Daniel Mack
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 to the individual busses (SPI/I2C/PCI). Also adds some DT

[PATCH v3 2/2] lis3-spi: add DT matching table passthru code

2012-07-30 Thread Daniel Mack
If probed from a device tree, this driver now passes the node information to the generic part, so the runtime information can be derived. Successfully tested on a PXA3xx board. Signed-off-by: Daniel Mack zon...@gmail.com --- No changes from v1 and v2 drivers/misc/lis3lv02d/lis3lv02d_spi.c |

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

2012-07-30 Thread Lee Jones
On 29/07/12 21:31, Mark Brown wrote: On Fri, Jul 27, 2012 at 01:45:45PM +0100, Lee Jones wrote: +++ b/Documentation/devicetree/bindings/sound/ux500.txt @@ -0,0 +1,62 @@ +* ux500 Audio Driver and ab8500 Audio CODEC + +Required properties: + - compatible: + - Machine Driver :

RE: [PATCH v2 3/4] media: videobuf2-dma-contig: use dma_mmap_coherent if available

2012-07-30 Thread Marek Szyprowski
Hello, On Thursday, July 26, 2012 1:13 PM Hideki EIRAKU wrote: Previously the vb2_dma_contig_mmap() function was using a dma_addr_t as a physical address. The two addressses are not necessarily the same. For example, when using the IOMMU funtion on certain platforms, dma_addr_t addresses

Re: kernel BUG at fs/buffer.c:2886! Linux 3.5.0

2012-07-30 Thread Vincent ETIENNE
HI, Le 30/07/2012 08:30, Joel Becker a écrit : On Sat, Jul 28, 2012 at 12:18:30AM +0200, Vincent ETIENNE wrote: Hello Get this on first write made ( by deliver sending mail to inform of the restart of services ) Home partition (the one receiving the mail) is based on ocfs2 created from

Re: [PATCH v3] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list

2012-07-30 Thread Paolo Bonzini
Il 30/07/2012 08:25, Wang Sen ha scritto: When using the commands below to write some data to a virtio-scsi LUN of the QEMU guest(32-bit) with 1G physical memory(qemu -m 1024), the qemu will crash. # sudo mkfs.ext4 /dev/sdb (/dev/sdb is the virtio-scsi LUN.) # sudo mount

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

2012-07-30 Thread Thierry Reding
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: This commit adds a driver for the Avionic Design N-bit GPIO expander. The expander provides a variable number of GPIO pins with interrupt

Re: linux-next: Tree for July 2 (crypto/hifn_795x)

2012-07-30 Thread Herbert Xu
On Mon, Jul 09, 2012 at 09:40:22PM +, Randy Dunlap wrote: On 07/09/2012 10:54 AM, Jussi Kivilinna wrote: Quoting Randy Dunlap rdun...@xenotime.net: On 07/02/2012 12:23 AM, Stephen Rothwell wrote: Hi all, Changes since 20120629: on i386: ERROR: __divdi3

Re: kernel BUG at fs/buffer.c:2886! Linux 3.5.0

2012-07-30 Thread Joel Becker
On Mon, Jul 30, 2012 at 09:45:14AM +0200, Vincent ETIENNE wrote: HI, Le 30/07/2012 08:30, Joel Becker a écrit : On Sat, Jul 28, 2012 at 12:18:30AM +0200, Vincent ETIENNE wrote: Hello Get this on first write made ( by deliver sending mail to inform of the restart of services )

Re: [PATCH 0/6] crypto: add x86_64/avx assembler implementation of cast5 and cast6

2012-07-30 Thread Herbert Xu
On Wed, Jul 11, 2012 at 07:36:46PM +0200, Johannes Goetzfried wrote: This patchset adds x86_64/avx assembler implementations of the Cast5 and the Cast6 cipher. Johannes Goetzfried (6): crypto: cast5 - prepare generic module for optimized implementations crypto: testmgr - add larger

Re: [Bisected] commit 71574865 (vfs: do_last(): common slow lookup) breaks CUPS printing

2012-07-30 Thread Al Viro
On Mon, Jul 30, 2012 at 09:10:23AM +0200, Markus Trippelsdorf wrote: Looks like you're right. The first warning happens during startup. The last one when I print a test page (which now succeeds). Thanks Al. WTF: open(/dev/input/mice, 34946) WTF: open(/dev/usblp0, 32898) WTF:

Re: [PATCH 0/4] powerpc/crypto: IBM Power7+ in-Nest compression support

2012-07-30 Thread Herbert Xu
On Thu, Jul 19, 2012 at 09:42:37AM -0500, Seth Jennings wrote: This is a continuation of support for the Power7+ in-Nest hardware accelerator. https://lkml.org/lkml/2012/4/12/223 This patchset adds the hardware driver and the cryptographic driver for hardware accelerated compression,

Re: [PATCH 3/4] powerpc/crypto: add 842 hardware compression driver

2012-07-30 Thread Michael Ellerman
On Fri, 2012-07-20 at 09:01 -0500, Seth Jennings wrote: On 07/20/2012 12:33 AM, Michael Ellerman wrote: On Thu, 2012-07-19 at 09:42 -0500, Seth Jennings wrote: This patch adds the driver for interacting with the 842 compression accelerator on IBM Power7+ systems. ... +struct

[PATCH] block: extends name_to_dev_t() syntax for specifying e.g. root=.

2012-07-30 Thread Andy Getzendanner
Enables use of GPT partition labels, APM partition labels, and MBR disk signatures to specify block devices during early boot. Traditional device names and GPT partition UUIDs are still supported. This is useful on systems with nondeterministic device ordering. Signed-off-by: Andy Getzendanner

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

2012-07-30 Thread 박상수
-Original Message- From: diand...@google.com [mailto:diand...@google.com] On Behalf Of Doug Anderson Sent: Saturday, July 21, 2012 6:07 AM To: Sean Paul Cc: grant.lik...@secretlab.ca; linus.wall...@stericsson.com; linux-kernel@vger.kernel.org; ol...@chromium.org; Sangsu Park;

Re: [Bisected] commit 71574865 (vfs: do_last(): common slow lookup) breaks CUPS printing

2012-07-30 Thread Markus Trippelsdorf
On 2012.07.30 at 08:56 +0100, Al Viro wrote: On Mon, Jul 30, 2012 at 09:10:23AM +0200, Markus Trippelsdorf wrote: Looks like you're right. The first warning happens during startup. The last one when I print a test page (which now succeeds). Thanks Al. WTF: open(/dev/input/mice,

[PATCH 1/1] xfs: check for possible overflow in xfs_ioc_trim

2012-07-30 Thread Tomas Racek
If range.start argument was between ULLONG_MAX - BBSIZE and ULLONG_MAX, BTOBB macro resulted in overflow which caused start to be set to 0. Now, invalid argument error is returned instead. Signed-off-by: Tomas Racek tra...@redhat.com --- fs/xfs/xfs_discard.c |4 1 files changed, 4

[patch 1/2] [SCSI] ipr: missing unlock before a return

2012-07-30 Thread Dan Carpenter
We recently changed the locking in this function, but this return was missed. It needs an unlock and the IRQs need to be restored. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Applies to linux-next. diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 07b14ba..7a5ccb2c 100644

[patch 2/2] [SCSI] ipr: remove an unneeded check

2012-07-30 Thread Dan Carpenter
rc is always zero here, so there is no need to check. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 7a5ccb2c..fc49f17 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c @@ -5847,7 +5847,7 @@ static int

Re: [PATCH] es1688 - freeup resources on init failure

2012-07-30 Thread Takashi Iwai
At Sun, 29 Jul 2012 16:23:08 +0200, Daniel Mack wrote: On 29.07.2012 13:39, Fengguang Wu wrote: err = snd_es1688_init(chip, 1); if (err 0) - return err; + goto exit_release_dma; /* Register device */ return snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip,

Re: [Bisected] commit 71574865 (vfs: do_last(): common slow lookup) breaks CUPS printing

2012-07-30 Thread Al Viro
On Mon, Jul 30, 2012 at 10:05:36AM +0200, Markus Trippelsdorf wrote: On 2012.07.30 at 08:56 +0100, Al Viro wrote: On Mon, Jul 30, 2012 at 09:10:23AM +0200, Markus Trippelsdorf wrote: Looks like you're right. The first warning happens during startup. The last one when I print a

Re: [PATCH V3 0/3] PNP: Allow PNP resources to be disabled (interface)

2012-07-30 Thread Borislav Petkov
On Sun, Jul 29, 2012 at 09:31:53PM +0200, Witold Szczeponik wrote: the aim is to select a PNP ACPI option where resources can be disabled (or are not needed). E.g., the parallel port of the 600E can be used with and without IRQ lines. The means to allow for this is to use the sysfs interface

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

2012-07-30 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

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

2012-07-30 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 m.szyprow...@samsung.com Reviewed-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Minchan Kim minc...@kernel.org ---

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

2012-07-30 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

Re: crash in ocfs2_fast_symlink_readpage in kernel 3.5.0

2012-07-30 Thread Joel Becker
On Sun, Jul 22, 2012 at 01:16:21PM -0700, Bret Towe wrote: just booted a fresh 3.5 kernel and got the following on login via gdm on the client computer didn't see any crashes yet on any other computer but didn't give it long to try after seeing this let me know if you need more info this

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

2012-07-30 Thread Thomas Abraham
On 30 July 2012 13:34, 박상수 sangsu4u.p...@samsung.com wrote: -Original Message- From: diand...@google.com [mailto:diand...@google.com] On Behalf Of Doug Anderson Sent: Saturday, July 21, 2012 6:07 AM To: Sean Paul Cc: grant.lik...@secretlab.ca; linus.wall...@stericsson.com;

[PATCH v2] power_supply: Add new power supply properties CHARGE_CURRENT/VOLTAGE_MAX

2012-07-30 Thread Ramakrishna Pallala
There are different types of chargers avalibale like AC, Solar, USB, etc.. Even in USB we have different types SDP/DCP/CDP/ACA and all these chargers have different o/p ratings. For example SDP supports only 500mA of charge current whereas AC charger can support upto 8A or more. Similarly

[GPIO] Crashed when not using

2012-07-30 Thread Poddar, Sourav
Hi All, I tried using gpio as an interrupt line for my driver (drivers/staging/iio/light/tsl2x7x_core.c) for omap5. The interrupt line number was directly passed to the driver using device tree. But what I observed is the following crash.. [1.599273] mousedev: PS/2 mouse device common for

[Regression][Bisected] tick_broadcast_mask is not restored after a CPU is offline/onlined

2012-07-30 Thread Feng Tang
Hi All, [seems the email from my intel email address didn't hit the list, resend with gmail, sorry for the noise] When I debugged a suspend/resume bug, I found that tick_broadcast_mask is not restored for a CPU after it is offline/onlined since kernel 3.4, while it's fine for 3.3. Further check

Re: drm/nouveau: crash regression in 3.5

2012-07-30 Thread Maarten Lankhorst
Hey, Op 29-07-12 22:15, Marcin Slusarz schreef: On Thu, Jul 26, 2012 at 02:56:22PM +0200, Ortwin Glück wrote: On 25.07.2012 20:42, Marcin Slusarz wrote: Good, below patch should fix this panic. Note that you can hit an oops in drm_handle_vblank because patch from

Re: [PATCH] Add Etron XHCI quirk to avoid warning spam

2012-07-30 Thread Daniel J Blueman
On 28 July 2012 01:10, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: On Fri, Jul 27, 2012 at 02:40:56PM +0800, Daniel J Blueman wrote: On 27 July 2012 14:14, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: On Fri, Jul 27, 2012 at 12:03:44PM +0800, Daniel J Blueman wrote: When various

Re: virtio(-scsi) vs. chained sg_lists (was Re: [PATCH] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list)

2012-07-30 Thread Boaz Harrosh
On 07/30/2012 10:12 AM, Paolo Bonzini wrote: Il 30/07/2012 01:50, Rusty Russell ha scritto: Also, being the first user of chained scatterlist doesn't exactly give me warm fuzzies. We're far from the first user: they've been in the kernel for well over 7 years. They were introduced for the

Re: [ 13/40] vmscan: shrinker-nr updates race and go wrong

2012-07-30 Thread Mel Gorman
On Sun, Jul 29, 2012 at 09:29:30PM +0100, Ben Hutchings wrote: --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -251,17 +251,29 @@ unsigned long shrink_slab(struct shrink_ unsigned long total_scan; [...] + total_scan += delta; + if (total_scan 0) { [...]

[PATCH v6 11/11] arm: omap: phy: remove unused functions from omap-phy-internal.c

2012-07-30 Thread Kishon Vijay Abraham I
All the unnessary functions in omap-phy-internal is removed. These functionality are now handled by omap-usb2 phy driver. Cc: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/omap_phy_internal.c | 138

[PATCH v6 00/11] omap: musb: Add device tree support

2012-07-30 Thread Kishon Vijay Abraham I
This patch series adds device tree support for MUSB and device tree support for all the related modules to get MUSB working in OMAP platform. A new omap-usb2 phy driver has been added (with only dt suppport) to perform phy configurations. Previously this configuration was performed by twl6030,

[PATCH v6 06/11] arm/dts: Add twl6030-usb data

2012-07-30 Thread Kishon Vijay Abraham I
Add twl6030-usb data node in twl6030 device tree file Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap4-panda.dts |4 arch/arm/boot/dts/omap4-sdp.dts |4 arch/arm/boot/dts/twl6030.dtsi|5 + 3 files changed, 13 insertions(+) diff

[PATCH v6 04/11] arm: omap: hwmod: add a new addr space in otg for writing to control module

2012-07-30 Thread Kishon Vijay Abraham I
The mailbox register for usb otg in omap is present in control module. On detection of any events VBUS or ID, this register should be written to send the notification to musb core. Till we have a separate control module driver to write to control module, omap2430 will handle the register writes

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

2012-07-30 Thread Aggrwal Poonam-B10812
-Original Message- From: Linuxppc-dev [mailto:linuxppc-dev- bounces+poonam.aggrwal=freescale@lists.ozlabs.org] On Behalf Of Greg KH Sent: Friday, July 27, 2012 11:30 PM To: Singh Sandeep-B37400 Cc: de...@driverdev.osuosl.org; linuxppc-...@lists.ozlabs.org; linux-arm-

[PATCH v6 02/11] arm/dts: omap: Add omap-usb2 dt data

2012-07-30 Thread Kishon Vijay Abraham I
Add omap-usb2 data node in omap4 device tree file. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap4.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 29c6243..15f1890 100644 ---

[PATCH v6 09/11] drivers: usb: musb: Add device tree support for omap musb glue

2012-07-30 Thread Kishon Vijay Abraham I
Added device tree support for omap musb driver and updated the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt | 34 +++- drivers/usb/musb/omap2430.c|

[PATCH v6 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-30 Thread Kishon Vijay Abraham I
All phy related programming like enabling/disabling the clocks, powering on/off the phy is taken care of by this driver. It is also used for OTG related functionality like srp. This also includes device tree support for usb2 phy driver and the documentation with device tree binding information is

[PATCH v6 08/11] arm/dts: Add twl4030-usb data

2012-07-30 Thread Kishon Vijay Abraham I
Add twl4030-usb data node in twl4030 device tree file. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/twl4030.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi index

[PATCH v6 10/11] arm/dts: omap: Add usb_otg and glue data

2012-07-30 Thread Kishon Vijay Abraham I
Add usb otg data node in omap4/omap3 device tree file. Also update the node with board specific setting in omapx-board.dts file. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap3-beagle.dts |6 ++ arch/arm/boot/dts/omap3-evm.dts|6 ++

[PATCH v6 07/11] drivers: usb: twl4030: Add device tree support for twl4030 usb

2012-07-30 Thread Kishon Vijay Abraham I
Add device tree support for twl4030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- .../devicetree/bindings/usb/twl-usb.txt| 19 ++ drivers/usb/otg/twl4030-usb.c |

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

2012-07-30 Thread Aggrwal Poonam-B10812
-Original Message- From: Linuxppc-dev [mailto:linuxppc-dev- bounces+poonam.aggrwal=freescale@lists.ozlabs.org] On Behalf Of Greg KH Sent: Friday, July 27, 2012 11:42 PM To: Singh Sandeep-B37400 Cc: de...@driverdev.osuosl.org; linuxppc-...@lists.ozlabs.org; linux-arm-

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

2012-07-30 Thread Sasha Levin
On 07/30/2012 07:36 AM, Avi Kivity wrote: On 07/30/2012 12:05 AM, Sasha Levin wrote: On 07/29/2012 02:48 PM, Avi Kivity wrote: On 07/27/2012 02:27 PM, Sasha Levin wrote: 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

[PATCH v6 03/11] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-07-30 Thread Kishon Vijay Abraham I
All the PHY configuration other than VBUS, ID GND and OTG SRP are removed from twl6030. The phy configurations are taken care by the dedicated usb2 phy driver. So twl6030 is made as comparator driver for VBUS and ID detection. Writing to control module which is now handled in omap2430.c should be

[PATCH v6 05/11] drivers: usb: twl6030: Add dt support for twl6030 usb

2012-07-30 Thread Kishon Vijay Abraham I
Add device tree support for twl6030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- .../devicetree/bindings/usb/twl-usb.txt| 21 +++ drivers/usb/otg/twl6030-usb.c | 39

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

2012-07-30 Thread Stephen Boyd
On 7/25/2012 11:35 PM, Venu Byravarasu wrote: + +static struct rtc_class_ops tps65910_rtc_ops = { const? + .read_time = tps65910_rtc_read_time, + .set_time = tps65910_rtc_set_time, + .read_alarm = tps65910_rtc_read_alarm, + .set_alarm =

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

2012-07-30 Thread Singh Sandeep-B37400
-Original Message- From: John Stoffel [mailto:j...@stoffel.org] Sent: 27 July 2012 19:42 To: Singh Sandeep-B37400 Cc: linuxppc-...@lists.ozlabs.org; linux-arm-ker...@lists.infradead.org; ga...@kernel.crashing.org; linux-kernel@vger.kernel.org; de...@driverdev.osuosl.org Subject: Re:

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

2012-07-30 Thread Avi Kivity
On 07/30/2012 12:13 PM, Sasha Levin wrote: Yup, looks like it. kvm_stats is something like this: kvm_entry142104033 939393 kvm_exit 142104004 939390 kvm_apic 84781115 582714 kvm_msr

Re: [GPIO] Crashed when not using

2012-07-30 Thread DebBarma, Tarun Kanti
Sourav, On Mon, Jul 30, 2012 at 2:13 PM, Poddar, Sourav sourav.pod...@ti.com wrote: Hi All, I tried using gpio as an interrupt line for my driver (drivers/staging/iio/light/tsl2x7x_core.c) for omap5. The interrupt line number was directly passed to the driver using device tree. But what I

Re: [PATCH v6 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-30 Thread Shubhrajyoti
On Monday 30 July 2012 02:39 PM, Kishon Vijay Abraham I wrote: + writel(~PHY_PD, phy-control_dev); + /* XXX: add proper documentation for this delay */ + mdelay(200); Do you need this to be busy? -- To unsubscribe from this list: send

Re: [PATCH 3/6] OF: pinctrl: MIPS: lantiq: adds support for FALCON SoC

2012-07-30 Thread John Crispin
On 28/07/12 01:23, Linus Walleij wrote: On Tue, Jul 24, 2012 at 8:50 AM, John Crispin blo...@openwrt.org wrote: Implement support for pinctrl on lantiq/falcon socs. The FALCON has 5 banks of up to 32 pins. Signed-off-by: John Crispin blo...@openwrt.org Signed-off-by: Thomas Langer

Re: /dev/kmem BUG on mmap

2012-07-30 Thread Johannes Weiner
On Mon, Jul 30, 2012 at 12:28:35AM +0200, Sasha Levin wrote: Hi all, I was poking around /dev/kmem related code, and noticed the following in mmap_kmem(): /* Turn a kernel-virtual address into a physical page frame */ pfn = __pa((u64)vma-vm_pgoff PAGE_SHIFT) PAGE_SHIFT;

Re: [PATCH v6 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-30 Thread ABRAHAM, KISHON VIJAY
Hi, On Mon, Jul 30, 2012 at 3:07 PM, Shubhrajyoti shubhrajy...@ti.com wrote: On Monday 30 July 2012 02:39 PM, Kishon Vijay Abraham I wrote: + writel(~PHY_PD, phy-control_dev); + /* XXX: add proper documentation for this delay */ +

[GIT] kbuild fix for v3.6-rc1

2012-07-30 Thread Michal Marek
Hi Linus, the main kbuild branch ended up with a single commit this time, a fix to send errors to stderr. Please pull from the below repository. Thanks, Michal The following changes since commit f8f5701bdaf9134b1f90e5044a82c66324d2073f: Linux 3.5-rc1 (2012-06-02 18:29:26 -0700) are

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

2012-07-30 Thread Singh Sandeep-B37400
Thanks for your comments. Please find replies inline. Regards, Sandeep -Original Message- From: Francois Romieu [mailto:rom...@fr.zoreil.com] Sent: 27 July 2012 20:56 To: Singh Sandeep-B37400 Cc: linuxppc-...@lists.ozlabs.org; linux-arm-ker...@lists.infradead.org;

[GIT] kconfig changes for 3.6-rc1

2012-07-30 Thread Michal Marek
Hi Linus, Please pull following kconfig changes for v3.6-rc1: * kconfig Makefile portability fixes * menuconfig/nconfig help pager usability fix * .gitignore cleanup * quoting fix in scripts/config * Makefile prints errors to stderr * support for arbitrarily log lines in .config * fix oldnoconfig

Re: [PATCH v2 00/15] Lockd: grace period containerization

2012-07-30 Thread Stanislav Kinsbursky
28.07.2012 01:54, J. Bruce Fields пишет: On Wed, Jul 25, 2012 at 04:55:45PM +0400, Stanislav Kinsbursky wrote: Bruce, I feel this patch set is ready for inclusion. v2: 1) Rebase on Bruce's for-3.6 branch. This patch set makes grace period and hosts reclaiming network namespace aware. On a

Re: [PATCH v6 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-30 Thread Shubhrajyoti
On Monday 30 July 2012 03:16 PM, ABRAHAM, KISHON VIJAY wrote: Hi, On Mon, Jul 30, 2012 at 3:07 PM, Shubhrajyoti shubhrajy...@ti.com wrote: On Monday 30 July 2012 02:39 PM, Kishon Vijay Abraham I wrote: + writel(~PHY_PD, phy-control_dev); + /* XXX: add

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

2012-07-30 Thread Venu Byravarasu
Thanks Stephen for your comments. Plz see my comments inline. -Original Message- From: Stephen Boyd [mailto:sb...@codeaurora.org] Sent: Monday, July 30, 2012 2:47 PM To: Venu Byravarasu Cc: a.zu...@towertech.it; sa...@linux.intel.com; broo...@opensource.wolfsonmicro.com; Laxman

Re: [PATCH TRIVIAL] mm: Fix build warning in kmem_cache_create()

2012-07-30 Thread Pekka Enberg
On Sat, Jul 14, 2012 at 2:12 AM, Shuah Khan shuah.k...@hp.com wrote: The label oops is used in CONFIG_DEBUG_VM ifdef block and is defined outside ifdef CONFIG_DEBUG_VM block. This results in the following build warning when built with CONFIG_DEBUG_VM disabled. Fix to move label oops definition

Re: [RFC PATCH v5 12/19] memory-hotplug: introduce new function arch_remove_memory()

2012-07-30 Thread Heiko Carstens
On Fri, Jul 27, 2012 at 06:32:15PM +0800, Wen Congyang wrote: We don't call __add_pages() directly in the function add_memory() because some other architecture related things need to be done before or after calling __add_pages(). So we should introduce a new function arch_remove_memory() to

[PATCH V2 2/2] lp8727_charger: unregister power supply at error path of lp8727_register_psy

2012-07-30 Thread Devendra Naga
if usb power supply registration fails, we wont unregister the ac power supply if battery power supply registration fails, we wont unregister the usb, and ac supply, take care of those things and also no need of goto -err_mem: at the fail case of kzalloc simply can have return

Re: [RFC PATCH v5 12/19] memory-hotplug: introduce new function arch_remove_memory()

2012-07-30 Thread Wen Congyang
At 07/30/2012 06:23 PM, Heiko Carstens Wrote: On Fri, Jul 27, 2012 at 06:32:15PM +0800, Wen Congyang wrote: We don't call __add_pages() directly in the function add_memory() because some other architecture related things need to be done before or after calling __add_pages(). So we should

[GIT] kbuild misc changes for v3.6-rc1

2012-07-30 Thread Michal Marek
Hi Linus, this is the non-critical part of kbuild for v3.6-rc1: * Two new coccinelle semantic patches * New scripts/tags.sh regexp * scripts/config improvements that I mistakenly applied here instead of in the kconfig branch (but there are no conflicts) * Debian packaging fixes Thanks, Michal

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-30 Thread richard -rw- weinberger
On Mon, Jul 23, 2012 at 10:53 AM, Pavel Emelyanov xe...@parallels.com wrote: This project is an attempt to implement the checkpoint-restore functionality for processes and containers without driving too much code into the kernel tree, but putting there various oddball helper code instead. Is

[PATCH 1/2] ds2781_battery: convert to module_platform_driver

2012-07-30 Thread Devendra Naga
module_platform_driver can be used to replace the platform_driver register and unregister functions, with the calls to module_init and module_exit, i.e. all the code that is doing like the below static int __init mymod_init(void) { return platform_driver_register(drv_operations); }

[PATCH 2/2] ds2781_battery: replace call to kzalloc with devm_kzalloc

2012-07-30 Thread Devendra Naga
with devm_kzalloc there is no need of freeing at the errorpath and also at unregister it. Signed-off-by: Devendra Naga develkernel412...@gmail.com --- drivers/power/ds2781_battery.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/power/ds2781_battery.c

[GIT] kbuild treewide cleanup

2012-07-30 Thread Michal Marek
Hi Linus, Paul Bolle did a cleanup of asm/*.h headers in various architectures. Because the patch touch several architectures at once, it was easiest for me to apply them to the kbuild tree. Thanks, Michal The following changes since commit f8f5701bdaf9134b1f90e5044a82c66324d2073f: Linux

Re: [PATCH] Support UEFI variable append and deleting authenticated variables.

2012-07-30 Thread Matt Fleming
On Mon, 2012-06-25 at 09:12 -0400, Peter Jones wrote: This adds support for appending to all UEFI variables, and also for deleting authentication variables. Signed-off-by: Peter Jones pjo...@redhat.com --- drivers/firmware/efivars.c | 99 +--- 1

Re: [PATCH V3 0/3] PNP: Allow PNP resources to be disabled (interface)

2012-07-30 Thread Witold Szczeponik
On Sun, Jul 29, 2012 at 09:31:53PM +0200, Witold Szczeponik wrote: the aim is to select a PNP ACPI option where resources can be disabled (or are not needed). E.g., the parallel port of the 600E can be used with and without IRQ lines. The means to allow for this is to use the sysfs

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

2012-07-30 Thread Simon Glass
Hi, On Fri, Jul 27, 2012 at 1:05 PM, Alexandre Courbot acour...@nvidia.com wrote: 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

  1   2   3   4   5   6   >