Re: [PATCH] mm: msync: require either MS_ASYNC or MS_SYNC

2014-04-03 Thread Greg Troxel
Michael Kerrisk (man-pages) mtk.manpa...@gmail.com writes: I think the only reasonable solution is to better document existing behavior and what the programmer should do. With that in mind, I've drafted the following text for the msync(2) man page: NOTES According to POSIX,

cscope: issue with symlinks in tools/testing/selftests/powerpc/copyloops/

2014-04-03 Thread Yann Droneaud
Hi, I'm using cscope to browse kernel sources, but I'm facing warnings from the tool since following commit: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=22d651dcef536c75f75537290bf3da5038e68b6b commit 22d651dcef536c75f75537290bf3da5038e68b6b Author: Michael

Re: serial console does not wake from S3 suspend

2014-04-03 Thread Valerio Vanni
Valerio Vanni vale...@valeriovanni.com ha scritto nel messaggio news:lg9etc$9fl$1...@ger.gmane.org When resuming from S3 suspend, serial console starts sending garbage on the serial port. Not continuously, it sends garbage only when in local console prints a text. It stops only when the

Re: 3.14 regression: huge latency in read/select on tun

2014-04-03 Thread Eric Dumazet
On Thu, 2014-04-03 at 09:52 +0200, Ortwin Glück wrote: On 02.04.2014 18:42, Eric Dumazet wrote: You could post a tcpdump maybe ? This is a dump from on the tun interface (traffic inside the tunnel). It's an scp upload of a 2MB file. I aborted after a while when not much progress was seen

Re: [PATCH] ASoC: dapm: Add support for multi register mux

2014-04-03 Thread Lars-Peter Clausen
On 04/03/2014 11:53 AM, Mark Brown wrote: On Thu, Apr 03, 2014 at 11:47:15AM +0200, Takashi Iwai wrote: I'm a bit late in the game, but I feel a bit uneasy through looking at the whole changes. My primary question is, whether do we really need to share the same struct soc_enum for the onehot

Re: [PATCH v2 01/11] base: power: Add generic OF-based power domain look-up

2014-04-03 Thread Ulf Hansson
On 3 April 2014 14:30, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Ulf, On 03.04.2014 14:16, Ulf Hansson wrote: On 3 March 2014 17:02, Tomasz Figa tomasz.f...@gmail.com wrote: This patch introduces generic code to perform power domain look-up using device tree and automatically bind

Re: [Linaro-acpi] How to pass I2C platform_data under ACPI

2014-04-03 Thread Arnd Bergmann
On Thursday 03 April 2014 14:38:33 mika.westerb...@linux.intel.com wrote: On Thu, Apr 03, 2014 at 11:25:34AM +, Pallala, Ramakrishna wrote: In non ACPI environment I used to initialize the platform_data under board or platforms files. Under ACPI how do I do that? If you can't

Re: [PATCH] blkdev: use an efficient way to check merge flags

2014-04-03 Thread Jianyu Zhan
Hi, Jan, I've just renewed the patch as you suggusted. Actually it isn't quite performance sensitive, but the point is one less branch leads to less penalty caused by branch prediction failure. Ok, this may be way too paranoid.:-) A bitwise flag comparison could be done using a more efficient

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread Steven Rostedt
On Thu, 03 Apr 2014 14:30:50 +0800 Li, Aubrey aubrey...@linux.intel.com wrote: May I know if reboot=t make any difference on your system with the change? Is this the future fix? Or do you have patches for me to test. I'll be happy to test any patches you have on this box. If you need to know

[rfc]pwm: add BCM2835 PWM driver

2014-04-03 Thread Bart Tanghe
need some recommendation the memory mapped io registers of the bcm2835 pwm hardware are spreaded over the memory mapped io gpio config 0x2024 - clk config 0x201010A0 - pwm configuration 0x2020C000 to handle this, I've used the base address of the memory mapped io so I can use positive

[PATCH] pinctrl: adi2: Statize adi_gpio_irq_domain_ops

2014-04-03 Thread Axel Lin
It's only referenced in this file, make it static. Signed-off-by: Axel Lin axel@ingics.com --- drivers/pinctrl/pinctrl-adi2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-adi2.c b/drivers/pinctrl/pinctrl-adi2.c index 0cc0eec..5c44feb 100644 ---

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread Matthew Garrett
On Thu, Apr 03, 2014 at 09:41:55AM -0400, Steven Rostedt wrote: On Thu, 03 Apr 2014 14:30:50 +0800 Li, Aubrey aubrey...@linux.intel.com wrote: May I know if reboot=t make any difference on your system with the change? Is this the future fix? Or do you have patches for me to test. I'll

Re: [patch] x86: clearing access bit don't flush tlb

2014-04-03 Thread Shaohua Li
On Thu, Apr 03, 2014 at 01:35:37PM +0200, Ingo Molnar wrote: * Shaohua Li s...@kernel.org wrote: Add a few acks and resend this patch. We use access bit to age a page at page reclaim. When clearing pte access bit, we could skip tlb flush in X86. The side effect is if the pte is in

