Re: [PATCH part1 v6 4/7] PCI: Introduce pci_serial_number_changed()

2014-02-11 Thread Yijing Wang
>> + * pci_serial_number_changed - check the device SN is changed > > How about the name “pci_device_changed”? I think it's more readable, > though the judgement is according to SN. Ah, it's nice, will update in next version. Thanks! Yijing. > > Regards, > Gu > >> + * @pdev: the PCI device

Re: [PATCH 1/2] scsi_sysfs: Implement 'is_visible' callback

2014-02-11 Thread Christoph Hellwig
On Tue, Feb 11, 2014 at 03:34:53PM +0100, Hannes Reinecke wrote: > Instead of modifying attributes after the device has been created > we should be using the 'is_visible' callback to avoid races. Can't say I like the fact that the is_visible function needs is per-group and not per attribute and

Re: [PATCH part1 v6 5/7] PCI: Add pci_dummy_ops to isolate pci device temporarily

2014-02-11 Thread Gu Zheng
Hi Yijing, On 02/12/2014 10:52 AM, Yijing Wang wrote: > Pci_dummy_ops does nothing when we use it to read/write > pci_device. So we can isolate pci device by replace its > bus pci_ops by pci_dummy_ops. This is preparation for > the later patch. > > Signed-off-by: Yijing Wang > --- >

[PATCH RESEND] leds-gpio: fix a typo in the documentation

2014-02-11 Thread Laszlo Papp
Signed-off-by: Laszlo Papp --- Documentation/devicetree/bindings/leds/leds-gpio.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/leds/leds-gpio.txt b/Documentation/devicetree/bindings/leds/leds-gpio.txt index df1b308..00e94fe 100644 ---

Re: [PATCH 01/28] Remove CPU_MMP3

2014-02-11 Thread Geert Uytterhoeven
Cc Yu Xu On Tue, Feb 11, 2014 at 11:01 PM, Paul Bolle wrote: > On Tue, 2014-02-11 at 13:30 -0800, Greg Kroah-Hartman wrote: >> On Sun, Feb 09, 2014 at 07:47:39PM +0100, Richard Weinberger wrote: >> > The symbol is an orphan, get rid of it. >> > >> > Signed-off-by: Richard Weinberger >> >

Re: [PATCH 6/8] cgroup: remove cgroup->name

2014-02-11 Thread Li Zefan
> diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c > index dd52e7f..30eee3b 100644 > --- a/kernel/sched/debug.c > +++ b/kernel/sched/debug.c > @@ -111,8 +111,7 @@ static char *task_group_path(struct task_group *tg) > if (autogroup_path(tg, group_path, PATH_MAX)) >

Re: [PATCH 1/2] hwrng: atmel - Use devm_ioremap_resource()

2014-02-11 Thread Peter Korsgaard
> "Jingoo" == Jingoo Han writes: > Use devm_ioremap_resource() in order to make the code simpler, > and remove redundant return value check of platform_get_resource() > because the value is checked by devm_ioremap_resource(). > Signed-off-by: Jingoo Han Acked-by: Peter Korsgaard

Re: 3.12: ethernet controller missing after resuming from suspend to RAM

2014-02-11 Thread Francis Moreau
On 02/12/2014 12:58 AM, Rafael J. Wysocki wrote: > On Tuesday, February 11, 2014 07:17:37 PM Peter Wu wrote: >> On Tuesday 11 February 2014 12:42:37 Mika Westerberg wrote: >>> On Mon, Feb 10, 2014 at 11:39:29PM +0100, Rafael J. Wysocki wrote: > _STA() returns 0x0A instead of 0x0F. Could there

Re: [PATCH V2 5/6] vhost_net: poll vhost queue after marking DMA is done

2014-02-11 Thread Qin Chuanyu
On 2013/8/30 12:29, Jason Wang wrote: We used to poll vhost queue before making DMA is done, this is racy if vhost thread were waked up before marking DMA is done which can result the signal to be missed. Fix this by always poll the vhost thread before DMA is done. Signed-off-by: Jason Wang

Re: [PATCH part1 v6 4/7] PCI: Introduce pci_serial_number_changed()

2014-02-11 Thread Gu Zheng
Hi Yijing, On 02/12/2014 10:52 AM, Yijing Wang wrote: > Sometimes OS do not know the physical device swap, > for instance, some device hotplug during system suspend. > Interrupt can not deliver to OS in some platform. > So we can use pci serial number capability to detect this > issue if device

Re: [PATCH 3/4] sparc64: convert spinlock_t to raw_spinlock_t in mmu_context_t

2014-02-11 Thread Allen Pais
On Wednesday 12 February 2014 02:43 AM, Kirill Tkhai wrote: > > > 06.01.2014, 07:56, "Allen Pais" : >> In the attempt of get PREEMPT_RT working on sparc64 using >> linux-stable-rt version 3.10.22-rt19+, the kernel crash >> with the following trace: >> >> [ 1487.027884] I7: >> [ 1487.027885]

Re: [PATCH 06/35] perf hists: Leave symbol addr hist bucket auto alloc to symbol layer

2014-02-11 Thread Anton Blanchard
Hi, > From: Arnaldo Carvalho de Melo > > Since now symbol__addr_inc_samples() does the auto alloc, no need to > do it prior to calling hist_entry__inc_addr_samples. perf annotate on a ppc64 build (no TUI) is failing. I get zero output. I haven't had a chance to look closer, but I used the

Re: [PATCHv3 1/4] zram: introduce compressing backend abstraction

