Re: [PATCH] SQUASHME: Fixes to e820 handling of pmem

2015-04-02 Thread Christoph Hellwig
On Thu, Apr 02, 2015 at 11:37:40AM +0200, Ingo Molnar wrote: > So assuming this works on your test setup I'm inclined to squash > Boaz's fixes into the original patch, assuming you see no outright bug > in them. Anything else can be done as delta improvements. It looks sensible, but I'd really

Re: [PATCH 2/3] drm:msm: Initial Add Writeback Support

2015-04-02 Thread Paul Bolle
A few nits follow. On Wed, 2015-04-01 at 17:12 -0400, Jilai Wang wrote: > --- a/drivers/gpu/drm/msm/Kconfig > +++ b/drivers/gpu/drm/msm/Kconfig > +config DRM_MSM_WB > + bool "Enable writeback support for MSM modesetting driver" > + depends on DRM_MSM > + depends on VIDEO_V4L2 > +

Re: [PATCH 3/3] dt: paz00: define nvec as child of i2c bus

2015-04-02 Thread Marc Dietrich
Am Mittwoch, 1. April 2015, 11:28:32 schrieb Stephen Warren: > On 03/31/2015 09:46 AM, Andrey Danin wrote: > > On 31.03.2015 17:09, Stephen Warren wrote: > >> On 03/31/2015 12:40 AM, Andrey Danin wrote: > >>> Hi, > >>> > >>> Thanks for the review. > >>> > >>> On 03.02.2015 0:20, Stephen Warren

[PATCH] drivers: staging: rtl8723au: fix "warning: cast to restricted __le16"

2015-04-02 Thread Piotr Witoslawski
Signed-off-by: Piotr Witoslawski --- drivers/staging/rtl8723au/hal/rtl8723au_xmit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723au_xmit.c b/drivers/staging/rtl8723au/hal/rtl8723au_xmit.c index 1759487..256958e 100644 ---

Re: [PATCH] SQUASHME: Fixes to e820 handling of pmem

