[PATCH 08/10] x86, xen, mm: fix mapping_pagetable_reserve logic

2012-10-08 Thread Yinghai Lu
Current code has hidden usage for pgt_buf_top, so we can not call that with different pgt_buf_top continuous. Acutully its main purpose is set some page back to RW. Split that to make_range_readwrite that is reflecting the real thing is done by that function. Signed-off-by: Yinghai Lu Cc: Konra

[PATCH 07/10] x86, xen, mm: Do not need to check if page table is ioremap

2012-10-08 Thread Yinghai Lu
All page table buf are pre-mapped, and could use _va to access them. Remove the not needed checking. Signed-off-by: Yinghai Lu Cc: Konrad Rzeszutek Wilk Cc: Jeremy Fitzhardinge --- arch/x86/xen/mmu.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/x86/xen/

[PATCH 06/10] x86, mm: only keep initial mapping for ram

2012-10-08 Thread Yinghai Lu
0 mean any e820 type will be kept, and only hole is removed. change to E820_RAM and E820_RESERVED_KERN only. Signed-off-by: Yinghai Lu --- arch/x86/mm/init_64.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 4

[PATCH 05/10] x86, mm: Remove early_memremap workaround for page table accessing

2012-10-08 Thread Yinghai Lu
Not needed that anymore after patches include premaping page table buf and not clear initial page table wrongly. Signed-off-by: Yinghai Lu --- arch/x86/mm/init_64.c | 38 -- 1 files changed, 4 insertions(+), 34 deletions(-) diff --git a/arch/x86/mm/init_64.

[PATCH 04/10] x86, mm: Don't clear page table if next range is ram

2012-10-08 Thread Yinghai Lu
After we add code use BRK to map buffer for final page table, It should be safe to remove early_memmap for page table accessing. But we get panic with that. It turns out we clear the initial page table wrongly for next range that is separated by holes. And it only happens when we are trying to m

[PATCH 03/10] x86, mm: get early page table from BRK

2012-10-08 Thread Yinghai Lu
Get pgt_buf early from BRK, and use it to map page table at first. also use the left at first, then use new one. -v2: extra xen call back for that new range. -v3: fix compiling about #llx in print out that is reported by Fengguang -v4: remove the early_pgt_buf_* stuff, because xen interface is re

[PATCH 02/10] x86, mm: Use big page size for small memory range

2012-10-08 Thread Yinghai Lu
We could map small range in the middle of big range at first, so should use big page size at first to avoid using small page size to break down page table. Only can set big page bit when that range has big ram area around it. Signed-off-by: Yinghai Lu --- arch/x86/mm/init.c | 32 +

[PATCH 01/10] x86, mm: align start address to correct big page size

2012-10-08 Thread Yinghai Lu
We are going to use buffer in BRK to pre-map final page table buffer. Final page table buffer could be only page aligened, but around it are still ram, we could use bigger page to map it to avoid small page. We will probe to adjust page_size_mask in next patch to make big page size could be used

[PATCH -v2 00/10] x86: Use BRK to pre mapping page table to make xen happy

2012-10-08 Thread Yinghai Lu
on top of tip/x86/mm2 1. use brk to mapping final page table 2. remove early_ioremap in page table accessing. v1-v2: changes, update xen interface about pagetable_reserve, so not use pgt_buf_* in xen code directly. could be found at: git://git.kernel.org/pub/scm/linux/kernel/git/yingh

Re: CMA and zone watermarks

2012-10-08 Thread Minchan Kim
On Tue, Oct 09, 2012 at 05:12:21AM +0200, Marek Szyprowski wrote: > Hello, > > On 10/9/2012 5:10 AM, Minchan Kim wrote: > > >On Mon, Oct 08, 2012 at 05:41:14PM +0200, Rabin Vincent wrote: > >>It appears that when CMA is enabled, the zone watermarks are not properly > >>respected, leading to for e

[GIT PULL] xtensa patchset for 3.7

2012-10-08 Thread Chris Zankel
hite list in modpost. Thanks, -Chris --> The following changes since commit a0d271cbfed1dd50278c6b06bead3d00ba0a88f9: Linux 3.6 (2012-09-30 16:47:46 -0700) are available in the git repository at: https://github.com/czankel/xtensa-linux.git tags/xtensa-next-2012100

Re: [PATCH] mm: Fix XFS oops due to dirty pages without buffers on s390

2012-10-08 Thread Hugh Dickins
On Mon, 1 Oct 2012, Jan Kara wrote: > On s390 any write to a page (even from kernel itself) sets architecture > specific page dirty bit. Thus when a page is written to via standard write, HW > dirty bit gets set and when we later map and unmap the page, > page_remove_rmap() > finds the dirty bit

Re: net: fix typo in freescale/ucc_geth.c

2012-10-08 Thread David Miller
From: Michael Neuling Date: Tue, 09 Oct 2012 10:52:25 +1100 > The following patch: > acb600d net: remove skb recycling > added dev_free_skb() to drivers/net/ethernet/freescale/ucc_geth.c > > This is a typo and should be dev_kfree_skb(). This fixes this. > > Signed-off-by: Michael Neuling

Re: [PATCH] firmware: Don't attempt to allocate zero bytes with vmalloc()

