[PATCH net-next] wireless: test sscanf return values

2015-02-26 Thread Joe Perches
At some point, it'd be good to make sscanf use __must_check so make sure the net/ uses of sscanf use the return value. Signed-off-by: Joe Perches j...@perches.com --- Compiled, untested. net/mac80211/debugfs.c | 4 ++-- net/wireless/core.c| 4 ++-- 2 files changed, 4 insertions(+), 4

[PATCH v11 1/6] mfd: Add support for Skyworks SKY81452 driver

2015-02-26 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com Acked-by: Lee Jones lee.jo...@linaro.org --- Changes v11: Nothing Changes v10: Nothing Changes v9: Nothing Changes v8: Nothing Changes v7: Modified licensing text to GPLv2 Changes v6: Added new

[PATCH v11 0/6] Add Skyworks SKY81452 device drivers

2015-02-26 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com This patch set includes regulator and backlight driver for SKY81452. Also it includes documents for device tree and module. sky81452-regulator was already applied. So this series doesn't include it. v11: Renamed 'skyworks,en-channels' property to

[PATCH v11 3/6] devicetree: Add new SKY81452 mfd binding

2015-02-26 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com Acked-by: Lee Jones lee.jo...@linaro.org --- Changes v11: Renamed 'skyworks,en-channels' property to led-sources. Removed unused property 'skyworks,ovp-level'. Changes v10: Nothing Changes v9: Nothing

[PATCH 2/2] ACPI / EC: Add GPE reference counting debugging messages.

2015-02-26 Thread Lv Zheng
This patch enhances debugging with the GPE reference count messages added. This kind of log entries can be used by the platform validators to validate if there is an EC transaction broken because of firmware/driver bugs. No functional changes. Signed-off-by: Lv Zheng lv.zh...@intel.com ---

[PATCH 1/2] ACPI / EC: Cleanup logging/debugging splitter support.

2015-02-26 Thread Lv Zheng
This patch refines logging/debugging splitter support so that when DEBUG is disabled, splitters won't be visible in the kernel logs while they are still available for developers when DEBUG is enabled. This patch also refines the splitters to mark the following handling process boundaries:

[PATCH 0/2] ACPI / EC: Enhance logging/debugging.

2015-02-26 Thread Lv Zheng
This patchset enhances logging/debugging support in EC driver. Lv Zheng (2): ACPI / EC: Cleanup logging/debugging splitter support. ACPI / EC: Add GPE reference counting debugging messages. drivers/acpi/ec.c | 120 + 1 file changed, 84

Re: [PATCH 3/3] leds: Add ktd2692 flash LED driver

2015-02-26 Thread Ingi Kim
hi On 2015년 02월 27일 12:36, Varka Bhadram wrote: On 02/27/2015 06:31 AM, Ingi Kim wrote: This patch adds a driver to support the ktd2692 flash LEDs. ktd2692 can control flash current by ExpressWire interface. Signed-off-by: Ingi Kim ingi2@samsung.com --- drivers/leds/Kconfig|

Re: [PATCH v2] mmc: dw_mmc: fix bug that cause mmc_test failture

2015-02-26 Thread Jaehoon Chung
Hi, I will apply into my-tree after change the subject and fix typo. Acked-by: Jaehoon Chung jh80.ch...@samsung.com Best Regards, Jaehoon Chung On 02/26/2015 03:17 AM, Javier Martinez Canillas wrote: Hello Addy, On 02/20/2015 03:55 AM, Addy Ke wrote: The STOP command can terminate a data

Re: [PATCH 2/7] kprobes: Propagate error from arm_kprobe_ftrace()

2015-02-26 Thread Masami Hiramatsu
(2015/02/27 1:13), Petr Mladek wrote: arm_kprobe_ftrace() could fail, especially after introducing ftrace IPMODIFY flag and LifePatching. registry_kprobe() and registry_aggr_kprobe() do not mind about the error because the kprobe gets disabled and they keep it registered. But

Re: [PATCH v3] brcmfmac: avoid duplicated suspend/resume operation

2015-02-26 Thread Fu, Zhonghui
On 2015/2/16 17:50, David Laight wrote: WiFi chip has 2 SDIO functions, and PM core will trigger twice suspend/resume operations for one WiFi chip to do the same things. This patch avoid this case. Do you want to suspend on the first or last request? In general it might be that one function

Re: [PATCH] qla2xxx: Fix trivial typos in ql_log message

2015-02-26 Thread Saurav Kashyap
Acked-by: Saurav Kashyap saurav.kash...@qlogic.com Change 'Fimware' to 'Firmware' Change 'enalbled' to 'enabled' Signed-off-by: Yannick Guerrini yguerr...@tomshardware.fr --- drivers/scsi/qla2xxx/qla_init.c | 4 ++-- drivers/scsi/qla2xxx/qla_mid.c | 2 +- 2 files changed, 3 insertions(+), 3

[PATCH 0/3] platform/chrome: cros_ec_lpc - Build fixes

2015-02-26 Thread Javier Martinez Canillas
Hello Olof, This series adds a set of trivial fixes for build issues with the cros_ec_lpc driver that were reported by Fengguang Wu's build bot. It is composed of the following patches: Javier Martinez Canillas (3): platform/chrome: cros_ec_lpc - Include linux/io.h header file

