Re:

2012-09-06 Thread Markus Trippelsdorf
On 2012.09.04 at 16:40 +0200, Takashi Iwai wrote: Sound fixes for 3.6-rc5 There are nothing scaring, contains only small fixes for HD-audio and USB-audio: - EPSS regression fix and GPIO fix for HD-audio IDT codecs - A series

Re: [PATCH v2 1/3] use get_page_migratetype instead of page_private

2012-09-06 Thread Kamezawa Hiroyuki
(2012/09/06 14:16), Minchan Kim wrote: page allocator uses set_page_private and page_private for handling migratetype when it frees page. Let's replace them with [set|get] _freepage_migratetype to make it more clear. * from v1 * Change set_page_migratetype with set_freepage_migratetype

Re: [PATCH v2 2/3] mm: remain migratetype in freed page

2012-09-06 Thread Kamezawa Hiroyuki
(2012/09/06 14:16), Minchan Kim wrote: The page allocator caches the pageblock information in page-private while it is in the PCP freelists but this is overwritten with the order of the page when freed to the buddy allocator. This patch stores the migratetype of the page in the page-index

[RFC,PATCH v2] efi: Add support for a UEFI variable filesystem

2012-09-06 Thread Jeremy Kerr
From: Matthew Garrett m...@redhat.com The existing EFI variables code only supports variables of up to 1024 bytes. This limitation existed in version 0.99 of the EFI specification, but was removed before any full releases. Since variables can now be larger than a single page, sysfs isn't the best

Re: [PATCH v2 3/3] memory-hotplug: bug fix race between isolation and allocation

2012-09-06 Thread Kamezawa Hiroyuki
(2012/09/06 14:16), Minchan Kim wrote: Like below, memory-hotplug makes race between page-isolation and page-allocation so it can hit BUG_ON in __offline_isolated_pages. CPU A CPU B start_isolate_page_range set_migratetype_isolate

[PATCH] Linux kernel contribution count script

2012-09-06 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com $ ./contrib-count.sh Usage: ./contrib-count.sh Name [ Year ] $ ./contrib-count.sh Namhyung Signed-off: 125 Reviewed: 3 Acked: 1 Tested: 0 $ ./contrib-count.sh Minchan 2012 Signed-off: 20 Reviewed: 32 Acked: 10 Tested: 1 Signed-off-by: Namhyung Kim

Re: linux-next: manual merge of the spi-mb tree with the mmc tree

2012-09-06 Thread Lauri Hintsala
On 09/05/2012 06:15 AM, Stephen Rothwell wrote: Hi Mark, Today's linux-next merge of the spi-mb tree got a conflict in drivers/mmc/host/mxs-mmc.c between commit fc108d24d3a6 (mmc: mxs-mmc: fix deadlock caused by recursion loop) from the mmc tree and commit 829c1bf40b92 (mmc: spi: Pull out parts

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

2012-09-06 Thread Namjae Jeon
2012/9/5 OGAWA Hirofumi hirof...@mail.parknet.co.jp: Namjae Jeon linkinj...@gmail.com writes: 2012/9/5, OGAWA Hirofumi hirof...@mail.parknet.co.jp: OGAWA Hirofumi hirof...@mail.parknet.co.jp writes: Namjae Jeon linkinj...@gmail.com writes: From: Namjae Jeon namjae.j...@samsung.com

Re: [PATCH] Linux kernel contribution count script

2012-09-06 Thread Namhyung Kim
Ooops, Please forget about this. It's intended for an internal use only :-/ Sorry for the noise. Thanks, Namhyung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [Ping^3] Re: [PATCH] sg_io: allow UNMAP and WRITE SAME without CAP_SYS_RAWIO

2012-09-06 Thread Paolo Bonzini
Il 05/09/2012 22:18, Ric Wheeler ha scritto: Hi Paolo, Both of these commands are destructive. WRITE_SAME (if done without the discard bits set) can also take a very long time to be destructive and tie up the storage. FORMAT_UNIT has the same characteristics and yet it is allowed (btw, I

Re:

2012-09-06 Thread Daniel Mack
On 06.09.2012 08:02, Markus Trippelsdorf wrote: On 2012.09.04 at 16:40 +0200, Takashi Iwai wrote: Sound fixes for 3.6-rc5 There are nothing scaring, contains only small fixes for HD-audio and USB-audio: - EPSS regression fix

[PATCH 1/3] btrfs: remove unnecessary -ENOMEM BUG_ON check in extent-tree.c/exclude_super_stripes

2012-09-06 Thread Wang Sheng-Hui
The memory allocation failure is BUG_ON in add_excluded_extent (following the code path) and btrfs_rmap_block. No need to BUG_ON -ENOMEM inside exclude_super_stripes itself. Its return value is always 0, and useless for its callers. Set it as void instead 0-returned. Signed-off-by: Wang

[PATCH 2/3] btrfs: remove unnecessary -ENOMEM BUG_ON check in extent-tree.c/btrfs_alloc_logged_file_extent

2012-09-06 Thread Wang Sheng-Hui
The memory allocation failure is BUG_ON in add_excluded_extent (following the code path). No need to BUG_ON -ENOMEM inside btrfs_alloc_logged_file_extent. Signed-off-by: Wang Sheng-Hui shh...@gmail.com --- fs/btrfs/extent-tree.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-)

