Re: [PATCH 3/5] irqchip: armada-370-xp: re-enable per-CPU interrupts at resume time

2015-10-26 Thread Marcin Wojtas
Thomas, 2015-10-26 6:09 GMT+01:00 Thomas Petazzoni : > Marcin, > > On Mon, 26 Oct 2015 05:35:46 +0100, Marcin Wojtas wrote: > >> Thanks for the explanation - now it's clear. > > Good :-) Hopefully the explanation in PATCH 5/5 is also clear enough. The Ascii-art is beutiful, indeed:) > >> Btw, I

Re: [PATCH v8] seccomp, ptrace: add support for dumping seccomp filters

2015-10-26 Thread Kees Cook
On Mon, Oct 26, 2015 at 3:46 PM, Kees Cook wrote: > On Mon, Oct 26, 2015 at 12:39 AM, Oleg Nesterov wrote: >> On 10/21, Tycho Andersen wrote: >>> >>> > And this leads to another question... If we expect that this interface >>> > can change later, then perhaps PTRACE_SECCOMP_GET_FILTER should also

[net-next PATCHv2] bpf: Output error message to logbuf when loading failure

2015-10-26 Thread Wang Nan
Many reasons can make bpf_prog_load() return EINVAL. This patch utilizes logbuf to deliver the actual reason of the failure. Without this patch, it is very easy for user to pass an object with "version" section not match the kernel version code, and the problem is hard to determine from return cod

Re: [PATCH v5 4/5] ARM: dts: mt8135: enable basic SMP bringup for mt8135

2015-10-26 Thread Yingjoe Chen
On Mon, 2015-10-26 at 09:56 +0900, Kevin Hilman wrote: > Hello, > > On Sat, Oct 3, 2015 at 12:19 AM, Yingjoe Chen > wrote: > > Add arch timer node to enable arch-timer support. MT8135 firmware > > doesn't correctly setup arch-timer frequency and CNTVOFF, add > > properties to workaround this. >

Re: [PATCH 05/31] perf record: Load eBPF object into kernel

2015-10-26 Thread Wangnan (F)
Hi Arnaldo, On 2015/10/24 8:27, Arnaldo Carvalho de Melo wrote: libbpf: load bpf program failed: Invalid argument libbpf: -- BEGIN DUMP LOG --- libbpf: libbpf: -- END LOG -- libbpf: failed to load program 'fork=_do_fork' libbpf: failed to load object '/tmp/foo.o' bpf: load objects failed event

Re: [PATCH 5/5] block: enable dax for raw block devices

2015-10-26 Thread Jan Kara
On Mon 26-10-15 17:23:19, Dave Chinner wrote: > On Mon, Oct 26, 2015 at 11:48:06AM +0900, Dan Williams wrote: > > 2/ Even if we get a new flag that lets the kernel know the app > > understands DAX mappings, we shouldn't leave fsync broken. Can we > > instead get by with a simple / big hammer solut

Re: [linuxwifi] [-next] WARNING at iwl_mvm_time_event_send_add+0x72/0x1b6

2015-10-26 Thread Grumbach, Emmanuel
Hi, On 10/26/2015 08:41 AM, Sergey Senozhatsky wrote: > Hi, > > linux-next 20151022 > > Can be reproduced reliably? Seems like a bad race between the end of session protection for the authentication and the start of the session protection for the deauth. I think I found the hole in the locks i

Re: Linux 4.2.4

2015-10-26 Thread Gerhard Wiesinger
On 25.10.2015 22:53, Jozsef Kadlecsik wrote: On Sun, 25 Oct 2015, Gerhard Wiesinger wrote: Any further ideas? Does it crash without counters? That could narrow down where to look for. Hello Jozsef, it doesn't crash i I don't use the counters so far. So there must be a bug with the counte

Re: [PATCH v11 1/6] PCI: designware: move calculation of bus addresses to DRA7xx

2015-10-26 Thread Zhou Wang
On 2015/10/23 0:35, Bjorn Helgaas wrote: > Hi Gabriele, > > On Thu, Oct 22, 2015 at 07:21:41AM +, Gabriele Paoloni wrote: >>> -Original Message- >>> From: Bjorn Helgaas [mailto:helg...@kernel.org] > #define PCIECTRL_DRA7XX_CONF_PHY_CS 0x010C #define

Re: [PATCH 1/1] kthread: introduce kthread_get_run() to fix __nbd_ioctl()

