Re: [PATCH 09/17] [m68k] IRQ: add handle_polled_irq() for timer based soft interrupts

2013-11-07 Thread Michael Schmitz
Thomas, This is a temporary hack to allow timer based polling of the Atari ROM port network and USB cards only. Suggestions on how to properly handle this in the normal interrupt framework are most welcome. So you're polling devices which have no hardware interrupt from the timer interrupt. Of

Crypto Update for 3.13

2013-11-07 Thread Herbert Xu
Hi Linus: Here is the crypto update for 3.13: * Made x86 ablk_helper generic for ARM. * Phase out chainiv in favour of eseqiv (affects IPsec). * Fixed aes-cbc IV corruption on s390. * Added constant-time crypto_memneq which replaces memcmp. * Fixed aes-ctr in omap-aes. * Added OMAP3 ROM RNG supp

Re: [PATCH] smsc: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

2013-11-07 Thread David Miller
From: Duan Jiong Date: Wed, 6 Nov 2013 15:57:17 +0800 > This patch fixes coccinelle error regarding usage of IS_ERR and > PTR_ERR instead of PTR_ERR_OR_ZERO. > > Signed-off-by: Duan Jiong Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messa

Re: [PATCH 4/4] perf record: mmap output file - v3

2013-11-07 Thread Ingo Molnar
* David Ahern wrote: > +--out-pages=:: > + Number of pages to mmap while writing data to file (must be a power of > two). > + Specification can be appended with unit character - B/K/M/G. The > + size is rounded up to have nearest pages power of two value. So why doesn't the code au

Re: [alsa-devel] [PATCH] include/uapi/sound/firewire.h: use "_UAPI" instead of "UAPI"

2013-11-07 Thread Clemens Ladisch
Chen Gang wrote: > When installing, "scripts/headers_install.sh" will strip guard macro' > "_UAPI" to prevent from appearing it to users. And also, all another > files which need uapi prefix always use "_UAPI", not "UAPI". > > So use "_UAPI" instead of "UAPI" on the guard macro, and also give a > c

Re: [PATCH] net:drivers/net: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

2013-11-07 Thread David Miller
From: Duan Jiong Date: Wed, 6 Nov 2013 15:58:13 +0800 > This patch fixes coccinelle error regarding usage of IS_ERR and > PTR_ERR instead of PTR_ERR_OR_ZERO. > > Signed-off-by: Duan Jiong Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messa

Re: [PATCH 2/4] perf record: Remove advance_output function

2013-11-07 Thread Ingo Molnar
* David Ahern wrote: > 1 line function with only 1 user; might as well embed directly. > > Suggested-by: Ingo Molnar > Signed-off-by: David Ahern > Cc: Ingo Molnar > Cc: Frederic Weisbecker > Cc: Jiri Olsa > Cc: Namhyung Kim > Cc: Peter Zijlstra > Cc: Stephane Eranian > --- > tools/per

Re: [PATCH 3/4] perf record: Remove post_processing_offset variable

2013-11-07 Thread Ingo Molnar
* David Ahern wrote: > Duplicates the data_offset from header in the session. > > Signed-off-by: David Ahern > Cc: Ingo Molnar > Cc: Frederic Weisbecker > Cc: Peter Zijlstra > Cc: Jiri Olsa > Cc: Namhyung Kim > Cc: Mike Galbraith > Cc: Stephane Eranian > --- > tools/perf/builtin-record

Re: [PATCH 1/4] perf record: Refactor feature handling into a separate function

2013-11-07 Thread Ingo Molnar
* David Ahern wrote: > Code move only. No logic changes. > > Signed-off-by: David Ahern > Cc: Ingo Molnar > Cc: Frederic Weisbecker > Cc: Jiri Olsa > Cc: Namhyung Kim > Cc: Peter Zijlstra > Cc: Stephane Eranian > --- > tools/perf/builtin-record.c | 33 + >

Re: [PATCH 0/4] perf record: Cleanups and mmap-based output

2013-11-07 Thread Ingo Molnar
* David Ahern wrote: > I know Jiri is working on cleanups of the output file, but had this > sitting around for a couple of weeks now. Might as well push it out > for the next baseline. The cleanups of perf-record can be taken > independently. > > Ingo: I took a look at leveraging the copy_user

[patch] pm2301-charger: remove unneeded NULL checks

2013-11-07 Thread Dan Carpenter
If "pm2" were NULL we would oops printing the error message. Fortunately, that's not possible so I have removed the NULL checks. Signed-off-by: Dan Carpenter diff --git a/drivers/power/pm2301_charger.c b/drivers/power/pm2301_charger.c index b733c69..62c15af 100644 --- a/drivers/power/pm2301_char

Re: ELAN Touchscreen regression in recent 3.12 rc's? (USB)

2013-11-07 Thread AceLan Kao
Hi Kevin, http://people.canonical.com/~acelan/elan_touchscreen/ Here are the kernels, please test them one by one and tell me which one works. As your description, the first one should work, and the second one doesn't, I just want to make sure that, so I build the rc6 and rc7 kernel to test. Thank

Re: [PATCH] mtd: nand: remove deprecated IRQF_DISABLED

2013-11-07 Thread Brian Norris
On Sun, Oct 13, 2013 at 08:21:32AM +0200, Michael Opdenacker wrote: > This patch proposes to remove the use of the IRQF_DISABLED flag > > It's a NOOP since 2.6.35 and it will be removed one day. > > Signed-off-by: Michael Opdenacker Pushed to l2-mtd.git. Thanks! Brian -- To unsubscribe from th