[PATCH] pinctrl: lantiq: Fix header file include guard

2014-04-03 Thread Axel Lin
Define __PINCTRL_LANTIQ_H to prevent multiple inclusion. Signed-off-by: Axel Lin axel@ingics.com --- drivers/pinctrl/pinctrl-lantiq.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/pinctrl-lantiq.h b/drivers/pinctrl/pinctrl-lantiq.h index 6d07f02..c7cfad5 100644 ---

[GIT PULL] renameat2 syscall

2014-04-03 Thread Miklos Szeredi
Hi Linus, I think I addressed all issues with this series: - i_mutex on non-directories being moved needed for NFS - split ext4_rename() into cross-rename/plain-rename functions - split i_op-rename(), it's certainly easier to maintain pre merge, then we'll see - xfstests validation added

Re: [PATCH] clk: Add driver for Palmas clk32kg and clk32kgaudio clocks

2014-04-03 Thread Nishanth Menon
On 04/03/2014 05:52 AM, Peter Ujfalusi wrote: [...] .../devicetree/bindings/clock/clk-palmas.txt | 35 +++ drivers/clk/Kconfig| 7 + drivers/clk/Makefile | 1 + drivers/clk/clk-palmas.c | 307

Re: 3.14 regression: huge latency in read/select on tun

2014-04-03 Thread Eric Dumazet
On Thu, 2014-04-03 at 06:19 -0700, Eric Dumazet wrote: It seems TSO support is broken. If bug is in tun.c you have this list of changes you could bisect from : # git log --oneline v3.13..v3.14 drivers/net/tun.c 6671b2240c54 tun: remove bogus hardware vlan acceleration flags from

Re: [Linaro-acpi] How to pass I2C platform_data under ACPI

2014-04-03 Thread mika.westerb...@linux.intel.com
On Thu, Apr 03, 2014 at 03:34:30PM +0200, Arnd Bergmann wrote: On Thursday 03 April 2014 14:38:33 mika.westerb...@linux.intel.com wrote: On Thu, Apr 03, 2014 at 11:25:34AM +, Pallala, Ramakrishna wrote: In non ACPI environment I used to initialize the platform_data under board or

/proc/kmalloc

2014-04-03 Thread Pietro Paolini
Hello everyone, I have read here - http://lwn.net/Articles/124374/ - a way to debug the kmalloc allocation() and free() which are performed in my system, that patch could really help me in solving a problem I am facing. By the way that patch does not work for my kernel and I can see that

[GIT PULL] fuse update for 3.15

2014-04-03 Thread Miklos Szeredi
Hi Linus, Please pull the following: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-linus This series adds cached writeback support to fuse, improving write throughput. Thanks, Miklos Maxim Patlasov (3): fuse: Trust kernel i_mtime only fuse: restructure

Re: [PATCH RFC 3/3] nand: pl353: Add driver for arm pl353 smc nand interface

2014-04-03 Thread Michal Simek
Hi Brian, On 03/27/2014 07:21 PM, Punnaiah Choudary Kalluri wrote: Add driver for arm pl353 static memory controller nand interface. This controller is used in xilinx zynq soc for interfacing the nand flash memory. Signed-off-by: Punnaiah Choudary Kalluri punn...@xilinx.com ---

RE: [Linaro-acpi] How to pass I2C platform_data under ACPI

2014-04-03 Thread Pallala, Ramakrishna
And initialize the platform data in either driver or in separate module which gets compiled along with driver? Typically it has been done in the same driver but I don't see any problems having a separate module as well. static const struct acpi_device_id my_acpi_match[] = {

Re: [PATCH] ipc,shm: disable shmmax and shmall by default

2014-04-03 Thread Kamezawa Hiroyuki
(2014/04/03 9:20), Davidlohr Bueso wrote: The default size for shmmax is, and always has been, 32Mb. Today, in the XXI century, it seems that this value is rather small, making users have to increase it via sysctl, which can cause unnecessary work and userspace application workarounds[1].

Re: [PATCH] pinctrl: rockchip: fix offset of mux registers for rk3188

2014-04-03 Thread Linus Walleij
On Mon, Mar 24, 2014 at 11:36 PM, Beniamino Galvani b.galv...@gmail.com wrote: The correct value of .mux_offset for rk3188 seems to be 0x60 instead of 0x68. Signed-off-by: Beniamino Galvani b.galv...@gmail.com Patch applied to fixes with Heiko's Review tag and also copied some info from the

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread H. Peter Anvin
On 04/03/2014 06:41 AM, Steven Rostedt wrote: On Thu, 03 Apr 2014 14:30:50 +0800 Li, Aubrey aubrey...@linux.intel.com wrote: May I know if reboot=t make any difference on your system with the change? Is this the future fix? Or do you have patches for me to test. I'll be happy to test

[PATCH] rt2x00: BUG: remove double loop on REGISTER_BUSY_COUNT