2014-02-11 Thread Minchan Kim
Hello Sergey, On Wed, Feb 12, 2014 at 01:21:03AM +0300, Sergey Senozhatsky wrote: > ZRAM performs direct LZO compression algorithm calls, making it the one > and only option. Introduce abstract struct zram_comp in order to support > multiple compression algorithms. struct zram_comp defines the

Re: 3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-11 Thread Dave Chinner
On Tue, Feb 11, 2014 at 10:28:12PM -0800, Linus Torvalds wrote: > On Tue, Feb 11, 2014 at 9:40 PM, Dave Chinner wrote: > > > > None of the XFS code disables interrupts in that path, not does is > > call outside XFS except to dispatch IO. The stack is pretty deep at > > this point and I know that

Re: [PATCH v2] [media] of: move graph helpers from drivers/media/v4l2-core to drivers/media

2014-02-11 Thread Tomi Valkeinen
Hi, On 11/02/14 23:41, Philipp Zabel wrote: > From: Philipp Zabel > > This patch moves the parsing helpers used to parse connected graphs > in the device tree, like the video interface bindings documented in > Documentation/devicetree/bindings/media/video-interfaces.txt, from >

[tip:sched/core] cpuidle/pseries: Fix fallout caused due to cleanup in pseries cpuidle backend driver

2014-02-11 Thread tip-bot for Preeti U Murthy
Commit-ID: 3f67d962c64d9b6de9dab81bdbe6d5c94c80d9b9 Gitweb: http://git.kernel.org/tip/3f67d962c64d9b6de9dab81bdbe6d5c94c80d9b9 Author: Preeti U Murthy AuthorDate: Wed, 12 Feb 2014 10:18:45 +0530 Committer: Ingo Molnar CommitDate: Wed, 12 Feb 2014 08:05:03 +0100 cpuidle/pseries: Fix

[PATCH v2] can: xilinx CAN controller support.

2014-02-11 Thread Kedareswara rao Appana
This patch adds xilinx CAN controller support. This driver supports both ZYNQ CANPS IP and Soft IP AXI CAN controller. Signed-off-by: Kedareswara rao Appana --- This patch is rebased on the 3.14 rc2 kernel. Changes for v2: - Updated with the review comments. - Removed unnecessary debug prints. -

[PATCH v7] mfd: MAX6650/6651 support

2014-02-11 Thread Laszlo Papp
MAX6650/MAX6651 chip is a multi-function device with I2C busses. The chip includes fan-speed regulators and monitors, GPIO, and alarm. This patch is an initial release of a MAX6650/6651 MFD driver that supports to enable the chip with its primary I2C bus that will connect the hwmon, and then the

Re: [PATCH 07/12] mfd: syscon: Consider platform data a regmap config name

2014-02-11 Thread Alexander Shiyan
Hello. Вторник, 11 февраля 2014, 17:10 UTC от Pawel Moll : > Use the device platform data as a regmap config > name. This is particularly useful in the regmap > debugfs when there is more than one syscon device > registered, to distinguish the register blocks. > > Cc: Samuel Ortiz > Cc: Lee

Re: [PATCHv3 1/4] zram: introduce compressing backend abstraction

2014-02-11 Thread Minchan Kim
On Wed, Feb 12, 2014 at 01:21:03AM +0300, Sergey Senozhatsky wrote: > ZRAM performs direct LZO compression algorithm calls, making it the one > and only option. Introduce abstract struct zram_comp in order to support > multiple compression algorithms. struct zram_comp defines the following > set

Re: [GIT PULL] x86, apic: Remove support for Summit and ES7000

2014-02-11 Thread Ingo Molnar
* H. Peter Anvin wrote: > On 02/11/2014 06:53 PM, David Rientjes wrote: > > Hi Ingo, Peter, and Thomas, > > > > [ Be aware of bouncing emails on the cc, it includes the last-known email > >addresses of the authors of these subarchitectures and may bounce. ] > > > > If you agree, please

Re: [tip:sched/core] sched: Push put_prev_task() into pick_next_task( )

2014-02-11 Thread Kirill Tkhai
11.02.2014, 16:17, "tip-bot for Peter Zijlstra" : > Commit-ID:  606dba2e289446600a0b68422ed2019af5355c12 > Gitweb: http://git.kernel.org/tip/606dba2e289446600a0b68422ed2019af5355c12 > Author: Peter Zijlstra > AuthorDate: Sat, 11 Feb 2012 06:05:00 +0100 > Committer:  Ingo Molnar >

Re: [PATCH v6] mfd: MAX6650/6651 support

2014-02-11 Thread Laszlo Papp
On Wed, Feb 12, 2014 at 4:42 AM, Sachin Kamat wrote: > Hi Laszlo, > > Sorry for missing out on a couple of points during my earlier review. > Please see inline. Np. > On 12 February 2014 09:32, Laszlo Papp wrote: >> MAX6650/MAX6651 chip is a multi-function device with I2C busses. The >> chip

Re: [PATCH v2] cgroup: protect modifications to cgroup->idr with cgroup_mutex

2014-02-11 Thread Li Zefan
On 2014/2/12 14:37, Tejun Heo wrote: > Hello, Li. > > On Wed, Feb 12, 2014 at 02:28:53PM +0800, Li Zefan wrote: >> v2: >> - Don't call deactivate_super() inside cgroup_mutex, as cgroup_kill_sb() >> will be called if sb refcnt reaches 0. I don't think this can happen, >> as cgroup_create() is