[PATCH 2/3] platform/chrome: cros_ec_lpc - Depend on X86 || COMPILE_TEST

2015-02-26 Thread Javier Martinez Canillas
The Low Pin Count bus was introduced by Intel and is only used in x86 computers so it should depend on the X86 Kconfig option. But also build the driver if the COMPILE_TEST option is enabled to have build coverage in other architectures. Signed-off-by: Javier Martinez Canillas

[PATCH 1/3] platform/chrome: cros_ec_lpc - Include linux/io.h header file

2015-02-26 Thread Javier Martinez Canillas
The driver uses the inb() and outb() I/O functions so should include the header file that has these functions definitions. This patch fixes the following error when the header is not explicitly included: drivers/platform/chrome//cros_ec_lpc.c: In function ‘ec_response_timed_out’:

[PATCH 3/3] platform/chrome: cros_ec_lpc - Drop owner assignment

2015-02-26 Thread Javier Martinez Canillas
Platform drivers don't need to set an owner since it will be populated by the driver core. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- drivers/platform/chrome/cros_ec_lpc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/chrome/cros_ec_lpc.c

RE: [RFC] mm: change mm_advise_free to clear page dirty

2015-02-26 Thread Wang, Yalin
-Original Message- From: Minchan Kim [mailto:minchan@gmail.com] On Behalf Of Minchan Kim Sent: Friday, February 27, 2015 1:28 PM To: Wang, Yalin Cc: Michal Hocko; Andrew Morton; linux-kernel@vger.kernel.org; linux- m...@kvack.org; Rik van Riel; Johannes Weiner; Mel Gorman;

RE: 0001-media-vb2-Fill-vb2_buffer-with-bytesused-from-user.patch; kernel version 3.10.69

2015-02-26 Thread Sudip JAIN
Thanks for your feedback. I will improve my patch submission. BR, Sudip From: Jeremiah Mahler [jmmah...@gmail.com] Sent: Thursday, February 26, 2015 10:39 PM To: Sudip JAIN Cc: linux-me...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re:

Re: [PATCH 1/7] kprobes: Disable Kprobe when ftrace arming fails

2015-02-26 Thread Masami Hiramatsu
(2015/02/27 1:13), Petr Mladek wrote: arm_kprobe_ftrace() could fail, especially after introducing ftrace IPMODIFY flag and LifePatching. But this situation is not properly handled. This patch adds the most important changes. Hmm, as you know, I actually working on it to drop IPMODIFY from

Re: [PATCH v5 3/6] arm64: Kprobes with single stepping support

2015-02-26 Thread David Long
On 02/18/15 09:59, Masami Hiramatsu wrote: Hi, (2015/02/18 8:11), David Long wrote: From: Sandeepa Prabhu sandeepa.pra...@linaro.org Add support for basic kernel probes(kprobes) and jump probes (jprobes) for ARM64. Kprobes will utilize software breakpoint and single step debug

Re: + ocfs2-remove-unneeded-rc-for-kfree.patch added to -mm tree

2015-02-26 Thread Joseph Qi
We can only free conn-cc_private if error occurs. Otherwise it will trigger a bug in o2cb_cluster_disconnect since conn-cc_private has already been freed. So please drop this patch, thanks. On 2015/2/18 7:32, a...@linux-foundation.org wrote: The patch titled Subject: ocfs2: remove

Re: [PATCH v4 0/3] powerpc: Enable seccomp filter support

2015-02-26 Thread Purcareata Bogdan
Ping? On 18.02.2015 10:16, Bogdan Purcareata wrote: Add the missing pieces in order to enable SECCOMP_FILTER on PowerPC architectures, and enable this support. Testing has been pursued using libseccomp with the latest ppc support patches [1][2], on Freescale platforms for both ppc and ppc64.

[PATCH v2] ixgbe: make VLAN filter conditional

2015-02-26 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto h-shimam...@ct.jp.nec.com Disable hardware VLAN filtering if netdev-features VLAN flag is dropped. In SR-IOV case, there is a use case which needs to disable VLAN filter. For example, we need to make a network function with VF in virtualized environment. That network

Re: [PATCH v2 0/2] HID: wacom: add support of Bamboo PAD

2015-02-26 Thread Jiri Kosina
On Wed, 25 Feb 2015, Benjamin Tissoires wrote: So here is the v2 of the patch set to support the Bamboo PAD. It has been tested by Josep (thanks!) on the wired version and I developped it on the wireless version. I guess it should be good to go if the reviews goes well. Cheers, Benjamin

Re: [PATCH v5 0/7] platform/chrome: Add user-space dev inferface support

2015-02-26 Thread Javier Martinez Canillas
Hello, On 02/27/2015 01:11 AM, Olof Johansson wrote: On Thu, Feb 26, 2015 at 3:35 PM, Gwendal Grignou gwen...@chromium.org wrote: Tested-by: Gwendal Grignou gwen...@chromium.org Reviewed-by: Gwendal Grignou gwen...@chromium.org Tested on a chromebook pixel with kernel 4.0.0-rc1 and ectool

Re: [RFC] mm: change mm_advise_free to clear page dirty

2015-02-26 Thread Minchan Kim
Hello, On Fri, Feb 27, 2015 at 11:37:18AM +0800, Wang, Yalin wrote: This patch add ClearPageDirty() to clear AnonPage dirty flag, the Anonpage mapcount must be 1, so that this page is only used by the current process, not shared by other process like fork(). if not clear page dirty for this

