[PATCH 6/9] clk: samsung: exynos5433: Add clocks for CMU_ISP domain

2015-01-21 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_ISP domain which generates the clocks for FIMC-ISP/DRC/SCLC/DIS/3DNR IPs. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Inki Dae

[PATCH 5/9] clk: samsung: exynos5433: Add clocks for CMU_HEVC domain

2015-01-21 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_HEVC domain which generates the clocks for HEVC(High Efficiency Video Codec) decoder IP. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Inki Dae

[PATCH v3 0/2] power: rt5033: Add Richtek RT533 drivers

2015-01-21 Thread Beomho Seo
This patchset adds driver for Richtek rt5033 chip The chip contains switching charge mode Li-Ion/Li-Polymer battery charger, fuelgauge. Additionally, This includes document for device tree of RT5033 device. RT5033 core driver is applied by Lee Jones. RT5033 regulator driver is applied by Mark

[PATCH v3 1/2] power: rt5033_charger: Add RT5033 charger device driver

2015-01-21 Thread Beomho Seo
This patch add device driver of Richtek RT5033 PMIC. The driver support switching charger. rt5033 charger provide three charging mode. Three charging mode are pre charge mode, fast cahrge mode and constant voltage mode. They are have vary charge rate, charge parameters. The charge parameters can

[PATCH v3 2/2] Documentation: Add documentation for rt5033 multifunction device

2015-01-21 Thread Beomho Seo
This patch device tree binding documentation for rt5033 multifunction device. Cc: Sebastian Reichel s...@kernel.org Cc: Lee Jones lee.jo...@linaro.org Cc: Mark Brown broo...@kernel.org Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc:

Re: [PATCH net-next v13 5/5] openvswitch: Add support for unique flow IDs.

2015-01-21 Thread Joe Stringer
On 21 January 2015 at 15:41, Pravin Shelar pshe...@nicira.com wrote: On Wed, Jan 21, 2015 at 11:29 AM, Joe Stringer joestrin...@nicira.com wrote: On 21 January 2015 at 10:31, Pravin Shelar pshe...@nicira.com wrote: On Tue, Jan 20, 2015 at 10:32 AM, Joe Stringer joestrin...@nicira.com wrote:

Re: [PATCH 1/1] NVMe: Do not take nsid while a passthrough IO command is being issued via a block device file descriptor

2015-01-21 Thread Keith Busch
On Wed, 21 Jan 2015, Yan Liu wrote: When a passthrough IO command is issued with a specific block device file descriptor. It should be applied at the namespace which is associated with that block device file descriptor. This patch makes such passthrough command ingore nsid in nvme_passthru_cmd

Re: [PATCH 2/2] perf symbols: debuglink should take symfs option into account

2015-01-21 Thread David Ahern
On 1/21/15 5:34 PM, Victor Kamensky wrote: diff --git a/tools/perf/util/dso.c b/tools/perf/util/dso.c index 45be944..ca8d8d5 100644 --- a/tools/perf/util/dso.c +++ b/tools/perf/util/dso.c @@ -45,13 +45,13 @@ int dso__read_binary_type_filename(const struct dso *dso, case

Re: [PATCH] x86, e820: clean up around sanitize_e820_map()

2015-01-21 Thread David Rientjes
On Wed, 7 Jan 2015, WANG Chao wrote: The argument 3 of sanitize_e820_map() will only update upon a successful sanitization. Some of the callers may not be aware of this in the past. Now clean up these callers. Signed-off-by: WANG Chao chaow...@redhat.com Nice, but it's incomplete: it

linux-next: strange commit in the mfd tree

2015-01-21 Thread Stephen Rothwell
Hi Lee, I noticed this commit in the mfd tree: f11b9265e6ca [FIX/HACK] Disable DRM Is that really appropriate here? Especially given it has no explanation. I guess it will make my builds slightly faster :-) -- Cheers, Stephen Rothwells...@canb.auug.org.au

[PATCH 2/2] watchdog: dw_wdt: Try to get a 30 second watchdog by default

2015-01-21 Thread Doug Anderson
The dw_wdt_set_top() function takes in a value in seconds. In dw_wdt_open() we were calling it with a value that's supposed to represent the maximum value programmed into the top register with a comment saying that we were trying to set the watchdog to its maximum value. Instead we ended up

[PATCH 1/2] watchdog: dw_wdt: pat the watchdog before enabling it

2015-01-21 Thread Doug Anderson
On some dw_wdt implementations the top register may be initted to 0 at bootup. In such a case, each pat of the watchdog will reset the timer to 0x. That's pretty short. The input clock of the wdt can be any of a wide range of values. On an rk3288 system, I've seen the wdt clock be 24.75

Re: [PATCH 1/2] ARM: entry-common: fix forgotten set of thread_info-syscall

2015-01-21 Thread Kees Cook
On Tue, Jan 20, 2015 at 3:04 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Jan 20, 2015 at 10:45:19PM +, Russell King - ARM Linux wrote: Well, the whole question is this: is restarting a system call like usleep() really a separate system call, or is it a kernel

Re: [PATCHv3 00/36] perf tools: New build framework

2015-01-21 Thread Sukadev Bhattiprolu
Jiri Olsa [jo...@kernel.org] wrote: | | The patchset is also available in: | git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git | perf/build | | All tests/make tests passed. | The build and make tests passed on my Power8 system. Tested-by: Sukadev Bhattiprolu

