Re: [PATCH] futex: Ensure get_futex_key_refs() always implies a barrier

2014-10-17 Thread Mike Galbraith
On Fri, 2014-10-17 at 17:38 +0100, Catalin Marinas wrote: > Commit b0c29f79ecea (futexes: Avoid taking the hb->lock if there's > nothing to wake up) changes the futex code to avoid taking a lock when > there are no waiters. This code has been subsequently fixed in commit > 11d4616bd07f (futex: rev

Re: [PATCH 1/1] mmc: sdhci-bcm2835: added quirk and removed udelay in write ops

2014-10-17 Thread Scott Branden
Great review - thanks. On 14-10-17 07:37 PM, Stephen Warren wrote: On 10/15/2014 10:43 AM, Scott Branden wrote: Added quirk SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 present in controller. Removed udelay in write ops by using shadow registers for 16 bit accesses to 32-bit registers (where necessary).

[PATCH] x86, e820: panic on sanitizing invalid memory map

2014-10-17 Thread Martin Kelly
sanitize_e820_map returns two possible values: -1: Returned when either the provided memory map has length 1 (ok) or when the provided memory map is invalid (not ok). 0: Returned when the memory map was correctly sanitized. In addition, most code ignores the returned value, and none actually

Re: [PATCH v5 1/6] ARM: rockchip: convert to regmap and use pmu syscon if available

2014-10-17 Thread Sonny Rao
On Wed, Oct 15, 2014 at 10:23 AM, Kever Yang wrote: > From: Heiko Stuebner > > The pmu register space is - like the GRF - shared by quite some peripherals. > On the rk3188 and rk3288 even parts of the pinctrl are living there. > Therefore we normally shouldn't map it a second time when the syscon

Re: [PATCH v2 00/11] ARM: dts: zynq: Prepare Parallella

2014-10-17 Thread Olof Johansson
] [7.943648] macb e000b000.ethernet eth0: unable to generate target frequency: 12500 Hz [WARN] [ 10.948681] macb e000b000.ethernet eth0: unable to generate target frequency: 12500 Hz Full boot log at: http://arm-soc.lixom.net/bootlogs/misc/next-20141017/parallella-arm-multi_v7_defcon

[GIT] Networking

2014-10-17 Thread David Miller
1) Include fixes for netrom and dsa (Fabian Frederick and Florian Fainelli) 2) Fix FIXED_PHY support in stmmac, from Giuseppe CAVALLARO. 3) Several SKB use after free fixes (vxlan, openvswitch, vxlan, ip_tunnel, fou), from Li ROngQing. 4) fec driver PTP support fixes from Luwei Zhou and

[PATCH 2/2] staging: lustre: lnet: lnet: trailing statement

2014-10-17 Thread Balavasu
This patch fixes the checkpatch.pl issue Error: trailing statements should be on next line Signed-off-by: Balavasu --- drivers/staging/lustre/lnet/lnet/router.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/router.c b/drivers/stagi

[PATCH 1/2] staging: lustre: lnet: lnet: do not initialise 0

2014-10-17 Thread Balavasu
This patch fixes the checkpatch.pl issue Error:do not initialise statics to 0 or NULL Signed-off-by: Balavasu --- drivers/staging/lustre/lnet/lnet/router.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/router.c b/drivers/staging/

Re: [PATCH] dsa: Fix conversion from host device to mii bus

2014-10-17 Thread David Miller
From: Guenter Roeck Date: Fri, 17 Oct 2014 12:30:58 -0700 > Commit b4d2394d01bc ("dsa: Replace mii_bus with a generic host device") > replaces mii_bus with a generic host_dev, and introduces > dsa_host_dev_to_mii_bus() to support conversion from host_dev to mii_bus. > However, in some cases it us

Re: [PATCH 1/1 net-next] netrom: use linux/uaccess.h

2014-10-17 Thread David Miller
From: Fabian Frederick Date: Fri, 17 Oct 2014 22:00:22 +0200 > replace asm/uaccess.h by linux/uaccess.h > > Signed-off-by: Fabian Frederick Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo i

Re: [PATCH net] r8152: return -EBUSY for runtime suspend

2014-10-17 Thread David Miller
From: Hayes Wang Date: Fri, 17 Oct 2014 16:55:08 +0800 > Remove calling cancel_delayed_work_sync() for runtime suspend, > because it would cause dead lock. Instead, return -EBUSY to > avoid the device enters suspending if the net is running and > the delayed work is pending or running. The delaye

Re: [PATCH net-next,v3] hyperv: Add handling of IP header with option field in netvsc_set_hash()

2014-10-17 Thread David Miller
From: Haiyang Zhang Date: Thu, 16 Oct 2014 14:47:58 -0700 > In case that the IP header has optional field at the end, this patch will > get the port numbers after that field, and compute the hash. The general > parser skb_flow_dissect() is used here. > > Signed-off-by: Haiyang Zhang > Reviewed-

Re: Linus GIT 3.17.0+ - BUG: unable to handle kernel paging request - IP: [] scan_block+0x59/0x100

2014-10-17 Thread Miles Lane
On Thu, Oct 16, 2014 at 10:02 AM, Catalin Marinas wrote: > Hi Miles, > > On 15 October 2014 04:43, Miles Lane wrote: >> [ 68.164917] BUG: unable to handle kernel paging request at >> 88021dc52000 >> [ 68.164957] IP: [] scan_block+0x59/0x100 >> [ 68.164987] PGD 2902067 PUD 2905067 PMD 2