[RFC PATCH] ARM64: cmpxchg.h: Clear the exclusive access bit on fail

2015-02-26 Thread Pranith Kumar
In cmpxchg(), we do a load exclusive on an address and upon a comparison fail, we skip the store exclusive instruction. This can result in the exclusive bit still set. If there was a store exclusive after this to the same address, that will see the exclusive bit set. This should not happen. We

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

2015-02-26 Thread Paul E. McKenney
in this function) if (err) ^ Caused by commit b92c23b083d6 (x86: Use common outgoing-CPU-notification code). I have used the rcu tree from next-20150226 for today. Apologies for the hassle! I have fixed this. Thanx, Paul

Re: [patch] mm, mempolicy: migrate_to_node should only migrate to node

2015-02-26 Thread Naoya Horiguchi
On Tue, Feb 24, 2015 at 03:18:06PM -0800, David Rientjes wrote: migrate_to_node() is intended to migrate a page from one source node to a target node. Today, migrate_to_node() could end up migrating to any node, not only the target node. This is because the page migration allocator,

Re: [PATCH 1/1] ARM: exynos_defconfig: Disable IOMMU support

2015-02-26 Thread Javier Martinez Canillas
Hello Kukjin, On 02/17/2015 12:38 PM, Javier Martinez Canillas wrote: Enabling Exynos DRM IOMMU support for Exynos is currently broken and causes a BUG on exynos-iommu driver. This was not an issue since the options was disabled in exynos_defconfig but after commit 8dcc14f82f06 (drm/exynos:

Re: [PATCH v6 1/3] dmaengine: Add support for APM X-Gene SoC DMA engine driver

2015-02-26 Thread Rameshwar Sahu
Hi On Fri, Feb 27, 2015 at 9:39 AM, Rameshwar Sahu rs...@apm.com wrote: Hi, On Thu, Feb 26, 2015 at 7:55 PM, Ben Dooks ben.do...@codethink.co.uk wrote: On 26/02/15 12:31, Rameshwar Sahu wrote: Hi Vinod, On Tue, Feb 24, 2015 at 6:23 PM, Rameshwar Prasad Sahu rs...@apm.com wrote: This

Re: [ANNOUNCE] 3.18.7-rt1

2015-02-26 Thread Daniel Wagner
Hi Sebastian On 02/26/2015 09:48 AM, Sebastian Andrzej Siewior wrote: * Sebastian Andrzej Siewior | 2015-02-25 14:55:01 [+0100]: + +static int thermal_notify_work_init(void) +{ + int err; + + err = swork_get(); + if (!err) + return err; It think this should be:

[LKP] [mm] 3484b2de949: -46.2% aim7.jobs-per-min

2015-02-26 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 3484b2de9499df23c4604a513b36f96326ae81ad (mm: rearrange zone fields into read-only, page alloc, statistics and page reclaim lines) The perf cpu-cycles for spinlock (zone-lock)

Re: [PATCH 0/7] kprobe: Handle error when Kprobe ftrace arming fails

2015-02-26 Thread Masami Hiramatsu
Hi Petr, (2015/02/27 1:13), Petr Mladek wrote: arm_kprobe_ftrace() could fail, especially after introducing ftrace IPMODIFY flag and LifePatching. This patch set adds the error handling and also some related fixes. Hmm, I'd like to drop IPMODIFY from kprobes except for jprobes, since it

RE: [PATCH 1/5] tty/serial: at91: correct check of buf used in DMA

2015-02-26 Thread Zhao, Leilei
Thanks Best Regards Zhao Leilei -Original Message- From: Jiri Slaby [mailto:jirisl...@gmail.com] On Behalf Of Jiri Slaby Sent: Thursday, February 26, 2015 17:30 To: Zhao, Leilei; Ferre, Nicolas; gre...@linuxfoundation.org; linux-ser...@vger.kernel.org Cc: linux-kernel@vger.kernel.org;

Re: [PATCH 0/3] lib/vsprintf: Doc improvements and clock support

2015-02-26 Thread Geert Uytterhoeven
Hi Stephen, On Fri, Feb 27, 2015 at 1:02 AM, Stephen Boyd sb...@codeaurora.org wrote: On 02/26/15 03:13, Geert Uytterhoeven wrote: From: Geert Uytterhoeven geert+rene...@glider.be This patch series improves the documentation for printk() formats, and adds support for printing clocks. The

Re: [PATCH v3] brcmfmac: avoid duplicated suspend/resume operation

2015-02-26 Thread Fu, Zhonghui
On 2015/2/16 17:35, Arend van Spriel wrote: On 02/16/15 08:34, Fu, Zhonghui wrote: On 2015/2/15 22:54, Kalle Valo wrote: Arend van Sprielar...@broadcom.com writes: On 02/15/15 04:27, Pat Erley wrote: On 02/14/2015 08:40 PM, Fu, Zhonghui wrote: Any comments to this patch? Can it be

Re: [ANNOUNCE] 3.18.7-rt1

2015-02-26 Thread Sebastian Andrzej Siewior
On 02/27/2015 07:40 AM, Daniel Wagner wrote: Hi Sebastian Hi Daniel, On 02/26/2015 09:48 AM, Sebastian Andrzej Siewior wrote: * Sebastian Andrzej Siewior | 2015-02-25 14:55:01 [+0100]: + +static int thermal_notify_work_init(void) +{ +int err; + +err = swork_get(); +if

Re: [RFC PATCH 1/1] proc: introduce /proc/pid/lbr_stack

2015-02-26 Thread Peter Zijlstra
On Mon, Feb 23, 2015 at 09:44:48AM -0800, Andi Kleen wrote: On Mon, Feb 23, 2015 at 05:49:57PM +0100, Peter Zijlstra wrote: On Mon, Feb 23, 2015 at 03:43:41AM +, kan.li...@intel.com wrote: From: Kan Liang kan.li...@intel.com Haswell has a new feature that utilizes the existing

Re: [PATCH] x86, traps: maps all IDTs to fixmap area.

2015-02-26 Thread Wang Nan
On 2015/2/27 2:31, Andy Lutomirski wrote: On Thu, Feb 26, 2015 at 8:45 AM, Kees Cook keesc...@chromium.org wrote: On Thu, Feb 26, 2015 at 7:17 AM, Andy Lutomirski l...@amacapital.net wrote: On Wed, Feb 25, 2015 at 11:06 PM, Wang Nan wangn...@huawei.com wrote: The reason why mapping idt_table

Re: [PATCH 0/5] split ET_DYN ASLR from mmap ASLR

2015-02-26 Thread Ingo Molnar
* Kees Cook keesc...@chromium.org wrote: This separates ET_DYN ASLR from mmap ASLR, as already done on s390. The various architectures that are already randomizing mmap (arm, arm64, mips, powerpc, s390, and x86), have their various forms of arch_mmap_rnd() made available via the new

[PATCH v11 2/6] backlight: Add support Skyworks SKY81452 backlight driver

2015-02-26 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com Acked-by: Jingoo Han jg1@samsung.com Acked-by: Bryan Wu coolo...@gmail.com --- Changes v11: Renamed 'skyworks,en-channels' property to led-sources. Changes v10: Removed trivial get_brightness

[PATCH v11 4/6] devicetree: Add new SKY81452 backlight binding

2015-02-26 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com Acked-by: Bryan Wu coolo...@gmail.com --- Changes v11: Renamed 'skyworks,en-channels' property to led-sources. Removed unused property 'skyworks,ovp-level'. Changes v10: Nothing Changes v9: Nothing

[PATCH v11 5/6] devicetree: Add vendor prefix for Skyworks Solutions, Inc.

2015-02-26 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com Acked-by: Lee Jones lee.jo...@linaro.org --- Changes v11: Nothing Changes v10: Nothing Changes v9: Nothing Changes v8: Nothing Changes v7: Nothing Changes v6: Nothing Changes v5: Nothing Changes

Re: [RFC] mm: change mm_advise_free to clear page dirty

2015-02-26 Thread Minchan Kim
On Fri, Feb 27, 2015 at 01:48:48PM +0800, Wang, Yalin wrote: -Original Message- From: Minchan Kim [mailto:minchan@gmail.com] On Behalf Of Minchan Kim Sent: Friday, February 27, 2015 1:28 PM To: Wang, Yalin Cc: Michal Hocko; Andrew Morton; linux-kernel@vger.kernel.org; linux-

[PATCH v11 6/6] devicetree: Add SKY81452 to the Trivial Devices list

2015-02-26 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com --- Changes v11: Nothing Changes v10: Nothing Changes v9: Nothing Changes v8: Nothing Changes v7: Nothing Changes v6: Nothing Changes v5: Nothing Changes v4: Nothing Changes v3: Nothing Changes

[PATCH] f2fs: fix max orphan inodes calculation

2015-02-26 Thread Wanpeng Li
cp_payload is introduced for sit bitmap to support large volume, and it is just after the block of f2fs_checkpoint + nat bitmap, so the first segment should include F2FS_CP_PACKS + NR_CURSEG_TYPE + cp_payload + orphan blocks. However, current max orphan inodes calculation don't consider

Re: [patch 1/2] mm: remove GFP_THISNODE

2015-02-26 Thread Vlastimil Babka
On 02/27/2015 04:09 AM, David Rientjes wrote: On Thu, 26 Feb 2015, Vlastimil Babka wrote: to restrict an allocation to a local node, but remove GFP_TRANSHUGE and it's obscurity. Instead, we require that a caller clear __GFP_WAIT if it wants to avoid reclaim. This allows the

RE: [RFC] mm: change mm_advise_free to clear page dirty

2015-02-26 Thread Wang, Yalin
-Original Message- From: Minchan Kim [mailto:minchan@gmail.com] On Behalf Of Minchan Kim Sent: Friday, February 27, 2015 2:44 PM To: Wang, Yalin Cc: Michal Hocko; Andrew Morton; linux-kernel@vger.kernel.org; linux- m...@kvack.org; Rik van Riel; Johannes Weiner; Mel Gorman;

[PATCH] qla2xxx: Fix trivial typos in ql_log message

2015-02-26 Thread Yannick Guerrini
Change 'Fimware' to 'Firmware' Change 'enalbled' to 'enabled' Signed-off-by: Yannick Guerrini yguerr...@tomshardware.fr --- drivers/scsi/qla2xxx/qla_init.c | 4 ++-- drivers/scsi/qla2xxx/qla_mid.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v2 2/2] hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver

2015-02-26 Thread Scott Branden
Hi Arnd, Latency is 32 us for 32bits of data - commented inline. What delay call do you recommend in this case? On 15-02-26 12:15 PM, Arnd Bergmann wrote: On Thursday 26 February 2015 11:37:20 Scott Branden wrote: Response inline. On 15-02-25 11:17 AM, Arnd Bergmann wrote: On Wednesday

Re: [PATCH v2] coresight-stm: adding driver for CoreSight STM component

2015-02-26 Thread Rob Herring
Adding Will D... On Wed, Feb 25, 2015 at 5:32 PM, Mathieu Poirier mathieu.poir...@linaro.org wrote: From: Pratik Patel prat...@codeaurora.org This driver adds support for the STM CoreSight IP block, allowing any system compoment (HW or SW) to log and aggregate messages via a single entity.

[PATCH 04/16] x86: entry_64.S: always allocate complete struct pt_regs

2015-02-26 Thread Andy Lutomirski
From: Denys Vlasenko dvlas...@redhat.com 64-bit code was using six stack slots less by not saving/restoring registers which are callee-preserved according to C ABI, and not allocating space for them. Only when syscall needed a complete struct pt_regs, the complete area was allocated and filled

[PATCH 08/16] x86, entry: Remove int_check_syscall_exit_work

2015-02-26 Thread Andy Lutomirski
Nothing references it any more. Fixes: 96b6352c1271 x86_64, entry: Remove the syscall exit audit and schedule optimizations Reported-by: Denys Vlasenko vda.li...@googlemail.com Signed-off-by: Andy Lutomirski l...@amacapital.net --- arch/x86/kernel/entry_64.S | 1 - 1 file changed, 1 deletion(-)

[PATCH 16/16] x86_64, entry: Remove a bogus ret_from_fork optimization

2015-02-26 Thread Andy Lutomirski
ret_from_fork checks TIF_IA32 to determine whether pt_regs and the related state make sense for ret_from_sys_call. This is entirely the wrong check. TS_COMPAT would make a little more sense, but there's really no point in keeping this optimization at all. This fixes a return to the wrong user

[PATCH 09/16] x86: add comments about various syscall instructions, no code changes

2015-02-26 Thread Andy Lutomirski
From: Denys Vlasenko dvlas...@redhat.com SYSCALL/SYSRET and SYSENTER/SYSEXIT have weird semantics. Moreover, they differ in 32- and 64-bit mode. What is saved? What is not? Is rsp set? Are interrupts disabled? People tend to not remember these details well enough. This patch adds comments which

[PATCH 14/16] x86: ia32entry.S: use more understandable constant

2015-02-26 Thread Andy Lutomirski
From: Denys Vlasenko dvlas...@redhat.com The last instance of mysterious SS+8 constant is replaced by SIZEOF_PTREGS. Signed-off-by: Denys Vlasenko dvlas...@redhat.com CC: Linus Torvalds torva...@linux-foundation.org CC: Steven Rostedt rost...@goodmis.org CC: Ingo Molnar mi...@kernel.org CC:

[PATCH 15/16] x86: entry.S: simplify optimistic SYSRET

2015-02-26 Thread Andy Lutomirski
From: Denys Vlasenko dvlas...@redhat.com Avoid redundant load of %r11 (it is already loaded a few instructions before). Do not needlessly increment %rsp - we are going to return to userspace via SYSRET, this insn doesn't use stack for return. Changes since v1: added a comment Signed-off-by:

Re: [PATCH] fork: report pid reservation failure properly

2015-02-26 Thread Andrew Morton
On Mon, 23 Feb 2015 21:17:01 +0100 Michal Hocko mho...@suse.cz wrote: ping on this one? Should I just resend (your way Andrew)? Or are there any objections to the patch as is. Were Eric's concerns all addressed? Oleg: wake up ;) Overall it looks like a pretty minor issue? -- To unsubscribe

[PATCH] block: drop extra (and bogus) printk

2015-02-26 Thread Luis Henriques
When setting an invalid scheduler through sysfs, two log entries will be added. Also, when running 'echo foo /sys/block/DISK/queue/scheduler' the second one will includes the extra '\n': [10465.216944] elevator: type foo not found [10465.216953] elevator: switch to foo failed This patch

[PATCH] block: ioprio: drop useless free_uid label

2015-02-26 Thread Luis Henriques
This goto statement can simply be replaced by a break, and the label can be dropped. Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- block/ioprio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/block/ioprio.c b/block/ioprio.c index

Re: [PATCH] Fix offset2lib issue for x86*, ARM*, PowerPC and MIPS

2015-02-26 Thread Andrew Morton
On Thu, 26 Feb 2015 23:00:52 + Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Thu, Feb 26, 2015 at 02:38:15PM -0800, Andrew Morton wrote: diff -puN arch/arm64/Kconfig~fix-offset2lib-issue-for-x86-arm-powerpc-and-mips-fix arch/arm64/Kconfig ---

Re: [PATCH v4 00/30] Refine PCI scan interfaces and make generic pci host bridge

2015-02-26 Thread Bjorn Helgaas
On Thu, Feb 26, 2015 at 04:11:54PM +0800, Yijing Wang wrote: v3-v4: Fix the rebase issue. This did apply on v4.0-rc1, but with many whitespace complaints: Importing patch pci-pass-pci-domain-number ... stdin:29: trailing whitespace. bus = pci_scan_root_bus(NULL, stdin:44:

[RFC 3/3] x86, asm: Change the 32-bit sysenter code to use sp0

2015-02-26 Thread Andy Lutomirski
The ia32 sysenter code loaded the top of the kernel stack into rsp by loading kernel_stack and then adjusting it. It can be simplified to just read sp0 directly. This requires the addition of a new asm-offsets entry for sp0. Signed-off-by: Andy Lutomirski l...@amacapital.net ---

[RFC 2/3] x86: Switch all C consumers of kernel_stack to this_cpu_sp0

2015-02-26 Thread Andy Lutomirski
This will make modifying the semantics of kernel_stack easier. Cc: Konrad Rzeszutek Wilk konrad.w...@oracle.com Cc: Boris Ostrovsky boris.ostrov...@oracle.com Cc: Rusty Russell ru...@rustcorp.com.au Signed-off-by: Andy Lutomirski l...@amacapital.net --- arch/x86/include/asm/thread_info.h | 3 +--

Re: [PATCH v2 5/7] thermal: add trace events to the power allocator governor

2015-02-26 Thread Steven Rostedt
On Thu, 26 Feb 2015 17:18:25 -0400 Eduardo Valentin edubez...@gmail.com wrote: Steve, On Thu, Feb 26, 2015 at 05:52:59PM -0500, Steven Rostedt wrote: On Thu, 26 Feb 2015 15:46:34 -0400 Eduardo Valentin edubez...@gmail.com wrote: I am planing to apply this series to my thermal

Re: [PATCH] Fix offset2lib issue for x86*, ARM*, PowerPC and MIPS

2015-02-26 Thread Kees Cook
On Thu, Feb 26, 2015 at 4:11 PM, Kees Cook keesc...@chromium.org wrote: On Thu, Feb 26, 2015 at 4:06 PM, Andrew Morton a...@linux-foundation.org wrote: On Thu, 26 Feb 2015 15:37:37 -0800 Kees Cook keesc...@chromium.org wrote: Agh, no, please let's avoid the CONFIG addition. That is

[PATCH net-next] hyperv: Implement netvsc_get_channels() ethool op

2015-02-26 Thread Andrew Schwartzmeyer
This adds support for reporting the actual and maximum combined channels count of the hv_netvsc driver via 'ethtool --show-channels'. This required adding 'max_chn' to 'struct netvsc_device', and assigning it 'rsscap.num_recv_que' in 'rndis_filter_device_add'. Now we can access the combined

Re: [PATCH perf/core ] [BUGFIX] perf-probe: Fix get_real_path to free allocated memory in error path

2015-02-26 Thread Masami Hiramatsu
(2015/02/26 23:46), Arnaldo Carvalho de Melo wrote: Em Thu, Feb 26, 2015 at 05:25:04PM +0900, Masami Hiramatsu escreveu: Fix get_real_path to free allocated memory when comp_dir is used for complementing path and getting an error. While reviewing this patch I noticed this is needed, ack?

Re: [PATCH 1/4] x86: entry.S: tidy up several suboptimal insns

2015-02-26 Thread Steven Rostedt
On Thu, 26 Feb 2015 12:47:03 +0100 Ingo Molnar mi...@kernel.org wrote: So the main question here is not whether it's worth doing it, the question is the cost of the removal: - the change in syscall number overflow handling behavior. (We might not want the new behavior) - the

Re: [PATCH v7 1/3] drivers/bus: Added Freescale Management Complex APIs

2015-02-26 Thread Alexander Graf
On 24.02.15 23:21, J. German Rivera wrote: APIs to access the Management Complex (MC) hardware module of Freescale LS2 SoCs. This patch includes APIs to check the MC firmware version and to manipulate DPRC objects in the MC. Signed-off-by: J. German Rivera german.riv...@freescale.com

Re: brcm80211: drop unreachable else case

2015-02-26 Thread Kalle Valo
the if/elseif/else is exhaustive - there is no 4th case given the rssi_ctrl_mask = RADIO_2055_NBRSSI_SEL | RADIO_2055_WBRSSI_G1_SEL | RADIO_2055_WBRSSI_G2_SEL; so this unreachable else case (dead code) can be dropped. Signed-off-by: Nicholas Mc Guire hof...@osadl.org Thanks, applied

Re: [PATCH] drm: atmel-hlcdc: remove clock polarity from crtc driver

2015-02-26 Thread Boris Brezillon
On Wed, 25 Feb 2015 18:44:51 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: Remove this configuration bit in crtc driver as the rising edge clock is widely used. Applied to drm-atmel-hlcdc-fixes. Thanks, Boris Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com

Re: [PATCH] pinctrl: at91: move lock/unlock_as_irq calls into request/release resources methods

2015-02-26 Thread Nicolas Ferre
Le 08/02/2015 19:23, Boris Brezillon a écrit : The gpiochip_lock_as_irq call can fail and return an error, while the irq_startup is not expected to fail (returns an unsigned int which is not checked by irq core code). irq_request/release_resources functions have been created to address this

Re: [PATCH] regulator: wm8350: remove unused variable

2015-02-26 Thread Geert Uytterhoeven
On Thu, Feb 26, 2015 at 11:29 AM, Arnd Bergmann a...@arndb.de wrote: After the only user of the variable has been removed, we get a valid gcc warning about it: regulator/wm8350-regulator.c:1154:17: warning: unused variable 'wm8350' [-Wunused-variable] The obvious fix is to remove the

[PATCH 1/4] usb: Add Xen pvUSB protocol description

2015-02-26 Thread Juergen Gross
Add the definition of pvUSB protocol used between the pvUSB frontend in a Xen domU and the pvUSB backend in a Xen driver domain (usually Dom0). This header was originally provided by Fujitsu for Xen based on Linux 2.6.18. Changes are: - adapt to Linux style guide Signed-off-by: Juergen Gross

Re: [PATCH 2/3 v3] x86: entry_64.S: always allocate complete struct pt_regs

2015-02-26 Thread Denys Vlasenko
On Thu, Feb 26, 2015 at 1:11 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Thu, Feb 26, 2015 at 10:55 AM, Denys Vlasenko vda.li...@googlemail.com wrote: On Wed, Feb 25, 2015 at 10:59 PM, Andy Lutomirski l...@amacapital.net wrote: In addition to my previous tests, I ran my home

[PATCH 02/10] ARM: OMAP3: Fix crypto support for HS devices

2015-02-26 Thread Pali Rohár
Register crypto hwmod links only if they are not disabled in DT. If DT information is missing, enable them only for GP devices. Before this patch crypto hwmod links were always disabled for all HS devices and it was not possible to use omap-aes and omap-sham linux drivers. Signed-off-by: Pali

[PATCH 03/10] crypto: omap-sham: Add support for omap3 devices

2015-02-26 Thread Pali Rohár
omap3 support is same as omap2, just with different IO address (specified in DT) Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/crypto/omap-sham.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index 3c76696..b20e374

[PATCH 10/13] FS-Cache: Fix cancellation of in-progress operation

2015-02-26 Thread David Howells
Cancellation of an in-progress operation needs to update the relevant counters and start any operations that are pending waiting on this one. Signed-off-by: David Howells dhowe...@redhat.com --- fs/fscache/operation.c |7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH 00/13] FS-Cache: Fix a number of bugs that occur when the cache runs out of space

2015-02-26 Thread David Howells
with: fscache-fixes-20150226 David --- David Howells (13): FS-Cache: Count culled objects and objects rejected due to lack of space FS-Cache: Move fscache_report_unexpected_submission() to make it more available FS-Cache: When submitting an op, cancel it if the target object is dying

[PATCH 1/8] zram: cosmetic ZRAM_ATTR_RO code formatting tweak

2015-02-26 Thread Sergey Senozhatsky
Signed-off-by: Sergey Senozhatsky sergey.senozhat...@gmail.com --- drivers/block/zram/zram_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c index 8e233ed..56c9e21 100644 --- a/drivers/block/zram/zram_drv.c +++

[PATCH v6 2/6] ARM: dts: Add pwm-fan node to the Odroid-U3 board

2015-02-26 Thread Lukasz Majewski
From: Kamil Debski k.deb...@samsung.com Add pwm-fan node to the Odroid-U3 board file to enable PWM control of the cooling fan. In addition, add the pwm label to the pwm@139D node in the exynos4412.dtsi. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Lukasz Majewski

Re: [PATCH 3.14.25-rt22 1/2] rtmutex Real-Time Linux: Fixing kernel BUG at kernel/locking/rtmutex.c:997!

2015-02-26 Thread Steven Rostedt
On Thu, 26 Feb 2015 14:56:30 +0100 Sebastian Andrzej Siewior bige...@linutronix.de wrote: I am not sure if we want keep doing that. The only reason why we grab the lock in the first place was to check if there is a timer pending and we run on the isolated CPU. It should not matter for the

[PATCH 7/8] zram: remove max_num_devices limitation

2015-02-26 Thread Sergey Senozhatsky
Limiting the number of zram devices to 32 (default max_num_devices value) is confusing, let's drop it. A user with 2TB or 4TB of RAM, for example, can request as many devices as he can handle. Signed-off-by: Sergey Senozhatsky sergey.senozhat...@gmail.com --- drivers/block/zram/zram_drv.c | 6

[PATCH] x86: fix a bug introduced by allocate full pt_regs commit

2015-02-26 Thread Denys Vlasenko
If syscall_trace_enter_phase1 returns 0, code restores %rax from pt_regs-ax, but should restore it from pt_regs-orig_ax. The bug crept in because LOAD_ARGS macro was very sublty different from RESTORE_ARGS, it had only two callsites and only this one was using that difference. Signed-off-by:

[PATCH 3/8] zram: factor out device reset from reset_store()

2015-02-26 Thread Sergey Senozhatsky
Device reset currently consists of two steps: a) holding -bd_mutex we ensure that there are no device users (bdev-bd_openers) b) and internal part (executed under bdev-bd_mutex and partially under zram-init_lock) that resets the device - frees allocated memory and returns the device back to its

