Re: [PATCHv4 12/24] thp: PMD splitting without splitting compound page

2015-04-02 Thread Kirill A. Shutemov
On Wed, Apr 01, 2015 at 12:08:35PM +0530, Aneesh Kumar K.V wrote: Kirill A. Shutemov kirill.shute...@linux.intel.com writes: Current split_huge_page() combines two operations: splitting PMDs into tables of PTEs and splitting underlying compound page. This patch changes split_huge_pmd()

Re: [tip:perf/core] bpf: Fix the build on BPF_SYSCALL= y !CONFIG_TRACING kernels, make it more configurable

2015-04-02 Thread Alexei Starovoitov
On 4/2/2015 7:30 AM, tip-bot for Ingo Molnar wrote: Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 2 Apr 2015 16:28:06 +0200 bpf: Fix the build on BPF_SYSCALL=y !CONFIG_TRACING kernels, make it more configurable Thanks for the fix. I've tried this combination and it was fine,

Re: [Linux-nvdimm] [PATCH] pmem: Add prints at module load and unload

2015-04-02 Thread Boaz Harrosh
On 04/02/2015 06:39 PM, Dan Williams wrote: On Thu, Apr 2, 2015 at 8:31 AM, Boaz Harrosh b...@plexistor.com wrote: Hi Christoph, Ingo Please consider this small patch below just a small print at module load/unload so to know at user systems how things progressed. As it is now, we know

Re: [PATCH] x86, aperture: Check for GART before accessing GART registers

2015-04-02 Thread Aravind Gopalakrishnan
On 4/2/2015 5:01 AM, Ingo Molnar wrote: * Aravind Gopalakrishnan aravind.gopalakrish...@amd.com wrote: GART registers are not present in newer processors (Fam15h, Model 10h and later). So, avoid accesses to GART registers in PCI config space by returning early in early_gart_iommu_check() and

Re: userspace breakage in linux/nfsd/debug.h

2015-04-02 Thread Jeff Layton
On Thu, 02 Apr 2015 10:42:46 -0400 Mark Salter msal...@redhat.com wrote: This patch: commit f895b252d4edf66b2895fb5a7b17a638665f3e1f Author: Jeff Layton jlay...@primarydata.com Date: Mon Nov 17 16:58:04 2014 -0500 sunrpc: eliminate RPC_DEBUG It's always set to

[GIT PULL] xen: regression fixes for 4.0-rc6

2015-04-02 Thread David Vrabel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git stable/for-linus-4.0-rc6-tag xen: regression fixes for 4.0-rc6 - - Fix two regressions in the balloon driver's use of memory hotplug when used

Re: [PATCH] mtd: Add simple read disturb test

2015-04-02 Thread Fabio Estevam
On Thu, Apr 2, 2015 at 11:13 AM, Richard Weinberger rich...@nod.at wrote: + ret = mtdtest_erase_eraseblock(mtd, i); + if (ret) { + err = ret; + goto out; + } Why not just do like this instead?

Re: [PATCH] Btrfs: prevent deletion of mounted subvolumes

2015-04-02 Thread David Sterba
On Wed, Apr 01, 2015 at 08:49:54PM -0700, Omar Sandoval wrote: Hm, yeah, that's unfortunate, thanks for pointing that out. It looks like we can get the subvolume ID reliably: diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 05fef19..a74ddb3 100644 --- a/fs/btrfs/super.c +++

Re: [PATCH] mtd: Add simple read disturb test

2015-04-02 Thread Fabio Estevam
On Thu, Apr 2, 2015 at 11:56 AM, Richard Weinberger rich...@nod.at wrote: It is not *much* better. It is just a matter of taste. ... and instructions cycles as well ;-) -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH 2/3] clockevents: Restart clockevent device before using it again

2015-04-02 Thread Peter Zijlstra
On Thu, Apr 02, 2015 at 07:20:50PM +0530, Viresh Kumar wrote: Or am I completely missing something? So yes, if we would have done that in tick_program_event(), it would have been a single place for doing this change.. But, when Thomas ranted [1] at me on this earlier, he said: No, we

Re: CVE-2014-8159 kernel: infiniband: uverbs: unprotected physical memory access

