[PATCH 09/10] staging: media: go7007: Adlink_MPG24 board initialization fix.

2012-08-22 Thread Volokh Konstantin
setting via gpio i2c bus support at every time then init encoder. Signed-off-by: Volokh Konstantin --- drivers/staging/media/go7007/go7007-driver.c |5 + drivers/staging/media/go7007/go7007-usb.c|3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/stagin

[PATCH 01/10] staging: media: go7007: Some additional code for TW2804 driver functionality

2012-08-22 Thread Volokh Konstantin
- using new v4l2 framework controls - function for reading volatile controls via i2c bus - separate V4L2_CID_ ctrls into each V4L2 calls Signed-off-by: Volokh Konstantin --- drivers/staging/media/go7007/wis-tw2804.c | 248 + 1 files changed, 248 insertions(+), 0 dele

[PATCH 03/10] staging: media: go7007: Non main code changing

2012-08-22 Thread Volokh Konstantin
types cast approved, max channels==4 (ADC), i2c_smbus_write_ return s32 type Signed-off-by: Volokh Konstantin --- drivers/staging/media/go7007/wis-tw2804.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/media/go7007/wis-tw2804.c b/drivers/stag

[PATCH 02/10] staging: media: go7007: TW2804 driver fix

2012-08-22 Thread Volokh Konstantin
- correct cast private data from i2c_get_clientdata() - initialization priv data - destroy priv data - using V4L2 controls framework Signed-off-by: Volokh Konstantin --- drivers/staging/media/go7007/wis-tw2804.c | 72 +++-- 1 files changed, 57 insertions(+), 15 deletion

[PATCH 0/4] tools lib traceevent: Basic error handling

2012-08-22 Thread Namhyung Kim
Hi, I almost forgot that I have some libtraceevent patch left. ;) The first three of them are acked by Steven and the last is a port of a recent perf patch from Kirill that handles a strerror_r build warning. Please consider applying. Thanks, Namhyung Namhyung Kim (4): tools lib traceevent:

[PATCH 1/4] tools lib traceevent: Do not link broken field arg for an old ftrace event

2012-08-22 Thread Namhyung Kim
From: Namhyung Kim Defer linking a newly allocated arg to print_fmt.args until all of its field is setup so that later access to ->field.name cannot be NULL. Cc: Frederic Weisbecker Acked-by: Steven Rostedt Link: http://lkml.kernel.org/n/tip-7zlkindw0qqqe5h117u59...@git.kernel.org Signed-off-b

[PATCH 2/4] tools lib traceevent: Introduce pevent_errno

2012-08-22 Thread Namhyung Kim
From: Namhyung Kim Define and use error numbers for pevent_parse_event() and get rid of die() and do_warning() calls. If the function returns non-zero value, the caller can check the return code and do appropriate things. I chose the error numbers to be negative not to clash with standard errno,

[PATCH 4/4] tools lib traceevent: Fix strerror_r() use in pevent_strerror

2012-08-22 Thread Namhyung Kim
From: Namhyung Kim glibc-2.16 starts to mark the function with attribute warn_unused_result so that it can cause a build warning. Since GNU version of strerror_r() can return a pointer to a string without setting @buf, check the return value and copy/truncate it to our buffer if needed. Cc: Fre

[PATCH 3/4] tools lib traceevent: Introduce pevent_strerror

2012-08-22 Thread Namhyung Kim
From: Namhyung Kim The pevent_strerror() sets @buf to a string that describes the (libtraceevent-specific) error condition that is passed via @errnum. This is similar to strerror_r() and does same thing if @errnum has a standard errno value. To sync error string with its code, define PEVENT_ERR

[PATCH 07/10] staging: media: go7007: README TODO

2012-08-22 Thread Volokh Konstantin
Signed-off-by: Volokh Konstantin --- drivers/staging/media/go7007/README | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/drivers/staging/media/go7007/README b/drivers/staging/media/go7007/README index aeba132..237f45d 100644 --- a/drivers/stagin

[PATCH 08/10] staging: media: go7007: some additional functionality for sub.

2012-08-22 Thread Volokh Konstantin
zero cleaning allocation for fix. unregistering bug fixing. Signed-off-by: Volokh Konstantin --- drivers/staging/media/go7007/go7007-driver.c |2 +- drivers/staging/media/go7007/go7007-usb.c|2 +- drivers/staging/media/go7007/go7007-v4l2.c |7 +-- 3 files changed, 7 inserti

[PATCH 05/10] staging: media: go7007: Cleanup unused old code

2012-08-22 Thread Volokh Konstantin
Signed-off-by: Volokh Konstantin --- drivers/staging/media/go7007/wis-tw2804.c | 138 - 1 files changed, 0 insertions(+), 138 deletions(-) diff --git a/drivers/staging/media/go7007/wis-tw2804.c b/drivers/staging/media/go7007/wis-tw2804.c index 0b49342..7bd3058 10064

[PATCH 10/10] staging: media: go7007: some i2c initialization

2012-08-22 Thread Volokh Konstantin
i2c initialization via struct item as tw2804 have 0x00 i2c address, so need to use I2C_CLIENT_TEN flag for validity Signed-off-by: Volokh Konstantin --- drivers/staging/media/go7007/go7007-driver.c | 20 drivers/staging/media/go7007/go7007-priv.h |2 +- 2 files cha

[PATCH 04/10] staging: media: go7007: Add IDENT for TW2802/2804

