Re: [PATCH 2/2] i2c-designware-pci: Index Haswell ULT bus names from 0

2014-01-10 Thread Jean Delvare
On Thu, 9 Jan 2014 16:12:14 -0800, Benson Leung wrote: > Our devices and our platforms have some other requirements which > turned me away from using i2c_register_board_info. > > i2c_register_board_info looks to create predeclarations for a specific > i2c bus... However, right now, the chromeos_la

Re: [RFC] mm: show message when updating min_free_kbytes in thp

2014-01-10 Thread Michal Hocko
On Thu 09-01-14 13:15:54, David Rientjes wrote: > On Thu, 9 Jan 2014, Han Pingtian wrote: > > > min_free_kbytes may be raised during THP's initialization. Sometimes, > > this will change the value being set by user. Showing message will > > clarify this confusion. > > > > Only show this message w

Re: kdump failed because of hotplug memory adding in kdump kernel

2014-01-10 Thread Yasuaki Ishimatsu
(2014/01/10 16:11), Baoquan wrote: On 01/09/14 at 02:56pm, Toshi Kani wrote: On Thu, 2014-01-09 at 16:27 -0500, Vivek Goyal wrote: On Thu, Jan 09, 2014 at 11:34:30AM -0700, Toshi Kani wrote: On Thu, 2014-01-09 at 13:23 -0500, Vivek Goyal wrote: On Thu, Jan 09, 2014 at 10:24:25AM -0700, Toshi

Re: Last depmod fails with 3.13-rc6

2014-01-10 Thread Paul Bolle
Adding maintainers and linux-bluetooth. On Fri, 2014-01-03 at 01:33 +0100, Sébastien Luttringer wrote: > On 03/01/2014 01:11, Sébastien Luttringer wrote: > > Hello, > > > > Trying to run depmod (from kmod 16) on the 3.13-rc6, I got this error > > message: > > > > # depmod 3.13.0-rc6-seblu > > de

Re: [RFC] mm: show message when updating min_free_kbytes in thp

2014-01-10 Thread Andrew Morton
On Fri, 10 Jan 2014 09:05:04 +0100 Michal Hocko wrote: > > > --- a/mm/huge_memory.c > > > +++ b/mm/huge_memory.c > > > @@ -100,6 +100,7 @@ static struct khugepaged_scan khugepaged_scan = { > > > .mm_head = LIST_HEAD_INIT(khugepaged_scan.mm_head), > > > }; > > > > > > +extern int user_min_fre

Re: [RFC] mm: show message when updating min_free_kbytes in thp

