RE: [PATCH V1 5/6] watchdog: da9062: DA9062 watchdog driver

2015-05-06 Thread Opensource [Steve Twiss]
On 06 May 2015 17:02 Guenter Roeck wrote: On Wed, May 06, 2015 at 02:54:37PM +, Opensource [Steve Twiss] wrote: On 18 April 2015 16:53 Guenter Roeck wrote: Hi Guenter, Thanks for your comments. On 04/17/2015 07:23 AM, S Twiss wrote: From: S Twiss

[PATCH 06/19] y2038: compile compat time code even when CONFIG_COMPAT is not set

2015-05-06 Thread Arnd Bergmann
For the time being, we use conditional compilation in fs/compat.c and kernel/compat.c to differentiate two cases: a) code that is used for CONFIG_COMPAT_TIME is shared between 32-bit and 64-bit architectures that provide support for existing 32-bit binaries with 32-bit time_t b) code that

[PATCH 10/19] y2038: use __kernel_stat for sys_newstat syscalls

2015-05-06 Thread Arnd Bergmann
This moves over the sys_new{stat,lstat,fstat,fstatat} system calls to use the newly introduced __kernel_stat. On all 64-bit architectures, the layout is the same as 'struct stat', so nothing changes. On 32-bit architectures, we use a trick to '#define __kernel_stat stat' as long as

[PATCH 04/19] y2038: introduce CONFIG_COMPAT_TIME

2015-05-06 Thread Arnd Bergmann
There are a total of system calls (aside from ioctl) that pass a time_t or derived data structure as an argument, and in order to extend time_t to 64-bit, we have to replace them with new system calls and keep providing backwards compatibility. To avoid adding completely new and untested code for

[PATCH v2] gfp: add __GFP_NOACCOUNT

2015-05-06 Thread Vladimir Davydov
Not all kmem allocations should be accounted to memcg. The following patch gives an example when accounting of a certain type of allocations to memcg can effectively result in a memory leak. This patch adds the __GFP_NOACCOUNT flag which if passed to kmalloc and friends will force the allocation

[PATCH 15/19] y2038: introduce timespec64_to_jiffies

2015-05-06 Thread Arnd Bergmann
This is needed to convert do_sigtimedwait to use timespec64. Signed-off-by: Arnd Bergmann a...@arndb.de --- include/linux/jiffies.h | 13 - kernel/time/time.c | 11 ++- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/include/linux/jiffies.h

[PATCH 02/19] initramfs: use vfs_stat/lstat directly

2015-05-06 Thread Arnd Bergmann
sys_newlstat is a system call implementation that is meant for user space, and that copies kernel-internal data structure to the user format, which is not needed for in-kernel users. Further, as we rearrange the system call implementation so we can extend it with 64-bit time_t, the prototype for

[PATCH] sched/core: Add empty 'gov_cfs_update_cpu' function definition for NON-SMP systems

2015-05-06 Thread Abel Vesa
If CONFIG_SMP is not defined the build will fail due to function 'gov_cfs_update_cpu' definition missing. Added empty static inline definition for NON-SMP systems. This patch applies to: https://git.linaro.org/people/mike.turquette/linux.git sched-freq Signed-off-by: Abel Vesa abelv...@gmail.com

Re: [PATCH 3/7] x86/intel_rdt: Support cache bit mask for Intel CAT

2015-05-06 Thread Vikas Shivappa
On Wed, 6 May 2015, Peter Zijlstra wrote: On Mon, May 04, 2015 at 10:30:15AM -0700, Vikas Shivappa wrote: On Sat, 2 May 2015, Peter Zijlstra wrote: There's CAT in your subject, make up your minds already on what you want to call this stuff. We dont have control over the names.It is

Re: [PATCH v2] Support for write stream IDs

2015-05-06 Thread Boaz Harrosh
On 05/06/2015 01:09 AM, Martin K. Petersen wrote: Jens == Jens Axboe ax...@fb.com writes: The only sensible solution is for the kernel to manage the stream IDs. And for them to be plentiful. The storage device is free to ignore them, do LRU or whatever it pleases to manage them if it has an

Re: [PATCH 06/13] KVM: x86: pass the whole hflags field to emulator and back

2015-05-06 Thread Bandan Das
Paolo Bonzini pbonz...@redhat.com writes: On 05/05/2015 17:47, Bandan Das wrote: The hflags field will contain information about system management mode and will be useful for the emulator. Pass the entire field rather than just the guest-mode information. With respect to maintaining

[net-next PATCH v3 2/4] net: macb: Add compatible string for Zynq Ultrascale+ MPSoC

2015-05-06 Thread Harini Katakam
Add compatible string and config structure for Zynq Ultrascale+ MPSoC Signed-off-by: Harini Katakam hari...@xilinx.com Reviewed-by: Punnaiah Choudary Kalluri punn...@xilinx.com --- Added in v3 --- drivers/net/ethernet/cadence/macb.c |8 1 file changed, 8 insertions(+) diff --git

[PATCH v3 1/4] fs: kiocb: introduce IOCB_DONT_DIRTY_PAGE flag for direct IO

2015-05-06 Thread Ming Lei
When direct IO is submitted from kernel, it is often unnecessary to dirty pages, for example of loop, dirtying pages have been considered in the upper filesystem(over loop) side already, and they don't need to be dirtied again. So this patch introduces IOCB_DONT_DIRTY_PAGE flag for direct IO, and

