Re: Build regressions/improvements in v3.10-rc1 (um)

2013-05-14 Thread Geert Uytterhoeven
On Wed, May 15, 2013 at 4:57 AM, Stephen Rothwell wrote: > So htobe32 etc were introduced in glibc 2.9 - our build environment is > glibc 2.3 ... Documentation/Changes does not specify a minimum version of > glibc. This is a UML "requirement", not a generic Linux build environment requirement. I

[PATCH] ARM: dts: omap3 beagle: Add usb otg hs dt data

2013-05-14 Thread Kishon Vijay Abraham I
Added board specific dt data for omap3 beagle in omap3-beagle.dts file. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap3-beagle.dts |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts index 6eec69

Re: [PATCH] input: cros_ec_keyb_clear_keyboard() depends on CONFIG_PM_SLEEP

2013-05-14 Thread Dmitry Torokhov
On Wed, May 08, 2013 at 09:25:56PM -0600, Simon Glass wrote: > On Wed, May 8, 2013 at 3:45 PM, Geert Uytterhoeven > wrote: > > If CONFIG_PM_SLEEP is not set: > > > > drivers/input/keyboard/cros_ec_keyb.c:211: warning: > > ‘cros_ec_keyb_clear_keyboard’ defined but not used > > > > Move the defini

Re: [PATCH V2 0/5] input: pxa27x-keypad: enhancement and device tree support

2013-05-14 Thread Dmitry Torokhov
Hi Chao, On Mon, May 13, 2013 at 04:02:07PM +0800, Chao Xie wrote: > hi, dmitry > What is your idea about these patches? > Do i need add someone else to review them? > No, they look good, give me a couple more days but I should apply them. I am going to fold the first 4 into one patch though. >

Re: [PATCH] leds-ot200: Fix misbehavior caused by wrong bit masks

2013-05-14 Thread Christian Gmeiner
2013/5/14 Bryan Wu : > On Tue, May 14, 2013 at 10:16 AM, Andrew Morton > wrote: >> On Tue, 14 May 2013 10:12:04 -0700 Bryan Wu wrote: >> >>> On Tue, May 14, 2013 at 12:06 AM, Christian Gmeiner >>> wrote: >>> > 2013/5/12 Christian Gmeiner : >>> >> 2013/3/8 Christian Gmeiner : >>> >>> 2013/3/5 Bry

Re: [PATCH V1 resend] cpufreq: Raname index as data in cpufreq_frequency_table

2013-05-14 Thread Viresh Kumar
On 14 May 2013 21:45, Stephen Warren wrote: > On 05/14/2013 07:46 AM, Viresh Kumar wrote: > ... >> This must address your concerns: >> @Rafael: I have attached both patches now for you to apply. >> >> From: Viresh Kumar >> Date: Tue, 14 May 2013 19:08:50 +0530 >> Subject: [PATCH 1/2] cpufreq: teg

virtio-blk: problem of the disk name release

2013-05-14 Thread yuxh
hi, About the virtio-blk disk name,if the virtio-blk disk is detached when it has reference in guest, then the disk name will not be released forever. It seems the purpose of this is to avoid a disk error when we attach the disk back. The problem by doing so is that the disk name can't be reus

[PATCH] kernel/workqueue.c: need call device_remove_file() when failure occurs after called device_create_file()

2013-05-14 Thread Chen Gang
In workqueue_sysfs_register(), when failure occurs after called device_create_file(), need call device_remove_file() to release the related resources, then call device_unregister(). Or it will cause issue. For individual 'device_attributs' (just like our case), need call device_remove_file() exp

Re: r8169 on 3.8.13, 3.9.2, 3.10-rc1, was Re: [ 00/73] 3.8.13-stable review

