[PATCH 14/20] of/fdt: use libfdt accessors for header data

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org With libfdt support, we can take advantage of helper accessors in libfdt for accessing the FDT header data. This makes the code more readable and makes the FDT blob structure more opaque to the kernel. This also prepares for removing struct boot_param_header

[PATCH 06/20] c6x: convert fdt pointers to opaque pointers

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org The architecture code does not need to access the internals of the FDT blob, so make the pointer to it void *. Signed-off-by: Rob Herring r...@kernel.org Cc: Mark Salter msal...@redhat.com Cc: Aurelien Jacquiot a-jacqu...@ti.com Cc: linux-c6x-...@linux-c6x.org

[PATCH 07/20] mips: convert fdt pointers to opaque pointers

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org The architecture code does not need to access the internals of the FDT blob, so make the pointer to it void *. Signed-off-by: Rob Herring r...@kernel.org Cc: Ralf Baechle r...@linux-mips.org --- arch/mips/include/asm/mips-boards/generic.h | 4 +---

[PATCH 05/20] ARM: dt: use default early_init_dt_alloc_memory_arch

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org Now that ARM is using memblock instead of bootmem, the default version of early_init_dt_alloc_memory_arch can be used. Signed-off-by: Rob Herring r...@kernel.org Cc: Russell King li...@arm.linux.org.uk Cc: linux-arm-ker...@lists.infradead.org ---

[PATCH 02/20] mips: lantiq: copy built-in DTB out of init section

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org The existing code is buggy because built-in DTBs are in init memory. Fix this by using the unflatten_and_copy_device_tree function. This removes all accesses to FDT header data by the arch code. Signed-off-by: Rob Herring r...@kernel.org Cc: Ralf Baechle

[PATCH 00/20] FDT clean-ups and libfdt support

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org This is a series of clean-ups of architecture FDT code and converts the core FDT code over to using libfdt functions. This is in preparation to add FDT based address translation parsing functions for early console support. The current MIPS lantiq and xlp DT

[RFC PATCH 1/2] KVM: emulate: move init_decode_cache to emulate.c

2014-04-03 Thread Bandan Das
Core emulator functions all belong in emulator.c, x86 should have no knowledge of emulator internals Signed-off-by: Bandan Das b...@redhat.com --- arch/x86/include/asm/kvm_emulate.h | 1 + arch/x86/kvm/emulate.c | 13 + arch/x86/kvm/x86.c | 13

[RFC PATCH 0/2] Emulator speedups - avoid initializations where possible

2014-04-03 Thread Bandan Das
While initializing emulation context structure, kvm memsets to 0 a number of fields some of which are redundant since they get set eventually. This patch attempts at avoiding some of them. Here are some before/after numbers on a Haswell host Note : The before numbers already include Paolo's RFC

[RFC PATCH 2/2] KVM: emulate: clean up initializations in init_decode_cache

2014-04-03 Thread Bandan Das
A lot of initializations are unnecessary as they get set to appropriate values before actually being used. Remove some of them and rework some others if the conditions that set them are not true Signed-off-by: Bandan Das b...@redhat.com --- arch/x86/include/asm/kvm_emulate.h | 16 +++--

Re: [PATCH] ipc,shm: disable shmmax and shmall by default

2014-04-03 Thread KOSAKI Motohiro
On Wed, Apr 2, 2014 at 8:20 PM, Davidlohr Bueso davidl...@hp.com wrote: The default size for shmmax is, and always has been, 32Mb. Today, in the XXI century, it seems that this value is rather small, making users have to increase it via sysctl, which can cause unnecessary work and userspace

Re: [RFC] mm,tracing: improve current situation

2014-04-03 Thread Dave Hansen
On 04/03/2014 02:44 PM, Davidlohr Bueso wrote: Now, on a more general scenario, I basically would like to know, 1) is this actually useful... I'm hoping that, if in fact something like this gets merged, it won't just sit there. 2) What other general data would be useful for debugging purposes?

Re: rcu_prempt stalls / lockup

2014-04-03 Thread Dave Jones
On Thu, Apr 03, 2014 at 05:44:30PM -0400, Dave Jones wrote: On Thu, Apr 03, 2014 at 01:46:56PM -0700, Paul E. McKenney wrote: git merge anti-fixes Then bisect through these reverts. I am assuming, perhaps naively, that changes under Documentation and to torture

Re: [RFC PATCH] memory driver: make phys_index/end_phys_index reflect the start/end section number