2015-10-26 Thread Markus Pargmann
On Sun, Oct 25, 2015 at 03:27:13PM +0100, Oleg Nesterov wrote: > It is not safe to use the task_struct returned by kthread_run(threadfn) > if threadfn() can exit before the "owner" does kthread_stop(), nothing > protects this task_struct. > > So __nbd_ioctl() looks buggy; a killed nbd_thread_send(

Re: [PATCH v11 3/6] PCI: designware: Add ARM64 support

2015-10-26 Thread Zhou Wang
On 2015/10/23 2:28, Bjorn Helgaas wrote: > Hi Zhou, > > On Fri, Oct 16, 2015 at 06:23:38PM +0800, Zhou Wang wrote: >> This patch tries to unify ARM32 and ARM64 PCIe in designware driver. Delete >> function dw_pcie_setup, dw_pcie_scan_bus, dw_pcie_map_irq and struct hw_pci, >> move related operatio

Re: [PATCH -mm 2/3] nbd: nbd_thread_recv: remove the buggy kernel_dequeue_signal()

2015-10-26 Thread Markus Pargmann
Hi Oleg, On Sun, Oct 25, 2015 at 04:26:39PM +0100, Oleg Nesterov wrote: > nbd_thread_recv() is called by userspace, it is very wrong to dequeue > and throw out a signal. This signal handling for a userspace process is implicitly implemented for several years already through the timeout handling.

Re: Please see

2015-10-26 Thread Fei Kan Lau
Dear Friend, My name is Fei Kan Lau, a Senior staff with Bank of China U K.A late investor who bears the same last name with you has left a very huge sum with Our Bank for some years and no next of kin has come forward all these years for claim. Please get back to me as soon as possible for de

Re: [PATCH -mm 1/3] nbd: nbd_thread_send: remove the unnecessary kernel_dequeue_signal()

2015-10-26 Thread Markus Pargmann
On Sun, Oct 25, 2015 at 04:26:37PM +0100, Oleg Nesterov wrote: > nbd_thread_send() does kernel_dequeue_signal() at the end for no reason, > it is fine to exit with the pending SIGKILL. > > Not sure it really needs another kernel_dequeue_signal() inside the > main loop, we know that signal_pending(

Re: [PATCH -mm 3/3] nbd: don't abuse irqsave/irqrestore while taking nbd->tasks_lock

2015-10-26 Thread Markus Pargmann
On Sun, Oct 25, 2015 at 04:26:41PM +0100, Oleg Nesterov wrote: > Both nbd_thread_recv() and nbd_thread_send() are might_sleep() and > called with irqs enabled(), irqsave/irqrestore make no sense and imo > look confusing. Thanks, applied. Regards, Markus > > Signed-off-by: Oleg Nesterov > ---

Re: [linuxwifi] [-next] WARNING at iwl_mvm_time_event_send_add+0x72/0x1b6

2015-10-26 Thread Grumbach, Emmanuel
On 10/26/2015 09:23 AM, Grumbach, Emmanuel wrote: > Hi, > > On 10/26/2015 08:41 AM, Sergey Senozhatsky wrote: >> Hi, >> >> linux-next 20151022 >> >> > > Can be reproduced reliably? > Seems like a bad race between the end of session protection for the > authentication and the start of the sessio

[PATCH] arm: Omit fixmap calls in text patching code if CONFIG_MMU=n

2015-10-26 Thread Geert Uytterhoeven
If CONFIG_JUMP_LABEL=y and CONFIG_MMU=n: arch/arm/kernel/patch.c: In function 'patch_map': arch/arm/kernel/patch.c:39:129: error: 'L_PTE_YOUNG' undeclared (first use in this function) set_fixmap(fixmap, page_to_phys(page));

Re: [PATCH v3] extcon: gpio: Add the support for Device tree bindings

2015-10-26 Thread Chanwoo Choi
Hi Rob, First of all, thanks for your review. On 2015년 10월 22일 07:35, Rob Herring wrote: > On Tue, Oct 20, 2015 at 11:37 PM, Chanwoo Choi wrote: >> This patch adds the support for Device tree bindings of extcon-gpio driver. >> The extcon-gpio device tree node must include the both 'extcon-id' an

Re: Build regressions/improvements in v4.3-rc7

2015-10-26 Thread Geert Uytterhoeven
Hi Rabin, On Sun, Oct 25, 2015 at 11:32 PM, Rabin Vincent wrote: > On Sun, Oct 25, 2015 at 11:39:15AM +0100, Geert Uytterhoeven wrote: >> On Sun, Oct 25, 2015 at 11:18 AM, Geert Uytterhoeven >> wrote: >> > On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven >> > wrote: >> >> JFYI, when compari

Re: linux 4.2.4 rcu_sched rolls over and barfs after debugger exits

2015-10-26 Thread Jeffrey Merkey
Also, please note in the trace for some strange reason, the floppy drive activates after the rcu_sched errors happen -- fucking wierd shit. I fixed the problem in the debugger patch but seems like to me it should not generate a crash report when time is frozen for that kernel instance just because

Re: [PATCH v5 4/5] ARM: dts: mt8135: enable basic SMP bringup for mt8135

2015-10-26 Thread Kevin Hilman
On Mon, Oct 26, 2015 at 4:15 PM, Yingjoe Chen wrote: > On Mon, 2015-10-26 at 09:56 +0900, Kevin Hilman wrote: >> Hello, >> >> On Sat, Oct 3, 2015 at 12:19 AM, Yingjoe Chen >> wrote: >> > Add arch timer node to enable arch-timer support. MT8135 firmware >> > doesn't correctly setup arch-timer fre

[PATCH v2 0/5] mt8173 spi multiple devices support

2015-10-26 Thread Leilk Liu
This series are based on 4.3-rc1 and provide 5 patches to support mt8173 spi multiple devices. Change in v2: 1. add mt8173 board name on patch 5/5 subject. 2. fix this series merge conflict. Change in v1: 1. update document to add cs-gpio; 2. remove mtk_spi_config function; 3. move controller_dat

[PATCH v2 4/5] spi: mediatek: mt8173 spi multiple devices support

2015-10-26 Thread Leilk Liu
mt8173 IC spi HW has 4 gpio group, it's possible to support max <= 4 slave devices, even mtk spi HW is not congruent to spi core. 1. When a device do a spi_message transfer, spi HW should know which pad-group this device is on, and then writes pad-select register. 2. Mtk pad-select register j

[PATCH v2 2/5] spi: mediatek: remove mtk_spi_config

2015-10-26 Thread Leilk Liu
mtk_spi_config() and mtk_spi_prepare_message() both initialize spi register, so remove mtk_spi_config() and init all register in mtk_spi_prepare_message(). Signed-off-by: Leilk Liu --- drivers/spi/spi-mt65xx.c | 59 +--- 1 file changed, 26 insertions(+

[PATCH v2 3/5] spi: mediatek: handle controller_data in mtk_spi_setup

2015-10-26 Thread Leilk Liu
controller_data is related with device, so move to master->setup function. Signed-off-by: Leilk Liu --- drivers/spi/spi-mt65xx.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c index 7bd84c8..406695a 100

[PATCH v2 1/5] dt-binding: spi: Mediatek: Update document devicetree bindings to support multiple devices

2015-10-26 Thread Leilk Liu
This patch updates document devicetree bindings to support multiple devices. Signed-off-by: Leilk Liu --- Documentation/devicetree/bindings/spi/spi-mt65xx.txt | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt b/Docu

[PATCH v2 5/5] arm64: dts: mt8173: spi bus dts support multiple devices

2015-10-26 Thread Leilk Liu
This patch support multiple devices for MT8173 board. Signed-off-by: Leilk Liu --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts index 81

Re: [PATCH v4 0/5] enable I2C devices behind I2C bus on Gen2

2015-10-26 Thread Lee Jones
On Fri, 23 Oct 2015, Wolfram Sang wrote: > > Wolfram, since Lee acknowledged patches 1-3, can you pull them to your tree? > > So, I picked patches 1-4 to my for-next. Patch 5 is missing an ACK. Can you place these patches onto their own branch, tag it and send the appropriate pull-request out ple

Re: [PATCH v6 04/22] of: add function to allow probing a device from a OF node

2015-10-26 Thread Geert Uytterhoeven
On Mon, Sep 21, 2015 at 4:02 PM, Tomeu Vizoso wrote: > Walks the OF tree up and finds the closest ancestor that has a struct > device associated with it, probing it if isn't bound to a driver yet. > > The above should ensure that the dependency represented by the passed OF > node is available, bec

Re: [PATCH v2 0/2] i2c: uniphier: add two I2C controller drivers for UniPhier SoC platform

2015-10-26 Thread Lee Jones
> This series adds two I2C controller drivers. > (they are completely different IPs.) > > The first one is a very simple FIFO-less I2C controller, > which is used on some older UniPhier SoCs. > > The other one is higher-performance I2C controller with TX/RX FIFO, > used on newer UniPhier SoCs. A

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

2015-10-26 Thread Laurent Dufour
On 21/10/2015 12:08, Michael Ellerman wrote: > On Wed, 2015-10-21 at 16:59 +1100, Stephen Rothwell wrote: >> Hi Andrew, >> >> After merging the akpm-current tree, today's linux-next build (powerpc >> allnoconfig) failed like this: > >> arch/powerpc/include/asm/pgtable.h: In function 'pte_pgprot':

Re: [PATCH v3 2/3] mfd: rt5033: Add RT5033 Flash led sub device

2015-10-26 Thread Lee Jones
On Fri, 23 Oct 2015, Ingi Kim wrote: > This patch adds rt5033-led sub device to support it. > > Signed-off-by: Ingi Kim > Acked-by: Lee Jones > --- > drivers/mfd/rt5033.c | 3 +++ > 1 file changed, 3 insertions(+) Applied, thanks. > diff --git a/drivers/mfd/rt5033.c b/drivers/mfd/rt5033.c >

[git pull] IOMMU Fixes for Linux v4.3-rc7

2015-10-26 Thread Joerg Roedel
Hi Linus, The following changes since commit 5adad9915472e180712030d730cdc476c6f8a60b: iommu/amd: Fix NULL pointer deref on device detach (2015-10-09 17:59:33 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v4.3-r

[PATCH v2] perf tools: Enable pre-event inherit setting by config terms

2015-10-26 Thread Wang Nan
This patch allows perf record setting event's attr.inherit bit by config terms like: # perf record -e cycles/no-inherit/ ... # perf record -e cycles/inherit/ ... So user can control inherit bit for each event separately. In following example, a.out fork()s in main then do some complex CPU inte

Re: [PATCH v11 4/6] PCI: hisi: Add PCIe host support for HiSilicon SoC Hip05

2015-10-26 Thread Zhou Wang
On 2015/10/23 2:46, Bjorn Helgaas wrote: > Hi Zhou, > > This looks pretty good to me; just a mask question and add a printk. > > On Fri, Oct 16, 2015 at 06:23:39PM +0800, Zhou Wang wrote: >> This patch adds PCIe host support for HiSilicon SoC Hip05. >> ... > >> +#define PCIE_SUBCTRL_SYS_STATE4_R

Re: [PATCH v9 1/4] perf,kvm/{x86,s390}: Remove dependency on uapi/kvm_perf.h

2015-10-26 Thread Hemant Kumar
Hi Arnaldo, Could you please take a look at this series and pull it? --- Thanks, Hemant On 10/07/2015 07:55 AM, Hemant Kumar wrote: Its better to remove the dependency on uapi/kvm_perf.h to allow dynamic discovery of kvm events (if its needed). To do this, some extern variables have been intro

Re: [PATCH 3/5] irqchip: armada-370-xp: re-enable per-CPU interrupts at resume time

2015-10-26 Thread Thomas Petazzoni
Dear Marcin Wojtas, On Mon, 26 Oct 2015 08:06:18 +0100, Marcin Wojtas wrote: > > Good :-) Hopefully the explanation in PATCH 5/5 is also clear enough. > > The Ascii-art is beutiful, indeed:) Glad to hear that my artistic skills are appreciated :) > Yes, you are right - without any pm_ops the d

Re: [PATCH v2 0/2] i2c: uniphier: add two I2C controller drivers for UniPhier SoC platform

2015-10-26 Thread Masahiro Yamada
Hi Lee, 2015-10-26 17:17 GMT+09:00 Lee Jones : >> This series adds two I2C controller drivers. >> (they are completely different IPs.) >> >> The first one is a very simple FIFO-less I2C controller, >> which is used on some older UniPhier SoCs. >> >> The other one is higher-performance I2C control

Re: [linuxwifi] [-next] WARNING at iwl_mvm_time_event_send_add+0x72/0x1b6

2015-10-26 Thread Sergey Senozhatsky
On (10/26/15 07:51), Grumbach, Emmanuel wrote: > > On 10/26/2015 08:41 AM, Sergey Senozhatsky wrote: > >> Hi, > >> > >> linux-next 20151022 > >> > >> > > > > Can be reproduced reliably? > > Seems like a bad race between the end of session protection for the > > authentication and the start of the

Re: [PATCH net] macvtap: unbreak receiving of gro skb with frag list

2015-10-26 Thread Michael S. Tsirkin
On Mon, Oct 26, 2015 at 02:53:38PM +0800, Jason Wang wrote: > > > On 10/26/2015 02:09 PM, Michael S. Tsirkin wrote: > > On Mon, Oct 26, 2015 at 11:15:57AM +0800, Jason Wang wrote: > >> > >> On 10/23/2015 09:37 PM, Michael S. Tsirkin wrote: > >>> On Fri, Oct 23, 2015 at 12:57:05AM -0400, Jason Wan

Re: [PATCH v2 0/2] i2c: uniphier: add two I2C controller drivers for UniPhier SoC platform

2015-10-26 Thread Geert Uytterhoeven
On Mon, Oct 26, 2015 at 9:27 AM, Masahiro Yamada wrote: > 2015-10-26 17:17 GMT+09:00 Lee Jones : >>> This series adds two I2C controller drivers. >>> (they are completely different IPs.) >>> >>> The first one is a very simple FIFO-less I2C controller, >>> which is used on some older UniPhier SoCs.

Re: [PATCH 06/19] input: tegra-kbc: enable support for the standard "wakeup-source" property

2015-10-26 Thread Dmitry Torokhov
On Fri, Oct 23, 2015 at 11:23:51AM +0100, Sudeep Holla wrote: > > > On 23/10/15 07:39, Dmitry Torokhov wrote: > >On Wed, Oct 21, 2015 at 11:10:03AM +0100, Sudeep Holla wrote: > >>Though the mmc core driver should/will continue to support the legacy > >>"nvidia,wakeup-source" property to enable SD

memory-hotplug have such a problem.

2015-10-26 Thread zhong jiang
when I test the memory online or offline, I find the problem that memory online always return an error. I peform the operation as follow: cd /sys/device/system/memory/ echo online > state it always print "-bash: echo: write error: Operation not permitted

Re: [PATCH v2 0/2] i2c: uniphier: add two I2C controller drivers for UniPhier SoC platform

2015-10-26 Thread Wolfram Sang
On Mon, Oct 26, 2015 at 09:31:15AM +0100, Geert Uytterhoeven wrote: > On Mon, Oct 26, 2015 at 9:27 AM, Masahiro Yamada > wrote: > > 2015-10-26 17:17 GMT+09:00 Lee Jones : > >>> This series adds two I2C controller drivers. > >>> (they are completely different IPs.) > >>> > >>> The first one is a ve

Re: [PATCH 03/17] input: tegra-kbc: drop use of IRQF_NO_SUSPEND flag

2015-10-26 Thread Dmitry Torokhov
On Mon, Oct 19, 2015 at 06:34:02PM +0100, Sudeep Holla wrote: > Hi Dmitry, > > On 05/10/15 11:24, Laxman Dewangan wrote: > > > >On Monday 21 September 2015 09:16 PM, Sudeep Holla wrote: > >> > >>diff --git a/drivers/input/keyboard/tegra-kbc.c > >>b/drivers/input/keyboard/tegra-kbc.c > >>index f97c

Re: [linuxwifi] [-next] WARNING at iwl_mvm_time_event_send_add+0x72/0x1b6

2015-10-26 Thread Grumbach, Emmanuel
On 10/26/2015 10:30 AM, Sergey Senozhatsky wrote: > On (10/26/15 07:51), Grumbach, Emmanuel wrote: >>> On 10/26/2015 08:41 AM, Sergey Senozhatsky wrote: Hi, linux-next 20151022 >>> >>> Can be reproduced reliably? >>> Seems like a bad race between the end of session protec

Re: [PATCH tip/core/rcu 11/13] rculist: Make list_entry_rcu() use lockless_dereference()

2015-10-26 Thread Ingo Molnar
* Paul E. McKenney wrote: > From: Patrick Marlier > > The current list_entry_rcu() implementation copies the pointer to a stack > variable, then invokes rcu_dereference_raw() on it. This results in an > additional store-load pair. Now, most compilers will emit normal store > and load instruc

Re: [PATCH] leds: bcm6328: Handle default-state of LEDs correctly

2015-10-26 Thread Jacek Anaszewski
Hi Simon, Thanks for the patch. There are conflicts when applying it to the LED tree: git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git Please use it as a code base for your LED development. When patching existing drivers, please always copy its author(s). Cc Alvaro an

[PATCH v2] regulator, dt: add dt support for tps6502x regulator

2015-10-26 Thread Heiko Schocher
add DT support for the tps6502x regulators. Signed-off-by: Heiko Schocher --- Changes in v2: - add comment from kbuild test robot - tps6502x_parse_dt_data() can be static - add comment from Mark Brown: - remove arch/arm/boot/dts/tps65023.dtsi - do not use "regulator-compatible" .../devic

Re: [PATCH] Input: snvs_pwrkey - remove duplicated semicolon

2015-10-26 Thread Dmitry Torokhov
On Fri, Sep 11, 2015 at 03:35:39AM +0200, Javier Martinez Canillas wrote: > Remove the unneded semicolon since it is clearly a typo error. > > Signed-off-by: Javier Martinez Canillas > Applied, thank you. > --- > > drivers/input/keyboard/snvs_pwrkey.c | 2 +- > 1 file changed, 1 insertion(+)

Re: [PATCH 0/9] add missing of_node_put

2015-10-26 Thread Jacek Anaszewski
Hi Julia, Patches 1-4 have been applied to the LED tree, thanks. On 10/24/2015 04:42 PM, Julia Lawall wrote: The various for_each device_node iterators performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. The complete semantic patch that fixes this pro

Re: [PATCH] staging:lustre: Prevent duplicate CT registrations

2015-10-26 Thread Dan Carpenter
On Fri, Oct 23, 2015 at 03:59:14PM -0400, James Simmons wrote: > diff --git a/drivers/staging/lustre/lustre/lmv/lmv_obd.c > b/drivers/staging/lustre/lustre/lmv/lmv_obd.c > index 635a93c..d6d70d8 100644 > --- a/drivers/staging/lustre/lustre/lmv/lmv_obd.c > +++ b/drivers/staging/lustre/lustre/lmv/lm

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-26 Thread Boqun Feng
On Mon, Oct 26, 2015 at 11:20:01AM +0900, Michael Ellerman wrote: > > Sorry guys, these threads are so long I tend not to read them very actively :} > > Looking at the system call path, the straight line path does not include any > barriers. I can't see any hidden in macros either. > > We also h