2015-04-02 Thread Yann Droneaud
Hi, Le jeudi 02 avril 2015 à 10:52 +, Shachar Raindel a écrit : -Original Message- From: Yann Droneaud [mailto:ydrone...@opteya.com] Sent: Thursday, April 02, 2015 1:05 PM Le mercredi 18 mars 2015 à 17:39 +, Shachar Raindel a écrit : ... + /* + * If the combination

Re: [PATCH v2] watchdog: nohz: don't run watchdog on nohz_full cores

2015-04-02 Thread Frederic Weisbecker
On Mon, Mar 30, 2015 at 04:02:06PM -0400, Don Zickus wrote: On Mon, Mar 30, 2015 at 03:32:55PM -0400, Chris Metcalf wrote: On 03/30/2015 03:12 PM, Don Zickus wrote: On Mon, Mar 30, 2015 at 02:51:05PM -0400, cmetc...@ezchip.com wrote: From: Chris Metcalf cmetc...@ezchip.com Running

Re: [PATCH V2 0/3] Fix some issues of staging ion test driver

2015-04-02 Thread Dan Carpenter
Thanks! regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 0/4] kbuild: refactor Makefile inclusion

2015-04-02 Thread Michal Marek
On 2015-03-27 12:43, Masahiro Yamada wrote: Masahiro Yamada (4): kbuild: use relative path to include Makefile kbuild: use relative path more to include Makefile kbuild: include $(src)/Makefile rather than $(obj)/Makefile kbuild: ia64: use $(src)/Makefile.gate rather than particular

Re: Unreliable hibernation on Lenovo x230 (regression)

2015-04-02 Thread Pavel Machek
On Wed 2015-04-01 21:47:43, rhn wrote: Hello, Between kernel 3.16 and 3.17, a regression has been introduced where the first hibernation after regular shutdown always fails to resume. Subsequent hibernations succeed. The system is a Lenovo x230 with Intel i5, booting with EFI, with the

Re: [PATCH v2] ARM: tegra: Correct which USB controller has the UTMI pad registers

2015-04-02 Thread Mikko Perttunen
On 04/02/2015 06:20 PM, Mikko Perttunen wrote: Reviewed-by: Mikko Perttunen mikko.perttu...@kapsi.fi Scratch that; as Tuomas noted on IRC, the reset numbers here are still wrong. phy1 should have 22 and phy2 58. On 04/02/2015 06:00 PM, Tomeu Vizoso wrote: It should be the first

[PATCH 3/4] clk: add CLK_DEFER_ORPHAN flag to prevent orphans from being used

2015-04-02 Thread Heiko Stuebner
The usage of clocks derived from an orphan can produce issues when trying to set rates etc. So ideally a clk_get to such a clock should defer till the clock hierarchy is complete. But as some arches probably rely on such clocks we can't disable them all. Therefore add a new clk flag where arches

[PATCH 4/4] clk: rockchip: enable CLK_DEFER_ORPHAN for all branches

2015-04-02 Thread Heiko Stuebner
All Rockchip drivers should handle deferentials correctly and on all boards we have the situation that some clock sources are generated off-soc by an external i2c component (like the xin32k feeding for example the sclk_tsadc on rk3288). So some clocks are always orphans until the i2c drivers are

Re: [PATCH] watchdog: nohz: don't run watchdog on nohz_full cores

2015-04-02 Thread Frederic Weisbecker
On Thu, Apr 02, 2015 at 10:15:27AM -0400, Don Zickus wrote: On Thu, Apr 02, 2015 at 09:49:45AM -0400, Chris Metcalf wrote: Can I ask how the NO_HZ_FULL technology works from userspace? Is there a system command that has to be sent? How does the kernel know to turn off ticks and trust

Re: [PATCH] watchdog: nohz: don't run watchdog on nohz_full cores

2015-04-02 Thread Chris Metcalf
On 04/02/2015 11:38 AM, Frederic Weisbecker wrote: On Thu, Apr 02, 2015 at 10:15:27AM -0400, Don Zickus wrote: On Thu, Apr 02, 2015 at 09:49:45AM -0400, Chris Metcalf wrote: Can I ask how the NO_HZ_FULL technology works from userspace? Is there a system command that has to be sent? How does

Re: [PATCH] devpts: Add ptmx_uid and ptmx_gid options

2015-04-02 Thread Serge Hallyn
Quoting Andy Lutomirski (l...@amacapital.net): On Thu, Apr 2, 2015 at 7:29 AM, Alexander Larsson al...@redhat.com wrote: On Thu, 2015-04-02 at 07:06 -0700, Andy Lutomirski wrote: On Thu, Apr 2, 2015 at 3:12 AM, James Bottomley james.bottom...@hansenpartnership.com wrote: On Tue,

Re: [PATCH v6] arm: perf: Directly handle SMP platforms with one SPI

2015-04-02 Thread Daniel Thompson
On 31/03/15 17:20, Will Deacon wrote: Hi Daniel, On Wed, Mar 04, 2015 at 01:25:45PM +, Daniel Thompson wrote: Some ARM platforms mux the PMU interrupt of every core into a single SPI. On such platforms if the PMU of any core except 0 raises an interrupt then it cannot be serviced and

Re: [RFC,v2,02/12] soc/fman: Add the FMan FLIB

2015-04-02 Thread Bob Cochran
On 04/01/2015 07:36 AM, Igal.Liberman wrote: From: Igal Liberman igal.liber...@freescale.com The FMan FLib provides the basic API used by the FMan drivers to configure and control the FMan hardware. Signed-off-by: Igal Liberman igal.liber...@freescale.com --- drivers/soc/fsl/Kconfig |

Re: String literals in __init functions

2015-04-02 Thread Joseph Myers
On Thu, 26 Mar 2015, Joe Perches wrote: I'd have thought that a function-wide __attribute__((__string_section__(foo)) wouldn't be a ton of work to implement. Maybe not. Could some future version of gcc move string constants in a function to a specific section marked in a manner

Re: restart_syscall: use freezable blocking call

2015-04-02 Thread Sasha Levin
-next-20150402-sasha-00038-g3637da5 #2121 Not tainted [0.636009] - [0.636508] 2 locks held by swapper/0/1: [0.637008] #0: (cpu_hotplug.lock){.+.+.+}, at: get_online_cpus (kernel/cpu.c:96) [0.638009] #1: (smpboot_threads_lock

Re: [PATCH urgent v2] x86, asm: Disable opportunistic SYSRET if regs-flags has TF set

2015-04-02 Thread Ingo Molnar
* Denys Vlasenko dvlas...@redhat.com wrote: On 04/02/2015 02:59 PM, Denys Vlasenko wrote: On 04/02/2015 02:31 PM, Ingo Molnar wrote: - we can optimize in a more directed fashion - like here ... while the downsides are: - more code - a (small) chance of a fix going to one

Re: [PATCH] watchdog: nohz: don't run watchdog on nohz_full cores

2015-04-02 Thread Don Zickus
On Thu, Apr 02, 2015 at 11:42:43AM -0400, Chris Metcalf wrote: Then perhaps as a debug aid, expose a /proc/sys/kernel/watchdog_cpumask for folks to modify in case they want to enable the watchdog on the nohz cpus. That sounds like a good idea. OK, I will respin v2 of the patch as follows:

Re: [PATCH perf/core v2] perf-probe: Fix to track down unnamed union/structure members

2015-04-02 Thread Arnaldo Carvalho de Melo
Em Thu, Apr 02, 2015 at 04:33:12PM +0900, Masami Hiramatsu escreveu: Fix perf probe to track down unnamed union/structure members. perf probe did not track down the tree of unnamed union/structure members, since it just failed to find given name in a parent structure/union. To solve this

Re: [PATCH 3/9] x86/asm/entry/64: do not SAVE_EXTRA_REGS in stub_sigreturn

2015-04-02 Thread Brian Gerst
On Thu, Apr 2, 2015 at 10:36 AM, Denys Vlasenko dvlas...@redhat.com wrote: stub_sigreturn ignores old values of pt_regs-REG for all general-purpose registers, it sets them to values saved on userspace signal stack. Which is hardly surprising - it would be a bug if it would use pt_regs-REG.

[PATCH v2] ARM: tegra: Correct which USB controller has the UTMI pad registers

2015-04-02 Thread Tomeu Vizoso
It should be the first controller, not the second. This broke USB after 6261b06 (regulator: Defer lookup of supply to regulator_get), because it changed the order in which the controllers were probed. The fix for this issue was suggested by Mikko Perttunen. Signed-off-by: Tomeu Vizoso

Re: [PATCH 00/10] perf tools: Support using -f to override file ownership for perf commands

2015-04-02 Thread Arnaldo Carvalho de Melo
Em Thu, Apr 02, 2015 at 09:47:09PM +0800, Yunlong Song escreveu: Hi, Enable perf commands to use perf file when it is not owned by current user or root. Yunlong Song (10): perf tools: Support using -f to override perf.data file ownership for evlist perf tools: Support

[PATCH 1/1] perf/x86/intel: Broadwell support LBR callstack

2015-04-02 Thread kan . liang
From: Kan Liang kan.li...@intel.com Same as Haswell, Broadwell also support LBR callstack. Signed-off-by: Kan Liang kan.li...@intel.com --- arch/x86/kernel/cpu/perf_event_intel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/perf_event_intel.c

Re: [RFC PATCH 5 3/7] nfsd - use service thread if not executing in init namespace

2015-04-02 Thread J. Bruce Fields
On Wed, Apr 01, 2015 at 08:22:58AM +0800, Ian Kent wrote: On Tue, 2015-03-31 at 09:14 -0400, J. Bruce Fields wrote: On Tue, Mar 31, 2015 at 11:14:58AM +0800, Ian Kent wrote: From: Ian Kent ik...@redhat.com If nfsd is running within a container the client tracking operations should

Re: [PATCH 2/3] clockevents: Restart clockevent device before using it again

2015-04-02 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: On Thu, Apr 02, 2015 at 07:20:50PM +0530, Viresh Kumar wrote: Or am I completely missing something? So yes, if we would have done that in tick_program_event(), it would have been a single place for doing this change.. But, when Thomas

Re: [PATCH] mtd: Add simple read disturb test

2015-04-02 Thread Brian Norris
On Thu, Apr 02, 2015 at 04:13:46PM +0200, Richard Weinberger wrote: This simple MTD tests allows the user to see when read disturb happens. By reading blocks over and over it reports flipped bits. Currently it reports only flipped bits of the worst page of a block. If within block X page P1

[PATCH v3 3/4] extcon: usb-gpio: make debounce value configurable in devicetree

2015-04-02 Thread Robert Baldyga
This patch adds devicetree property for setting debounce value. It allows to set debounce time shorter or longer depending on the needs of given platform. Signed-off-by: Robert Baldyga r.bald...@samsung.com Acked-by: Roger Quadros rog...@ti.com --- drivers/extcon/extcon-usb-gpio.c | 14

[PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-02 Thread Robert Baldyga
This patch adds VBUS pin detection support to extcon-usb-gpio driver. It allows to use this driver with boards which have both VBUS and ID pins, or only one of them. Following table of states presents relationship between this signals and detected cable type: State |ID |

[PATCH] mm-cma-add-trace-events-for-cma-allocations-and-freeings-fix

2015-04-02 Thread Stefan Strogin
Trace 'align' too in cma_alloc trace event. Signed-off-by: Stefan Strogin stefan.stro...@gmail.com --- include/trace/events/cma.h | 11 +++ mm/cma.c | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/include/trace/events/cma.h

[PATCH v3 4/4] Documentation: extcon: usb-gpio: update usb-gpio binding description

2015-04-02 Thread Robert Baldyga
Add information about VBUS pin detection support, 'debounce' property and some other details. Signed-off-by: Robert Baldyga r.bald...@samsung.com Acked-by: Roger Quadros rog...@ti.com --- .../devicetree/bindings/extcon/extcon-usb-gpio.txt | 28 -- 1 file changed, 26

[PATCH v3 0/4] extcon: usb-gpio: fixes and improvements

2015-04-02 Thread Robert Baldyga
Hello, This patch set modifies extcon-usb-gpio driver fixing bugs, and adds new features - VBUS pin detection support and 'debounce' property in devicetree node. It also updates documentation with information about new features. More detailed description of changes can be found in commit

Re: [RFC][PATCH 06/17 v2] tracing: Add TRACE_DEFINE_ENUM() macro to map enums to their values

2015-04-02 Thread Steven Rostedt
On Thu, 2 Apr 2015 16:47:40 +0900 Namhyung Kim namhy...@kernel.org wrote: +static void update_event_printk(struct ftrace_event_call *call, + struct trace_enum_map *map) +{ + char *ptr; + int quote = 0; + int len = strlen(map-enum_string); + + for

Re: CVE-2014-8159 kernel: infiniband: uverbs: unprotected physical memory access

2015-04-02 Thread Yann Droneaud
Hi, Le jeudi 02 avril 2015 à 10:52 +, Shachar Raindel a écrit : -Original Message- From: Yann Droneaud [mailto:ydrone...@opteya.com] Sent: Thursday, April 02, 2015 1:05 PM Le mercredi 18 mars 2015 à 17:39 +, Shachar Raindel a écrit : + /* + * If the combination of

Re: [PATCH] fs: direct-io: increase bio refcount as batch

2015-04-02 Thread Jeff Moyer
Ming Lei ming@canonical.com writes: Hi, On Tue, Mar 31, 2015 at 10:02 PM, Jeff Moyer jmo...@redhat.com wrote: Ming Lei ming@canonical.com writes: Each bio is always submitted to block device one by one, so it isn't necessary to increase the bio refcount by one each time with

[PATCH 09/10] perf tools: Support using -f to override perf.data file ownership for trace

2015-04-02 Thread Yunlong Song
Enable perf trace to use perf.data when it is not owned by current user or root. Example: # perf trace record ls # chown Yunlong.Song:Yunlong.Song perf.data # ls -al perf.data -rw--- 1 Yunlong.Song Yunlong.Song 4153101 Apr 2 15:28 perf.data # id uid=0(root) gid=0(root)

[PATCH 01/10] perf tools: Support using -f to override perf.data file ownership for evlist

2015-04-02 Thread Yunlong Song
Enable perf evlist to use perf.data when it is not owned by current user or root. Example: # perf record ls # chown Yunlong.Song:Yunlong.Song perf.data # ls -al perf.data -rw--- 1 Yunlong.Song Yunlong.Song 28260 Apr 2 10:18 perf.data # id uid=0(root) gid=0(root)

Re: [PATCH 2/3] clockevents: Restart clockevent device before using it again

2015-04-02 Thread Viresh Kumar
On 2 April 2015 at 19:04, Peter Zijlstra pet...@infradead.org wrote: On Fri, Mar 27, 2015 at 10:44:28PM +0530, Viresh Kumar wrote: +++ b/kernel/time/hrtimer.c @@ -566,6 +566,7 @@ static int hrtimer_reprogram(struct hrtimer *timer, { + /* Switchback to ONESHOT state */ + if

