Re: [PATCH v2 4/5] fat: eliminate orphaned inode number allocation

2012-09-04 Thread OGAWA Hirofumi
Namjae Jeon linkinj...@gmail.com writes: From: Namjae Jeon namjae.j...@samsung.com Maintain a list of inode(i_pos) numbers of orphaned inodes (i.e the inodes that have been unlinked but still having open file descriptors).At file/directory creation time, skip using such i_pos values.Removal

Re: [PATCH 1/2] lib: Add early cpio decoder

2012-09-04 Thread H. Peter Anvin
On 08/30/2012 02:29 AM, Thomas Renninger wrote: From: H. Peter Anvin h...@linux.intel.com Add a simple cpio decoder without library dependencies for the purpose of extracting components from the initramfs blob for early kernel uses. Intended consumers so far are microcode and ACPI override.

Re: [PATCH v3 01/17] hashtable: introduce a small and naive hashtable

2012-09-04 Thread Mathieu Desnoyers
* Pedro Alves (pal...@redhat.com) wrote: On 09/04/2012 05:30 PM, Pedro Alves wrote: On 09/04/2012 04:35 PM, Steven Rostedt wrote: On Tue, 2012-08-28 at 19:00 -0400, Mathieu Desnoyers wrote: Looking again at: +#define hash_for_each_size(name, bits, bkt, node, obj, member)

Re: linux-next: Tree for Sept 4 (uml + execve)

2012-09-04 Thread Randy Dunlap
On 09/04/2012 12:13 AM, Stephen Rothwell wrote: Hi all, Changes since 20120824: UML on x86_64 (defconfig): fs/built-in.o: In function `kernel_execve': fs/exec.c:2342: multiple definition of `kernel_execve' arch/um/kernel/built-in.o:arch/um/kernel/syscall.c:57: first defined here

Re: [PATCH v2 4/5] fat: eliminate orphaned inode number allocation

2012-09-04 Thread OGAWA Hirofumi
OGAWA Hirofumi hirof...@mail.parknet.co.jp writes: Namjae Jeon linkinj...@gmail.com writes: From: Namjae Jeon namjae.j...@samsung.com Maintain a list of inode(i_pos) numbers of orphaned inodes (i.e the inodes that have been unlinked but still having open file descriptors).At file/directory

Re: [PATCH v3 01/17] hashtable: introduce a small and naive hashtable

2012-09-04 Thread Steven Rostedt
On Tue, 2012-09-04 at 17:40 +0100, Pedro Alves wrote: BTW, you can also go a step further and remove the need to close with double }}, with something like: #define do_for_each_ftrace_rec(pg, rec) \ for (pg = ftrace_pages_start, rec =

Re: [PATCH v3] hwmon: add Maxim MAX197 support

2012-09-04 Thread Guenter Roeck
On Tue, Sep 04, 2012 at 08:32:28PM +0530, anish kumar wrote: On Sun, 2012-09-02 at 07:51 -0700, Guenter Roeck wrote: On Sat, Sep 01, 2012 at 11:31:11AM +0200, Lars-Peter Clausen wrote: On 08/31/2012 06:04 PM, Guenter Roeck wrote: On Thu, Aug 30, 2012 at 09:42:57PM -0400, Vivien Didelot

Re: [PATCH] usb: otg: Move phy interface to separate file.

2012-09-04 Thread Greg KH
On Tue, Sep 04, 2012 at 02:25:58PM +0530, Venu Byravarasu wrote: As otg.h is containing lots of phy interface related stuff, moving all phy interface related stuff to new file named phy.h Signed-off-by: Venu Byravarasu vbyravarasu@xx For some reason, I don't think that is a valid

Re: [PATCH v3 01/17] hashtable: introduce a small and naive hashtable

2012-09-04 Thread Pedro Alves
On 09/04/2012 06:17 PM, Steven Rostedt wrote: On Tue, 2012-09-04 at 17:40 +0100, Pedro Alves wrote: BTW, you can also go a step further and remove the need to close with double }}, with something like: #define do_for_each_ftrace_rec(pg, rec) \

[perf] how to measure offcore events

2012-09-04 Thread Yuanfang Chen
Hello, I'm trying to measure offcore events OFFCORE_RESPONSE.ALL_READS.LLC_MISS.DRAM_N (0x3004003F7) using perf tool. However, I didn't find the way to encode offcore events in current perf documentation. Can someone help me? Thank you so much. yuanfang -- To unsubscribe from this list: send the

[PATCH 1/4] slab: do ClearSlabPfmemalloc() for all pages of slab

2012-09-04 Thread Mel Gorman
Right now, we call ClearSlabPfmemalloc() for first page of slab when we clear SlabPfmemalloc flag. This is fine for most swap-over-network use cases as it is expected that order-0 pages are in use. Unfortunately it is possible that that __ac_put_obj() checks SlabPfmemalloc on a tail page and while

[PATCH 0/4] Small fixes for swap-over-network

2012-09-04 Thread Mel Gorman
This series is 4 small patches posted by Jonsoo Kim and Chuck Lever with some minor changes applied. They are not critical but they should be fixed before 3.6 comes out. I've picked them up and reposted to make sure they did not get lost. Ordinarily I would say that 1-3 should go through Pekka's

[PATCH 2/4] slab: fix starting index for finding another object

2012-09-04 Thread Mel Gorman
From: Joonsoo Kim js1...@gmail.com In array cache, there is a object at index 0, check it. Signed-off-by: Joonsoo Kim js1...@gmail.com Signed-off-by: Mel Gorman mgor...@suse.de --- mm/slab.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/slab.c b/mm/slab.c index