Re: [V6,1/9] elf: Add new powerpc specifc core note sections

2015-01-21 Thread Michael Neuling
On Thu, 2015-01-01 at 13:38 +0530, Anshuman Khandual wrote: On 12/20/2014 12:58 AM, Edjunior Barbosa Machado wrote: On 12/08/2014 08:08 AM, Anshuman Khandual wrote: On 12/03/2014 12:18 PM, Anshuman Khandual wrote: On 12/03/2014 10:52 AM, Michael Ellerman wrote: On Tue, 2014-02-12 at

Re: [PATCH net-next v13 5/5] openvswitch: Add support for unique flow IDs.

2015-01-21 Thread Pravin Shelar
On Wed, Jan 21, 2015 at 11:29 AM, Joe Stringer joestrin...@nicira.com wrote: On 21 January 2015 at 10:31, Pravin Shelar pshe...@nicira.com wrote: On Tue, Jan 20, 2015 at 10:32 AM, Joe Stringer joestrin...@nicira.com wrote: Previously, flows were manipulated by userspace specifying a full,

[PATCH 8/9] clk: samsung: exynos5433: Add clocks for CMU_CAM1 domain

2015-01-21 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_CAM1 domain which generates the clocks for Cortex-A5/MIPI_CSIS2/FIMC-LITE_C/FIMC-FD IPs. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Inki Dae

[PATCH 4/9] clk: samsung: exynos5433: Add clocks for CMU_MFC domain

2015-01-21 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_MFC domain which generates the clocks for MFC(Multi-Format Codec) IP. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Inki Dae inki@samsung.com

[PATCH] video: fbdev: fix sys_copyarea

2015-01-21 Thread Mans Rullgard
The sys_copyarea() function performs the same operation as cfb_copyarea() but using normal memory access instead of I/O accessors. Since the introduction of sys_copyarea(), there have been two fixes to cfb_copyarea(): - 00a9d699 (framebuffer: fix cfb_copyarea) - 5b789da8 (framebuffer: fix screen

[PATCH net-next v14 5/5] openvswitch: Add support for unique flow IDs.

2015-01-21 Thread Joe Stringer
Previously, flows were manipulated by userspace specifying a full, unmasked flow key. This adds significant burden onto flow serialization/deserialization, particularly when dumping flows. This patch adds an alternative way to refer to flows using a variable-length unique flow identifier (UFID).

[PATCH net-next v14 1/5] openvswitch: Refactor ovs_nla_fill_match().

2015-01-21 Thread Joe Stringer
Refactor the ovs_nla_fill_match() function into separate netlink serialization functions ovs_nla_put_{unmasked_key,mask}(). Modify ovs_nla_put_flow() to handle attribute nesting and expose the 'is_mask' parameter - all callers need to nest the flow, and callers have better knowledge about whether

[PATCH net-next v14 2/5] openvswitch: Refactor ovs_flow_tbl_insert().

2015-01-21 Thread Joe Stringer
Rework so that ovs_flow_tbl_insert() calls flow_{key,mask}_insert(). This tidies up a future patch. Signed-off-by: Joe Stringer joestrin...@nicira.com --- net/openvswitch/flow_table.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git

Re: [PATCH 2/2] livepatch: disable/enable_patch manners for interdependent patches

2015-01-21 Thread Li Bin
On 2015/1/21 22:08, Jiri Kosina wrote: On Wed, 21 Jan 2015, Li Bin wrote: for disable_patch: The patch is unallowed to be disabled if one patch after has dependencies with it and has been enabled. for enable_patch: The patch is unallowed to be enabled if one patch before has dependencies

[PATCH net-next v14 0/5] openvswitch: Introduce 128-bit unique flow identifiers.

2015-01-21 Thread Joe Stringer
This series extends the openvswitch datapath interface for flow commands to use 128-bit unique identifiers as an alternative to the netlink-formatted flow key. This significantly reduces the cost of assembling messages between the kernel and userspace, in particular improving Open vSwitch

Re: rcu, sched: WARNING: CPU: 30 PID: 23771 at kernel/rcu/tree_plugin.h:337 rcu_read_unlock_special+0x369/0x550()

2015-01-21 Thread Paul E. McKenney
On Wed, Jan 21, 2015 at 10:44:57AM -0500, Sasha Levin wrote: On 01/20/2015 09:57 PM, Paul E. McKenney wrote: So RCU believes that an RCU read-side critical section that ended within an interrupt handler (in this case, an hrtimer) somehow got preempted. Which is not supposed to happen.

Re: [GIT PULL] qcom SoC changes for v3.20

2015-01-21 Thread Olof Johansson
Hi, On Mon, Jan 19, 2015 at 12:27:15PM -0600, Kumar Gala wrote: The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) are available in the git repository at:

Re: [PATCH] mm: move MACRO SLAB_NEVER_MERGE and SLAB_MERGE_SAME to file linux/slab.h

2015-01-21 Thread David Rientjes
On Wed, 7 Jan 2015, Bryton Lee wrote: thanks for review my patch. I want to move these macros to linux/slab.h cause I don't want perform merge in slab level. for example. ss read /proc/slabinfo to finger out how many requests pending in the TCP listern queue. it use slabe name

[PATCH RESEND] fs: namei: Use memcpy instead of strlcpy

2015-01-21 Thread Guenter Roeck
If the string length is known, there is no need to use strlcpy. Use memcpy instead. Signed-off-by: Guenter Roeck li...@roeck-us.net --- Nitpick, but still a bit faster. Applies on top of -next. Resending with correct cc:. Sorry for the noise. fs/namei.c | 2 +- 1 file changed, 1 insertion(+),