2014-04-03 Thread Richard Genoud
rt2x00usb_register_read_lock() calls rt2x00usb_vendor_req_buff_lock() that calls rt2x00usb_vendor_request() which is already looping up to REGISTER_BUSY_COUNT times. So this loop is not needed. Signed-off-by: Richard Genoud richard.gen...@gmail.com --- drivers/net/wireless/rt2x00/rt2x00usb.c |

Re: [PATCH 0/2] pinctrl: rockchip: fix handling of first pinbank

2014-04-03 Thread Linus Walleij
On Wed, Mar 26, 2014 at 12:56 AM, Heiko Stübner he...@sntech.de wrote: Therefore I put together the following two patches to go on top of your patch and also make rockchip_set_mux honor this situation. Both patches applied for fixes. Yours, Linus Walleij -- To unsubscribe from this list: send

mm: BUG in __phys_addr called from __walk_page_range

2014-04-03 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel I've stumbled on the following: [ 942.869226] kernel BUG at arch/x86/mm/physaddr.c:26! [ 942.871710] invalid opcode: [#1] PREEMPT SMP DEBUG_PAGEALLOC [ 942.871710] Dumping ftrace buffer: [

Re: [PATCH] sched: fix tracepoint in scheduler.

2014-04-03 Thread Rik van Riel
On 04/03/2014 08:12 AM, Dongsheng Yang wrote: In function set_task_cpu(), if cpu == new_cpu, there is no migration happen. But current trace point will raise a migration trace event. This patch change trace point to right place, only when migration really happen, an event will be threw

perf: warning in perf_event_delayed_put

2014-04-03 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel I've stumbled on the following warning, which I happen to hit quite often: [ 357.437823] WARNING: CPU: 19 PID: 28 at kernel/events/core.c:7554 perf_event_delayed_put+0x64/0x80() [child196:9542] Chose

Re: [PATCH] pinctrl: rockchip: fix offset of mux registers for rk3188

2014-04-03 Thread Heiko Stübner
Am Donnerstag, 3. April 2014, 16:10:46 schrieb Linus Walleij: On Mon, Mar 24, 2014 at 11:36 PM, Beniamino Galvani b.galv...@gmail.com wrote: The correct value of .mux_offset for rk3188 seems to be 0x60 instead of 0x68. Signed-off-by: Beniamino Galvani b.galv...@gmail.com Patch

Re:ATTENTION

2014-04-03 Thread DR ANDERSON WAYNE
Your Email Address has won(£ 1,000,000.00 GBP)in CHEVROLET MOTORS UK Draw.To Claim your Prize, Send: Name,Address,Age,Mobil Number via Emial :ch...@live.co.uk -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

[RFC v5 0/4] xhci: re-work command queue management

2014-04-03 Thread Mathias Nyman
changes since v4: Handle command timeouts on a stopped command ring properly. A stopped ring can't be aborted and send command ring stopped events, if ring was stopped at command timeout call the command ring stopped handler manually. changes since v3: * Use GFP_ATOMIC in

Re: [PATCH libata/for-3.15-fixes] libata: drop COMPILE_TEST from AHCI_XGENE

2014-04-03 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, April 02, 2014 12:22:15 PM Tejun Heo wrote: On Wed, Apr 02, 2014 at 11:53:57AM -0400, Tejun Heo wrote: Applied the following patch to libata/for-3.15-fixes. Thanks. --- 8 --- From 9c23f2cf7f6e107e85eef57fdf3049a93b6e157c Mon Sep 17 00:00:00 2001 From:

[RFC v5 1/4] xhci: Use command structures when queuing commands on the command ring

2014-04-03 Thread Mathias Nyman
To create a global command queue we require that each command put on the command ring is submitted with a command structure. Functions that queue commands and wait for completion need to allocate a command before submitting it, and free it once completed. The following command queuing functions

[RFC v5 2/4] xhci: Add a global command queue

2014-04-03 Thread Mathias Nyman
Create a list to store command structures, add a structure to it every time a command is submitted, and remove it from the list once we get a command completion event matching the command. Callers that wait for completion will free their command structures themselves. The other command structures

[RFC v5 3/4] xhci: Use completion and status in global command queue

2014-04-03 Thread Mathias Nyman
Remove the per-device command list and handle_cmd_in_cmd_wait_list() and use the completion and status variables found in the command structure in the global command list. Signed-off-by: Mathias Nyman mathias.ny...@linux.intel.com --- drivers/usb/host/xhci-hub.c | 11 --

Re: [PATCH RFC 3/3] nand: pl353: Add driver for arm pl353 smc nand interface

2014-04-03 Thread Ezequiel García
On 27 March 2014 15:21, Punnaiah Choudary Kalluri punnaiah.choudary.kall...@xilinx.com wrote: Add driver for arm pl353 static memory controller nand interface. This controller is used in xilinx zynq soc for interfacing the nand flash memory. Signed-off-by: Punnaiah Choudary Kalluri

[RFC v5 4/4] xhci: rework command timeout and cancellation,

2014-04-03 Thread Mathias Nyman
Use one timer to control command timeout. start/kick the timer every time a command is completed and a new command is waiting, or a new command is added to a empty list. If the timer runs out, then tag the current command as aborted, and start the xhci command abortion process. Previously each