Re: [PATCH 5/5] block: enable dax for raw block devices

2015-10-26 Thread Dan Williams
On Mon, Oct 26, 2015 at 3:23 PM, Dave Chinner wrote: > On Mon, Oct 26, 2015 at 11:48:06AM +0900, Dan Williams wrote: >> On Mon, Oct 26, 2015 at 6:22 AM, Dave Chinner wrote: >> > On Thu, Oct 22, 2015 at 11:08:18PM +0200, Jan Kara wrote: >> >> Ugh2: Now I realized that DAX mmap isn't safe wrt fs fr

Re: Linux 4.2.4

2015-10-26 Thread Jozsef Kadlecsik
On Sun, 25 Oct 2015, Gerhard Wiesinger wrote: > On 25.10.2015 20:46, Jozsef Kadlecsik wrote: > > Hi, > > > > On Sun, 25 Oct 2015, Gerhard Wiesinger wrote: > > > > > On 25.10.2015 10:46, Willy Tarreau wrote: > > > > ipset *triggered* the problem. The whole stack dump would tell more. > > > OK, fi

Re: [Question] A panic when reboot --force the system

2015-10-26 Thread Xishi Qiu
On 2015/10/23 17:45, Rui Xiang wrote: > Hi,list > > I encounter a panic about init process. > > Kernel panic - not syncing: Attempted to kill init! exitcode=0x0007 > > Pid: 1, comm: init Tainted: G RO 3.4.24.19-0.11-default #1 > Call Trace: > [] panic+0xc1/0x1e2 > [] do_exit+0x7d

