Re: [PATCH 0/1] staging: Add firewire-serial driver

2012-10-22 Thread Peter Hurley
On Mon, 2012-10-22 at 15:45 -0700, Greg Kroah-Hartman wrote: > On Thu, Oct 18, 2012 at 08:56:55AM -0400, Peter Hurley wrote: > > Please consider this serial driver for review for submission to staging. > > The firewire-serial driver implements TTY over IEEE 1394. In its default > > configuration, i

Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-22 Thread Lucas De Marchi
On Mon, Oct 22, 2012 at 5:39 AM, Rusty Russell wrote: > "Michael Kerrisk (man-pages)" writes: >>> FIX: add flags arg to sys_finit_module() >>> >>> Thanks to Michael Kerrisk for keeping us honest. >> >> w00t! Thanks, Rusty ;-). >> >> Acked-by: Michael Kerrisk > > Here's the version I ended up wit

Re: [PATCH] staging: csr: fix coding style

2012-10-22 Thread SeongJae Park
Hello, I think it was my mistake. CsrThread is enclosed by macro #ifdef __KERNEL__ and it used by csr_framework_ext.h as CsrThreadHandle type(typedef used at csr_framework_ext_types.h). I think that's why I didn't see build failure. So, I think I should not remove CsrThread. If there is anythi

Re: [PATCH] staging: csr: fix coding style

2012-10-22 Thread Greg KH
On Tue, Oct 23, 2012 at 11:41:06AM +0900, SeongJae Park wrote: > Hello, > > > I think it was my mistake. > > CsrThread is enclosed by macro #ifdef __KERNEL__ > and it used by csr_framework_ext.h as CsrThreadHandle type(typedef > used at csr_framework_ext_types.h). > > I think that's why I didn'

Re: [PATCH v2 1/2] Replace if statement with WARN_ON_ONCE() in cmci_rediscover().

2012-10-22 Thread Tang Chen
On 10/22/2012 06:14 PM, Borislav Petkov wrote: On Mon, Oct 22, 2012 at 10:10:24AM +0800, Tang Chen wrote: I don't why before we just jumped over it. But I think if we have an online cpu == dying here, it must be wrong. So I think we should warn it, not just jump over it. Why do we need to warn

Re: [PATCH] MM: Support more pagesizes for MAP_HUGETLB/SHM_HUGETLB v6

2012-10-22 Thread Benjamin Herrenschmidt
On Mon, 2012-10-22 at 18:23 +0200, Michael Kerrisk (man-pages) wrote: > Since PowerPC already allows 16GB page sizes, doesn't there need to be > allowance for the possibility of future expansion? Choosing a larger > minimum size (like 2^16) would allow that. Does the minimum size need > to be 16k?

Re: [PATCH 07/16 v2] f2fs: add segment operations

2012-10-22 Thread Max Filippov
Hi. Building f2fs for ARM gives the following error: CC fs/f2fs/segment.o CC fs/f2fs/recovery.o fs/f2fs/segment.c: In function 'build_sit_info': fs/f2fs/segment.c:1399:2: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration] fs/f2fs/segment.c:139

Re: [PATCH 16/16 v2] f2fs: update Kconfig and Makefile

2012-10-22 Thread Greg KH
On Tue, Oct 23, 2012 at 11:33:28AM +0900, Jaegeuk Kim wrote: > +config F2FS_STAT_FS > + bool "F2FS Status Information" > + depends on F2FS_FS > + default y > + help > + /proc/fs/f2fs/ contains information about partitions mounted as f2fs. > + For each partition, a corres

Re: [PATCH] staging: csr: fix coding style

2012-10-22 Thread SeongJae Park
Thank you for fast reply, Greg. I was very impressed by your session at Linux Forum, sent linux kernel patch, made a document about your session(write and submit your first Linux kernel patch) in Korean, and my patch merged, have discussion with Linux kernel guys... These whole thing about my fir

Re: [PATCH 1/2] Staging: android: binder: Fix memory leak on thread/process exit

2012-10-22 Thread Greg KH
On Mon, Oct 22, 2012 at 05:58:08PM -0700, Arve Hj?nnev?g wrote: > On Mon, Oct 22, 2012 at 1:00 PM, Greg KH wrote: > > On Tue, Oct 16, 2012 at 03:45:20PM -0700, Arve Hj?nnev?g wrote: > >> On Tue, Oct 16, 2012 at 12:11 AM, Greg KH > >> wrote: > >> > On Mon, Oct 15, 2012 at 05:32:41PM -0700, Arve H

Re: [PATCH 0/1] staging: Add firewire-serial driver

2012-10-22 Thread Greg Kroah-Hartman
On Mon, Oct 22, 2012 at 10:34:39PM -0400, Peter Hurley wrote: > On Mon, 2012-10-22 at 15:45 -0700, Greg Kroah-Hartman wrote: > > On Thu, Oct 18, 2012 at 08:56:55AM -0400, Peter Hurley wrote: > > > Please consider this serial driver for review for submission to staging. > > > The firewire-serial dri

RE: [PATCH 16/16 v2] f2fs: update Kconfig and Makefile

2012-10-22 Thread Jaegeuk Kim
> On Tue, Oct 23, 2012 at 11:33:28AM +0900, Jaegeuk Kim wrote: > > +config F2FS_STAT_FS > > + bool "F2FS Status Information" > > + depends on F2FS_FS > > + default y > > + help > > + /proc/fs/f2fs/ contains information about partitions mounted as f2fs. > > + For each partition, a co