Re: [PATCH] ARM64: Remove duplicated Kconfig entry for kernel/power/Kconfig

2014-04-03 Thread Viresh Kumar
On 3 April 2014 16:46, Hanjun Guo hanjun@linaro.org wrote: There is a duplicated Kconfig entry for kernel/power/Kconfig in menu Power management options and CPU Power Management, remove the one from menu CPU Power Management suggested by Viresh. Signed-off-by: Hanjun Guo

[PATCH 1/3] regulator: core: Add of_node_get to of_regulator_match

2014-04-03 Thread Charles Keepax
Currently, of_regulator_match does not increment the reference count of the of_nodes it takes new references to. This could cause the node pointer held to be invalid, by the time it is passed to the regulator core. This patchs adds an of_node_get when we copy each of_node pointer into the match

[PATCH 3/3] regulator: core: Get and put regulator of_node

2014-04-03 Thread Charles Keepax
Currently the regulator core does not take an additional reference to the of_node it is passed. This means that the caller must ensure that the of_node is valid for the duration of the regulator's existance. It is reasonable for the framework to assume it is passed a valid of_node but seems

[PATCH 2/3] regulator: core: Add helper to put of_nodes from matches

2014-04-03 Thread Charles Keepax
As of_regulator_match will take an of_node reference to each matched regulator, it makes sense to provide a helper to put all those references. This patch does that. Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com --- drivers/regulator/of_regulator.c | 21

Re: [PATCH 3/4] workqueue: Add anon workqueue sysfs hierarchy

2014-04-03 Thread Frederic Weisbecker
On Sun, Mar 30, 2014 at 09:01:39AM -0400, Tejun Heo wrote: On Thu, Mar 27, 2014 at 06:21:01PM +0100, Frederic Weisbecker wrote: We call anon workqueues the set of unbound workqueues that don't carry the WQ_SYSFS flag. They are a problem nowadays because people who work on CPU isolation

Re: [PATCH] cpufreq: loongson2_cpufreq: don't declare local variable as static

2014-04-03 Thread Viresh Kumar
On 3 April 2014 18:10, Alexandre Oliva ol...@gnu.org wrote: FWIW, the same mistake is present in at32. I will check others as well now :) I've just finished bisecting the cpufreq regression on loongson2. Indeed, this s/static// patch does not fix it, but it was 652ed95d5fa, the patch that

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread Steven Rostedt
On Thu, 03 Apr 2014 07:10:47 -0700 H. Peter Anvin h...@zytor.com wrote: Could you tell which of these modes work on your box: reboot=t I already stated that 't' works. reboot=k Fails reboot=b (BIOS only) Passed reboot=a Passed reboot=e (EFI only) Fails reboot=p Fails

Re: [PATCH 2/4] workqueues: Account unbound workqueue in a seperate list

2014-04-03 Thread Frederic Weisbecker
On Sun, Mar 30, 2014 at 08:57:51AM -0400, Tejun Heo wrote: On Thu, Mar 27, 2014 at 06:21:00PM +0100, Frederic Weisbecker wrote: The workqueues are all listed in a global list protected by a big mutex. And this big mutex is used in apply_workqueue_attrs() as well. Now as we plan to

Re: [PATCH libata/for-3.15-fixes] libata: drop COMPILE_TEST from AHCI_XGENE

2014-04-03 Thread Tejun Heo
Hello, On Thu, Apr 03, 2014 at 04:32:24PM +0200, Bartlomiej Zolnierkiewicz wrote: So, apparently, this isn't enough as this would allow enabling PHY_XGENE regardless of HAS_IOMEM or OF. From kconfig-language.txt, PHY_XGENE has the following dependencies: depends on HAS_IOMEM OF

RE: [PATCH] PCI: Add Patsburg (X79) to Intel PCH root port ACS quirk

2014-04-03 Thread Dugger, Donald D
Acked-by: Don Dugger donald.d.dug...@intel.com -Original Message- From: Alex Williamson [mailto:alex.william...@redhat.com] Sent: Monday, March 31, 2014 12:22 PM To: bhelg...@google.com Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Dugger, Donald D Subject: [PATCH] PCI:

[PATCH] rt2x00: Endless loop on hub port power down

2014-04-03 Thread Richard Genoud
I've met an endless (or at least very long) loop if I power down the usb port on witch a usb wifi key is plugged. (Ok, it's not very smart to power down a usb port when a usb key is in used... but still, I think that should not lead to an endless loop). I have a lot of: ieee80211 phy1:

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread Matthew Garrett
On Thu, Apr 03, 2014 at 10:47:21AM -0400, Steven Rostedt wrote: reboot=a Passed Huh. We should be trying the acpi method twice before we try PCI at all, unless something's gone very wrong. -- Matthew Garrett | mj...@srcf.ucam.org -- To unsubscribe from this list: send the line unsubscribe

[PATCH] cpufreq: at32ap: don't declare local variable as static

