[GIT PULL] /dev/random fixes for 3.16

2014-07-18 Thread Theodore Ts'o
The following changes since commit 1795cd9b3a91d4b5473c97f491d63892442212ab: Linux 3.16-rc5 (2014-07-13 14:04:33 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random.git tags/random_for_linus_stable for you to fetch changes up to

Re: [PATCH] random: check for increase of entropy_count because of signed conversion

2014-07-18 Thread Theodore Ts'o
On Sat, Jul 19, 2014 at 01:35:48AM +0200, Hannes Frederic Sowa wrote: > > + nfrac = ibytes << (ENTROPY_SHIFT + 3); > > + if (entropy_count < 0) { > > Minor nit: maybe also add an unlikely() here? Yep, done. > > + if ((unsigned) entropy_count > nfrac) > > (unsigned) -> (size_t) > > size_t

[GIT PULL] ARM: SoC fixes for 3.16-rc

2014-07-18 Thread Olof Johansson
Hi Linus, The following changes since commit cacadb4ff969a82628d47db87b5a531be466b134: Merge tag 'samsung-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into fixes (2014-07-12 21:19:21 -0700) are available in the git repository at:

Re: [PATCH V3] netxen: fix ethtool rx_dropped information in ethtool get_ethtool_stats()

2014-07-18 Thread Ethan Zhao
在 2014年7月19日,上午2:21,Rajesh Borundia 写道: >> -Original Message- >> From: Ethan Zhao [mailto:ethan.z...@oracle.com] >> Sent: Friday, July 18, 2014 9:13 AM >> To: Manish Chopra; Sony Chacko; Rajesh Borundia; netdev >> Cc: linux-kernel; ethan.ker...@gmail.com; Ethan Zhao >> Subject: [PATCH

Re: [PATCH] parisc: Remove FIXME comment

2014-07-18 Thread Nick Krause
On Sat, Jul 19, 2014 at 1:20 AM, James Bottomley wrote: > On Fri, 2014-07-18 at 22:25 -0400, Nick Krause wrote: >> On Fri, Jul 18, 2014 at 5:03 PM, James Bottomley >> wrote: >> > On Fri, 2014-07-18 at 16:37 -0400, Nicholas Krause wrote: >> >> The comment for size of frame not being needed is

Re: [PATCH] parisc: Remove FIXME comment

2014-07-18 Thread James Bottomley
On Fri, 2014-07-18 at 22:25 -0400, Nick Krause wrote: > On Fri, Jul 18, 2014 at 5:03 PM, James Bottomley > wrote: > > On Fri, 2014-07-18 at 16:37 -0400, Nicholas Krause wrote: > >> The comment for size of frame not being needed is incorrect , the > >> function called needs this parameter. > > > >

[PATCH] mips: Remove uneeded line in cmp_smp_finish

2014-07-18 Thread Nicholas Krause
This patch removes a unneeded line from this file as stated by the fix me in this file. Signed-off-by: Nicholas Krause --- arch/mips/kernel/smp-cmp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/mips/kernel/smp-cmp.c b/arch/mips/kernel/smp-cmp.c index fc8a515..61bfa20 100644 ---

3.14.12 and option_instat_callback with 3G DONGLE

2014-07-18 Thread ressy66
Since upgrading from 3.12.24 kernel to 3.14.10, and today, .12 kernel log and dmesg are flooded with constant messages option1 ttyUSB0: option_instat_callback: error -2 The device still works, it sends and receives SMS's as well, I tried setting verbose usb debug to see if it offers any more

Re: [RFC] sched_clock: Track monotonic raw clock

2014-07-18 Thread Richard Cochran
On Fri, Jul 18, 2014 at 06:43:39PM +0100, Pawel Moll wrote: > > This code definitely needs more work and testing (I'm not 100% > sure if the Kp and Ki I've picked for the proportional and > integral terms are universal), I wouldn't bet on it. > but for now wanted to see > if this approach makes

Re: How to automate checkpatch && get_maintainers && git send-email of commits range?

2014-07-18 Thread Nick Krause
> Hi Steve > > Why not share your quilt skills, say by adding a file in the Document > directory? > > Hillf > -- > 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

Re: How to automate checkpatch && get_maintainers && git send-email of commits range?

2014-07-18 Thread Hillf Danton
On Sat, Jul 19, 2014 at 9:31 AM, Steven Rostedt wrote: > On Fri, Jul 18, 2014 at 06:22:15PM -0400, Theodore Ts'o wrote: >> >> And then think very hard about which patches people need to see in >> order to be able to evaluate a patch. For example, if you have patch >> 1 out of a series which adds

Re: [PATCH 2/4] ARM: add IPI tracepoints

2014-07-18 Thread Steven Rostedt
On Fri, 18 Jul 2014 22:55:12 -0400 (EDT) Nicolas Pitre wrote: > Any comments / ACKs on the other patches? I'd like to see 1/4 to 3/4 > (and your patch) merged upstream during the next window. 4/4 is up for > debate. You can add my Acked-by for patches 1,2 and 3, after the clean up of the

Hello

2014-07-18 Thread Akif Sayyed
Hi friend, hope you are fine, My name is Benita Sayyed, I am lonely, tender, caring, faithful and honest girl, I am ready to give all my care, love, attention and devotion.I promise to send my recent pictures and tell you more about myself. Regards. Benita Sayyed -- To unsubscribe from this list:

[RFC PATCH 1/1] rcu: Consolidate kthread launches

2014-07-18 Thread Pranith Kumar
Hi Paul, I looked at why my previous change removing checks for rcu_scheduler_fully_active failed to boot. The reason is that rcu_init() is called earlier than rest_init() from within which the early_init() is being called. rcu_init() calls rcu_cpu_notify() which in turn calls

Re: [PATCH 2/4] ARM: add IPI tracepoints

2014-07-18 Thread Nicolas Pitre
On Fri, 18 Jul 2014, Steven Rostedt wrote: > On Fri, 18 Jul 2014 16:55:42 -0400 (EDT) > Nicolas Pitre wrote: > > > > > Here's the patch I have at the head of the series now, with the above > > ugliness changed to an unconditional __tracepoint_string attribute. > > > > I was thinking of

Re: [PATCH] usb-core: Remove Fix mes in file hcd.c

2014-07-18 Thread Nick Krause
On Fri, Jul 18, 2014 at 10:45 PM, Nick Krause wrote: > Sorry didn't run spell check. I will resend this patch with the > correct information > as needed. Thanks for the advice, Sasha. > > Cheers Nick > > On Fri, Jul 18, 2014 at 10:36 PM, Sasha Levin wrote: >> On 07/18/2014 01:34 PM, Nicholas

Re: [PATCH] usb-core: Remove Fix mes in file hcd.c

2014-07-18 Thread Nick Krause
Sorry didn't run spell check. I will resend this patch with the correct information as needed. Thanks for the advice, Sasha. Cheers Nick On Fri, Jul 18, 2014 at 10:36 PM, Sasha Levin wrote: > On 07/18/2014 01:34 PM, Nicholas Krause wrote: >> I am removing two fix mes in this file as after

Re: [PATCH 3.12 000/170] 3.12.25-stable review

2014-07-18 Thread Satoru Takeuchi
At Fri, 18 Jul 2014 06:47:32 -0700, Guenter Roeck wrote: > > On 07/18/2014 05:16 AM, Jiri Slaby wrote: > > On 07/18/2014 02:12 PM, Jiri Slaby wrote: > >> This is the start of the stable review cycle for the 3.12.25 release. > >> There are 170 patches in this series, all will be posted as a

Re: [PATCH] usb-core: Remove Fix mes in file hcd.c

2014-07-18 Thread Sasha Levin
On 07/18/2014 01:34 PM, Nicholas Krause wrote: > I am removing two fix mes in this file as after dicussing then it seems > there is no reason to check against Null for usb_device as it can never > be NULL and this is check is therefore not needed. > > Signed-off-by: Nicholas Krause Please

Re: [PATCH] parisc: Remove FIXME comment

2014-07-18 Thread Nick Krause
On Fri, Jul 18, 2014 at 5:03 PM, James Bottomley wrote: > On Fri, 2014-07-18 at 16:37 -0400, Nicholas Krause wrote: >> The comment for size of frame not being needed is incorrect , the >> function called needs this parameter. > > Actually, that's not correct. The point of the FIXME is that

Re: Build Errors when building usb directory

2014-07-18 Thread Nick Krause
On Fri, Jul 18, 2014 at 7:29 PM, Randy Dunlap wrote: > On 07/18/2014 12:59 PM, Nick Krause wrote: >> On Fri, Jul 18, 2014 at 2:10 PM, Randy Dunlap wrote: >>> On 07/18/2014 10:45 AM, Nick Krause wrote: Hey Greg and others, When I built the usb directory today to check a patch I am also

[PATCH] kbuild: add support to generate LLVM bitcode files

2014-07-18 Thread Vinícius Tinti
Allows kbuild to generate LLVM bitcode files with the .ll extension when building with Clang. # c code CC=clang make kernel/pid.ll # asm code CC=clang make arch/arm/kernel/calls.ll Signed-off-by: Vinícius Tinti Signed-off-by: Behan Webster --- Makefile | 7 +++

Re: How to automate checkpatch && get_maintainers && git send-email of commits range?

2014-07-18 Thread Steven Rostedt
On Fri, Jul 18, 2014 at 06:22:15PM -0400, Theodore Ts'o wrote: > > And then think very hard about which patches people need to see in > order to be able to evaluate a patch. For example, if you have patch > 1 out of a series which adds a new function, and then patches 2 > through 1000 modify a

[PATCH 1/1] dmaengine: pl330: Check if the DMA descriptor is NULL

2014-07-18 Thread Javier Martinez Canillas
Commit 6079d38 ("dmaengine: pl330: Remove useless xfer_cb indirection") removed the __callback() function which created an unnecessary level of indirection to execute the tranfer callback .xfer_cb Unfortunately the commit also changed the semantics slightly since that function used to check if

Updated PEBS patchkit for IVB-Haswell

2014-07-18 Thread Andi Kleen
This addresses all earlier comments. Especially perf mem report for mem-stores now works correctly again. The Haswell PEBS list unfortunately isn't simple anymore to report all the mem_op flags correctly, but at least it's more correct than before. Also fixed a bug. Hopefully should be ready for

[PATCH 1/3] perf, x86: Revamp PEBS event selection

2014-07-18 Thread Andi Kleen
From: Andi Kleen The basic idea is that it does not make sense to list all PEBS events individually. The list is very long, sometimes outdated and the hardware doesn't need it. If an event does not support PEBS it will just not count, there is no security issue. We need to only list events that

[PATCH 2/3] perf, x86: Don't mark DataLA addresses as store

2014-07-18 Thread Andi Kleen
From: Andi Kleen Haswell supports reporting the data address for a range of PEBS events, including: UOPS_RETIRED.ALL MEM_UOPS_RETIRED.STLB_MISS_LOADS MEM_UOPS_RETIRED.STLB_MISS_STORES MEM_UOPS_RETIRED.LOCK_LOADS MEM_UOPS_RETIRED.SPLIT_LOADS MEM_UOPS_RETIRED.SPLIT_STORES

[PATCH 3/3] perf, x86: Fix haswell mem hierarchy flags reporting

2014-07-18 Thread Andi Kleen
From: Andi Kleen This fixes a bug introduced with commit 722e76e60f2775c21b087ff12c5e678cf0ebcaaf Author: Stephane Eranian Date: Thu May 15 17:56:44 2014 +0200 fix Haswell precise store data source encoding When returning early we need to return the complete value of the memory

Re: [PATCH 2/2] perf, x86: Don't mark DataLA addresses as store

2014-07-18 Thread Andi Kleen
On Tue, Jul 15, 2014 at 12:49:43AM +0200, Stephane Eranian wrote: > On Tue, Jul 15, 2014 at 12:39 AM, Andi Kleen wrote: > >> I have a problem with this patch. > >> > >> It makes: perf mem -t store rec record OP_NA for the store. > >> It was recording OP_STORE before. > >> > >> I think we need to

Re: [PATCH 1/1] rcu: Fix build failure

2014-07-18 Thread Paul E. McKenney
On Fri, Jul 18, 2014 at 01:30:52PM -0400, Pranith Kumar wrote: > Hi Paul, > > While running the kvm rcutorture test scripts, I encountered a build failure > caused by > > Commit 918179699e4a ("rcu: Don't keep timekeeping CPU tick running for > non-nohz_full= CPUs") > > This commit fixes the

[PATCH 04/10] nohz: Appropriate timekeeper kick on sysidle break

2014-07-18 Thread Frederic Weisbecker
When a CPU wakes up from idle and finds out that the timekeeper is sleeping, we need to kick it such that it switches from dynticks to periodic mode to maintain its timekeeping duty on behalf of the newly awoken CPU. However we aren't using the right API for that. rcu_kick_nohz_cpu() is aimed at

[PATCH 10/10] nohz: Warn on illegal timekeeper switch in nohz full

2014-07-18 Thread Frederic Weisbecker
In full dynticks idle mode, the timekeeper should never be set to another CPU than 0. Lets enforce that through a dedicated mutator. Cc: Ingo Molnar Cc: Paul E. McKenney Cc: Peter Zijlstra Cc: Steven Rostedt Cc: Thomas Gleixner Cc: Viresh Kumar Signed-off-by: Frederic Weisbecker ---

[PATCH 05/10] smp: Fast path check on IPI list

2014-07-18 Thread Frederic Weisbecker
When we enqueue a remote irq work, we trigger the same IPI as those raised by smp_call_function_*() family. So when we receive such IPI, we check both irq_work and smp_call_function queues. Thus if we trigger a remote irq work, we'll likely find the smp_call_function queue empty unless we collide

[PATCH 02/10] nohz: Kick full dynticks timer targets with an empty IPI

2014-07-18 Thread Frederic Weisbecker
While we enqueue a new timer on a dynticks target, we must send it an IPI so that it reschedules the next tick accordingly. Now all we need for that is to run irq_exit() on the target. Hence an empty IRQ is way enough. We don't need to run tick_nohz_full_check() and all the overhead that comes

[GIT PULL] x86 fixes for v3.16-rc6

2014-07-18 Thread H. Peter Anvin
Hi Linus, A couple of key fixes and a few less critical ones. The main ones are: 1. to add a .bss section to the PE/COFF headers when building with EFI stub. 2. to invoke the correct paravirt magic when building the espfix page tables. Unfortunately both of these areas also have at

[PATCH 08/10] nohz: Fetch timekeeping max deferment only for timekeeper

2014-07-18 Thread Frederic Weisbecker
We fetch it unconditionally from the tick stop code whereas only the timekeeper, or the CPU that carried that duty last, needs it. Fetching the timekeeping max deferment should be lightweight but it still involves a few read side barriers and a seqcount that may well be cache cold for

[PATCH 07/10] nohz: Enforce timekeeping on CPU 0

2014-07-18 Thread Frederic Weisbecker
The timekeeper gets initialized to the value of the CPU where the first clockevent device is setup. This works well because the timekeeper can be any online CPU in most configs. Full dynticks has its own requirement though and needs the timekeeper to always be 0. And this requirement seem to

[PATCH 06/10] nohz: Define meaningful symbol for nohz full timekeeper

2014-07-18 Thread Frederic Weisbecker
The nohz full timekeeper is always CPU 0. Lets add it to the list of special tick_do_timer_cpu symbols for more self explanatory code. Cc: Ingo Molnar Cc: Paul E. McKenney Cc: Peter Zijlstra Cc: Steven Rostedt Cc: Thomas Gleixner Cc: Viresh Kumar Signed-off-by: Frederic Weisbecker ---

[PATCH 03/10] rcu: Kick full dynticks CPU on extended grace period with a void IRQ

2014-07-18 Thread Frederic Weisbecker
When a full dynticks CPU stays for too long in the kernel, it may fail to report quiescent states due to it missing ticks and therefore it can delay the completion of grace periods. A way to solve this is to send an IPI to the incriminated CPU such that it can check rcu_needs_cpu() and reschedule

[PATCH 09/10] nohz: Switch nohz full timekeeper to dynticks idle on top of sysidle detection

2014-07-18 Thread Frederic Weisbecker
In full dynticks, the CPU 0 carries the timekeeping duty on behalf of all other CPUs in the system. This way full dynticks are left undisturbed on this regard. Of course this prevents CPU 0 from entering in dynticks idle mode because any CPU may need uptodate timekeeping at any time.

[RFC PATCH 00/10] nohz: Support sysidle (and some more cleanups)

2014-07-18 Thread Frederic Weisbecker
Currently when nohz full is active, the CPU 0 handles timekeeping on behalf of all other CPUs. This prevents it from ever entering in dynticks idle mode. This patchset uses the RCU sysidle feature to allow that. The CPU 0 can know safely when to sleep and when to wake up, the sysidle code

[PATCH 01/10] irq_work: Introduce void irq work

2014-07-18 Thread Frederic Weisbecker
Being able to trigger an empty IPI appears to be useless in the first place. Yet it is expected to be very useful for callers who just need to execute irq_enter() or irq_exit() to a remote target. More precisely this is going to be useful for the nohz subsystem which often needs a remote CPU to

Re: [PATCH] sched_clock: Avoid corrupting hrtimer tree during suspend

2014-07-18 Thread John Stultz
On 07/18/2014 04:24 PM, Stephen Boyd wrote: > On 07/18/14 15:42, John Stultz wrote: >> If its a regression (and needs -stable backports) it needs to go in via >> tip/timers/urgent, and not via the regular merge window. >> >> Whats the additional risk -stable wise for canceling the timer during >>

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

2014-07-18 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

Re: [PATCH] kbuild: devtest - new make target for build all and run tests

2014-07-18 Thread Shuah Khan
On 07/18/2014 05:29 PM, Sam Ravnborg wrote: On Fri, Jul 18, 2014 at 02:44:34PM -0600, Shuah Khan wrote: Add a new devtest make target to enable developer testing. This new target does full build (make all) and then runs selftests. Signed-off-by: Shuah Khan --- Makefile | 11 +++ 1

Re: [PATCH 1/6] PM / Hibernate: Create a Radix-Tree to store memory bitmap

2014-07-18 Thread Rafael J. Wysocki
On Friday, July 18, 2014 01:57:18 PM Joerg Roedel wrote: > From: Joerg Roedel > > This patch adds the code to allocate and build the radix > tree to store the memory bitmap. The old data structure is > left in place until the radix tree implementation is > finished. > > Signed-off-by: Joerg

Re: [PATCH] random: check for increase of entropy_count because of signed conversion

2014-07-18 Thread Hannes Frederic Sowa
Hi, On Fr, 2014-07-18 at 18:07 -0400, Theodore Ts'o wrote: > From: Hannes Frederic Sowa > > The expression entropy_count -= ibytes << (ENTROPY_SHIFT + 3) could > actually increase entropy_count if during assignment of the unsigned > expression on the RHS (mind the -=) we reduce the value modulo

Re: Build Errors when building usb directory

2014-07-18 Thread Randy Dunlap
On 07/18/2014 12:59 PM, Nick Krause wrote: > On Fri, Jul 18, 2014 at 2:10 PM, Randy Dunlap wrote: >> On 07/18/2014 10:45 AM, Nick Krause wrote: >>> Hey Greg and others, >>> When I built the usb directory today to check a patch I am also >>> sending to. I seem to hitting >>> a few compiler errors

Re: [PATCH 27/31] tile: Use this_cpu_ptr() for hardware counters

2014-07-18 Thread Tejun Heo
Applied to wq/for-3.17-consistent-ops. If this patch should be routed differently, please holler. Thanks. -- tejun -- 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

Re: [PATCH 29/31] avr32: Replace __get_cpu_var with __this_cpu_write

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:44PM -0500, Christoph Lameter wrote: > Replace the single use of __get_cpu_var in avr32 with > __this_cpu_write. > > Cc: Haavard Skinnemoen > Acked-by: Hans-Christian Egtvedt > Signed-off-by: Christoph Lameter Applied to wq/for-3.17-consistent-ops. If this patch

Re: [PATCH 26/31] tile: Replace __get_cpu_var uses

2014-07-18 Thread Tejun Heo
Applied to wq/for-3.17-consistent-ops. If this patch should be routed differently, please holler. Thanks. -- tejun -- 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

Re: [PATCH 28/31] blackfin: Replace __get_cpu_var uses

2014-07-18 Thread Tejun Heo
Applied to wq/for-3.17-consistent-ops. If this patch should be routed differently, please holler. Thanks. -- tejun -- 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

Re: [PATCH 24/31] alpha: Replace __get_cpu_var

2014-07-18 Thread Tejun Heo
Applied to wq/for-3.17-consistent-ops. If this patch should be routed differently, please holler. Thanks. -- tejun -- 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

Re: [PATCH 23/31] ia64: Replace __get_cpu_var uses

2014-07-18 Thread Tejun Heo
Applied to wq/for-3.17-consistent-ops. If this patch should be routed differently, please holler. Thanks. -- tejun -- 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

Re: [PATCH 22/31] s390: cio driver &__get_cpu_var replacements

2014-07-18 Thread Tejun Heo
Applied to wq/for-3.17-consistent-ops. If this patch should be routed differently, please holler. Thanks. -- tejun -- 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

Re: [PATCH 21/31] s390: Replace __get_cpu_var uses

2014-07-18 Thread Tejun Heo
Applied to wq/for-3.17-consistent-ops. If this patch should be routed differently, please holler. Thanks. -- tejun -- 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

Re: [PATCH] kbuild: devtest - new make target for build all and run tests

2014-07-18 Thread Sam Ravnborg
On Fri, Jul 18, 2014 at 02:44:34PM -0600, Shuah Khan wrote: > Add a new devtest make target to enable developer testing. This > new target does full build (make all) and then runs selftests. > > Signed-off-by: Shuah Khan > --- > Makefile | 11 +++ > 1 file changed, 11 insertions(+) > >

Re: [PATCH 19/31] MIPS: Replace __get_cpu_var uses in FPU emulator.

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:34PM -0500, Christoph Lameter wrote: > > From: David Daney > > The use of __this_cpu_inc() requires a fundamental integer type, so > change the type of all the counters to unsigned long, which is the > same width they were before, but not wrapped in local_t. > >

Re: [PATCH 20/31] mips: Replace __get_cpu_var uses

2014-07-18 Thread Tejun Heo
Applied to wq/for-3.17-consistent-ops. If this patch should be routed differently, please holler. Thanks. -- tejun -- 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

Re: [PATCH 18/31] arm: Replace __this_cpu_ptr with raw_cpu_ptr

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:33PM -0500, Christoph Lameter wrote: > __this_cpu_ptr is being phased out. So replace with raw_cpu_ptr. > > Cc: Russell King > Cc: Catalin Marinas > CC: Will Deacon > Signed-off-by: Christoph Lameter Applied to wq/for-3.17-consistent-ops. If this patch should

Re: [PATCH 17/31] uv: Replace __get_cpu_var

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:32PM -0500, Christoph Lameter wrote: > Use __this_cpu_read instead. > > Cc: Hedi Berriche > Cc: Mike Travis > Cc: Dimitri Sivanich > Signed-off-by: Christoph Lameter Applied to wq/for-3.17-consistent-ops. If this patch should be routed differently, please

Re: [PATCH 15/31] irqchips: Replace __this_cpu_ptr uses

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:30PM -0500, Christoph Lameter wrote: > [ARM specific] > > These are generally replaced with raw_cpu_ptr. However, in > gic_get_percpu_base() we immediately dereference the pointer. This is > equivalent to a raw_cpu_read. So use that operation there. > > Cc:

Re: [PATCH 12/31] md: Replace __this_cpu_ptr with raw_cpu_ptr

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:27PM -0500, Christoph Lameter wrote: > __this_cpu_ptr is being phased out. > > Signed-off-by: Christoph Lameter Applied to wq/for-3.17-consistent-ops. If this patch should be routed differently, please holler. Thanks. -- tejun -- To unsubscribe from this list:

Re: [PATCH 13/31] metag: Replace __get_cpu_var uses for address calculation

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:28PM -0500, Christoph Lameter wrote: > Replace __get_cpu_var uses for address calculation with this_cpu_ptr(). > > Acked-by: James Hogan > Signed-off-by: Christoph Lameter Applied to wq/for-3.17-consistent-ops. If this patch should be routed differently, please

Re: [PATCH 14/31] drivers/net/ethernet/tile: __get_cpu_var call introduced in 3.14

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:29PM -0500, Christoph Lameter wrote: > Another case was merged for 3.14-rc1 > > Signed-off-by: Christoph Lameter Applied to wq/for-3.17-consistent-ops. If this patch should be routed differently, please holler. Thanks. -- tejun -- To unsubscribe from this list:

Re: [PATCH 11/31] net: Replace get_cpu_var through this_cpu_ptr

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:26PM -0500, Christoph Lameter wrote: > Replace uses of get_cpu_var for address calculation through this_cpu_ptr. > > Cc: net...@vger.kernel.org > Cc: Eric Dumazet > Acked-by: David S. Miller > Signed-off-by: Christoph Lameter Applied to

Re: Power-managing devices that are not of interest at some point in time

2014-07-18 Thread Rafael J. Wysocki
On Friday, July 18, 2014 04:16:50 PM Dmitry Torokhov wrote: > On Saturday, July 19, 2014 12:55:09 AM Rafael J. Wysocki wrote: > > On Saturday, July 19, 2014 12:19:39 AM Rafael J. Wysocki wrote: > > > On Friday, July 18, 2014 02:45:40 PM Dmitry Torokhov wrote: > > > > On Friday, July 18, 2014

Re: [PATCH 10/31] watchdog: Replace __raw_get_cpu_var uses

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:25PM -0500, Christoph Lameter wrote: > Most of these are the uses of &__raw_get_cpu_var for address calculation. > > touch_softlockup_watchdog_sync() uses __raw_get_cpu_var to write to > per cpu variables. Use __this_cpu_write instead. > > Cc: Wim Van Sebroeck >

Re: [PATCH 08/31] drivers/clocksource: Replace __get_cpu_var used for address calculation

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:23PM -0500, Christoph Lameter wrote: > Replace __get_cpu_var used for address calculation with this_cpu_ptr. > > Acked-by: James Hogan > Signed-off-by: Christoph Lameter Applied to wq/for-3.17-consistent-ops. If this patch should be routed differently, please

Re: [PATCH 09/31] drivers/net/ethernet/tile: Replace __get_cpu_var uses for address calculation

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:24PM -0500, Christoph Lameter wrote: > Replace with this_cpu_ptr. > > Acked-by: Chris Metcalf > Signed-off-by: Christoph Lameter Applied to wq/for-3.17-consistent-ops. If this patch should be routed differently, please holler. Thanks. -- tejun -- To

Re: [PATCH 05/31] drivers/char/random: Replace __get_cpu_var uses

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:20PM -0500, Christoph Lameter wrote: > A single case of using __get_cpu_var for address calculation. > > Cc: Arnd Bergmann > Cc: Greg Kroah-Hartman > Signed-off-by: Christoph Lameter Applied to wq/for-3.17-consistent-ops. If this patch should be routed

Re: [PATCH 07/31] drivers/oprofile: Replace __get_cpu_var uses for address calculation

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:22PM -0500, Christoph Lameter wrote: > Replace the uses of __get_cpu_var for address calculation with this_cpu_ptr. > > Cc: Robert Richter > Cc: oprofile-l...@lists.sf.net > Signed-off-by: Christoph Lameter Applied to wq/for-3.17-consistent-ops. If this patch

Re: [PATCH 06/31] drivers/cpuidle: Replace __get_cpu_var uses for address calculation

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:21PM -0500, Christoph Lameter wrote: > All of these are for address calculation. Replace with > this_cpu_ptr(). > > Cc: Daniel Lezcano > Cc: linux...@vger.kernel.org > Acked-by: Rafael J. Wysocki > [cpufreq changes] > Signed-off-by: Christoph Lameter Applied to

Re: [PATCH 04/31] block: Replace __this_cpu_ptr with raw_cpu_ptr

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:19PM -0500, Christoph Lameter wrote: > __this_cpu_ptr is being phased out use raw_cpu_ptr instead which was > introduced in 3.15-rc1. > > Cc: Jens Axboe > Signed-off-by: Christoph Lameter Applied to wq/for-3.17-consistent-ops. If this patch should be routed

Re: [PATCH 03/31] scheduler: Replace __get_cpu_var with this_cpu_ptr

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:18PM -0500, Christoph Lameter wrote: > Convert all uses of __get_cpu_var for address calculation to use > this_cpu_ptr instead. > > Cc: Peter Zijlstra > Acked-by: Ingo Molnar > Signed-off-by: Christoph Lameter Applied to wq/for-3.17-consistent-ops. If this patch

Re: [PATCH 01/31] kernel misc: Replace __get_cpu_var uses

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:16PM -0500, Christoph Lameter wrote: > Replace uses of __get_cpu_var for address calculation with this_cpu_ptr. > > Cc: a...@linux-foundation.org > Signed-off-by: Christoph Lameter Applied to wq/for-3.17-consistent-ops. Thanks. -- tejun -- To unsubscribe from

Re: [PATCH 13/19] ARM: s5pv210: move debug-macro.S into the common space

2014-07-18 Thread Tomasz Figa
Hi Kukjin, On 18.07.2014 21:38, Kukjin Kim wrote: > On 07/16/14 09:56, Tomasz Figa wrote: >> On 16.07.2014 02:53, Kukjin Kim wrote: >>> Kukjin Kim wrote: On 07/05/14 02:48, Tomasz Figa wrote: > Move debug-macro.S from mach/include to include/debug where > all other common debug

Re: [PATCH/linux-next] Documentation:Docbook: Fix file locations in gadget.tmpl

2014-07-18 Thread Stephen Rothwell
Hi Felipe, On Fri, 18 Jul 2014 10:42:32 -0500 Felipe Balbi wrote: > > already in my tree, should be in linux-next already. If not today, > tomorrow. Well, Monday (logical tomorrow :-)) -- Cheers, Stephen Rothwells...@canb.auug.org.au signature.asc Description: PGP

Re: [PATCH] sched_clock: Avoid corrupting hrtimer tree during suspend

2014-07-18 Thread Stephen Boyd
On 07/18/14 15:42, John Stultz wrote: > If its a regression (and needs -stable backports) it needs to go in via > tip/timers/urgent, and not via the regular merge window. > > Whats the additional risk -stable wise for canceling the timer during > suspend and starting it back up during resume? >

Re: [PATCH] staging: android: Fixed missing blank line

2014-07-18 Thread Greg KH
On Fri, Jul 18, 2014 at 10:17:54AM +0530, Sanjeev Sharma wrote: > This patch will add an blank line after > declaration reported by checkpatch.pl script. > > Signed-off-by: Sanjeev Sharma > --- > drivers/staging/android/sw_sync.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: Power-managing devices that are not of interest at some point in time

2014-07-18 Thread Dmitry Torokhov
On Saturday, July 19, 2014 12:55:09 AM Rafael J. Wysocki wrote: > On Saturday, July 19, 2014 12:19:39 AM Rafael J. Wysocki wrote: > > On Friday, July 18, 2014 02:45:40 PM Dmitry Torokhov wrote: > > > On Friday, July 18, 2014 11:59:18 PM Rafael J. Wysocki wrote: > > > > On Friday, July 18, 2014

Re: [PATCH] Staging: vt6655: apply kernel coding style to wCommandTimerWait function

2014-07-18 Thread Greg KH
On Fri, Jul 18, 2014 at 09:35:13PM +0300, Igor Bezukh wrote: > Since there is a lot of stuff that need to be changed in order to meet the > kernel > coding style in wcmd.c file, I've decided to fix function-per-patch. > The following changes were made in vCommandTimerWait function: > > - Camel

Re: [PATCH 1/2] Staging: comedi: adl_pci9118: commenting style issue fixed

2014-07-18 Thread Greg KH
On Fri, Jul 18, 2014 at 11:13:07PM +0300, Sam Asadi wrote: > A 'quoted string split across lines' issue fixed, while a better use of > language applied to the comment. > > Signed-off-by: Sam Asadi > --- > drivers/staging/comedi/drivers/adl_pci9118.c |3 +-- > 1 file changed, 1 insertion(+),

Re: [PATCH 25/25] ipack: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Greg Kroah-Hartman
On Fri, Jul 18, 2014 at 05:59:16PM +0200, Samuel Iglesias Gonsálvez wrote: > On Fri, 2014-07-18 at 17:27 +0200, Benoit Taine wrote: > > We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to > > meet > > kernel coding style guidelines. This issue was reported by checkpatch. > >

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

2014-07-18 Thread Tejun Heo
Sorry about the delay. On Wed, Jul 16, 2014 at 09:28:55AM +0800, Lai Jiangshan wrote: > On 07/14/2014 12:05 PM, Lai Jiangshan wrote: > > Simply unfold the code of start_worker() into create_worker() and > > remove the original start_worker() and create_and_start_worker(). > > > > The only

Re: [PATCH 2/2] workqueue: remove the argument @wakeup from worker_set_flags()

2014-07-18 Thread Tejun Heo
On Fri, Jul 18, 2014 at 06:38:26PM -0400, Tejun Heo wrote: > On Wed, Jul 16, 2014 at 06:09:59PM +0800, Lai Jiangshan wrote: > > worker_set_flags() doesn't necessarily wake next worker and the @wakeup > > can be removed, the caller can use the following conbination instead > > when needed: > > > >

Re: [PATCH 1/2] workqueue: remove unneeded test before wake up next worker

2014-07-18 Thread Tejun Heo
On Fri, Jul 18, 2014 at 06:05:14PM -0400, Tejun Heo wrote: > On Wed, Jul 16, 2014 at 06:09:58PM +0800, Lai Jiangshan wrote: > > In this code: > > if ((worker->flags & WORKER_UNBOUND) && need_more_worker(pool)) > > wake_up_worker(pool); > > > > the first test is unneeded. Even the

[PATCH] ARM: Don't oops when userspace executes kgdb break instructions.

2014-07-18 Thread Omar Sandoval
Don't break into kgdb when userspace executes the kernel break instructions (KGDB_BREAKINST and KGDB_COMPILED_BREAK). The kernel will oops in kgdb_handle_exception. Signed-off-by: Omar Sandoval --- The following program will immediately cause a kernel oops: .globl _start _start: udf

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

2014-07-18 Thread Tejun Heo
Hello, On Wed, Jul 16, 2014 at 02:56:50PM +0800, Lai Jiangshan wrote: > @@ -2300,11 +2300,6 @@ repeat: > move_linked_works(work, scheduled, ); > > process_scheduled_works(rescuer); > - spin_unlock_irq(>lock); > - > -

Re: How to automate checkpatch && get_maintainers && git send-email of commits range?

2014-07-18 Thread Joe Perches
On Fri, 2014-07-18 at 15:47 -0700, Joe Perches wrote: > On Fri, 2014-07-18 at 18:22 -0400, Theodore Ts'o wrote: > > and get_maintainers.pl. > I think checkpatch Umm, make that get_maintainer... > is pretty good about cc'ing mostly the > right folk by default. -- To unsubscribe from this list:

Re: [REGRESSION] Boot hang with 939f04bec printk: enable interrupts before calling console_trylock_for_printk()

2014-07-18 Thread Andreas Bombe
On Thu, Jul 17, 2014 at 10:31:37AM +0200, Jan Kara wrote: > On Wed 16-07-14 23:34:08, Andreas Bombe wrote: > > On Mon, Jul 14, 2014 at 10:35:27AM +0200, Jan Kara wrote: > > > On Sun 29-06-14 00:50:50, Andreas Bombe wrote: > > > > None of the post 3.15 kernel boot for me. They all hang at the GRUB

Re: How to automate checkpatch && get_maintainers && git send-email of commits range?

2014-07-18 Thread Joe Perches
On Fri, 2014-07-18 at 18:22 -0400, Theodore Ts'o wrote: > On Fri, Jul 18, 2014 at 05:38:30PM +0300, Andrey Utkin wrote: > > Is there script for automated checkpatch.pl && get_maintainers.pl && > > git send-email for range of commits? I see none. Would it be welcome > > to submit such one to kernel

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

2014-07-18 Thread Tejun Heo
On Wed, Jul 16, 2014 at 02:56:36PM +0800, Lai Jiangshan wrote: > 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

Re: [PATCH] sched_clock: Avoid corrupting hrtimer tree during suspend

2014-07-18 Thread John Stultz
On 07/18/2014 03:38 PM, Stephen Boyd wrote: > On 07/18/14 15:25, John Stultz wrote: >> On 07/18/2014 03:09 PM, Stephen Boyd wrote: >>> During suspend we call sched_clock_poll() to update the epoch and >>> accumulated time and reprogram the sched_clock_timer to fire >>> before the next wrap-around

Re: [RFC] sched_clock: Track monotonic raw clock

2014-07-18 Thread Peter Zijlstra
On Fri, Jul 18, 2014 at 10:22:50PM +0200, Peter Zijlstra wrote: > So the generic stuff seems optimized for 32bit arch, short clocks and > seems to hard assume the clock is globally consistent. > > The x86 sched_clock code is optimized for 64bit, has a full 64bit clock > and cannot ever assume the

Re: [PATCH] sched_clock: Avoid corrupting hrtimer tree during suspend

2014-07-18 Thread Stephen Boyd
On 07/18/14 15:25, John Stultz wrote: > On 07/18/2014 03:09 PM, Stephen Boyd wrote: >> During suspend we call sched_clock_poll() to update the epoch and >> accumulated time and reprogram the sched_clock_timer to fire >> before the next wrap-around time. Unfortunately, >> sched_clock_poll() doesn't

Re: [PATCH 2/2] workqueue: remove the argument @wakeup from worker_set_flags()

2014-07-18 Thread Tejun Heo
On Wed, Jul 16, 2014 at 06:09:59PM +0800, Lai Jiangshan wrote: > worker_set_flags() doesn't necessarily wake next worker and the @wakeup > can be removed, the caller can use the following conbination instead > when needed: > > worker_set_flags(); > if (need_more_worker(pool)) >

Re: Power-managing devices that are not of interest at some point in time

2014-07-18 Thread Rafael J. Wysocki
On Saturday, July 19, 2014 12:19:39 AM Rafael J. Wysocki wrote: > On Friday, July 18, 2014 02:45:40 PM Dmitry Torokhov wrote: > > On Friday, July 18, 2014 11:59:18 PM Rafael J. Wysocki wrote: > > > On Friday, July 18, 2014 02:26:21 PM Dmitry Torokhov wrote: > > > > On Friday, July 18, 2014

[PATCH v2 8/7] seccomp: Document two-phase seccomp and arch-provided seccomp_data

2014-07-18 Thread Andy Lutomirski
The description of how arches should implement seccomp filters was still strictly correct, but it failed to describe the newly available optimizations. Signed-off-by: Andy Lutomirski --- I lost this somehow. Here it as an an extra patch. If I end up sending a v3, I'll fold it in.

Re: [PATCH v2 3/7] seccomp: Allow arch code to provide seccomp_data

2014-07-18 Thread Andy Lutomirski
On Fri, Jul 18, 2014 at 3:16 PM, Kees Cook wrote: > On Fri, Jul 18, 2014 at 2:18 PM, Andy Lutomirski wrote: >> populate_seccomp_data is expensive: it works by inspecting >> task_pt_regs and various other bits to piece together all the >> information, and it's does so in multiple partially

  1   2   3   4   5   6   7   8   9   10   >