Re: [PATCH 1/1] mmc: sdhci-bcm2835: added quirk and removed udelay in write ops

2014-10-17 Thread Stephen Warren
On 10/15/2014 10:43 AM, Scott Branden wrote: > Added quirk SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 present in controller. > Removed udelay in write ops by using shadow registers for 16 bit > accesses to 32-bit registers (where necessary). > Optimized 32-bit operations when doing 8/16 register accesses.

Re: [PATCH] i8k: Add MODULE_DEVICE_TABLE macro

2014-10-17 Thread Guenter Roeck
On 10/17/2014 03:17 PM, Pali Rohár wrote: This patch adds MODULE_DEVICE_TABLE macro so i8k.ko module can be automatically loaded based on dmi system alias. Signed-off-by: Pali Rohár Acked-by: Guenter Roeck --- drivers/char/i8k.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/d

Re: [PATCH v2 2/4] ARM: rockchip: add suspend and resume for RK3288

2014-10-17 Thread Doug Anderson
Chris, On Fri, Oct 17, 2014 at 1:47 PM, wrote: > From: Chris Zhong > > It's a basic version of suspend and resume for rockchip, it only support > RK3288 > now. > > Signed-off-by: Tony Xie > Signed-off-by: Chris Zhong > > --- > > Changes in v2: > - add the regulator calls in prepare and finis

[PATCH 7/7] simplewait: do we make barriers reflect what was in use in -rt?

2014-10-17 Thread Paul Gortmaker
*** not for merge ; for discussion only *** This matches the simple wait code barrier usage with what was in use in the -rt version of simplewait support - where without this commit, it is matching the barrier usage from the existing mainline complex wait code. After the previous submission of s

[PATCH 3/7] wait.[ch]: Introduce the simple waitqueue (swait) implementation

2014-10-17 Thread Paul Gortmaker
The existing wait queue support has support for custom wake up call backs, wake flags, wake key (passed to call back) and exclusive flags that allow wakers to be tagged as exclusive, for limiting the number of wakers. In a lot of cases, none of these features are used, and hence we can benefit fro

[PATCH v2 0/7] simple wait queue support (from -rt)

2014-10-17 Thread Paul Gortmaker
Here is the long overdue v2 of simple waitqueue support. I'd hoped to have it sent before RTLWS, but rewriting it to align it with mainline complex waitqueue support was non-trivial and in doing so, I managed to break it, and then Thanksgiving holidays got in the way, and ... Anyway, now fixed, a

[PATCH 2/7] wait.c: mark complex wait functions to prepare for simple wait

2014-10-17 Thread Paul Gortmaker
Per the previous commit, the goal is to explicitly distinguish between complex wait and simple wait in the names of functions and structs. We avoid re-using the old namespace like "add_wait_foo(), to ensure it is clear which users have actively chosen which variant they want to use, vs. which ones

[PATCH 4/7] sched/completion: convert completions to use simple wait queues

2014-10-17 Thread Paul Gortmaker
Completions have no long lasting callbacks and therefore do not need the complex waitqueue variant. Use simple waitqueues which reduces the contention on the waitqueue lock. This was a carry forward from v3.10-rt, with some RT specific chunks, dropped, and updated to align with names that were ch

[PATCH 5/7] rcu: use simple wait queues where possible in rcutree

2014-10-17 Thread Paul Gortmaker
As of commit dae6e64d2bcfd4b06304ab864c7e3a4f6b5fedf4 ("rcu: Introduce proper blocking to no-CBs kthreads GP waits") the RCU subsystem started making use of wait queues. Here we convert all additions of RCU wait queues to use simple wait queues, since they don't need the extra overhead of the full

[PATCH 6/7] simplewait: don't run a possibly infinite number of wake under raw lock

2014-10-17 Thread Paul Gortmaker
The simple wait queues use a raw lock in order to be functional for the preempt-rt kernels. PeterZ suggested[1] the following change to ensure we come up for air now and again in order to be deterministic. I'm not really in love with the solution of passing the flags around, but couldn't think of

[PATCH 1/7] wait.h: mark complex wait functions to prepare for simple wait

2014-10-17 Thread Paul Gortmaker
The existing wait queue code supports custom call backs and an exclusive flag that can be used to limit the number of call backs executed. Most waiters do not need these two features, and so we are adding simple wait queue support that reduces overhead for users that aren't using those features.

Re: [PATCH] MAINTAINERS: nx-842 driver maintainer change

2014-10-17 Thread Nathan Fontenot
On 10/17/2014 06:19 PM, Dan Streetman wrote: > Change maintainer of nx-842 compression coprocessor driver > to Dan Streetman. > > Signed-off-by: Dan Streetman > Cc: Nathan Fontenot Acked-by: Nathan Fontenot > --- > MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

[PATCH] drivers: platform: change 0x20 to I8042_STR_AUXDATA in i8042 filters

2014-10-17 Thread Giedrius Statkevicius
From: Giedrius Statkevičius Instead of using a magic constant 0x20 in some drivers to get data only from the KBC port we should use the constant defined in i8042.h with the same value. Also, this makes these drivers uniform with what constant the only other filter function uses in drivers/input/

Re: [PATCH 0/2] (Was: kernel/kmod: fix use-after-free of thesub_infostructure)