Re: [PATCH 1/2] watchdog: dw_wdt: pat the watchdog before enabling it

2015-01-21 Thread Guenter Roeck
On 01/21/2015 03:17 PM, Doug Anderson wrote: On some dw_wdt implementations the top register may be initted to 0 at bootup. In such a case, each pat of the watchdog will reset the timer to 0x. That's pretty short. The input clock of the wdt can be any of a wide range of values. On an

Re: [PATCH 2/2] watchdog: dw_wdt: Try to get a 30 second watchdog by default

2015-01-21 Thread Guenter Roeck
On 01/21/2015 03:17 PM, Doug Anderson wrote: The dw_wdt_set_top() function takes in a value in seconds. In dw_wdt_open() we were calling it with a value that's supposed to represent the maximum value programmed into the top register with a comment saying that we were trying to set the watchdog

Re: [PATCH v2] clk: Introduce clk_has_parent()

2015-01-21 Thread Stephen Boyd
On 01/21/2015 08:13 AM, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com This new function is similar to clk_set_parent(), except that it doesn't actually change the parent. It merely checks that the given parent clock can be a parent for the given clock. A situation where this

Re: [PATCH v9 00/17] Kernel address sanitizer - runtime memory debugger.

2015-01-21 Thread Sasha Levin
On 01/21/2015 11:51 AM, Andrey Ryabinin wrote: Changes since v8: - Fixed unpoisoned redzones for not-allocated-yet object in newly allocated slab page. (from Dmitry C.) - Some minor non-function cleanups in kasan internals. - Added ack from Catalin -

Re: [PATCH RESEND] fs: namei: Use memcpy instead of strlcpy

2015-01-21 Thread Paul Moore
Good point. Do you mind if I merge your patch into my existing patch instead of including it separately? -- paul moore www.paul-moore.com On January 21, 2015 5:45:29 PM Guenter Roeck li...@roeck-us.net wrote: If the string length is known, there is no need to use strlcpy. Use memcpy

Re: [PATCH 1/2] livepatch: Revert livepatch: enforce patch stacking semantics

2015-01-21 Thread Li Bin
On 2015/1/21 22:36, Seth Jennings wrote: On Wed, Jan 21, 2015 at 03:06:38PM +0100, Jiri Kosina wrote: On Wed, 21 Jan 2015, Li Bin wrote: This reverts commit 83a90bb1345767f0cb96d242fd8b9db44b2b0e17. The method that only allowing the topmost patch on the stack to be enabled or disabled is

[PATCH net-next v14 3/5] openvswitch: Use sw_flow_key_range for key ranges.

2015-01-21 Thread Joe Stringer
These minor tidyups make a future patch a little tidier. Signed-off-by: Joe Stringer joestrin...@nicira.com --- net/openvswitch/flow_table.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/net/openvswitch/flow_table.c b/net/openvswitch/flow_table.c

[PATCH net-next v14 4/5] genetlink: Add genlmsg_parse() helper function.

2015-01-21 Thread Joe Stringer
The first user will be the next patch. Signed-off-by: Joe Stringer joestrin...@nicira.com --- include/net/genetlink.h | 17 + 1 file changed, 17 insertions(+) diff --git a/include/net/genetlink.h b/include/net/genetlink.h index f24aa83..d5a9a8b 100644 ---

Re: [PATCH tip 0/9] tracing: attach eBPF programs to tracepoints/syscalls/kprobe

2015-01-21 Thread Namhyung Kim
Hi Alexei, On Fri, Jan 16, 2015 at 10:57:15AM -0800, Alexei Starovoitov wrote: On Fri, Jan 16, 2015 at 7:02 AM, Steven Rostedt rost...@goodmis.org wrote: One last thing. If the ebpf is used for anything but filtering, it should go into the trigger file. The filtering is only a way to say if

Re: [PATCH net-next v14 1/5] openvswitch: Refactor ovs_nla_fill_match().

2015-01-21 Thread Pravin Shelar
On Wed, Jan 21, 2015 at 4:42 PM, Joe Stringer joestrin...@nicira.com wrote: Refactor the ovs_nla_fill_match() function into separate netlink serialization functions ovs_nla_put_{unmasked_key,mask}(). Modify ovs_nla_put_flow() to handle attribute nesting and expose the 'is_mask' parameter - all

Re: [PATCH net-next v14 4/5] genetlink: Add genlmsg_parse() helper function.

2015-01-21 Thread Pravin Shelar
On Wed, Jan 21, 2015 at 4:42 PM, Joe Stringer joestrin...@nicira.com wrote: The first user will be the next patch. Signed-off-by: Joe Stringer joestrin...@nicira.com Acked-by: Pravin B Shelar pshe...@nicira.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH net-next v14 2/5] openvswitch: Refactor ovs_flow_tbl_insert().

2015-01-21 Thread Pravin Shelar
On Wed, Jan 21, 2015 at 4:42 PM, Joe Stringer joestrin...@nicira.com wrote: Rework so that ovs_flow_tbl_insert() calls flow_{key,mask}_insert(). This tidies up a future patch. Signed-off-by: Joe Stringer joestrin...@nicira.com Acked-by: Pravin B Shelar pshe...@nicira.com -- To unsubscribe from

