RE: A bug about system call on ARM

2013-06-13 Thread Wang, Yalin
Hi Will, We have tested the patch, It seems ok in the stability test . We have merged it into our main branch . Thanks for your patch ! -Original Message- From: Will Deacon [mailto:will.dea...@arm.com] Sent: Monday, June 03, 2013 5:54 PM To: Wang, Yalin Cc: 'richard -rw- weinberger'; '

Re: [PATCH 0/4] ARM: mxs: Various Crystalfontz DT additions

2013-06-13 Thread Shawn Guo
On Thu, Jun 13, 2013 at 03:43:41PM +0200, Maxime Ripard wrote: > Brian Lilly (3): > ARM: cfa10049: Switch the chip select pin of the LCD controller > ARM: mxs: dt: Add the Crystalfontz CFA-10055 device tree > ARM: mxs: dt: Add Crystalfontz CFA-10057 device tree > > Maxime Ripard (1): > ARM

Re: [PATCH 1/4] ARM: cfa10036: Add USB0 OTG port

2013-06-13 Thread Shawn Guo
On Fri, Jun 14, 2013 at 02:30:53PM +0800, Shawn Guo wrote: > On Fri, Jun 14, 2013 at 12:06:51AM +0200, Arnd Bergmann wrote: > > On Thursday 13 June 2013 15:43:42 Maxime Ripard wrote: > > > + > > > + ahb@8008 { > > > + usb0: usb@8008 { > > > + pinctr

Re: [PATCH 3/3] i915: Don't provide ACPI backlight interface if firmware expects Windows 8

2013-06-13 Thread Aaron Lu
On 06/10/2013 07:01 AM, Matthew Garrett wrote: > Windows 8 leaves backlight control up to individual graphics drivers rather > than making ACPI calls itself. There's plenty of evidence to suggest that > the Intel driver for Windows doesn't use the ACPI interface, including the > fact that it's brok

Re: Linux 2.6.32.61 - x86/ptrace/gcc 4.7 build error

2013-06-13 Thread Willy Tarreau
Hi Christoph, On Fri, Jun 14, 2013 at 08:23:18AM +0200, Christoph Biedl wrote: > Willy Tarreau wrote... > > > I'm attaching the two patches here to be appled on top of 2.6.32.61, I would > > like it if you could try in your environment to confirm that they correctly > > fix the issue. > > Confir

Re: [RFC PATCH 1/4] arm: omap: Add phy binding info for musb in plat data

2013-06-13 Thread Tomi Valkeinen
On 14/06/13 08:47, Tony Lindgren wrote: > * Kishon Vijay Abraham I [130613 22:41]: >> Hi, >> >> On Thursday 13 June 2013 06:35 PM, Tomi Valkeinen wrote: >>> Hi, >>> >>> On 28/05/13 08:18, Kishon Vijay Abraham I wrote: Hi Tony, On Friday 17 May 2013 06:52 PM, Kishon Vijay Abraham I w

Re: Linux 2.6.32.61 - x86/ptrace/gcc 4.7 build error

2013-06-13 Thread Christoph Biedl
Willy Tarreau wrote... > I'm attaching the two patches here to be appled on top of 2.6.32.61, I would > like it if you could try in your environment to confirm that they correctly > fix the issue. Confirmation: Kernel builds and runs for both Debian squeeze and wheezy (gcc 4.4 and gcc 4.7) on i38

Re: [PATCH 1/4] ARM: cfa10036: Add USB0 OTG port

2013-06-13 Thread Shawn Guo
On Fri, Jun 14, 2013 at 12:06:51AM +0200, Arnd Bergmann wrote: > On Thursday 13 June 2013 15:43:42 Maxime Ripard wrote: > > + > > + ahb@8008 { > > + usb0: usb@8008 { > > + pinctrl-names = "default"; > > + pinctrl-0 = <&usb0_otg

Re: hrtimer: one more expiry time overflow check in hrtimer_interrupt

2013-06-13 Thread Shinya Kuribayashi
Hello, On 6/12/2013 9:21 PM, Prarit Bhargava wrote: > On 06/11/2013 03:41 AM, Shinya Kuribayashi wrote: >> [ 27.857330] hrtimer: interrupt took 0 ns > > ^^^ see below ... This may be because the frequency of our tick timer source in this system is very slow, it's 32768 Hz. I think it's not

[PATCH 1/2] sched: reduce calculation effort in fix_small_imbalance

2013-06-13 Thread Lei Wen
Actually all below item could be repalced by scaled_busy_load_per_task (sds->busiest_load_per_task * SCHED_POWER_SCALE) /sds->busiest->sgp->power; Signed-off-by: Lei Wen --- kernel/sched/fair.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-)

[PATCH 0/2] small fix for fix_small_imbalance

2013-06-13 Thread Lei Wen
Here is two patches which correct the scale usage in the fix_small_balance, and give out comment over when fix_small_imbalance would cause load change. Lei Wen (2): sched: reduce calculation effort in fix_small_imbalance sched: scale the busy and this queue's per-task load before compare ker

Re: [Trivial PATCH 25/33] xfs: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Dave Chinner
On Thu, Jun 13, 2013 at 10:33:26PM -0700, Joe Perches wrote: > On Fri, 2013-06-14 at 15:21 +1000, Dave Chinner wrote: > > On Thu, Jun 13, 2013 at 07:37:50PM -0700, Joe Perches wrote: > > > This typedef is unnecessary and should just be removed. > > > > > > Signed-off-by: Joe Perches > > > > Look

[PATCH 2/2] sched: scale the busy and this queue's per-task load before compare

2013-06-13 Thread Lei Wen
Since for max_load and this_load, they are the value that already be scaled. It is not reasonble to get a minimum value between the scaled and non-scaled value, like below example. min(sds->busiest_load_per_task, sds->max_load); Also add comment over in what condition, there would be cpu p

Re: [PATCH v4 net-next 2/4] net: convert low latency sockets to sched_clock()

2013-06-13 Thread Eliezer Tamir
On 14/06/2013 06:12, Eric Dumazet wrote: On Fri, 2013-06-14 at 04:57 +0300, Eliezer Tamir wrote: Use sched_clock() instead of get_cycles(). We can use sched_clock() because we don't care much about accuracy. Remove the dependency on X86_TSC Signed-off-by: Eliezer Tamir --- -static inline b

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Tony Lindgren
* Pavel Machek [130613 16:14]: > Hi! > > > > Now, by chance, any idea what is DT equivalent of > > > > > > omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); > > > > You can try the attached hack after calling the above to grep for > > pins in /sys/kernel/debug/omap_mux/board/core and you get the pi

Re: Linux 2.6.32.61

2013-06-13 Thread Willy Tarreau
Hi Ben, On Fri, Jun 14, 2013 at 05:11:55AM +0100, Ben Hutchings wrote: > On Mon, 2013-06-10 at 12:15 +0200, Willy Tarreau wrote: > [...] > > Eric Dumazet (8): > [...] > > softirq: reduce latencies > [...] > > This one apparently introduces a regression, fixed in mainline by commit > 34376a5

Re: [RFC PATCH 1/4] arm: omap: Add phy binding info for musb in plat data

2013-06-13 Thread Tony Lindgren
* Kishon Vijay Abraham I [130613 22:41]: > Hi, > > On Thursday 13 June 2013 06:35 PM, Tomi Valkeinen wrote: > >Hi, > > > >On 28/05/13 08:18, Kishon Vijay Abraham I wrote: > >>Hi Tony, > >> > >>On Friday 17 May 2013 06:52 PM, Kishon Vijay Abraham I wrote: > >>>In order for controllers to get PHY i

Re: [PATCH] smp.h: Use local_irq_{save,restore}() in !SMP version of on_each_cpu().

2013-06-13 Thread Linus Torvalds
On Thu, Jun 13, 2013 at 6:07 PM, David Daney wrote: > > Suggested fix: Do what we already do in the SMP version of > on_each_cpu(), and use local_irq_save/local_irq_restore. I was going to apply this, but started looking a bit more. Using "flags" as a variable name inside a macro like this is a

PROBLEM: TCP through vpnx dev stalls

2013-06-13 Thread Andreas Steffan
Hallo everybody, I see certain tcp traffing stalling with kernel 3.8.0-22.33 (current Raring Ringtail version). It is 100% reproducible when I scp a file (>100 kB) to a machine on the other side. Copying a file of any size in the other direction (from the remote machine) to my box works fine. I se

Re: [Part3 PATCH v2 2/4] mem-hotplug: Skip LOCAL_NODE_DATA pages in memory offline procedure.

2013-06-13 Thread Tang Chen
Hi Dave, On 06/14/2013 01:17 AM, Dave Hansen wrote: On 06/13/2013 06:03 AM, Tang Chen wrote: +static inline bool is_local_node_data(struct page *page) +{ + return (unsigned long)page->lru.next == LOCAL_NODE_DATA; +} page->lru is already in a union. Could you please just add a new entry

Re: [RFC PATCH 1/4] arm: omap: Add phy binding info for musb in plat data

2013-06-13 Thread Kishon Vijay Abraham I
Hi, On Thursday 13 June 2013 06:35 PM, Tomi Valkeinen wrote: Hi, On 28/05/13 08:18, Kishon Vijay Abraham I wrote: Hi Tony, On Friday 17 May 2013 06:52 PM, Kishon Vijay Abraham I wrote: In order for controllers to get PHY in case of non dt boot, the phy binding information (phy label) should

Re: [Trivial PATCH 25/33] xfs: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
On Fri, 2013-06-14 at 15:21 +1000, Dave Chinner wrote: > On Thu, Jun 13, 2013 at 07:37:50PM -0700, Joe Perches wrote: > > This typedef is unnecessary and should just be removed. > > > > Signed-off-by: Joe Perches > > Looks fine, Joe. > > Acked-by: Dave Chinner > > How do you want us to handle

Re: [Part3 PATCH v2 1/4] bootmem, mem-hotplug: Register local pagetable pages with LOCAL_NODE_DATA when freeing bootmem.

2013-06-13 Thread Tang Chen
Hi Michal, Please see below. On 06/13/2013 10:16 PM, Michal Nazarewicz wrote: .. diff --git a/include/linux/memblock.h b/include/linux/memblock.h index a85ced9..8a38eef 100644 --- a/include/linux/memblock.h +++ b/include/linux/memblock.h @@ -131,6 +131,28 @@ void __next_free_mem_range_rev(u

[PATCH V2 9/9] mfd: 88pm800: add regulator sub device

2013-06-13 Thread Chao Xie
Signed-off-by: Chao Xie --- drivers/mfd/88pm800.c | 28 include/linux/mfd/88pm80x.h |8 2 files changed, 36 insertions(+), 0 deletions(-) diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c index 35c7fe8..ec9d815 100644 --- a/drivers/mfd/8

[PATCH V2 0/9] mfd: 88pm80x: bug fixes and enhancement

2013-06-13 Thread Chao Xie
The patch set fixes some bugs in the 88pm800/88pm805 driver, and it add regulator device into 88pm800. The patches are tested based on Marvell pxa988 platform. V2->V1: add more fixes patches. Below patches are same almost same as V1 mfd: 88pm800: fix NULL pointer errorm mfd: 88pm800

[PATCH V2 7/9] mfd: 88pm80x: Changes chip id definition and detection

2013-06-13 Thread Chao Xie
Change the chip id definition and detection. It brings the benefits 1. do not need add PM800_CHIP_XXX for the coming revision. 2. do not need pass driver_data in i2c_device_id because we can distinguish the chips by CHIP_ID register. Signed-off-by: Chao Xie --- drivers/mfd/88pm800.c |

[PATCH V2 1/9] mfd: 88pm800: fix NULL pointer error

2013-06-13 Thread Chao Xie
From: Yi Zhang move "device_800_init" to fix NULL pointer error when calling "device_gpadc_init" for "device_gpadc_init" needs "subchip->regmap_gpadc" to set registers via regmap interface Signed-off-by: Yi Zhang Signed-off-by: Chao Xie --- drivers/mfd/88pm800.c | 18 ++ 1

[PATCH V2 6/9] mfd: 88pm800: fixes error handling for sub pages probe/remove

2013-06-13 Thread Chao Xie
pm800_pages_init and pm800_pages_exit are called by pm800_probe. Change the code to enhance error handling and remove unused code at pm800_pages_init/exit and pm800_probe. Signed-off-by: Yi Zhang Signed-off-by: Chao Xie --- drivers/mfd/88pm800.c | 80 --

[PATCH V2 8/9] mfd: 88pm800: enhance sub devices initialization

2013-06-13 Thread Chao Xie
Separate the devices initialization into different functions. It makes the probe function clearly. Signed-off-by: Chao Xie --- drivers/mfd/88pm800.c | 61 +--- 1 files changed, 42 insertions(+), 19 deletions(-) diff --git a/drivers/mfd/88pm800.c b/d

[PATCH V2 2/9] mfd: 88pm80x: fix driver name for 88pm800 and 88pm805

2013-06-13 Thread Chao Xie
88pm800 has same driver name as 88pm805. Fix it. Signed-off-by: Chao Xie --- drivers/mfd/88pm800.c |2 +- drivers/mfd/88pm805.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c index b2f9f0f..0801049 100644 --- a/drivers/

[PATCH V2 4/9] mfd: 88pm800/88pm805: remove "IRQF_TRIGGER_FALLING" flag

2013-06-13 Thread Chao Xie
From: Yi Zhang 88pm800/88pm805 interrupt is asserted low if the events happened. So remove IRQF_TRIGGER_FALLING for irq request. How the interrupt is connected to SOC chip depends on the board design. So do not set IRQF_TRIGGER flags. Signed-off-by: Yi Zhang Signed-off-by: Chao Xie --- driver

[PATCH V2 3/9] mfd: 88pm800: fix for mask_invert

2013-06-13 Thread Chao Xie
mask_invert must be set. Or interrupt cannot be cleared. Signed-off-by: Chao Xie --- drivers/mfd/88pm800.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c index 0801049..cca63f2 100644 --- a/drivers/mfd/88pm800.c +++ b/driver

[PATCH V2 5/9] mfd: 88pm800: remove the power and gpadc page addr from platform data

2013-06-13 Thread Chao Xie
88pm800 has two addtional pages - power and gpadc. The address of the pages depends on the address of 88pm800. So do not need pass the address of the power and gpadc in platform data. Signed-off-by: Chao Xie --- drivers/mfd/88pm800.c |5 +++-- include/linux/mfd/88pm80x.h |2 -- 2 f

Re: [Trivial PATCH 25/33] xfs: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Dave Chinner
On Thu, Jun 13, 2013 at 07:37:50PM -0700, Joe Perches wrote: > This typedef is unnecessary and should just be removed. > > Signed-off-by: Joe Perches Looks fine, Joe. Acked-by: Dave Chinner How do you want us to handle this? Push it through the XFS tree or are you going to send it on up yours

[PATCH] tsl2550: fix lux1_input error in low light

2013-06-13 Thread Matt Ranostay
ADC channel 0 photodiode detects both infrared + visible light, but ADC channel 1 just detects infrared. However, the latter is a bit more sensitive in that range so complete darkness or low light causes a error condition in which the chan0 - chan1 is negative that results in a -EAGAIN. This patch

Re: [BUGFIX 0/9] Fix bug 59501 and code improvement for dock driver

2013-06-13 Thread Jiang Liu (Gerry)
On 2013/6/14 12:43, Alexander E. Patrakov wrote: 2013/6/14 Jiang Liu (Gerry) : What's the situation now? Could you please send out dmesgs\ioports\iomem? Thanks! The requested information has been added to https://bugzilla.kernel.org/show_bug.cgi?id=56531 The changes in pci_move_pcibios_add_b

Re: [PATCH] extcon: Add an API to get extcon device from dt node

2013-06-13 Thread Chanwoo Choi
On 06/12/2013 03:55 PM, Kishon Vijay Abraham I wrote: > Hi Chanwoo Choi, > > On Wednesday 12 June 2013 07:09 AM, Chanwoo Choi wrote: >> From: Kishon Vijay Abraham I >> >> Added an API of_extcon_get_extcon_dev() to be used by drivers to get >> extcon device in the case of dt boot (this can be used

Re: [Part1 PATCH v5 21/22] x86, mm: Make init_mem_mapping be able to be called several times

2013-06-13 Thread Tang Chen
On 06/14/2013 06:47 AM, Yinghai Lu wrote: On Thu, Jun 13, 2013 at 11:35 AM, Konrad Rzeszutek Wilk wrote: Tang Chen wrote: From: Yinghai Lu Prepare to put page table on local nodes. Move calling of init_mem_mapping() to early_initmem_init(). Rework alloc_low_pages to allocate page table i

Re: perf: yet another fuzzer triggered crash

2013-06-13 Thread Vince Weaver
OK, I haven't managed to get a small reproducible test case for the system crash yet, but I do have one for the initial WARN_ONCE that happens. This is on 3.10-rc5 As a refresher, it looks like this: [ 44.688044] [ cut here ] [ 44.692023] WARNING: at kernel/events/co

Re: [BUGFIX 0/9] Fix bug 59501 and code improvement for dock driver

2013-06-13 Thread Alexander E. Patrakov
2013/6/14 Jiang Liu (Gerry) : > What's the situation now? Could you please send out dmesgs\ioports\iomem? > Thanks! The requested information has been added to https://bugzilla.kernel.org/show_bug.cgi?id=56531 The changes in pci_move_pcibios_add_bus_down.patch are not needed. The radeon card in

Re: [PATCH Resend 1/1] mfd: davinci_voicecodec: Convert to use devm_* APIs

2013-06-13 Thread Sachin Kamat
Hi Lee, On 13 June 2013 16:19, Lee Jones wrote: > On Wed, 12 Jun 2013, Sachin Kamat wrote: > >> devm_* APIs are device managed and make code simpler. >> >> Signed-off-by: Sachin Kamat >> Cc: Miguel Aguilar >> --- >> CC'd Lee Jones > > Can you resubmit this based on -rc5 please? > > There have b

Re: [f2fs-dev] [PATCH 1/4] f2fs: reorganize the f2fs_setattr() function.

2013-06-13 Thread Namjae Jeon
2013/6/11, Namjae Jeon : > 2013/6/11, Changman Lee : >> On 화, 2013-06-11 at 07:57 +0900, Namjae Jeon wrote: >>> 2013/6/10, Changman Lee : >>> > Hello, Namjae >>> Hi. Changman. >>> > >>> > If using ACL, whenever i_mode is changed we should update acl_mode >>> > which >>> > is written to xattr block,

Re: [PATCH] ncpfs: fix rmdir returns Device or resource busy

2013-06-13 Thread Dave Chiluk
On 06/13/2013 01:42 AM, Al Viro wrote: > On Thu, Jun 13, 2013 at 03:01:22AM +0100, Al Viro wrote: >> On Fri, Jun 07, 2013 at 05:14:52PM +0100, Al Viro wrote: >>> On Fri, Jun 07, 2013 at 11:09:05AM -0500, Dave Chiluk wrote: Can't you just use the patch from my original e-mail? Anyhow I attache

Re: [PATCH 4/6] watchdog: Boot-disable by default on full dynticks

2013-06-13 Thread anish singh
On Thu, Jun 13, 2013 at 10:46 PM, Steven Rostedt wrote: > On Thu, 2013-06-13 at 21:51 +0530, anish singh wrote: > >> > The concept behind full dynamic ticks is very easy. When you set a given >> > CPU(s) to dynamic tick, when it only has a single task scheduled on that >> > CPU, it disables the pe

Re: [PATCH v8] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-13 Thread Guenter Roeck
On Mon, Jun 03, 2013 at 04:34:59PM +0200, Johannes Thumshirn wrote: > This patch adds the driver for the watchdog devices found on MEN Mikro > Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the > watchdog framework. > > Revision 2: > * Removed unneeded open flag in struct a21

Re: [PATCH] hwmon: add support for SMSC EMC2305/03/02/01 fan controller

2013-06-13 Thread Guenter Roeck
On Thu, Jun 13, 2013 at 12:40:19PM +0200, Reinhard Pfau wrote: > From: Reinhard Pfau > > Add support for SMSC EMC2305, EMC2303, EMC2302, EMC2301 fan controller > chips. > The driver primary supports the EMC2305 chip which provides RPM-based > PWM control and monitoring for up to 5 fans. > > Acco

Re: [BUGFIX 0/9] Fix bug 59501 and code improvement for dock driver

2013-06-13 Thread Jiang Liu (Gerry)
On 2013/6/14 12:07, Alexander E. Patrakov wrote: 2013/6/14 Jiang Liu (Gerry) : On 2013/6/14 10:30, Yinghai Lu wrote: On Thu, Jun 13, 2013 at 7:09 PM, Jiang Liu (Gerry) wrote: On 2013/6/14 2:42, Yinghai Lu wrote: On Thu, Jun 13, 2013 at 9:32 AM, Jiang Liu wrote: Alexander E. Patrakov

Re: Linux 2.6.32.61

2013-06-13 Thread Ben Hutchings
On Mon, 2013-06-10 at 12:15 +0200, Willy Tarreau wrote: [...] > Eric Dumazet (8): [...] > softirq: reduce latencies [...] This one apparently introduces a regression, fixed in mainline by commit 34376a50fb1f 'Fix lockup related to stop_machine being stuck in __do_softirq.' I'm a bit surpris

Re: [RESEND][PATCH] cpufreq: stats: Add 'load_table' sysfs file to show accumulated data of CPU

2013-06-13 Thread Viresh Kumar
On 14 June 2013 07:41, Chanwoo Choi wrote: > OK, I will reimplement load_table node by using debugfs instead of sysfs. @Rafael: Would it be move trans_table to debugfs?? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.or

Re: [BUGFIX 0/9] Fix bug 59501 and code improvement for dock driver

2013-06-13 Thread Alexander E. Patrakov
2013/6/14 Jiang Liu (Gerry) : > On 2013/6/14 10:30, Yinghai Lu wrote: >> >> On Thu, Jun 13, 2013 at 7:09 PM, Jiang Liu (Gerry) >> wrote: >>> >>> On 2013/6/14 2:42, Yinghai Lu wrote: On Thu, Jun 13, 2013 at 9:32 AM, Jiang Liu wrote: > > > Alexander E. Patrakov reports t

Re: [PATCH V5 27/30] Documentation: thermal: Explain the exynos thermal driver model

2013-06-13 Thread amit daniel kachhap
Hi Rob, On Tue, Jun 11, 2013 at 10:52 PM, Rob Landley wrote: > On 06/11/2013 07:53:37 AM, Amit Daniel Kachhap wrote: >> >> This patch updates the documentation to explain the driver model >> and file layout. >> >> Acked-by: Kukjin Kim >> Signed-off-by: Amit Daniel Kachhap >> --- >> Documentati

Re: [PATCH] ncpfs: fix rmdir returns Device or resource busy

2013-06-13 Thread Dave Chiluk
On 06/12/2013 09:01 PM, Al Viro wrote: > On Fri, Jun 07, 2013 at 05:14:52PM +0100, Al Viro wrote: >> On Fri, Jun 07, 2013 at 11:09:05AM -0500, Dave Chiluk wrote: >>> Can't you just use the patch from my original e-mail? Anyhow I attached >>> it an already signed-off patch. >>> >>> Al Viro Can you

Re: [BUGFIX 0/9] Fix bug 59501 and code improvement for dock driver

2013-06-13 Thread Jiang Liu (Gerry)
On 2013/6/14 11:43, Yinghai Lu wrote: On Thu, Jun 13, 2013 at 8:30 PM, Yinghai Lu wrote: On Thu, Jun 13, 2013 at 7:51 PM, Jiang Liu (Gerry) wrote: For the first step, I'm trying to make hotplug case work in the same way as boot time. Do you think this patch help? diff --git a/drivers/pci/h

Re: [BUGFIX 0/9] Fix bug 59501 and code improvement for dock driver

2013-06-13 Thread Yinghai Lu
On Thu, Jun 13, 2013 at 8:30 PM, Yinghai Lu wrote: >> diff --git a/drivers/pci/hotplug/acpiphp_glue.c >> b/drivers/pci/hotplug/acpiphp_gl >> index 270fdba..12e3f6e 100644 >> --- a/drivers/pci/hotplug/acpiphp_glue.c >> +++ b/drivers/pci/hotplug/acpiphp_glue.c >> @@ -837,13 +837,13 @@ static int __r

Re: [PATCH] cpuset: rename cont to cgrp

2013-06-13 Thread Tejun Heo
On Fri, Jun 14, 2013 at 11:18:27AM +0800, Li Zefan wrote: > Cont is short for container. control group was named process container > at first, but then people found container already has a meaning in > linux kernel. > > Clean up the leftover variable name @cont. > > Signed-off-by: Li Zefan Appl

Re: [BUGFIX 0/9] Fix bug 59501 and code improvement for dock driver

2013-06-13 Thread Yinghai Lu
On Thu, Jun 13, 2013 at 8:30 PM, Yinghai Lu wrote: > On Thu, Jun 13, 2013 at 7:51 PM, Jiang Liu (Gerry) > wrote: >> For the first step, I'm trying to make hotplug case work in the same way as >> boot time. Do you think this patch help? >> >> diff --git a/drivers/pci/hotplug/acpiphp_glue.c >> b/

Re: [BUGFIX 0/9] Fix bug 59501 and code improvement for dock driver

2013-06-13 Thread Yinghai Lu
On Thu, Jun 13, 2013 at 7:51 PM, Jiang Liu (Gerry) wrote: > On 2013/6/14 10:30, Yinghai Lu wrote: >> >> On Thu, Jun 13, 2013 at 7:09 PM, Jiang Liu (Gerry) >> wrote: > > Not sure. But a little concern about check_hotplug_bridge(), it treats > dock station and devices on dock station with _EJD as h

Re: [BUGFIX 0/9] Fix bug 59501 and code improvement for dock driver

2013-06-13 Thread Yinghai Lu
On Thu, Jun 13, 2013 at 7:06 PM, Alexander E. Patrakov wrote: > 2013/6/14 Yinghai Lu : >> the 3) is about pci resource allocation? >> because pcibios_add_bus is called too early? > > (3) is https://bugzilla.kernel.org/show_bug.cgi?id=56531 > >> If that is case, we should have something like attach

[PATCH] cpuset: rename cont to cgrp

2013-06-13 Thread Li Zefan
Cont is short for container. control group was named process container at first, but then people found container already has a meaning in linux kernel. Clean up the leftover variable name @cont. Signed-off-by: Li Zefan --- kernel/cpuset.c | 32 1 file changed, 1

[PATCH ] cgroup: rename cont to cgrp

2013-06-13 Thread Li Zefan
Cont is short for container. control group was named process container at first, but then people found container already has a meaning in linux kernel. Clean up the leftover variable name @cont. Signed-off-by: Li Zefan --- I'll clean up this for memcg later. --- include/linux/cgroup.h | 4 ++

Re: [PATCH v4 net-next 2/4] net: convert low latency sockets to sched_clock()

2013-06-13 Thread Eric Dumazet
On Fri, 2013-06-14 at 04:57 +0300, Eliezer Tamir wrote: > Use sched_clock() instead of get_cycles(). > We can use sched_clock() because we don't care much about accuracy. > Remove the dependency on X86_TSC > > Signed-off-by: Eliezer Tamir > --- > > -static inline bool can_poll_ll(cycles_t end_

Re: ext4 extent status tree LRU locking

2013-06-13 Thread Zheng Liu
On Thu, Jun 13, 2013 at 09:35:17AM -0400, Theodore Ts'o wrote: > On Thu, Jun 13, 2013 at 09:27:15PM +0800, Zheng Liu wrote: > > Thanks for your suggestion. But, sorry, I couldn't get your point here. > > As you suggested above, we can tag each inode with the last access time > > when ext4_map_bloc

Re: [PATCH] tracing/kprobes: remove unnecessary checking of, trace_probe_is_enabled

2013-06-13 Thread Masami Hiramatsu
(2013/06/14 11:10), zhangwei(Jovi) wrote: > Since tp->flags assignment was moved into function enable_trace_probe, > so there have no need to use trace_probe_is_enabled to check flags > in same function. Indeed :) > > Remove the unnecessary checking. Acked-by: Masami Hiramatsu > > Signed-of

Re: [PATCH v4 net-next 1/4] net: change sysctl_net_ll_poll into an unsigned int

2013-06-13 Thread Eric Dumazet
On Fri, 2013-06-14 at 04:56 +0300, Eliezer Tamir wrote: > There is no reason for sysctl_net_ll_poll to be an unsigned long. > Change it into an unsigned int. > Fix the proc handler. > > Signed-off-by: Eliezer Tamir > --- Acked-by: Eric Dumazet -- To unsubscribe from this list: send the line "

Re: [PATCH v4 15/20] ext4: use ext4_zero_partial_blocks in punch_hole

2013-06-13 Thread Theodore Ts'o
On Tue, May 14, 2013 at 06:37:29PM +0200, Lukas Czerner wrote: > We're doing to get rid of ext4_discard_partial_page_buffers() since it is > duplicating some code and also partially duplicating work of > truncate_pagecache_range(), moreover the old implementation was much > clearer. > > Now when t

Re: [Trivial PATCH 14/33] sgi: xpc: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Robin Holt
On Thu, Jun 13, 2013 at 07:37:39PM -0700, Joe Perches wrote: > This typedef is unnecessary and should just be removed. > > Signed-off-by: Joe Perches Acked-by: Robin Holt > --- > drivers/misc/sgi-xp/xpc_main.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/dri

Re: [BUGFIX 0/9] Fix bug 59501 and code improvement for dock driver

2013-06-13 Thread Jiang Liu (Gerry)
On 2013/6/14 10:30, Yinghai Lu wrote: On Thu, Jun 13, 2013 at 7:09 PM, Jiang Liu (Gerry) wrote: On 2013/6/14 2:42, Yinghai Lu wrote: On Thu, Jun 13, 2013 at 9:32 AM, Jiang Liu wrote: Alexander E. Patrakov reports two bugs related to dock station support on Sony VAIO VPCZ23A4R. Actually th

[Trivial PATCH 22/33] ntfs: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/ntfs/sysctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ntfs/sysctl.c b/fs/ntfs/sysctl.c index 79a8918..a3e6626 100644 --- a/fs/ntfs/sysctl.c +++ b/fs/ntfs/sysctl.c @@ -34,7

[Trivial PATCH 17/33] coda: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/coda/sysctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/coda/sysctl.c b/fs/coda/sysctl.c index af56ad5..34218a8 100644 --- a/fs/coda/sysctl.c +++ b/fs/coda/sysctl.c @@ -14,7

[Trivial PATCH 31/33] sysctl: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- kernel/sysctl.c | 2 +- kernel/utsname_sysctl.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index fb90f7c..aa357a2 100644 --- a/kernel/s

[Trivial PATCH 29/33] ndisc: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- include/net/ndisc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/ndisc.h b/include/net/ndisc.h index 745bf74..949d775 100644 --- a/include/net/ndisc.h +++ b/include/net/ndisc

[Trivial PATCH 24/33] quota: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/quota/dquot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c index b3d1ac9..017eaea 100644 --- a/fs/quota/dquot.c +++ b/fs/quota/dquot.c @@ -25

[Trivial PATCH 30/33] ipc: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- ipc/ipc_sysctl.c | 14 +++--- ipc/mq_sysctl.c | 10 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ipc/ipc_sysctl.c b/ipc/ipc_sysctl.c index 130dfec..27fab60 100644 --- a/

[Trivial PATCH 28/33] ipv6: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- include/net/ipv6.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/net/ipv6.h b/include/net/ipv6.h index ab47582..5fe5649 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.

[Trivial PATCH 32/33] mm: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- mm/page-writeback.c | 2 +- mm/page_alloc.c | 15 --- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 4514ad7..82d1b74 100644 ---

[Trivial PATCH 26/33] fs: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/dcache.c | 2 +- fs/drop_caches.c | 2 +- fs/eventpoll.c | 2 +- fs/file_table.c | 4 ++-- fs/inode.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/dcache.c b/fs/dc

[Trivial PATCH 25/33] xfs: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/xfs/xfs_sysctl.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/fs/xfs/xfs_sysctl.c b/fs/xfs/xfs_sysctl.c index 2801b5c..1743b9f 100644 --- a/fs/xfs/xfs_sys

[Trivial PATCH 27/33] key: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- include/linux/key.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/key.h b/include/linux/key.h index 4dfde11..3b98ce0 100644 --- a/include/linux/key.h +++ b/include/linux/key

[Trivial PATCH 33/33] security: keys: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- security/keys/sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/keys/sysctl.c b/security/keys/sysctl.c index ee32d18..9a9df6f 100644 --- a/security/keys/sysctl.c +++ b/secur

Re: [PATCHSET v2 cgroup/for-3.11] cgroup: convert cgroup_subsys_state refcnt to percpu_ref

2013-06-13 Thread Tejun Heo
On Thu, Jun 13, 2013 at 10:56:27AM -0700, Tejun Heo wrote: > On Thu, Jun 13, 2013 at 02:04:47PM +0800, Li Zefan wrote: > > > 0001-cgroup-remove-now-unused-css_depth.patch > > > 0002-cgroup-consistently-use-cset-for-struct-css_set-vari.patch > > > 0003-cgroup-bring-some-sanity-to-naming-around-cg

[Trivial PATCH 23/33] ocfs2: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/ocfs2/stackglue.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/ocfs2/stackglue.c b/fs/ocfs2/stackglue.c index 39abf89..cb7ec0b 100644 --- a/fs/ocfs2/stackglue.c +++ b/fs/oc

[PATCH v3 2/2] percpu-refcount: implement percpu_tryget() along with percpu_ref_kill_and_confirm()

2013-06-13 Thread Tejun Heo
>From dbece3a0f1ef0b19aff1cc6ed0942fec9ab98de1 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Thu, 13 Jun 2013 19:23:53 -0700 Implement percpu_tryget() which stops giving out references once the percpu_ref is visible as killed. Because the refcnt is per-cpu, different CPUs will start to see a re

[Trivial PATCH 13/33] md: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- drivers/md/md.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/md/md.c b/drivers/md/md.c index 9b82377..f7edaf9 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -112,7 +

[Trivial PATCH 14/33] sgi: xpc: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- drivers/misc/sgi-xp/xpc_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/misc/sgi-xp/xpc_main.c b/drivers/misc/sgi-xp/xpc_main.c index d971817..82dc574 100644 --- a/driv

[Trivial PATCH 18/33] fscache: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/fscache/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/fscache/main.c b/fs/fscache/main.c index 7c27907..5b2c174 100644 --- a/fs/fscache/main.c +++ b/fs/fscache/main.c @@

[Trivial PATCH 15/33] parport: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- drivers/parport/procfs.c | 58 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/drivers/parport/procfs.c b/drivers/parport/procfs.c index 92ed045

Re: [BUGFIX 0/9] Fix bug 59501 and code improvement for dock driver

2013-06-13 Thread Alexander E. Patrakov
2013/6/14 Yinghai Lu : > Is it a regression? No. -- Alexander E. Patrakov -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at htt

[Trivial PATCH 21/33] inotify: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/notify/inotify/inotify_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c index 959815c..3e03d81 100644 --- a/fs/n

[Trivial PATCH 16/33] scsi_sysctl: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- drivers/scsi/scsi_sysctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/scsi_sysctl.c b/drivers/scsi/scsi_sysctl.c index 2b6b93f..546f162 100644 --- a/drivers/scsi/scs

[Trivial PATCH 20/33] nfs: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/nfs/nfs4sysctl.c | 6 +++--- fs/nfs/sysctl.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/nfs/nfs4sysctl.c b/fs/nfs/nfs4sysctl.c index 2628d92..b6ebe7e 100644 --- a/fs/n

[Trivial PATCH 19/33] lockd: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- fs/lockd/svc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index a2aa97d..7df25d7 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c @@ -435,7 +435,7

[Trivial PATCH 12/33] macintosh: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- drivers/macintosh/mac_hid.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/macintosh/mac_hid.c b/drivers/macintosh/mac_hid.c index 6a82388..80d30e8 100644 --- a/drivers/mac

[Trivial PATCH 07/33] tile: proc: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- arch/tile/kernel/proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/tile/kernel/proc.c b/arch/tile/kernel/proc.c index dafc447..6570813 100644 --- a/arch/tile/kernel/proc.c +++

[Trivial PATCH 06/33] s390: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- arch/s390/appldata/appldata_base.c | 16 arch/s390/kernel/debug.c | 4 ++-- arch/s390/mm/cmm.c | 6 -- 3 files changed, 14 insertions(+), 12 deletions(-) diff

[Trivial PATCH 09/33] cdrom: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- drivers/cdrom/cdrom.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 8a3aff7..d49a76f 100644 --- a/drivers/cdrom/cdrom.c +++

[Trivial PATCH 08/33] x86: vdso: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- arch/x86/vdso/vdso32-setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/vdso/vdso32-setup.c b/arch/x86/vdso/vdso32-setup.c index 0faad64..d6bfb87 100644 --- a/arch/x86/vds

[Trivial PATCH 10/33] char: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- drivers/char/hpet.c | 6 +++--- drivers/char/ipmi/ipmi_poweroff.c | 6 +++--- drivers/char/random.c | 8 drivers/char/rtc.c| 6 +++--- 4 files changed, 13 ins

[Trivial PATCH 11/33] infiniband: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- drivers/infiniband/core/ucma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/core/ucma.c b/drivers/infiniband/core/ucma.c index 5ca44cd..9416280 100644 --- a/drivers/in

[Trivial PATCH 05/33] powerpc: idle: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- arch/powerpc/kernel/idle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/idle.c b/arch/powerpc/kernel/idle.c index 939ea7e..d7216c9 100644 --- a/arch/powerpc/kerne

[Trivial PATCH 04/33] mips: lasat: sysctl: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Joe Perches
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches --- arch/mips/lasat/sysctl.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/mips/lasat/sysctl.c b/arch/mips/lasat/sysctl.c index f27694f..3b7f65c 100644 --- a/arch/mips/las

  1   2   3   4   5   6   7   8   >