[PATCH 1/3 V2] staging: cxt1e1: Remove useless OS_phystov() and OS_vtophys()

2014-06-29 Thread Daeseok Youn
OS_phystov()/OS_vtophys() are replaced with phys_to_virt()/virt_to_phys(). Signed-off-by: Daeseok Youn --- V2: use virt_to_phys()/phys_to_virt() instead of __pa()/__va(). drivers/staging/cxt1e1/musycc.c | 16 drivers/staging/cxt1e1/pmcc4_drv.c | 12 ++

RE: [PATCH v2 0/14] input: cyapa: re-architecture driver to support multi-trackpads in one driver

2014-06-29 Thread Dudley Du
Hi All, Sorry for the disturb again. The 14 caypa V2 patches I re-sent through 14:41 to 14:45 at 2014/6/30 still have some of them corrupted by the mail server. Please ignore them. I will try to fix them. Thanks, Dudley This message and any attachments may contain Cypress (or its subsidiaries)

linux-next: Tree for Jun 30

2014-06-29 Thread Stephen Rothwell
Hi all, The powerpc allyesconfig is again broken more than usual. Changes since 20140627: The net-next tree gained a build failure so I used the version from next-20140627. The staging tree still had its build failure for which I disabled a driver. Non-merge commits (relative to Linus' tree):

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

2014-06-29 Thread David Miller
From: Stephen Rothwell Date: Mon, 30 Jun 2014 12:47:50 +1000 > Hi all, > > After merging the net-next tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > In file included from include/net/inet_connection_sock.h:23:0, > from include/linux/tcp.h:24, >

Re: ext4: total breakdown on USB hdd, 3.0 kernel

2014-06-29 Thread Pavel Machek
On Sun 2014-06-29 17:04:28, Theodore Ts'o wrote: > On Sun, Jun 29, 2014 at 10:25:16PM +0200, Pavel Machek wrote: > > > > One more thing that I noticed: fsck notices bad checksum on inode, and > > then offers to fix the checksum with 'y' being the default. If there's > > trash in the inode, that wi

Re: [PATCH 1/1] virtio: console: remove unnecessary null test before debugfs_remove_recursive

2014-06-29 Thread Amit Shah
On (Sun) 29 Jun 2014 [10:41:33], Fabian Frederick wrote: > Fix checkpatch warning: > WARNING: debugfs_remove_recursive(NULL) is safe this check is probably not > required > > Cc: Amit Shah > Cc: Arnd Bergmann > Cc: virtualizat...@lists.linux-foundation.org > Signed-off-by: Fabian Frederick Re

[PATCH next-20140627] drivers/staging/media/solo6x10: sparse warning corrections

2014-06-29 Thread Sami Laine
From: Sami Laine Sparse warning correction: CHECK drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c drivers/staging/media/solo6x10/solo6x10-jpeg.h:113:21: warning: symbol 'jpeg_dqt ' was not declared. Should it be static? The symbol jpeg_dqt is used just in solo6x10-v4l2-enc.c, so I think i

[PATCH v2 14/14] input: cyapa: add function to monitor LID close event to off trackpad device

2014-06-29 Thread Dudley Du
Add the function to monitor lid close event to suspend and resume trackpad device. Because system suspend takes some time to trigger from user space, and in that time, the lid panel of the laptop may couple with the active trackpad. This may generate stray input events, which may in turn cancel the

[PATCH v2 12/14] input: cyapa: add gen5 trackpad device baseline and calibrate functions supported

2014-06-29 Thread Dudley Du
Add report baseline and force calibrate functions supported for gen5 trackpad device, which these functions are supplied through cyapa core baseline and calibrate interfaces. TEST=test on Chomebooks. Signed-off-by: Du, Dudley --- diff --git a/drivers/input/mouse/cyapa_gen5.c b/drivers/input/mouse

[PATCH v2 13/14] input: cyapa: add gen5 trackpad device read firmware image and raw data functions supported

2014-06-29 Thread Dudley Du
Add read firmware image function supported for gen5 trackpad device, which its function is supplied through cyapa core read_fw interface. Through this interface, upper layer application can read out, check and backup the firmware image in trackpad device before updated with new one when new firmwar

Re: [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2014-06-29 Thread Jan Kiszka
On 2014-06-30 04:04, Hui Wang wrote: > On 06/29/2014 07:33 PM, Jan Kiszka wrote: >> On 2013-11-27 07:47, Hui Wang wrote: >>> Most Thinkpad Edge series laptops use conexant codec, so far although >>> the codecs have different minor Vendor Id and minor Subsystem Id, >>> they all belong to the cxt5066

[PATCH v2 11/14] input: cyapa: add gen5 trackpad device firmware update function supported

2014-06-29 Thread Dudley Du
Add firmware image update function supported for gen5 trackpad device, which its function is supplied through cyapa core update_fw interface. TEST=test on Chomebooks. Signed-off-by: Du, Dudley --- diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig index 6b8441f..e484569 100644

[PATCH v2 9/14] input: cyapa: add gen3 trackpad device read firmware image function supported

2014-06-29 Thread Dudley Du
Add read firmware image function supported for gen3 trackpad device, which its function is supplied through cyapa core read_fw interface. TEST=test on Chomebooks. Signed-off-by: Du, Dudley --- diff --git a/drivers/input/mouse/cyapa_gen3.c b/drivers/input/mouse/cyapa_gen3.c index 9ffdbc1..e903e62

[PATCH v2 7/14] input: cyapa: add gen3 trackpad device firmware update function supported

2014-06-29 Thread Dudley Du
Add firmware image update function supported for gen3 trackpad device, which its function is supplied through cyapa core update_fw interface. TEST=test on Chomebooks. Signed-off-by: Du, Dudley --- diff --git a/drivers/input/mouse/cyapa_gen3.c b/drivers/input/mouse/cyapa_gen3.c index 5345a9e..a3e1

[PATCH v2 8/14] input: cyapa: add gen3 trackpad device baseline and calibrate functions supported

2014-06-29 Thread Dudley Du
Add report baseline and force calibrate functions supported for gen3 trackpad device, which these functions are supplied through cyapa core baseline and calibrate interfaces. TEST=test on Chomebooks. Signed-off-by: Du, Dudley --- diff --git a/drivers/input/mouse/cyapa_gen3.c b/drivers/input/mouse

Re: [PATCH] Fixes gemmi_idle in file idle.c

2014-06-29 Thread Arnd Bergmann
On Sunday 29 June 2014 22:52:40 Nicholas Krause wrote: > disables the IRQ line in gemmi_idle before calling cpu_do_idle. > In addition, according to the Fixme message in this file fixes > races that may occur due to not disabling the IRQ before calling > cpu_do_idle. > > Signed-off-by: Nicholas Kr

[PATCH v2 6/14] input: cyapa: add gen3 trackpad device basic functions supported

2014-06-29 Thread Dudley Du
Based on the cyapa core, add the gen3 trackpad device's basic functions supported, so gen3 trackpad device can work with kernel input system. The basic function is absolutely same as previous cyapa driver only support gen3 trackpad device. TEST=test on Chomebooks. Signed-off-by: Du, Dudley --- di

[PATCH v2 5/14] input: cyapa: add read firmware image and raw data interfaces in debugfs system

2014-06-29 Thread Dudley Du
Add read_fw and raw_data debugfs interfaces for easier issues location and collection when report by user. TEST=test on Chomebooks. Signed-off-by: Du, Dudley --- diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c index 3b80de6..b5dc9f9 100644 --- a/drivers/input/mouse/cyapa.c

[PATCH v2 4/14] input: cyapa: add cyapa key function interfaces in sysfs system

2014-06-29 Thread Dudley Du
Add key basic function interfaces in cyapa driver in sysfs system, these interfaces are commonly used in pre- and after production, and for trackpad device state checking, manage and firmware image updating. These interfaces including firmware_version and product_id interfaces for reading firmware

[PATCH v2 3/14] input: cyapa: add cyapa driver runtime power management interfaces supported

2014-06-29 Thread Dudley Du
Add runtime_suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the runtime power management strategy of trackpad device as their requirements. TEST=test on Chomebooks. Signed-off-by: Du, Dudley --- diff --git a/drivers/input/mouse/cyapa.c

Re: [PATCH] usb: gadget: serial: replace hardcoded ttyGS with PREFIX

2014-06-29 Thread Richard Leitner
Hello, thanks for your reply! On Fri, 27 Jun 2014 10:46:28 -0700 Greg Kroah-Hartman wrote: > On Fri, Jun 27, 2014 at 01:37:21PM +0200, Richard Leitner wrote: > > Replace all hardcoded ttyGS strings with the PREFIX macro. > > Why? Because IMHO if PREFIX is available it should be used everywhere

[PATCH v2 2/14] input: cyapa: add cyapa driver power management interfaces supported

2014-06-29 Thread Dudley Du
Add suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the power management strategy of trackpad device as their requirements. TEST=test on Chomebooks. Signed-off-by: Du, Dudley --- diff --git a/drivers/input/mouse/cyapa.c b/drivers/input

[PATCH v2 0/14] input: cyapa: re-architecture driver to support multi-trackpads in one driver

2014-06-29 Thread Dudley Du
This patch set is made based on kernel 3.15.0-rc8. It's aimed to re-architecture the cyapa driver to support old gen3 trackpad device and new gen5 trackpad device in one cyapa driver for easily productions support based on customers' requirements, and add sysfs functions and interfaces supported th

Re: [PATCH v3 4/9] ACPI, x86: Extended error log driver for x86 platform

2014-06-29 Thread Xie XiuQi
On 2014/6/28 6:10, Luck, Tony wrote: >>> Not all machine checks are fatal - it would be bad for us to go into >>> an infinite spin instead of executing the recovery code. >> >> Then for the time being extlog shouldn't hook into the decoder chain >> but into mce_process_work, i.e. the last should ca

[PATCH] hyperv: remove meaningless pr_err() in vmbus_recvpacket_raw()

2014-06-29 Thread Jason Wang
All its callers depends on the return value of -ENOBUFS to reallocate a bigger buffer and retry the receiving. So there's no need to call pr_err() here since it was not a real issue, otherwise syslog will be flooded by this false warning. Cc: K. Y. Srinivasan Cc: Haiyang Zhang Signed-off-by: Jas

[PATCH] powerpc/powernv: Check for IRQHAPPENED before sleeping

2014-06-29 Thread Preeti U Murthy
Commit 8d6f7c5a: "powerpc/powernv: Make it possible to skip the IRQHAPPENED check in power7_nap()" added code that prevents even cores which enter sleep on idle, from checking for pending interrupts. Fix this. Signed-off-by: Preeti U Murthy --- arch/powerpc/kernel/idle_power7.S |2 +- 1 fil

[PATCH next-20140627] drivers/staging/rts5208/rtsx.c: sparse warning corrections

2014-06-29 Thread Sami Laine
From: Sami Laine Sparse warning corrections for incorrect printk format characters. Signed-off-by: Sami Laine --- diff --git a/drivers/staging/rts5208/rtsx.c b/drivers/staging/rts5208/rtsx.c index c0a0e60..e0e8693 100644 --- a/drivers/staging/rts5208/rtsx.c +++ b/drivers/staging/rts5208/rtsx.c

RE: Oops: 17 SMP ARM (v3.16-rc2)

2014-06-29 Thread Fredrik Noring
Hi Russell, > -Original Message- > It's not that serious... I know that the FEC ethernet driver is horrendously > racy (I have had a patch set for about the last six months which fixes some of > its problems) but as I've had a lot of patches to deal with, and it's been > pushed to the back

Re: [PATCH 4/4] tracing/uprobes: Fix the usage of uprobe_buffer_enable() in probe_event_enable()

2014-06-29 Thread Namhyung Kim
On Fri, 27 Jun 2014 19:01:46 +0200, Oleg Nesterov wrote: > The usage of uprobe_buffer_enable() added by dcad1a20 is very wrong, > > 1. uprobe_buffer_enable() and uprobe_buffer_disable() are not balanced, >_enable() should be called only if !enabled. > > 2. If uprobe_buffer_enable() fails probe_

[Resend PATCH 3/3] x86/pmc_atom: expose PMC device state and platform sleep state

2014-06-29 Thread Li, Aubrey
Add the following interfaces to exposes PMC device state and sleep state residency via debugfs: /sys/kernel/debugfs/pmc_atom/dev_state /sys/kernel/debugfs/pmc_atom/sleep_state Signed-off-by: Aubrey Li Signed-off-by: Kasagar, Srinidhi Reviewed-by: Rudramuni, Vishwesh M Reviewed-b

[Resend PATCH 2/3] x86/pmc_atom: disable a few S0ix wake up events for S0ix residency

2014-06-29 Thread Li, Aubrey
Disable PMC S0IX_WAKE_EN events coming from LPC block(unused) and also from GPIO_SUS ored dedicated IRQs (must be disabled as per PMC programming rule), GPIOSCORE ored dedicated IRQs (must be disabled as per PMC programming rule), GPIO_SUS shared IRQ (not necessary since the IOAPIC_DS wake event wi

[Resend PATCHv3 1/3] X86 platform: New Intel Atom SOC power management controller driver

2014-06-29 Thread Li, Aubrey
The Power Management Controller (PMC) controls many of the power management features present in the Atom SoC. This driver provides a native power off function via PMC PCI IO port. On some ACPI hardware-reduced platforms(e.g. ASUS-T100), ACPI sleep registers are not valid so that (*pm_power_off)()

[Resend PATCHv3 0/3] x86: new Intel atom SOC power management controller driver

2014-06-29 Thread Li, Aubrey
From: Aubrey Li The Power Management Controller (PMC) controls many of the power management features present in the SoC. This driver provides the power off functionality and s0ix residency control, also provides the SOC device state and platform sleep state observation via debugfs. v3: - split t

Re: [PATCH 1/4] tracing/uprobes: Revert "Support mix of ftrace and perf"

2014-06-29 Thread Namhyung Kim
Hi Oleg, On Fri, 27 Jun 2014 19:01:36 +0200, Oleg Nesterov wrote: > This reverts commit 43fe98913c9f67e3b523615ee3316f9520a623e0. > > This patch is very wrong. Firstly, this change leads to unbalanced > uprobe_unregister(). Just for example, > > # perf probe -x /lib/libc.so.6 syscall >

Re: [PATCH 3/4] tracing/uprobes: Kill the bogus UPROBE_HANDLER_REMOVE code in uprobe_dispatcher()

2014-06-29 Thread Namhyung Kim
On Fri, 27 Jun 2014 19:01:43 +0200, Oleg Nesterov wrote: > I do not know why dd9fa555d7bb "tracing/uprobes: Move argument fetching > to uprobe_dispatcher()" added the UPROBE_HANDLER_REMOVE, but it looks > wrong. > > OK, perhaps it makes sense to avoid store_trace_args() if the tracee is > nacked by

Re: [RFC PATCH 1/1] Move two pinned pages to non-movable node in kvm.

2014-06-29 Thread Gleb Natapov
On Mon, Jun 30, 2014 at 09:45:32AM +0800, Tang Chen wrote: > On 06/21/2014 04:39 AM, Marcelo Tosatti wrote: > >On Fri, Jun 20, 2014 at 05:31:46PM -0300, Marcelo Tosatti wrote: > >>>IIRC your shadow page pinning patch series support flushing of ptes > >>>by mmu notifier by forcing MMU reload and, as

Re: [RESEND 2/2] clk: Add driver for Palmas clk32kg and clk32kgaudio clocks

2014-06-29 Thread Peter Ujfalusi
Hi Javier, On 06/27/2014 09:23 PM, Javier Martinez Canillas wrote: > Hello Peter, > > On Fri, Jun 27, 2014 at 8:01 AM, Peter Ujfalusi wrote: >> Palmas class of devices can provide 32K clock(s) to be used by other devices >> on the board. Depending on the actual device the provided clocks can be:

Re: [PATCH 2/4] uprobes: Change unregister/apply to WARN() if uprobe/consumer is gone

2014-06-29 Thread Namhyung Kim
On Fri, 27 Jun 2014 19:01:40 +0200, Oleg Nesterov wrote: > Add WARN_ON's into uprobe_unregister() and uprobe_apply() to ensure > that nobody tries to play with the dead uprobe/consumer. This helps > to catch the bugs like the one fixed by the previous patch. > > In the longer term we should fix thi

Re: [PATCH 2/3] staging: cxt1e1: count fragmented packet properly.

2014-06-29 Thread DaeSeok Youn
2014-06-30 6:22 GMT+09:00 Greg KH : > On Fri, Jun 27, 2014 at 06:56:08PM +0900, Daeseok Youn wrote: >> OS_mem_token_tlen() is same return value as OS_mem_token_len(). >> That means packet count is always 1. So OS_mem_token_tlen() >> must be total length of packet and OS_mem_token_len() has a >> len

Re: [PATCH] regmap: Fix debugfs-file 'registers' mode

2014-06-29 Thread Uwe Kleine-König
Hi Markus, On Sat, Jun 28, 2014 at 03:23:11PM +0200, Markus Pargmann wrote: > The macro "REGMAP_ALLOW_WRITE_DEBUGFS" can be used to enable write minor nit: I'd not call it "macro", but "cpp symbol" because macro sounds more function-like. (There is another "macro" at the end of the commit log.) >

Re: [PATCH 1/3] staging: cxt1e1: Remove useless OS_phystov() and OS_vtophys()

2014-06-29 Thread DaeSeok Youn
Hi, Greg. 2014-06-30 6:21 GMT+09:00 Greg KH : > On Fri, Jun 27, 2014 at 06:52:26PM +0900, Daeseok Youn wrote: >> OS_phystov()/OS_vtophys() are replaced with __va()/__pa(). > > No, you should use virt_to_phys() and phys_to_virt() instead of these > internal macros which might not be correct for all

[PATCH] udf: avoid redundant memcpy when writing data in ICB

2014-06-29 Thread Chao Yu
We have already copied the changed data of page to extent area in ICB when call ->write_end() of adinicb aops, so we do not need to copy them another time in ->writepage() of adinicb aops. SetPageUptodate is redundant too, so it's better to remove these redundant codes. Also it looks more reasonab

Re: [crypto] BUG: unable to handle kernel paging request at ffff88000bb88000

2014-06-29 Thread Fengguang Wu
Hi Stephan, On Sun, Jun 29, 2014 at 09:45:48PM +0200, Stephan Mueller wrote: > Am Sonntag, 29. Juni 2014, 22:52:46 schrieb Fengguang Wu: > > Hi Fengguang, > > > Greetings, > > > > 0day kernel testing robot got the below dmesg and the first bad commit is > > May I ask whether there is anything

Re: [PATCH 3/6] mmu_notifier: add event information to address invalidation v2

2014-06-29 Thread John Hubbard
On Fri, 27 Jun 2014, Jérôme Glisse wrote: > From: Jérôme Glisse > > The event information will be usefull for new user of mmu_notifier API. > The event argument differentiate between a vma disappearing, a page > being write protected or simply a page being unmaped. This allow new > user to take

Re: [PATCH 1/1] ARM: dts: zynq: Add Parallella device tree

2014-06-29 Thread Olof Johansson
Hi, On Sun, Jun 29, 2014 at 1:50 PM, Andreas Färber wrote: > This allows to boot the Adapteva Parallella board to serial console. > > Cc: Andreas Olofsson > Signed-off-by: Andreas Färber Nice and clean DTS, just a couple of comments below. > diff --git a/arch/arm/boot/dts/zynq-parallella.dts

Re: [PATCH] regulator: tps65917: Fix SMPS enable/disable/is_enable

2014-06-29 Thread Keerthy
Hi Nishanth, On Friday 27 June 2014 10:45 PM, Nishanth Menon wrote: On 14:48-20140627, Keerthy wrote: Hello Nishanth, On Friday 27 June 2014 12:01 AM, Nishanth Menon wrote: We use regmap regulator ops to enable/disable and check if regulator is enabled for various SMPS. However, these depend

RE: [RESEND PATCH] memory: Freescale CoreNet Coherency Fabric error reporting driver

2014-06-29 Thread bharat.bhus...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, June 04, 2014 10:38 PM > To: Bhushan Bharat-R65777 > Cc: Greg Kroah-Hartman; linuxppc-...@lists.ozlabs.org; linux- > ker...@vger.kernel.org > Subject: Re: [RESEND PATCH] memory: Freescale CoreNet Coherency Fabric error > re

Re: [PATCH] cpufreq: make table sentinal macros unsigned to match use

2014-06-29 Thread Viresh Kumar
On 28 June 2014 02:39, Brian W Hart wrote: > Commit 5eeaf1f18973 (cpufreq: Fix build error on some platforms that > use cpufreq_for_each_*) moved function cpufreq_next_valid() to a public > header. Warnings are now generated when objects including that header > are built with -Wsign-compare (as a

Re: [PATCH 2/2] cpufreq: cpu0: Extend support beyond CPU0

2014-06-29 Thread Viresh Kumar
On 28 June 2014 20:22, Shawn Guo wrote: > Thanks for all the effort on maintaining and improving cpufreq-cpu0 > driver. You're welcome.. > Your patch rewrote the most part of the driver, so I'd like to > hand over the driver to you. Please add yourself as the primary person > for MODULE_AUTHOR.

[PATCH] Fixes return issues in uic_init_one

2014-06-29 Thread Nicholas Krause
This patch fixes the FIXME messages for returning a ENOMEM error if uic is not allocated and if uic->irqhost is not allocated a IRQ domain that is linear returns EIO. Signed-off-by: Nicholas Krause --- arch/powerpc/sysdev/uic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --gi

Re: [PATCH v5 05/14] clk: Add generic driver for Maxim PMIC clocks

2014-06-29 Thread Yadwinder Singh Brar
Hi Javier, On Thu, Jun 26, 2014 at 11:45 PM, Javier Martinez Canillas wrote: > Maxim Integrated Power Management ICs are very similar with > regard to their clock outputs. Most of the clock drivers for > these chips are duplicating code and are simpler enough that > can be converted to use a gene

Re: [PATCH 2/6] mm: differentiate unmap for vmscan from other unmap.

2014-06-29 Thread John Hubbard
On Fri, 27 Jun 2014, Jérôme Glisse wrote: > From: Jérôme Glisse > > New code will need to be able to differentiate between a regular unmap and > an unmap trigger by vmscan in which case we want to be as quick as possible. > > Signed-off-by: Jérôme Glisse > --- > include/linux/rmap.h | 15

[PATCH v3 3/3] cgroup: fix a race between cgroup_mount() and cgroup_kill_sb()

2014-06-29 Thread Li Zefan
We've converted cgroup to kernfs so cgroup won't be intertwined with vfs objects and locking, but there are dark areas. Run two instances of this script concurrently: for ((; ;)) { mount -t cgroup -o cpuacct xxx /cgroup umount /cgroup } After a while, I saw two mount

Re: [RFC PATCH] bio-integrity: add "bip_max_vcnt" into struct bio_integrity_payload

2014-06-29 Thread Gu Zheng
Hi Martin, On 06/30/2014 07:15 AM, Martin K. Petersen wrote: >> "Gu" == Gu Zheng writes: > > [Sorry about the delay. I'm on vacation right now.] > > Gu> But it seems that bip_integrity_vecs() will return the wrong number > Gu> if the bio is not based on any bio_set for some reason(bio->bi_p

[PATCH v3 2/3] kernfs: introduce kernfs_pin_sb()

2014-06-29 Thread Li Zefan
kernfs_pin_sb() tries to get a refcnt of the superblock. This will be used by cgroupfs. v2: - make kernfs_pin_sb() return the superblock. - drop kernfs_drop_sb(). [ This is a prerequisite for a bugfix. ] Cc: # 3.15 Acked-by: Greg Kroah-Hartman Signed-off-by: Li Zefan --- fs/kernfs/mount.c

[PATCH v3 1/3] cgroup: fix mount failure in a corner case

2014-06-29 Thread Li Zefan
# cat test.sh #! /bin/bash mount -t cgroup -o cpu xxx /cgroup umount /cgroup mount -t cgroup -o cpu,cpuacct xxx /cgroup umount /cgroup # ./test.sh mount: xxx already mounted or /cgroup busy mount: according to mtab, xxx is already mounted on /cgroup It's because the cgroupfs_ro

Re: [PATCH 1/6] mmput: use notifier chain to call subsystem exit handler.

2014-06-29 Thread John Hubbard
On Fri, 27 Jun 2014, Jérôme Glisse wrote: > From: Jérôme Glisse > > Several subsystem require a callback when a mm struct is being destroy > so that they can cleanup there respective per mm struct. Instead of > having each subsystem add its callback to mmput use a notifier chain > to call each o

[BUG] cpuset: lockdep warning

2014-06-29 Thread Li Zefan
Hi Tejun, In this lockdep warning kernfs and workqueue are involved, so I'm not sure what's happening here. This was triggered when tasks were being moved to parent cpuset due to hotplug. The kernel is 3.16-rc1, with no modification. localhost:/ # mount -t cgroup -o cpuset xxx /cpuset localhost

Re: [PATCH v2 2/2] usb: chipidea: Add support for zynq usb host and device controller

2014-06-29 Thread punnaiah choudary kalluri
On Sat, Jun 28, 2014 at 11:16 AM, Peter Chen wrote: > On Fri, Jun 27, 2014 at 02:55:15PM +0200, Michael Grzeschik wrote: >> Hi, >> >> On Fri, Jun 27, 2014 at 04:53:53PM +0530, Punnaiah Choudary Kalluri wrote: >> > Zynq soc uses Chipidea/Synopsys usb IP core(CI13612). This patch adds >> > necessary

Re: [PATCH v2] clk: s2mps11: Fix double free corruption during driver unbind

2014-06-29 Thread Yadwinder Singh Brar
On Fri, Jun 27, 2014 at 5:51 PM, Krzysztof Kozlowski wrote: > After unbinding the driver memory was corrupted by double free of > clk_lookup structure. This lead to OOPS when re-binding the driver > again. > > The driver allocated memory for 'clk_lookup' with devm_kzalloc. During > driver removal

Re: [PATCH v2 2/2] usb: chipidea: Add support for zynq usb host and device controller

2014-06-29 Thread punnaiah choudary kalluri
On Fri, Jun 27, 2014 at 6:25 PM, Michael Grzeschik wrote: > Hi, > > On Fri, Jun 27, 2014 at 04:53:53PM +0530, Punnaiah Choudary Kalluri wrote: >> Zynq soc uses Chipidea/Synopsys usb IP core(CI13612). This patch adds >> necessary glue to allow the chipidea driver to work on zynq soc. >> > > Did you

Re: [PATCH 4/6] mmu_notifier: pass through vma to invalidate_range and invalidate_page

2014-06-29 Thread John Hubbard
On Fri, 27 Jun 2014, Jérôme Glisse wrote: > From: Jérôme Glisse > > New user of the mmu_notifier interface need to lookup vma in order to > perform the invalidation operation. Instead of redoing a vma lookup > inside the callback just pass through the vma from the call site where > it is already

Re: [PATCH v2 1/2] usb: chipidea: zynq: Add device tree binding information

2014-06-29 Thread punnaiah choudary kalluri
On Fri, Jun 27, 2014 at 5:53 PM, Sergei Shtylyov wrote: > Hello. > > > On 06/27/2014 03:23 PM, Punnaiah Choudary Kalluri wrote: > >> Document device tree binding information as required by >> the ZYNQ USB controller. > > >> Signed-off-by: Punnaiah Choudary Kalluri > > [...] > > >> diff --git a/Do

Re: [PATCH 1/1] staging: media: msi3101: sdr-msi3101.c - replace with time_before_eq()

2014-06-29 Thread Anil Shashikumar Belur
On Monday 30 June 2014 12:47 AM, Antti Palosaari wrote: > Moikka! > That is already fixed by someone else and patch is somewhere Mauro or > Hans queue. > > regards > Antti > Moikka :) Ah no worries - I could not find the changes with the latest updates. Thanks -- To unsubscribe from this list: s

[PATCH 1/1] script/kconfig: remove a warning for menucofig

2014-06-29 Thread Li, Zhen-Hua
There is a warning when run "make menuconfig". scripts/kconfig/menu.c: In function ‘get_symbol_str’: scripts/kconfig/menu.c:591:18: warning: ‘jump’ may be used uninitialized in this function [-Wmaybe-uninitialized] jump->offset = strlen(r->s); ^ scripts/kconfig/menu.c:551:19

Re: [PATCH v4] [BUGFIX] kprobes: Fix "Failed to find blacklist" error on ia64 and ppc64

2014-06-29 Thread Masami Hiramatsu
Ping? :) (2014/06/20 11:23), Masami Hiramatsu wrote: > On ia64 and ppc64, the function pointer does not point the > entry address of the function, but the address of function > discriptor (which contains the entry address and misc > data.) Since the kprobes passes the function pointer stored > by

Re: [RFC][PATCH] gpu:drm:i915:intel_detect_pch: back to check devfn instead of check class type

2014-06-29 Thread Chen, Tiejun
On 2014/6/25 15:55, Paolo Bonzini wrote: Il 25/06/2014 09:34, Chen, Tiejun ha scritto: On 2014/6/25 14:48, Paolo Bonzini wrote: Second problem. Your IGD passthrough code currently works with QEMU's PIIX4-based machine. But what happens if you try to extend it, so that Yes, current xen machi

Re: [RFA][PATCH 00/27] ftrace: Remove ftrace_start/stop() and friends

2014-06-29 Thread Masami Hiramatsu
(2014/06/27 1:52), Steven Rostedt wrote: > * Request for Acks * > >>From the time I created the use of function_trace_stop, I hated it. > There was two reasons to create this, one was to try to lower the > function tracing overhead when debugfs file tracing_enable was set to zero > (note, tracing_

[PATCH] Fixes q40_irq_startup to return -ENXIO

2014-06-29 Thread Nicholas Krause
Fixes q40_irq_startup to return -ENXIO for cases 11-13 in the switch statement of this function to handle these failure cases. Signed-off-by: Nicholas Krause --- arch/m68k/q40/q40ints.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/q40/q40ints.c b/arch/m68k/q40/q4

[PATCH v4 4/4] iio: hid-sensor-magn-3d: Add support for rotation from north

2014-06-29 Thread Reyad Attiyat
Add the HID usage attribute ID's and IIO channel info for rotation from north support. Signed-off-by: Reyad Attiyat --- drivers/iio/magnetometer/hid-sensor-magn-3d.c | 58 ++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/drivers/iio/magnetometer/hid-senso

[PATCH v4 3/4] iio: hid-sensor-magn-3d: Scan for usage attributes before setting up iio channels

2014-06-29 Thread Reyad Attiyat
Scan for and count the HID usage attributes supported by the driver. This allows for the driver to only setup the IIO channels for the sensor usages present in the HID USB reports. Signed-off-by: Reyad Attiyat --- drivers/iio/magnetometer/hid-sensor-magn-3d.c | 111 +- 1

[PATCH v4 2/4] iio: types: Added support for rotation from north usage attributes

2014-06-29 Thread Reyad Attiyat
Added the rotation from north usage attributes to the iio modifier enum and to the iio modifier names array. Signed-off-by: Reyad Attiyat --- drivers/iio/industrialio-core.c | 4 include/linux/iio/types.h | 4 2 files changed, 8 insertions(+) diff --git a/drivers/iio/industrial

[PATCH v4 1/4] iio: Documentation: Add documentation for rotation from north sensor usage attributes

2014-06-29 Thread Reyad Attiyat
Added documentation for the sysfs attributes supported by the rotation from north sensor. Signed-off-by: Reyad Attiyat --- Documentation/ABI/testing/sysfs-bus-iio | 82 + 1 file changed, 82 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Do

[PATCH v4 0/4] Add support for rotation from north to the hid-sensor-magn-3d driver

2014-06-29 Thread Reyad Attiyat
This version of patches tries to make smaller changes to the magn-3d driver. It scans for usages present in the magn_3d_addresses array. It then allocates memory for the IIO channel structs and value arrays that are used in the IIO subsystem. It sets-up each IIO channel struct by copying the value

[PATCHv3 3/3] x86/pmc_atom: expose PMC device state and platform sleep state

2014-06-29 Thread Li, Aubrey
Add the following interfaces to exposes PMC device state and sleep state residency via debugfs: /sys/kernel/debugfs/pmc_atom/dev_state /sys/kernel/debugfs/pmc_atom/sleep_state Signed-off-by: Aubrey Li Signed-off-by: Kasagar, Srinidhi Reviewed-by: Rudramuni, Vishwesh M Reviewed-b

[PATCH 1/2] zram: use size_t instead of u16

2014-06-29 Thread Minchan Kim
Some of arch(ex, hexagon and PowerPC) could use PAGE_SHIFT as 16 above. In the case, u16 is is lack of representing compressed page's size so use size_t. Reported-by: Weijie Yang Signed-off-by: Minchan Kim --- drivers/block/zram/zram_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCHv3 2/3] x86/pmc_atom: disable a few S0ix wake up events for S0ix, residency

2014-06-29 Thread Li, Aubrey
Disable PMC S0IX_WAKE_EN events coming from LPC block(unused) and also from GPIO_SUS ored dedicated IRQs (must be disabled as per PMC programming rule), GPIOSCORE ored dedicated IRQs (must be disabled as per PMC programming rule), GPIO_SUS shared IRQ (not necessary since the IOAPIC_DS wake event wi

[PATCHv3 1/3] X86 platform: New Intel Atom SOC power management, controller driver

2014-06-29 Thread Li, Aubrey
The Power Management Controller (PMC) controls many of the power management features present in the Atom SoC. This driver provides a native power off function via PMC PCI IO port. On some ACPI hardware-reduced platforms(e.g. ASUS-T100), ACPI sleep registers are not valid so that (*pm_power_off)()

[PATCH 2/2] zram: remove global tb_lock with fine grain lock

2014-06-29 Thread Minchan Kim
From: Weijie Yang Currently, we use a rwlock tb_lock to protect concurrent access to the whole zram meta table. However, according to the actual access model, there is only a small chance for upper user to access the same table[index], so the current lock granularity is too big. The idea of opti

[PATCH] Fixes gemmi_idle in file idle.c

2014-06-29 Thread Nicholas Krause
disables the IRQ line in gemmi_idle before calling cpu_do_idle. In addition, according to the Fixme message in this file fixes races that may occur due to not disabling the IRQ before calling cpu_do_idle. Signed-off-by: Nicholas Krause --- arch/arm/mach-gemini/idle.c | 3 +-- 1 file changed, 1 i

[PATCHv3 0/3] x86: new Intel atom SOC power management controller driver

2014-06-29 Thread Li, Aubrey
From: Aubrey Li The Power Management Controller (PMC) controls many of the power management features present in the SoC. This driver provides the power off functionality and s0ix residency control, also provides the SOC device state and platform sleep state observation via debugfs. v3: - split t

Re: [PATCH 1/3] staging: cxt1e1: Remove useless OS_phystov() and OS_vtophys()

2014-06-29 Thread Greg KH
On Fri, Jun 27, 2014 at 06:52:26PM +0900, Daeseok Youn wrote: > OS_phystov()/OS_vtophys() are replaced with __va()/__pa(). No, you should use virt_to_phys() and phys_to_virt() instead of these internal macros which might not be correct for all architectures. thanks, greg k-h -- To unsubscribe fr

Re: [PATCH TRIVIAL] thermal: cpu_cooling: fix typo highjack -> hijack

2014-06-29 Thread Zhang Rui
On Wed, 2014-06-25 at 18:11 +0100, Javi Merino wrote: > Cc: Eduardo Valentin > Cc: Zhang Rui > Signed-off-by: Javi Merino applied, thanks! -rui > --- > drivers/thermal/cpu_cooling.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/thermal/cpu_cooling.c b/drive

Re: [PATCH 2/3] staging: cxt1e1: count fragmented packet properly.

2014-06-29 Thread Greg KH
On Fri, Jun 27, 2014 at 06:56:08PM +0900, Daeseok Youn wrote: > OS_mem_token_tlen() is same return value as OS_mem_token_len(). > That means packet count is always 1. So OS_mem_token_tlen() > must be total length of packet and OS_mem_token_len() has a > length of fragmented packet. And then it can

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

2014-06-29 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: In file included from include/net/inet_connection_sock.h:23:0, from include/linux/tcp.h:24, from include/net/tcp.h:24, from net/ipv4/tcp

Re: [PATCH 2/2] workqueue: stronger test in process_one_work()

2014-06-29 Thread Lai Jiangshan
Ping. Thanks, Lai On 06/26/2014 07:27 PM, Lai Jiangshan wrote: > On 06/20/2014 03:44 AM, Tejun Heo wrote: >> On Tue, Jun 03, 2014 at 03:33:28PM +0800, Lai Jiangshan wrote: >>> When POOL_DISASSOCIATED is cleared, the running worker's local CPU should >>> be the same as pool->cpu without any except

Re: Cleanup of Kernel Bugzilla

2014-06-29 Thread Nick Krause
If that is true , it may be a good idea to get me or someone to write a text file like maintainers that is used to keep track of open bugs by subsystem in the main kernel directory. Cheers Nick On Sun, Jun 29, 2014 at 5:32 PM, Theodore Ts'o wrote: > On Sun, Jun 29, 2014 at 09:21:46AM +0200, Leven

Re: [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2014-06-29 Thread Hui Wang
On 06/29/2014 07:33 PM, Jan Kiszka wrote: On 2013-11-27 07:47, Hui Wang wrote: Most Thinkpad Edge series laptops use conexant codec, so far although the codecs have different minor Vendor Id and minor Subsystem Id, they all belong to the cxt5066 family, this change can make the mute/mic-mute LED

Re: [PATCH] FIXME of file toploogy.h for alpha cpus

2014-06-29 Thread Nick Krause
Sorry Sasha , I will rewrite and test this patch before I send it in. Cheers Nick On Sun, Jun 29, 2014 at 4:24 PM, Sasha Levin wrote: > On 06/28/2014 11:03 PM, Nick Krause wrote: >> I thought I compiled tested it maybe not. I thought M= would work for >> alpha directory but maybe I have to enable

Re: [PATCHv5 0/4] iio: adc: exynos_adc: Support Exynos3250 ADC and code clean

2014-06-29 Thread Chanwoo Choi
Dear Kukjin, On 06/29/2014 08:50 PM, Jonathan Cameron wrote: > On 27/06/14 05:30, Chanwoo Choi wrote: >> Changes from v4: >> - Use 'exynos_adc_data' structure instead of 'exynos_adc_ops' structure >>and remove enum variable of ADC version >> - Fix wrong name of special clock (sclk_tsadc -> scl

Re: [RFC PATCH 1/1] Move two pinned pages to non-movable node in kvm.

2014-06-29 Thread Tang Chen
On 06/21/2014 04:39 AM, Marcelo Tosatti wrote: On Fri, Jun 20, 2014 at 05:31:46PM -0300, Marcelo Tosatti wrote: IIRC your shadow page pinning patch series support flushing of ptes by mmu notifier by forcing MMU reload and, as a result, faulting in of pinned pages during next entry. Your patch s

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-29 Thread Chen Gang
On 06/27/2014 06:12 PM, Chen Gang wrote: > On 06/25/2014 08:28 AM, Chen Gang wrote: >> On 06/24/2014 10:44 PM, Guenter Roeck wrote: >>> On 06/24/2014 06:24 AM, Chen Gang wrote: On 06/23/2014 11:03 AM, Chen Gang wrote: > On 06/22/2014 11:02 PM, Guenter Roeck wrote: >> On 06/22/2014 07:5

Re: [PATCH v2 1/3] cgroup: fix mount failure in a corner case

2014-06-29 Thread Li Zefan
On 2014/6/28 19:58, Tejun Heo wrote: > Hello, Li. > > On Fri, Jun 27, 2014 at 05:13:12PM +0800, Li Zefan wrote: >> +for_each_subsys(ss, i) { >> +if (!(opts.subsys_mask & (1 << i)) || >> +ss->root == &cgrp_dfl_root) >> +continue; >> + >> +

Re: [Patch V3 5/5] I2C/ACPI: Clean up I2C ACPI code and Add CONFIG_I2C_ACPI config

2014-06-29 Thread Lan Tianyu
On 2014年06月27日 19:03, Wolfram Sang wrote: > On Tue, May 20, 2014 at 08:59:24PM +0800, Lan Tianyu wrote: >> Clean up ACPI related code in the i2c core and add CONFIG_I2C_ACPI >> to enable I2C ACPI code. >> >> Current there is a race between removing I2C ACPI operation region >> and ACPI AML code acc

Re: [PATCH] Fix backlight control for Acer TravelMate B113

2014-06-29 Thread Aaron Lu
On 06/29/2014 04:42 PM, Martin Kepplinger wrote: > Am 2014-06-23 22:30, schrieb Martin Kepplinger: >> Fix backlight control for Acer TravelMate B113 Laptop by adding >> it to the video_dmi_table. >> >> A workaround before that was to use acpi_osi=Linux or >> acpi_backlight=vendor on boot but even t

[PATCH] [sched] Don't account time after deadline twice

2014-06-29 Thread Zhihui Zhang
Unless we want to double-penalize an overrun task, the time after the deadline and before the current time is already accounted in the negative dl_se->runtime value. So we can leave it as is in the case of dmiss && rorun. Signed-off-by: Zhihui Zhang --- kernel/sched/deadline.c | 6 ++ 1 file

Re: [PATCH] usb: usb3503: return correct error return on failure

2014-06-29 Thread Jingoo Han
On Monday, June 30, 2014 6:43 AM, Colin King wrote: > > From: Colin Ian King > > Fix warning: drivers/usb/misc/usb3503.c:195:11: warning: 'err' > may be used uninitialized in this function [-Wmaybe-uninitialized] > > err is not initialized, the error return should be PTR_ERR(clk) > > Signed-

Re: [PATCH] KVM: x86: Fix lapic.c debug prints

2014-06-29 Thread Nadav Amit
On 6/30/14, 3:48 AM, Bandan Das wrote: Nadav Amit writes: In two cases lapic.c does not use the apic_debug macro correctly. This patch fixes them. Signed-off-by: Nadav Amit --- arch/x86/kvm/lapic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/lapic.

Re: [PATCH] KVM: x86: Fix lapic.c debug prints

2014-06-29 Thread Bandan Das
Nadav Amit writes: > In two cases lapic.c does not use the apic_debug macro correctly. This patch > fixes them. > > Signed-off-by: Nadav Amit > --- > arch/x86/kvm/lapic.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c > i

[GIT PULL] ext4 bug fixes for 3.16

2014-06-29 Thread Theodore Ts'o
The following changes since commit 7171511eaec5bf23fb06078f59784a3a0626b38f: Linux 3.16-rc1 (2014-06-15 17:45:28 -1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus_stable for you to fetch changes up to a93cd4cf864

  1   2   3   >