[PATCH v2 10/26] block: Add submit_bio_wait(), remove from md

2012-09-10 Thread Kent Overstreet
Random cleanup - this code was duplicated and it's not really specific to md. Also added the ability to return the actual error code. Signed-off-by: Kent Overstreet CC: Jens Axboe CC: NeilBrown --- drivers/md/raid1.c | 19 --- drivers/md/raid10.c | 19 --- fs/

[PATCH v2 09/26] block: Remove some unnecessary bi_vcnt usage

2012-09-10 Thread Kent Overstreet
More prep work for immutable bvecs/effecient bio splitting - usage of bi_vcnt has to be auditing, so getting rid of all the unnecessary usage makes that easier. Plus, bio_segments() is really what this code wanted, as it respects the current value of bi_idx. Signed-off-by: Kent Overstreet CC: Je

[PATCH v2 08/26] block: Remove bi_idx references

2012-09-10 Thread Kent Overstreet
These were harmless but uneccessary,andt getting rid of them makes the code easier to audit since most of them need to be removed. Signed-off-by: Kent Overstreet CC: Jens Axboe --- drivers/block/floppy.c | 1 - drivers/md/dm-verity.c | 2 +- drivers/md/raid10.c| 1 - fs/buffer.c

Re: [PATCH 05/17] ASoC: Ux500: Minor coding layout changes

2012-09-10 Thread Mark Brown
On Mon, Sep 10, 2012 at 05:44:49PM +0100, Lee Jones wrote: > Ola poke. Please don't send contentless top-posted pings - if you think things have been forgotten you should generally resend them, there's a good chance that if things have been lost people don't have the original any more. Replying m

[PATCH v2 05/26] block: Add bio_end()

2012-09-10 Thread Kent Overstreet
Just a little convenience macro - main reason to add it now is preparing for immutable bio vecs, it'll reduce the size of the patch that puts bi_sector/bi_size/bi_idx into a struct bvec_iter. Signed-off-by: Kent Overstreet CC: Jens Axboe --- block/blk-core.c | 2 +- block/cfq-iosc

[PATCH v2 04/26] md: Convert md_trim_bio() to use bio_advance()

2012-09-10 Thread Kent Overstreet
Signed-off-by: Kent Overstreet CC: Jens Axboe CC: NeilBrown --- drivers/md/md.c | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/drivers/md/md.c b/drivers/md/md.c index 7a2b079..51ce48c 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -190,25 +190,16

[PATCH v2 02/26] block: Add bio_advance()

2012-09-10 Thread Kent Overstreet
This is prep work for immutable bio vecs; we first want to centralize where bvecs are modified. Next two patches convert some existing code to use this function. Signed-off-by: Kent Overstreet CC: Jens Axboe --- fs/bio.c| 41 + include/linux/

[PATCH] ARM: davinci: da8xx_register_spi() should not register SPI board info

2012-09-10 Thread Vivien Didelot
Without this patch, da8xx_register_spi() registers the SPI board info, the SPI controller, and sets its number of chipselect to the size of the static spi_board_info array. This is bad because a SPI board info may declare devices for different SPI buses, and because other code can also call spi_reg

[PATCH v2 01/26] block: Convert integrity to bvec_alloc_bs(), and a bugfix

2012-09-10 Thread Kent Overstreet
This adds a pointer to the bvec array to struct bio_integrity_payload, instead of the bvecs always being inline; then the bvecs are allocated with bvec_alloc_bs(). This is needed eventually for immutable bio vecs - immutable bvecs aren't useful if we still have to copy them, hence the need for the

Re: [PATCH] vfs: correct comment for fs/fs-writeback.c/move_expired_inodes

2012-09-10 Thread Fengguang Wu
On Mon, Sep 10, 2012 at 06:26:33PM +0200, Jan Kara wrote: > On Sat 08-09-12 23:49:00, Wang Sheng-Hui wrote: > > The function scans @delaying_queue and stops at the first inode > > whose dirtied_when is after *work->older_than_this. So the expired > > ones being moved are those before *work->older_t

[PATCH] mm: cma: Discard clean pages during contiguous allocation instead of migration

2012-09-10 Thread Minchan Kim
This patch drops clean cache pages instead of migration during alloc_contig_range() to minimise allocation latency by reducing the amount of migration is necessary. It's useful for CMA because latency of migration is more important than evicting the background processes working set. In addition, as

Re: [V4 PATCH 00/26] memory,numa: introduce MOVABLE-dedicated node and online_movable for hotplug

2012-09-10 Thread Yasuaki Ishimatsu
Hi Lai, Using memory_online to hot-added node's memory, the following kernel messages were shown. Is this a known issue? [ 327.837408] [ cut here ] [ 327.892556] kernel BUG at mm/page_alloc.c:553! [ 327.945621] invalid opcode: [#1] SMP [ 327.994748] Modules linke

Re: [PATCH] Kbuild: use normal compression settings for tar*-pkg

2012-09-10 Thread Fengguang Wu
On Sat, Sep 08, 2012 at 12:47:59PM -0700, Andi Kleen wrote: > From: Andi Kleen > > For large kernel configurations (like a distribution kernel) > targz-pkg takes a quite long time to just do the compression. > I clocked it at 15+mins for a SUSE kernel like config on a fast > system. And tarxz an

Re: [RFC v2] memory-hotplug: remove MIGRATE_ISOLATE from free_area->free_list

2012-09-10 Thread Minchan Kim
Hi Bart, On Thu, Sep 06, 2012 at 06:34:35PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Thursday 06 September 2012 04:53:38 Minchan Kim wrote: > > Normally, MIGRATE_ISOLATE type is used for memory-hotplug. > > But it's irony type because the pages isolated would exist > > as free page