RE: [PATCH 07/16 v2] f2fs: add segment operations

2012-10-22 Thread Jaegeuk Kim
> Hi. > > Building f2fs for ARM gives the following error: > > CC fs/f2fs/segment.o > CC fs/f2fs/recovery.o > fs/f2fs/segment.c: In function 'build_sit_info': > fs/f2fs/segment.c:1399:2: error: implicit declaration of function 'vzalloc' > [-Werror=implicit- > function-declaration]

3.7-rc2 regression : file copied to CIFS-mounted directory corrupted

2012-10-22 Thread Jongman Heo
Hi, all, With 3.7-rc2, I noticed that file copied to CIFS-mounted directory is corrupted. Integrity is checked by md5sum. 1. get md5sum of file located on local (ext4) disk 2. copy the file to CIFS-mounted directory 3. check md5sum of the copied file Host : Windows 7 Guest : Fedora 16

linux-next: build failure after merge of the akpm tree

2012-10-22 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: arch/powerpc/platforms/pasemi/idle.c:88:1: error: macro "__define_initcall" passed 3 arguments, but takes just 2 arch/powerpc/platforms/pasemi/idle.c:88:1: error: data definition has no t

Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-22 Thread Kees Cook
On Mon, Oct 22, 2012 at 7:37 PM, Lucas De Marchi wrote: > On Mon, Oct 22, 2012 at 5:39 AM, Rusty Russell wrote: >> "Michael Kerrisk (man-pages)" writes: FIX: add flags arg to sys_finit_module() Thanks to Michael Kerrisk for keeping us honest. >>> >>> w00t! Thanks, Rusty ;-). >>> >

linux-next: build failure after merge of the akpm tree