Re: [PATCH] watchdog: nohz: don't run watchdog on nohz_full cores

2015-04-02 Thread Chris Metcalf
On 4/2/2015 9:35 AM, Don Zickus wrote: On Tue, Mar 31, 2015 at 02:30:44PM -0400, Chris Metcalf wrote: On 03/31/2015 03:25 AM, Ingo Molnar wrote: * cmetc...@ezchip.com cmetc...@ezchip.com wrote: From: Chris Metcalf cmetc...@ezchip.com Running watchdog can be a helpful debugging feature on

Re: [PATCH v2 0/7] vhost: support for cross endian guests

2015-04-02 Thread Michael S. Tsirkin
On Thu, Apr 02, 2015 at 03:16:37PM +0200, Greg Kurz wrote: Hi, This patchset allows vhost to be used with legacy virtio when guest and host have a different endianness. It is a complete rework of my initial post. Patches 1 to 5 are preliminary work: we move the endianness check out of all

Re: [PATCH] Documentation: usb: serial: fixed how to provide vendor and product id

2015-04-02 Thread Dr. H. Nikolaus Schaller
Hi, Am 30.03.2015 um 12:08 schrieb Johan Hovold jo...@kernel.org: On Mon, Mar 30, 2015 at 11:32:39AM +0200, Dr. H. Nikolaus Schaller wrote: Hi Johan, Am 30.03.2015 um 09:45 schrieb Johan Hovold jo...@kernel.org: On Sat, Mar 28, 2015 at 02:37:57PM +0100, Marek Belisko wrote: From: H.