2013-05-14 Thread Francois Romieu
Ken Moffat : [...] > Cc'ing to netdev because I don't think this has had a response, and A patch has been sent to netdev a few hours ago. It needs more work, especially testing (hint, hint) as I don't have a proven test case yet. Please note: - if you don't use a 8168evl (check your dmesg for t

Re: [PATCH 3/3] target: simplify target_wait_for_sess_cmds()

2013-05-14 Thread Nicholas A. Bellinger
On Tue, 2013-05-14 at 22:19 -0400, Jörn Engel wrote: > On Tue, 14 May 2013 20:05:30 -0700, Nicholas A. Bellinger wrote: > > On Tue, 2013-05-14 at 12:29 -0400, Jörn Engel wrote: > > > On Mon, 13 May 2013 20:08:44 -0700, Nicholas A. Bellinger wrote: > > > > On Mon, 2013-05-13 at 18:00 -0400, Jörn Eng

[PATCH] perf: Add --objdump option to perf top

2013-05-14 Thread Sukadev Bhattiprolu
perf: Add objdump option to 'perf top' Like with 'perf annotate' add the --objdump option to perf top so users can specify an alternate path to the /usr/bin/objdump binary. Reported-by: David A. Gilbert Signed-off-by: Sukadev Bhattiprolu --- tools/perf/builtin-top.c |9 + 1 files c

Re: [PATCH V5 0/5] Queue work on power efficient wq

2013-05-14 Thread Viresh Kumar
On 14 May 2013 23:24, Tejun Heo wrote: > On Wed, Apr 24, 2013 at 05:12:52PM +0530, Viresh Kumar wrote: >> This patchset was called: "Create sched_select_cpu() and use it for >> workqueues" >> for the first three versions. > > Applied to wq/for-3.11 with some updates to comments and > documentatio

Re: [PATCH V2 2/3] Documentation: virtio: Add emergency write (emerg_wr) config register in virtio console.

2013-05-14 Thread Amit Shah
On (Wed) 15 May 2013 [13:59:29], Rusty Russell wrote: > Pranavkumar Sawargaonkar writes: > > Hi Rusty, > > > > On 13 May 2013 08:22, Rusty Russell wrote: > >> Pranavkumar Sawargaonkar writes: > >>> Signed-off-by: Pranavkumar Sawargaonkar > >>> Signed-off-by: Anup Patel > >>> --- > >>> Documen

Re: [PATCH v3] ARM:dts:omap4-panda:Update the LED support for the panda DTS

2013-05-14 Thread Nishanth Menon
$subject - add a space? s/ARM:dts:omap4-panda:Update/ARM: dts: omap4-panda: Update/ ? On 09:17-20130514, Dan Murphy wrote: > The GPIO for LED D1 on the omap4-panda a1-a3 rev and the omap4-panda-es > are different. > > A1-A3 = gpio_wk7 Thanks for fixing this - this is a key fix else,

Re: 3.9.0: panic during boot - kernel BUG at include/linux/gfp.h:323!

2013-05-14 Thread Lingzhu Xiang
On 05/15/2013 02:35 AM, Tejun Heo wrote: Hello, On Tue, May 14, 2013 at 11:35:29AM +0800, Lingzhu Xiang wrote: On 05/06/2013 03:55 PM, CAI Qian wrote: [0.928031] [ cut here ] [0.934231] kernel BUG at include/linux/gfp.h:323! ... [1.662913] [] alloc_cpumas

Re: [PATCH] vhost-scsi: Depend on NET for memcpy_fromiovec

2013-05-14 Thread Rusty Russell
Asias He writes: > scsi.c includes vhost.c which uses memcpy_fromiovec. > > This patch fixes this build failure. > >From Randy Dunlap: >''' >on x86_64: > >ERROR: "memcpy_fromiovec" [drivers/vhost/vhost_scsi.ko] undefined! > >It needs to depend on NET since net/core/ provides th

Re: [PATCH] module: Add section ".ref.data" into kmemleak-scan-area.

2013-05-14 Thread Rusty Russell
Catalin Marinas writes: > On Mon, May 13, 2013 at 03:24:09AM +0100, Rusty Russell wrote: >> majianpeng writes: >> >> > In commit 523c81135,it used "__refdata" on event_class_ftrace_##call. >> > It will cause kmemleak to misjudge because when loading module it did >> > not add '.ref.data' into km

Re: [PATCH V2 2/3] Documentation: virtio: Add emergency write (emerg_wr) config register in virtio console.

2013-05-14 Thread Rusty Russell
Pranavkumar Sawargaonkar writes: > Hi Rusty, > > On 13 May 2013 08:22, Rusty Russell wrote: >> Pranavkumar Sawargaonkar writes: >>> Signed-off-by: Pranavkumar Sawargaonkar >>> Signed-off-by: Anup Patel >>> --- >>> Documentation/virtual/virtio-spec.txt |8 +++- >>> 1 file changed, 7 in

Re: regression: from 3.8 to 3.9: headphones output no sound on Intel HDA, codec VIA VT1802

2013-05-14 Thread Takashi Iwai
At Tue, 14 May 2013 21:55:43 +0200, Alex Riesen wrote: > > On Tue, May 14, 2013 at 12:58 PM, Takashi Iwai wrote: > >> OK, then we know the place to fix now. > >> Try the patch below instead. Does it fix the problem as well? > > > > The below is the revised patch, fixing not only for VT1802 but o

Re: [PATCH 5/5] media: i2c: tvp7002: add OF support

2013-05-14 Thread Prabhakar Lad
Hi Laurent, Thanks for the review. On Tue, May 14, 2013 at 9:04 PM, Laurent Pinchart wrote: > Hi Prabhakar, > > Thank you for the patch. > > On Tuesday 14 May 2013 16:15:34 Lad Prabhakar wrote: >> From: Lad, Prabhakar >> >> add OF support for the tvp7002 driver. >> >> Signed-off-by: Lad, Prabha

Re: [PATCH] ASoC: remove saarb and tavorevb3 machine drivers

2013-05-14 Thread Mark Brown
On Tue, May 14, 2013 at 05:07:21PM +0200, Paul Bolle wrote: > Support for PXA95x was removed in v3.8. This means that the Kconfig > symbols MACH_SAARB and MACH_TAVOREVB3 are no longer available. This > leaves the SoC Audio support for Marvell Saarb and Marvell Tavor EVB3 > unbuildable. Remove these

Re: [PATCH] ARM: PL011: add support for extended FIFO-size of PL011-r1p5

2013-05-14 Thread Stephen Warren
On 05/14/2013 07:00 PM, Jongsung Kim wrote: > Stephen Warren : >> Looking at BCM2835-ARM-Peripherals.pdf (i.e. the public documentation for >> the BCM2835 chip), I see: >> >> = >> The UART provides: >> * Separate 16x8 transmit and 16x12 receive FIFO memory. >> ... >> For the in-depth UART over

RE: EnhanceIO kernel driver

2013-05-14 Thread Amit Kale
Hi Jens, That's fair. We do have a strong belief in the value of EnhanceIO driver. We'll send more information soon. Thanks. -Amit > -Original Message- > From: Jens Axboe [mailto:ax...@kernel.dk] > Sent: Wednesday, May 15, 2013 1:36 AM > To: OS Engineering > Cc: LKML; Sanoj Unnikrishnan

Re: Fans at full speed after resume

2013-05-14 Thread Sonny Rao
On Tue, May 14, 2013 at 9:34 PM, Sonny Rao wrote: > On Tue, May 14, 2013 at 9:29 PM, Zhang Rui wrote: >> On Wed, 2013-05-15 at 12:26 +0800, Zhang Rui wrote: >>> please >>> >>> On Tue, 2013-05-14 at 21:18 -0700, Sonny Rao wrote: >>> > Hi, I've seen a regression in kernels since 3.7 on x86 devices

Re: Ricoh DMAR bug returns? (WAS Re: [PATCH v4] Quirk for buggy dma source tags with Intel IOMMU.)

2013-05-14 Thread Pat Erley
On 04/05/2013 01:50 AM, Pat Erley wrote: On 04/05/2013 12:44 AM, Andrew Cooks wrote: On Tue, Apr 2, 2013 at 11:47 PM, Pat Erley wrote: On 04/02/2013 10:50 AM, Andrew Cooks wrote: On 2 Apr 2013 15:37, "Pat Erley" mailto:pat-l...@erley.org>> wrote: > > On 03/07/2013 09:35 PM, Andrew Cooks

[PATCH] msm: iommu: fix leak and invalid access

2013-05-14 Thread Libo Chen
This patch merge two patch that I sended before: 1. msm: iommu: add missing platform_device_unregister() in err case 2. msm: iommu: no need kfree before kzalloc successful It fixes two obvious problems: 1. We have registered msm_iommu_driver first, and need unregister it when registered msm_iommu

Re: [PATCH] x86: mm: Remove unnecessary assignment for max_pfn_mapped

2013-05-14 Thread Zhang Yanfei
于 2013年05月10日 22:57, Yinghai Lu 写道: > On Fri, May 10, 2013 at 3:28 AM, Zhang Yanfei > wrote: >> 于 2013年05月10日 17:27, Yinghai Lu 写道: >>> On Fri, May 10, 2013 at 2:01 AM, Zhang Yanfei >>> wrote: init_memory_mapping will set max_pfn_mapped: int_memory_mapping --> add_pfn_range_mappe

Re: [PATCH RFC] clk: Introduce userspace clock driver

2013-05-14 Thread Mark Brown
On Tue, May 14, 2013 at 02:09:47PM -0400, Philip Balister wrote: > First of all, the driver that loads the bitstream into the fpga > fabric does not know ANYTHING about what the bitstream does. So it > cannot do any setup based on the contents of the file that is > loaded. (And this can also be lo

Re: [PATCH 2/2] f2fs: fix the inconsistent state of data pages

2013-05-14 Thread Jaegeuk Kim
2013-05-15 (수), 13:04 +0900, Namjae Jeon: > 2013/5/15, Jaegeuk Kim : > > In get_lock_data_page, if there is a data race between get_dnode_of_data > > for > > node and grab_cache_page for data, f2fs is able to face with the following > > BUG_ON(dn.data_blkaddr == NEW_ADDR). > > > > kernel BUG at /ho

Re: [PATCH v2 6/7] PCI: Make sure VF's driver get attached after PF's

2013-05-14 Thread Alexander Duyck
On 05/14/2013 07:48 PM, Yinghai Lu wrote: > Found kernel try to load mlx4 drivers for VFs before > PF's is loaded when the drivers are built-in, and kernel > command line include probe_vfs=63, num_vfs=63. > > [ 169.581682] calling mlx4_init+0x0/0x119 @ 1 > [ 169.595681] mlx4_core: Mellanox Conn

Re: [PATCH 1/2] f2fs: fix inconsistency of block count during recovery

2013-05-14 Thread Jaegeuk Kim
2013-05-15 (수), 12:47 +0900, Namjae Jeon: > > > > diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c > > index 3df43b4..9641534 100644 > > --- a/fs/f2fs/node.c > > +++ b/fs/f2fs/node.c > > @@ -1492,6 +1492,8 @@ int recover_inode_page(struct f2fs_sb_info *sbi, > > struct page *page) > > new_ni = old_n

Re: Fans at full speed after resume

2013-05-14 Thread Sonny Rao
On Tue, May 14, 2013 at 9:29 PM, Zhang Rui wrote: > On Wed, 2013-05-15 at 12:26 +0800, Zhang Rui wrote: >> please >> >> On Tue, 2013-05-14 at 21:18 -0700, Sonny Rao wrote: >> > Hi, I've seen a regression in kernels since 3.7 on x86 devices where >> > the kernel turns the system fans on to max spee

Re: Fans at full speed after resume

2013-05-14 Thread Olof Johansson
2013/5/14 Zhang Rui > > On Wed, 2013-05-15 at 12:26 +0800, Zhang Rui wrote: > > please > > > > On Tue, 2013-05-14 at 21:18 -0700, Sonny Rao wrote: > > > Hi, I've seen a regression in kernels since 3.7 on x86 devices where > > > the kernel turns the system fans on to max speed after resuming from >

Re: Fans at full speed after resume

2013-05-14 Thread Zhang Rui
On Wed, 2013-05-15 at 12:26 +0800, Zhang Rui wrote: > please > > On Tue, 2013-05-14 at 21:18 -0700, Sonny Rao wrote: > > Hi, I've seen a regression in kernels since 3.7 on x86 devices where > > the kernel turns the system fans on to max speed after resuming from > > ram. Other people have noticed

Re: Fans at full speed after resume

2013-05-14 Thread Zhang Rui
please On Tue, 2013-05-14 at 21:18 -0700, Sonny Rao wrote: > Hi, I've seen a regression in kernels since 3.7 on x86 devices where > the kernel turns the system fans on to max speed after resuming from > ram. Other people have noticed it as well, for example see > https://bugzilla.redhat.com/show_

Fans at full speed after resume

2013-05-14 Thread Sonny Rao
Hi, I've seen a regression in kernels since 3.7 on x86 devices where the kernel turns the system fans on to max speed after resuming from ram. Other people have noticed it as well, for example see https://bugzilla.redhat.com/show_bug.cgi?id=895276 For example on the Samsung 550 Chromebook, we hav

Re: [PATCH 1/2] Kernel/time: Introduce a new timestamp function local_time_seconds()

2013-05-14 Thread Gu Zheng
On 05/14/2013 11:57 PM, John Stultz wrote: > On 05/14/2013 12:45 AM, Gu Zheng wrote: >> From 18072c1c3506a7e37ee485307a2c343efe5af4d0 Mon Sep 17 00:00:00 2001 >> From: Gu Zheng >> Date: Mon, 13 May 2013 15:45:24 +0900 >> Subject: [PATCH 1/2] Kernel/time: Introduce a new timestamp function >> lo

Re: dynticks: CONFIG_VIRT_CPU_ACCOUNTING + CONFIG_CONTEXT_TRACKING breaks accounting on core2 CPUs only

2013-05-14 Thread Mike Galbraith
On Wed, 2013-05-15 at 02:26 +0200, Frederic Weisbecker wrote: > On Tue, May 14, 2013 at 04:07:20PM +0200, Mike Galbraith wrote: > > On Tue, 2013-05-14 at 02:57 +0200, Frederic Weisbecker wrote: > > > On Sun, May 12, 2013 at 10:17:49AM +0200, Mike Galbraith wrote: > > > > Greetings, > > > > > > >

Re: [PATCH 2/2] f2fs: fix the inconsistent state of data pages

2013-05-14 Thread Namjae Jeon
2013/5/15, Jaegeuk Kim : > In get_lock_data_page, if there is a data race between get_dnode_of_data > for > node and grab_cache_page for data, f2fs is able to face with the following > BUG_ON(dn.data_blkaddr == NEW_ADDR). > > kernel BUG at /home/zeus/f2fs_test/src/fs/f2fs/data.c:251! > [] get_lock

Re: [PATCH] usb: xhci: Consolidate XHCI TD Size calculation

2013-05-14 Thread Sarah Sharp
On Thu, May 09, 2013 at 09:42:51PM -0700, Julius Werner wrote: > The TD Size field in an XHCI TRB is calculated in two different ways, > depending on the XHCI version. The current code does this version check > in every caller, which makes it easy to forget (such as in the function > for control tr

Re: [PATCH 1/2] f2fs: fix inconsistency of block count during recovery

2013-05-14 Thread Namjae Jeon
> > diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c > index 3df43b4..9641534 100644 > --- a/fs/f2fs/node.c > +++ b/fs/f2fs/node.c > @@ -1492,6 +1492,8 @@ int recover_inode_page(struct f2fs_sb_info *sbi, > struct page *page) > new_ni = old_ni; > new_ni.ino = ino; > Hi. Jaegeuk. I have a mi

Re: [PATCH 3/3] target: simplify target_wait_for_sess_cmds()

2013-05-14 Thread Jörn Engel
On Tue, 14 May 2013 20:05:30 -0700, Nicholas A. Bellinger wrote: > On Tue, 2013-05-14 at 12:29 -0400, Jörn Engel wrote: > > On Mon, 13 May 2013 20:08:44 -0700, Nicholas A. Bellinger wrote: > > > On Mon, 2013-05-13 at 18:00 -0400, Jörn Engel wrote: > > > > > > > > I agree that the overhead doesn't

Re: [PATCH] vhost-scsi: Depend on NET for memcpy_fromiovec

2013-05-14 Thread Asias He
On Tue, May 14, 2013 at 08:10:20PM -0700, Nicholas A. Bellinger wrote: > On Wed, 2013-05-15 at 08:59 +0800, Asias He wrote: > > scsi.c includes vhost.c which uses memcpy_fromiovec. > > > > This patch fixes this build failure. > > > >From Randy Dunlap: > >''' > >on x86_64: > > > >

linux-next: Tree for May 15

2013-05-14 Thread Stephen Rothwell
Hi all, Changes since 20130514: I have started doing some builds with gcc 4.8.0 and while I can't easily tell if I am getting more or less warnings, the ones I do get are now much more verbose. This is a hint to people to clean some of them up, p

linux-next: build warning after merge of the final tree (in Linus' tree)

2013-05-14 Thread Stephen Rothwell
Hi , After merging the final tree, today's linux-next build (i386 defconfig) produced this warning: kernel/auditfilter.c: In function 'audit_data_to_entry': kernel/auditfilter.c:426:3: warning: this decimal constant is unsigned only in ISO C90 [enabled by default] Introduced by commit 780a7654c

Re: V3.10-rc1 memory leak

2013-05-14 Thread Larry Finger
On 05/14/2013 07:57 PM, Steven Rostedt wrote: On Tue, 2013-05-14 at 17:20 -0400, Steven Rostedt wrote: On Tue, 2013-05-14 at 16:10 -0500, Larry Finger wrote: On 05/14/2013 03:30 PM, Catalin Marinas wrote: I just got a patch today: https://lkml.org/lkml/2013/5/10/607 which could be related.

[PATCH v3 3/3] driver: provide sysfs interfaces to access SMX parameter

2013-05-14 Thread Qiaowei Ren
These interfaces are located in /sys/devices/platform/intel_txt/parameter/, showing specific parameter information for SMX features supported by the processor. Safer Mode Extensions (SMX) provide a processor's programming interface in an Intel TXT platform for system software to establish a measur

[PATCH v3 2/3] driver: provide sysfs interfaces to access TXT config space

2013-05-14 Thread Qiaowei Ren
These interfaces are located in /sys/devices/platform/intel_txt/config, and including totally 37 files, providing access to Intel TXT configuration registers. Signed-off-by: Qiaowei Ren Signed-off-by: Xiaoyan Zhang Signed-off-by: Gang Wei --- Documentation/ABI/testing/sysfs-platform-intel-txt

[PATCH v3 1/3] driver: add TXT driver in kernel

2013-05-14 Thread Qiaowei Ren
TXT driver can be used to access below resources: - TXT config space - SMX parameter Intel TXT (Trusted Execution Technology) will provide higher assurance of system configuration and initial state as well as data reset protection. It also helps solve real end user concerns about having confid

[PATCH v3 0/3] Intel TXT driver

2013-05-14 Thread Qiaowei Ren
Changeslog from v2: * add MODULE_ALIAS() Changeslog from v1: * remove tboot log code * add terms description in commit log and comment at the top of the driver * check whether a platform has TXT support before registering a device This module is expected to be a better tool to access be

Re: Kernel 3.10-rc1 build warning on 32-bit ppc associated with commit 3925f46

2013-05-14 Thread Larry Finger
On 05/14/2013 06:33 PM, Benjamin Herrenschmidt wrote: On Tue, 2013-05-14 at 10:29 -0500, Larry Finger wrote: Hi, When building 3.10-rc1 on a PowerBook G4, I get the following warning: Thanks. Should be fixed now, let me know if it's not. It is now fixed. Thanks for a quick response. Larry

Re: [PATCH] vhost-scsi: Depend on NET for memcpy_fromiovec

2013-05-14 Thread Nicholas A. Bellinger
On Wed, 2013-05-15 at 08:59 +0800, Asias He wrote: > scsi.c includes vhost.c which uses memcpy_fromiovec. > > This patch fixes this build failure. > >From Randy Dunlap: >''' >on x86_64: > >ERROR: "memcpy_fromiovec" [drivers/vhost/vhost_scsi.ko] undefined! > >It needs to depe

Re: [PATCH 2/3] target: close target_put_sess_cmd() vs. core_tmr_abort_task() race v5

2013-05-14 Thread Nicholas A. Bellinger
On Tue, 2013-05-14 at 15:04 -0400, Greg Kroah-Hartman wrote: > On Mon, May 13, 2013 at 04:30:06PM -0400, Joern Engel wrote: > > It is possible for one thread to to take se_sess->sess_cmd_lock in > > core_tmr_abort_task() before taking a reference count on > > se_cmd->cmd_kref, while another thread

Re: [PATCH 3/3] target: simplify target_wait_for_sess_cmds()

2013-05-14 Thread Nicholas A. Bellinger
On Tue, 2013-05-14 at 12:29 -0400, Jörn Engel wrote: > On Mon, 13 May 2013 20:08:44 -0700, Nicholas A. Bellinger wrote: > > On Mon, 2013-05-13 at 18:00 -0400, Jörn Engel wrote: > > > > > > I agree that the overhead doesn't matter. The msleep(100) spells this > > > out rather explicitly. What doe

[PATCH] x86, 64bit: Correct phys_addr in cleanup_highmap comment

2013-05-14 Thread Zhang Yanfei
For x86_64, we have phys_base, which means the delta between the the address kernel is actually running at and the address kernel is compiled to run at. Not phys_addr so correct it. Signed-off-by: Zhang Yanfei --- arch/x86/mm/init_64.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

Re: Build regressions/improvements in v3.10-rc1 (um)

2013-05-14 Thread Stephen Rothwell
On Mon, 13 May 2013 22:15:52 +1000 Michael Ellerman wrote: > > On Mon, 2013-05-13 at 12:07 +0200, richard -rw- weinberger wrote: > > On Mon, May 13, 2013 at 11:54 AM, Michael Ellerman > > wrote: > > > > > > > > > Geert Uytterhoeven wrote: > > > > > >>On Sun, May 12, 2013 at 11:17 PM, richard -r

Re: [PATCH] pci: Avoid reentrant calls to work_on_cpu

2013-05-14 Thread Yinghai Lu
On Tue, May 14, 2013 at 3:26 PM, Alexander Duyck wrote: > This change is meant to fix a deadlock seen when pci_enable_sriov was > called from within a driver's probe routine. The issue was that > work_on_cpu calls flush_work which attempts to flush a work queue for a > cpu that we are currently w

[PATCH v2 6/7] PCI: Make sure VF's driver get attached after PF's

2013-05-14 Thread Yinghai Lu
Found kernel try to load mlx4 drivers for VFs before PF's is loaded when the drivers are built-in, and kernel command line include probe_vfs=63, num_vfs=63. [ 169.581682] calling mlx4_init+0x0/0x119 @ 1 [ 169.595681] mlx4_core: Mellanox ConnectX core driver v1.1 (Dec, 2011) [ 169.600194] mlx4_

Re: Build regressions/improvements in v3.10-rc1 (um)

2013-05-14 Thread Stephen Rothwell
Hi all, On Mon, 13 May 2013 12:20:24 +0200 richard -rw- weinberger wrote: > > On Mon, May 13, 2013 at 12:18 PM, Geert Uytterhoeven > wrote: > > On Mon, May 13, 2013 at 12:07 PM, richard -rw- weinberger > > wrote: > >> On Mon, May 13, 2013 at 11:54 AM, Michael Ellerman > >> wrote: > > > >>> Po

Re: [PATCH] kernel/workqueue.c: better to free related resources when failure occurs in wq_numa_init()

2013-05-14 Thread Chen Gang
On 05/14/2013 11:17 PM, Tejun Heo wrote: > On Tue, May 14, 2013 at 08:25:20PM +0800, Chen Gang wrote: >> >> When NUMA node mapping not available for one cpu, need disabling NUMA >> support and proceed. >> >> Also better to release unused resources (the original code can not >> cause issue, only was

Re: [PATCH V2 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable()

2013-05-14 Thread Tang Chen
Hi Benjamin, Mel, Please see below. On 05/14/2013 09:58 PM, Benjamin LaHaise wrote: On Tue, May 14, 2013 at 09:24:58AM +0800, Tang Chen wrote: Hi Mel, Benjamin, Jeff, On 05/13/2013 11:01 PM, Benjamin LaHaise wrote: On Mon, May 13, 2013 at 10:54:03AM -0400, Jeff Moyer wrote: How do you propo

Re: [PATCH] ASoC: remove saarb and tavorevb3 machine drivers

2013-05-14 Thread Haojian Zhuang
On Tue, May 14, 2013 at 11:07 PM, Paul Bolle wrote: > Support for PXA95x was removed in v3.8. This means that the Kconfig > symbols MACH_SAARB and MACH_TAVOREVB3 are no longer available. This > leaves the SoC Audio support for Marvell Saarb and Marvell Tavor EVB3 > unbuildable. Remove these driver

Re: [PATCH] pci: Avoid reentrant calls to work_on_cpu

2013-05-14 Thread Alexander Duyck
On 05/14/2013 05:32 PM, Or Gerlitz wrote: > On Tue, May 14, 2013 at 6:26 PM, Alexander Duyck > wrote: >> >> This change is meant to fix a deadlock seen when pci_enable_sriov was >> called from within a driver's probe routine. The issue was that >> work_on_cpu calls flush_work which attempts to fl

Re: [PATCH 05/20] ARM: shmobile: ape6evm: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Wed, May 15, 2013 at 10:46:04AM +0900, Simon Horman wrote: > On Wed, May 15, 2013 at 09:59:07AM +0900, Simon Horman wrote: > > On Tue, May 14, 2013 at 05:38:38PM +0200, Maxime Ripard wrote: > > > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > > > specified") removed t

Re: [PATCH 11/20] ARM: shmobile: sh73a0: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Tue, May 14, 2013 at 05:38:44PM +0200, Maxime Ripard wrote: > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > specified") removed the need to explictly setup the init_irq field in > the machine description when using only irqchip_init. Remove that > declaration for shm

Re: [PATCH 10/20] ARM: shmobile: r8a7790: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Tue, May 14, 2013 at 05:38:43PM +0200, Maxime Ripard wrote: > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > specified") removed the need to explictly setup the init_irq field in > the machine description when using only irqchip_init. Remove that > declaration for shm

Re: [PATCH 09/20] ARM: shmobile: r8a73a4: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Tue, May 14, 2013 at 05:38:42PM +0200, Maxime Ripard wrote: > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > specified") removed the need to explictly setup the init_irq field in > the machine description when using only irqchip_init. Remove that > declaration for shm

Re: [PATCH 08/20] ARM: shmobile: emev2: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Wed, May 15, 2013 at 09:59:38AM +0900, Simon Horman wrote: > On Tue, May 14, 2013 at 05:38:41PM +0200, Maxime Ripard wrote: > > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > > specified") removed the need to explictly setup the init_irq field in > > the machine descr

Re: [PATCH 07/20] ARM: shmobile: lager: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Tue, May 14, 2013 at 05:38:40PM +0200, Maxime Ripard wrote: > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > specified") removed the need to explictly setup the init_irq field in > the machine description when using only irqchip_init. Remove that > declaration for shm

Re: [PATCH 06/20] ARM: shmobile: kzm9g: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Wed, May 15, 2013 at 09:59:17AM +0900, Simon Horman wrote: > On Tue, May 14, 2013 at 05:38:39PM +0200, Maxime Ripard wrote: > > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > > specified") removed the need to explictly setup the init_irq field in > > the machine descr

Re: [PATCH 05/20] ARM: shmobile: ape6evm: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Wed, May 15, 2013 at 09:59:07AM +0900, Simon Horman wrote: > On Tue, May 14, 2013 at 05:38:38PM +0200, Maxime Ripard wrote: > > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > > specified") removed the need to explictly setup the init_irq field in > > the machine descr

Re: [PATCH 1/3] x86/sched/context_tracking: Call new schedule_preempt_user() from entry_64.S

2013-05-14 Thread Li Zhong
On Tue, 2013-05-14 at 16:13 +0200, Frederic Weisbecker wrote: > On Fri, May 10, 2013 at 05:12:26PM -0400, Steven Rostedt wrote: > > +/* > > + * This is a entry point to the scheduler() just before going > > + * back to user space. This is called with irqs disabled > > + * which prevents races with

[PATCH] usb: omap2430: fix memleak in err case

2013-05-14 Thread Libo Chen
when omap_get_control_dev fail, we should release relational platform_device Signed-off-by: Libo Chen --- drivers/usb/musb/omap2430.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index 3551f1a..b626f19 10064

Re: [PATCH] kernel/workqueue.c: kfree issue, need check flag 'WQ_UNBOUND' when processing failure.

2013-05-14 Thread Chen Gang
On 05/14/2013 11:20 PM, Tejun Heo wrote: > On Tue, May 14, 2013 at 09:06:40PM +0800, Chen Gang wrote: >> err_destroy: >> destroy_workqueue(wq); >> +if (flags & WQ_UNBOUND) { >> +err_free_wq: >> +free_workqueue_attrs(wq->unbound_attrs); >> +kfree(wq); >> +} > >

NULL pointer dereference in inode_has_perm on 3.4

2013-05-14 Thread Vinson Lee
Hi. I'm seeing a NULL pointer deference in inode_has_perm with Linux kernel 3.4.27. Does anyone have any ideas what this issue might be? As another point of reference, I've also seen this on 2.6.39.4. [63314.38] BUG: unable to handle kernel NULL pointer dereference at 0020 [63314.

[PATCH] vhost-scsi: Depend on NET for memcpy_fromiovec

2013-05-14 Thread Asias He
scsi.c includes vhost.c which uses memcpy_fromiovec. This patch fixes this build failure. From Randy Dunlap: ''' on x86_64: ERROR: "memcpy_fromiovec" [drivers/vhost/vhost_scsi.ko] undefined! It needs to depend on NET since net/core/ provides that function. ''' Reported-by: Ra

Re: [RFC v0 0/4] sys_copy_range() rough draft

2013-05-14 Thread Dave Chinner
On Tue, May 14, 2013 at 03:04:40PM -0700, Zach Brown wrote: > On Wed, May 15, 2013 at 07:42:51AM +1000, Dave Chinner wrote: > > On Tue, May 14, 2013 at 02:15:22PM -0700, Zach Brown wrote: > > > I'm going to keep hacking away at this. My next step is to get ext4 > > > supporting .copy_range, probab

RE: [PATCH] ARM: PL011: add support for extended FIFO-size of PL011-r1p5

2013-05-14 Thread Jongsung Kim
Stephen Warren : > Looking at BCM2835-ARM-Peripherals.pdf (i.e. the public documentation for > the BCM2835 chip), I see: > > = > The UART provides: > * Separate 16x8 transmit and 16x12 receive FIFO memory. > ... > For the in-depth UART overview, please, refer to the ARM PrimeCell UART > (PL011

Re: [PATCH 08/20] ARM: shmobile: emev2: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Tue, May 14, 2013 at 05:38:41PM +0200, Maxime Ripard wrote: > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > specified") removed the need to explictly setup the init_irq field in > the machine description when using only irqchip_init. Remove that > declaration for shm

Re: [PATCH 07/20] ARM: shmobile: lager: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Tue, May 14, 2013 at 05:38:40PM +0200, Maxime Ripard wrote: > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > specified") removed the need to explictly setup the init_irq field in > the machine description when using only irqchip_init. Remove that > declaration for shm

Re: [PATCH 06/20] ARM: shmobile: kzm9g: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Tue, May 14, 2013 at 05:38:39PM +0200, Maxime Ripard wrote: > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > specified") removed the need to explictly setup the init_irq field in > the machine description when using only irqchip_init. Remove that > declaration for shm

Re: [PATCH 05/20] ARM: shmobile: ape6evm: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Tue, May 14, 2013 at 05:38:38PM +0200, Maxime Ripard wrote: > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > specified") removed the need to explictly setup the init_irq field in > the machine description when using only irqchip_init. Remove that > declaration for shm

Re: V3.10-rc1 memory leak

2013-05-14 Thread Steven Rostedt
On Tue, 2013-05-14 at 17:20 -0400, Steven Rostedt wrote: > On Tue, 2013-05-14 at 16:10 -0500, Larry Finger wrote: > > On 05/14/2013 03:30 PM, Catalin Marinas wrote: > > > > > > I just got a patch today: > > > > > > https://lkml.org/lkml/2013/5/10/607 > > > > > > which could be related. If Rusty doe

Re: [RFC PATCH v2, part 2 09/18] PCI, PPC: use hotplug-safe iterators to walk PCI buses

2013-05-14 Thread Benjamin Herrenschmidt
On Wed, 2013-05-15 at 00:51 +0800, Jiang Liu wrote: > Enhance PPC architecture specific code to use hotplug-safe iterators > to walk PCI buses. I was about to ack it but then I saw: > diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c > index 51a133a..a41c6dd 100644 > --- a/

Re: [PATCH v5, part4 31/41] mm/ppc: prepare for removing num_physpages and simplify mem_init()

2013-05-14 Thread Benjamin Herrenschmidt
On Wed, 2013-05-08 at 23:51 +0800, Jiang Liu wrote: > Prepare for removing num_physpages and simplify mem_init(). No objection, I haven't had a chance to actually build/boot test though. BTW. A recommended way of doing so which is pretty easy even if you don't have access to powerpc hardware nowa

Re: [PATCH] pci: Avoid reentrant calls to work_on_cpu

2013-05-14 Thread Or Gerlitz
On Tue, May 14, 2013 at 6:26 PM, Alexander Duyck wrote: > > This change is meant to fix a deadlock seen when pci_enable_sriov was > called from within a driver's probe routine. The issue was that > work_on_cpu calls flush_work which attempts to flush a work queue for a > cpu that we are currently

Re: dynticks: CONFIG_VIRT_CPU_ACCOUNTING + CONFIG_CONTEXT_TRACKING breaks accounting on core2 CPUs only

2013-05-14 Thread Frederic Weisbecker
On Tue, May 14, 2013 at 04:07:20PM +0200, Mike Galbraith wrote: > On Tue, 2013-05-14 at 02:57 +0200, Frederic Weisbecker wrote: > > On Sun, May 12, 2013 at 10:17:49AM +0200, Mike Galbraith wrote: > > > Greetings, > > > > > > Turning on new NO_HZ feature on my Q6600 box in master, I see that tasks

Re: [PATCH] clk: Fix race condition between clk_set_parent and clk_enable()

2013-05-14 Thread Tomasz Figa
On Tuesday 14 of May 2013 15:46:33 Saravana Kannan wrote: > On 05/14/2013 03:10 PM, Tomasz Figa wrote: > > Hi, > > > > On Tuesday 14 of May 2013 11:54:17 Mike Turquette wrote: > >> Quoting Saravana Kannan (2013-04-30 21:42:08) > >> > >>> Without this patch, the following race conditions are possi

r8169 on 3.8.13, 3.9.2, 3.10-rc1, was Re: [ 00/73] 3.8.13-stable review

2013-05-14 Thread Ken Moffat
On Fri, May 10, 2013 at 12:54:27PM +0200, Holger Hoffstaette wrote: Cc'ing to netdev because I don't think this has had a response, and I care because I *might* be seeing the same problem on both 3.9.2 and 3.10-rc1, but my take on the problem is slightly different [ details after Holger's posting

[PATCH 2/2] f2fs: fix the inconsistent state of data pages

2013-05-14 Thread Jaegeuk Kim
In get_lock_data_page, if there is a data race between get_dnode_of_data for node and grab_cache_page for data, f2fs is able to face with the following BUG_ON(dn.data_blkaddr == NEW_ADDR). kernel BUG at /home/zeus/f2fs_test/src/fs/f2fs/data.c:251! [] get_lock_data_page+0x1ec/0x210 [f2fs] Call Tra

[PATCH 1/2] f2fs: fix inconsistency of block count during recovery

2013-05-14 Thread Jaegeuk Kim
Currently f2fs recovers the dentry of fsynced files. When power-off-recovery is conducted, this newly recovered inode should increase node block count as well as inode block count. This patch resolves this inconsistency that results in: 1. create a file 2. write data 3. fsync 4. reboot without sy

Re: [RFC PATCH 1/2] ARM: delay: print dummy values for bogomips

2013-05-14 Thread Nicolas Pitre
On Tue, 14 May 2013, Rob Herring wrote: > On Tue, May 14, 2013 at 2:54 PM, Nicolas Pitre wrote: > > [ Yes, I'm late to the party ] > > > > On Tue, 7 May 2013, Marc Zyngier wrote: > > > >> On 07/05/13 00:16, Pavel Machek wrote: > >> > >> Hi Pawel, > >> > >> >> Now that we support a timer-backed de

Re: linux-next: Tree for May 14 (vhost_scsi)

2013-05-14 Thread Stephen Rothwell
[Adding Michael to cc] On Tue, 14 May 2013 12:16:20 -0700 Randy Dunlap wrote: > > on x86_64: > > ERROR: "memcpy_fromiovec" [drivers/vhost/vhost_scsi.ko] undefined! > > > It needs to depend on NET since net/core/ provides that function. > > -- > ~Randy -- Cheers, Stephen Rothwell

[PATCH] [media] rtl28xxu: Add USB ID for Leadtek WinFast DTV Dongle mini

2013-05-14 Thread Miroslav Šustek
USB ID 0413:6a03 is Leadtek WinFast DTV Dongle mini. Decoder Realtek RTL2832U and tuner Infineon TUA9001. Signed-off-by: Miroslav Šustek --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/

Re: [PATCH] [media] rtl28xxu: Add USB ID for Leadtek WinFast DTV Dongle mini

2013-05-14 Thread Antti Palosaari
On 05/15/2013 02:42 AM, Miroslav Šustek wrote: USB ID 0413:6a03 is Leadtek WinFast DTV Dongle mini. Decoder Realtek RTL2832U and tuner Infineon TUA9001. Signed-off-by: Miroslav Šustek Acked-by: Antti Palosaari Reviewed-by: Antti Palosaari --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 2

Re: Kernel 3.10-rc1 build warning on 32-bit ppc associated with commit 3925f46

2013-05-14 Thread Benjamin Herrenschmidt
On Tue, 2013-05-14 at 10:29 -0500, Larry Finger wrote: > Hi, > > When building 3.10-rc1 on a PowerBook G4, I get the following warning: Thanks. Should be fixed now, let me know if it's not. Cheers, Ben. > cc1: warnings being treated as errors > arch/powerpc/perf/core-book3s.c: In function ‘powe

linux-next: comment on the kbuild tree

2013-05-14 Thread Stephen Rothwell
Hi Michal, Since the kbuild tree now consists only of merge commits (relative to v3.10-rc1), you might as well just reset it to v3.10-rc1 and have a nice clean tree to start from. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpGBB3qUuAIO.pgp Description: PGP signature

Re: PROBLEM: modprobe hang at startup (3.8.x, 3.9.x, IBM x3550)

2013-05-14 Thread Robert Norris
On Mon, May 13, 2013 at 11:22:32AM +1000, Robert Norris wrote: > We have a number of Intel x3550 servers (Intel 5000-series). They've > been running 3.7.2 fine. > > In the last week I've run 3.8.11, 3.8.12 and 3.9.2 on them. All have > long hangs at boot, and later hung tasks in modprobe. I bisec

Re: [PATCHv11 3/4] zswap: add to mm/

2013-05-14 Thread Seth Jennings
On Tue, May 14, 2013 at 01:18:48PM -0700, Dan Magenheimer wrote: > > From: Seth Jennings [mailto:sjenn...@linux.vnet.ibm.com] > > Subject: Re: [PATCHv11 3/4] zswap: add to mm/ > > > > > > > > > > +/* The maximum percentage of memory that the compressed pool can > > > > occupy */ > > > > +static

Re: [PATCH] ARM: PL011: add support for extended FIFO-size of PL011-r1p5

2013-05-14 Thread Russell King - ARM Linux
On Tue, May 14, 2013 at 03:03:14PM -0600, Stephen Warren wrote: > On 05/14/2013 01:15 AM, Jongsung Kim wrote: > > Stephen Warren : > >> For reference, the AMBA periphid of the UART device there is 0x00341011. > >> The nibble "3" is the revision being tested in: > > > > The UART device has periphi

  1   2   3   4   5   6   7   >