Re: linux-next: Tree for Jun 28 [ BISECTED: rsyslog/imklog: High CPU usage ]

2013-06-30 Thread Stephen Rothwell
Hi Oleg, Andrew, On Sun, 30 Jun 2013 20:19:45 +0200 Oleg Nesterov wrote: > > Andrew, please drop these > > wait-introduce-wait_event_commonwq-condition-state-timeout.patch > wait-introduce-prepare_to_wait_event.patch > > patches again. I'll send v3 although it really looks like I sh

[PATCH] sched: fix cpu utilization account error

2013-06-30 Thread Xie XiuQi
We setting clock_skip_update = 1 based on the assumption that the next call to update_rq_clock() will come nearly immediately after being set. However, it is not always true especially on non-preempt mode. In this case we may miss some clock update, which would cause an error curr->sum_exec_runtime

Re: [PATCH v3 2/4] i2c: Kontron PLD i2c bus driver

2013-06-30 Thread Wolfram Sang
On Sun, Jun 23, 2013 at 09:00:04PM -0700, Kevin Strasser wrote: > Add i2c support for the on-board PLD found on some Kontron embedded > modules. > > Originally-From: Michael Brunner > Signed-off-by: Kevin Strasser > Acked-by: Guenter Roeck > Acked-by: Darren Hart Applied to for-next, thanks!

linux-next: manual merge of the arm-soc tree with the net-next tree

2013-06-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-mxs/mach-mxs.c between commit b7c4114b07bb ("can: flexcan: Use a regulator to control the CAN transceiver") from the net-next tree and commit 2046338dcbc6 ("ARM: mxs: Use soc bus infrastructure") from the arm-soc

Re: 3.9.7, 3.10-rc7 - UEFI stalls at boot (nothing displayed), when booting with mem=300M

2013-06-30 Thread Matthew Garrett
On Mon, Jul 01, 2013 at 07:22:32AM +0200, Luca Barbato wrote: > MacBookPro8,2 with efi-stub, loading directly from the efi shell w/out > any memory restriction. How do you know this is the same issue? -- Matthew Garrett | mj...@srcf.ucam.org -- To unsubscribe from this list: send the line "unsu

Re: [PATCH RFC] Add FAT_IOCTL_GET_VOLUME_ID

2013-06-30 Thread OGAWA Hirofumi
OGAWA Hirofumi writes: >> +case FAT_IOCTL_GET_VOLUME_ID: >> +id = fat_ioctl_volume_id(inode); >> +return copy_to_user((unsigned int *)arg, &id, sizeof(id)); > >> +case FAT_IOCTL_GET_VOLUME_ID: >> +id = fat_ioctl_volume_id(inode); >> +return

Re: [PATCH v10] i2c: exynos5: add High Speed I2C controller driver

2013-06-30 Thread Wolfram Sang
On Wed, Jun 19, 2013 at 04:18:25PM +0530, Naveen Krishna Chatradhi wrote: > Adds support for High Speed I2C driver found in Exynos5 and > later SoCs from Samsung. > > Driver only supports Device Tree method. > > Changes since v1: > 1. Added FIFO functionality > 2. Added High speed mode functional

Re: [PATCH RFC] Add FAT_IOCTL_GET_VOLUME_ID

2013-06-30 Thread OGAWA Hirofumi
bintian.w...@linaro.org writes: > This patch, originally from Android kernel, adds vfat directory ioctl command > FAT_IOCTL_GET_VOLUME_ID, with this command we can get the vfat volume ID using > following code: > > ioctl(dirfd(dir), FAT_IOCTL_GET_VOLUME_ID, &volume_ID) > > This patch is a mo

Re: sched: context tracking demolishes pipe-test

