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

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 wrote: > Jiri Kosina 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 of rate-limiti

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

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

2014-04-03 Thread Steven Rostedt
On Thu, 3 Apr 2014 10:47:21 -0400 Steven Rostedt 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. Changing options, rebo

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

2014-04-03 Thread Steven Rostedt
On Thu, 3 Apr 2014 15:50:22 +0100 Matthew Garrett 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 getting thi

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

2014-04-03 Thread David Miller
From: Haiyang Zhang 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 > Reviewed-by: K. Y. Srinivasan I announced on netdev the other day that the merge wind

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

2014-04-03 Thread David Miller
From: Alexander Holler 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 the body of a mes

[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

[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 Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h | 110 +- drivers/net/hyperv/netvsc.c | 136 +++

[PATCH] clk: si570: Fix email address specifiction

2014-04-03 Thread Michal Simek
Just fix missing ">" in the email. Signed-off-by: Michal Simek --- 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 +++ b/drivers/clk/clk-si57

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 seeing

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

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

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

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 rest

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 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 free_memcg_kmem_pages. Ap

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 > --- > .../devicetree/bindings/edac/pl310_edac_l2.txt | 19 ++ > drivers/edac/Kconfig

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 ge

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 > --- > Changes for v2: > - replaced xlnx,include-dma with xlnx,has-builtin-dma > > .../devicetree/bindings/usb/udc-xi

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 > --- > Changes for

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 currentl

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 > Date: Thu Jan 9 20:38:43 2014 +0530 > > cpufreq: introduce cpufreq_generic_get() routine > > did som

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 "unsubsc

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

2014-04-03 Thread Viresh Kumar
Earlier commit: commit 652ed95d5fa6074b3c4ea245deb0691f1acb6656 Author: Viresh Kumar 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 'static' local variable, whic

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

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

2014-04-03 Thread Dugger, Donald D
Acked-by: Don Dugger -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: Add Patsburg (X79) to Intel

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_IOM

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 t

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" 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] cpufreq: loongson2_cpufreq: don't declare local variable as static

2014-04-03 Thread Viresh Kumar
On 3 April 2014 18:10, Alexandre Oliva 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 moved cpuclk

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 i

[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 --- drivers/regulator/of_regulator.c | 21 + include/linux/regulator/of_

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

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

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 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 > --- > arch/arm64/Kco

[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 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 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 > --- > drivers/mtd/nand/Kconfig |

[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 --- drivers/usb/host/xhci-hub.c | 11 -- drivers/usb/host/xhci-mem.c | 1 - drivers/usb/

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

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

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 >

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 maj

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 wrote: > > The correct value of .mux_offset for rk3188 seems to be 0x60 > > instead of 0x68. > > > > Signed-off-by: Beniamino Galvani > > Patch applied to fixes with Heiko's Revi

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 ran

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 thr

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

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 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 the line "uns

[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 --- drivers/net/wireless/rt2x00/rt2x00usb.c | 9 +++-- 1 file chang

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

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 wrote: > The correct value of .mux_offset for rk3188 seems to be 0x60 > instead of 0x68. > > Signed-off-by: Beniamino Galvani Patch applied to fixes with Heiko's Review tag and also copied some info from the conversation into the commit messag

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]. Instea

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

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 > --- > drivers/mtd/nand/Kcon

/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 sou

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

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 vlan_feature

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

[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

[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 --- 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 --- a/drivers/pinctrl/pinctr

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

[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 --- 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 --- a/drivers/pinctrl/pi

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" 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 t

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

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

2014-04-03 Thread Steven Rostedt
On Thu, 03 Apr 2014 14:30:50 +0800 "Li, Aubrey" 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 anything about this bo

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 b

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

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 wrote: > Hi Ulf, > > > On 03.04.2014 14:16, Ulf Hansson wrote: >> >> On 3 March 2014 17:02, Tomasz Figa wrote: >>> >>> This patch introduces generic code to perform power domain look-up using >>> device tree and automatically bind devices to their power domains.

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 t

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

Re: serial console does not wake from S3 suspend

2014-04-03 Thread Valerio Vanni
"Valerio Vanni" 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 (sending) machine is shut down,

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: [PATCH] mm: msync: require either MS_ASYNC or MS_SYNC

2014-04-03 Thread Greg Troxel
"Michael Kerrisk (man-pages)" 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, exactly one of MS_S

[PATCH V1] drivers/mfd: da9052: use multiwrite mode

2014-04-03 Thread Opensource [Anthony Olech]
Use the new regmap core API regmap_multi_reg_write(), to prevent a rare problem with the Dialog DA9052/3 PMIC devices that causes the device to fail. Signed-off-by: Anthony Olech --- This patch is relative to linux-next repository tag next-20140403 Even though the probability of the problem

[PATCH v2] stable: Spelling s/than/then

2014-04-03 Thread Julien Pivotto
Signed-off-by: Julien Pivotto --- Documentation/stable_kernel_rules.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/stable_kernel_rules.txt b/Documentation/stable_kernel_rules.txt index b0714d8..33e1b2c 100644 --- a/Documentation/stable_kernel_rules.txt +++

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

2014-04-03 Thread Alexandre Oliva
On Apr 2, 2014, Viresh Kumar wrote: > did some changes to driver and by mistake made cpuclk as a 'static' local > variable, which wasn't actually required. Fix it. FWIW, the same mistake is present in at32. I've just finished bisecting the cpufreq regression on loongson2. Indeed, this s/static

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

2014-04-03 Thread Jan Kara
On Thu 03-04-14 16:00:44, Zhan Jianyu wrote: > On Thu, Apr 3, 2014 at 2:13 AM, Jan Kara wrote: > > OK, but have you checked the generated code is actually any better? This > > is something I'd expect a compiler might be able to optimize anyway. And the > > original code looks more readable to me

[PATCH] ACPI: Update the ownership and developers for ACPI in Kconfig

2014-04-03 Thread Hanjun Guo
The UEFI Forum included the ACPI spec in its portfolio in October 2013 and will host future spec iterations, following the ACPI v5.0a release. A UEFI Forum working group named ACPI Specification Working Group (ASWG) has been established to handle future ACPI developments, any UEFI member can join

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

2014-04-03 Thread Tomasz Figa
Hi Ulf, On 03.04.2014 14:16, Ulf Hansson wrote: On 3 March 2014 17:02, Tomasz Figa wrote: This patch introduces generic code to perform power domain look-up using device tree and automatically bind devices to their power domains. Generic device tree binding is introduced to specify power domai

[PATCH] perf tools: Fix feature check for libdw dwarf unwind

2014-04-03 Thread Josh Boyer
When the feature check for libdw dwarf unwind support was added with commit 45757895c7, it required LIBDW_DIR to be set before it would work. However, commit 0a4f2b6a3ba implies that the libdw unwinder should be auto-detected from the installed libraries and not require LIBDW_DIR to be set. The f

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

2014-04-03 Thread Ulf Hansson
On 3 March 2014 17:02, Tomasz Figa wrote: > This patch introduces generic code to perform power domain look-up using > device tree and automatically bind devices to their power domains. > Generic device tree binding is introduced to specify power domains of > devices in their device tree nodes. >

[PATCH] sched: fix tracepoint in scheduler.

2014-04-03 Thread Dongsheng Yang
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 out. Signed-off-by: Dongsheng Yang --- kernel/sched/co

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

2014-04-03 Thread Steven Rostedt
On Thu, 03 Apr 2014 14:30:50 +0800 "Li, Aubrey" wrote: > May I know if "reboot=t" make any difference on your system with the change? It appears it does. Yes, it boots with "reboot=t" with the patches applied, and does not reboot without it. -- Steve -- To unsubscribe from this list: send the

Re: [PATCH] Fixes to Linux v3.13 - bugs.xenproject.org ones. (v1).

2014-04-03 Thread David Vrabel
On 08/11/13 17:38, Konrad Rzeszutek Wilk wrote: > Hey, > > Two of these: > [PATCH 2/4] xen/manage: Poweroff forcefully if user-space is not yet > [PATCH 4/4] xen/xenbus: Avoid synchronous wait on XenBus stalling > > fix the bugs.xenproject.org outstanding bugs. > > The other ones are that were

Re: [RFC PATCH 1/2] drivers: mfd: Add support of exynos-pmu driver

2014-04-03 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, April 02, 2014 05:24:44 PM Pankaj Dubey wrote: > From: Younggun Jang > > This driver is mainly used for setting misc bits of register from PMU IP > of Exynos SoC which will be required to configure before Suspend/Resume. > Currently all these settings are done in "arch/arm/mac

Re: [PATCH v2] xen: fix memory leak in __xen_pcibk_add_pci_dev()

2014-04-03 Thread David Vrabel
On 01/04/14 11:15, Daeseok Youn wrote: > > It need to free dev_entry when it failed to assign to a new > slot on the virtual PCI bus. > > smatch says: > drivers/xen/xen-pciback/vpci.c:142 __xen_pcibk_add_pci_dev() warn: > possible memory leak of 'dev_entry' Applied to devel/for-linus-3.15. Tha

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

2014-04-03 Thread Christopher Covington
On 04/03/2014 04:25 AM, Michael Kerrisk (man-pages) wrote: > 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,

[PATCH 1/1] SMACK: Fix handling value==NULL in post setxattr

2014-04-03 Thread José Bollo
The function `smack_inode_post_setxattr` is called each time that a setxattr is done, for any value of name. The kernel allow to put value==NULL when size==0 to set an empty attribute value. The systematic call to smk_import_entry was causing the dereference of a NULL pointer hence a KERNEL PANIC!

Re: [PATCH] regulator: core: Get and put regulator of_node

2014-04-03 Thread Charles Keepax
On Thu, Apr 03, 2014 at 12:14:31PM +0100, Mark Brown wrote: > On Thu, Apr 03, 2014 at 11:58:04AM +0100, Charles Keepax wrote: > > The main issue I have is that devm_regualtor_register is a bit > > awkward. With regulator_register you will always be calling > > regulator_unregister so you can put th

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

2014-04-03 Thread Ingo Molnar
* Borislav Petkov wrote: > On Wed, Apr 02, 2014 at 06:47:57PM -0700, Linus Torvalds wrote: > > Whether it actually fixes the problem that Borislav had is > > questionable, of course. For all I know, systemd debug mode generates > > so much data in *other* ways and then causes feedback loops with

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

2014-04-03 Thread Ingo Molnar
* Shaohua Li 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 tlb and > pte > access bit is unset in page table, when cpu access the page again

Re: How to pass I2C platform_data under ACPI

2014-04-03 Thread mika.westerb...@linux.intel.com
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 extract that information from ACPI namespace, then one option > >is to pa

RE: How to pass I2C platform_data under ACPI

2014-04-03 Thread Pallala, Ramakrishna
>> 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 extract that information from ACPI namespace, then one option is >to pass platform data along with the device ACPI ID: > >static const struct acpi_devi

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

2014-04-03 Thread Måns Rullgård
Jiri Kosina 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 of rate-limiting various spammy internal kernel messages for >> when devi

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

2014-04-03 Thread Borislav Petkov
On Wed, Apr 02, 2014 at 06:47:57PM -0700, Linus Torvalds wrote: > Whether it actually fixes the problem that Borislav had is > questionable, of course. For all I know, systemd debug mode generates > so much data in *other* ways and then causes feedback loops with > the kernel debugging that this pa

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

2014-04-03 Thread Hanjun Guo
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 --- arch/arm64/Kconfig |2 -- 1 file changed, 2 deletions(-) diff --gi

Re: [PATCH] regulator: core: Get and put regulator of_node

2014-04-03 Thread Mark Brown
On Thu, Apr 03, 2014 at 11:58:04AM +0100, Charles Keepax wrote: > On Wed, Apr 02, 2014 at 05:53:54PM +0100, Mark Brown wrote: > > To make this correct we need to at least ensure that the node passed > > into the regulator API is valid and referenced at that time so there > > should only be an issu

Q: setting the process name for ps

2014-04-03 Thread Ulrich Windl
Hi! Currently one has to fiddle with argv[] in-place when trying to change the process name "cmd") in Linux. However if you want to change the thread name ("comm"), there is a syscall (prctl(PR_SET_NAME, ...)) for it. For comparison, in HP-UX there is also a syscall to change the process name f

<    1   2   3   4   5   6   7   >