Re: [PATCH 1/2] hrtimer: update '-active_bases' before calling hrtimer_force_reprogram()

2015-04-02 Thread Viresh Kumar
On 2 April 2015 at 19:46, Peter Zijlstra pet...@infradead.org wrote: So then I'm not seeing how its a bug. Sure __hrtimer_get_next_event() will iterate all the bases again, and it will not skip the just empty one. But I don't see how that is anything but an inefficiency. By virtue of the base

Re: Slab infrastructure for bulk object allocation and freeing V2

2015-04-02 Thread Christoph Lameter
On Tue, 31 Mar 2015, Andrew Morton wrote: This patch doesn't really do anything. I guess nailing down the interface helps a bit. Right. to modules. And it isn't completely obvious, because the return semantics are weird. Ok. What's the reason for returning a partial result when ENOMEM?

[PATCH] rtc: rtc-s3c: Remove one superfluous rtc_valid_tm() check

2015-04-02 Thread Krzysztof Kozlowski
The s3c_rtc_gettime() returns already result of rtc_valid_tm() on obtained time so get rid of another call to rtc_valid_tm(). Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/rtc/rtc-s3c.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCHv3] media: i2c/adp1653: devicetree support for adp1653

2015-04-02 Thread Pavel Machek
We are moving to device tree support on OMAP3, but that currently breaks ADP1653 driver. This adds device tree support, plus required documentation. Signed-off-by: Pavel Machek pa...@ucw.cz --- I'm not sure if it is device tree or media framework, either everyone waits for someone else, or

