[PATCH] ext3: fix return values on parse_options() failure

2012-10-08 Thread Zhao Hongjiang
From: Zhao Hongjiang parse_options() in ext3 should return 0 when parse the mount options fails. Signed-off-by: Zhao Hongjiang --- fs/ext3/super.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ext3/super.c b/fs/ext3/super.c index 17ae5c8..ebf8312 100644 ---

[PATCH] ext2: fix return values on parse_options() failure

2012-10-08 Thread Zhao Hongjiang
From: Zhao Hongjiang parse_options() in ext2 should return 0 when parse the mount options fails. Signed-off-by: Zhao Hongjiang --- fs/ext2/super.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 6c205d0..fa04d02 100644 ---

RE: Possible regression: BUG in fs/sysfs/group.c:65

2012-10-08 Thread Wei, Gang
Kent Yoder wrote onĀ 2012-10-06: > On Fri, Oct 05, 2012 at 11:16:06AM -0700, Eric W. Biederman wrote: >> Ben Guthro writes: >> >>> I am seeing a regression in today's (Oct 5) kernel - 2 WARNINGS, and a >>> BUG below that seems to occur upon resuming from S3. >>> >>> I can start a bisection with

RE: [PATCHv4 1/4] modem_shm: Add Modem Access Framework

2012-10-08 Thread Arun MURTHY
> > On Wed, Oct 03, 2012 at 05:54:08AM +0200, Arun MURTHY wrote: > > > > On Mon, Oct 01, 2012 at 07:30:38AM +0200, Arun MURTHY wrote: > > > > > > On Fri, Sep 28, 2012 at 01:35:01PM +0530, Arun Murthy wrote: > > > > > > > +#include > > > > > > > +#include > > > > > > > +#include > > > > > > >

Re: [3.5 regression / mcs7830 / bisected] bridge constantly toggeling between disabled and forwarding

2012-10-08 Thread Michael Leun
On Thu, 27 Sep 2012 10:39:05 -0700 Greg KH wrote: > On Tue, Jul 24, 2012 at 01:36:34AM +0200, Michael Leun wrote: > > On Mon, 23 Jul 2012 09:15:04 +0200 > > Michael Leun wrote: > > > > [see issue description below] > > > > Bisecting yielded > > > > b1ff4f96fd1c63890d78d8939c6e0f2b44ce3113 is

RE: [PATCH 02/16] f2fs: add on-disk layout