2014-04-03 Thread KOSAKI Motohiro
On Wed, Apr 2, 2014 at 12:09 PM, Dave Hansen dave.han...@intel.com wrote: On 04/02/2014 01:56 AM, Li Zhong wrote: I noticed the phys_index and end_phys_index under /sys/devices/system/memory/memoryXXX/ have the same value, e.g. (for the test machine, one memory block has 8 sections, that is

Re: [PATCH 3.10 0/9] 3.10.36-stable review

2014-04-03 Thread Greg Kroah-Hartman
On Tue, Apr 01, 2014 at 03:07:20PM -0600, Shuah Khan wrote: On 03/31/2014 10:08 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.36 release. There are 9 patches in this series, all will be posted as a response to this one. If anyone has any issues with

Re: [PATCH 3.13 00/22] 3.13.9-stable review

2014-04-03 Thread Greg Kroah-Hartman
On Tue, Apr 01, 2014 at 05:03:34PM -0700, Guenter Roeck wrote: On 03/31/2014 09:08 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.13.9 release. There are 22 patches in this series, all will be posted as a response to this one. If anyone has any issues

Re: [PATCH 5/5] tracing: Add 'hash' event trigger command

2014-04-03 Thread Tom Zanussi
Hi Masami, On Thu, 2014-04-03 at 17:59 +0900, Masami Hiramatsu wrote: Hi Tom, (2014/03/27 13:54), Tom Zanussi wrote: Hash triggers allow users to continually hash events which can then be dumped later by simply reading the trigger file. This is done strictly via one-liners and without

Linux 3.4.86

2014-04-03 Thread Greg KH
I'm announcing the release of the 3.4.86 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

Linux 3.13.9

2014-04-03 Thread Greg KH
I'm announcing the release of the 3.13.9 kernel. All users of the 3.13 kernel series must upgrade. The updated 3.13.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.13.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.13.9

2014-04-03 Thread Greg KH
diff --git a/Makefile b/Makefile index 4cab13b605c1..652f97296a40 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 13 -SUBLEVEL = 8 +SUBLEVEL = 9 EXTRAVERSION = NAME = One Giant Leap for Frogkind diff --git a/arch/x86/include/asm/pgtable.h

Re: Linux 3.10.36

2014-04-03 Thread Greg KH
diff --git a/Makefile b/Makefile index 06b31fce1ff5..b5f4ef30f6e6 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 10 -SUBLEVEL = 35 +SUBLEVEL = 36 EXTRAVERSION = NAME = TOSSUG Baby Fish diff --git a/arch/x86/include/asm/topology.h

Linux 3.10.36

2014-04-03 Thread Greg KH
I'm announcing the release of the 3.10.36 kernel. All users of the 3.10 kernel series must upgrade. The updated 3.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.10.y and can be browsed at the normal kernel.org git web

Re: [PATCH 3/9] crypto: qce: Add dma and sg helpers

2014-04-03 Thread Courtney Cavin
On Thu, Apr 03, 2014 at 06:18:00PM +0200, Stanimir Varbanov wrote: This adds dmaengine and sg-list helper functions used by other parts of the crypto driver. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com --- drivers/crypto/qce/dma.c | 201

Re: [PATCH] arm: don't allow CONFIG_DEBUG_SET_MODULE_RONX if CONFIG_JUMP_LABEL is enabled

2014-04-03 Thread Kees Cook
On Tue, Apr 1, 2014 at 4:08 PM, Rabin Vincent ra...@rab.in wrote: 2014-04-01 20:36 GMT+02:00 Kees Cook keesc...@chromium.org: Is there something sticky about PMD sections that I'm not aware of? Even after calling set_kernel_text_rw(), any writes to kernel memory fault. :( section_update()

Re: [GIT PULL] cgroup changes for v3.15-rc1

2014-04-03 Thread Eric W. Biederman
Tejun Heo t...@kernel.org writes: Hello, On Thu, Apr 03, 2014 at 12:01:23PM -0700, Linus Torvalds wrote: [ Extending the participants list a bit ] As for using specific type for ns tag, yeah, that'd be better regardless of this. The opaqueness is a bit extreme now. (The opaqueness has

Re: linux-3.14 nfsd regression

2014-04-03 Thread Jeff Layton
On Thu, 3 Apr 2014 16:16:27 -0400 J. Bruce Fields bfie...@fieldses.org wrote: On Thu, Apr 03, 2014 at 02:55:04PM -0400, Jeff Layton wrote: On Thu, 03 Apr 2014 13:51:06 -0400 Mark Lord ml...@pobox.com wrote: On 14-04-03 01:16 PM, J. Bruce Fields wrote: On Thu, Apr 03, 2014 at

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread Li, Aubrey
On 2014/4/4 0:13, Steven Rostedt wrote: On Thu, 03 Apr 2014 08:58:14 -0700 H. Peter Anvin h...@zytor.com wrote: On 04/03/2014 08:39 AM, Steven Rostedt wrote: Hmm, I didn't see this email. Note, this box is an old development box that Intel sent me years ago. Preproduction system?

Re: [RFC] mm,tracing: improve current situation

2014-04-03 Thread Sasha Levin
On 04/03/2014 05:44 PM, Davidlohr Bueso wrote: Hi All, During LSFMM Dave Jones discussed the current situation around testing/trinity in the mm. One of the conclusions was that basically we lack tools to gather the necessary information to make debugging a less painful process, making it

Re: [PATCH 7/9] driver: staging: wlan-ng: Fixed white spaces issues

2014-04-03 Thread Sherif
It's because I didn't build this source tree before. Had to build it first and now I can build the module. I will regenerate the patches and send them by tomorrow hopefully. Hope to do it right this time. :) On 04/03/2014 11:48 AM, Dan Carpenter wrote: On Thu, Apr 03, 2014 at 11:42:47AM

