Re: How to get drivers/usb/musb/omap2430.c built into the kernel, not as module? (bug in kconfig?)

2012-07-10 Thread Ruslan Bilovol
+wider auditory (linux-kernel) -- Forwarded message -- From: Ruslan Bilovol Date: Fri, Jul 6, 2012 at 7:53 PM Subject: How to get drivers/usb/musb/omap2430.c built into the kernel, not as module? (bug in kconfig?) To: linux-...@vger.kernel.org Hi all, It seems we have an issue

Re: [PATCH] spi: tegra: use dmaengine based dma driver

2012-07-10 Thread Mark Brown
On Tue, Jul 10, 2012 at 06:04:31PM +0530, Laxman Dewangan wrote: > Understand from Grant's mail's discussion that you are picking up > the spi change. > Please let me know if I need to re-send this patch. Yes. signature.asc Description: Digital signature

[PATCH] of: mtd: nuke useless const qualifier

2012-07-10 Thread Bityutskiy, Artem
From: Artem Bityutskiy This patch does the following: -const int of_get_nand_ecc_mode(struct device_node *np) +int of_get_nand_ecc_mode(struct device_node *np) because: 1. it is probably just a typo? 2. it causes warnings like this when people assing the returned value to an 'int' variable:

[PATCH 4/4] gpio/pca953x: register the device irq using appropriate api's

2012-07-10 Thread Chandrabhanu Mahapatra
From: Leed Aguilar Here, the implementation of registration of requested IRQs has been corrected with appropiate api's. The gpio number is requested through gpio_request_one() API and conversion of the gpio to irq is done using the gpio_to_irq() API. Change-Id: I964145e2a280d6553ea2c05ea8049810a

[PATCH 3/4] OMAP: Define TCA6424 max number of possible IRQs

2012-07-10 Thread Chandrabhanu Mahapatra
From: Leed Aguilar TCA6424 being a 24 bit I2C and SMBus I/O expander has 24 available GPIO lines that can be used as IRQs lines. So, the support for 24 more IRQ lines has been added to the kernel. Change-Id: I22e4fbb3a1e4c4b53ae698a9b22cdb0f4ad7f4e6 Signed-off-by: Leed Aguilar Signed-off-by: Ch

[PATCH 2/4] gpio/pca953x: increase variables size to support 24 bit of data

2012-07-10 Thread Chandrabhanu Mahapatra
From: Leed Aguilar Increase variable size from u16 to u32 to allocate 24 bit of data required for the TCA6424 I/O expander device type. Signed-off-by: Leed Aguilar Signed-off-by: Chandrabhanu Mahapatra --- drivers/gpio/gpio-pca953x.c | 28 ++-- 1 file changed, 14 ins

[PATCH 1/4] GPIO: PCA953X: Increase size of invert variable to support 24 bit

2012-07-10 Thread Chandrabhanu Mahapatra
TCA6424 is a low voltage 24 bit I2C and SMBus I/O expander of pca953x family similar to its 16 bit predecessor TCA6416. It comes with three 8-bit active Input, Output, Polarity Inversion and Configuration registers each. The polarity of Input ports can be reversed by setting the appropiate bit in P

Re: [PATCH] apple-gmux: Restore switch registers on suspend/resume

2012-07-10 Thread Seth Forshee
On Tue, Jul 10, 2012 at 09:09:53AM +0530, Arun Raghavan wrote: > After suspend and resume, the values of these registers seem to change > from what they were at suspend time, potentially preventing the actual > output lines from being enabled post-resume. This saves relevant state > at suspend and

Re: [PATCH 1/1] core-kernel: use multiply instead of shifts in hash_64