Re: [PATCH] perf: Fix version when building out of tree - v2

2013-11-07 Thread Ingo Molnar
* David Ahern wrote: > When building perf out of tree > make perf-tar-src-pkg > tar -xf perf-.tar -C /tmp > cd /tmp/perf > make -C tools/perf > > you get the warning message: > make[1]: *** No rule to make target `kernelversion'. Stop. > > Fix by saving the perf version in

[PATCH v3 0/4] Exynos 5410 Dual cluster support

2013-11-07 Thread Vyacheslav Tyrtov
The series of patches represent support of Exynos 5410 SoC The Exynos 5410 is the first Samsung SoC based on bigLITTLE architecture Patches allow all 8 CPU cores (4 x A7 and 4 x A15) to run at the same time Patches add new platform description, support of clock controller, dual cluster support an

[PATCH v3 1/4] ARM: EXYNOS: Add support for EXYNOS5410 SoC

2013-11-07 Thread Vyacheslav Tyrtov
From: Tarek Dakhran EXYNOS5410 is SoC in Samsung's Exynos5 SoC series. Add initial support for this SoC. Signed-off-by: Tarek Dakhran Signed-off-by: Vyacheslav Tyrtov --- arch/arm/mach-exynos/Kconfig | 12 arch/arm/mach-exynos/common.c| 18

[PATCH v3 2/4] clk: exynos5410: register clocks using common clock framework

2013-11-07 Thread Vyacheslav Tyrtov
From: Tarek Dakhran The EXYNOS5410 clocks are statically listed and registered using the Samsung specific common clock helper functions. Signed-off-by: Tarek Dakhran Signed-off-by: Vyacheslav Tyrtov --- .../devicetree/bindings/clock/exynos5410-clock.txt | 37 drivers/clk/samsung/Makefil

Re: [PATCH v2 09/11] fs/ext3: use rbtree postorder iteration helper instead of opencoding

2013-11-07 Thread Jan Kara
On Wed 06-11-13 17:42:38, Cody P Schafer wrote: > Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead > of opencoding an alternate postorder iteration that modifies the tree > > Signed-off-by: Cody P Schafer OK, since this patch now depends on rbtree_postorder... fix, I'll

[PATCH v3 3/4] ARM: EXYNOS: add Exynos Dual Cluster Support

2013-11-07 Thread Vyacheslav Tyrtov
From: Tarek Dakhran Add EDCS(Exynos Dual Cluster Support) for Samsung Exynos5410 SoC. This enables all 8 cores, 4 x A7 and 4 x A15 run at the same time. Signed-off-by: Tarek Dakhran Signed-off-by: Vyacheslav Tyrtov --- arch/arm/mach-exynos/Makefile | 2 + arch/arm/mach-exynos/edcs.c | 278

[PATCH v3 4/4] ARM: dts: Add initial device tree support for EXYNOS5410

2013-11-07 Thread Vyacheslav Tyrtov
From: Tarek Dakhran Add initial device tree nodes for EXYNOS5410 SoC and SMDK5410 board. Signed-off-by: Tarek Dakhran Signed-off-by: Vyacheslav Tyrtov --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/exynos5410-smdk5410.dts | 65 ++ arch/arm/boot/dts/exynos541

Re: [PATCH 1/1] MTD: UBI: try to avoid program data to NOR flash after erasure interrupted

2013-11-07 Thread qiwang
Hi: As we talked in mail before, please check my patch as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at most) e

[patch 1/2] resources: clean up pnp_irq() error return

2013-11-07 Thread Dan Carpenter
pnp_irq() returns -1 on error but cast to an unsigned. It is confusing for callers who assume that it returns a negative value. I have introduced a new define IORESOURCE_INVALID which is the same value but hopefully it looks less like a negative value. Signed-off-by: Dan Carpenter diff --git a

Re: Async runtime put in __device_release_driver()

2013-11-07 Thread Ulf Hansson
On 7 November 2013 02:05, Rafael J. Wysocki wrote: > On Wednesday, November 06, 2013 04:21:48 PM Kevin Hilman wrote: >> On Wed, Nov 6, 2013 at 4:16 PM, Rafael J. Wysocki wrote: >> > On Wednesday, November 06, 2013 11:48:24 PM Ulf Hansson wrote: >> >> >> >> "Rafael J. Wysocki" skrev: >> >> >On We

Re: [PATCH -next] mtd: nand: omap: fix error return code in omap_nand_probe()

2013-11-07 Thread Jingoo Han
On Thursday, November 07, 2013 4:19 PM, Brian Norris wrote: > On Wed, Nov 06, 2013 at 06:06:25PM +, Pekon Gupta wrote: > > > From: Brian Norris [mailto:computersforpe...@gmail.com] > > > > On Thu, Oct 31, 2013 at 7:18 PM, Jingoo Han > > > >> From: Wei Yongjun > > > >> > > > >> Fix to return a

Re: [tip:perf/core] tools/perf: Add required memory barriers

2013-11-07 Thread Ingo Molnar
* Peter Zijlstra wrote: > > Requiring the user of a kernel interface to have a deep knowledge of > > optimizing compilers, barriers, and CPU memory models is just asking > > for trouble. > > It shouldn't be all that hard to put this in a (lgpl) library others can > link to -- that way you ca

Re: [BUG?] mtrr sanitizer fails on Latitude E6230

2013-11-07 Thread Mikael Pettersson
Yinghai Lu writes: > On Wed, Nov 6, 2013 at 1:16 AM, Mikael Pettersson > wrote: > > I recently got a Dell Latitude E6230 (Ivy Bridge i7-3540M) and noticed that > > the mtrr sanitizer failed on it: > > > > === snip === > > Linux version 3.12.0 (mikpe@barley) (gcc version 4.8.3 20131017 >

Re: [PATCH] mm/slub: Switch slub_debug kernel option to early_param to avoid boot panic

2013-11-07 Thread Andreas Herrmann
On Wed, Nov 06, 2013 at 04:38:10PM -0500, Christoph Lameter wrote: > On Wed, 6 Nov 2013, Andreas Herrmann wrote: > > > Would be nice, if your patch is pushed upstream asap. > > Ok so this is a > > Tested-by: Andreas Herrmann > > I think? Yes. > BTW Calxeda is a great product. Hope you get 64

Re: [PATCH] perf: Fix version when building out of tree

2013-11-07 Thread Ingo Molnar
* David Ahern wrote: > On 11/5/13, 10:36 PM, Ingo Molnar wrote: > >I think you could avoid the 'short' complication altogether by doing > >something like this: > > > >>+elif test -f ../../PERF-VERSION-FILE > >>+then > >>+ TAG=$(cut -d' ' -f3 ../../PERF-VERSION-FILE) > > > >That extracts 'TAG'

Re: [PATCH 1/1] MMC: Detect execution mode errors after r/w command

2013-11-07 Thread Oskar Andero
Hi Ulf, On 18:50 Tue 22 Oct , Ulf Hansson wrote: > > And this is after the patch has been applied: > > KB reclen write rewritereadreread > >51200 4 251 990 3280 3244 > >51200 8 4601545 4460 4463 > >

Re: kernel BUG at kernel/kallsyms.c:222!

2013-11-07 Thread Axel Lin
2013/11/7 Ming Lei : > Hi, > > On Thu, Nov 7, 2013 at 10:47 AM, Axel Lin wrote: >> >> hi Ming, >> Seems CONFIG_PAGE_OFFSET is not configurabe in "make menuconfig". >> And I found CONFIG_PAGE_OFFSET=0xC000 for all below configs... >> $ make at91_dt_defconfig; grep CONFIG_PAGE_OFFSET .config >>

Re: [PATCH] mm/slub: Switch slub_debug kernel option to early_param to avoid boot panic

2013-11-07 Thread Andreas Herrmann
On Thu, Nov 07, 2013 at 09:27:32AM +0100, Andreas Herrmann wrote: > On Wed, Nov 06, 2013 at 04:38:10PM -0500, Christoph Lameter wrote: > > On Wed, 6 Nov 2013, Andreas Herrmann wrote: > > > > > Would be nice, if your patch is pushed upstream asap. > > > > Ok so this is a > > > > Tested-by: Andrea

Is there a notification mechanism for enabled/disabled trace events?

2013-11-07 Thread Alexandre Courbot
Hi everyone, Trace events can be enabled through debugfs by e.g. writing '1' into their enable node. This is a very useful feature as some tracing functions can introduce overhead and we only want them active when needed. There is one additional thing that I would need though, which is to be noti

Re: kernel bugzilla #64531: intel microcode information

2013-11-07 Thread Arkadiusz Miskiewicz
On Thursday 07 of November 2013, Randy Dunlap wrote: > Re: https://bugzilla.kernel.org/show_bug.cgi?id=64531 > > > arch/x86/Kconfig line 1053 (+/-), help section in CONFIG_MICROCODE_INTEL, > says: > > For latest news and information on obtaining all the required > Intel ingredients for this driv

Re: kernel bugzilla #64531: intel microcode information

2013-11-07 Thread Arjan van de Ven
fwiw this file lives on intel.com for a while now.. unfortunately it's one of these websites with fancy downloading stuff for which I suspect the URLs are not long term stable ;-( but if you type "microcode" into the search box its the first entry... On Thu, Nov 7, 2013 at 8:34 AM, Ingo Molnar wr

Re: [PATCHSET 00/13] tracing/uprobes: Add support for more fetch methods (v6)

2013-11-07 Thread Namhyung Kim
On Wed, 6 Nov 2013 18:37:54 +0100, Oleg Nesterov wrote: > On 11/06, Namhyung Kim wrote: >> >> On Tue, 5 Nov 2013 20:24:01 +0100, Oleg Nesterov wrote: >> > On 11/05, Oleg Nesterov wrote: >> >> >> >> As for "-= tu->offset"... Can't we avoid it? User-space needs to calculate >> >> the "@" argument any

[Query] Using DMA API's with struct dev created from device_create

2013-11-07 Thread Krishna Chaitanya
Hi, In cases where the BUS interface is system fabric itself, where no probing is required, so kernel doesn't provide the "dev" pointer (unlike USB and PCI). The driver is a wireless driver based on mac80211. So we used device_create to device, which is passed to set_wiphy_dev, it works fine. Bu

Re: [patch 1/2] resources: clean up pnp_irq() error return

2013-11-07 Thread Takashi Iwai
At Thu, 7 Nov 2013 11:17:49 +0300, Dan Carpenter wrote: > > pnp_irq() returns -1 on error but cast to an unsigned. It is confusing > for callers who assume that it returns a negative value. I have > introduced a new define IORESOURCE_INVALID which is the same value but > hopefully it looks less

Re: [PATCH 0/3] makedumpfile: hugepage filtering for vmcore dump

2013-11-07 Thread Jingbai Ma
On 11/06/2013 10:23 PM, Vivek Goyal wrote: On Wed, Nov 06, 2013 at 02:21:39AM +, Atsushi Kumagai wrote: (2013/11/06 5:27), Vivek Goyal wrote: On Tue, Nov 05, 2013 at 09:45:32PM +0800, Jingbai Ma wrote: This patch set intend to exclude unnecessary hugepages from vmcore dump file. This patc

Re: [PATCHSET 00/13] tracing/uprobes: Add support for more fetch methods (v6)

2013-11-07 Thread Namhyung Kim
On Wed, 6 Nov 2013 19:24:08 +0100, Oleg Nesterov wrote: > Forgot to mention, > > On 11/06, Oleg Nesterov wrote: >> >> I meant, >> >> saved_ip = instruction_pointer(regs); >> >> // pass the "ip" which was used to calculate >> // the @addr argument to fetch_*()

Re: Linux 3.12 released .. and no merge window yet .. and 4.0 plans?

2013-11-07 Thread Ingo Molnar
* Greg KH wrote: > > Thirdly, _users_ interested in stability can already go to the -stable > > kernel, will will suck up 1 cycle worth of bugfixes out of the main > > flow of changes. So users already have a stability choice of v-latest > > and 'v-latest - 1' - plus the 'long term' stable ke

[PATCH] clk: mvebu: staticize of_cpu_clk_setup

2013-11-07 Thread Jisheng Zhang
This symbol is used only in this file. The patch fix the following sparse warning: warning: symbol 'of_cpu_clk_setup' was not declared. Should it be static? Signed-off-by: Jisheng Zhang --- drivers/clk/mvebu/clk-cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cl

[PATCH V3] ARM: trace: Add tracepoint for the Inter Processor Interrupt

2013-11-07 Thread Daniel Lezcano
The Inter Processor Interrupt is used on ARM to tell another processor to do a specific action. This is mainly used to emulate a timer interrupt on an idle cpu, force a cpu to reschedule or run a function on another processor context. Add a tracepoint when raising an IPI and in the entry/exit hand

Re: kernel bugzilla #64531: intel microcode information

2013-11-07 Thread Ingo Molnar
* Arkadiusz Miskiewicz wrote: > On Thursday 07 of November 2013, Randy Dunlap wrote: > > Re: https://bugzilla.kernel.org/show_bug.cgi?id=64531 > > > > > > arch/x86/Kconfig line 1053 (+/-), help section in CONFIG_MICROCODE_INTEL, > > says: > > > > For latest news and information on obtaining a

[PATCH] arm: mvebu: fix some sparse warnings

2013-11-07 Thread Jisheng Zhang
This patch fixes conflicting types for 'set_cpu_coherent' and fixes the following sparse warnings. arch/arm/mach-mvebu/system-controller.c:42:38: warning: symbol 'armada_370_xp_system_controller' was not declared. Should it be static? arch/arm/mach-mvebu/system-controller.c:49:38: warning: symbol

Re: BUG: soft lockup - CPU#8 stuck for 22s!

2013-11-07 Thread Mel Gorman
On Wed, Nov 06, 2013 at 04:30:05PM -0800, David Rientjes wrote: > On Mon, 4 Nov 2013, Mel Gorman wrote: > > > This maybe? > > > > ---8<--- > > mm: memcontrol: Release css_set_lock when aborting an OOM scan > > > > css_task_iter_start acquires the css_set_lock and it must be released with > > a c

[PATCH] PCI: mvebu: staticize mvebu_pcie_align_resource

2013-11-07 Thread Jisheng Zhang
This patch fixes the following sparse warning: drivers/pci/host/pci-mvebu.c:676:17: warning: symbol 'mvebu_pcie_align_resource' was not declared. Should it be static? Signed-off-by: Jisheng Zhang --- drivers/pci/host/pci-mvebu.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) d

Re: [PATCH net-next v4 3/9] static_key: WARN on usage before jump_label_init was called

2013-11-07 Thread Ingo Molnar
* Steven Rostedt wrote: > On Thu, 7 Nov 2013 01:50:27 +0100 > Hannes Frederic Sowa wrote: > > > On Wed, Nov 06, 2013 at 04:16:49PM -0500, Steven Rostedt wrote: > > > Sorry for the late reply, but this was sent while I was getting ready > > > for my two week conference trip. > > > > > > Note,

Re: [PATCH] PCI: mvebu: staticize mvebu_pcie_align_resource

2013-11-07 Thread Thomas Petazzoni
Dear Jisheng Zhang, On Thu, 7 Nov 2013 17:05:55 +0800, Jisheng Zhang wrote: > This patch fixes the following sparse warning: > drivers/pci/host/pci-mvebu.c:676:17: warning: symbol > 'mvebu_pcie_align_resource' was not declared. Should it be static? > > Signed-off-by: Jisheng Zhang Thanks, but a

Re: [PATCH v3] x86/cpu: Allow higher NR_CPUS values

2013-11-07 Thread Ingo Molnar
* Josh Boyer wrote: > The current range for SMP configs is 2 - 512 CPUs, or a full 4096 in the > case of MAXSMP. There are machines that have 1024 CPUs in them today > and configuring a kernel for that means you are forced to set MAXSMP. > This adds additional unnecessary overhead. While t

Re: [PATCH] cpu-idle: cpuidle-ux500: fixed a coding style issue

2013-11-07 Thread Daniel Lezcano
On 10/19/2013 09:28 AM, Saumya Ranjan Kuanr wrote: Fixed a coding style issue Signed-off-by: Saumya Ranjan Kuanr Applied for 3.14. Changed the subject to: ux500: cpuidle: Fix indentation Thanks -- Daniel --- drivers/cpuidle/cpuidle-ux500.c |2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v2 07/11] fs/ext4: use rbtree postorder iteration helper instead of opencoding

2013-11-07 Thread Jan Kara
On Wed 06-11-13 17:42:36, Cody P Schafer wrote: > Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead > of opencoding an alternate postorder iteration that modifies the tree The patch looks good. You can add: Reviewed-by: Jan Kara

Re: [PATCH] include/uapi/sound/firewire.h: use "_UAPI" instead of "UAPI"

2013-11-07 Thread Takashi Iwai
At Thu, 07 Nov 2013 11:14:29 +0800, Chen Gang wrote: > > When installing, "scripts/headers_install.sh" will strip guard macro' > "_UAPI" to prevent from appearing it to users. And also, all another > files which need uapi prefix always use "_UAPI", not "UAPI". > > So use "_UAPI" instead of "UAPI"

Re: [ANNOUNCE] Git v1.8.5-rc1

2013-11-07 Thread Christian Couder
On Thu, Nov 7, 2013 at 12:57 AM, Junio C Hamano wrote: > > * "git replace" helper no longer allows an object to be replaced with >another object of a different type to avoid confusion (you can >still manually craft such replacement using "git update-ref", as an >escape hatch). Maybe

[PATCH] spi: atmel: add support for changing message transfer speed

2013-11-07 Thread Richard Genoud
The only speed available was max_speed (the maximum speed declared for a device). This patch adds the support for spi_tranfer->speed_hz parameter. We can now set a different speed for each spi message. Signed-off-by: Richard Genoud --- drivers/spi/spi-atmel.c | 92 -

Re: [PATCH 0/4] perf record: Cleanups and mmap-based output

2013-11-07 Thread Jiri Olsa
On Wed, Nov 06, 2013 at 11:41:33AM -0700, David Ahern wrote: > I know Jiri is working on cleanups of the output file, but had this > sitting around for a couple of weeks now. Might as well push it out > for the next baseline. The cleanups of perf-record can be taken > independently. np, I'll rebas

Re: PINCTRL:We May need mutex protect in pinctrl API

2013-11-07 Thread Linus Walleij
On Thu, Nov 7, 2013 at 5:53 AM, xulinuxker...@gmail.com wrote: > Recently, our company use kernel 3.10 instead of 3.8.When we test the kernel > we found there would be hang up in pinctrl subsystem,the reason may be as > following, > In out system,nand and spi pins are some of the same,so we need

Re: [PATCH 0/3 - V2] Introducing Device Tree Overlays

2013-11-07 Thread Alexander Sverdlin
Hi! On 06/11/13 20:08, ext Pantelis Antoniou wrote: >>> The following patchset introduces Device Tree overlays, a method >>> of dynamically altering the kernel's live Device Tree, along with >>> a generic interface to use it in a board agnostic manner. >> >> In case this has been discussed and I m

Re: [alsa-devel] [PATCH] include/uapi/sound/firewire.h: use "_UAPI" instead of "UAPI"

2013-11-07 Thread Chen Gang
On 11/07/2013 03:54 PM, Clemens Ladisch wrote: > Chen Gang wrote: >> > When installing, "scripts/headers_install.sh" will strip guard macro' >> > "_UAPI" to prevent from appearing it to users. And also, all another >> > files which need uapi prefix always use "_UAPI", not "UAPI". >> > >> > So use "

Re: [PATCH] include/uapi/sound/firewire.h: use "_UAPI" instead of "UAPI"

2013-11-07 Thread Chen Gang
On 11/07/2013 05:29 PM, Takashi Iwai wrote: > At Thu, 07 Nov 2013 11:14:29 +0800, > Chen Gang wrote: >> > >> > When installing, "scripts/headers_install.sh" will strip guard macro' >> > "_UAPI" to prevent from appearing it to users. And also, all another >> > files which need uapi prefix always us

Re: linux-next: manual merge of the akpm-current tree with the kbuild tree

2013-11-07 Thread Michal Marek
On 7.11.2013 07:37, Stephen Rothwell wrote: > Hi Andrew, > > Today's linux-next merge of the akpm-current tree got a conflict in > scripts/bloat-o-meter between commit 21cf6e584ce3 ("kbuild, > bloat-o-meter: fix static detection") from the kbuild tree and commit > 372dd3b27736 ("scripts/bloat-o-me

[GIT PULL] s390 patches for the 3.13 merge window

2013-11-07 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: The bulk of the s390 patches for the 3.13 merge window. Heiko spent quite a bit of work to improve the code generation for the ke

Re: [PATCH v3 3/5] MCS Lock: Barrier corrections

2013-11-07 Thread Michel Lespinasse
On Wed, Nov 6, 2013 at 5:39 PM, Linus Torvalds wrote: > Sorry about the HTML crap, the internet connection is too slow for my normal > email habits, so I'm using my phone. > > I think the barriers are still totally wrong for the locking functions. > > Adding an smp_rmb after waiting for the lock i

Re: [PATCH v4] binfmt_elf.c: use get_random_int() to fix entropy depleting

2013-11-07 Thread Jeff Liu
Thanks for your prompt response! On 11/07/2013 01:13 PM, Stephan Mueller wrote: > Am Donnerstag, 7. November 2013, 12:14:17 schrieb Jeff Liu: > > Hi Jeff, > >> Hi Stephan, >> >> As per your previous comments for this fix, you have promised another >> approach which is promising to avoid entropy

Re: [PATCH 0/2] perf record: mmap output file - v3

2013-11-07 Thread Jiri Olsa
On Wed, Nov 06, 2013 at 10:51:52AM -0700, David Ahern wrote: > On 11/4/13, 11:31 AM, Jiri Olsa wrote: > >hi, > >after discussion with David, sending his change > >updated into the new data file object. > > > >David's original post: > > http://marc.info/?l=linux-kernel&m=138180575328977&w=2 > > >

[PATCH v10 1/7] ARM: add basic support for Trusted Foundations

2013-11-07 Thread Alexandre Courbot
Trusted Foundations is a TrustZone-based secure monitor for ARM that can be invoked using the same SMC-based API on all supported platforms. This patch adds initial basic support for Trusted Foundations using the ARM firmware API. Current features are limited to the ability to boot secondary proces

[PATCH v10 0/7] ARM: support for Trusted Foundations secure monitor

2013-11-07 Thread Alexandre Courbot
Just a set of small fixes to address the concerns expressed on v9 with the non-prefixed version DT properties. I hope there won't be a need for an eleventh (!) version. :P Changelog from v9: - Renamed tl vendor prefix to tlm (for Trusted Logic Mobility) - Prefixed version properties with "tlm," -

[PATCH v10 4/7] ARM: tegra: add support for Trusted Foundations

2013-11-07 Thread Alexandre Courbot
Register the firmware operations for Trusted Foundations if the device tree indicates it is active on the device. Signed-off-by: Alexandre Courbot Reviewed-by: Tomasz Figa Reviewed-by: Stephen Warren --- Documentation/devicetree/bindings/arm/tegra.txt | 5 + arch/arm/mach-tegra/Kconfig

[PATCH v10 6/7] ARM: tegra: set CPU reset handler with firmware op

2013-11-07 Thread Alexandre Courbot
Use a firmware operation to set the CPU reset handler and only resort to doing it ourselves if there is none defined. This supports the booting of secondary CPUs on devices using a TrustZone secure monitor. Signed-off-by: Alexandre Courbot Reviewed-by: Tomasz Figa Reviewed-by: Stephen Warren -

Re: [PATCH v3 8/9] ARM: add Armada 1500-mini and Chromecast device tree files

2013-11-07 Thread Sebastian Hesselbarth
On 11/07/13 06:48, Jisheng Zhang wrote: On Tue, 5 Nov 2013 06:28:42 -0800 Sebastian Hesselbarth wrote: This adds very basic device tree files for the Marvell Armada 1500-mini SoC (Berlin BG2CD) and the Google Chromecast. Currently, SoC only has nodes for cpu, some clocks, l2 cache controller, l

Re: [PATCH v3 4/9] ARM: add Marvell Berlin SoC familiy to Marvell doc

2013-11-07 Thread Sebastian Hesselbarth
On 11/07/13 06:56, Jisheng Zhang wrote: I have some permission to comment this patch now ;) Great! On Tue, 5 Nov 2013 06:28:38 -0800 Sebastian Hesselbarth wrote: This adds known facts and rumors about the Marvell Berlin (88DE3xxx) SoC family to the Marvell SoC documentation. Signed-off-by

[PATCH v10 7/7] ARM: tegra: support Trusted Foundations by default

2013-11-07 Thread Alexandre Courbot
Support for Trusted Foundations is light and allows the kernel to run on a wider range of devices, so enable it by default. Signed-off-by: Alexandre Courbot Reviewed-by: Tomasz Figa Reviewed-by: Stephen Warren --- arch/arm/configs/tegra_defconfig | 1 + 1 file changed, 1 insertion(+) diff --g

[PATCH v10 2/7] of: add vendor prefix for Trusted Logic Mobility

2013-11-07 Thread Alexandre Courbot
Add the "tlm" prefix for Trusted Logic Mobility. Signed-off-by: Alexandre Courbot --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefix

[PATCH v10 5/7] ARM: tegra: split setting of CPU reset handler

2013-11-07 Thread Alexandre Courbot
Not all Tegra devices can set the CPU reset handler in the same way. In particular, devices using a TrustZone secure monitor cannot set the reset handler directly and need to do it through a firmware operation. This patch separates the act of setting the reset handler from its preparation, so the

Re: [PATCH v3 9/9] ARM: add initial support for Marvell Berlin SoCs

2013-11-07 Thread Sebastian Hesselbarth
On 11/07/13 06:40, Jisheng Zhang wrote: On Tue, 5 Nov 2013 06:28:43 -0800 Sebastian Hesselbarth wrote: This adds initial support for the Marvell Berlin SoC family with Armada 1500 (88DE3100) and Armada 1500-mini (88DE3005) SoCs. Signed-off-by: Sebastian Hesselbarth Reviewed-by: Jason Cooper

[PATCH v10 3/7] of: add Trusted Foundations bindings

2013-11-07 Thread Alexandre Courbot
Add the Device Tree bindings for the Trusted Foundation secure monitor. Signed-off-by: Alexandre Courbot --- .../arm/firmware/tlm,trusted-foundations.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/firmware/tlm,tr

Re: [PATCH 1/2] clockevent: sun4i: Fill the irq field in the clockevent structure

2013-11-07 Thread Daniel Lezcano
On 10/25/2013 01:16 PM, Maxime Ripard wrote: The clock event structure irq field was not filled previously to the interrupt we're using. This was resulting in the timer not being used at all when using a configuration with SMP enabled on a system with several CPUs, and with the cpumask set to th

Re: [PATCH 2/2] clocksource: sun4i: change CPU mask to cpu_possible_mask

2013-11-07 Thread Daniel Lezcano
On 10/25/2013 01:16 PM, Maxime Ripard wrote: The interrupt for the timer is a shared processor interrupt, so any CPU found in the system can handle it. Switch to our cpumask to cpu_possible_mask instead of cpumask_of(0). Signed-off-by: Maxime Ripard Applied to my tree for 3.14 Thanks ! side

Re: Linux 3.12 released .. and no merge window yet .. and 4.0 plans?

2013-11-07 Thread Alexander Holler
Am 06.11.2013 14:42, schrieb Keith Curtis: I don't know if you all should spend time working only on bugs, but I believe more time should be spent on the bug *list*. There are many users patiently waiting for the kernel to work for their computer. The pleas for help can be read in the bug databas

Re: [PATCH v4 2/2] mm: allow to set overcommit ratio more precisely

2013-11-07 Thread Jerome Marchand
- Original Message - > From: "Dave Hansen" > To: "Andrew Morton" , "Jerome Marchand" > > Cc: linux...@kvack.org, linux-kernel@vger.kernel.org > Sent: Thursday, November 7, 2013 12:49:54 AM > Subject: Re: [PATCH v4 2/2] mm: allow to set overcommit ratio more precisely > > On 11/06/2013

Re: [PATCH 1/3 v8] thermal: samsung: add intclr_fall_shift bit in exynos_tmu_register struct

2013-11-07 Thread Bartlomiej Zolnierkiewicz
Hi, On Thursday, November 07, 2013 11:22:42 AM Naveen Krishna Chatradhi wrote: > On Exynos5250, the FALL interrupt related en, status and clear bits are > available at an offset of > 16 in INTEN, INTSTAT registers and at an offset of > 12 in INTCLEAR register. > > On Exynos5420, the FALL interru

Re: [PATCH net-next RFC 0/5] xen-netback: TX grant mapping instead of copy

2013-11-07 Thread Ian Campbell
On Fri, 2013-11-01 at 19:00 +, Zoltan Kiss wrote: > On 01/11/13 10:50, Ian Campbell wrote: > > Does this always avoid copying when bridging/openvswitching/forwarding > > (e.g. masquerading etc)? For both domU->domU and domU->physical NIC? > I've tested the domU->domU, domU->physical with bridge

Re: 3.12: raid-1 mismatch_cnt question

2013-11-07 Thread Justin Piszcz
On Mon, Nov 4, 2013 at 5:25 AM, Justin Piszcz wrote: > Hi, > > I run two SSDs in a RAID-1 configuration and I have a swap partition on a > third SSD. Over time, the mismatch_cnt between the two devices grows higher > and higher. > > Once a week, I run a check and repair against the md devices to

Bench for testing scheduler

2013-11-07 Thread Vincent Guittot
Hi, During the Energy-aware scheduling mini-summit, we spoke about benches that should be used to evaluate the modifications of the scheduler. I’d like to propose a bench that uses cyclictest to measure the wake up latency and the power consumption. The goal of this bench is to exercise the schedu

Boot failure on Origen with next-20131107

2013-11-07 Thread Sachin Kamat
good 5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 # bad: [48da1a29f5883ef9d14c6b828e469d86b4fc0980] Add linux-next specific files for 20131107 git bisect bad 48da1a29f5883ef9d14c6b828e469d86b4fc0980 # good: [8af25488610c16d9eed35b5e1ecdbe649a89d429] Merge remote-tracking branch 'l2-mtd/master'

Re: [PATCH 1/3 v8] thermal: samsung: add intclr_fall_shift bit in exynos_tmu_register struct

2013-11-07 Thread Naveen Krishna Ch
Hi Bartlomiej, On 7 November 2013 16:18, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Thursday, November 07, 2013 11:22:42 AM Naveen Krishna Chatradhi wrote: >> On Exynos5250, the FALL interrupt related en, status and clear bits are >> available at an offset of >> 16 in INTEN, INTSTAT register

Re: [PATCH] seccomp: not compatible with ARM OABI

2013-11-07 Thread James Hogan
Hi, On 06/11/13 23:31, Kees Cook wrote: > diff --git a/arch/Kconfig b/arch/Kconfig > index af2cc6eabcc7..6eaca7d92399 100644 > --- a/arch/Kconfig > +++ b/arch/Kconfig > @@ -331,12 +331,15 @@ config HAVE_ARCH_SECCOMP_FILTER > > config SECCOMP_FILTER > def_bool y > - depends on HAVE_ARC

Re: [PATCH v2 0/5] Allwinner SoCs High Speed Timer support

2013-11-07 Thread Daniel Lezcano
On 10/25/2013 03:07 PM, Maxime Ripard wrote: Hi everyone, Here is a few patches adding support for the High Speed Timers running on the Allwinner SoCs. These timers are 64 bits timers running at a much higher speed than the timers used for now on these SoCs, since they are no longer wired to th

Re: [PATCH 17/24] ocfs2: Convert use of typedef ctl_table to struct ctl_table

2013-11-07 Thread Joel Becker
On Tue, Oct 22, 2013 at 03:30:00PM -0700, Joe Perches wrote: > This typedef is unnecessary and should just be removed. > > Signed-off-by: Joe Perches Acked-by: Joel Becker > --- > fs/ocfs2/stackglue.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/fs/ocfs2/st

Re: [PATCH v3] p2m: use GNTTABOP_unmap_and_duplicate if available

2013-11-07 Thread David Vrabel
On 04/11/13 15:38, Roger Pau Monne wrote: > The new GNTTABOP_unmap_and_duplicate operation doesn't zero the > mapping passed in new_addr, allowing us to perform batch unmaps in p2m > code without requiring the use of a multicall. I have recently investigated some problems that were caused by a use

Re: [RFC] arch: Introduce new TSO memory barrier smp_tmb()

2013-11-07 Thread Will Deacon
Hi Peter, Couple of minor fixes on the arm64 side... On Wed, Nov 06, 2013 at 01:57:36PM +, Peter Zijlstra wrote: > --- a/arch/arm64/include/asm/barrier.h > +++ b/arch/arm64/include/asm/barrier.h > @@ -35,11 +35,59 @@ > #define smp_mb() barrier() > #define smp_rmb() barrier() > #

Re: CONFIG_NO_HZ_FULL + CONFIG_PREEMPT_RT_FULL = nogo

2013-11-07 Thread Thomas Gleixner
Mike, On Thu, 7 Nov 2013, Mike Galbraith wrote: > On Thu, 2013-11-07 at 04:26 +0100, Mike Galbraith wrote: > > On Wed, 2013-11-06 at 18:49 +0100, Thomas Gleixner wrote: > > > > I bet you are trying to work around some of the side effects of the > > > occasional tick which is still necessary de

Re: [PATCH 1/9] block: Convert various code to bio_for_each_segment()

2013-11-07 Thread Jan Kara
On Mon 04-11-13 15:36:19, Kent Overstreet wrote: > With immutable biovecs we don't want code accessing bi_io_vec directly - > the uses this patch changes weren't incorrect since they all own the > bio, but it makes the code harder to audit for no good reason - also, > this will help with multipage

Re: [PATCH v2 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI

2013-11-07 Thread Daniel Lezcano
On 11/06/2013 12:05 PM, Magnus Damm wrote: From: Magnus Damm Add Kconfig entries for CMT, MTU2, TMU and STI to drivers/clocksource/Kconfig. This will allow us to get rid of duplicated entires in architecture code such as arch/sh and arch/arm/mach-shmobile. Signed-off-by: Magnus Damm Hi Magn

Re: Boot failure on Origen with next-20131107

2013-11-07 Thread Tomasz Figa
Hi Sachin, On Thursday 07 of November 2013 16:25:15 Sachin Kamat wrote: > Hi, > > Today's linux next fails to boot Origen (Exynos4210) board. However, > Arndale (Exynos5250) board boots fine. Git bisect points to the > following as bad commit: > > 2361613206e66ce59cc0e08efa8d98ec15b84ed1 is the

Re: [PATCH 1/2] of: irq: Fix interrupt-map entry matching

2013-11-07 Thread Tomasz Figa
Hi Grant, Could you pick this patch up? It fixes boot-up at least on several Exynos based platforms, which use interrupt-map nodes with #interrupt-cells higher than 1. Also please disregard patch 2/2, as your fix that has been merged seems to be fine. Best regards, Tomasz On Tuesday 05 of Novem

Re: Bench for testing scheduler

2013-11-07 Thread Catalin Marinas
Hi Vincent, (for whatever reason, the text is wrapped and results hard to read) On Thu, Nov 07, 2013 at 10:54:30AM +, Vincent Guittot wrote: > During the Energy-aware scheduling mini-summit, we spoke about benches > that should be used to evaluate the modifications of the scheduler. > I’d lik

Re: [PATCH 2/2] of: irq: Check for reg property presence only when parsing interrupt-map

2013-11-07 Thread Tomasz Figa
Hi, On Tuesday 05 of November 2013 16:21:36 Tomasz Figa wrote: > This patch fixes the of_irq_parse_raw() function to check for reg > property only when really parsing interrupt map property, as it is not > required otherwise and breaks existing device trees. > > Signed-off-by: Tomasz Figa > ---

[PULL] virtio-next

2013-11-07 Thread Rusty Russell
The following changes since commit d8524ae9d6f492a9c6db9f4d89c5f9b8782fa2d5: Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux (2013-09-22 19:51:49 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/virti

Re: [PATCH 3/7] ARM: ux500: Remove ATAG support for SDI (MMC)

2013-11-07 Thread Ulf Hansson
On 6 November 2013 11:05, Lee Jones wrote: > This hasn't been used since we moved over to a Device Tree only platform. > > Signed-off-by: Lee Jones > --- > arch/arm/mach-ux500/Makefile | 3 +- > arch/arm/mach-ux500/board-mop500-sdi.c | 166 > - > arch

Re: [RESEND PATCH 2/2] staging/olpc_docn: reorder the lock sequence to avoid potential dead lock

2013-11-07 Thread Dan Carpenter
On Wed, Nov 06, 2013 at 09:22:36AM +0800, Gu Zheng wrote: > Hi Dan, > On 11/05/2013 07:02 PM, Dan Carpenter wrote: > > > On Tue, Nov 05, 2013 at 06:01:00PM +0800, Gu Zheng wrote: > >> The lock sequence of dcon_blank_fb(fb_info->lock ---> console_lock) is > >> against > >> with the one of console_

  1   2   3   4   5   6   7   >