Re: [RFC v2] memory-hotplug: remove MIGRATE_ISOLATE from free_area->free_list

2012-09-10 Thread Minchan Kim
Hello Wen, On Fri, Sep 07, 2012 at 03:28:22PM +0800, Wen Congyang wrote: > At 09/06/2012 10:53 AM, Minchan Kim Wrote: > > Normally, MIGRATE_ISOLATE type is used for memory-hotplug. > > But it's irony type because the pages isolated would exist > > as free page in free_area->free_list[MIGRATE_ISOLA

Re: [RFC] memory-hotplug: remove MIGRATE_ISOLATE from free_area->free_list

2012-09-10 Thread Minchan Kim
Hi Michal, On Thu, Sep 06, 2012 at 02:59:53PM +0200, Michal Nazarewicz wrote: > > On Wed, Sep 05, 2012 at 07:28:23PM +0200, Michal Nazarewicz wrote: > >> If you ask me, I'm not convinced that this improves anything. > > On Thu, Sep 06 2012, Minchan Kim wrote: > > At least, it removes MIGRATE_ISOL

Re: [PATCH/RFC] Fix xsave bug on older Xen hypervisors

2012-09-10 Thread Matt Wilson
On Fri, Sep 07, 2012 at 09:47:01AM -0400, Konrad Rzeszutek Wilk wrote: > On Fri, Sep 07, 2012 at 01:40:43PM +0200, Stefan Bader wrote: > > When writing unsupported flags into CR4 (for some time the > > xen_write_cr4 function would refuse to do anything at all) > > older Xen hypervisors (and patch c

Re: [RFC v8 PATCH 00/20] memory-hotplug: hot-remove physical memory

2012-09-10 Thread Wen Congyang
At 09/11/2012 08:27 AM, Jerry Wrote: > Hi Wen, > > I have been arranged a job related memory hotplug on ARM architecture. > Maybe I know some new issues about memory hotplug on ARM architecture. I > just enabled it on ARM, and it works well in my Android tablet now. > However, I have not send out

Re: [V4 PATCH 00/26] memory,numa: introduce MOVABLE-dedicated node and online_movable for hotplug

2012-09-10 Thread Lai Jiangshan
On 09/11/2012 08:40 AM, Yasuaki Ishimatsu wrote: > Hi Lai, > > Using memory_online to hot-added node's memory, the following kernel messages > were shown. Is this a known issue? Thank you for your report. What operations did you have performed ? Thanks. Lai > > [ 327.837408] [ cu

Re: [RFC v8 PATCH 00/20] memory-hotplug: hot-remove physical memory

2012-09-10 Thread Minchan Kim
Hi Jerry, On Tue, Sep 11, 2012 at 08:27:40AM +0800, Jerry wrote: > Hi Wen, > > I have been arranged a job related memory hotplug on ARM architecture. > Maybe I know some new issues about memory hotplug on ARM architecture. I > just enabled it on ARM, and it works well in my Android tablet now. >

Re: [PATCH 1/2] nohz: clean up select_nohz_load_balancer()

2012-09-10 Thread Alex Shi
On 09/10/2012 11:26 PM, Peter Zijlstra wrote: > On Mon, 2012-09-10 at 15:10 +0800, Alex Shi wrote: >> There is no load_balancer to be selected now. It just set state of >> nohz tick stopping. >> >> So rename the function, pass the 'cpu' from parameter and then >> remove the useless calling from ti

linux-next: build failure after merge of the pci tree

2012-09-10 Thread Stephen Rothwell
x27; has no member named 'pcie_type' Caused by commit ac161fbfdaa2 ("powerpc/powernv: I/O and memory alignment for P2P bridges"). pcie_type was removed in commit b2ef39be5744 ("PCI: Remove unused field pcie_type from struct pci_dev") (also in the pci tree). I have use

Re: [RFC v2] memory-hotplug: remove MIGRATE_ISOLATE from free_area->free_list

2012-09-10 Thread Wen Congyang
At 09/11/2012 08:52 AM, Minchan Kim Wrote: > Hello Wen, > > On Fri, Sep 07, 2012 at 03:28:22PM +0800, Wen Congyang wrote: >> At 09/06/2012 10:53 AM, Minchan Kim Wrote: >>> Normally, MIGRATE_ISOLATE type is used for memory-hotplug. >>> But it's irony type because the pages isolated would exist >>>

Re: [V4 PATCH 00/26] memory,numa: introduce MOVABLE-dedicated node and online_movable for hotplug

2012-09-10 Thread Yasuaki Ishimatsu
Hi Lai, 2012/09/11 10:22, Lai Jiangshan wrote: On 09/11/2012 08:40 AM, Yasuaki Ishimatsu wrote: Hi Lai, Using memory_online to hot-added node's memory, the following kernel messages were shown. Is this a known issue? Thank you for your report. What operations did you have performed ? My o

Re: [PATCH 1/2] writeback: add dirty_background_time per bdi variable

2012-09-10 Thread Fengguang Wu
Hi Namjae, On Mon, Aug 27, 2012 at 12:01:14PM -0400, Namjae Jeon wrote: > From: Namjae Jeon > > This patch is based on suggestion by Wu Fengguang: > https://lkml.org/lkml/2011/8/19/19 > > kernel has mechanism to do writeback as per dirty_ratio and dirty_background > ratio. It also maintains per

Re: [PATCH] ARM: Fix build warning in do_alignment.

2012-09-10 Thread Chanho Min
> What it's caused by is do_alignment_t32_to_handler(), and its assignment > through a pointer of this variable. You can see that this is the cause > because the patch below fixes the warning. We couldn't fix the warning with your patch. the patch below fixes it instead. IMHO, gcc can't seems to k

Re: [PATCH 2/2] Documentation: add description of dirty_background_time

2012-09-10 Thread Fengguang Wu
On Mon, Aug 27, 2012 at 12:01:41PM -0400, Namjae Jeon wrote: > From: Namjae Jeon > > This commit adds dirty_background_time description in bdi sysfs > documentation. > > Signed-off-by: Namjae Jeon > Signed-off-by: Vivek Trivedi > --- > Documentation/ABI/testing/sysfs-class-bdi | 13

[GIT PULL] Blackfin updates for 3.6-rc6

2012-09-10 Thread Bob Liu
Hi Linus, Please pull blackfin updates for 3.6-rc6, one kbuild and a smp build fix. Thanks, -Bob The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee: Linux 3.6-rc1 (2012-08-02 16:38:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linu

Re: [RFC v9 PATCH 05/21] memory-hotplug: check whether memory is present or not

2012-09-10 Thread Yasuaki Ishimatsu
Hi Wen, 2012/09/11 11:15, Wen Congyang wrote: Hi, ishimatsu At 09/05/2012 05:25 PM, we...@cn.fujitsu.com Wrote: From: Yasuaki Ishimatsu If system supports memory hot-remove, online_pages() may online removed pages. So online_pages() need to check whether onlining pages are present or not.

Re: [PATCH 1/3 v2] mm: Batch unmapping of file mapped pages in shrink_page_list

2012-09-10 Thread Minchan Kim
Hi Tim, On Mon, Sep 10, 2012 at 09:19:25AM -0700, Tim Chen wrote: > We gather the pages that need to be unmapped in shrink_page_list. We batch > the unmap to reduce the frequency of acquisition of > the tree lock protecting the mapping's radix tree. This is > possible as successive pages likely s

Re: [RFC v9 PATCH 05/21] memory-hotplug: check whether memory is present or not

2012-09-10 Thread Wen Congyang
At 09/11/2012 10:24 AM, Yasuaki Ishimatsu Wrote: > Hi Wen, > > 2012/09/11 11:15, Wen Congyang wrote: >> Hi, ishimatsu >> >> At 09/05/2012 05:25 PM, we...@cn.fujitsu.com Wrote: >>> From: Yasuaki Ishimatsu >>> >>> If system supports memory hot-remove, online_pages() may online >>> removed pages. >>

Re: [Xen-devel] [PATCH/RFC] Fix xsave bug on older Xen hypervisors

2012-09-10 Thread Matt Wilson
On Fri, Sep 07, 2012 at 11:00:22AM -0500, Justin M. Forbes wrote: > On Fri, 2012-09-07 at 16:44 +0100, Jan Beulich wrote: > > > > All of this still doesn't provide evidence that a plain upstream > > kernel is actually having any problems in the first place. Further, > > if you say EC2 has a crippl

Re: [RFC v9 PATCH 05/21] memory-hotplug: check whether memory is present or not

2012-09-10 Thread Wen Congyang
Hi, ishimatsu At 09/05/2012 05:25 PM, we...@cn.fujitsu.com Wrote: > From: Yasuaki Ishimatsu > > If system supports memory hot-remove, online_pages() may online removed pages. > So online_pages() need to check whether onlining pages are present or not. Because we use memory_block_change_state()

[PATCH] Staging: comedi: drivers: fl512: change printk(KERN_INFO ... for the prefered pr_info(...

2012-09-10 Thread Bruce Humphrey
Change 5 instances of printk(KERN_INFO, KERN_WARN and KERN_ERROR for the prefered pr_info, pr_warn and pr_error Signed-off-by: Bruce Humphrey Ventura --- drivers/staging/comedi/drivers/fl512.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/comed

Re: [V4 PATCH 02/26] memory_hotplug: fix missing nodemask management

2012-09-10 Thread Wen Congyang
At 09/10/2012 04:58 PM, Lai Jiangshan Wrote: > Currently memory_hotplug only manages the node_states[N_HIGH_MEMORY], > it forgot to manage node_states[N_NORMAL_MEMORY]. fix it. > > Add check_nodemasks_changes_online() and check_nodemasks_changes_offline > to detect do node_states[N_HIGH_MEMORY] an

Re: [PATCH] slab: fix the DEADLOCK issue on l3 alien lock

2012-09-10 Thread Michael Wang
On 09/08/2012 04:39 PM, Pekka Enberg wrote: > On Fri, Sep 7, 2012 at 1:29 AM, Paul E. McKenney > wrote: >> On Thu, Sep 06, 2012 at 11:05:11AM +0800, Michael Wang wrote: >>> On 09/05/2012 09:55 PM, Christoph Lameter wrote: On Wed, 5 Sep 2012, Michael Wang wrote: > Since the cachep and

Re: [PATCH] Staging: comedi: drivers: fl512: change printk(KERN_INFO ... for the prefered pr_info(...

2012-09-10 Thread Greg KH
On Tue, Sep 11, 2012 at 04:50:15AM +0200, Bruce Humphrey wrote: > Change 5 instances of printk(KERN_INFO, KERN_WARN and KERN_ERROR for the > prefered pr_info, pr_warn and pr_error > > Signed-off-by: Bruce Humphrey Ventura > --- > drivers/staging/comedi/drivers/fl512.c | 10 +- > 1 fil

Re: [PATCH] Kbuild: use normal compression settings for tar*-pkg

2012-09-10 Thread Andi Kleen
> > -c should be kept because it means --stdout and --keep It seems to work without it. -Andi -- a...@linux.intel.com -- Speaking for myself only. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo inf

Re: [V4 PATCH 00/26] memory,numa: introduce MOVABLE-dedicated node and online_movable for hotplug

2012-09-10 Thread Lai Jiangshan
On 09/11/2012 09:37 AM, Yasuaki Ishimatsu wrote: > Hi Lai, > > 2012/09/11 10:22, Lai Jiangshan wrote: >> On 09/11/2012 08:40 AM, Yasuaki Ishimatsu wrote: >>> Hi Lai, >>> >>> Using memory_online to hot-added node's memory, the following kernel >>> messages >>> were shown. Is this a known issue? >>

[PATCH][v4] sata_fsl: add workaround for data length mismatch on freescale V2 controller

2012-09-10 Thread Shaohui Xie
The freescale V2 SATA controller checks if the received data length matches the programmed length 'ttl', if not, it assumes that this is an error. In ATAPI, the 'ttl' is based on max allocation length and not the actual data transfer length, controller will raise 'DLM' (Data length Mismatch) error

[PATCH Resend] dt: Fix incorrect reference in gpio-led documentation

2012-09-10 Thread Sachin Kamat
Path to gpio.txt (dt) document was broken. Signed-off-by: Sachin Kamat --- Documentation/devicetree/bindings/gpio/led.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/led.txt b/Documentation/devicetree/bindings/gpio/led.txt ind

Re: [RFC] status of execve() work - per-architecture patches solicited

2012-09-10 Thread Greg Ungerer
On 09/11/2012 02:49 AM, Al Viro wrote: On Mon, Sep 10, 2012 at 11:40:11PM +1000, Greg Ungerer wrote: Hi Al, On 09/08/2012 04:20 AM, Al Viro wrote: To architecture maintainers: please, review the current situation in git.kernel.org/pub/scm/linux/kernel/git/viro/signal #execve2 and consi

Re: [PATCH] Staging: comedi: drivers: fl512: change printk(KERN_INFO ... for the prefered pr_info(...

2012-09-10 Thread Joe Perches
On Mon, 2012-09-10 at 19:52 -0700, Greg KH wrote: > On Tue, Sep 11, 2012 at 04:50:15AM +0200, Bruce Humphrey wrote: > > Change 5 instances of printk(KERN_INFO, KERN_WARN and KERN_ERROR for the > > prefered pr_info, pr_warn and pr_error [] > > diff --git a/drivers/staging/comedi/drivers/fl512.c >

Re: [PATCH] Staging: comedi: drivers: fl512: change printk(KERN_INFO ... for the prefered pr_info(...

2012-09-10 Thread Greg KH
On Mon, Sep 10, 2012 at 08:40:11PM -0700, Joe Perches wrote: > On Mon, 2012-09-10 at 19:52 -0700, Greg KH wrote: > > On Tue, Sep 11, 2012 at 04:50:15AM +0200, Bruce Humphrey wrote: > > > Change 5 instances of printk(KERN_INFO, KERN_WARN and KERN_ERROR for the > > > prefered pr_info, pr_warn and pr

Re: [PATCH] Staging: comedi: drivers: fl512: change printk(KERN_INFO ... for the prefered pr_info(...

2012-09-10 Thread Joe Perches
On Mon, 2012-09-10 at 20:44 -0700, Greg KH wrote: > On Mon, Sep 10, 2012 at 08:40:11PM -0700, Joe Perches wrote: > > On Mon, 2012-09-10 at 19:52 -0700, Greg KH wrote: > > > On Tue, Sep 11, 2012 at 04:50:15AM +0200, Bruce Humphrey wrote: > > > > Change 5 instances of printk(KERN_INFO, KERN_WARN and

Re: Crypto Fixes for 3.6

2012-09-10 Thread Herbert Xu
Hi Linus: This push fixes the authenc self-test crash as well as a missing export of a symbol used by a module. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git Ben Collins (1): c

Re: [PATCH] Kbuild: use normal compression settings for tar*-pkg

2012-09-10 Thread Fengguang Wu
On Tue, Sep 11, 2012 at 05:01:09AM +0200, Andi Kleen wrote: > > > > -c should be kept because it means --stdout and --keep > > It seems to work without it. Yeah I see: it's used in the pipe anyway: tar cf - . $opts | ${compress} > "${tarball}${file_ext}" Thanks, Fengguang -- To unsubs

Re: [PATCH v10 0/8] Block cleanups

2012-09-10 Thread NeilBrown
On Thu, 6 Sep 2012 16:48:05 -0700 Tejun Heo wrote: > Hello, guys. > > (cc'ing Jens, Alasdair and Neil) > > On Thu, Sep 06, 2012 at 03:34:54PM -0700, Kent Overstreet wrote: > > Screwed up the bio_reset() patch in the last patch series when I went to > > edit > > the description, fixed that here

[PATCH v6 0/3] Add modules to support realtek PCIE card reader

2012-09-10 Thread wei_wang
From: Wei WANG Support for Realtek PCI-Express driver-based card readers including rts5209 and rts5229. v2: 1. Using platform device to replace realtek slot bus v3: 1. Fix a bug that DMA out of SW-IOMMU space in Lenovo Thinkpad x121e 2. Tested by Borislav Petkov v4: 1. Fulfill power manageme

[PATCH v6 3/3] drivers/memstick: Add realtek pcie memstick host driver

2012-09-10 Thread wei_wang
From: Wei WANG Realtek PCI-E Memstick card host driver is used to access Memstick card, with the help of Realtek PCI-E card reader MFD driver. Signed-off-by: Wei WANG --- drivers/memstick/host/Kconfig | 10 + drivers/memstick/host/Makefile |1 + drivers/memstick/host/rtsx_pci_

[PATCH v6 2/3] drivers/mmc: Add realtek pcie sdmmc host driver

2012-09-10 Thread wei_wang
From: Wei WANG Realtek PCI-E SD/MMC card host driver is used to access SD/MMC card, with the help of Realtek PCI-E card reader MFD driver. Signed-off-by: Wei WANG Reviewed-by: Arnd Bergmann Tested-by: Borislav Petkov --- drivers/mmc/host/Kconfig |7 + drivers/mmc/host/Makefile

RE: [PATCH] ARM: dts: AM33XX: fix gpio node numbering to match hardware

2012-09-10 Thread Hiremath, Vaibhav
On Mon, Sep 10, 2012 at 21:50:20, Porter, Matt wrote: > On AM33xx, the datasheet and TRM refer to four GPIO instances that > are 0-based, GPIO0-3. > Thanks Matt, I think Anil labeled it as gpio1-4 due to hwmod naming convention, as you can not have gpioo id = 0 (refer to arch/arm/mach-omap2/gpio

Re: [PATCH v2 12/26] raid1: use bio_reset()

2012-09-10 Thread NeilBrown
On Mon, 10 Sep 2012 17:22:23 -0700 Kent Overstreet wrote: > I couldn't figure out what sbio->bi_end_io in process_checks() was > supposed to be, so I took the easy way out. Almost. You save 'sbio->bi_end_io' to 'bi_end_io', then do nothing with it... A little way above the 'fixup the bio for re

RE: [PATCH] ARM: dts: AM33XX: fix gpio node numbering to match hardware

2012-09-10 Thread Hiremath, Vaibhav
On Mon, Sep 10, 2012 at 22:29:21, Cousson, Benoit wrote: > On 09/10/2012 06:52 PM, Matt Porter wrote: > > On Mon, Sep 10, 2012 at 06:34:20PM +0200, Benoit Cousson wrote: > >> + Tony > >> > >> Hi Matt, > >> > >> 30 minutes too late for my pull request :-( > >> > >> There are a couple of am33xx patch

Re: [PATCH v2 3/3] pwm: Add Ingenic JZ4740 support

2012-09-10 Thread Thierry Reding
On Mon, Sep 10, 2012 at 11:51:48PM +0200, Lars-Peter Clausen wrote: > On 09/10/2012 02:05 PM, Thierry Reding wrote: > > This commit moves the driver to drivers/pwm and converts it to the new > > PWM framework. > > > > Signed-off-by: Thierry Reding > > Seems to work, thanks a lot. This one and pa

Re: [PATCH 1/2] writeback: add dirty_background_time per bdi variable

2012-09-10 Thread Namjae Jeon
2012/9/11, Fengguang Wu : > Hi Namjae, Hi. Wu. > > On Mon, Aug 27, 2012 at 12:01:14PM -0400, Namjae Jeon wrote: >> From: Namjae Jeon >> >> This patch is based on suggestion by Wu Fengguang: >> https://lkml.org/lkml/2011/8/19/19 >> >> kernel has mechanism to do writeback as per dirty_ratio and >> d

Re: [PATCH v2 13/26] raid5: use bio_reset()

2012-09-10 Thread NeilBrown
On Mon, 10 Sep 2012 17:22:24 -0700 Kent Overstreet wrote: > Had to shuffle the code around a bit (where bi_rw and bi_end_io were > set), but shouldn't really be anything tricky here > > Signed-off-by: Kent Overstreet > CC: Jens Axboe > CC: NeilBrown > --- > drivers/md/raid5.c | 28 ++

Re: [PATCH 2/2] Documentation: add description of dirty_background_time

2012-09-10 Thread Namjae Jeon
Hi. Wu. I will update documentation as per your suggestion. Thank you. 2012/9/11, Fengguang Wu : > On Mon, Aug 27, 2012 at 12:01:41PM -0400, Namjae Jeon wrote: >> From: Namjae Jeon >> >> This commit adds dirty_background_time description in bdi sysfs >> documentation. >> >> Signed-off-by: Namjae

runtime PM and special power switches

2012-09-10 Thread Dave Airlie
Hi Rafael, I've been investigating runtime PM support for some use-cases on GPUs. In some laptops we have a secondary GPU (optimus) that can be powered up for certain 3D tasks and then turned off when finished with. Now I did an initial pass on supporting it without using the kernel runtime PM st

Re: [PATCH] btrfs: fix disk-io.c/btrfs_read_dev_super with BTRFS_SUPER_MIRROR_MAX to control the loops

2012-09-10 Thread Goffredo Baroncelli
Hi, On 09/10/2012 08:38 AM, Wang Sheng-Hui wrote: To check the duplicated super blocks, use BTRFS_SUPER_MIRROR_MAX as the loops limit. Signed-off-by: Wang Sheng-Hui --- fs/btrfs/disk-io.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/

Re: [PATCH v2 00/26] Prep work for immutable bio vecs

2012-09-10 Thread NeilBrown
On Mon, 10 Sep 2012 17:22:11 -0700 Kent Overstreet wrote: > Random assortment of refactoring and trivial cleanups; > > Immutable bio vecs and efficient bio splitting require auditing and > removing pretty much all bi_idx uses, among other things. > > The reason is that with immutable bio vecs w

Re: [PATCH Resend] dt: Fix incorrect reference in gpio-led documentation

2012-09-10 Thread Linus Walleij
On Tue, Sep 11, 2012 at 5:21 AM, Sachin Kamat wrote: > Path to gpio.txt (dt) document was broken. > > Signed-off-by: Sachin Kamat Applied, thanks! Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 2/3 v2] mm: Reorg code to allow i_mmap_mutex acquisition to be done by caller of page_referenced & try_to_unmap

2012-09-10 Thread Minchan Kim
On Mon, Sep 10, 2012 at 09:19:29AM -0700, Tim Chen wrote: > We reorganize the page_referenced and try_to_unmap code to determine > explicitly if mapping->i_mmap_mutex needs to be acquired. This allows > us to acquire the mutex for multiple pages in batch. We can call > __page_referenced or __try_

Re: [PATCH] ACPI / PM: Infer parent power state from child if unknown

2012-09-10 Thread Aaron Lu
On Mon, Sep 10, 2012 at 09:50:22PM +0200, Rafael J. Wysocki wrote: > drivers/acpi/bus.c | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > Index: linux/drivers/acpi/bus.c > === > --- linux.orig/drivers/acpi/bus

[PATCH v2] x86/mce: Honour bios-set CMCI threshold

2012-09-10 Thread Naveen N. Rao
The ACPI spec doesn't provide for a way for the bios to pass down recommended thresholds to the OS on a _per-bank_ basis. This patch adds a new boot option, which if passed, allows bios to initialize the CMCI threshold. In such a case, we simply skip programming any threshold value. As fail-safe,

Re: [RFC v8 PATCH 00/20] memory-hotplug: hot-remove physical memory

2012-09-10 Thread Wen Congyang
At 09/11/2012 01:18 PM, Jerry Wrote: > Hi Kim, > > Thank you for your kindness. Let me clarify this: > > On ARM architecture, there are 32 bits physical addresses space. However, > the addresses space is divided into 8 banks normally. Each bank > disabled/enabled by a chip selector signal. In my

Re: [PATCH 0/3 v2] mm: Batch page reclamation under shink_page_list

2012-09-10 Thread Minchan Kim
Hi Tim, On Mon, Sep 10, 2012 at 09:19:20AM -0700, Tim Chen wrote: > This is the second version of the patch series. Thanks to Matthew Wilcox > for many valuable suggestions on improving the patches. > > To do page reclamation in shrink_page_list function, there are two > locks taken on a page by

Re: [PATCH v3] can: rename LED trigger name on netdev renames

2012-09-10 Thread Oliver Hartkopp
On 10.09.2012 22:08, Kurt Van Dijck wrote: > On Mon, Sep 10, 2012 at 09:01:21PM +0200, Oliver Hartkopp wrote: > + if (msg == NETDEV_CHANGENAME) { >> >> >> I do have a second remark. >> >> What about always using the notifiers to name the LED triggers? >> >> Looking into >> >> http://lxr.linux

Re: [PATCH] mmc: omap_hsmmc: Pass on the suspend failure to the PM core

2012-09-10 Thread S, Venkatraman
On Tue, Sep 4, 2012 at 6:38 PM, Hebbar, Gururaja wrote: > From: Vaibhav Bedia > > In some cases mmc_suspend_host() is not able to claim the > host and proceed with the suspend process. The core returns > -EBUSY to the host controller driver. Unfortunately, the > host controller driver does not pa

Re: [PATCH V5 0/5] clk: mmp: add clock framework for mmp

2012-09-10 Thread Chao Xie
On Thu, Aug 30, 2012 at 2:26 AM, Mike Turquette wrote: > Quoting Chao Xie (2012-08-26 18:19:02) >> On Sat, Aug 25, 2012 at 8:21 AM, Mike Turquette >> wrote: >> > Quoting Chao Xie (2012-08-19 19:55:10) >> >> From: Chao Xie >> >> arch/arm/mach-mmp/Kconfig|3 + >> >> drivers/clk/Makefile

Re: [Drbd-dev] FLUSH/FUA documentation & code discrepancy

2012-09-10 Thread NeilBrown
On Mon, 10 Sep 2012 16:31:59 -0700 Kent Overstreet wrote: > cc'ing Neil > > On Mon, Sep 10, 2012 at 04:06:54PM -0700, Tejun Heo wrote: > > Hello, again. > > > > cc'ing Kent and Vivek. The original thread is at > > > > http://thread.gmane.org/gmane.linux.network.drbd.devel/2130 > > > > On M

Re: [PATCH] add further __init annotations to crypto/xor.c

2012-09-10 Thread NeilBrown
On Mon, 10 Sep 2012 13:11:56 +0100 "Jan Beulich" wrote: > Allow particularly do_xor_speed() to be discarded post-init. > > Signed-off-by: Jan Beulich > > --- > crypto/xor.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > --- 3.6-rc5/crypto/xor.c > +++ 3.6-rc5-sections-xor/

[PATCH] pwm: Fix compilation error when CONFIG_PWM is not defined

2012-09-10 Thread Tushar Behera
As per Documentation/pwm.txt, PWM_LOOKUP and pwm_add_table are used in board support files to add PWM chip entries. Currently these definitions are protected within CONFIG_PWM macro in include/linux/pwm.h. Otherwise, we have to add ifdef's in machine file to fix following compilation error. error

Re: [PATCH] gpio: samsung: use pr_* instead of printk

2012-09-10 Thread Ryan Mallon
On 10/09/12 21:59, Jingoo Han wrote: > This patch uses pr_* instead of printk. > > Signed-off-by: Jingoo Han --- > drivers/gpio/gpio-samsung.c |6 +++--- 1 files changed, 3 > insertions(+), 3 deletions(-) > > diff --git a/drivers/gpio/gpio-samsung.c > b/drivers/gpio/gpio-samsung.c index ba12

[PATCH v3 0/2] Renesas IPMMU driver for sh7372

2012-09-10 Thread Hideki EIRAKU
This is the Renesas IPMMU driver, IOMMU API implementation and IPMMU device support for sh7372 (AP4EVB and Mackerel). The IPMMU module supports the MMU function and the PMB function. The MMU function provides address translation by pagetable compatible with ARMv6. The PMB function provides addre

[PATCH v3 1/2] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2012-09-10 Thread Hideki EIRAKU
This is the Renesas IPMMU driver and IOMMU API implementation. The IPMMU module supports the MMU function and the PMB function. The MMU function provides address translation by pagetable compatible with ARMv6. The PMB function provides address translation including tile-linear translation. This

[PATCH v3 2/2] ARM: mach-shmobile: sh7372: Add IPMMU device

2012-09-10 Thread Hideki EIRAKU
This patch adds an IPMMU device and notifies the IPMMU driver which devices are connected via the IPMMU module. All devices connected to the main memory bus via the IPMMU module MUST be registered when SHMOBILE_IPMMU and SHMOBILE_IOMMU are enabled because physical address cannot be used while the

Re: [RFC][PATCH] Improving directed yield scalability for PLE handler

2012-09-10 Thread Raghavendra K T
On 09/11/2012 01:42 AM, Andrew Theurer wrote: On Mon, 2012-09-10 at 19:12 +0200, Peter Zijlstra wrote: On Mon, 2012-09-10 at 22:26 +0530, Srikar Dronamraju wrote: +static bool __yield_to_candidate(struct task_struct *curr, struct task_struct *p) +{ + if (!curr->sched_class->yield_to_task)

[PATCH] arm/dts: omap: Add omap-usb2 dt data

2012-09-10 Thread Kishon Vijay Abraham I
Add omap-usb2 data node in omap4 device tree file. Since omap-usb2 is connected to ocp2scp, omap-usb2 dt data is added as a child node of ocp2scp. Acked-by: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- Applies on git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git for-next a

Re: [RFC v2] memory-hotplug: remove MIGRATE_ISOLATE from free_area->free_list

2012-09-10 Thread Minchan Kim
On Tue, Sep 11, 2012 at 09:37:54AM +0800, Wen Congyang wrote: > At 09/11/2012 08:52 AM, Minchan Kim Wrote: > > Hello Wen, > > > > On Fri, Sep 07, 2012 at 03:28:22PM +0800, Wen Congyang wrote: > >> At 09/06/2012 10:53 AM, Minchan Kim Wrote: > >>> Normally, MIGRATE_ISOLATE type is used for memory-ho

Re: [PATCH] allow gpiolib to be a module

2012-09-10 Thread Ryan Mallon
On 10/09/12 22:16, Jan Beulich wrote: > Without ARCH_REQUIRE_GPIOLIB there's no reason to force this code, when > enabled, to always be built into the kernel, which requires only minor > Makefile and source code adjustments. > > Signed-off-by: Jan Beulich > > --- > +#ifdef MODULE > +int __ini

Re: [PATCH] pwm: Fix compilation error when CONFIG_PWM is not defined

2012-09-10 Thread Thierry Reding
On Tue, Sep 11, 2012 at 11:34:24AM +0530, Tushar Behera wrote: > As per Documentation/pwm.txt, PWM_LOOKUP and pwm_add_table are used in > board support files to add PWM chip entries. Currently these > definitions are protected within CONFIG_PWM macro in > include/linux/pwm.h. > > Otherwise, we hav

linux-next: build warning after merge of the final tree (slab tree related)

2012-09-10 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (sparc64 defconfig) produced this warning: mm/slab.c:808:13: warning: '__slab_error' defined but not used [-Wunused-function] Introduced by commit 945cf2b6199b ("mm/sl[aou]b: Extract a common function for kmem_cache_destroy"). All

Re: [PATCH 1/3] raid: replace list_for_each_continue_rcu with new interface

2012-09-10 Thread NeilBrown
On Mon, 10 Sep 2012 16:30:11 +0800 Michael Wang wrote: > On 08/24/2012 08:51 AM, Michael Wang wrote: > > On 08/17/2012 12:33 PM, Michael Wang wrote: > >> From: Michael Wang > >> > >> This patch replaces list_for_each_continue_rcu() with > >> list_for_each_entry_continue_rcu() to save a few lines

[PATCH v3 0/2] ARM: davinci: da850/omap-l138: add support for VPIF driver

2012-09-10 Thread Prabhakar Lad
This patch series adds support for VPIF capture and display driver on da850/omap-l138. Enables SD capture and display. This patch series is dependent on the following patch: https://patchwork.kernel.org/patch/1332311/ Changes for v3: 1: Clubbed the code for DA850_UI_SD_VIDEO_PORT config as poi

[PATCH v3 1/2] ARM: da850/omap-l138: Add SoC related definitions for VPIF

2012-09-10 Thread Prabhakar Lad
From: Manjunath Hadli Add clock, pin mux definitions and registration function for VPIF capture and display driver on DA850/OMAP-L138 SoC. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar Cc: Sekhar Nori --- arch/arm/mach-davinci/da850.c | 152 ++

[PATCH v3 2/2] ARM: da850/omap-l138: Add EVM specific code for VPIF to work

2012-09-10 Thread Prabhakar Lad
From: Manjunath Hadli Include the expander settings to select VPIF peripheral on UI card and add registration call in EVM init. Also add platform data to configure display and capture devices. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar Cc: Sekhar Nori --- arch/arm/mach-davi

Re: [PATCH 1/3] raid: replace list_for_each_continue_rcu with new interface

2012-09-10 Thread Michael Wang
On 09/11/2012 02:21 PM, NeilBrown wrote: > On Mon, 10 Sep 2012 16:30:11 +0800 Michael Wang > wrote: > >> On 08/24/2012 08:51 AM, Michael Wang wrote: >>> On 08/17/2012 12:33 PM, Michael Wang wrote: From: Michael Wang This patch replaces list_for_each_continue_rcu() with list_f

linux-next: Tree for Sept 11

2012-09-10 Thread Stephen Rothwell
Hi all, Changes since 201209010: New tree: ixp4xx The pci tree gained a build failure so I used the version from next-20120910. The regulator tree lost its build failure. The staging tree lost its build failure. The akpm tree lost a few patches that turned up elsewhere

Re: [PATCH] gpio: samsung: use pr_* instead of printk

2012-09-10 Thread Felipe Balbi
Hi, On Mon, Sep 10, 2012 at 08:59:11PM +0900, Jingoo Han wrote: > This patch uses pr_* instead of printk. > > Signed-off-by: Jingoo Han > --- > drivers/gpio/gpio-samsung.c |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpio/gpio-samsung.c b/drivers/g

Re: [PATCH] gpio: samsung: use pr_* instead of printk

2012-09-10 Thread Jingoo Han
On Tuesday, September 11, 2012 3:09 PM Ryan Mallon wrote > > On 10/09/12 21:59, Jingoo Han wrote: > > This patch uses pr_* instead of printk. > > > > Signed-off-by: Jingoo Han --- > > drivers/gpio/gpio-samsung.c |6 +++--- 1 files changed, 3 > > insertions(+), 3 deletions(-) > > > > diff --git

Re: [PATCH 4/4] efikamx: remove Efika MX-specific CHRGVBUS hack from the USB driver

2012-09-10 Thread Shawn Guo
On Mon, Sep 10, 2012 at 10:03:15AM -0500, Matt Sealey wrote: > On Sun, Sep 9, 2012 at 10:00 PM, Fabio Estevam wrote: > > On Wed, Aug 1, 2012 at 2:49 PM, Matt Sealey wrote: > >> Since we're removing Efika MX support from the tree (for now), remove > >> the hack present in the USB host driver since

[PATCH v2 3/3] arm/dts: omap: Add usb_otg and glue data

2012-09-10 Thread Kishon Vijay Abraham I
Add usb otg data node in omap4/omap3 device tree file. Also update the node with board specific setting in omapx-.dts file. Acked-by: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap3-beagle.dts |6 ++ arch/arm/boot/dts/omap3-evm.dts|6 ++ arch/a

[PATCH v2 0/3] arm/dts: omap: add dt data for MUSB

2012-09-10 Thread Kishon Vijay Abraham I
No major change from the previous version. Just removed the omap-usb2 dt data and sent that as a separate patch. Rebased on git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git musb Kishon Vijay Abraham I (3): arm/dts: Add twl6030-usb data arm/dts: Add twl4030-usb data arm/dts: omap:

[PATCH v2 2/3] arm/dts: Add twl4030-usb data

2012-09-10 Thread Kishon Vijay Abraham I
Add twl4030-usb data node in twl4030 device tree file. Acked-by: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/twl4030.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi ind

[PATCH v2 1/3] arm/dts: Add twl6030-usb data

2012-09-10 Thread Kishon Vijay Abraham I
Add twl6030-usb data node in twl6030 device tree file Acked-by: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4-panda.dts |4 arch/arm/boot/dts/omap4-sdp.dts |4 arch/arm/boot/dts/twl6030.dtsi|5 + 3 files changed, 13 insertions(+)

RE: [PATCH v2 0/2] ARM: dts: AM33xx: Correct gpio labels to match docs

2012-09-10 Thread Hiremath, Vaibhav
On Tue, Sep 11, 2012 at 01:15:10, Porter, Matt wrote: > Changes since v1: > - Series now applies on top of Anil's AM33XX DTS series > > This series applies on top of the for_3.7/dts/ branch and Anil's > "[v7,2/3] arm/dts: AM33XX: Configure pinmuxs for user leds control on Bone" > patch that

Re: [PATCH] gpio: samsung: use pr_* instead of printk

2012-09-10 Thread Jingoo Han
On Tuesday, September 11, 2012 3:31 PM Felipe Balbi wrote > > Hi, > > On Mon, Sep 10, 2012 at 08:59:11PM +0900, Jingoo Han wrote: > > This patch uses pr_* instead of printk. > > > > Signed-off-by: Jingoo Han > > --- > > drivers/gpio/gpio-samsung.c |6 +++--- > > 1 files changed, 3 insertio

[PATCH] spi: omap2-mcspi: Cleanup the omap2_mcspi_txrx_dma function

2012-09-10 Thread Shubhrajyoti D
Currently in omap2_mcspi_txrx_dma the tx and the rx support is interleaved. Make the rx related code in omap2_mcspi_rx_dma and the tx related code omap2_mcspi_tx_dma and call the functions. While at it remove the braces in the if statements which has only one line. Also fix ["foo * bar" to "foo *b

Re: [PATCH] gpio: samsung: use pr_* instead of printk

2012-09-10 Thread Ryan Mallon
On 11/09/12 16:39, Jingoo Han wrote: > On Tuesday, September 11, 2012 3:31 PM Felipe Balbi wrote > >> >> Hi, >> >> On Mon, Sep 10, 2012 at 08:59:11PM +0900, Jingoo Han wrote: >>> This patch uses pr_* instead of printk. >>> >>> Signed-off-by: Jingoo Han >>> --- >>> drivers/gpio/gpio-samsung.c |

  1   2   3   4   5   6   7   8   >