[PATCH V2 3/3] staging: android: ion_test: unregister the platform device

2015-04-02 Thread Phong Tran
The driver has to unregister from platform device when it's unloaded Signed-off-by: Phong Tran tranmanph...@gmail.com --- drivers/staging/android/ion/ion_test.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/staging/android/ion/ion_test.c

[PATCH V2 1/3] staging: android: ion_test: Add the MODULE_LICENSE macro

2015-04-02 Thread Phong Tran
Base on the file comment should define GPL v2 for ion test driver Signed-off-by: Phong Tran tranmanph...@gmail.com --- drivers/staging/android/ion/ion_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/android/ion/ion_test.c b/drivers/staging/android/ion/ion_test.c index

Re: [PATCHv7 0/2] INPUT: Route keyboard LEDs through the generic LEDs layer

2015-04-02 Thread Pavel Machek
On Wed 2015-04-01 23:11:40, Samuel Thibault wrote: Pali Rohár, le Wed 01 Apr 2015 22:00:07 +0200, a écrit : On Tuesday 17 February 2015 20:15:27 Samuel Thibault wrote: Here is an updated version to fix the initialization of the vt_led_work queues before registering LEDs, and refresh

Re: [PATCH] mtd: Add simple read disturb test

2015-04-02 Thread Fabio Estevam
On Thu, Apr 2, 2015 at 11:33 AM, Richard Weinberger rich...@nod.at wrote: Why? Free()ing a NULL pointer is perfectly fine. What did I miss? :) If the first 'iobuf = kmalloc(mtd-erasesize, GFP_KERNEL);' fails then you jump to the out label where you call 5 kfree() and then return the error. It

Re: [LKP] [cfg80211] eeca9fce1d7: BUG: kernel boot oversize

2015-04-02 Thread Tomeu Vizoso
On 24 March 2015 at 09:34, Peer, Ilan ilan.p...@intel.com wrote: Hi, This mean u probably do not have crda installed, or it is not properly configured. These are debug prints so the simplest would be to disable CONFIG_CFG80211_REG_DEBUG .. unless you are debugging wireless regulatory

Re: [PATCH] ARM: tegra: Correct which USB controller has the UTMI pad registers

2015-04-02 Thread Mikko Perttunen
Have you checked that this patch applies correctly, considering that the chunks are still ambiguous? :) Mikko On 04/02/2015 05:31 PM, Tomeu Vizoso wrote: It should be the first controller, not the second. This broke USB after 6261b06 (regulator: Defer lookup of supply to regulator_get),

Re: [PATCH_V4 0/3] dma: dt: Add DMA driver for jz4780

2015-04-02 Thread Arnd Bergmann
On Wednesday 01 April 2015 08:45:06 Vinod Koul wrote: On Wed, Mar 18, 2015 at 04:16:34PM +, Zubair Lutfullah Kakakhel wrote: Hi, Here we have three patches that add a DMA driver for the Ingenic JZ4780 SoC. JZ4780 support is still in-flight. These are based on 4.0-rc4.

[PATCH v2 6/7] virtio: add explicit big-endian support to memory accessors

2015-04-02 Thread Greg Kurz
The current memory accessors logic is: - little endian if little_endian - native endian (i.e. no byteswap) if !little_endian If we want to fully support cross-endian vhost, we also need to be able to convert to big endian. Instead of changing the little_endian argument to some 3-value enum, this

[PATCH v2 7/7] vhost: feature to set the vring endianness

2015-04-02 Thread Greg Kurz
This patch brings cross-endian support to vhost when used to implement legacy virtio devices. Since it is a relatively rare situation, the feature availability is controlled by a kernel config option (not set by default). If cross-endian support is compiled in, vhost abvertises a new feature to

[PATCH v2 3/7] macvtap: introduce macvtap_is_little_endian() helper

2015-04-02 Thread Greg Kurz
Signed-off-by: Greg Kurz gk...@linux.vnet.ibm.com --- drivers/net/macvtap.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 27ecc5c..a2f2958 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -49,14

[PATCH v2 2/7] tun: add tun_is_little_endian() helper