PATCH 3/3] btrfs: set extent-tree.c/add_excluded_extent as void

2012-09-06 Thread Wang Sheng-Hui
The memory allocation failure will be catched in set_extent_bits. Always return 0 is useless for its callers. Signed-off-by: Wang Sheng-Hui shh...@gmail.com --- fs/btrfs/extent-tree.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/extent-tree.c

Re: [PATCH] [mcelog] Start using the new sysfs tunables location

2012-09-06 Thread Naveen N. Rao
On 09/06/2012 12:39 AM, Tony Luck wrote: On Wed, Sep 5, 2012 at 11:47 AM, Andi Kleen a...@firstfloor.org wrote: On Wed, Sep 05, 2012 at 04:02:37PM +0530, Naveen N. Rao wrote: All the current mce tunables are now available under /sys/devices/system/machinecheck. Start using this new location,

Re:

2012-09-06 Thread Markus Trippelsdorf
On 2012.09.06 at 08:33 +0200, Daniel Mack wrote: On 06.09.2012 08:02, Markus Trippelsdorf wrote: On 2012.09.04 at 16:40 +0200, Takashi Iwai wrote: Sound fixes for 3.6-rc5 There are nothing scaring, contains only small

Re: [PATCH v2 1/5] fat: allocate persistent inode numbers

2012-09-06 Thread Namjae Jeon
2012/9/5 OGAWA Hirofumi hirof...@mail.parknet.co.jp: Namjae Jeon linkinj...@gmail.com writes: In this long discusstion about the FAT acceptance over NFS, our belief is still that the objective should be to reduce errors as much as possible and then if there are certain scenarios - at least

Re:

2012-09-06 Thread Takashi Iwai
At Thu, 06 Sep 2012 08:33:30 +0200, Daniel Mack wrote: On 06.09.2012 08:02, Markus Trippelsdorf wrote: On 2012.09.04 at 16:40 +0200, Takashi Iwai wrote: Sound fixes for 3.6-rc5 There are nothing scaring, contains only

Re: [PATCH 2/3] x86/mce: Pack boolean MCE flags into a structure

2012-09-06 Thread Naveen N. Rao
On 09/06/2012 12:26 AM, Tony Luck wrote: On Wed, Sep 5, 2012 at 3:22 AM, Naveen N. Rao naveen.n@linux.vnet.ibm.com wrote: Many MCE flags are boolean in nature, but are declared as integers currently. We can pack these into a bitfield to save some space. Before this patch: size

RE: [PATCH] pwm: pwm-tiecap: Disable APWM mode after configure

2012-09-06 Thread Philip, Avinash
Hi Thierry, If you do not have any comments, could you please accept it? Thanks Avinash On Thu, Aug 23, 2012 at 12:29:46, Philip, Avinash wrote: APWM mode is enabled while configuring PWM device. This was done to handle shadow immediate mode update of period and compare registers. However,

Re:

2012-09-06 Thread Markus Trippelsdorf
On 2012.09.06 at 08:48 +0200, Takashi Iwai wrote: At Thu, 06 Sep 2012 08:33:30 +0200, Daniel Mack wrote: On 06.09.2012 08:02, Markus Trippelsdorf wrote: On 2012.09.04 at 16:40 +0200, Takashi Iwai wrote: Sound fixes

Re: [PATCH 5/8] pwm i.MX: add devicetree support

2012-09-06 Thread Sascha Hauer
On Wed, Sep 05, 2012 at 11:42:34PM +0200, Benoît Thébaudeau wrote: Since this is supposed to remove platform-based support, why don't you also remove the PWM stuff from arch/arm/plat-mxc and arch/arm/mach-imx/devices-imx*.h? Simple answer: I was too lazy yesterday. I will include it in the

Re: [PATCH] serial_core: fix sizeof(pointer)

2012-09-06 Thread Jiri Slaby
On 09/06/2012 04:27 AM, Fengguang Wu wrote: sizeof when applied to a pointer typed expression gives the size of the pointer. Generated by: scripts/coccinelle/misc/noderef.cocci Signed-off-by: Fengguang Wu fengguang...@intel.com --- cocci-output-38612-39d907-serial_core.c |2 +- 1

Re: [PATCH] OMAP GPIO - don't wake from suspend unless requested.

2012-09-06 Thread NeilBrown
On Thu, 6 Sep 2012 11:18:09 +0530 Shilimkar, Santosh santosh.shilim...@ti.com wrote: On Thu, Sep 6, 2012 at 8:35 AM, NeilBrown ne...@suse.de wrote: On Mon, 3 Sep 2012 22:59:06 -0700 Shilimkar, Santosh santosh.shilim...@ti.com wrote: After thinking bit more on this, the problem seems to be

Re: [RFC PATCH V6 10/19] memory-hotplug: add memory_block_release

2012-09-06 Thread wujianguo
On 2012-8-3 15:49, we...@cn.fujitsu.com wrote: From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com When calling remove_memory_block(), the function shows following message at device_release(). Device 'memory528' does not have a release() function, it is broken and must be fixed. I

Re: [PATCH] serial_core: fix sizeof(pointer)

2012-09-06 Thread Fengguang Wu
On Thu, Sep 06, 2012 at 08:59:00AM +0200, Jiri Slaby wrote: On 09/06/2012 04:27 AM, Fengguang Wu wrote: sizeof when applied to a pointer typed expression gives the size of the pointer. Generated by: scripts/coccinelle/misc/noderef.cocci Signed-off-by: Fengguang Wu

