Re: 3.13: disagrees about version of symbol

2014-01-27 Thread Thomas Bächler
Am 26.01.2014 15:22, schrieb Tetsuo Handa: > Thomas B臘hler wrote: >> This looks exactly like the problem experienced by Tetsuo Handa in [1]. >> However, for me, his solution, i.e. setting >> CONFIG_PHYSICAL_ALIGN=0x100 >> instead of >> CONFIG_PHYSICAL_ALIGN=0x10 >> doesn't help and the

Re: [BISECTED] OMAP: DSS: clk rate mismatch

2014-01-27 Thread Tomi Valkeinen
On 2014-01-27 19:30, Ivaylo Dimitrov wrote: > Hi Tomi, > > linux-next-20140124 DSS is broken on N900 - display stays black (there > is some noise though). I booted the kernel with qemu and it gives the > following warning: > > [0.623779] DSS: set fck to 17280 > [0.624237]

[GIT PULL] MTD changes for 3.14

2014-01-27 Thread Brian Norris
(an unofficial maintainer), but David's ack would be nice. Regards, Brian The following changes since commit 802eee95bde72fd0cd0f3a5b2098375a487d1eda: Linux 3.13-rc6 (2013-12-29 16:01:33 -0800) are available in the git repository at: git://git.infradead.org/linux-mtd.git tags/for-linus-20140127

[PATCH] MAINTAINERS: ADI Linux development mailing lists change to the new server.

2014-01-27 Thread Sonic Zhang
From: Sonic Zhang Update Blackfin arch branch maintainer's email as well. Signed-off-by: Sonic Zhang --- MAINTAINERS | 42 -- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 7cacc88..bd49e70 100644 ---

Re: How to identify 6to4 and 6in4 tunnels

2014-01-27 Thread zhuyj
On 01/28/2014 03:32 PM, zhuyj wrote: On 01/27/2014 08:59 PM, Nicolas Dichtel wrote: Le 27/01/2014 11:39, zhuyj a écrit : Hi, Maintainers In our scene, we will create the 6in4/6to4 tunnel firstly and need to check the tunnel type, secondly, we will configure the ip address on it. So, Could

Re: [PATCH V2] regulator: fixed: update to devm_* API

2014-01-27 Thread Heiko Stübner
On Tuesday, 28. January 2014 12:46:01 Manish Badarkhe wrote: > Hi Dmitry, > > Thank you for your review. > > On Tue, Jan 28, 2014 at 12:03 PM, Dmitry Torokhov > > wrote: > > Hi Manish, > > > > On Tue, Jan 28, 2014 at 08:42:00AM +0530, Manish Badarkhe wrote: > >> Update the code to use devm_*

Re: How to identify 6to4 and 6in4 tunnels

2014-01-27 Thread zhuyj
On 01/27/2014 08:59 PM, Nicolas Dichtel wrote: Le 27/01/2014 11:39, zhuyj a écrit : Hi, Maintainers In our scene, we will create the 6in4/6to4 tunnel firstly and need to check the tunnel type, secondly, we will configure the ip address on it. So, Could we have any way to get the actual

[PATCH v2 -tip] sched/deadline: switched_to_dl() -- skip if task is current

2014-01-27 Thread Kirill Tkhai
v2: Changed comment When p is current and it's not of dl class, then there are no other dl taks in the rq. If we had had pushable tasks in some other rq, they would have been pushed earlier. So, skip "p == rq->curr" case. [This is confirmed by Juri Lelli and LKML was CC'ed, but unfotunately I

RE: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2014-01-27 Thread Chew, Chiau Ee
> -Original Message- > From: Andy Shevchenko [mailto:andriy.shevche...@linux.intel.com] > Sent: Monday, January 27, 2014 6:17 PM > To: Koul, Vinod > Cc: Andy Shevchenko; Chew, Chiau Ee; Viresh Kumar; Williams, Dan J; > dmaeng...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject:

[PATCH -tip] sched/deadline: switched_to_dl() -- skip if task is current

2014-01-27 Thread Kirill Tkhai
When p is current and it's not of dl class, then there are no other dl taks in the rq. If we had had pushable tasks in some other rq, they would have been pushed earlier. So, skip "p == rq->curr" case. This helps to skip excess schedule() when class is changed. The situation may be not rare. For

Re: [PATCH V2] regulator: fixed: update to devm_* API

2014-01-27 Thread Manish Badarkhe
Hi Dmitry, Thank you for your review. On Tue, Jan 28, 2014 at 12:03 PM, Dmitry Torokhov wrote: > Hi Manish, > > On Tue, Jan 28, 2014 at 08:42:00AM +0530, Manish Badarkhe wrote: >> Update the code to use devm_* API so that driver core will manage >> resources. >> >> Signed-off-by: Manish

Re: [RFCv2,2/2] i2c: add new dual Flash driver,LM3646

2014-01-27 Thread Hans Verkuil
On 01/28/2014 07:55 AM, Daniel Jeong wrote: > Add new dual flash driver. > LM3646 is a dual Flash LED Driver, LED1 and LED2, following the datasheet. > But there is no registers to contorl LED2 brightness. > LED2 brightness can be controlled by limiting max brightness. > LED2 brightness = Total

Re: [PATCH] numa, mem-hotplug: Fix stack overflow in numa when seting kernel nodes to unhotpluggable.

2014-01-27 Thread Tang Chen
Hi Dave, I think here is the overflow problem. Not the stackoverflow, but the array index overflow. Please have a look at the following path: numa_init() |---> numa_register_memblks() | |---> memblock_set_node(memory) set correct nid in memblock.memory | |--->