2014-10-17 Thread Tetsuo Handa
Oleg Nesterov wrote: > On 10/17, Martin Schwidefsky wrote: > > > > Version 2 of the patch. > > On top of this patch. > > Tetsuo, can you review? > > Oleg. > > kernel/kmod.c | 43 +-- > 1 files changed, 5 insertions(+), 38 deletions(-) > Looks OK to me

Re: current mainline doesn't boot

2014-10-17 Thread Steve French
This is vmware guest sfrench@ubuntu:~/xfstests$ cat /proc/cpuinfo processor: 0 vendor_id: GenuineIntel cpu family: 6 model: 70 model name: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz (and using 64 bit kernel build) ... I don't have the Ubuntu config for their mainline kerne

Re: [PATCH] Do not silently discard WRITE_SAME requests

2014-10-17 Thread Martin K. Petersen
> "Petr" == Petr Vandrovec writes: Petr> is there any reason to do blacklisting? Why not let first request Petr> fail, and switch to non-write-same code path once that happens? Well, we do. But we try to avoid confusing users with error messages if we can avoid it. And if we know it's not g

Re: current mainline doesn't boot

2014-10-17 Thread Felipe Balbi
Hi, On Fri, Oct 17, 2014 at 05:44:02PM -0500, Steve French wrote: > Anyone know a workaround for the problem booting current mainline? > 3.17 works fine for me, but recent mainline since 3.17 goes to a black > screen near the end of boot as X is about to start. > > I also tried the Ubuntu build o

Re: [PATCH] dsa: Fix conversion from host device to mii bus

2014-10-17 Thread Florian Fainelli
On 10/17/2014 12:30 PM, Guenter Roeck wrote: > Commit b4d2394d01bc ("dsa: Replace mii_bus with a generic host device") > replaces mii_bus with a generic host_dev, and introduces > dsa_host_dev_to_mii_bus() to support conversion from host_dev to mii_bus. > However, in some cases it uses to_mii_bus t

Re: [PATCH 2/5] block: add function to issue compare and write

2014-10-17 Thread Martin K. Petersen
> "Christoph" == Christoph Hellwig writes: Christoph> We already have req->cmd_type which actually is a fairly good Christoph> description of what we get except for REQ_TYPE_FS, which is a Christoph> horrible overload using req->cmd_flags. Christoph> Given that you're just one of many curren

[PATCH] MAINTAINERS: nx-842 driver maintainer change

2014-10-17 Thread Dan Streetman
Change maintainer of nx-842 compression coprocessor driver to Dan Streetman. Signed-off-by: Dan Streetman Cc: Nathan Fontenot --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index b0f17d5..3cc3e41 100644 --- a/MAINTAINERS +++ b/MAINT

Re: [PATCH] dsa: Fix conversion from host device to mii bus

2014-10-17 Thread Alexander Duyck
On 10/17/2014 12:30 PM, Guenter Roeck wrote: Commit b4d2394d01bc ("dsa: Replace mii_bus with a generic host device") replaces mii_bus with a generic host_dev, and introduces dsa_host_dev_to_mii_bus() to support conversion from host_dev to mii_bus. However, in some cases it uses to_mii_bus to perf

Re: [PATCH] scsi: Resolve some missing-field-initializers warnings

2014-10-17 Thread Rustad, Mark D
The warning appears in W=2 builds. I had another way to silence it by using diagnostic control macros, but those macros were not accepted. Using a single designated initialization also silences it. Sent from my iPhone > On Oct 17, 2014, at 8:26 AM, "Christoph Hellwig" wrote: > >> On Tue, Oct

current mainline doesn't boot