2014-01-10 Thread Michal Hocko
On Fri 10-01-14 00:13:44, Andrew Morton wrote: > On Fri, 10 Jan 2014 09:05:04 +0100 Michal Hocko wrote: > > > > > --- a/mm/huge_memory.c > > > > +++ b/mm/huge_memory.c > > > > @@ -100,6 +100,7 @@ static struct khugepaged_scan khugepaged_scan = { > > > > .mm_head = LIST_HEAD_INIT(khugepage

[PATCH] mm/zbud: correct some comments

2014-01-10 Thread Cai Liu
zswap uses zbud now. So change zsmalloc to zbud. Signed-off-by: Cai Liu --- mm/zswap.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/zswap.c b/mm/zswap.c index 5a63f78..d93afa6 100644 --- a/mm/zswap.c +++ b/mm/zswap.c @@ -165,7 +165,7 @@ static void zswap_comp_exi

[PATCH] arch/avr32/boards/mimc200/fram.c: add missing 'module.h' for MODULE_LICENSE

2014-01-10 Thread Sergei Trofimovich
config: make ARCH=avr32 mimc200_defconfig > All error/warnings: > >arch/avr32/boards/mimc200/fram.c:79: error: expected declaration > specifiers or '...' before string constant >arch/avr32/boards/mimc200/fram.c:79: warning: data definition has no type > or storage class >arch/avr32/b

Re: [PATCH] memcg: Do not hang on OOM when killed by userspace OOM access to memory reserves

2014-01-10 Thread Michal Hocko
On Thu 09-01-14 13:40:10, David Rientjes wrote: > On Thu, 9 Jan 2014, Michal Hocko wrote: > > > Eric has reported that he can see task(s) stuck in memcg OOM handler > > regularly. The only way out is to > > echo 0 > $GROUP/memory.oom_controll > > His usecase is: > > - Setup a hierarchy with me

Re: [RFC PATCH] char: random: stir the output pools differently when the random_write lenght allows splitting the seed

2014-01-10 Thread Clemens Ladisch
Rafael Aquini wrote: > This patch introduces changes to the random_write method so it can split the > given seed and completely stir the output pools with different halves of it, > when seed lenght allows us doing so. > > - ret = write_pool(&blocking_pool, buffer, count); > + ret = write_po

[PATCH 1/1] x86/iommu: use bit structures for context_entry

2014-01-10 Thread Li, Zhen-Hua
There is a structure named context_entry used by intel iommu, and there are some bit operations on it. Use bit structure may make these operations easy. Also the function context_set_address_root may cause problem because it uses |= operation, not set the new value. And this patch can fix it. Sig

Re: [patch 1/2] mm, memcg: avoid oom notification when current needs access to memory reserves

2014-01-10 Thread Michal Hocko
On Thu 09-01-14 16:01:15, David Rientjes wrote: > On Thu, 9 Jan 2014, Andrew Morton wrote: > > > > I'm not sure why this was dropped since it's vitally needed for any sane > > > userspace oom handler to be effective. > > > > It was dropped because the other memcg developers disagreed with it. >

Re: [PATCH 1/1] x86/iommu: use bit structures for context_entry

2014-01-10 Thread Li, ZhenHua
This patch is sent again because a ';' was missed in my last mail. > + context->asr = value >> VTD_PAGE_SHIFT I corrected it and created a new one. And it is tested . Please use the latest one. Sorry for that. ZhenHua On 01/10/2014 04:27 PM, Li, Zhen-Hua wrote: There is a structure named c

[PATCH net V3 1/2] macvlan: forbid L2 fowarding offload for macvtap

2014-01-10 Thread Jason Wang
L2 fowarding offload will bypass the rx handler of real device. This will make the packet could not be forwarded to macvtap device. Another problem is the dev_hard_start_xmit() called for macvtap does not have any synchronization. Fix this by forbidding L2 forwarding for macvtap. Cc: John Fastabe

[PATCH net V3 2/2] net: core: explicitly select a txq before doing l2 forwarding

2014-01-10 Thread Jason Wang
Currently, the tx queue were selected implicitly in ndo_dfwd_start_xmit(). The will cause several issues: - NETIF_F_LLTX were removed for macvlan, so txq lock were done for macvlan instead of lower device which misses the necessary txq synchronization for lower device such as txq stopping or f

Re: BUG: bad unlock balance detected

2014-01-10 Thread Daniel Lezcano
On 01/10/2014 03:52 AM, John Tobias wrote: Hi Shawn, Any idea on these bug?. Is this bug happening systematically or randomly ? [ 559.972748] = [ 559.977457] [ BUG: bad unlock balance detected! ] [ 559.982169] 3.13.0-rc1 #1 Tainted: G O [ 559.986790] ---

Re: [RFC PATCH V4] mm readahead: Fix readahead fail for no local memory and limit readahead pages

2014-01-10 Thread Jan Kara
On Fri 10-01-14 00:54:50, Raghavendra K T wrote: > We limit the number of readahead pages to 4k. > > max_sane_readahead returns zero on the cpu having no local memory > node. Fix that by returning a sanitized number of pages viz., > minimum of (requested pages, 4k, number of local free pages) > >

Re: [PATCH 0/7] improve robustness on handling migratetype

2014-01-10 Thread Joonsoo Kim
On Thu, Jan 09, 2014 at 09:27:20AM +, Mel Gorman wrote: > On Thu, Jan 09, 2014 at 04:04:40PM +0900, Joonsoo Kim wrote: > > Hello, > > > > I found some weaknesses on handling migratetype during code review and > > testing CMA. > > > > First, we don't have any synchronization method on get/set

Re: [PATCH 2/7] mm/cma: fix cma free page accounting

2014-01-10 Thread Joonsoo Kim
On Thu, Jan 09, 2014 at 01:10:29PM -0800, Laura Abbott wrote: > On 1/8/2014 11:04 PM, Joonsoo Kim wrote: > >Cma pages can be allocated by not only order 0 request but also high order > >request. So, we should consider to account free cma page in the both > >places. > > > >Signed-off-by: Joonsoo Kim

[PATCH] mm/zswap: correct some comments

2014-01-10 Thread Cai Liu
zswap uses zbud now. So change comments "zsmalloc" to "zbud". Signed-off-by: Cai Liu --- mm/zswap.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/zswap.c b/mm/zswap.c index 5a63f78..d93afa6 100644 --- a/mm/zswap.c +++ b/mm/zswap.c @@ -165,7 +165,7 @@ static void z

Re: [GIT PULL] ARM: SoC fixes for 3.13

2014-01-10 Thread Linus Torvalds
On Thu, Jan 9, 2014 at 4:52 PM, Olof Johansson wrote: > > ARM: SoC fixes for 3.13-rc > > Hopefully the last set of arm-soc fixes for 3.13, or at least only a > few stray patches after this. > > There are a few fixes for Renesas platforms to fixup DMA masks (this > started causing errors once the D

RE: [PATCH V1] input: use device managed memory in da9052 touchscreen driver

2014-01-10 Thread Opensource [Anthony Olech]
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 09 January 2014 19:13 > To: Opensource [Anthony Olech] > Cc: linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org; Huqiu Liu; > David Dajun Chen > Subject: Re: [PATCH V1] input: use device managed m

Re: [PATCH -next] zram: do not pass rw argument to __zram_make_request()

2014-01-10 Thread Sergey Senozhatsky
On (01/10/14 16:14), Minchan Kim wrote: > On Thu, Jan 09, 2014 at 04:23:43PM +0300, Sergey Senozhatsky wrote: > > Do not pass rw argument down the __zram_make_request() -> zram_bvec_rw() > > chain, decode it in zram_bvec_rw() instead. Besides, this is the place > > where we distinguish READ and WRI

Re: 3.12: kernel panic when resuming from suspend to RAM (x86_64)

2014-01-10 Thread micky
Hi, On 01/10/2014 03:26 PM, Francis Moreau wrote: I still can see any traces of this fix in Linus' tree. Shouldn't this get merged before 3.13 is out ? Thanks Good, I think it is good to merge. Thanks. Best Regards. micky. -- To unsubscribe from this list: send the line "unsubscribe linux-ker

Re: kdump failed because of hotplug memory adding in kdump kernel

2014-01-10 Thread Baoquan
>In ns > >object tree, they are not treated as hotplug memory. > > wrong. > They are treated as hotplug memory. But the memory cannot hot removed > because the memory has kernel memory. > > >Otherwise, any hotplug memory which is not reserved for 2nd kernel can > >be parsed and need be added as

Re: [PATCH 1/2] Revert "intel_idle: mark states tables with __initdata tag"

2014-01-10 Thread Bartlomiej Zolnierkiewicz
On Thursday, January 09, 2014 02:38:14 PM Rafael J. Wysocki wrote: > Hi, > > On Thursday, January 09, 2014 02:20:22 PM Bartlomiej Zolnierkiewicz wrote: > > > > Hi, > > > > On Thursday, January 09, 2014 03:30:26 PM Jiang Liu wrote: > > > This reverts commit 9d046ccb98085f1d437585f84748c783a04ba24

Re: [PATCH] fs/inode: No need to take ->i_lock right after alloc_inode()

2014-01-10 Thread Christoph Hellwig
On Wed, Jan 08, 2014 at 11:21:13AM +0100, Richard Weinberger wrote: > > In all three cases, new_inode_pseudo(), iget_locked() and iget5_locked(), > > we own the new inode exclusively at this point and therefore taking > > ->i_lock to protect ->i_state/->i_hash against concurrent access is > > super

Re: [PATCH] vfs: Fix possible NULL pointer dereference in inode_permission()

2014-01-10 Thread Christoph Hellwig
On Fri, Jan 10, 2014 at 12:06:42AM +, Al Viro wrote: > Check what XFS is doing ;-/ That's where those call_rcu() have come from. > Sure, we can separate the simple "just do call_rcu(...->free_inode)" case > and hit it whenever full ->free_inode is there and ->destroy_inode isn't. > Not too pre

[PATCH] tty/serial: at91: disable uart timer at start of shutdown

2014-01-10 Thread Nicolas Ferre
From: Marek Roszko The uart timer will schedule a tasklet when it fires. It is possible that it can fire inside _shutdown before it is killed in the dma and pdc cleanup routines. This causes a tasklet that exists after the port is shutdown, so when the kernel finally executes it, it panics as the

Re: [RFC PATCH] tty/serial: at91: disable uart timer at start of shutdown

2014-01-10 Thread Nicolas Ferre
On 09/01/2014 08:08, Mark Roszko : > Just to sumarize the bug after poking before the patch: >systemd calls open/close on /dev/ttyS0 per line >atmel_shutdown executes on close >uart_timer_callback may fire during shutdown before timer is killed >tasklet gets scheduled after tasklet_

Re: [PATCH 1/3] perf: comment on usage of perf_invalid_context

2014-01-10 Thread Peter Zijlstra
On Thu, Jan 09, 2014 at 03:51:30PM -0800, Cody P Schafer wrote: > Context numbers less than 0 are treated specially within the events > code, add a comment to document this. > > Signed-off-by: Cody P Schafer > --- > include/linux/sched.h | 4 > 1 file changed, 4 insertions(+) > > diff --gi

Re: kdump failed because of hotplug memory adding in kdump kernel

2014-01-10 Thread Yasuaki Ishimatsu
(2014/01/10 18:14), Baoquan wrote: >In ns object tree, they are not treated as hotplug memory. wrong. They are treated as hotplug memory. But the memory cannot hot removed because the memory has kernel memory. Otherwise, any hotplug memory which is not reserved for 2nd kernel can be parse

Re: [PATCH 2/3] perf: clarify comment regarding event merging

2014-01-10 Thread Peter Zijlstra
On Thu, Jan 09, 2014 at 03:51:31PM -0800, Cody P Schafer wrote: > There are actually 2 things about software events that allow us to > merge them: they never fail to schedule _and_ they have transaction > handlers we can (and do, when they are added to !sw groups) ignore. Note > both of these in th

Re: Terrible performance of sequential O_DIRECT 4k writes in SAN environment. ~3 times slower then Solars 10 with the same HBA/Storage.

2014-01-10 Thread Jan Kara
On Thu 09-01-14 12:11:16, Sergey Meirovich wrote: > Hi Jan, > On 8 January 2014 22:55, Jan Kara wrote: > > > >> So far I've seen so massive degradation only in SAN environment. I > >> started my investigation with RHEL6.5 kernel so below table is from it > >> but the trend is the same as for mainl

Re: [PATCH 3/3] perf: clarify comment regarding perf_pmu_contexts

2014-01-10 Thread Peter Zijlstra
On Thu, Jan 09, 2014 at 03:51:32PM -0800, Cody P Schafer wrote: > Again, note that the behavior of task_ctx_nr < 0 is an exception. > > Signed-off-by: Cody P Schafer > --- > kernel/events/core.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/kernel/events/core.c b

Re: BUG() triggered in do_exit()

2014-01-10 Thread Linus Torvalds
Mind posting the actual bug message, and preferably a way to trigger it? Linus On Fri, Jan 10, 2014 at 11:57 AM, Vaibhav Shinde wrote: > Dear All, > > I faced this issue on kernel 3.8.13 - > > Background - > An application created SIGSEGV 3 times, whose handling was done properly.

Re: [patch/rfc] perf on raspberry-pi without overflow interrupt

2014-01-10 Thread Peter Zijlstra
On Thu, Jan 09, 2014 at 11:08:47PM -0500, Vince Weaver wrote: > On Thu, 9 Jan 2014, Will Deacon wrote: > > > I'd rather see it in the generic code if at all possible. Maybe we could add > > a flags field to perf_pmu_register? > > I can look into adding the check in generic code. Adding something

Re: [PATCH 1/1] Drivers: hv: Implement the file copy service

2014-01-10 Thread Dan Carpenter
On Thu, Jan 09, 2014 at 09:05:05PM +, KY Srinivasan wrote: > > > > We've had this discussion before where you urge me to trust the host... > > I am just implementing the protocol specification given by the host. If I > cannot trust the > specified protocol, I am not sure what else can be don

Re: [PATCH v6 2/2] PCI: Try best to allocate pref mmio 64bit above 4g

2014-01-10 Thread Guo Chao
On Wed, Jan 08, 2014 at 03:34:54PM -0800, Yinghai Lu wrote: > On Sun, Dec 22, 2013 at 5:14 PM, Yinghai Lu wrote: > > On Sun, Dec 22, 2013 at 4:00 PM, Bjorn Helgaas wrote: > >> On Thu, Dec 19, 2013 at 1:44 PM, Yinghai Lu wrote: > >> > >> Let me see if I can figure out what you're trying to do her

[GIT] [3.13] MFD fix

2014-01-10 Thread Samuel Ortiz
Hi Linus, This is the 2nd MFD pull request for 3.13 It only contains one fix for the rtsx_pcr driver. Without it we see a kernel panic on some machines, when resuming from suspend to RAM. Thanks in advance for pulling it in. The following changes since commit 78fd82238d0e5716578c326404184a27ba6

Re: [PATCH] fs/inode: No need to take ->i_lock right after alloc_inode()

2014-01-10 Thread Richard Weinberger
Am Freitag, 10. Januar 2014, 10:22:29 schrieb Christoph Hellwig: > On Wed, Jan 08, 2014 at 11:21:13AM +0100, Richard Weinberger wrote: > > > In all three cases, new_inode_pseudo(), iget_locked() and > > > iget5_locked(), > > > we own the new inode exclusively at this point and therefore taking > >

Re: [Patch 3.11.7 1/1]mm: remove and free expired data in time in zswap

2014-01-10 Thread Weijie Yang
Hi, Seth Would you please check this issue? Thanks On Mon, Nov 18, 2013 at 3:06 PM, Weijie Yang wrote: > add cc Seth 's new email address. > > On Fri, Nov 8, 2013 at 6:28 PM, Bob Liu wrote: >> On 11/08/2013 05:50 PM, changkun.li wrote: >>> In zswap, store page A to zbud if the compression rati

Re: [PATCH 0/7] improve robustness on handling migratetype

2014-01-10 Thread Mel Gorman
On Fri, Jan 10, 2014 at 05:48:55PM +0900, Joonsoo Kim wrote: > On Thu, Jan 09, 2014 at 09:27:20AM +, Mel Gorman wrote: > > On Thu, Jan 09, 2014 at 04:04:40PM +0900, Joonsoo Kim wrote: > > > Hello, > > > > > > I found some weaknesses on handling migratetype during code review and > > > testing

Re: 3.12: kernel panic when resuming from suspend to RAM (x86_64)

2014-01-10 Thread Samuel Ortiz
Hi Francis, On Fri, Jan 10, 2014 at 08:26:13AM +0100, Francis Moreau wrote: > Hi. > > On 12/10/2013 09:29 AM, Samuel Ortiz wrote: > > Hi Micky, > > > > On Tue, Dec 10, 2013 at 09:56:48AM +0800, micky wrote: > >> Hi Francis: > >> On 12/10/2013 09:39 AM, wwang wrote: > >>> which is based on Thomas

Re: [RFC PATCH V4] mm readahead: Fix readahead fail for no local memory and limit readahead pages

2014-01-10 Thread Jan Kara
On Fri 10-01-14 09:36:56, Jan Kara wrote: > On Fri 10-01-14 00:54:50, Raghavendra K T wrote: > > We limit the number of readahead pages to 4k. > > > > max_sane_readahead returns zero on the cpu having no local memory > > node. Fix that by returning a sanitized number of pages viz., > > minimum of

[PATCH v3] ASoC: fsl_esai: Add ESAI CPU DAI driver

2014-01-10 Thread Nicolin Chen
This patch implements a device-tree-only CPU DAI driver for Freescale ESAI controller that supports: - 12 channels playback and 8 channels record. [ Some of the inner transmitters and receivers are sharing same group of pins. So the maxmium 12 output or 8 input channels are only valid if

Re: [PATCH 1/3] mfd: MAX6650/6651 support

2014-01-10 Thread Lee Jones
On Thu, 09 Jan 2014, Laszlo Papp wrote: > >> +int max6651_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest) > >> +{ > > > > Probably best to use Regmap instead. > > > > regmap_i2c_read() > > >> +int max6651_write_reg(struct i2c_client *i2c, u8 reg, u8 value) > >> +{ > >> +struct max6651_dev

Re: [RFC PATCH] char: random: stir the output pools differently when the random_write lenght allows splitting the seed

2014-01-10 Thread Stephan Mueller
Am Freitag, 10. Januar 2014, 09:13:57 schrieb Clemens Ladisch: Hi Clemens, >Rafael Aquini wrote: >> This patch introduces changes to the random_write method so it can >> split the given seed and completely stir the output pools with >> different halves of it, when seed lenght allows us doing so.

Re: [PATCH] drivers/mfd/stw481x.c: fix a typo

2014-01-10 Thread Lee Jones
> The sentence is not proper English due to a minor typo of "addess". The 'r' > letter is missing which this change is now amending. This was caught while > reading the driver source for getting more information about it, and then I > ran > the vim spellchecker to make sure there are no more typos

Re: [PATCH v2 1/3] mfd: Add support for S2MPA01 device

2014-01-10 Thread Lee Jones
> Add the necessary entries required for S2MPA01 multi-function > device. While at it also convert whitespaces to tabs in core.h. > > Signed-off-by: Sachin Kamat > --- > * Fixed nits pointed out by Lee. > --- > drivers/mfd/sec-core.c | 45 +++- > include/linux/mfd/samsung/core

Re: Sanitize CPU-state when switching tasks (was sanitize CPU-state when switching from virtual-8086 mode to other task)

2014-01-10 Thread Borislav Petkov
On Thu, Jan 09, 2014 at 06:13:19PM -0800, H. Peter Anvin wrote: > OK, that sounds very reasonable. Boris, halfdog, does something like > this resolve your problem? Yeah, if in doubt, Linus to the rescue! :) Tested-by: Borislav Petkov -- Regards/Gruss, Boris. Sent from a fat crate under my

Re: 3.12: kernel panic when resuming from suspend to RAM (x86_64)

2014-01-10 Thread Francis Moreau
On 01/10/2014 10:52 AM, Samuel Ortiz wrote: > Hi Francis, > > On Fri, Jan 10, 2014 at 08:26:13AM +0100, Francis Moreau wrote: >> Hi. >> >> On 12/10/2013 09:29 AM, Samuel Ortiz wrote: >>> Hi Micky, >>> >>> On Tue, Dec 10, 2013 at 09:56:48AM +0800, micky wrote: Hi Francis: On 12/10/2013 09

Re: [PATCH v2 1/2] mfd: wm5110: Add registers for headphone short circuit control

2014-01-10 Thread Lee Jones
On Thu, 09 Jan 2014, Charles Keepax wrote: > Add the registers necessary to enable/disable the headphone short > circuit protection. > > Signed-off-by: Charles Keepax > --- > drivers/mfd/wm5110-tables.c |6 ++ > include/linux/mfd/arizona/registers.h | 27

Re: [PATCH] ARM: imx6q: Add missing esai_ahb clock to current clock tree

2014-01-10 Thread Sascha Hauer
Russell, On Thu, Jan 09, 2014 at 03:01:41PM +, Russell King - ARM Linux wrote: > Sascha, your messages have the Mail-Followup-To: header... > > Mail-Followup-To: Nicolin Chen , > > shawn@linaro.org, ker...@pengutronix.de, li...@arm.linux.org.uk, > >

Re: [patch/rfc] perf on raspberry-pi without overflow interrupt

2014-01-10 Thread Will Deacon
On Fri, Jan 10, 2014 at 04:08:47AM +, Vince Weaver wrote: > On Thu, 9 Jan 2014, Will Deacon wrote: > > > I'd rather see it in the generic code if at all possible. Maybe we could add > > a flags field to perf_pmu_register? > > I can look into adding the check in generic code. > > In the meant

Re: [RESEND PATCH] mfd: wm5110: Add register patch for rev D chip

2014-01-10 Thread Lee Jones
> Evaluation of revision D of WM5110 suggests updates to the register > patch for optimal performance. For the sake of clarity rev C of the chip > does not require a register patch. > > Signed-off-by: Charles Keepax > --- > drivers/mfd/wm5110-tables.c | 30 +- > 1 f

Re: [PATCH v5 3/9] mfd: omap-usb-host: Update DT clock binding information

2014-01-10 Thread Lee Jones
On Thu, 09 Jan 2014, Roger Quadros wrote: > The omap-usb-host driver expects certained named clocks. > Add this information to the DT binding document. > > Use clock names as per function for reference clocks. > > CC: Lee Jones > CC: Samuel Ortiz > Signed-off-by: Roger Quadros > --- > .../de

Re: [PATCH v5 1/9] mfd: omap-usb-host: Use resource managed clk_get()

2014-01-10 Thread Lee Jones
> Use devm_clk_get() instead of clk_get(). > > CC: Lee Jones > CC: Samuel Ortiz > Signed-off-by: Roger Quadros > --- > drivers/mfd/omap-usb-host.c | 81 > + > 1 file changed, 16 insertions(+), 65 deletions(-) Nice clean up. Acked-by: Lee Jones -

Re: Idle power fix regresses ebizzy performance (was 3.12-stable backport of NUMA balancing patches)

2014-01-10 Thread Mel Gorman
On Thu, Jan 09, 2014 at 03:07:00PM -0500, Len Brown wrote: > Hi Mel, > Thanks for the bisect. > What is the cpuid of the machine that sees the regression? > cpuid information for CPU 0. Machine is 4 socket, 48 threads in total. CPU 0: vendor_id = "GenuineIntel" version information (1/eax):

Re: [PATCH v2 1/3] mfd: Add support for S2MPA01 device

2014-01-10 Thread Sachin Kamat
On 10 January 2014 15:33, Lee Jones wrote: >> Add the necessary entries required for S2MPA01 multi-function >> device. While at it also convert whitespaces to tabs in core.h. >> >> Signed-off-by: Sachin Kamat >> --- >> * Fixed nits pointed out by Lee. >> --- >> drivers/mfd/sec-core.c

[f2fs-dev] [PATCH 3/3] f2fs: use spinlock rather than mutex for better speed

2014-01-10 Thread Gu Zheng
With the 2 previous changes, all the long time operations are moved out of the protection region, so here we can use spinlock rather than mutex (orphan_inode_mutex) for lower overhead. Signed-off-by: Gu Zheng --- fs/f2fs/checkpoint.c | 24 fs/f2fs/f2fs.h |2 +

[f2fs-dev][PATCH 2/3] f2fs: move alloc new orphan node out of lock protection region

2014-01-10 Thread Gu Zheng
Move alloc new orphan node out of lock protection region. Signed-off-by: Gu Zheng --- fs/f2fs/checkpoint.c | 15 +-- 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index af92c74..007f64c 100644 --- a/fs/f2fs/checkpoint.c +

[f2fs-dev][PATCH 1/3] f2fs: move grabing orphan pages out of protection region

2014-01-10 Thread Gu Zheng
Move grabing orphan block page out of protection region, and grab all the orphan block pages ahead. Signed-off-by: Gu Zheng --- fs/f2fs/checkpoint.c | 15 +-- 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 0d78bbe..a

RE: [PATCH -next] qlcnic: fix compiler warning

2014-01-10 Thread David Laight
From: Shahed Shaikh > Adding netdev. > > > -Original Message- > > From: Martin Kaiser,,, [mailto:mar...@reykholt.kaiser.cx] On Behalf Of > > Martin Kaiser > > Sent: Thursday, January 09, 2014 9:29 PM > > To: Himanshu Madhani; Rajesh Borundia > > Cc: linux-kernel; triv...@kernel.org > > Sub

Re: [RFC PATCH V4] mm readahead: Fix readahead fail for no local memory and limit readahead pages

2014-01-10 Thread Raghavendra K T
On 01/10/2014 03:22 PM, Jan Kara wrote: On Fri 10-01-14 09:36:56, Jan Kara wrote: On Fri 10-01-14 00:54:50, Raghavendra K T wrote: We limit the number of readahead pages to 4k. max_sane_readahead returns zero on the cpu having no local memory node. Fix that by returning a sanitized number of p

Re: [PATCH v5 2/9] mfd: omap-usb-host: Get clocks based on hardware revision

2014-01-10 Thread Lee Jones
> Not all revisions have all the clocks so get the necessary clocks > based on hardware revision. > > This should avoid un-necessary clk_get failure messages that were > observed earlier. > > Be more strict and always fail on clk_get() error. > > CC: Lee Jones > CC: Samuel Ortiz > Signed-off-b

Re: [PATCH v2 1/3] mfd: Add support for S2MPA01 device

2014-01-10 Thread Lee Jones
On Fri, 10 Jan 2014, Sachin Kamat wrote: > On 10 January 2014 15:33, Lee Jones wrote: > >> Add the necessary entries required for S2MPA01 multi-function > >> device. While at it also convert whitespaces to tabs in core.h. > >> > >> Signed-off-by: Sachin Kamat > >> --- > >> * Fixed nits pointed o

Re: Idle power fix regresses ebizzy performance (was 3.12-stable backport of NUMA balancing patches)

2014-01-10 Thread Mel Gorman
On Fri, Jan 10, 2014 at 01:04:55AM -0500, Len Brown wrote: > Hi Mel, > > I downloaded ebizzy and ran on an 80-thread WSM-EX. Default parameters? If so, the default is 2xNR_CPUs. My initial tests only ran up to NR_CPUs but I was seeing regressions throughout so I doubt it levelled out for higher n

[PATCH] mvebu : pcie: dt: potential issue in range parsing

2014-01-10 Thread Jean-Jacques Hiblot
The second parameter of of_read_number is not the index, but a size. As it happens, in this case it may work just fine because of the the conversion to u32 and the favorable endianness on this architecture. Signed-off-by: Jean-Jacques Hiblot --- drivers/pci/host/pci-mvebu.c | 2 +- 1 file change

Re: kdump failed because of hotplug memory adding in kdump kernel

2014-01-10 Thread Baoquan
On 01/10/14 at 06:35pm, Yasuaki Ishimatsu wrote: > (2014/01/10 18:14), Baoquan wrote: > > > > >In ns > >>>object tree, they are not treated as hotplug memory. > >> > >>wrong. > >>They are treated as hotplug memory. But the memory cannot hot removed > >>because the memory has kernel memory. > >> >

Re: [PATCH] comedi: Humusoft MF634 and MF624 DAQ cards driver

2014-01-10 Thread Ian Abbott
On 2014-01-09 22:46, Rostislav Lisovy wrote: This patch adds Comedi driver for Humusoft MF634 (PCIe) and MF624 (PCI) data acquisition cards. The legacy card Humusoft MF614 is not supported. More info about the cards may be found at http://humusoft.cz/produkty/datacq/ The driver was tested with bo

Re: [PATCH] Staging: comedi: amcc_s5933: "no space before tabs" coding style fixes.

2014-01-10 Thread Ian Abbott
On 2014-01-09 22:58, Michal Kwiatkowski wrote: Fixed a coding style issues. Signed-off-by: Michal Kwiatkowski --- drivers/staging/comedi/drivers/amcc_s5933.h |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/comedi/drivers/amcc_s5933.h b/drivers/

Re: [PATCH] Staging: comedi: fix spacing coding style issue in 8255.c.

2014-01-10 Thread Ian Abbott
On 2014-01-10 03:59, Chase Southwood wrote: This patch for 8255.c fixes a spacing warning found by checkpatch.pl. Signed-off-by: Chase Southwood --- drivers/staging/comedi/drivers/8255.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/drivers/

Re: Terrible performance of sequential O_DIRECT 4k writes in SAN environment. ~3 times slower then Solars 10 with the same HBA/Storage.

2014-01-10 Thread Sergey Meirovich
Hi Jan, On 10 January 2014 11:36, Jan Kara wrote: > On Thu 09-01-14 12:11:16, Sergey Meirovich wrote: ... >> I've done preallocation on fnic/XtremIO as Christoph suggested. >> >> [root@dca-poc-gtsxdb3 mnt]# sysbench --max-requests=0 >> --file-extra-flags=direct --test=fileio --num-threads=4 >> -

[PATCH] drm/nouveau/fb: mark ramfuc_reg() noinline

2014-01-10 Thread Paul Bolle
Building ramnve0.o triggers a GCC warning on 32 bits x86: drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c: In function 'nve0_ram_ctor': drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c:1253:1: warning: the frame size of 1496 bytes is larger than 1024 bytes [-Wframe-larger-than=] This wa

[RFC v3 0/3] New RAID library supporting up to six parities

2014-01-10 Thread Andrea Mazzoleni
Hi, Here another version of the new RAID library that addresses the Neil's comments. The new thing is an example patch to async_tx to support more parities and to use the new lib. The RAID library itself is mostly unchanged besides some renaming, removing the controversial raid_sort() function, a

[RFC v3 3/3] crypto: async_tx: Extends crypto/async_tx to support up to six parities

2014-01-10 Thread Andrea Mazzoleni
This patch makes crypto/async_tx to use the new raid interface and generalize its interface to support an arbitrary number of parities. New functions available are async_raid_gen() to compute parity, async_raid_val() to validate parity and async_raid_rec() to recover data. They are a one-to-one ma

[RFC v3 2/3] fs: btrfs: Extends btrfs/raid56 to support up to six parities

2014-01-10 Thread Andrea Mazzoleni
This patch makes btrfs/raid56.c to use the new raid interface and extends its support to an arbitrary number of parities. More in details, the two faila/failb failure indexes are now replaced with a fail[] vector that keeps track of up to six failures. The new raid_gen() and raid_rec() functions a

RE: [PATCH v2 3/4] net: make tcp_cleanup_rbuf private

2014-01-10 Thread David Laight
From: David Miller ... > > On Thu, Jan 9, 2014 at 12:26 PM, Neal Cardwell wrote: > >> On Thu, Jan 9, 2014 at 3:16 PM, Dan Williams > >> wrote: > >>> net_dma was the only external user so this can become local to tcp.c > >>> again. > >> ... > >>> -void tcp_cleanup_rbuf(struct sock *sk, int copied

Re: task_ctx_sched_out WARN_ON triggered.

2014-01-10 Thread Peter Zijlstra
On Thu, Jan 09, 2014 at 10:47:07AM -0500, Dave Jones wrote: > This is my fuzz tester, but this looks to be part of normal operation, > not actually fuzzing a syscall. This looks to be the bit that > sets the task_comm name in the child process to 'trinity-cN'. Which appears > to have > succeeded

Re: Terrible performance of sequential O_DIRECT 4k writes in SAN environment. ~3 times slower then Solars 10 with the same HBA/Storage.

2014-01-10 Thread Jan Kara
On Fri 10-01-14 12:36:22, Sergey Meirovich wrote: > Hi Jan, > > On 10 January 2014 11:36, Jan Kara wrote: > > On Thu 09-01-14 12:11:16, Sergey Meirovich wrote: > ... > >> I've done preallocation on fnic/XtremIO as Christoph suggested. > >> > >> [root@dca-poc-gtsxdb3 mnt]# sysbench --max-requests=

[GIT] APM

2014-01-10 Thread Jiri Kosina
Rafael, please consider pulling git://git.kernel.org/pub/scm/linux/kernel/git/jikos/apm.git for-next into linux-pm.git, to receive: - addition of hibernation events to apm-emulation, from Bin Shi Thanks. Bin Shi (1): apm-emulation: add hibernation APM events to support suspend2disk

Re: [patch/rfc] perf on raspberry-pi without overflow interrupt

2014-01-10 Thread Stephane Eranian
On Fri, Jan 10, 2014 at 11:08 AM, Will Deacon wrote: > On Fri, Jan 10, 2014 at 04:08:47AM +, Vince Weaver wrote: >> On Thu, 9 Jan 2014, Will Deacon wrote: >> >> > I'd rather see it in the generic code if at all possible. Maybe we could >> > add >> > a flags field to perf_pmu_register? >> >> I

Re: [PATCH v4 4/6] devicetree: bindings: Document Krait L1/L2 EDAC

2014-01-10 Thread Lorenzo Pieralisi
On Thu, Jan 09, 2014 at 08:52:21PM +, Stephen Boyd wrote: > On 01/08/14 02:05, Lorenzo Pieralisi wrote: > > On Tue, Jan 07, 2014 at 08:12:39PM +, Stephen Boyd wrote: > >> On 01/07, Lorenzo Pieralisi wrote: > >> > >>> I have a problem with the cache level definition, and in > >>> particular

Re: [alsa-devel] [PATCH] ASoC: dpcm: don't do hw_param when BE has done hw_param

2014-01-10 Thread Takashi Iwai
[Corrected mail addresses of both Mark and Liam] At Fri, 10 Jan 2014 13:36:35 +0800, Nenghua Cao wrote: > > From: Nenghua Cao > > It fixes the following case: > Two FEs connects the same BE; FE1 & BE path has been opened and > hw_paramed. > At this momment, FE2 & BE path is being opene

Re: [PATCH v2] ARM: OMAPFB: panel-sony-acx565akm: fix missing mutex unlocks

2014-01-10 Thread Tomi Valkeinen
On 2014-01-05 15:13, Ivaylo Dimitrov wrote: > From: Ivaylo Dimitrov > > Commit c37dd677988ca50bc8bc60ab5ab053720583c168 fixes the unbalanced > unlock in acx565akm_enable but introduces another problem - if > acx565akm_panel_power_on exits early, the mutex is not unlocked. Fix > that by unlocking

Re: [PATCH 2/3] dt: Document ModelGauge gauge bindings

2014-01-10 Thread Mark Rutland
On Thu, Jan 09, 2014 at 04:49:04PM +, Vladimir Barinov wrote: > These bindings can be used to register Maxim ModelGauge ICs fuel gauge > (MAX17040/41/43/44/48/49/58/59) > > Signed-off-by: Vladimir Barinov > > --- > Documentation/devicetree/bindings/power_supply/modelgauge_battery.txt | 82

Re: [PATCH 2/7] ARM: perf_event: Support percpu irqs for the CPU PMU

2014-01-10 Thread Will Deacon
On Thu, Jan 09, 2014 at 07:17:29PM +, Stephen Boyd wrote: > On 01/09/14 02:49, Will Deacon wrote: > > > >> +static irq_handler_t cpu_handler; > >> + > >> +static irqreturn_t cpu_pmu_dispatch_irq(int irq, void *dev) > >> +{ > >> + struct arm_pmu *arm_pmu = *(struct arm_pmu **)dev; > >> + retur

Re: [PATCH 3/7] ARM: perf_event: Add basic support for Krait CPU PMUs

2014-01-10 Thread Will Deacon
On Thu, Jan 09, 2014 at 07:57:12PM +, Stephen Boyd wrote: > (Adding DT reviewers) > > On 01/09/14 03:04, Will Deacon wrote: > > On Wed, Jan 08, 2014 at 10:59:40PM +, Stephen Boyd wrote: > > > >> +static int krait_pmu_init(struct arm_pmu *cpu_pmu) > >> +{ > >> + u32 id = read_cpuid_id() &

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-10 Thread Prarit Bhargava
On 01/09/2014 10:57 PM, Yasuaki Ishimatsu wrote: > (2014/01/10 6:44), Vivek Goyal wrote: >> On Thu, Jan 09, 2014 at 04:34:16PM -0500, KOSAKI Motohiro wrote: >>> On Thu, Jan 9, 2014 at 10:00 AM, Vivek Goyal wrote: On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote: [

Re: [PATCH] ASoC: fsl-sai: Add device tree nodes and its availiable check

2014-01-10 Thread Mark Brown
On Fri, Jan 10, 2014 at 10:05:50AM +0800, Xiubo Li wrote: > + if (!np || !of_device_is_available(np)) > + return -ENODEV; > + I would expect the of_device_is_available() check to be done by the driver core rather than by individual drivers - every single driver should have that ch

Re: [PATCH 1/3] power_supply: modelgauge_battery: Maxim ModelGauge ICs gauge

2014-01-10 Thread Mark Rutland
On Thu, Jan 09, 2014 at 04:49:03PM +, Vladimir Barinov wrote: > Add Maxim ModelGauge ICs gauge driver for MAX17040/41/43/44/48/49/58/59 chips > > Signed-off-by: Vladimir Barinov > > --- > drivers/power/Kconfig|8 > drivers/power/Makefile

Re: [PATCH v2 07/12] at91: dt: smc: Added smc bus driver

2014-01-10 Thread Jean-Jacques Hiblot
2014/1/10 Jean-Jacques Hiblot : > 2014/1/9 Jean-Jacques Hiblot : >> Hi Boris, >> >> 2014/1/9 boris brezillon : >>> Hello JJ, >>> >>> >>> On 09/01/2014 13:31, Jean-Jacques Hiblot wrote: The EBI/SMC external interface is used to access external peripherals (NAND and Ethernet contr

Re: Sanitize CPU-state when switching tasks (was sanitize CPU-state when switching from virtual-8086 mode to other task)

2014-01-10 Thread Linus Torvalds
On Fri, Jan 10, 2014 at 6:06 PM, Borislav Petkov wrote: > > Tested-by: Borislav Petkov Ok, good. Peter, do you want to take it (feel free to add my sign-off), or should I just commit it? Also, is there a way to have a "likely not true" version of that "static_cpu_has()"? There seems to be no w

Re: [alsa-devel] [PATCH] ASoC: dpcm: don't do hw_param when BE has done hw_param

2014-01-10 Thread Nenghua Cao
On 01/10/2014 06:55 PM, Takashi Iwai wrote: > [Corrected mail addresses of both Mark and Liam] > Hi, Takashi: Thanks for correcting my mistake. > At Fri, 10 Jan 2014 13:36:35 +0800, > Nenghua Cao wrote: >> >> From: Nenghua Cao >> >> It fixes the following case: >> Two FEs connects the sam

Re: [PATCH v2 07/12] at91: dt: smc: Added smc bus driver

2014-01-10 Thread Jean-Jacques Hiblot
2014/1/9 Jean-Jacques Hiblot : > Hi Boris, > > 2014/1/9 boris brezillon : >> Hello JJ, >> >> >> On 09/01/2014 13:31, Jean-Jacques Hiblot wrote: >>> >>> The EBI/SMC external interface is used to access external peripherals >>> (NAND >>> and Ethernet controller in the case of sam9261ek). Different >>

Re: [PATCH v3 1/2] Documentation: Add GPIO reset binding to reset binding documentation

2014-01-10 Thread Philipp Zabel
Hi Arnd, Am Mittwoch, den 08.01.2014, 17:08 +0100 schrieb Arnd Bergmann: > On Wednesday 08 January 2014, Philipp Zabel wrote: > > += GPIO Reset consumers = > > + > > +For the common case of reset lines controlled by GPIOs, the GPIO binding > > +documented in devicetree/bindings/gpio/gpio.txt shoul

Re: [PATCH v3 4/6] arm: add early_ioremap support

2014-01-10 Thread Russell King - ARM Linux
On Thu, Jan 09, 2014 at 10:50:31PM -0500, Mark Salter wrote: > +#define FIXMAP_PAGE_NORMAL (L_PTE_MT_WRITEBACK | L_PTE_YOUNG | L_PTE_PRESENT) > +#define FIXMAP_PAGE_IO (L_PTE_MT_DEV_NONSHARED | L_PTE_YOUNG | L_PTE_PRESENT) Doesn't this also want L_PTE_XN for at least IO mappings - maybe for the no

Re: Sanitize CPU-state when switching tasks (was sanitize CPU-state when switching from virtual-8086 mode to other task)

2014-01-10 Thread Borislav Petkov
On Fri, Jan 10, 2014 at 07:16:24PM +0800, Linus Torvalds wrote: > Also, is there a way to have a "likely not true" version of that > "static_cpu_has()"? There seems to be no way to make the non-K7/K8 > case FWIW, this is not only K7/K8 but actually all AMD from family 6 onwards, which is - practic

Re: [PATCH net-next v3 2/9] xen-netback: Change TX path from grant copy to mapping

2014-01-10 Thread Zoltan Kiss
On 09/01/14 15:30, Wei Liu wrote: On Wed, Jan 08, 2014 at 12:10:11AM +, Zoltan Kiss wrote: v3: - delete a surplus checking from tx_action - remove stray line - squash xenvif_idx_unmap changes into the first patch - init spinlocks - call map hypercall directly instead of gnttab_map_refs() I

  1   2   3   4   5   6   >