Re: [PATCH net-next v14 5/5] openvswitch: Add support for unique flow IDs.

2015-01-21 Thread Pravin Shelar
On Wed, Jan 21, 2015 at 4:42 PM, Joe Stringer joestrin...@nicira.com wrote: Previously, flows were manipulated by userspace specifying a full, unmasked flow key. This adds significant burden onto flow serialization/deserialization, particularly when dumping flows. This patch adds an

linux-next: manual merge of the kvm-arm tree with the arm64 tree

2015-01-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm-arm tree got a conflict in arch/arm64/kvm/handle_exit.c between commit c6d01a947a51 (arm64: kvm: move to ESR_ELx macros) from the arm64 tree and commit 0d97f8848104 (arm/arm64: KVM: add tracing support for arm64 exit handler) from the kvm-arm tree. I

linux-next: manual merge of the kvm-arm tree with the arm64 tree

2015-01-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm-arm tree got a conflict in arch/arm64/include/asm/kvm_arm.h between commit 6e53031ed840 (arm64: kvm: remove ESR_EL2_* macros) from the arm64 tree and commit 0d97f8848104 (arm/arm64: KVM: add tracing support for arm64 exit handler) from the kvm-arm tree.

[PATCH v2] dma: imx-sdma: switch to dynamic context mode after script loaded

2015-01-21 Thread Robin Gong
Below comments got from Page4724 of Reference Manual of i.mx6q: http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf --Static context mode should be used for the first channel called after reset to ensure that the all context RAM for that channel is initialized during the context

Re: [PATCH 1/2] watchdog: dw_wdt: pat the watchdog before enabling it

2015-01-21 Thread Guenter Roeck
On 01/21/2015 09:22 PM, Jisheng Zhang wrote: Dear Doug, On Wed, 21 Jan 2015 15:17:22 -0800 Doug Anderson diand...@chromium.org wrote: On some dw_wdt implementations the top register may be initted to 0 at bootup. In such a case, each pat of the watchdog will reset the timer to 0x.

Re: [alsa-devel][PATCH 3/3] ASoC: fsl_sai: Add support for Right-J mode

2015-01-21 Thread Nicolin Chen
On Thu, Jan 22, 2015 at 01:13:46PM +0800, Zidan Wang wrote: On Wed, Jan 21, 2015 at 10:53:20AM -0800, Nicolin Chen wrote: On Tue, Jan 20, 2015 at 08:21:20PM +0800, Zidan Wang wrote: Add Right-J mode and set TCR5 FBT bit to let data right justify. Signed-off-by: Zidan Wang

Re: [alsa-devel][PATCH 2/3] ASoC: fsl_sai: Add support for tdm slots operation

