Re: [PATCH v2 1/2] usb: doc: udc-xilinx: Add devicetree bindings

2014-04-03 Thread Michal Simek
On 04/03/2014 04:59 PM, Felipe Balbi wrote: > On Thu, Apr 03, 2014 at 01:05:18PM +0530, Subbaraya Sundeep Bhatta wrote: >> Add devicetree bindings for Xilinx axi udc driver. >> >> Signed-off-by: Subbaraya Sundeep Bhatta >> --- >> Changes for v2: >> - replaced xlnx,include-dma with

For review: open_by_handle_at(2) man page [v4]

2014-04-03 Thread Michael Kerrisk (man-pages)
Hello Aneesh, After integrating review comments from NeilBown, Christoph Hellwig, and Mike Frysinger, here is draft 4 of a man page I've written for name_to_handle_at(2) and open_by_handle_at(2). (The changes since draft 3 are only minor.) Would you be willing to review it please, and let me

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

2014-04-03 Thread Michal Simek
Hi Mark and Harini, On 04/04/2014 05:01 AM, Harini Katakam wrote: > Hi Mark, > > On Fri, Apr 4, 2014 at 2:31 AM, Mark Brown wrote: >> On Thu, Apr 03, 2014 at 10:33:06PM +0530, Punnaiah Choudary Kalluri wrote: >> >>> +Optional properties: >>> +- num-cs : Number of chip selects used.

[PATCH v2 1/2] media: davinci: vpif capture: upgrade the driver with v4l offerings

2014-04-03 Thread Lad, Prabhakar
From: "Lad, Prabhakar" This patch upgrades the vpif display driver with v4l helpers, this patch does the following, 1: initialize the vb2 queue and context at the time of probe and removes context at remove() callback. 2: uses vb2_ioctl_*() helpers. 3: uses vb2_fop_*() helpers. 4: uses

[PATCH] Shiraz has moved

2014-04-03 Thread Viresh Kumar
shiraz.has...@st.com email-id doesn't exist anymore as he has left the company. Replace ST's id with shiraz.linux.ker...@gmail.com. It also updates .mailmap file to fix address for 'git shortlog'. Cc: Shiraz Hashim Signed-off-by: Viresh Kumar --- .mailmap | 1 +

[PATCH v2 2/2] media: davinci: vpif display: upgrade the driver with v4l offerings

2014-04-03 Thread Lad, Prabhakar
From: "Lad, Prabhakar" This patch upgrades the vpif display driver with v4l helpers, this patch does the following, 1: initialize the vb2 queue and context at the time of probe and removes context at remove() callback. 2: uses vb2_ioctl_*() helpers. 3: uses vb2_fop_*() helpers. 4: uses

[PATCH v2 0/2] DaVinci: VPIF: upgrade with v4l helpers

2014-04-03 Thread Lad, Prabhakar
From: "Lad, Prabhakar" Hi All, This patch series upgrades the vpif capture & display driver with the all the helpers provided by v4l, this makes the driver much simpler and cleaner. This also includes few checkpatch issues. Sending them as single patch one for capture and another for display,

Re: [GIT PULL] Staging driver patches for 3.15-rc1

2014-04-03 Thread Michal Simek
On 04/03/2014 01:08 AM, Greg KH wrote: > On Wed, Apr 02, 2014 at 08:52:18PM +, Insop Song wrote: >> On Wed, April 02, 2014 1:04 PM, Greg KH wrote: >>> On Wed, Apr 02, 2014 at 10:24:03AM +0200, Paul Bolle wrote: On Tue, 2014-04-01 at 11:48 -0700, Greg KH wrote: > Staging driver pull

[tip:x86/hyperv] x86, hyperv: When on Hyper-v use NULL legacy PIC

2014-04-03 Thread tip-bot for K. Y. Srinivasan
Commit-ID: 8df28b82ff0649dd293f0469b97792cfb9ed10ab Gitweb: http://git.kernel.org/tip/8df28b82ff0649dd293f0469b97792cfb9ed10ab Author: K. Y. Srinivasan AuthorDate: Thu, 3 Apr 2014 18:16:33 -0700 Committer: H. Peter Anvin CommitDate: Thu, 3 Apr 2014 22:00:13 -0700 x86, hyperv: When on

[PATCH] dma: fix eDMA driver as a subsys_initcall