2015-04-02 Thread Greg Kurz
Signed-off-by: Greg Kurz gk...@linux.vnet.ibm.com --- drivers/net/tun.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 857dca4..3c3d6c0 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -206,14 +206,19 @@ struct

[PATCH v2 4/7] vringh: introduce vringh_is_little_endian() helper

2015-04-02 Thread Greg Kurz
Signed-off-by: Greg Kurz gk...@linux.vnet.ibm.com --- include/linux/vringh.h | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/include/linux/vringh.h b/include/linux/vringh.h index a3fa537..3ed62ef 100644 --- a/include/linux/vringh.h +++

Re: [PATCH v4 00/17] media: blackfin: bfin_capture enhancements

2015-04-02 Thread Hans Verkuil
On 03/26/2015 10:18 AM, Scott Jiang wrote: Hi Lad and Hans, 2015-03-08 22:40 GMT+08:00 Lad Prabhakar prabhakar.cse...@gmail.com: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series, enhances blackfin capture driver with vb2 helpers. Changes for v4: 1: Improved commit

Re: [RFC][PATCH 01/17 v2] tracing: Add TRACE_SYSTEM_VAR to intel-sst

2015-04-02 Thread Mark Brown
On Thu, Apr 02, 2015 at 09:33:41AM -0400, Steven Rostedt wrote: Steven Rostedt rost...@goodmis.org wrote: I couldn't find anything in MAINTAINERS about that file, but I didn't look for your name though. BTW, was that considered an Acked-by? I guess, you probably want to ping the Intel

[PATCH 03/10] perf tools: Support using -f to override perf.data file ownership for kmem

2015-04-02 Thread Yunlong Song
Enable perf kmem to use perf.data when it is not owned by current user or root. Example: # perf kmem record ls # chown Yunlong.Song:Yunlong.Song perf.data # ls -al perf.data -rw--- 1 Yunlong.Song Yunlong.Song 5315665 Apr 2 10:54 perf.data # id uid=0(root) gid=0(root)

[PATCH 08/10] perf tools: Support using -f to override perf.data file ownership for timechart

2015-04-02 Thread Yunlong Song
Enable perf timechart to use perf.data when it is not owned by current user or root. Example: # perf timechart record ls # chown Yunlong.Song:Yunlong.Song perf.data # ls -al perf.data -rw--- 1 Yunlong.Song Yunlong.Song 5471744 Apr 2 15:15 perf.data # id uid=0(root) gid=0(root)

[PATCH 02/10] perf tools: Support using -f to override perf.data file ownership for inject

2015-04-02 Thread Yunlong Song
Enable perf inject to use perf.data when it is not owned by current user or root. Example: # perf record ls # chown Yunlong.Song:Yunlong.Song perf.data # ls -al perf.data -rw--- 1 Yunlong.Song Yunlong.Song 28260 Apr 2 10:37 perf.data # id uid=0(root) gid=0(root)

[PATCH 07/10] perf tools: Support using -f to override perf.data file ownership for script

2015-04-02 Thread Yunlong Song
Enable perf script to use perf.data when it is not owned by current user or root. Change the short option name of --fields to -F to avoid confusion with --force. Example: # perf record ls # chown Yunlong.Song:Yunlong.Song perf.data # ls -al perf.data -rw--- 1 Yunlong.Song Yunlong.Song

Re: [PATCH 1/2] hrtimer: update '-active_bases' before calling hrtimer_force_reprogram()

2015-04-02 Thread Peter Zijlstra
On Thu, Apr 02, 2015 at 04:21:21PM +0530, Viresh Kumar wrote: 'active_bases' indicates which clock-base have active timers. While it is updated (almost) correctly, it is hardly used. Next commit will start using it to make code more efficient, but before that we need to fix a problem. While

Re: [PATCH 2/2] hrtimer: create for_each_active_base() to iterate over active clock-bases

2015-04-02 Thread Peter Zijlstra
On Thu, Apr 02, 2015 at 04:21:22PM +0530, Viresh Kumar wrote: +#define for_each_active_base(_index, _base, _cpu_base, _active_bases) \ + for ((_active_bases) = (_cpu_base)-active_bases; \ + (_index) = ffs(_active_bases), \ +

[PATCH 05/10] perf tools: Support using -f to override perf.data file ownership for lock

2015-04-02 Thread Yunlong Song
Enable perf lock to use perf.data when it is not owned by current user or root. Example: # perf lock record ls # chown Yunlong.Song:Yunlong.Song perf.data # ls -al perf.data -rw--- 1 Yunlong.Song Yunlong.Song 4880686 Apr 2 14:14 perf.data # id uid=0(root) gid=0(root)

Re: [PATCH] devpts: Add ptmx_uid and ptmx_gid options

2015-04-02 Thread Andy Lutomirski
On Thu, Apr 2, 2015 at 3:12 AM, James Bottomley james.bottom...@hansenpartnership.com wrote: On Tue, 2015-03-31 at 16:17 +0200, Alexander Larsson wrote: On tis, 2015-03-31 at 17:08 +0300, James Bottomley wrote: On Tue, 2015-03-31 at 06:59 -0700, Andy Lutomirski wrote: I don't think that

Re: [PATCH 2/3] drm:msm: Initial Add Writeback Support

