Re: [PATCH v5 5/8] v4l2: Add standard controls for FM receivers

2013-02-26 Thread Hans Verkuil
On Tue February 26 2013 07:38:51 Andrey Smirnov wrote: This commit introduces new class of standard controls V4L2_CTRL_CLASS_FM_RX. This class is intended to all controls pertaining to FM receiver chips. Also, two controls belonging to said class are added as a part of this commit:

[Question]CLOCK_EVT_NOTIFY_BROADCAST_EXIT must be called with interrupts disabled?

2013-02-26 Thread Liu, Chuansheng
Hi, Just found some comments as below: In commit 0beefa208bb3a9e581a60125703 + /* +* The switch back from broadcast mode needs to be +* called with interrupts disabled. +*/ +local_irq_disable(); +

Re: [PATCH v5 6/8] v4l2: Add documentation for the FM RX controls

2013-02-26 Thread Hans Verkuil
On Tue February 26 2013 07:38:52 Andrey Smirnov wrote: Add appropriate documentation for all the newly added standard controls. Give credit to Manjunatha Halli. Signed-off-by: Andrey Smirnov andrew.smir...@gmail.com --- Documentation/DocBook/media/v4l/compat.xml |3 +

Re: [PATCH v5 7/8] v4l2: Add private controls base for SI476X

2013-02-26 Thread Hans Verkuil
On Tue February 26 2013 07:38:53 Andrey Smirnov wrote: Add a base to be used for allocation of all the SI476X specific controls in the corresponding driver. Signed-off-by: Andrey Smirnov andrew.smir...@gmail.com --- include/uapi/linux/v4l2-controls.h |4 1 file changed, 4

[stable 3.0] x86/apic: Work around boot failure on HP ProLiant DL980 G7 Server systems

2013-02-26 Thread Zhang, Lin-Bao (Linux Kernel RD)
Hi Greg, This patch is specially for 3.0 by integrating upstream commit cb214ede7657db458fd0b2a25ea0b28dbf900ebc and ea0dcf903e7d76aa5d483d876215fedcfdfe140f I tested it in v3.0.66. any questions, let me know. Thanks. -- From: Zhang Lin-Bao linbao.zh...@hp.com x86/apic:

Re: [PATCH v2] Media: remove incorrect __init/__exit markups

2013-02-26 Thread Sakari Ailus
Hi Dmitry, On Mon, Feb 25, 2013 at 11:17:27PM -0800, Dmitry Torokhov wrote: Even if bus is not hot-pluggable, the devices can be unbound from the driver via sysfs, so we should not be using __exit annotations on remove() methods. The only exception is drivers registered with

Re: [PATCH v5 8/8] v4l2: Add a V4L2 driver for SI476X MFD

2013-02-26 Thread Hans Verkuil
On Tue February 26 2013 07:38:54 Andrey Smirnov wrote: From: Andrey Smirnov andreysm@charmander.(none) This commit adds a driver that exposes all the radio related functionality of the Si476x series of chips via the V4L2 subsystem. Signed-off-by: Andrey Smirnov andrew.smir...@gmail.com

Re: [PATCH v5 0/8] Driver for Si476x series of chips

2013-02-26 Thread Hans Verkuil
On Tue February 26 2013 07:38:46 Andrey Smirnov wrote: This is a fourth version of the patchset originaly posted here: https://lkml.org/lkml/2012/9/13/590 Second version of the patch was posted here: https://lkml.org/lkml/2012/10/5/598 Third version of the patch was posted here:

Re: [PATCH v3 2/2] kexec: Use min_t to simplify logic

2013-02-26 Thread Joe Perches
On Tue, 2013-02-26 at 13:30 +0800, Zhang Yanfei wrote: This is just a tweak: using min_t to simplify logic of variable assignments. v3: - cast type of (PAGE_SIZE - (maddr ~PAGE_MASK)) into size_t. Why? Isn't this just a redundant cast? diff --git a/kernel/kexec.c b/kernel/kexec.c [] @@

Re: [PATCH 1/2] time : pass broadcast device parameter

2013-02-26 Thread Viresh Kumar
On 22 February 2013 03:31, Daniel Lezcano daniel.lezc...@linaro.org wrote: The broadcast timer could be passed as parameter to the function instead of using again tick_broadcast_device.evtdev which was previously used in the caller function. Signed-off-by: Daniel Lezcano

Re: [PATCH] proc connector: reject unprivileged listener bumps

2013-02-26 Thread Evgeniy Polyakov
Hi On Mon, Feb 25, 2013 at 11:32:25PM -0800, Kees Cook (keesc...@chromium.org) wrote: While PROC_CN_MCAST_LISTEN/IGNORE is entirely advisory, it was possible for an unprivileged user to turn off notifications for all listeners by sending PROC_CN_MCAST_IGNORE. Instead, require the same

Re: [PATCH 2/2] perf report: Fix build with NO_NEWT=1

2013-02-26 Thread Feng Tang
On Tue, Feb 26, 2013 at 04:02:03PM +1100, Michael Ellerman wrote: Commit ad0de09 Enable the runtime switching of perf data file broke the build with NO_NEWT=1: CC builtin-report.o builtin-report.c: In function '__cmd_report': builtin-report.c:479:15: error: 'K_SWITCH_INPUT_DATA'

Re: [PATCH v3 2/2] kexec: Use min_t to simplify logic