2012-08-22 Thread Volokh Konstantin
Signed-off-by: Volokh Konstantin --- include/media/v4l2-chip-ident.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/media/v4l2-chip-ident.h b/include/media/v4l2-chip-ident.h index 7395c81..5395495 100644 --- a/include/media/v4l2-chip-ident.h +++ b/include/medi

[PATCH 06/10] staging: media: go7007: tw2804 ADC power control

2012-08-22 Thread Volokh Konstantin
switch off all ADC (max 4) with first init, we control it then start/stop grabbing frame Signed-off-by: Volokh Konstantin --- drivers/staging/media/go7007/wis-tw2804.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/staging/media/go7007/wis-tw2804.c b/drivers/st

Re: [PATCH 1/4] leds-lp5523: add channel name in the platform data

2012-08-22 Thread Bryan Wu
On Wed, Aug 22, 2012 at 1:43 PM, Kim, Milo wrote: >> > LP5523 can drive up to 9 channels. Leds can be controlled directly >> via >> > -the led class control interface. Channels have generic names: >> > +the led class control interface. >> > +The name of each channel is configurable in the platfor

Re: ext4 write performance regression in 3.6-rc1 on RAID0/5

2012-08-22 Thread Andreas Dilger
On 2012-08-22, at 12:00 AM, NeilBrown wrote: > On Wed, 22 Aug 2012 11:57:02 +0800 Yuanhan Liu > wrote: >> >> -#define NR_STRIPES 256 >> +#define NR_STRIPES 1024 > > Changing one magic number into another magic number might help your case, but > it not really a general solution.

[PATCH 1/5] vmscan: Fix obsolete comment of balance_pgdat

2012-08-22 Thread Minchan Kim
This patch correct obsolete comment caused by [1] and [2]. [1] 7ac6218, kswapd lockup fix [2] 32a4330, mm: prevent kswapd from freeing excessive amounts of lowmem Cc: Rik van Riel Cc: Mel Gorman Cc: Nick Piggin Signed-off-by: Minchan Kim --- mm/vmscan.c | 15 --- 1 file changed

[RFC 0/5] Consider higher small zone and mmaped-pages stream

2012-08-22 Thread Minchan Kim
This patchset solves two problem. 1. higher small memory zone - [2] and [3] 2. mmaped-pages stream reclaim efficiency [5] [1] and [4] is minor fix which isn't related with this series so it could be apply separately. I wrote down each problem in each patch description. Please look at each patch.

[PATCH 2/5] vmscan: sleep only if backingdev is congested

2012-08-22 Thread Minchan Kim
In small high zone(ex, 40M movable zone), reclaim priority could be raised easily so congestion_wait of balance_pgdat can make kswapd sleep unnecessarily so process ends up entering into direct reclaim path. It means processes's latency would be longer. This patch changes congestion_wait with wait

[PATCH 5/5] vmscan: accelerate to reclaim mapped-pages stream

2012-08-22 Thread Minchan Kim
Normally, mmapped data pages has a chance to stay around in LRU one more rather than others because they were bon with referecend pte so we can keep workingset mapped page in memory. But it can have a problem when there are a ton of mmaped page stream. VM should burn out CPU for rotating them in L

[PATCH 4/5] vmscan: get rid of unnecessary nr_dirty ret variable

2012-08-22 Thread Minchan Kim
Now anyone don't use nr_dirty so remove it. Cc: Rik van Riel Cc: Mel Gorman Signed-off-by: Minchan Kim --- mm/vmscan.c |6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index 0e2550c..1a66680 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -674

[PATCH 3/5] vmscan: prevent excessive pageout of kswapd

2012-08-22 Thread Minchan Kim
If higher zone is very small, priority could be raised easily while lower zones have enough free pages. When one of lower zones doesn't meet high watermark, the zone try to reclaim pages with the high prioirty which is increased by higher small zone. It ends up reclaiming excessive pages. I saw 8~1

Re: [PATCH 2/4] leds-lp5523: set the brightness to 0 forcely on removing the driver

2012-08-22 Thread Bryan Wu
On Wed, Aug 22, 2012 at 1:46 PM, Kim, Milo wrote: >> Hmmm, I think we still should use cancel_work() here based on your >> idea. Please find the patch from Tejun and add him to this loop >> [PATCH 4/6] workqueue: deprecate flush[_delayed]_work_sync() >> --- >> Before this patchset, >> >> flush_wo

Re: [Qemu-devel] [PATCH v8 5/6] introduce a new qom device to deal with panicked event

2012-08-22 Thread Wen Congyang
At 08/09/2012 03:01 AM, Blue Swirl Wrote: > On Wed, Aug 8, 2012 at 2:47 AM, Wen Congyang wrote: >> If the target is x86/x86_64, the guest's kernel will write 0x01 to the >> port KVM_PV_EVENT_PORT when it is panciked. This patch introduces a new >> qom device kvm_pv_ioport to listen this I/O port,

Re: [PATCH 0/3]: ezusb cleanup, FX2 support, firmware downloading support

2012-08-22 Thread Rene Buergel
> > - Although i removed the dependency from ezusb to usb_serial, > > ezusb.c still resides in drivers/usb/serial. > > Can you give me a hint, where to put it instead? > > I would like to do that with an additional patch. > > Why do you want to move it? because is has nothing to do with an

Re: [PATCH] perf: do not flush maps on COMM for perf report