[PATCH 6/8] zram: allow automatic new zram device_id assignment

2015-02-26 Thread Sergey Senozhatsky
If no particular device_id was requested (passed -1 to zram_add()) during new zram device creation, generate one automatically and return it back. So, schematically, device creation can be done as: dev_id = ioctl ZRAM_CTL_ADD -1 # dev_id == 1 or error code init device

Re: [PATCH v7 3/3] drivers/bus: Device driver for FSL-MC DPRC devices

2015-02-26 Thread Alexander Graf
On 24.02.15 23:21, J. German Rivera wrote: A DPRC (Data Path Resource Container) is an isolation device that contains a set of DPAA networking devices to be assigned to an isolation domain (e.g., a virtual machine). Signed-off-by: J. German Rivera german.riv...@freescale.com

Re: [PATCH v6 6/6] hwmon: pwm-fan: Code for using PWM FAN as a cooling device

2015-02-26 Thread Guenter Roeck
On 02/26/2015 05:59 AM, Lukasz Majewski wrote: The PWM FAN device can now be used as a thermal cooling device. Necessary infrastructure has been added in this commit. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Acked-by: Eduardo Valentin edubez...@gmail.com --- Changes for v2: -

[PATCH 2/7] kprobes: Propagate error from arm_kprobe_ftrace()