2015-01-21 Thread Nicolin Chen
On Thu, Jan 22, 2015 at 12:55:35PM +0800, Zidan Wang wrote: On Wed, Jan 21, 2015 at 10:08:03AM -0800, Nicolin Chen wrote: On Tue, Jan 20, 2015 at 08:21:19PM +0800, Zidan Wang wrote: @@ -369,10 +380,25 @@ static int fsl_sai_hw_params(struct snd_pcm_substream *substream, u32

Re: [PATCH v9 00/17] Kernel address sanitizer - runtime memory debugger.

2015-01-21 Thread Andrey Ryabinin
2015-01-22 8:34 GMT+03:00 Andrey Ryabinin ryabinin@gmail.com: 2015-01-22 3:22 GMT+03:00 Sasha Levin sasha.le...@oracle.com: On 01/21/2015 11:51 AM, Andrey Ryabinin wrote: Changes since v8: - Fixed unpoisoned redzones for not-allocated-yet object in newly allocated slab

Re: [PATCH] video: fbdev: fix sys_copyarea

2015-01-21 Thread Måns Rullgård
Mans Rullgard m...@mansr.com writes: The sys_copyarea() function performs the same operation as cfb_copyarea() but using normal memory access instead of I/O accessors. Since the introduction of sys_copyarea(), there have been two fixes to cfb_copyarea(): - 00a9d699 (framebuffer: fix

Re: [alsa-devel] [PATCH v2 3/3] ARM: dts: Add sound nodes for exynos4412-trats2

2015-01-21 Thread Inha Song
Hi, Thanks for your comments. On Wed, 21 Jan 2015 17:23:21 +0100 Sylwester Nawrocki s.nawro...@samsung.com wrote: Hi, On 19/01/15 10:48, Inha Song wrote: --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts + sound { + compatible =

Re: [PATCH v2 1/1] x86: Add Isolated Memory Regions for Quark X1000

2015-01-21 Thread Bryan O'Donoghue
On 21/01/15 20:57, Andy Shevchenko wrote: Few nitpicks and comments below. +/* + * IMR agent access mask bits + * See section 12.7.4.7 from quark-x1000-datasheet.pdf for register + * definitions What about dots at the end of sentences? Murphy's law says - no matter how many times you

Re: [PATCH v11 3/4] clk: Add rate constraints to clocks

2015-01-21 Thread Stephen Boyd
On 01/21, Tomeu Vizoso wrote: Adds a way for clock consumers to set maximum and minimum rates. This can be used for thermal drivers to set minimum rates, or by misc. drivers to set maximum rates to assure a minimum performance level. Changes the signature of the determine_rate callback by

Re: [RFC][PATCH 0/5] tracing: Add new file system tracefs

2015-01-21 Thread Steven Rostedt
On Thu, 22 Jan 2015 07:00:07 +0800 Greg Kroah-Hartman gre...@linuxfoundation.org wrote: Any chance you can use kernfs as your basis for this filesystem instead of having to roll all of your own functions? I'm slowly working on moving debugfs to it, and it should save a lot of code there, as

Re: [PATCH tip 0/9] tracing: attach eBPF programs to tracepoints/syscalls/kprobe

2015-01-21 Thread Alexei Starovoitov
On Wed, Jan 21, 2015 at 5:03 PM, Namhyung Kim namhy...@kernel.org wrote: AFAIK a trigger can be fired before allocating a ring buffer if it doesn't use the event record (i.e. has filter) or -post_trigger bit set (stacktrace). Please see ftrace_trigger_soft_disabled(). yes, but such trigger

Re: mmotm: mm-slub-optimize-alloc-free-fastpath-by-removing-preemption-on-off.patch is causing preemptible splats

2015-01-21 Thread Joonsoo Kim
On Wed, Jan 21, 2015 at 02:21:07PM -0800, Andrew Morton wrote: On Wed, 21 Jan 2015 15:11:38 +0100 Michal Hocko mho...@suse.cz wrote: On Wed 21-01-15 15:06:03, Krzysztof Koz__owski wrote: [...] Same here :) [1] . So actually only ARM seems affected (both armv7 and armv8) because it is

Re: [PATCH RESEND] fs: namei: Use memcpy instead of strlcpy

2015-01-21 Thread Guenter Roeck
On 01/21/2015 04:44 PM, Paul Moore wrote: Good point. Do you mind if I merge your patch into my existing patch instead of including it separately? Sure, no problem. Go ahead. Guenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH tip 0/9] tracing: attach eBPF programs to tracepoints/syscalls/kprobe

2015-01-21 Thread Alexei Starovoitov
On Wed, Jan 21, 2015 at 5:56 PM, Steven Rostedt rost...@goodmis.org wrote: On Wed, 21 Jan 2015 17:49:08 -0800 Alexei Starovoitov a...@plumgrid.com wrote: This also makes it keeping events in the soft-disabled state. I was never able to figure out the use case for soft-disabled state.

Re: [PATCH 1/2] printk: Add dummy routine for when CONFIG_PRINTK=n

2015-01-21 Thread Pranith Kumar
On Wed, Jan 21, 2015 at 7:58 AM, Petr Mladek pmla...@suse.cz wrote: On Tue 2015-01-20 18:51:49, Pranith Kumar wrote: There are missing dummy routines for log_buf_addr_get() and log_buf_len_get() for when CONFIG_PRINTK is not set causing build failures. This patch adds these dummy routines at

Re: [PATCH] Add LTC2941/LTC2943 Battery Gauge Driver

2015-01-21 Thread Sebastian Reichel
Hi, On Tue, Oct 28, 2014 at 08:05:12AM +0100, Mike Looijmans wrote: Both the LTC2941 and LTC2943 measure battery capacity. The LTC2943 is compatible with the LTC2941, it adds voltage and temperature monitoring, and uses a slightly different conversion formula for the charge counter. To

[PATCH v2 1/2] printk: Add dummy routine for when CONFIG_PRINTK=n

2015-01-21 Thread Pranith Kumar
There are missing dummy routines for log_buf_addr_get() and log_buf_len_get() for when CONFIG_PRINTK is not set causing build failures. This patch adds these dummy routines at the appropriate location. Signed-off-by: Pranith Kumar bobby.pr...@gmail.com CC: Michael Ellerman m...@ellerman.id.au

Re: [PATCH] Add devicetree binding documentation for the LTC2941/LTC2943 driver

2015-01-21 Thread Sebastian Reichel
Hi, On Tue, Oct 28, 2014 at 08:08:04AM +0100, Mike Looijmans wrote: This adds the devicetree binding documentation for the LTC2941 and LTC2943 driver. These are I2C connected battery gas gauge ICs. Thanks, applied. -- Sebastian signature.asc Description: Digital signature

[PATCH 3/5] rtc: Modify rtc_hctosys() to address y2038 issues

2015-01-21 Thread Xunlei Pang
rtc_hctosys() has a number of y2038 issues. This patch resolves them by: - Replace rtc_tm_to_time() with y2038-safe rtc_tm_to_time64() - Replace do_settimeofday() with y2038-safe do_settimeofday64() After this patch, it should not have any remaining y2038 issues. Reviewed-by: John Stultz

Re: [PATCH v3 0/4] drivers: bus: Add Simple Power-Managed Bus

2015-01-21 Thread Simon Horman
On Fri, Jan 09, 2015 at 02:12:31PM +0100, Geert Uytterhoeven wrote: Hi Simon, Magnus, The Renesas Bus State Controller (BSC) provides an external bus for connecting multiple external devices to an SoC, driving several chip select lines, for e.g. NOR FLASH, Ethernet and USB. On the

Re: [PATCH] Selinux/hooks.c: Fix a NULL pointer dereference caused by semop()

2015-01-21 Thread Ethan Zhao
On Wed, Jan 21, 2015 at 1:30 PM, Manfred Spraul manf...@colorfullife.com wrote: On 01/21/2015 04:53 AM, Ethan Zhao wrote: On Tue, Jan 20, 2015 at 10:10 PM, Stephen Smalley s...@tycho.nsa.gov wrote: On 01/20/2015 04:18 AM, Ethan Zhao wrote: sys_semget() -newary()

Re: [PATCH mtd] mtd:devices: Add Altera EPCQ Driver

2015-01-21 Thread Viet Nga Dao
On Tue, Jan 20, 2015 at 10:05 AM, Viet Nga Dao vn...@altera.com wrote: On Thu, Jan 15, 2015 at 5:27 PM, Viet Nga Dao vn...@altera.com wrote: On Tue, Jan 13, 2015 at 11:33 AM, Brian Norris computersforpe...@gmail.com wrote: On Thu, Dec 18, 2014 at 12:23:16AM -0800, vn...@altera.com wrote:

Re: [RFC][PATCH 0/5] tracing: Add new file system tracefs

2015-01-21 Thread Steven Rostedt
On Wed, 21 Jan 2015 20:47:25 -0500 Steven Rostedt rost...@goodmis.org wrote: Well, if I switch to using kernfs, I expect we should ignore this version as well, as I would think it would make this series obsolete. Is there any documentation on kernfs? I can't find anything that makes it any

Re: [PATCH 1/2] perf: convert: fix duplicate field names and avoid reserved keywords.

2015-01-21 Thread Jérémie Galarneau
On Wed, Jan 21, 2015 at 8:38 PM, Wang Nan wangn...@huawei.com wrote: On 2015/1/21 23:56, Jérémie Galarneau wrote: On Wed, Jan 21, 2015 at 9:11 AM, Jiri Olsa jo...@redhat.com wrote: On Wed, Jan 21, 2015 at 11:23:54AM +0800, Wang Nan wrote: Some parameters of syscall tracepoints named as 'nr',

Re: linux-next: Tree for Jan 20

2015-01-21 Thread Guenter Roeck
On 01/21/2015 02:43 AM, Kirill A. Shutemov wrote: BUG: Bad page state in process init.sh pfn:0 page:f05e7460 count:0 mapcount:-1 mapping: (null) index:0x0 flags: 0x400(reserved) page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set bad because of flags: flags: 0x400(reserved) CPU: 0

Re: [PATCH v3] thermal: rockchip: make temperature reporting much more accurate

2015-01-21 Thread Caesar Wang
在 2015年01月22日 12:01, Daniel Kurtz 写道: On Thu, Jan 22, 2015 at 1:29 AM, Caesar Wang w...@rock-chips.com wrote: In general, the kernel should report temperature readings exactly as reported by the hardware. The cpu / gpu thermal driver works in 5 degree increments,but we ought to do more

Fixing touch point jumps in the kernel (was Re: [PATCH] MAINTAINERS: Update rydberg's addresses)

2015-01-21 Thread Peter Hutterer
changed the subject so it'll be easier to find in the archives. On Wed, Jan 21, 2015 at 08:38:46PM +0100, Henrik Rydberg wrote: Hi Benjamin, - there is a fragmentation problem: we would have to fix the bug in xorg-synaptics (which is slowly waiting for its death), libinput, ChromeOS, Qt

Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs

2015-01-21 Thread Paul Moore
On Thursday, January 22, 2015 04:12:41 AM Al Viro wrote: On Wed, Jan 21, 2015 at 09:28:51PM -0500, Paul Moore wrote: Al, do you mind if I fold your patch below into the existing patches? No problem, but I'd probably prefer to put this series through vfs.git. With the following as the first

[PATCH V2 1/3] perf symbols: Ignore mapping symbols on aarch64

2015-01-21 Thread Victor Kamensky
Aarch64 ELF files use mapping symbols with special names $x, $d to identify regions of Aarch64 code (see Aarch64 ELF ABI - ARM IHI 0056B, section 4.5.4 Mapping symbols). The patch filters out these symbols at load time, similar to 696b97a perf symbols: Ignore mapping symbols on ARM changes done

[PATCH V2 2/3] perf symbols: improve abi compliance in arm mapping symbols handling

2015-01-21 Thread Victor Kamensky
Both Arm and Aarch64 ELF ABI allow mapping symbols be in from either $d or $d.any. But current code that handles mapping symbols only deals with the first, dollar character and a single letter, case. The patch adds handling of the second case with period followed by any characters. Suggested-by:

[PATCH V2 3/3] perf symbols: debuglink should take symfs option into account

2015-01-21 Thread Victor Kamensky
Currently code that tries to read corresponding debug symbol file from .gnu_debuglink section (DSO_BINARY_TYPE__DEBUGLINK) does not take in account symfs option, so filename__read_debuglink function cannot open ELF file, if symfs option is used. Fix is to add proper handling of symfs as it is

linux-next: manual merge of the kvm-arm tree with the rcu tree

2015-01-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm-arm tree got a conflict in arch/arm64/kvm/Kconfig between commit 83fe27ea5311 (rcu: Make SRCU optional by using CONFIG_SRCU) from the rcu tree and commit 7276030a082c (KVM: arm/arm64: Enable Dirty Page logging for ARMv8) from the kvm-arm tree. I fixed

Re: [PATCH] mm/slub: use unchecked percpu access within preemptible sections

2015-01-21 Thread Joonsoo Kim
On Wed, Jan 21, 2015 at 09:27:41PM -0500, Sasha Levin wrote: On 01/21/2015 08:59 PM, Joonsoo Kim wrote: On Tue, Jan 20, 2015 at 11:31:43PM -0500, Sasha Levin wrote: Commit mm/slub: optimize alloc/free fastpath by removing preemption on/off has added access to percpu memory while the

Re: [PATCH v4 0/2] power: rt5033: Add Richtek RT533 drivers

2015-01-21 Thread Sebastian Reichel
Hi, On Thu, Jan 22, 2015 at 01:06:38PM +0900, Beomho Seo wrote: This patchset adds driver for Richtek rt5033 chip The chip contains switching charge mode Li-Ion/Li-Polymer battery charger, fuelgauge. Additionally, This includes document for device tree of RT5033 device. Thanks, applied. --

Re: perf: easily crash kernel with rapl event close

2015-01-21 Thread Stephane Eranian
Vince, On Wed, Jan 21, 2015 at 10:55 AM, Vince Weaver vincent.wea...@maine.edu wrote: Hello on my haswell system, running 3.19-rc5, and with echo 0 /proc/sys/kernel/perf_event_paranoid I can easily crash my system with the attached test program that simply opens a RAPL event and

Re: RCU CPU stall console spews leads to soft lockup disabled is reasonable ?

2015-01-21 Thread Paul E. McKenney
On Thu, Jan 22, 2015 at 11:08:11AM +0800, Zhang Zhen wrote: On 2015/1/22 4:06, Paul E. McKenney wrote: On Wed, Jan 21, 2015 at 10:10:51AM -0500, Don Zickus wrote: On Wed, Jan 21, 2015 at 10:26:27AM +0800, Zhang Zhen wrote: This may not cause other problems but what happens if you comment

Re: mmotm: mm-slub-optimize-alloc-free-fastpath-by-removing-preemption-on-off.patch is causing preemptible splats

2015-01-21 Thread Stephen Rothwell
Hi Andrew, On Wed, 21 Jan 2015 19:34:11 -0800 Andrew Morton a...@linux-foundation.org wrote: On Thu, 22 Jan 2015 10:51:23 +0900 Joonsoo Kim iamjoonsoo@lge.com wrote: The most recent -mmotm was a bit of a trainwreck. I'm scrambling to get the holes plugged so I can get another

Re: [alsa-devel][PATCH 3/3] ASoC: fsl_sai: Add support for Right-J mode

2015-01-21 Thread Zidan Wang
On Wed, Jan 21, 2015 at 10:53:20AM -0800, Nicolin Chen wrote: On Tue, Jan 20, 2015 at 08:21:20PM +0800, Zidan Wang wrote: Add Right-J mode and set TCR5 FBT bit to let data right justify. Signed-off-by: Zidan Wang zidan.w...@freescale.com - if (sai-is_lsb_first) + if

Re: [PATCH v2 2/2] powerpc/powernv: Skip registering log region when CONFIG_PRINTK=n

2015-01-21 Thread Michael Ellerman
On Wed, 2015-01-21 at 21:26 -0500, Pranith Kumar wrote: When CONFIG_PRINTK=n, log_buf_addr_get() returns NULL and log_buf_len_get() return 0. Check for these return values and skip registering the dump buffer. Signed-off-by: Pranith Kumar bobby.pr...@gmail.com CC: Michael Ellerman

[PATCH] ARM: decompressor: remove unused cache flush code

2015-01-21 Thread Masahiro Yamada
As ARM ARM says, the bit 19-16 of ID_MMFR1 is always 0b because ARMv7 requires a hierarchical cache implementation. The line mcrp15, 0, r10, c7, c14, 0 is not reachable. Moreover, the v7_flush_dcache_all in arch/arm/mm/cache-v7.S does not check the ID_MMFR1. Signed-off-by: Masahiro

Re: [PATCH 1/2] watchdog: dw_wdt: pat the watchdog before enabling it

2015-01-21 Thread Jisheng Zhang
Dear Doug, On Wed, 21 Jan 2015 15:17:22 -0800 Doug Anderson diand...@chromium.org wrote: On some dw_wdt implementations the top register may be initted to 0 at bootup. In such a case, each pat of the watchdog will reset the timer to 0x. That's pretty short. + Guenter Roeck This should

Re: [PATCH v9 00/17] Kernel address sanitizer - runtime memory debugger.

2015-01-21 Thread Andrey Ryabinin
2015-01-22 3:22 GMT+03:00 Sasha Levin sasha.le...@oracle.com: On 01/21/2015 11:51 AM, Andrey Ryabinin wrote: Changes since v8: - Fixed unpoisoned redzones for not-allocated-yet object in newly allocated slab page. (from Dmitry C.) - Some minor non-function cleanups in

Re: mmotm: mm-slub-optimize-alloc-free-fastpath-by-removing-preemption-on-off.patch is causing preemptible splats

2015-01-21 Thread Andrew Morton
On Thu, 22 Jan 2015 16:14:02 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: Hi Andrew, On Wed, 21 Jan 2015 19:34:11 -0800 Andrew Morton a...@linux-foundation.org wrote: On Thu, 22 Jan 2015 10:51:23 +0900 Joonsoo Kim iamjoonsoo@lge.com wrote: The most recent -mmotm

[PATCH 1/1] 8250_core.c

2015-01-21 Thread Dick Hollenbeck
This was generated from 3.14 kernel, but since its so small it will likely apply to newer kernels without issue. A lesser travelled code path specifically crafted for tx interrupt buggy UARTs seems to be testing the wrong bit for whether or not to prime the transmit pump. The result is that the

Re: [PATCH V3] tick/broadcast: Make movement of broadcast hrtimer robust against hotplug

2015-01-21 Thread Preeti U Murthy
On 01/21/2015 05:16 PM, Thomas Gleixner wrote: On Tue, 20 Jan 2015, Preeti U Murthy wrote: diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c index 5544990..f3907c9 100644 --- a/kernel/time/clockevents.c +++ b/kernel/time/clockevents.c @@ -568,6 +568,7 @@ int

[PATCH] mm, vmacache: Add kconfig VMACACHE_SHIFT

2015-01-21 Thread WANG Chao
Add a new kconfig option VMACACHE_SHIFT (as a power of 2) to specify the number of slots vma cache has for each thread. Range is chosen 0-4 (1-16 slots) to consider both overhead and performance penalty. Default is 2 (4 slots) as it originally is, which provides good enough balance.

Re: [PATCH 2/5] mtd: nand: Add qcom nand controller driver

2015-01-21 Thread Archit Taneja
Hi, On 01/21/2015 06:24 AM, Daniel Ehrenberg wrote: On Fri, Jan 16, 2015 at 6:48 AM, Archit Taneja arch...@codeaurora.org wrote: +/* + * the bad block marker is readable only when we read the page with ECC + * disabled. all the read/write commands like NAND_CMD_READOOB, NAND_CMD_READ0 + * and

Re: [PATCH] MAINTAINERS: update Qualcomm support entry

2015-01-21 Thread Joe Perches
On Wed, 2015-01-21 at 22:39 -0600, Andy Gross wrote: Added myself as a co-maintainer. Updated the files to include the Qualcomm SoC directory. Added linux-soc mailing list. [] diff --git a/MAINTAINERS b/MAINTAINERS [] @@ -1284,9 +1284,12 @@ S: Maintained ARM/QUALCOMM SUPPORT M:

Re: [alsa-devel][PATCH 2/3] ASoC: fsl_sai: Add support for tdm slots operation

2015-01-21 Thread Zidan Wang
On Wed, Jan 21, 2015 at 10:08:03AM -0800, Nicolin Chen wrote: On Tue, Jan 20, 2015 at 08:21:19PM +0800, Zidan Wang wrote: @@ -369,10 +380,25 @@ static int fsl_sai_hw_params(struct snd_pcm_substream *substream, u32 word_width = snd_pcm_format_width(params_format(params)); u32

[PATCH V2 0/3] perf symbols: debuglink and arm mapping symbols changes

2015-01-21 Thread Victor Kamensky
Hi Folks, Here is second version of mini-series that addresses couple issues in perf symbols handling. Changes since V1: o 'perf symbols: Ignore mapping symbols on aarch64': based on feedback from Will Deacon and Russell King [1] added code that handles ARM/Aarch64 mapping symbols like $d.any.

[PATCH v2 0/5] Overhaul the audit filename handling

2015-01-21 Thread Paul Moore
This patchset has some important changes from the previous revision, namely a fix from Al Viro (included in 2/5) that resolves a boot panic on some systems as well as some smaller, less noteworthy fixes found in the linux-next announcement thread from January 20th (refcount bump in

linux-next: manual merge of the kvm-arm tree with the rcu tree

2015-01-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm-arm tree got a conflict in arch/arm/kvm/Kconfig between commit 83fe27ea5311 (rcu: Make SRCU optional by using CONFIG_SRCU) from the rcu tree and commit 53c810c364d7 (KVM: arm: dirty logging write protect support) from the kvm-arm tree. I fixed it up

[PATCH v2 5/5] audit: replace getname()/putname() hacks with reference counters

2015-01-21 Thread Paul Moore
In order to ensure that filenames are not released before the audit subsystem is done with the strings there are a number of hacks built into the fs and audit subsystems around getname() and putname(). To say these hacks are ugly would be kind. This patch removes the filename hackery in favor of

[PATCH v2 1/5] fs: rework getname_kernel to handle up to PATH_MAX sized filenames

2015-01-21 Thread Paul Moore
In preparation for expanded use in the kernel, make getname_kernel() more useful by allowing it to handle any legal filename length. Thanks to Guenter Roeck for his suggestion to substitute memcpy() for strlcpy(). CC: li...@roeck-us.net CC: v...@zeniv.linux.org.uk CC:

[PATCH v2 3/5] audit: enable filename recording via getname_kernel()

2015-01-21 Thread Paul Moore
Enable recording of filenames in getname_kernel() and remove the kludgy workaround in __audit_inode() now that we have proper filename logging for kernel users. CC: v...@zeniv.linux.org.uk CC: linux-fsde...@vger.kernel.org Signed-off-by: Paul Moore pmo...@redhat.com Reviewed-by: Richard Guy

[PATCH v2 2/5] fs: create proper filename objects using getname_kernel()

2015-01-21 Thread Paul Moore
There are several areas in the kernel that create temporary filename objects using the following pattern: int func(const char *name) { struct filename *file = { .name = name }; ... return 0; } ... which for the most part

Re: [PATCH v3] thermal: rockchip: make temperature reporting much more accurate

2015-01-21 Thread Caesar Wang
在 2015年01月22日 12:25, Daniel Kurtz 写道: On Thu, Jan 22, 2015 at 12:21 PM, Caesar Wang caesar.w...@rock-chips.com wrote: 在 2015年01月22日 12:01, Daniel Kurtz 写道: On Thu, Jan 22, 2015 at 1:29 AM, Caesar Wang w...@rock-chips.com wrote: In general, the kernel should report temperature readings

<    1   2   3   4   5   6   7   8   9   10   >