2014-04-03 Thread Yuan Yao
Because of some driver base on DMA, changed the initcall order as subsys_initcall. Signed-off-by: Yuan Yao --- drivers/dma/fsl-edma.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/dma/fsl-edma.c b/drivers/dma/fsl-edma.c index 381e793..b396a7f 100644

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

2014-04-03 Thread Davidlohr Bueso
On Thu, 2014-04-03 at 19:39 -0400, KOSAKI Motohiro wrote: > On Thu, Apr 3, 2014 at 3:50 PM, Davidlohr Bueso 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

Re: WARNING: CPU: 0 PID: 1935 at kernel/timer.c:1621 migrate_timer_list()

2014-04-03 Thread Viresh Kumar
Thanks Fengguang, On 4 April 2014 08:49, Fengguang Wu wrote: > Greetings, > > I got the below dmesg and the first bad commit is > > git://git.linaro.org/people/vireshk/linux timer-cleanup-for-tglx > > commit 6378cb51af5f4743db0dcb3cbcf862eac5908754 > Author: Viresh Kumar > AuthorDate: Thu

Re: [PATCH] virtio-blk: make the queue depth the max supportable by the hypervisor

2014-04-03 Thread Rusty Russell
Stefan Hajnoczi writes: > On Tue, Apr 1, 2014 at 4:27 AM, Theodore Ts'o wrote: >> On Mon, Mar 31, 2014 at 02:22:50PM +1030, Rusty Russell wrote: >>> >>> It's head of my virtio-next tree. >> >> Hey Rusty, >> >> While we have your attention --- what's your opinion about adding TRIM >> support to

Re: [hrtimer] BUG: unable to handle kernel NULL pointer dereference at 00000010