Re: how to have the kernel do udev's job and autoload the right modules ?

2015-05-06 Thread linuxcbon linuxcbon
On Wed, May 6, 2015 at 5:55 PM, Ken Moffat zarniwh...@ntlworld.com wrote: I suggest that you take the time to look at eudev and mdev, and think about how you can use the facilities they offer. I was wishing the kernel would offer some minimal support for network, sound and full screen video for

[PATCH v3 3/4] block: loop: use kthread_work

2015-05-06 Thread Ming Lei
The following patch will use dio/aio to submit IO to backing file, then it isn't good to schedule IO concurrently from work, so use kthread_work. Signed-off-by: Ming Lei ming@canonical.com --- drivers/block/loop.c | 79

Re: tools: Consolidate types.h

2015-05-06 Thread Oleg Nesterov
On 05/06, Borislav Petkov wrote: On Wed, May 06, 2015 at 06:54:00PM +0200, Oleg Nesterov wrote: Hi, I can't build the kernel after git pull, You mean, you can't build perf tool...? No, make bzImage fails, it can't compile arch/x86/vdso/vdso2c In file included from

Re: [RFC v1 05/12] firmware: add firmware signature checking support

2015-05-06 Thread Luis R. Rodriguez
On Wed, May 6, 2015 at 9:57 AM, David Howells dhowe...@redhat.com wrote: I'm not sure how userspace actually passes the firmware blob to the kernel, but I do think that if you can, you should pass the signature separately to the blob. Thanks yeah that is what I was hoping we'd prefer to end up

Re: [PATCH V2 1/6] x86/MCE/AMD: Factor out logging mechanism

2015-05-06 Thread Aravind Gopalakrishnan
On 5/6/2015 12:41 PM, Borislav Petkov wrote: Yeah, let's save us the mce_setup() work in the !MCI_STATUS_VAL case: Sure, thanks for fixing it. +static void __log_error(unsigned int bank, bool threshold_err, u64 misc) +{ + struct mce m; + u64 status; + +

Re: [RFC v1 00/12] kernel/firmware/wireless: firmware digital signature checks

2015-05-06 Thread Luis R. Rodriguez
On Tue, May 05, 2015 at 05:44:18PM -0700, Luis R. Rodriguez wrote: From: Luis R. Rodriguez mcg...@suse.com * first set: [1-4] few fixes and core changes in order to consider digital firmware signature support. Please consider these for integration. Patch 2 generalizes module

[PATCH v3 10/10] ARM: dts: cygnus: Enable NAND support for Cygnus

2015-05-06 Thread Brian Norris
From: Ray Jui r...@broadcom.com Enable NAND support for Broadcom Cygnus SoC Signed-off-by: Ray Jui r...@broadcom.com Signed-off-by: Brian Norris computersforpe...@gmail.com --- arch/arm/boot/dts/bcm-cygnus.dtsi | 20 arch/arm/boot/dts/bcm958300k.dts | 16

[PATCH v3 08/10] mtd: brcsmtb_nand_soc: add iProc support

2015-05-06 Thread Brian Norris
From: Ray Jui r...@broadcom.com Signed-off-by: Ray Jui r...@broadcom.com Signed-off-by: Brian Norris computersforpe...@gmail.com --- drivers/mtd/nand/brcmstb_nand_soc.c | 110 1 file changed, 110 insertions(+) diff --git a/drivers/mtd/nand/brcmstb_nand_soc.c

[PATCH v3 09/10] ARM: bcm63138: add NAND DT support

2015-05-06 Thread Brian Norris
Signed-off-by: Brian Norris computersforpe...@gmail.com --- arch/arm/boot/dts/bcm63138.dtsi| 17 + arch/arm/boot/dts/bcm963138dvt.dts | 12 2 files changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/bcm63138.dtsi b/arch/arm/boot/dts/bcm63138.dtsi index

Re: [PATCH v4 08/20] clk: tegra: pll: Add logic for handling SDM data

2015-05-06 Thread Rhyland Klein
On 5/6/2015 9:57 AM, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, May 05, 2015 at 03:16:08PM -0400, Rhyland Klein wrote: On 5/4/2015 7:01 PM, Benson Leung wrote: On Mon, May 4, 2015 at 9:37 AM, Rhyland Klein rkl...@nvidia.com wrote: @@ -495,6 +505,28 @@ static int

[PATCH] x86: Deinline cpuid_eax and friends

2015-05-06 Thread Denys Vlasenko
cpuid_e{a,b,c,d}x() functions compile to 44 bytes of machine code each. On x86 allyesconfig build they have 48 callsites. Deinlining all four of them shrinks kernel by about 1k: text data bss dec hex filename 82434909 22255384 20627456 125317749 7783275 vmlinux.before

Re: [PATCH v2] Support for write stream IDs

2015-05-06 Thread Jens Axboe
On 05/06/2015 08:26 AM, Peter Zijlstra wrote: On Tue, May 05, 2015 at 06:09:18PM -0400, Martin K. Petersen wrote: Jens == Jens Axboe ax...@fb.com writes: Jens I'm not trying to make a shortcut. I deliberately do not want to Jens make ID generation/assignment part of the kernel. There's no