2012-10-08 Thread Mark Brown
On Tue, Oct 09, 2012 at 06:56:02AM +0800, Ming Lei wrote: > Considered that zero-length firmware image doesn't make sense for drivers > (callers), maybe it is a insane firmware image, so how about treating it as a > failure? It seems better to punt that decision to callers - for example, the case

[PATCH] mfd: da9055: Remove unprintable characters from headers

2012-10-08 Thread Mark Brown
There seem to be a number of unprintable characters at the head of some of the DA9055 include files which cause issues with some tools; remove them. Signed-off-by: Mark Brown --- include/linux/mfd/da9055/core.h |2 +- include/linux/mfd/da9055/pdata.h |2 +- include/linux/mfd/da9055/reg.

[PATCH] mfd: wm5102: Update register patch for latest evaluation

2012-10-08 Thread Mark Brown
Latest evaluation of the device has provided some revisions to the configuration. Signed-off-by: Mark Brown Cc: sta...@vger.kernel.org --- Would it be OK to merge this via ASoC? It'd help with bisection. drivers/mfd/wm5102-tables.c | 519 +-- 1 file ch

Re: linux-next: build failure after merge of the thermal tree

2012-10-08 Thread Fengguang Wu
On Mon, Oct 08, 2012 at 11:02:05AM +1100, Stephen Rothwell wrote: > Hi Zhang, > > After merging the thermal tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/thermal/cpu_cooling.c: In function 'get_idr': > drivers/thermal/cpu_cooling.c:89:14: error: 'MAX_ID_MASK

[PATCH 4/4] firmware loader: sync firmware cache by async_synchronize_full_domain

2012-10-08 Thread Ming Lei
async.c has provided synchronization mechanism on async_schedule_*, so use async_synchronize_full_domain to sync caching firmware instead of reinventing the wheel. Signed-off-by: Ming Lei --- drivers/base/firmware_class.c | 34 ++ 1 file changed, 6 insertions(+)

[PATCH 3/4] firmware loader: let direct loading back on 'firmware_buf'