2012-08-22 Thread Ingo Molnar
* Luigi Semenzato wrote: > This fixes a long-standing bug caused by the lack of separate > COMM and EXEC record types, which makes "perf report" lose > track of symbols when a process renames itself. > > With this fix (suggested by Stephane Eranian), a COMM (rename) > no longer flushes the maps

[PATCH v11 4/4] G45 TWI: remove open drain setting for twi function gpios

2012-08-22 Thread Nikolaus Voss
The G45 datasheets explicitly states that setting the open drain property on peripheral function gpios is not allowed. (How about other A91 chips?) Signed-off-by: Nikolaus Voss --- arch/arm/mach-at91/at91sam9g45_devices.c |6 -- 1 file changed, 6 deletions(-) diff --git a/arch/arm/mach-

[PATCH v11 1/4] drivers/i2c/busses/i2c-at91.c: remove old polling driver

2012-08-22 Thread Nikolaus Voss
Signed-off-by: Nikolaus Voss --- arch/arm/mach-at91/include/mach/at91_twi.h | 68 -- drivers/i2c/busses/Makefile|1 - drivers/i2c/busses/i2c-at91.c | 314 3 files changed, 383 deletions(-) delete mode 100644 arch/arm/mach-at91/

Re: [PATCH 0/4] tools lib traceevent: Basic error handling

2012-08-22 Thread Namhyung Kim
Hi Arnaldo, On Wed, 22 Aug 2012 16:00:27 +0900, Namhyung Kim wrote: > I almost forgot that I have some libtraceevent patch left. ;) The > first three of them are acked by Steven and the last is a port of a > recent perf patch from Kirill that handles a strerror_r build warning. > Please consider

[PATCH v2 1/2] leds-lp5523: add channel name in the platform data

2012-08-22 Thread Kim, Milo
The name of each led channel is configurable. If the name is NULL, just use the channel id for making the channel name Signed-off-by: Milo(Woogyom) Kim --- Documentation/leds/leds-lp5523.txt | 21 ++--- drivers/leds/leds-lp5523.c | 10 +++--- include/linux/leds-lp

[PATCH v2 2/2] leds-lp5523: set the brightness to 0 forcely on removing the driver

2012-08-22 Thread Kim, Milo
Turning off the brightness of each channel is required when removing the driver. So use flush_work() rather than cancel_work_sync() to execute remaining brightness works. Signed-off-by: Milo(Woogyom) Kim --- drivers/leds/leds-lp5523.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-

Re: Power: s3c_adc_battery.c backup battery query

2012-08-22 Thread Vasily Khoruzhick
On Wed, Aug 22, 2012 at 8:05 AM, anish kumar wrote: > Hello, Hi > I am trying to write a generic batttery driver using IIO and I have > one some below > questions: > > Why do we have the representation of backup battery in this > driver(s3c_adc_battery.c) and when does the > s3c_adc_backup_bat_g

Re: i2c-eg20t: regression since i2c_add_numbered_adapter change

2012-08-22 Thread Feng Tang
On Wed, 22 Aug 2012 08:30:35 +0200 Alexander Stein wrote: > Hello, > > I just noticed the 3.4 linux kernel fails to sucessfully probe the i2c-eg20t > driver. I returns with EBUSY error. It worked on the 3.0 kernel. To my view > it > is caused the commit 07e8a51ff68353e01d795cceafbac9f54c49132

[PATCH] RAID/DMA/caamxor: support XOR offload by CAAM

2012-08-22 Thread b29237
From: Xuelin Shi Add XOR offloading functionality by CAAM and interface with async_tx layer so that it can be used for RAID parity computation. Signed-off-by: Naveen Burmi Signed-off-by: Yuan Kang Signed-off-by: Xuelin Shi --- drivers/crypto/caam/Kconfig | 15 + drivers/crypto/caam/M

[PATCH v11 3/4] drivers/i2c/busses/i2c-at91.c: add new driver

2012-08-22 Thread Nikolaus Voss
This driver has the following properties compared to the old driver: 1. Support for multiple interfaces. 2. Interrupt driven I/O as opposed to polling/busy waiting. 3. Support for _one_ repeated start (Sr) condition, which is enough for most real-world applications including all SMBus transfer t

[PATCH v11 0/4] AT91: replace old i2c-at91.c TWI driver

2012-08-22 Thread Nikolaus Voss
The old driver has two main deficencies: i) No repeated start (Sr) condiction is possible, this makes it unusable e.g. for most SMBus transfers. ii) I/O was done with polling/busy waiting what caused over-/underruns even at light system loads and clock speeds. The new driver overcomes the

[PATCH v11 2/4] Replace clk_lookup.con_id with clk_lookup.dev_id entries for twi clk

2012-08-22 Thread Nikolaus Voss
The old driver used con_id clock entries. Convert to use dev_id for clock lookup via standard method. Signed-off-by: Nikolaus Voss --- arch/arm/mach-at91/at91rm9200.c |1 + arch/arm/mach-at91/at91sam9260.c |1 + arch/arm/mach-at91/at91sam9261.c |1 + arch/arm/mach-at91/at91sam9263.c

[PATCH 0/7] add imx-syscon driver for general registers access

2012-08-22 Thread Dong Aisheng
This patch series mainly adds an imx-syscon driver which is used to access general system controller registers like IOMUXC GPR and ANATOP, after that, we convert all the exist private access general registers code to use standard API from imx-syscon to access registers. Finally we remove the old m

[PATCH 1/7] mfd: add imx syscon driver based on regmap