[PATCH 4/4] Squelch compiler warning in sk_rmem_schedule()

2012-09-04 Thread Mel Gorman
From: Chuck Lever chuck.le...@oracle.com In file included from linux/include/linux/tcp.h:227:0, from linux/include/linux/ipv6.h:221, from linux/include/net/ipv6.h:16, from linux/include/linux/sunrpc/clnt.h:26, from

[PATCH 3/4] slub: consider pfmemalloc_match() in get_partial_node()

2012-09-04 Thread Mel Gorman
From: Joonsoo Kim js1...@gmail.com The function get_partial() is currently not checking pfmemalloc_match() meaning that it is possible for pfmemalloc pages to leak to non-pfmemalloc users. This is a problem in the following situation. Assume that there is a request from normal allocation and

Re: [PATCH 3/3] i2c: nomadik: Add Device Tree support to the Nomadik I2C driver

2012-09-04 Thread Linus Walleij
On Tue, Sep 4, 2012 at 4:28 PM, Arnd Bergmann a...@arndb.de wrote: In this particular case, we don't have a single board file providing a struct nmk_i2c_controller definition for platform data, so the best way to handle this IMHO is to remove the header file with the platform data definition,

Re: [patch 06/16] sched: account for blocked load waking back up

2012-09-04 Thread Benjamin Segall
Preeti Murthy preeti.l...@gmail.com writes: Hi Paul, @@ -1170,20 +1178,42 @@ static inline void enqueue_entity_load_avg(struct cfs_rq *cfs_rq,                                                   struct sched_entity *se,                                                   int

Re: linux-next: Tree for Sept 4 (cma)

2012-09-04 Thread Randy Dunlap
On 09/04/2012 12:13 AM, Stephen Rothwell wrote: Hi all, Changes since 20120824: drivers/base/dma-contiguous.c:351:3: error: expected ';' before '}' token } else if (ret != -EBUSY) { break } -- ~Randy -- To unsubscribe from this

kexec/kdump kernel fails to start

2012-09-04 Thread Flavio Leitner
Hi folks, I have system that no longer boots kdump kernel. Basically, # echo c /proc/sysrq-trigger to dump a vmcore doesn't work. It just hangs after showing the usual panic messages. I've bisected the problem and the commit introducing the issue is the one below. Any idea? commit

Re: [PATCH] gpio-ich: Share ownership of GPIO groups

2012-09-04 Thread Linus Walleij
On Tue, Sep 4, 2012 at 1:36 PM, Jean Delvare kh...@linux-fr.org wrote: Any news on this? I'd like to get this patch (or an alternative implementation of the same) into kernel 3.7, and its merge window is approaching. I have acked the GPIO part, the rest is up to Sam. He's often in submarine

Re: [PATCH 3/3] i2c: nomadik: Add Device Tree support to the Nomadik I2C driver

2012-09-04 Thread Alessandro Rubini
Alessandro Rubini is actively working on bridging this (and other amba_device primecells) to PCI, that is the reason why it was recently converted to an amba_device. Yes, I've been inactive for a while but I'm on it right now. How is he then supposed to get the proper parameters into the

[PATCH] net: don't allow INET to be not configured

2012-09-04 Thread Stephen Hemminger
There is no reason to expose turning off TCP/IP networking. If networking is enabled force TCP/IP to enabled. This also eliminates the time chasing down errors with bogus configurations generated by 'make randconfig' For testing, it is still possible to edit Kconfig Signed-off-by: Stephen

Re: [PATCH 0/3] Fix ACPI BGRT support for images located in EFI boot services memory

2012-09-04 Thread Josh Triplett
On Tue, Sep 04, 2012 at 03:27:20PM +0100, Matt Fleming wrote: On Thu, 2012-08-30 at 14:28 -0700, Josh Triplett wrote: The ACPI BGRT lets the OS access the BIOS logo image and its position on the screen at boot time, allowing it to maintain that image on the screen until ready to display

Re: [PATCH] net: don't allow INET to be not configured

2012-09-04 Thread David Miller
From: Stephen Hemminger shemmin...@vyatta.com Date: Tue, 4 Sep 2012 10:44:51 -0700 There is no reason to expose turning off TCP/IP networking. If networking is enabled force TCP/IP to enabled. This also eliminates the time chasing down errors with bogus configurations generated by 'make

Re: [PATCH 0/3] Fix ACPI BGRT support for images located in EFI boot services memory