Re: snd-usb: delay: estimated 0, actual 352

2012-09-06 Thread Daniel Mack
On 06.09.2012 08:53, Markus Trippelsdorf wrote: On 2012.09.06 at 08:48 +0200, Takashi Iwai wrote: At Thu, 06 Sep 2012 08:33:30 +0200, Daniel Mack wrote: On 06.09.2012 08:02, Markus Trippelsdorf wrote: On 2012.09.04 at 16:40 +0200, Takashi Iwai wrote:

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

2012-09-06 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from drivers/atm/fore200e.c:70:0: drivers/atm/fore200e.h:263:3: error: redefinition of typedef 'opcode_t' with different type arch/powerpc/include/asm/probes.h:25:13: note:

Re: [PATCH 7/8] pwm i.MX: fix clock lookup

2012-09-06 Thread Sascha Hauer
On Wed, Sep 05, 2012 at 11:48:51PM +0200, Benoît Thébaudeau wrote: - c = clk_get_rate(imx-clk); + c = clk_get_rate(imx-clk_per); c = c * period_ns; do_div(c, 10); period_cycles = c; @@ -160,8 +161,15 @@ static int imx_pwm_config(struct pwm_chip *chip,

Re: snd-usb: delay: estimated 0, actual 352

2012-09-06 Thread Markus Trippelsdorf
On 2012.09.06 at 09:08 +0200, Daniel Mack wrote: On 06.09.2012 08:53, Markus Trippelsdorf wrote: On 2012.09.06 at 08:48 +0200, Takashi Iwai wrote: At Thu, 06 Sep 2012 08:33:30 +0200, Daniel Mack wrote: On 06.09.2012 08:02, Markus Trippelsdorf wrote: On 2012.09.04 at 16:40 +0200,

[PATCH RESEND]mm/ia64: fix a node distance bug

2012-09-06 Thread wujianguo
From: Jianguo Wu wujian...@huawei.com In arch ia64, has following definition: extern u8 numa_slit[MAX_NUMNODES * MAX_NUMNODES]; #define node_distance(from,to) (numa_slit[(from) * num_online_nodes() + (to)]) num_online_nodes() is a variable value, it can be changed after hot-remove/add a node. I

Re: [PATCH v2 3/3] memory-hotplug: bug fix race between isolation and allocation

2012-09-06 Thread Yasuaki Ishimatsu
Hi Minchan, 2012/09/06 14:16, Minchan Kim wrote: Like below, memory-hotplug makes race between page-isolation and page-allocation so it can hit BUG_ON in __offline_isolated_pages. CPU A CPU B start_isolate_page_range set_migratetype_isolate

Re: [PATCH] gpio: em: Use irq_data_get_irq_chip_data() at appropriate places

2012-09-06 Thread Linus Walleij
On Tue, Sep 4, 2012 at 3:58 PM, Axel Lin axel@gmail.com wrote: Then we can remove irq_to_priv() function. Signed-off-by: Axel Lin axel@gmail.com Thanks, applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH RESEND] arm/dts: AM33XX: Add SPI device tree data

2012-09-06 Thread Philip, Avinash
Add McSPI data node to AM33XX device tree file. The McSPI module (and so as the driver) is reused from OMAP4. Signed-off-by: Philip, Avinash avinashphi...@ti.com --- Resenting patch because ARM OMAP mailing list was not copied. :100644 100644 bb31bff... 6b469bd... M

[PATCH] dma: ipu: Drop unused spinlock

2012-09-06 Thread Jean Delvare
I was checking why this spinlock was never initialized, but it turns out it's not used anywhere, so we can drop it. Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: Vinod Koul vinod.k...@intel.com Cc: Dan Williams d...@fb.com --- I can't even build-test this. drivers/dma/ipu/ipu_irq.c |1

Re: [PATCH -v3 14/14] x86, mm: Map ISA area with connected ram range at the same time

2012-09-06 Thread Pekka Enberg
On Wed, Sep 5, 2012 at 1:02 AM, Pekka Enberg penb...@kernel.org wrote: How significant is the speed gain? The isa_done flag makes code flow more difficult to follow. On Wed, 5 Sep 2012, Yinghai Lu wrote: Not really much. when booting system: memmap=16m$128m memmap=16m$512m

Re: [PATCH 1/3] w1: mxc_w1: Adapt the clock name to the new clock framework

2012-09-06 Thread Sascha Hauer
Hi Fabio, On Wed, Sep 05, 2012 at 07:01:18PM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com With the new i.mx clock framework the mxc_w1 clock is registered as: clk_register_clkdev(clk[owire_gate], NULL, mxc_w1.0 So we do not need to pass owire string and

linux-next: Tree for Sept 6

2012-09-06 Thread Stephen Rothwell
Hi all, Changes since 20120905: New tree: arm64 The powerpc tree gained a build failure for which I reverted 3 commits. The net-next tree lost its build failure. The trivial tree gained a conflict against the powerpc tree. The spi-mb tree gained a build failure so I used the version from

Re: [PATCH] Chinese translation of Documentation/gpio.txt

2012-09-06 Thread Linus Walleij
2012/9/5 Dong Aisheng b29...@freescale.com: Thanks for your help Dong, Wei can you please check Dong's comments and submit a version with his ACK, and I'll apply it. Yours, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] gpio: sx150x: Use irq_data_get_irq_chip_data() at appropriate places