2015-04-02 Thread Ingo Molnar
* Christoph Hellwig wrote: > On Wed, Apr 01, 2015 at 05:25:22PM +0300, Boaz Harrosh wrote: > > pfn = PFN_DOWN(ei->addr + ei->size); > > > > - switch (ei->type) { > > - case E820_RAM: > > - case E820_PRAM: > > - case E820_RESERVED_KERN: > > -

Re: [PATCH 7/9] nbd: Remove fixme that was already fixed

2015-04-02 Thread Markus Pargmann
On Thu, Apr 02, 2015 at 02:05:34AM -0700, Christoph Hellwig wrote: > On Thu, Apr 02, 2015 at 10:11:39AM +0200, Markus Pargmann wrote: > > +/* > > + * Forcibly shutdown the socket causing all listeners to error > > + */ > > static void sock_shutdown(struct nbd_device *nbd, int lock) > > { > > -

Re: another pmem variant V2

2015-04-02 Thread Christoph Hellwig
On Wed, Apr 01, 2015 at 07:33:38PM +, Elliott, Robert (Server Storage) wrote: > I triggered a paging error in the memcpy call for a block read > from system-udevd (actually in a modified memcpy() for the cache > attribute experiments). > > 1. This triggered an illegal schedule() call from

Re: [PATCH 2/2] pmem: add a driver for persistent memory

2015-04-02 Thread Christoph Hellwig
On Wed, Apr 01, 2015 at 06:18:54PM +0300, Boaz Harrosh wrote: > You might as well rw & WRITE also for the above pmem_do_bvec call. > If there can be such problem than the rw == READ inside > pmem_do_bvec will fail as well. Might be worth to pass a bool to pmem_do_bvec, but we're getting into

Re: [PATCH] SQUASHME: Fixes to e820 handling of pmem

2015-04-02 Thread Christoph Hellwig
On Wed, Apr 01, 2015 at 05:25:22PM +0300, Boaz Harrosh wrote: > pfn = PFN_DOWN(ei->addr + ei->size); > > - switch (ei->type) { > - case E820_RAM: > - case E820_PRAM: > - case E820_RESERVED_KERN: > - break; > -

Re: memory: jz4780-nemc: Dependency on undefined Kconfig option

2015-04-02 Thread Valentin Rothberg
Hi Zubair, thanks for your answer and the references. Kind regards, Valentin On Thu, Apr 2, 2015 at 11:19 AM, Zubair Lutfullah Kakakhel wrote: > Hi Valentin, > > MACH_JZ4780 will definitely be added via arch/mips > > But the patch series for core jz4780 SOC support still needs a bit of >

Re: [RFC][PATCH] perf tools: unify perf_event_attr printing

2015-04-02 Thread Jiri Olsa
On Wed, Apr 01, 2015 at 06:26:38PM +0200, Peter Zijlstra wrote: SNIP > - ret += PRINT_ATTR_U32(wakeup_events); > - ret += PRINT_ATTR_U32(wakeup_watermark); > - ret += PRINT_ATTR_X32(bp_type); > - ret += PRINT_ATTR_X64(bp_addr); > - ret += PRINT_ATTR_X64(config1); > - ret

Re: memory: jz4780-nemc: Dependency on undefined Kconfig option

2015-04-02 Thread Zubair Lutfullah Kakakhel
Hi Valentin, MACH_JZ4780 will definitely be added via arch/mips But the patch series for core jz4780 SOC support still needs a bit of refresh/refining. For reference, see http://www.spinics.net/lists/mips/msg55258.html

Re: [RFC 0/2] perf scripting cleanups

2015-04-02 Thread Adrian Hunter
On 01/04/15 19:36, Arnaldo Carvalho de Melo wrote: > Hi David, Jiri, > > Please take a look if it is ok for you guys > > Adrian, there is another thing: > > db_export__sample(>dbe, event, sample, evsel, al->thread, al); > > In tools/perf/util/scripting-engines/trace-event-python.c has

Re: sched: Improve load balancing in the presence of idle CPUs

2015-04-02 Thread Morten Rasmussen
On Thu, Apr 02, 2015 at 06:59:07AM +0100, Jason Low wrote: > On Wed, 2015-04-01 at 18:04 +0100, Morten Rasmussen wrote: > > On Wed, Apr 01, 2015 at 07:49:56AM +0100, Preeti U Murthy wrote: > > > > I am sorry I don't quite get this. Can you please elaborate? > > > > I think the scenario is that

Re: [PATCH v3 -next 11/11] serial: 8250_early: Remove setup_early_serial8250_console()

2015-04-02 Thread Yinghai Lu
On Wed, Apr 1, 2015 at 8:22 PM, Peter Hurley wrote: > The documented behavior of console=ttyS options, to which your > quote refers, clearly states: > > Default is "9600n8". drivers/tty/serial/8250/8250_early.c:early_serial8250_setup still have calling to probe_baud, but it is

Re: [PATCH drm] drm/vgem: vgem_gem_dumb_map() can be static

2015-04-02 Thread Fengguang Wu
On Wed, Apr 01, 2015 at 08:04:55PM -0700, Joe Perches wrote: > On Thu, 2015-04-02 at 10:59 +0800, kbuild test robot wrote: > > Signed-off-by: Fengguang Wu > [] > > diff --git a/drivers/gpu/drm/vgem/vgem_drv.c > > b/drivers/gpu/drm/vgem/vgem_drv.c > [] > > @@ -195,7 +195,7 @@ static int

Re: [RFC][PATCH 02/17 v2] tracing: Add TRACE_SYSTEM_VAR to kvm-s390

2015-04-02 Thread Cornelia Huck
On Wed, 01 Apr 2015 21:56:50 -0400 Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > New code will require TRACE_SYSTEM to be a valid C variable name, > but some tracepoints have TRACE_SYSTEM with '-' and not '_', so > it can not be used. Instead, add a TRACE_SYSTEM_VAR that can >

memory: jz4780-nemc: Dependency on undefined Kconfig option

2015-04-02 Thread Valentin Rothberg
Hi Alex, your commit ("memory: jz4780-nemc: driver for the NEMC on JZ4780 SoCs") sets MACH_JZ4780 as Kconfig dependency for the JZ4780_NEMC driver. +config JZ4780_NEMC [...] + depends on MACH_JZ4780 MACH_JZ4780 is not defined in Kconfig, so that JZ4780_NEMC is always false and the driver

Re: [PATCH urgent v2] x86, asm: Disable opportunistic SYSRET if regs->flags has TF set

2015-04-02 Thread Ingo Molnar
* Andy Lutomirski wrote: > When I wrote the opportunistic SYSRET code, I missed an important > difference between SYSRET and IRET. Both instructions are capable > of setting EFLAGS.TF, but they behave differently when doing so. > IRET will not issue a #DB trap after execution when it sets TF

Re: [PATCH] mailbox: add ACPI support for mailbox framework

2015-04-02 Thread Mika Westerberg
On Wed, Apr 01, 2015 at 10:01:45AM -0700, Feng Kan wrote: > On Wed, Apr 1, 2015 at 12:45 AM, Mika Westerberg > wrote: > > On Tue, Mar 31, 2015 at 02:18:00PM -0700, Feng Kan wrote: > >> This will add support for ACPI parsing of the mboxes attribute > >> when booting with ACPI table. The client

Re: [PATCH 3/5] dmaengine: pxa: add pxa dmaengine driver

2015-04-02 Thread Robert Jarzmik
Robert Jarzmik writes: > This is a new driver for pxa SoCs, which is also compatible with the former > mmp_pdma. All right, I have a v2 for this patch, with a minor change for muxed interrupt probe case (1 interrupt for all channels). I'll release it this week. Did you have the time to have a

Re: [PATCH 7/9] nbd: Remove fixme that was already fixed

2015-04-02 Thread Christoph Hellwig
On Thu, Apr 02, 2015 at 10:11:39AM +0200, Markus Pargmann wrote: > +/* > + * Forcibly shutdown the socket causing all listeners to error > + */ > static void sock_shutdown(struct nbd_device *nbd, int lock) > { > - /* Forcibly shutdown the socket causing all listeners > - * to error > -

Re: [PATCH 00/86] pci: export pci_ids.h and related cleanups

2015-04-02 Thread Jean Delvare
Le Thursday 02 April 2015 à 01:23 -0700, Christoph Hellwig a écrit : > The class ids are a hardware defintion, not a kernel API. Just use the > definitions from libpci, or copy over the kernel header if you prefer > it over the libpci definutions. I agree with Christoph, such defines would

Re: [RFC][PATCH] perf tools: unify perf_event_attr printing

2015-04-02 Thread Adrian Hunter
On 01/04/15 19:52, Jiri Olsa wrote: > On Wed, Apr 01, 2015 at 06:26:38PM +0200, Peter Zijlstra wrote: >> >> With some feedback from Jolsa, who showed me how to trigger the actual >> outputs. > > adding Adrian to CC as he's the original author AFAIK I wanted a compact format, and the omission of

[BUG] perf report: segfault when annotate kernel module.

2015-04-02 Thread Wang Nan
Hi folks, I hit a segfault when try to analysis a perf.data generated in an aarch 64 board. I tried execute perf report on x86 and arm64, both of them hit similar segfault: $ perf report -i ./buggy/perf.data --objdump=/path/to/aarch64-oe-linux-objdump --kallsyms /path/to/kallsyms perf:

Re: [PATCH v2 2/5] regulator: Introduce property to flag drms

2015-04-02 Thread Mark Brown
On Wed, Apr 01, 2015 at 03:55:43PM -0700, Bjorn Andersson wrote: > Introduce "regulator-allow-drms" to make it possible for board > configuration to enable drms for regulators. I don't think this is a good name, nobody unfamiliar with a fairly obscure feature in the Linux regulator API is going

Re: [PATCH 19/21] clocksource: Improve comment explaining clocks_calc_max_nsecs()'s 50% safety margin

2015-04-02 Thread Peter Zijlstra
On Wed, Apr 01, 2015 at 08:34:39PM -0700, John Stultz wrote: > Ingo noted that the description of clocks_calc_max_nsecs()'s > 50% safety margin was somewhat circular. So this patch tries > to improve the comment to better explain what we mean by the > 50% safety margin and why we need it. > > Cc:

Re: sched: Improve load balancing in the presence of idle CPUs

2015-04-02 Thread Morten Rasmussen
On Thu, Apr 02, 2015 at 04:30:34AM +0100, Jason Low wrote: > On Wed, 2015-04-01 at 18:04 +0100, Morten Rasmussen wrote: > > On Wed, Apr 01, 2015 at 07:49:56AM +0100, Preeti U Murthy wrote: > > > > > > On 04/01/2015 12:24 AM, Jason Low wrote: > > > > On Tue, 2015-03-31 at 14:07 +0530, Preeti U

Re: sched: Improve load balancing in the presence of idle CPUs

2015-04-02 Thread Preeti U Murthy
On 04/02/2015 11:29 AM, Jason Low wrote: > On Wed, 2015-04-01 at 18:04 +0100, Morten Rasmussen wrote: >> On Wed, Apr 01, 2015 at 07:49:56AM +0100, Preeti U Murthy wrote: > >>> I am sorry I don't quite get this. Can you please elaborate? >> >> I think the scenario is that we are in

Re: mmotm 2015-04-01-14-54 uploaded

2015-04-02 Thread Vladimir Murzin
On 01/04/15 22:55, a...@linux-foundation.org wrote: > * mm-move-memtest-under-mm.patch > * mm-move-memtest-under-mm-fix.patch It was noticed by Paul Bolle (and his clever bot) that patch above simply disables MEMTEST altogether [1]. Could you fold fix for that, please? diff --git

[PATCH 1/3] sched/deadline: fix try to pull pinned dl tasks in pull algorithm

2015-04-02 Thread Wanpeng Li
Function pick_next_earliest_dl_task is used to pick earliest and pushable dl task from overloaded cpus in pull algorithm, however, it traverses runqueue rbtree instead of pushable task rbtree which is also ordered by tasks' deadlines. This will result in getting no candidates from overloaded

[PATCH 2/3] sched/deadline: make init_sched_dl_class() __init

2015-04-02 Thread Wanpeng Li
It's a bootstrap function, make init_sched_dl_class() __init. Signed-off-by: Wanpeng Li --- kernel/sched/deadline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index 2313a4f..37425fd 100644 --- a/kernel/sched/deadline.c

[PATCH 3/3] sched/deadline: reduce rq lock contention by eliminating locking of non-feasible target

2015-04-02 Thread Wanpeng Li
This patch adds check that prevents futile attempts to move dl tasks to a CPU with active tasks of equal or earlier deadline. The same behavior as commit 80e3d87b2c55 ("sched/rt: Reduce rq lock contention by eliminating locking of non-feasible target") for rt class. Signed-off-by: Wanpeng Li ---

Re: [PATCH 21/21] time: Rework debugging variables so they aren't global

2015-04-02 Thread Peter Zijlstra
On Thu, Apr 02, 2015 at 10:36:47AM +0200, Peter Zijlstra wrote: > Sure, struct timekeeper would work, the debug code already references > the global tk_core to access that. While looking at that, the comment near tk_core says: /* * The most important data for readout fits into a single 64 byte

Re: [PATCH v8 0/3] dmaengine: APM X-Gene SoC DMA engine driver support

2015-04-02 Thread Vinod Koul
On Wed, Mar 18, 2015 at 07:17:33PM +0530, Rameshwar Prasad Sahu wrote: > This patch set implements the APM X-Gene SoC DMA driver support to offload > the DMA operations such as memory copy(memcpy), scatter gather memory copy, > raid5 xor and raid6 p+q. Applied, now Thanks -- ~Vinod -- To

[PATCH 3/6] arm64: dts: exynos: Add USB3.0 Host dt node for Exynos5433

2015-04-02 Thread Chanwoo Choi
From: Jaewon Kim This patch adds PHY and USB3.0 Host device tree node using DWC3 chip and set USB3.0 Host related clock parent for Exynos5433. Cc: Kukjin Kim Signed-off-by: Jaewon Kim Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 46

Re: [GIT PULL] qcom SoC changes for v4.1

2015-04-02 Thread Nicolas Dechesne
Andy, Kumar, On Mon, Mar 16, 2015 at 10:03 PM, Kumar Gala wrote: > Andy Gross (1): > soc: qcom: gsbi: Add support for ADM CRCI muxing this commit seems to break the boot on IFC6410, it was initially reported on kernelci.org, see report and bootlog [1]. running git bisect led me to:

[PATCH 6/6] arm64: dts: exynos: add reboot node for exynos5433

2015-04-02 Thread Chanwoo Choi
From: Joonyoung Shim This patch adds the reboot node which uses the syscon-reboot driver. Cc: Kukjin Kim Signed-off-by: Joonyoung Shim Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [PATCH 21/21] time: Rework debugging variables so they aren't global

2015-04-02 Thread Peter Zijlstra
On Thu, Apr 02, 2015 at 09:51:51AM +0200, Ingo Molnar wrote: > > * Peter Zijlstra wrote: > > > On Wed, Apr 01, 2015 at 08:34:41PM -0700, John Stultz wrote: > > > Ingo suggested that the timekeeping debugging variables > > > recently added should not be global, and should be tied > > > to the

[PATCH 4/6] arm64: dts: exynos: Add PWM dt node and pinctrl for Exynos5433 SoC

2015-04-02 Thread Chanwoo Choi
From: Jaewon Kim This patch adds PWM(Pulsle Width Modulation) device tree node to support for PWM Timer on Exynos5433 SoC. Cc: Kukjin Kim Signed-off-by: Jaewon Kim Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- arch/arm64/boot/dts/exynos/exynos5433-pinctrl.dtsi | 28

Re: [RFC 0/2] perf scripting cleanups

2015-04-02 Thread Jiri Olsa
On Thu, Apr 02, 2015 at 05:16:09PM +0900, Namhyung Kim wrote: > On Wed, Apr 01, 2015 at 01:36:48PM -0300, Arnaldo Carvalho de Melo wrote: > > Hi David, Jiri, > > > > Please take a look if it is ok for you guys > > > > Adrian, there is another thing: > > > > db_export__sample(>dbe, event,

[PATCH 0/6] arm64: dts: exynos: Add USB/PWM/UART3/reboot dt node for Exynos5433 SoC

2015-04-02 Thread Chanwoo Choi
This patch-set add the following devicetree to support USB/PWM/UART3/reboot. - USB 3.0 DRD (Dual Role Device) and host - PWM (Pulse Width Modulation) - UART3 - System reboot Depend on: This patch-set have the dependnecy on following patch[1] to support USB 3.0 Host and DRD (Dual Role Device) for

[PATCH 2/6] arm64: dts: exynos: Add USB Device dt node for Exynos5433

2015-04-02 Thread Chanwoo Choi
From: Jaewon Kim This patch adds USB DRD(Dual Role Device) and PHY device tree node to use USB Device. Cc: Kukjin Kim Signed-off-by: Jaewon Kim Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 47 ++ 1 file changed,

[PATCH 1/6] arm64: dts: exynos: Add EHCI and OHCI dt node for Exynos5433

2015-04-02 Thread Chanwoo Choi
From: Jaewon Kim This patch adds EHCI and OHCI device tree node to usb USB2.0 Host and HSCI(High Speed Inter-Chip) function. Cc: Kukjin Kim Signed-off-by: Jaewon Kim Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 43

[PATCH 5/6] arm64: dts: exynos: Add UART3 dt node for Exynos5433 SoC

2015-04-02 Thread Chanwoo Choi
From: Beomho Seo This patch adds the UART3 devicetree node for Exynos5433 SoC. The UART3 device is included in AUD_DOMAIN. Cc: Kukjin Kim Signed-off-by: Beomho Seo Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- arch/arm64/boot/dts/exynos/exynos5433-pinctrl.dtsi | 7 +++

Re: [PATCH v3 0/4] clk: st: New always-on clock domain

2015-04-02 Thread Geert Uytterhoeven
Hi Lee, On Thu, Mar 26, 2015 at 8:38 PM, Lee Jones wrote: > On Thu, 26 Mar 2015, Geert Uytterhoeven wrote: >> On Thu, Mar 26, 2015 at 2:51 PM, Lee Jones wrote: >> > On Wed, 25 Mar 2015, Geert Uytterhoeven wrote: >> >> On Mon, Mar 9, 2015 at 10:28 AM, Lee Jones wrote: >> >> > On Fri, 06 Mar

Re: Build regression in next-20150331

2015-04-02 Thread Peter Zijlstra
On Wed, Apr 01, 2015 at 11:46:10PM +0200, Rafael J. Wysocki wrote: > > > --- > > > kernel/time/tick-internal.h |2 ++ > > > 1 file changed, 2 insertions(+) > > > > > > Index: linux-pm/kernel/time/tick-internal.h > > > === > > >

[PATCH] perf kmem: Respect -i option

2015-04-02 Thread Jiri Olsa
On Thu, Apr 02, 2015 at 06:04:52AM +, Wang Nan wrote: > There is a bug in perf annotate that it doesn't respect user provided > '-i'/'--input' option: > > # perf record ls >[ perf record: Woken up 1 times to write data ] >[ perf record: Captured and wrote 0.001 MB perf.data (8

Re: [PATCH 00/86] pci: export pci_ids.h and related cleanups

2015-04-02 Thread Christoph Hellwig
The class ids are a hardware defintion, not a kernel API. Just use the definitions from libpci, or copy over the kernel header if you prefer it over the libpci definutions. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [RFC 0/2] perf scripting cleanups

2015-04-02 Thread Namhyung Kim
On Wed, Apr 01, 2015 at 01:36:48PM -0300, Arnaldo Carvalho de Melo wrote: > Hi David, Jiri, > > Please take a look if it is ok for you guys > > Adrian, there is another thing: > > db_export__sample(>dbe, event, sample, evsel, al->thread, al); > > In

Re: [PATCH] perf: annotate: make it respect -i option.

2015-04-02 Thread Namhyung Kim
On Thu, Apr 02, 2015 at 06:04:52AM +, Wang Nan wrote: > There is a bug in perf annotate that it doesn't respect user provided > '-i'/'--input' option: > > # perf record ls >[ perf record: Woken up 1 times to write data ] >[ perf record: Captured and wrote 0.001 MB perf.data (8

Re: [PATCH] perf: unwind: fix segbase for libunwind.

2015-04-02 Thread Namhyung Kim
On Thu, Apr 02, 2015 at 01:19:24PM +0800, Wang Nan wrote: > Additional information: > > With following patch it seems to work: > > diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/util/symbol-elf.c > index 476268c..1177f02 100644 > --- a/tools/perf/util/symbol-elf.c > +++

[PULL] NBD patches for 4.1

2015-04-02 Thread Markus Pargmann
Hi Jens, This pull request contains some NBD cleanups. The documentation was updated to be extensible for future features and the module parameters were added. NBD had an internal header located at include/linux/nbd.h which was only used by nbd.c. So I moved the header content from include/ to

[PATCH 4/9] nbd: Replace kthread_create with kthread_run

2015-04-02 Thread Markus Pargmann
kthread_run includes the wake_up_process() call, so instead of kthread_create() followed by wake_up_process() we can use this macro. Signed-off-by: Markus Pargmann Acked-by: Pavel Machek --- drivers/block/nbd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 5/9] nbd: Fix device bytesize type

2015-04-02 Thread Markus Pargmann
The block subsystem uses loff_t to store the device size. Change the type for nbd_device bytesize to loff_t. Signed-off-by: Markus Pargmann Acked-by: Pavel Machek --- drivers/block/nbd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/block/nbd.c

Re: [PATCH] ASoC: atmel-pcm-dma: increase buffer_bytes_max

2015-04-02 Thread Alexandre Belloni
On 01/04/2015 at 21:33:42 +0100, Mark Brown wrote : > On Mon, Mar 30, 2015 at 09:40:37PM +0200, Alexandre Belloni wrote: > > atmel-pcm-dma is not limited to a buffer size of 64kB like atmel-pcm-pdc. > > Increase buffer_bytes_max to 512kB to allow for higher bit rates (i.e. > > 32bps at > >

Re: [RFC][PATCH] perf tools: unify perf_event_attr printing

2015-04-02 Thread Ingo Molnar
* Peter Zijlstra wrote: > With some feedback from Jolsa, who showed me how to trigger the actual > outputs. > > --- > > Subject: perf, tools: Merge all perf_event_attr print functions > From: Peter Zijlstra > Date: Tue Mar 31 13:01:54 CEST 2015 > > Currently there's 3 (that I found)

[PATCH 3/9] nbd: Remove kernel internal header

2015-04-02 Thread Markus Pargmann
The header is not included anywhere. Remove it and include the private nbd_device struct in nbd.c. Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 22 ++ include/linux/nbd.h | 46 -- 2 files changed, 22 insertions(+), 46

[PATCH 2/9] Documentation: nbd: Add list of module parameters

2015-04-02 Thread Markus Pargmann
Add a list of available module parameters as attachment to the documentation. Signed-off-by: Markus Pargmann --- Documentation/blockdev/nbd.txt | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Documentation/blockdev/nbd.txt b/Documentation/blockdev/nbd.txt index

[PATCH 7/9] nbd: Remove fixme that was already fixed

2015-04-02 Thread Markus Pargmann
The mentioned problem is not present anymore. Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 217b570dd7a5..6e7a7b06efcb 100644 --- a/drivers/block/nbd.c +++

[PATCH 9/9] nbd: Return error pointer directly

2015-04-02 Thread Markus Pargmann
Signed-off-by: Markus Pargmann Acked-by: Pavel Machek --- Notes: Changes in v2: - Remove unnecessary brackets drivers/block/nbd.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index e41fb4ccf39a..bd8f4caf53bd

[PATCH 8/9] nbd: Return error code directly

2015-04-02 Thread Markus Pargmann
By returning the error code directly, we can avoid the jump label error_out. Signed-off-by: Markus Pargmann Acked-by: Pavel Machek --- drivers/block/nbd.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index

[PATCH 6/9] nbd: Restructure debugging prints

2015-04-02 Thread Markus Pargmann
dprintk has some name collisions with other frameworks and drivers. It is also not necessary to have these custom debug print filters. Dynamic debug offers the same amount of filtered debugging. This patch replaces all dprintks with dev_dbg(). It also removes the ioctl dprintk which prints the

Re: [STLinux Kernel] [PATCH 0/4] clk: Provide support for always-on clocks

2015-04-02 Thread Peter Griffin
Hi Lee, On Fri, 27 Feb 2015, Lee Jones wrote: > Some hardware contains bunches of clocks which must never be > turned off. If drivers a) fail to obtain a reference to any > of these or b) give up a previously obtained reference > during suspend, the common clk framework will attempt to >

[PATCH 1/9] Documentation: nbd: Reformat to allow more documentation

2015-04-02 Thread Markus Pargmann
Reformat the existing documentation to have more structure. This allows for more documentation seperated from the existing paragraphs. Signed-off-by: Markus Pargmann --- Documentation/blockdev/nbd.txt | 34 +++--- 1 file changed, 19 insertions(+), 15 deletions(-)

[PATCH 1/2] ARM: EXYNOS: Get current parent clock for power domain on/off

2015-04-02 Thread Krzysztof Kozlowski
Using a fixed (by DTS) parent for clocks when turning on the power domain may introduce issues in other drivers. For example when such driver changes the parent during runtime and expects that he is the only place of such change. Do not rely entirely on DTS providing the fixed parent for such

[PATCH 2/2] ARM: dts: Use last parent for clocks during power domain on/off

2015-04-02 Thread Krzysztof Kozlowski
Replace fixed parent with last parent (obtained with clk_get_parent()) of clocks for devices in mfc and disp power domains. This should improve behavior if such clocks were reparented by the drivers and new parents are different than those specified in DTS. Signed-off-by: Krzysztof Kozlowski ---

RE: [PATCH v1 1/2] mfd/axp20x: add support for extcon cell

2015-04-02 Thread Pallala, Ramakrishna
Hi, > > diff --git a/include/linux/mfd/axp20x.h b/include/linux/mfd/axp20x.h > > index dfabd6d..4ed8071 100644 > > --- a/include/linux/mfd/axp20x.h > > +++ b/include/linux/mfd/axp20x.h > > @@ -275,4 +275,9 @@ struct axp20x_fg_pdata { > > int thermistor_curve[MAX_THERM_CURVE_SIZE][2]; > > };

[PATCH] phy: phy-rcar-gen2: Fix USBHS_UGSTS_LOCK value

2015-04-02 Thread Yoshihiro Shimoda
According to the technical update (No. TN-RCS-B011A/E), the UGSTS LOCK bit location is bit 8, not bits 1 and 0. It also says that the register address offset of UGSTS is 0x88, not 0x90. So, this patch fixes the USBHS_UGSTS_LOCK value and some comments. Signed-off-by: Yoshihiro Shimoda ---

Re: [STLinux Kernel] [PATCH 2/4] ARM: sti: stih410-clocks: Identify critical clocks as always-on

2015-04-02 Thread Peter Griffin
Hi Lee, On Fri, 27 Feb 2015, Lee Jones wrote: > Lots of platforms contain clocks which if turned off would prove fatal. > The only way to recover is to restart the board(s). This driver takes > references to clocks which are required to be always-on in order to > prevent the common clk

Re: [LKP] [timer] 17cdf560f27: +4.0% boot-meminfo.VmallocUsed

2015-04-02 Thread Peter Zijlstra
On Thu, Apr 02, 2015 at 09:06:09AM +0800, Huang Ying wrote: > FYI, we noticed the below changes on > > git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/linux.git > timer/alloc_tvec_statically > commit 17cdf560f2727f687ab159707d0aa591f8a2f82d ("timer: Allocate per-cpu > tvec_base's

Re: [RFC][PATCH 06/17 v2] tracing: Add TRACE_DEFINE_ENUM() macro to map enums to their values

2015-04-02 Thread Namhyung Kim
Hi Steve, On Wed, Apr 01, 2015 at 09:56:54PM -0400, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > Several tracepoints use the helper functions __print_symbolic() or > __print_flags() and pass in enums that do the mapping between the > binary data stored and the value to print.

Re: [PATCH 21/21] time: Rework debugging variables so they aren't global

2015-04-02 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, Apr 01, 2015 at 08:34:41PM -0700, John Stultz wrote: > > Ingo suggested that the timekeeping debugging variables > > recently added should not be global, and should be tied > > to the timekeeper's read_base. > > But why? its the same hardware clock for both

Re: [PATCH 00/86] pci: export pci_ids.h and related cleanups

2015-04-02 Thread Michael S. Tsirkin
On Thu, Apr 02, 2015 at 09:44:24AM +0200, Jean Delvare wrote: > It could be that a small subset of pci_ids.h could be shared with > user-space. I'm thinking of classes, because that list is short and > stable, so we can give some stability guarantees. But I don't know if > the user-space projects

Re: [PATCH 21/21] time: Rework debugging variables so they aren't global

2015-04-02 Thread Peter Zijlstra
On Wed, Apr 01, 2015 at 08:34:41PM -0700, John Stultz wrote: > Ingo suggested that the timekeeping debugging variables > recently added should not be global, and should be tied > to the timekeeper's read_base. But why? its the same hardware clock for both tkr's. Surely if one goes funny the other

linux-next: Tree for Apr 2

2015-04-02 Thread Stephen Rothwell
Hi all, There will be no linux-next releases on Friday or Monday (mainly due to hot cross buns and chocolate eggs :-)). Changes since 20150401: *crickets* Non-merge commits (relative to Linus' tree): 7955 7152 files changed, 327404 insertions(+), 153265 deletions(-)

Re: [PATCH 0/5] arm64: add kdump support

2015-04-02 Thread AKASHI Takahiro
On 04/02/2015 03:01 PM, Pratyush Anand wrote: On Thursday 02 April 2015 11:07 AM, AKASHI Takahiro wrote: Pratyush, On 04/02/2015 01:58 PM, Pratyush Anand wrote: On Thursday 02 April 2015 04:57 AM, AKASHI Takahiro wrote: Please try my latest kexec-tools in my linaro repo (branch name is

Re: [rtc-linux] [PATCH] rtc: Use more standard kernel logging styles

2015-04-02 Thread Krzysztof Kozlowski
2015-04-01 18:12 GMT+02:00 Joe Perches : > Neaten the logging a bit by adding #define pr_fmt > > Miscellanea: > > o Remove __FILE__/__func__ uses > o Coalesce formats adding missing spaces > o Align arguments > o (rtc-cmos) Integrated 2 consecutive messages > > Signed-off-by: Joe Perches

Re: [PATCH 00/86] pci: export pci_ids.h and related cleanups

2015-04-02 Thread Jean Delvare
Hi Michael, Bjorn and all, On Sun, 29 Mar 2015 15:36:55 +0200, Michael S. Tsirkin wrote: > The macros in pci_ids.h are pretty useful for userspace > using the pci sysfs interface, e.g. to decode class > device and vendor sysfs files. > > At the moment userspace is forced to duplicate these

[PATCH RESEND] efivarfs: Ensure VariableName is NUL-terminated

2015-04-02 Thread Ross Lagerwall
Some buggy firmware implementations update VariableNameSize on success such that it does not include the final NUL character which results in garbage in the efivarfs name entries. Use kzalloc on the efivar_entry (as is done in efivars.c) to ensure that the name is always NUL-terminated. The

Re: [rhashtable] [ INFO: suspicious RCU usage. ]

2015-04-02 Thread Thomas Graf
On 04/02/15 at 12:29pm, Herbert Xu wrote: > On Thu, Apr 02, 2015 at 12:11:35PM +0800, Fengguang Wu wrote: > > > > Yes it is contained in next-20150401 which is bad: > > > > # extra tests on tree/branch next/master > > git bisect bad e954104e2b634b42811dad8d502cbf240f206df2 # 21:22 0- >

Re: [RESEND PATCH] configfs: init configfs module earlier at boot time

2015-04-02 Thread Daniel Baluta
On Wed, Mar 18, 2015 at 9:56 PM, Daniel Baluta wrote: > We need this earlier in the boot process to allow various subsystems > to use configfs (e.g Industrial IIO). > > Also, debugfs is at core_initcall level and configfs should be on > the same level from infrastructure point of view. > >

[PATCH perf/core v2] perf-probe: Fix to track down unnamed union/structure members

2015-04-02 Thread Masami Hiramatsu
Fix perf probe to track down unnamed union/structure members. perf probe did not track down the tree of unnamed union/structure members, since it just failed to find given "name" in a parent structure/union. To solve this issue, I've introduced 2 changes. - Fix die_find_member() to track down the

Re: [PATCH] mm: cma: add trace events for CMA allocations and freeings

2015-04-02 Thread Joonsoo Kim
Hello, On Wed, Apr 01, 2015 at 04:31:43PM +0300, Stefan Strogin wrote: > Add trace events for cma_alloc() and cma_release(). > > The cma_alloc tracepoint is used both for successful and failed allocations, > in case of allocation failure pfn=-1UL is stored and printed. > > Signed-off-by: Stefan

Re: [PATCH perf/core ] perf-probe: Fix to track down unnamed union/structure members

2015-04-02 Thread Masami Hiramatsu
(2015/03/09 11:15), Masami Hiramatsu wrote: > Fix perf probe to track down unnamed union/structure members. > perf probe did not track down the tree of unnamed union/structure > members, since it just failed to find given "name" in a parent > structure/union. To solve this issue, I've introduced 2

Re: [PATCH v10 00/11] sched: consolidation of CPU capacity and usage

2015-04-02 Thread Vincent Guittot
On 2 April 2015 at 03:47, Wanpeng Li wrote: > Hi Vincent, > On Fri, Feb 27, 2015 at 04:54:03PM +0100, Vincent Guittot wrote: >>This patchset consolidates several changes in the capacity and the usage >>tracking of the CPU. It provides a frequency invariant metric of the usage of >>CPUs and

Re: [patch 00/12] mm: page_alloc: improve OOM mechanism and policy

2015-04-02 Thread Michal Hocko
On Thu 02-04-15 08:39:02, Dave Chinner wrote: > On Wed, Apr 01, 2015 at 05:19:20PM +0200, Michal Hocko wrote: > > On Mon 30-03-15 11:32:40, Dave Chinner wrote: > > > On Fri, Mar 27, 2015 at 11:05:09AM -0400, Johannes Weiner wrote: > > [...] > > > > GFP_NOFS sites are currently one of the sites

Re: [PATCH v2 1/5] mfd: devicetree: bindings: Add Qualcomm RPM regulator subnodes

2015-04-02 Thread Lee Jones
DT Ack please. On Wed, 01 Apr 2015, Bjorn Andersson wrote: > Add the regulator subnodes to the Qualcomm RPM MFD device tree bindings. > > Signed-off-by: Bjorn Andersson > --- > Documentation/devicetree/bindings/mfd/qcom-rpm.txt | 217 > +++-- > 1 file changed, 205

Re: [PATCH] mm/migrate: Mark unmap_and_move() "noinline" to avoid ICE in gcc 4.7.3

2015-04-02 Thread Geert Uytterhoeven
Hi Russell, On Wed, Apr 1, 2015 at 11:59 PM, Russell King - ARM Linux wrote: > On Wed, Apr 01, 2015 at 02:54:59PM -0700, Kevin Hilman wrote: >> Your patch on top of Geert's still compiles fine for me with gcc-4.7.3. >> However, I'm not sure how specific we can be on the versions. >> >> /me goes

Re: [PATCH v1 1/2] mfd/axp20x: add support for extcon cell

2015-04-02 Thread Lee Jones
On Thu, 02 Apr 2015, Ramakrishna Pallala wrote: > This patch adds the mfd cell info for axp288 extcon device. > > Signed-off-by: Ramakrishna Pallala > --- > drivers/mfd/axp20x.c | 28 > include/linux/mfd/axp20x.h |5 + > 2 files changed, 33

Re: [PATCH 3/4] clk: Provide always-on clock support

2015-04-02 Thread Lee Jones
On Thu, 02 Apr 2015, Jassi Brar wrote: > On Wed, Apr 1, 2015 at 7:12 AM, Michael Turquette > wrote: > > Quoting Jassi Brar (2015-03-02 02:28:44) > >> On 2 March 2015 at 15:48, Lee Jones wrote: > >> > On Mon, 02 Mar 2015, Jassi Brar wrote: > >> > > >> >> On Mon, Mar 2, 2015 at 2:06 PM, Lee

Re: [Qemu-devel] [PATCH v4 11/15] target-s390x: New QMP command query-cpu-model

2015-04-02 Thread Michael Mueller
On Wed, 1 Apr 2015 20:05:24 -0300 Eduardo Habkost wrote: > > > > > > If you don't want to encode that knowledge in libvirt or other > > > management software for s390, it looks like you need something like a > > > "stable-abi-safe" field on CpuDefinitionInfo? > > > > Exactly that fulfills

Re: [PATCH] x86, aperture: Check for GART before accessing GART registers

2015-04-02 Thread Borislav Petkov
On Wed, Apr 01, 2015 at 09:32:08AM -0500, Aravind Gopalakrishnan wrote: > GART registers are not present in newer processors (Fam15h, Model 10h > and later). So, avoid accesses to GART registers in PCI config > space by returning early in early_gart_iommu_check() and > gart_iommu_hole_init() if

Re: [PATCH] cpusets: Make cpus_allowed and mems_allowed masks hotplug invariant

2015-04-02 Thread Preeti U Murthy
Hi Tejun, Peter, On 10/09/2014 06:36 PM, Tejun Heo wrote: > On Thu, Oct 09, 2014 at 01:50:52PM +0530, Preeti U Murthy wrote: >> However what remains to be answered is that the V2 of cgroup design - >> the default hierarchy, tracks hotplug operations for children cgroups as >> well. Tejun, Li,

[PATCH] selftests/mount: output error messages when mount test fail

2015-04-02 Thread Zhang Zhen
Without this patch, if /proc/self/uid_map is not exist, the mount test case will fail and no any prompting. After applied this patch, the case will prompt why it fail. Just as follows: root@kernel-host:/opt/kernel> make -C tools/testing/selftests TARGETS=mount run_tests make: Entering directory

[PATCH RFC] allow constant folding in msecs_to_jiffies where possible for gcc

2015-04-02 Thread Nicholas Mc Guire
A number of cleanup patches where switching var * HZ / 1000 constructs to msecs_to_jiffies(var) to ensure that all corener cases are handled properly. The downside of this though is that it now uses a function call and also was not performing constant folding where it was originally possible.

[PATCH] clk: Show clock rate instead of return value

2015-04-02 Thread Chanwoo Choi
This patch shows the current clock rate instead of return value when clk_set_rate() return fail because log message means the clock rate. Cc: Mike Turquette Cc: Stephen Boyd Signed-off-by: Chanwoo Choi --- drivers/clk/clk-conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH net-next V3 13/23] ptp: igb: convert to the 64 bit get/set time methods.

2015-04-02 Thread Richard Cochran
On Thu, Apr 02, 2015 at 12:06:56AM +, Keller, Jacob E wrote: > I don't know how kernel would fix this. Usually macros like PRI64d are used > but I am not sure those are defined for the kernel builds Davem fixed it by casting to (long long). Thanks, Richard -- To unsubscribe from this list:

Re: [PATCH urgent v2] x86, asm: Disable opportunistic SYSRET if regs->flags has TF set

2015-04-02 Thread Borislav Petkov
On Wed, Apr 01, 2015 at 02:26:34PM -0700, Andy Lutomirski wrote: > When I wrote the opportunistic SYSRET code, I missed an important > difference between SYSRET and IRET. Both instructions are capable > of setting EFLAGS.TF, but they behave differently when doing so. > IRET will not issue a #DB

Re: [PATCH urgent] x86, asm: Disable opportunistic SYSRET if regs->flags has TF set

2015-04-02 Thread Borislav Petkov
On Wed, Apr 01, 2015 at 11:18:16PM +0200, Denys Vlasenko wrote: > On 04/01/2015 09:25 PM, Andy Lutomirski wrote: > > Fix it by using IRET to restore TF. Since it's late, I'm keeping > > this minimal and keeping "testq" instead of switching to "testl". > > Changing to "testl" here wins nothing.

<    4   5   6   7   8   9   10   11   12   13   >