Re: [PATCH v3 0/4] Intel MPX support

2014-01-27 Thread Ren Qiaowei
On 01/28/2014 02:42 PM, Ingo Molnar wrote: * Ren Qiaowei wrote: MPX kernel code, namely this patchset, has mainly the 2 responsibilities: provide handlers for bounds faults (#BR), and manage bounds memory. AFAICS the kernel side implementation causes no runtime overhead for non-MPX

Re: [RFCv2,1/2] v4l2-controls.h: add addtional Flash fault bits

2014-01-27 Thread Hans Verkuil
On 01/28/2014 07:55 AM, Daniel Jeong wrote: > Add additional FLASH Fault bits to dectect faults from chip. > Some Flash drivers support UVLO, IVFM, NTC Trip faults. > UVLO :Under Voltage Lock Out Threshold crossed > IVFM :IVFM block reported and/or adjusted LED current Input

[RFCv2,2/2] i2c: add new dual Flash driver,LM3646

2014-01-27 Thread Daniel Jeong
Add new dual flash driver. LM3646 is a dual Flash LED Driver, LED1 and LED2, following the datasheet. But there is no registers to contorl LED2 brightness. LED2 brightness can be controlled by limiting max brightness. LED2 brightness = Total brightness - LED1 brightness LED2 will be off if LED2

[RFCv2,1/2] v4l2-controls.h: add addtional Flash fault bits

2014-01-27 Thread Daniel Jeong
Add additional FLASH Fault bits to dectect faults from chip. Some Flash drivers support UVLO, IVFM, NTC Trip faults. UVLO : Under Voltage Lock Out Threshold crossed IVFM : IVFM block reported and/or adjusted LED current Input Voltage Flash Monitor trip threshold NTC : NTC Threshold crossed.

Re: [PATCH] numa, mem-hotplug: Fix stack overflow in numa when seting kernel nodes to unhotpluggable.

2014-01-27 Thread Dave Jones
On Tue, Jan 28, 2014 at 01:17:21PM +0800, Tang Chen wrote: > Seeing from your earlier mail, it crashed at: > > while (zonelist_zone_idx(z) > highest_zoneidx) >de: 3b 77 08cmp0x8(%rdi),%esi > > > I stuck this at the top of the function.. >

Re: [PATCH v3 2/4] x86, mpx: hook #BR exception handler to allocate bound tables

2014-01-27 Thread Ren Qiaowei
On 01/28/2014 02:42 PM, Andy Lutomirski wrote: I just read it. do_trap_no_signal presumably calls fixup_exception because #UD uses it and #UD needs that handling. (I'm guessing that there is actually a legitimate use for a kernel fixup on #UD somewhere -- there's probably something that isn't

Re: Input: zforce - fix various small issues

2014-01-27 Thread Dmitry Torokhov
On Mon, Jan 27, 2014 at 07:46:09PM +0100, Luis Ortega wrote: > As a kernel newbie and owner of a Barnes & Noble e-reader I was > curious to review this driver to learn more about the touchscreen. > > The first two patches are fairly innocuous whereas the last two > slightly modify the code to fix

Re: [PATCH v3 2/4] x86, mpx: hook #BR exception handler to allocate bound tables

2014-01-27 Thread Andy Lutomirski
On Mon, Jan 27, 2014 at 9:39 PM, Ren Qiaowei wrote: > On 01/28/2014 01:21 PM, Andy Lutomirski wrote: >> >> On Mon, Jan 27, 2014 at 7:35 PM, Ren Qiaowei >> wrote: >>> >>> On 01/28/2014 04:36 AM, Andy Lutomirski wrote: > > > + bd_entry = status & MPX_BNDSTA_ADDR_MASK; > +

Re: [PATCH v3 0/4] Intel MPX support

2014-01-27 Thread Ingo Molnar
* Ren Qiaowei wrote: > >> MPX kernel code, namely this patchset, has mainly the 2 > >> responsibilities: provide handlers for bounds faults (#BR), and > >> manage bounds memory. > > > > AFAICS the kernel side implementation causes no runtime overhead > > for non-MPX workloads, and also

Re: [PATCH] cpuset: update MAINTAINERS entry

2014-01-27 Thread David Rientjes
On Tue, 28 Jan 2014, Li Zefan wrote: > diff --git a/MAINTAINERS b/MAINTAINERS > index 8285ed4..81bcbe0 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -2376,8 +2376,10 @@ F: tools/power/cpupower/ > > CPUSETS > M: Li Zefan > +L: cgro...@vger.kernel.org > W:

Re: [PATCH V2] regulator: fixed: update to devm_* API

2014-01-27 Thread Dmitry Torokhov
Hi Manish, On Tue, Jan 28, 2014 at 08:42:00AM +0530, Manish Badarkhe wrote: > Update the code to use devm_* API so that driver core will manage > resources. > > Signed-off-by: Manish Badarkhe > --- > Changes since V1: > 1. Updated driver to use "devm_kzalloc" to "kstrdup". > 2. Updated commit

Re: 3.13: BUG: unable to handle kernel paging request at 00000000b4343e88

2014-01-27 Thread Meelis Roos
> It looks like gcov exploded when running a module's constructors or > init function, but I'm unable to work out which module it was :( > >>> [...] > >>> > Maybe it's tg3. > > Could you add `ignore_loglevel' to the kernel boot parameters? That > should make all

[Patch v3 1/2] dmaengine: add Qualcomm BAM dma driver

2014-01-27 Thread Andy Gross
Add the DMA engine driver for the QCOM Bus Access Manager (BAM) DMA controller found in the MSM 8x74 platforms. Each BAM DMA device is associated with a specific on-chip peripheral. Each channel provides a uni-directional data transfer engine that is capable of transferring data between the

fyi

2014-01-27 Thread Lewis Baach
-- My name is Lewis,Sequel to your non response to my previous email, I am re-sending this to you again thus; A deceased client of mine, that shares the same last name as yours,left behind some certain funds which I would like you to help distribute. Regards, Lewis Baach -- To

[Patch v3 2/2] dmaengine: qcom_bam_dma: Add device tree binding

2014-01-27 Thread Andy Gross
Add device tree binding support for the QCOM BAM DMA driver. Signed-off-by: Andy Gross --- .../devicetree/bindings/dma/qcom_bam_dma.txt | 52 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/qcom_bam_dma.txt diff --git

Re: [GIT PULL] x86/kaslr for v3.14

2014-01-27 Thread Ingo Molnar
* Kees Cook wrote: > On Mon, Jan 27, 2014 at 9:20 AM, Richard Weinberger wrote: > > Am 27.01.2014 18:05, schrieb Kees Cook: > >> I would argue that decoding a non-panic oops on a running system is > >> entirely possible as-is, since the offset can be found from > >> /proc/kallsyms as root. It

[Patch v3 0/2] Add Qualcomm BAM dmaengine driver

2014-01-27 Thread Andy Gross
This patch set introduces the dmaengine driver for the Qualcomm Bus Access Manager (BAM) DMA controller present on MSM 8x74 devices. A number of the on-chip devices have their own BAM DMA controller and use it to move data between system memory and peripherals or between two peripherals. The

RE: [PATCH] Input: i8042-io - Exclude mips platforms when allocating/deallocating IO regions.

2014-01-27 Thread Raghu Gandham
Hi Aaro, > > On Sun, Jan 26, 2014 at 10:56:38PM -0800, Dmitry Torokhov wrote: > > On Mon, Jan 27, 2014 at 12:32:36AM +, Raghu Gandham wrote: > > > > On Sat, Jan 25, 2014 at 11:01:54AM -0800, Raghu Gandham wrote: > > > > > The standard IO regions are already reserved by the platform > > > > >

[PATCH] Documentation/development-process: update release history to 3.x

2014-01-27 Thread SeongJae Park
Just update release history examples from 2.6.x to 3.x Signed-off-by: SeongJae Park --- Documentation/development-process/2.Process | 74 ++--- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/Documentation/development-process/2.Process

[PATCH v5 1/3] mm: Create utility function for accessing a tasks commandline value

2014-01-27 Thread William Roberts
introduce get_cmdline() for retreiving the value of a processes proc/self/cmdline value. Acked-by: David Rientjes Acked-by: Stephen Smalley Signed-off-by: William Roberts --- include/linux/mm.h |1 + mm/util.c | 48 2 files

[PATCH v5 3/3] audit: Audit proc cmdline value

2014-01-27 Thread William Roberts
During an audit event, cache and print the value of the process's cmdline value (proc//cmdline). This is useful in situations where processes are started via fork'd virtual machines where the comm field is incorrect. Often times, setting the comm field still is insufficient as the comm width is

[PATCH v5 2/3] proc: Update get proc_pid_cmdline() to use mm.h helpers

2014-01-27 Thread William Roberts
Re-factor proc_pid_cmdline() to use get_cmdline() helper from mm.h. Acked-by: David Rientjes Acked-by: Stephen Smalley Signed-off-by: William Roberts --- fs/proc/base.c | 36 ++-- 1 file changed, 2 insertions(+), 34 deletions(-) diff --git a/fs/proc/base.c

Re: fanotify use after free.

2014-01-27 Thread Dave Jones
On Tue, Jan 28, 2014 at 12:40:17AM +0100, Jan Kara wrote: > On Fri 24-01-14 08:26:45, Jiri Kosina wrote: > > On Fri, 24 Jan 2014, Jan Kara wrote: > > > > > Strange. I've installed systemd system (openSUSE 13.1) and it boots > > > with the latest Linus' kernel just fine (and I have at

Re: [PATCH v5 00/22] Rewrite XIP code and add XIP support to ext4

2014-01-27 Thread Dave Chinner
On Thu, Jan 23, 2014 at 12:12:43PM +, Wilcox, Matthew R wrote: > Are you hitting the same problems with ext4 fsck that we did? Version 1.42.8 > reports spurious corruption. From the 1.42.9 changelog: > > * Fixed a regression introduced in 1.42.8 which would cause e2fsck to >

[PATCH v4 1/3] mm: Create utility function for accessing a tasks commandline value

2014-01-27 Thread William Roberts
introduce get_cmdline() for retreiving the value of a processes proc/self/cmdline value. Signed-off-by: William Roberts --- include/linux/mm.h |1 + mm/util.c | 48 2 files changed, 49 insertions(+) diff --git a/include/linux/mm.h

[PATCH v4 2/3] proc: Update get proc_pid_cmdline() to use mm.h helpers

2014-01-27 Thread William Roberts
Re-factor proc_pid_cmdline() to use get_cmdline() helper from mm.h. Signed-off-by: William Roberts --- fs/proc/base.c | 36 ++-- 1 file changed, 2 insertions(+), 34 deletions(-) diff --git a/fs/proc/base.c b/fs/proc/base.c index 5150706..f0c5927 100644 ---

[PATCH v4 3/3] audit: Audit proc cmdline value

2014-01-27 Thread William Roberts
During an audit event, cache and print the value of the process's cmdline value (proc//cmdline). This is useful in situations where processes are started via fork'd virtual machines where the comm field is incorrect. Often times, setting the comm field still is insufficient as the comm width is

Re: [f2fs-dev] [PATCH] f2fs: use inode mutex to keep atomicity of f2fs_falloc

2014-01-27 Thread Jaegeuk Kim
Hi, 2014-01-28 (화), 10:29 +0800, Chao Yu: > Previously without protection of inode mutex, f2fs_falloc and other data > correlated operations will interfere with each other. Could you explain a little bit more what kind of scenarios wrt this? > So let's use inode mutex to keep atomicity of

[PATCH 1/4] f2fs: update_inode_page should be done all the time

2014-01-27 Thread Jaegeuk Kim
In order to make fs consistency, update_inode_page should not be failed all the time. Otherwise, it is possible to lose some metadata in the inode like a link count. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 3 +-- fs/f2fs/f2fs.h | 8 +++- fs/f2fs/inode.c | 20

[PATCH 3/4] f2fs: fix to recover xattr node block

2014-01-27 Thread Jaegeuk Kim
If a new xattr node page was allocated and its inode is fsynced, we should recover the xattr node page during the roll-forward process after power-cut. But, previously, f2fs didn't handle that case, resulting in kernel panic as follows reported by Tom Li. BUG: unable to handle kernel paging

[PATCH 2/4] f2fs: handle dirty segments inside refresh_sit_entry

2014-01-27 Thread Jaegeuk Kim
This patch cleans up the refresh_sit_entry to handle locate_dirty_segments. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h| 1 + fs/f2fs/segment.c | 19 --- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 42903c3..6e9515d

[PATCH 4/4] f2fs: fix a build warning

2014-01-27 Thread Jaegeuk Kim
This patch modifies flow a little bit to avoid the following build warnings. src/fs/f2fs/recovery.c: In function ‘check_index_in_prev_nodes’: src/fs/f2fs/recovery.c:288:51: warning: ‘sum...ofs_in_node’ may be used uninitialized in this function [-Wmaybe-uninitialized]

[PATCH] i2c-designware-pcidrv: fix the incorrect return of idle callback

2014-01-27 Thread xinhui.pan
From: "xinhui.pan" i2c_dw_pci_runtime_idle should return -EBUSY rather than zero if it do success. Otherwise rpm_idle will call pm_suspend again and that may cause pm_schedule_suspend delay invalidate. Signed-off-by: bo.he Signed-off-by: xinhui.pan ---

Re: [PATCH v3 2/4] x86, mpx: hook #BR exception handler to allocate bound tables

2014-01-27 Thread Ren Qiaowei
On 01/28/2014 01:21 PM, Andy Lutomirski wrote: On Mon, Jan 27, 2014 at 7:35 PM, Ren Qiaowei wrote: On 01/28/2014 04:36 AM, Andy Lutomirski wrote: + bd_entry = status & MPX_BNDSTA_ADDR_MASK; + if ((bd_entry >= bd_base) && (bd_entry < bd_base + bd_size)) +

Re: [PATCH] numa, mem-hotplug: Fix stack overflow in numa when seting kernel nodes to unhotpluggable.

2014-01-27 Thread Tang Chen
On 01/28/2014 12:47 PM, Dave Jones wrote: On Tue, Jan 28, 2014 at 12:47:11PM +0800, Tang Chen wrote: > On 01/28/2014 11:55 AM, Dave Jones wrote: > > On Tue, Jan 28, 2014 at 11:24:37AM +0800, Tang Chen wrote: > > > >> > I did a bisect with the patch above applied each step of

Re: [PATCH v3 2/4] x86, mpx: hook #BR exception handler to allocate bound tables

2014-01-27 Thread Andy Lutomirski
On Mon, Jan 27, 2014 at 7:35 PM, Ren Qiaowei wrote: > On 01/28/2014 04:36 AM, Andy Lutomirski wrote: >>> >>> + bd_entry = status & MPX_BNDSTA_ADDR_MASK; >>> + if ((bd_entry >= bd_base) && (bd_entry < bd_base + bd_size)) >>> + allocate_bt(bd_entry); >> >> >> What happens

Re: [PATCH] numa, mem-hotplug: Fix stack overflow in numa when seting kernel nodes to unhotpluggable.

2014-01-27 Thread Tang Chen
On 01/28/2014 12:47 PM, Dave Jones wrote: On Tue, Jan 28, 2014 at 12:47:11PM +0800, Tang Chen wrote: > On 01/28/2014 11:55 AM, Dave Jones wrote: > > On Tue, Jan 28, 2014 at 11:24:37AM +0800, Tang Chen wrote: > > > >> > I did a bisect with the patch above applied each step of

Re: [PATCH] numa, mem-hotplug: Fix stack overflow in numa when seting kernel nodes to unhotpluggable.

2014-01-27 Thread Dave Jones
On Tue, Jan 28, 2014 at 12:47:11PM +0800, Tang Chen wrote: > On 01/28/2014 11:55 AM, Dave Jones wrote: > > On Tue, Jan 28, 2014 at 11:24:37AM +0800, Tang Chen wrote: > > > > > > I did a bisect with the patch above applied each step of the way. > > > > This time I got a plausible

Re: [PATCH] numa, mem-hotplug: Fix stack overflow in numa when seting kernel nodes to unhotpluggable.

2014-01-27 Thread Tang Chen
On 01/28/2014 11:55 AM, Dave Jones wrote: On Tue, Jan 28, 2014 at 11:24:37AM +0800, Tang Chen wrote: > > I did a bisect with the patch above applied each step of the way. > > This time I got a plausible looking result > > I cannot reproduce this. Would you please share how to

[git pull] Please pull powerpc.git merge branch

2014-01-27 Thread Benjamin Herrenschmidt
Hi Linus ! This is the patch that I had sent after -rc8 and which we decided to wait before merging. It's based on a different tree than my -next branch (it needs some pre-reqs that were in -rc4 or so while my -next is based on -rc1) so I left it as a separate branch for your to pull. It's

[git pull] Please pull powerpc.git next branch

2014-01-27 Thread Benjamin Herrenschmidt
Hi Linus ! So here's my next branch for powerpc. A bit late as I was on vacation last week. It's mostly the same stuff that was in next already, I just added two patches today which are the wiring up of lockref for powerpc, which for some reason fell through the cracks last time and is trivial.

Re: [PATCH 0/3] perf-bench: introduce futex microbenchmarks

2014-01-27 Thread Davidlohr Bueso
On Fri, 2014-01-24 at 10:13 -0800, Darren Hart wrote: > On Mon, 2013-12-16 at 06:44 -0800, Davidlohr Bueso wrote: > > On Mon, 2013-12-16 at 11:08 +0100, Ingo Molnar wrote: > > > * Davidlohr Bueso wrote: > > > > > > > This patchset adds three programs that stress and measure different > > > >

[PATCH] acpi-cpufreq: De-register cpu notifier and free struct msr on error.

2014-01-27 Thread Konrad Rzeszutek Wilk
If cpufreq_register_driver() fails we would free the acpi driver related structures but not free the ones allocated by acpi_cpufreq_boost_init() function. This meant that as the driver error-ed out and a CPU online/offline event came we would crash and burn as one of the CPU notifiers would point

Re: [PATCH] numa, mem-hotplug: Fix stack overflow in numa when seting kernel nodes to unhotpluggable.

2014-01-27 Thread Dave Jones
On Tue, Jan 28, 2014 at 11:24:37AM +0800, Tang Chen wrote: > > I did a bisect with the patch above applied each step of the way. > > This time I got a plausible looking result > > I cannot reproduce this. Would you please share how to reproduce it ? > Or does it just happen during the

Re: [PATCH v5 22/22] XIP: Add support for unwritten extents

2014-01-27 Thread Matthew Wilcox
On Mon, Jan 27, 2014 at 04:32:07PM -0700, Ross Zwisler wrote: > It looks like we have an additional bit of complexity with the hole case. The > issue is that for holes, bh->b_size is just the full size of the write as set > earlier in the function: > > bh->b_size =

Re: [V0 PATCH] pvh: Disable PSE feature for now

2014-01-27 Thread Konrad Rzeszutek Wilk
On Mon, Jan 27, 2014 at 06:18:39PM -0800, Mukesh Rathor wrote: > Until now, xen did not expose PSE to pvh guest, but a patch was submitted > to xen list to enable bunch of features for a pvh guest. PSE has not been Which 'patch'? > looked into for PVH, so until we can do that and test it to make

Re: [PATCH v3 1/4] x86, mpx: add documentation on Intel MPX

2014-01-27 Thread Ren Qiaowei
On 01/28/2014 04:27 AM, Andy Lutomirski wrote: On 01/26/2014 01:08 AM, Qiaowei Ren wrote: +1) Providing handlers for bounds faults (#BR). + +When MPX is enabled, there are 2 new situations that can generate +#BR faults. If a bounds overflow occurs then a #BR is generated. +The fault handler

Re: [PATCH v3 2/4] x86, mpx: hook #BR exception handler to allocate bound tables

2014-01-27 Thread Ren Qiaowei
On 01/28/2014 04:36 AM, Andy Lutomirski wrote: + bd_entry = status & MPX_BNDSTA_ADDR_MASK; + if ((bd_entry >= bd_base) && (bd_entry < bd_base + bd_size)) + allocate_bt(bd_entry); What happens if this fails? Retrying forever isn't very nice. If allocation of the

linux-next: Tree for Jan 28

2014-01-27 Thread Stephen Rothwell
Hi all, Please do *not* add material destined for v3.15 to your linux-next included trees until after v3.14-rc1 is released. This tree fails (more than usual) the powerpc allyesconfig build. Changes since 20140124: Dropped trees: imx-mxs (complex merge conflicts against the arm tree) The

Re: [PATCH] HID: i2c-hid: add runtime PM support

2014-01-27 Thread Benjamin Tissoires
On Tue, Jan 14, 2014 at 5:13 AM, Mika Westerberg wrote: > This patch adds runtime PM support for the HID over I2C driver. When the > i2c-hid device is first opened we power it on and on the last close we > power it off. > > The implementation is not the most power efficient because it needs some

Re: [PATCH] numa, mem-hotplug: Fix stack overflow in numa when seting kernel nodes to unhotpluggable.

2014-01-27 Thread Tang Chen
On 01/28/2014 10:55 AM, Dave Jones wrote: On Tue, Jan 28, 2014 at 09:01:25AM +0800, Tang Chen wrote: > On 01/28/2014 08:32 AM, David Rientjes wrote: > > On Wed, 22 Jan 2014, David Rientjes wrote: > > > >>>arch/x86/mm/numa.c | 2 +- > >>>1 file changed, 1 insertion(+), 1

Re: [PATCH] numa, mem-hotplug: Fix stack overflow in numa when seting kernel nodes to unhotpluggable.

2014-01-27 Thread Tang Chen
On 01/28/2014 10:55 AM, Dave Jones wrote: On Tue, Jan 28, 2014 at 09:01:25AM +0800, Tang Chen wrote: > On 01/28/2014 08:32 AM, David Rientjes wrote: > > On Wed, 22 Jan 2014, David Rientjes wrote: > > > >>>arch/x86/mm/numa.c | 2 +- > >>>1 file changed, 1 insertion(+), 1

[PATCH] cpuset: update MAINTAINERS entry

2014-01-27 Thread Li Zefan
Add mailing list and tree tag to the entry. Signed-off-by: Li Zefan --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8285ed4..81bcbe0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2376,8 +2376,10 @@ F: tools/power/cpupower/ CPUSETS

Re: [PATCH RFC 00/73] tree-wide: clean up some no longer required #include

2014-01-27 Thread Benjamin Herrenschmidt
On Wed, 2014-01-22 at 19:38 -0500, Paul Gortmaker wrote: > Thanks, it was a great help as it uncovered a few issues in fringe arch > that I didn't have toolchains for, and I've fixed all of those up. > > I've noticed that powerpc has been un-buildable for a while now; I have > used this hack

Re: [PATCH v2] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-01-27 Thread Vinod Koul
On Mon, Jan 27, 2014 at 06:42:36PM +0530, Srikanth Thokala wrote: > Hi Lars/Vinod, > >> The question here i think would be waht this device supports? Is the > >> hardware > >> capable of doing interleaved transfers, then would make sense. > > > > The hardware does 2D transfers. The parameters for

[PATCH V2] regulator: fixed: update to devm_* API

2014-01-27 Thread Manish Badarkhe
Update the code to use devm_* API so that driver core will manage resources. Signed-off-by: Manish Badarkhe --- Changes since V1: 1. Updated driver to use "devm_kzalloc" to "kstrdup". 2. Updated commit message. Not tested on any board. :100644 100644 5ea64b9... e9763a4... M

Re: [PATCH v2] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-01-27 Thread Vinod Koul
On Sun, Jan 26, 2014 at 06:39:21PM +0100, Lars-Peter Clausen wrote: > On 01/26/2014 02:59 PM, Vinod Koul wrote: > > On Fri, Jan 24, 2014 at 02:24:27PM +0100, Lars-Peter Clausen wrote: > >> On 01/24/2014 12:16 PM, Srikanth Thokala wrote: > >>> Hi Lars, > >>> > >>> On Thu, Jan 23, 2014 at 4:55 PM,

[PATCH 2/2] Fix coding style errors

2014-01-27 Thread Brandon Stewart
I corrected several coding errors. Signed-off-by: Brandon Stewart --- drivers/macintosh/adb.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/macintosh/adb.c b/drivers/macintosh/adb.c index 53611de..dd3f49a 100644 --- a/drivers/macintosh/adb.c +++

[PATCH 2/3 v2] pinctrl-adi2: change irq_base from usigned int to int

2014-01-27 Thread Sonic Zhang
From: Sonic Zhang Negative irq_base means there is no fixed Linux irq mappings are created from the platform data. The driver calls irq_create_mapping to allocate a virtual Linux irq. Signed-off-by: Sonic Zhang --- v2-changes: - reword the patch description drivers/pinctrl/pinctrl-adi2.c |

Re: [rcu] c0f4dfd4f9: -65% softirqs.RCU

2014-01-27 Thread Fengguang Wu
On Mon, Jan 27, 2014 at 09:06:02AM -0800, Paul E. McKenney wrote: > On Fri, Jan 24, 2014 at 07:11:30PM +0800, Fengguang Wu wrote: > > On Mon, Jan 20, 2014 at 08:41:00PM -0800, Paul E. McKenney wrote: > > > On Mon, Jan 20, 2014 at 08:29:12PM +0800, Fengguang Wu wrote: > > > > On Sun, Jan 19, 2014

Re: [PATCH] HID: usbhid: quirk for CY-TM75 75 inch Touch Overlay

2014-01-27 Thread Benjamin Tissoires
Hi, On Mon, Jan 27, 2014 at 6:02 PM, Yufeng Shen wrote: > There is timeout error during initialization: > kernel: [ 11.733104] hid-multitouch 0003:1870:0110.0001: > usb_submit_urb(ctrl) failed: -1 > kernel: [ 11.734093] hid-multitouch 0003:1870:0110.0001: timeout > initializing reports > >

Re: [PATCH] numa, mem-hotplug: Fix stack overflow in numa when seting kernel nodes to unhotpluggable.

2014-01-27 Thread Dave Jones
On Tue, Jan 28, 2014 at 09:01:25AM +0800, Tang Chen wrote: > On 01/28/2014 08:32 AM, David Rientjes wrote: > > On Wed, 22 Jan 2014, David Rientjes wrote: > > > >>> arch/x86/mm/numa.c | 2 +- > >>> 1 file changed, 1 insertion(+), 1 deletion(-) > >>> > >>> diff --git a/arch/x86/mm/numa.c

Re: [PATCH v3 4/4] x86, mpx: extend siginfo structure to include bound violation information

2014-01-27 Thread Ren Qiaowei
On 01/28/2014 05:58 AM, Andy Lutomirski wrote: On 01/26/2014 01:08 AM, Qiaowei Ren wrote: (Why on earth does Intel not expose this stuff in cr2 or an MSR or something?) I guess it is due to some design reason. Thanks, Qiaowei -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 5/8] mm, hugetlb: use vma_resv_map() map types

2014-01-27 Thread Davidlohr Bueso
On Mon, 2014-01-27 at 16:03 -0500, Naoya Horiguchi wrote: > On Sun, Jan 26, 2014 at 07:52:23PM -0800, Davidlohr Bueso wrote: > > From: Joonsoo Kim > > > > Util now, we get a resv_map by two ways according to each mapping type. > > This makes code dirty and unreadable. Unify it. > > > >

Re: [PATCH 3/8] mm, hugetlb: fix race in region tracking

2014-01-27 Thread Davidlohr Bueso
On Mon, 2014-01-27 at 20:53 -0500, Naoya Horiguchi wrote: > Hi Davidlohr, > > On Mon, Jan 27, 2014 at 01:44:02PM -0800, Davidlohr Bueso wrote: > > On Mon, 2014-01-27 at 16:02 -0500, Naoya Horiguchi wrote: > > > On Sun, Jan 26, 2014 at 07:52:21PM -0800, Davidlohr Bueso wrote: > > > > From: Joonsoo

Re: [lm-sensors] lm90 driver no longer working on PCs in 3.13

2014-01-27 Thread Guenter Roeck
On 01/27/2014 03:58 PM, Mark Brown wrote: On Mon, Jan 27, 2014 at 03:41:35PM -0800, Guenter Roeck wrote: I'll test Mark's two patches on my system and let you know the results. After looking some more into it, those _may_ actually fix the problem at least for systems supporting ACPI. No

[f2fs-dev] [PATCH] f2fs: use inode mutex to keep atomicity of f2fs_falloc

2014-01-27 Thread Chao Yu
Previously without protection of inode mutex, f2fs_falloc and other data correlated operations will interfere with each other. So let's use inode mutex to keep atomicity of f2fs_falloc. Signed-off-by: Chao Yu --- fs/f2fs/file.c |5 + 1 file changed, 5 insertions(+) diff --git

[f2fs-dev] [PATCH] f2fs: introduce ra_meta_pages to readahead CP/NAT/SIT pages

2014-01-27 Thread Chao Yu
This patch help us to cleanup the readahead code by merging ra_{sit,nat}_pages function into ra_meta_pages. Additionally the new function is used to readahead cp block in recover_orphan_inodes. Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c | 78

Re: [RFC][PATCH] module: allow multiple calls to MODULE_DEVICE_TABLE() per module

2014-01-27 Thread Rusty Russell
Greg Kroah-Hartman writes: > On Mon, Jan 27, 2014 at 08:09:55PM +0100, Tom Gundersen wrote: >> Commit 78551277e4df5: "Input: i8042 - add PNP modaliases" had a bug, where >> the >> second call to MODULE_DEVICE_TABLE() overrode the first resulting in not all >> the modaliases being exposed. >> >>

Re: [RFC][PATCH] module: allow multiple calls to MODULE_DEVICE_TABLE() per module

2014-01-27 Thread Rusty Russell
Tom Gundersen writes: > Commit 78551277e4df5: "Input: i8042 - add PNP modaliases" had a bug, where the > second call to MODULE_DEVICE_TABLE() overrode the first resulting in not all > the modaliases being exposed. No Signed-off-by? Thanks, Rusty. > > This fixes the problem by including the

[V0 PATCH] pvh: Disable PSE feature for now

2014-01-27 Thread Mukesh Rathor
Until now, xen did not expose PSE to pvh guest, but a patch was submitted to xen list to enable bunch of features for a pvh guest. PSE has not been looked into for PVH, so until we can do that and test it to make sure it works, disable the feature to avoid flood of bugs. Signed-off-by: Mukesh

pvh: disable pse feature for now

2014-01-27 Thread Mukesh Rathor
Konrad, Following will turn off PSE in linux until we can get to it. It's better to turn it off here than in xen, so if BSD gets there sooner, they are not dependent on us. thanks Mukesh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] virtio_balloon: don't call virtio_has_feature() twice on init_vqs()

2014-01-27 Thread Leandro Dorileo
Hi Rusty, On Tue, Jan 28, 2014 at 10:48:31AM +1030, Rusty Russell wrote: > Leandro Dorileo writes: > > Cchange init_vqs() to avoid calling twice the virtio_has_feature() > > - attempting to find out if VIRTIO_BALLOON_F_STATS_VQ feature was > > negotiated - > > consequently we prevent

Re: [RFC PATCH V2 1/4] pci: APM X-Gene PCIe controller driver

2014-01-27 Thread Tanmay Inamdar
On Mon, Jan 27, 2014 at 4:55 PM, Bjorn Helgaas wrote: > We're only seeing Arnd's side of the conversation on linux-pci. > Tanmay, are your messages being rejected because they're too "fancy", > per the definition here: http://vger.kernel.org/majordomo-info.html ? > Thanks for pointing out. I am

[PATCH v2 00/21] pinctrl: mvebu: restructure and remove hardcoded addresses from Dove pinctrl

2014-01-27 Thread Sebastian Hesselbarth
This patch set is one required step for Dove to hop into mach-mvebu. Until now, pinctrl-dove was hardcoding some registers that do not directly belong to MPP core registers. This is not compatible with what we want for mach-mvebu. Unfortunately, the common pinctrl driver part has a design flaw,

[PATCH v2 07/21] pinctrl: mvebu: move generic group name generation

2014-01-27 Thread Sebastian Hesselbarth
MVEBU SoC pinctrl allows SoC specific drivers to pass a range of mpp pins without a corresponding name. Each pin in this range is then translated into a single-pin group with an auto-generated name. To allow some redesign of the driver, move name generation for those pin ranges down to where the

Re: [PATCH 3/8] mm, hugetlb: fix race in region tracking

2014-01-27 Thread Naoya Horiguchi
Hi Davidlohr, On Mon, Jan 27, 2014 at 01:44:02PM -0800, Davidlohr Bueso wrote: > On Mon, 2014-01-27 at 16:02 -0500, Naoya Horiguchi wrote: > > On Sun, Jan 26, 2014 at 07:52:21PM -0800, Davidlohr Bueso wrote: > > > From: Joonsoo Kim > > > > > > There is a race condition if we map a same file on

Re: [PATCH 1/1] Fixed some coding style problems

2014-01-27 Thread Joe Perches
On Mon, 2014-01-27 at 19:43 -0600, Brandon Stewart wrote: [] > diff --git a/drivers/macintosh/adb.c b/drivers/macintosh/adb.c [] > @@ -624,8 +623,7 @@ do_adb_query(struct adb_request *req) > { > int ret = -EINVAL; > > - switch(req->data[1]) > - { > + switch(req->data[1]) {

[PATCH 1/1] Fixed some coding style problems

2014-01-27 Thread Brandon Stewart
Signed-off-by: Brandon Stewart --- drivers/macintosh/adb.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/macintosh/adb.c b/drivers/macintosh/adb.c index 04a5049..53611de 100644 --- a/drivers/macintosh/adb.c +++ b/drivers/macintosh/adb.c @@ -38,7

[GIT PULL] LED updates for 3.14

2014-01-27 Thread Bryan Wu
Hi Linus Basically this cycle is most cleanup for LED subsystem. Please consider the following changes since commit 802eee95bde72fd0cd0f3a5b2098375a487d1eda: Linux 3.13-rc6 (2013-12-29 16:01:33 -0800) are available in the git repository at:

[PATCH] gpio: bcm281xx: Use "unsigned gpio" consistently throughout the code

2014-01-27 Thread Markus Mayer
This patch removes some inconsistencies caused by the use of "int gpio" in some parts of the code and "unsigned gpio" in others. Signed-off-by: Markus Mayer Reviewed-by: Tim Kryger --- drivers/gpio/gpio-bcm-kona.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] [RESEND] wistron_btns: FS AMILO Pro 8210 support

2014-01-27 Thread Dmitry Torokhov
Hi Jakub, On Tue, Jul 02, 2013 at 05:20:48PM +0200, Jakub Bogusz wrote: > (sorry, I forgot to attach the actual patch in my previous message) > > Hello, > > The attached patch adds Fujitsu-Siemens AMILO Pro 8210 support to > wistron_btns driver. > > I already sent it in 2011, but there was no

Re: [PATCH v2 3/4] x86: intel-mid: add Merrifield platform support

2014-01-27 Thread David Cohen
Hi Bjorn, On Mon, Jan 27, 2014 at 05:52:30PM -0700, Bjorn Helgaas wrote: > On Mon, Dec 16, 2013 at 1:07 PM, David Cohen > wrote: > > This code was partially based on Mark Brown's previous work. > > > > Signed-off-by: David Cohen > > Signed-off-by: Fei Yang > > Cc: Mark F. Brown > > Cc:

Re: [PATCH v10 00/16] Volatile Ranges v10

2014-01-27 Thread Minchan Kim
On Mon, Jan 27, 2014 at 05:09:59PM -0800, Taras Glek wrote: > > > John Stultz wrote: > >On 01/27/2014 04:12 PM, Minchan Kim wrote: > >>On Mon, Jan 27, 2014 at 05:23:17PM -0500, KOSAKI Motohiro wrote: > >>>- Your number only claimed the effectiveness anon vrange, but not file > >>>vrange. >

Re: [PATCH] ACPI: reduce log level for message "ACPI: \_PR_.CPU4: failed to get CPU APIC ID"

2014-01-27 Thread Jiang Liu
On 2014/1/28 8:28, Rafael J. Wysocki wrote: > On 1/28/2014 1:18 AM, David Rientjes wrote: >> On Mon, 27 Jan 2014, Jiang Liu wrote: >> >>> diff --git a/drivers/acpi/acpi_processor.c >>> b/drivers/acpi/acpi_processor.c >>> index c9311be..c29c2c3 100644 >>> --- a/drivers/acpi/acpi_processor.c >>>

Re: [RFC] de-asmify the x86-64 system call slowpath

2014-01-27 Thread Al Viro
On Mon, Jan 27, 2014 at 06:39:31PM +0100, Oleg Nesterov wrote: > On 01/27, Al Viro wrote: > > > > BTW, there's an additional pile of obfuscation: > > /* work to do on interrupt/exception return */ > > #define _TIF_WORK_MASK \ > > (0x

[PATCH v2 15/21] pinctrl: mvebu: dove: request additional resources

2014-01-27 Thread Sebastian Hesselbarth
Dove pinctrl also requires additional registers to control all pins. This patch requests resources for mpp4 and pmu-mpp register ranges. As this changes DT to driver requirements, fallback to hardcoded resources, if the corresponding DT regs have not been set. Also, WARN about old DT binding usage

  1   2   3   4   5   6   7   8   9   10   >