2012-09-06 Thread Linus Walleij
On Tue, Sep 4, 2012 at 4:06 PM, Axel Lin axel@gmail.com wrote: Signed-off-by: Axel Lin axel@gmail.com Thanks, applied! Yours, 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 majordomo info

Re: [RFC v9 PATCH 20/21] memory-hotplug: clear hwpoisoned flag when onlining pages

2012-09-06 Thread andywu106建国
2012/9/5 we...@cn.fujitsu.com From: Wen Congyang we...@cn.fujitsu.com hwpoisoned may set when we offline a page by the sysfs interface /sys/devices/system/memory/soft_offline_page or /sys/devices/system/memory/hard_offline_page. If we don't clear this flag when onlining pages, this page

Re: [PATCH] OMAP GPIO - don't wake from suspend unless requested.

2012-09-06 Thread Shilimkar, Santosh
On Thu, Sep 6, 2012 at 12:32 PM, NeilBrown ne...@suse.de wrote: On Thu, 6 Sep 2012 11:18:09 +0530 Shilimkar, Santosh santosh.shilim...@ti.com wrote: On Thu, Sep 6, 2012 at 8:35 AM, NeilBrown ne...@suse.de wrote: On Mon, 3 Sep 2012 22:59:06 -0700 Shilimkar, Santosh santosh.shilim...@ti.com

Re: [PATCH v2 3/3] memory-hotplug: bug fix race between isolation and allocation

2012-09-06 Thread Minchan Kim
Hello Yasuaki, On Thu, Sep 06, 2012 at 04:17:54PM +0900, Yasuaki Ishimatsu wrote: Hi Minchan, 2012/09/06 14:16, Minchan Kim wrote: Like below, memory-hotplug makes race between page-isolation and page-allocation so it can hit BUG_ON in __offline_isolated_pages. CPU A

[PATCH] JFS: use list_move instead of list_del/list_add

2012-09-06 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Using list_move() instead of list_del() + list_add(). spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- fs/jfs/jfs_txnmgr.c | 9 +++-- 1 file

Re: snd-usb: delay: estimated 0, actual 352

2012-09-06 Thread Takashi Iwai
At Thu, 6 Sep 2012 09:17:57 +0200, Markus Trippelsdorf wrote: On 2012.09.06 at 09:08 +0200, Daniel Mack wrote: On 06.09.2012 08:53, Markus Trippelsdorf wrote: On 2012.09.06 at 08:48 +0200, Takashi Iwai wrote: At Thu, 06 Sep 2012 08:33:30 +0200, Daniel Mack wrote: On 06.09.2012

Re: [Patch 0/1]drm_irq: Introducing the irq_thread support

2012-09-06 Thread Daniel Vetter
On Thu, Sep 06, 2012 at 12:42:05AM +, Liu, Chuansheng wrote: This possibly ought to be submitted in parallel with the code that uses it so that the whole proposal can be evaluated as one thing ? Alan Patch is here, thanks. From: liu chuansheng chuansheng@intel.com

[PATCH] gpio-ich: Add missing spinlock init

2012-09-06 Thread Jean Delvare
As reported by CONFIG_DEBUG_SPINLOCK=y. Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: Peter Tyser pty...@xes-inc.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Linus Walleij linus.wall...@linaro.org Cc: sta...@vger.kernel.org [v3.5+] --- drivers/gpio/gpio-ich.c |1 + 1 file changed,

Re: [PATCH] virtio-blk: Fix kconfig option

2012-09-06 Thread Kent Overstreet
On Tue, Sep 04, 2012 at 03:53:53PM +0930, Rusty Russell wrote: Kent Overstreet koverstr...@google.com writes: CONFIG_VIRTIO isn't exposed, everything else is supposed to select it instead. This is a slight mis-understanding. It's supposed to be selected by the particular driver,

[PATCH] virtio-balloon spec: provide a version of the silent deflate feature that works

2012-09-06 Thread Paolo Bonzini
VIRTIO_BALLOON_F_MUST_TELL_HOST cannot be used properly because it is a negative feature: it tells you that silent defalte is not supported. Right now, QEMU refuses migration if the target does not support all the features that were negotiated. But then: - a migration from non-MUST_TELL_HOST to

Re: [PATCH] drm/exynos: fix double call of drm_prime_(init/destroy)_file_private

2012-09-06 Thread Paul Menzel
Dear Inki Dae, Am Donnerstag, den 06.09.2012, 11:35 +0900 schrieb InKi Dae: 2012/9/6 Mandeep Singh Baines m...@chromium.org: The double invocations are incorrect but seem to be safe so I don't think this will fix any bugs. Before: [7.639366] drm_prime_init_file ee3675d0 [

Re: [PATCH] OMAP GPIO - don't wake from suspend unless requested.

2012-09-06 Thread NeilBrown
On Thu, 6 Sep 2012 12:57:46 +0530 Shilimkar, Santosh santosh.shilim...@ti.com wrote: On Thu, Sep 6, 2012 at 12:32 PM, NeilBrown ne...@suse.de wrote: On Thu, 6 Sep 2012 11:18:09 +0530 Shilimkar, Santosh santosh.shilim...@ti.com wrote: On Thu, Sep 6, 2012 at 8:35 AM, NeilBrown