2015-02-26 Thread Petr Mladek
arm_kprobe_ftrace() could fail, especially after introducing ftrace IPMODIFY flag and LifePatching. registry_kprobe() and registry_aggr_kprobe() do not mind about the error because the kprobe gets disabled and they keep it registered. But enable_kprobe() should propagate the error because its

Re: [PATCH 4/7] x86: entry.S: use JZ mnemonic after TEST, not JE

2015-02-26 Thread Andy Lutomirski
On Thu, Feb 26, 2015 at 7:59 AM, Borislav Petkov b...@alien8.de wrote: On Thu, Feb 26, 2015 at 07:16:28AM -0800, Andy Lutomirski wrote: I'm declaring a temporary moratorium on new development here until the already-queued stuff is in -tip, looks okay, and we're in an appropriate part of the

[PATCH 5/7] kprobes: Do not try to disarm already disarmed Kprobe

2015-02-26 Thread Petr Mladek
The global kprobes_all_disarmed flag says that all Kprobes are disarmed even when they are marked as enabled. This is properly handled in register_kprobe() but it is ignored in __disable_kprobe(). This problem gets more serious after we started handling errors from disarm_kprobe(). The second

Re: [PATCH 1/2] Input: bcm-keypad: add device tree bindings

2015-02-26 Thread Scott Branden
Hi Dmitry, Thanks for the update of no need to change any of dt-binding prefixes. I just sent out a v2 patch addressing all of your other comments. On 15-02-23 09:49 AM, Dmitry Torokhov wrote: Hi Scott, On Sun, Feb 15, 2015 at 09:17:51PM -0800, Dmitry Torokhov wrote: On Sat, Feb 14, 2015

