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

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" 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,

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 wrote: > On Thu, 6 Sep 2012 12:57:46 +0530 "Shilimkar, Santosh" > wrote: > >> On Thu, Sep 6, 2012 at 12:32 PM, NeilBrown wrote: >> > On Thu, 6 Sep 2012 11:18:09 +0530 "Shilimkar, Santosh" >> > wrote: >> > >> >> On Thu, Sep 6, 2012 at 8:35 AM, NeilBrown

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 writes: > > > > > CONFIG_VIRTIO isn't exposed, everything else is supposed to select it > > > instead. > > > > This is a slight

[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 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/) // ( if@p1 (\(ret < 0\|ret != 0\)) { ... return ret; } |

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.

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 This patch can't work. Could you disintegrate it into several small patches, so I could check it out. Thanks, Guan Xuetao > --- > arch/unicore32/Kconfig |

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 >> >> From: Wen Congyang >> >> 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

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 > --- > arch/unicore32/kernel/pwm.c | 25

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 : > Dear Inki Dae, > > > Am Donnerstag, den 06.09.2012, 11:35 +0900 schrieb InKi Dae: > >> 2012/9/6 Mandeep Singh Baines : >> > The double invocations are incorrect but seem to be safe so I don't >> > think this will fix any bugs. >> > >> > Before: >> > >> > [

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*

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: > >

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: [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

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

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*

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

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

2012-09-06 Thread Rusty Russell
"Michael S. Tsirkin" 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 adjust

Re: [RFC] module: signature infrastructure

2012-09-06 Thread Rusty Russell
Lucas De Marchi 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 performance here. Module

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: [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" wrote: > On Thu, Sep 6, 2012 at 12:32 PM, NeilBrown wrote: > > On Thu, 6 Sep 2012 11:18:09 +0530 "Shilimkar, Santosh" > > wrote: > > > >> On Thu, Sep 6, 2012 at 8:35 AM, NeilBrown wrote: > >> > On Mon, 3 Sep 2012 22:59:06 -0700

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 : > > 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 > > [

[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

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 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, probably virtio_pci

[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 Cc: Peter Tyser Cc: Grant Likely Cc: Linus Walleij Cc: sta...@vger.kernel.org [v3.5+] --- drivers/gpio/gpio-ich.c |1 + 1 file changed, 1 insertion(+) --- linux-3.6-rc4.orig/drivers/gpio/gpio-ich.c 2012-09-04

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 > Subject:

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: > >

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

2012-09-06 Thread Wei Yongjun
From: Wei Yongjun 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 --- fs/jfs/jfs_txnmgr.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git

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

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 wrote: > On Thu, 6 Sep 2012 11:18:09 +0530 "Shilimkar, Santosh" > wrote: > >> On Thu, Sep 6, 2012 at 8:35 AM, NeilBrown wrote: >> > On Mon, 3 Sep 2012 22:59:06 -0700 "Shilimkar, Santosh" >> > wrote: > >> >> After thinking bit more on this, the problem

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

2012-09-06 Thread andywu106建国
2012/9/5 > > From: Wen Congyang > > 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 can't be freed, and will > not in

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 wrote: > Signed-off-by: Axel Lin 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 at

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

2012-09-06 Thread Linus Walleij
2012/9/5 Dong Aisheng : 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 majord...@vger.kernel.org

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 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 > > 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 can use NULL

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 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 memmap=16m$256m

[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 Cc: Vinod Koul Cc: Dan Williams --- I can't even build-test this. drivers/dma/ipu/ipu_irq.c |1 - 1 file changed, 1 deletion(-) ---

[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 --- Resenting patch because ARM & OMAP mailing list was not copied. :100644 100644 bb31bff... 6b469bd... M arch/arm/boot/dts/am33xx.dtsi

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 wrote: > Then we can remove irq_to_priv() function. > > Signed-off-by: Axel Lin 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

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

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

2012-09-06 Thread wujianguo
From: Jianguo Wu 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 my practice, I

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

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

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: 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: >

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: [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 > > 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 found this warning too

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" wrote: > On Thu, Sep 6, 2012 at 8:35 AM, NeilBrown wrote: > > On Mon, 3 Sep 2012 22:59:06 -0700 "Shilimkar, Santosh" > > wrote: > >> After thinking bit more on this, the problem seems to be coming > >> mainly because the gpio device is

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 > --- > > cocci-output-38612-39d907-serial_core.c |2 +- > 1 file

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

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: > > >> > >

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. >

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 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 arch/x86/kernel/cpu/mcheck/mce.o text

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,

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

2012-09-06 Thread Namjae Jeon
2012/9/5 OGAWA Hirofumi : > Namjae Jeon 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 that could >> be highlighted as a

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

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 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, but fall back to the

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 --- fs/btrfs/extent-tree.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index

[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 --- fs/btrfs/extent-tree.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git

[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

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

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

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: [PATCH v2 4/5] fat: eliminate orphaned inode number allocation

2012-09-06 Thread Namjae Jeon
2012/9/5 OGAWA Hirofumi : > Namjae Jeon writes: > >> 2012/9/5, OGAWA Hirofumi : >>> OGAWA Hirofumi writes: >>> Namjae Jeon writes: > From: Namjae Jeon > > Maintain a list of inode(i_pos) numbers of orphaned inodes (i.e the > inodes that have been unlinked but still

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

[PATCH] Linux kernel contribution count script

2012-09-06 Thread Namhyung Kim
From: Namhyung Kim $ ./contrib-count.sh Usage: ./contrib-count.sh [ ] $ ./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 --- contrib-count.sh | 27

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 >

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

2012-09-06 Thread Jeremy Kerr
From: Matthew Garrett 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 interface for

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

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

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

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,

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