[PATCH 20/27] pktcdvd: Use bio_reset() in disabled code to kill bi_idx usage

2013-02-19 Thread Kent Overstreet
In the short term this'll help with code auditing, and if this code ever gets used now it's converted :) Signed-off-by: Kent Overstreet koverstr...@google.com CC: Jiri Kosina jkos...@suse.cz --- drivers/block/pktcdvd.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff

[PATCH 19/27] pktcdvd: use bio_copy_data()

2013-02-19 Thread Kent Overstreet
Signed-off-by: Kent Overstreet koverstr...@google.com CC: Jens Axboe ax...@kernel.dk CC: Jiri Kosina jkos...@suse.cz --- drivers/block/pktcdvd.c | 79 - 1 file changed, 12 insertions(+), 67 deletions(-) diff --git a/drivers/block/pktcdvd.c

[PATCH 18/27] block: Add bio_copy_data()

2013-02-19 Thread Kent Overstreet
This gets open coded quite a bit and it's tricky to get right, so make a generic version and convert some existing users over to it instead. Signed-off-by: Kent Overstreet koverstr...@google.com CC: Jens Axboe ax...@kernel.dk --- fs/bio.c| 70

[PATCH 17/27] raid1: Refactor narrow_write_error() to not use bi_idx

2013-02-19 Thread Kent Overstreet
More bi_idx removal. This code was just open coding bio_clone(). This could probably be further improved by using bio_advance() instead of skipping over null pages, but that'd be a larger rework. Signed-off-by: Kent Overstreet koverstr...@google.com CC: Jens Axboe ax...@kernel.dk CC: NeilBrown

[PATCH 16/27] raid5: use bio_reset()

2013-02-19 Thread Kent Overstreet
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 koverstr...@google.com CC: Jens Axboe ax...@kernel.dk CC: NeilBrown ne...@suse.de --- drivers/md/raid5.c | 27 +-- 1 file

[PATCH 15/27] raid1: use bio_reset()

2013-02-19 Thread Kent Overstreet
Signed-off-by: Kent Overstreet koverstr...@google.com CC: Jens Axboe ax...@kernel.dk CC: NeilBrown ne...@suse.de --- drivers/md/raid1.c | 24 ++-- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c index 3dbdb3d..e3f98d2

Re: linux-next: Tree for Feb 19 (security/integrity/ima)

2013-02-19 Thread Randy Dunlap
On 02/18/13 22:03, Stephen Rothwell wrote: Hi all, Changes since 20130218: on x86_64: CC security/integrity/ima/ima_policy.o security/integrity/ima/ima_policy.c: In function 'ima_parse_rule': security/integrity/ima/ima_policy.c:538:4: error: implicit declaration of function

[PATCH 09/27] block: Use bio_sectors() more consistently

2013-02-19 Thread Kent Overstreet
Bunch of places in the code weren't using it where they could be - this'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 koverstr...@google.com CC: Jens Axboe ax...@kernel.dk CC: Ed L. Cashin ecas...@coraid.com CC: Nick

Re: [GIT PULL UPDATED] workqueue core changes for 3.9-rc1

2013-02-19 Thread Stephen Rothwell
the commits are accounted for. Checking again just in case $ git rev-list --pretty --oneline tmp ^next-20130219 bd26f12 Merge branch 'for-3.9-async' into tmp 0f985c9 Merge branch 'for-3.9-cleanups' into tmp 1438ade5 workqueue: un-GPL function delayed_work_timer_fn() tmp

[PATCH 04/27] block: Convert integrity to bvec_alloc_bs()

2013-02-19 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(). Changed bvec_alloc_bs() and bvec_free_bs() to take a pointer to a mempool instead of the bioset, so that bio integrity can use a

[PATCH 08/27] block: Add bio_end_sector()

2013-02-19 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 koverstr...@google.com CC: Jens Axboe ax...@kernel.dk CC: Lars Ellenberg

[PATCH 06/27] block: Refactor blk_update_request()

2013-02-19 Thread Kent Overstreet
Converts it to use bio_advance(), simplifying it quite a bit in the process. Note that req_bio_endio() now always calls bio_advance() - which means it always loops over the biovec, not just on partial completions. Don't expect it to affect performance, but worth noting. Tested it by forcing

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

2013-02-19 Thread Stephen Rothwell
Hi Ralf, On Mon, 18 Feb 2013 10:43:40 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: After merging the mips tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/ssb/driver_gpio.c: In function 'ssb_gpio_chipco_to_irq': drivers/ssb/driver_gpio.c:82:3: error:

[PATCH 05/27] block: Add bio_advance()

2013-02-19 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 koverstr...@google.com CC: Jens Axboe ax...@kernel.dk --- fs/bio.c | 41

[PATCH 01/27] block: Reorder struct bio_set