2012-09-04 Thread H. Peter Anvin
On 09/04/2012 10:59 AM, Josh Triplett wrote: Unfortunately not. We need enough of ACPI available to go read the BGRT to know what to copy, so we need to defer freeing boot services code until after we initialize ACPI (and thus everything ACPI needs, which includes EFI since ACPI looks for root

Re: linux-next: build failure after merge of the final tree (net-next tree related)

2012-09-04 Thread David Miller
From: Stephen Rothwell s...@canb.auug.org.au Date: Tue, 4 Sep 2012 16:58:53 +1000 net/built-in.o: In function `tcp_fastopen_ctx_free': tcp_fastopen.c:(.text+0x5cc5c): undefined reference to `crypto_destroy_tfm' net/built-in.o: In function `tcp_fastopen_reset_cipher': (.text+0x5):

Re: [PATCH v2] memcg: first step towards hierarchical controller

2012-09-04 Thread Tejun Heo
Hello, On Tue, Sep 04, 2012 at 04:35:52PM +0200, Michal Hocko wrote: ... The problem is that we don't know whether somebody has an use case which cannot be transformed like that. Therefore this patch starts the slow transition to hierarchical only memory controller by warning users who are

Re: [PATCH v7 9/9] block: Avoid deadlocks with bio allocation by stacking drivers

2012-09-04 Thread Tejun Heo
Hello, On Tue, Sep 04, 2012 at 09:54:23AM -0400, Vivek Goyal wrote: Given that we are working around stack depth issues in the filesystems already in several places, and now it seems like there's a reason to work around it in the block layers as well, shouldn't we simply increase the

Re: [PATCH v2] ARM: S3C24XX: Add WIZnet W5300E01-ARM board support

2012-09-04 Thread Taehun Kim
2012/9/4 Sylwester Nawrocki sylvester.nawro...@gmail.com: On 09/03/2012 07:36 PM, Taehun Kim wrote: +static void __init w5300e01_init(void) +{ + s3c_nand_set_platdata(w5300e01_nand_info); + platform_add_devices(w5300e01_devices, ARRAY_SIZE(w5300e01_devices)); + + /* W5300

Re: [PATCH] staging: comedi: remove pointer math for subdevice access

2012-09-04 Thread Greg KH
On Mon, Aug 20, 2012 at 04:59:16PM -0700, H Hartley Sweeten wrote: Convert all the comedi_subdevice pointer access from pointer math to array access. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Dan Carpenter dan.carpen...@oracle.com Cc: Ian Abbott abbo...@mev.co.uk

Re: [PATCH v2 4/5] fat: eliminate orphaned inode number allocation

2012-09-04 Thread J. Bruce Fields
On Wed, Sep 05, 2012 at 02:07:40AM +0900, OGAWA Hirofumi wrote: OGAWA Hirofumi hirof...@mail.parknet.co.jp writes: Namjae Jeon linkinj...@gmail.com writes: From: Namjae Jeon namjae.j...@samsung.com Maintain a list of inode(i_pos) numbers of orphaned inodes (i.e the inodes that have

RE: [PATCH] staging: comedi: remove pointer math for subdevice access

2012-09-04 Thread H Hartley Sweeten
On Tuesday, September 04, 2012 11:34 AM, Greg KH wrote: On Mon, Aug 20, 2012 at 04:59:16PM -0700, H Hartley Sweeten wrote: Convert all the comedi_subdevice pointer access from pointer math to array access. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Dan Carpenter

Re: [PATCH v3 2/2] virtio-ring: Allocate indirect buffers from cache when possible

2012-09-04 Thread Michael S. Tsirkin
On Tue, Sep 04, 2012 at 07:34:19PM +0300, Avi Kivity wrote: On 08/31/2012 12:56 PM, Michael S. Tsirkin wrote: On Fri, Aug 31, 2012 at 11:36:07AM +0200, Sasha Levin wrote: On 08/30/2012 03:38 PM, Michael S. Tsirkin wrote: +static unsigned int indirect_alloc_thresh = 16; Why 16? Please

[tip:sched/core] sched: Fix load avg vs cpu-hotplug

2012-09-04 Thread tip-bot for Peter Zijlstra
Commit-ID: f319da0c6894fcf55e21320e40506418a2aad629 Gitweb: http://git.kernel.org/tip/f319da0c6894fcf55e21320e40506418a2aad629 Author: Peter Zijlstra pet...@infradead.org AuthorDate: Mon, 20 Aug 2012 11:26:57 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 4 Sep 2012

[tip:sched/core] sched: Add missing call to calc_load_exit_idle()

2012-09-04 Thread tip-bot for Charles Wang
Commit-ID: 749c8814f08f12baa4a9c2812a7c6ede7d69507d Gitweb: http://git.kernel.org/tip/749c8814f08f12baa4a9c2812a7c6ede7d69507d Author: Charles Wang muming...@taobao.com AuthorDate: Mon, 20 Aug 2012 16:02:33 +0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 4 Sep 2012

[tip:sched/core] sched: Unthrottle rt runqueues in __disable_runtime()

2012-09-04 Thread tip-bot for Peter Boonstoppel
Commit-ID: a4c96ae319b8047f62dedbe1eac79e321c185749 Gitweb: http://git.kernel.org/tip/a4c96ae319b8047f62dedbe1eac79e321c185749 Author: Peter Boonstoppel pboonstop...@nvidia.com AuthorDate: Thu, 9 Aug 2012 15:34:47 -0700 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 4 Sep 2012

Re: [PATCH v7 1/1] ieee802154: MRF24J40 driver

2012-09-04 Thread David Miller
From: Alan Ott a...@signal11.us Date: Sun, 2 Sep 2012 21:44:13 -0400 Driver for the Microchip MRF24J40 802.15.4 WPAN module. Signed-off-by: Alan Ott a...@signal11.us Applied to net-next, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

[tip:sched/core] sched: Fix kernel-doc warnings in kernel/sched/ fair.c

2012-09-04 Thread tip-bot for Randy Dunlap
Commit-ID: 9450d57eab5cad36774c297da123062744472588 Gitweb: http://git.kernel.org/tip/9450d57eab5cad36774c297da123062744472588 Author: Randy Dunlap rdun...@xenotime.net AuthorDate: Sat, 18 Aug 2012 17:45:08 -0700 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 4 Sep 2012

[tip:sched/core] sched: Remove AFFINE_WAKEUPS feature flag

2012-09-04 Thread tip-bot for Namhyung Kim
Commit-ID: c751134ef8b070070d5f06348286b29d86424677 Gitweb: http://git.kernel.org/tip/c751134ef8b070070d5f06348286b29d86424677 Author: Namhyung Kim namhyung@lge.com AuthorDate: Thu, 16 Aug 2012 13:21:05 +0900 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 4 Sep 2012

[tip:sched/core] sched/debug: Limit sd-*_idx range on sysctl

2012-09-04 Thread tip-bot for Namhyung Kim
Commit-ID: 201c373e8e4823700d3160d5c28e1ab18fd1193e Gitweb: http://git.kernel.org/tip/201c373e8e4823700d3160d5c28e1ab18fd1193e Author: Namhyung Kim namhyung@lge.com AuthorDate: Thu, 16 Aug 2012 17:03:24 +0900 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 4 Sep 2012

[tip:sched/core] sched: Add time unit suffix to sched sysctl knobs

2012-09-04 Thread tip-bot for Namhyung Kim
Commit-ID: d00535db42805e9ae5eadf1b4a86e01e85674b0c Gitweb: http://git.kernel.org/tip/d00535db42805e9ae5eadf1b4a86e01e85674b0c Author: Namhyung Kim namhyung@lge.com AuthorDate: Thu, 16 Aug 2012 11:15:30 +0900 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 4 Sep 2012

[tip:sched/core] sched: Remove useless code in yield_to()

2012-09-04 Thread tip-bot for Michael Wang
Commit-ID: 38b8dd6f87398524d02c21ff614c507ba8c9d295 Gitweb: http://git.kernel.org/tip/38b8dd6f87398524d02c21ff614c507ba8c9d295 Author: Michael Wang wang...@linux.vnet.ibm.com AuthorDate: Tue, 3 Jul 2012 14:34:02 +0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 4 Sep 2012

[tip:perf/urgent] perf_event: Switch to internal refcount, fix race with close()

2012-09-04 Thread tip-bot for Al Viro
Commit-ID: a6fa941d94b411bbd2b6421ffbde6db3c93e65ab Gitweb: http://git.kernel.org/tip/a6fa941d94b411bbd2b6421ffbde6db3c93e65ab Author: Al Viro v...@zeniv.linux.org.uk AuthorDate: Mon, 20 Aug 2012 14:59:25 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 4 Sep 2012 17:29:22

[tip:perf/urgent] perf/x86: Enable Intel Cedarview Atom suppport

2012-09-04 Thread tip-bot for Stephane Eranian
Commit-ID: 3ec18cd8b8f8395d0df604c62ab3bc2cf3a966b4 Gitweb: http://git.kernel.org/tip/3ec18cd8b8f8395d0df604c62ab3bc2cf3a966b4 Author: Stephane Eranian eran...@google.com AuthorDate: Mon, 20 Aug 2012 11:24:21 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 4 Sep 2012

Re: [Squashfs-devel] PROBLEM: mount empty SquashFS

2012-09-04 Thread Geert Uytterhoeven
Hi Phillip, On Wed, Aug 1, 2012 at 6:25 AM, Phillip Lougher phil...@lougher.demon.co.uk wrote: Cyril Strejc wrote: I have problem when mounting empty SquashFS. Mount syscall ends with EINVAL. Kernel vesions: mainline SquashFS tools version: 4.2 Steps to reproduce: 1. create empty

[tip:perf/urgent] perf/hwpb: Invoke __perf_event_disable() if interrupts are already disabled

2012-09-04 Thread tip-bot for K.Prasad
Commit-ID: 500ad2d8b01390c98bc6dce068bccfa9534b8212 Gitweb: http://git.kernel.org/tip/500ad2d8b01390c98bc6dce068bccfa9534b8212 Author: K.Prasad prasad.krish...@gmail.com AuthorDate: Thu, 2 Aug 2012 13:46:35 +0530 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 4 Sep 2012

Re: Re: [PATCH] extcon-max8997: remove usage of ret in max8997_muic_handle_charger_type_detach

2012-09-04 Thread Devendra Naga
On Tue, Sep 4, 2012 at 11:17 AM, MyungJoo Ham myungjoo@samsung.com wrote: any comments ? Sorry for replying late. It has been applied to the extcon-for-next tree at http://git.infradead.org/users/kmpark/linux-samsung/shortlog/refs/heads/extcon-for-next , which will appear in hours.

Re: [RFC 1/2] virtio_console: Add support for DMA memory allocation

2012-09-04 Thread Michael S. Tsirkin
On Tue, Sep 04, 2012 at 06:58:47PM +0200, Sjur Brændeland wrote: Hi Michael, Exactly. Though if we just fail load it will be much less code. Generally, using a feature bit for this is a bit of a problem though: normally driver is expected to be able to simply ignore a feature bit. In

Re: [PATCH v7 9/9] block: Avoid deadlocks with bio allocation by stacking drivers

2012-09-04 Thread Tejun Heo
Hello, Mikulas, Kent. On Mon, Sep 03, 2012 at 08:41:00PM -0700, Kent Overstreet wrote: On Mon, Sep 03, 2012 at 04:41:37PM -0400, Mikulas Patocka wrote: ... or another possibility - start a timer when something is put to current-bio_list and use that timer to pop entries off current-bio_list

Re: [RFC PATCH 0/5] net: socket bind to file descriptor introduced

2012-09-04 Thread J. Bruce Fields
On Mon, Aug 20, 2012 at 02:18:13PM +0400, Stanislav Kinsbursky wrote: 16.08.2012 07:03, Eric W. Biederman пишет: Stanislav Kinsbursky skinsbur...@parallels.com writes: This patch set introduces new socket operation and new system call: sys_fbind(), which allows to bind socket to opened file.

Re: [PATCH v7 9/9] block: Avoid deadlocks with bio allocation by stacking drivers

2012-09-04 Thread Tejun Heo
On Tue, Sep 04, 2012 at 11:55:40AM -0700, Tejun Heo wrote: Actually, if the timer approach can reduce the frequency of rescuer involvement, I think it could actually be better. Ooh, it wouldn't. It's kicking in only after alloc failure. I don't know. I think conditioning it on alloc failure

Re: kexec/kdump kernel fails to start

2012-09-04 Thread Yinghai Lu
On Tue, Sep 4, 2012 at 10:32 AM, Flavio Leitner f...@redhat.com wrote: Hi folks, I have system that no longer boots kdump kernel. Basically, # echo c /proc/sysrq-trigger to dump a vmcore doesn't work. It just hangs after showing the usual panic messages. I've bisected the problem and the

Re: [PATCH v2 4/5] fat: eliminate orphaned inode number allocation

2012-09-04 Thread OGAWA Hirofumi
J. Bruce Fields bfie...@fieldses.org writes: On Wed, Sep 05, 2012 at 02:07:40AM +0900, OGAWA Hirofumi wrote: OGAWA Hirofumi hirof...@mail.parknet.co.jp writes: Namjae Jeon linkinj...@gmail.com writes: From: Namjae Jeon namjae.j...@samsung.com Maintain a list of inode(i_pos) numbers

Re: [PATCH v4] media: v4l2-ctrls: add control for dpcm predictor

2012-09-04 Thread Sakari Ailus
Hi Prabhakar, Thanks for the patch. I've got a few comments below. On Tue, Sep 04, 2012 at 11:07:52AM +0530, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_DPCM_PREDICTOR control of type menu, which determines the dpcm predictor. The predictor can be either

Re: [PATCH V2] block/throttle: Add IO throttled information in blkio.throttle.

2012-09-04 Thread Tejun Heo
Hello, Tao Ma. On Sat, Sep 01, 2012 at 09:58:43PM +0800, Tao Ma wrote: Vivek and I have talked about its usage in my first try. See the thread here. https://lkml.org/lkml/2012/5/22/81 And I am OK to say it again here. In our case, we use flashcache as a block device and the bad thing is that

Re: [PATCH] i825xx: fix paging fault on znet_probe()

2012-09-04 Thread David Miller
From: Fengguang Wu fengguang...@intel.com Date: Sun, 2 Sep 2012 15:25:46 +0800 In znet_probe(), strncmp() may access beyond 0x10 and trigger the below oops in kvm. Fix it by limiting the loop under 0x10-8. I suspect the limit could be further decreased to 0x10-sizeof(struct

Re: [PATCH] ACPI: Enable SCI_EMULATE to manually simulate physical hotplug testing.

2012-09-04 Thread Yinghai Lu
On Tue, Sep 4, 2012 at 9:27 AM, Toshi Kani toshi.k...@hp.com wrote: On Mon, 2012-09-03 at 14:27 -0700, Yinghai Lu wrote: From: Ashok Raj ashok@intel.com Emulate an ACPI SCI interrupt to emulate a hot-plug event. Useful for testing ACPI based hot-plug on systems that don't have the

Re: kexec/kdump kernel fails to start

2012-09-04 Thread Flavio Leitner
On Tue, 4 Sep 2012 12:02:00 -0700 Yinghai Lu ying...@kernel.org wrote: On Tue, Sep 4, 2012 at 10:32 AM, Flavio Leitner f...@redhat.com wrote: Hi folks, I have system that no longer boots kdump kernel. Basically, # echo c /proc/sysrq-trigger to dump a vmcore doesn't work. It just

Re: kexec/kdump kernel fails to start

2012-09-04 Thread Yinghai Lu
On Tue, Sep 4, 2012 at 12:17 PM, Flavio Leitner f...@redhat.com wrote: On Tue, 4 Sep 2012 12:02:00 -0700 [0.00] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106 [0.00] last_pfn = 0xbf800 max_arch_pfn = 0x4 [0.00] initial memory mapped : 0 -

Re: [PATCH v2 4/5] fat: eliminate orphaned inode number allocation

2012-09-04 Thread J. Bruce Fields
On Wed, Sep 05, 2012 at 04:02:13AM +0900, OGAWA Hirofumi wrote: J. Bruce Fields bfie...@fieldses.org writes: On Wed, Sep 05, 2012 at 02:07:40AM +0900, OGAWA Hirofumi wrote: OGAWA Hirofumi hirof...@mail.parknet.co.jp writes: Namjae Jeon linkinj...@gmail.com writes: From: Namjae

Re: [PATCH v7 9/9] block: Avoid deadlocks with bio allocation by stacking drivers

2012-09-04 Thread Mikulas Patocka
On Mon, 3 Sep 2012, Kent Overstreet wrote: On Mon, Sep 03, 2012 at 04:41:37PM -0400, Mikulas Patocka wrote: ... or another possibility - start a timer when something is put to current-bio_list and use that timer to pop entries off current-bio_list and submit them to a workqueue. The

Re: [PATCH 1/2] staging/rts_pstor: Use pr_ printks in rtsx.c

2012-09-04 Thread Greg Kroah-Hartman
On Wed, Aug 29, 2012 at 10:29:26AM +0900, Toshiaki Yamane wrote: fixed some checkpatch warnings. -WARNING: Prefer pr_info(... to printk(KERN_INFO, ... -WARNING: Prefer pr_err(... to printk(KERN_ERR, ... No, please use dev_info() and dev_err() instead wherever possible. thanks, greg k-h -- To

Re: [PATCH 2/2] staging/rts_pstor: Use pr_ printks in debug.h

2012-09-04 Thread Greg Kroah-Hartman
On Wed, Aug 29, 2012 at 10:30:15AM +0900, Toshiaki Yamane wrote: fixed below checkpatch warnings. -WARNING: Prefer pr_debug(... to printk(KERN_DEBUG, ... No, please use dev_dbg() instead. thanks, greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: [PATCH] staging/rts_pstor: remove braces {} in sd.c

2012-09-04 Thread Greg Kroah-Hartman
On Sat, Sep 01, 2012 at 10:43:00PM +0900, Toshiaki Yamane wrote: fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks -WARNING: braces {} are not necessary for any arm of this statement Signed-off-by: Toshiaki Yamane yamaneto...@gmail.com ---

Re: [PATCH v7 9/9] block: Avoid deadlocks with bio allocation by stacking drivers

2012-09-04 Thread Vivek Goyal
On Tue, Sep 04, 2012 at 03:26:19PM -0400, Mikulas Patocka wrote: [..] BTW. can these new-style timerless plugs introduce deadlocks too? What happens when some bios are indefinitely delayed because their requests are held in a plug and a mempool runs out? I think they will not deadlock

Re: [PATCH v3] hwmon: add Maxim MAX197 support

2012-09-04 Thread Vivien Didelot
Hi, On Tue, 2012-09-04 at 10:20 -0700, Guenter Roeck wrote: Applied to -next. Hm, now it's probably to late, but for this kind of general purpose ADC the IIO framework is in my opinion the better place to add support for it. Possibly. If someone writes an iio

Re: [PATCH v7 9/9] block: Avoid deadlocks with bio allocation by stacking drivers

2012-09-04 Thread Kent Overstreet
On Tue, Sep 04, 2012 at 11:55:40AM -0700, Tejun Heo wrote: Hello, Mikulas, Kent. On Mon, Sep 03, 2012 at 08:41:00PM -0700, Kent Overstreet wrote: On Mon, Sep 03, 2012 at 04:41:37PM -0400, Mikulas Patocka wrote: ... or another possibility - start a timer when something is put to

Re: [PATCH v7 9/9] block: Avoid deadlocks with bio allocation by stacking drivers

2012-09-04 Thread Kent Overstreet
On Tue, Sep 04, 2012 at 12:01:19PM -0700, Tejun Heo wrote: On Tue, Sep 04, 2012 at 11:55:40AM -0700, Tejun Heo wrote: Actually, if the timer approach can reduce the frequency of rescuer involvement, I think it could actually be better. Ooh, it wouldn't. It's kicking in only after alloc

Re: [PATCH 0/3] Fix ACPI BGRT support for images located in EFI boot services memory

2012-09-04 Thread Josh Triplett
On Tue, Sep 04, 2012 at 11:10:54AM -0700, H. Peter Anvin wrote: On 09/04/2012 10:59 AM, Josh Triplett wrote: Unfortunately not. We need enough of ACPI available to go read the BGRT to know what to copy, so we need to defer freeing boot services code until after we initialize ACPI (and thus

Re: [PATCH] staging/ozwpan: Fix zero address check in oz_set_active_pd

2012-09-04 Thread Greg KH
On Mon, Sep 03, 2012 at 09:54:39PM +0200, Andi Kleen wrote: Its already fixed by this patch :- http://driverdev.linuxdriverproject.org/pipermail/devel/2012-August/029734.html Should be in 3.6 then as it's a bug fix. I agree, will do. greg k-h -- To unsubscribe from this list: send the

Re: [PATCH v3 1/4] pinctrl: add samsung pinctrl and gpiolib driver

2012-09-04 Thread Thomas Abraham
On 3 September 2012 16:44, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Aug 23, 2012 at 1:15 PM, Thomas Abraham thomas.abra...@linaro.org wrote: Add a new device tree enabled pinctrl and gpiolib driver for Samsung SoC's. This driver provides a common and extensible framework for all

Re: linux-next: build failure after merge of the final tree (net-next tree related)

2012-09-04 Thread Jerry Chu
On Tue, Sep 4, 2012 at 11:20 AM, David Miller da...@davemloft.net wrote: From: Stephen Rothwell s...@canb.auug.org.au Date: Tue, 4 Sep 2012 16:58:53 +1000 net/built-in.o: In function `tcp_fastopen_ctx_free': tcp_fastopen.c:(.text+0x5cc5c): undefined reference to `crypto_destroy_tfm'

[PATCH] dm: Use bioset's front_pad for dm_target_io

2012-09-04 Thread Kent Overstreet
On Tue, Sep 04, 2012 at 03:26:19PM -0400, Mikulas Patocka wrote: On Mon, 3 Sep 2012, Kent Overstreet wrote: On Mon, Sep 03, 2012 at 04:41:37PM -0400, Mikulas Patocka wrote: ... or another possibility - start a timer when something is put to current-bio_list and use that timer to

Re: [PATCH] net: Providing protocol type via system.sockprotoname xattr of /proc/PID/fd entries

2012-09-04 Thread David Miller
From: Masatake YAMATO yam...@redhat.com Date: Thu, 30 Aug 2012 05:44:29 +0900 lsof reports some of socket descriptors as can't identify protocol like: [yamato@localhost]/tmp% sudo lsof | grep dbus | grep iden dbus-daem 652 dbus6u sock ... 17812 can't identify

Re: kexec/kdump kernel fails to start

2012-09-04 Thread Flavio Leitner
On Tue, 4 Sep 2012 12:20:14 -0700 Yinghai Lu ying...@kernel.org wrote: On Tue, Sep 4, 2012 at 12:17 PM, Flavio Leitner f...@redhat.com wrote: On Tue, 4 Sep 2012 12:02:00 -0700 [0.00] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106 [0.00] last_pfn =

[PATCH v2 0/3] promote zcache from staging

2012-09-04 Thread Seth Jennings
://lkml.org/lkml/2012/8/29/253 Changlog: v2: * rebased to next-20120904 * removed already accepted patch from patchset Seth Jennings (3): zsmalloc: promote to mm/ drivers: add memory management driver class zcache: promote to drivers/mm/ drivers/Kconfig

[PATCH v2 1/3] zsmalloc: promote to mm/

2012-09-04 Thread Seth Jennings
This patch promotes the slab-based zsmalloc memory allocator from the staging tree to mm/ zcache depends on this allocator for storing compressed RAM pages in an efficient way under system wide memory pressure where high-order (greater than 0) page allocation are very likely to fail. For more

[PATCH v2 2/3] drivers: add memory management driver class

2012-09-04 Thread Seth Jennings
This patchset creates a new driver class under drivers/ for memory management related drivers, like zcache. This driver class would be for drivers that don't actually enabled a hardware device, but rather augment the memory manager in some way. In-tree candidates for this driver class are

[PATCH v2 3/3] zcache: promote to drivers/mm/

2012-09-04 Thread Seth Jennings
This patchset promotes the zcache driver from staging to drivers/mm/. zcache captures swap pages via frontswap and pages that fall out of the page cache via cleancache and compress them in RAM, providing a compressed RAM swap and a compressed second-chance page cache. Signed-off-by: Seth

Re: [PATCH v2 0/3] promote zcache from staging

2012-09-04 Thread Konrad Rzeszutek Wilk
On Tue, Sep 04, 2012 at 03:02:46PM -0500, Seth Jennings wrote: zcache is the remaining piece of code required to support in-kernel memory compression. The other two features, cleancache and frontswap, have been promoted to mainline in 3.0 and 3.5 respectively. This patchset promotes zcache

Re: [PATCH v2 0/3] promote zcache from staging

2012-09-04 Thread Andrew Morton
On Tue, 4 Sep 2012 15:57:11 -0400 Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Tue, Sep 04, 2012 at 03:02:46PM -0500, Seth Jennings wrote: zcache is the remaining piece of code required to support in-kernel memory compression. The other two features, cleancache and frontswap,

Re: [PATCH 5/5] virtio-scsi: introduce multiqueue support

2012-09-04 Thread Nicholas A. Bellinger
On Tue, 2012-09-04 at 08:46 +0200, Paolo Bonzini wrote: Il 04/09/2012 04:21, Nicholas A. Bellinger ha scritto: @@ -112,6 +118,9 @@ static void virtscsi_complete_cmd(struct virtio_scsi *vscsi, void *buf) struct virtio_scsi_cmd *cmd = buf; struct scsi_cmnd *sc = cmd-sc; struct

Re: [PATCH 0/3] Fix ACPI BGRT support for images located in EFI boot services memory

2012-09-04 Thread Matt Fleming
On Tue, 2012-09-04 at 10:59 -0700, Josh Triplett wrote: On Tue, Sep 04, 2012 at 03:27:20PM +0100, Matt Fleming wrote: On Thu, 2012-08-30 at 14:28 -0700, Josh Triplett wrote: The ACPI BGRT lets the OS access the BIOS logo image and its position on the screen at boot time, allowing it

Re: [PATCH v2 0/3] promote zcache from staging

2012-09-04 Thread Seth Jennings
On 09/04/2012 02:57 PM, Konrad Rzeszutek Wilk wrote: On Tue, Sep 04, 2012 at 03:02:46PM -0500, Seth Jennings wrote: zcache is the remaining piece of code required to support in-kernel memory compression. The other two features, cleancache and frontswap, have been promoted to mainline in 3.0

Re: [PATCH 07/11] kexec: Disable in a secure boot environment

2012-09-04 Thread Eric W. Biederman
Matthew Garrett m...@redhat.com writes: kexec could be used as a vector for a malicious user to use a signed kernel to circumvent the secure boot trust model. In the long run we'll want to support signed kexec payloads, but for the moment we should just disable loading entirely in that

Re: [PATCH can-next v6] can: add tx/rx LED trigger support

2012-09-04 Thread Fabio Baltieri
On Tue, Sep 04, 2012 at 09:11:28AM +0200, Kurt Van Dijck wrote: On Mon, Sep 03, 2012 at 10:54:49PM +0200, Oliver Hartkopp wrote: On 03.09.2012 20:29, Fabio Baltieri wrote: On Mon, Sep 03, 2012 at 08:13:35PM +0200, Kurt Van Dijck wrote: On Mon, Sep 03, 2012 at 02:40:39PM +0200, Marc

[PATCH] ARM: msm: Fix sparse warnings due to incorrect type

2012-09-04 Thread Stephen Boyd
arch/arm/mach-msm/timer.c:153:3: warning: incorrect type in initializer (different address spaces) arch/arm/mach-msm/timer.c:153:3:expected void const [noderef] asn:3*__vpp_verify arch/arm/mach-msm/timer.c:153:3:got struct clock_event_device [noderef] asn:3**noident

Re: [PATCH 07/11] kexec: Disable in a secure boot environment

2012-09-04 Thread Matthew Garrett
On Tue, Sep 04, 2012 at 01:13:32PM -0700, Eric W. Biederman wrote: Matthew Garrett m...@redhat.com writes: kexec could be used as a vector for a malicious user to use a signed kernel to circumvent the secure boot trust model. In the long run we'll want to support signed kexec payloads,

Re: [PATCH 2/3] staging/vme: Use pr_ printks in vme_user.c

2012-09-04 Thread Greg Kroah-Hartman
On Tue, Aug 21, 2012 at 08:12:53PM +0900, Toshiaki Yamane wrote: The below checkpatch warnings was fixed, -WARNING: Prefer pr_info(... to printk(KERN_INFO, ... -WARNING: Prefer pr_debug(... to printk(KERN_DEBUG, ... -WARNING: Prefer pr_warn(... to printk(KERN_WARNING, ... -WARNING: Prefer

Re: [PATCH 0/3] Fix ACPI BGRT support for images located in EFI boot services memory

2012-09-04 Thread H. Peter Anvin
On 09/04/2012 12:45 PM, Josh Triplett wrote: There are some platforms which have bugs in this area, so there are other reasons to defer freeing up boot memory until as late in the boot process as we can possibly get away with. free_initmem() is presuambly the place that makes most sense.

Re: kexec/kdump kernel fails to start

2012-09-04 Thread Flavio Leitner
On Tue, 4 Sep 2012 12:20:14 -0700 Yinghai Lu ying...@kernel.org wrote: On Tue, Sep 4, 2012 at 12:17 PM, Flavio Leitner f...@redhat.com wrote: On Tue, 4 Sep 2012 12:02:00 -0700 [0.00] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106 [0.00] last_pfn =

[PATCH] xen/p2m: Fix one by off error in checking the P2M tree directory.

2012-09-04 Thread Konrad Rzeszutek Wilk
We would the full P2M top directory from 0-MAX_DOMAIN_PAGES (inclusive). Which meant that if the kernel was compiled with MAX_DOMAIN_PAGES=512 we would try to use the 512th entry. Fortunately for us the p2m_top_index has a check for this: BUG_ON(pfn = MAX_P2M_PFN); which we hit and saw this:

Re: [PATCH 0/3] Fix ACPI BGRT support for images located in EFI boot services memory

2012-09-04 Thread Josh Triplett
On Tue, Sep 04, 2012 at 01:24:03PM -0700, H. Peter Anvin wrote: On 09/04/2012 12:45 PM, Josh Triplett wrote: There are some platforms which have bugs in this area, so there are other reasons to defer freeing up boot memory until as late in the boot process as we can possibly get away with.

[PATCH] security: allow Yama to be unconditionally stacked

2012-09-04 Thread Kees Cook
Unconditionally call Yama when CONFIG_SECURITY_YAMA_STACKED is selected, no matter what LSM module is primary. Ubuntu and Chrome OS already carry patches to do this, and Fedora has voiced interest in doing this as well. Instead of having multiple distributions (or LSM authors) carrying these

Re: [PATCH 10/11] acpi: Ignore acpi_rsdp kernel parameter in a secure boot environment

2012-09-04 Thread Alan Cox
Gotta say this capability name is confusing. Naming is CAP_PRE_SECURE_BOOT or something along the lines might be a better choice. When I just look at this name, I sure thought this CAP_SECURE_FIRMWARE true means it is a secure boot capable firmware. Given there is nothing secure about it

Re: [PATCH 10/11] acpi: Ignore acpi_rsdp kernel parameter in a secure boot environment

2012-09-04 Thread Matthew Garrett
On Tue, Sep 04, 2012 at 09:37:42PM +0100, Alan Cox wrote: Gotta say this capability name is confusing. Naming is CAP_PRE_SECURE_BOOT or something along the lines might be a better choice. When I just look at this name, I sure thought this CAP_SECURE_FIRMWARE true means it is a secure boot

Re: western digital caviar black. EXT4-fs error

2012-09-04 Thread Azat Khuzhin
Ted, many thanks! I'll try to compile new kernel (maybe 3.4.x) On Tue, Sep 4, 2012 at 7:15 AM, Theodore Ts'o ty...@mit.edu wrote: On Sat, Sep 01, 2012 at 11:48:17PM +0400, Azat Khuzhin wrote: Recently I update my HDD on desktop machine, and bought WD Caviar Black. But after I format copy

Re: high load average in linux-3.6

2012-09-04 Thread Azat Khuzhin
Can anybody say is this fixed or not? Or maybe you need more information? Thanks. On Fri, Aug 17, 2012 at 1:10 AM, Azat Khuzhin dohardgo...@gmail.com wrote: Hi all. After updating to linux-v3.6-rc1-315-g3c31a6e I noticed that load avg is too high for current CPU usage IO activity Just

[PATCH V4] regulator: tps6586x: add support for SYS rail

2012-09-04 Thread Stephen Warren
From: Laxman Dewangan ldewan...@nvidia.com Device have SYS rail which is always ON. It is system power bus. LDO5 and LDO_RTC get powered through this rail internally. Add support for this rail and make the LDO5/LDO_RTC supply by it. Update document accordingly. [swarren: Instantiate the sys

Re: kexec/kdump kernel fails to start

2012-09-04 Thread Yinghai Lu
On Tue, Sep 4, 2012 at 1:26 PM, Flavio Leitner f...@redhat.com wrote: Sorry, but it didn't work. The same problem happened. can you send out boot log ? Yinghai -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

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