2014-04-03 Thread Viresh Kumar
Earlier commit: commit 652ed95d5fa6074b3c4ea245deb0691f1acb6656 Author: Viresh Kumar viresh.ku...@linaro.org Date: Thu Jan 9 20:38:43 2014 +0530 cpufreq: introduce cpufreq_generic_get() routine did some changes to driver and by mistake made cpuclk as a

Re: [PATCH] cpufreq: at32ap: don't declare local variable as static

2014-04-03 Thread Hans-Christian Egtvedt
Around Thu 03 Apr 2014 20:20:36 +0530 or thereabout, Viresh Kumar wrote: Earlier commit: commit 652ed95d5fa6074b3c4ea245deb0691f1acb6656 Author: Viresh Kumar viresh.ku...@linaro.org Date: Thu Jan 9 20:38:43 2014 +0530 cpufreq: introduce cpufreq_generic_get()

Re: [PATCH 3/4] workqueue: Add anon workqueue sysfs hierarchy

2014-04-03 Thread Tejun Heo
Hello, Frederic. On Thu, Apr 03, 2014 at 04:42:55PM +0200, Frederic Weisbecker wrote: I'm not really sure this is the good approach. I think I wrote this way back but wouldn't it make more sense to allow userland to restrict the cpus which are allowed to all unbound cpus. As currently

Re: [RFC PATCH v2] edac: synopsys: Added EDAC support for zynq ddr ecc controller

2014-04-03 Thread Michal Simek
Hi Borislav, On 03/17/2014 06:23 AM, Punnaiah Choudary Kalluri wrote: Added EDAC support for reporting the ecc errors of synopsys ddr controller. The ddr ecc controller corrects single bit errors and detects double bit errors Signed-off-by: Punnaiah Choudary Kalluri punn...@xilinx.com ---

Re: [PATCH v2 1/2] usb: doc: udc-xilinx: Add devicetree bindings

2014-04-03 Thread Felipe Balbi
On Thu, Apr 03, 2014 at 01:05:18PM +0530, Subbaraya Sundeep Bhatta wrote: Add devicetree bindings for Xilinx axi udc driver. Signed-off-by: Subbaraya Sundeep Bhatta sbha...@xilinx.com --- Changes for v2: - replaced xlnx,include-dma with xlnx,has-builtin-dma

Re: [PATCH 2/4] workqueues: Account unbound workqueue in a seperate list

2014-04-03 Thread Tejun Heo
Hello, On Thu, Apr 03, 2014 at 04:48:28PM +0200, Frederic Weisbecker wrote: Wouldn't the right thing to do would be factoring out apply_workqueue_attrs_locked()? It's cleaner to block out addition of new workqueues while the masks are being updated anyway. I'm not quite sure I get what

Re: [RFC PATCH] edac: add support for ARM PL310 L2 cache parity

2014-04-03 Thread Michal Simek
Hi Borislav, On 03/02/2014 03:32 PM, Punnaiah Choudary Kalluri wrote: Add support for ARM Pl310 L2 cache controller parity error Signed-off-by: Punnaiah Choudary Kalluri punn...@xilinx.com --- .../devicetree/bindings/edac/pl310_edac_l2.txt | 19 ++ drivers/edac/Kconfig

Re: [PATCH -mm v2.1] mm: get rid of __GFP_KMEMCG

2014-04-03 Thread Vladimir Davydov
On 04/03/2014 01:25 AM, Greg Thelen wrote: On Tue, Apr 01 2014, Vladimir Davydov vdavy...@parallels.com wrote: Currently to allocate a page that should be charged to kmemcg (e.g. threadinfo), we pass __GFP_KMEMCG flag to the page allocator. The page allocated is then to be freed by

Re: [PATCH 3/4] workqueue: Add anon workqueue sysfs hierarchy

2014-04-03 Thread Frederic Weisbecker
On Thu, Apr 03, 2014 at 10:58:05AM -0400, Tejun Heo wrote: Hello, Frederic. On Thu, Apr 03, 2014 at 04:42:55PM +0200, Frederic Weisbecker wrote: I'm not really sure this is the good approach. I think I wrote this way back but wouldn't it make more sense to allow userland to restrict

Re: [Linaro-acpi] How to pass I2C platform_data under ACPI

2014-04-03 Thread Arnd Bergmann
On Thursday 03 April 2014 13:59:18 Pallala, Ramakrishna wrote: We definitely don't want per-board match entries, that does not scale. The driver should be reasonably generic and get all the necessary data out of well-defined tables. You can have different IDs when there are only a few

Re: [PATCH] ASoC: dapm: Add support for multi register mux

2014-04-03 Thread Takashi Iwai
At Thu, 03 Apr 2014 15:31:58 +0200, Lars-Peter Clausen wrote: On 04/03/2014 11:53 AM, Mark Brown wrote: On Thu, Apr 03, 2014 at 11:47:15AM +0200, Takashi Iwai wrote: I'm a bit late in the game, but I feel a bit uneasy through looking at the whole changes. My primary question is,

[PATCH -mm v2.2] mm: get rid of __GFP_KMEMCG