2014-04-03 Thread Viresh Kumar
On 4 April 2014 08:45, Fengguang Wu wrote: > [2.258025] BUG: unable to handle kernel NULL pointer dereference at > 0010 > [2.258641] IP: [] hrtimer_force_reprogram+0x3d/0xb1 > [2.259151] *pde = > [2.259412] Oops: [#1] DEBUG_PAGEALLOC > [2.259786] CPU: 0 PID:

RE: [PATCH] staging: fpgaboot: clean up Makefile

2014-04-03 Thread Insop Song
On Thursday, April 03, 2014 10:56 AM, Dan Carpenter wrote: > > Signed-off-by is like signing a legal document, to show you haven't violated > copyright law or anything while the patch was in your hands. > You should use Acked-by or Reviewed-by depending on what you mean. > Dan, Thank you for

[PATCH v3 2/3] pstore: add seq_ops for norm zone

2014-04-03 Thread Liu ShuoX
Some developers want to output the pstore record trace flexible. So add seq_ops into ramoops_zone in case users would make private output format. Signed-off-by: Zhang Yanmin Signed-off-by: Liu ShuoX --- fs/pstore/inode.c | 10 -- include/linux/pstore_ramoops.h | 1 + 2

[PATCH v3 3/3] pstore: support current records dump in ramoops

2014-04-03 Thread Liu ShuoX
dump the records in runtime is useful sometime. We could check the records and understand driver's and device's status. Signed-off-by: Zhang Yanmin Signed-off-by: Liu ShuoX --- fs/pstore/inode.c | 39 +++ fs/pstore/internal.h | 3 ++-

[PATCH v3 1/3] pstore: restructure ramoops to support more trace

2014-04-03 Thread Liu ShuoX
From: Zhang Yanmin The patch restructure ramoops of pstore a little to support more user-defined tracers through ramoops. Here is reason we enhance ramoops: pstore ramoops is a very import debug feature for mobile development. At present, ramoops has supported kdump, console and ftrace tracer.

[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

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 > >

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 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 Kalluri (CCed)

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

[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 --- arch/x86/kvm/mmu.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kvm/mmu.c

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

2014-04-03 Thread Mathieu Desnoyers
- Original Message - > From: "Steven Rostedt" > To: "Mathieu Desnoyers" > Cc: linux-kernel@vger.kernel.org, "Ingo Molnar" , "Frederic > Weisbecker" , > "Andrew Morton" , "Frank Ch. Eigler" > , "Johannes Berg" > > Sent: Thursday, April 3, 2014 2:54:41 PM > Subject: Re: [PATCH v9 1/1]

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 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 > style

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

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang 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: Freescale: remove the

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

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang 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 Signed-off-by: Qiang Liu --- drivers/dma/fsldma.c | 30 ++ 1 file

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

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang 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. This patch changes all

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

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang 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 condition when dma engine is uesd

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

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang 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 Signed-off-by: Qiang Liu --- drivers/dma/fsldma.c | 188

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

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang 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 sure all the pending jobs are

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

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang 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 Signed-off-by: Qiang Liu --- drivers/dma/fsldma.c | 31 --- 1

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

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang 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 but written by DMA_OUT.

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

2014-04-03 Thread hongbo.zhang
From: Hongbo Zhang 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 also calling chan_dbg

[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 --- drivers/i2c/busses/i2c-imx.c | 372 +-- 1 file changed, 319 insertions(+), 53

[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 --- 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 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

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 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 --- include/linux/time.h | 1 +

[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 --- kernel/printk/printk.c | 4 ++-- 1 file

[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

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

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 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/ 16 <1>;

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 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 CS line to

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 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 > 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 I/O. No

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" wrote: > >> On 2014/4/4 7:40, Steven Rostedt wrote: >>> On Fri, 04 Apr 2014 07:23:32 +0800 >>> "Li, Aubrey" wrote: >>> Can you please send the dmi table out? >>> >>> I already did as a gz

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

[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,

[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 --- 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 08a44d4..a37ded1

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

2014-04-03 Thread Xiubo Li
Signed-off-by: Xiubo Li Reviewed-by: Guenter Roeck Acked-by: Shawn Guo --- drivers/watchdog/imx2_wdt.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/watchdog/imx2_wdt.c b/drivers/watchdog/imx2_wdt.c index dd51d95..1795922 100644 ---

[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 Signed-off-by: Alex Elder --- arch/arm/configs/bcm_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/bcm_defconfig b/arch/arm/configs/bcm_defconfig index

[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 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 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 Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm11351.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi

[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 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 --- arch/arm/include/asm/cacheflush.h |9 arch/arm/kernel/ftrace.c | 17 +++ arch/arm/kernel/vmlinux.lds.S

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

2014-04-03 Thread Steven Rostedt
On Fri, 04 Apr 2014 07:52:53 +0800 "Li, Aubrey" wrote: > On 2014/4/4 7:40, Steven Rostedt wrote: > > On Fri, 04 Apr 2014 07:23:32 +0800 > > "Li, Aubrey" 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

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 > > +++

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(>dev, res); + if (IS_ERR(base)) + return PTR_ERR(base); + + imx2_wdt.regmap = devm_regmap_init_mmio_clk(>dev, NULL, base, +

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.

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" wrote: >On 2014/4/4 8:12, H. Peter Anvin wrote: >> On 04/03/2014 04:52 PM, Li,

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 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" wrote: >>> Can you please send the dmi table out? >>> >>> I already did as a gz attachment to H. Peter. You

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: [PATCHv4 2/2] watchdog: imx2_wdt: convert to use regmap API.

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

[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: [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 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 wrote: >> > Here's a patch (probably whitespace damaged, hence also attached) with >> > which dynamic ftrace works for me on top your

[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

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

2014-04-03 Thread Theodore Ts'o
Whoops, sorry to cc LKML. - Ted --- Begin Message --- 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 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:

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" 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 [...] Should be From: Dan Williams I think you must have got my name by applying the 3.2 review

[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 Cc: [3.9+] --- drivers/hv/connection.c |5

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 wrote: > > Linus, > > This just contains a single update by Satoru Takeuchi, which

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" 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 machine. When

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 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. > > Thanks!

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 >

[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: 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

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: [BUG] x86: reboot doesn't reboot

2014-04-03 Thread Steven Rostedt
On Fri, 04 Apr 2014 07:23:32 +0800 "Li, Aubrey" 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 the body of a message

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 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: [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

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)

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 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

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" 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

Re: linux-3.14 nfsd regression

2014-04-03 Thread Jeff Layton
On Thu, 3 Apr 2014 16:16:27 -0400 "J. Bruce Fields" 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 wrote: > > > > > On 14-04-03 01:16 PM, J. Bruce Fields wrote: > > > > On Thu, Apr 03, 2014 at 12:33:55PM -0400, Mark

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

2014-04-03 Thread Eric W. Biederman
Tejun Heo 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 alwasy

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 wrote: > 2014-04-01 20:36 GMT+02:00 Kees Cook : >> 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() updates init_mm, but

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 > --- > drivers/crypto/qce/dma.c | 201 > +++ >

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

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:

  1   2   3   4   5   6   7   8   9   10   >