2012-10-08 Thread Ming Lei
Firstly 'firmware_buf' is introduced to make all loading requests to share one firmware kernel buffer, so firmware_buf should be used in direct loading for saving memory and speedup firmware loading. Secondly, the commit below abb139e75c2cdbb955e840d6331cb5863e409d0e(firmware:teach

[PATCH 2/4] firmware loader: fix one reqeust_firmware race

2012-10-08 Thread Ming Lei
Several loading requests may be pending on one same firmware buf, and this patch moves fw_map_pages_buf() before complete_all(&fw_buf->completion) and let all requests see the mapped 'buf->data' once the loading is completed. Signed-off-by: Ming Lei --- drivers/base/firmware_class.c | 32 +

[PATCH 1/4] firmware loader: cancel uncache work before caching firmware

2012-10-08 Thread Ming Lei
Under 'Opportunistic sleep' situation, system sleep might be triggered very frequently, so the uncahce work may not be completed before caching firmware during next suspend. This patch cancels the uncache work before caching firmware to fix the problem above. Also this patch optimizes the cachein

[PATCH 0/4] firmware loader: misc changes

2012-10-08 Thread Ming Lei
Hi, The first two are fixes' patch, the 3rd one is to enable caching firmware for direct loading, and the last one is a cleanup patch. drivers/base/firmware_class.c | 266 +++-- 1 file changed, 151 insertions(+), 115 deletions(-) Thanks, -- Ming Lei -- To

Re: [PATCH] Support for OWI/Maplin USB Robotic Arm

2012-10-08 Thread Maxin B John
Hi Greg, On Mon, Oct 8, 2012 at 7:55 PM, Greg KH wrote: > On Mon, Oct 08, 2012 at 05:29:43PM -0400, Maxin B. John wrote: >> Hi Greg, >> >> This driver helps us to control the OWI/Maplin USB Robotic Arm device. >> >> I have tested this driver in my x86 Laptop and it works as expected >> (Some clea

Re: [PATCH v2] mmc: core: Add support for idle time BKOPS

2012-10-08 Thread merez
Hi Chris and all, According to the eMMC4.5 standard, a host that enables the BKOPS_EN bit must also check the BKOPS status periodically: "Host shall check the status periodically and start background operations as needed, so that the device has enough time for its maintenance operations, to help r

Re: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-08 Thread Namjae Jeon
2012/10/8, Jaegeuk Kim : >> -Original Message- >> From: Namjae Jeon [mailto:linkinj...@gmail.com] >> Sent: Monday, October 08, 2012 8:22 PM >> To: Jaegeuk Kim >> Cc: Vyacheslav Dubeyko; Marco Stornelli; Jaegeuk Kim; Al Viro; >> ty...@mit.edu; >> gre...@linuxfoundation.org; linux-kernel@vger

Re: [GIT PULL] MMC updates for 3.7-rc1

2012-10-08 Thread Vinod Koul
On Mon, 2012-10-08 at 23:36 -0400, Chris Ball wrote: > Hi Linus, > > On Mon, Oct 08 2012, Chris Ball wrote: > > Please pull from: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git > > tags/mmc-merge-for-3.7-rc1 > > > > to receive the MMC merge for 3.7. There are currently two c

[GIT PULL] slave-dmaengine updates for 3.7

2012-10-08 Thread Vinod Koul
Hi Linus, Here is the slave-dmaengine update for 3.7 This time we have Andy updates on dw_dmac which is attempting to make this IP block available as PCI and platform device though not fully complete this time. We also have TI EDMA moving the dma driver to use dmaengine APIs, also have a new driv

[PATCH 3/3] lglock: add DEFINE_STATIC_LGLOCK()

2012-10-08 Thread Lai Jiangshan
When if the lglock don't to be exported, we can use DEFINE_STATIC_LGLOCK(). Signed-off-by: Lai Jiangshan --- fs/file_table.c|2 +- include/linux/lglock.h |8 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/file_table.c b/fs/file_table.c index 701985e..e

[PATCH 2/3] lglock: make the per_cpu locks static

2012-10-08 Thread Lai Jiangshan
The per_cpu locks are not used outside nor exported. Add a "static" linkage keyword to it. Signed-off-by: Lai Jiangshan --- include/linux/lglock.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/lglock.h b/include/linux/lglock.h index 45eff71..8f97451 1006

[PATCH 1/3] lglock: remove unused DEFINE_LGLOCK_LOCKDEP()

2012-10-08 Thread Lai Jiangshan
struct lglocks use their own lock_key/lock_dep_map which are defined in struct lglock. DEFINE_LGLOCK_LOCKDEP() is unused now, so we remove it and save a small piece of memory. Signed-off-by: Lai Jiangshan --- include/linux/lglock.h |9 - 1 files changed, 0 insertions(+), 9 deletions(

linux-next: Tree for Oct 9

2012-10-08 Thread Stephen Rothwell
Hi all, Do not add stuff destined for v3.8 to your linux-next included branches until after v3.7-rc1 is released. Changes since 201201008: Conflicts are migrating as trees are merged by Linus. I have created today's l

Re: [GIT PULL] MMC updates for 3.7-rc1

2012-10-08 Thread Chris Ball
Hi Linus, On Mon, Oct 08 2012, Chris Ball wrote: > Please pull from: > > git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git > tags/mmc-merge-for-3.7-rc1 > > to receive the MMC merge for 3.7. There are currently two conflicts > due to header renames for the ARM single zImage work; they s

Re: CMA and zone watermarks

2012-10-08 Thread Marek Szyprowski
Hello, On 10/9/2012 5:10 AM, Minchan Kim wrote: On Mon, Oct 08, 2012 at 05:41:14PM +0200, Rabin Vincent wrote: It appears that when CMA is enabled, the zone watermarks are not properly respected, leading to for example GFP_NOWAIT allocations getting access to the high pools. I ran the followi

Re: CMA and zone watermarks

2012-10-08 Thread Minchan Kim
Hello, On Mon, Oct 08, 2012 at 05:41:14PM +0200, Rabin Vincent wrote: > It appears that when CMA is enabled, the zone watermarks are not properly > respected, leading to for example GFP_NOWAIT allocations getting access to the > high pools. > > I ran the following test code which simply allocates

Re: [REGRESSION][PATCH] ACPI idle, CPU hotplug: Fix NULL pointer dereference during hotplug

2012-10-08 Thread Len Brown
Applied. thanks, Len Brown, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tu

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-08 Thread Stephen Rothwell
Hi Kees, On Mon, 8 Oct 2012 18:57:51 -0700 Kees Cook wrote: > > On Mon, Oct 8, 2012 at 6:20 PM, Greg Kroah-Hartman > wrote: > > On Mon, Oct 08, 2012 at 05:46:08PM -0700, Kees Cook wrote: > >> On Mon, Oct 8, 2012 at 4:53 PM, Greg Kroah-Hartman > >> wrote: > >> > On Mon, Oct 08, 2012 at 03:08:40P

Re: [PATCH 7/7] PM / ACPI: Take device PM QoS flags into account

2012-10-08 Thread Huang Ying
On Mon, 2012-10-08 at 10:09 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make ACPI power management routines and PCI power management > routines depending on ACPI take device PM QoS flags into account > when deciding what power state to put the device into. > > In particular, af

Re: [PATCH 0/3] Volatile Ranges (v7) & Lots of words

2012-10-08 Thread Minchan Kim
On Mon, Oct 08, 2012 at 06:25:07PM -0700, John Stultz wrote: > On 10/07/2012 11:25 PM, Minchan Kim wrote: > >Hi John, > > > >On Fri, Sep 28, 2012 at 11:16:30PM -0400, John Stultz wrote: > >>After Kernel Summit and Plumbers, I wanted to consider all the various > >>side-discussions and try to summar

Re: [PATCH] clk: fix return value check in bcm2835_init_clocks()

2012-10-08 Thread Wei Yongjun
On 10/09/2012 10:31 AM, Stephen Warren wrote: > On 10/07/2012 08:02 AM, Wei Yongjun wrote: >> From: Wei Yongjun >> >> In case of error, the function clk_register_fixed_rate() returns >> ERR_PTR() and never returns NULL. The NULL test in the return value >> check should be replaced with IS_ERR(). >

[PATCH v5 2/2] ACPI: Add Intel MID SPI early console support.

2012-10-08 Thread Lv Zheng
DesignWare SPI UART is used as one of the debug ports on Low Power Intel Architecture (LPIA) platforms. This patch is introduced to support this debugging console reported by ACPI DBGP/DBG2. The original MID SPI early console stuff is also refined to co-exist with the new ACPI usage model. To us

[PATCH v5 1/2] ACPI: Add early console framework for DBGP/DBG2.

2012-10-08 Thread Lv Zheng
Microsoft Debug Port Table (DBGP or DBG2) is used by the Windows SoC platforms to describe their debugging facilities. DBGP: http://msdn.microsoft.com/en-us/windows/hardware/hh134821 DBG2: http://msdn.microsoft.com/en-us/library/windows/hardware/hh673515 This patch enables the DBGP/DBG2 debug port

Re: [PATCH] clk: fix return value check in bcm2835_init_clocks()

2012-10-08 Thread Stephen Warren
On 10/07/2012 08:02 AM, Wei Yongjun wrote: > From: Wei Yongjun > > In case of error, the function clk_register_fixed_rate() returns > ERR_PTR() and never returns NULL. The NULL test in the return value > check should be replaced with IS_ERR(). > > dpatch engine is used to auto generate this patc

Re: [PATCH] pinctrl: fix return value in bcm2835_pinctrl_probe()

2012-10-08 Thread Stephen Warren
On 10/07/2012 08:01 AM, Wei Yongjun wrote: > From: Wei Yongjun > > In case of error, the function pinctrl_register() returns > NULL not ERR_PTR(). The PTR_ERR() in the return value > should be replaced with error no. > > dpatch engine is used to auto generate this patch. > (https://github.com/we

Re: [PATCH] sched: rewrite the wrong annotation for select_task_rq_fair()

2012-10-08 Thread Michael Wang
On 09/18/2012 04:16 PM, Michael Wang wrote: > The annotation for select_task_rq_fair() is wrong since commit c88d5910, it's > actually for a removed function. > > This patch rewrite the wrong annotation to make it correct. Could I get some comments on the patch? Regards, Michael Wang > > Signe

Re: [PATCH] pinctrl: remove duplicated include from pinctrl-bcm2835.c

2012-10-08 Thread Stephen Warren
On 10/07/2012 07:28 AM, Wei Yongjun wrote: > From: Wei Yongjun > > Remove duplicated include. > > dpatch engine is used to auto generate this patch. > (https://github.com/weiyj/dpatch) Linus, I assume this will go through the pinctrl tree? -- To unsubscribe from this list: send the line "unsubs

Re: [PATCH] sched: fix should_resched() to avoid do schedule in atomic

2012-10-08 Thread Michael Wang
On 09/18/2012 11:13 AM, Michael Wang wrote: > This patch try to fix the BUG: > > [0.043953] BUG: scheduling while atomic: swapper/0/1/0x1002 > [0.044017] no locks held by swapper/0/1. > [0.044692] Pid: 1, comm: swapper/0 Not tainted 3.6.0-rc1-00420-gb7aebb9 > #34 > [0.045861]

[PATCH 1/2] ftrace: Change unsigned long type of ring_buffer_oldest_event_ts() to u64

2012-10-08 Thread Yoshihiro YUNOMAE
ring_buffer_oldest_event_ts() should return a value of u64 type, because ring_buffer_per_cpu->buffer_page->buffer_data_page->time_stamp is u64 type. Signed-off-by: Yoshihiro YUNOMAE Cc: Steven Rostedt Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Vaibhav Nagarnaik --- include/linux/ring_buffe

[PATCH 2/2] ftrace: Show raw time stamp on stats per cpu using counter or tsc mode for trace_clock

2012-10-08 Thread Yoshihiro YUNOMAE
Show raw time stamp values for stats per cpu if you choose counter or tsc mode for trace_clock. Although a unit of tracing time stamp is nsec in local or global mode, the units in counter and TSC mode are tracing counter and cycles respectively. Signed-off-by: Yoshihiro YUNOMAE Cc: Steven Rosted

[PATCH 0/2] ftrace: [BUGFIX] type of ring_buffer_oldest_event_ts() and showing of stats per cpu directory

2012-10-08 Thread Yoshihiro YUNOMAE
The following patch set fixes two bugs for ftrace. [1/2] This patch fixes type mismatch of ring_buffer_oldest_event_ts(). [2/2] This fixes showing of stats per cpu directory for ftrace using counter or tsc as a time stamp. This patch depends on David's patch series (https://lkml.org/lkml/2012/10

Re: [PATCH v5 1/3] tracing,x86: Add a TSC trace_clock

2012-10-08 Thread Yoshihiro YUNOMAE
Hi David, This is a nice patch set. I just have found something should be fixed, which related to your work. I'll send it following this mail. Would you mind adding these patches as your patch series? Thanks, Yoshihiro YUNOMAE (2012/10/02 12:31), David Sharp wrote: > In order to promote inter

Re: [patch]block: add plug for blkdev_issue_discard

2012-10-08 Thread Jens Axboe
On 2012-10-08 19:56, Mike Snitzer wrote: > On Mon, Oct 8, 2012 at 9:11 PM, Shaohua Li wrote: >> Now discard merge works, add plug for blkdev_issue_discard. This will help >> discard request merge especially for raid0 case. In raid0, a big discard >> request is split to small requests, and if corre

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-08 Thread Kees Cook
On Mon, Oct 8, 2012 at 6:26 PM, Paul E. McKenney wrote: > On Mon, Oct 08, 2012 at 05:46:08PM -0700, Kees Cook wrote: >> On Mon, Oct 8, 2012 at 4:53 PM, Greg Kroah-Hartman >> wrote: >> > On Mon, Oct 08, 2012 at 03:08:40PM -0700, Kees Cook wrote: >> >> On Wed, Oct 3, 2012 at 9:17 AM, Greg Kroah-Har

Re: [patch]block: add plug for blkdev_issue_discard

2012-10-08 Thread Mike Snitzer
On Mon, Oct 8, 2012 at 9:11 PM, Shaohua Li wrote: > Now discard merge works, add plug for blkdev_issue_discard. This will help > discard request merge especially for raid0 case. In raid0, a big discard > request is split to small requests, and if correct plug is added, such small > requests can be

Re: [PATCH 2.6.32.y, 2.6.34.y] ALSA: hda - ALSA HD Audio patch for Intel Panther Point DeviceIDs

2012-10-08 Thread Ben Hutchings
On Mon, 2012-10-08 at 18:07 -0700, Jonathan Nieder wrote: > From: Seth Heasley > Date: Wed, 20 Apr 2011 10:59:57 -0700 > > commit d2edeb7c6f1dada8ca7d5c23e42d604e92ae0c76 upstream. > > This patch adds the HD Audio Controller DeviceIDs for the Intel Panther Point > PCH. > > [jn: backported for

Re: usb 3.0 hard drive doesn't work

2012-10-08 Thread WANG Siyuan
hi, Daniel my usb 3.0 hard drive doesn't have external power. this is a "western digital" usb hard drive: WDBACY5000AWT here is a Product Specifications: http://www.wdc.com/wdproducts/library/AAG/ENG/4178-705131.pdf i start my laptop with ubuntu, the usb3.0 port could use the usb3.0 hard drive. bu

Re: [PATCH 08/16] ipvs: fix ip_vs_set_timeout debug messages

2012-10-08 Thread Simon Horman
On Sat, Oct 06, 2012 at 09:54:15AM +, Arnd Bergmann wrote: > On Saturday 06 October 2012, Julian Anastasov wrote: > > On Sat, 6 Oct 2012, Arnd Bergmann wrote: > > > > Are there any CONFIG_IP_VS_PROTO_xxx options in this > > > > default config? It is a waste of memory if IPVS is compiled

Re: [PATCH] ntp, add debugfs entries for time_status and time_state

2012-10-08 Thread John Stultz
On 10/04/2012 06:48 AM, Prarit Bhargava wrote: Add debugfs entries for ntp time_status and time_state. These are useful for debugging ntp issues. Aren't these easily fetched from adjtimex()? How does having them in debugfs help? thanks -john -- To unsubscribe from this list: send the line "

Re: [RFC] vmevent: Implement pressure attribute

2012-10-08 Thread John Stultz
On 10/08/2012 02:46 AM, Mel Gorman wrote: On Sun, Oct 07, 2012 at 01:14:17AM -0700, Anton Vorontsov wrote: And here we just try to let userland to assist, userland can tell "oh, don't bother with swapping or draining caches, I can just free some memory". Quite interesting, this also very much r

[PATCH] [staging][zram] Fix handling of incompressible pages

2012-10-08 Thread Nitin Gupta
Change 130f315a introduced a bug in the handling of incompressible pages which resulted in memory allocation failure for such pages. The fix is to store the page as-is i.e. without compression if the compressed size exceeds a threshold (max_zpage_size) and request exactly PAGE_SIZE sized buffer fro

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-08 Thread Paul E. McKenney
On Mon, Oct 08, 2012 at 05:46:08PM -0700, Kees Cook wrote: > On Mon, Oct 8, 2012 at 4:53 PM, Greg Kroah-Hartman > wrote: > > On Mon, Oct 08, 2012 at 03:08:40PM -0700, Kees Cook wrote: > >> On Wed, Oct 3, 2012 at 9:17 AM, Greg Kroah-Hartman > >> wrote: > >> > On Wed, Oct 03, 2012 at 06:25:38AM -07

Re: [PATCH 0/3] Volatile Ranges (v7) & Lots of words

2012-10-08 Thread John Stultz
On 10/07/2012 11:25 PM, Minchan Kim wrote: Hi John, On Fri, Sep 28, 2012 at 11:16:30PM -0400, John Stultz wrote: After Kernel Summit and Plumbers, I wanted to consider all the various side-discussions and try to summarize my current thoughts here along with sending out my current implementation

RE: [PATCH] compat-drivers: update ethernet driver alx in crap dir

2012-10-08 Thread Huang, Xiong
Hi Luis I'm refining the code, I try my best to make it upstream ASAP. Thanks ! -Xiong > -Original Message- > From: mcg...@gmail.com [mailto:mcg...@gmail.com] On Behalf Of Luis R. > Rodriguez > Sent: Tuesday, October 09, 2012 6:25 > To: Huang, Xiong > Cc: mcg...@kernel.org; backpo...

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-08 Thread Greg Kroah-Hartman
On Mon, Oct 08, 2012 at 05:46:08PM -0700, Kees Cook wrote: > >> Who is going to carry this initial patch, btw? > > > > You? :) > > Do you mean to say I should ask Stephen to pull from one of my trees > for linux-next? If so, I've made this now: > > git://git.kernel.org/pub/scm/linux/kernel/git/k

Re: [PATCH] compat-drivers: update ethernet driver alx in crap dir

2012-10-08 Thread Luis R. Rodriguez
On Mon, Oct 8, 2012 at 5:42 PM, Greg Kroah-Hartman wrote: > On Mon, Oct 08, 2012 at 03:25:08PM -0700, Luis R. Rodriguez wrote: >> On Thu, Oct 4, 2012 at 6:34 PM, wrote: >> > From: xiong >> > >> > 1. support new device id (0x10A0/0x10A1). >> > 2. add DEBUG_FS interface for diag/swoi functions. >

[patch]block: add plug for blkdev_issue_discard

2012-10-08 Thread Shaohua Li
Now discard merge works, add plug for blkdev_issue_discard. This will help discard request merge especially for raid0 case. In raid0, a big discard request is split to small requests, and if correct plug is added, such small requests can be merged in low layer. Signed-off-by: Shaohua Li --- bloc

[PATCH 2.6.32.y, 2.6.34.y] ALSA: hda - ALSA HD Audio patch for Intel Panther Point DeviceIDs

2012-10-08 Thread Jonathan Nieder
From: Seth Heasley Date: Wed, 20 Apr 2011 10:59:57 -0700 commit d2edeb7c6f1dada8ca7d5c23e42d604e92ae0c76 upstream. This patch adds the HD Audio Controller DeviceIDs for the Intel Panther Point PCH. [jn: backported for 2.6.32.y by Ana Guerrero] Signed-off-by: Seth Heasley Signed-off-by: Takas

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-08 Thread Kees Cook
On Mon, Oct 8, 2012 at 4:53 PM, Greg Kroah-Hartman wrote: > On Mon, Oct 08, 2012 at 03:08:40PM -0700, Kees Cook wrote: >> On Wed, Oct 3, 2012 at 9:17 AM, Greg Kroah-Hartman >> wrote: >> > On Wed, Oct 03, 2012 at 06:25:38AM -0700, Paul E. McKenney wrote: >> >> On Tue, Oct 02, 2012 at 12:50:42PM -0

Re: [PATCH] mm: memmap_init_zone() performance improvement

2012-10-08 Thread Ni zhan Chen
On 10/08/2012 11:16 PM, Mel Gorman wrote: On Wed, Oct 03, 2012 at 08:56:14AM -0600, Mike Yoknis wrote: memmap_init_zone() loops through every Page Frame Number (pfn), including pfn values that are within the gaps between existing memory sections. The unneeded looping will become a boot performa

Re: [PATCH] compat-drivers: update ethernet driver alx in crap dir

2012-10-08 Thread Greg Kroah-Hartman
On Mon, Oct 08, 2012 at 03:25:08PM -0700, Luis R. Rodriguez wrote: > On Thu, Oct 4, 2012 at 6:34 PM, wrote: > > From: xiong > > > > 1. support new device id (0x10A0/0x10A1). > > 2. add DEBUG_FS interface for diag/swoi functions. > > > > Signed-off-by: Ren Cloud > > Signed-off-by: xiong > > Xi

[PATCH] RapidIO: Fix trivial comment error.

2012-10-08 Thread David Daney
From: Chad Reese The resource index for the mailboxes was incorrect. Signed-off-by: Chad Reese --- include/linux/rio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/rio.h b/include/linux/rio.h index dc0c755..dd418d1 100644 --- a/include/linux/rio.h +++ b/inc

Re: CMA and zone watermarks

2012-10-08 Thread Marek Szyprowski
Hello, On 10/8/2012 5:41 PM, Rabin Vincent wrote: It appears that when CMA is enabled, the zone watermarks are not properly respected, leading to for example GFP_NOWAIT allocations getting access to the high pools. I ran the following test code which simply allocates pages with GFP_NOWAIT unti

[PATCH] virt/kvm: change kvm_assign_device() to print return value when iommu_attach_device() fails

2012-10-08 Thread Shuah Khan
Change existing kernel error message to include return value from iommu_attach_device() when it fails. This will help debug device assignment failures more effectively. Signed-off-by: Shuah Khan --- virt/kvm/iommu.c |6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/virt

Re: mpol_to_str revisited.

2012-10-08 Thread Ben Hutchings
On Mon, 2012-10-08 at 11:09 -0400, Dave Jones wrote: > Last month I sent in 80de7c3138ee9fd86a98696fd2cf7ad89b995d0a to remove > a user triggerable BUG in mempolicy. > > Ben Hutchings pointed out to me that my change introduced a potential leak > of stack contents to userspace, because none of the

Re: PROBLEM: 3.6.0 kernel BUG at fs/dcache.c:967 during shutdown / restart

2012-10-08 Thread Neil Salstrom
On 10/08/2012 10:14 AM, Jan Kara wrote: On Sat 06-10-12 10:20:26, Neil Salstrom wrote: I've not submitted a kernel bug before but I've read the bug reporting pages. I'll try to do my best and if you need more information please let me know. Please feel free to cc me on the answer or if you hav

Re: [PATCH v4 4/4] Documentation: update nfs option in filesystem/vfat.txt

2012-10-08 Thread Namjae Jeon
2012/10/9, J. Bruce Fields : > On Sun, Oct 07, 2012 at 04:33:02AM -0400, Namjae Jeon wrote: >> From: Namjae Jeon >> >> update nfs option in filesystem/vfat.txt >> >> Signed-off-by: Namjae Jeon >> Signed-off-by: Ravishankar N >> Signed-off-by: Amit Sahrawat >> --- >> Documentation/filesystems/v

[ANNOUNCE] 3.0.44-rt66

2012-10-08 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.0.44-rt66 stable release. This release is just an update to the new stable 3.0.44 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.g

Re: [PATCH v4] create sun sysfs file

2012-10-08 Thread Yasuaki Ishimatsu
Hi Len, What should I do to put this patch in your tree? Thanks, Yasuaki Ishimatsu 2012/10/03 18:54, Yasuaki Ishimatsu wrote: > Hi Len, > > Ping... > Pleae merge the patch into your tree. > > Thanks, > Yasuaki Ishimatsu > > 2012/09/24 11:31, Yasuaki Ishimatsu wrote: >> Hi Len, >> >> Ping... >

Re: [PATCH 0/6] AMD MCE injection improvs

2012-10-08 Thread Tony Luck
On Mon, Oct 8, 2012 at 10:11 AM, Borislav Petkov wrote: > create mode 100644 arch/x86/ras/ras.c Overall it looks good - but I'm a bit puzzled by this ras.c file that gets created as an empty file in part1, and is still empty at the end of the series. What is going to go into it? -Tony -- To un

RE: [PATCH] fix x2apic defect that Linux kernel doesn't mask 8259A interrupt during the time window between changing VT-d table base address and initializing these VT-d entries(smpboot.c and apic.c )

2012-10-08 Thread Suresh Siddha
On Sun, 2012-10-07 at 21:53 -0700, Zhang, Lin-Bao (Linux Kernel R&D) wrote: > Hi Suresh, > Could you please update current status about these 2 files and patch? > I am not sure if I have answered your questions , if not ,feel free to let me > know. > This is my first time to submit patch to LKML,

Re: [PATCH] Support for OWI/Maplin USB Robotic Arm

2012-10-08 Thread Greg KH
On Mon, Oct 08, 2012 at 05:29:43PM -0400, Maxin B. John wrote: > Hi Greg, > > This driver helps us to control the OWI/Maplin USB Robotic Arm device. > > I have tested this driver in my x86 Laptop and it works as expected > (Some clean-ups and modifications are in the pipeline, though). > > After

Re: [PATCH 0/5] Move some OF functionality from pseries to generic OF code

2012-10-08 Thread Michael Ellerman
On Tue, 2012-10-02 at 13:11 -0500, Nathan Fontenot wrote: > This set of patches moves some OF code that has been living > in the pseries tree over to the generic OF code base. The > functionality being migrated over is something that, I believe, > should live in the generic code base. The specific

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-08 Thread Greg Kroah-Hartman
On Mon, Oct 08, 2012 at 03:08:40PM -0700, Kees Cook wrote: > On Wed, Oct 3, 2012 at 9:17 AM, Greg Kroah-Hartman > wrote: > > On Wed, Oct 03, 2012 at 06:25:38AM -0700, Paul E. McKenney wrote: > >> On Tue, Oct 02, 2012 at 12:50:42PM -0700, Kees Cook wrote: > >> > This config item has not carried muc

Re: [PATCH 1/6] x86, RAS: Add a barebones RAS subtree

2012-10-08 Thread Tony Luck
On Mon, Oct 8, 2012 at 10:11 AM, Borislav Petkov wrote: > +config X86_RAS > + def_bool y > + prompt "X86 RAS features" > + ---help--- > + A collection of Reliability, Availability and Serviceability software > + features which enable hardware error logging and reporti

net: fix typo in freescale/ucc_geth.c

2012-10-08 Thread Michael Neuling
The following patch: acb600d net: remove skb recycling added dev_free_skb() to drivers/net/ethernet/freescale/ucc_geth.c This is a typo and should be dev_kfree_skb(). This fixes this. Signed-off-by: Michael Neuling --- This hit as a compile error in next-20121008 with mpc85xx_defconfig

Re: INFO: rcu_preempt detected stalls on CPUs/tasks: { 1} (detected by 0, t=10002 jiffies)

2012-10-08 Thread John Stultz
On 09/30/2012 04:59 AM, Fengguang Wu wrote: On Sun, Sep 30, 2012 at 01:32:46PM +0200, Avi Kivity wrote: On 09/30/2012 01:23 PM, Fengguang Wu wrote: On Sun, Sep 30, 2012 at 01:10:55PM +0200, Avi Kivity wrote: On 09/28/2012 05:35 AM, Paul E. McKenney wrote: On Thu, Sep 27, 2012 at 12:40:44PM +0

Re: [PATCH 1/8] exofs: drop lock/unlock super

2012-10-08 Thread Al Viro
On Mon, Oct 08, 2012 at 02:58:05PM -0700, Boaz Harrosh wrote: > Hi Marco > > I was sure you guys where pushing this patch through some > vfs tree. (Hence my Acked-by below). I have just sent Linus > a pull request for the 3.7 Kernel. I could perhaps append this > one and resend. > > I do want thi

Re: [ANNOUNCE] 3.4.12-rt20

2012-10-08 Thread Steven Rostedt
On Mon, 2012-10-08 at 19:05 -0400, Paul Gortmaker wrote: > On Mon, Oct 8, 2012 at 2:20 PM, Steven Rostedt wrote: > > > > Dear RT Folks, > > > > I'm pleased to announce the 3.4.12-rt20 stable release. > > > > > > This release is just an update to the new stable 3.4.12 version > > and no RT specific

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-08 Thread Kees Cook
On Mon, Oct 8, 2012 at 3:59 PM, Paul E. McKenney wrote: > On Mon, Oct 08, 2012 at 03:40:57PM -0700, Kees Cook wrote: >> On Mon, Oct 8, 2012 at 3:37 PM, Kees Cook wrote: >> > On Mon, Oct 8, 2012 at 3:29 PM, Paul E. McKenney >> > wrote: >> >> On Mon, Oct 08, 2012 at 03:07:24PM -0700, Kees Cook wro

linux-next: long standing commit in devicetree-current tree

2012-10-08 Thread Stephen Rothwell
Hi Grant, The devicetree-current tree has one commit in it: 4e8383b6b06bof: release node fix for of_parse_phandle_with_args It has been there since May 26. Just wondering if it is going anywhere? -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpoHLggwf7DS.pgp Descr

Re: [PATCH] Staging: android: binder: Fixed multi-line strings

2012-10-08 Thread Joe Perches
On Tue, 2012-10-09 at 00:31 +0530, Anmol Sarma wrote: > Changed all user visible multi-line stings to single line. Another patch might be to add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt before any #include and > diff --git a/drivers/staging/android/binder.c > b/drivers/staging/android/binde

Re: [PATCH] printk: drop ambiguous LOG_CONT flag

2012-10-08 Thread Joe Perches
On Mon, 2012-10-08 at 21:54 +0200, "Jan H. Schönherr" wrote: > Am 08.10.2012 21:24, schrieb Kay Sievers: > > On Fri, Sep 28, 2012 at 4:56 PM, Kay Sievers wrote: > >> On Fri, Sep 28, 2012 at 4:49 PM, "Jan H. Schönherr" > >>> Given that I'm able to fix the racing case, would you be in favor of > >>>

Re: [ANNOUNCE] 3.4.12-rt20

2012-10-08 Thread Paul Gortmaker
On Mon, Oct 8, 2012 at 2:20 PM, Steven Rostedt wrote: > > Dear RT Folks, > > I'm pleased to announce the 3.4.12-rt20 stable release. > > > This release is just an update to the new stable 3.4.12 version > and no RT specific changes have been made. Did I miss something that ruled out the inclusion

Re: [PATCH v4] KSM: numa awareness sysfs knob

2012-10-08 Thread Petr Holasek
Hi Hugh, first of all, please let me apologize for the delay in my response and thank you for your extensive review! On Sun, 30 Sep 2012, Hugh Dickins wrote: > Andrea's point about ksm_migrate_page() is an important one, and I've > answered that against his mail, but here's some other easier poin

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-08 Thread Paul E. McKenney
On Mon, Oct 08, 2012 at 03:40:57PM -0700, Kees Cook wrote: > On Mon, Oct 8, 2012 at 3:37 PM, Kees Cook wrote: > > On Mon, Oct 8, 2012 at 3:29 PM, Paul E. McKenney > > wrote: > >> On Mon, Oct 08, 2012 at 03:07:24PM -0700, Kees Cook wrote: > >>> On Sun, Oct 7, 2012 at 6:04 PM, Paul E. McKenney > >>

Re: [PATCH] firmware: Don't attempt to allocate zero bytes with vmalloc()

2012-10-08 Thread Ming Lei
On Sat, Oct 6, 2012 at 1:05 AM, Mark Brown wrote: > vmalloc() will fail (very loudly) if we try to allocate zero bytes to > read a zero byte file. Instead report that we successfully read in all > zero bytes. > > It's not immediately obvious to me that this is better than returning an > error but

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-08 Thread Kees Cook
On Mon, Oct 8, 2012 at 3:37 PM, Kees Cook wrote: > On Mon, Oct 8, 2012 at 3:29 PM, Paul E. McKenney > wrote: >> On Mon, Oct 08, 2012 at 03:07:24PM -0700, Kees Cook wrote: >>> On Sun, Oct 7, 2012 at 6:04 PM, Paul E. McKenney >>> wrote: >>> > On Sun, Oct 07, 2012 at 04:18:54PM -0400, Dave Jones wr

[PATCH 21/25] perf kvm: Total count is a u64, print as so

2012-10-08 Thread Arnaldo Carvalho de Melo
From: David Ahern remove cast and use proper type in format. Signed-off-by: David Ahern Cc: Dong Hao Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Xiao Guangrong Link: http://lkml.kernel.org/r/1349716656-48165-11-git-send-email-dsah...@gmail.com Signed-off-by: Arnaldo Car

[PATCH 17/25] perf machine: Carve up event processing specific from perf_tool

2012-10-08 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo The perf_tool vtable expects methods that receive perf_tool and perf_sample entries, but for tools not interested in doing any special processing on non PERF_RECORD_SAMPLE events, like 'perf top', and for those not using perf_session, like 'perf trace', they were us

[PATCH 13/25] perf machine: Introduce find_thread method

2012-10-08 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo There are cases where we want just to find a thread if it exists already, so provide a method for that. While doing that start moving 'machine' methods to a separate file. Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Ki

[PATCH 01/25] perf trace: Validate target task/user/cpu argument

2012-10-08 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Those target options are mutually exclusive so check it before setting up target thread/cpu maps. Signed-off-by: Namhyung Kim Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1349413336-26936-2-git-send-email-namhy...@kernel.org Signed-

<    1   2   3   4   5   6   >