Re: [alsa-devel] [PATCH] ASoC: ams-delta: fix card initalization failure

2012-09-06 Thread Mark Brown
On Sat, Sep 01, 2012 at 11:09:18AM +0200, Janusz Krzysztofik wrote: I see your point, however for now I can see no better way of referencing the data (of type struct snd_soc_card) then passing it to snd_soc_register_card(). But for this to work, I would have to register successfully an

Re: [RFC] module: signature infrastructure

2012-09-06 Thread Rusty Russell
Lucas De Marchi lucas.de.mar...@gmail.com writes: Sorry to come up with this suggestion only now (and after you have already talked to me at LPC). Only after seeing this implementation I thought about the implications of having the module signed in this format. ... I'm worried about

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

2012-09-06 Thread Rusty Russell
Michael S. Tsirkin m...@redhat.com writes: Yes without checksum net core always linearizes packets, so yes it is screwed. For -net, skb always allocates space for 17 frags + linear part so it seems sane to do same in virtio core, and allocate, for -net, up to max_frags + 1 from cache. We can

Re: [PATCH] KVM: VMX: invalidate vpid for invlpg instruction

2012-09-06 Thread Avi Kivity
On 09/06/2012 12:54 AM, Davidlohr Bueso wrote: On Mon, 2012-09-03 at 12:11 +0300, Avi Kivity wrote: On 09/03/2012 02:27 AM, Davidlohr Bueso wrote: On Fri, 2012-08-31 at 14:37 -0300, Marcelo Tosatti wrote: On Fri, Aug 31, 2012 at 06:10:48PM +0200, Davidlohr Bueso wrote: For processors that

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

2012-09-06 Thread Lai Jiangshan
On 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_ISOLATE] so people can think of it as allocatable pages but it is *never* allocatable.

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

2012-09-06 Thread Minchan Kim
Hello Lai, On Thu, Sep 06, 2012 at 04:14:51PM +0800, Lai Jiangshan wrote: On 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_ISOLATE] so

Re: [PATCH v2] pwm i.MX: add devicetree support

2012-09-06 Thread Shawn Guo
On Wed, Sep 05, 2012 at 03:35:19PM +0200, Sascha Hauer wrote: Changes since v1: - Add devicetree binding documentation - Merge 5/9 and 9/9 - fix #pwm-cells (must be 2 instead of 3) - fix wrong name in MODULE_DEVICE_TABLE - drop platform based probing while introducing devicetree based

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

2012-09-06 Thread Ananth N Mavinakayanahalli
On Thu, Sep 06, 2012 at 05:11:53PM +1000, Stephen Rothwell wrote: Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from drivers/atm/fore200e.c:70:0: drivers/atm/fore200e.h:263:3: error: redefinition of typedef

Re: snd-usb: delay: estimated 0, actual 352

2012-09-06 Thread Takashi Iwai
At Thu, 06 Sep 2012 09:35:26 +0200, Takashi Iwai wrote: At Thu, 6 Sep 2012 09:17:57 +0200, Markus Trippelsdorf wrote: On 2012.09.06 at 09:08 +0200, Daniel Mack wrote: On 06.09.2012 08:53, Markus Trippelsdorf wrote: On 2012.09.06 at 08:48 +0200, Takashi Iwai wrote: At Thu, 06

Re: [PATCH 2/2] mm: support MIGRATE_DISCARD

2012-09-06 Thread Mel Gorman
On Thu, Sep 06, 2012 at 02:31:12PM +0900, Minchan Kim wrote: Hi Mel, On Wed, Sep 05, 2012 at 11:56:11AM +0100, Mel Gorman wrote: On Wed, Sep 05, 2012 at 05:11:13PM +0900, Minchan Kim wrote: This patch introudes MIGRATE_DISCARD mode in migration. It drops *clean cache pages* instead of

Re: [PATCH] drm/exynos: fix double call of drm_prime_(init/destroy)_file_private

2012-09-06 Thread InKi Dae
Hi, 2012/9/6 Paul Menzel paulepan...@users.sourceforge.net: Dear Inki Dae, Am Donnerstag, den 06.09.2012, 11:35 +0900 schrieb InKi Dae: 2012/9/6 Mandeep Singh Baines m...@chromium.org: The double invocations are incorrect but seem to be safe so I don't think this will fix any bugs.

Re: [PATCH 1/6] unicore32: pwm: Properly remap memory-mapped registers

2012-09-06 Thread guanxuetao
Instead of writing to the timer controller registers by dereferencing a pointer to the memory location, properly remap the memory region with a call to ioremap_nocache() and access the registers using writel(). Signed-off-by: Thierry Reding thierry.red...@avionic-design.de ---

Re: [RFC v9 PATCH 20/21] memory-hotplug: clear hwpoisoned flag when onlining pages

2012-09-06 Thread Wen Congyang
At 09/06/2012 03:27 PM, andywu106建国 Wrote: 2012/9/5 we...@cn.fujitsu.com From: Wen Congyang we...@cn.fujitsu.com hwpoisoned may set when we offline a page by the sysfs interface /sys/devices/system/memory/soft_offline_page or /sys/devices/system/memory/hard_offline_page. If we don't clear