2014-04-03 Thread Vladimir Davydov
Currently to allocate a page that should be charged to kmemcg (e.g. threadinfo), we pass __GFP_KMEMCG flag to the page allocator. The page allocated is then to be freed by free_memcg_kmem_pages. Apart from looking asymmetrical, this also requires intrusion to the general allocation path. So let's

Re: [PATCH regression] net: phy: fix initialization (config_init) for Marvel 88E1116R PHYs

2014-04-03 Thread Alexander Holler
Am 03.04.2014 10:49, schrieb Sebastian Hesselbarth: On 04/03/2014 09:17 AM, Alexander Holler wrote: Am 03.04.2014 00:27, schrieb Sebastian Hesselbarth: On 04/03/2014 12:12 AM, Alexander Holler wrote: I am curious, how you determined above commit to be the cause of the regression you are

[PATCH] clk: si570: Fix email address specifiction

2014-04-03 Thread Michal Simek
Just fix missing in the email. Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/clk/clk-si570.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-si570.c b/drivers/clk/clk-si570.c index 4bbbe32..fc167b3 100644 --- a/drivers/clk/clk-si570.c +++

[PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-04-03 Thread Haiyang Zhang
This feature allows multiple channels to be used by each virtual NIC. It is available on Hyper-V host 2012 R2. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 110 +-

[GIT PULL] liblockdep fixes for v3.15

2014-04-03 Thread Sasha Levin
Hi Ingo, There are two patches from liblockdep this time around: 1. There was a build breakage caused by marking a function 'asmlinkage' in lockdep.h. Fix that by ignoring asmlinkage and visible annotations. 2. Josh Boyer mentioned that Fedora would like to include liblockdep as a package, so

Re: [PATCH regression] net: phy: fix initialization (config_init) for Marvel 88E1116R PHYs

2014-04-03 Thread David Miller
From: Alexander Holler hol...@ahsoftware.de Date: Thu, 03 Apr 2014 17:06:52 +0200 But don't suggest me (or insist on) a time consuming Bisects are not time consuming, and help developers analyze your issue tremendously. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-04-03 Thread David Miller
From: Haiyang Zhang haiya...@microsoft.com Date: Thu, 3 Apr 2014 09:05:34 -0700 This feature allows multiple channels to be used by each virtual NIC. It is available on Hyper-V host 2012 R2. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread Steven Rostedt
On Thu, 3 Apr 2014 15:50:22 +0100 Matthew Garrett mj...@srcf.ucam.org wrote: On Thu, Apr 03, 2014 at 10:47:21AM -0400, Steven Rostedt wrote: reboot=a Passed Huh. We should be trying the acpi method twice before we try PCI at all, unless something's gone very wrong. Bah, after

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread Steven Rostedt
On Thu, 3 Apr 2014 10:47:21 -0400 Steven Rostedt rost...@goodmis.org wrote: On Thu, 03 Apr 2014 07:10:47 -0700 Passed reboot=a After getting Matthew's email, I tried this again and it failed to boot. Let me rerun through the list again and I'll report back if things have changed.

Re: [PATCH v3] decode_stacktrace: make stack dump output useful again

2014-04-03 Thread Sasha Levin
Hi Linus, Since you've started merging stuff in for 3.15, this is a friendly reminder about this patch. I've been using it for a while now to report bugs, so it got some testing both from me and the people who actually had to use the new output to fix bugs. I've heard no complaints for this

RE: [PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-04-03 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Thursday, April 3, 2014 11:15 AM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org

Re: [RFC PATCH] cmdline: Hide debug from /proc/cmdline

2014-04-03 Thread Tim Bird
On Thu, Apr 3, 2014 at 4:25 AM, Måns Rullgård m...@mansr.com wrote: Jiri Kosina jkos...@suse.cz writes: On Wed, 2 Apr 2014, Linus Torvalds wrote: Steven, Borislav, one thing that strikes me might be a good idea is to limit the amount of non-kernel noise in dmesg. We already have the concept

[PATCH] ARM: KVM: Handle IPA unmapping on memory region deletion

2014-04-03 Thread Eric Auger
Currently when a KVM region is removed using kvm_vm_ioctl_set_memory_region (with memory region size equal to 0), the corresponding intermediate physical memory is not unmapped. This patch unmaps the region's IPA range in kvm_arch_commit_memory_region using unmap_stage2_range. The patch was

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread H. Peter Anvin
On 04/03/2014 08:17 AM, Steven Rostedt wrote: On Thu, 3 Apr 2014 10:47:21 -0400 Steven Rostedt rost...@goodmis.org wrote: On Thu, 03 Apr 2014 07:10:47 -0700 Passed reboot=a After getting Matthew's email, I tried this again and it failed to boot. Let me rerun through the list again

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread H. Peter Anvin
On 04/03/2014 08:20 AM, H. Peter Anvin wrote: Also, can you send the dmidecode from your system? Is it a Dell? (And I assume you're booting BIOS, not EFI.) -hpa -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH v2 2/2] usb: gadget: Add xilinx axi usb2 device support

2014-04-03 Thread Michal Simek
+struct xusb_udc { +struct usb_gadget gadget; +struct xusb_ep ep[8]; +struct usb_gadget_driver *driver; +struct cmdbuf ch9cmd; +u32 usb_state; +u32 remote_wkp; +unsigned int (*read_fn)(void __iomem *); +void (*write_fn)(void __iomem *, u32, u32); why do

[PATCH v5 1/2] serial: sc16is7xx

2014-04-03 Thread jon
From: Jon Ringle jrin...@gridpoint.com The SC16IS7xx is a slave I2C-bus/SPI interface to a single-channel high performance UART. The SC16IS7xx's internal register set is backward-compatible with the widely used and widely popular 16C450. The SC16IS7xx also provides additional advanced features

[PATCH v5 2/2] serial: sc16is7xx: Add bindings documentation for the SC16IS7XX UARTs

2014-04-03 Thread jon
From: Jon Ringle jrin...@gridpoint.com This patch adds the devicetree documentation for the NXP SC16IS7XX UARTs. Signed-off-by: Jon Ringle jrin...@gridpoint.com --- .../devicetree/bindings/serial/nxp,sc16is7xx.txt | 33 ++ 1 file changed, 33 insertions(+) create mode

Re: [RFC PATCH] edac: add support for ARM PL310 L2 cache parity

2014-04-03 Thread Borislav Petkov
On Thu, Apr 03, 2014 at 05:02:30PM +0200, Michal Simek wrote: Any comment about this driver? It is all on the TODO list. I'll take a look after the merge window closes. Thanks. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from

Re: [RFC PATCH] edac: add support for ARM PL310 L2 cache parity

2014-04-03 Thread Michal Simek
On 04/03/2014 05:24 PM, Borislav Petkov wrote: On Thu, Apr 03, 2014 at 05:02:30PM +0200, Michal Simek wrote: Any comment about this driver? It is all on the TODO list. I'll take a look after the merge window closes. Ok. Thank you, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID:

Re: [PATCH] ARM: KVM: Handle IPA unmapping on memory region deletion

2014-04-03 Thread Marc Zyngier
Hi Eric, On 03/04/14 16:17, Eric Auger wrote: Currently when a KVM region is removed using kvm_vm_ioctl_set_memory_region (with memory region size equal to 0), the corresponding intermediate physical memory is not unmapped. This patch unmaps the region's IPA range in

Re: [PATCH] isdnloop: Validate NUL-terminated strings from user.

2014-04-03 Thread David Miller
From: YOSHIFUJI Hideaki yoshf...@linux-ipv6.org Date: Wed, 02 Apr 2014 12:48:42 +0900 Return -EINVAL unless all of user-given strings are correctly NUL-terminated. Signed-off-by: YOSHIFUJI Hideaki yoshf...@linux-ipv6.org Applied and queud up for -stable, thanks! -- To unsubscribe from this

Re: [PATCH] pinctrl: rockchip: fix offset of mux registers for rk3188

2014-04-03 Thread Linus Walleij
On Thu, Apr 3, 2014 at 4:20 PM, Heiko Stübner he...@sntech.de wrote: small protest note Heikki adds: - sounds somehow finish or swedish, but who is this guy? ;-) Haha sorry Heiko, I'll fix. Yours, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH 0/4] hugetlb: add support gigantic page allocation at runtime

2014-04-03 Thread Andrea Arcangeli
On Wed, Apr 02, 2014 at 02:08:44PM -0400, Luiz Capitulino wrote: Luiz Capitulino (4): hugetlb: add hstate_is_gigantic() hugetlb: update_and_free_page(): don't clear PG_reserved bit hugetlb: move helpers up in the file hugetlb: add support for gigantic page allocation at runtime

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread Steven Rostedt
Rechecked my answers. On Thu, 3 Apr 2014 10:47:21 -0400 Steven Rostedt rost...@goodmis.org wrote: On Thu, 03 Apr 2014 07:10:47 -0700 H. Peter Anvin h...@zytor.com wrote: Could you tell which of these modes work on your box: reboot=t I already stated that 't' works. Yes it works.

Re: [PATCH v3] mm/page_alloc: fix freeing of MIGRATE_RESERVE migratetype pages

2014-04-03 Thread Vlastimil Babka
On 03/25/2014 02:47 PM, Bartlomiej Zolnierkiewicz wrote: Hi, On Friday, March 21, 2014 03:16:31 PM Vlastimil Babka wrote: On 03/06/2014 06:35 PM, Bartlomiej Zolnierkiewicz wrote: Pages allocated from MIGRATE_RESERVE migratetype pageblocks are not freed back to MIGRATE_RESERVE migratetype

Re: [PATCH 0/2] nohz: Move nohz kick out of scheduler IPI v2

2014-04-03 Thread Paul E. McKenney
On Thu, Apr 03, 2014 at 02:09:25AM +0200, Frederic Weisbecker wrote: Hi Paul, Here's an updated version of the patches with your review addressed. I ripped the function parameter and let it be setup on queued IPI object initialization time so that people don't get confused and always use the

Re: Things I wish I'd known about Inotify

2014-04-03 Thread Eric W. Biederman
Michael Kerrisk (man-pages) mtk.manpa...@gmail.com writes: (To: == [the set of people I believe know a lot about inotify]) Hello all, Lately, I've been studying the inotify API fairly thoroughly and realized that there's a very big gap between knowing what the system calls do versus using

[PATCH 2/2] mm/page_alloc: DEBUG_VM checks for free_list placement of CMA and RESERVE pages

2014-04-03 Thread Vlastimil Babka
For the MIGRATE_RESERVE pages, it is important they do not get misplaced on free_list of other migratetype, otherwise the whole MIGRATE_RESERVE pageblock might be changed to other migratetype in try_to_steal_freepages(). For MIGRATE_CMA, the pages also must not go to a different free_list,

[PATCH 1/2] mm/page_alloc: prevent MIGRATE_RESERVE pages from being misplaced

2014-04-03 Thread Vlastimil Babka
For the MIGRATE_RESERVE pages, it is important they do not get misplaced on free_list of other migratetype, otherwise the whole MIGRATE_RESERVE pageblock might be changed to other migratetype in try_to_steal_freepages(). Currently, it is however possible for this to happen when MIGRATE_RESERVE

Re: [PATCH 2/4] workqueues: Account unbound workqueue in a seperate list

2014-04-03 Thread Frederic Weisbecker
On Thu, Apr 03, 2014 at 11:01:28AM -0400, Tejun Heo wrote: Hello, On Thu, Apr 03, 2014 at 04:48:28PM +0200, Frederic Weisbecker wrote: Wouldn't the right thing to do would be factoring out apply_workqueue_attrs_locked()? It's cleaner to block out addition of new workqueues while the

Re: [PATCH v4] ptrace: Fix fork event messages across pid namespaces

2014-04-03 Thread Oleg Nesterov
On 04/02, Matthew Dempsky wrote: When tracing a process in another pid namespace, it's important for fork event messages to contain the child's pid as seen from the tracer's pid namespace, not the parent's. Otherwise, the tracer won't be able to correlate the fork event with later SIGTRAP

Re: [PATCH] rt2x00: BUG: remove double loop on REGISTER_BUSY_COUNT

2014-04-03 Thread Jakub Kiciński
On Thu, 3 Apr 2014 16:12:07 +0200, Richard Genoud wrote: rt2x00usb_register_read_lock() calls rt2x00usb_vendor_req_buff_lock() that calls rt2x00usb_vendor_request() which is already looping up to REGISTER_BUSY_COUNT times. So this loop is not needed. Not true. rt2x00usb_vendor_request()

Re: [PATCH v3 1/2] i2c: Add driver for Cadence I2C controller

2014-04-03 Thread Sören Brinkmann
On Thu, 2014-04-03 at 09:25AM +0200, Michal Simek wrote: On 04/03/2014 09:10 AM, Wolfram Sang wrote: Please don't quote large parts of the message f you are not referring to it. Normally I do it. Forgot sorry. +#ifdef CONFIG_PM_SLEEP +/** + * cdns_i2c_suspend - Suspend method

Re: [Intel-gfx] [PATCH] drm/i915: fix command parser debug print format mismatches

2014-04-03 Thread Damien Lespiau
On Thu, Apr 03, 2014 at 11:32:30AM +0200, Daniel Vetter wrote: On Wed, Apr 02, 2014 at 08:26:23AM -0700, Randy Dunlap wrote: On 04/02/2014 01:24 AM, Jani Nikula wrote: Drop the cast from the pointer diff to fix: drivers/gpu/drm/i915/i915_cmd_parser.c:405:4: warning: format '%td'

Re: [PATCH 0/2] nohz: Move nohz kick out of scheduler IPI v2

2014-04-03 Thread Frederic Weisbecker
On Thu, Apr 03, 2014 at 08:38:00AM -0700, Paul E. McKenney wrote: On Thu, Apr 03, 2014 at 02:09:25AM +0200, Frederic Weisbecker wrote: Hi Paul, Here's an updated version of the patches with your review addressed. I ripped the function parameter and let it be setup on queued IPI object

Re: [PATCH regression] net: phy: fix initialization (config_init) for Marvel 88E1116R PHYs

2014-04-03 Thread Sebastian Hesselbarth
On 04/03/2014 05:06 PM, Alexander Holler wrote: Am 03.04.2014 10:49, schrieb Sebastian Hesselbarth: On 04/03/2014 09:17 AM, Alexander Holler wrote: Am 03.04.2014 00:27, schrieb Sebastian Hesselbarth: On 04/03/2014 12:12 AM, Alexander Holler wrote: I am curious, how you determined above

Re: [PATCH regression] net: phy: fix initialization (config_init) for Marvel 88E1116R PHYs

2014-04-03 Thread Alexander Holler
Am 03.04.2014 17:14, schrieb David Miller: From: Alexander Holler hol...@ahsoftware.de Date: Thu, 03 Apr 2014 17:06:52 +0200 But don't suggest me (or insist on) a time consuming Bisects are not time consuming, and help developers analyze your issue tremendously. Hmm, compiling and booting

  1   2   3   4   5   6   7   8   9   10   >