2013-02-19 Thread Kent Overstreet
This is prep work for the next patch, which embeds a struct bio_list in struct bio_set. Signed-off-by: Kent Overstreet koverstr...@google.com CC: Jens Axboe ax...@kernel.dk --- include/linux/bio.h | 66 ++--- 1 file changed, 33 insertions(+), 33

[PATCH 00/27] Block cleanups - prep work for immutable bio vecs/dio rewrite

2013-02-19 Thread Kent Overstreet
Jens - this is the patch series I was working on a couple months ago, and then got sidetracked on. I rebased it onto your for-3.9/core branch. Nothing's changed (besides a few random merge conflicts) since the last time I mailed it out - I think all this stuff is ready. Kent Overstreet (27):

[PATCH 03/27] block: Fix a buffer overrun in bio_integrity_split()

2013-02-19 Thread Kent Overstreet
bio_integrity_split() seemed to be confusing pointers and arrays - bip_vec in bio_integrity_payload was an array appended to the end of the payload, so the bio_vecs in struct bio_pair should have come after the bio_integrity_payload they're for. Fix it by making bip_vec a pointer to the inline

Re: [GIT PULL UPDATED] workqueue core changes for 3.9-rc1

2013-02-19 Thread Tejun Heo
On Wed, Feb 20, 2013 at 11:27:09AM +1100, Stephen Rothwell wrote: $ git rev-list --pretty --oneline tmp ^next-20130219 bd26f12 Merge branch 'for-3.9-async' into tmp 0f985c9 Merge branch 'for-3.9-cleanups' into tmp 1438ade5 workqueue: un-GPL function delayed_work_timer_fn() tmp

Re: Should a swapped out page be deleted from swap cache?

2013-02-19 Thread Ric Mason
Hi Hugh, On 02/20/2013 02:56 AM, Hugh Dickins wrote: On Tue, 19 Feb 2013, Ric Mason wrote: There is a call of try_to_free_swap in function swap_writepage, if swap_writepage is call from shrink_page_list path, PageSwapCache(page) == trure, PageWriteback(page) maybe false, page_swapcount(page)

Re: Should a swapped out page be deleted from swap cache?

2013-02-19 Thread Will Huck
On 02/20/2013 03:06 AM, Hugh Dickins wrote: On Tue, 19 Feb 2013, Will Huck wrote: Another question: I don't see the connection to deleting a swapped out page from swap cache. Why kernel memory mapping use direct mapping instead of kmalloc/vmalloc which will setup mapping on demand? I may

Re: [PATCH] regulator: tps6586x: Having slew rate settings for other than SM0/1 is not fatal

2013-02-19 Thread Axel Lin
2013/2/20 Stephen Warren swar...@wwwdotorg.org: On 02/16/2013 04:50 AM, Axel Lin wrote: Ignore the setting and show Only SM0/SM1 can set slew rate warning is enough, then we can return 0 instead of -EINVAL in tps6586x_regulator_set_slew_rate(). Otherwise, probe() fails. Why does probe()

Re: What is tip-bot?

2013-02-19 Thread Alexander Holler
Am 19.02.2013 23:54, schrieb Randy Dunlap: On 02/19/2013 02:36 AM, Alexander Holler wrote: Am 19.02.2013 10:54, schrieb richard -rw- weinberger: On Tue, Feb 19, 2013 at 10:40 AM, Alexander Holler hol...@ahsoftware.de wrote: Hello, until now I could successfully suppress my curiosity about

Re: [PATCH V2] smp: Give WARN()ing when calling smp_call_function_many()/single() in serving irq

2013-02-19 Thread Fengguang Wu
On Tue, Feb 19, 2013 at 03:01:23PM -0800, Andrew Morton wrote: On Mon, 18 Feb 2013 09:38:52 +0800 Fengguang Wu fengguang...@intel.com wrote: Chuansheng, It works fine on tip/next. Thanks for the fix! Tested-by: Fengguang Wu fengguang...@intel.com How did you test this? What did

Re: What is tip-bot?

2013-02-19 Thread Randy Dunlap
On 02/19/13 16:54, Alexander Holler wrote: Am 19.02.2013 23:54, schrieb Randy Dunlap: On 02/19/2013 02:36 AM, Alexander Holler wrote: Am 19.02.2013 10:54, schrieb richard -rw- weinberger: On Tue, Feb 19, 2013 at 10:40 AM, Alexander Holler hol...@ahsoftware.de wrote: Hello, until now I

mmotm 2013-02-19-17-20 uploaded

2013-02-19 Thread akpm
The mm-of-the-moment snapshot 2013-02-19-17-20 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

RE: [PATCH V2] smp: Give WARN()ing when calling smp_call_function_many()/single() in serving irq

2013-02-19 Thread Liu, Chuansheng
-Original Message- From: Wu, Fengguang Sent: Wednesday, February 20, 2013 9:07 AM To: Andrew Morton Cc: Liu, Chuansheng; mi...@kernel.org; pet...@infradead.org; jbeul...@suse.com; paul...@linux.vnet.ibm.com; min...@mina86.org; srivatsa.b...@linux.vnet.ibm.com;