2014-10-17 Thread Steve French
Anyone know a workaround for the problem booting current mainline? 3.17 works fine for me, but recent mainline since 3.17 goes to a black screen near the end of boot as X is about to start. I also tried the Ubuntu build of the day (which also is based on current mainline but with the Ubuntu config

Re: [PATCH v5 00/12] Add ACPI _DSD and unified device properties support

2014-10-17 Thread Rafael J. Wysocki
On Friday, October 17, 2014 08:04:52 PM Arnd Bergmann wrote: > > On October 17, 2014 2:01:33 PM CEST, "Rafael J. Wysocki" > wrote: > >Hi Everyone, > > > >Hving had a couple of chats with Grant and Arnd during LinuxCon EU/LPC, > >we > >now have version 5 taking all feedback into account (hopefull

Re: [PATCHv2 0/7] perf tools: Fix branch report segfaults

2014-10-17 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 16, 2014 at 04:07:00PM +0200, Jiri Olsa escreveu: > hi, > adding some branch_info checks to prevent segfaults > on data without branch info. > > v2: using cmp_null as suggested by Namhyung Didn't notice this one, will try and put on next pull req, - Arnaldo > jirka > > available a

Re: [PATCH] i8k: Add support for Dell Latitude E6440

2014-10-17 Thread Pali Rohár
On Friday 10 October 2014 22:56:55 Guenter Roeck wrote: > On 10/10/2014 02:12 AM, Pali Rohár wrote: > > Dell Latitude E6440 needs same settings as E6540. > > > > Signed-off-by: Pali Rohár > > Acked-by: Guenter Roeck > Greg, Arnd: PING Can you apply also this patch for E6440? Support for E654

[PATCH] i8k: Add MODULE_DEVICE_TABLE macro

2014-10-17 Thread Pali Rohár
This patch adds MODULE_DEVICE_TABLE macro so i8k.ko module can be automatically loaded based on dmi system alias. Signed-off-by: Pali Rohár --- drivers/char/i8k.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/char/i8k.c b/drivers/char/i8k.c index 471f985..7272b08 100644 --- a/

[PATCHv2 4/4] arm: dts: Add Altera L2 Cache and OCRAM EDAC

2014-10-17 Thread tthayer
From: Thor Thayer Adding the device tree entries and bindings needed to support the Altera L2 cache and On-Chip RAM EDAC. This patch relies upon an earlier patch to declare and setup On-chip RAM properly. http://www.spinics.net/lists/devicetree/msg51117.html Signed-off-by: Thor Thayer --- v2: R

Re: [PATCH 2/4] mm: introduce new VM_NOZEROPAGE flag

2014-10-17 Thread Dave Hansen
On 10/17/2014 07:09 AM, Dominik Dingel wrote: > diff --git a/include/linux/mm.h b/include/linux/mm.h > index cd33ae2..8f09c91 100644 > --- a/include/linux/mm.h > +++ b/include/linux/mm.h > @@ -113,7 +113,7 @@ extern unsigned int kobjsize(const void *objp); > #define VM_GROWSDOWN 0x0100 /*

Re: [PATCHv4 RESEND 0/3] syscalls,x86: Add execveat() system call

2014-10-17 Thread Andy Lutomirski
[Added Eric Biederman, since I think your tree might be a reasonable route forward for these patches.] On Thu, Jun 5, 2014 at 6:40 AM, David Drysdale wrote: > Resending, adding cc:linux-api. > > Also, it may help to add a little more background -- this patch is > needed as a (small) part of imple

[PATCH 1/1] iommu/amd: Use delayed mmu release notifier

2014-10-17 Thread Oded Gabbay
This patch makes use of the new delayed mmu release notifier feature in mm code. This is necessary because on the one hand amd_iommu_unbind_pasid must be called explicitly during the tear-down of a process, but on the other hand, it could be called from a function (e.g. in amdkfd) which is a call-b

[PATCH] sched/numa: fix unsafe get_task_struct() in task_numa_assign()

2014-10-17 Thread Oleg Nesterov
The lockless get_task_struct(tsk) is only safe if tsk == current and didn't pass exit_notify(), or if this tsk was found on a rcu protected list (say, for_each_process() or find_task_by_vpid()). IOW, it is only safe if release_task() was not called before we take rcu_read_lock(), in this case we ca

Re: [PATCH RFC] sched: Revert delayed_put_task_struct() and fix use after free

2014-10-17 Thread Oleg Nesterov
On 10/16, Kirill Tkhai wrote: > > Cool! Elegant fix. We set PF_EXITING in exit_signals(), which is earlier > than release_task() is called. OK, thanks, I am sending the patch... > Shouldn't we use smp_rmb/smp_wmb here? No, we do not. call_rcu(delayed_put_pid) itself implies the barrier on all CP

Re: [PATCH v5 00/12] Add ACPI _DSD and unified device properties support

2014-10-17 Thread Rafael J. Wysocki
On Friday, October 17, 2014 05:40:07 PM Greg Kroah-Hartman wrote: > On Fri, Oct 17, 2014 at 02:01:33PM +0200, Rafael J. Wysocki wrote: > > Hi Everyone, > > > > Hving had a couple of chats with Grant and Arnd during LinuxCon EU/LPC, we > > now have version 5 taking all feedback into account (hopefu

Re: getaddrinfo slowdown in 3.17.1, due to getifaddrs

2014-10-17 Thread Eric Dumazet
On Fri, 2014-10-17 at 12:30 -0400, David Miller wrote: > Can I ask a serious question? What is the synchronize_net() in AF_NETLINK > exactly needed for? __netlink_lookup() calls rhashtable_lookup_compare() So you really want that any object found in this lookup respects rcu grace period before

LED LENSER X21 Flashlight

2014-10-17 Thread LED LENSER M7R H7R H14R
How is your business? This is Hellen from JRS Technology Co.,Ltd. Good News,NOW the LED LENSER H14.2 Headlamp and LED LENSER P7.2 H14R.2 rechargeable headlamp are available. And others LED LENSER flashlight models are all have competitive price. For more products information.please contact us in

dmar messages caused by graphics.

2014-10-17 Thread Dave Jones
Just hit this while fuzz-testing, (curiously, no graphics related stuff was happening, X isn't even loaded on that box). dmar: DRHD: handling fault status reg 2 dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr 7ff000 DMAR:[fault reason 05] PTE Write access is not set 00:02:0 is..

[PATCH] drivers: depend on instead of select BACKLIGHT_CLASS_DEVICE and ACPI_VIDEO

2014-10-17 Thread Jani Nikula
Documentation/kbuild/kconfig-language.txt warns to use select with care, and in general use select only for non-visible symbols and for symbols with no dependencies, because select will force a symbol to a value without visiting the dependencies. Select has become particularly problematic, interde

[PATCHv2 2/4] arm: socfpga: Enable OCRAM ECC on startup.

2014-10-17 Thread tthayer
From: Thor Thayer This patch enables the ECC for On-Chip RAM on machine startup. The ECC has to be enabled before data is is stored in memory otherwise the ECC will fail on reads. Signed-off-by: Thor Thayer --- v2: Split OCRAM ECC portion separately. Addition of iounmap() and reorganization of

[PATCHv2 0/4] Add Altera peripheral memories to EDAC framework

2014-10-17 Thread tthayer
From: Thor Thayer This patch adds the L2 cache and OCRAM peripherals to the EDAC framework using the EDAC device framework. The ECC is enabled early in the boot process in the platform specific code. Thor Thayer (4): arm: socfpga: Enable L2 Cache ECC on startup. arm: socfpga: Enable OCRAM EC

[PATCHv2 3/4] edac: altera: Add Altera L2 and OCRAM EDAC support

2014-10-17 Thread tthayer
From: Thor Thayer Adding L2 Cache and On-Chip RAM EDAC support for the Altera SoCs using the EDAC_DEVICE framework. The EDAC manager abstracts the common probe functionality and test triggers. The L2 Cache and OCRAM files handle the specific memory functions (alloc & free) for the testing trigg

[PATCHv2 1/4] arm: socfpga: Enable L2 Cache ECC on startup.

2014-10-17 Thread tthayer
From: Thor Thayer This patch enables the ECC for L2 cache on machine startup. The ECC has to be enabled before data is is stored in memory otherwise the ECC will fail on reads. Signed-off-by: Thor Thayer --- v2: Split OCRAM initialization into separate patch. --- MAINTAINERS

Re: Regarding tx-nocache-copy in the Sheevaplug

2014-10-17 Thread Benjamin Poirier
On 2014/10/16 19:46, Lluís Batlle i Rossell wrote: [...] > > Hello all, > > it seems I was a bit wrong - although enabling back tx-nocache-copy makes the > tx-errors happen much less often (ssh complaining about HMAC), they still > happen. It seems that something was introduced in some recent ker

[PATCH v2 2/4] ARM: rockchip: add suspend and resume for RK3288

2014-10-17 Thread zyw
From: Chris Zhong It's a basic version of suspend and resume for rockchip, it only support RK3288 now. Signed-off-by: Tony Xie Signed-off-by: Chris Zhong --- Changes in v2: - add the regulator calls in prepare and finish. - add the pinmux of gpio6_c6 save and restore arch/arm/mach-rockchip

Re: [PATCH] Move rlb table dump to procfs

2014-10-17 Thread David Miller
From: Eric B Munson Date: Fri, 17 Oct 2014 14:41:52 -0400 > Because debugfs is not net namespace aware, it is currently not > possible to dump the RLB hash table when network namespaces are enabled. > This patch creates a second proc file called IFNAME_rlb_table for > bonding interfaces that use

[PATCH v2 4/4] ARM: dts: add RK3288 suspend support

2014-10-17 Thread zyw
From: Chris Zhong add pmu_intmem node for suspend, add global_pwroff pinctrl. The pmu_intmem is used to store the resume code. global_pwroff is held low level at work, it would be pull to high when entering suspend. PMICs can get this singal, then shut down some power rails. So please reference t

[PATCH v2 3/4] ARM: rockchip: Add pmu-sram binding

2014-10-17 Thread zyw
From: Chris Zhong The pmu-sram is used to store resume code, suspend/resume need get the address of it. Therefore add a binding and documentation for it. Signed-off-by: Tony Xie Signed-off-by: Chris Zhong --- Changes in v2: None .../devicetree/bindings/arm/rockchip/pmu-sram.txt | 15

[tip:x86/cleanups] x86, msr: Use seek definitions instead of hard-coded values

2014-10-17 Thread tip-bot for Fabian Frederick
Commit-ID: 03452d27c6cd9cebb59a6bb0fb6bd8557916c263 Gitweb: http://git.kernel.org/tip/03452d27c6cd9cebb59a6bb0fb6bd8557916c263 Author: Fabian Frederick AuthorDate: Fri, 17 Oct 2014 22:01:59 +0200 Committer: H. Peter Anvin CommitDate: Fri, 17 Oct 2014 13:40:55 -0700 x86, msr: Use seek d

[tip:x86/cleanups] x86, msr: Convert printk to pr_foo()

2014-10-17 Thread tip-bot for Fabian Frederick
Commit-ID: 951a18c6fee5d2f6f5d7b5118776bf787bf9c351 Gitweb: http://git.kernel.org/tip/951a18c6fee5d2f6f5d7b5118776bf787bf9c351 Author: Fabian Frederick AuthorDate: Fri, 17 Oct 2014 22:01:50 +0200 Committer: H. Peter Anvin CommitDate: Fri, 17 Oct 2014 13:40:54 -0700 x86, msr: Convert pr

[tip:x86/cleanups] x86, msr: Use PTR_ERR_OR_ZERO

2014-10-17 Thread tip-bot for Fabian Frederick
Commit-ID: cba0fdbcff8b54c206c8e18898a55456959ed51a Gitweb: http://git.kernel.org/tip/cba0fdbcff8b54c206c8e18898a55456959ed51a Author: Fabian Frederick AuthorDate: Fri, 17 Oct 2014 22:01:38 +0200 Committer: H. Peter Anvin CommitDate: Fri, 17 Oct 2014 13:40:53 -0700 x86, msr: Use PTR_ER

[tip:x86/cleanups] x86/simplefb: Use PTR_ERR_OR_ZERO

2014-10-17 Thread tip-bot for Fabian Frederick
Commit-ID: 76ef0db72f8b74bb92e24775d9d7f5ab26352bec Gitweb: http://git.kernel.org/tip/76ef0db72f8b74bb92e24775d9d7f5ab26352bec Author: Fabian Frederick AuthorDate: Fri, 17 Oct 2014 22:01:05 +0200 Committer: H. Peter Anvin CommitDate: Fri, 17 Oct 2014 13:40:52 -0700 x86/simplefb: Use PT

[tip:x86/cleanups] x86/sysfb: Use PTR_ERR_OR_ZERO

2014-10-17 Thread tip-bot for Fabian Frederick
Commit-ID: e8d95ce9705c6683f57dc146b8c726c4d2242a52 Gitweb: http://git.kernel.org/tip/e8d95ce9705c6683f57dc146b8c726c4d2242a52 Author: Fabian Frederick AuthorDate: Fri, 17 Oct 2014 22:00:53 +0200 Committer: H. Peter Anvin CommitDate: Fri, 17 Oct 2014 13:40:52 -0700 x86/sysfb: Use PTR_E

[tip:x86/cleanups] x86, cpuid: Use PTR_ERR_OR_ZERO

2014-10-17 Thread tip-bot for Fabian Frederick
Commit-ID: cbda45a2d4798912637b5b792c1c7a97c8d8b080 Gitweb: http://git.kernel.org/tip/cbda45a2d4798912637b5b792c1c7a97c8d8b080 Author: Fabian Frederick AuthorDate: Fri, 17 Oct 2014 22:01:17 +0200 Committer: H. Peter Anvin CommitDate: Fri, 17 Oct 2014 13:40:51 -0700 x86, cpuid: Use PTR_

[PATCH v2 1/4] clk: rockchip: RK3288: add suspend and resume

2014-10-17 Thread zyw
From: Chris Zhong save and restore some clks, which might be changed in suspend. Signed-off-by: Tony Xie Signed-off-by: Chris Zhong --- Changes in v2: - __raw_readl/__raw_writel replaced by readl_relaxed/writel_relaxed drivers/clk/rockchip/clk-rk3288.c | 63 ++

[PATCH v2 0/4] add suspend support for RK3288

2014-10-17 Thread zyw
From: Chris Zhong this is the 1st version of suspend. RK3288 can shut down the cpu, gpu and other device controllers in suspend, and it will pull the GLOBAL_PWROFF pin to high in the final stage of the process of suspend, pull the pin to low again when resume. Changes in v2: - __raw_readl/__raw_

[PATCH] ARM: dts: omap3-gta04: Use omap specific pinctrl defines

2014-10-17 Thread Marek Belisko
Use omap specific pinctrl defines (OMAP3_CORE1_IOPAD) to configure the padconf register offset. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dtsi | 82 +++--- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/arch/arm/boot/dts/omap3

Re: [PATCH 1/4 linux-next] x86, msr: define msr chunksize

2014-10-17 Thread H. Peter Anvin
On 10/17/2014 01:01 PM, Fabian Frederick wrote: > define MSR_CHUNK_SIZE instead of hard-coded value (8). > > Signed-off-by: Fabian Frederick I don't like the name, as it isn't a "chunk" but the actual width of an MSR. Furthermore, the last hunk is just plain wrong; the 8 there refers to the num

Re: btrfs soft lockups: locks gone crazy

2014-10-17 Thread Davidlohr Bueso
On Fri, 2014-10-17 at 15:33 -0400, Josef Bacik wrote: > On 10/14/2014 03:27 AM, Davidlohr Bueso wrote: > > Hello, > > > > I'm getting massive amounts of cpu soft lockups in Linus's tree for > > today. This occurs almost immediately and is very reproducible in aim7 > > disk workloads using btrfs: >

[PATCH 4/4 linux-next] x86, msr: use seek definitions instead of hard-coded values

2014-10-17 Thread Fabian Frederick
Replace 0/1 by SEEK_SET/SEEK_CUR. Signed-off-by: Fabian Frederick --- arch/x86/kernel/msr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c index 1c66cd0..1ed1190 100644 --- a/arch/x86/kernel/msr.c +++ b/arch/x86/kernel/msr.c

[PATCH 3/4 linux-next] x86, msr: convert printk to pr_foo()

2014-10-17 Thread Fabian Frederick
Also define pr_fmt. Signed-off-by: Fabian Frederick --- arch/x86/kernel/msr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c index 5b14dac..1c66cd0 100644 --- a/arch/x86/kernel/msr.c +++ b/arch/x86/kernel/msr.c @@ -22,6 +22,

[PATCH 1/1 linux-next] x86, cpuid: use PTR_ERR_OR_ZERO

2014-10-17 Thread Fabian Frederick
replace IS_ERR/PTR_ERR Signed-off-by: Fabian Frederick --- arch/x86/kernel/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpuid.c b/arch/x86/kernel/cpuid.c index 3225ae6c..83741a7 100644 --- a/arch/x86/kernel/cpuid.c +++ b/arch/x86/kernel/cpuid.c @@ -

[PATCH 1/4 linux-next] x86, msr: define msr chunksize

2014-10-17 Thread Fabian Frederick
define MSR_CHUNK_SIZE instead of hard-coded value (8). Signed-off-by: Fabian Frederick --- arch/x86/include/asm/msr.h | 2 ++ arch/x86/kernel/msr.c | 18 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/arch/x86/include/asm/msr.h b/arch/x86/include/asm/msr

[PATCH 2/4 linux-next] x86, msr: use PTR_ERR_OR_ZERO

2014-10-17 Thread Fabian Frederick
replace IS_ERR/PTR_ERR Signed-off-by: Fabian Frederick --- arch/x86/kernel/msr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c index f1f3ed0..5b14dac 100644 --- a/arch/x86/kernel/msr.c +++ b/arch/x86/kernel/msr.c @@ -206,7 +206,

[PATCH 1/1 linux-next] x86: sysfb: use PTR_ERR_OR_ZERO

2014-10-17 Thread Fabian Frederick
replace IS_ERR/PTR_ERR Signed-off-by: Fabian Frederick --- arch/x86/kernel/sysfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/sysfb.c b/arch/x86/kernel/sysfb.c index 193ec2c..160386e 100644 --- a/arch/x86/kernel/sysfb.c +++ b/arch/x86/kernel/sysfb.c @@ -6

[PATCH 1/1 linux-next] x86/simplefb: use PTR_ERR_OR_ZERO

2014-10-17 Thread Fabian Frederick
replace IS_ERR/PTR_ERR Signed-off-by: Fabian Frederick --- arch/x86/kernel/sysfb_simplefb.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/x86/kernel/sysfb_simplefb.c b/arch/x86/kernel/sysfb_simplefb.c index 86179d4..764a29f 100644 --- a/arch/x86/kernel/sysfb_simple

[PATCH 1/1 net-next] netrom: use linux/uaccess.h

2014-10-17 Thread Fabian Frederick
replace asm/uaccess.h by linux/uaccess.h Signed-off-by: Fabian Frederick --- net/netrom/af_netrom.c | 2 +- net/netrom/nr_dev.c| 2 +- net/netrom/nr_in.c | 2 +- net/netrom/nr_out.c| 2 +- net/netrom/nr_route.c | 2 +- net/netrom/nr_subr.c | 2 +- net/netrom/nr_timer.c | 2 +- 7

Please reply

2014-10-17 Thread Jose Calvache
Dear Sir/Madam, Here is a pdf attachment of my proposal to you. Please read and reply I would be grateful. Jose Calvache -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/m

Re: [PATCH 2/2] Documentation: devicetree: Add bindings for Wi2Wi w2sg0004 gps

2014-10-17 Thread Dr. H. Nikolaus Schaller
Am 17.10.2014 um 13:00 schrieb Mark Rutland : > On Fri, Oct 17, 2014 at 11:16:42AM +0100, Dr. H. Nikolaus Schaller wrote: >> >> Am 17.10.2014 um 11:37 schrieb Mark Rutland : >> >>> On Thu, Oct 16, 2014 at 09:26:23PM +0100, Marek Belisko wrote: Signed-off-by: H. Nikolaus Schaller Sign

[PATCH 4/5] perf script: Add period data column

2014-10-17 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding period data column to be displayed in perf script. It's possible to get period values using -f option, like: $ perf script -f comm,tid,time,period,ip,sym,dso :26019 26019 52414.329088: 3707 8105443a native_write_msr_safe ([kernel.kallsyms])

[PATCH 3/5] perf evsel: No need to drag util/cgroup.h

2014-10-17 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo The only thing we need is a forward declaration for 'struct cgroup_sel', that is inside 'struct perf_evsel'. Include cgroup.h instead on the tools that support cgroups. Cc: Adrian Hunter Cc: Borislav Petkov Cc: David Ahern Cc: Don Zickus Cc: Frederic Weisbecke

[PATCH 2/5] perf evlist: Add missing 'struct option' forward declaration

2014-10-17 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo It was being found, by chance, because evsel.h needlessly includes util/cgroup.h, which will be sorted out in a following patch. Cc: Adrian Hunter Cc: Borislav Petkov Cc: David Ahern Cc: Don Zickus Cc: Frederic Weisbecker Cc: Jean Pihet Cc: Jiri Olsa Cc: Mik

[PATCH 1/5] perf evsel: Move exit stuff from __delete to __exit

2014-10-17 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo So that when an evsel is embedded into other struct it can free up resources calling perf_evsel__exit(). Cc: Adrian Hunter Cc: Borislav Petkov Cc: David Ahern Cc: Don Zickus Cc: Frederic Weisbecker Cc: Jean Pihet Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyun

[PATCH 5/5] perf script: Add period as a default output column

2014-10-17 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding period as a default output column in script command fo hardware, software and raw events. If PERF_SAMPLE_PERIOD sample type is defined in perf.data, following will be displayed in perf script output: $ perf script ls 8034 57477.887209: 25 task-clo

[GIT PULL 0/5] perf/core improvements and fixes

2014-10-17 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 691286b5561aab2e1b00119bc328598c01250548: kprobes/x86: Remove stale ARCH_SUPPORTS_KPROBES_ON_FTRACE define (2014-10-17 07:18:34 +0200) are available in the git repository at: git://git.kernel.org/pub/s

Re: [PATCH] staging: octeon: Replace memcpy with ETH_ALEN

2014-10-17 Thread Joe Perches
On Sat, 2014-10-18 at 00:17 +0530, Balavasu wrote: > This patch fixes the checkpatch.pl issue > WARNING: memcpy(dev->dev_addr, mac, ETH_ALEN); That is not the actual warning. This is the warning: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) How have you mad

Re: btrfs soft lockups: locks gone crazy

2014-10-17 Thread Josef Bacik
On 10/14/2014 03:27 AM, Davidlohr Bueso wrote: Hello, I'm getting massive amounts of cpu soft lockups in Linus's tree for today. This occurs almost immediately and is very reproducible in aim7 disk workloads using btrfs: I'm trying to reproduce but it's not popping for me. What is the setup

[PATCH] dsa: Fix conversion from host device to mii bus

2014-10-17 Thread Guenter Roeck
Commit b4d2394d01bc ("dsa: Replace mii_bus with a generic host device") replaces mii_bus with a generic host_dev, and introduces dsa_host_dev_to_mii_bus() to support conversion from host_dev to mii_bus. However, in some cases it uses to_mii_bus to perform that conversion. Since host_dev is not the

Re: [PATCH v5 00/12] Add ACPI _DSD and unified device properties support

2014-10-17 Thread Darren Hart
On 10/17/14 17:40, Greg Kroah-Hartman wrote: > On Fri, Oct 17, 2014 at 02:01:33PM +0200, Rafael J. Wysocki wrote: >> Hi Everyone, >> >> Hving had a couple of chats with Grant and Arnd during LinuxCon EU/LPC, we >> now have version 5 taking all feedback into account (hopefully). >> >> Changes have

[PATCH 2/2] usermodehelper: kill the kmod_thread_locker logic

2014-10-17 Thread Oleg Nesterov
Now that we do not call kernel_thread(CLONE_VFORK) from the worker thread we can not deadlock if do_execve() in turn triggers another call_usermodehelper(), we can remove the kmod_thread_locker code. Note: we should probably kill khelper_wq and simply use one of the global workqueues, say, system_

[PATCH 1/2] usermodehelper: don't use CLONE_VFORK for ____call_usermodehelper()

2014-10-17 Thread Oleg Nesterov
After the previous fix CLONE_VFORK in __call_usermodehelper() buys nothing, we rely on on umh_complete() in call_usermodehelper() anyway. Remove it. This also eliminates the unnecessary sleep/wakeup in the likely case, and this allows the next change. While at it, kill the "int wait" locals i

[PATCH 0/2] (Was: kernel/kmod: fix use-after-free of the sub_infostructure)

2014-10-17 Thread Oleg Nesterov
On 10/17, Martin Schwidefsky wrote: > > Version 2 of the patch. On top of this patch. Tetsuo, can you review? Oleg. kernel/kmod.c | 43 +-- 1 files changed, 5 insertions(+), 38 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH v3 1/2] usb: dwc2: gadget: sparse warning of context imbalance

2014-10-17 Thread Felipe Balbi
On Fri, Oct 17, 2014 at 07:05:19PM +, Paul Zimmerman wrote: > > From: Felipe Balbi [mailto:ba...@ti.com] > > Sent: Friday, October 17, 2014 11:52 AM > > > > On Fri, Oct 17, 2014 at 06:50:19PM +, Paul Zimmerman wrote: > > > > From: Sudip Mukherjee [mailto:sudipm.mukher...@gmail.com] > > > >

[git pull] device mapper changes for 3.18

2014-10-17 Thread Mike Snitzer
Hi Linus, I rebased the DM tree ontop of linux-block.git's 'for-3.18/core' at the beginning of October because DM core now depends on the newly introduced bioset_create_nobvec() interface. The following changes since commit d8f429e1669b9709f5b669aac9d734dbe0640891: block: add bioset_create_nob

RE: [PATCH v3 1/2] usb: dwc2: gadget: sparse warning of context imbalance

2014-10-17 Thread Paul Zimmerman
> From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Friday, October 17, 2014 11:52 AM > > On Fri, Oct 17, 2014 at 06:50:19PM +, Paul Zimmerman wrote: > > > From: Sudip Mukherjee [mailto:sudipm.mukher...@gmail.com] > > > Sent: Thursday, October 16, 2014 9:44 PM > > > > > > sparse was giving the

RE: [PATCH v3 2/2] usb: dwc2: gadget: modify return statement

2014-10-17 Thread Paul Zimmerman
> From: Sudip Mukherjee [mailto:sudipm.mukher...@gmail.com] > Sent: Thursday, October 16, 2014 9:44 PM > > modified the function to have a single return statement at the end > instead of multiple return statement in the middle of the function > to improve the readability of the code. > > This pat

Re: [PATCH v3 1/2] usb: dwc2: gadget: sparse warning of context imbalance

2014-10-17 Thread Felipe Balbi
On Fri, Oct 17, 2014 at 06:50:19PM +, Paul Zimmerman wrote: > > From: Sudip Mukherjee [mailto:sudipm.mukher...@gmail.com] > > Sent: Thursday, October 16, 2014 9:44 PM > > > > sparse was giving the following warning: > > warning: context imbalance in 's3c_hsotg_ep_enable' > >

RE: [PATCH v3 1/2] usb: dwc2: gadget: sparse warning of context imbalance

2014-10-17 Thread Paul Zimmerman
> From: Sudip Mukherjee [mailto:sudipm.mukher...@gmail.com] > Sent: Thursday, October 16, 2014 9:44 PM > > sparse was giving the following warning: > warning: context imbalance in 's3c_hsotg_ep_enable' > - different lock contexts for basic block > > we were returning

  1   2   3   4   5   >