Re: [RFC] mm,tracing: improve current situation

2014-04-03 Thread Davidlohr Bueso
On Thu, 2014-04-03 at 15:31 -0700, Dave Hansen wrote: On 04/03/2014 02:44 PM, Davidlohr Bueso wrote: Now, on a more general scenario, I basically would like to know, 1) is this actually useful... I'm hoping that, if in fact something like this gets merged, it won't just sit there. 2) What

Re: [PATCH 1/9] crypto: qce: Add core driver implementation

2014-04-03 Thread Courtney Cavin
On Thu, Apr 03, 2014 at 06:17:58PM +0200, Stanimir Varbanov wrote: This adds core driver files. The core part is implementing a platform driver probe and remove callbaks, the probe enables clocks, checks crypto version, initialize and request dma channels, create done tasklet and work queue

Re: [PATCH] ipc,shm: disable shmmax and shmall by default

2014-04-03 Thread KOSAKI Motohiro
On Thu, Apr 3, 2014 at 3:50 PM, Davidlohr Bueso davidl...@hp.com wrote: On Thu, 2014-04-03 at 21:02 +0200, Manfred Spraul wrote: Hi Davidlohr, On 04/03/2014 02:20 AM, Davidlohr Bueso wrote: The default size for shmmax is, and always has been, 32Mb. Today, in the XXI century, it seems that

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread Steven Rostedt
On Fri, 04 Apr 2014 07:23:32 +0800 Li, Aubrey aubrey...@linux.intel.com wrote: Can you please send the dmi table out? I already did as a gz attachment to H. Peter. You were on the Cc, did you not receive it? -- Steve -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH] fs: Don't return 0 from get_anon_bdev

2014-04-03 Thread Alexandre Demers
It works over here, tested on 3.14-rc8 which was previously failing. You have my Tested-by: Alexandre Demers Alexandre Demers On 04/03/2014 03:49 PM, Thomas Bächler wrote: Commit 9e30cc9595303b27b48 removed an internal mount. This has the side-effect that rootfs now has FSID 0. Many

Re: Promela/spin model for NO_HZ_FULL_SYSIDLE code

2014-04-03 Thread Frederic Weisbecker
On Sun, Mar 30, 2014 at 04:08:56PM -0700, Paul E. McKenney wrote: For whatever it is worth, the following model claims safety and progress for the sysidle state machine. Thoughts? I'm going to get fun of myself by risking a review of this. Warning, I don't speak promelian, so I may well

[PATCH v3] staging: comedi: s626: use comedi_timeout() on remaining loops

2014-04-03 Thread Chase Southwood
There were just a handful of more while loops in this file that needed timeouts, and this patch takes care of them. One new callback is introduced, and all of the proper comedi_timeout() calls are then used. The return type of s626_i2c_handshake() has been changed from uint32_t to int so that a

Re: [PATCH] ipc,shm: disable shmmax and shmall by default

2014-04-03 Thread KOSAKI Motohiro
This change allows Linux to treat shm just as regular anonymous memory. One important difference between them, though, is handling out-of-memory conditions: as opposed to regular anon memory, the OOM killer will not kill processes that are hogging memory through shm, allowing users to

Re: [PATCH] arm: don't allow CONFIG_DEBUG_SET_MODULE_RONX if CONFIG_JUMP_LABEL is enabled

2014-04-03 Thread Rabin Vincent
On Thu, Apr 03, 2014 at 04:14:54PM -0700, Kees Cook wrote: On Tue, Apr 1, 2014 at 4:08 PM, Rabin Vincent ra...@rab.in wrote: Here's a patch (probably whitespace damaged, hence also attached) with which dynamic ftrace works for me on top your other paches. Tested on a non-LPAE SMP.

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread Li, Aubrey
On 2014/4/4 7:40, Steven Rostedt wrote: On Fri, 04 Apr 2014 07:23:32 +0800 Li, Aubrey aubrey...@linux.intel.com wrote: Can you please send the dmi table out? I already did as a gz attachment to H. Peter. You were on the Cc, did you not receive it? Oh, I got it. This is a Preproduction

Re: [GIT PULL] ktest: Set CLOSE_CONSOLE_SIGNAL in the kvm.conf

