Re: [PATCH] mpt2sas: prevent double free on error path

2013-01-23 Thread Bjørn Mork
Jörn Engel writes: > diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c > b/drivers/scsi/mpt2sas/mpt2sas_scsih.c > index c6bdc92..43b3a98 100644 > --- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c > +++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c > @@ -570,6 +570,18 @@ _scsih_sas_device_find_by_handle(struct

Re: [RFC PATCH 0/2] sched: simplify the select_task_rq_fair()

2013-01-23 Thread Mike Galbraith
On Thu, 2013-01-24 at 15:15 +0800, Michael Wang wrote: > On 01/24/2013 02:51 PM, Mike Galbraith wrote: > > On Thu, 2013-01-24 at 14:01 +0800, Michael Wang wrote: > > > >> I've enabled WAKE flag on my box like you did, but still can't see > >> regression, and I've just tested on a power server wit

Re: [PATCH 1/2] tcp: make tcp_timestamp dependent on tcp_sock

2013-01-23 Thread Andrew Vagin
On Wed, Jan 23, 2013 at 08:25:17AM -0800, Eric Dumazet wrote: > > @@ -1142,9 +1145,11 @@ static inline void tcp_openreq_init(struct > > request_sock *req, > > static inline void tcp_synack_rtt_meas(struct sock *sk, > >struct request_sock *req) > > { > > + co

Re: [PATCH 0/4] i2c-designware: add Intel Lynxpoint support

2013-01-23 Thread Wolfram Sang
On Thu, Jan 17, 2013 at 12:31:03PM +0200, Mika Westerberg wrote: > Hi all, > > This series adds support for the Intel Lynxpoint Low Power Subsystem I2C > controllers. They are compatible with the DesignWare I2C controller. > > Patches [1/4] and [2/4] are fixes that are necessary to get the driver

Re: [PATCH] i2c: tegra: add support for Tegra114 SoC

2013-01-23 Thread Wolfram Sang
On Sat, Jan 05, 2013 at 05:34:46PM +0530, Laxman Dewangan wrote: > NVIDIA's Tegra114 has following enhanced feature in i2c controller: > - Enable/disable control for per packet transfer complete interrupt. > Earlier SoCs could not disable this. > - Single clock source for standard/fast and HS mod

Re: [PATCH] drivers: i2c-nforce2: fix coding style issues

2013-01-23 Thread Wolfram Sang
On Thu, Jan 10, 2013 at 03:07:42PM +0100, Laurent Navet wrote: > avoid these checkpatch.pl issues : > - ERROR: "foo * bar" should be "foo *bar" > - ERROR: switch and case should be at the same indent > - ERROR: "(foo*)" should be "(foo *)" > - ERROR: do not use assignment in if condition > - ERROR:

Re: [PATCH RFC] misc/at24: distinguish between eeprom and fram chips

2013-01-23 Thread Wolfram Sang
On Fri, Dec 07, 2012 at 11:14:28AM +0100, Lars Poeschel wrote: > > > > > I wanted to use a fm24c04 i2c fram chip with linux. I grepped the > > > > > source and found nothing. I later found that my chip can be handled > > > > > by at24 eeprom driver. It creates a sysfs file called eeprom to > > > >

Re: [PATCH V2 0/4] i2c: s3c2410: Add devm_* apis and cleanup

2013-01-23 Thread Wolfram Sang
On Fri, Nov 23, 2012 at 02:11:51PM +0530, Tushar Behera wrote: > This patchset cleans up the probe function of i2c-s3c2410 driver. > These have been tested on Exynos4210 based Origen board. > > Changes since V1: > * devm_request_mem_region and devm_ioremap calls were replaced by > devm_request_a

Re: [RFC PATCH 0/2] sched: simplify the select_task_rq_fair()

2013-01-23 Thread Michael Wang
On 01/24/2013 02:51 PM, Mike Galbraith wrote: > On Thu, 2013-01-24 at 14:01 +0800, Michael Wang wrote: > >> I've enabled WAKE flag on my box like you did, but still can't see >> regression, and I've just tested on a power server with 64 cpu, also >> failed to reproduce the issue (not compared with

[PATCH v2 3/3] mtd: add the new detection method for the unparsable nand chips

2013-01-23 Thread Huang Shijie
Add the new detection method find_nand_type_by_fullid() for the unparsable nand chips. The new detection method is called firstly before all the other detection methods. Signed-off-by: Huang Shijie --- drivers/mtd/nand/nand_base.c | 33 - 1 files changed, 32 ins

[PATCH v2 2/3] mtd: add a new table for the unparsable nand chips

2013-01-23 Thread Huang Shijie
We have 4 Toshiba nand chips which can not be parsed out by the id data. Add a new table for the unparsable nand chips. It makes mess if we add these entries to the nand_flash_ids table. The entries in the nand_flash_ids stands for a class of nand chips. But the unparsable nand chips are just som

[PATCH v2 1/3] mtd: add new fields to nand_flash_dev{}

2013-01-23 Thread Huang Shijie
As time goes on, we begin to meet the situation that we can not get enough information from some nand chips's id data. Take some Toshiba's nand chips for example. I have 4 Toshiba's nand chips in my hand: TC58NVG2S0F, TC58NVG3S0F, TC58NVG5D2, TC58NVG6D2 When we read these chips' datasheets

[PATCH v2 0/3] mtd: use the full-id as the keyword.

2013-01-23 Thread Huang Shijie
I ever submitted a patch to use the full-id as the keyword for some unparsable nand chips. This is the second tries. As time goes on, we begin to meet the situation that we can not get enough information from some nand chips's id data. Take some Toshiba's nand chips for example. I have 4 Toshiba's

Re: [RFC PATCH 0/2] sched: simplify the select_task_rq_fair()

2013-01-23 Thread Michael Wang
On 01/24/2013 02:01 PM, Michael Wang wrote: > On 01/23/2013 05:32 PM, Mike Galbraith wrote: > [snip] >> --- >> include/linux/topology.h |6 ++--- >> kernel/sched/core.c | 41 ++--- >> kernel/sched/fair.c | 52 >> +--

[PATCH] fbcon: don't lose the console font across generic->chip driver switch

2013-01-23 Thread Dave Airlie
From: Dave Airlie If grub2 loads efifb/vesafb, then when systemd starts it can set the console font on that framebuffer device, however when we then load the native KMS driver, the first thing it does is tear down the generic framebuffer driver. The thing is the generic code is doing the right t

[PATCH] mtd: devices: elm: Removes literals in elm DT node

2013-01-23 Thread Philip Avinash
As part of removing generalized dependency, replace literal fields in DT compatible field with <52> for am335x platforms. Signed-off-by: Philip Avinash --- Documentation/devicetree/bindings/mtd/elm.txt |2 +- drivers/mtd/devices/elm.c |2 +- 2 files changed, 2 insert

Re: [RFC PATCH 0/2] sched: simplify the select_task_rq_fair()

2013-01-23 Thread Mike Galbraith
On Thu, 2013-01-24 at 14:01 +0800, Michael Wang wrote: > I've enabled WAKE flag on my box like you did, but still can't see > regression, and I've just tested on a power server with 64 cpu, also > failed to reproduce the issue (not compared with virgin yet, but can't > see collapse). I'm not surp

[PATCHv2] crypto: caam - Added property fsl,sec-era in SEC4.0 device tree binding.

2013-01-23 Thread Vakul Garg
This new property defines the era of the particular SEC version. The compatible property in device tree "crypto" node has been updated not to contain SEC era numbers. Signed-off-by: Vakul Garg --- Changes in v1: 1. Marked fsl,sec-era as 'optional'. Changes in v2: 1. Changed 'fsl,

[PATCH 2/2] cgroup: remove a NULL check in cgroup_exit()

2013-01-23 Thread Li Zefan
init_task.cgroups is initialized at boot phase, and whenver a ask is forked, it's cgroups pointer is inherited from its parent, and it's never set to NULL afterwards. Signed-off-by: Li Zefan --- kernel/cgroup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/cgroup.c

[PATCH 1/2] cgroup: fix exit() vsrmdir() race

2013-01-23 Thread Li Zefan
In cgroup_exit() put_css_set_taskexit() is called without any lock, which might lead to accessing a freed cgroup: thread1 thread2 - exit() cgroup_exit() put_css_set_taskexit() atomic_dec(cgrp->count);

Re: [v3 2/2] ARM: tegra: Skip scu_enable(scu_base) if not Cortex A9

2013-01-23 Thread Hiroshi Doyu
Stephen Warren wrote @ Thu, 24 Jan 2013 06:04:55 +0100: > Branch scu-base-rework contains just the SCU base address patches. After > the few things listed below, I'll rename this branch and send a pull > request to arm-soc. > > 2) Lorenzo's last comment on "ARM: tegra: Use DT /cpu node to d

[PATCH v2 6/6] cgroup: remove bogus comments in cgroup_diput()

2013-01-23 Thread Li Zefan
Since commit 48ddbe194623ae089cc0576e60363f2d2e85662a ("cgroup: make css->refcnt clearing on cgroup removal optional"), each css holds a ref on cgroup's dentry, so cgroup_diput() won't be called until all css' refs go down to 0, which invalids the comments. Signed-off-by: Li Zefan --- kernel/cgr

[PATCH v2 5/6] cgroup: remove synchronize_rcu() from cgroup_diput()

2013-01-23 Thread Li Zefan
Free cgroup via call_rcu(). The actual work is done through workqueue. Signed-off-by: Li Zefan --- v2: move INIT_WORK() from cgroup_create() to init_cgroup_housekeeping() --- include/linux/cgroup.h | 1 + kernel/cgroup.c| 72 ++ 2 files

[PATCH v2 4/6] cgroup: remove duplicate RCU free on struct cgroup

2013-01-23 Thread Li Zefan
When destroying a cgroup, though in cgroup_diput() we've called synchronize_rcu(), we then still have to free it via call_rcu(). The story is, long ago to fix a race between reading /proc/sched_debug and freeing cgroup, the code was changed to utilize call_rcu(). See commit a47295e6bc42ad35f9c15ac

[PATCH v2 3/6] sched: remove redundant NULL cgroup check in task_group_path()

2013-01-23 Thread Li Zefan
A task_group won't be online (thus no one can see it) until cpu_cgroup_css_online(), and at that time tg->css.cgroup has been initialized, so this NULL check is redundant. Signed-off-by: Li Zefan --- kernel/sched/debug.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/kernel/sched/debu

[PATCH v2 2/6] sched: split out css_online/css_offline from tg creation/destruction

2013-01-23 Thread Li Zefan
This is a preparaton for later patches. - What do we gain from cpu_cgroup_css_online(): After ss->css_alloc() and before ss->css_online(), there's a small window that tg->css.cgroup is NULL. With this change, tg won't be seen before ss->css_online(), where it's added to the global list, so we're

[PATCH v2 1/6] cgroup: initialize cgrp->dentry before css_alloc()

2013-01-23 Thread Li Zefan
With this change, we're guaranteed that cgroup_path() won't see NULL cgrp->dentry, and thus we can remove the NULL check in it. (Well, it's not true, because dummptop.dentry is always NULL) Signed-off-by: Li Zefan --- kernel/cgroup.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-)

linux-next: New trees - ipsec and ipsec-next

2013-01-23 Thread Steffen Klassert
Hello Stephen, could you please add the ipsec and ipsec-next tree to linux-next? The ipsec tree is intended to cover fixes for the ipsec networking subsystem and the ipsec-next tree to cover changes for ipsec with linux-next as target. The trees are located at: git://git.kernel.org/pub/scm/linu

linux-next: Tree for Jan 24

2013-01-23 Thread Stephen Rothwell
Hi all, Changes since 20130123: The powerpc tree still had a build failure. The net-next tree gained a conflict against the mips tree. The sound-asoc tree still had its build failure so I used the version from next-20130122. The leds tree lost its build failure. The akpm tree gained a build

Re: [PATCH 2/3] tegra: pwm-backlight: add tegra pwm-bl driver

2013-01-23 Thread Alex Courbot
On Wednesday 23 January 2013 17:45:39 Alex Courbot wrote: > > I'm confused. Why would you want to call into pwm_bl directly? If we're > > going to split this up into separate platform devices, why not look up a > > given backlight device and use the backlight API on that? The pieces of > > the puzz

Re: [RFC PATCH 0/2] sched: simplify the select_task_rq_fair()

2013-01-23 Thread Michael Wang
On 01/23/2013 05:32 PM, Mike Galbraith wrote: [snip] > --- > include/linux/topology.h |6 ++--- > kernel/sched/core.c | 41 ++--- > kernel/sched/fair.c | 52 > +-- > 3 files changed, 70 insertions(+), 29

Re: [v3 2/2] ARM: tegra: Skip scu_enable(scu_base) if not Cortex A9

2013-01-23 Thread Santosh Shilimkar
Stephen, On Thursday 24 January 2013 10:34 AM, Stephen Warren wrote: On 01/23/2013 01:58 AM, Santosh Shilimkar wrote: On Tuesday 22 January 2013 10:34 PM, Olof Johansson wrote: On Tue, Jan 22, 2013 at 8:57 AM, Stephen Warren wrote: On 01/21/2013 11:07 PM, Santosh Shilimkar wrote: On Tuesday

linux-next: build failure after merge of the final tree (akpm tree related)

2013-01-23 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (sparc32 defconfig) failed like this: arch/sparc/mm/init_32.c: In function 'show_mem': arch/sparc/mm/init_32.c:60:23: error: invalid operands to binary << (have 'atomic_long_t' and 'int') Caused by commit "swap: add per-partition lo

[GIT PULL for v3.8-rc] DaVinci media fixes for v3.8

2013-01-23 Thread Prabhakar Lad
Hi Mauro, Please pull the following patches which fixes display on DA850 EVM . To avoid conflicts I have included a arm patch, which has been Acked by its maintainer. Fixes : - adv7343 encoder: fix configuring the encoder. - da850: pass data for adv7343 encoder for required configuratio

Re: [RFC/PATCH] scripts/tracing: Add trace_analyze.py tool

2013-01-23 Thread Minchan Kim
On Wed, Jan 23, 2013 at 06:37:56PM -0300, Ezequiel Garcia wrote: > Hi Minchan, > > On Wed, Jan 23, 2013 at 1:27 AM, Minchan Kim wrote: > > Hi Ezequiel, > > > > On Tue, Jan 22, 2013 at 06:46:58AM -0300, Ezequiel Garcia wrote: > >> From: Ezequiel Garcia > >> > >> The purpose of trace_analyze.py to

Re: [PATCH v2 65/76] ARC: UAPI Disintegrate arch/arc/include/asm

2013-01-23 Thread Vineet Gupta
On Wednesday 23 January 2013 06:20 PM, David Howells wrote: > Vineet Gupta wrote: > >> I generated this patch using the scripts you provided. If these look OK to >> you, can you please ACK. > > You need to take a look at uapi/asm/setup.h. It's created as an empty file - > which will get discard

[PATCH][v2] perf tools, powerpc: Fix compile warnings in tests/attr.c

2013-01-23 Thread Sukadev Bhattiprolu
[PATCH][v2] perf tools, powerpc: Fix compile warnings in tests/attr.c We print several '__u64' quantities using '%llu'. On powerpc, we by default include ' which results in __u64 being an unsigned long. This causes compile warnings which are treated as errors due to '-Werror'. By defining __SANE

fb: vt8500: Unmerged patches for 3.9

2013-01-23 Thread Tony Prisk
Hi Florian, I have a couple of patches that were submitted 02/Jan/13 that are still floating around - I couldn't see them added to your fbdev-next branch either. https://patchwork.kernel.org/patch/1924971/ https://patchwork.kernel.org/patch/1925021/ https://patchwork.kernel.org/patch/1924961/ htt

Re: [PATCH] ARM: mxs: dt: Add Crystalfontz CFA-10037 device tree support

2013-01-23 Thread Shawn Guo
On Tue, Jan 22, 2013 at 05:35:51PM +0100, Maxime Ripard wrote: > The CFA-10037 is another expansion board for the CFA-10036 module, with > only a USB Host, a Ethernet device and a lot of gpios. > > Signed-off-by: Maxime Ripard > --- > arch/arm/boot/dts/imx28-cfa10037.dts | 77 > ++

[PATCH] MAINTAINERS: Update John Stultz email

2013-01-23 Thread Nivedita Singhvi
John's email switched from IBM to Linaro. One less place for him to update now... Signed-off-by: Nivedita Singhvi --- MAINTAINERS |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4e734ed..59e68d8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

Re: [PATCH] vgacon/vt: clear buffer attributes when we load a 512 character font

2013-01-23 Thread H. Peter Anvin
We should clear this bit presumably on switching either from or to 512-char mode, since the bit doesn't really make sense either way. Dave Airlie wrote: >From: Dave Airlie > >When we switch from 256->512 byte font rendering mode, it means the >current contents of the screen is being reinterpre

Re: [PATCH v5 00/14] DMA Engine support for AM33XX

2013-01-23 Thread Sekhar Nori
Matt, On 1/24/2013 3:07 AM, Matt Porter wrote: > On Wed, Jan 23, 2013 at 10:21:42AM +0800, Mark Brown wrote: >> On Tue, Jan 22, 2013 at 09:26:34PM +0530, Sekhar Nori wrote: >>> On 1/16/2013 2:02 AM, Matt Porter wrote: >> This series adds DMA Engine support for AM33xx, which uses an EDMA

Re: [PATCH v5 00/14] DMA Engine support for AM33XX

2013-01-23 Thread Santosh Shilimkar
On Thursday 24 January 2013 02:19 AM, Matt Porter wrote: On Wed, Jan 23, 2013 at 04:37:55PM +0530, Santosh Shilimkar wrote: Matt, On Wednesday 16 January 2013 02:02 AM, Matt Porter wrote: [..] This series adds DMA Engine support for AM33xx, which uses an EDMA DMAC. The EDMA DMAC has been pre

Re: [PATCH v2 4/4] dw_dmac: return proper residue value

2013-01-23 Thread Viresh Kumar
On Wed, Jan 23, 2013 at 9:07 PM, Andy Shevchenko wrote: > diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c > static void dwc_scan_descriptors(struct dw_dma *dw, struct dw_dma_chan *dwc) > { > dma_addr_t llp; > @@ -410,6 +441,8 @@ static void dwc_scan_descriptors(struct dw_dma

[PATCH] iio: adc: add exynos5 adc driver under iio framwork

2013-01-23 Thread Naveen Krishna Chatradhi
This patch add an ADC IP found on EXYNOS5250 and EXYNOS5410 SoCs from Samsung. Also adds the Documentation for device tree bindings. Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: 1. Fixed comments from Lars 2. Added support for ADC on EXYNOS5410 Changes since v2: 1. Changed the

Re: [v3 2/2] ARM: tegra: Skip scu_enable(scu_base) if not Cortex A9

2013-01-23 Thread Stephen Warren
On 01/23/2013 01:58 AM, Santosh Shilimkar wrote: > On Tuesday 22 January 2013 10:34 PM, Olof Johansson wrote: >> On Tue, Jan 22, 2013 at 8:57 AM, Stephen Warren >> wrote: >>> On 01/21/2013 11:07 PM, Santosh Shilimkar wrote: On Tuesday 22 January 2013 11:22 AM, Hiroshi Doyu wrote: > Skip s

[GIT PULL] ARM: arm-soc fixes for 3.8-rc

2013-01-23 Thread Olof Johansson
Hi Linus, The following changes since commit 7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619: Linux 3.8-rc4 (2013-01-17 19:25:45 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/fixes-for-linus for you to fetch changes up to 4ad304

[PATCH] iio: adc: add exynos5 adc driver under iio framwork

2013-01-23 Thread Naveen Krishna Chatradhi
This patch adds driver for ADC IP found on EXYNOS5250 and EXYNOS5410 from Samsung. Also adds the Documentation for device tree bindings. Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: 1. Fixed comments from Lars 2. Added support for ADC on EXYNOS5410 Changes since v2: 1. Changed

Re: [PATCH 1/2] regulator: tps65217: Fix using wrong dev argument for calling of_regulator_match

2013-01-23 Thread Mark Brown
On Thu, Jan 24, 2013 at 10:27:30AM +0800, Axel Lin wrote: > - count = of_regulator_match(pdev->dev.parent, regs, > - reg_matches, TPS65217_NUM_REGULATOR); > + count = of_regulator_match(&pdev->dev, regs, reg_matches, > +TPS65217_N

Re: [PATCH 0/4] mfd: palma: add RTC and GPIO support

2013-01-23 Thread Laxman Dewangan
On Thursday 03 January 2013 04:16 PM, Laxman Dewangan wrote: This series add the RTC and gpio driver for the TI Palma series PMIC. The changes are splitted so that easy to apply in different sub systems. Laxman Dewangan (4): mfd: palmas: add rtc irq number as irq resource for palmas-rtc mf

Re: [PATCH v2 3/4] dw_dmac: fill individual length of descriptor

2013-01-23 Thread Viresh Kumar
On Wed, Jan 23, 2013 at 9:07 PM, Andy Shevchenko wrote: > It will be useful to have the length of the transfer in the descriptor. The > cyclic transfer functions remained untouched. > > Signed-off-by: Andy Shevchenko > --- > drivers/dma/dw_dmac.c |4 +++- > 1 file changed, 3 insertions(+), 1

Re: [PATCH 2/2] regulator: tps65910: Fix using wrong dev argument for calling of_regulator_match

2013-01-23 Thread Laxman Dewangan
On Thursday 24 January 2013 08:01 AM, Axel Lin wrote: The dev parameter is the device requesting the data. In this case it should be &pdev->dev rather than pdev->dev.parent. The dev parameter is used to call devm_kzalloc in of_get_regulator_init_data(), which means this fixes a memory leak becau

Re: [PATCH v2 1/4] dw_dmac: remove unnecessary tx_list field in dw_dma_chan

2013-01-23 Thread Viresh Kumar
On Wed, Jan 23, 2013 at 9:07 PM, Andy Shevchenko wrote: > The soft LLP mode is working for active descriptor only. So, we do not need to > have a copy of its pointer. > > Signed-off-by: Andy Shevchenko Acked-by: Viresh Kumar -- To unsubscribe from this list: send the line "unsubscribe linux-ker

Re: [PATCH] userns: improve uid/gid map collision detection

2013-01-23 Thread Serge E. Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > Initial implementation of the uid/gid maps will enforce that the > maps should be in order and would prevent a use case like this from > being used: > 0 10001 > 48 500 1 > > since the second entry both values should be bi

Re: [PATCH v2 2/4] dw_dmac: introduce total_len field in struct dw_desc

2013-01-23 Thread Viresh Kumar
On Wed, Jan 23, 2013 at 9:07 PM, Andy Shevchenko wrote: > By this new field we distinguish a total length of the chain and the > individual > length of each descriptor in the chain. > > Signed-off-by: Andy Shevchenko Acked-by: Viresh Kumar -- To unsubscribe from this list: send the line "unsub

Re: [PATCH v5 04/45] percpu_rwlock: Implement the core design of Per-CPU Reader-Writer Locks

2013-01-23 Thread Srivatsa S. Bhat
On 01/24/2013 01:27 AM, Tejun Heo wrote: > Hello, Srivatsa. > > On Thu, Jan 24, 2013 at 01:03:52AM +0530, Srivatsa S. Bhat wrote: >> Hmm.. I split it up into steps to help explain the reasoning behind >> the code sufficiently, rather than spring all of the intricacies at >> one go (which would mak

[PATCH] serial: pch_uart: fix sysrq handling for pch_uart

2013-01-23 Thread Liang Li
When PCH_UART_CONSOLE and SERIAL_CORE_CONSOLE is not set neither, the uart_port will have no 'sysrq' member hence their will need a '#ifdef' in pch_uart.c to handle the case, otherwise we'll see compile error like this: CC [M] drivers/tty/serial/pch_uart.o drivers/tty/serial/pch_uart.c: In func

Re: linux-next: Tree for Jan 23 (pch_uart.c)

2013-01-23 Thread Liang Li
On 2013-01-24 12:15, Stephen Rothwell wrote: > Hi, > > On Thu, 24 Jan 2013 10:30:54 +0800 Liang Li wrote: > > > > Should I add a fix for the compile error .. or do squash then send out > > refreshed patch ? > > You need to send a fix patch to Greg based on his tty tree > (git://git.kernel.org/p

[PATCH] vgacon/vt: clear buffer attributes when we load a 512 character font

2013-01-23 Thread Dave Airlie
From: Dave Airlie When we switch from 256->512 byte font rendering mode, it means the current contents of the screen is being reinterpreted. The bit that holds the high bit of the 9-bit font, may have been previously set, and thus the new font misrenders. The problem case we see is grub2 writes

Re: linux-next: Tree for Jan 23 (pch_uart.c)

2013-01-23 Thread Stephen Rothwell
Hi, On Thu, 24 Jan 2013 10:30:54 +0800 Liang Li wrote: > > Should I add a fix for the compile error .. or do squash then send out > refreshed patch ? You need to send a fix patch to Greg based on his tty tree (git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git). -- Cheers, Stephen Ro

Re: [PATCH v5 01/45] percpu_rwlock: Introduce the global reader-writer lock backend

2013-01-23 Thread Michel Lespinasse
On Tue, Jan 22, 2013 at 11:32 AM, Steven Rostedt wrote: > On Tue, 2013-01-22 at 13:03 +0530, Srivatsa S. Bhat wrote: >> A straight-forward (and obvious) algorithm to implement Per-CPU Reader-Writer >> locks can also lead to too many deadlock possibilities which can make it very >> hard/impossible

Re: [PATCH 2/2] x86 e820: Introduce memmap=resetusablemap for kdump usage

2013-01-23 Thread Yinghai Lu
On Tue, Jan 22, 2013 at 12:06 PM, Yinghai Lu wrote: > On Tue, Jan 22, 2013 at 8:32 AM, H. Peter Anvin wrote: >>> Again: Please explain what is bad with this solution. >>> I cannot see a better and more robust way for kdump other than >>> reserving the original reserved memory areas as declared by

Re: [v0][PATCH 1/1] powerpc/book3e: disable interrupt after preempt_schedule_irq

2013-01-23 Thread Benjamin Herrenschmidt
On Sun, 2013-01-06 at 18:49 +0800, Tiejun Chen wrote: > In preempt case current arch_local_irq_restore() from > preempt_schedule_irq() may enable hard interrupt but we really > should disable interrupts when we return from the interrupt, > and so that we don't get interrupted after loading SRR0/1.

[PATCH 03/74] ASoC: pcm: allow backend hardware to be freed in pause state

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Patrick Lai commit 08b27848da620f206a8b6d80f26184485dd7aa40 upstream. When front-end PCM session is in paused state, back-end PCM session will be put in paused state as well if given front

[PATCH 04/74] ASoC: wm2200: Fix setting dai format in wm2200_set_fmt

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit 2a5f431592343b78896013b055582f94c12a5049 upstream. According to the defines in wm2200.h: /* * R1284 (0x504) - Audio IF 1_5 */ We should not left shift 1 bit for fmt_val

[PATCH v4 2/8] input: ti_am335x_tsc: Order of TSC wires, made configurable

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" The current driver expected touchscreen input wires(XP,XN,YP,YN) to be connected in a particular order. Making changes to accept this as platform data. Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/ti_am335x_tsc.c | 156 ++--- include

[PATCH v4 3/8] input: touchscreen: ti_tsc: remove unwanted fifo flush

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" When touchscreen and ADC are used together, this unwanted fifo flush leads to loss of ADC data. Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/ti_am335x_tsc.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/input/touchscreen/ti_am335x_

[PATCH v4 7/8] IIO: ti_am335x_adc: Add DT support

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" Add DT support for client ADC driver. Signed-off-by: Patil, Rachna --- Changes in v4: Non-standard properties prefixed with vendor name. drivers/iio/adc/ti_am335x_adc.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --gi

[PATCH v4 0/8] MFD: ti_am335x_tscadc: DT support and TSC features addition

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" This patch set is a cumulative set of [1] and [2] sent earlier. Note that there are no code changes in either of the patch set, only rebased on top of Linus's v3.8-rc3 tag to make sure that all the patches apply without any conflicts. This patch set has been tested on AM33

[PATCH v4 6/8] input: ti_am335x_tsc: Add DT support

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" Add DT support for client touchscreen driver Signed-off-by: Patil, Rachna --- Changes in v4: Non-standard properties prefixed with vendor name. drivers/input/touchscreen/ti_am335x_tsc.c | 94 + 1 file changed, 81 insertions(+), 13 de

[PATCH v4 5/8] MFD: ti_am335x_tscadc: Add DT support

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" Make changes to add DT support in the MFD core driver. Signed-off-by: Patil, Rachna --- Changes in v4: Non-standard properties prefixed with vendor name. drivers/mfd/ti_am335x_tscadc.c | 28 +++- 1 file changed, 23 insertions(+), 5 delet

[PATCH v4 8/8] arm/dts: AM335x-evm: Add TSC/ADC MFD device support

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" Add support for core multifunctional device along with its clients touchscreen and ADC. Signed-off-by: Patil, Rachna --- Changes in v4: Non-standard properties prefixed with vendor name. arch/arm/boot/dts/am335x-evm.dts | 13 + arch/arm/boot/dts/am3

[PATCH v4 4/8] MFD: ti_am335x_tscadc: add device tree binding information

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" Signed-off-by: Patil, Rachna --- Changes in v4: Subnodes and their properties documentation added. Non-standard properties prefixed with vendor name. .../devicetree/bindings/mfd/ti_am335x_tscadc.txt | 52 1 file changed, 52 inserti

[PATCH v4 1/8] input: ti_am335x_tsc: Step enable bits made configurable

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" Current code has hard coded value written to step enable bits. Now the bits are updated based on how many steps are needed to be configured got from platform data. The user needs to take care not to exceed the count more than 16. While using ADC and TSC one should take care

[PATCH 06/74] mac80211: use del_timer_sync for final sta cleanup timer deletion

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit a56f992cdabc63f56b4b142885deebebf936ff76 upstream. This is a very old bug, but there's nothing that prevents the timer from running while the module is being removed w

[PATCH 10/74] USB: Ignore xHCI Reset Device status.

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 8b8132bc3d1cc3d4c0687e4d638a482fa920d98a upstream. When the USB core finishes reseting a USB device, the xHCI driver sends a Reset Device command to the host. The xHC t

[PATCH 11/74] USB: Allow USB 3.0 ports to be disabled.

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 41e7e056cdc662f704fa9262e5c6e213b4ab45dd upstream. If hot and warm reset fails, or a port remains in the Compliance Mode, the USB core needs to be able to disable a USB

[PATCH 12/74] USB: Increase reset timeout.

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 77c7f072c87fa951e9a74805febf26466f31170c upstream. John's NEC 0.96 xHCI host controller needs a longer timeout for a warm reset to complete. The logs show it takes 650m

[PATCH 01/74] usb: gadget: dummy: fix enumeration with g_multi

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit 1d16638e3b9cc195bac18a8fcbca748f33c1bc24 upstream. If we do have endpoints named like "ep-a" then bEndpointAddress is counted internally by the gadget fram

[PATCH 14/74] USB: Handle warm reset failure on empty port.

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 65bdac5effd15d6af619b3b7218627ef4d84ed6a upstream. An empty port can transition to either Inactive or Compliance Mode if a newly connected USB 3.0 device fails to link t

[PATCH 07/74] mac80211: fix dtim_period in hidden SSID AP association

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 826262c3d23743cb032a9e1a65a0f9be75091a5e upstream. When AP's SSID is hidden the BSS can appear several times in cfg80211's BSS list: once with a zero-length SSID that

Re: [PATCH 1/1] mfd: wm8994: Use devm_regulator_bulk_get API

2013-01-23 Thread Sachin Kamat
Hi Samuel, On 8 January 2013 16:06, Mark Brown wrote: > On Tue, Jan 08, 2013 at 02:01:22PM +0530, Sachin Kamat wrote: >> devm_regulator_bulk_get is device managed and saves some cleanup >> and exit code. > > Acked-by: Mark Brown Would you be picking this patch up? -- With warm regards, Sachi

[PATCH 19/74] ASoC: wm2000: Fix sense of speech clarity enable

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit 267f8fa2e1eef0612b2007e1f1846bcbc35cc1fa upstream. Signed-off-by: Mark Brown Signed-off-by: Herton Ronaldo Krzesinski --- sound/soc/codecs/wm2000.c |4 ++-- 1 file

[PATCH 20/74] drm/i915; Only increment the user-pin-count after successfully pinning the bo

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 93be8788e648817d62fda33e2998eb6ca6ebf3a3 upstream. As along the error path we do not correct the user pin-count for the failure, we may end up with userspace believing

[PATCH 22/74] sony-laptop: fix SNC buffer calls when SN06 returns Integers

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Mattia Dongili commit dcbeec264d73b7228ffdfe767eab69b2353099b1 upstream. SN06 in some cases returns an Integer instead of a buffer. While the code handling the return value was trying to c

[PATCH 25/74] staging: speakup: avoid out-of-range access in synth_init()

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Nickolai Zeldovich commit ae428655b826f2755a8101b27beda42a275ef8ad upstream. Check that array index is in-bounds before accessing the synths[] array. Signed-off-by: Nickolai Zeldovich Cc

[PATCH 27/74] staging: comedi: fix minimum AO period for NI 625x and NI 628x

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?=C3=89ric=20Piel?= commit 34b55d8c48f4f76044d8f4d6ec3dc786cf210312 upstream. The minimum period was set to 357 ns, while the divider for these boards is 50 ns. This prevented to

[PATCH 30/74] regulator: max8997: Use uV in voltage_map_desc

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit bc3b7756b5ff66828acf7bc24f148d28b8d61108 upstream. Current code does integer division (min_vol = min_uV / 1000) before pass min_vol to max8997_get_voltage_proper_val(). So

[PATCH 31/74] regulator: max8998: Convert to regulator_list_voltage_linear()

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit 9a0fbb627cfa86303b8eb57377f536c64812cc85 upstream. Signed-off-by: Axel Lin Signed-off-by: Mark Brown Signed-off-by: Herton Ronaldo Krzesinski --- drivers/regulator/max8

[PATCH 32/74] regulator: max8998: Convert to set_voltage_sel and regulator_map_voltage_linear

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit baae019efe84b6d2c6d5e7e7e1c9cfa130ad6b2a upstream. Signed-off-by: Axel Lin Signed-off-by: Mark Brown Signed-off-by: Herton Ronaldo Krzesinski --- drivers/regulator/max8

[PATCH 33/74] regulator: max8998: Use uV in voltage_map_desc

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit adf6178ad5552a7f2f742a8c85343c50f080c412 upstream. Integer division may truncate. This happens when pdata->buckx_voltagex setting is not align with 1000 uV. Thus use uV in

[PATCH 35/74] ALSA: pxa27x: fix ac97 warm reset

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Mike Dunn commit 3b4bc7bccc7857274705b05cf81a0c72cfd0b0dd upstream. This patch fixes some code that implements a work-around to a hardware bug in the ac97 controller on the pxa27x. A bug

[PATCH 36/74] SUNRPC: Ensure we release the socket write lock if the rpc_task exits early

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 87ed50036b866db2ec2ba16b2a7aec4a2b0b7c39 upstream. If the rpc_task exits while holding the socket write lock before it has allocated an rpc slot, then the usual mech

[ RFC patch 0/4]: use runnable load avg in cfs balance instead of instant load

2013-01-23 Thread Alex Shi
This patchset can be used, but causes burst waking benchmark aim9 drop 5~7% on my 2 sockets machine. The reason is too light runnable load in early stage of waked tasks cause imbalance in balancing. So, it is immature and just a reference for guys who want to go gurther. Thanks! Alex [PATCH 1/4]

[PATCH 18/74] mwifiex: check wait_event_interruptible return value

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Bing Zhao commit 9c969d8ccb1e17bd20742f4ac9f00c1a64487234 upstream. wait_event_interruptible function returns -ERESTARTSYS if it's interrupted by a signal. Driver should check the return v

[PATCH 17/74] ASoC: wm5100: Remove DSP B and left justified formats

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit 5f960294e2031d12f10c8488c3446fecbf59628d upstream. These are not supported Signed-off-by: Mark Brown Signed-off-by: Herton Ronaldo Krzesinski --- sound/soc/codecs/wm5

[PATCH 16/74] ASoC: wm2200: Remove DSP B and left justified AIF modes

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit 0cc411b934c4317b363d1af993549f391852b980 upstream. These are not supported. Signed-off-by: Mark Brown Signed-off-by: Herton Ronaldo Krzesinski --- sound/soc/codecs/wm

[PATCH 28/74] staging: comedi: prevent auto-unconfig of manually configured devices

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit 7d3135af399e92cf4c9bbc5f86b6c140aab3b88c upstream. When a low-level comedi driver auto-configures a device, a `struct comedi_dev_file_info` is allocated (as well as a `st

[PATCH 2/4] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2013-01-23 Thread Alex Shi
They are the base values in load balance, update them with rq runnable load average, then the load balance will consider runnable load avg naturally. Signed-off-by: Alex Shi --- kernel/sched/core.c |8 kernel/sched/fair.c |4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-

[PATCH 37/74] target: use correct sense code for LUN communication failure

2013-01-23 Thread Herton Ronaldo Krzesinski
3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Hannes Reinecke commit 18a9df42d53fabfa43b78be1104838cc8b9762e1 upstream. The ASC/ASCQ code for 'Logical Unit Communication failure' is 0x08/0x00; 0x80/0x00 is vendor specific. Signed-off

  1   2   3   4   5   6   7   8   >