2012-07-10 Thread Michael Tokarev
On 03.07.2012 00:25, Andrew Hunter wrote: > diff --git a/include/linux/hash.h b/include/linux/hash.h > index b80506b..daabc3d 100644 > --- a/include/linux/hash.h > +++ b/include/linux/hash.h > @@ -34,7 +34,9 @@ > static inline u64 hash_64(u64 val, unsigned int bits) > { > u64 hash = val; >

[PATCH 0/4] Extend TCA6424 support

2012-07-10 Thread Chandrabhanu Mahapatra
Hi everyone! This following patch series extends support capabilities of TCA6424 through following patches. The 1st patch adds 24 bit support for polarity inversion registers by providing 24 bit support for invert variable. The 2nd patch adds 24 bit support of the variables such as irq_mask, irq_s

Re: [PATCH 0/3] staging: bcm: Cleanup bcm driver

2012-07-10 Thread Dan Carpenter
On Tue, Jul 10, 2012 at 09:24:23AM -0400, Kevin McKinney wrote: > On Tue, Jul 10, 2012 at 8:51 AM, Dan Carpenter > wrote: > > On Tue, Jul 10, 2012 at 08:38:41AM -0400, Kevin McKinney wrote: > >> On Mon, Jul 09, 2012 at 11:48:09PM -0300, Marcos Souza wrote: > >> > 2012/7/9 Kevin McKinney : > >> >

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-10 Thread Andrew Theurer
On Tue, 2012-07-10 at 17:24 +0530, Raghavendra K T wrote: > On 07/10/2012 03:17 AM, Andrew Theurer wrote: > > On Mon, 2012-07-09 at 11:50 +0530, Raghavendra K T wrote: > >> Currently Pause Looop Exit (PLE) handler is doing directed yield to a > >> random VCPU on PL exit. Though we already have filt

Re: [PATCH 0/3] staging: bcm: Cleanup bcm driver

2012-07-10 Thread Kevin McKinney
On Tue, Jul 10, 2012 at 8:51 AM, Dan Carpenter wrote: > On Tue, Jul 10, 2012 at 08:38:41AM -0400, Kevin McKinney wrote: >> On Mon, Jul 09, 2012 at 11:48:09PM -0300, Marcos Souza wrote: >> > 2012/7/9 Kevin McKinney : >> > > On Mon, Jul 09, 2012 at 10:32:37PM -0300, Marcos Paulo de Souza wrote: >> >

Re: [PATCH 4 0/4] Add ability to set defaultless network device MAC addresses to deterministic computed locally administered values

2012-07-10 Thread Steven Rostedt
On Tue, 2012-07-10 at 20:58 +0800, "Andy Green (林安廸)" wrote: > On 10/07/12 20:37, the mail apparently from Florian Fainelli included: > > Why should Ubuntu, Fedora etc stink up their OSes with Panda-specific > workarounds? And Panda is not the only device with this issue. Actually I think you

[patch] BFS 421-1: delink cpupri

2012-07-10 Thread Hillf Danton
We compile less with cpupri delinked. --- a/kernel/sched/Makefile Tue Jul 10 20:51:54 2012 +++ b/kernel/sched/Makefile Tue Jul 10 20:51:52 2012 @@ -17,8 +17,8 @@ else obj-y += core.o clock.o idle_task.o fair.o rt.o stop_task.o obj-$(CONFIG_SCHED_AUTOGROUP) += auto_group.o obj-$(CONFIG_

Re: [PATCH 1/2] KVM: X86: remove read buffer for mmio read

2012-07-10 Thread Gleb Natapov
On Tue, Jul 10, 2012 at 03:50:39PM +0300, Avi Kivity wrote: > On 07/10/2012 01:48 PM, Gleb Natapov wrote: > > > > > > > > > But the code is already here, why drop it? > > > > > > The read cache is not effective for multiple disjunct reads. > > What do you mean? > > If an instruction reads from s

Re: [PATCH 3/3] shmem: cleanup shmem_add_to_page_cache

2012-07-10 Thread Johannes Weiner
On Mon, Jul 09, 2012 at 03:46:53PM -0700, Hugh Dickins wrote: > shmem_add_to_page_cache() has three callsites, but only one of them > wants the radix_tree_preload() (an exceptional entry guarantees that > the radix tree node is present in the other cases), and only that site > can achieve mem_cgrou

Re: [PATCH v4 0/8] Function tracing support for pstore

2012-07-10 Thread Steven Rostedt
On Tue, 2012-07-10 at 12:01 +, Arnd Bergmann wrote: > On Tuesday 10 July 2012, Anton Vorontsov wrote: > > With this support kernel can save functions call chain log into a > > persistent ram buffer that can be decoded and dumped after reboot > > through pstore filesystem. It can be used to dete

Re: [PATCH 4 0/4] Add ability to set defaultless network device MAC addresses to deterministic computed locally administered values

2012-07-10 Thread Andy Green (林安廸)
On 10/07/12 20:37, the mail apparently from Florian Fainelli included: Hi - Le jeudi 05 juillet 2012 04:44:33, Andy Green a écrit : The following series adds some code to generate legal, locally administered MAC addresses from OMAP4 CPU Die ID fuse data, and then adds a helper at net/ethernet

Re: [PATCH 4/8] tracing/function: Introduce persistent trace option

2012-07-10 Thread Steven Rostedt
On Mon, 2012-07-09 at 17:10 -0700, Anton Vorontsov wrote: > +static struct tracer_flags func_flags; > + > static void > function_trace_call(unsigned long ip, unsigned long parent_ip) > { > @@ -97,6 +106,12 @@ function_trace_call(unsigned long ip, unsigned long > parent_ip) > disabled = a

Re: video: USB webcam fails since kernel 3.2

2012-07-10 Thread Martin-Éric Racine
Hi Jonathan, Thank you for these detailed instructions. Find the results of my testing below: 2012/7/9 Jonathan Nieder : > Hans de Goede wrote: > >> Erm, that is quite a bit of work from my side for something which you >> can easily do yourself, edit gspca.c, search for which_bandwidth >> and the

Re: [PATCH 4 0/4] Add ability to set defaultless network device MAC addresses to deterministic computed locally administered values

2012-07-10 Thread Florian Fainelli
Hi, Le jeudi 05 juillet 2012 04:44:33, Andy Green a écrit : > The following series adds some code to generate legal, locally administered > MAC addresses from OMAP4 CPU Die ID fuse data, and then adds a helper at > net/ethernet taking care of accepting device path / MAC mapping > registrations and

[PATCH] perf: fix perf-report display ip string incorrectly

2012-07-10 Thread Jovi Zhang
>From bfc2eb1ac844b6d5f64e36eb01464a1cfba39663 Mon Sep 17 00:00:00 2001 From: Jovi Zhang Date: Wed, 11 Jul 2012 04:32:15 +0800 Subject: [PATCH] perf: fix perf-report display ip string incorrectly This patch fix perf ui browser cannot display ip string correctly when using perf-report. "char ipst

Re: [PATCHv4 3/5] ext4: remove unnecessary superblock dirtying

2012-07-10 Thread Jan Kara
On Tue 10-07-12 13:35:36, Artem Bityutskiy wrote: > On Wed, 2012-07-04 at 15:11 +0200, Jan Kara wrote: > > On Wed 04-07-12 15:21:52, Artem Bityutskiy wrote: > > > From: Artem Bityutskiy > > > > > > This patch changes the '__ext4_handle_dirty_super()' function which is > > > used > > > by ext4 to

Re: [PATCH 0/3] staging: bcm: Cleanup bcm driver

2012-07-10 Thread Dan Carpenter
On Tue, Jul 10, 2012 at 08:38:41AM -0400, Kevin McKinney wrote: > On Mon, Jul 09, 2012 at 11:48:09PM -0300, Marcos Souza wrote: > > 2012/7/9 Kevin McKinney : > > > On Mon, Jul 09, 2012 at 10:32:37PM -0300, Marcos Paulo de Souza wrote: > > >> Hi Kernel guys! > > >> > > >> This new patchset tries to

Re: 3.0+ NFS issues

2012-07-10 Thread Michael Tokarev
I tried to debug this again, maybe to reproduce in a virtual machine, and found out that it is only 32bit server code shows this issue: after updating the kernel on the server to 64bit (the same version) I can't reproduce this issue anymore. Rebooting back to 32bit, and voila, it is here again. S

Re: [PATCH 1/2] KVM: X86: remove read buffer for mmio read

2012-07-10 Thread Avi Kivity
On 07/10/2012 01:48 PM, Gleb Natapov wrote: > > > > > > > But the code is already here, why drop it? > > > > The read cache is not effective for multiple disjunct reads. > What do you mean? If an instruction reads from several sources in mmio, then the first read will be flushed from the cache b

Re: [PATCH v2] pwm: add lpc32xx pwm support

2012-07-10 Thread Alexandre Pereira da Silva
On Tue, Jul 10, 2012 at 9:43 AM, Roland Stigge wrote: > Hi! > > On 07/10/2012 01:53 PM, Alexandre Pereira da Silva wrote: >> Add lpc32xx soc pwm driver. >> >> Signed-off-by: Alexandre Pereira da Silva >> --- >> +++ b/drivers/pwm/pwm-lpc32xx.c >> @@ -0,0 +1,150 @@ >> +/* >> + * Copyright 2012 Alex

Re: [PATCH v2] Bluetooth: Add MacBookPro10,1 support

2012-07-10 Thread Marcel Holtmann
Hi Henrik, > Add support for the 2012 15'' MacBook Pro Retina, also known as > MacBookPro10,1. The bluetooth device presents itself as > > Bus 002 Device 008: ID 05ac:8286 Apple, Inc. > Device Descriptor: > bLength18 > bDescriptorType 1 > bcdUSB 2.00 >

Re: [PATCH v2] pwm: add lpc32xx pwm support

2012-07-10 Thread Roland Stigge
Hi! On 07/10/2012 01:53 PM, Alexandre Pereira da Silva wrote: > Add lpc32xx soc pwm driver. > > Signed-off-by: Alexandre Pereira da Silva > --- > +++ b/drivers/pwm/pwm-lpc32xx.c > @@ -0,0 +1,150 @@ > +/* > + * Copyright 2012 Alexandre Pereira da Silva > + * > + * The code contained herein is li

Re: [PATCH v2] pwm: add lpc32xx pwm support

2012-07-10 Thread Alexandre Pereira da Silva
On Tue, Jul 10, 2012 at 9:19 AM, Thierry Reding wrote: > On Tue, Jul 10, 2012 at 08:53:32AM -0300, Alexandre Pereira da Silva wrote: >> Add lpc32xx soc pwm driver. > > The subject and this still need fixing (soc -> SOC, pwm -> PWM). > >> Signed-off-by: Alexandre Pereira da Silva >> --- >> Changes

Re: [PATCH] Bluetooth: Add MacBookPro10,1 support

2012-07-10 Thread Marcel Holtmann
Hi Henrik, > > > > I believe the requirement is to always include a usb-devices output in > > > > the commit message (to let maintainers confirm that no typo has occurred > > > > in the patch itself). > > > > If you don't have access to the device I can take it without usb-devices, > > otherwise

Re: [PATCH 2/3] shmem: fix negative rss in memcg memory.stat

2012-07-10 Thread Johannes Weiner
On Mon, Jul 09, 2012 at 03:44:24PM -0700, Hugh Dickins wrote: > When adding the page_private checks before calling shmem_replace_page(), > I did realize that there is a further race, but thought it too unlikely > to need a hurried fix. > > But independently I've been chasing why a mem cgroup's mem

Re: [PATCH] spi: tegra: use dmaengine based dma driver

2012-07-10 Thread Laxman Dewangan
On Friday 29 June 2012 10:06 PM, Stephen Warren wrote: On 06/29/2012 05:31 AM, Laxman Dewangan wrote: Use the dmaengine based Tegra APB DMA driver for data transfer between SPI FIFO and memory in place of legacy Tegra APB DMA. The new driver is selected if legacy driver is not selected and new

Re: [PATCH 0/3] staging: bcm: Cleanup bcm driver

2012-07-10 Thread Kevin McKinney
On Mon, Jul 09, 2012 at 11:48:09PM -0300, Marcos Souza wrote: > 2012/7/9 Kevin McKinney : > > On Mon, Jul 09, 2012 at 10:32:37PM -0300, Marcos Paulo de Souza wrote: > >> Hi Kernel guys! > >> > >> This new patchset tries to clean a little the bcm driver, removing > >> some unused macros and some dea

Re: [PATCH v4 0/5] ARM: topology: set the capacity of each cores for big.LITTLE

2012-07-10 Thread Vincent Guittot
On 10 July 2012 13:27, Peter Zijlstra wrote: > On Mon, 2012-07-09 at 11:27 +0200, Vincent Guittot wrote: >> This patchset creates an arch_scale_freq_power function for ARM, which is >> used >> to set the relative capacity of each core of a big.LITTLE system. It also >> removes >> the broken powe

Re: [PATCH 05/13] rbtree: performance and correctness test

2012-07-10 Thread Michal Nazarewicz
On Tue, 10 Jul 2012 01:35:15 +0200, Michel Lespinasse wrote: This small module helps measure the performance of rbtree insert and erase. Additionally, we run a few correctness tests to check that the rbtrees have all desired properties: - contains the right number of nodes in the order desired

Re: mptscsi: BUG: unable to handle kernel NULL pointer, in scsi_send_eh_cmnd

2012-07-10 Thread James Bottomley
On Tue, 2012-07-10 at 14:54 +0300, Meelis Roos wrote: > > > I am using Linux 3.4.0 with a 53c1030 and a tape library that sometimes > > > barfs for yet unknown reasons. When it happens, I get a BUG with > > > backtrace and this scsi channel is dead until I reboot. Seems to be > > > something wit

Re: [PATCH] P1021: set IReady in QE Microcode Upload

2012-07-10 Thread Kumar Gala
On Nov 11, 2011, at 10:05 AM, Kokoris, Ioannis wrote: > Hi, > > QE Microcode Initialization using qe_upload_microcode() does not work on > P1021 if the IRAM-Ready register is not set after the microcode upload. This > patch adds a definition for the "I-RAM Ready" register and sets it uppon >

Re: [PATCH 04/13] rbtree: move some implementation details from rbtree.h to rbtree.c

2012-07-10 Thread Michal Nazarewicz
On Tue, 10 Jul 2012 01:35:14 +0200, Michel Lespinasse wrote: rbtree users must use the documented APIs to manipulate the tree structure. Low-level helpers to manipulate node colors and parenthood are not part of that API, so move them to lib/rbtree.c Signed-off-by: Michel Lespinasse --- inc

Re: [PATCH v2] pwm: add lpc32xx pwm support

2012-07-10 Thread Thierry Reding
On Tue, Jul 10, 2012 at 08:53:32AM -0300, Alexandre Pereira da Silva wrote: > Add lpc32xx soc pwm driver. The subject and this still need fixing (soc -> SOC, pwm -> PWM). > Signed-off-by: Alexandre Pereira da Silva > --- > Changes since v1: > * Style fixes > * Better error handling > * Improved

[PATCHv5 1/4] ext4: Remove useless marking of superblock dirty

2012-07-10 Thread Artem Bityutskiy
From: Jan Kara Commit a0375156 properly notes that superblock doesn't need to be marked as dirty when only number of free inodes / blocks / number of directories changes since that is recomputed on each mount anyway. However that comment leaves some unnecessary markings as dirty in place. Remove

[PATCHv5 3/4] ext4: remove unnecessary superblock dirtying

2012-07-10 Thread Artem Bityutskiy
From: Artem Bityutskiy This patch changes the '__ext4_handle_dirty_super()' function which is used by ext4 to update the superblock via the journal in the following cases: 1. When creating the first large file on a file system without EXT4_FEATURE_RO_COMPAT_LARGE_FILE feature. 2. When re-sizi

Re: [PATCH V2 5/5] perf/x86: Add Intel Nehalem-EX uncore support

2012-07-10 Thread Peter Zijlstra
On Thu, 2012-07-05 at 14:32 +0800, Yan, Zheng wrote: > The uncore subsystem in Nehalem-EX consists of 7 components > (U-Box, C-Box, B-Box, S-Box, R-Box, M-Box and W-Box). This > patch is large because the way to program these boxes is > diverse. > Thanks, I added the below little delta. Did you m

[PATCHv5 4/4] ext4: weed out ext4_write_super

2012-07-10 Thread Artem Bityutskiy
From: Artem Bityutskiy We do not depend on VFS's '->write_super()' anymore and do not need the 's_dirt' flag anymore. This patch weeds out 'ext4_write_super()' and the 's_dirt' usage in VFS. Signed-off-by: Artem Bityutskiy --- fs/ext4/super.c | 10 -- 1 files changed, 0 insertions(+)

[PATCHv5 0/4] ext4: stop using write_supers and s_dirt

2012-07-10 Thread Artem Bityutskiy
This patch-set makes ext4 file-system stop using the VFS '->write_supers()' call-back and the '->s_dirt' superblock field because I plan to remove them once all users are gone. Most of the ext4 changes were done or suggested by Jan Kara (thanks!). This patch does not do anything complex - we basic

[PATCHv5 2/4] ext4: Convert last user of ext4_mark_super_dirty() to ext4_handle_dirty_super()

2012-07-10 Thread Artem Bityutskiy
From: Jan Kara The last user of ext4_mark_super_dirty() in ext4_file_open() is so rare it can well be modifying the superblock properly by journalling the change. Change it and get rid of ext4_mark_super_dirty() as it's not needed anymore. Artem: small amendments. Artem: tested using xfstests fo

Re: [PATCHv4 3/5] ext4: remove unnecessary superblock dirtying

2012-07-10 Thread Artem Bityutskiy
On Wed, 2012-07-04 at 15:11 +0200, Jan Kara wrote: > On Wed 04-07-12 15:21:52, Artem Bityutskiy wrote: > > From: Artem Bityutskiy > > > > This patch changes the '__ext4_handle_dirty_super()' function which is used > > by ext4 to update the superblock via the journal in the following cases: > > >

Re: [GIT PULL] at91: a little dt pull request for 3.6

2012-07-10 Thread Arnd Bergmann
On Monday 09 July 2012, Nicolas Ferre wrote: > Hi Arnd, hi Olof, > > The following changes since commit bd0a521e88aa7a06ae7aabaed7ae196ed4ad867a: > > Linux 3.5-rc6 (2012-07-07 17:23:56 -0700) > > are available in the git repository at: > > git://github.com/at91linux/linux-at91.git tags/at91

Re: [PATCH v4 0/8] Function tracing support for pstore

2012-07-10 Thread Arnd Bergmann
On Tuesday 10 July 2012, Anton Vorontsov wrote: > With this support kernel can save functions call chain log into a > persistent ram buffer that can be decoded and dumped after reboot > through pstore filesystem. It can be used to determine what function > was last called before a hang or an unexpe

[PATCH] USB: ehci-fsl: Update ifdef check to work on 64-bit ppc

2012-07-10 Thread Kumar Gala
We need to use CONFIG_FSL_SOC_BOOKE instead of CONFIG_PPC_85xx as CONFIG_PPC_85xx isn't defined when we build support for 64-bit embedded FSL PPC SoCs. Signed-off-by: Kumar Gala --- drivers/usb/host/ehci-fsl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-10 Thread Raghavendra K T
On 07/10/2012 03:17 AM, Andrew Theurer wrote: On Mon, 2012-07-09 at 11:50 +0530, Raghavendra K T wrote: Currently Pause Looop Exit (PLE) handler is doing directed yield to a random VCPU on PL exit. Though we already have filtering while choosing the candidate to yield_to, we can do better. Hi,

Re: mptscsi: BUG: unable to handle kernel NULL pointer, in scsi_send_eh_cmnd

2012-07-10 Thread Meelis Roos
> > I am using Linux 3.4.0 with a 53c1030 and a tape library that sometimes > > barfs for yet unknown reasons. When it happens, I get a BUG with > > backtrace and this scsi channel is dead until I reboot. Seems to be > > something with either generic scsi error handling or with mpt scsi. > > I

Re: [PATCH] drivers/rtc/rtc-twl.c: fix threaded IRQ to use IRQF_ONESHOT

2012-07-10 Thread Mark Brown
On Mon, Jul 09, 2012 at 03:15:27PM -0700, Andrew Morton wrote: > OK, this is the second such patch I've seen and it's time to wonder if > we should get grumpy at tglx. afacit 1c6c6952 broke the following > drivers: > sound/soc/codecs/wm8994.c > drivers/mfd/wm831x-auxadc.c > drivers/mfd/wm8350-co

Re: [PATCH RFC 2/2] kvm PLE handler: Choose better candidate for directed yield

2012-07-10 Thread Raghavendra K T
On 07/10/2012 04:00 AM, Rik van Riel wrote: On 07/09/2012 02:20 AM, Raghavendra K T wrote: +bool kvm_arch_vcpu_check_and_update_eligible(struct kvm_vcpu *vcpu) +{ + bool eligible; + + eligible = !vcpu->arch.plo.pause_loop_exited || + (vcpu->arch.plo.pause_loop_exited&& + vcpu->arch.plo.dy_eligi

[PATCH V2 1/5] i2c: tegra: remove unused member variable

2012-07-10 Thread Laxman Dewangan
Remove unused member variable "iomem" of the i2c device structure. This variable becomes unused when converted all allocation to devm_* in following change: i2c: tegra: make all resource allocation through devm_* Signed-off-by: Laxman Dewangan --- This patch is resend of earlier patch i2c:

Re: config warnings while selecting u300_defconfig

2012-07-10 Thread devendra.aaru
On Mon, Jul 9, 2012 at 12:38 AM, Linus Walleij wrote: > On Sat, Jul 7, 2012 at 7:02 PM, devendra.aaru wrote: > >> While doing compiling for u300, i selected the u300_defconfig, > (...) >> i got the following warnings, >> >> root@devendra:/home/devendra/linux# make ARCH=arm >> CROSS_COMPILE="/home

[PATCH 2/2] mfd: wm5110: Initial support for the WM5110

2012-07-10 Thread Mark Brown
The WM5110 is a highly-integrated low-power audio system for smartphones, tablets and other portable audio devices. It combines an advanced DSP feature set with a flexible, high-performance audio hub CODEC. The support is based on the Arizona core driver. Signed-off-by: Mark Brown --- drivers/m

Re: [PATCH] pwm: add lpc32xx pwm support

2012-07-10 Thread Alexandre Pereira da Silva
On Tue, Jul 10, 2012 at 3:48 AM, Thierry Reding wrote: > On Mon, Jul 09, 2012 at 04:27:54PM -0300, Alexandre Pereira da Silva wrote: >> Add lpc32xx soc pwm driver. >> >> Signed-off-by: Alexandre Pereira da Silva >> --- >> .../devicetree/bindings/pwm/lpc32xx-pwm.txt| 12 ++ >> drivers/p

Re: [PATCH 1/5] i2c: tegra: remove unused member variable

2012-07-10 Thread Shubhrajyoti Datta
Hi Laxman, On Tue, Jul 10, 2012 at 4:50 PM, Laxman Dewangan wrote: > Remove unused member variable "iomem" of the > i2c device structure. You might want to mention the commit which removed the last usage etc. > > Signed-off-by: Laxman Dewangan > --- > This patch is resend of earlier patch > i

Re: [PATCH v2] net: cgroup: fix access the unallocated memory in netprio cgroup

2012-07-10 Thread Neil Horman
On Tue, Jul 10, 2012 at 01:05:50PM +0200, Eric Dumazet wrote: > On Tue, 2012-07-10 at 18:44 +0800, Gao feng wrote: > > there are some out of bound accesses in netprio cgroup. > > > - update_netdev_tables(); > > + ret = extend_netdev_table(dev, max_len); > > + if (ret < 0) > > + got

Re: [MMTests] Interactivity during IO on ext3

2012-07-10 Thread Mel Gorman
On Tue, Jul 10, 2012 at 11:49:40AM +0200, Jan Kara wrote: > > === > > Machine:arnold > > Result: > > http://www.csn.ul.ie/~mel/postings/mmtests-20120424/global-dhp__io-interactive-performance-ext3/arnold/comparison.html > > Ar

[PATCH 3/5] i2c: tegra: use of_match_ptr() for match_table initialization

2012-07-10 Thread Laxman Dewangan
In place of defining match_table for non-DT based as NULL, use of_match_ptr() for initialzing the of_match_table. Signed-off-by: Laxman Dewangan --- drivers/i2c/busses/i2c-tegra.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers

Re: [PATCH] ACPI: Add ACPI CPU hot-remove support

2012-07-10 Thread IgorMammedov
domain.invalid> writes: > > From: Toshi Kani hp.com> > > Added CPU hot-remove support through an ACPI eject notification. > It calls acpi_bus_hot_remove_device(), which shares the same code > path with the sysfs eject operation. acpi_os_hotplug_execute() > serializes hot-remove operations be

[PATCH 0/5] i2c: tegra: Code cleanups and suspend/resume related changes

2012-07-10 Thread Laxman Dewangan
This patch series does: - Code cleanups like removing unused variables, using already define function - Use clock_disable_unprepare in place of clock_disable() - Use dev_pm_ops for suspend/resume inplace of legacy suspend/resume callbacks. - Convert suspend/resume to _noirq version to support late

[PATCH 2/5] i2c: tegra: use clk_disable_unprepare in place of clk_disable

2012-07-10 Thread Laxman Dewangan
Use clk_disable_unprepare() inplace of clk_disable(). This was missed as part of moving clock enable/disable to prepare/unprepare for using the common clock framework. Signed-off-by: Laxman Dewangan --- This is already discussed in patch [PATCH] i2c: tegra: use clk_disable_unprepare in place of c

[PATCH 4/5] i2c: tegra: Use struct dev_pm_ops for power management

2012-07-10 Thread Laxman Dewangan
Make the tegra i2c driver define its PM callbacks through struct dev_pm_ops objects rather than by using legacy PM hooks in struct platform_driver. Signed-off-by: Laxman Dewangan --- drivers/i2c/busses/i2c-tegra.c | 19 +-- 1 files changed, 13 insertions(+), 6 deletions(-) dif

[PATCH 5/5] i2c: tegra: convert normal suspend/resume to *_noirq

2012-07-10 Thread Laxman Dewangan
To provide the late suspend and early resume for i2c driver, convert the suspend/resume as suspend-> suspend_noirq resume -> resume_noirq Signed-off-by: Laxman Dewangan --- drivers/i2c/busses/i2c-tegra.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --gi

[PATCH 1/5] i2c: tegra: remove unused member variable

2012-07-10 Thread Laxman Dewangan
Remove unused member variable "iomem" of the i2c device structure. Signed-off-by: Laxman Dewangan --- This patch is resend of earlier patch i2c: tegra: remove unused member variable. and sending it as part fo series. drivers/i2c/busses/i2c-tegra.c |2 -- 1 files changed, 0 insertions(+), 2

Re: [PATCH v4 0/5] ARM: topology: set the capacity of each cores for big.LITTLE

2012-07-10 Thread Peter Zijlstra
On Mon, 2012-07-09 at 11:27 +0200, Vincent Guittot wrote: > This patchset creates an arch_scale_freq_power function for ARM, which is > used > to set the relative capacity of each core of a big.LITTLE system. It also > removes > the broken power estimation of x86. > > Modification since v3: >

[PATCH 3/3] panel: Use pr_err(...) rather than printk(KERN_ERR ...)

2012-07-10 Thread Toshiaki Yamane
This change is inspired by checkpatch. Signed-off-by: Toshiaki Yamane --- drivers/staging/panel/panel.c | 18 +++--- 1 files changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index 7b79f53..d6a7a51 100644 --- a/dri

[PATCH 2/3] panel: Use pr_info(...) rather than printk(KERN_INFO ...)

2012-07-10 Thread Toshiaki Yamane
This change is inspired by checkpatch. Signed-off-by: Toshiaki Yamane --- drivers/staging/panel/panel.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index 6f40ec8..7b79f53 100644 --- a/drivers/stag

Re: [PATCH RFC 1/2] kvm vcpu: Note down pause loop exit

2012-07-10 Thread Raghavendra K T
On 07/10/2012 04:09 AM, Rik van Riel wrote: On 07/09/2012 02:20 AM, Raghavendra K T wrote: @@ -484,6 +484,13 @@ struct kvm_vcpu_arch { u64 length; u64 status; } osvw; + + /* Pause loop exit optimization */ + struct { + bool pause_loop_exited; + bool dy_eligible; + } plo; I know kvm_vcpu_arch

[PATCH 1/3] panel: Use pr_debug(...) rather than printk(KERN_DEBUG ...)

2012-07-10 Thread Toshiaki Yamane
This change is inspired by checkpatch. Signed-off-by: Toshiaki Yamane --- drivers/staging/panel/panel.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index 7365089..6f40ec8 100644 --- a/drivers/stagi

Re: linux-next: build failure after merge of the driver-core tree

2012-07-10 Thread Stephen Rothwell
Hi Mark, On Tue, 10 Jul 2012 10:03:25 +0100 Mark Brown wrote: > > On Tue, Jul 10, 2012 at 03:32:10PM +1000, Stephen Rothwell wrote: > > > Caused by commit 01eaf2458773 ("extcon: Convert extcon_gpio to > > devm_gpio_request_one"). devm_gpio_request_one is not currently exported > > to modules.

Re: [PATCH 11/16] netvm: Propagate page->pfmemalloc from skb_alloc_page to skb

2012-07-10 Thread Mel Gorman
On Mon, Jul 09, 2012 at 09:18:56PM +0200, Sebastian Andrzej Siewior wrote: > > > I can update e1000 if you like but it's not critical > > to do so and in fact getting a bug reporting saying that network swap > > was slow on e1000 would be useful to me in its own way :) > No, leave as it, I was jus

[PATCH v2 1/3] regulator: tps65217: Add device tree support

2012-07-10 Thread AnilKumar Ch
This commit adds device tree support for tps65217 pmic. And usage details are added to device tree documentation. Driver is tested by using kernel module with regulator set and get APIs. Signed-off-by: AnilKumar Ch --- .../devicetree/bindings/regulator/tps65217.txt | 91 +++

[PATCH v2 2/3] ARM: OMAP2+: AM33XX: Add tps65910 device tree data

2012-07-10 Thread AnilKumar Ch
Add device tree data for tps65910 regulator by adding all the consumers necessary for AM335X-EVM. The data will be map to a regulator constraints which is required for regulator set_voltage and get_voltage calls. All tps65910 PMIC regulator constraints are placed in a seperate device tree include

[PATCH v2 0/3] Add device tree support for AM33XX regulators

2012-07-10 Thread AnilKumar Ch
Add device tree support for regulators present on AM33XX family of devices like AM335X-EVM and AM335X-Bone. TPS65217 regulator is present on AM335X-Bone and TPS65910 on AM335X-EVM. First patch adds the device tree support to tps65217 regulator so that it will take the parameters from tps65217.dtsi

[PATCH v2 3/3] ARM: OMAP2+: AM33XX: Add tps65217 device tree data

2012-07-10 Thread AnilKumar Ch
Add device tree data for tps65217 regulator by adding all the consumers necessary for AM335X-BeagleBone. The data will be map to a regulator constraints which is required for regulator set_voltage and get_voltage calls. All tps65217 PMIC regulator constraints are placed in a seperate device tree i

Re: [PATCH 04/16] mm: allow PF_MEMALLOC from softirq context

2012-07-10 Thread Mel Gorman
On Mon, Jul 09, 2012 at 06:57:10PM +0200, Sebastian Andrzej Siewior wrote: > On Mon, Jul 09, 2012 at 11:04:42AM +0100, Mel Gorman wrote: > > > - lets assume your allocation happens with kmalloc() without > > > __GFP_MEMALLOC > > > and current->flags has PF_MEMALLOC ORed and your SLAB pool is emp

bisected regression since 3.5-rc5 - hang on boot on some sparc64 machines

2012-07-10 Thread Meelis Roos
A regression since 3.5-rc5 stops Sun Fire V100 and Sun Netra X1 sparc64 machines from booting, hanging after enabling serial console. Several different other sparc64 systems work fine with 3.5-rc6. prtconf and full dmesg below. Bisecting leads to 107a84e61cdd3406c842a0e4be7efffd3a05dba6 is the

Re: [PATCH v2] net: cgroup: fix access the unallocated memory in netprio cgroup

2012-07-10 Thread Eric Dumazet
On Tue, 2012-07-10 at 13:05 +0200, Eric Dumazet wrote: > On Tue, 2012-07-10 at 18:44 +0800, Gao feng wrote: > > there are some out of bound accesses in netprio cgroup. > > > - update_netdev_tables(); > > + ret = extend_netdev_table(dev, max_len); > > + if (ret < 0) > > + goto out_f

Re: [PATCH] gpiolib: Defer failed gpio requests by default

2012-07-10 Thread Mark Brown
On Mon, Jul 09, 2012 at 10:54:41PM +0100, Grant Likely wrote: > I'm fine with this patch, but the patch that adds the twizzling of the > dpm_list when probing needs some tweaking, and this patch must be > applied after that one. I'll go and reply to that patch now (and cc > you if you're not alre

Re: [PATCH v2] net: cgroup: fix access the unallocated memory in netprio cgroup

2012-07-10 Thread Eric Dumazet
On Tue, 2012-07-10 at 18:44 +0800, Gao feng wrote: > there are some out of bound accesses in netprio cgroup. > - update_netdev_tables(); > + ret = extend_netdev_table(dev, max_len); > + if (ret < 0) > + goto out_free_devname; > + > ret = 0; > rcu_read_lock(); >

Re: [PATCH 02/13] rbtree: empty nodes have no color

2012-07-10 Thread Daniel Santos
On 07/09/2012 06:35 PM, Michel Lespinasse wrote: > Empty nodes have no color. We can make use of this property to > simplify the code emitted by the RB_EMPTY_NODE and RB_CLEAR_NODE > macros. Also, we can get rid of the rb_init_node function which had > been introduced by commit 88d19cf37952a7e1e3

[RFC PATCH 8/8] nouveau: Prime execbuffer submission synchronization

2012-07-10 Thread Maarten Lankhorst
From: Maarten Lankhorst Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/nouveau/nouveau_gem.c | 121 +++-- 1 file changed, 116 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_gem.c b/drivers/gpu/drm/nouveau/nouveau_gem.c index 11c9c

[RFC PATCH 5/8] nouveau: Add methods preparing for prime fencing

2012-07-10 Thread Maarten Lankhorst
From: Maarten Lankhorst This can be used by nv84 and nvc0 to implement hardware fencing, earlier systems will require more thought but can fall back to software for now. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/nouveau/nouveau_bo.c |6 +- drivers/gpu/drm/nouveau/nouveau_c

[RFC PATCH 7/8] nouveau: nvc0 fence prime implementation

2012-07-10 Thread Maarten Lankhorst
From: Maarten Lankhorst Create a read-only mapping for every imported bo, and create a prime bo in in system memory. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/nouveau/nvc0_fence.c | 104 +- 1 file changed, 89 insertions(+), 15 deletions(-) diff --gi

[RFC PATCH 6/8] nouveau: nv84 fence prime implementation

2012-07-10 Thread Maarten Lankhorst
From: Maarten Lankhorst Create a dma object for the prime semaphore and every imported sync bo. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/nouveau/nv84_fence.c | 121 -- 1 file changed, 115 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/n

[RFC PATCH 4/8] nouveau: add nouveau_bo_vma_add_access

2012-07-10 Thread Maarten Lankhorst
From: Maarten Lankhorst This is needed to allow creation of read-only vm mappings in fence objects. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/nouveau/nouveau_bo.c |6 +++--- drivers/gpu/drm/nouveau/nouveau_drv.h |6 -- 2 files changed, 7 insertions(+), 5 deletions(-) d

[RFC PATCH 3/8] nouveau: Extend prime code

2012-07-10 Thread Maarten Lankhorst
From: Maarten Lankhorst The prime code no longer requires the bo to be backed by a gem object, and cpu access calls have been implemented. This will be needed for exporting fence bo's. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/nouveau/nouveau_drv.h |6 +- drivers/gpu/drm/nouve

[RFC PATCH 2/8] prime wip: i915

2012-07-10 Thread Maarten Lankhorst
From: Maarten Lankhorst Export the hardware status page so others can read seqno. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/i915_gem_dmabuf.c | 29 -- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 87 drivers/gpu/drm/i915/intel_ringb

[RFC PATCH 1/8] dma-buf-mgr: Try 2

2012-07-10 Thread Maarten Lankhorst
From: Maarten Lankhorst Core code based on ttm_bo and ttm_execbuf_util Signed-off-by: Maarten Lankhorst --- drivers/base/Makefile |2 +- drivers/base/dma-buf-mgr-eu.c | 263 + drivers/base/dma-buf-mgr.c| 149 +++ dr

[RFC PATCH 0/8] Dmabuf synchronization

2012-07-10 Thread Maarten Lankhorst
This patch implements my attempt at dmabuf synchronization. The core idea is that a lot of devices will have their own methods of synchronization, but more complicated devices allow some way of fencing, so why not export those as dma-buf? This patchset implements dmabufmgr, which is based on ttm's

Re: [PATCH 14/16] sched: make __update_entity_runnable_avg() fast

2012-07-10 Thread Peter Zijlstra
On Mon, 2012-07-09 at 13:18 -0700, Benjamin Segall wrote: > Correct, the sum is 1..n. The maximum was chosen as 516/46742 because > that is the point when the approximation of loop + fixed point math > being used reaches a maximum, even if the ideal y^n series would cap out > slightly differently.

Re: [PATCH 1/2] KVM: X86: remove read buffer for mmio read

2012-07-10 Thread Gleb Natapov
On Tue, Jul 10, 2012 at 01:45:15PM +0300, Avi Kivity wrote: > On 07/10/2012 01:36 PM, Gleb Natapov wrote: > > On Mon, Jul 09, 2012 at 04:34:50PM +0300, Avi Kivity wrote: > > > On 07/09/2012 04:23 PM, Xiao Guangrong wrote: > > > > On 07/09/2012 08:49 PM, Avi Kivity wrote: > > > >> On 07/09/2012 02:2

Re: [PATCH] mm: don't invoke __alloc_pages_direct_compact when order 0

2012-07-10 Thread Mel Gorman
On Sun, Jul 08, 2012 at 11:33:14AM +0900, JoonSoo Kim wrote: > 2012/7/7 David Rientjes : > > On Sat, 7 Jul 2012, Joonsoo Kim wrote: > > > >> __alloc_pages_direct_compact has many arguments so invoking it is very > >> costly. > >> And in almost invoking case, order is 0, so return immediately. > >>

[PATCH v2] Bluetooth: Add MacBookPro10,1 support

2012-07-10 Thread Henrik Rydberg
Add support for the 2012 15'' MacBook Pro Retina, also known as MacBookPro10,1. The bluetooth device presents itself as Bus 002 Device 008: ID 05ac:8286 Apple, Inc. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 255 Ve

Re: [PATCH 1/2] KVM: X86: remove read buffer for mmio read

2012-07-10 Thread Avi Kivity
On 07/10/2012 01:36 PM, Gleb Natapov wrote: > On Mon, Jul 09, 2012 at 04:34:50PM +0300, Avi Kivity wrote: > > On 07/09/2012 04:23 PM, Xiao Guangrong wrote: > > > On 07/09/2012 08:49 PM, Avi Kivity wrote: > > >> On 07/09/2012 02:23 PM, Gleb Natapov wrote: > > >>> > > kvm-unit-tests.git has a te

<    1   2   3   4   5   6   >