[PATCH RFC 06/15] mm: use pagefault_disabled() to check for disabled pagefaults

2015-05-06 Thread David Hildenbrand
Now that the pagefault disabled counter is in place, we can replace the in_atomic() checks by pagefault_disabled() checks. If a fault happens while in_atomic(), it can only be a bug in the code. Either a pagefault_disable() call is missing or the specific *in_atomic() variants of uaccess should

[PATCH RFC 03/15] uaccess: clarify that uaccess may only sleep if pagefaults are enabled

2015-05-06 Thread David Hildenbrand
In general, non-atomic variants of user access functions must not sleep if pagefaults are disabled. Let's update all relevant comments in uaccess code. This also reflects the might_sleep() checks in might_fault(). Signed-off-by: David Hildenbrand d...@linux.vnet.ibm.com ---

[PATCH 2/4] context_tracking: Inherit TIF_NOHZ through forks instead of context switches

2015-05-06 Thread Frederic Weisbecker
TIF_NOHZ is used by context_tracking to force syscall slow-path on every task in order to track userspace roundtrips. As such, it must be set on all running tasks. It's currently explicitly inherited through context switches. There is no need to do it on this fast-path though. The flag could be

[PATCH 4/4] nohz: Set isolcpus when nohz_full is set

2015-05-06 Thread Frederic Weisbecker
From: Chris Metcalf cmetc...@ezchip.com nohz_full is only useful with isolcpus also set, since otherwise the scheduler has to run periodically to try to determine whether to steal work from other cores. Accordingly, when booting with nohz_full=xxx on the command line, we should act as if

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-05-06 Thread Ulf Hansson
On 6 May 2015 at 16:43, Alan Stern st...@rowland.harvard.edu wrote: On Wed, 6 May 2015, Ulf Hansson wrote: On 30 April 2015 at 16:53, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 30 Apr 2015, Ulf Hansson wrote: I hesitated to send this reply, since it might add confusion. If

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-06 Thread Sebastian Andrzej Siewior
On 05/06/2015 06:08 PM, Nicolae Rosia wrote: Hi, I believe I'm also affected by this BUG. I'm receiving lots of 0 and 1 (ASCII, as presented by cat /dev/ttymxcX) and RX buffer is overflowing. the firmware only supports imx6 series, AFAIK, I checked with Freescale imx6 support team, due to

Re: [PATCH v5 2/4] iio: core: Introduce IIO configfs support

2015-05-06 Thread Daniel Baluta
On 05/04/2015 10:59 PM, Lars-Peter Clausen wrote: On 05/04/2015 12:50 PM, Daniel Baluta wrote: This creates an IIO configfs subystem named iio, with a default triggers group. Triggers group is used for handling software triggers. To create a new software trigger one must create a directory

Re: [PATCH v4 19/20] clk: tegra210: add support for Tegra210 clocks

