Re: Additional performance data on Pavel's smb3 multi credit patch series

2014-07-13 Thread ronnie sahlberg
Impressive! On Sun, Jul 13, 2014 at 12:23 PM, Steve French smfre...@gmail.com wrote: Performance of Pavel's multicredit i/o SMB3 patches continues to look good. Additional informal performance results below comparing cifs mounts with smb3 mounts (vers=3.0) with and without Pavel's patch set.

Re: [PATCH] drivers: staging: lustre: Use 'force_die' instead of 'die' to avoid compiling issue

2014-07-13 Thread Chen Gang
On 07/14/2014 06:50 AM, Greg Kroah-Hartman wrote: On Mon, Jul 14, 2014 at 06:38:24AM +0800, Chen Gang wrote: On 07/14/2014 06:31 AM, Chen Gang wrote: On 07/14/2014 05:41 AM, Chen Gang wrote: On 07/14/2014 03:05 AM, Greg Kroah-Hartman wrote: On Sun, Jul 13, 2014 at 10:50:55PM +0800, Chen Gang

[PATCH v3] staging: android: Clean up else statement from binder_send_failed_reply

2014-07-13 Thread Lucas Tanure
Kernel coding style. Remove useless else statement after return. Changes from v1 and v2: Fix warning for mixed declarations and code. Declaration of struct binder_transaction *next made outside of while, and initialized with NULL. Signed-off-by: Lucas Tanure tan...@linux.com ---

Re: sched, timers: use after free in __lock_task_sighand when exiting a process

2014-07-13 Thread Sasha Levin
On 07/13/2014 05:51 PM, Sasha Levin wrote: Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel with the KASAN patchset, I've stumbled on the following spew: Alrighty, I don't think it has anything to do with timers: [ 876.319044]

Re: [PATCH] thermal: samsung: Add TMU support for Exynos3250 SoC

2014-07-13 Thread Chanwoo Choi
On 07/10/2014 12:36 PM, Amit Kachhap wrote: On Wed, Jul 9, 2014 at 8:30 AM, Chanwoo Choi cw00.c...@samsung.com wrote: On 07/01/2014 09:33 AM, Chanwoo Choi wrote: This patch add registers, bit fields and compatible strings for Exynos3250 TMU (Thermal Management Unit). Exynos3250 uses the

Re: [PATCH] thermal: samsung: Add TMU support for Exynos3250 SoC

2014-07-13 Thread Chanwoo Choi
Dear Eduardo, Could you please review or pick this patch? Best Regards, Chanwoo Choi On 07/10/2014 12:36 PM, Amit Kachhap wrote: On Wed, Jul 9, 2014 at 8:30 AM, Chanwoo Choi cw00.c...@samsung.com wrote: On 07/01/2014 09:33 AM, Chanwoo Choi wrote: This patch add registers, bit fields and

Re: [PATCH v3] staging: android: Clean up else statement from binder_send_failed_reply

2014-07-13 Thread Greg Kroah-Hartman
On Sun, Jul 13, 2014 at 08:25:13PM -0300, Lucas Tanure wrote: Kernel coding style. Remove useless else statement after return. Changes from v1 and v2: Fix warning for mixed declarations and code. Declaration of struct binder_transaction *next made outside of while, and initialized with NULL.

Re: [PATCH 2/6] samples: refactor Makefile

2014-07-13 Thread Stephen Rothwell
Hi Sam, On Sun, 13 Jul 2014 21:52:36 +0200 Sam Ravnborg s...@ravnborg.org wrote: On Sun, Jul 13, 2014 at 12:25:33PM -0700, Randy Dunlap wrote: On 07/13/14 11:42, Sam Ravnborg wrote: Use one line per module/program in Makefile. This style is easier to read/extend. Introduce

[PATCH v4] staging: android: Clean up else statement from binder_send_failed_reply

2014-07-13 Thread Lucas Tanure
Kernel coding style. Remove useless else statement after return. Changes from v1 and v2: Fix warning for mixed declarations and code. Declaration of struct binder_transaction *next made outside of while. Changes from v3: Removed initialization to NULL for next variable. Signed-off-by: Lucas

Re: [PATCH v3] staging: android: Clean up else statement from binder_send_failed_reply

2014-07-13 Thread Lucas Tanure
Ok. I will do it. 4th could be the right one =p. Thanks for your time Cheers -- Lucas Tanure +55 (19) 988176559 On Sun, Jul 13, 2014 at 9:13 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Sun, Jul 13, 2014 at 08:25:13PM -0300, Lucas Tanure wrote: Kernel coding style. Remove

Fwd: PLEASE READ THE ATTACHED

2014-07-13 Thread From Col. Luthan Marcus
Please kindly read the attached and get back to me Dear Friend.docx Description: MS-Word 2007 document

Re: [PATCH v3] add quirks for 0x04d9:0xa096 hid keyborad device

2014-07-13 Thread microcai
I am using a USB keyboard that give me usb_submit_urb(ctrl) failed: -1 error when I plugin it. and I need to wait for 10s for this device to be ready. by adding this quirks, the usb keyboard is usable right after plugin --- drivers/hid/hid-ids.h | 1 + drivers/hid/usbhid/hid-quirks.c |

Re: [PATCH 4/6 v2] autofs4: factor should_expire() out of autofs4_expire_indirect.