2014-04-03 Thread Steven Rostedt
Hi Linus, Thanks for pulling in the tracing code. But I'm wonder if this simple pull request got lost in the mix too, or hidden in your spam folder. -- Steve On Tue, 1 Apr 2014 12:14:12 -0400 Steven Rostedt rost...@goodmis.org wrote: Linus, This just contains a single update by Satoru

[PATCH 1/1] Drivers: hv: vmbus: Negotiate version 3.0 when running on ws2012r2 hosts

2014-04-03 Thread K. Y. Srinivasan
Only ws2012r2 hosts support the ability to reconnect to the host on VMBUS. This functionality is needed by kexec in Linux. To use this functionality we need to negotiate version 3.0 of the VMBUS protocol. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread H. Peter Anvin
On 04/03/2014 04:52 PM, Li, Aubrey wrote: On 2014/4/4 7:40, Steven Rostedt wrote: On Fri, 04 Apr 2014 07:23:32 +0800 Li, Aubrey aubrey...@linux.intel.com wrote: Can you please send the dmi table out? I already did as a gz attachment to H. Peter. You were on the Cc, did you not receive it?

Re: [PATCH 3.5 71/71] ioat: fix tasklet tear down

2014-04-03 Thread Ben Hutchings
On Mon, 2014-03-31 at 14:23 +0100, Luis Henriques wrote: 3.5.7.33 -stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings b...@decadent.org.uk [...] Should be From: Dan Williams dan.j.willi...@intel.com I think you must have got my

[PATCH 1/1] x86/platform/hyperv: When on Hyper-v use NULL legacy PIC

2014-04-03 Thread K. Y. Srinivasan
Use the NULL legacy PIC when on Hyper-V. With this change we can support kexec even when booting on EFI firmware. This patch has been tested on both EFI as well as non-EFI firmware stacks on Hyper-V. This patch is required to support kexec on EFI firmware on Hyper-V. Please apply. Signed-off-by:

[ty...@mit.edu: [GIT PULL] /dev/random changes for 3.15]

2014-04-03 Thread Theodore Ts'o
Whoops, sorry to cc LKML. - Ted ---BeginMessage--- The following changes since commit b28a960c42fcd9cfc987441fa6d1c1a471f0f9ed: Linux 3.14-rc2 (2014-02-09 18:15:47 -0800) are available in the git repository at:

[PATCH v3] mach-bcm: clean up config and build targets

2014-04-03 Thread Alex Elder
Currently CONFIG_ARCH_BCM_MOBILE is used to select all (both) Broadcom mobile SoC families. Instead, use that only as a config menu switch, and define specific symbols like ARCH_BCM_281XX to select a particular SoC family. If ARCH_BCM_MOBILE is selected, all of the SoCs will be selected by

Re: [PATCH] arm: don't allow CONFIG_DEBUG_SET_MODULE_RONX if CONFIG_JUMP_LABEL is enabled

2014-04-03 Thread Kees Cook
On Thu, Apr 3, 2014 at 4:48 PM, Rabin Vincent ra...@rab.in wrote: On Thu, Apr 03, 2014 at 04:14:54PM -0700, Kees Cook wrote: On Tue, Apr 1, 2014 at 4:08 PM, Rabin Vincent ra...@rab.in wrote: Here's a patch (probably whitespace damaged, hence also attached) with which dynamic ftrace works for

[git pull] m68knommu arch fixes for 3.15

2014-04-03 Thread Greg Ungerer
Hi Linus, Can you please pull the m68knommu git tree, for-next branch. Just a couple of fixes. Clean up compile warnings by using correct types in function args, and clean out the removed CONFIG_MTD_PARTITIONS. Regards Greg The following changes since commit

RE: [PATCHv4 2/2] watchdog: imx2_wdt: convert to use regmap API.

2014-04-03 Thread li.xi...@freescale.com
+ base = devm_ioremap_resource(pdev-dev, res); + if (IS_ERR(base)) + return PTR_ERR(base); + + imx2_wdt.regmap = devm_regmap_init_mmio_clk(pdev-dev, NULL, base, + imx2_wdt_regmap_config); This patch causes the following

ktap and ebpf integration

2014-04-03 Thread Jovi Zhangwei
Hi Alexei, We talked a lot on ktap and ebpf integration in these days, Now I think we can put into deeply to thinking out some technical issues in there. Firstly, I want to make sure you are support this ktap and ebpf integration direction, I aware you have ongoing 'bpf filter' patch set work,

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread Li, Aubrey
On 2014/4/4 8:12, H. Peter Anvin wrote: On 04/03/2014 04:52 PM, Li, Aubrey wrote: On 2014/4/4 7:40, Steven Rostedt wrote: On Fri, 04 Apr 2014 07:23:32 +0800 Li, Aubrey aubrey...@linux.intel.com wrote: Can you please send the dmi table out? I already did as a gz attachment to H. Peter. You

Re: [RFC PATCH] memory driver: make phys_index/end_phys_index reflect the start/end section number