Re: [PATCH] ASoC: wm8962: set ALC2 as non-volatile register

2015-10-26 Thread Charles Keepax
On Fri, Oct 23, 2015 at 02:18:48PM +0900, Jiada Wang wrote: > Previously ALC2 register is set as a volatile register, declare > it as one of ALC Coefficients register together with other non-volatile > registers will cause issue, in case wm8962 has enter suspend mode, > and cache_only flag is set,

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-26 Thread Boqun Feng
On Mon, Oct 26, 2015 at 02:20:21PM +1100, Paul Mackerras wrote: > On Wed, Oct 21, 2015 at 10:18:33AM +0200, Peter Zijlstra wrote: > > On Tue, Oct 20, 2015 at 02:28:35PM -0700, Paul E. McKenney wrote: > > > I am not seeing a sync there, but I really have to defer to the > > > maintainers on this one

Re: [PATCH] clk: versatile: Make depend on OF when COMPILE_TEST

2015-10-26 Thread Geert Uytterhoeven
On Sun, Oct 25, 2015 at 11:41 PM, Javier Martinez Canillas wrote: > Commit 4a7748c3d641 ("clk: Allow drivers to build if COMPILE_TEST is > enabled") allowed clk drives to be compile tested on other archs but > the COMMON_CLK_VERSATILE was only enabled on platforms that already > selected OF suppor