2014-07-13 Thread NeilBrown
Here is a revised version of this one patch. This one fixes a problem with refcounts on dentry and adds a comment to clarify the behaviour of should_expire(). thanks, NeilBrown From: NeilBrown ne...@suse.deDate: Tue, 8 Jul 2014 17:14:53 +1000 Subject: [PATCH] autofs4: factor should_expire()

linux-next: manual merge of the mvebu tree with Linus' tree

2014-07-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the mvebu tree got a conflict in arch/arm/Kconfig between commit 19682f72f5db (ARM: Remove ARCH_HAS_CPUFREQ config option) from Linus' tree and commit ba364fc752da (ARM: Kirkwood: Remove mach-kirkwood) from the mvebu tree. I fixed it up (The latter just

[PATCH] add quirks for 0x04d9:0xa096 hid keyborad device

2014-07-13 Thread microcai
From: microcai microcai...@gmail.com I am using a USB keyborad that give me usb_submit_urb(ctrl) failed: -1 error when I plugin it. and I need to wait for 10s for this device to be ready. by adding this quirks, the usb keyborad is usable right after plugin Signed-off-by: Wangzhao Cai

Re: [PATCH] sched: select 'idle' cfs_rq per task-group to prevent tg-internal imbalance

2014-07-13 Thread Michael wang
On 07/12/2014 12:11 AM, Rik van Riel wrote: -BEGIN PGP SIGNED MESSAGE- [snip] That's full wake balance.. if that was cheap, select_idle_sibling() would not exist. Full wake balance iterates over all the groups in the system, select_idle_sibling only over one LLC domain.

Re: [RFC][PATCH 0/3] ftrace: Add dynamically allocated trampolines

2014-07-13 Thread Masami Hiramatsu
(2014/07/11 23:29), Josh Poimboeuf wrote: [...] From 951d2aec17885a62905df6b910dc705d99c63993 Mon Sep 17 00:00:00 2001 From: Josh Poimboeuf jpoim...@redhat.com Date: Fri, 11 Jul 2014 08:58:33 -0500 Subject: [PATCH] x86/dumpstack: fix stack traces for generated code If a function in the

Re: [PATCH 10/11] perf, tools, test: Add test case for alias and JSON parsing

2014-07-13 Thread Andi Kleen
On Sun, Jul 13, 2014 at 10:09:45PM +0200, Jiri Olsa wrote: On Sun, Jul 13, 2014 at 01:49:59AM +0200, Andi Kleen wrote: missing the tests/aliases.o file AR libperf.a ar: tests/aliases.o: No such file or directory Fixed here (and in git) got it, would you be ok with

[tip:x86/apic] x86, vsmp: Remove is_vsmp_box() from apic_is_clustered_box()

2014-07-13 Thread tip-bot for Oren Twaig
Commit-ID: 411cf9ee2946492c0ac7eca48422fcf94a723ce5 Gitweb: http://git.kernel.org/tip/411cf9ee2946492c0ac7eca48422fcf94a723ce5 Author: Oren Twaig o...@scalemp.com AuthorDate: Sun, 29 Jun 2014 13:01:08 +0300 Committer: H. Peter Anvin h...@zytor.com CommitDate: Sun, 13 Jul 2014 17:48:03

Re: [Nouveau] [PATCH 0/3] drm/gk20a: support for reclocking

2014-07-13 Thread Alexandre Courbot
On Fri, Jul 11, 2014 at 10:38 AM, Alexandre Courbot acour...@nvidia.com wrote: Hi Ben, On 07/11/2014 10:07 AM, Ben Skeggs wrote: On Thu, Jul 10, 2014 at 5:34 PM, Alexandre Courbot acour...@nvidia.com wrote: This series adds support for reclocking on GK20A. The first two patches touch

Re: [PATCH 2/2] PCI/MSI: Remove arch_msi_check_device()