2012-10-08 Thread Chul Lee
Dear David Sterba, David Sterba wrote: > On Fri, Oct 05, 2012 at 08:56:44PM +0900, ? wrote: > > +struct node_footer { > > + __le32 nid; /* node id */ > > + __le32 ino; /* inode nunmber */ > > + __le32 cold:1; /* cold mark */ > > + __le32 fsync:1;

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-08 Thread Rusty Russell
Paolo Bonzini writes: > Il 05/10/2012 07:43, Rusty Russell ha scritto: >> That's good. But virtio_blk's scsi command is insoluble AFAICT. As I >> said to Anthony, the best rules are "always" and "never", so I'd really >> rather not have to grandfather that in. > > It is, but we can add a rule

Re: CMA and zone watermarks

2012-10-08 Thread Marek Szyprowski
Hello, On 10/9/2012 7:07 AM, Minchan Kim wrote: On Tue, Oct 09, 2012 at 06:53:29AM +0200, Marek Szyprowski wrote: Hello, On 10/9/2012 6:43 AM, Minchan Kim wrote: On Tue, Oct 09, 2012 at 05:12:21AM +0200, Marek Szyprowski wrote: On 10/9/2012 5:10 AM, Minchan Kim wrote: On Mon, Oct 08, 2012

Re: [PATCH v4] create sun sysfs file

2012-10-08 Thread Yasuaki Ishimatsu
Hi Len, 2012/10/09 14:05, Len Brown wrote: > On 10/08/2012 07:57 PM, Yasuaki Ishimatsu wrote: >> Hi Len, >> >> What should I do to put this patch in your tree? > > Please add a description of the attribute in > Documentation/ABI/testing/ > > A human needs to understand exactly what is in that

RE: [PATCH 03/16] f2fs: add superblock and major in-memory structures

2012-10-08 Thread Chul Lee
Dear David Sterba, David Sterba wrote: > On Fri, Oct 05, 2012 at 08:57:46PM +0900, ? wrote: > > +struct f2fs_nm_info { > > + block_t nat_blkaddr;/* base disk address of NAT */ > > + unsigned int nat_segs; /* the number of nat segments */ > > + unsigned int

Re: [bisected] PS/2 keyboard and mouse dead on resume on Intel D845BG

2012-10-08 Thread Len Brown
On 10/08/2012 10:42 AM, Matthew Garrett wrote: > On Sun, Oct 07, 2012 at 09:00:09PM +0200, Ondrej Zary wrote: > >> Added acpi_read_bit_register there and it seems that SCI_EN is already set! >> >> This patch fixes the problem here. I wonder how this affects systems that >> require SCI_EN to be

Re: [PATCH v4] create sun sysfs file

2012-10-08 Thread Len Brown
On 10/08/2012 07:57 PM, Yasuaki Ishimatsu wrote: > Hi Len, > > What should I do to put this patch in your tree? Please add a description of the attribute in Documentation/ABI/testing/ A human needs to understand exactly what is in that file because you are proposing it as an ABI. thanks, Len

Re: CMA and zone watermarks

2012-10-08 Thread Minchan Kim
On Tue, Oct 09, 2012 at 06:53:29AM +0200, Marek Szyprowski wrote: > Hello, > > On 10/9/2012 6:43 AM, Minchan Kim wrote: > >On Tue, Oct 09, 2012 at 05:12:21AM +0200, Marek Szyprowski wrote: > >>On 10/9/2012 5:10 AM, Minchan Kim wrote: > >>>On Mon, Oct 08, 2012 at 05:41:14PM +0200, Rabin Vincent

Re: [PATCH] tools/power/acpi/acpidump: remove duplicated include from acpidump.c

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

Re: CMA and zone watermarks

2012-10-08 Thread Marek Szyprowski
Hello, On 10/9/2012 6:43 AM, Minchan Kim wrote: On Tue, Oct 09, 2012 at 05:12:21AM +0200, Marek Szyprowski wrote: On 10/9/2012 5:10 AM, Minchan Kim wrote: On Mon, Oct 08, 2012 at 05:41:14PM +0200, Rabin Vincent wrote: Fortunately, recently, Bart sent a patch about that.

Re: [PATCH v2] video: imxfb: Do not crash on reboot

2012-10-08 Thread Baruch Siach
Hi Fabio, On Mon, Oct 08, 2012 at 07:23:58PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Issuing a "reboot" command after the LCD times out causes the following > warnings: [snip] > @@ -513,47 +514,53 @@ static void imxfb_exit_backlight(struct imxfb_info > *fbi) > > static void

[RFC PATCH 5/5] amd_iommu: Properly account for virtual aliases in IOMMU groups

2012-10-08 Thread Alex Williamson
An alias doesn't always point to a physical device. When this happens we must first verify that the IOMMU group isn't rooted in a device above the alias. In this case the alias is effectively just another quirk for the devices aliased to it. Alternatively, the virtual alias itself may be the

[RFC PATCH 4/5] amd_iommu: Split IOMMU group allocation and attach

2012-10-08 Thread Alex Williamson
Add a WARN_ON to make it clear why we don't add dma_pdev->dev to the group we're allocating. Signed-off-by: Alex Williamson --- drivers/iommu/amd_iommu.c | 30 +++--- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/drivers/iommu/amd_iommu.c

[RFC PATCH 3/5] amd_iommu: Split upstream bus device lookup

2012-10-08 Thread Alex Williamson
Signed-off-by: Alex Williamson --- drivers/iommu/amd_iommu.c | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index 6edbd0e..3a00b5ce 100644 --- a/drivers/iommu/amd_iommu.c +++

[RFC PATCH 2/5] amd_iommu: Split IOMMU Group topology walk

2012-10-08 Thread Alex Williamson
Signed-off-by: Alex Williamson --- drivers/iommu/amd_iommu.c | 58 ++--- 1 file changed, 33 insertions(+), 25 deletions(-) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index b65b377..6edbd0e 100644 --- a/drivers/iommu/amd_iommu.c

[RFC PATCH 1/5] amd_iommu: Split IOMMU group initialization

2012-10-08 Thread Alex Williamson
This needs to be broken apart, start with pulling all the IOMMU group init code into a new function. Signed-off-by: Alex Williamson --- drivers/iommu/amd_iommu.c | 61 - 1 file changed, 43 insertions(+), 18 deletions(-) diff --git

[RFC PATCH 0/5] amd_iommu: Refactor IOMMU group and support virtual aliases

2012-10-08 Thread Alex Williamson
This series is meant to refactor IOMMU group support in amd_iommu to properly support virtual aliases. If multiple devices alias to the same virtual alias, they should be grouped together. This code also verifies whether the alias should be the root of the group vs devices above the alias. This

Re: [PATCH v2] Convert properly UTF-8 to UTF-16

2012-10-08 Thread Suresh Jayaraman
On 10/08/2012 01:48 PM, Frediano Ziglio wrote: > On Wed, 2012-10-03 at 14:49 -0500, Steve French wrote: >> Merged - but doesn't the reverse also have to be added in cifs_from_utf16? >> ie >> >> utf16s_to_utf8s(uni, ... ); >> > > Not strictly necessary, at least to be able to mount

[GIT PULL] Blackfin updates for 3.7-rc1

2012-10-08 Thread Bob Liu
The following changes since commit a0d271cbfed1dd50278c6b06bead3d00ba0a88f9: Linux 3.6 (2012-09-30 16:47:46 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo/blackfin.git for-linus for you to fetch changes up to

[PATCH 10/10] x86, mm: Add early_pgt_buf_*

2012-10-08 Thread Yinghai Lu
So we could use the left early pgt buf in BRK at first, then use new one. We avoid wasting in _BRK. Also we don't need to memblock_reserve that buf in brk again, because all BRK is reserved before. Signed-off-by: Yinghai Lu --- arch/x86/include/asm/init.h |3 +++ arch/x86/mm/init.c

[PATCH 09/10] x86, mm: Hide pgt_buf_* into internal to xen

2012-10-08 Thread Yinghai Lu
only should be used by init.c and init_64.c and init_32.c Signed-off-by: Yinghai Lu Cc: Konrad Rzeszutek Wilk Cc: Jeremy Fitzhardinge --- arch/x86/include/asm/init.h |2 ++ arch/x86/mm/init.c |5 + arch/x86/xen/mmu.c |2 +- 3 files changed, 8 insertions(+), 1

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

[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

[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

[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

[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

[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

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

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

[GIT PULL] xtensa patchset for 3.7

2012-10-08 Thread Chris Zankel
, -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-20121008 for you to fetch changes

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

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

[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

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:

[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

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

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

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

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

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;

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

[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

[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

[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

[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

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

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

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

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

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

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

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,

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

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

[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

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

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

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

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

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

[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

[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

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

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

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

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

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.

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

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

[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

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

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

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;

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

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

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

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

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

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

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

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

[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

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

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

  1   2   3   4   5   6   7   8   9   10   >