[PATCH RESEND] coresight-stm: Bindings for System Trace Macrocell

2015-02-26 Thread Mathieu Poirier
The System Trace Macrocell (STM) is an IP block falling under the CoreSight umbrella. It's main purpose it so expose stimulus channels to any system component for the purpose of information logging. Bindings for this IP block adds a couple of items to the current mandatory definition for

Re: [PATCH 3.2 055/152] x86_64, switch_to(): Load TLS descriptors before switching DS and ES

2015-02-26 Thread Brian Gerst
On Thu, Feb 26, 2015 at 10:32 AM, Andy Lutomirski l...@amacapital.net wrote: On Tue, Feb 24, 2015 at 7:23 PM, Brian Gerst brge...@gmail.com wrote: On Tue, Feb 24, 2015 at 3:08 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Tue, Feb 24, 2015 at 9:02 PM, Andy Lutomirski

[PATCH] ARM: dts: am335x-lxm: Use rmii-clock-ext

2015-02-26 Thread George McCollister
Use external clock for RMII since the internal clock doesn't meet the jitter requirements. Signed-off-by: George McCollister george.mccollis...@gmail.com --- arch/arm/boot/dts/am335x-lxm.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am335x-lxm.dts

[PATCH 3/7] kprobes: Propagate error from disarm_kprobe_ftrace()

2015-02-26 Thread Petr Mladek
Also disarm_kprobe_ftrace() could fail, for example if there is an internal error in the Kprobe code and we try to unregister some Kprobe that is not registered. If we fail to unregister the ftrace function, we still could try to disarm the Kprobe by removing the filter. This is why the first

[PATCH v2 1/2] Input: bcm-keypad: add device tree bindings

2015-02-26 Thread Scott Branden
Documents the Broadcom keypad controller device tree bindings. Reviewed-by: Ray Jui r...@broadcom.com Signed-off-by: Scott Branden sbran...@broadcom.com --- .../devicetree/bindings/input/brcm,bcm-keypad.txt | 108 + 1 file changed, 108 insertions(+) create mode 100644

[PATCH 4/7] kprobes: Keep consistent state of kprobes_all_disarmed

2015-02-26 Thread Petr Mladek
kprobes_all_disarmed global flag says that Kprobes are disarmed even when the Kprobe-specific KPROBE_FLAG_DISABLED is not set. The global flag is currently set by arm_all_probes() and disarm_all_probes() functions even when they were not able to switch all Kprobes. It might result in further

  1   2   3   4   5   6   7   8   >