2012-08-22 Thread Dong Aisheng
From: Dong Aisheng Add regmap based imx syscon driver. This is usually used for access misc bits in registers which does not belong to a specific module, for example, IOMUXC GPR and ANATOP. With this driver, we provide a standard API for client driver to call to access registers which are registe

[PATCH 3/7] ARM: imx6q: add anatop support into imx-syscon

2012-08-22 Thread Dong Aisheng
From: Dong Aisheng There're a few anatop registers need to be accessed by different modules. Add anatop registers into imx-syscon support for easy access. Signed-off-by: Dong Aisheng --- arch/arm/boot/dts/imx6q.dtsi |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ar

[PATCH 6/7] ARM: dts: imx6q: add simple-bus compatible string for anatop

2012-08-22 Thread Dong Aisheng
From: Dong Aisheng Originally the anatop regulator devices are populated by mfd anatop driver. Since mfd anatop driver will be deleted later, we change to populate the regulator devices by devicetree automatically. This will cause some warning messages as follows during boot due to device recreat

[PATCH 5/7] ARM: imx6q: convert to use imx-syscon to access anatop registers

2012-08-22 Thread Dong Aisheng
From: Dong Aisheng Using standard imx syscon API to access anatop registers. Signed-off-by: Dong Aisheng --- arch/arm/mach-imx/Kconfig |2 +- arch/arm/mach-imx/mach-imx6q.c | 25 ++--- 2 files changed, 7 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-

[PATCH 7/7] mfd: anatop-mfd: remove anatop driver

2012-08-22 Thread Dong Aisheng
From: Dong Aisheng The anatop registers are accessed via imx syscon now, no one will use mfd anatop driver anymore, remove it. Signed-off-by: Dong Aisheng --- drivers/mfd/Kconfig|8 --- drivers/mfd/Makefile |1 - drivers/mfd/anatop-mfd.c | 124 -

[PATCH 4/7] regulator: anatop-regulator: convert to use imx-syscon to access anatop register

2012-08-22 Thread Dong Aisheng
From: Dong Aisheng Using standard imx syscon API to access anatop register. Signed-off-by: Dong Aisheng --- arch/arm/boot/dts/imx6q.dtsi |6 ++ drivers/regulator/Kconfig|2 +- drivers/regulator/anatop-regulator.c | 17 +++-- 3 files changed, 18 ins

Re: apparent regressions from TLB range flushing page set

2012-08-22 Thread Jan Beulich
>>> Alex Shi 08/22/12 5:24 AM >>> >On 08/20/2012 10:12 PM, Jan Beulich wrote: >I was thought you have 'Agreed' for xen part code. :) I had agreed to it being done the right way, and I had pointed out the problem once. I can't say for sure that I looked at the most recent rev closely enough to spo

[PATCH 2/7] ARM: imx6q: add iomuxc gpr support into imx-syscon

2012-08-22 Thread Dong Aisheng
From: Dong Aisheng Include headfile for easy using. Signed-off-by: Dong Aisheng --- arch/arm/boot/dts/imx6q.dtsi |5 + include/linux/fsl/imx6q-iomuxc-gpr.h | 319 ++ 2 files changed, 324 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/

Re: apparent regressions from TLB range flushing page set

2012-08-22 Thread Jan Beulich
>>> Alex Shi 08/22/12 5:27 AM >>> >> Second, the UV code doesn't flush the full range at all, it simply >> ignores its 'end' parameter (and hence also the "all" indicator). > >Sure. the following rfc patch try to fix it. untested since no hardware. Sure - this needs to be looked at by a person k

Re: [PATCH v2] lis3lv02d: Add STMicroelectronics lis331dlh digital accelerometer

2012-08-22 Thread Arnd Bergmann
On Wednesday 22 August 2012, AnilKumar Ch wrote: > This patch adds support for lis331dlh digital accelerometer to the > lis3lv02d driver family. Adds ID field for detecting the lis331dlh > module, based on this ID field lis3lv02d driver will export the > lis331dlh module functionality. > > Signed-

Re: apparent regressions from TLB range flushing page set

2012-08-22 Thread Alex Shi
On 08/22/2012 03:44 PM, Jan Beulich wrote: Alex Shi 08/22/12 5:27 AM >>> >>> Second, the UV code doesn't flush the full range at all, it simply >>> ignores its 'end' parameter (and hence also the "all" indicator). >> >> Sure. the following rfc patch try to fix it. untested since no hardware.

Re: pci_get_subsys: GFP_KERNEL allocations with IRQs disabled