2013-02-26 Thread Zhang Yanfei
于 2013年02月26日 16:38, Joe Perches 写道: On Tue, 2013-02-26 at 13:30 +0800, Zhang Yanfei wrote: This is just a tweak: using min_t to simplify logic of variable assignments. v3: - cast type of (PAGE_SIZE - (maddr ~PAGE_MASK)) into size_t. Why? Isn't this just a redundant cast? diff --git

Re: [PATCH v3 2/2] kexec: Use min_t to simplify logic

2013-02-26 Thread Andrew Morton
On Tue, 26 Feb 2013 16:49:02 +0800 Zhang Yanfei zhangyan...@cn.fujitsu.com wrote: diff --git a/kernel/kexec.c b/kernel/kexec.c [] @@ -822,13 +822,9 @@ static int kimage_load_normal_segment(struct kimage *image, [] + mchunk = min_t(size_t, mbytes, +

Re: [PATCH 2/2] pwm_backlight: remove unnecessary ifdefs

2013-02-26 Thread Thierry Reding
On Mon, Feb 25, 2013 at 05:15:47PM +0900, Jingoo Han wrote: When the macro such as SIMPLE_DEV_PM_OPS is used, there is no need to use '#ifdef CONFIG_PM' to prevent build error. Thus, this patch removes unnecessary ifdefs. Signed-off-by: Jingoo Han jg1@samsung.com Cc: Thierry Reding

Re: [PATCH v3 2/2] kexec: Use min_t to simplify logic

2013-02-26 Thread Zhang Yanfei
于 2013年02月26日 16:53, Andrew Morton 写道: On Tue, 26 Feb 2013 16:49:02 +0800 Zhang Yanfei zhangyan...@cn.fujitsu.com wrote: diff --git a/kernel/kexec.c b/kernel/kexec.c [] @@ -822,13 +822,9 @@ static int kimage_load_normal_segment(struct kimage *image, [] + mchunk = min_t(size_t,

Re: [PATCH 1/2] perf annotate: Fix build with NO_NEWT=1

2013-02-26 Thread Namhyung Kim
Hi Michael, On Tue, 26 Feb 2013 16:02:02 +1100, Michael Ellerman wrote: Commit 18c9e5c Make it to be able to skip unannotatable symbols broke the build with NO_NEWT=1: CC builtin-annotate.o builtin-annotate.c: In function 'hists__find_annotations': builtin-annotate.c:161:4: error:

3.8.0-08664-gc41b381: Very jerky mouse pointer

2013-02-26 Thread Harald Arnesen
Today's git kernel has, for me, sort of solved the usb problems that recently was reported. Not completely, though. My Logitech wireless usb mouse is about useless - the pointer lags badly when I move the mouse. This is a Lenovo Thinkpad T500. -- Hilsen Harald -- To unsubscribe from this list:

Re: [PATCH 1/1] scripts/package/builddeb: build perftools package.

2013-02-26 Thread Michal Marek
Added Maximilian to CC. Michal On 26.2.2013 02:30, Gary Lowell wrote: This will build a linux-tools-$version package for each build that includes perf. We've been using this for internal builds and other folks might find it helpful. Signed-off-by: Gary Lowell gary.low...@inktank.com ---

Re: [PATCH v6 04/46] percpu_rwlock: Implement the core design of Per-CPU Reader-Writer Locks

2013-02-26 Thread Srivatsa S. Bhat
On 02/26/2013 05:47 AM, Lai Jiangshan wrote: On Tue, Feb 26, 2013 at 3:26 AM, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: Hi Lai, On 02/25/2013 09:23 PM, Lai Jiangshan wrote: Hi, Srivatsa, The target of the whole patchset is nice for me. Cool! Thanks :-) [...] I wrote an

Re: [PATCH 2/3] perf: correct a build error

2013-02-26 Thread Namhyung Kim
Hi liguang, On Tue, 26 Feb 2013 12:12:53 +0800, liguang wrote: builtin-annotate.c: In function 'hists__find_annotations': builtin-annotate.c:161:4: error: duplicate case value builtin-annotate.c:154:4: error: previously used here it happened when no newt installed Thanks for fixing this.

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

2013-02-26 Thread Lin Feng
Hi Andrew, Mel and other guys, How about this V3 patch, any comments? thanks, linfeng On 02/21/2013 07:01 PM, Lin Feng wrote: get_user_pages() always tries to allocate pages from movable zone, which is not reliable to memory hotremove framework in some case. This patch introduces a new

[PATCH] ipack: add missing put_device() after device_register() failed

2013-02-26 Thread Samuel Iglesias Gonsalvez
put_device() must be called after device_register() fails, since device_register() always initializes the refcount on the device structure to one. dev-id is free'd inside of ipack_device_release function. So, it's not needed to do it here. Signed-off-by: Samuel Iglesias Gonsalvez

[v1][PATCH 0/7] powerpc/book3e: support kexec and kdump

2013-02-26 Thread Tiejun Chen
This patchset is used to support kexec and kdump on book3e. Tested on fsl-p5040 DS. v1: -- * improve some patch head * rebase on next branch with patch 7 Tiejun Chen (7): powerpc/book3e: support CONFIG_RELOCATABLE book3e/kexec/kdump: enable kexec for kernel

[v1][PATCH 6/7] book3e/kexec/kdump: redefine VIRT_PHYS_OFFSET

2013-02-26 Thread Tiejun Chen
Book3e is always aligned 1GB to create TLB so we should use (KERNELBASE - MEMORY_START) as VIRT_PHYS_OFFSET to get __pa/__va properly while boot kdump. Signed-off-by: Tiejun Chen tiejun.c...@windriver.com --- arch/powerpc/include/asm/page.h |2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH v2] Media: remove incorrect __init/__exit markups

2013-02-26 Thread Timo Kokkonen
On 02.25 2013 23:17:27, Dmitry Torokhov wrote: Even if bus is not hot-pluggable, the devices can be unbound from the driver via sysfs, so we should not be using __exit annotations on remove() methods. The only exception is drivers registered with platform_driver_probe() which specifically

[v1][PATCH 5/7] book3e/kexec/kdump: implement ppc64 kexec specfic

2013-02-26 Thread Tiejun Chen
ppc64 kexec mechanism has a different implementation with ppc32. Signed-off-by: Tiejun Chen tiejun.c...@windriver.com --- arch/powerpc/platforms/85xx/smp.c | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/powerpc/platforms/85xx/smp.c b/arch/powerpc/platforms/85xx/smp.c

[PATCH v2 0/4] perf: Make the 'perf top -p $pid' can perceive the new forked threads.

2013-02-26 Thread chenggang
From: chenggang@taobao.com This patch set add a function that make the 'perf top -p $pid' is able to perceive the new threads that is forked by target processes. 'perf top{record} -p $pid' can perceive the threads are forked before we execute perf, but it cannot perceive the new threads

[PATCH v2 1/4] Transform xyarray to linked list

2013-02-26 Thread chenggang
From: chenggang chenggang@taobao.com The 2-dimensional array cannot expand and shrink easily while we want to response the thread's fork and exit events on-the-fly. We transform xyarray to a 2-demesional linked list. The row is still a array, but column is implemented as a list. The number of

[PATCH v2 2/4] Transform thread_map to linked list

2013-02-26 Thread chenggang
From: chenggang chenggang@taobao.com The size of thread_map is fixed at initialized phase according to the files in /proc/{$pid}. It cannot be expanded and shrinked easily while we want to response the thread fork and exit events. We transform the thread_map structure to a linked list, and

[PATCH v2 3/4] Transform mmap and other related structures to list with new xyarray

2013-02-26 Thread chenggang
From: chenggang chenggang@taobao.com evlist-mmap, evsel-id, evsel-sample_id are arrays. They cannot be expended or shrinked easily for the forked and exited threads while we get the fork and exit events. We transfromed them to linked list with the new xyarray. xyarray is a 2-dimensional

[PATCH v2 4/4] Add fork and exit callback functions into top-perf_tool

2013-02-26 Thread chenggang
From: chenggang chenggang@taobao.com Many applications will fork threads on-the-fly, these threads could exit before the main thread exit. The perf top tool should perceive the new forked threads while we profile a special application. If the target process fork a thread or a thread exit, we

[v1][PATCH 4/7] book3e/kexec/kdump: introduce a kexec kernel flag

2013-02-26 Thread Tiejun Chen
We need to introduce a flag to indicate we're already running a kexec kernel then we can go proper path. For example, We shouldn't access spin_table from the bootloader to up any secondary cpu for kexec kernel, and kexec kernel already know how to jump to generic_secondary_smp_init.

[v1][PATCH 3/7] book3e/kexec/kdump: create a 1:1 TLB mapping

2013-02-26 Thread Tiejun Chen
book3e have no real MMU mode so we have to create a 1:1 TLB mapping to make sure we can access the real physical address. And correct something to support this pseudo real mode on book3e. Signed-off-by: Tiejun Chen tiejun.c...@windriver.com --- arch/powerpc/kernel/head_64.S |9 ---

[v1][PATCH 7/7] book3e/kexec/kdump: recover r4 = 0 to create the initial TLB

2013-02-26 Thread Tiejun Chen
In commit 96f013f, powerpc/kexec: Add kexec hold support for Book3e processors, requires that GPR4 survive the hold process, for IBM Blue Gene/Q with with some very strange firmware. But for FSL Book3E, r4 = 1 to indicate that the initial TLB entry for this core already exists so we still should

Re: linux-next: Tree for Feb 26 [ vfs | mm/shmem ]

2013-02-26 Thread Sedat Dilek
On Tue, Feb 26, 2013 at 4:16 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, Please do not add any work destined for v3.10 to your -next included branches until after Linus has release v3.9-rc1. Changes since 20130223: The kbuild tree lost its build failure. The infiniband tree

[v1][PATCH 2/7] book3e/kexec/kdump: enable kexec for kernel

2013-02-26 Thread Tiejun Chen
We need to active KEXEC for book3e and bypass or convert non-book3e stuff in kexec coverage. Signed-off-by: Tiejun Chen tiejun.c...@windriver.com --- arch/powerpc/Kconfig |2 +- arch/powerpc/kernel/machine_kexec_64.c |6 ++ arch/powerpc/kernel/misc_64.S |

[v1][PATCH 1/7] powerpc/book3e: support CONFIG_RELOCATABLE

2013-02-26 Thread Tiejun Chen
book3e is different with book3s since 3s includes the exception vectors code in head_64.S as it relies on absolute addressing which is only possible within this compilation unit. So we have to get that label address with got. And when boot a relocated kernel, we should reset ipvr properly again

Re: [PATCH 02/16] virtio_ring: virtqueue_add_sgs, to add multiple sgs.

2013-02-26 Thread Michael S. Tsirkin
On Tue, Feb 26, 2013 at 03:44:26PM +1030, Rusty Russell wrote: Michael S. Tsirkin m...@redhat.com writes: On Tue, Feb 19, 2013 at 06:26:20PM +1030, Rusty Russell wrote: virtio_scsi can really use this, to avoid the current hack of copying the whole sg array. Some other things get slightly

Re: [PATCH 1/2] f2fs: read with READ_SYNC when getting dnode page

2013-02-26 Thread Namjae Jeon
2013/2/26, Jaegeuk Kim jaegeuk@samsung.com: It must be set READ_SYNC not READA. Hi Jaegeuk. Could you please elaborate more? Why we need to change READA to READ_SYNC over here, when the purpose was to read the node page in READ ahead mode. Thanks. Signed-off-by: Jaegeuk Kim

[PATCH v2 4/4] Add fork and exit callback functions into top-perf_tool

2013-02-26 Thread chenggang
From: chenggang chenggang@taobao.com Many applications will fork threads on-the-fly, these threads could exit before the main thread exit. The perf top tool should perceive the new forked threads while we profile a special application. If the target process fork a thread or a thread exit, we

[PATCH v2 3/4] Transform mmap and other related structures to list with new xyarray

2013-02-26 Thread chenggang
From: chenggang chenggang@taobao.com evlist-mmap, evsel-id, evsel-sample_id are arrays. They cannot be expended or shrinked easily for the forked and exited threads while we get the fork and exit events. We transfromed them to linked list with the new xyarray. xyarray is a 2-dimensional

[PATCH v2 2/4] Transform thread_map to linked list

2013-02-26 Thread chenggang
From: chenggang chenggang@taobao.com The size of thread_map is fixed at initialized phase according to the files in /proc/{$pid}. It cannot be expanded and shrinked easily while we want to response the thread fork and exit events. We transform the thread_map structure to a linked list, and

[PATCH v2 1/4] Transform xyarray to linked list

2013-02-26 Thread chenggang
From: chenggang chenggang@taobao.com The 2-dimensional array cannot expand and shrink easily while we want to response the thread's fork and exit events on-the-fly. We transform xyarray to a 2-demesional linked list. The row is still a array, but column is implemented as a list. The number of

[PATCH v2 0/4] perf: Make the 'perf top -p $pid' can perceive the new forked threads.

2013-02-26 Thread chenggang
From: chenggang@taobao.com This patch set add a function that make the 'perf top -p $pid' is able to perceive the new threads that is forked by target processes. 'perf top{record} -p $pid' can perceive the threads are forked before we execute perf, but it cannot perceive the new threads

[RFC] cpufreq: governor: Set MIN_LATENCY_MULTIPLIER to 20

2013-02-26 Thread Viresh Kumar
Currently MIN_LATENCY_MULTIPLIER is set defined as 100 and so on a system with transition latency of 1 ms, the minimum sampling time comes to be around 100 ms. That is quite big if you want to get better performance for your system. Redefine MIN_LATENCY_MULTIPLIER to 20 so that we can support

Re: [PATCH 05/73] ARM: ux500: Vsmps3 controlled by SysClkReq1

2013-02-26 Thread Lee Jones
On Tue, 05 Feb 2013, Mark Brown wrote: On Mon, Feb 04, 2013 at 10:21:36PM +0100, Linus Walleij wrote: What is needed is some way to model that electronic relationship into both the regulator and clock subsystems (Ulf Hansson is working on the ABx500 clocks as we speak.) Maybe the

Re: [PATCH 2/3 v2] Optimize CRC32C calculation with PCLMULQDQ instruction

2013-02-26 Thread Herbert Xu
On Thu, Sep 27, 2012 at 03:44:22PM -0700, Tim Chen wrote: This patch adds the crc_pcl function that calculates CRC32C checksum using the PCLMULQDQ instruction on processors that support this feature. This will provide speedup over using CRC32 instruction only. The usage of PCLMULQDQ

Re: I2C: Fix i2c fail problem when a process is terminated by a signal on octeon in 3.8

2013-02-26 Thread Jiri Kosina
On Fri, 22 Feb 2013, 송은봉 wrote:   I've been debugging the abnormal operation of i2c on octeon. If a process is terminated by signal in the middle of i2c operation, next i2c read operation which is done by another process was failed. So i changed to ignore signal in the middle of i2c

Re: [E1000-devel] [PATCH RESEND 3/3] e1000e: fix accessing to suspended device

2013-02-26 Thread Konstantin Khlebnikov
Waskiewicz Jr, Peter P wrote: On 2/24/2013 9:19 PM, Konstantin Khlebnikov wrote: This patch fixes some annoying messages like 'Error reading PHY register' and 'Hardware Erorr' and saves several seconds on reboot. Any networking-related patches should also include net...@vger.kernel.org.

Re: [PATCH 05/73] ARM: ux500: Vsmps3 controlled by SysClkReq1

2013-02-26 Thread Bengt Jönsson
On 02/26/2013 10:44 AM, Lee Jones wrote: On Tue, 05 Feb 2013, Mark Brown wrote: On Mon, Feb 04, 2013 at 10:21:36PM +0100, Linus Walleij wrote: What is needed is some way to model that electronic relationship into both the regulator and clock subsystems (Ulf Hansson is working on the ABx500

Re: [GIT PULL] Load keys from signed PE binaries

2013-02-26 Thread Matthew Garrett
On Tue, Feb 26, 2013 at 02:07:22AM -0800, Raymond Jennings wrote: Just curious here, but is this as much of an issue if a user is somehow able to take ownership of his own machine? No, if you're doing your own key management then it's no problem at all. I'm assuming this is related to TPM

Re: [PATCH 2/3] cgroup: add cgroup_name() API

2013-02-26 Thread Li Zefan
On 2013/2/26 10:27, Tejun Heo wrote: On Mon, Feb 25, 2013 at 02:17:49PM +0800, Li Zefan wrote: cgroup_name() returns the name of a cgroup and it must be called with rcu_read_lock() held. This will be used by cpuset. Signed-off-by: Li Zefan lize...@huawei.com ... /** + * cgroup_name -

Re: [PATCH 3/3] ARM: ux500: Add Snowball pin configuration for user LED

2013-02-26 Thread Lee Jones
On Wed, 23 Jan 2013, Linus Walleij wrote: On Wed, Jan 9, 2013 at 11:06 AM, Lee Jones lee.jo...@linaro.org wrote: Here we setup the GPIO pin responsible for illuminating the user LED on the Snowball low-cost development board. Signed-off-by: Lee Jones lee.jo...@linaro.org Patch

Re: [RFC] cpufreq: governor: Set MIN_LATENCY_MULTIPLIER to 20

2013-02-26 Thread Thomas Renninger
On Tuesday, February 26, 2013 03:13:32 PM Viresh Kumar wrote: Currently MIN_LATENCY_MULTIPLIER is set defined as 100 and so on a system with transition latency of 1 ms, the minimum sampling time comes to be around 100 ms. That is quite big if you want to get better performance for your system.

Re: [PATCH 1/2] gpio: gpio-generic: Fix bug in big endian bit conversion

2013-02-26 Thread Andreas Larsson
On 2013-02-26 08:52, Grant Likely wrote: On Sat, 09 Feb 2013 14:58:55 +, Grant Likely grant.lik...@secretlab.ca wrote: On Tue, 5 Feb 2013 11:33:02 +0100, Andreas Larsson andr...@gaisler.com wrote: The swap to convert LE to BE in bgpio_pin2mask_be should be on byte level, not on bit

Re: [PATCH] add extra free kbytes tunable

2013-02-26 Thread Mel Gorman
On Fri, Feb 22, 2013 at 12:56:34PM -0500, Johannes Weiner wrote: SNIP : We have a server workload wherein machines with 100G+ of free memory : (used by page cache), scattered but frequent random io reads from 12+ : SSD's, and 5gbps+ of internet traffic, will frequently hit direct

Re: [RFC] cpufreq: governor: Set MIN_LATENCY_MULTIPLIER to 20

2013-02-26 Thread Viresh Kumar
On 26 February 2013 16:14, Thomas Renninger tr...@suse.de wrote: Redefining MIN_LATENCY_MULTIPLIER shouldn't hurt that much, but this looks like a workaround. It only modifies the minimal sampling rate that userspace can set. Yes. You would still need to set something from userspace to get

[PATCH 4/5] metag: remove CONFIG_EXPERIMENTAL from defconfigs

2013-02-26 Thread James Hogan
Since upstream commit make CONFIG_EXPERIMENTAL invisible and default CONFIG_EXPERIMENTAL is invisible and defaults to y pending it's removal. Therefore remove the explicit selection from the metag defconfig files. Signed-off-by: James Hogan james.ho...@imgtec.com ---

[PATCH 5/5] metag: remove unused ARCH_NO_VIRT_TO_BUS

2013-02-26 Thread James Hogan
Since the patch arch Kconfig: centralise CONFIG_ARCH_NO_VIRT_TO_BUS, ARCH_NO_VIRT_TO_BUS has been removed in favour of architectures selecting HAVE_VIRT_TO_BUS if they do provide the virt_to_bus/bus_to_virt interfaces. Therefore remove the now superfluous definition of ARCH_NO_VIRT_TO_BUS in

[PATCH 0/5] metag: minor fixes after stuff in -next

2013-02-26 Thread James Hogan
Here are a few trivial fixes to arch/metag/. All except the first patch depend on stuff in -next. Except arch/metag, only the last patch depends on something not yet in mainline. James Hogan (5): metag: Provide dma_get_sgtable() metag: remove GENERIC_SIGALTSTACK metag: remove select

[PATCH 1/5] metag: Provide dma_get_sgtable()

2013-02-26 Thread James Hogan
metag/allmodconfig: drivers/media/v4l2-core/videobuf2-dma-contig.c: In function 'vb2_dc_get_base_sgt': drivers/media/v4l2-core/videobuf2-dma-contig.c:387: error: implicit declaration of function 'dma_get_sgtable' For architectures using dma_map_ops, dma_get_sgtable() is provided in

[PATCH 3/5] metag: remove select CONFIG_HAVE_IRQ_WORK

2013-02-26 Thread James Hogan
Since commit irq_work: Remove CONFIG_HAVE_IRQ_WORK the Kconfig symbol HAVE_IRQ_WORK has gone. Remove the select from METAG too. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Steven Rostedt rost...@goodmis.org --- arch/metag/Kconfig | 1 - 1 file

[PATCH 2/5] metag: remove GENERIC_SIGALTSTACK

2013-02-26 Thread James Hogan
The commit burying unused conditionals removed among other things the CONFIG_GENERIC_SIGALTSTACK Kconfig symbol as it's selected by every architecture. Therefore remove the select from CONFIG_METAG too. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Al Viro v...@zeniv.linux.org.uk ---

Re: I2C: Fix i2c fail problem when a process is terminated by a signal on octeon in 3.8

2013-02-26 Thread Wolfram Sang
On Tue, Feb 26, 2013 at 11:02:17AM +0100, Jiri Kosina wrote: On Fri, 22 Feb 2013, 송은봉 wrote:   I've been debugging the abnormal operation of i2c on octeon. If a process is terminated by signal in the middle of i2c operation, next i2c read operation which is done by another process

Re: [PATCH] ath5k: cleanup channel to eprom_mode function

2013-02-26 Thread Nick Kossifidis
On Mon Feb 25 16:36:48 2013, Jiri Slaby wrote: Stop returning negative values from ath5k_eeprom_mode_from_channel. Yell loudly about that case in that function instead and return the default/zero/mode A. This cleans up the callers, but needs to pass ah down to ath5k_eeprom_mode_from_channel

Re: [PATCH 1/2] time : pass broadcast device parameter

2013-02-26 Thread Daniel Lezcano
On 02/26/2013 09:45 AM, Viresh Kumar wrote: On 22 February 2013 03:31, Daniel Lezcano daniel.lezc...@linaro.org wrote: The broadcast timer could be passed as parameter to the function instead of using again tick_broadcast_device.evtdev which was previously used in the caller function.

Re: [PATCH 1/2] time : pass broadcast device parameter

2013-02-26 Thread Daniel Lezcano
On 02/26/2013 09:45 AM, Viresh Kumar wrote: On 22 February 2013 03:31, Daniel Lezcano daniel.lezc...@linaro.org wrote: The broadcast timer could be passed as parameter to the function instead of using again tick_broadcast_device.evtdev which was previously used in the caller function.

[GIT PULL] timer fixes

2013-02-26 Thread Ingo Molnar
Linus, Please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus HEAD: 00f4e13c4634b10f6a16b26a980b22a53dfa6bb5 clocksource : Nomadik-mtu : fix missing irq initialization Thanks, Ingo

Re: [PATCH 1/1] i2c: iSMT SMBus patch for Intel Avoton DeviceIDs

2013-02-26 Thread Neil Horman
On Tue, Feb 26, 2013 at 02:08:35AM +, Heasley, Seth wrote: The difference here is that the S1200 name is already publicly released, whereas the naming for Avoton hasn't been announced. Do you know when the announcement will be? Is it sufficiently soon that we can just wait for it? I

Re: mm: BUG in mempolicy's sp_insert

2013-02-26 Thread Hillf Danton
On Tue, Feb 26, 2013 at 9:54 AM, Sasha Levin sasha.le...@oracle.com wrote: On 02/25/2013 08:52 PM, KOSAKI Motohiro wrote: On Mon, Feb 25, 2013 at 8:30 AM, Sasha Levin sasha.le...@oracle.com wrote: Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel, I've

Re: [PATCH 2/2] perf report: Fix build with NO_NEWT=1

2013-02-26 Thread Michael Ellerman
On Tue, Feb 26, 2013 at 04:48:50PM +0800, Feng Tang wrote: On Tue, Feb 26, 2013 at 04:02:03PM +1100, Michael Ellerman wrote: Commit ad0de09 Enable the runtime switching of perf data file broke the build with NO_NEWT=1: CC builtin-report.o builtin-report.c: In function

Re: [PATCH 2/2] f2fs: introduce readahead mode of node pages

2013-02-26 Thread Namjae Jeon
@@ -434,7 +434,7 @@ int get_dnode_of_data(struct dnode_of_data *dn, pgoff_t index, int ro) alloc_nid_done(sbi, nids[i]); mutex_unlock_op(sbi, NODE_NEW); done = true; - } else if (ro i == level level 1) { +

[PATCH 00/05] irqchip: Renesas INTC External IRQ pin v2 update

2013-02-26 Thread Magnus Damm
irqchip: Renesas INTC External IRQ pin v2 update [PATCH 01/05] irqchip: intc-irqpin: Whitespace fixes [PATCH 02/05] irqchip: intc-irqpin: Cache mapped IRQ [PATCH 03/05] irqchip: intc-irqpin: Add force comments [PATCH 04/05] irqchip: intc-irqpin: Make use of devm functions [PATCH 05/05] irqchip:

[PATCH 01/05] irqchip: intc-irqpin: Whitespace fixes

2013-02-26 Thread Magnus Damm
From: Magnus Damm d...@opensource.se Remove whitespace damage and add newline between variables and code. Signed-off-by: Magnus Damm d...@opensource.se --- Thanks to Simon Horman and Thomas Gleixner for feedback. drivers/irqchip/irq-renesas-intc-irqpin.c |8 +--- 1 file changed, 5

[PATCH 02/05] irqchip: intc-irqpin: Cache mapped IRQ

2013-02-26 Thread Magnus Damm
From: Magnus Damm d...@opensource.se Cache IRQ in domain_irq variable instead of making use of irq_find_mapping(). While at it rename the irq variable to requested_irq. Signed-off-by: Magnus Damm d...@opensource.se --- Thanks to Thomas Gleixner for this suggestion.

[PATCH 03/05] irqchip: intc-irqpin: Add force comments

2013-02-26 Thread Magnus Damm
From: Magnus Damm d...@opensource.se Add comments to describe the special case for force versions of enable and disable functions. Signed-off-by: Magnus Damm d...@opensource.se --- Thanks to Thomas Gleixner for this suggestion. drivers/irqchip/irq-renesas-intc-irqpin.c |9 + 1

[PATCH 04/05] irqchip: intc-irqpin: Make use of devm functions

2013-02-26 Thread Magnus Damm
From: Magnus Damm d...@opensource.se Use devm_kzalloc(), devm_ioremap_nocache() and devm_request_irq() to simplify error handling. Signed-off-by: Magnus Damm d...@opensource.se --- Thanks to Kuninori Morimoto for this suggestion. drivers/irqchip/irq-renesas-intc-irqpin.c | 41

[PATCH 05/05] irqchip: intc-irqpin: GPL header for platform data

2013-02-26 Thread Magnus Damm
From: Magnus Damm d...@opensource.se Add GPL header to platform data include file. Signed-off-by: Magnus Damm d...@opensource.se --- Thanks to Kuninori Morimoto for this suggestion. include/linux/platform_data/irq-renesas-intc-irqpin.h | 19 + 1 file changed, 19

linux-next: JFFS2 deadlock

2013-02-26 Thread Mark Jackson
Just tested the current next-20130226 on a custom AM335X board, and I received the JFFS2 deadlock shown below. Regards Mark JACKSON --- [3.250349] jffs2: notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0

Re: [PATCH 00/10] ipc MSG_COPY fixes

2013-02-26 Thread Peter Hurley
On Tue, 2013-02-26 at 11:53 +0400, Stanislav Kinsbursky wrote: Looks good to me. Thanks you, Peter! Acked-by: Stanislav Kinsbursky skinsbur...@parallels.com Next time please, add maintainer to To list instead of CC list (no need to resend - I've added Andrew Morton to To list in this

[GIT PULL] x86 fixes

2013-02-26 Thread Ingo Molnar
Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus HEAD: a8aed3e0752b4beb2e37cbed6df69faae88268da x86/mm/pageattr: Prevent PSE and GLOABL leftovers to confuse pmd/pte_present and pmd_huge

Re: [PATCH 00/05] irqchip: Renesas INTC External IRQ pin v2 update

2013-02-26 Thread Simon Horman
On Tue, Feb 26, 2013 at 08:58:34PM +0900, Magnus Damm wrote: irqchip: Renesas INTC External IRQ pin v2 update [PATCH 01/05] irqchip: intc-irqpin: Whitespace fixes [PATCH 02/05] irqchip: intc-irqpin: Cache mapped IRQ [PATCH 03/05] irqchip: intc-irqpin: Add force comments [PATCH 04/05]

Re: [PATCH 1/2] time : pass broadcast device parameter

2013-02-26 Thread Viresh Kumar
On 26 February 2013 17:01, Daniel Lezcano daniel.lezc...@linaro.org wrote: Oh, by the way, could send me the patch to set the flag to the timer device ? I will include it to the patchset. Sure. Find it attached too as gmail may break it. commit 14422c760bb5b2485867f3efb7842d296081ad86 Author:

Re: [PATCH 2/2] irq: Cleanup context state transitions in irq_exit()

2013-02-26 Thread Thomas Gleixner
On Fri, 22 Feb 2013, Linus Torvalds wrote: On Fri, Feb 22, 2013 at 7:06 AM, Thomas Gleixner t...@linutronix.de wrote: I prefer to let you guys have the final word on this patch. Whether you apply it or not, I fear I'll never be entirely happy either way :) That's the sad fate of dealing

Re: [RFC patch 7/8] timekeeping: Implement a shadow timekeeper

2013-02-26 Thread Thomas Gleixner
On Fri, 22 Feb 2013, John Stultz wrote: On 02/21/2013 02:51 PM, Thomas Gleixner wrote: Use the shadow timekeeper to do the update_wall_time() adjustments and then copy it over to the real timekeeper. Keep the shadow timekeeper in sync when updating stuff outside of update_wall_time().

Re: [PATCH 1/2] gpio: gpio-generic: Fix bug in big endian bit conversion

2013-02-26 Thread Andreas Larsson
On 2013-02-26 11:46, Andreas Larsson wrote: On 2013-02-26 08:52, Grant Likely wrote: On Sat, 09 Feb 2013 14:58:55 +, Grant Likely grant.lik...@secretlab.ca wrote: We /could/ have a ioread32be/write32be mode in the driver, but I don't think that is the right approach. It means we need yet

RE: [PATCH linux/linux-next] mpt2sas: _scsih_sas_broadcast_primitive_event: Quiet unused variable warning

2013-02-26 Thread Reddy, Sreekanth
Hi Tim, Today I have sent the below titled patch to upstream which fix the Unused variable 'event_data' warning. The Patch title is [PATCH][SCSI] mpt2sas: fix for unused variable 'event_data' warning This patch will help you in fixing the Unused variable 'event_data' warning. Thanks,

Re: [RFC] cpufreq: governor: Set MIN_LATENCY_MULTIPLIER to 20

2013-02-26 Thread Thomas Renninger
On Tuesday, February 26, 2013 04:20:07 PM Viresh Kumar wrote: On 26 February 2013 16:14, Thomas Renninger tr...@suse.de wrote: Redefining MIN_LATENCY_MULTIPLIER shouldn't hurt that much, but this looks like a workaround. It only modifies the minimal sampling rate that userspace can set.

3.9-rc0: Boot fails: RIP: 0010:[ffffffff810d4e9a] [ffffffff810d4e9a] stop_machine_cpu_stop+0x8a/0x160

2013-02-26 Thread Sander Eikelenboom
Hi All, Current tip (with last commit id: c41b3810c09e60664433548c5218cc6ece6a8903 (Merge tag 'pm+acpi-fixes-3.9-rc1') fails to boot with: [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpu [0.00] Linux version 3.8.0-rc0-20130226 (root

Re: Regression introduced with 14e568e78f6f80ca1e27256641ddf524c7dbdc51 (stop_machine: Use smpboot threads)

2013-02-26 Thread Thomas Gleixner
On Fri, 22 Feb 2013, Konrad Rzeszutek Wilk wrote: I don't know if this is b/c the Xen code is missing something or expects something that never happend. I hadn't looked at your patch in any detail (was going to do that on Monday). Either way, if I boot a HVM guest with PV extensions (aka

Re: [PATCH 0/5] [v3] fix illegal use of __pa() in KVM code

2013-02-26 Thread Peter Hurley
On Mon, 2013-02-25 at 06:42 -0800, Dave Hansen wrote: On 02/24/2013 01:28 PM, Peter Hurley wrote: Now that the alloc_remap() has been/is being removed, is most/all of this being reverted? I _believe_ alloc_remap() is the only case where we actually remapped low memory. However, there is

Re: [PATCH 05/73] ARM: ux500: Vsmps3 controlled by SysClkReq1

2013-02-26 Thread Mark Brown
On Tue, Feb 26, 2013 at 09:44:12AM +, Lee Jones wrote: Okay, I've just re-read this thread and it appears you're both talking about different things. Linus is talking about a discussion with Bengt regarding how these strange sysclkreq thingies work. When I first read the code they

Invitation to use Google Talk

2013-02-26 Thread Google Talk
--- You've been invited by Dula Dame to use Google Talk. If you already have a Google account, login to Gmail and accept this chat invitation: http://mail.google.com/mail/b-de9a2ad76d-397eb7cc5e-HsnrQQMRxQEBFT80ciL5NgGAPOc To

Re: bug in generic strncpy_from_user

2013-02-26 Thread Heiko Carstens
On Mon, Feb 25, 2013 at 09:24:31PM -0800, Linus Torvalds wrote: On Mon, Feb 25, 2013 at 8:54 PM, Heiko Carstens heiko.carst...@de.ibm.com wrote: FWIW, I think the generic strncpy_from_user() implemention has the same bug as the s390 variant: Following example: If there is a NUL

Re: [PATCH v6 04/46] percpu_rwlock: Implement the core design of Per-CPU Reader-Writer Locks

2013-02-26 Thread Lai Jiangshan
On Tue, Feb 26, 2013 at 5:02 PM, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: On 02/26/2013 05:47 AM, Lai Jiangshan wrote: On Tue, Feb 26, 2013 at 3:26 AM, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: Hi Lai, On 02/25/2013 09:23 PM, Lai Jiangshan wrote: Hi, Srivatsa,

Re: timekeeping_adjust may set mult to 0

2013-02-26 Thread David Engraf
Am 15.02.2013 23:34, schrieb John Stultz: On Mon, Feb 11, 2013 at 7:48 AM, David Engraf david.eng...@sysgo.com wrote: I have encountered a problem when a linux system uses a clocksource with mult = 1 and shift = 0 (clocksource cycle = nanoseconds). It may happen that the function

Re: [PATCH] virtio-blk: emit udev event when device is resized

2013-02-26 Thread Milos Vyletel
- Original Message - On 02/25/2013 10:54 PM, Milos Vyletel wrote: - Original Message - On 02/22/2013 03:02 AM, Milos Vyletel wrote: When virtio-blk device is resized from host (using block_resize from QEMU) emit KOBJ_CHANGE uevent to notify guest about such change.

Re: [Xen-devel] Regression introduced with 14e568e78f6f80ca1e27256641ddf524c7dbdc51 (stop_machine: Use smpboot threads)

2013-02-26 Thread Sander Eikelenboom
Tuesday, February 26, 2013, 1:36:36 PM, you wrote: On Fri, 22 Feb 2013, Konrad Rzeszutek Wilk wrote: I don't know if this is b/c the Xen code is missing something or expects something that never happend. I hadn't looked at your patch in any detail (was going to do that on Monday).

Re: [RFC PATCH v2 1/4] decompressor: Add LZ4 decompressor module

2013-02-26 Thread David Sterba
On Tue, Feb 26, 2013 at 03:24:27PM +0900, Kyungsik Lee wrote: This patch adds support for LZ4 decompression in the Linux Kernel. LZ4 Decompression APIs for kernel are based on LZ4 implementation by Yann Collet. LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html LZ4 source

  1   2   3   4   5   6   7   8   9   10   >