2014-07-13 Thread Yijing Wang
/** - * pci_msi_check_device - check whether MSI may be enabled on a device + * msi_check_device - check whether MSI may be enabled on a device * @dev: pointer to the pci_dev data structure of MSI device function * @nvec: how many MSIs have been requested ? - * @type: are we checking

Re: [PATCH 4/5] cgroup: distinguish the default and legacy hierarchies when handling cftypes

2014-07-13 Thread Li Zefan
@@ -3085,8 +3091,37 @@ static int cgroup_add_cftypes(struct cgroup_subsys *ss, struct cftype *cfts) return ret; } +/** + * cgroup_add_dfl_cftypes - add an array of cftypes for default hierarchy + * @ss: target cgroup subsystem + * @cfts: zero-length name terminated array of

Re: [PATCH 0/3] drm/gk20a: support for reclocking

2014-07-13 Thread Alexandre Courbot
On Fri, Jul 11, 2014 at 7:54 PM, Peter De Schrijver pdeschrij...@nvidia.com wrote: On Fri, Jul 11, 2014 at 03:49:06AM +0200, Alex Courbot wrote: On 07/10/2014 06:43 PM, Peter De Schrijver wrote: On Thu, Jul 10, 2014 at 09:34:34AM +0200, Alexandre Courbot wrote: This series adds support for

Re: [PATCH] drivers/base: redundant return value settings in try_to_bring_up_master()

2014-07-13 Thread Liu Ying
On 07/12/2014 08:58 AM, Greg KH wrote: On Tue, Jun 17, 2014 at 04:25:31PM +0800, Liu Ying wrote: Remove redundant return value settings 'ret = 0;' in the function try_to_bring_up_master(), since it has already been set to zero. Signed-off-by: Liu Ying ying@freescale.com ---

Re: Re: [PATCH V8 2/2] serial/uart/8250: Add tunable RX interrupt trigger I/F of FIFO buffers

2014-07-13 Thread Yoshihiro YUNOMAE
(2014/07/13 6:22), Greg KH wrote: On Thu, Jul 10, 2014 at 04:16:37PM -0700, Greg Kroah-Hartman wrote: On Thu, Jul 10, 2014 at 03:31:57PM +0100, One Thousand Gnomes wrote: I really don't like the way that the tty core has been changed to handle multiple attribute groups, as I feel tty drivers

Re: [PATCH 1/3] workqueue: remove the first check and the return value of maybe_create_worker()

2014-07-13 Thread Lai Jiangshan
On 07/11/2014 11:03 PM, Tejun Heo wrote: On Fri, Jul 11, 2014 at 12:01:03AM +0800, Lai Jiangshan wrote: @@ -1887,17 +1887,11 @@ static void pool_mayday_timeout(unsigned long __pool) * spin_lock_irq(pool-lock) which may be released and regrabbed * multiple times. Does GFP_KERNEL

Re: [RFC][PATCH 1/3] ftrace/x86: Add dynamic allocated trampoline for ftrace_ops

2014-07-13 Thread Masami Hiramatsu
(2014/07/04 5:07), Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org The current method of handling multiple function callbacks is to register a list function callback that calls all the other callbacks based on their hash tables and compare it to the function that the

RE: [PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-13 Thread KY Srinivasan
-Original Message- From: KY Srinivasan Sent: Sunday, July 13, 2014 11:50 AM To: 'Martin K. Petersen' Cc: h...@infradead.org; James Bottomley; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; a...@canonical.com; sta...@vger.kernel.org; linux-s...@vger.kernel.org;

[PATCH] xillybus: place 'else' on same line as '}'

2014-07-13 Thread Jeremiah Mahler
Place 'else' on same line as closing brace '}' as per Documentation/CodingStyle. Fixes 1 error found by checkpatch.pl. Signed-off-by: Jeremiah Mahler jmmah...@gmail.com --- drivers/staging/xillybus/xillybus_core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH] ARM: at91: at91sam9x5: correct typo error for ohci clock

2014-07-13 Thread Bo Shen
Correct the typo error for the second uhphs_clk. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boot/dts/at91sam9x5.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index 2ebc421..727d3a4

Re: [PATCH 2/2] staging: comedi: addi_apci_1564: use addi_watchdog module to init watchdog subdevice

2014-07-13 Thread Chase Southwood
On Sun, Jul 13, 2014 at 2:17 PM, Hartley Sweeten hartl...@visionengravers.com wrote: On Saturday, July 12, 2014 3:44 PM, Chase Southwood wrote: Use the addi_watchdog module to provide support for the watchdog subdevice. Also, rearrange the subdevice init blocks so that the order makes sense.

RE: [PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-13 Thread KY Srinivasan
-Original Message- From: driverdev-devel-boun...@linuxdriverproject.org [mailto:driverdev- devel-boun...@linuxdriverproject.org] On Behalf Of KY Srinivasan Sent: Sunday, July 13, 2014 7:38 PM To: Martin K. Petersen Cc: linux-s...@vger.kernel.org; jasow...@redhat.com; linux-

Re: [RFC PATCH 0/2] irqchip: GIC: check and clear GIC interupt active status

2014-07-13 Thread Liu hua
On 2014/7/11 20:35, Will Deacon wrote: [adding Marc] On Fri, Jul 11, 2014 at 07:46:15AM +0100, Liu Hua wrote: For this version of GIC codes, kernel assumes that all the interrupt status of GIC is inactive. So the kernel does not check this when booting. This is no problem on must

[PATCH net] mlx4: mark napi id for gro_skb

2014-07-13 Thread Jason Wang
Napi id was not marked for gro_skb, this will lead rx busy loop won't work correctly since they stack never try to call low latency receive method because of a zero socket napi id. Fix this by marking napi id for gro_skb. The transaction rate of 1 byte netperf tcp_rr gets about 50% increased

Fix mes in arch/cris/arch-v32/kernel/kgdb.c

2014-07-13 Thread Nick Krause
In the file arch/cris/arch-v32/kernel/kgdb.c , I am hitting a few fix mes that need to be fixed for kgdb support of this subsystem architecture of cris. Below this message are the lines of code and their respective Fix Me messages. When you around to it I would like to known how you would like

[PATCH v2] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-13 Thread xiaofeng.yan
It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case need enbale HRTICK feature by the next command PC#echo HRTICK /sys/kernel/debug/sched_features PC#trace-cmd

[RESPIN PATCH v6] ARM: EXYNOS: Move cpufreq and cpuidle device registration to init_machine

2014-07-13 Thread Pankaj Dubey
As exynos_cpuidle_init and exynos_cpufreq_init function have just one lines of code for registering platform devices. We can move these lines to exynos_dt_machine_init and delete exynos_cpuidle_init and exynos_cpufreq_init function. This will help in reducing lines of code in exynos.c, making it

[PATCH 0/1 V2] workqueue: manager cleanup

2014-07-13 Thread Lai Jiangshan
Hi, TJ, I dropped the patch1 patch2 of the V1, only the patch3 is kept and re-based. The new patch depends on the patch of last night: workqueue: remove the del_timer_sync()s in maybe_create_worker(). Thanks, Lai Lai Jiangshan (1): workqueue: unfold start_worker() into create_worker()

[PATCH 1/1 V2] workqueue: unfold start_worker() into create_worker()

2014-07-13 Thread Lai Jiangshan
Simply unfold the code of start_worker() into create_worker() and remove the original start_worker() and create_and_start_worker(). The only trade-off is the introduced overhead that the pool-lock is released and re-grabbed after the newly worker is started. The overhead is acceptable since the

RE: [PATCH v6 2/6] ARM: EXYNOS: Move cpufreq and cpuidle device registration to init_machine

2014-07-13 Thread Pankaj Dubey
Hi Kukjin, On Thursday, July 10, 2014 7:04 PM, Kukjin wrote: Pankaj Dubey wrote: Hi Kukjin, Hi, On 07/07/14 12:50, Pankaj Dubey wrote: As exynos_cpuidle_init and exynos_cpufreq_init function have just one lines of code for registering platform devices. We can move

Re: [PATCH] Cpufreq: ARM IMX6Q: Select PM_OPP

2014-07-13 Thread Viresh Kumar
On 14 July 2014 03:29, Nicolas Del Piano ndel...@gmail.com wrote: PM_OPP is a library used by several of the existing cpufreq drivers. ARM IMX6Q cpufreq driver uses this library for its functionality. Thus, it should be selected in Kconfig. Reported-by: Ezequiel Garcia

Re: [PATCHv8 2/2] mailbox: Introduce framework for mailbox

2014-07-13 Thread Jassi Brar
On 11 July 2014 17:16, Ashwin Chaugule ashwin.chaug...@linaro.org wrote: Hi Jassi, Other than a few nits, this looks good to me. Thanks for the nits. I will club them together with other feedback on the patchset. Hopefully you've run this through checkpatch as well? Also, were you able to

[PATCH] ftrace: Do not copy old hash when resetting.

2014-07-13 Thread Wang Nan
If we are going to reset hash, we don't need to duplicate old hash and remove every entries right after allocation. Signed-off-by: Wang Nan wangn...@huawei.com Cc: Steven Rostedt rost...@goodmis.org Cc: Ingo Molnar mi...@redhat.com --- kernel/trace/ftrace.c | 8 +--- 1 file changed, 5

Re: [PATCH v1] PCI: enable ASPM configuration in PCIE POWERSAVE mode

2014-07-13 Thread vidya sagar
On Sat, Jul 12, 2014 at 4:14 AM, Bjorn Helgaas bhelg...@google.com wrote: [updated Naga's email address] On Wed, Jul 09, 2014 at 11:50:01PM +0530, vidya sagar wrote: On Tue, Jul 8, 2014 at 2:42 AM, Bjorn Helgaas bhelg...@google.com wrote: On Mon, Jul 7, 2014 at 12:00 PM, Vidya Sagar

[RFC PATCH 0/3] hw_random: support for delayed init randomness requests

2014-07-13 Thread Amit Shah
Hello, This series introduces a way to allow devices to contribute to initial system randomness after a certain delay. Specifically, the virtio-rng device can contribute initial randomness only after a successful probe(). A delayed workqueue item is queued in the system queue to fetch this

[RFC PATCH 1/3] hw_random: allow RNG devices to give early randomness after a delay

2014-07-13 Thread Amit Shah
Some RNG devices may not be ready to give early randomness at probe() time, and hence lose out on the opportunity to contribute to system randomness at boot- or device hotplug- time. This commit schedules a delayed work item for such devices, and fetches early randomness after a delay. Currently

[RFC PATCH 3/3] Revert virtio: rng: ensure reads happen after successful probe

2014-07-13 Thread Amit Shah
This reverts commit ceb5d72a2e27e95bc9570ce259c45b35f0e23462. This commit was added for -stable so systems with virtio-rng don't freeze at boot-time. With the addition of the previous commits that delay the request for initial randomness after probe() is successful, this is no longer needed.

[RFC PATCH 2/3] virtio: rng: only accept delayed early randomness requests

2014-07-13 Thread Amit Shah
hw_random core can ask for initial randomness after a slight delay after probe() finishes, and we can contribute to system randomness at that point. Tell the hw_random core by setting the HWRNG_DELAY_READ_AT_INIT flag. CC: Kees Cook keesc...@chromium.org CC: Jason Cooper ja...@lakedaemon.net CC:

Re: [RFC 0/7] hrtimer: drop active hrtimer checks after adding it

2014-07-13 Thread Viresh Kumar
Hi Thomas, On 10 July 2014 07:04, Frederic Weisbecker fweis...@gmail.com wrote: On Wed, Jul 09, 2014 at 11:30:41PM +0200, Thomas Gleixner wrote: On Wed, 9 Jul 2014, Viresh Kumar wrote: So your patch series drops active hrtimer checks after adding it, according to your subject line. Quite

[PATCH V6] regulator: DA9211 : new regulator driver

2014-07-13 Thread James Ban
This is the driver for the Dialog DA9211 Multi-phase 12A DC-DC Buck Converter regulator. It communicates via an I2C bus to the device. Signed-off-by: James Ban james.ban.opensou...@diasemi.com --- This patch is relative to linux-next repository tag next-20140710. Changes in V6: - Removed an

Re: [PATCHv8 2/2] mailbox: Introduce framework for mailbox

2014-07-13 Thread Jassi Brar
On 12 July 2014 03:39, Markus Mayer markus.ma...@linaro.org wrote: On 11 July 2014 02:35, Jassi Brar jaswinder.si...@linaro.org wrote: Introduce common framework for client/protocol drivers and controller drivers of Inter-Processor-Communication (IPC). Client driver developers should have a

[PATCH] cpufreq: Fix latency for cpufreq_info

2014-07-13 Thread Nicholas Krause
This fixes the latency for the cpufreq policy to 1 million nanoseconds that calls the function pxa_cpu_init for the member of the structure called cpuinfo.transition_latency. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/cpufreq/pxa2xx-cpufreq.c | 2 +- 1 file changed, 1

Re: [PATCHv8 2/2] mailbox: Introduce framework for mailbox

2014-07-13 Thread Jassi Brar
On 11 July 2014 22:56, Arnd Bergmann a...@arndb.de wrote: On Friday 11 July 2014, Jassi Brar wrote: + + This document aims to help developers write client and controller +drivers for the API. But before we start, let us note that the +client (especially) and controller drivers are likely

Re: [PATCH] ASoC: omap-dmic: Use devm_clk_get

2014-07-13 Thread Peter Ujfalusi
On 07/11/2014 07:14 AM, Himangi Saraogi wrote: This patch introduces the use of managed interfaces like devm_clk_get and does away with the clk_puts in the probe and remove functions. A label is also done away with. Acked-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: Himangi

Re: pull request: wireless-next 2014-07-11

2014-07-13 Thread David Miller
From: John W. Linville linvi...@tuxdriver.com Date: Fri, 11 Jul 2014 16:06:50 -0400 Please pull this batch of updates intended for the 3.17 stream... This is primarily a Bluetooth pull. Gustavo says: A lot of patches to 3.17. The bulk of changes here are for LE support. The 6loWPAN over

[PATCH 1/1] driver/tty: Fix a warning in check_tty_count

2014-07-13 Thread Li, Zhen-Hua
When there are to many open/close on a tty device in the same time, there may be a warning like: Warning: dev (ttyS0) tty-count(4) != #fd's(3) in tty_release_dev That's because tty-count and files in tty-tty_files are not synchronized in time. So I add a lock to avoid this. Signed-off-by: Li,

Re: [PATCH] powerpc: Disable RELOCATABLE for COMPILE_TEST with PPC64

2014-07-13 Thread Nick Krause
On Mon, Jul 7, 2014 at 11:10 PM, Benjamin Herrenschmidt wrote: > On Mon, 2014-07-07 at 20:03 -0700, Guenter Roeck wrote: >> ping ... >> >> Ben, I know this is not perfect, but on the other side it is simple >> and would be easy to backport. With this in place, a complete/clean >> fix would not be

Re: [PATCH] Check for Null return of function of affs_bread in function affs_truncate

2014-07-13 Thread Nick Krause
On Fri, Jul 11, 2014 at 11:05 AM, Dan Carpenter wrote: > On Sat, Jun 21, 2014 at 01:59:15AM +0200, Thomas Gleixner wrote: >> On Fri, 20 Jun 2014, Nick Krause wrote: >> >> > Ok that's fine I would return as if it's a NULL the other parts of the >> > function can't continue. >> > Nick >> > >> > On

Ping: Re: [PATCH v2] x86, vsmp: Remove is_vsmp_box() from apic_is_clustered_box()

2014-07-13 Thread Oren Twaig
ping On 07/06/2014 09:33 AM, Oren Twaig wrote: > Hi, > > Quick question: As I'm new at this (submitting patches), what is a reasonable > time to wait before ping-ing a patch ? > > Oren. > > On 06/29/2014 01:01 PM, Oren Twaig wrote: >> When a vSMP Foundation box is detected, the function

Re: [PATCH v2] i2c: stub: Add support for SMBus block commands

2014-07-13 Thread Jean Delvare
Hi Guenter, On Sat, 12 Jul 2014 08:05:49 -0700, Guenter Roeck wrote: > Any idea how we could inject errors ? Error path testing would be quite > useful. Good idea. This should probably be done with a sysfs attribute so that it can be turned on and off as desired. Off by default, of course. Some

[PATCH v4 4/4] Add support for Compact (Bluetooth|USB) keyboard with Trackpoint

2014-07-13 Thread Jamie Lentin
Signed-off-by: Jamie Lentin --- Documentation/ABI/testing/sysfs-driver-hid-lenovo | 12 ++ drivers/hid/Kconfig | 2 + drivers/hid/hid-core.c| 2 + drivers/hid/hid-ids.h | 2 + drivers/hid/hid-lenovo.c

[PATCH v4 2/4] Make all base functions switch depending on product ID

2014-07-13 Thread Jamie Lentin
Signed-off-by: Jamie Lentin --- drivers/hid/hid-lenovo.c | 45 ++--- 1 file changed, 38 insertions(+), 7 deletions(-) diff --git a/drivers/hid/hid-lenovo.c b/drivers/hid/hid-lenovo.c index 0320b96..d11e337 100644 --- a/drivers/hid/hid-lenovo.c +++

[PATCH v4 3/4] Style fixes

2014-07-13 Thread Jamie Lentin
Signed-off-by: Jamie Lentin --- drivers/hid/hid-lenovo.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/hid/hid-lenovo.c b/drivers/hid/hid-lenovo.c index d11e337..a1a693c 100644 --- a/drivers/hid/hid-lenovo.c +++ b/drivers/hid/hid-lenovo.c @@ -349,7 +349,7 @@

[PATCH v4 1/4] Rename hid-lenovo-tpkbd to hid-lenovo

2014-07-13 Thread Jamie Lentin
Rename module and all functions within so we can add support for other keyboards in the same file. Rename the _tp postfix to _tpkbd, to signify functions relevant to the TP USB keyboard. Signed-off-by: Jamie Lentin --- ...er-hid-lenovo-tpkbd => sysfs-driver-hid-lenovo} | 0

[PATCH v4 0/4] Add support for Lenovo Compact Keyboard

2014-07-13 Thread Jamie Lentin
This patchset follows on from my previous attempts to add support for these keyboards from Lenovo. Changes since v3: https://lkml.org/lkml/2014/6/15/159 * Break up first patch [Antonio Ospite] * Rename ABI docs too [Jiri Kosina] * Spelling and Grammar, style fixes [Antonio Ospite] * Driver should

[PATCH] add quirks for 0x4d9:0xa096 hid device

2014-07-13 Thread microcai
From: microcai I am using a USB keyborad that give me "usb_submit_urb(ctrl) failed: -1" error when I plugin it. and I need to wait for 10s for this device to be ready. by adding this quirks, the usb keyborad is usable right after plugin --- drivers/hid/hid-ids.h | 1 +

[PATCH v2] add quirks for 0x4d9:0xa096 hid device

2014-07-13 Thread microcai
Resend the patch, because I miss spell the keyborad as mouse -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

[PATCH] add quirks for 0x04d9:0xa096 hid keyborad device

2014-07-13 Thread microcai
From: microcai I am using a USB keyborad that give me "usb_submit_urb(ctrl) failed: -1" error when I plugin it. and I need to wait for 10s for this device to be ready. by adding this quirks, the usb keyborad is usable right after plugin --- drivers/hid/hid-ids.h | 1 +

Re: [PATCH] drivers: firewire: Let several sub-modules depend on HAS_DMA

2014-07-13 Thread Stefan Richter
On Jul 13 Chen Gang wrote: > Several sub-modules of 'firewire' need HAS_DMA, so let them depend on it. > FIREWIRE_NET and FIREWIRE_OHCI use 'core-iso.c' which also needs HAS_DMA, > so need 'ifdef' the related function by CONFIG_HAS_DMA in 'core-iso.c'. > > The related error (with allmodconfig

[git pull] m68k updates for 3.16 (take 2)

2014-07-13 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit cd3de83f147601356395b57a8673e9c5ff1e59d1: Linux 3.16-rc4 (2014-07-06 12:37:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-linus for you to fetch changes up to

Re: [PATCH] staging: iio: adc: ad7192: fix coding style

2014-07-13 Thread Jonathan Cameron
On 12/07/14 20:16, Marcus Folkesson wrote: Line over 80 characters. This is for Eudyptula Challenge. Signed-off-by: Marcus Folkesson Sorry Marcus, There is a level of trivial cleanup below which it's not worth taking patches. The 80 character limit is not a hard and fast rule. Here, if this

Re: [PATCH 0/6] LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM

2014-07-13 Thread Nicolas Pitre
On Tue, 8 Jul 2014, beh...@converseincode.com wrote: > From: Behan Webster > > The LLVMLinux project aims to fully build the Linux kernel using both gcc and > clang (the C front end for the LLVM compiler infrastructure project). > > Clang only supports global named registers for

Re: Ping: Re: [PATCH v2] x86, vsmp: Remove is_vsmp_box() from apic_is_clustered_box()

2014-07-13 Thread Richard Weinberger
Am 13.07.2014 08:51, schrieb Oren Twaig: > ping > On 07/06/2014 09:33 AM, Oren Twaig wrote: >> Hi, >> >> Quick question: As I'm new at this (submitting patches), what is a reasonable >> time to wait before ping-ing a patch ? >> >> Oren. AFACT Peter is still crawling through his mail backlog to

Re: [patch 40/55] iio: Use ktime_get_real_ns()

2014-07-13 Thread Jonathan Cameron
On 11/07/14 14:44, Thomas Gleixner wrote: No idea why iio needs wall clock based time stamps, but we can avoid the timespec conversion dance by using the new interfaces. Signed-off-by: Thomas Gleixner Cc: Jonathan Cameron Acked-by: Jonathan Cameron -- To unsubscribe from this list: send the

Re: Ping: Re: [PATCH v2] x86, vsmp: Remove is_vsmp_box() from apic_is_clustered_box()

2014-07-13 Thread Oren Twaig
I see - Thanks for the quick respond. Oren. On 07/13/2014 12:10 PM, Richard Weinberger wrote: > Am 13.07.2014 08:51, schrieb Oren Twaig: >> ping >> On 07/06/2014 09:33 AM, Oren Twaig wrote: >>> Hi, >>> >>> Quick question: As I'm new at this (submitting patches), what is a >>> reasonable >>> time

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-13 Thread Lennox Wu
As I said before, some configurations don't make sense. I don't think all of the patches are necessary. Best, Lennox 2014-07-13 11:45 GMT+08:00 Marek Vasut : > On Sunday, July 13, 2014 at 05:07:10 AM, Chen Gang wrote: >> Several drivers need 'devm_ioremap_resource' which need HAS_IOMEM enabled.

Re: [PATCH v2] lib/Kconfig.debug: introduce CONFIG_CC_STACK_USAGE

2014-07-13 Thread Sam Ravnborg
Hi Konstantin. On Sun, Jul 13, 2014 at 12:24:50AM +0400, Konstantin Khlebnikov wrote: > This patch adds option for collecting stack usage statistics > via gcc option '-fstack-usage' (needs gcc 4.6 or newer). > For each .o file gcc dumps stack-frame sizes into .su file. > > File format: > :::

Re: [git pull] m68k updates for 3.16 (take 2)

2014-07-13 Thread Christoph Hellwig
On Sun, Jul 13, 2014 at 11:08:07AM +0200, Geert Uytterhoeven wrote: > m68k: Fix boot regression on machines with RAM at non-zero > m68k: Export mach_random_get_entropy to modules What modular user of random_get_entropy is this for? Can't find one in the current tree, and I don't

Re: [PATCH 00/83] AMD HSA kernel driver

2014-07-13 Thread Daniel Vetter
On Sat, Jul 12, 2014 at 6:49 PM, Jerome Glisse wrote: >> Hm, so the hsa part is a completely new driver/subsystem, not just an >> additional ioctl tacked onto radoen? The history of drm is littered with >> "generic" ioctls that turned out to be useful for exactly one driver. >> Which is why _all_

Re: [PATCH v4] devicetree: Add generic IOMMU device tree bindings

2014-07-13 Thread Will Deacon
On Sat, Jul 12, 2014 at 01:57:31PM +0100, Rob Clark wrote: > On Sat, Jul 12, 2014 at 8:22 AM, Arnd Bergmann wrote: > > On Saturday 12 July 2014, Rob Clark wrote: > >> >> Was there actually a good reason for having the device link to the > >> >> iommu rather than the other way around? How much

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-13 Thread Richard Weinberger
Am 13.07.2014 11:27, schrieb Lennox Wu: > As I said before, some configurations don't make sense. If such a configuration can be achieved using allmod/yesconfig it has to be fixed. Chen's fixes seem reasonable as not all architectures support iomem. Thanks, //richard -- To unsubscribe from this

Re: [PATCH V3 0/7] Drivers: scsi: storvsc: Bug fixes and improvements

2014-07-13 Thread Christoph Hellwig
The series looks good to me, although I'll probably put the commit message for the timer patch into the comment for the eh_timed_out handler. Can I get another set of reviews? I've seen Olaf has put them into the SLES tree, so I'd expect he's done a review already? -- To unsubscribe from this

Re: [PATCH v2 2/2] arch/x86/xen: Silence compiler warnings

2014-07-13 Thread Konrad Rzeszutek Wilk
On July 12, 2014 5:09:48 PM EDT, Daniel Kiper wrote: >Compiler complains in the following way when x86 32-bit kernel >with Xen support is build: > > CC arch/x86/xen/enlighten.o >arch/x86/xen/enlighten.c: In function ‘xen_start_kernel’: >arch/x86/xen/enlighten.c:1726:3: warning: right shift

Re: [PATCH v2 1/2] xen: Silence compiler warnings

2014-07-13 Thread Konrad Rzeszutek Wilk
On July 12, 2014 5:09:47 PM EDT, Daniel Kiper wrote: >Add inline keyword to silence the following compiler >warnings if xen_efi_probe() is not used: > > CC arch/x86/xen/setup.o >In file included from arch/x86/xen/xen-ops.h:7:0, > from arch/x86/xen/setup.c:31:

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-13 Thread Chen Gang
On 07/13/2014 05:45 PM, Richard Weinberger wrote: > Am 13.07.2014 11:27, schrieb Lennox Wu: >> As I said before, some configurations don't make sense. > > If such a configuration can be achieved using allmod/yesconfig it has to be > fixed. > Chen's fixes seem reasonable as not all architectures

[PATCHv1 0/2] Documentation: move and update headers_install.txt

2014-07-13 Thread Yann Droneaud
On Wed, Jul 09, 2014 at 22:49 +0200, Sam Ravnborg wrote: > On Thu, Jul 03, 2014 at 11:12:20PM +0200, Michal Marek wrote: > > I have never noticed this file :). How about moving it to > > Documentation/kbuild? > Agree - please get this file moved. > Please find a patchset to move and update

Re: [PATCH] drivers: firewire: Let several sub-modules depend on HAS_DMA

2014-07-13 Thread Chen Gang
On 07/13/2014 04:42 PM, Stefan Richter wrote: > On Jul 13 Chen Gang wrote: >> >> config FIREWIRE_OHCI >> tristate "OHCI-1394 controllers" >> -depends on PCI && FIREWIRE && MMU >> +depends on PCI && FIREWIRE && MMU && HAS_DMA >> help >>Enable this driver if you have a

[PATCHv1 1/2] Documentation: headers_install.txt is part of kbuild

2014-07-13 Thread Yann Droneaud
'headers_install.txt' from Documentation/make/ is related to Kbuild so it must be moved in Documentation/kbuild/ directory. As Documentation/make/ directory has only one file, it will be removed as a consequence of moving 'headers_install.txt'. Cc: Kirill A. Shutemov Cc: Michal Marek Cc: David

[PATCHv1 2/2] Documentation/kbuild/headers_install.txt: update documentation

2014-07-13 Thread Yann Droneaud
Documentation in kbuild/headers_install.txt is not up to date regarding: - way to list the various architectures; - path where the headers are installed. This patch try to fix these issues. Cc: Kirill A. Shutemov Cc: Michal Marek Cc: David Woodhouse Cc: Rob Landley Cc: Sam Ravnborg

Re: [PATCH v2] lib/Kconfig.debug: introduce CONFIG_CC_STACK_USAGE

2014-07-13 Thread Konstantin Khlebnikov
On Sun, Jul 13, 2014 at 1:31 PM, Sam Ravnborg wrote: > Hi Konstantin. > > On Sun, Jul 13, 2014 at 12:24:50AM +0400, Konstantin Khlebnikov wrote: >> This patch adds option for collecting stack usage statistics >> via gcc option '-fstack-usage' (needs gcc 4.6 or newer). >> For each .o file gcc

Re: [PATCH 1/1] fs/exofs/ore_raid.c: replace count*size kzalloc by kcalloc

2014-07-13 Thread Boaz Harrosh
On 06/25/2014 09:14 PM, Fabian Frederick wrote: > kcalloc manages count*sizeof overflow. > > Cc: Boaz Harrosh ACK-by: Boaz Harrosh Do you need that I submit this through my tree? Thanks Boaz > Cc: osd-...@open-osd.org > Cc: Andrew Morton > Signed-off-by: Fabian Frederick > --- >

Re: [RFC/PATCH -next 00/21] Address sanitizer for kernel (kasan) - dynamic memory error detector.

2014-07-13 Thread Andrey Ryabinin
2014-07-12 4:59 GMT+04:00 H. Peter Anvin : > On 07/09/2014 04:00 AM, Andrey Ryabinin wrote: >> >> Address sanitizer dedicates 1/8 of the low memory to the shadow memory and >> uses direct >> mapping with a scale and offset to translate a memory address to its >> corresponding >> shadow address.

[PATCH] ARM: avoid ARM binutils leaking ELF local symbols

2014-07-13 Thread Russell King
Symbols starting with .L are ELF local symbols and should not appear in ELF symbol tables. However, unfortunately ARM binutils leaks the .LANCHOR symbols into the symbol table, which leads kallsyms to report these symbols rather than the real name. It is not very useful when %pf reports symbols

[PATCH v4 2/2] dt-bindings: document Rockchip saradc

2014-07-13 Thread Heiko Stübner
This add the necessary binding documentation for the saradc found in all recent processors from Rockchip. Signed-off-by: Heiko Stuebner --- changes since v1: - fix typos found by Hartmut Knaack .../bindings/iio/adc/rockchip-saradc.txt | 28 ++ 1 file changed, 28

[PATCH v4 1/2] iio: adc: add driver for Rockchip saradc

2014-07-13 Thread Heiko Stübner
The ADC is a 3-channel signal-ended 10-bit Successive Approximation Register (SAR) A/D Converter. It uses the supply and ground as its reference and converts the analog input signal into 10-bit binary digital codes. Signed-off-by: Heiko Stuebner --- changes since v3: - address comments from

Re: [PATCH v4] devicetree: Add generic IOMMU device tree bindings

2014-07-13 Thread Rob Clark
On Sun, Jul 13, 2014 at 5:43 AM, Will Deacon wrote: > On Sat, Jul 12, 2014 at 01:57:31PM +0100, Rob Clark wrote: >> On Sat, Jul 12, 2014 at 8:22 AM, Arnd Bergmann wrote: >> > On Saturday 12 July 2014, Rob Clark wrote: >> >> >> Was there actually a good reason for having the device link to the >>

[PATCH] drivers/staging/iio/adc/Kconfig: Let MXS_LRADC depend on HAS_IOMEM

2014-07-13 Thread Chen Gang
MXS_LRADC need HAS_IOMEM, so let it depend on HAS_IOMEM The related error (with allmodconfig under score): MODPOST 1365 modules ERROR: "devm_ioremap_resource" [drivers/staging/iio/adc/mxs-lradc.ko] undefined! Signed-off-by: Chen Gang --- drivers/staging/iio/adc/Kconfig | 2 +- 1 file

Re: [PATCH] scsi: Remove some false sharing in Scsi_Host / Scsi_Device

2014-07-13 Thread Christoph Hellwig
On Fri, Jul 11, 2014 at 01:25:10PM -0700, Andi Kleen wrote: > From: Andi Kleen > > These data structures are accessed by different CPUs and have some > fields which are mostly read only and others which are frequently > written. Separate some common ones into separate cache line > to minimize

Re: [PATCH] vfs: call rename2 if exists

2014-07-13 Thread Christoph Hellwig
On Tue, May 20, 2014 at 11:22:47AM +0200, Miklos Szeredi wrote: > Linus, > > Please consider applying this patch to 3.15, so we can move forward with > adding > RENAME_NOREPLACE support to filesystems during the next cycle. Looks like this didn't go anywhere. Al, can you at least pick this for

[PATCH] drivers/pwm/Kconfig: Let PWM_CLPS711X depend on HAS_IOMEM

2014-07-13 Thread Chen Gang
PWM_CLPS711X needs HAS_IOMEM, so let it depend on HAS_IOMEM. The related error (with allmodconfig under score): MODPOST 1365 modules ERROR: "devm_ioremap_resource" [drivers/pwm/pwm-clps711x.ko] undefined! Signed-off-by: Chen Gang --- drivers/pwm/Kconfig | 2 +- 1 file changed, 1

<    1   2   3   4   5   6   >