Re: [PATCH 0/3] coredump: fix the ancient signal problems

2013-02-19 Thread Mandeep Singh Baines
On Sun, Feb 17, 2013 at 11:18 AM, Oleg Nesterov o...@redhat.com wrote: Hello. These problems are really annoying. I reported and tried to fix them in 2008 (see http://marc.info/?l=linux-kernelm=121665710711931) but nobody was interested. Since then I had a lot of (to some degree

Re: [PATCH V3] ia64/mm: fix a bad_page bug when crash kernel booting

2013-02-19 Thread Xishi Qiu
On 2013/2/20 5:56, Tony Luck wrote: Foolishly sent an earlier reply from Outlook which appears to have mangled/lost it. Trying again ... In efi_init() memory aligns in IA64_GRANULE_SIZE(16M). If set crashkernel=1024M-:600M Is this where the real problem begins? Should we insist that

Re: [PATCH v4 1/4] acpi: move x86/mm/srat.c to x86/kernel/acpi/srat.c

2013-02-19 Thread li guang
在 2013-02-19二的 13:21 -0800,David Rientjes写道: On Fri, 15 Feb 2013, liguang wrote: srat table should present only on acpi domain, seems mm/ is not the right place for it. Reviewed-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com Signed-off-by: liguang lig.f...@cn.fujitsu.com

Re: [PATCH 1/5] vfork: don't freezer_count() for in-kernel users of CLONE_VFORK

2013-02-19 Thread Mandeep Singh Baines
On Tue, Feb 19, 2013 at 4:07 PM, Mandeep Singh Baines m...@chromium.org wrote: On Sat, Feb 16, 2013 at 9:05 AM, Oleg Nesterov o...@redhat.com wrote: On 02/16, Mandeep Singh Baines wrote: We don't need to call freezer_do_not_count() for in-kernel users of CLONE_VFORK since exec will get called

Re: [PATCH v2] vt: add init_hide parameter to suppress boot output

2013-02-19 Thread Greg Kroah-Hartman
On Tue, Feb 19, 2013 at 05:53:44PM +0200, Kirill A. Shutemov wrote: From: Andy Ross andy.r...@windriver.com When vt.init_hide is set, suppress output on newly created consoles until an affirmative switched to that console. This prevents boot output from displaying (and clobbering splash

Re: [RFC][PATCH] vfs: always protect diretory file-fpos with inode mutex

2013-02-19 Thread Li Zefan
On 2013/2/19 20:59, Jan Kara wrote: On Tue 19-02-13 19:47:30, Li Zefan wrote: On 2013/2/19 17:19, Jan Kara wrote: On Tue 19-02-13 09:22:40, Li Zefan wrote: There's a long long-standing bug...As long as I don't know when it dates from. I've written and attached a simple program to reproduce

Re: [PATCH v4 1/4] acpi: move x86/mm/srat.c to x86/kernel/acpi/srat.c

2013-02-19 Thread li guang
在 2013-02-20三的 09:39 +0800,li guang写道: 在 2013-02-19二的 13:21 -0800,David Rientjes写道: On Fri, 15 Feb 2013, liguang wrote: srat table should present only on acpi domain, seems mm/ is not the right place for it. Reviewed-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com

linux-next: manual merge of the pm tree with the pci tree

2013-02-19 Thread Stephen Rothwell
Hi Rafael, Today's linux-next merge of the pm tree got a conflict in drivers/pci/pci-acpi.c between commit 181380b702ee (PCI/ACPI: Don't cache _PRT, and don't associate them with bus numbers) from the pci tree and commit bc9b6407bd6d (ACPI / PM: Rework the handling of devices depending on power

[PATCH v3] lockdep: check that no locks held at freeze time

2013-02-19 Thread Mandeep Singh Baines
We shouldn't try_to_freeze if locks are held. Verified that I get no lockdep warnings after applying this patch and vfork: don't freezer_count() for in-kernel users of CLONE_VFORK. Changes since v1: * LKML: 20130215111635.ga26...@gmail.com Ingo Molnar * Added a msg string that gets passed in. *

Re: [GIT PULL] perf fix for v3.9

2013-02-19 Thread Linus Torvalds
On Tue, Feb 19, 2013 at 6:16 AM, Ingo Molnar mi...@kernel.org wrote: Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus HEAD: e97cbe3edf7d88aad4c21dd3de124d9f9d039881 perf/hwbp: Fix cleanup in

Re: A noobish question on mm

2013-02-19 Thread Li Haifeng
2013/2/19 Soham Chakraborty sohamwonderpik...@gmail.com: On Tue, Feb 19, 2013 at 12:08 PM, Li Haifeng omy...@gmail.com wrote: 2013/2/19 Soham Chakraborty sohamwonderpik...@gmail.com: Hey dude, Apologies for this kind of approach but I was not sure whether I can directly mail the list

Re: Questin about swap_slot free and invalidate page

2013-02-19 Thread Ric Mason
On 02/19/2013 11:27 PM, Dan Magenheimer wrote: From: Ric Mason [mailto:ric.mas...@gmail.com] Sent: Tuesday, February 19, 2013 5:12 AM To: Dan Magenheimer Cc: Minchan Kim; Hugh Dickins; Nitin Gupta; Seth Jennings; Konrad Rzeszutek Wilk; linux...@kvack.org; linux-kernel@vger.kernel.org; Andrew

Re: [PATCH LINUX v4] xen: event channel arrays are xen_ulong_t and not unsigned long

2013-02-19 Thread Konrad Rzeszutek Wilk
On Tue, Feb 19, 2013 at 05:29:11PM +, Ian Campbell wrote: On ARM we want these to be the same size on 32- and 64-bit. This is an ABI change on ARM. X86 does not change. Hehe. You didn't test this, did you :-) It hangs bootup on X86. Signed-off-by: Ian Campbell ian.campb...@citrix.com

Re: [PATCH v4 1/4] acpi: move x86/mm/srat.c to x86/kernel/acpi/srat.c

2013-02-19 Thread David Rientjes
it missed. I pulled latest for linux-next and can apply my patches smoothly. No, it doesn't. From next-20130219, you're missing at least two patches: 3795e4893203 (acpi, memory-hotplug: extend movablemem_map ranges to the end of node) 9a561f4dfd70 (acpi, memory-hotplug: support getting

Re: [PATCH] regulator: tps6586x: Having slew rate settings for other than SM0/1 is not fatal

2013-02-19 Thread Stephen Warren
On 02/19/2013 05:53 PM, Axel Lin wrote: 2013/2/20 Stephen Warren swar...@wwwdotorg.org: On 02/16/2013 04:50 AM, Axel Lin wrote: Ignore the setting and show Only SM0/SM1 can set slew rate warning is enough, then we can return 0 instead of -EINVAL in tps6586x_regulator_set_slew_rate().

[PATCH] freezer: configure user space process frozen along with kernel threads

2013-02-19 Thread Li Fei
There is well known issue that freezing will fail in case that fuse daemon is frozen firstly with some requests not handled, as the fuse usage task is waiting for the response from fuse daemon and can't be frozen. To solve the issue as above, make fuse daemon frozen after all user space processes

Re: [PATCH v4 1/4] acpi: move x86/mm/srat.c to x86/kernel/acpi/srat.c

2013-02-19 Thread li guang
479a99a8e510c8839e0d3d3de8391f8bc61b9760 which you may want to see. let me see why it missed. I pulled latest for linux-next and can apply my patches smoothly. No, it doesn't. From next-20130219, you're missing at least two patches: 3795e4893203 (acpi, memory-hotplug: extend movablemem_map ranges

[PATCH] regulator: tps6586x: Use dev_err rather than dev_warn for error message

2013-02-19 Thread Axel Lin
tps6586x_regulator_set_slew_rate() returns -EINVAL when having slew rate settings for other than SM0/1, thus use dev_err rather than dev_warn. Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/tps6586x-regulator.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v4 1/4] acpi: move x86/mm/srat.c to x86/kernel/acpi/srat.c

2013-02-19 Thread li guang
, but it seems without commit 479a99a8e510c8839e0d3d3de8391f8bc61b9760 which you may want to see. let me see why it missed. I pulled latest for linux-next and can apply my patches smoothly. No, it doesn't. From next-20130219, you're missing at least two patches: 3795e4893203

Re: [PATCH] pch_dma: Use GFP_ATOMIC because called from interrupt context

2013-02-19 Thread Tomoya MORINAGA
Hi Could you review this patch ? 8 days have passed... thanks, tomoya On Tue, Feb 12, 2013 at 11:25 AM, Tomoya MORINAGA tomoya.r...@gmail.com wrote: pdc_desc_get() is called from pd_prep_slave_sg, and the function is called from interrupt context(e.g. Uart driver pch_uart.c). In fact, I saw

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-19 Thread Alexey Kardashevskiy
On 20/02/13 07:11, Alex Williamson wrote: On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: On 13/02/13 04:15, Alex Williamson wrote: On Wed, 2013-02-13 at

Re: [RFC] arm: use built-in byte swap function

2013-02-19 Thread Kim Phillips
On Fri, 8 Feb 2013 22:16:47 -0500 Nicolas Pitre n...@fluxnic.net wrote: On Fri, 8 Feb 2013, Kim Phillips wrote: On Fri, 8 Feb 2013 17:47:33 -0500 Nicolas Pitre n...@fluxnic.net wrote: On Fri, 8 Feb 2013, Woodhouse, David wrote: On Fri, 2013-02-08 at 15:04 -0500, Nicolas Pitre

Re: [PATCH 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable()

2013-02-19 Thread Lin Feng
On 02/19/2013 09:37 PM, Lin Feng wrote: The other is that this almost certainly broken for transhuge page handling. gup returns the head and tail pages and ordinarily this is ok I can't find codes doing such things :(, could you please point me out? Sorry, I misunderstood what tail

Re: [RFC] arm: use built-in byte swap function

2013-02-19 Thread Stephen Boyd
On 2/19/2013 6:31 PM, Kim Phillips wrote: diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile index af72969..dbee639 100644 --- a/arch/arm/lib/Makefile +++ b/arch/arm/lib/Makefile @@ -45,3 +45,5 @@ lib-$(CONFIG_ARCH_SHARK)+= io-shark.o $(obj)/csumpartialcopy.o:

Re: [PATCHv5 1/8] zsmalloc: add to mm/

2013-02-19 Thread Nitin Gupta
On 02/19/2013 09:54 AM, Seth Jennings wrote: On 02/19/2013 03:18 AM, Joonsoo Kim wrote: Hello, Seth. I'm not sure that this is right time to review, because I already have seen many effort of various people to promote zxxx series. I don't want to be a stopper to promote these. :) Any time

Re: [ 0/1] 3.4.33-stable review

2013-02-19 Thread Greg Kroah-Hartman
On Mon, Feb 18, 2013 at 07:50:16PM -0700, Shuah Khan wrote: On Mon, Feb 18, 2013 at 11:24 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: This is the start of the stable review cycle for the 3.4.33 release. There is 1 patch in this series, which will be posted as a response to

[PATCH v2] mfd: wm8994: silence bogus warning in wm8994_device_init()

2013-02-19 Thread Jingoo Han
'patch_regs' cannot be used uninitialized in wm8994_device_init(), because 'patch_regs' was already guarded by 'regmap_patch'. Thus, that's a bogus warning. Without this patch, the build warning happens as below: drivers/mfd/wm8994-core.c: In function 'wm8994_i2c_probe':

RE: Getting rid of freezer for suspend [was Re: [fuse-devel] [PATCH] fuse: make fuse daemon frozen along with kernel threads]

2013-02-19 Thread Li, Fei
-Original Message- From: Pavel Machek [mailto:pa...@ucw.cz] Sent: Tuesday, February 19, 2013 6:47 PM To: Rafael J. Wysocki Cc: Li, Fei; Miklos Szeredi; Goswin von Brederlow; Brown, Len; mi...@redhat.com; pet...@infradead.org; Wang, Biao; linux...@vger.kernel.org;

[GIT PULL] (xen) stable/for-jens-3.9

2013-02-19 Thread Konrad Rzeszutek Wilk
Hey Jens, Please git pull the following branch: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jens-3.9 which has bug-fixes that did not make it in v3.8. They all are marked as material for the stable tree as well. There are two bug-fixes for the code that has been in

Re: [PATCH] mm: cma: fix accounting of CMA pages placed in high memory

2013-02-19 Thread Kyungmin Park
On Tue, Feb 19, 2013 at 10:27 PM, Simon Jeons simon.je...@gmail.com wrote: On 02/05/2013 03:10 PM, Marek Szyprowski wrote: Hello, On 2/5/2013 12:34 AM, Minchan Kim wrote: On Mon, Feb 04, 2013 at 11:27:05AM +0100, Marek Szyprowski wrote: The total number of low memory pages is determined

Re: [ 00/66] 3.2.39-stable review

2013-02-19 Thread Ben Hutchings
On Wed, 2013-02-20 at 07:25 +0900, Satoru Takeuchi wrote: At Sun, 17 Feb 2013 22:50:01 +, Ben Hutchings wrote: This is the start of the stable review cycle for the 3.2.39 release. There are 66 patches in this series, which will be posted as responses to this one. If anyone has any

Re: [PATCH 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable()

2013-02-19 Thread Lin Feng
Hi Wanpeng, On 02/20/2013 10:44 AM, Wanpeng Li wrote: Sorry, I misunderstood what tail pages means, stupid question, just ignore it. flee... According to the compound page, the first page of compound page is called head page, other sub pages are called tail pages. Regards, Wanpeng Li

Re: [PATCH v4 1/4] acpi: move x86/mm/srat.c to x86/kernel/acpi/srat.c

2013-02-19 Thread David Rientjes
On Wed, 20 Feb 2013, li guang wrote: No, it doesn't. From next-20130219, you're missing at least two patches: 3795e4893203 (acpi, memory-hotplug: extend movablemem_map ranges to the end of node) 9a561f4dfd70 (acpi, memory-hotplug: support getting hotplug info from SRAT

Re: [PATCH LINUX v4] xen: event channel arrays are xen_ulong_t and not unsigned long

2013-02-19 Thread Konrad Rzeszutek Wilk
On Tue, Feb 19, 2013 at 09:07:27PM -0500, Konrad Rzeszutek Wilk wrote: On Tue, Feb 19, 2013 at 05:29:11PM +, Ian Campbell wrote: On ARM we want these to be the same size on 32- and 64-bit. This is an ABI change on ARM. X86 does not change. Hehe. You didn't test this, did you :-)

Re: [PATCH v4 1/4] acpi: move x86/mm/srat.c to x86/kernel/acpi/srat.c

2013-02-19 Thread li guang
在 2013-02-19二的 19:04 -0800,David Rientjes写道: On Wed, 20 Feb 2013, li guang wrote: No, it doesn't. From next-20130219, you're missing at least two patches: 3795e4893203 (acpi, memory-hotplug: extend movablemem_map ranges to the end of node) 9a561f4dfd70 (acpi, memory

Re: [RFC] arm: use built-in byte swap function

2013-02-19 Thread Nicolas Pitre
On Tue, 19 Feb 2013, Kim Phillips wrote: On Fri, 8 Feb 2013 22:16:47 -0500 Nicolas Pitre n...@fluxnic.net wrote: Not only that, but in many cases the results are wildly different given the same config: imx_v6_v7_defconfig: 7637605 7636935 -670

Re: WARNING: at kernel/mutex.c:386 __mutex_lock_common()

2013-02-19 Thread Fengguang Wu
[0.00] [0.00] [ cut here ] [0.00] WARNING: at /c/kernel-tests/src/tip/kernel/mutex.c:386 __mutex_lock_common+0x5a9/0x870() [0.00] Hardware name: Bochs [0.00] Modules linked in: [0.00] Pid: 0, comm: swapper/0 Not

Re: [ 0/1] 3.4.33-stable review

2013-02-19 Thread Shuah Khan
On Tue, Feb 19, 2013 at 7:51 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Mon, Feb 18, 2013 at 07:50:16PM -0700, Shuah Khan wrote: On Mon, Feb 18, 2013 at 11:24 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: This is the start of the stable review cycle for the 3.4.33

[PATCH 3/5] HID: LG: Prevent the Logitech Gaming Wheels deadzone

2013-02-19 Thread Simon Wood
This patch ensures that the Logitech wheels are not initialised with default fuzz/flat values, by marking them as multiaxis devices (rather than joysticks). Signed-off-by: Simon Wood si...@mungewell.org --- drivers/hid/hid-lg.c | 20 1 file changed, 20 insertions(+) diff

[PATCH 4/5] HID: LG4FF: Remove unnecessary deadzone code

2013-02-19 Thread Simon Wood
This patch removes code which is now unnecessary for setting the fuzz/flat characterics for the logitech DFP wheel. This is now done in the previous patch by marking the wheel as a multi-axis device. Signed-off-by: Simon Wood si...@mungewell.org --- drivers/hid/hid-lg4ff.c | 17

[PATCH 1/5] HID: LG: Add support for Logitech Momo Force (Red) Wheel

2013-02-19 Thread Simon Wood
This patch provides a modified report descriptor to split accelerator and brake, and adds the 'NO_GET' flag to prevent it hanging on connection. Note: for convience this patch is against the follow patch which was applied earlier this week. https://patchwork.kernel.org/patch/2153471/

[PATCH 2/5] HID: LG: Fix detection of Logitech Speed Force Wireless (WiiWheel)

2013-02-19 Thread Simon Wood
Previously 'LG4FF' was only used for the WiiWheel, however it is now used for all the Logitech Wheels. This patch corrects the detection mechanism for the patching the report descriptor to ensure only the WiiWheel will be patched. Signed-off-by: Simon Wood si...@mungewell.org ---

Re: False-positive RCU stall warnings on large systems...

2013-02-19 Thread Daniel J Blueman
On 20/02/2013 02:16, Paul E. McKenney wrote: On Wed, Feb 20, 2013 at 12:34:12AM +0800, Daniel J Blueman wrote: Hi Paul, On some of our larger servers with many hundreds of cores and when under high duress, we can see scheduler RCU stall warnings [1], so find we have to increase the hardcoded

[PATCH 5/5] HID: Correct Logitech order in hid-ids.h

2013-02-19 Thread Simon Wood
Reorders a couple of device IDs (Logitech controllers) to ensure that they are in hexidecimal order. Signed-off-by: Simon Wood si...@mungewell.org --- drivers/hid/hid-ids.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index

Re: [PATCH 7/7] ACPI / scan: Make memory hotplug driver use struct acpi_scan_handler

2013-02-19 Thread Yasuaki Ishimatsu
Hi Vasilis, 2013/02/20 3:11, Vasilis Liaskovitis wrote: Hi, On Sun, Feb 17, 2013 at 04:27:18PM +0100, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Make the ACPI memory hotplug driver use struct acpi_scan_handler for representing the object used to set up ACPI

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-19 Thread Alex Williamson
On Wed, 2013-02-20 at 13:31 +1100, Alexey Kardashevskiy wrote: On 20/02/13 07:11, Alex Williamson wrote: On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote:

RE: [PATCH 4/4] regulator: palmas: Change the DT node property names to follow the convention

2013-02-19 Thread J, KEERTHY
Hi Mark, -Original Message- From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] Sent: Wednesday, February 20, 2013 1:43 AM To: J, KEERTHY Cc: lgirdw...@gmail.com; linux-kernel@vger.kernel.org; g...@slimlogic.co.uk Subject: Re: [PATCH 4/4] regulator: palmas: Change the DT

[PATCH 1/4] documentation: add palmas dts definition

2013-02-19 Thread J Keerthy
From: Graeme Gregory g...@slimlogic.co.uk Add the DTS definition for the palmas device including the MFD children. Signed-off-by: Graeme Gregory g...@slimlogic.co.uk [j-keer...@ti.com: changed the DT node property names to follow the convention] Signed-off-by: J Keerthy j-keer...@ti.com ---

[PATCH 1/7] ktest: Do not require CONSOLE for build or install bisects

2013-02-19 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org If the user is doing a build or install bisect, there's no reason to have them define CONSOLE, as the console does not need to be read. The console only needs to be read for boot tests. CONSOLE is not required for normal build or install tests,

[PATCH 2/7] ktest: Strip off \n when reading which files were modified

2013-02-19 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org The patchcheck test looks at what files are modified for each patch it checks and makes sure that those files do not produce any warnings. Unfortunately, when it read the diffstat, the newlines were added on the files and this made compares miss

[PATCH 7/7] ktest: Remove indexes from warnings check

2013-02-19 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org The index of a line where a warning is tested can be returned differently on different versions of gcc (or same version compiled differently). That is, a tab + space can give different results. This causes the warning check to produce a false

[PATCH 5/7] ktest: Search for linux banner for successful reboot

2013-02-19 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Sometimes when a test kernel passed fine, but on reboot it crashed, ktest could get stuck and not proceed. This would be frustrating if you let a test run overnight to find out the next morning that it was stuck on the first test. To fix this, I

[PATCH 3/7] ktest: Allow a test option to use its default option

2013-02-19 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Options are allowed to use other options, for example: LOG_FILE = ${OUTPUT_DIR}/${MACHINE}.log where the option LOG_FILE used the options OUTPUT_DIR and MACHINE. But if a test option were to use a default option, it will not get substituted:

[PATCH 0/7] [GIT PULL] ktest: updates for v3.9

2013-02-19 Thread Steven Rostedt
Linus, Updates include: o Added ability to have all builds test warnings. o Fixed failing reboot when the reboot produces a non fatal error. o Config reading fixes and other cleanups. Please pull the latest ktest-v3.9 tree, which can be found at:

[PATCH 4/7] ktest: Add make_warnings_file and process full warnings

2013-02-19 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Although the patchcheck test checks for warnings in the files that were changed, this check does not catch warnings that were caused by header file changes and the warnings appear in C files not touched by the commit. Add a new option called

[PATCH 6/7] ktest: Ignore warnings during reboot

2013-02-19 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org The reboot just wants to get to the next kernel. But if a warning (Call Trace) appears, the monitor will report an error, and the reboot will think something went wrong and power cycle the box, even though we successfully made it to the next

Re: [PATCH v2] vt: add init_hide parameter to suppress boot output

2013-02-19 Thread Andy Ross
On 02/19/2013 05:45 PM, Greg Kroah-Hartman wrote: When vt.init_hide is set, suppress output on newly created consoles until an affirmative switched to that console. This prevents boot output from displaying (and clobbering splash screens, etc...) without disabling the console entirely. What's

Re: [patch v4 07/18] sched: set initial load avg of new forked task

2013-02-19 Thread Preeti U Murthy
Hi everyone, On 02/19/2013 05:04 PM, Paul Turner wrote: On Fri, Feb 15, 2013 at 2:07 AM, Alex Shi alex@intel.com wrote: diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 1dff78a..9d1c193 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1557,8 +1557,8 @@ static

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-19 Thread Alexey Kardashevskiy
On 20/02/13 14:47, Alex Williamson wrote: On Wed, 2013-02-20 at 13:31 +1100, Alexey Kardashevskiy wrote: On 20/02/13 07:11, Alex Williamson wrote: On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: On Mon, 2013-02-18 at

Linux 3.2.39

2013-02-19 Thread Ben Hutchings
I'm announcing the release of the 3.2.39 kernel. All users of the 3.2 kernel series should upgrade. The updated 3.2.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.2.y and can be browsed at the normal kernel.org git web browser:

linux-next: manual merge of the driver-core tree with the virtio tree

2013-02-19 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the driver-core tree got conflicts in drivers/vhost/Kconfig and drivers/vhost/Kconfig.tcm between commit 4d8dc8b44748 (vringh: host-side implementation of virtio rings) from the virtio tree and commit 43893cbefc1b (drivers/vhost: remove depends on

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-19 Thread Alex Williamson
On Wed, 2013-02-20 at 15:20 +1100, Alexey Kardashevskiy wrote: On 20/02/13 14:47, Alex Williamson wrote: On Wed, 2013-02-20 at 13:31 +1100, Alexey Kardashevskiy wrote: On 20/02/13 07:11, Alex Williamson wrote: On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: On Mon, Feb 18, 2013 at

Re: linux-next: manual merge of the driver-core tree with the virtio tree

2013-02-19 Thread Greg KH
On Wed, Feb 20, 2013 at 03:25:07PM +1100, Stephen Rothwell wrote: Hi Greg, Today's linux-next merge of the driver-core tree got conflicts in drivers/vhost/Kconfig and drivers/vhost/Kconfig.tcm between commit 4d8dc8b44748 (vringh: host-side implementation of virtio rings) from the virtio

[PATCH 0/3] backlight: lp855x_bl: support new LP8557 device

2013-02-19 Thread Kim, Milo
To support new device LP8557, LP855x device initialization process should be changed. This patch-set enables re-designing LP855x driver architecture and supporting LP8557 device. Milo(Woogyom) Kim (3): backlight: lp855x_bl: introduce device configuration flow backlight: lp855x_bl: support new

[PATCH 1/3] backlight: lp855x_bl: introduce device configuration flow

2013-02-19 Thread Kim, Milo
At this moment, LP855x device driver has fixed register configuration. For example, fixed register addresses and values are set on the device initialization. But new device of LP855x family, LP8557 has different register map and initialization sequence. To support new device architecture,

[PATCH 2/3] backlight: lp855x_bl: support new LP8557 device

2013-02-19 Thread Kim, Milo
LP8557 is one of LP855x family device, but it has different register map and initialization process. To support this device, device specific configuration is done through the lp855x_device_config structure. Few register definitions are fixed for better readability. BRIGHTNESS_CTRL -

[PATCH 3/3] backlight: lp855x_bl: simplify bl_get_brightness()

2013-02-19 Thread Kim, Milo
Getting the brightness value is not critical, no need to read the actual register value. To simplify it, just return the 'bl-props.brightness' value. Then, lp855x_read_byte() can be removed, not used any more. Signed-off-by: Milo(Woogyom) Kim milo@ti.com ---

Re: [PATCH v2] vt: add init_hide parameter to suppress boot output

2013-02-19 Thread Greg Kroah-Hartman
On Tue, Feb 19, 2013 at 08:04:05PM -0800, Andy Ross wrote: On 02/19/2013 05:45 PM, Greg Kroah-Hartman wrote: When vt.init_hide is set, suppress output on newly created consoles until an affirmative switched to that console. This prevents boot output from displaying (and clobbering splash

linux-next: manual merge of the vhost tree with the virtio tree

2013-02-19 Thread Stephen Rothwell
Hi Michael, Today's linux-next merge of the vhost tree got a conflict in drivers/vhost/Makefile between commit 4d8dc8b44748 (vringh: host-side implementation of virtio rings) from the virtio tree and commit 0b87bfefde9a (vhost-blk: Add vhost-blk support v6) from the vhost tree. I fixed it up

Re: [BONUS PATCH 2/2] base: core: WARN() about bogus permissions on device attributes

2013-02-19 Thread Greg KH
On Tue, Feb 19, 2013 at 11:59:10AM +0200, Felipe Balbi wrote: Hi, On Mon, Feb 18, 2013 at 09:20:10PM +0200, Felipe Balbi wrote: On Mon, Feb 18, 2013 at 11:17:19AM -0800, Greg KH wrote: On Mon, Feb 18, 2013 at 09:09:04PM +0200, Felipe Balbi wrote: Whenever a struct device_attribute is

Re: ARC Port's linux-next URL update

2013-02-19 Thread Vineet Gupta
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Stephen, On Wednesday 20 February 2013 04:51 AM, Stephen Rothwell wrote: Hi Vineet, On Tue, 19 Feb 2013 23:41:02 +0530 Vineet Gupta vineet.gup...@synopsys.com wrote: Can you please point ARC's next tree to following:

Re: [patch v4 07/18] sched: set initial load avg of new forked task

2013-02-19 Thread Alex Shi
This is my concern about making this a special case with the introduction ENQUEUE_NEWTASK flag; enqueue jumps through enough hoops as it is. I still don't see why we can't resolve this at init time in __sched_fork(); your patch above just moves an explicit initialization of

Re: [PATCH] add extra free kbytes tunable

2013-02-19 Thread dormando
The problem is that adding this tunable will constrain future VM implementations. We will forever need to at least retain the pseudo-file. We will also need to make some effort to retain its behaviour. It would of course be better to fix things so you don't need to tweak VM internals to

Re: Re[6]: [PATCH v3] mfd: syscon: Add non-DT support

2013-02-19 Thread Dong Aisheng
On 19 February 2013 18:54, Alexander Shiyan shc_w...@mail.ru wrote: ... struct regmap *syscon_regmap_lookup_by_compatible(const char *s) { struct device_node *syscon_np; struct regmap *regmap; + struct syscon *syscon; + struct device *dev;

<    2   3   4   5   6   7   8   9   10   11   >