Re: [PATCH 0/3] timekeeping: Improved NOHZ frequency steering (v2)

2014-07-15 Thread Thomas Gleixner
On Tue, 15 Jul 2014, John Stultz wrote: > On 07/08/2014 04:08 AM, Miroslav Lichvar wrote: > > On Mon, May 19, 2014 at 10:57:29AM -0700, John Stultz wrote: > >> Another area we have to be careful with is there are still > >> architectures (powerpc and ia64) which haven't switched from the old > >>

Re: [patch 51/55] clocksource: Make delta calculation a function

2014-07-15 Thread Thomas Gleixner
On Tue, 15 Jul 2014, John Stultz wrote: > On Fri, Jul 11, 2014 at 6:45 AM, Thomas Gleixner wrote: > > @@ -335,16 +335,15 @@ static void timekeeping_update(struct ti > > */ > > static void timekeeping_forward_now(struct timekeeper *tk) > > { > > - cycle_t cycle_now, cycle_delta; > > +

Re: [Bug report] Hit false positives bug with script/checkpatch.pl

2014-07-15 Thread ethan zhao
On 2014/7/16 12:20, Joe Perches wrote: On Wed, 2014-07-16 at 10:50 +0800, Ethan Zhao wrote: Hi, I hit a false positives bug when run script/checkpatch.pl to my patch, It reported errors to following macro definition, but in fact the macro is correct, I couldn't change that macro accordin

Re: [PATCH 3/6] autofs4: allow RCU-walk to walk through autofs4.

2014-07-15 Thread Ian Kent
On Wed, 2014-07-16 at 15:51 +1000, NeilBrown wrote: > On Wed, 16 Jul 2014 12:44:17 +0800 Ian Kent wrote: > > > On Thu, 2014-07-10 at 09:41 +1000, NeilBrown wrote: > > > Any attempt to look up a pathname that passes though an > > > autofs4 mount is currently forced out of RCU-walk into > > > REF-w

[PATCH] workqueue: detach rescuer from pool until the last

2014-07-15 Thread Lai Jiangshan
In 51697d393922 ("workqueue: use generic attach/detach routine for rescuers"), The rescuer detaches itself from the pool before put_pwq() so that the put_unbound_pool() will not destroy the rescuer-attached pool. It is unnecessary, worker_detach_from_pool() can be used as the last statement to acc

[PATCH] workqueue: wake regular worker if need_more_worker() when rescuer leave the pool

2014-07-15 Thread Lai Jiangshan
We don't need to wake up regular worker when nr_running==1, so need_more_worker() is sufficient here. And need_more_worker() gives us better readability due to the name of "keep_working()" implies the rescuer should keep working now but the rescuer is actually leaving. Signed-off-by: Lai Jiangsha

[PATCH v4] mtd:nor:timeout:fix do_write_buffer() timeout error

2014-07-15 Thread Bean Huo
For some Norflashes,the size of the buffer program has been increased from 256 bytes to 512 bytes,2ms maximum timeout can not adapt to all the different vendor's norflash.There maximum timeout information in the CFI area,so the best way is to choose the result calculated according to timeout field

Re: Bug_ON with patch: bio: modify __bio_add_page() to accept pages that don't start a new segment

2014-07-15 Thread Maurizio Lombardi
Hi, On 07/15/2014 10:44 AM, Maurizio Lombardi wrote: >> I have reverted it yesterday in my tree. >> > > > The problem was here: > > if (q->merge_bvec_fn) { > struct bvec_merge_data bvm = { > .bi_bdev = bio->bi_bdev, > .bi_

linux-next: manual merge of the staging tree with the v4l-dvb tree

2014-07-15 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/media/sn9c102/Kconfig between commit c0e11a2a24db ("[media] sn9c102: remove deprecated driver") from the v4l-dvb tree and commit cfa880069d09 ("staging: sn9c102 depends on USB") from the staging tree. I fixed

linux-next: manual merge of the staging tree with the net-next tree

2014-07-15 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/cxt1e1/linux.c between commit c835a6773314 ("net: set name_assign_type in alloc_netdev()") from the net-next tree and commit 14b596c9d80b ("staging: cxt1e1: remove driver") from the staging tree. I fixed it up

Re: [PATCH v3 4/4] can: flexcan: add vf610 support for FlexCAN

2014-07-15 Thread Stefan Agner
Am 2014-07-15 16:24, schrieb Marc Kleine-Budde: >> @@ -150,18 +171,20 @@ >> * FLEXCAN hardware feature flags >> * >> * Below is some version info we got: >> - *SOC Version IP-Version Glitch- [TR]WRN_INT >> - *Filter? connected? >> - * MX25 FlexC

Re: [PATCH 0/4] random,x86,kvm: Add and use MSR_KVM_GET_RNG_SEED

2014-07-15 Thread Gleb Natapov
On Tue, Jul 15, 2014 at 07:48:06PM -0700, Andy Lutomirski wrote: > virtio-rng is both too complicated and insufficient for initial rng > seeding. It's far too complicated to use for KASLR or any other > early boot random number needs. It also provides /dev/random-style > bits, which means that ma

[PATCH V2] perf: Don't enable the perf_event without in PERF_ATTACH_CONTEXT status

2014-07-15 Thread Chen LinX
From: "Chen LinX" ChangeLog V2: 1) Add more description about the race; 2) Format the email to use short lines. When we run cpu hotplug test and below perf test at the same time, kernel panic. pmu may access freed perf_event. while true; do perf record -a -g -f

Re: [PATCH v3 2/3] ata: Add Qualcomm ARM SoC AHCI SATA host controller driver

2014-07-15 Thread kiran padwal
tested-by: Kiran Padwal This driver tested with APQ806x SATA PHY Driver. On Wed, Jun 18, 2014 at 12:06 AM, Kumar Gala wrote: > Add support for the Qualcomm AHCI SATA controller that exists on several > SoC and specifically the IPQ806x family of chips. The IPQ806x SATA support > requires the ass

Re: [x86, irq, ACPI] WARNING: CPU: 13 PID: 11079 at fs/proc/generic.c:521 remove_proc_entry+0x19f/0x1b0()

2014-07-15 Thread Jiang Liu
Hi Aaron, Thanks for reporting this issue. Yinghai has already posted a patch to fix the issue by disabling freeing of irq in case of system shutdown. Please refer to: https://lkml.org/lkml/2014/6/26/619 Or could you please help to try following patch, which USB free irq when shutting down

Re: [PATCH v2 0/8] Mark literal strings in __init / __exit code

2014-07-15 Thread Mathias Krause
On Tue, Jul 15, 2014 at 04:26:54PM -0700, Andrew Morton wrote: > On Sat, 12 Jul 2014 16:43:24 +0200 Mathias Krause > wrote: > > > This is v2 of the patch series initially posted here: > > > > https://lkml.org/lkml/2014/6/22/149 > > That was a useful overall description. But it got lost in t

Re: [PATCH v2 2/8] printk: Provide pi_ / pe_ macros for __init / __exit code

2014-07-15 Thread Mathias Krause
On Tue, Jul 15, 2014 at 04:23:30PM -0700, Andrew Morton wrote: > On Sat, 12 Jul 2014 16:43:26 +0200 Mathias Krause > wrote: > > > The memory used for functions marked with __init will be released after > > initialization, albeit static data referenced by such code will not, if > > not explicitly

Re: [PATCH v4 1/2] phy: qcom: Add driver for QCOM APQ8064 SATA PHY

2014-07-15 Thread Srinivas Kandagatla
On 15/07/14 17:56, Bartlomiej Zolnierkiewicz wrote: + >+/* Helper function to do poll and timeout */ >+static int read_poll_timeout(void __iomem *addr, u32 mask) >+{ >+ unsigned long timeout = jiffies + msecs_to_jiffies(TIMEOUT_MS); >+ >+ do { >+ if (readl_relaxed(addr) & mask) >+

[PATCH v4] Bluetooth: BCSP fails to ACK re-transmitted frames from the peer

2014-07-15 Thread Jiada Wang
From: Dean Jenkins Send an ACK frame with the current txack value in response to every received reliable frame unless a TX reliable frame is being sent. This modification allows re-transmitted frames from the remote peer to be acknowledged rather than ignored. It means that the remote peer knows

Re: Where in the code mmap + MAP_ANONYMOUS clears returned pages?

2014-07-15 Thread Alexei Fedotov
Thanks, Michal! -- With best regards / с наилучшими пожеланиями, Alexei Fedotov / Алексей Федотов, http://dataved.ru/ +7 916 562 8095 [1] Start using Apache Openmeetings today, http://openmeetings.apache.org/ [2] Join Alexei Fedotov @linkedin, http://ru.linkedin.com/in/dataved/ [3] Join Alexei Fed

[PATCH net-next V2 2/3] virtio-net: introduce virtnet_receive()

2014-07-15 Thread Jason Wang
Move common receive logic to a new helper virtnet_receive(). It will also be used by rx busy polling method. Cc: Rusty Russell Cc: Michael S. Tsirkin Cc: Vlad Yasevich Cc: Eric Dumazet Signed-off-by: Jason Wang --- drivers/net/virtio_net.c | 20 +++- 1 file changed, 15 insert

[PATCH net-next V2 0/3] rx busy polling support for virtio-net

2014-07-15 Thread Jason Wang
Hi all: This series introduces the support for rx busy polling support. This was useful for reduing the latency for a kvm guest. Patch 1-2 introduces helpers which is used for rx busy polling. Patch 3 implement the main function. Test was done between a kvm guest and an external host. Two hosts w

[PATCH net-next V2 3/3] virtio-net: rx busy polling support

2014-07-15 Thread Jason Wang
Add basic support for rx busy polling. Test was done between a kvm guest and an external host. Two hosts were connected through 40gb mlx4 cards. With both busy_poll and busy_read are set to 50 in guest, 1 byte netperf tcp_rr shows 116% improvement: transaction rate was increased from 9151.94 to 19

[PATCH net-next V2 1/3] virtio-net: introduce helpers to enable and disable all NAPIs

2014-07-15 Thread Jason Wang
This patch introduces helpers to disable and enable NAPI for all rx queues. This will be used by rx busy polling support. Cc: Rusty Russell Cc: Michael S. Tsirkin Cc: Vlad Yasevich Cc: Eric Dumazet Signed-off-by: Jason Wang --- drivers/net/virtio_net.c | 34 --

Re: [PATCH 1/1] UBIFS: kernel-doc warning fix

2014-07-15 Thread Artem Bityutskiy
On Fri, 2014-07-04 at 22:02 +0200, Fabian Frederick wrote: > no grouped argument in drop_last_node. > > Cc: Artem Bityutskiy > Cc: Adrian Hunter > Cc: Andrew Morton > Cc: linux-...@lists.infradead.org > Signed-off-by: Fabian Frederick Applied to linux-ubifs.git, thanks! -- Best Regards, Art

Re: [PATCH 1/1] fs/ubifs/super.c: replace seq_printf by seq_puts

2014-07-15 Thread Artem Bityutskiy
On Tue, 2014-07-15 at 21:26 +0200, Fabian Frederick wrote: > Fix checkpatch warnings: > "WARNING: Prefer seq_puts to seq_printf" Applied to linux-ubifs.git, added Andrew's comments there, thanks. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linu

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

2014-07-15 Thread Artem Bityutskiy
On Wed, 2014-07-16 at 09:10 +0300, Artem Bityutskiy wrote: > On Mon, 2014-06-23 at 18:41 +0200, Fabian Frederick wrote: > > kcalloc manages count*sizeof overflow. > > > > Cc: Artem Bityutskiy > > Cc: Adrian Hunter > > Cc: linux-...@lists.infradead.org > > Signed-off-by: Fabian Frederick > > In

Re: [PATCH v3 0/4] ARM: vf610: add FlexCAN support

2014-07-15 Thread Shawn Guo
On Tue, Jul 15, 2014 at 02:56:17PM +0200, Stefan Agner wrote: > Stefan Agner (4): > ARM: dts: vf610: add FlexCAN node > ARM: imx: clk-vf610: fix FlexCAN clock gating Applied these two, thanks. > can: flexcan: switch on clocks before accessing ecr register > can: flexcan: add vf610 support

Re: [PATCH 6/6] autofs4: don't take spinlock when not needed in autofs4_lookup_expiring

2014-07-15 Thread NeilBrown
On Wed, 16 Jul 2014 11:42:12 +0800 Ian Kent wrote: > On Thu, 2014-07-10 at 09:41 +1000, NeilBrown wrote: > > If the expiring_list is empty, we can avoid a costly spinlock > > in the rcu-walk path through authfs4_d_manage. > > > > Signed-off-by: NeilBrown > > I know it should be straight forwar

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

2014-07-15 Thread Artem Bityutskiy
On Mon, 2014-06-23 at 18:41 +0200, Fabian Frederick wrote: > kcalloc manages count*sizeof overflow. > > Cc: Artem Bityutskiy > Cc: Adrian Hunter > Cc: linux-...@lists.infradead.org > Signed-off-by: Fabian Frederick In the commit message, please, try to not only tell _what_ you do, but also _wh

[PATCH v3] Bluetooth: BCSP fails to ACK re-transmitted frames from the peer

2014-07-15 Thread Jiada Wang
From: Dean Jenkins Send an ACK frame with the current txack value in response to every received reliable frame unless a TX reliable frame is being sent. This modification allows re-transmitted frames from the remote peer to be acknowledged rather than ignored. It means that the remote peer knows

Re: [PATCH 0/6] autofs4: support RCU-walk

2014-07-15 Thread NeilBrown
On Wed, 16 Jul 2014 11:24:58 +0800 Ian Kent wrote: > On Thu, 2014-07-10 at 09:41 +1000, NeilBrown wrote: > > autofs4 currently doesn't support RCU-walk - it immediately > > aborts any attempt at RCU-walk to force REF-walk for path name > > lookup. > > As discussed I don't have time to properly t

[PATCH] Drivers: hv: hv_fcopy: fix a race condition for SMP guest

2014-07-15 Thread Dexuan Cui
We should schedule the 5s "timer work" before starting the data transfer, otherwise, the data transfer code may finish so fast on another virtual cpu that when the code(fcopy_write()) trying to cancel the 5s "timer work" can occasionally fail because the "timer work" may haven't been scheduled yet

Re: [PATCH 3/6] autofs4: allow RCU-walk to walk through autofs4.

2014-07-15 Thread NeilBrown
On Wed, 16 Jul 2014 12:44:17 +0800 Ian Kent wrote: > On Thu, 2014-07-10 at 09:41 +1000, NeilBrown wrote: > > Any attempt to look up a pathname that passes though an > > autofs4 mount is currently forced out of RCU-walk into > > REF-walk. > > > > This can significantly hurt performance of many-th

Re: [PATCH v2] cpufreq: Don't destroy/realloc policy/sysfs on hotplug/suspend

2014-07-15 Thread Viresh Kumar
On 15 July 2014 12:28, Srivatsa S. Bhat wrote: > Wait, allowing an offline CPU to be the policy->cpu (i.e., the CPU which is > considered as the master of the policy/group) is just absurd. Yeah, that was as Absurd as I am :) > The goal of this patchset should be to just de-couple the sysfs > fi

Re: [PATCH 46/94] ARM: dts: am335x-evm: Enable the McASP FIFO for audio

2014-07-15 Thread Peter Ujfalusi
On 07/15/2014 08:01 PM, Sam Asadi wrote: > From: Peter Ujfalusi > > The use of FIFO in McASP can reduce the risk of audio under/overrun and > lowers the load on the memories since the DMA will operate in bursts. > > Signed-off-by: Peter Ujfalusi > Signed-off-by: Tony Lindgren > Signed-off-by:

RE: [Bug report] Hit false positives bug with script/checkpatch.pl

2014-07-15 Thread Anish Bhatt
Parantheses/do {...} while(0) would not work for direct value substituons like this obviously but fixing this false positive seems hard. An exception case that is something like "macros with complex values separated by commas but no statements terminated by semicolons" is my best but seems-very-

[PATCH net-next] netlink: remove bool varible

2014-07-15 Thread varkabhadram
From: Varka Bhadram This patch removes the bool variable 'pass'. If the swith case exist return true or return false. Signed-off-by: Varka Bhadram --- net/netlink/af_netlink.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/netlink/af_netlink.c b/net/netlink/af

Re: [RFC 0/2] vfs / btrfs: add support for ustat()

2014-07-15 Thread Christoph Hellwig
Isn't this the problem again the btrfs uses different assignments for st_dev than s_dev? I don't even want to think about a mess like this before that is fixed. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More ma

Re: [PATCH net-next] netlink: fix in netlink_filter_tap

2014-07-15 Thread David Miller
From: varkabhad...@gmail.com Date: Wed, 16 Jul 2014 10:47:24 +0530 > From: Varka Bhadram > > Remove the bool variable 'pass'. Return the true/false directly. > > Signed-off-by: Varka Bhadram This doesn't "fix" anything, it's a cleanup. Please resubmit this with a more correct commit header l

[PATCH net-next] netlink: fix in netlink_filter_tap

2014-07-15 Thread varkabhadram
From: Varka Bhadram Remove the bool variable 'pass'. Return the true/false directly. Signed-off-by: Varka Bhadram --- net/netlink/af_netlink.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index e8c9f97..5dd8193

Re: [PATCH v7 1/2] phy: qcom: Add driver for QCOM IPQ806x SATA PHY

2014-07-15 Thread Kishon Vijay Abraham I
Hi, On Tuesday 15 July 2014 10:09 PM, Kumar Gala wrote: > Add a PHY driver for uses with AHCI based SATA controller driver on the > IPQ806x family of SoCs. > > Signed-off-by: Kumar Gala Please fix this checkpatch warning.. WARNING: memory barrier without comment #235: FILE: drivers/phy/phy-qco

[PATCH kvm-unit-tests] Add a test case for MSR_KVM_GET_RNG_SEED

2014-07-15 Thread Andy Lutomirski
Signed-off-by: Andy Lutomirski --- config/config-x86-common.mak | 5 - x86/get_rng_seed.c | 50 x86/unittests.cfg| 3 +++ 3 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 x86/get_rng_seed.c diff --git a/

Re: Checkpatch Feature Idea: Search directory for files with errors and warnings with -d argument

2014-07-15 Thread Nick Krause
On Wed, Jul 16, 2014 at 12:39 AM, Joe Perches wrote: > On Wed, 2014-07-16 at 00:28 -0400, Nick Krause wrote: >> I am cleaning up the kernel as it needs a lot of cleanup. > > Needs are curious things. > > Consistency is a nicety not really a need. > > Bugs need fixing. Defects need eliminating. >

Re: [PATCH V5 6/6] staging: vt6556: Replace printk by dev_warn

2014-07-15 Thread Greg KH
On Tue, Jul 15, 2014 at 10:46:49PM +0200, Peter Senna Tschudin wrote: > This patch fixes a checkpatch warning by replacing printk > by dev_warn. Tested by compilation only. > > Signed-off-by: Peter Senna Tschudin > --- > Changes from V4: > - use dev_warn instead of pr_warn > > drivers/staging/

Re: [PATCH 1/1] scripts/get_maintainer: increase threshold for --follow to reduce time

2014-07-15 Thread Joe Perches
On Wed, 2014-07-16 at 00:35 -0400, Pranith Kumar wrote: > The problem is with the default which is at 50% now. That means that a > commit needs to have changed a file by more than 50% -and- moved it in > the same commit. This is highly discouraged and unlikely to happen in > our case. > > Even if

Re: [RESEND PATCH 0/8] arm: dts: dra7: Add PCIe data and PCIe PHY data

2014-07-15 Thread Kishon Vijay Abraham I
On Tuesday 15 July 2014 12:48 PM, Tony Lindgren wrote: > * Kishon Vijay Abraham I [140714 03:44]: >> [1] is split into separate series in order for individual subsystem >> Maintainers to pick up the patches. This series handles the PCIe >> dt data for DRA7. >> >> This series has better commit lo

Re: [PATCH v2] arm: dra7xx: Add hwmod data for pcie1 and pcie2 subsystems

2014-07-15 Thread Kishon Vijay Abraham I
On Wednesday 16 July 2014 01:43 AM, Paul Walmsley wrote: > On Mon, 14 Jul 2014, Kishon Vijay Abraham I wrote: > >> On Wednesday 09 July 2014 04:32 PM, Rajendra Nayak wrote: >>> On Wednesday 09 July 2014 02:32 PM, Kishon Vijay Abraham I wrote: Added hwmod data for pcie1 and pcie2 subsystem p

Re: [PATCH 3/6] autofs4: allow RCU-walk to walk through autofs4.

2014-07-15 Thread Ian Kent
On Thu, 2014-07-10 at 09:41 +1000, NeilBrown wrote: > Any attempt to look up a pathname that passes though an > autofs4 mount is currently forced out of RCU-walk into > REF-walk. > > This can significantly hurt performance of many-thread work > loads on many-core systems, especially if the automou

Re: Checkpatch Feature Idea: Search directory for files with errors and warnings with -d argument

2014-07-15 Thread Joe Perches
On Wed, 2014-07-16 at 00:28 -0400, Nick Krause wrote: > I am cleaning up the kernel as it needs a lot of cleanup. Needs are curious things. Consistency is a nicety not really a need. Bugs need fixing. Defects need eliminating. Enhancements are appreciated. Inconsistent code style is a minor an

Re: [PATCH 1/1] scripts/get_maintainer: increase threshold for --follow to reduce time

2014-07-15 Thread Pranith Kumar
On Wed, Jul 16, 2014 at 12:08 AM, Joe Perches wrote: > On Tue, 2014-07-15 at 22:23 -0400, Pranith Kumar wrote: >> ping? >> >> On Sat, Jul 12, 2014 at 3:25 PM, Pranith Kumar wrote: >> > get_maintainer tries to follow files with a matching threshold of default >> > 50%. >> > This is not really nec

ARC backport for stable 3.{10,12,14,15}

2014-07-15 Thread Vineet Gupta
Hi, Can you please add the mainline commit a4b6cb735b25aa84a462a1985e3e43bebaf5beb4 "ARC: Implement ptrace(PTRACE_GET_THREAD_AREA)" to stable kernels This is causing buildroot gdb failures with pre 3.16 kernels. Thx, -Vineet -- To unsubscribe from this list: send the line "unsubscribe linux-kern

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

2014-07-15 Thread Guenter Roeck
On 07/15/2014 08:04 PM, Stephen Rothwell wrote: Hi Guenter, On Tue, 15 Jul 2014 12:08:07 -0700 Guenter Roeck wrote: Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that was accepted a week or so ago. That is in the tip tree and includes the fixups to powerpc and arm. I d

Re: [PATCH 3.15 00/84] 3.15.6-stable review

2014-07-15 Thread Guenter Roeck
On 07/15/2014 04:16 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.15.6 release. There are 84 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: Checkpatch Feature Idea: Search directory for files with errors and warnings with -d argument

2014-07-15 Thread Nick Krause
On Wed, Jul 16, 2014 at 12:23 AM, Joe Perches wrote: > On Wed, 2014-07-16 at 00:16 -0400, Nick Krause wrote: >> On Tue, Jul 15, 2014 at 11:38 PM, Joe Perches wrote: >> > On Tue, 2014-07-15 at 22:50 -0400, Nick Krause wrote: >> >> I may have not found it myself but if it doesn't exist can we write

Re: [PATCH 3.14 00/66] 3.14.13-stable review

2014-07-15 Thread Guenter Roeck
On 07/15/2014 04:16 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.13 release. There are 66 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH 3.10 00/44] 3.10.49-stable review

2014-07-15 Thread Guenter Roeck
On 07/15/2014 04:16 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.49 release. There are 44 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH 3.4 00/22] 3.4.99-stable review

2014-07-15 Thread Guenter Roeck
On 07/15/2014 04:17 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.99 release. There are 22 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: Checkpatch Feature Idea: Search directory for files with errors and warnings with -d argument

2014-07-15 Thread Joe Perches
On Wed, 2014-07-16 at 00:16 -0400, Nick Krause wrote: > On Tue, Jul 15, 2014 at 11:38 PM, Joe Perches wrote: > > On Tue, 2014-07-15 at 22:50 -0400, Nick Krause wrote: > >> I may have not found it myself but if it doesn't exist can we write a > >> feature for checkpatch to be able to recursively >

Re: [Bug report] Hit false positives bug with script/checkpatch.pl

2014-07-15 Thread Joe Perches
On Wed, 2014-07-16 at 10:50 +0800, Ethan Zhao wrote: > Hi, > I hit a false positives bug when run script/checkpatch.pl to my patch, > It reported errors to following macro definition, but in fact the macro is > correct, I couldn't change that macro according to the error message output > by s

Re: Checkpatch Feature Idea: Search directory for files with errors and warnings with -d argument

2014-07-15 Thread Nick Krause
On Tue, Jul 15, 2014 at 11:38 PM, Joe Perches wrote: > On Tue, 2014-07-15 at 22:50 -0400, Nick Krause wrote: >> I may have not found it myself but if it doesn't exist can we write a >> feature for checkpatch to be able to recursively >> search a directory structure with a -d argument in order to m

[PATCH 2/4] alpha: checkpatch errors in mkbb for if statements

2014-07-15 Thread Nicholas Krause
This patch fixes all errors related to no space between if and parthesises to remove this errors when running checkpatch against this file. --- arch/alpha/boot/tools/mkbb.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/alpha/boot/tools/mkbb.c b/arch/alpha/

[PATCH 3/4] alpha: Indent if Statements properly

2014-07-15 Thread Nicholas Krause
This patch removes the errors this file gets with checkpatch due to errors relating to if statements and their enclosing statements not being indented properly. --- arch/alpha/boot/tools/mkbb.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a

[PATCH 1/4] alpha: Converse all space errors into tabs in mkbb.c

2014-07-15 Thread Nicholas Krause
This patch fixes all the checkpatch errors I get when running it on mkbb.c for spaces at beginning of lines. I converted then all to tabs to fix these checkpatch warnings. --- arch/alpha/boot/tools/mkbb.c | 124 +-- 1 file changed, 61 insertions(+), 63 delet

[PATCH 4/4] alpha: Remove checkpatch error in mkk.b

2014-07-15 Thread Nicholas Krause
This removes a error I get when I run checkpatch on this file, relating to the asterisk for declaritations needing to be next to the name of the variable/structure and not the type of variable/structure. --- arch/alpha/boot/tools/mkbb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

Re: [PATCH 1/1] scripts/get_maintainer: increase threshold for --follow to reduce time

2014-07-15 Thread Joe Perches
On Tue, 2014-07-15 at 22:23 -0400, Pranith Kumar wrote: > ping? > > On Sat, Jul 12, 2014 at 3:25 PM, Pranith Kumar wrote: > > get_maintainer tries to follow files with a matching threshold of default > > 50%. > > This is not really necessary as we do not change a file and move it in the > > sam

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

2014-07-15 Thread Steve French
Continuing testing of Pavel's newest SMB3 multicredit patch series, which significantly improves large file read/write speeds to Samba and Windows from Linux. For this workload LInux to Linux - SMB3 seems faster than alternatives for read (copying from the server) but about the same as NFS for writ

Re: [PATCH 0/3] timekeeping: Improved NOHZ frequency steering (v2)

2014-07-15 Thread John Stultz
On 07/08/2014 04:08 AM, Miroslav Lichvar wrote: > On Mon, May 19, 2014 at 10:57:29AM -0700, John Stultz wrote: >> Another area we have to be careful with is there are still >> architectures (powerpc and ia64) which haven't switched from the old >> vsyscall rounding logic (CONFIG_GENERIC_TIME_VSYSCA

Re: testing result of loop-aio patchset on ext3

2014-07-15 Thread Rui Xiang
On 2014/7/14 17:51, Lukáš Czerner wrote: > On Mon, 14 Jul 2014, Rui Xiang wrote: > >> Date: Mon, 14 Jul 2014 17:34:38 +0800 >> From: Rui Xiang >> To: Dave Kleikamp , linux-e...@vger.kernel.org >> Cc: linux-fsde...@vger.kernel.org, linux-kernel@vger.kernel.org, >> Li Zefan >> Subject: testing

linux-next: manual merge of the infiniband tree with the net-next tree

2014-07-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the infiniband tree got a conflict in drivers/infiniband/hw/cxgb4/device.c between commit 7730b4c7e32c ("cxgb4/iw_cxgb4: work request logging feature") from the net-next tree and commit 6b54d54dea82 ("RDMA/cxgb4: Initialize the device status page") from the infi

Re: [patch 51/55] clocksource: Make delta calculation a function

2014-07-15 Thread John Stultz
On Fri, Jul 11, 2014 at 6:45 AM, Thomas Gleixner wrote: > @@ -335,16 +335,15 @@ static void timekeeping_update(struct ti > */ > static void timekeeping_forward_now(struct timekeeper *tk) > { > - cycle_t cycle_now, cycle_delta; > + cycle_t cycle_now, delta; > struct clocksou

Re: [PATCH 6/6] autofs4: don't take spinlock when not needed in autofs4_lookup_expiring

2014-07-15 Thread Ian Kent
On Thu, 2014-07-10 at 09:41 +1000, NeilBrown wrote: > If the expiring_list is empty, we can avoid a costly spinlock > in the rcu-walk path through authfs4_d_manage. > > Signed-off-by: NeilBrown I know it should be straight forward to say this is OK but I always think twice and again about areas

[PATCH 1/1] doc: Add remote CPU access details to this_cpu_ops.txt

2014-07-15 Thread Pranith Kumar
Add more details from a recent kernel newbies mailing list discussion here: http://www.spinics.net/lists/newbies/msg52747.html Signed-off-by: Pranith Kumar CC: Christoph Lameter --- Documentation/this_cpu_ops.txt | 107 + 1 file changed, 87 insertions(+),

Re: Checkpatch Feature Idea: Search directory for files with errors and warnings with -d argument

2014-07-15 Thread Joe Perches
On Tue, 2014-07-15 at 22:50 -0400, Nick Krause wrote: > I may have not found it myself but if it doesn't exist can we write a > feature for checkpatch to be able to recursively > search a directory structure with a -d argument in order to make it > easier to search larger directories for files that

Re: [PATCH v5 0/4] iio: Add support for rotation from north

2014-07-15 Thread Reyad Attiyat
Hey Srinivas Thanks for looking into this for me! I'll fix it up and resubmit soon. On Tue, Jul 15, 2014 at 4:39 PM, Srinivas Pandruvada wrote: > Hi, > > Since you have only one attribute, it is working for you. > There is a dereference error in *channels. > > Check the attached diff, which will

Re: [PATCH 1/6] autofs4: remove unused autofs4_ispending()

2014-07-15 Thread Ian Kent
On Thu, 2014-07-10 at 09:41 +1000, NeilBrown wrote: > Signed-off-by: NeilBrown Obviously straight forward. Acked-by: Ian Kent > --- > fs/autofs4/autofs_i.h | 14 -- > 1 file changed, 14 deletions(-) > > diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h > index acf32054e

Re: [PATCH 2/6] autofs4: remove a redundant assignment

2014-07-15 Thread Ian Kent
On Thu, 2014-07-10 at 09:41 +1000, NeilBrown wrote: > The variable 'ino' already exists and already > has the correct value. The d_fsdata of a dentry > is never changed after the d_fsdata is instantiated, > so this new assignment cannot be necessary. > > It was introduced in > commit b5b801779d59

Re: [PATCH 0/6] autofs4: support RCU-walk

2014-07-15 Thread Ian Kent
On Thu, 2014-07-10 at 09:41 +1000, NeilBrown wrote: > autofs4 currently doesn't support RCU-walk - it immediately > aborts any attempt at RCU-walk to force REF-walk for path name > lookup. As discussed I don't have time to properly test these just now but I'll do my best to review the patches and

Re: [patch 14/55] timekeeping: Provide internal ktime_t based data

2014-07-15 Thread John Stultz
On Fri, Jul 11, 2014 at 6:44 AM, Thomas Gleixner wrote: > The ktime_t based interfaces are used a lot in performance critical > code pathes. Add ktime_t based data so the interfaces don't have to > convert from the xtime/timespec based data. > > Signed-off-by: Thomas Gleixner > --- > include/lin

Re: [PATCH] PM / devfreq: Allocate memory using the right data type

2014-07-15 Thread Greg Kroah-Hartman
On Tue, Jul 15, 2014 at 08:10:43PM -0700, Saravana Kannan wrote: > From: Suman Tatiraju > > Long and int have different sizes on a 64-bit machine. Allocate > memory for the time_in_state table using the right data type. > > Change-Id: I335277674018c0ea759aa0996309d52578ea1fd5 Please don't put t

linux-next: build failure after merge of the wireless-next tree

2014-07-15 Thread Stephen Rothwell
efore ';' token pstapriv->asoc_sta_count-; ^ Caused by commit 3dd51964026e ("rtl8723au: Corrections in the coding style") (its always the cleanup patches that cause problems :-)) Please unit test *all* patches. I have used the wireless-next tree fr

[PATCH 0/4] [GIT PULL] tracing: A few more fixes

2014-07-15 Thread Steven Rostedt
Linus, A few more fixes for ftrace infrastructure. I was cleaning out my INBOX and found two fixes from zhangwei from a year ago that were lost in my mail. These fix an inconsistency between trace_puts() and the way trace_printk() works. The reason this is important to fix is because when trace_

[PATCH 3/4] tracing: Add TRACE_ITER_PRINTK flag check in __trace_puts/__trace_bputs

2014-07-15 Thread Steven Rostedt
From: "zhangwei(Jovi)" The TRACE_ITER_PRINTK check in __trace_puts/__trace_bputs is missing, so add it, to be consistent with __trace_printk/__trace_bprintk. Those functions are all called by the same function: trace_printk(). Link: http://lkml.kernel.org/p/51e7a7d6.8090...@huawei.com Cc: sta..

[PATCH 4/4] ring-buffer: Fix polling on trace_pipe

2014-07-15 Thread Steven Rostedt
From: Martin Lau ring_buffer_poll_wait() should always put the poll_table to its wait_queue even there is immediate data available. Otherwise, the following epoll and read sequence will eventually hang forever: 1. Put some data to make the trace_pipe ring_buffer read ready first 2. epoll_ctl(ef

[PATCH 2/4] tracing: Fix graph tracer with stack tracer on other archs

2014-07-15 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Running my ftrace tests on PowerPC, it failed the test that checks if function_graph tracer is affected by the stack tracer. It was. Looking into this, I found that the update_function_graph_func() must be called even if the trampoline function is not changed. Thi

[PATCH 1/4] tracing: Add ftrace_trace_stack into __trace_puts/__trace_bputs

2014-07-15 Thread Steven Rostedt
From: "zhangwei(Jovi)" Currently trace option stacktrace is not applicable for trace_printk with constant string argument, the reason is in __trace_puts/__trace_bputs ftrace_trace_stack is missing. In contrast, when using trace_printk with non constant string argument(will call into __trace_prin

char interface to sdio, chdio.c

2014-07-15 Thread Greg KH
Hi Stephen. I had some people ask me about a sdio userspace interface, and ran across the chdio.c file as found in the MSM android kernel trees: https://android.googlesource.com/kernel/msm/+/57b74303d6f033ab04be039379f6661337fb9279 Any reason why this hasn't been submitted upstream? Or has it,

[PATCH v5 1/4] pwm: add CSR SiRFSoc PWM driver

2014-07-15 Thread Huayi Li
PWM controller of CSR SiRFSoC can generate 7 independent outputs. Each output duty cycle can be adjusted by setting the corresponding wait & hold registers. There are 6 external channels (0 to 5) and 1 internal channel (6). Supports a wide frequency range: the source clock divider can be from 2 up

[PATCH] PM / devfreq: Allocate memory using the right data type

2014-07-15 Thread Saravana Kannan
From: Suman Tatiraju Long and int have different sizes on a 64-bit machine. Allocate memory for the time_in_state table using the right data type. Change-Id: I335277674018c0ea759aa0996309d52578ea1fd5 Signed-off-by: Suman Tatiraju Reviewed-by: Saravana Kannan Signed-off-by: Saravana Kannan ---

Re: [GIT] Networking

2014-07-15 Thread David Miller
From: Linus Torvalds Date: Tue, 15 Jul 2014 19:24:24 -0700 > I just thought I'd point out this thing when I noticed. It's not > new, and has been going on, I just reacted to it now Ok, I'll discuss with John the best thing for us moving forward. Thanks. -- To unsubscribe from this list: send th

RE: linux-next: manual merge of the pm tree with the ia64 tree

2014-07-15 Thread Zheng, Lv
Hi, > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Tuesday, July 15, 2014 8:15 PM > > On Tuesday, July 15, 2014 01:56:20 PM Stephen Rothwell wrote: > > > > --Sig_/Cs291xJCrI1kc_+PiCdNT0M > > Content-Type: text/plain; charset=US-ASCII > > Content-Transfer-Encoding: quoted-printable

[PATCH v5 0/4] PWM: add and enable CSR SiRFSoC PWM driver

2014-07-15 Thread Huayi Li
Changes in v5: - select the best source clock which can be divided to a more accurate PWM clock - only enable PWM clock and its source clock when needed Changes in v3: - v4: fix many issues from Thierry's feedbacks Changes in v3: - add "depends on" COMPILE_TEST according to Arnd's feedba

[PATCH v5 3/4] ARM: dts: sirf: fix the pwm-cells and clocks

2014-07-15 Thread Huayi Li
This patch adds missed pwm-cells, clock-names and signal source clock for PWM module. Signed-off-by: Huayi Li --- arch/arm/boot/dts/atlas6.dtsi | 8 ++-- arch/arm/boot/dts/prima2.dtsi | 8 ++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/atlas6.dtsi

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

2014-07-15 Thread Stephen Rothwell
Hi Guenter, On Tue, 15 Jul 2014 12:08:07 -0700 Guenter Roeck wrote: > > > > > Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that > > > > was accepted > > > > a week or so ago. > > > > > > That is in the tip tree and includes the fixups to powerpc and arm. I > > > don't merge

Re: [Patch V3 00/16] Enable support of IOAPIC hotplug on x86 platforms

2014-07-15 Thread Jiang Liu
Hi Konrad, We have found the root cause with your great support. If BIOS assigns an IRQ number for a PCI device, acpi_pci_irq_enable() fails to assign IOAPIC IRQ then due to the check: if (dev->irq > 0) return 0; For a quick workaround, just comment out above

[PATCH v3] PM / devfreq: Add possible_frequencies device attribute

2014-07-15 Thread Saravana Kannan
Some devices use freq_table instead of OPP. For those devices, the available_frequencies sysfs file shows up empty. So, add a possible_frequencies attribute/syfs file that list all the possible frequencies. For devices that use OPP, the output of this file will match available_frequencies. It may

[PATCH 6/6 v2] alpha: Join lines and merge strings for the two lines

2014-07-15 Thread Nicholas Krause
This patch merges lines 92 and 93. In addition it merges the strings on both lines by removing the quotes around the seperate strings. This is needed to remove the final checkpatch error I get from running it on bootpz.c Signed-off-by: Nicholas Krause --- arch/alpha/boot/bootpz.c | 3 +-- 1 fi

[PATCH v5 4/4] ARM: prima2_defconfig: enable PWM and sirf PWM driver

2014-07-15 Thread Huayi Li
Signed-off-by: Huayi Li --- arch/arm/configs/prima2_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/prima2_defconfig b/arch/arm/configs/prima2_defconfig index 23591db..303204a 100644 --- a/arch/arm/configs/prima2_defconfig +++ b/arch/arm/configs/prima2_defconfig

Re: [PATCH] staging: emxx_udc: Fix coding style errors

2014-07-15 Thread Stone Kang
Hi Greg, On Tue, Jul 15, 2014 at 07:21:28PM -0700, Greg Kroah-Hartman wrote: > On Wed, Jul 16, 2014 at 09:16:15AM +0800, Stone Kang wrote: > > Only fixing errors reported by checkpatch.pl, based on the following > > rules: > > 1. '*' should be adjacent to the data name or function name. > > 2. Don

Re: [PATCH] drm/qxl: return IRQ_NONE if it was not our irq

2014-07-15 Thread Jason Wang
On 05/12/2014 04:35 PM, Jason Wang wrote: > Return IRQ_NONE if it was not our irq. This is necessary for the case > when qxl is sharing irq line with a device A in a crash kernel. If qxl > is initialized before A and A's irq was raised during this gap, > returning IRQ_HANDLED in this case will caus

  1   2   3   4   5   6   7   8   9   10   >