Re: [RFC PATCH] perf tools: Don't set inherit bit for system wide evsel

2015-10-26 Thread Wangnan (F)
On 2015/10/24 0:17, Arnaldo Carvalho de Melo wrote: Em Fri, Oct 23, 2015 at 09:58:20PM +0800, pi3orama escreveu: 发自我的 iPhone 在 2015年10月23日,下午9:51,Arnaldo Carvalho de Melo 写道: Em Fri, Oct 23, 2015 at 10:43:49AM +, Wang Nan escreveu: Inherit bit is useless for a system wide evsel [1].

Re: Linux 4.2.4

2015-10-26 Thread Gerhard Wiesinger
On 26.10.2015 09:58, Jozsef Kadlecsik wrote: On Sun, 25 Oct 2015, Gerhard Wiesinger wrote: Also any idea regarding the second isssue? Or do you think it has the same root cause? Looking at your RedHat bugzilla report, the "nf_conntrack: table full, dropping packet" and "Alignment trap: not han

Re: [PATCH v10 2/4] PM / Domains: add setter for dev.pm_domain

2015-10-26 Thread Tomeu Vizoso
On 25 October 2015 at 16:18, Rafael J. Wysocki wrote: > On Wednesday, October 21, 2015 05:34:12 PM Tomeu Vizoso wrote: >> Adds a function that sets the pointer to dev_pm_domain in struct device >> and that warns if the device has already finished probing. The reason >> why we want to enforce that