2012-08-22 Thread Feng Tang
Hi Fengguang, On Wed, 22 Aug 2012 10:50:08 +0800 Fengguang Wu wrote: > Feng, > > > I think it's pci_get_subsys() triggered this assert: > > > > /* > > * Oi! Can't be having __GFP_FS allocations with IRQs disabled. > > */ > > if (DEBUG_LOCKS_WARN_ON(irqs_disab

Re: [PATCH v2 17/31] arm64: System calls handling

2012-08-22 Thread Arnd Bergmann
On Tuesday 21 August 2012, Catalin Marinas wrote: > As I understand, sys_mmap_pgoff can be used instead of sys_mmap2 on new > 32-bit architectures. But on 64-bit architectures we don't have > sys_mmap2, only sys_mmap with the difference that the last argument is > the offset in bytes (and multiple

Re: i2c-eg20t: regression since i2c_add_numbered_adapter change

2012-08-22 Thread Alexander Stein
Hello, On Wednesday 22 August 2012 15:29:18, Feng Tang wrote: > On Wed, 22 Aug 2012 08:30:35 +0200 > Alexander Stein wrote: > > > Hello, > > > > I just noticed the 3.4 linux kernel fails to sucessfully probe the > > i2c-eg20t > > driver. I returns with EBUSY error. It worked on the 3.0 kernel

Re: [PATCH] memory-hotplug: fix a drain pcp bug when offline pages

2012-08-22 Thread qiuxishi
On 2012-8-22 11:34, Minchan Kim wrote: > Hello Xishi, > > On Tue, Aug 21, 2012 at 08:12:05PM +0800, qiuxishi wrote: >> From: Xishi Qiu >> >> When offline a section, we move all the free pages and pcp into >> MIGRATE_ISOLATE list first. >> start_isolate_page_range() >> set_migratetype_isolat

Re: [PATCH] memory-hotplug: add build zonelists when offline pages

2012-08-22 Thread qiuxishi
On 2012-8-22 14:15, Wen Congyang wrote: > At 08/21/2012 08:51 PM, qiuxishi Wrote: >> From: Xishi Qiu >> >> online_pages() does build_all_zonelists() and zone_pcp_update(), >> I think offline_pages() should do it too. The node has no memory >> to allocate, so remove this node's zones form other nod

Re: FW: [PATCH V5 0/5] clk: mmp: add clock framework for mmp

2012-08-22 Thread Haojian Zhuang
On Wed, Aug 22, 2012 at 2:41 PM, Arnd Bergmann wrote: > On Wednesday 22 August 2012, Chao Xie wrote: >> > >> > Reviewed-by: Arnd Bergmann >> > >> > Arnd >> >> Who will be responsible for merging these patches? >> > > They should go through Mike's tree, unless there is a reason why he > pr

Re: [PATCH 01/10] staging: media: go7007: Some additional code for TW2804 driver functionality

2012-08-22 Thread Hans Verkuil
Hi Volokh! Thanks for working on this! I have some quick review notes below. On Wed August 22 2012 12:45:10 Volokh Konstantin wrote: > - using new v4l2 framework controls > - function for reading volatile controls via i2c bus > - separate V4L2_CID_ ctrls into each V4L2 calls > > Signed-off-by:

Re: [PATCH 1/1] tcp: Wrong timeout for SYN segments

2012-08-22 Thread Eric Dumazet
On Wed, 2012-08-22 at 01:29 +0200, Alex Bergmann wrote: > Hi David, > > I'm not 100% sure, but it looks like I found an RFC mismatch with the > current default values of the TCP implementation. > > Alex > > From 8b854a525eb45f64ad29dfab16f9d9f681e84495 Mon Sep 17 00:00:00 2001 > From: Alexander

Re: [PATCH 04/10] staging: media: go7007: Add IDENT for TW2802/2804

2012-08-22 Thread Hans Verkuil
On Wed August 22 2012 12:45:13 Volokh Konstantin wrote: > Signed-off-by: Volokh Konstantin > --- > include/media/v4l2-chip-ident.h |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/include/media/v4l2-chip-ident.h b/include/media/v4l2-chip-ident.h > index 7395c81..5

[GIT PULL] pwm: fixes for v3.6-rc3

2012-08-22 Thread Thierry Reding
Hi Linus, The following changes since commit d9875690d9b89a866022ff49e3fcea892345ad92: Linux 3.6-rc2 (2012-08-16 14:51:24 -0700) are available in the git repository at: git://gitorious.org/linux-pwm/linux-pwm.git tags/for-3.6-rc3 for you to fetch changes up to b817bf5c72774556345a9043c6b0c

Re: i2c-eg20t: regression since i2c_add_numbered_adapter change

2012-08-22 Thread Feng Tang
Hi Alexander, On Wed, 22 Aug 2012 09:57:07 +0200 Alexander Stein wrote: > Hello, > > On Wednesday 22 August 2012 15:29:18, Feng Tang wrote: > > On Wed, 22 Aug 2012 08:30:35 +0200 > > Alexander Stein wrote: > > > > > Hello, > > > > > > I just noticed the 3.4 linux kernel fails to sucessfully

Re: [PATCH 3/4] time: Avoid potential shift-overflow with large shift values

2012-08-22 Thread Geert Uytterhoeven
Hi John, On Wed, Aug 22, 2012 at 2:30 AM, John Stultz wrote: > Andreas Schwab noted that the 1 << tk->shift could overflow > if the shift value was greater then 30, since 1 would be > a 32bit long on 32bit architectures. This comment is not entirely correct: "1" is not a long, but an (32-bit sig

Re: [PATCH] memory-hotplug: fix a drain pcp bug when offline pages

2012-08-22 Thread Minchan Kim
On Wed, Aug 22, 2012 at 03:57:45PM +0800, qiuxishi wrote: > On 2012-8-22 11:34, Minchan Kim wrote: > > Hello Xishi, > > > > On Tue, Aug 21, 2012 at 08:12:05PM +0800, qiuxishi wrote: > >> From: Xishi Qiu > >> > >> When offline a section, we move all the free pages and pcp into > >> MIGRATE_ISOLAT

Re: [PATCH 5/8] mfd: Provide the PRCMU with its own IRQ domain

2012-08-22 Thread Lee Jones
On Tue, Aug 21, 2012 at 05:52:07PM +0100, Mark Brown wrote: > On Tue, Aug 21, 2012 at 01:02:46PM +0100, Lee Jones wrote: > > On Tue, Aug 21, 2012 at 12:03:29PM +0100, Mark Brown wrote: > > > > > another way to get hold of the domain, because the only way to obtain > > > > it without having direct

Re: [PATCH 4/4] tools lib traceevent: Fix strerror_r() use in pevent_strerror

2012-08-22 Thread Kirill A. Shutemov
On Wed, Aug 22, 2012 at 04:00:31PM +0900, Namhyung Kim wrote: > From: Namhyung Kim > > glibc-2.16 starts to mark the function with attribute > warn_unused_result so that it can cause a build warning. > > Since GNU version of strerror_r() can return a pointer to a string > without setting @buf, c

[PATCH 1/2] powerpc: Add trap_nr to thread_struct

2012-08-22 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli Add thread_struct.trap_nr and use it to store the last exception the thread experienced. In this patch, we populate the field at various places where we force_sig_info() to the process. This is also used in uprobes to determine if the probed instruction caused an

[PATCH v2 0/9] pinctrl: mvebu: pinctrl driver

2012-08-22 Thread Sebastian Hesselbarth
This patch set adds a core pinctrl driver for Marvell MVEBU SoCs and SoC specific stubs for Armada 370, Armada XP, Dove, and Kirkwood. The SoC specific stubs use the pinctrl-mvebu core driver that handles pinctrl API and register accesses for common pinctrl registers. As especially Dove has some p

[PATCH v2 3/9] pinctrl: mvebu: kirkwood pinctrl driver

2012-08-22 Thread Sebastian Hesselbarth
This patch adds a SoC specific pinctrl driver for Marvell Kirkwood SoCs plus DT binding documentation. This driver will use the mvebu pinctrl driver core. Signed-off-by: Sebastian Hesselbarth --- v2: - restructured pinctrl/Kconfig to hide pinctrl driver as it will be always selected by arch/arm

[PATCH v2 4/9] pinctrl: mvebu: add pinctrl driver for Armada 370

2012-08-22 Thread Sebastian Hesselbarth
From: Thomas Petazzoni This pinctrl driver is not a full-blown pinctrl driver from scratch: it relies on the common pinctrl-mvebu driver, which is used for all Marvell EBU SoCs. Signed-off-by: Thomas Petazzoni --- v2: - removed arch/arm/*/Kconfig changes and added note about variant = 0 Cc: Th

[PATCH v2 9/9] ARM: mvebu: adjust Armada XP evaluation board DTS

2012-08-22 Thread Sebastian Hesselbarth
From: Thomas Petazzoni The Armada XP evaluation board is based on the MV78460 Armava XP SoC. Now that we have separate .dtsi files for the three different SoCs of the Armada XP family, use the appropriate one as include for the Armada XP evaluation board .dts file. Signed-off-by: Thomas Petazzon

[PATCH v2 7/9] ARM: mvebu: Add pinctrl support to Armada XP SoCs

2012-08-22 Thread Sebastian Hesselbarth
From: Thomas Petazzoni This commits adds the necessary device tree information to define the compatible property for the pinctrl driver instance of Armada XP SoCs. Until now, the device tree representation considered the Armada XP as a single SoC. But in fact, there are three different SoCs in t

[PATCH v2 6/9] ARM: mvebu: add pinctrl device in DT for Armada 370/XP SoCs

2012-08-22 Thread Sebastian Hesselbarth
From: Thomas Petazzoni The Armada 370 and XP SoCs have configurable muxing for a certain number of their pins, controlled through a pinctrl driver. The 'compatible' property is defined in the SoC-specific .dtsi files, since the compatible string identifies the number of pins and other SoC-specif

[PATCH v2 5/9] pinctrl: mvebu: add pinctrl driver for Armada XP

2012-08-22 Thread Sebastian Hesselbarth
From: Thomas Petazzoni This pinctrl driver is not a full-blown pinctrl driver from scratch: it relies on the common pinctrl-mvebu driver, which is used for all Marvell EBU SoCs. Signed-off-by: Thomas Petazzoni --- v2: replaced variant with enum and used bitops.h Cc: Thomas Petazzoni Cc: Grant

Re: [PATCH v9 0/2] kvm: level irqfd support

2012-08-22 Thread Michael S. Tsirkin
On Tue, Aug 21, 2012 at 07:28:15PM -0600, Alex Williamson wrote: > On Wed, 2012-08-22 at 03:31 +0300, Michael S. Tsirkin wrote: > > On Tue, Aug 21, 2012 at 01:28:57PM -0600, Alex Williamson wrote: > > > Here's the much anticipated re-write of support for level irqfds. As > > > Michael suggested, I

[PATCH v2 2/9] pinctrl: mvebu: dove pinctrl driver

2012-08-22 Thread Sebastian Hesselbarth
This patch adds a SoC specific pinctrl driver for Marvell Dove SoCs plus DT binding documentation. This driver will use the mvebu pinctrl driver core. Signed-off-by: Sebastian Hesselbarth --- v2: - restructured pinctrl/Kconfig to hide pinctrl driver as it will be always selected by arch/arm/mac

[PATCH v2 1/9] pinctrl: mvebu: pinctrl driver core

2012-08-22 Thread Sebastian Hesselbarth
This patch adds a pinctrl driver core for Marvell SoCs plus DT binding documentation. This core driver will be used by SoC family specific drivers, i.e. Armada XP, Armada 370, Dove, Kirkwood, aso. Signed-off-by: Sebastian Hesselbarth Signed-off-by: Thomas Petazzoni --- v2: - restructured Kconfig

Re: [PATCH v2 09/11] memcg: propagate kmem limiting information to children

2012-08-22 Thread Glauber Costa
>>> >>> I am fine with either, I just need a clear sign from you guys so I don't >>> keep deimplementing and reimplementing this forever. >> >> I would be for make it simple now and go with additional features later >> when there is a demand for them. Maybe we will have runtimg switch for >> user

[PATCH v4 2/2] powerpc: Uprobes port to powerpc

2012-08-22 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli This is the port of uprobes to powerpc. Usage is similar to x86. [root@ ~]# ./bin/perf probe -x /lib64/libc.so.6 malloc Added new event: probe_libc:malloc(on 0xb4860) You can now use it in all perf tools, such as: perf record -e probe_libc:mal

Re: [PATCH 1/7] mfd: add imx syscon driver based on regmap

2012-08-22 Thread Richard Zhao
On Wed, Aug 22, 2012 at 03:18:42PM +0800, Dong Aisheng wrote: > From: Dong Aisheng > > Add regmap based imx syscon driver. > This is usually used for access misc bits in registers which does not belong > to a specific module, for example, IOMUXC GPR and ANATOP. > With this driver, we provide a st

Re: [PATCH] memory-hotplug: fix a drain pcp bug when offline pages

2012-08-22 Thread Jiang Liu
On 2012-8-22 16:14, Minchan Kim wrote: > On Wed, Aug 22, 2012 at 03:57:45PM +0800, qiuxishi wrote: >> On 2012-8-22 11:34, Minchan Kim wrote: >>> Hello Xishi, >>> >>> On Tue, Aug 21, 2012 at 08:12:05PM +0800, qiuxishi wrote: From: Xishi Qiu When offline a section, we move all the fre

Re: [tip:perf/core] perf tools: Adding PERF_ATTR_SIZE_VER2 to the header swap check

2012-08-22 Thread Jiri Olsa
On Tue, Aug 21, 2012 at 07:12:10PM +0200, Peter Zijlstra wrote: > On Tue, 2012-08-21 at 08:51 -0700, tip-bot for Jiri Olsa wrote: > > @@ -1829,6 +1829,7 @@ out_free: > > static const int attr_file_abi_sizes[] = { > > [0] = PERF_ATTR_SIZE_VER0, > > [1] = PERF_ATTR_SIZE_VER1, > > +

Re: [PATCH v3 2/2] powerpc: Uprobes port to powerpc

2012-08-22 Thread Ananth N Mavinakayanahalli
On Tue, Aug 21, 2012 at 03:09:30PM +0200, Oleg Nesterov wrote: ... > > This is true for Intel like architectures that have *one* swbp > > instruction. On Powerpc, gdb for instance, can insert a trap variant at > > the address. Therefore, is_swbp_insn() by definition should return true > > for all

[PATCH] perf: Keep the perf_event_attr on version 3

2012-08-22 Thread Jiri Olsa
On Tue, Aug 21, 2012 at 07:11:56PM +0200, Peter Zijlstra wrote: > On Tue, 2012-08-21 at 08:49 -0700, tip-bot for Jiri Olsa wrote: > > #define PERF_ATTR_SIZE_VER388 /* add: sample_regs_user */ > > +#define PERF_ATTR_SIZE_VER496 /* add: sample_stack_user */ > > Both are introduced

Re: [PATCH] memory-hotplug: fix a drain pcp bug when offline pages

2012-08-22 Thread Minchan Kim
Hi Jiang, On Wed, Aug 22, 2012 at 04:30:09PM +0800, Jiang Liu wrote: > On 2012-8-22 16:14, Minchan Kim wrote: > > On Wed, Aug 22, 2012 at 03:57:45PM +0800, qiuxishi wrote: > >> On 2012-8-22 11:34, Minchan Kim wrote: > >>> Hello Xishi, > >>> > >>> On Tue, Aug 21, 2012 at 08:12:05PM +0800, qiuxishi

Re: [PATCH] fs: Introducing Lanyard Filesystem

2012-08-22 Thread Arnd Bergmann
On Monday 20 August 2012, Theodore Ts'o wrote: > On Mon, Aug 20, 2012 at 11:12:07AM +0200, Alexander Thomas wrote: > > > > Flash drives are getting faster as well. Copying an 8GB file to/from a > > USB drive is not excruciatingly slow and may be quicker and more > > certain than figuring out how t

Re: [PATCH v2 06/11] memcg: kmem controller infrastructure

2012-08-22 Thread Glauber Costa
On 08/22/2012 01:50 AM, Greg Thelen wrote: > On Thu, Aug 09 2012, Glauber Costa wrote: > >> This patch introduces infrastructure for tracking kernel memory pages to >> a given memcg. This will happen whenever the caller includes the flag >> __GFP_KMEMCG flag, and the task belong to a memcg other t

[PATCH] perf tools: Fix 'No libunwind found' make warning message

2012-08-22 Thread Jiri Olsa
On Tue, Aug 21, 2012 at 11:36:28AM +0200, Jiri Olsa wrote: > On Tue, Aug 21, 2012 at 11:32:31AM +0200, Ingo Molnar wrote: > > > > * Arnaldo Carvalho de Melo wrote: > > > > SNIP > > > > > One minor observation, the Makefile tells us: > > > > Makefile:496: No libunwind found. Please install li

Re: [PATCH v2 10/11] memcg: allow a memcg with kmem charges to be destructed.

2012-08-22 Thread Glauber Costa
On 08/21/2012 12:22 PM, Michal Hocko wrote: > On Thu 09-08-12 17:01:18, Glauber Costa wrote: >> Because the ultimate goal of the kmem tracking in memcg is to track slab >> pages as well, we can't guarantee that we'll always be able to point a >> page to a particular process, and migrate the charges

Re: [PATCH] perf tools: Fix 'No libunwind found' make warning message

2012-08-22 Thread Ingo Molnar
* Jiri Olsa wrote: > On Tue, Aug 21, 2012 at 11:36:28AM +0200, Jiri Olsa wrote: > > On Tue, Aug 21, 2012 at 11:32:31AM +0200, Ingo Molnar wrote: > > > > > > * Arnaldo Carvalho de Melo wrote: > > > > > > > SNIP > > > > > > > > One minor observation, the Makefile tells us: > > > > > > Makef

[RESEND PATCH v4 2/2] arm/dts: omap4: Add ocp2scp data

2012-08-22 Thread Kishon Vijay Abraham I
Add ocp2scp data node in omap4 device tree file. Acked-by: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 04cbbcb..8a780b2 100644

[RESEND PATCH v4 1/2] drivers: bus: add a new driver for omap-ocp2scp

2012-08-22 Thread Kishon Vijay Abraham I
Adds a new driver *omap-ocp2scp*. This driver takes the responsibility of creating all the devices that is connected to OCP2SCP. In the case of OMAP4, USB2PHY is connected to ocp2scp. This also includes device tree support for ocp2scp driver and the documentation with device tree binding informati

[RESEND PATCH v4 0/2] omap: add ocp2scp as a bus driver

2012-08-22 Thread Kishon Vijay Abraham I
This patch series has been lying here for long. If no one has any comments on this patch series, can someone pick it up? This patch series is done as a preparatory step for adding phy drivers for dwc3 and musb. This series adds a new driver for ocp2scp (only dt) to which phy drivers are connected

[PATCH 0/5] trace-cmd: Add a recorder readable feature for virtio-trace

2012-08-22 Thread Yoshihiro YUNOMAE
Hi Steven, The following patch set provides a feature which can read trace data of a guest using virtio-trace (https://lkml.org/lkml/2012/8/9/210) for a recorder function of trace-cmd. This patch set depends on the trace-agent running on a guest in the virtio-trace system. To translate raw data o

[PATCH 1/5] trace-cmd: Use TRACE_DIR envrionment variable if defined

2012-08-22 Thread Yoshihiro YUNOMAE
From: Masami Hiramatsu Use TRACE_DIR environment variable for setting debugfs/tracing directory if defined. This is for controlling guest(or remote) ftrace. Signed-off-by: Masami Hiramatsu Signed-off-by: Yoshihiro YUNOMAE --- trace-util.c |9 + 1 files changed, 9 insertions(+), 0

[PATCH 2/5] trace-cmd: Use tracing directory to count CPUs

2012-08-22 Thread Yoshihiro YUNOMAE
From: Masami Hiramatsu Count debugfs/tracing/per_cpu/cpu* to determine the number of CPUs. Signed-off-by: Masami Hiramatsu Signed-off-by: Yoshihiro YUNOMAE --- trace-record.c | 41 + 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/tra

[PATCH 3/5] trace-cmd: Support trace-agent of virtio-trace

2012-08-22 Thread Yoshihiro YUNOMAE
Add read path and control path to use trace-agent of virtio-trace. When we use trace-agent, trace-cmd will be used as follows: # AGENT_READ_DIR=/tmp/virtio-trace/tracing \ AGENT_CTL=/tmp/virtio-trace/agent-ctl-path.in \ TRACING_DIR=/tmp/virtio-trace/debugfs/tracing \

[PATCH 5/5] trace-cmd: Use polling function

2012-08-22 Thread Yoshihiro YUNOMAE
Use poll() for avoiding a busy loop to read trace data of a guest from FIFO. Signed-off-by: Yoshihiro YUNOMAE --- trace-recorder.c | 42 -- 1 files changed, 36 insertions(+), 6 deletions(-) diff --git a/trace-recorder.c b/trace-recorder.c index 6577fe8

[PATCH 4/5] trace-cmd: Add non-blocking option for open() and splice_read()

2012-08-22 Thread Yoshihiro YUNOMAE
Add non-blocking option for open() and splice_read() for avoiding block to read trace data of a guest from FIFO. If SIGINT comes to read/write processes from the parent process in the case where FIFO as a read I/F is assigned, then reading is normally blocked for splice_read(). So, we added nonblo

Re: [PATCH 56/74] lto, workaround: Add workaround for missing LTO symbols in igb

2012-08-22 Thread Arnd Bergmann
On Sunday 19 August 2012, Andi Kleen wrote: > -static struct e1000_mac_operations e1000_mac_ops_82575 = { > +/* Workaround for LTO bug */ > +__visible struct e1000_mac_operations e1000_mac_ops_82575 = { The comment is not very clear outside the context of this patch. Maybe change it to /* __visibl

[PATCH 7/7] mfd/tc3589x: MASK_ON_SUSPEND

2012-08-22 Thread Linus Walleij
From: Etienne Carriere ux500 machines performs pins (GPIO) reconfiguration when entering in the suspended mode. This reconfiguration aims at reaching an ultra low power HW configuration. Due to this HW reconfiguration, some HW devices can change of HW state and have their output signals at level

  1   2   3   4   5   6   7   8   >