2012-10-22 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: kernel/printk/printk_syslog.c: In function 'printk_syslog_print': kernel/printk/printk_syslog.c:108:3: error: implicit declaration of function 'copy_to_user' [-Werror=implicit-function-de

Re: [PATCH 02/16 v2] f2fs: add on-disk layout

2012-10-22 Thread NeilBrown
On Tue, 23 Oct 2012 11:26:00 +0900 Jaegeuk Kim wrote: > This adds a header file describing the on-disk layout of f2fs. > > +struct f2fs_inode { > + __le16 i_mode; /* File mode */ > + __u8 i_advise; /* File hints */ > + __u8 i_reserved;

RE: [PATCH v1] Support Elan Touchscreen eKTF product.

2012-10-22 Thread 劉嘉駿
Hi, > -Original Message- > From: Benjamin Tissoires [mailto:benjamin.tissoi...@gmail.com] > Sent: Tuesday, October 23, 2012 1:12 AM > To: Dmitry Torokhov > Cc: Jian-Jhong Ding; Scott Liu; linux-in...@vger.kernel.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; Jesse; Vincent

Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-22 Thread Lucas De Marchi
On Tue, Oct 23, 2012 at 1:40 AM, Kees Cook wrote: > On Mon, Oct 22, 2012 at 7:37 PM, Lucas De Marchi > wrote: >> On Mon, Oct 22, 2012 at 5:39 AM, Rusty Russell wrote: >>> "Michael Kerrisk (man-pages)" writes: > FIX: add flags arg to sys_finit_module() > > Thanks to Michael Kerrisk f

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

2012-10-22 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from drivers/usb/host/ohci-hcd.c:1165:0: drivers/usb/host/ohci-sm501.c: In function 'ohci_sm501_resume': drivers/usb/host/ohci-sm501.c:241:2: error: implicit declaration of fun

[PATCH 1/4] backlight: da9052: add missing const

2012-10-22 Thread Jingoo Han
Add 'const' to static array that was missing it in its definition. Signed-off-by: Jingoo Han Cc: Ashish Jangam Cc: Richard Purdie --- drivers/video/backlight/da9052_bl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/backlight/da9052_bl.c b/drivers/vid

Re: [PATCH 3/6] perf, x86: Save/resotre LBR stack during context switch

2012-10-22 Thread Yan, Zheng
On 10/22/2012 04:31 PM, Stephane Eranian wrote: > On Mon, Oct 22, 2012 at 7:57 AM, Yan, Zheng wrote: >> From: "Yan, Zheng" >> >> When the LBR call stack is enabled, it is necessary to save/restore >> the stack on context switch. The solution is saving/restoring the >> stack to/from task's perf ev

[PATCH 2/4] backlight: lms283gf05: add missing const

2012-10-22 Thread Jingoo Han
Add 'const' to static array that was missing it in its definition. Signed-off-by: Jingoo Han Cc: Marek Vasut Cc: Richard Purdie --- drivers/video/backlight/lms283gf05.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/backlight/lms283gf05.c b/drivers

linux-next: Tree for Oct 23

2012-10-22 Thread Stephen Rothwell
Hi all, Changes since 201201022: New tree: drop-experimental The xtensa tree lost its conflict. The usb tree gained a build failure for which I reverted a commit. The akpm tree gained 2 build failures for which I reverted some commits. -

[PATCH 3/4] backlight: tdo24m: add missing const

2012-10-22 Thread Jingoo Han
Add 'const' to static array that was missing it in its definition. Signed-off-by: Jingoo Han Cc: Eric Miao Cc: Richard Purdie --- drivers/video/backlight/tdo24m.c | 27 ++- 1 files changed, 14 insertions(+), 13 deletions(-) diff --git a/drivers/video/backlight/tdo24m

Re: Major performance regressions in 3.7rc1/2

2012-10-22 Thread Hugh Dickins
On Mon, 22 Oct 2012, Andrew Morton wrote: > On Mon, 22 Oct 2012 21:45:02 +0200 > Julian Wollrath wrote: > > > Hello, > > > > seems like I found the other bad commit. Everything, which means > > v3.7-rc*, works fine again with commit e6c509f85 (mm: use > > clear_page_mlock() in page_remove_rmap()

[PATCH 4/4] backlight: vgg2432a4: add missing const

2012-10-22 Thread Jingoo Han
Add 'const' to static array that was missing it in its definition. Also, 'const' is added to ili9320_write_regs(), because it is called by vgg2432a4 driver. Signed-off-by: Jingoo Han Cc: Ben Dooks Cc: Richard Purdie --- drivers/video/backlight/ili9320.c |2 +- drivers/video/backlight/ili

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

2012-10-22 Thread Greg KH
On Tue, Oct 23, 2012 at 03:13:54PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the final tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > In file included from drivers/usb/host/ohci-hcd.c:1165:0: > drivers/usb/host/ohci-sm501.c: In function 'ohci_sm501_

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

2012-10-22 Thread Joe Perches
On Tue, 2012-10-23 at 14:42 +1100, Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > kernel/printk/printk_syslog.c: In function 'printk_syslog_print': > kernel/printk/printk_syslog.c:108:3: error: impli

Re: mmotm 2012-10-22-17-08 uploaded (memory_hotplug.c)

2012-10-22 Thread Randy Dunlap
On 10/22/2012 05:09 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2012-10-22-17-08 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of

Re: process hangs on do_exit when oom happens

2012-10-22 Thread Balbir Singh
On Tue, Oct 23, 2012 at 9:05 AM, Qiang Gao wrote: > information about the system is in the attach file "information.txt" > > I can not reproduce it in the upstream 3.6.0 kernel.. > > On Sat, Oct 20, 2012 at 12:04 AM, Michal Hocko wrote: >> On Wed 17-10-12 18:23:34, gaoqiang wrote: >>> I looked up

Re: usbview 2.0 release

2012-10-22 Thread Anil Nair
Hello Greg, > No, debugfs needs to be mounted at /sys/kernel/debug/ Is it not mounted > that way for you? Perhaps it is mounted with root-only access (default > for 3.7-rc1 and newer kernels)? Yes you are right i verified "/sys/kernel/debug" has root-only access. The kernel version i am using i

Re: [PATCH 4/5] xen-fbfront: handle backend CLOSED without CLOSING

2012-10-22 Thread Florian Tobias Schandinat
Hi Konrad, On 10/19/2012 01:00 PM, Konrad Rzeszutek Wilk wrote: > On Thu, Oct 18, 2012 at 11:03:37AM +0100, David Vrabel wrote: >> From: David Vrabel >> >> Backend drivers shouldn't transistion to CLOSED unless the frontend is >> CLOSED. If a backend does transition to CLOSED too soon then the >

[PATCH] rtc: avoid calling platform_device_put() twice in test_init()

2012-10-22 Thread Wei Yongjun
From: Wei Yongjun In case of error, the function test_init() need to call platform_device_del() instead of platform_device_unregister(). Otherwise, we may call platform_device_put() twice. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yo

Re: [PATCH RFC] mm/swap: automatic tuning for swapin readahead

2012-10-22 Thread Hugh Dickins
On Mon, 22 Oct 2012, Shaohua Li wrote: > On Tue, Oct 16, 2012 at 08:50:49AM +0800, Shaohua Li wrote: > > On Mon, Oct 08, 2012 at 03:09:58PM -0700, Hugh Dickins wrote: > > > On Thu, 4 Oct 2012, Konstantin Khlebnikov wrote: > > > > > > > Here results of my test. Workload isn't very realistic, but at

[PATCH] pc8736x_gpio: use platform_device_unregister in pc8736x_gpio_cleanup()

2012-10-22 Thread Wei Yongjun
From: Wei Yongjun platform_device_unregister() only calls platform_device_del() and platform_device_put(), thus use platform_device_unregister() to simplify the code. Also the documents in platform.c shows that platform_device_del and platform_device_put must _only_ be externally called in error

Re: [PATCH 1/6] perf, x86: Basic Haswell LBR call stack support

2012-10-22 Thread Yan, Zheng
On 10/22/2012 06:33 PM, Peter Zijlstra wrote: > On Mon, 2012-10-22 at 14:11 +0800, Yan, Zheng wrote: >> + /* LBR callstack does not work well with FREEZE_LBRS_ON_PMI */ >> + if (!cpuc->lbr_sel || !(cpuc->lbr_sel->config & LBR_CALL_STACK)) >> + debugctl |= DEBUGCTLMSR_FREEZ

Re: [PATCH 1/6] perf, x86: Basic Haswell LBR call stack support

2012-10-22 Thread Yan, Zheng
On 10/22/2012 07:23 PM, Stephane Eranian wrote: > On Mon, Oct 22, 2012 at 12:33 PM, Peter Zijlstra > wrote: >> >> On Mon, 2012-10-22 at 14:11 +0800, Yan, Zheng wrote: >>> + /* LBR callstack does not work well with FREEZE_LBRS_ON_PMI */ >>> + if (!cpuc->lbr_sel || !(cpuc->lbr_sel->conf

[PATCH] backlight: s6e63m0: remove unnecessary cast of void pointer

2012-10-22 Thread Jingoo Han
Removes unnecessary case of void pointer for platform data in probe function. Signed-off-by: Jingoo Han Cc: Richard Purdie --- drivers/video/backlight/s6e63m0.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/backlight/s6e63m0.c b/drivers/video/backlight

Re: [E1000-devel] [PATCH] RX initialization sequence fixed - enable RX after corresponding ring initialization only

2012-10-22 Thread Jeff Kirsher
On Fri, 2012-10-19 at 20:19 +0100, Richard Davies wrote: > Jeff Kirsher wrote: > > Dmitry Fleytman wrote: > > > Reported-by: Chris Webb > > > Reported-by: Richard Davies > > > > > > Signed-off-by: Dmitry Fleytman > > > --- > > > drivers/net/ethernet/intel/e1000/e1000_ethtool.c |9 +

[PATCH] Input: introduce managed input devices (add devres support)

2012-10-22 Thread Dmitry Torokhov
There is a demand from driver's writers to use managed devices framework for their drivers. Unfortunately up to this moment input devices did not provide support for managed devices and that lead to mixing two styles of resource management which usually introduced more bugs, such as manually unregi

Re: 3.7-rc2 regression : file copied to CIFS-mounted directory corrupted

2012-10-22 Thread Jongman Heo
Hmm, I've just met the issue, with the commit 5640f768 reverted. It seems that the issue does not always happen. So, my bisection may not be correct. At this moment, I don't have enough time to do bisection again.. Regards. [sorry for top posting, our corporate MTA is not good at e-mail writi

Re: [PATCH 1/6] perf, x86: Basic Haswell LBR call stack support

2012-10-22 Thread Yan, Zheng
On 10/22/2012 06:35 PM, Peter Zijlstra wrote: > On Mon, 2012-10-22 at 14:11 +0800, Yan, Zheng wrote: >> --- a/include/uapi/linux/perf_event.h >> +++ b/include/uapi/linux/perf_event.h >> @@ -160,8 +160,9 @@ enum perf_branch_sample_type { >> PERF_SAMPLE_BRANCH_ABORT= 1U << 7, /* trans

Re: [GIT PULL] regmap for for v3.7

2012-10-22 Thread Linus Torvalds
On Mon, Oct 22, 2012 at 6:14 PM, Mark Brown wrote: > > git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git > tags/regmap-fix-mmio I'm not finding the key you used to sign that... Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bo

Re: 3.7 RC1

2012-10-22 Thread Dan Carpenter
On Mon, Oct 22, 2012 at 04:37:45PM -0700, K. Y. Srinivasan wrote: > > While testing 3.7 RC1 I discovered that invoking the function > orderly_poweroff() > from an interrupt context will trigger an ASSERT(). This was not the case till > recently. The comment preceding the orderly_poweroff() functi

Re: [PATCH RFC] mm/swap: automatic tuning for swapin readahead

2012-10-22 Thread Shaohua Li
On Mon, Oct 22, 2012 at 10:16:40PM -0700, Hugh Dickins wrote: > On Mon, 22 Oct 2012, Shaohua Li wrote: > > On Tue, Oct 16, 2012 at 08:50:49AM +0800, Shaohua Li wrote: > > > On Mon, Oct 08, 2012 at 03:09:58PM -0700, Hugh Dickins wrote: > > > > On Thu, 4 Oct 2012, Konstantin Khlebnikov wrote: > > > >

[PATCH 1/2] Remove struct CsrThread

2012-10-22 Thread SeongJae Park
Nobody use struct CsrThread. So, remove it. Signed-off-by: SeongJae Park --- drivers/staging/csr/csr_framework_ext_types.h |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/csr/csr_framework_ext_types.h b/drivers/staging/csr/csr_framework_ext_types.h index 0d06d95..2bf8

[PATCH 2/2] Remove CsrThreadHandle

2012-10-22 Thread SeongJae Park
CsrThreadHandle is typedef of struct CsrThread. Some functions in csr_framework_ext.h use it as parameter. But, nobody call them. Signed-off-by: SeongJae Park --- drivers/staging/csr/csr_framework_ext.h | 49 - drivers/staging/csr/csr_framework_ext_types.h |2

Re: 3.7-rc2 regression : file copied to CIFS-mounted directory corrupted

2012-10-22 Thread Eric Dumazet
On Tue, 2012-10-23 at 05:38 +, Jongman Heo wrote: > Hmm, > > I've just met the issue, with the commit 5640f768 reverted. > It seems that the issue does not always happen. So, my bisection may not be > correct. > > At this moment, I don't have enough time to do bisection again.. > > Regards.

Re: [rfc 0/2] Introducing VmFlags field into smaps output

2012-10-22 Thread Cyrill Gorcunov
On Mon, Oct 22, 2012 at 02:51:58PM -0700, Andrew Morton wrote: ... > > + __seq_show_vmflag(VM_DONTEXPAND,"de "); > > + __seq_show_vmflag(VM_ACCOUNT, "ac "); > > + __seq_show_vmflag(VM_NORESERVE, "nr "); > > + __seq_show_vmflag(VM_HUGETLB, "ht "); > > + __seq_show_vmflag(VM_NONLINEAR,

Re: [PATCH] thermal: exynos: Fix wrong name of MODULE_DEVICE_TABLE

2012-10-22 Thread Amit Kachhap
On 22 October 2012 16:49, Jonghwan Choi wrote: > exynos4_tmu_driver_ids should be exynos_tmu_driver_ids. > > Signed-off-by: Jonghwan Choi > --- > drivers/thermal/exynos_thermal.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/thermal/exynos_thermal.c > b/d

Re: [PATCH for-v3.7 2/2] slub: optimize kmalloc* inlining for GFP_DMA

2012-10-22 Thread Eric Dumazet
On Tue, 2012-10-23 at 11:29 +0900, JoonSoo Kim wrote: > 2012/10/22 Christoph Lameter : > > On Sun, 21 Oct 2012, Joonsoo Kim wrote: > > > >> kmalloc() and kmalloc_node() of the SLUB isn't inlined when @flags = > >> __GFP_DMA. > >> This patch optimize this case, > >> so when @flags = __GFP_DMA, it w

[PATCH 0/4] MIPS: Loongson1B: enable common clock infrastructure

2012-10-22 Thread Kelvin Cheung
These patches enable common clock infrastructure of Loongson1, and include other minor fixes. Kelvin Cheung (4): MIPS: Loongson1B: use common clock infrastructure instead of private APIs MIPS: Loongson1B: improve ls1x_serial_setup() MIPS: Loongson1B: Update stmmac_mdio_bus_data MIP

[PATCH 1/4] MIPS: Loongson1B: use common clock infrastructure instead of private APIs

2012-10-22 Thread Kelvin Cheung
Use common clock infrastructure instead of private APIs. 1. Enable COMMON_CLK in the Kconfig. 2. Remove private clock APIs, which are replaced by the code in drivers/clk/clk-ls1x.c. 3. Modify header file for drivers/clk/clk-ls1x.c. Signed-off-by: Kelvin Cheung --- arch/mips/include/asm/mach-l

[PATCH 2/4] MIPS: Loongson1B: improve ls1x_serial_setup()

2012-10-22 Thread Kelvin Cheung
Improve ls1x_serial_setup(). Signed-off-by: Kelvin Cheung --- arch/mips/include/asm/mach-loongson1/platform.h |2 +- arch/mips/loongson1/common/platform.c |9 + arch/mips/loongson1/ls1b/board.c|5 + 3 files changed, 7 insertions(+), 9 deletions(-

[PATCH 3/4] MIPS: Loongson1B: Update stmmac_mdio_bus_data

2012-10-22 Thread Kelvin Cheung
Update stmmac_mdio_bus_data accordingly due to the upstream change. Signed-off-by: Kelvin Cheung --- arch/mips/loongson1/common/platform.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/mips/loongson1/common/platform.c b/arch/mips/loongson1/common/platform.c index

[PATCH 4/4] MIPS: Loongson1B: Fix a typo

2012-10-22 Thread Kelvin Cheung
Fix a typo in the code. Signed-off-by: Kelvin Cheung --- arch/mips/loongson1/common/clock.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/mips/loongson1/common/clock.c b/arch/mips/loongson1/common/clock.c index 7db0a6a..07133de 100644 --- a/arch/mips/loongson1/c

drm i915 hangs on heavy io load

2012-10-22 Thread Norbert Preining
Hi everyone, (please Cc) I am running 3.7-rc2 and got recently hit a few times (under rc1, too) by hanging drm i915 while doing large io operations. The efect in the dmesg: [13193.297751] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung [13193.297758] [drm] capturing error

[PATCH 1/2]staging: "ehci-w90x900" Fix typos.

2012-10-22 Thread Justin P. Mattock
From: "Justin P. Mattock" Signed-off-by: Justin P. Mattock --- The below patch fixes a typo in staging: "ehci-w90x900" drivers/usb/host/ehci-w90x900.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-w90x900.c b/drivers/usb/host/ehci-w90x900.c inde

[PATCH 2/2]staging: "winbond" Fix typos.

2012-10-22 Thread Justin P. Mattock
From: "Justin P. Mattock" Signed-off-by: Justin P. Mattock --- The below patch fixes a typo in staging: "winbond" drivers/staging/winbond/mds.c |2 +- drivers/staging/winbond/wbhal.h |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/winbond/mds

Re: [PATCH] arm: dts: omap4-sdp: pinmux configuration for keypad

2012-10-22 Thread Sourav
Hi Tony, On Monday 22 October 2012 09:49 PM, Tony Lindgren wrote: * Sourav Poddar [121022 00:30]: --- a/arch/arm/boot/dts/omap4-sdp.dts +++ b/arch/arm/boot/dts/omap4-sdp.dts @@ -194,6 +194,27 @@ 0xbc 0x100 /* abe_mcbsp2_fsx.abe_mcbsp2_fsx INPUT | MODE0 */

Re: [rfc 0/2] Introducing VmFlags field into smaps output

2012-10-22 Thread Andrew Morton
On Tue, 23 Oct 2012 10:13:41 +0400 Cyrill Gorcunov wrote: > On Mon, Oct 22, 2012 at 02:51:58PM -0700, Andrew Morton wrote: > ... > > > + __seq_show_vmflag(VM_DONTEXPAND,"de "); > > > + __seq_show_vmflag(VM_ACCOUNT, "ac "); > > > + __seq_show_vmflag(VM_NORESERVE, "nr "); > > > + __seq_show_vmfla

RE: [PATCH 02/16 v2] f2fs: add on-disk layout

2012-10-22 Thread Jaegeuk Kim
> -Original Message- > From: NeilBrown [mailto:ne...@suse.de] > Sent: Tuesday, October 23, 2012 12:47 PM > To: Jaegeuk Kim > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > gre...@linuxfoundation.org; > v...@zeniv.linux.org.uk; a...@arndb.de; ty...@mit.edu; chur@sams

Re: [PATCH v4 10/10] thp: implement refcounting for huge zero page

2012-10-22 Thread Kirill A. Shutemov
On Fri, Oct 19, 2012 at 02:59:41AM +0300, Kirill A. Shutemov wrote: > On Thu, Oct 18, 2012 at 04:45:02PM -0700, Andrew Morton wrote: > > On Mon, 15 Oct 2012 09:00:59 +0300 > > "Kirill A. Shutemov" wrote: > > > > > H. Peter Anvin doesn't like huge zero page which sticks in memory forever > > > aft

Re: [rfc 0/2] Introducing VmFlags field into smaps output

2012-10-22 Thread Cyrill Gorcunov
On Mon, Oct 22, 2012 at 11:30:25PM -0700, Andrew Morton wrote: ... > > Yup, but not only that, this kind of trick hides associativity between > > VM_ constant and mnemonic, so on changes one would have to figure out > > which position some flag has in this foo[] array, so I vote for not > > use it

Re: [Intel-gfx] drm_kms_helper problems

2012-10-22 Thread Bruno Prémont
On Mon, 22 Oct 2012 17:54:26 Mark Hounschell wrote: > Another interesting thing. I changed the boot file to only > "video=HDMI-A-1:e" and the monitor on the DVI port complains about the > resolution being to high. I then put the hdmi cable onto my dvi/hdmi > adapter and plug it into the DVI port

Re: [PATCH] vlan: set sysfs device_type to 'vlan'

2012-10-22 Thread David Miller
From: Doug Goldstein Date: Mon, 22 Oct 2012 00:53:57 -0500 > Sets the sysfs device_type to 'vlan' for udev. This makes it easier for > applications that query network information via udev to identify vlans > instead of using strrchr(). > > Signed-off-by: Doug Goldstein You're extremely misguid

[PATCH v2 net-next 2/2] r8169: update the settings for RTL8111G

2012-10-22 Thread Hayes Wang
Update the parameters of RTL8111G Signed-off-by: Hayes Wang --- drivers/net/ethernet/realtek/r8169.c | 118 ++- 1 file changed, 101 insertions(+), 17 deletions(-) diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index cdd4

[PATCH v2 net-next 1/2] r8169: enable ALDPS for power saving

2012-10-22 Thread Hayes Wang
Enable ALDPS function to save power when link down. Note that the feature should be set after the other PHY settings. And the firmware is necessary. Don't enable it without loading the firmware. Signed-off-by: Hayes Wang --- drivers/net/ethernet/realtek/r8169.c | 62 +

Re: [PATCH v4 10/10] thp: implement refcounting for huge zero page

2012-10-22 Thread Andrew Morton
On Tue, 23 Oct 2012 09:35:32 +0300 "Kirill A. Shutemov" wrote: > On Fri, Oct 19, 2012 at 02:59:41AM +0300, Kirill A. Shutemov wrote: > > On Thu, Oct 18, 2012 at 04:45:02PM -0700, Andrew Morton wrote: > > > On Mon, 15 Oct 2012 09:00:59 +0300 > > > "Kirill A. Shutemov" wrote: > > > > > > > H. Pe

Re: [patch/rfc/rft] sd: allocate request_queue on device's local numa node

2012-10-22 Thread Bart Van Assche
On 10/22/12 21:01, Jeff Moyer wrote: All of the infrastructure is available to allocate a request_queue on a particular numa node, but it isn't being utilized at all. Wire up the sd driver to allocate the request_queue on the HBA's local numa node. This is a request for comments and testing (I'

Re: [PATCH 02/16 v2] f2fs: add on-disk layout

2012-10-22 Thread Marco Stornelli
2012/10/23 Jaegeuk Kim : > This adds a header file describing the on-disk layout of f2fs. > > Signed-off-by: Changman Lee > Signed-off-by: Chul Lee > Signed-off-by: Jaegeuk Kim > --- > include/linux/f2fs_fs.h | 362 > +++ > 1 file changed, 362 inser

Re: [PATCH 04/16 v2] f2fs: add super block operations

2012-10-22 Thread Marco Stornelli
2012/10/23 Jaegeuk Kim : > This adds the implementation of superblock operations for f2fs, which includes > - init_f2fs_fs/exit_f2fs_fs > - f2fs_mount > - super_operations of f2fs > > Signed-off-by: Jaegeuk Kim > --- > fs/f2fs/super.c | 590 >

Re: [PATCH v2 1/3] pppoatm: don't send frames to destroyed vcc

2012-10-22 Thread David Miller
David, if you could review this series I'd really appreciate it. -- 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 http://www.tu

Re: Build regressions/improvements in v3.7-rc2

2012-10-22 Thread Heiko Carstens
On Mon, Oct 22, 2012 at 09:50:26PM +0200, Geert Uytterhoeven wrote: > On Mon, Oct 22, 2012 at 9:47 PM, Geert Uytterhoeven > wrote: > > JFYI, when comparing v3.7-rc2 to v3.7-rc1[3], the summaries are: > > - build errors: +4/-44 > > + arch/s390/include/asm/kvm_para.h: error: redefinition of > '

Re: drm i915 hangs on heavy io load

2012-10-22 Thread Dave Airlie
> > (please Cc) > > I am running 3.7-rc2 and got recently hit a few times (under rc1, too) > by hanging drm i915 while doing large io operations. Does booting with i915.i915_enable_rc6=0 help? (Daniel, looks like an ironlake). Dave. -- To unsubscribe from this list: send the line "unsubscribe li

[PATCH firmware] rtl_nic: update firmware for RTL8168G

2012-10-22 Thread Hayes Wang
File: rtl_nic/rtl8168g-1.fw Version: 0.0.3 Signed-off-by: Hayes Wang --- WHENCE| 2 +- rtl_nic/rtl8168g-1.fw | Bin 4272 -> 4304 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/WHENCE b/WHENCE index 6bc7417..2565fa2 100644 --- a/WHENCE +++ b/WHENCE @@ -1835,7

Re: [PATCH 08/16 v2] f2fs: add file operations

2012-10-22 Thread Marco Stornelli
2012/10/23 Jaegeuk Kim : > This adds memory operations and file/file_inode operations. > > - F2FS supports fallocate(), mmap(), fsync(), and basic ioctl(). > > Signed-off-by: Jaegeuk Kim > --- > fs/f2fs/file.c | 640 > > 1 file changed, 6

Re: [PATCH v4 10/10] thp: implement refcounting for huge zero page

2012-10-22 Thread Kirill A. Shutemov
On Mon, Oct 22, 2012 at 11:43:49PM -0700, Andrew Morton wrote: > On Tue, 23 Oct 2012 09:35:32 +0300 "Kirill A. Shutemov" > wrote: > > > On Fri, Oct 19, 2012 at 02:59:41AM +0300, Kirill A. Shutemov wrote: > > > On Thu, Oct 18, 2012 at 04:45:02PM -0700, Andrew Morton wrote: > > > > On Mon, 15 Oct

Re: [PATCH 2/2 v2] drivers: power: jz4740_battery: Use devm_request_and_ioremap

2012-10-22 Thread Lars-Peter Clausen
On 10/22/2012 03:13 AM, Marcos Paulo de Souza wrote: > And remove all checks abvout request_mem_region and ioremap. > This is just a cleanup. Not functional changes here. > > Signed-off-by: Marcos Paulo de Souza Thanks, looks almost good. But you could also have removed the check and error messa

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Tony Prisk
On Mon, 2012-10-22 at 19:51 +1300, Tony Prisk wrote: > > > > > chip = devm_kzalloc(&pdev->dev, sizeof(*chip), GFP_KERNEL); > > > if (chip == NULL) { > > > dev_err(&pdev->dev, "failed to allocate memory\n"); > > > @@ -123,26 +144,32 @@ static int __devinit pwm_probe(struct > > > plat

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Thierry Reding
On Mon, Oct 22, 2012 at 07:51:52PM +1300, Tony Prisk wrote: > Replies to your comments inline: > > On Mon, 2012-10-22 at 08:34 +0200, Thierry Reding wrote: > ... > > > -static int __devinit pwm_probe(struct platform_device *pdev) > > > +static const struct of_device_id vt8500_pwm_dt_ids[] = { > >

Re: [BUG] perf list: --help option not implemented

2012-10-22 Thread Namhyung Kim
Hi, On Fri, 19 Oct 2012 10:46:36 +0200, Jiri Olsa wrote: > On Fri, Oct 19, 2012 at 10:27:35AM +0200, Stephane Eranian wrote: >> Jiri, >> >> When I run perf list, I see: >> >> $ perf list >> .. >> rNNN [Raw hardware >> event descriptor] >> cpu/t

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Thierry Reding
On Mon, Oct 22, 2012 at 08:09:07PM +1300, Tony Prisk wrote: > On Mon, 2012-10-22 at 19:51 +1300, Tony Prisk wrote: > > > > > > > chip = devm_kzalloc(&pdev->dev, sizeof(*chip), GFP_KERNEL); > > > > if (chip == NULL) { > > > > dev_err(&pdev->dev, "failed to allocate m

Re: [PATCH] perf: Build install-man target when installing

2012-10-22 Thread Namhyung Kim
Hi, On Sat, 20 Oct 2012 13:16:25 +0200, Borislav Petkov wrote: > On Fri, Sep 28, 2012 at 07:47:07PM +0200, Borislav Petkov wrote: >> From: Borislav Petkov >> >> There's a portion in the "perf list" output refering to the exact >> specification of raw hardware events. Since this description is in

[PATCH] Input: omap4-keypad: Add pinctrl support

2012-10-22 Thread Sourav Poddar
Adapt keypad to use pinctrl framework. Tested on omap4430 sdp with 3.7-rc1 kernel. Cc: Felipe Balbi Cc: Dmitry Torokhov Signed-off-by: Sourav Poddar --- drivers/input/keyboard/omap4-keypad.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/input/keyboard

[PATCH] arm: dts: omap4-sdp: pinmux configuration for keypad

2012-10-22 Thread Sourav Poddar
Currently, omap4 keypad mux settings are done in the board file. Populate the mux settings in the dts file for the keypad to work via dt. Cc: Felipe Balbi Tested on omap4430 sdp with 3.7-rc1. Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/omap4-sdp.dts | 26 ++ 1

Re: [PATCH 00/11] perf tool: Add PERF_SAMPLE_READ sample read support

2012-10-22 Thread Namhyung Kim
Hi Jiri, It'd be better if you provide a git branch for this series. Thanks, Namhyung -- 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

Re: [RESEND][PATCH] prctl: update seccomp sections for mode 2 (BPF)

2012-10-22 Thread Michael Kerrisk (man-pages)
Kees, A couple of questions about SECCOMP_MODE_FILTER. I added some words that the arg3 is a pointer to 'struct fprog'. Can you confirmn that's correct? If the CONFIG_SECCOMP_FILTER permits fork(), is the seccomp setting inherited across fork()? Similar question for execve(). Thanks, Michael

[PATCH] Staging: ipack/carriers: fix missing include linux/slab.h

2012-10-22 Thread Samuel Iglesias Gonsalvez
Kernel build failed for parisc architecture: drivers/staging/ipack/carriers/tpci200.c: In function 'tpci200_free_irq': drivers/staging/ipack/carriers/tpci200.c:190:2: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration] drivers/staging/ipack/carriers/tpci200.c: I

Re: [PATCH] ARM: dt: tegra: ventana: define pinmux for ddc

2012-10-22 Thread Mark Zhang
On 10/19/2012 11:48 PM, Stephen Warren wrote: On 10/18/2012 11:58 PM, Mark Zhang wrote: Define pinmux for DDC. The DDC pinmux in Ventana is 2 pins in I2C2. +++ b/arch/arm/boot/dts/tegra20-ventana.dts - ddc { - nvidia,pins = "ddc", "owc",

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Tony Prisk
On Mon, 2012-10-22 at 09:24 +0200, Thierry Reding wrote: > On Mon, Oct 22, 2012 at 08:09:07PM +1300, Tony Prisk wrote: > > On Mon, 2012-10-22 at 19:51 +1300, Tony Prisk wrote: > > > > > > > > > chip = devm_kzalloc(&pdev->dev, sizeof(*chip), GFP_KERNEL); > > > > > if (chip == NULL) { >

Re: [PATCH RFC] mm/swap: automatic tuning for swapin readahead

2012-10-22 Thread Shaohua Li
On Tue, Oct 16, 2012 at 08:50:49AM +0800, Shaohua Li wrote: > On Mon, Oct 08, 2012 at 03:09:58PM -0700, Hugh Dickins wrote: > > On Thu, 4 Oct 2012, Konstantin Khlebnikov wrote: > > > > > Here results of my test. Workload isn't very realistic, but at least it > > > threaded: compiling linux-3.6 wit

Re: [PATCH v5 14/18] memcg/sl[au]b: shrink dead caches

2012-10-22 Thread Glauber Costa
On 10/19/2012 11:47 PM, Christoph Lameter wrote: > On Fri, 19 Oct 2012, Glauber Costa wrote: > >> An unlikely branch is used to make sure this case does not affect >> performance in the usual slab_free path. >> >> The slab allocator has a time based reaper that would eventually get rid >> of the o

Re: [PATCH v4 1/6] perf tools: configure tmp path at build time

2012-10-22 Thread Irina Tirdea
On Tue, Oct 16, 2012 at 6:18 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, Oct 16, 2012 at 02:33:35AM +0300, Irina Tirdea escreveu: >> From: Irina Tirdea >> >> Temporary perf files are hardcoded to point to /tmp. Android does not have >> a /tmp directory so it needs to set this path at compile ti

Re: [PATCH] prctl: document PR_SET_NO_NEW_PRIVS, PR_GET_NO_NEW_PRIVS

2012-10-22 Thread Michael Kerrisk (man-pages)
On Fri, Sep 21, 2012 at 1:54 AM, Kees Cook wrote: > This adds a short description of the no_new_privs bit, as described in > Documentation/prctl/no_new_privs.txt. Thanks Kees. Applied. Cheers, Michael > Signed-off-by: Kees Cook > --- > man2/prctl.2 | 15 +++ > 1 files changed,

Re: [PATCH] arm: dts: omap4-sdp: pinmux configuration for keypad

2012-10-22 Thread Benoit Cousson
Hi Sourav, On 10/22/2012 09:29 AM, Sourav Poddar wrote: > Currently, omap4 keypad mux settings are done in the board file. > Populate the mux settings in the dts file for the keypad to > work via dt. Have you changed the driver to handle properly the dependency with the pinctrl and thus return EP

[PATCH] perf/x86: fix SNB-EP CBO and PCU uncore PMU filter management

2012-10-22 Thread Yan, Zheng
From: "Yan, Zheng" The existing code assumes all Cbox and PCU events are using filter, but actually the filter is event specific. Furthermore the filter is sub-divided into multiple fields which are used by different events. Signed-off-by: Yan, Zheng Reported-by: Stephane Eranian --- arch/x86

Re: [PATCH] i2c: omap: adopt pinctrl support

2012-10-22 Thread Felipe Balbi
Hi, On Tue, Oct 16, 2012 at 05:23:20PM +0200, Sebastien Guiriec wrote: > Some GPIO expanders need some early pin control muxing. Due to > legacy boards sometimes the driver uses subsys_initcall instead of > module_init. This patch takes advantage of defer probe feature > and pin control in order t

  1   2   3   4   5   6   7   8   >