2013-06-30 Thread Mike Galbraith
On Sun, 2013-06-30 at 23:29 +0200, Peter Zijlstra wrote: > Yeah, who'd have thought that putting stuff in the syscall path would've > made syscalls more expensive ;-) (careful, you'll injure my innocence, Santa and the Tooth Fairy exist!) > But yeah, that's a _lot_ more expensive.. I'd not be su

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

2013-06-30 Thread Kishon Vijay Abraham I
+Keerthy On Monday 01 July 2013 09:48 AM, Stephen Rothwell wrote: Hi all, After merging the regulator tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/regulator/palmas-regulator.c: In function 'palmas_regulators_probe': drivers/regulator/palmas-regulator.c:850:8:

Re: cgroup: status-quo and userland efforts

2013-06-30 Thread Tim Hockin
On Sun, Jun 30, 2013 at 12:39 PM, Lennart Poettering wrote: > Heya, > > > On 29.06.2013 05:05, Tim Hockin wrote: >> >> Come on, now, Lennart. You put a lot of words in my mouth. > > >>> I for sure am not going to make the PID 1 a client of another daemon. >>> That's >>> just wrong. If you have a

[PATCH] ktime: add missing declaration of ktime_get() in ktime.h

2013-06-30 Thread Joonsoo Kim
We cannot use ktime_get() API even if we include ktime.h, because there is no declaration of this API in ktime.h. So add it. Signed-off-by: Joonsoo Kim diff --git a/include/linux/ktime.h b/include/linux/ktime.h index bbca128..29954cd 100644 --- a/include/linux/ktime.h +++ b/include/linux/ktime.h

Re: [PATCH 1/3] perf record: support duration option to run during specified time

2013-06-30 Thread Joonsoo Kim
On Fri, Jun 28, 2013 at 05:27:24PM -0700, Sukadev Bhattiprolu wrote: > Joonsoo Kim [iamjoonsoo@lge.com] wrote: > | Currently, there is no method to quit at specified time later. > | We are used to using 'sleep N' as command argument if we need it, > | but explicitly supporting this feature mayb

Re: [PATCH 0/6] Basic scheduler support for automatic NUMA balancing

2013-06-30 Thread Srikar Dronamraju
* Srikar Dronamraju [2013-06-28 19:24:22]: > * Mel Gorman [2013-06-26 15:37:59]: > > > It's several months overdue and everything was quiet after 3.8 came out > > but I recently had a chance to revisit automatic NUMA balancing for a few > > days. I looked at basic scheduler integration resultin

[PATCH v2] usb: host: xhci: Enable XHCI_SPURIOUS_SUCCESS for all controllers with xhci 1.0

2013-06-30 Thread George Cherian
Xhci controllers with hci_version > 0.96 gives spurious success events on short packet completion. During webcam capture the "ERROR Transfer event TRB DMA ptr not part of current TD" was observed. The same application works fine with synopsis controllers hci_version 0.96. The same Issue is seen wit

Re: 3.9.7, 3.10-rc7 - UEFI stalls at boot (nothing displayed), when booting with mem=300M

2013-06-30 Thread Luca Barbato
On 07/01/2013 07:13 AM, Matthew Garrett wrote: > On Sun, Jun 30, 2013 at 11:30:59PM -0500, Matthew Thode wrote: > >> mjg59, is there anything I can do to help move this bug forward? I've >> done all I can think of (even tried a serial expresscard slot for logging). > > It does sound like a bug,

Re: [PATCH 2/3] drivers: spi: Add qspi flash controller

2013-06-30 Thread Sourav Poddar
+ Artem On Wednesday 26 June 2013 01:11 PM, Sourav Poddar wrote: The patch add basic support for the quad spi controller. QSPI is a kind of spi module that allows single, dual and quad read access to external spi devices. The module has a memory mapped interface which provide direct interface fo

Re: [PATCH 3/3] drivers: mtd: spinand: Add qspi spansion flash controller

2013-06-30 Thread Sourav Poddar
+ Artem On Wednesday 26 June 2013 01:11 PM, Sourav Poddar wrote: The patch adds support for spansion s25fl256s spi flash controller. Currently, the patch supports only SPI based transaction. As, the qspi to which flash is attached supports memory mapped interface, support will be added in future

Re: [PATCH 0/3] spi/mtd generic framework,ti qspi controller and spansion driver

2013-06-30 Thread Sourav Poddar
+ Artem On Wednesday 26 June 2013 01:11 PM, Sourav Poddar wrote: This patch series add support for the generic spi based flash framework(spinand_mtd), which can be used used by any spi based flash device to attach itself to mtd framework. The first patch of this series includes both the generic

Re: [PATCH 1/3] drivers: mtd: spinand: Add generic spinand frameowrk and micron driver.

2013-06-30 Thread Sourav Poddar
+ Artem On Wednesday 26 June 2013 01:11 PM, Sourav Poddar wrote: From: Mona Anonuevo This patch adds support for a generic spinand framework(spinand_mtd.c). This frameowrk can be used for other spi based flash devices also. The idea is to have a common model under drivers/mtd, as also present fo

Re: 3.9.7, 3.10-rc7 - UEFI stalls at boot (nothing displayed), when booting with mem=300M

2013-06-30 Thread Matthew Garrett
On Sun, Jun 30, 2013 at 11:30:59PM -0500, Matthew Thode wrote: > mjg59, is there anything I can do to help move this bug forward? I've > done all I can think of (even tried a serial expresscard slot for logging). It does sound like a bug, but unfortunately unless it can be duplicated on real ha

Re: 3.9.7, 3.10-rc7 - UEFI stalls at boot (nothing displayed), when booting with mem=300M

2013-06-30 Thread Matthew Thode
On 06/30/2013 11:41 PM, Luca Barbato wrote: > On 07/01/2013 06:30 AM, Matthew Thode wrote: > >> You had the problem where it was blank on boot (right after grub, no >> kernel messages at all)? Sounds like this might not be limited to just >> Lenovo then. > > no grub, efi-stub directly from the e

Re: [LOCKDEP] cpufreq: possible circular locking dependency detected

2013-06-30 Thread Michael Wang
Hi, Sergey On 06/26/2013 05:15 AM, Sergey Senozhatsky wrote: [snip] > > [ 60.277848] Chain exists of: > (&(&j_cdbs->work)->work) --> &j_cdbs->timer_mutex --> cpu_hotplug.lock > > [ 60.277864] Possible unsafe locking scenario: > > [ 60.277869]CPU0CPU1 > [ 6

Re: 3.9.7, 3.10-rc7 - UEFI stalls at boot (nothing displayed), when booting with mem=300M

2013-06-30 Thread Luca Barbato
On 07/01/2013 06:30 AM, Matthew Thode wrote: > You had the problem where it was blank on boot (right after grub, no > kernel messages at all)? Sounds like this might not be limited to just > Lenovo then. no grub, efi-stub directly from the efi shell. > mjg59, is there anything I can do to help

Re: [RFC PATCH 7/7] autofs - change CONFIG_AUTOFS4_FS to CONFIG_AUTOFS_FS

2013-06-30 Thread Stephen Rothwell
Hi Ian, On Mon, 01 Jul 2013 11:14:51 +0800 Ian Kent wrote: > > Signed-off-by: Ian Kent Please don't do this. Find a simple way to make sure that if CONFIG_AUTOFS4_FS is set, then "make oldconfig" (or equivalent) will cause CONFIG_AUTOFS_FS to be set the same. The maintainers will update the

linux-next: manual merge of the trivial tree with the fbdev tree

2013-06-30 Thread Stephen Rothwell
Hi Jiri, Today's linux-next merge of the trivial tree got a conflict in drivers/video/omap2/displays/panel-n8x0.c between commit ecc8b3708986 ("OMAPDSS: Add panel dev pointer to dssdev") from the fbdev tree and commit 8b513d0cf603 ("treewide: Fix typo in printk") from the trivial tree. I fixed it

Re: 3.9.7, 3.10-rc7 - UEFI stalls at boot (nothing displayed), when booting with mem=300M

2013-06-30 Thread Matthew Thode
On 06/27/2013 01:17 PM, Luca Barbato wrote: > On 06/27/2013 06:47 PM, Matthew Thode wrote: >> There is an early boot failure with linux-3.[9,10].??? when booting >> using uefi on low memory systems. >> >> This seems like it might be hardware specific, I am running on a Lenovo >> T520, running bios

Re: [PATCH 3/3] udp: make use of static_key_slow_set_true() interface

2013-06-30 Thread Jason Baron
On 06/28/2013 11:13 PM, Steven Rostedt wrote: On Fri, 2013-06-28 at 22:30 +, jba...@akamai.com wrote: Make use of the simpler API. Need to make the change log much more descriptive. Never assume someone in the future that looks up a change to this file will know about other commits that led

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

2013-06-30 Thread Stephen Rothwell
Hi all, After merging the regulator tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/regulator/palmas-regulator.c: In function 'palmas_regulators_probe': drivers/regulator/palmas-regulator.c:850:8: error: 'PALMAS_REG_SMPS10' undeclared (first use in this function)

Re: [PATCH 0/3] static keys: fix test/set races

2013-06-30 Thread Jason Baron
On 06/29/2013 03:20 AM, Ingo Molnar wrote: * jba...@akamai.com wrote: Hi, As pointed out by Andi Kleen, some static key users can be racy because they check the value of the key->enabled, and then subsequently update the branch direction. A number of call sites have 'higher' level locking tha

[PATCH 1/2] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-06-30 Thread hongbo.zhang
From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch add the device tree nodes for them. Signed-off-by: Hongbo Zhang --- arch/powerpc/boot/dts/fsl/qoriq-dma2-0.dtsi | 90 +++ arch/powerpc/boot/dts/fsl/qoriq-dma2-1.dtsi | 90 ++

[PATCH 2/2] DMA: Freescale: update driver to support 8-channel DMA engine

2013-06-30 Thread hongbo.zhang
From: Hongbo Zhang This patch adds support to 8-channel DMA engine, thus the driver works for both the new 8-channel and the legacy 4-channel DMA engines. Signed-off-by: Hongbo Zhang --- drivers/dma/fsldma.c | 48 ++-- drivers/dma/fsldma.h |4 +

Re: [PATCH] include/asm-generic/io.h: add 'UML' case just like 'no-MMU'

2013-06-30 Thread Chen Gang
On 07/01/2013 09:40 AM, Chen Gang wrote: > On 06/26/2013 06:22 PM, Chen Gang wrote: >> > On 06/26/2013 06:17 PM, Richard Weinberger wrote: >>> >> Am 26.06.2013 12:01, schrieb Chen Gang: > On 06/26/2013 05:48 PM, Geert Uytterhoeven wrote: >>> >> On Wed, Jun 26, 2013 at 11:38 AM, Ric

[PATCH 1/2] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-06-30 Thread hongbo.zhang
From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch add the device tree nodes for them. Signed-off-by: Hongbo Zhang --- arch/powerpc/boot/dts/fsl/qoriq-dma2-0.dtsi | 90 +++ arch/powerpc/boot/dts/fsl/qoriq-dma2-1.dtsi | 90 ++

[PATCH 2/2] DMA: Freescale: update driver to support 8-channel DMA engine

2013-06-30 Thread hongbo.zhang
From: Hongbo Zhang This patch adds support to 8-channel DMA engine, thus the driver works for both the new 8-channel and the legacy 4-channel DMA engines. Signed-off-by: Hongbo Zhang --- drivers/dma/fsldma.c | 48 ++-- drivers/dma/fsldma.h |4 +

Re: kernel panic in skb_copy_bits

2013-06-30 Thread Joe Jin
On 06/30/13 17:13, Alex Bligh wrote: > > > --On 28 June 2013 12:17:43 +0800 Joe Jin wrote: > >> Find a similar issue >> http://www.gossamer-threads.com/lists/xen/devel/265611 So copied to Xen >> developer as well. > > I thought this sounded familiar. I haven't got the start of this > thread, b

[RFC PATCH 1/7] autofs4 - coding style fixes

2013-06-30 Thread Ian Kent
Try and make the coding style completely consistent throughtout the autofs module and inline with kernel coding style recommendations. Signed-off-by: Ian Kent --- fs/autofs4/autofs_i.h | 30 +++--- fs/autofs4/expire.c | 38 +++---

[RFC PATCH 7/7] autofs - change CONFIG_AUTOFS4_FS to CONFIG_AUTOFS_FS

2013-06-30 Thread Ian Kent
Signed-off-by: Ian Kent --- arch/arm/configs/at91rm9200_defconfig|2 +- arch/arm/configs/bcm_defconfig |2 +- arch/arm/configs/cns3420vb_defconfig |2 +- arch/arm/configs/colibri_pxa270_defconfig|2 +- arch/arm/configs/da8xx_omapl_defconfig

[RFC PATCH 3/7] autofs4 - move linux/auto_dev-ioctl.h to uapi/linux

2013-06-30 Thread Ian Kent
Since linux/auto_dev-ioctl.h wasn't included in include/linux/Kbuild (although I should have added it) it wasn't moved to uapi/linux as part of the uapi series. Signed-off-by: Ian Kent --- include/linux/auto_dev-ioctl.h | 224 --- include/uapi/linux/auto_dev

[RFC PATCH 2/7] autofs4 - fix string.h include in auto_dev-ioctl.h

2013-06-30 Thread Ian Kent
Since including linux/string.h will now do the right thing remove the conditional check. Signed-off-by: Ian Kent --- include/linux/auto_dev-ioctl.h |5 - 1 file changed, 5 deletions(-) diff --git a/include/linux/auto_dev-ioctl.h b/include/linux/auto_dev-ioctl.h index 850f39b..fe4f373 10

[RFC PATCH 4/7] autofs - merge auto_fs.h and auto_fs4.h

2013-06-30 Thread Ian Kent
The autofs module has long since been removed so there's no need to have two separate include files for autofs. Signed-off-by: Ian Kent --- fs/autofs4/autofs_i.h |2 - fs/compat_ioctl.c |1 include/uapi/linux/auto_fs.h | 156 +---

[RFC PATCH 0/7] autofs4 - rename autofs4 to autofs

2013-06-30 Thread Ian Kent
The autofs4 kernel module provides function for autofs version 3, 4 and 5 and autofs module has long since been removed. Now we're left with a misnamed module. Appart from the name another problem this presents is that module autoload doesn't work because of the mismatch of the directory name and t

Error creating sysfs files when reloading cx88 driver

2013-06-30 Thread Ilia Mirkin
Hello, I have a pcHDTV 3000 card [0], on a 3.10-rc6 kernel. Every so often, it stops working [1]. When I try to reload cx88_dvb, module loads, but init errors out because some sysfs file is already there [2]. Removing more of the video-related modules doesn't seem to help (at least not once this h

[PATCH] percpu_counter: __this_cpu_write doesn't need to be protected by spinlock

2013-06-30 Thread Fan Du
__this_cpu_write doesn't need to be protected by spinlock, AS we are doing per cpu write with preempt disabled. And another reason to remove __this_cpu_write outside of spinlock: __percpu_counter_sum is not a accurate counter. Signed-off-by: Fan Du --- lib/percpu_counter.c |2 +- 1 files

Re: [PATCH] arch: m68k: include: asm: define 'VM_DATA_DEFAULT_FLAGS' no matter whether has 'NOMMU' or not.

2013-06-30 Thread Chen Gang
Hello Maintainers: Please help check the patch whether OK or not, when you have time. Thanks. On 06/22/2013 02:49 PM, Chen Gang wrote: > > Define 'VM_DATA_DEFAULT_FLAGS' when 'NOMMU' to pass compiling. > > So move it from "include/asm/page_mm.h to "include/asm/page.h" > > The related make: >

[PATCH RFC] Add FAT_IOCTL_GET_VOLUME_ID

2013-06-30 Thread bintian . wang
From: Mike Lockwood This patch, originally from Android kernel, adds vfat directory ioctl command FAT_IOCTL_GET_VOLUME_ID, with this command we can get the vfat volume ID using following code: ioctl(dirfd(dir), FAT_IOCTL_GET_VOLUME_ID, &volume_ID) This patch is a modified version of the

Re: [PATCH] arch: m68k: include: asm: define 'VM_DATA_DEFAULT_FLAGS' no matter whether has 'NOMMU' or not.

2013-06-30 Thread Chen Gang
On 06/29/2013 04:26 PM, Geert Uytterhoeven wrote: > On Sat, Jun 29, 2013 at 10:01 AM, Michael Schmitz > wrote: >>> >> The same .config file, also report the compiling error below: >>> >> >>> >> drivers/i2c/busses/i2c-ocores.c:81:2: error: implicit declaration of >>> >> function ‘iowrite8’ [-Werro

[PATCH v2] arch: tile: include: asm: add cmpxchg64() definition

2013-06-30 Thread Chen Gang
Need add cmpxchg64(), or will cause compiling issue. Need define it as cmpxchg() only for 64-bit operation, since cmpxchg() can support 8 bytes. The related error (with allmodconfig): drivers/block/blockconsole.c: In function ‘bcon_advance_console_bytes’: drivers/block/blockconsole.c:164:2:

RE: [PATCH 1/2] regulator: 88pm800: Add missing config.of_node setting for regulator register

2013-06-30 Thread Chao Xie
> -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Friday, June 28, 2013 9:50 PM > To: Axel Lin > Cc: Yi Zhang; Chao Xie; Liam Girdwood; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/2] regulator: 88pm800: Add missing config.of_node > setting for regulator

Re: [PATCH] arch: tile: include: asm: add cmpxchg64() definition

2013-06-30 Thread Chen Gang
Firstly thank you very much for replying quickly with details. On 06/28/2013 11:09 PM, Ralf Baechle wrote: > On Fri, Jun 28, 2013 at 09:51:35AM +0800, Chen Gang wrote: > >> Need add cmpxchg64(), or will cause compiling issue. >> >> Just define it as cmpxchg(), since cmpxchg() can support 8 bytes

Re: [PATCH] virtio-pci: fix leaks of msix_affinity_masks

2013-06-30 Thread Rusty Russell
Jason Wang writes: > On 06/20/2013 01:36 PM, Andrey Vagin wrote: >> From: Andrew Vagin >> >> vp_dev->msix_vectors should be initialized before allocating >> msix_affinity_masks, otherwise vp_free_vectors will not free these >> objects. >> >> unreferenced object 0x88010f969d88 (size 512): >>

Re: [GIT PULL] (xen) stable/for-linus-3.11-rc0-tag

2013-06-30 Thread Stephen Rothwell
Hi Konrad, On Sun, 30 Jun 2013 21:03:21 -0400 Konrad Rzeszutek Wilk wrote: > > Since the merge window opened merely three hours ago and I am sure > you are addictively refreshing your email for the next set of > GIT PULLs and can't wait for them - I figured I would offer you a > nice little even

Re: [PATCH v3 0/2] perf tools: Power7 events name available for perf

2013-06-30 Thread Michael Ellerman
On Fri, Jun 28, 2013 at 04:14:55PM +0800, Runzhen Wang wrote: > Thank for Sukadev Bhattip and Xiao Guangrong's help. > Thank for Michael Ellerman's review. > > ChangeLog: v2 -> v3: > > 1. Adding a leading zero to all the events code in "power7-events-list.h" >which don't have a PMC, so that

Re: [PATCH V3] regulator: 88pm800: add regulator driver for 88pm800

2013-06-30 Thread Chao Xie
On Fri, Jun 28, 2013 at 7:56 PM, Mark Brown wrote: > On Thu, Jun 27, 2013 at 04:46:04AM -0400, Chao Xie wrote: >> Add the regulator driver for PMIC 88pm800 including device tree >> support. >> 88pm800 is an I2C-based power-management IC containing voltage >> regulators, a real-time clock, and some

Re: [PATCH] include/asm-generic/io.h: add 'UML' case just like 'no-MMU'

2013-06-30 Thread Chen Gang
On 06/26/2013 06:22 PM, Chen Gang wrote: > On 06/26/2013 06:17 PM, Richard Weinberger wrote: >> Am 26.06.2013 12:01, schrieb Chen Gang: On 06/26/2013 05:48 PM, Geert Uytterhoeven wrote: >> On Wed, Jun 26, 2013 at 11:38 AM, Richard Weinberger >> wrote: >> Since the API its

Re: [PATCH 0/2] Support for 2013 Macbook Air

2013-06-30 Thread Dmitry Torokhov
On Sun, Jun 30, 2013 at 09:04:44PM +0200, rydb...@euromail.se wrote: > Hi Dmitry, Jiri, > > Please find enclosed two patches yielding support for the > MacbookAir6,2. As usual, there is one HID and one Input patch. Given > the closeness to the merge window, I suppose we could backport this to > 3.

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-30 Thread Dave Chinner
On Sun, Jun 30, 2013 at 08:33:49PM +0200, Michal Hocko wrote: > On Sat 29-06-13 12:55:09, Dave Chinner wrote: > > On Thu, Jun 27, 2013 at 04:54:11PM +0200, Michal Hocko wrote: > > > On Thu 27-06-13 09:24:26, Dave Chinner wrote: > > > > On Wed, Jun 26, 2013 at 10:15:09AM +0200, Michal Hocko wrote: >

[PATCH 11/12] cdrom: Remove unnecessary prototype for cdrom_mrw_exit

2013-06-30 Thread Joe Perches
Move the function to appropriate locations instead. Signed-off-by: Joe Perches --- drivers/cdrom/cdrom.c | 238 +- 1 file changed, 121 insertions(+), 117 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 87a74d4..a7dd38

[PATCH 12/12] cdrom: Remove unnecessary prototype for cdrom_get_disc_info

2013-06-30 Thread Joe Perches
Move the function to the proper spot instead. Signed-off-by: Joe Perches --- drivers/cdrom/cdrom.c | 71 ++- 1 file changed, 36 insertions(+), 35 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index a7dd384..7e5b628 100644

[PATCH 07/12] cdrom: Move mmc_ioctls above cdrom_ioctl to remove unnecessary prototype

2013-06-30 Thread Joe Perches
Neaten the spacing too. Signed-off-by: Joe Perches --- drivers/cdrom/cdrom.c | 246 +- 1 file changed, 122 insertions(+), 124 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 70ef0134..5148547 100644 --- a/drivers/cdro

[PATCH 04/12] cdrom: Remove prototype for open_for_data

2013-06-30 Thread Joe Perches
Move static function to the appropriate place to remove the now unnecessary prototype. Signed-off-by: Joe Perches --- drivers/cdrom/cdrom.c | 114 +- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cd

[PATCH 08/12] cdrom: Remove cdrom_get_last_written prototype

2013-06-30 Thread Joe Perches
Move the function instead. Signed-off-by: Joe Perches --- drivers/cdrom/cdrom.c | 193 +- 1 file changed, 97 insertions(+), 96 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 5148547..4fb9ad5 100644 --- a/drivers/cdro

[PATCH 10/12] cdrom: Remove cdrom_count_tracks prototype

2013-06-30 Thread Joe Perches
Move function to proper location instead. Fix whitespace and embedded if too. Signed-off-by: Joe Perches --- drivers/cdrom/cdrom.c | 94 +-- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom

[PATCH 05/12] cdrom: Remove unnecessary check_for_audio_disc prototype

2013-06-30 Thread Joe Perches
The actual static is defined below it but not used until later. Signed-off-by: Joe Perches --- drivers/cdrom/cdrom.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 72720d7..546b97e 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cd

[PATCH 06/12] cdrom: Remove unnecessary sanitize_format prototype

2013-06-30 Thread Joe Perches
It's defined below without being called. Signed-off-by: Joe Perches --- drivers/cdrom/cdrom.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 546b97e..70ef0134 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cdrom.c @@ -337,8 +337,6

Re: [PATCH 1/1] usb,uhci: add a new tag for virtual uhci devices

2013-06-30 Thread ZhenHua
On 06/28/2013 10:22 PM, Alan Stern wrote: On Fri, 28 Jun 2013, Li, Zhen-Hua (USL-China) wrote: There was a problem, the warning "Controller not stopped yet". And your last patch for this problem does a wrong thing: It prevents all HP uhci devices from auto-stop, which make HP uhci devices waste

[PATCH 09/12] cdrom: Remove cdrom_get_next_writeable prototype

2013-06-30 Thread Joe Perches
Move the function to the right spot instead. Signed-off-by: Joe Perches --- drivers/cdrom/cdrom.c | 101 +- 1 file changed, 51 insertions(+), 50 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 4fb9ad5..8af1307 100644

[PATCH 02/12] cdrom: Remove unused CHECKAUDIO macro

2013-06-30 Thread Joe Perches
It's unused, make it disappear. Signed-off-by: Joe Perches --- drivers/cdrom/cdrom.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 4239a69..3aa51a7 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cdrom.c @@ -339,9 +339,6 @@ do {

[PATCH 00/12] cdrom: neatening

2013-06-30 Thread Joe Perches
Joe Perches (12): cdrom: convert cdinfo to cd_dbg cdrom: Remove unused CHECKAUDIO macro cdrom: Remove obfuscating IOCTL_IN and IOCTL_OUT macros cdrom: Remove prototype for open_for_data cdrom: Remove unnecessary check_for_audio_disc prototype cdrom: Remove unnecessary sanitize_format pr

[PATCH 03/12] cdrom: Remove obfuscating IOCTL_IN and IOCTL_OUT macros

2013-06-30 Thread Joe Perches
Macros with hidden control flow aren't nice. Just use copy_to/from_user directly instead. Signed-off-by: Joe Perches --- drivers/cdrom/cdrom.c | 48 +++- 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cd

[PATCH 01/12] cdrom: convert cdinfo to cd_dbg

2013-06-30 Thread Joe Perches
It's a debugging message, mark it so. Signed-off-by: Joe Perches --- drivers/cdrom/cdrom.c | 243 +- 1 file changed, 122 insertions(+), 121 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 8a3aff7..4239a69 100644 --- a

[GIT PULL] (xen) stable/for-linus-3.11-rc0-tag

2013-06-30 Thread Konrad Rzeszutek Wilk
Hey Linus, Since the merge window opened merely three hours ago and I am sure you are addictively refreshing your email for the next set of GIT PULLs and can't wait for them - I figured I would offer you a nice little evening GIT-PULL snack to sustain you until Monday GIT-PULL-email-avalanche :-)

Re: Linux 3.10

2013-06-30 Thread Stephen Rothwell
Hi all, On Sun, 30 Jun 2013 16:09:59 -0700 Linus Torvalds wrote: > > ... So, lets all take a deep breath, go test what's in linux-next, resist the urge to rebase/rewrite all those trees and then bury Linus under pull requests. -- Cheers, Stephen Rothwells...@canb.auug.org.

Re: [PATCH] regulator: max77693: Remove NULL test for rmatch[i].init_data

2013-06-30 Thread jonghwa3 . lee
On 2013년 06월 30일 01:33, Axel Lin wrote: > The implementation in of_regulator_match() already ensures match->init_data is > not NULL for all matched cases if the return value of of_regulator_match() > > 0. > > Thus remove NULL test for rmatch[i].init_data. > > This patch also fixes the condition

Re: [PATCH v8 9/9] vmcore: support mmap() on /proc/vmcore

2013-06-30 Thread HATAYAMA Daisuke
(2013/06/29 1:40), Maxim Uvarov wrote: Did test on 1TB machine. Total vmcore capture and save took 143 minutes while vmcore size increased from 9Gb to 59Gb. Will do some debug for that. Maxim. Please show me your kdump configuration file and tell me what you did in the test and how you conf

Re: [PATCH] regulator: max77693: Fix trivial typo

2013-06-30 Thread jonghwa3 . lee
On 2013년 06월 29일 12:37, Axel Lin wrote: > Fix trivial typo in the equation to check upper bound of current setting. > > Signed-off-by: Axel Lin > --- > drivers/regulator/max77693.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/regulator/max77693.c b/drivers/r

Linux 3.10

2013-06-30 Thread Linus Torvalds
So I delayed this by a day, considering whether to do another -rc, but decided that there wasn't enough upside. Sure, it hasn't been as quiet as I'd like, and we had this long discussion about an inode list locking scalability issue over the last week or two, but in the end that issue turned out to

Re: [PATCH] cpufreq: Fix cpufreq regression after suspend/resume

2013-06-30 Thread Rafael J. Wysocki
On Monday, July 01, 2013 12:22:47 AM Srivatsa S. Bhat wrote: > On 06/30/2013 10:35 PM, Toralf Förster wrote: > > On 06/30/2013 06:33 PM, Srivatsa S. Bhat wrote: > >> Toralf, can you please > >> try out the below patch and see if it improves anything? (Don't revert > >> anything, > >> just apply th

Re: [PATCH] m68k/setup: Use pr_*() instead of plain printk()

2013-06-30 Thread Joe Perches
On Sun, 2013-06-30 at 11:48 +0200, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven Hi Geert, just trivial comments... > diff --git a/arch/m68k/kernel/setup_mm.c b/arch/m68k/kernel/setup_mm.c > @@ -161,7 +161,7 @@ static void __init m68k_parse_bootinfo(const struct > bi_record *re

Re: [PATCH] x86: Use asm-goto to implement mutex fast path on x86-64

2013-06-30 Thread Borislav Petkov
On Sat, Jun 29, 2013 at 04:56:30PM -0700, Wedson Almeida Filho wrote: > On Fri, Jun 28, 2013 at 7:09 AM, Borislav Petkov wrote: > > > Btw, do we have any perf data showing any improvements from this patch? > > I wrote a simple test the measures the time it takes to acquire and > release an unco

Re: linux-next: Tree for Jun 28 [ BISECTED: rsyslog/imklog: High CPU usage ]

2013-06-30 Thread Sedat Dilek
On Sun, Jun 30, 2013 at 10:17 PM, wrote: > On Sun, 30 Jun 2013 20:19:45 +0200, Oleg Nesterov said: >> >> Not only "__wait_no_timeout(tout) ?:" was wrong, I didn't bother >> to recheck this logic even after I got the "warning: the omitted >> middle operand in ?:" reports. >> >> Sedat, thanks you v

Re: RFC: Kernel lock elision for TSX

2013-06-30 Thread max
On Saturday, March 23, 2013 6:11:52 PM UTC+1, Linus Torvalds wrote: > On Fri, Mar 22, 2013 at 6:24 PM, Andi Kleen wrote: > > > > > Some questions and answers: > > > > - How much does it improve performance? > > > I cannot share any performance numbers at this point unfortunately. > > Also please

Re: linux-next: Tree for Jun 28 [ BISECTED: rsyslog/imklog: High CPU usage ]

2013-06-30 Thread Sedat Dilek
On Sun, Jun 30, 2013 at 8:19 PM, Oleg Nesterov wrote: > Andrew, please drop these > > wait-introduce-wait_event_commonwq-condition-state-timeout.patch > wait-introduce-prepare_to_wait_event.patch > > patches again. I'll send v3 although it really looks like I should > never try to

Re: sched: context tracking demolishes pipe-test

2013-06-30 Thread Peter Zijlstra
On Sun, Jun 30, 2013 at 09:57:36AM +0200, Mike Galbraith wrote: > taskset -c 3 pipe-test 1 > > switch-rate > 3.10.0-master 426.4 KHz > 3.10.0-masterx591.8 Khz 1.387 (591=notgood, 426=omfg) > > 3.10.0-master3.10.0-masterx >

Re: trouble building 'perf' for 3.9.7

2013-06-30 Thread Anthony Foiani
Greetings -- I wrote: > Anyway, this worked fine for 2.6.late, as well as 3.0 stable and 3.4 > stable. However, I wanted the improvements to 'usbip', so I switched > to 3.9; currently I'm using 3.9.7. > > Using exactly the same scripts (see below), perf now fails to build: I have to eat some o

Re: [PATCH] usb: host: Faraday fotg210-hcd driver

2013-06-30 Thread Sarah Sharp
On Tue, Jun 18, 2013 at 10:43:56AM -0400, Alan Stern wrote: > On Tue, 18 Jun 2013, Yuan-Hsin Chen wrote: > > > > In that case, no, you should be figuring out how to refactor and reuse > > > the EHCI code instead of copying it straight into your driver. > > > > I was trying to use ehci-platform.c,

Re: [PATCH] xhci: Compute last_ctx from complete set of configured endpoints.

2013-06-30 Thread Sarah Sharp
On Mon, Jun 24, 2013 at 09:24:28AM -0700, Reilly Grant wrote: > On Mon, Jun 24, 2013 at 08:59AM -0700, Sarah Sharp wrote: > > On Tue, Jun 18, 2013 at 02:09:13PM -0700, Reilly Grant wrote: > > > > So, no, I can't accept this patch. If this fixes a real problem in > > some hardware, we'll add a qui

Re: [PATCH] usb: host: xhci-plat: Enable XHCI_SPURIOUS_SUCCESS quirk for xhci-plat

2013-06-30 Thread Sarah Sharp
On Wed, Jun 26, 2013 at 09:53:34AM -0700, Sarah Sharp wrote: > On Wed, Jun 26, 2013 at 02:28:57PM +0530, George Cherian wrote: > > Synopsis xhci controllers with hci_version > 0.96 gives spurious success > > events on short packet completion. During webcam capture the > > "ERROR Transfer event TRB

Re: linux-next: Tree for Jun 28 [ BISECTED: rsyslog/imklog: High CPU usage ]

2013-06-30 Thread Valdis . Kletnieks
On Sun, 30 Jun 2013 20:19:45 +0200, Oleg Nesterov said: > > Not only "__wait_no_timeout(tout) ?:" was wrong, I didn't bother > to recheck this logic even after I got the "warning: the omitted > middle operand in ?:" reports. > > Sedat, thanks you very much! Any chance you can try the patch below?

Re: cgroup: status-quo and userland efforts

2013-06-30 Thread Lennart Poettering
Heya, On 29.06.2013 05:05, Tim Hockin wrote: Come on, now, Lennart. You put a lot of words in my mouth. I for sure am not going to make the PID 1 a client of another daemon. That's just wrong. If you have a daemon that is both conceptually the manager of another service and the client of tha

[PATCH 0/2] Support for 2013 Macbook Air

2013-06-30 Thread rydberg
Hi Dmitry, Jiri, Please find enclosed two patches yielding support for the MacbookAir6,2. As usual, there is one HID and one Input patch. Given the closeness to the merge window, I suppose we could backport this to 3.10, unless Linus decides to wait another week. Backports should be fine back to v

[PATCH 1/2] HID: apple: Add support for the 2013 Macbook Air

2013-06-30 Thread rydberg
This patch adds keyboard support for MacbookAir6,2 as WELLSPRING8 (0x0291, 0x0292, 0x0293). The touchpad is handled in a separate bcm5974 patch, as usual. Cc: sta...@vger.kernel.org Reported-and-tested-by: Brad Ford Signed-off-by: Henrik Rydberg --- drivers/hid/hid-apple.c | 6 ++ drivers/h

[PATCH 2/2] Input: bcm5974 - Add support for the 2013 MacBook Air

2013-06-30 Thread rydberg
The June 2013 Macbook Air (13'') has a new trackpad protocol; four new values are inserted in the header, and the mode switch is no longer needed. This patch adds support for the new devices. Cc: sta...@vger.kernel.org Reported-and-tested-by: Brad Ford Signed-off-by: Henrik Rydberg --- drivers/

[PATCH] cpufreq: Fix cpufreq regression after suspend/resume

2013-06-30 Thread Srivatsa S. Bhat
On 06/30/2013 10:35 PM, Toralf Förster wrote: > On 06/30/2013 06:33 PM, Srivatsa S. Bhat wrote: >> Toralf, can you please >> try out the below patch and see if it improves anything? (Don't revert >> anything, >> just apply the below diff on a problematic kernel and see if it solves your >> issue).

Re: [Workman-devel] cgroup: status-quo and userland efforts

2013-06-30 Thread Michal Hocko
On Fri 28-06-13 14:01:55, Vivek Goyal wrote: > On Fri, Jun 28, 2013 at 05:05:13PM +0200, Michal Hocko wrote: [...] > > OK, so libcgroup's rules daemon will still work and place my tasks in > > appropriate cgroups? > > Do you use that daemon in practice? I am not but my users do. And that is why I

Re: mmotm 2013-06-27-16-36 uploaded (wait event common)

2013-06-30 Thread Oleg Nesterov
On 06/29, valdis.kletni...@vt.edu wrote: > > On Thu, 27 Jun 2013 22:30:41 -0700, Randy Dunlap said: > > > + __ret = __wait_no_timeout(tout) ?: (tout) ?: 1; > > Was this trying to do a wait_ho_timeout(!!tout) or something? No, __wait_no_timeout() means that tout == MAX_SCHEDULE_TIMEOUT.

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-30 Thread Michal Hocko
On Sat 29-06-13 12:55:09, Dave Chinner wrote: > On Thu, Jun 27, 2013 at 04:54:11PM +0200, Michal Hocko wrote: > > On Thu 27-06-13 09:24:26, Dave Chinner wrote: > > > On Wed, Jun 26, 2013 at 10:15:09AM +0200, Michal Hocko wrote: > > > > On Tue 25-06-13 12:27:54, Dave Chinner wrote: > > > > > On Tue,

Re: linux-next: Tree for Jun 28 [ BISECTED: rsyslog/imklog: High CPU usage ]

2013-06-30 Thread Oleg Nesterov
Andrew, please drop these wait-introduce-wait_event_commonwq-condition-state-timeout.patch wait-introduce-prepare_to_wait_event.patch patches again. I'll send v3 although it really looks like I should never try to touch wait.h. On 06/29, Sedat Dilek wrote: > > As this all did not

Re: [PATCH] proc: make high precision system boot time available

2013-06-30 Thread Sami Kerola
On 30 June 2013 16:10, Kay Sievers wrote: > On Sat, Jun 29, 2013 at 10:53 PM, Sami Kerola wrote: > >> BTW having a way to measure effect of suspend/resume could lead to a >> way to fix time time distortion. > >> Perhaps there is better alternative to fix user space programs. >> Unfortunately I do

Re: A Bug in 3.9.8

2013-06-30 Thread Richard Corbin
Many Thanks and my apologies. Richard Corbin 25532 Southwind Rd. Warrenton, MO 63383 racorbin2...@charter.net Original Message *Subject:* Re: A Bug in 3.9.8 *Date:* Sun 06/30/2013 at 11:11 AM *From:* Greg KH *To: * Richard Corbin *CC: * sta...@vger.k

  1   2   >