Re: [PATCH 4/6] unicore32: Add common clock support

2012-09-06 Thread guanxuetao
This commit adds support for the common clock framework to the Unicore32 architecture. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de This patch can't work. Could you disintegrate it into several small patches, so I could check it out. Thanks, Guan Xuetao ---

Re: [PATCH v2 20/31] arm64: User access library function

2012-09-06 Thread Catalin Marinas
On Wed, Sep 05, 2012 at 10:05:34PM +0100, Russell King - ARM Linux wrote: On Wed, Sep 05, 2012 at 10:01:37PM +0100, Catalin Marinas wrote: There are indeed a few KB gain in code size but that's probably coming from the exception table since otherwise you just replace a bl with ldrt. It

[PATCH v2] drivers/media/platform/s5p-tv/sdo_drv.c: fix error return code

2012-09-06 Thread Peter Senna Tschudin
From: Peter Senna Tschudin peter.se...@gmail.com Convert a nonnegative error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl ( if@p1 (\(ret 0\|ret !=

Re: [PATCH] virtio-blk: Fix kconfig option

2012-09-06 Thread Michael S. Tsirkin
On Thu, Sep 06, 2012 at 12:41:13AM -0700, Kent Overstreet wrote: On Tue, Sep 04, 2012 at 03:53:53PM +0930, Rusty Russell wrote: Kent Overstreet koverstr...@google.com writes: CONFIG_VIRTIO isn't exposed, everything else is supposed to select it instead. This is a slight

Re: [PATCH] OMAP GPIO - don't wake from suspend unless requested.

2012-09-06 Thread Shilimkar, Santosh
On Thu, Sep 6, 2012 at 1:21 PM, NeilBrown ne...@suse.de wrote: On Thu, 6 Sep 2012 12:57:46 +0530 Shilimkar, Santosh santosh.shilim...@ti.com wrote: On Thu, Sep 6, 2012 at 12:32 PM, NeilBrown ne...@suse.de wrote: On Thu, 6 Sep 2012 11:18:09 +0530 Shilimkar, Santosh santosh.shilim...@ti.com

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

2012-09-06 Thread Michael S. Tsirkin
On Thu, Sep 06, 2012 at 05:27:23PM +0930, Rusty Russell wrote: Michael S. Tsirkin m...@redhat.com writes: Yes without checksum net core always linearizes packets, so yes it is screwed. For -net, skb always allocates space for 17 frags + linear part so it seems sane to do same in virtio

Re: [PATCH] virtio-balloon spec: provide a version of the silent deflate feature that works

2012-09-06 Thread Michael S. Tsirkin
On Thu, Sep 06, 2012 at 09:46:50AM +0200, Paolo Bonzini wrote: VIRTIO_BALLOON_F_MUST_TELL_HOST cannot be used properly because it is a negative feature: it tells you that silent defalte is not supported. Right now, QEMU refuses migration if the target does not support all the features that

Re: [PATCH v2] powerpc: fix personality handling in ppc64_personality()

2012-09-06 Thread Jiri Kosina
On Thu, 6 Sep 2012, Benjamin Herrenschmidt wrote: actually commit 7256a5d2da56 seems to contain the correct PER_LINUX handling, so seems like you picked the right one :) Odd, they looked different around the use of PER_MASK when I looked but The original patch had personality

Re: [PATCH v3] kconfig: replace 'oldnoconfig' with 'olddefconfig', and keep the old name as an alias

2012-09-06 Thread Adam Lee
On Sat, Sep 01, 2012 at 01:05:17AM +0800, Adam Lee wrote: As 67d34a6a391369269a2e5dba8a5f42cc4cd50231 said, 'oldnoconfig' doesn't set new symbols to 'n', but instead sets it to their default values. So, this patch replaces 'oldnoconfig' with 'olddefconfig', stop making people confused, and

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

2012-09-06 Thread Lai Jiangshan
On 09/06/2012 04:18 PM, Minchan Kim wrote: Hello Lai, On Thu, Sep 06, 2012 at 04:14:51PM +0800, Lai Jiangshan wrote: On 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

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

2012-09-06 Thread Lai Jiangshan
On 09/06/2012 04:18 PM, Minchan Kim wrote: Hello Lai, On Thu, Sep 06, 2012 at 04:14:51PM +0800, Lai Jiangshan wrote: On 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

Re: [PATCH 2/2] mm: support MIGRATE_DISCARD

2012-09-06 Thread Mel Gorman
On Thu, Sep 06, 2012 at 09:29:35AM +0100, Mel Gorman wrote: On Thu, Sep 06, 2012 at 02:31:12PM +0900, Minchan Kim wrote: Hi Mel, On Wed, Sep 05, 2012 at 11:56:11AM +0100, Mel Gorman wrote: On Wed, Sep 05, 2012 at 05:11:13PM +0900, Minchan Kim wrote: This patch introudes

Re: [RFC PATCH 0/3] target: try satisfying memory requests with higher-order allocations

2012-09-06 Thread Paolo Bonzini
Il 06/09/2012 03:58, Nicholas A. Bellinger ha scritto: This patch series fixes this problem by using higher-order allocations to build the data scatterlist. The problem is that iscsi assumes that the scatterlist consists of single pages, which is not true anymore. So patch 2 has to introduce

[PATCH RESEND] fs: Build sys_stat64() and friends if __ARCH_WANT_COMPAT_STAT64

2012-09-06 Thread Catalin Marinas
On AArch64, we want the sys_stat64() and related functions for compat support but do not need the generic struct stat64, enabled automatically if __ARCH_WANT_STAT64. Signed-off-by: Catalin Marinas catalin.mari...@arm.com Acked-by: Arnd Bergmann a...@arndb.de Cc: Alexander Viro

Re: PCI/e1000 BUG: unable to handle kernel paging request at 0ffff163

2012-09-06 Thread Fengguang Wu
On Wed, Sep 05, 2012 at 11:41:04AM -0700, Yinghai Lu wrote: On Tue, Sep 4, 2012 at 11:51 PM, Fengguang Wu fengguang...@intel.com wrote: Yinghai, There are many kernel paging errors showing up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git

Re: [PATCH 1/4] clk: Provide option for clk_get_rate to issue hw for new rate

2012-09-06 Thread Ulf Hansson
Hi Mike, Thanks for your input, and sorry for my late reply! On 31 August 2012 21:29, Mike Turquette mturque...@ti.com wrote: Quoting Ulf Hansson (2012-08-31 05:21:28) From: Ulf Hansson ulf.hans...@linaro.org By using CLK_GET_RATE_NOCACHE flag, we tell the clk_get_rate API to issue the hw

[PATCH 1/2] mm: Fixup obsolete PG_buddy flag in error_states[]

2012-09-06 Thread Li Haifeng
PG_buddy, an abandoned flag, indicates page(s) is/are free and in buddy allocator. So in the comment, pages in buddy system instead of PG_buddy pages. Signed-off-by: Haifeng Li omy...@gmail.com --- mm/memory-failure.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

Re: [PATCH v2 3/3] memory-hotplug: bug fix race between isolation and allocation

2012-09-06 Thread Yasuaki Ishimatsu
Hi, Minchan, 2012/09/06 16:30, Minchan Kim wrote: Hello Yasuaki, On Thu, Sep 06, 2012 at 04:17:54PM +0900, Yasuaki Ishimatsu wrote: Hi Minchan, 2012/09/06 14:16, Minchan Kim wrote: Like below, memory-hotplug makes race between page-isolation and page-allocation so it can hit BUG_ON in

[PATCH 2/2] mm: Fixup abandoned PG_buddy for private in struct page

2012-09-06 Thread Li Haifeng
PG_buddy, an abandoned flag, indicates page(s) is/are free and in buddy allocator. And when page(s) in buddy allocator, the _mapcount will equal PAGE_BUDDY_MAPCOUNT_VALUE. So, here, _mapcount equals PAGE_BUDDY_MAPCOUNT_VALUE instead of PG_buddy is set. Signed-off-by: Haifeng Li omy...@gmail.com

CONFIG_NO_HZ + CONFIG_CPU_IDLE freeze the system (Was Re: [PATCH] acpi : remove power from acpi_processor_cx structure)

2012-09-06 Thread Daniel Lezcano
On 09/06/2012 09:54 AM, Daniel Lezcano wrote: On 09/05/2012 03:41 PM, Rafael J. Wysocki wrote: On Saturday, September 01, 2012, Rafael J. Wysocki wrote: On Friday, August 31, 2012, Daniel Lezcano wrote: On 07/24/2012 11:06 PM, Konrad Rzeszutek Wilk wrote: On Tue, Jul 24, 2012 at 11:12:29PM

Re: [PATCH] virtio-balloon spec: provide a version of the silent deflate feature that works

2012-09-06 Thread Paolo Bonzini
Il 06/09/2012 10:47, Michael S. Tsirkin ha scritto: - a migration from non-MUST_TELL_HOST to MUST_TELL_HOST will succeed, which is wrong; - a migration from MUST_TELL_HOST to non-MUST_TELL_HOST will fail, which is useless. Add instead a new feature VIRTIO_BALLOON_F_SILENT_DEFLATE,

Re: [PATCH 3/3] memory-hotplug: bug fix race between isolation and allocation

2012-09-06 Thread Mel Gorman
On Thu, Sep 06, 2012 at 01:49:03PM +0900, Minchan Kim wrote: __offline_isolated_pages /* * BUG_ON hit or offline page * which is used by someone */ BUG_ON(!PageBuddy(page A)); offline_page calling BUG_ON because someone allocated the page is ridiculous. I did not

Re: [PATCH] virtio-blk: Fix kconfig option

2012-09-06 Thread Kent Overstreet
On Thu, Sep 06, 2012 at 11:44:03AM +0300, Michael S. Tsirkin wrote: On Thu, Sep 06, 2012 at 12:41:13AM -0700, Kent Overstreet wrote: On Tue, Sep 04, 2012 at 03:53:53PM +0930, Rusty Russell wrote: Kent Overstreet koverstr...@google.com writes: CONFIG_VIRTIO isn't exposed, everything

Re: linux-next: manual merge of the arm-soc tree with the usb tree

2012-09-06 Thread Roland Stigge
On 09/06/2012 07:42 AM, Stephen Rothwell wrote: Today's linux-next merge of the arm-soc tree got a conflict in drivers/usb/host/Kconfig between commit 952230d774bb (usb: ohci: Fix Kconfig dependency on USB_ISP1301) from the usb tree and commit d684f05f2d55 (ARM: mach-pnx4008: Remove

Re: [RFC PATCH] [media] rc: filter out not allowed protocols when decoding

2012-09-06 Thread Changbin Du
Sean , many thanks for your help. I know much more about IR framwork now. I'll try to work out a patch to remove allowed_protocols. Thanks again! [Du, Changbin] 2012/9/4 Sean Young s...@mess.org: On Tue, Sep 04, 2012 at 11:06:07AM +0800, Changbin Du wrote:

Re: [PATCH] virtio-balloon spec: provide a version of the silent deflate feature that works

2012-09-06 Thread Michael S. Tsirkin
On Thu, Sep 06, 2012 at 11:24:02AM +0200, Paolo Bonzini wrote: Il 06/09/2012 10:47, Michael S. Tsirkin ha scritto: - a migration from non-MUST_TELL_HOST to MUST_TELL_HOST will succeed, which is wrong; - a migration from MUST_TELL_HOST to non-MUST_TELL_HOST will fail, which is

Re: snd-usb: delay: estimated 0, actual 352

2012-09-06 Thread Markus Trippelsdorf
On 2012.09.06 at 10:21 +0200, Takashi Iwai wrote: At Thu, 06 Sep 2012 09:35:26 +0200, Takashi Iwai wrote: In short, a patch like below may fix the issue (note: completely untested!) No it doesn't, unfortunately... -- Markus -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] virtio-blk: Fix kconfig option

2012-09-06 Thread Michael S. Tsirkin
On Thu, Sep 06, 2012 at 02:25:12AM -0700, Kent Overstreet wrote: On Thu, Sep 06, 2012 at 11:44:03AM +0300, Michael S. Tsirkin wrote: On Thu, Sep 06, 2012 at 12:41:13AM -0700, Kent Overstreet wrote: On Tue, Sep 04, 2012 at 03:53:53PM +0930, Rusty Russell wrote: Kent Overstreet

Re: [PATCH] virtio-balloon spec: provide a version of the silent deflate feature that works

2012-09-06 Thread Paolo Bonzini
Il 06/09/2012 11:44, Michael S. Tsirkin ha scritto: In fact, it's not clear how the driver should use the feature. My guess is that, if it wants to use silent deflate, it tries to negotiate VIRTIO_BALLOON_F_MUST_TELL_HOST, and can use silent deflate if negotiation fails. This is against the

Re: [PATCH] virtio-blk: Fix kconfig option

2012-09-06 Thread Kent Overstreet
On Thu, Sep 06, 2012 at 12:49:56PM +0300, Michael S. Tsirkin wrote: On Thu, Sep 06, 2012 at 02:25:12AM -0700, Kent Overstreet wrote: On Thu, Sep 06, 2012 at 11:44:03AM +0300, Michael S. Tsirkin wrote: On Thu, Sep 06, 2012 at 12:41:13AM -0700, Kent Overstreet wrote: On Tue, Sep 04, 2012

[PATCH] x86, 32-bit: Fix invalid stack address while in softirq

2012-09-06 Thread Robert Richter
(Resending patch with [PATCH] in subject line and updated cc list.) On 06.09.12 09:30:37, wyang1 wrote: Robert, I agreed what you said, my patch more likes a workaround. So the proper fix I see is to fix kernel_stack_pointer() to return a valid stack in case of an empty stack while in

[PATCH] UDF: Fix incorrect error handling in udf_direct_IO()

2012-09-06 Thread Ian Abbott
My recent patch to add DIRECT_IO support to the UDF filesystem handler contains a mistake in the error recovery if blockdev_direct_IO() fails. The test `rw WRITE` should be `rw WRITE`. Fix it. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- fs/udf/inode.c | 2 +- 1 file changed, 1

Re: [PATCH 1/3] btrfs: remove unnecessary -ENOMEM BUG_ON check in extent-tree.c/exclude_super_stripes

2012-09-06 Thread David Sterba
On Thu, Sep 06, 2012 at 02:40:41PM +0800, Wang Sheng-Hui wrote: The memory allocation failure is BUG_ON in add_excluded_extent (following the code path) and btrfs_rmap_block. No need to BUG_ON -ENOMEM inside exclude_super_stripes itself. No please. Its return value is always 0, and useless

[PATCH 1/1] [SCSI] scsi_debug: Add removable parameter

2012-09-06 Thread Martin Pitt
Add removable module parameter to set the removable attribute of any subsequently created debug block device. It is a writable driver option, so that you can switch between removable and fixed media block devices in between the add_host calls. This is useful for being able to test the different

[PATCH 0/1] Option for scsi_debug to fake removable devices

2012-09-06 Thread Martin Pitt
Hello all, I already re-sent this 1.5 months ago, but did not get any answer back then; I guess it got lost in the noise by now. So, patiently retrying again. For the purposes of automatically testing udisks and gvfs automounting I would like to add a parameter to scsi_debug to control the

Re: [PATCH RFC tip/core/rcu] Add callback-free CPUs

2012-09-06 Thread Peter Zijlstra
On Wed, 2012-09-05 at 16:44 -0700, Paul E. McKenney wrote: I was excited by this possibility when you first mentioned it, but the low-OS-jitter fans are going to need the grace-period computation to be offloaded as well. Sure, but it seems to me pulling the grace period machinery out is a

  1   2   3   4   5   6   7   8   9   10   >