[PATCH] regulator: tps65217: remove tps65217.dtsi file

2015-10-26 Thread Heiko Schocher
remove tps65217.dtsi and adapt all boards, which used it. Signed-off-by: Heiko Schocher --- Suggested by Mark Brown, see: https://lkml.org/lkml/2015/10/21/581 .../devicetree/bindings/regulator/tps65217.txt | 78 -- arch/arm/boot/dts/am335x-bone-common.dtsi | 14

Re: [PATCH 0/3] drivers/misc/sgi-gru: unapplied patches and a new one

2015-10-26 Thread Sudip Mukherjee
On Wed, Oct 14, 2015 at 09:33:55AM -0500, Dimitri Sivanich wrote: > On Wed, Oct 14, 2015 at 10:22:25AM +0530, Sudip Mukherjee wrote: > > On Mon, Oct 05, 2015 at 10:18:32AM -0500, Dimitri Sivanich wrote: > > > On Mon, Oct 05, 2015 at 08:43:07PM +0530, Sudip Mukherjee wrote: > > > > On Thu, Sep 24, 2

Re: [PATCH v2] regulator, dt: add dt support for tps6502x regulator

2015-10-26 Thread kbuild test robot
Hi Heiko, [auto build test WARNING on v4.3-rc7 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Heiko-Schocher/regulator-dt-add-dt-support-for-tps6502x-regulator/20151026-164911 coccinelle war

[PATCH] regulator, dt: fix platform_no_drv_owner.cocci warnings

2015-10-26 Thread kbuild test robot
drivers/regulator/tps65023-regulator.c:543:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Heiko Schocher Signed-off-by: Fengguang Wu --- tps65023-reg

Re: [RFC PATCH] perf tools: Don't set inherit bit for system wide evsel

2015-10-26 Thread Adrian Hunter
On 26/10/15 11:08, Wangnan (F) wrote: > > > On 2015/10/24 0:17, Arnaldo Carvalho de Melo wrote: >> Em Fri, Oct 23, 2015 at 09:58:20PM +0800, pi3orama escreveu: >>> >>> 发自我的 iPhone >>> 在 2015年10月23日,下午9:51,Arnaldo Carvalho de Melo 写道: Em Fri, Oct 23, 2015 at 10:43:49AM +,

Re: [PATCH 2/3] devicetree: add binding for Aurora VLSI NB8800 Ethernet controller

2015-10-26 Thread Marc Gonzalez
On 23/10/2015 15:41, Måns Rullgård wrote: > Marc Gonzalez wrote: > >> On 22/10/2015 16:02, Mans Rullgard wrote: >> >>> This adds a binding for the Aurora VLSI NB8800 Ethernet controller >>> using the "aurora,nb8800" compatible string. When used in Sigma >>> Designs chips a few additional control

Payment Approved

2015-10-26 Thread Bank
SEE ATTACHED FOR DETAILS. OSAA.doc Description: MS-Word document

[PATCH v3] i2c: at91: manage unexpected RXRDY flag when starting a transfer

2015-10-26 Thread Ludovic Desroches
In some cases, we could start a new i2c transfer with the RXRDY flag set. It is not a clean state and it leads to print annoying error messages even if there no real issue. The cause is only having garbage data in the Receive Holding Register because of a weird behavior of the RXRDY flag. Signed-o

Re: [RFC PATCH net-next] net/core: initial support for stacked dev feature toggles

2015-10-26 Thread Michal Kubecek
On Fri, Oct 23, 2015 at 10:51:09PM -0700, Alexander Duyck wrote: > On 10/23/2015 08:40 PM, Jarod Wilson wrote: > > > >+static netdev_features_t netdev_sync_upper_features(struct net_device > >*lower, > >+struct net_device *upper, netdev_features_t features) > >+{ > >+netdev_features_t want

[PATCH] soc: mediatek: Init MT8173 scpsys driver earlier

2015-10-26 Thread James Liao
Some power domain comsumers may init before module_init. So the power domain provider (scpsys) need to be initialized earlier too. This patch modify scpsys driver init level from module_init to subsys_initcall. Signed-off-by: James Liao --- This patch is based on v4.3-rc7. drivers/soc/mediate

[PATCH 4/7] um: Remove dead code from x86_64 syscall stub

2015-10-26 Thread Richard Weinberger
syscall_stub is dead code as um is using only batch_syscall_stub. Signed-off-by: Richard Weinberger --- arch/x86/um/stub_64.S | 13 - 1 file changed, 13 deletions(-) diff --git a/arch/x86/um/stub_64.S b/arch/x86/um/stub_64.S index 7160b20..a212445 100644 --- a/arch/x86/um/stub_64.S

[PATCH 7/7] um: Report host OOM more nicely

2015-10-26 Thread Richard Weinberger
If UML runs on the host side out of memory, report this condition more nicely. Signed-off-by: Richard Weinberger --- arch/um/kernel/tlb.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/arch/um/kernel/tlb.c b/arch/um/kernel/tlb.c index 2077248..3777b82 100644

[PATCH 1/7] um: Define PTRACE_OLDSETOPTIONS

2015-10-26 Thread Richard Weinberger
...such that processes within UML can do a ptrace(PTRACE_OLDSETOPTIONS, ...) Signed-off-by: Richard Weinberger --- arch/um/include/asm/ptrace-generic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/um/include/asm/ptrace-generic.h b/arch/um/include/asm/ptrace-generic.h index 2966adb

[PATCH 6/7] um: Simplify STUB_DATA loading

2015-10-26 Thread Richard Weinberger
As long STUB_DATA fits into 32bits we can use a plain mov. If it will grow at some point in future we will switch to movabsq. In any case the code is smaller and more easy to read than the current one Signed-off-by: Richard Weinberger --- arch/x86/um/stub_64.S | 5 + 1 file changed, 1 insert

[PATCH 3/7] um: Get rid of open coded NR_SYSCALLS

2015-10-26 Thread Richard Weinberger
We can use __NR_syscall_max. Signed-off-by: Richard Weinberger --- arch/um/kernel/skas/syscall.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/um/kernel/skas/syscall.c b/arch/um/kernel/skas/syscall.c index 64a8fe5..1683b8e 100644 --- a/arch/um/kernel/skas/sysca

[PATCH 5/7] um: Remove dead code from x86_64 syscall stub

2015-10-26 Thread Richard Weinberger
syscall_stub is dead code as um is using only batch_syscall_stub. Signed-off-by: Richard Weinberger --- arch/x86/um/stub_32.S | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/um/stub_32.S b/arch/x86/um/stub_32.S index b972649..9881680 100644 --- a/arch/x86/um/stub_32.S +++ b/arch/x86/

[PATCH 2/7] um: Store syscall number after syscall_trace_enter()

2015-10-26 Thread Richard Weinberger
To support changing syscall numbers we have to store it after syscall_trace_enter(). Signed-off-by: Richard Weinberger --- arch/um/include/shared/os.h | 1 + arch/um/kernel/skas/syscall.c | 13 +++-- arch/um/os-Linux/skas/process.c | 10 +++--- 3 files changed, 11 insertions(+

[PATCH tip/locking/core v5 1/6] powerpc: atomic: Make _return atomics and *{cmp}xchg fully ordered

2015-10-26 Thread Boqun Feng
This patch fixes two problems to make value-returning atomics and {cmp}xchg fully ordered on PPC. According to memory-barriers.txt: > Any atomic operation that modifies some state in memory and returns > information about the state (old or new) implies an SMP-conditional > general memory barrier

Can arm64 plan to support hibernation(suspend-to-disk)in current kernel(ATF)?

2015-10-26 Thread wangfei
Hi all, Is any one knew,whether mainline kernel and psci plan to support hibernation on arm64 architecture now? Thanks Best Regards william -- 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 h

[PATCH tip/locking/core v5 6/6] powerpc: atomic: Implement cmpxchg{,64}_* and atomic{,64}_cmpxchg_* variants

2015-10-26 Thread Boqun Feng
Implement cmpxchg{,64}_relaxed and atomic{,64}_cmpxchg_relaxed, based on which _release variants can be built. To avoid superfluous barriers in _acquire variants, we implement these operations with assembly code rather use __atomic_op_acquire() to build them automatically. For the same reason, we

[PATCH tip/locking/core v5 2/6] atomics: Add test for atomic operations with _relaxed variants

2015-10-26 Thread Boqun Feng
Some atomic operations now have _relaxed/acquire/release variants, this patch then adds some trivial tests for two purpose: 1. test the behavior of these new operations in single-CPU environment. 2. make their code generated before we actually use them somewhere, so that

[PATCH tip/locking/core v5 0/6] atomics: powerpc: Implement relaxed/acquire/release variants of some atomics

2015-10-26 Thread Boqun Feng
Hi all, This is v5 of the series. Link for v1: https://lkml.org/lkml/2015/8/27/798 Link for v2: https://lkml.org/lkml/2015/9/16/527 Link for v3: https://lkml.org/lkml/2015/10/12/368 Link for v4: https://lkml.org/lkml/2015/10/14/670 Changes since v4: * define PPC_ATOMIC_ENTRY_BARRIER as "s

[PATCH tip/locking/core v5 4/6] powerpc: atomic: Implement atomic{,64}_*_return_* variants

2015-10-26 Thread Boqun Feng
On powerpc, acquire and release semantics can be achieved with lightweight barriers("lwsync" and "ctrl+isync"), which can be used to implement __atomic_op_{acquire,release}. For release semantics, since we only need to ensure all memory accesses that issue before must take effects before the -stor

Re: [PATCH 9/9] pinctrl: at91: add missing of_node_put

2015-10-26 Thread Ludovic Desroches
On Sat, Oct 24, 2015 at 04:42:35PM +0200, Julia Lawall wrote: > for_each_child_of_node performs an of_node_get on each iteration, so > a break out of the loop requires an of_node_put. > > A simplified version of the semantic patch that fixes this problem is as > follows (http://coccinelle.lip6.fr)

[PATCH tip/locking/core v5 5/6] powerpc: atomic: Implement xchg_* and atomic{,64}_xchg_* variants

2015-10-26 Thread Boqun Feng
Implement xchg_relaxed and atomic{,64}_xchg_relaxed, based on these _relaxed variants, release/acquire variants and fully ordered versions can be built. Note that xchg_relaxed and atomic_{,64}_xchg_relaxed are not compiler barriers. Signed-off-by: Boqun Feng --- arch/powerpc/include/asm/atomic.

[PATCH tip/locking/core v5 3/6] atomics: Allow architectures to define their own __atomic_op_* helpers

2015-10-26 Thread Boqun Feng
Some architectures may have their special barriers for acquire, release and fence semantics, so that general memory barriers(smp_mb__*_atomic()) in the default __atomic_op_*() may be too strong, so allow architectures to define their own helpers which can overwrite the default helpers. Signed-off-

Re: [PATCH 1/3] dt-bindings: add document of mediatek efuse driver

2015-10-26 Thread Srinivas Kandagatla
On 16/10/15 09:39, andrew-ct.c...@mediatek.com wrote: From: Andrew-CT Chen Add Mediatek MT8173 EFUSE Devicetree binding file Signed-off-by: Andrew-CT Chen Looks good to me, minor comment below. Will queue this for v4.5 once v4.4-rc1 is released. --- .../devicetree/bindings/nvmem/mtk

Re: [PATCH 2/3] nvmem: mediatek: Add Mediatek EFUSE driver

2015-10-26 Thread Srinivas Kandagatla
On 16/10/15 09:39, andrew-ct.c...@mediatek.com wrote: From: Andrew-CT Chen Add Mediatek EFUSE driver to access hardware data like thermal sensor calibration or HDMI impedance. Signed-off-by: Andrew-CT Chen Dirver looks pretty simple, below are few minor nits. Please rebase this patch on t

[PATCH 5/7 v2] um: Remove dead symbol from i386 syscall stub

2015-10-26 Thread Richard Weinberger
syscall_stub is nowhere used these days. Signed-off-by: Richard Weinberger --- This time with the correct commit message. --- arch/x86/um/stub_32.S | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/um/stub_32.S b/arch/x86/um/stub_32.S index b972649..9881680 100644 --- a/arch/x86/um/stu

Re: Can arm64 plan to support hibernation(suspend-to-disk)in current kernel(ATF)?

2015-10-26 Thread Lorenzo Pieralisi
On Mon, Oct 26, 2015 at 05:51:53PM +0800, wangfei wrote: > Hi all, > > Is any one knew,whether mainline kernel and psci plan to support hibernation > on arm64 architecture now? Suspend-to-disk relies on PSCI SYSTEM_OFF to be implemented and does not require any additional calls in ATF. Suspend

Re: [PATCH v3 3/3] leds: rt5033: Add RT5033 Flash led device driver

2015-10-26 Thread Jacek Anaszewski
Hi Ingi, Thanks for the update. I've found a few minor issues, please refer to my comments below. On 10/23/2015 07:48 AM, Ingi Kim wrote: This patch adds device driver of Richtek RT5033 PMIC. The driver supports a current regulated output to drive white LEDs for camera flash. Signed-off-by: In

Re: [PATCH v3 1/3] leds: rt5033: Add DT binding for RT5033

2015-10-26 Thread Jacek Anaszewski
Hi Ingi, On 10/23/2015 07:48 AM, Ingi Kim wrote: This patch adds the device tree bindings for RT5033 flash LEDs. Signed-off-by: Ingi Kim Acked-by: Rob Herring --- .../devicetree/bindings/leds/leds-rt5033.txt | 38 ++ 1 file changed, 38 insertions(+) create mode

Re: [PATCH tip/locking/core v5 1/6] powerpc: atomic: Make _return atomics and *{cmp}xchg fully ordered

2015-10-26 Thread Boqun Feng
On Mon, Oct 26, 2015 at 05:50:52PM +0800, Boqun Feng wrote: > This patch fixes two problems to make value-returning atomics and > {cmp}xchg fully ordered on PPC. > > According to memory-barriers.txt: > > > Any atomic operation that modifies some state in memory and returns > > information about t

[PATCH RESEND tip/locking/core v5 1/6] powerpc: atomic: Make _return atomics and *{cmp}xchg fully ordered

2015-10-26 Thread Boqun Feng
This patch fixes two problems to make value-returning atomics and {cmp}xchg fully ordered on PPC. According to memory-barriers.txt: > Any atomic operation that modifies some state in memory and returns > information about the state (old or new) implies an SMP-conditional > general memory barrier

Re: [PATCH v3] VFIO: platform: reset: AMD xgbe reset module

2015-10-26 Thread Eric Auger
Dear all, I think the problem comes from the fact this patch applies on top of "VFIO platform reset module rework", https://lkml.org/lkml/2015/10/23/385. This is where module_vfio_reset_handler macro is introduced. Maybe I should have reverted the patch into RFC after decision to rework the framew

Re: [PATCH 1/3] dt-bindings: add document of mediatek efuse driver

2015-10-26 Thread Sascha Hauer
On Mon, Oct 26, 2015 at 09:56:14AM +, Srinivas Kandagatla wrote: > > > On 16/10/15 09:39, andrew-ct.c...@mediatek.com wrote: > >From: Andrew-CT Chen > > > >Add Mediatek MT8173 EFUSE Devicetree binding file > > > >Signed-off-by: Andrew-CT Chen > > Looks good to me, minor comment below. > >

RE: [PATCH v4] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-10-26 Thread Bharat Kumar Gogada
> > + device_type = "pci"; > > + interrupt-parent = <&gic>; > > + interrupts = < 0 118 4 > > + 0 116 4 > > + 0 115 4 // MSI_1 [63...32] > > + 0 114 4 >; // MSI_0 [31...0] > > Better write these as tuple

Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output() helper

2015-10-26 Thread Alexei Starovoitov
On 10/25/15 6:46 PM, Wangnan (F) wrote: Can we (or have we already) setup some rules for licensing? Which part should be GPL? Who has the response to decide it? in my mind the rules were set long ago. See my other email. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel

  1   2   3   4   5   6   7   8   9   >