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

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

2012-09-06 Thread Michael S. Tsirkin
On Thu, Sep 06, 2012 at 03:02:48AM -0700, Kent Overstreet wrote: 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

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

2012-09-06 Thread David Sterba
On Thu, Sep 06, 2012 at 02:41:02PM +0800, Wang Sheng-Hui wrote: 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. This indirectly calls __set_extent_bit that does BUG_ON on memory

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

2012-09-06 Thread Daniel Mack
On 06.09.2012 09:35, 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 Sep 2012 08:33:30 +0200,

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

2012-09-06 Thread Markus Trippelsdorf
On 2012.09.06 at 12:25 +0200, Daniel Mack wrote: On 06.09.2012 09:35, 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,

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

2012-09-06 Thread Kent Overstreet
On Thu, Sep 06, 2012 at 01:18:43PM +0300, Michael S. Tsirkin wrote: On Thu, Sep 06, 2012 at 03:02:48AM -0700, Kent Overstreet wrote: 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

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

2012-09-06 Thread Kurt Van Dijck
On Tue, Sep 04, 2012 at 10:15:53PM +0200, Fabio Baltieri wrote: 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: [...] The name of the device can only be

[GIT] kbuild rc fixes for v3.6 (v2)

2012-09-06 Thread Michal Marek
Hi Linus, there are two fixes that should go into 3.6. The link-vmlinux.sh one is obvious. The other one fixes make firmware_install with certain configurations, where a file in the toplevel firmware tree gets installed first, and $(INSTALL_FW_PATH)/$$(dir file) results in /lib/firmware/./, which

Re: [GIT] kbuild rc fixes for v3.6

2012-09-06 Thread Michal Marek
On 6.9.2012 07:19, Stephen Rothwell wrote: On Wed, 5 Sep 2012 20:32:00 -0700 Linus Torvalds torva...@linux-foundation.org wrote: On Mon, Sep 3, 2012 at 12:18 PM, Michal Marek mma...@suse.cz wrote: are available in the git repository at:

Re: [PATCH 10/11 V5] workqueue: unbind/rebind without manager_mutex

2012-09-06 Thread Lai Jiangshan
On 09/06/2012 04:04 AM, Tejun Heo wrote: Hello, Lai. On Wed, Sep 05, 2012 at 06:37:47PM +0800, Lai Jiangshan wrote: gcwq_unbind_fn() unbind manager by -manager pointer. rebinding-manger, unbinding/rebinding newly created worker are done by other place. so we don't need manager_mutex any

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:57:22AM +0200, Paolo Bonzini wrote: 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

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

2012-09-06 Thread Michael S. Tsirkin
On Thu, Sep 06, 2012 at 03:31:44AM -0700, Kent Overstreet wrote: On Thu, Sep 06, 2012 at 01:18:43PM +0300, Michael S. Tsirkin wrote: On Thu, Sep 06, 2012 at 03:02:48AM -0700, Kent Overstreet wrote: On Thu, Sep 06, 2012 at 12:49:56PM +0300, Michael S. Tsirkin wrote: On Thu, Sep 06, 2012

[PATCH RFC] mm/swap: automatic tuning for swapin readahead

2012-09-06 Thread Konstantin Khlebnikov
This patch adds simple tracker for swapin readahread effectiveness, and tunes readahead cluster depending on it. It manage internal state [0..1024] and scales readahead order between 0 and value from sysctl vm.page-cluster (3 by default). Swapout and readahead misses decreases state, swapin and ra

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

2012-09-06 Thread Fabio Baltieri
Hi Kurt, On Thu, Sep 6, 2012 at 12:33 PM, Kurt Van Dijck kurt.van.di...@eia.be wrote: On Tue, Sep 04, 2012 at 10:15:53PM +0200, Fabio Baltieri wrote: On Tue, Sep 04, 2012 at 09:11:28AM +0200, Kurt Van Dijck wrote: [...] The name of the device can only be changed when the interface is down.

[RFC v2 PATCH 00/21] KVM: x86: CPU isolation and direct interrupts delivery to guests

2012-09-06 Thread Tomoki Sekiyama
This RFC patch series provides facility to dedicate CPUs to KVM guests and enable the guests to handle interrupts from passed-through PCI devices directly (without VM exit and relay by the host). With this feature, we can improve throughput and response time of the device and the host's CPU usage

[RFC v2 PATCH 08/21] KVM: Add KVM_GET_SLAVE_CPU and KVM_SET_SLAVE_CPU to vCPU ioctl

2012-09-06 Thread Tomoki Sekiyama
Add an interface to set/get slave CPU dedicated to the vCPUs. By calling ioctl with KVM_GET_SLAVE_CPU, users can get the slave CPU id for the vCPU. -1 is returned if a slave CPU is not set. By calling ioctl with KVM_SET_SLAVE_CPU, users can dedicate the specified slave CPU to the vCPU. The CPU

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

2012-09-06 Thread Alan Cox
On Thu, 6 Sep 2012 10:27:51 +0800 Fengguang Wu fengguang...@intel.com 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 Oops.. yes typo on my part

[RFC v2 PATCH 09/21] KVM: Go back to online CPU on VM exit by external interrupt

2012-09-06 Thread Tomoki Sekiyama
If the slave CPU receives an interrupt in running a guest, current implementation must once go back to onilne CPUs to handle the interupt. This behavior will be replaced by later patch, which introduces direct interrupt handling mechanism by the guest. Signed-off-by: Tomoki Sekiyama