2014-04-03 Thread Yasuaki Ishimatsu
(2014/04/02 17:56), Li Zhong wrote: I noticed the phys_index and end_phys_index under /sys/devices/system/memory/memoryXXX/ have the same value, e.g. (for the test machine, one memory block has 8 sections, that is sections_per_block equals 8) # cd /sys/devices/system/memory/memory100/ # cat

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread H. Peter Anvin
Keep in mind we already tried CF9 in the default flow and it broke things. I'm willing to wait for reports about production machines, though, but I fully expect them. On April 3, 2014 6:27:48 PM PDT, Li, Aubrey aubrey...@linux.intel.com wrote: On 2014/4/4 8:12, H. Peter Anvin wrote: On

Re: Re: [PATCH 5/5] tracing: Add 'hash' event trigger command

2014-04-03 Thread Masami Hiramatsu
(2014/04/04 7:43), Tom Zanussi wrote: Hi Masami, On Thu, 2014-04-03 at 17:59 +0900, Masami Hiramatsu wrote: Hi Tom, (2014/03/27 13:54), Tom Zanussi wrote: Hash triggers allow users to continually hash events which can then be dumped later by simply reading the trigger file. This is done

Re: [PATCHv4 2/2] watchdog: imx2_wdt: convert to use regmap API.