Re: 3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-11 Thread Linus Torvalds
On Tue, Feb 11, 2014 at 10:31 PM, Dave Chinner wrote: > > FYI, just creating lots of files with open(O_CREAT): > > [ 348.718357] fs_mark (4828) used greatest stack depth: 2968 bytes left > [ 348.769846] fs_mark (4814) used greatest stack depth: 2312 bytes left > [ 349.17] fs_mark (4826)

Re: [RFC PATCH] video: Use fb_sys_write rather than open-coding in drivers

2014-02-11 Thread Ryan Mallon
On 12/02/14 19:54, Tomi Valkeinen wrote: > On 11/02/14 21:07, Ryan Mallon wrote: >> On 12/02/14 03:06, Tomi Valkeinen wrote: >> >>> On 20/09/13 10:06, Ryan Mallon wrote: Several video drivers open code the fb_write write function with code which is very similar to fb_sys_write. Replace

[PATCH v3 1/1] drm/i915: Add 180 degree sprite rotation support

2014-02-11 Thread sagar . a . kamble
From: Ville Syrjälä The sprite planes (in fact all display planes starting from gen4) support 180 degree rotation. Add the relevant low level bits to the sprite code to make use of that feature. The upper layers are not yet plugged in. v2: HSW handles the rotated buffer offset automagically

Re: [PATCH] ARM: mm: support big-endian page tables

2014-02-11 Thread Jianguo Wu
On 2014/2/11 18:40, Ben Dooks wrote: > On 11/02/14 09:20, Jianguo Wu wrote: >> When enable LPAE and big-endian in a hisilicon board, while specify >> mem=384M mem=512M@7680M, will get bad page state: >> >> Freeing unused kernel memory: 180K (c0466000 - c0493000) >> BUG: Bad page state in process

Re: [RFC PATCH] video: Use fb_sys_write rather than open-coding in drivers

2014-02-11 Thread Tomi Valkeinen
On 11/02/14 21:07, Ryan Mallon wrote: > On 12/02/14 03:06, Tomi Valkeinen wrote: > >> On 20/09/13 10:06, Ryan Mallon wrote: >>> Several video drivers open code the fb_write write function with code >>> which is very similar to fb_sys_write. Replace the open code versions >>> with calls to

[PATCH v6 1/1] drm/i915: Add 180 degree primary plane rotation support

2014-02-11 Thread sagar . a . kamble
From: Sagar Kamble Primary planes support 180 degree rotation. Expose the feature through rotation drm property. v2: Calculating linear/tiled offsets based on pipe source width and height. Added 180 degree rotation support in ironlake_update_plane. v3: Checking if CRTC is active before

Re: [PATCH 7/9] sys: Replace hardcoding of -20 and 19 with MIN_NICE and MAX_NICE.

2014-02-11 Thread Kees Cook
On Tue, Feb 11, 2014 at 7:59 PM, Dongsheng Yang wrote: > Hi Kees, > > > On 02/12/2014 02:27 AM, Kees Cook wrote: >> >> On Mon, Feb 10, 2014 at 11:34 PM, Dongsheng Yang >> wrote: >>> >>> Signed-off-by: Dongsheng Yang >>> cc: Andrew Morton >>> cc: Oleg Nesterov >>> cc: Robin Holt >>> cc: Al

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

2014-02-11 Thread Tejun Heo
Hello, On Wed, Feb 12, 2014 at 04:25:00PM +1100, Stephen Rothwell wrote: > Presumably caused by commit 2bd59d48ebfb ("cgroup: convert to kernfs") > (see the comment in commit 1ff6bbfd13ca ("arm, pm, vmpressure: add > missing slab.h includes")). I wonder how mane more builds are broken by > this

Re: [PATCH v2] cgroup: protect modifications to cgroup->idr with cgroup_mutex

2014-02-11 Thread Tejun Heo
Hello, Li. On Wed, Feb 12, 2014 at 02:28:53PM +0800, Li Zefan wrote: > v2: > - Don't call deactivate_super() inside cgroup_mutex, as cgroup_kill_sb() > will be called if sb refcnt reaches 0. I don't think this can happen, > as cgroup_create() is called through vfs, so vfs should guarantee the >

Re: 3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-11 Thread Dave Chinner
On Wed, Feb 12, 2014 at 05:10:38PM +1100, Dave Chinner wrote: > On Wed, Feb 12, 2014 at 12:50:27AM -0500, Dave Jones wrote: > > On Wed, Feb 12, 2014 at 04:40:43PM +1100, Dave Chinner wrote: > > > > > None of the XFS code disables interrupts in that path, not does is > > > call outside XFS

[PATCH v2] cgroup: protect modifications to cgroup->idr with cgroup_mutex

2014-02-11 Thread Li Zefan
Setup cgroupfs like this: # mount -t cgroup -o cpuacct xxx /cgroup # mkdir /cgroup/sub1 # mkdir /cgroup/sub2 Then run these two commands: # for ((; ;)) { mkdir /cgroup/sub1/tmp && rmdir /cgroup/sub1/tmp; } & # for ((; ;)) { mkdir /cgroup/sub2/tmp && rmdir /cgroup/sub2/tmp; } & After

[PATCH RESEND] arm: add DSB after icache flush in __flush_icache_all()

2014-02-11 Thread Vinayak Kale
Add DSB after icache flush to complete the cache maintenance operation. Signed-off-by: Vinayak Kale Acked-by: Catalin Marinas Cc: --- KernelVersion: 3.14-rc1 PS: - This patch is tested for ARM-v7. arch/arm/include/asm/cacheflush.h |1 + 1 file changed, 1 insertion(+) diff --git

