[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 +++

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

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

[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

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

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

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

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

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

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: > (&(_cdbs->work)->work) --> _cdbs->timer_mutex --> cpu_hotplug.lock > > [ 60.277864] Possible unsafe locking scenario: > > [ 60.277869]CPU0CPU1 > [

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

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

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

[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,

[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,

[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 ---

[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

[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

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

[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, _ID) This patch is a modified version of the patch

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’

[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

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

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

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

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

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 >

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

[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

[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 ---

[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

[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 ---

[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

[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 +++

[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

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

[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

[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

[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 ---

[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 Rothwell

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

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

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

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

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

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: [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

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

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

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

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

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

[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

[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 ++

[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 ---

[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 >>

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

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 ==

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

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

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

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: *

Re: SATA hdd refuses to reallocate a sector?

2013-06-30 Thread Pavel Machek
Hi! > > > You know, either the "long" or the "offline" SMART test routines do > > > exactly > > > that on any spinning rust device with a firmware that is not utterly > > > broken. > > > > > > The HDD's firmware will rewrite, and even reallocate any "weak" sectors > > > found by the surface

Re: [PATCH] palmas: Simplify regulator_desc setting for SMPS10_[OUT1|OUT2]

2013-06-30 Thread Laxman Dewangan
On Saturday 29 June 2013 08:57 AM, Axel Lin wrote: The regulator_desc setting for SMPS10-OUT1 and SMPS10-OUT2 are very similar, only enable_mask is different. Make the switch case fall through to simplify the code. Signed-off-by: Axel Lin The change looks good, Acked-by: Laxman Dewangan --

Re: [PATCH 8/8] spi: spi-ep93xx: convert to the queued driver infrastructure

2013-06-30 Thread Mika Westerberg
On Fri, Jun 28, 2013 at 11:45:56AM -0700, H Hartley Sweeten wrote: > The SPI core provides infrastructure for standard message queueing. Use > that instead of handling it in the driver. > > Signed-off-by: H Hartley Sweeten > Cc: Ryan Mallon > Cc: Mika Westerberg > Cc: Mark Brown > Cc: Grant

Re: [PATCH 7/8] spi: spi-ep93xx: move the clock divider calcs into ep93xx_spi_chip_setup()

2013-06-30 Thread Mika Westerberg
On Fri, Jun 28, 2013 at 11:45:28AM -0700, H Hartley Sweeten wrote: > The divider values stored in the per chip data are only used to set the > registers in the hardware to generate the desired SPI clock. Since these > are calculated per transfer based on the t->speed_hz there is no reason > keep

Re: [PATCH 6/8] spi: spi-ep93xx: don't bother calculating the divisors in ep93xx_spi_setup()

2013-06-30 Thread Mika Westerberg
On Fri, Jun 28, 2013 at 11:45:02AM -0700, H Hartley Sweeten wrote: > The divisors needed to generate the SPI clock are calculated per > transfer based on the t->speed_hz. There is no reason to calculate > them in ep93xx_spi_setup(). > > Signed-off-by: H Hartley Sweeten > Cc: Ryan Mallon > Cc:

Re: [PATCH 3/8] spi: spi-ep93xx: always handle transfer specific settings

2013-06-30 Thread Mika Westerberg
On Fri, Jun 28, 2013 at 11:43:34AM -0700, H Hartley Sweeten wrote: > __spi_async(), which starts every SPI message transfer, initializes > the bits_per_word and max speed for every transfer in the message. > Since the conditional test in ep93xx_spi_process_transfer() will > always succeed just

Re: [PATCH 5/8] spi: spi-ep93xx: remove 'dss' from per chip private data

2013-06-30 Thread Mika Westerberg
On Fri, Jun 28, 2013 at 11:44:33AM -0700, H Hartley Sweeten wrote: > This value is only needed to set the bits per word for each transfer > of a message. There is no reason to set the value in ep93xx_spi_enable() > because ep93xx_spi_process_transfer() sets it again for each transfer. > > Just

Re: [PATCH 4/8] spi: spi-ep93xx: remove bits_per_word() helper

2013-06-30 Thread Mika Westerberg
On Sat, Jun 29, 2013 at 09:21:48AM +1000, Ryan Mallon wrote: > On 29/06/13 04:44, H Hartley Sweeten wrote: > > > This inline helper function is only used to determine the bus width > > of the current transfer (8 or 16 bit). Add a bool flag to the private > > structure and set it appropriately for

Re: [PATCH 2/8] spi: spi-ep93xx: use bits_per_word_mask

2013-06-30 Thread Mika Westerberg
On Fri, Jun 28, 2013 at 11:43:07AM -0700, H Hartley Sweeten wrote: > This driver supports 16 to 4 bits per work. Set the bits_per_word_mask > to allows the spi core to handle validation. > > Signed-off-by: H Hartley Sweeten > Cc: Ryan Mallon > Cc: Mika Westerberg > Cc: Mark Brown > Cc: Grant

Re: [PATCHv3 5/8] ARM: mxs: dt: cfa10037: make hogpins grabbed by respective drivers

2013-06-30 Thread Alexandre Belloni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Shawn, On 29/06/2013 09:05, Maxime Ripard wrote: >> --- >> arch/arm/boot/dts/imx28-cfa10037.dts | 19 ++- >> 1 file changed, 14 insertions(+), 5 deletions(-) >> >> diff --git a/arch/arm/boot/dts/imx28-cfa10037.dts

Re: A Bug in 3.9.8

2013-06-30 Thread Greg KH
On Sat, Jun 29, 2013 at 04:52:47PM -0500, Richard Corbin wrote: > Folks: > > I sent the indented text to gre...@linuxfoundation.org, > inappropriately as I suspected. I got a polite automated response > suggesting alternate destinations for my email. To my non-technical > eyes, your addresses

  1   2   3   >