2014-04-03 Thread Guenter Roeck
On 04/03/2014 06:13 PM, li.xi...@freescale.com wrote: + base = devm_ioremap_resource(pdev-dev, res); + if (IS_ERR(base)) + return PTR_ERR(base); + + imx2_wdt.regmap = devm_regmap_init_mmio_clk(pdev-dev, NULL, base, +

RE: [PATCHv4 2/2] watchdog: imx2_wdt: convert to use regmap API.

2014-04-03 Thread li.xi...@freescale.com
This is caused by not compiling the regmap core. Could you add the following patch to have a try ? == diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 79d2589..3e55fa9 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig

[PATCH 2/2] ARM: mm: make text and rodata read-only

2014-04-03 Thread Kees Cook
This introduces CONFIG_DEBUG_RODATA, making kernel text and rodata read-only. It splits rodata from text so that rodata can also be NX. Signed-off-by: Kees Cook keesc...@chromium.org --- arch/arm/include/asm/cacheflush.h |9 arch/arm/kernel/ftrace.c | 17 +++

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread Steven Rostedt
On Fri, 04 Apr 2014 07:52:53 +0800 Li, Aubrey aubrey...@linux.intel.com wrote: On 2014/4/4 7:40, Steven Rostedt wrote: On Fri, 04 Apr 2014 07:23:32 +0800 Li, Aubrey aubrey...@linux.intel.com wrote: Can you please send the dmi table out? I already did as a gz attachment to H. Peter.

[RFC PATCH] ARM: mm: implement CONFIG_DEBUG_RODATA

2014-04-03 Thread Kees Cook
This is the next round of trying to implement RODATA. This series works for the page tables, but I can't make ftrace work. I would love to know what I should fix here. :) Thanks to everyone who's been helping with this series! -Kees -- To unsubscribe from this list: send the line unsubscribe

[PATCH 1/2] ARM: mm: mark non-text sections non-executable

2014-04-03 Thread Kees Cook
Adds CONFIG_ARM_KERNMEM_PERMS to separate the kernel memory regions into section-sized areas that can have different permisions. Performs the NX permission changes during free_initmem, so that init memory can be reclaimed. This uses section size instead of PMD size to reduce memory caps on

[PATCH 4/5] ARM: dts: enable SMP support for bcm28155

2014-04-03 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm28155 SoC. Signed-off-by: Ray Jui r...@broadcom.com Signed-off-by: Alex Elder el...@linaro.org --- arch/arm/boot/dts/bcm11351.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351.dtsi

[PATCH 0/5] ARM: SMP: support Broadcom mobile SoCs

2014-04-03 Thread Alex Elder
This series adds SMP support for two Broadcom mobile SoC families. It uses CPU_METHOD_OF_DECLARE() (or rather a new variant of that) so that SMP operations are assigned using device tree rather than adding it to a machine definition in a board file. The first patch adds the ability to extract

[PATCH 3/5] ARM: configs: enable SMP in bcm_defconfig

2014-04-03 Thread Alex Elder
Also explicitly set CONFIG_NR_CPUS to 2, limiting it to the most we currently need. Signed-off-by: Ray Jui r...@broadcom.com Signed-off-by: Alex Elder el...@linaro.org --- arch/arm/configs/bcm_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/bcm_defconfig

[PATCHv5 0/2] imx2-wdt: Add regmap-mmio support

2014-04-03 Thread Xiubo Li
This patches are preparing for Vybird, LS1 and LS2. And on LS1 the IP will in BE mode. Changes in V5: - Select the REGMAP_MMIO default for IMX2 Watchdog. Changes in V4: - Add the explanation why uing the regmap APIs. Changes in V3: - convert to use regmap-mmio API. Changes in V2: - Add the

[PATCHv5 2/2] watchdog: imx2_wdt: convert to use regmap API.

2014-04-03 Thread Xiubo Li
This watchdog driver will be working on IMX2+, Vybrid, LS1, LS2+ platforms, and will be in different endianness mode in those SoCs: SoCs CPU endian mode WDT endian mode IMX2+LELE Vybird LE

[PATCH 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-04-03 Thread Alex Elder
This patch adds SMP support for BCM281XX and BCM21664 family SoCs. This feature is controlled with a distinct config option such that a SMP-enabled multi-v7 binary can be configured to run these SoCs in uniprocessor mode. Since this SMP functionality is used for multiple Broadcom mobile chip

[PATCH 5/5] ARM: dts: enable SMP support for bcm21664

2014-04-03 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm21644 SoC. Signed-off-by: Alex Elder el...@linaro.org --- arch/arm/boot/dts/bcm21664.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi index

[PATCHv5 1/2] watchdog: imx2_wdt: Sort the header files alphabetically

2014-04-03 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com Reviewed-by: Guenter Roeck li...@roeck-us.net Acked-by: Shawn Guo shawn@linaro.org --- drivers/watchdog/imx2_wdt.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/watchdog/imx2_wdt.c

[PATCH 1/5] ARM: introduce CPU_METHOD_OF_DECLARE_SETUP()

2014-04-03 Thread Alex Elder
The CPU_METHOD_OF_DECLARE() macro allows methods for assigning SMP/hotplug operations to CPUS to be defined using device tree, without the need for machine-dependent code. And although it allows the *method* to be specified, it does *not* allow any parameterization of that method. For example,

Re: [PATCH 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-04-03 Thread Alex Elder
On 04/03/2014 09:18 PM, Alex Elder wrote: This patch adds SMP support for BCM281XX and BCM21664 family SoCs. This feature is controlled with a distinct config option such that a SMP-enabled multi-v7 binary can be configured to run these SoCs in uniprocessor mode. Since this SMP

Re: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread Li, Aubrey
On 2014/4/4 10:16, Steven Rostedt wrote: On Fri, 04 Apr 2014 07:52:53 +0800 Li, Aubrey aubrey...@linux.intel.com wrote: On 2014/4/4 7:40, Steven Rostedt wrote: On Fri, 04 Apr 2014 07:23:32 +0800 Li, Aubrey aubrey...@linux.intel.com wrote: Can you please send the dmi table out? I already

Re: [PATCH 1/2] nohz: use seqlock to avoid race on idle time stats v2

2014-04-03 Thread Hidetoshi Seto
(2014/04/03 18:51), Denys Vlasenko wrote: On Thu, Apr 3, 2014 at 9:02 AM, Hidetoshi Seto seto.hideto...@jp.fujitsu.com wrote: [PROBLEM 2]: broken iowait accounting. As historical nature, cpu's idle time was accounted as either idle or iowait depending on the presence of tasks blocked by

Re: [PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support

2014-04-03 Thread Waiman Long
On 04/03/2014 01:23 PM, Konrad Rzeszutek Wilk wrote: On Wed, Apr 02, 2014 at 10:10:17PM -0400, Waiman Long wrote: On 04/02/2014 04:35 PM, Waiman Long wrote: On 04/02/2014 10:32 AM, Konrad Rzeszutek Wilk wrote: On Wed, Apr 02, 2014 at 09:27:29AM -0400, Waiman Long wrote: N.B. Sorry for the

Re: [PATCH v2 2/2] devicetree: Add devicetree bindings documentation for Cadence SPI

2014-04-03 Thread Harini Katakam
Hi Mark, On Fri, Apr 4, 2014 at 3:04 AM, Mark Brown broo...@kernel.org wrote: On Thu, Apr 03, 2014 at 04:40:31PM +0530, Harini Katakam wrote: +Optional properties: +- num-cs : Number of chip selects used. How does this translate to the hardware? This IP can drive 4 slaves. The

Re: [PATCH 1/2] devicetree: Add devicetree bindings documentation for Zynq Quad SPI

2014-04-03 Thread Harini Katakam
Hi Mark, On Fri, Apr 4, 2014 at 2:31 AM, Mark Brown broo...@kernel.org wrote: On Thu, Apr 03, 2014 at 10:33:06PM +0530, Punnaiah Choudary Kalluri wrote: +Optional properties: +- num-cs : Number of chip selects used. What does this translate into? + num-cs = /bits/

Re: [PATCH 4/4] hugetlb: add support for gigantic page allocation at runtime

2014-04-03 Thread Yasuaki Ishimatsu
(2014/04/03 3:08), Luiz Capitulino wrote: HugeTLB is limited to allocating hugepages whose size are less than MAX_ORDER order. This is so because HugeTLB allocates hugepages via the buddy allocator. Gigantic pages (that is, pages whose size is greater than MAX_ORDER order) have to be allocated

[PATCH 0/3] switch printk timestamp to use booting time

2014-04-03 Thread Lei Wen
It is very common to have many processor to run over the same machine but run different OS actually, so that timestamp alignment is key to do the right debugging when find something wrong. Linux adopt schedule clock stopped, so that printk timestamp would get during suspend period which break

[PATCH 1/3] time: create __get_monotonic_boottime for WARNless calls

2014-04-03 Thread Lei Wen
Since sched_clock always get stopped during suspend period, it would make it hard to use the kernel log to compare with other procssor generated log which running over the same machine. [Absolutely not running linux] So we need a way to recover the printk timestamp that including suspend time in

[PATCH 2/3] timekeeping: move clocksource init to the early place

2014-04-03 Thread Lei Wen
So that in the very early booting place, we could call timekeeping code, while it would not cause system panic, since clock is not init yet. And for system default clock is always jiffies, so that it shall be safe to do so. Signed-off-by: Lei Wen lei...@marvell.com --- include/linux/time.h

[PATCH 3/3] printk: using booting time as the timestamp

2014-04-03 Thread Lei Wen
As people may want to align the kernel log with some other processor running over the same machine but not the same copy of linux, we need to keep their log aligned, so that it would not make debug process hard and confused. Signed-off-by: Lei Wen lei...@marvell.com --- kernel/printk/printk.c |

Xen 32-bit PV regression

2014-04-03 Thread Boris Ostrovsky
Steven, Looks like commit 198d208df (x86: Keep thread_info on thread stack in x86_32) broke Xen's 32-bit PV guests. I poked a little at it and it seems that at least the ifdef in xen_cpu_up() needs to be adjusted to set up kernel_stack --- that allows CPUs to get going. This is not enough

[PATCH v4 0/2] i2c: add DMA support for freescale i2c driver

2014-04-03 Thread Yuan Yao
Changed in v4: - cancelled i2c_imx-use_dma. - changed Dma to DMA. - add timeout handling for DMA transfer complete. Changed in v3: - fix a bug when request the DMA faild. - some minor fixes for coding style. - other minor fixes. Changed in v2: - remove has_dma_support property - unify

[PATCH v4 2/2] Documentation:add DMA support for freescale i2c driver

2014-04-03 Thread Yuan Yao
Add i2c dts node properties for eDMA support, them depend on the eDMA driver. Signed-off-by: Yuan Yao yao.y...@freescale.com --- Documentation/devicetree/bindings/i2c/i2c-imx.txt | 11 +++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.txt

[PATCH v4 1/2] i2c: add DMA support for freescale i2c driver

2014-04-03 Thread Yuan Yao
Add dma support for i2c. This function depend on DMA driver. You can turn on it by write both the dmas and dma-name properties in dts node. Signed-off-by: Yuan Yao yao.y...@freescale.com --- drivers/i2c/busses/i2c-imx.c | 372 +-- 1 file changed, 319

[PATCH v2 3/8] DMA: Freescale: remove attribute DMA_INTERRUPT of dmaengine

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com Delete attribute DMA_INTERRUPT because fsldma doesn't support this function, exception will be thrown if talitos is used to offload xor at the same time. Signed-off-by: Hongbo Zhang hongbo.zh...@freescale.com Signed-off-by: Qiang Liu

[PATCH v2 2/8] DMA: Freescale: unify register access methods

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com Methods of accessing DMA contorller registers are inconsistent, some registers are accessed by DMA_IN/OUT directly, while others are accessed by functions get/set_* which are wrappers of DMA_IN/OUT, and even for the BCR register, it is read by get_bcr

[PATCH v2 1/8] DMA: Freescale: remove the unnecessary FSL_DMA_LD_DEBUG

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com Some codes are calling chan_dbg with FSL_DMA_LD_DEBUG surrounded, it is really unnecessary to use such a macro because chan_dbg is a wrapper of dev_dbg, we do have corresponding DEBUG macro to switch on/off dev_dbg, and most of the other codes are

[PATCH v2 5/8] DMA: Freescale: move functions to avoid forward declarations

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com These functions will be modified in the next patch in the series. By moving the function in a patch separate from the changes, it will make review easier. Signed-off-by: Hongbo Zhang hongbo.zh...@freescale.com Signed-off-by: Qiang Liu

[PATCH v2 6/8] DMA: Freescale: change descriptor release process for supporting async_tx

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com Fix the potential risk when enable config NET_DMA and ASYNC_TX. Async_tx is lack of support in current release process of dma descriptor, all descriptors will be released whatever is acked or no-acked by async_tx, so there is a potential race

[PATCH v2 8/8] DMA: Freescale: add suspend resume functions for DMA driver

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com This patch adds suspend resume functions for Freescale DMA driver. .prepare callback is used to stop further descriptors from being added into the pending queue, and also issue pending queues into execution if there is any. .suspend callback makes

[PATCH v2 7/8] DMA: Freescale: use spin_lock_bh instead of spin_lock_irqsave

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com The usage of spin_lock_irqsave() is a stronger locking mechanism than is required throughout the driver. The minimum locking required should be used instead. Interrupts will be turned off and context will be saved, it is unnecessary to use irqsave.

[PATCH v2 0/8] DMA: Freescale: driver cleanups and enhancements

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com Hi Vinod Koul, Please have a look at the v2 patch set. v1 - v2 change: The only one change is introducing a new patch[1/7] to remove the unnecessary macro FSL_DMA_LD_DEBUG, thus the total patches number is 8 now (was 7) Hongbo Zhang (8): DMA:

[PATCH v2 4/8] DMA: Freescale: add fsl_dma_free_descriptor() to reduce code duplication

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com There are several places where descriptors are freed using identical code. This patch puts this code into a function to reduce code duplication. Signed-off-by: Hongbo Zhang hongbo.zh...@freescale.com Signed-off-by: Qiang Liu qiang@freescale.com

Re: [PATCH 2/2] SPI: Add support for Zynq Quad SPI controller

2014-04-03 Thread Harini Katakam
Hi Mark, On Fri, Apr 4, 2014 at 2:59 AM, Mark Brown broo...@kernel.org wrote: On Thu, Apr 03, 2014 at 10:33:07PM +0530, Punnaiah Choudary Kalluri wrote: Overall this looks fairly good, there are a few issues that need to be looked at but they're not too invasive. Please also check for coding

Re: [PATCH v9 1/1] Tracepoint: register/unregister struct tracepoint

2014-04-03 Thread Mathieu Desnoyers
- Original Message - From: Steven Rostedt rost...@goodmis.org To: Mathieu Desnoyers mathieu.desnoy...@efficios.com Cc: linux-kernel@vger.kernel.org, Ingo Molnar mi...@kernel.org, Frederic Weisbecker fweis...@gmail.com, Andrew Morton a...@linux-foundation.org, Frank Ch. Eigler

[PATCH] KVM: x86: Fix page-tables reserved bits

2014-04-03 Thread Nadav Amit
KVM does not handle the reserved bits of x86 page tables correctly: In PAE, bits 5:8 are reserved in the PDPTE. In IA-32e, bit 8 is not reserved. Signed-off-by: Nadav Amit na...@cs.technion.ac.il --- arch/x86/kvm/mmu.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] power, sched: stop updating inside arch_update_cpu_topology() when nothing to be update

2014-04-03 Thread Michael wang
Hi, Srivatsa Thanks for your reply :) On 04/03/2014 04:50 PM, Srivatsa S. Bhat wrote: [snip] Now, the interesting thing to note here is that, if CPU0's node was already set as node0, *nothing* should go wrong, since its just a redundant update. However, if CPU0's original node mapping was

Re: [PATCH v2 1/2] SPI: Add driver for Cadence SPI controller

2014-04-03 Thread Harini Katakam
Hi Mark On Fri, Apr 4, 2014 at 3:13 AM, Mark Brown broo...@kernel.org wrote: On Thu, Apr 03, 2014 at 04:40:30PM +0530, Harini Katakam wrote: Add driver for Cadence SPI controller. This is used in Xilinx Zynq. I just reviewed a driver for Zynq Quad SPI controller from Punnaiah Choudary

Re: Xen 32-bit PV regression

2014-04-03 Thread Boris Ostrovsky
On 04/03/2014 11:23 PM, Boris Ostrovsky wrote: Steven, Looks like commit 198d208df (x86: Keep thread_info on thread stack in x86_32) broke Xen's 32-bit PV guests. I poked a little at it and it seems that at least the ifdef in xen_cpu_up() needs to be adjusted to set up kernel_stack --- that

Re: [GIT PULL] ext4 changes for 3.15

2014-04-03 Thread Theodore Ts'o
On Thu, Apr 03, 2014 at 12:39:42PM -0700, Linus Torvalds wrote: Btw, since I'm planning on getting to the filesystem pulls later today (or perhaps tomorrow), I wanted to check: are you ok with the ext4 parts of the cross-rename patches from Miklos? They are currently at

[PATCH v3 0/3] Add a method to expand tracers for pstore easily

2014-04-03 Thread Liu ShuoX
Hi, Here are the v3 of this series. Changelog v3: 1) Fix compiling errors when CONFIG_PSTORE_RAM=m. Changelog v2: 1) Fix compiling errors when CONFIG_PSTORE_RAM is disabled. 2) Add some protection in the code in case we disable CONFIG_PSTORE_RAM. --- Liu ShuoX (2): pstore: add seq_ops

<    5   6   7   8   9   10   11   12   >