2015-04-02 Thread Rob Clark
So, from a quick look, it seems like there is a lot of potential to split the v4l part out into some drm helpers.. it looks pretty generic(ish), or at least it could be with some strategically placed vfuncs in drm_v4l2_helper_funcs. I do think we need to figure out the auth/security situation.

[PATCH] Fixup quote parsing of kernel arguments

2015-04-02 Thread Arthur Gautier
When starting kernel with arguments like: init=/bin/sh -c echo arguments the trailing double quote is not removed which results in following command being executed: /bin/sh -c 'echo arguments' This commit removes the trailing double quote. Signed-off-by: Arthur Gautier ba...@gandi.net ---

Re: [PATCH] mtd: Add simple read disturb test

2015-04-02 Thread Fabio Estevam
On Thu, Apr 2, 2015 at 11:13 AM, Richard Weinberger rich...@nod.at wrote: + err = -ENOMEM; + iobuf = kmalloc(mtd-erasesize, GFP_KERNEL); + if (!iobuf) + goto out; The error handling here does not look right. + + iobuf_orig = kmalloc(mtd-erasesize,

[tip:timers/core] clockevents: Fix cpu_down() race for hrtimer based broadcasting

2015-04-02 Thread tip-bot for Preeti U Murthy
Commit-ID: 345527b1edce8df719e0884500c76832a18211c3 Gitweb: http://git.kernel.org/tip/345527b1edce8df719e0884500c76832a18211c3 Author: Preeti U Murthy pre...@linux.vnet.ibm.com AuthorDate: Mon, 30 Mar 2015 14:59:19 +0530 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 2 Apr 2015

[PATCH] ARM: tegra: Correct which USB controller has the UTMI pad registers

2015-04-02 Thread Tomeu Vizoso
It should be the first controller, not the second. This broke USB after 6261b06 (regulator: Defer lookup of supply to regulator_get), because it changed the order in which the controllers were probed. The fix for this issue was suggested by Mikko Perttunen. Signed-off-by: Tomeu Vizoso

Re: [PATCH] crypto: remove instance when test failed

2015-04-02 Thread Herbert Xu
On Sun, Mar 29, 2015 at 04:26:40PM +0200, Stephan Mueller wrote: A cipher instance is added to the list of instances unconditionally regardless of whether the associated test failed. However, a failed test implies that during another lookup, the cipher instance will be added to the list again

userspace breakage in linux/nfsd/debug.h

2015-04-02 Thread Mark Salter
This patch: commit f895b252d4edf66b2895fb5a7b17a638665f3e1f Author: Jeff Layton jlay...@primarydata.com Date: Mon Nov 17 16:58:04 2014 -0500 sunrpc: eliminate RPC_DEBUG It's always set to whatever CONFIG_SUNRPC_DEBUG is, so just use that. Signed-off-by: Jeff Layton

[PATCH] nilfs2: fix gcc warning at nilfs_checkpoint_is_mounted()

2015-04-02 Thread Ryusuke Konishi
Fix the following build warning: fs/nilfs2/super.c: In function 'nilfs_checkpoint_is_mounted': fs/nilfs2/super.c:1023:10: warning: comparison of unsigned expression 0 is always false [-Wtype-limits] if (cno 0 || cno nilfs-ns_cno) ^ This warning indicates that the comparision

Re: [PATCH/RFC v13 04/13] DT: Add documentation for the mfd Maxim max77693

2015-04-02 Thread Pavel Machek
On Mon 2015-03-23 15:59:37, Lee Jones wrote: On Mon, 23 Mar 2015, Pavel Machek wrote: On Mon 2015-03-23 15:02:13, Lee Jones wrote: On Mon, 23 Mar 2015, Pavel Machek wrote: On Mon 2015-03-23 12:07:43, Lee Jones wrote: This patch requires a DT Ack. No, it requires DT people

Re: [PATCH 3/3] dt: paz00: define nvec as child of i2c bus

2015-04-02 Thread Stephen Warren
On 04/02/2015 03:37 AM, Marc Dietrich wrote: Am Mittwoch, 1. April 2015, 11:28:32 schrieb Stephen Warren: On 03/31/2015 09:46 AM, Andrey Danin wrote: On 31.03.2015 17:09, Stephen Warren wrote: On 03/31/2015 12:40 AM, Andrey Danin wrote: Hi, Thanks for the review. On 03.02.2015 0:20,

[PATCH] x86/xsave: Robustify and merge macros

2015-04-02 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Previously, we did call an XSAVE/XRSTOR variant through alternatives and did potential exception handling resulting from the instruction execution in a second inline asm. Which was misleading and error prone, see 06c8173eb92b (x86/fpu/xsaves: Fix improper

[PATCH v2 1/7] virtio: introduce virtio_is_little_endian() helper

2015-04-02 Thread Greg Kurz
Signed-off-by: Greg Kurz gk...@linux.vnet.ibm.com --- include/linux/virtio_config.h | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h index ca3ed78..bd1a582 100644 ---

[PATCH v2 0/7] vhost: support for cross endian guests

2015-04-02 Thread Greg Kurz
Hi, This patchset allows vhost to be used with legacy virtio when guest and host have a different endianness. It is a complete rework of my initial post. Patches 1 to 5 are preliminary work: we move the endianness check out of all memory accessors to separate functions. Patch 6 changes the

Re: [RFC][PATCH 01/17 v2] tracing: Add TRACE_SYSTEM_VAR to intel-sst

2015-04-02 Thread Steven Rostedt
On Thu, 2 Apr 2015 09:32:49 -0400 Steven Rostedt rost...@goodmis.org wrote: On Thu, 2 Apr 2015 10:16:22 +0100 Mark Brown broo...@linaro.org wrote: On 2 April 2015 at 02:56, Steven Rostedt rost...@goodmis.org wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org New code will

Re: [RFC][PATCH 01/17 v2] tracing: Add TRACE_SYSTEM_VAR to intel-sst

2015-04-02 Thread Steven Rostedt
On Thu, 2 Apr 2015 10:16:22 +0100 Mark Brown broo...@linaro.org wrote: On 2 April 2015 at 02:56, Steven Rostedt rost...@goodmis.org wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org New code will require TRACE_SYSTEM to be a valid C variable name, but some tracepoints have

Re: [PATCH 1/2] kselftests: timers: Make set-timer-lat fail more gracefully for !CAP_WAKE_ALARM

2015-04-02 Thread Shuah Khan
On 04/02/2015 04:18 AM, Prarit Bhargava wrote: On 03/26/2015 01:33 PM, Tyler Baker wrote: On 26 March 2015 at 09:29, John Stultz john.stu...@linaro.org wrote: On Thu, Mar 26, 2015 at 4:31 AM, Prarit Bhargava pra...@redhat.com wrote: On 03/25/2015 07:44 PM, John Stultz wrote: +

[PATCH 06/10] perf tools: Support using -f to override perf.data file ownership for mem

2015-04-02 Thread Yunlong Song
Enable perf mem to use perf.data when it is not owned by current user or root. Example: # perf mem -t load record ls # chown Yunlong.Song:Yunlong.Song perf.data # ls -al perf.data -rw--- 1 Yunlong.Song Yunlong.Song 16392 Apr 2 14:34 perf.data # id uid=0(root) gid=0(root)

[PATCH 10/10] perf tools: Support using -f to override perf.data file ownership for data convert

2015-04-02 Thread Yunlong Song
Enable perf data convert to use perf.data when it is not owned by current user or root. Example: # perf record ls # chown Yunlong.Song:Yunlong.Song perf.data # ls -al perf.data -rw--- 1 Yunlong.Song Yunlong.Song 28260 Apr 2 17:35 perf.data # id uid=0(root) gid=0(root)

Re: [PATCH 1/2] hrtimer: update '-active_bases' before calling hrtimer_force_reprogram()

2015-04-02 Thread Viresh Kumar
On 2 April 2015 at 19:17, Peter Zijlstra pet...@infradead.org wrote: On Thu, Apr 02, 2015 at 04:21:21PM +0530, Viresh Kumar wrote: 'active_bases' indicates which clock-base have active timers. While it is updated (almost) correctly, it is hardly used. Next commit will start using it to make

Re: [PATCH 0/6] selftests: improve cross compilation support

2015-04-02 Thread Shuah Khan
On 04/01/2015 05:20 PM, Tyler Baker wrote: This patch set improves cross building functionality by resovling hard coded assumptions about the compiler used. With this patch set, all but mqueue, and kdbus cross build successfully as they must link against a native libraries. The hope is tha

[GIT PULL] FS-Cache: Fixes for dead objects handling and operation cancellation

2015-04-02 Thread David Howells
/linux-fs.git tags/fscache-fixes-20150402 for you to fetch changes up to 4a47132ff472a0c2c5441baeb50cf97f2580bc43: FS-Cache: Retain the netfs context in the retrieval op earlier (2015-04-02 14:28:53 +0100) FS-Cache fixes

Re: kernel/timer: avoid spurious ksoftirqd wakeups

2015-04-02 Thread Rik van Riel
On 04/01/2015 09:44 PM, Marcelo Tosatti wrote: +++ b/kernel/time/tick-sched.c @@ -568,6 +568,7 @@ static ktime_t tick_nohz_stop_sched_tick(struct tick_sched *ts, unsigned long rcu_delta_jiffies; struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev);

Re: [RFC][PATCH 01/17 v2] tracing: Add TRACE_SYSTEM_VAR to intel-sst

2015-04-02 Thread Steven Rostedt
On Thu, 2 Apr 2015 14:59:33 +0100 Mark Brown broo...@kernel.org wrote: On Thu, Apr 02, 2015 at 09:49:34AM -0400, Steven Rostedt wrote: Mark Brown broo...@kernel.org wrote: I guess, you probably want to ping the Intel guys though since it's them that would be affected by the interface

Re: [RFC 0/2] perf scripting cleanups

2015-04-02 Thread Arnaldo Carvalho de Melo
Em Thu, Apr 02, 2015 at 12:16:40PM +0300, Adrian Hunter escreveu: On 01/04/15 19:36, Arnaldo Carvalho de Melo wrote: Hi David, Jiri, Please take a look if it is ok for you guys Adrian, there is another thing: db_export__sample(tables-dbe, event, sample, evsel, al-thread,

[PATCH] mtd: Add simple read disturb test

2015-04-02 Thread Richard Weinberger
This simple MTD tests allows the user to see when read disturb happens. By reading blocks over and over it reports flipped bits. Currently it reports only flipped bits of the worst page of a block. If within block X page P1 has 3 bit flips and P6 4, it will report 4. By default every 50th block is

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