[git pull] drm fixes

2014-02-11 Thread Dave Airlie
Hi Linus, nothing too crazy, radeon irq fixes, i915 regression fixes, exynos fixes, tda998x chip fixes, and a bunch of msm fixes. Dave. The following changes since commit 7c4c62a04a2a80e3feb5d6c97aca1e413b11c790: drm/radeon: allow geom rings to be setup on r600/r700 (v2) (2014-02-06

Re: 3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-11 Thread Linus Torvalds
On Tue, Feb 11, 2014 at 9:40 PM, Dave Chinner wrote: > > None of the XFS code disables interrupts in that path, not does is > call outside XFS except to dispatch IO. The stack is pretty deep at > this point and I know that the standard (non stacked) IO stack can > consume >3kb of stack space when

Re: [tip:sched/core] sched: Push down pre_schedule() and idle_balance ()

2014-02-11 Thread Michael wang
Hi, Peter On 02/11/2014 08:17 PM, tip-bot for Peter Zijlstra wrote: [snip] > + > +idle: > +#ifdef CONFIG_SMP > + idle_enter_fair(rq); > + /* > + * We must set idle_stamp _before_ calling idle_balance(), such that we > + * measure the duration of idle_balance() as idle time. > +

Re: [PATCH 1/2] kobject: don't block for each kobject_uevent

2014-02-11 Thread Vladimir Davydov
On 02/12/2014 03:03 AM, Andrew Morton wrote: > On Sun, 9 Feb 2014 14:56:15 +0400 Vladimir Davydov > wrote: > >> Currently kobject_uevent has somewhat unpredictable semantics. The point >> is, since it may call a usermode helper and wait for it to execute >> (UMH_WAIT_EXEC), it is impossible to

Re: [PATCH 01/51] CPU hotplug: Provide lockless versions of callback registration functions

2014-02-11 Thread Srivatsa S. Bhat
On 02/12/2014 02:21 AM, Toshi Kani wrote: > On Wed, 2014-02-12 at 00:50 +0530, Srivatsa S. Bhat wrote: >> On 02/11/2014 11:05 PM, Toshi Kani wrote: > : >>> How about this? foo_cpu_notifier returns NOP when foo_notifier_ready is >>> false. >>> >>> register_cpu_notifier(_cpu_notifier); >>>

Re: 3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-11 Thread Dave Chinner
On Wed, Feb 12, 2014 at 12:50:27AM -0500, Dave Jones wrote: > On Wed, Feb 12, 2014 at 04:40:43PM +1100, Dave Chinner wrote: > > > None of the XFS code disables interrupts in that path, not does is > > call outside XFS except to dispatch IO. The stack is pretty deep at > > this point and I know

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-11 Thread Torvald Riegel
On Tue, 2014-02-11 at 07:59 -0800, Paul E. McKenney wrote: > On Mon, Feb 10, 2014 at 11:09:24AM -0800, Linus Torvalds wrote: > > On Sun, Feb 9, 2014 at 4:27 PM, Torvald Riegel wrote: > > > > > > Intuitively, this is wrong because this let's the program take a step > > > the abstract machine

[PATCH net] vhost_net: do not report a used len larger than receive buffer size

2014-02-11 Thread Jason Wang
Currently, even if the packet were truncated by lower socket, we still report the packet size as the used len which may confuse guest driver. Fixes this by returning the size of guest receive buffer instead. Fixes 3a4d5c94e959359ece6d6b55045c3f046677f55c (vhost_net: a kernel-level virtio server)

Re: [RFC PATCH] Fix: module signature vs tracepoints: add new TAINT_UNSIGNED_MODULE

2014-02-11 Thread Mathieu Desnoyers
- Original Message - > From: "Steven Rostedt" > To: "Ingo Molnar" > Cc: "Mathieu Desnoyers" , > linux-kernel@vger.kernel.org, "Ingo Molnar" > , "Thomas Gleixner" , "Rusty Russell" > , "David Howells" > , "Greg Kroah-Hartman" > Sent: Tuesday, February 11, 2014 11:45:34 PM > Subject:

Re: 3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-11 Thread Dave Jones
On Wed, Feb 12, 2014 at 04:40:43PM +1100, Dave Chinner wrote: > None of the XFS code disables interrupts in that path, not does is > call outside XFS except to dispatch IO. The stack is pretty deep at > this point and I know that the standard (non stacked) IO stack can > consume >3kb of stack

linux-next: Tree for Feb 12

2014-02-11 Thread Stephen Rothwell
Hi all, If you see failures in building this tree due to missing declarations of k..alloc/free, then it may be caused by commit 2bd59d48ebfb ("cgroup: convert to kernfs"). Please send Tejun Heo a patch adding an inclusion of linux/slab.h to the appropriate file(s). This tree fails (more than

[PATCH net] virtio-net: alloc big buffers also when guest can receive UFO

2014-02-11 Thread Jason Wang
We should alloc big buffers also when guest can receive UFO pakcets. Otherwise the big packets will be truncated when mergeable rx buffer is disabled. Fixes 5c5167515d80f78f6bb538492c423adcae31ad65 (virtio-net: Allow UFO feature to be set and advertised.) Cc: Rusty Russell Cc: Michael S.

Re: 3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-11 Thread Dave Chinner
On Wed, Feb 12, 2014 at 04:22:15AM +, Al Viro wrote: > On Tue, Feb 11, 2014 at 11:03:58PM -0500, Dave Jones wrote: > > [ 3111.414202] [] bio_alloc_bioset+0x156/0x210 > > [ 3111.414855] [] _xfs_buf_ioapply+0x1c1/0x3c0 [xfs] > > [ 3111.415517] [] ? xlog_bdstrat+0x22/0x60 [xfs] > > [

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-11 Thread Torvald Riegel
On Mon, 2014-02-10 at 11:09 -0800, Linus Torvalds wrote: > On Sun, Feb 9, 2014 at 4:27 PM, Torvald Riegel wrote: > > > > Intuitively, this is wrong because this let's the program take a step > > the abstract machine wouldn't do. This is different to the sequential > > code that Peter posted

Re: [PATCH 01/11] pagewalk: update page table walker core

2014-02-11 Thread Joonsoo Kim
On Mon, Feb 10, 2014 at 04:44:26PM -0500, Naoya Horiguchi wrote: > This patch updates mm/pagewalk.c to make code less complex and more > maintenable. > The basic idea is unchanged and there's no userspace visible effect. > > Most of existing callback functions need access to vma to handle each

[PATCH v2] drm/nouveau: support for platform devices

2014-02-11 Thread Alexandre Courbot
Upcoming mobile Kepler GPUs (such as GK20A) use the platform bus instead of PCI to which Nouveau is tightly dependent. This patch allows Nouveau to handle platform devices by: - abstracting PCI-dependent functions that were typically used for resource querying and page mapping, - introducing a

[PATCH] mfd: ti_am335x_tscadc: Use devm_ioremap_resource()

2014-02-11 Thread Jingoo Han
Use devm_ioremap_resource() in order to make the code simpler, and remove redundant return value check of platform_get_resource() because the value is checked by devm_ioremap_resource(). Signed-off-by: Jingoo Han --- drivers/mfd/ti_am335x_tscadc.c | 23 --- 1 file changed,

Re: [PATCH v2] dma: add R-Car Audio DMAC peri peri driver

2014-02-11 Thread Kuninori Morimoto
Hi Vinod Can I ask you about current status of this patch ? > From: Kuninori Morimoto > > Add support Audio DMAC peri peri driver > for Renesas R-Car Gen2 SoC, using 'shdma-base' > DMA driver framework. > > Signed-off-by: Kuninori Morimoto > --- > v1 -> v2 > > - run scripts/checkpatch.pl

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

2014-02-11 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (sparc defconfig) failed like this: arch/sparc/kernel/sun4m_irq.c: In function 'sun4m_build_device_irq': arch/sparc/kernel/sun4m_irq.c:266:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration]

Re: [PATCH] ACPI / container: Fix error code path in container_device_attach()

2014-02-11 Thread Yasuaki Ishimatsu
(2014/02/12 9:05), Rafael J. Wysocki wrote: From: Rafael J. Wysocki To avoid leaking memory on errors from device_register(), do a put_device() on the device object in question in the error code path of container_device_attach(). Fixes: caa73ea158de (ACPI / hotplug / driver core: Handle

Re: [PATCH] powerpc: Fix "attempt to move .org backwards" error

2014-02-11 Thread Stephen Rothwell
Hi all, On Tue, 10 Dec 2013 10:26:10 +1100 Benjamin Herrenschmidt wrote: > > On Tue, 2013-12-10 at 10:10 +1100, Stephen Rothwell wrote: > > Reported-by: Stephen Rothwell > > Tested-by: Stephen Rothwell > > > > Works for me. Thanks. I will add this to linux-next today if Ben > > doesn't add

Re: [GIT PULL] x86, apic: Remove support for Summit and ES7000

2014-02-11 Thread David Rientjes
On Tue, 11 Feb 2014, H. Peter Anvin wrote: > Nice. > Natalie emailed me and said she agrees with the removal of es7000. Matthew's email address bounces, so summit is orphaned and the email address in its header is obsolete. -- To unsubscribe from this list: send the line "unsubscribe

[PATCH 2/2] hwrng: pixocell - Use devm_ioremap_resource()

2014-02-11 Thread Jingoo Han
Use devm_ioremap_resource() in order to make the code simpler, and remove redundant return value check of platform_get_resource() because the value is checked by devm_ioremap_resource(). Signed-off-by: Jingoo Han --- drivers/char/hw_random/picoxcell-rng.c | 19 +++ 1 file

[PATCH 1/2] hwrng: atmel - Use devm_ioremap_resource()

2014-02-11 Thread Jingoo Han
Use devm_ioremap_resource() in order to make the code simpler, and remove redundant return value check of platform_get_resource() because the value is checked by devm_ioremap_resource(). Signed-off-by: Jingoo Han --- drivers/char/hw_random/atmel-rng.c | 15 --- 1 file changed, 4

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-11 Thread Torvald Riegel
On Sun, 2014-02-09 at 19:51 -0800, Paul E. McKenney wrote: > On Mon, Feb 10, 2014 at 01:06:48AM +0100, Torvald Riegel wrote: > > On Thu, 2014-02-06 at 20:20 -0800, Paul E. McKenney wrote: > > > On Fri, Feb 07, 2014 at 12:44:48AM +0100, Torvald Riegel wrote: > > > > On Thu, 2014-02-06 at 14:11

[PATCH] regulator: da9055: declare return type of inline function exclusively

2014-02-11 Thread SeongJae Park
da9055_regulator_dt_init does not declare return type and it cause following build warning. drivers/regulator/da9055-regulator.c:582:15: warning: return type defaults to ‘int’ [-Wreturn-type] static inline da9055_regulator_dt_init(struct platform_device *pdev, ^ Fix the

Re: [PATCH 1/2] BCM2835: Add dmaengine driver to device tree

2014-02-11 Thread Stephen Warren
On 01/13/2014 04:11 AM, Florian Meier wrote: > This adds the definitions for the BCM2835 dmaengine driver > to the device tree. The dma-channel-mask is currently > fixed. Later it should be set via the firmware. I've applied patch 1, and the part of patch 2 which touches bcm2835.dtsi to bcm2835's

Re: [PATCH 8/8] cpufreq: ppc: make use of of_find_matching_node_and_match

2014-02-11 Thread Viresh Kumar
On 11 February 2014 21:54, Josh Cartwright wrote: > Instead of the of_find_matching_node()/of_match_node() pair, which requires > two > iterations through the match table, make use of > of_find_matching_node_and_match(), > which only iterates through the table once. > > Signed-off-by: Josh

[PATCH v2] drm/nouveau: handle -EACCES runtime PM return code

2014-02-11 Thread Alexandre Courbot
pm_runtime_get*() may return -EACCES to indicate a device does not have runtime PM enabled. This is currently the case with platform devices on Nouveau, and is not an error in that context. Handle this case without failure. Signed-off-by: Alexandre Courbot --- Changes since v1: - Fixed typo and

Re: [PATCH 0/7] ARM: shmobile: r8a7790/Lager QSPI SoC/board integration

2014-02-11 Thread Magnus Damm
Hi Geert, Simon, On Mon, Feb 10, 2014 at 7:47 PM, Geert Uytterhoeven wrote: > Hi Simon, Magnus, > > The following patch series completes r8a7790 SoC and Lager board > integration for the Renesas Quad Serial Peripheral Interface. It brings > r8a7790/Lager to the same support level as

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

2014-02-11 Thread Preeti U Murthy
00644 --- a/drivers/cpuidle/cpuidle-pseries.c +++ b/drivers/cpuidle/cpuidle-pseries.c @@ -17,6 +17,7 @@ #include #include #include +#include #include struct cpuidle_driver pseries_idle_driver = { > > I have used the tip tree from next-20140210 again today (since > next-20140211

RE: [PATCH V5 4/8] phy: st-miphy-40lp: Add skeleton driver

2014-02-11 Thread Mohit KUMAR DCG
Hello Arnd, > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Tuesday, February 11, 2014 8:09 PM > To: Mohit KUMAR DCG > Cc: Pratyush ANAND; Kishon Vijay Abraham I; spear-devel; linux-arm- > ker...@lists.infradead.org; devicet...@vger.kernel.org; linux- >

Re: [RFC PATCH] Fix: module signature vs tracepoints: add new TAINT_UNSIGNED_MODULE

2014-02-11 Thread Steven Rostedt
On Tue, 11 Feb 2014 08:27:38 +0100 Ingo Molnar wrote: > > * Mathieu Desnoyers wrote: > > > Users have reported being unable to trace non-signed modules loaded > > within a kernel supporting module signature. > > External modules should strive to get out of the 'crap' and > 'felony law

Re: [PATCH v6] mfd: MAX6650/6651 support

2014-02-11 Thread Sachin Kamat
Hi Laszlo, Sorry for missing out on a couple of points during my earlier review. Please see inline. On 12 February 2014 09:32, Laszlo Papp wrote: > MAX6650/MAX6651 chip is a multi-function device with I2C busses. The > chip includes fan-speed regulators and monitors, GPIO, and alarm. > > This

Re: [PATCH v2] cpufreq: cpu0: drop selecting of THERMAL and THERMAL_CPU

2014-02-11 Thread Viresh Kumar
On 12 February 2014 00:03, Rob Herring wrote: > From: Rob Herring > > The addition of THERMAL and THERMAL_CPU selections causes a kconfig > warning on highbank platforms: > > warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has > unmet direct dependencies (ARCH_HAS_CPUFREQ &&

[git pull] Please pull powerpc.git merge branch

2014-02-11 Thread Benjamin Herrenschmidt
Hi Linus ! Here is some powerpc goodness for -rc2. Arguably -rc1 material more than -rc2 but I was travelling (again !) It's mostly bug fixes including regressions, but there are a couple of new things that I decided to drop-in. One is a straightforward patch from Michael to add a bunch of P8

[PATCH v7 0/2] AS3935 lightning sensor support

2014-02-11 Thread Matt Ranostay
This series adds support for the AMS AS3935 lightning sensor that allows reporting back estimated storm distance and strike events. Chagges from v6 * Revised binding documents to not use the term "interrupts mapping" * Renamed tune-cap property to a more clear tuning-capacitor-pf Changes from

[PATCH v7 2/2] iio: Add AS3935 lightning sensor support

2014-02-11 Thread Matt Ranostay
AS3935 chipset can detect lightning strikes and reports those back as events and the estimated distance to the storm. Signed-off-by: Matt Ranostay --- .../ABI/testing/sysfs-bus-iio-proximity-as3935 | 18 + drivers/iio/Kconfig| 1 + drivers/iio/Makefile

[PATCH v7 1/2] iio:as3935: Add DT binding docs for AS3935 driver

2014-02-11 Thread Matt Ranostay
Document compatible string, required and optional DT properties for AS3935 chipset driver. Signed-off-by: Matt Ranostay --- .../devicetree/bindings/iio/proximity/as3935.txt | 28 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + 2 files changed, 29

Re: [GIT PULL] x86, apic: Remove support for Summit and ES7000

2014-02-11 Thread H. Peter Anvin
On 02/11/2014 06:53 PM, David Rientjes wrote: > Hi Ingo, Peter, and Thomas, > > [ Be aware of bouncing emails on the cc, it includes the last-known email >addresses of the authors of these subarchitectures and may bounce. ] > > If you agree, please pull from: > >

Re: [PATCH 3.13 000/120] 3.13.3-stable review

2014-02-11 Thread Guenter Roeck
On Tue, Feb 11, 2014 at 11:04:01AM -0800, Greg Kroah-Hartman wrote: > Some -stable releases spring out from my build system bright and shiny > and ready to go. Not so with these releases. Maybe it's the horrid > weather that was happening during the creation of these kernels, or > something

Re: 3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-11 Thread Al Viro
On Tue, Feb 11, 2014 at 11:03:58PM -0500, Dave Jones wrote: > [ 3111.414202] [] bio_alloc_bioset+0x156/0x210 > [ 3111.414855] [] _xfs_buf_ioapply+0x1c1/0x3c0 [xfs] > [ 3111.415517] [] ? xlog_bdstrat+0x22/0x60 [xfs] > [ 3111.416175] [] xfs_buf_iorequest+0x6b/0xf0 [xfs] > [ 3111.416843] []

Re: [PATCH 3.10 00/79] 3.10.30-stable review

2014-02-11 Thread Guenter Roeck
On Tue, Feb 11, 2014 at 11:05:04AM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.10.30 release. > There are 79 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 3.12 000/107] 3.12.11-stable review

2014-02-11 Thread Guenter Roeck
On Tue, Feb 11, 2014 at 11:04:26AM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.12.11 release. > There are 107 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 3.4 00/30] 3.4.80-stable review

2014-02-11 Thread Guenter Roeck
On Tue, Feb 11, 2014 at 11:06:00AM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.4.80 release. > There are 30 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: 3.14-mw regression: rtl8169 WARNING: DMA-API: exceeded 7 overlapping mappings of pfn 55ebe

2014-02-11 Thread Eric Dumazet
On Tue, 2014-02-11 at 18:07 -0800, Dan Williams wrote: > The overlap granularity is too large. Multiple dma_map_single > mappings are allowed to a given page as long as they don't collide on > the same cache line. > I am not sure why you try number of mappings of a page. Try launching 100

RE: [PATCH V6 07/12] phy: st-miphy-40lp: Add SPEAr1310 and SPEAr1340 PCIe phy support

2014-02-11 Thread Mohit KUMAR DCG
Hello Kishon, > -Original Message- > From: Kishon Vijay Abraham I [mailto:kis...@ti.com] > Sent: Tuesday, February 11, 2014 5:36 PM > To: Mohit KUMAR DCG; a...@arndb.de > Cc: Pratyush ANAND; Viresh Kumar; spear-devel; linux-arm- > ker...@lists.infradead.org; linux-kernel@vger.kernel.org >

Re: 3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-11 Thread Dave Jones
On Tue, Feb 11, 2014 at 06:52:19PM -0800, Linus Torvalds wrote: > On Tue, Feb 11, 2014 at 5:09 PM, Al Viro wrote: > > > > Slap the check in vfs_create(), see if interrupts had been disabled by it > > or > > by something in ->create(). Since it's reproducible... > > path_openat() starts

[PATCH v6] mfd: MAX6650/6651 support

2014-02-11 Thread Laszlo Papp
MAX6650/MAX6651 chip is a multi-function device with I2C busses. The chip includes fan-speed regulators and monitors, GPIO, and alarm. This patch is an initial release of a MAX6650/6651 MFD driver that supports to enable the chip with its primary I2C bus that will connect the hwmon, and then the

Re: [PATCH 0/4] hugetlb: add hugepagesnid= command-line option

2014-02-11 Thread David Rientjes
On Wed, 12 Feb 2014, Andi Kleen wrote: > > The real syntax is hugepagesnid=nid,nr-pages,size. Which looks > > straightforward > > to me. I honestly can't think of anything better than that, but I'm open for > > suggestions. > > hugepages_node=nid:nr-pages:size,... ? > I think that if we

Re: [PATCH 0/4] hugetlb: add hugepagesnid= command-line option

2014-02-11 Thread David Rientjes
On Tue, 11 Feb 2014, Luiz Capitulino wrote: > > > HugeTLB command-line option hugepages= allows the user to specify how many > > > huge pages should be allocated at boot. On NUMA systems, this argument > > > automatically distributes huge pages allocation among nodes, which can > > > be

Re: [PATCH 7/9] sys: Replace hardcoding of -20 and 19 with MIN_NICE and MAX_NICE.

2014-02-11 Thread Dongsheng Yang
Hi Kees, On 02/12/2014 02:27 AM, Kees Cook wrote: On Mon, Feb 10, 2014 at 11:34 PM, Dongsheng Yang wrote: Signed-off-by: Dongsheng Yang cc: Andrew Morton cc: Oleg Nesterov cc: Robin Holt cc: Al Viro cc: Kees Cook cc: "Eric W. Biederman" cc: Stephen Rothwell cc: Peter Zijlstra cc:

Re: [PATCH 3/4] hugetlb: add hugepagesnid= command-line option

2014-02-11 Thread Yasuaki Ishimatsu
(2014/02/11 2:27), Luiz Capitulino wrote: > From: Luiz capitulino > > The HugeTLB command-line option hugepages= allow the user to specify > how many huge pages should be allocated at boot-time. On NUMA systems, > this option will try to automatically distribute the allocation equally > among

Re: [null_blk] INFO: trying to register non-static key.

2014-02-11 Thread Jens Axboe
On Wed, Feb 12 2014, Fengguang Wu wrote: > Hi Jens, > > I got the below dmesg and the first bad commit is > > commit f2298c0403b0dfcaef637eba0c02c4a06d7a25ab > Author: Jens Axboe > CommitDate: Fri Oct 25 11:56:00 2013 +0100 Hmm dunno, the below looks more like a logfs issue, given the

Re: [PATCH v3 2/3] mmc: Add realtek USB sdmmc host driver

2014-02-11 Thread Roger
On 02/11/2014 05:50 PM, Ulf Hansson wrote: On 11 February 2014 10:27, Roger wrote: On 02/10/2014 10:58 PM, Ulf Hansson wrote: On 6 February 2014 15:35, wrote: From: Roger Tseng Realtek USB SD/MMC host driver provides mmc host support based on the Realtek USB card reader MFD driver.

Re: [Xen-devel] [GIT PULL] (xen) stable/for-jens-3.14 : NFO: trying to register non-static key. the code is fine but needs lockdep annotation.

2014-02-11 Thread Jens Axboe
On Tue, Feb 11 2014, Konrad Rzeszutek Wilk wrote: > On February 11, 2014 4:44:42 PM EST, Jens Axboe wrote: > >On 2014-02-11 13:21, Sander Eikelenboom wrote: > >> > >> Tuesday, February 11, 2014, 7:21:56 PM, you wrote: > >> > >>> On 11/02/14 18:15, Roger Pau Monné wrote: > On 11/02/14 18:52,

Re: [PATCH 2/2] staging: android: remove unused constant, BINDER_SET_IDLE_PRIORITY

2014-02-11 Thread SeongJae Park
On Wed, Feb 12, 2014 at 5:22 AM, Greg KH wrote: > On Sat, Feb 08, 2014 at 11:59:41AM +0900, SeongJae Park wrote: >> Remove constant BINDER_SET_IDLE_PRIORITY because it is not used from >> anywhere. > >> >> Signed-off-by: SeongJae Park >> --- >> drivers/staging/android/binder.h | 7 +++ >> 1

Re: [Xen-devel] [GIT PULL] (xen) stable/for-jens-3.14 : NFO: trying to register non-static key. the code is fine but needs lockdep annotation.

2014-02-11 Thread Konrad Rzeszutek Wilk
On February 11, 2014 4:44:42 PM EST, Jens Axboe wrote: >On 2014-02-11 13:21, Sander Eikelenboom wrote: >> >> Tuesday, February 11, 2014, 7:21:56 PM, you wrote: >> >>> On 11/02/14 18:15, Roger Pau Monné wrote: On 11/02/14 18:52, David Vrabel wrote: > That would mean that

[PATCH] drm/i915/opregion: work around buggy firmware that provides 8+ output devices

2014-02-11 Thread Aaron Lu
The ACPI table on ASUS UX302LA has more than 8 output devices under the graphics controller device node. The problem is, the real active output device, the LCD panel, is listed the last. The result is, the LCD's device id doesn't get recorded in the active device list CADL array and when the _DCS

[PATCH part1 v6 3/7] PCI: Add support for Device Serial Number capability

2014-02-11 Thread Yijing Wang
Add support for the Device Serial Number capability, so we can use the unique device serial number to identify the physical device. This helps determine whether a device was replaced while the system was suspended. [bhelgaas: changelog, drop pci_dsn_init(), spell out "serial_number"]

[PATCH part1 v6 7/7] PCI: pciehp: Don't enable/disable slot on resume unless status changed

2014-02-11 Thread Yijing Wang
Currently pciehp_resume() always enables the slot if it is occupied. But often the slot was already occupied before the suspend, so we complain like this: pciehp :00:1c.1:pcie04: Device :03:00.0 already exists at :03:00, cannot hot-add pciehp :00:1c.1:pcie04: Cannot add

[PATCH part1 v6 5/7] PCI: Add pci_dummy_ops to isolate pci device temporarily

2014-02-11 Thread Yijing Wang
Pci_dummy_ops does nothing when we use it to read/write pci_device. So we can isolate pci device by replace its bus pci_ops by pci_dummy_ops. This is preparation for the later patch. Signed-off-by: Yijing Wang --- drivers/pci/pci.c | 62 +++

[PATCH part1 v6 0/7] Introduce PCIe Device Serial Number capability support

2014-02-11 Thread Yijing Wang
v5->v6: Add is_frozen flag to protect pci bus from double frozen. This series is based on Bjorn's pci-next branch. Currently, more and more PCIe devices support PCIe DSN(Device Serial Number) capability, we can use this cap to identify device. In some platform, when we hotplug PCIe device, no

[GIT PULL] x86, apic: Remove support for Summit and ES7000

2014-02-11 Thread David Rientjes
Hi Ingo, Peter, and Thomas, [ Be aware of bouncing emails on the cc, it includes the last-known email addresses of the authors of these subarchitectures and may bounce. ] If you agree, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/rientjes/linux.git x86/apic # HEAD:

  1   2   3   4   5   6   7   8   9   10   >