[RFC v2 PATCH 15/21] KVM: add tracepoint on enabling/disabling direct interrupt delivery

2012-09-06 Thread Tomoki Sekiyama
Add trace event kvm_set_direct_interrupt to trace enabling/disabling direct interrupt delivery on slave CPUs. At the event, the guest rip and whether the feature is enabled or not is logged. Signed-off-by: Tomoki Sekiyama tomoki.sekiyama...@hitachi.com Cc: Avi Kivity a...@redhat.com Cc: Marcelo

[RFC v2 PATCH 13/21] x86/apic: IRQ vector remapping on slave for slave CPUs

2012-09-06 Thread Tomoki Sekiyama
Add a facility to use IRQ vector different from online CPUs on slave CPUs. When alternative vector for IRQ is registered by remap_slave_vector_irq() and the IRQ affinity is set only to slave CPUs, the device is configured to use the alternative vector. Current patch only supports MSI and Intel

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

2012-09-06 Thread Ric Wheeler
On 09/06/2012 02:31 AM, Paolo Bonzini wrote: 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

Re: [RFC v2 PATCH 01/21] x86: Split memory hotplug function from cpu_up() as cpu_memory_up()

2012-09-06 Thread Avi Kivity
On 09/06/2012 02:27 PM, Tomoki Sekiyama wrote: Split memory hotplug function from cpu_up() as cpu_memory_up(), which will be used for assigning memory area to off-lined cpus at following patch in this series. Can post a summary containing both the general outline for people reading this for

[RFC v2 PATCH 17/21] KVM: add kvm_arch_vcpu_prevent_run to prevent VM ENTER when NMI is received

2012-09-06 Thread Tomoki Sekiyama
Since NMI can not be disabled around VM enter, there is a race between receiving NMI to kick a guest and entering the guests on slave CPUs.If the NMI is received just before entering VM, after the NMI handler is invoked, it continues entering the guest and the effect of the NMI will be lost. This

[RFC v2 PATCH 20/21] KVM: Pass-through local APIC timer of on slave CPUs to guest VM

2012-09-06 Thread Tomoki Sekiyama
Provide direct control of local APIC timer of slave CPUs to the guest. The timer interrupt does not cause VM exit if direct interrupt delivery is enabled. To handle the timer correctly, this makes the guest occupy the local APIC timer. If the host supports x2apic, this expose TMICT and TMCCT to

Re: [RFC v2 PATCH 01/21] x86: Split memory hotplug function from cpu_up() as cpu_memory_up()

2012-09-06 Thread Avi Kivity
On 09/06/2012 02:31 PM, Avi Kivity wrote: On 09/06/2012 02:27 PM, Tomoki Sekiyama wrote: Split memory hotplug function from cpu_up() as cpu_memory_up(), which will be used for assigning memory area to off-lined cpus at following patch in this series. Can post a summary containing both the

[RFC v2 PATCH 14/21] KVM: Directly handle interrupts by guests without VM EXIT on slave CPUs

2012-09-06 Thread Tomoki Sekiyama
Make interrupts on slave CPUs handled by guests without VM EXIT. This reduces CPU usage by the host to transfer interrupts of assigned PCI devices from the host to guests. It also reduces cost of VM EXIT and quickens response of guests to the interrupts. When a slave CPU is dedicated to a vCPU,

[RFC v2 PATCH 12/21] x86/apic: Enable external interrupt routing to slave CPUs

2012-09-06 Thread Tomoki Sekiyama
Enable APIC to handle interrupts on slave CPUs, and enables interrupt routing to slave CPUs by setting IRQ affinity. As slave CPUs which run a KVM guest handle external interrupts directly in the vCPUs, the guest's vector/IRQ mapping is different from the host's. That requires interrupts to be

[RFC v2 PATCH 11/21] KVM: no exiting from guest when slave CPU halted

2012-09-06 Thread Tomoki Sekiyama
Avoid exiting from a guest on slave CPU even if HLT instruction is executed. Since the slave CPU is dedicated to a vCPU, exit on HLT is not required, and avoiding VM exit will improve the guest's performance. This is a partial revert of 10166744b80a (KVM: VMX: remove yield_on_hlt) Cc:

[RFC v2 PATCH 04/21] x86: Avoid RCU warnings on slave CPUs

2012-09-06 Thread Tomoki Sekiyama
Initialize rcu related variables to avoid warnings about RCU usage while slave CPUs is running specified functions. Also notify RCU subsystem before the slave CPU is entered into idle state. Signed-off-by: Tomoki Sekiyama tomoki.sekiyama...@hitachi.com Cc: Avi Kivity a...@redhat.com Cc: Marcelo

[RFC v2 PATCH 16/21] KVM: vmx: Add definitions PIN_BASED_PREEMPTION_TIMER

2012-09-06 Thread Tomoki Sekiyama
Add some definitions to use PIN_BASED_PREEMPTION_TIMER. When PIN_BASED_PREEMPTION_TIMER is enabled, the guest will exit with reason=EXIT_REASON_PREEMPTION_TIMER when the counter specified in VMX_PREEMPTION_TIMER_VALUE becomes 0. This patch also adds a dummy handler for

<    4   5   6   7   8   9   10   11   12   13   >