2015-05-06 Thread Rhyland Klein
On 5/6/2015 10:51 AM, Thierry Reding wrote: * PGP Signed by an unknown key On Mon, May 04, 2015 at 12:37:39PM -0400, Rhyland Klein wrote: [...] diff --git a/drivers/clk/tegra/clk-tegra210.c b/drivers/clk/tegra/clk-tegra210.c [...] +static struct div_nmp plld_nmp = { +.divm_shift =

[PATCH 11/19] y2038: introduce and use struct __kernel_rusage

2015-05-06 Thread Arnd Bergmann
'struct rusage' is not compatible with user space that defines time_t as 64-bit. While there will never be an overflow of the timeval members in this structure, the current definition breaks any program that relies on the member to be a timeval. This introduces a new struct __kernel_rusage that

[PATCH 18/19] y2038: introduce jiffies_to_timespec64

2015-05-06 Thread Arnd Bergmann
Needed for converting sys_sched_rr_get_interval Signed-off-by: Arnd Bergmann a...@arndb.de --- include/linux/jiffies.h | 12 +--- kernel/time/time.c | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h index

[PATCH 03/19] y2038: introduce linux/compat_time.h header

2015-05-06 Thread Arnd Bergmann
We want to reuse all the compat syscall handling for native syscalls on 32-bit architectures when dealing with 32-bit time_t types. This moves all time-related system call declarations from include/linux/compat.h to include/linux/compat_time.h, along with the associated data structures and

Re: [PATCH 1/2] timer: Avoid waking up an idle-core by migrate running timer

2015-05-06 Thread Eric Dumazet
On Tue, 2015-05-05 at 15:00 +0200, Thomas Gleixner wrote: On Sat, 25 Apr 2015, Eric Dumazet wrote: On Thu, 2015-04-23 at 14:45 +0200, Thomas Gleixner wrote: You definitely have a point from the high throughput networking perspective. Though in a power optimizing scenario with

[PATCH 1/1] ARM: dts: Add keep-power-in-suspend to WiFi SDIO node for Snow

2015-05-06 Thread Javier Martinez Canillas
The Marvell mwifiex driver prevents the system to enter into a suspend state if the card power is not preserved during a suspend/resume cycle. So Suspend-to-RAM and Suspend-to-idle are failing on Exynos5250 Snow. Add the keep-power-in-suspend Power Management property to the SDIO/MMC node so the

[PATCH 09/19] y2038: introduce struct __kernel_stat

2015-05-06 Thread Arnd Bergmann
The stat() family of system calls uses up to three different data structures: 'struct __kernel_oldstat', 'struct stat', and 'struct stat64', which were extended in various ways over time. Unfortunately, on most 32-bit architectures and even some 64-bit machines (parisc), all of them use 32-bit

[PATCH 01/19] compat: remove compat_printk

2015-05-06 Thread Arnd Bergmann
After 7e8e385aaf6e (x86/compat: Remove sys32_vm86_warning), this function has become unused, so we can remove it as well. Signed-off-by: Arnd Bergmann a...@arndb.de --- fs/compat.c| 14 -- include/linux/compat.h | 1 - kernel/sysctl.c| 10 -- 3 files

[PATCH 01/10] powerpc: export of_get_ibm_chip_id function

2015-05-06 Thread Dan Streetman
Export the of_get_ibm_chip_id() function. This will be used by the PowerNV NX-842 driver. Signed-off-by: Dan Streetman ddstr...@ieee.org --- arch/powerpc/kernel/prom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index

[net-next PATCH v3 1/4] devicetree: Add compatible string for Zynq Ultrascale+ MPSoC

2015-05-06 Thread Harini Katakam
Add cdns,zynqmp-gem to be used for Zynq Ultrascale+ MPSoC. Signed-off-by: Harini Katakam hari...@xilinx.com Reviewed-by: Punnaiah Choudary Kalluri punn...@xilinx.com --- v3: No changes v2: Updated SoC name --- Documentation/devicetree/bindings/net/macb.txt |1 + 1 file changed, 1

Re: [RFC v1 05/12] firmware: add firmware signature checking support

2015-05-06 Thread David Howells
Luis R. Rodriguez mcg...@do-not-panic.com wrote: As with module signing, we do a very simple search for a particular string appended to the firmware. There's both a config option and a boot parameter which control whether we accept or fail with unsigned firmware and firmware that are signed

Re: [PATCH 07/10] block: kill merge_bvec_fn() completely

2015-05-06 Thread Ming Lin
On Wed, May 6, 2015 at 12:26 AM, Christoph Hellwig h...@lst.de wrote: -static int chunk_aligned_read(struct mddev *mddev, struct bio * raid_bio) +static int __chunk_aligned_read(struct mddev *mddev, struct bio *raid_bio) Call it raid5_read_one_chunk or something similar descriptive? {

Re: [PATCH] arm64: Preserve the user r/w register tpidr_el0 on context switch and fork in compat mode

2015-05-06 Thread Will Deacon
On Sun, May 03, 2015 at 05:24:18PM +0100, André Hentschel wrote: From: André Hentschel n...@dawncrow.de Since commit a4780adeefd042482f624f5e0d577bf9cdcbb760 the user writeable TLS register on ARM is preserved per thread. This patch does it analogous to the ARM patch, but for compat mode

Re: [PATCH 02/11] arm/mach-keystone: remove legacy __cpuinit sections that crept in

2015-05-06 Thread santosh shilimkar
On 5/6/2015 3:37 AM, Russell King - ARM Linux wrote: On Mon, Apr 27, 2015 at 06:47:51PM -0400, Paul Gortmaker wrote: We removed __cpuinit support (leaving no-op stubs) quite some time ago. However two crept back in as of commit 5eb3da7246a5b2dfac9f38 (ARM: keystone: Switch over to coherent

Re: [Gta04-owner] [PATCH 0/3] tty slave device support - version 3.

2015-05-06 Thread Mark Rutland
On Wed, May 06, 2015 at 05:09:20PM +0100, Dr. H. Nikolaus Schaller wrote: Hi Mark, Am 06.05.2015 um 16:15 schrieb Mark Rutland mark.rutl...@arm.com: No, I am not playing devil’s advocate (which would imply that I am doing this for fun to tease the dog), but I feel I have to be the

Re: [PATCH V2] Test compaction of mlocked memory

2015-05-06 Thread Sri
Thanks! -Sri On 05/06/2015 01:41 PM, Shuah Khan wrote: On 05/06/2015 11:28 AM, Sri wrote: Hi Shuah, This is what I see when I check the patch against the script, linux-stable$ ./scripts/checkpatch.pl 0001-Test-compaction-of-mlocked-memory.patch WARNING: added, moved or deleted file(s),

[PATCH RFC 10/15] arm/futex: UP futex_atomic_cmpxchg_inatomic() relies on disabled preemption

2015-05-06 Thread David Hildenbrand
The !CONFIG_SMP implementation of futex_atomic_cmpxchg_inatomic() requires preemption to be disabled to guarantee mutual exclusion. Let's make this explicit. This patch is based on a patch by Sebastian Andrzej Siewior on the -rt branch. Signed-off-by: David Hildenbrand d...@linux.vnet.ibm.com

[PATCH RFC 01/15] uaccess: count pagefault_disable() levels in pagefault_disabled

2015-05-06 Thread David Hildenbrand
Until now, pagefault_disable()/pagefault_enabled() used the preempt count to track whether in an environment with pagefaults disabled (can be queried via in_atomic()). This patch introduces a separate counter in task_struct to count the level of pagefault_disable() calls. We'll keep manipulating

Re: [PATCH 09/13] KVM: x86: save/load state on SMM switch

2015-05-06 Thread Bandan Das
Paolo Bonzini pbonz...@redhat.com writes: .. + + selector = get_smstate(u32, smbase, 0x7fa8 + n * 4); Probably a good idea to use #defines for all the offsets here and elsewhere. Uff, those would be a lot of offsets. It's just as easy to get the #defines right, as it is to get them

[PATCH RFC 02/15] mm, uaccess: trigger might_sleep() in might_fault() with disabled pagefaults

2015-05-06 Thread David Hildenbrand
Commit 662bbcb2747c (mm, sched: Allow uaccess in atomic with pagefault_disable()) removed might_sleep() checks for all user access code (that uses might_fault()). The reason was to disable wrong sleep in atomic warnings in the following scenario: pagefault_disable() rc = copy_to_user(...)

Re: [PATCH 0/13] Parallel struct page initialisation v4

2015-05-06 Thread Waiman Long
On 05/06/2015 06:22 AM, Mel Gorman wrote: On Wed, May 06, 2015 at 08:12:46AM +0100, Mel Gorman wrote: On Tue, May 05, 2015 at 03:25:49PM -0700, Andrew Morton wrote: On Tue, 5 May 2015 23:13:29 +0100 Mel Gormanmgor...@suse.de wrote: Alternatively, the page allocator can go off and

[PATCH v3 03/10] mtd: nand: add NAND driver for Broadcom STB NAND controller

2015-05-06 Thread Brian Norris
This core originated in Set-Top Box chips (BCM7xxx) but is used in a variety of other Broadcom chips, including some BCM63xxx, BCM33xx, and iProc/Cygnus. It's been used only on ARM and MIPS SoCs, so restrict it to those architectures. There are multiple revisions of this core throughout the

[PATCH v3 01/10] mtd: nand: add common DT init code

2015-05-06 Thread Brian Norris
These are already-documented common bindings for NAND chips. Let's handle them in nand_base. If NAND controller drivers need to act on this data before bringing up the NAND chip (e.g., fill out ECC callback functions, change HW modes, etc.), then they can do so between calling nand_scan_ident()

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-06 Thread Darren Hart
On 5/6/15, 10:28 AM, Shuah Khan shua...@osg.samsung.com wrote: On 03/27/2015 04:17 PM, Darren Hart wrote: The futextest testsuite [1] provides functional, stress, and performance tests for the various futex op codes. Those tests will be of more use to futex developers if they are included with

Re: [PATCH 3/7] x86/intel_rdt: Support cache bit mask for Intel CAT

2015-05-06 Thread Vikas Shivappa
On Wed, 6 May 2015, Peter Zijlstra wrote: On Mon, May 04, 2015 at 10:30:15AM -0700, Vikas Shivappa wrote: Will fix the whitespace issues (including before return) or other possible coding convention issues. It could be more of a common sense to have this in checkpatch rather that manually

Re: [Gta04-owner] [PATCH 0/3] tty slave device support - version 3.

2015-05-06 Thread Dr. H. Nikolaus Schaller
Hi Pavel, Am 06.05.2015 um 16:28 schrieb Pavel Machek pa...@ucw.cz: On Wed 2015-05-06 13:50:29, Dr. H. Nikolaus Schaller wrote: Hi Pavel, Am 06.05.2015 um 11:27 schrieb Pavel Machek pa...@ucw.cz: On Wed 2015-05-06 07:19:31, Dr. H. Nikolaus Schaller wrote: Hi Peter, Am 05.05.2015 um

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-06 Thread Nicolae Rosia
Hi, I reverted this patch. I am going to send a revert to Greg tomorrow including why this is done and CC stable. I haven't yet received a working SDMA firmware nor a hint where it is. You reverted this patch and it works again? I believe it is this one [1], but I will be only able to test

Re: [PATCH] numa,sched: only consider less busy nodes as numa balancing destination

2015-05-06 Thread Peter Zijlstra
On Wed, May 06, 2015 at 11:41:28AM -0400, Rik van Riel wrote: Peter, Mel, I think it may be time to stop waiting for the impedance mismatch between the load balancer and NUMA balancing to be resolved, and try to just avoid the issue in the NUMA balancing code... That's a wee bit unfair since

Re: [RFC PATCH 00/13] KVM: x86: SMM support

2015-05-06 Thread Radim Krčmář
2015-05-06 13:18+0200, Paolo Bonzini: On 05/05/2015 20:40, Radim Krčmář wrote: - Whole SMRAM is writeable. Spec says that parts of state should be read-only. (This seems hard to fix without trapping all writes.) Read-only here just means that you shouldn't touch it. It says Some

Re: [PATCH v2] Support for write stream IDs

2015-05-06 Thread Jens Axboe
On 05/05/2015 04:09 PM, Martin K. Petersen wrote: Jens == Jens Axboe ax...@fb.com writes: Jens I'm not trying to make a shortcut. I deliberately do not want to Jens make ID generation/assignment part of the kernel. There's no Jens reason that can't exist outside of the kernel, in a libstreamid

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-06 Thread Shuah Khan
On 03/27/2015 04:17 PM, Darren Hart wrote: The futextest testsuite [1] provides functional, stress, and performance tests for the various futex op codes. Those tests will be of more use to futex developers if they are included with the kernel source. Copy the core infrastructure and the

[KERNEL BUG] do_timer/tick_handover_do_timer 3.10.17

2015-05-06 Thread pawandeep oza
Hi, Linux version 3.10.17 Problem Statement: The timekeeping/do_timer seems to be stopped and the core (in this case it is core0) which is aborting is stuck in the loop which relies on jiffies. The root cause/Reason: we have tickless kernel, so cpu goes to deep idle state, and stop sched

Re: [PATCH] clk: tegra: Update struct tegra_clk_pll_params kerneldoc

2015-05-06 Thread Benson Leung
On Wed, May 6, 2015 at 6:43 AM, Thierry Reding thierry.red...@gmail.com wrote: From: Thierry Reding tred...@nvidia.com Benson Leung pointed out that the kerneldoc for this structure has become stale. Update the field descriptions to match the structure content. Reported-by: Benson Leung

[PATCH v3 00/10] mtd: nand: add Broadcom NAND controller support

2015-05-06 Thread Brian Norris
Hi, This is version 3 of support for the Broadcom BCM7xxx Set-Top Box NAND controller. This controller has been used in a variety of Broadcom SoCs. This series now adds support for a few new chips: BCM63138, and the iProc chip family. These add an additional 6 new patches to the original 4. If

[PATCH v3 02/10] Documentation: devicetree: add binding doc for Broadcom NAND controller

2015-05-06 Thread Brian Norris
Signed-off-by: Brian Norris computersforpe...@gmail.com --- .../devicetree/bindings/mtd/brcm,brcmstb-nand.txt | 110 + 1 file changed, 110 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/brcm,brcmstb-nand.txt diff --git

[PATCH v3 05/10] Documentation: devicetree: brcmstb_nand: add 'brcm,nand-soc' bindings

2015-05-06 Thread Brian Norris
Signed-off-by: Brian Norris computersforpe...@gmail.com --- .../devicetree/bindings/mtd/brcm,brcmstb-nand.txt | 39 +- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mtd/brcm,brcmstb-nand.txt

Re: [PATCH 2/3] string: provide strscpy() and strscpy_truncate()

2015-05-06 Thread Geert Uytterhoeven
On Wed, May 6, 2015 at 5:59 PM, Dan Carpenter dan.carpen...@oracle.com wrote: We actually do have a __must_check tag so it's easy enough to force people to check. A different option is we could make it trigger a People tend to ignore compiler warnings... WARN_ONCE(). #define strXcpy(dest,

Re: how to have the kernel do udev's job and autoload the right modules ?

2015-05-06 Thread Ken Moffat
On Wed, May 06, 2015 at 01:54:27AM +0100, linuxcbon linuxcbon wrote: On Tue, May 5, 2015 at 11:26 PM, Ken Moffat zarniwh...@ntlworld.com wrote: I don't think you have ever given any context about what you are trying to do. It looks to me as if there are two alternatives: (...) I am trying

Re: tools: Consolidate types.h

2015-05-06 Thread Oleg Nesterov
Hi, I can't build the kernel after git pull, In file included from /usr/include/asm/types.h:4, from ./tools/include/linux/types.h:9, from ./include/uapi/linux/elf.h:4, from arch/x86/vdso/vdso2c.c:66:

[PATCH 05/10] drivers/crypto/nx: rename nx-842.c to nx-842-pseries.c

2015-05-06 Thread Dan Streetman
Move the entire NX-842 driver for the pSeries platform from the file nx-842.c to nx-842-pseries.c. This is required by later patches that add NX-842 support for the PowerNV platform. This patch does not alter the content of the pSeries NX-842 driver at all, it only changes the filename.

[PATCH v3 4/4] block: loop: support DIO AIO

2015-05-06 Thread Ming Lei
to run - linux kernel: 4.1.0-rc2-next-20150506 with the patchset - the loop block is over one image on HDD. - linux psync, 16 jobs, size 400M, ext4 over loop block - test result: IOPS from fio output 2) Throughput result

[PATCH v3 0/4] block: loop: improve loop with AIO

2015-05-06 Thread Ming Lei
Hi Guys, There are about 3 advantages to use direct I/O and AIO on read/write loop's backing file: 1) double cache can be avoided, then memory usage gets decreased a lot 2) not like user space direct I/O, there isn't cost of pinning pages 3) avoid context switch for obtaining good throughput -

[PATCH v3 2/4] block: loop: set QUEUE_FLAG_NOMERGES for request queue of loop

2015-05-06 Thread Ming Lei
It doesn't make sense to enable merge because the I/O submitted to backing file is handled page by page. Signed-off-by: Ming Lei ming@canonical.com --- drivers/block/loop.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/block/loop.c b/drivers/block/loop.c index

Re: [PATCH v4 19/20] clk: tegra210: add support for Tegra210 clocks

2015-05-06 Thread Rhyland Klein
On 5/6/2015 10:51 AM, Thierry Reding wrote: * PGP Signed by an unknown key On Mon, May 04, 2015 at 12:37:39PM -0400, Rhyland Klein wrote: [...] diff --git a/drivers/clk/tegra/clk-tegra210.c b/drivers/clk/tegra/clk-tegra210.c [...] +static struct div_nmp plld_nmp = { +.divm_shift =

Re: tools: Consolidate types.h

2015-05-06 Thread Borislav Petkov
On Wed, May 06, 2015 at 07:30:35PM +0200, Oleg Nesterov wrote: On 05/06, Borislav Petkov wrote: On Wed, May 06, 2015 at 06:54:00PM +0200, Oleg Nesterov wrote: Hi, I can't build the kernel after git pull, You mean, you can't build perf tool...? No, make bzImage fails, it can't

Re: A desktop environment[1] kernel wishlist

2015-05-06 Thread Chirantan Ekbote
On Tue, May 5, 2015 at 4:47 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Monday, May 04, 2015 04:30:00 PM Chirantan Ekbote wrote: snip Ok so now I can talk about how lucid sleep fits into all of this. The power manager only considers a suspend attempt successful if the write to

Re: [PATCH V2] Test compaction of mlocked memory

2015-05-06 Thread Shuah Khan
On 05/06/2015 11:28 AM, Sri wrote: Hi Shuah, This is what I see when I check the patch against the script, linux-stable$ ./scripts/checkpatch.pl 0001-Test-compaction-of-mlocked-memory.patch WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #72: new file mode

[PATCH RFC 14/15] mips: properly lock access to the fpu

2015-05-06 Thread David Hildenbrand
Let's always disable preemption and pagefaults when locking the fpu, so we can be sure that the owner won't change in between. This is a preparation for pagefault_disable() not touching preemption anymore. Signed-off-by: David Hildenbrand d...@linux.vnet.ibm.com ---

[PATCH RFC 15/15] uaccess: decouple preemption from the pagefault logic

2015-05-06 Thread David Hildenbrand
As the fault handlers now all rely on the pagefault_disabled() checks and implicit preempt_disable() calls by pagefault_disable() have been made explicit, we can completely rely on the pagefault_disableD counter. So let's no longer touch the preempt count when disabling/enabling pagefaults. After

[PATCH RFC 12/15] futex: clarify that preemption doesn't have to be disabled

2015-05-06 Thread David Hildenbrand
As arm64 and arc have no special implementations for !CONFIG_SMP, mutual exclusion doesn't seem to rely on preemption. Let's make it clear in the comments that preemption doesn't have to be disabled when accessing user space in the futex code, so we can remove preempt_disable() from

Re: [PATCH 1/2] gfp: add __GFP_NOACCOUNT

2015-05-06 Thread Johannes Weiner
On Wed, May 06, 2015 at 04:58:14PM +0200, Michal Hocko wrote: On Tue 05-05-15 12:45:42, Vladimir Davydov wrote: [...] diff --git a/include/linux/gfp.h b/include/linux/gfp.h index 97a9373e61e8..37c422df2a0f 100644 --- a/include/linux/gfp.h +++ b/include/linux/gfp.h @@ -30,6 +30,7 @@

[PATCH RFC 13/15] powerpc: enable_kernel_altivec() requires disabled preemption

2015-05-06 Thread David Hildenbrand
enable_kernel_altivec() has to be called with disabled preemption. Let's make this explicit, to prepare for pagefault_disable() not touching preemption anymore. Signed-off-by: David Hildenbrand d...@linux.vnet.ibm.com --- arch/powerpc/lib/vmx-helper.c | 11 ++- drivers/crypto/vmx/aes.c

[PATCH v3 06/10] mtd: brcmstb_nand: add SoC-specific support

2015-05-06 Thread Brian Norris
The STB NAND controller is integrated into various non-STB SoCs, and those SoCs integrate things like interrupts and busing differently. Add support for masking/clearing interrupts via a custom hook, as well as preparing/unpreparing the data bus for data transfers. Does not support any new SoCs

[PATCH v3 07/10] mtd: brcsmtb_nand_soc: add support for BCM63138

2015-05-06 Thread Brian Norris
This SoC just has its custom interrupt status bits. Signed-off-by: Brian Norris computersforpe...@gmail.com --- drivers/mtd/nand/brcmstb_nand_soc.c | 69 + 1 file changed, 69 insertions(+) diff --git a/drivers/mtd/nand/brcmstb_nand_soc.c

[PATCH v3 04/10] ARM: bcm7445: add NAND to DTS

2015-05-06 Thread Brian Norris
Signed-off-by: Brian Norris computersforpe...@gmail.com --- arch/arm/boot/dts/bcm7445-bcm97445svmb.dts | 23 +++ arch/arm/boot/dts/bcm7445.dtsi | 22 ++ 2 files changed, 45 insertions(+) diff --git a/arch/arm/boot/dts/bcm7445-bcm97445svmb.dts

Re: [PATCH V3 net-next 1/1] hv_netvsc: Use the xmit_more skb flag to optimize signaling the host

2015-05-06 Thread Eric Dumazet
On Wed, 2015-05-06 at 11:20 -0700, K. Y. Srinivasan wrote: Based on the information given to this driver (via the xmit_more skb flag), we can defer signaling the host if more packets are on the way. This will help make the host more efficient since it can potentially process a larger batch of

Re: [PATCH v2 RESEND] drivers: hwspinlock: add CSR atlas7 implementation

2015-05-06 Thread Bjorn Andersson
On Wed, Mar 25, 2015 at 4:03 PM, Barry Song 21cn...@gmail.com wrote: From: Wei Chen wei.c...@csr.com Add hwspinlock support for the CSR atlas7 SoC. [..] diff --git a/Documentation/devicetree/bindings/hwspinlock/sirf,hwspinlock.txt

RE: [v4 0/3] prerequisite changes for VT-d posted-interrupts

2015-05-06 Thread Wu, Feng
Hi Thomas, Ping.. Since Liu Jiang's IRQ work has already been in the tip tree for a while, I think It is time to send this series again based on the x86/apic branch of tip tree. It would be very appreciated if you can have a look at this series! Thanks, Feng -Original Message- From:

Re: [PATCH 0/13] Parallel struct page initialisation v4

2015-05-06 Thread Waiman Long
On 05/06/2015 01:58 PM, Waiman Long wrote: On 05/06/2015 06:22 AM, Mel Gorman wrote: On Wed, May 06, 2015 at 08:12:46AM +0100, Mel Gorman wrote: On Tue, May 05, 2015 at 03:25:49PM -0700, Andrew Morton wrote: On Tue, 5 May 2015 23:13:29 +0100 Mel Gormanmgor...@suse.de wrote: Alternatively,

RE: [PATCH] powerpc/dts: Add 1588 timer node for eTSEC

2015-05-06 Thread yangbo...@freescale.com
Thanks. Pls see my comments below. -Original Message- From: Wood Scott-B07421 Sent: Thursday, May 07, 2015 4:44 AM To: Lu Yangbo-B47093 Cc: linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc/dts: Add 1588 timer node for eTSEC On Wed, 2015-05-06 at

RE: [BUG] ThinkPad T520 overheating with P-State driver

2015-05-06 Thread Doug Smythies
On 2015.05.06 13:37 Martin Steigerwald wrote: I get frequencies like: 3080566 3068945 3009082 202 Please know that the intel_pstate driver reports actual CPU frequencies over the last sample interval. In terms of heat, they don't mean anything, you would have to look at how much time

[RFC 4/4] PCI: Introduce helpers to manage pci_dev-irq and pci_dev-irq_managed

2015-05-06 Thread Jiang Liu
Introduce three helpers to manage pci_dev-irq and pci_dev-irq_managed, which helps to improve maintenance. Signed-off-by: Jiang Liu jiang@linux.intel.com --- arch/x86/pci/intel_mid_pci.c |4 ++-- arch/x86/pci/irq.c | 10 -- drivers/acpi/pci_irq.c | 10

[RFC 0/4] Introduce a mechanism to allocate PCI IRQ on demand

2015-05-06 Thread Jiang Liu
This patch set introduces a mechanism to allocate PCI IRQ on demand and free it when not used anymore by hooking pci_device_probe() and pci_device_remove(). It will be used to track IOAPIC pin usage on x86 so we could support IOAPIC hot-removal. The patch set passes Fengguang's 0day test suite

[RFC 2/4] PCI, MSI: Optionally free legacy PCI IRQ when enabling MSI/MSI-X

2015-05-06 Thread Jiang Liu
Once PCI MSI/MSI-X is enabled by the device driver, PCI device won't make use of legacy PCI IRQ until PCI MSI/MSI-X is disabled again. So optionally free legacy PCI IRQ when enabling MSI/MSI-X and reallocate when disabling MSI/MSI-X. Signed-off-by: Jiang Liu jiang@linux.intel.com ---

[RFC 3/4] PCI, x86: Allocate PCI IRQ on demand and free it when not used anymore

2015-05-06 Thread Jiang Liu
To support IOAPIC hotplug, we need to correctly manage IOAPIC pin usage, which is to allocate IRQs on demand and free them when not used anymore. So use pcibios_alloc_irq() and pcibios_free_irq() to dynamically allocate and free PCI IRQs. Also remove obseleted code mp_should_keep_irq().

Re: [PATCH] staging: rtl8192u: ieee80211: Silence sparse warning

2015-05-06 Thread Gaston Gonzalez
On 27/04/15 07:12, Dan Carpenter wrote: Can't we just export the tkip.c function? regards, dan carpenter Hi Dan, (sorry for the delayed response) The inputs of the two implementations of tkip_mixing_phase2() differ in one parameter: - ieee80211_crypt_tkip.c expects 'const u16 *TTAK' -

[RFC 1/4] PCI: Add hooks to allocate/free IRQ resources when binding/unbinding driver

2015-05-06 Thread Jiang Liu
Add two hook points pcibios_{alloc|free}_irq() into PCI core, which will be called when binding/unbinding PCI device drivers. Then PCI arch code may hook into these two points to allocate IRQ resources on demand and free them when not used anymore. Signed-off-by: Jiang Liu

[PATCH v3 2/8] ipmi/powernv: Convert to irq event interface

2015-05-06 Thread Alistair Popple
Convert the opal ipmi driver to use the new irq interface for events. Signed-off-by: Alistair Popple alist...@popple.id.au Cc: Corey Minyard miny...@acm.org Cc: openipmi-develo...@lists.sourceforge.net --- Corey, If this looks ok can you please ack it? Michael Ellerman will then take the whole

<    3   4   5   6   7   8   9   10   11   12   >