Re: [PATCH] Revert "__d_unalias() should refuse to move mountpoints"

2012-11-29 Thread Al Viro
On Thu, Nov 29, 2012 at 09:30:34PM +, Al Viro wrote: > + if (d_invalidate(dentry) != 0) { > + WARN_ON(1); > + goto out; > + } > dput(dentry); > } > } > h/op

Re: [PATCH 2/3] aerdrv: Enhanced AER logging

2012-11-29 Thread Joe Perches
On Thu, 2012-11-29 at 14:54 -0700, Lance Ortiz wrote: > This patch will provide a more reliable and easy way for user-space > applications to have access to AER logs rather than reading them from the > message buffer. It also provides a way to notify user-space when an AER > event occurs. [] > diff

Re: linux-next: manual merge of the rcu tree with Linus' tree

2012-11-29 Thread Paul E. McKenney
On Thu, Nov 29, 2012 at 02:06:51PM +1100, Stephen Rothwell wrote: > Hi Paul, > > Today's linux-next merge of the rcu tree got a conflict in > arch/x86/kernel/ptrace.c between commit cb57a2b4cff7 ("x86-32: Export > kernel_stack_pointer() for modules") from Linus' tree and commit > 98dbec158343 ("co

Re: [PATCH v3] char/tpm: Use true and false for bools

2012-11-29 Thread Peter Hüwe
Am Donnerstag, 29. November 2012, 23:08:11 schrieb Kent Yoder: > On Thu, Nov 29, 2012 at 01:54:52PM -0800, Joe Perches wrote: > > > > > > - itpm = (probe == 0) ? 0 : 1; > > > + itpm = !!probe; > > > > Even more trivia: > > > > This !! isn't necessary as ints assigned to bool are

Re: [PATCH v2] Do a proper locking for mmap and block size change

2012-11-29 Thread Linus Torvalds
On Thu, Nov 29, 2012 at 1:29 PM, Chris Mason wrote: > > Just reading the new blkdev_get_blocks, it looks like we're mixing > shifts. In direct-io.c map_bh->b_size is how much we'd like to map, and > it has no relation at all to the actual block size of the device. The > interface is abusing b_si

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-29 Thread David Woodhouse
On Thu, 2012-11-29 at 13:29 -0500, chas williams - CONTRACTOR wrote: > On Thu, 29 Nov 2012 18:11:48 + > David Woodhouse wrote: > > > We do see the 'packet received for unknown VCC' complaint, after we > > reboot the host without resetting the card. And as shown in the commit I > > just refere

Re: Regression with initramfs and nfsroot (appears to be in the dcache)

2012-11-29 Thread Al Viro
On Thu, Nov 29, 2012 at 02:06:22PM -0800, Patrick McLean wrote: > I have a trivial reproducer and am happy to help debug in any way that > I can. That patch seems to fix the problem, and produces these > warnings in dmesg: > > [3.306483] dracut: Switching root > [4.324378] systemd-udevd[5

Re: [PATCH V2 00/23] printk: refactoring

2012-11-29 Thread Andrew Morton
On Thu, 29 Nov 2012 14:08:15 -0800 Joe Perches wrote: > On Mon, 2012-11-12 at 15:26 -0800, Andrew Morton wrote: > > On Mon, 12 Nov 2012 14:54:10 -0800 > > Joe Perches wrote: > > > > > On Fri, 2012-11-02 at 06:49 -0700, Joe Perches wrote: > > > > On Wed, 2012-10-24 at 20:43 -0700, Joe Perches wr

RE: [PATCH 2/3] aerdrv: Enhanced AER logging

2012-11-29 Thread Ortiz, Lance E
Yup. You are right. I thought I had it enabled, I will send out the new patch soon. Lance > -Original Message- > From: Joe Perches [mailto:j...@perches.com] > Sent: Thursday, November 29, 2012 3:12 PM > To: Ortiz, Lance E > Cc: bhelg...@google.com; lance_or...@hotmail.com; jiang@hu

Re: [PATCH] lib/raid6: Add AVX2 optimized recovery functions

2012-11-29 Thread H. Peter Anvin
On 11/29/2012 01:18 PM, Andi Kleen wrote: > > Can you quote it from the manual? As I understand volatile as usual > is not clearly defined. > > gcc has a lot of optimization passes and volatile bugs are common. > I talked it over with H.J. and we walked through the code. The documentation is

Re: [PATCH] lib/raid6: Add AVX2 optimized recovery functions

2012-11-29 Thread H. Peter Anvin
On 11/29/2012 01:18 PM, Andi Kleen wrote: > >> Either way, this implementatin technique was used for the MMX/SSE >> implementations without any problems for 9 years now. > > It's still wrong. > > Lying to the compiler usually bites you at some point. > It's not lying to the compiler. It is te

Re: [PATCH 3/5] device_cgroup: keep track of local group settings

2012-11-29 Thread Aristeu Rozanski
On Thu, Nov 29, 2012 at 08:26:08PM +, Serge E. Hallyn wrote: > Quoting Aristeu Rozanski (a...@redhat.com): > > I see your point. it's indeed a problem. in dev_exception_add(), it > > needs to check for permissions before actually adding to > > devcgroup->exceptions. actually, checked again, it

Re: [RFC PATCH v3 0/3] acpi: Introduce prepare_remove device operation

2012-11-29 Thread Toshi Kani
On Thu, 2012-11-29 at 12:48 +0800, Hanjun Guo wrote: > On 2012/11/29 2:41, Toshi Kani wrote: > > On Wed, 2012-11-28 at 19:05 +0800, Hanjun Guo wrote: > >> On 2012/11/24 1:50, Vasilis Liaskovitis wrote: > >>> As discussed in https://patchwork.kernel.org/patch/1581581/ > >>> the driver core remove fu

Re: [PATCH v2] Do a proper locking for mmap and block size change

2012-11-29 Thread Linus Torvalds
On Thu, Nov 29, 2012 at 2:16 PM, Linus Torvalds wrote: > > But you're right. The direct-IO code really *is* violating that, and > knows that get_block() ends up being defined in i_blkbits regardless > of b_size. It turns out fs/ioctl.c does the same - it fills in the buffer head with some random

RE: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-29 Thread Luck, Tony
> The other bit is that if you really really want high reliability, memory > mirroring is the way to go; it is the only way you will be able to > hotremove memory without having to have a pre-event to migrate the > memory away from the affected node before the memory is offlined. Some platforms do

Re: [PATCH 22/25] Generic dynamic per cpu refcounting

2012-11-29 Thread Jamie Lokier
Kent Overstreet wrote: > On Thu, Nov 29, 2012 at 09:54:47PM +0100, Andi Kleen wrote: > > > > The regular atomic_t is limited in ways that you are not. > > > > See my original mail. > > > > > > I don't follow, can you explain? > > > > For most cases the reference count is tied to some object, whic

Re: [PATCH V2 00/23] printk: refactoring

2012-11-29 Thread Joe Perches
On Thu, 2012-11-29 at 14:21 -0800, Andrew Morton wrote: > On Thu, 29 Nov 2012 14:08:15 -0800 > Joe Perches wrote: > > Well, it's getting to be too late for this series. > > Yeah sorry, stuff got in the way, then people patched printk.c. No worries. > > When would be the best time to resubmit an

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-29 Thread H. Peter Anvin
On 11/29/2012 02:41 PM, Luck, Tony wrote: >> The other bit is that if you really really want high reliability, memory >> mirroring is the way to go; it is the only way you will be able to >> hotremove memory without having to have a pre-event to migrate the >> memory away from the affected node bef

Re: Re: Re: Re: Re: Re: [RFC PATCH 0/2] kvm/vmx: Output TSC offset

2012-11-29 Thread Marcelo Tosatti
On Tue, Nov 27, 2012 at 07:53:47PM +0900, Yoshihiro YUNOMAE wrote: > Hi Marcelo, > > (2012/11/27 8:16), Marcelo Tosatti wrote: > >On Mon, Nov 26, 2012 at 08:05:10PM +0900, Yoshihiro YUNOMAE wrote: > >500h. event tsc_write tsc_offset=-3000 > > > >Then a guest trace containing events wit

Re: [PATCH V2 00/23] printk: refactoring

2012-11-29 Thread Kay Sievers
On Thu, Nov 29, 2012 at 11:46 PM, Joe Perches wrote: > It's still a scheduling issue with Kay and Jan's patches. > Does anyone have any idea if/when those patches are going in? I was expecting that Jan rebases the patches incorporating the latest fix. Jan? It should not hold back anything else

Re: Regression with initramfs and nfsroot (appears to be in the dcache)

2012-11-29 Thread Patrick McLean
On 29/11/12 02:21 PM, Al Viro wrote: > On Thu, Nov 29, 2012 at 02:06:22PM -0800, Patrick McLean wrote: > >> I have a trivial reproducer and am happy to help debug in any way that >> I can. That patch seems to fix the problem, and produces these >> warnings in dmesg: > > OK... So we have differin

Re: [PATCH] tmpfs: support SEEK_DATA and SEEK_HOLE (reprise)

2012-11-29 Thread Andrew Morton
On Wed, 28 Nov 2012 17:22:03 -0800 (PST) Hugh Dickins wrote: > Revert 3.5's f21f8062201f ("tmpfs: revert SEEK_DATA and SEEK_HOLE") > to reinstate 4fb5ef089b28 ("tmpfs: support SEEK_DATA and SEEK_HOLE"), > with the intervening additional arg to generic_file_llseek_size(). > > In 3.8, ext4 is expe

Re: MIPS Function Tracer question

2012-11-29 Thread David Daney
On 11/29/2012 01:04 PM, Alan Cooper wrote: I've been doing some testing of the MIPS Function Tracer functionality on the 3.3 kernel. I was surprised to find that the option to generate frame pointers was required for tracing. It is not really required for MIPS function tracing, but the Kconfigs

[PATCH v2 2/3] aerdrv: Enhanced AER logging

2012-11-29 Thread Lance Ortiz
This patch will provide a more reliable and easy way for user-space applications to have access to AER logs rather than reading them from the message buffer. It also provides a way to notify user-space when an AER event occurs. The aer driver is updated to generate a trace event of function 'aer_e

[PATCH] ACPI / PNP: Do not crash due to stale pointer use during system resume

2012-11-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki During resume from system suspend the 'data' field of struct pnp_dev in pnpacpi_set_resources() may be a stale pointer, due to removal of the associated ACPI device node object in the previous suspend-resume cycle. This happens, for example, if a dockable machine is boote

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

2012-11-29 Thread Simon Guinot
On Thu, Nov 29, 2012 at 04:03:09PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the arm-soc tree got a conflict in > drivers/leds/leds-ns2.c between commit 98ea1ea20cb7 ("leds: remove use of > __devinit") from the driver-core tree and commit 72052fcc1026 ("leds: > leds-

RE: [PATCH 2/2] rtc-tps65910: enable RTC power domain on initialization

2012-11-29 Thread Kim, Milo
Hi Venu > > Enabling RTC HW block depends on the default value of TPS65910 > register. > > In some mode, RTC block is disabled by default.(eg. AM3517 > Craneboard) > > In this case, RTC_PWDN(RTC power down) bit should be cleared to > enable > > the RTC HW block. > > From the description of RT

Re: [PATCH] ACPI / PNP: Do not crash due to stale pointer use during system resume

2012-11-29 Thread Shuah Khan
On Thu, Nov 29, 2012 at 4:10 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > During resume from system suspend the 'data' field of > struct pnp_dev in pnpacpi_set_resources() may be a stale pointer, > due to removal of the associated ACPI device node object in the > previous suspend-re

Re: [RFC PATCH v3 3/3] acpi_memhotplug: Allow eject to proceed on rebind scenario

2012-11-29 Thread Toshi Kani
On Thu, 2012-11-29 at 23:11 +0100, Rafael J. Wysocki wrote: > On Thursday, November 29, 2012 02:46:44 PM Toshi Kani wrote: > > On Thu, 2012-11-29 at 22:23 +0100, Rafael J. Wysocki wrote: > > > On Thursday, November 29, 2012 01:38:39 PM Toshi Kani wrote: > > > > > > Well, let's put it this way: If

Re: [PATCH] tmpfs: support SEEK_DATA and SEEK_HOLE (reprise)

2012-11-29 Thread Hugh Dickins
On Thu, 29 Nov 2012, Andrew Morton wrote: > On Wed, 28 Nov 2012 17:22:03 -0800 (PST) > Hugh Dickins wrote: > > > +/* > > + * llseek SEEK_DATA or SEEK_HOLE through the radix_tree. > > + */ > > +static pgoff_t shmem_seek_hole_data(struct address_space *mapping, > > + p

Re: [BUG REPORT] [mm-hotplug, aio] aio ring_pages can't be offlined

2012-11-29 Thread Andrew Morton
On Thu, 29 Nov 2012 14:54:58 +0800 Lin Feng wrote: > Hi all, > > We encounter a "Resource temporarily unavailable" fail while trying > to offline a memory section in a movable zone. We found that there are > some pages can't be migrated. The offline operation fails in function > migrate_page_m

[PATCH -next] of: export "allnodes" to fixx w1-gpio.c modular build

2012-11-29 Thread Randy Dunlap
From: Randy Dunlap Fix build when CONFIG_W1_MASTER_GPIO=m by exporting "allnodes". ERROR: "allnodes" [drivers/w1/masters/w1-gpio.ko] undefined! Signed-off-by: Randy Dunlap Cc: Ville Syrjala --- drivers/of/base.c |1 + 1 file changed, 1 insertion(+) --- linux-next-2

Re: Regression with initramfs and nfsroot (appears to be in the dcache)

2012-11-29 Thread Al Viro
On Thu, Nov 29, 2012 at 02:53:13PM -0800, Patrick McLean wrote: > On 29/11/12 02:21 PM, Al Viro wrote: > > On Thu, Nov 29, 2012 at 02:06:22PM -0800, Patrick McLean wrote: > > > >> I have a trivial reproducer and am happy to help debug in any way that > >> I can. That patch seems to fix the problem

Re: [PATCH] ACPI / PNP: Do not crash due to stale pointer use during system resume

2012-11-29 Thread Rafael J. Wysocki
On Thursday, November 29, 2012 04:25:20 PM Shuah Khan wrote: > On Thu, Nov 29, 2012 at 4:10 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > During resume from system suspend the 'data' field of > > struct pnp_dev in pnpacpi_set_resources() may be a stale pointer, > > due to remov

Re: [PATCH] ACPI / PNP: Do not crash due to stale pointer use during system resume

2012-11-29 Thread Shuah Khan
On Thu, Nov 29, 2012 at 4:51 PM, Rafael J. Wysocki wrote: > On Thursday, November 29, 2012 04:25:20 PM Shuah Khan wrote: >> On Thu, Nov 29, 2012 at 4:10 PM, Rafael J. Wysocki wrote: >> > From: Rafael J. Wysocki >> > >> > During resume from system suspend the 'data' field of >> > struct pnp_dev i

Re: [BUG] NULL pointer dereference in 3.7-rc7 (syscall_trace_enter)

2012-11-29 Thread Ian Kumlien
On tor, 2012-11-29 at 20:25 +0100, Borislav Petkov wrote: > On Thu, Nov 29, 2012 at 05:24:03PM +0100, Ian Kumlien wrote: > > > Can you do: > > > > > > make arch/x86/kernel/ptrace.lst > > > > > > and send me that file, privately is fine too. > > > > Done, =) > > Ok, thanks. Here it is: > >

Re: [PATCH] uio.c: Fix warning: 'ret' might be used uninitialized

2012-11-29 Thread Hans J. Koch
On Thu, Nov 29, 2012 at 06:36:59PM +0200, Vitalii Demianets wrote: > > On Thursday 29 November 2012 18:05:27 Tux9 wrote: > > > Hans, I think there are something wrong in your patch, while Vitalii's > > > is right. The variable "ret" is reused in line 292 and line 295, so > > > the value of "ret" wo

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

2012-11-29 Thread Grant Likely
On Thu, 29 Nov 2012 15:57:23 +1100, Stephen Rothwell wrote: > Hi Grant, > > Today's linux-next merge of the gpio tree got a conflict in > drivers/gpio/gpio-em.c between commit 3836309d9346 ("gpio: remove use of > __devinit") from the driver-core tree and commit 7385500a49b7 ("gpio/em: > convert

Re: [PATCH 1/2] zsmalloc: add function to query object size

2012-11-29 Thread Minchan Kim
On Thu, Nov 29, 2012 at 01:09:56AM -0800, Nitin Gupta wrote: > On 11/28/2012 11:45 PM, Minchan Kim wrote: > >On Mon, Nov 26, 2012 at 11:26:40PM -0800, Nitin Gupta wrote: > >>Adds zs_get_object_size(handle) which provides the size of > >>the given object. This is useful since the user (zram etc.) >

Re: [BUG REPORT] [mm-hotplug, aio] aio ring_pages can't be offlined

2012-11-29 Thread Zach Brown
> The best I can think of is to make changes in or around > get_user_pages(), to steal the pages from userspace and replace them > with non-movable ones before pinning them. The performance cost of > something like this would surely be unacceptable for direct-io, but > maybe OK for the aio ring an

Re: [PATCH 1/2] percpu-rwsem: use synchronize_sched_expedited

2012-11-29 Thread Andrew Morton
On Tue, 27 Nov 2012 22:59:52 -0500 (EST) Mikulas Patocka wrote: > percpu-rwsem: use synchronize_sched_expedited > > Use synchronize_sched_expedited() instead of synchronize_sched() > to improve mount speed. > > This patch improves mount time from 0.500s to 0.013s. > > Note: if realtime people

Re: [RFC PATCH v3 3/3] acpi_memhotplug: Allow eject to proceed on rebind scenario

2012-11-29 Thread Rafael J. Wysocki
On Thursday, November 29, 2012 04:17:19 PM Toshi Kani wrote: > On Thu, 2012-11-29 at 23:11 +0100, Rafael J. Wysocki wrote: > > On Thursday, November 29, 2012 02:46:44 PM Toshi Kani wrote: > > > On Thu, 2012-11-29 at 22:23 +0100, Rafael J. Wysocki wrote: > > > > On Thursday, November 29, 2012 01:38:

Re: [PATCH v2 1/1] uio.c: solve memory leak

2012-11-29 Thread Hans J. Koch
On Thu, Nov 29, 2012 at 05:40:00PM +, Cong Ding wrote: > In version 1, I forgot to modify the same bug in the first loop. > > we have to call kobject_put() to clean up the kobject after function > kobject_init(), kobject_add(), or kobject_uevent() is called. Yes, thanks. Incredible how that c

Re: [PATCH 2/2] rtc-tps65910: enable RTC power domain on initialization

2012-11-29 Thread Andrew Morton
On Thu, 29 Nov 2012 23:11:37 + "Kim, Milo" wrote: > Hi Venu > > > > Enabling RTC HW block depends on the default value of TPS65910 > > register. > > > In some mode, RTC block is disabled by default.(eg. AM3517 > > Craneboard) > > > In this case, RTC_PWDN(RTC power down) bit should be clea

Re: [PATCH] tmpfs: support SEEK_DATA and SEEK_HOLE (reprise)

2012-11-29 Thread Andrew Morton
On Thu, 29 Nov 2012 15:29:15 -0800 (PST) Hugh Dickins wrote: > On Thu, 29 Nov 2012, Andrew Morton wrote: > > On Wed, 28 Nov 2012 17:22:03 -0800 (PST) > > Hugh Dickins wrote: > > > > > +/* > > > + * llseek SEEK_DATA or SEEK_HOLE through the radix_tree. > > > + */ > > > +static pgoff_t shmem_seek

Re: Regression with initramfs and nfsroot (appears to be in the dcache)

2012-11-29 Thread Patrick McLean
On 29/11/12 03:43 PM, Al Viro wrote: > On Thu, Nov 29, 2012 at 02:53:13PM -0800, Patrick McLean wrote: >> On 29/11/12 02:21 PM, Al Viro wrote: >>> On Thu, Nov 29, 2012 at 02:06:22PM -0800, Patrick McLean wrote: >>> I have a trivial reproducer and am happy to help debug in any way that I c

Re: [PATCH 14/25] aio: Make aio_read_evt() more efficient

2012-11-29 Thread Kent Overstreet
On Wed, Nov 28, 2012 at 04:38:16PM -0800, Zach Brown wrote: > As mentioned offlist: we don't want to be blocking under > TASK_INTERRUPTIBLE. Is the plan to do a non-blocking check and pop > outside the wait loop to do a blocking copy? Here's the latest version that I posted on irc earlier: comm

Re: Regression with initramfs and nfsroot (appears to be in the dcache)

2012-11-29 Thread Al Viro
On Thu, Nov 29, 2012 at 04:19:51PM -0800, Patrick McLean wrote: > >> [8.821584] FH(0)] > >> [8.821586] FH(36)[01 00 07 01 89 00 00 00 00 00 00 00 e1 21 fe c4 9e > >> 38 44 dc bf 1b d5 95 d6 76 d6 d9 a7 3c 1b 80 33 38 e3 62] > >> [8.821601] filename: proc > > > > *whoa* > > > > So we

Re: [PATCH v3] zram: fix invalid memory references during disk write

2012-11-29 Thread Minchan Kim
Hi Greg, I would like to tidy zram_bvec_write up but it needs more churn than needed to fix this bug and makes review hard. So I want you to pick up this patch asap because it's a candidate of stable. Thanks. On Thu, Nov 29, 2012 at 01:18:48AM -0800, Nitin Gupta wrote: > Changelog v3 vs v2: > -

Re: [PATCH 1/2] zsmalloc: add function to query object size

2012-11-29 Thread Nitin Gupta
On Thu, Nov 29, 2012 at 4:03 PM, Minchan Kim wrote: > On Thu, Nov 29, 2012 at 01:09:56AM -0800, Nitin Gupta wrote: >> On 11/28/2012 11:45 PM, Minchan Kim wrote: >> >On Mon, Nov 26, 2012 at 11:26:40PM -0800, Nitin Gupta wrote: >> >>Adds zs_get_object_size(handle) which provides the size of >> >>the

Re: [BUG] NULL pointer dereference in 3.7-rc7 (syscall_trace_enter)

2012-11-29 Thread Borislav Petkov
On Fri, Nov 30, 2012 at 12:56:08AM +0100, Ian Kumlien wrote: > > From looking at the code, task audit contexts get normally allocated > > at fork time and dealloc'd at task exit time so your process should > > actually have a valid task context. > > Weird, and this should be allocated automaticall

Re: Regression with initramfs and nfsroot (appears to be in the dcache)

2012-11-29 Thread Patrick McLean
On 29/11/12 04:35 PM, Al Viro wrote: > On Thu, Nov 29, 2012 at 04:19:51PM -0800, Patrick McLean wrote: [8.821584] FH(0)] [8.821586] FH(36)[01 00 07 01 89 00 00 00 00 00 00 00 e1 21 fe c4 9e 38 44 dc bf 1b d5 95 d6 76 d6 d9 a7 3c 1b 80 33 38 e3 62] [8.821601] filenam

Re: [PATCH v2 2/3] aerdrv: Enhanced AER logging

2012-11-29 Thread Joe Perches
On Thu, 2012-11-29 at 15:58 -0700, Lance Ortiz wrote: > This patch will provide a more reliable and easy way for user-space > applications to have access to AER logs rather than reading them from the > message buffer. It also provides a way to notify user-space when an AER > event occurs. [] > 0 f

Re: [PATCH] tty: Correct tty buffer flushing.

2012-11-29 Thread Peter Hurley
On Thu, 2012-11-29 at 21:28 +, Alan Cox wrote: > > Sorry, In you reply not all patch. > > Main idea here - we never flash last (struct tty_buffer) in the > > active buffer. Only data for ldisc. (tty->buf.head->read = > > tty->buf.head->commit). At that moment driver can collect(write) data > >

Re: [PATCH v2] Do a proper locking for mmap and block size change

2012-11-29 Thread Chris Mason
On Thu, Nov 29, 2012 at 03:36:38PM -0700, Linus Torvalds wrote: > On Thu, Nov 29, 2012 at 2:16 PM, Linus Torvalds > wrote: > > > > But you're right. The direct-IO code really *is* violating that, and > > knows that get_block() ends up being defined in i_blkbits regardless > > of b_size. > > It tu

Re: [RFC PATCH v3 3/3] acpi_memhotplug: Allow eject to proceed on rebind scenario

2012-11-29 Thread Toshi Kani
On Fri, 2012-11-30 at 01:13 +0100, Rafael J. Wysocki wrote: > On Thursday, November 29, 2012 04:17:19 PM Toshi Kani wrote: > > On Thu, 2012-11-29 at 23:11 +0100, Rafael J. Wysocki wrote: > > > On Thursday, November 29, 2012 02:46:44 PM Toshi Kani wrote: > > > > On Thu, 2012-11-29 at 22:23 +0100, Ra

Re: [PATCH] br2684: don't send frames on not-ready vcc

2012-11-29 Thread Nathan Williams
On Wed, 2012-11-28 at 17:09 +, David Woodhouse wrote: > On Wed, 2012-11-28 at 12:04 -0500, David Miller wrote: > > Do you want me to pull that tree into net-next or is there a plan to > > repost the entire series of work for a final submission? > > I think it needs a little more testing/consen

linux-next: manual merge of the drm tree with Linus' tree

2012-11-29 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in drivers/gpu/drm/nouveau/core/engine/disp/nv50.c between commit 11d92561c81b ("drm/nvc0/disp: fix regression in vblank semaphore release") from Linus' tree and commit 370c00f939c5 ("drm/nv50/disp: initial implementation of the vari

Re: [PATCH 245/270] USB: mct_u232: fix broken close

2012-11-29 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2012 at 04:15:51PM +, Ben Hutchings wrote: > On Mon, 2012-11-26 at 14:58 -0200, Herton Ronaldo Krzesinski wrote: > > 3.5.7u1 -stable review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Johan Hovold > > > > commit 526

Re: [PATCH 028/270] ext4: remove erroneous ext4_superblock_csum_set() in update_backups()

2012-11-29 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2012 at 02:22:19AM +, Ben Hutchings wrote: > On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: > > 3.5.7u1 -stable review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Tao Ma > > > > commit bef53b01f

Re: [PATCH] br2684: don't send frames on not-ready vcc

2012-11-29 Thread David Woodhouse
On Fri, 2012-11-30 at 12:18 +1100, Nathan Williams wrote: > The customer has confirmed that they haven't seen any panics. I tested > these patches on OpenWrt with Kernel 3.3.8 and couldn't get a panic: Thanks. > I haven't tested these ones: > > 230a012 pppoatm: fix missing wakeup in pppoatm_sen

Re: Regression with initramfs and nfsroot (appears to be in the dcache)

2012-11-29 Thread Al Viro
On Thu, Nov 29, 2012 at 04:57:19PM -0800, Patrick McLean wrote: > > Interesting... Server-side that should've been produced by > > encode_entryplus_baggage(), which looks like failing compose_entry_fh()... > > which has explicit > > if (d_mountpoint(dchild)) > > goto out; >

Re: Re: Re: Re: Re: Re: Re: [RFC PATCH 0/2] kvm/vmx: Output TSC offset

2012-11-29 Thread Yoshihiro YUNOMAE
Hi Marcelo, Can you please write a succint but complete description of the method so it can be verified? Sure. - Prerequisite 1. the host TSC is synchronized and stable. 2. kvm_write_tsc_offset events include previous and next TSC offset values. 3. Every event's trace_clock is TSC. - Ass

[PATCH] ARM: sunxi: add missing include for mdelay()

2012-11-29 Thread Josh Cartwright
orm build error seen with today's linux-next-20121129. arch/arm/mach-sunxi/sunxi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c index dc634ae..9be910f 100644 --- a/arch/arm/mach-sunxi/sunxi.c +++ b/arch/arm/mach-sun

Re: [PATCH 036/270] kbuild: Do not package /boot and /lib in make tar-pkg

2012-11-29 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2012 at 02:26:27AM +, Ben Hutchings wrote: > On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: > > 3.5.7u1 -stable review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Michal Marek > > > > commit fe0

Re: [Patch v4 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-11-29 Thread Wen Congyang
At 11/28/2012 05:40 PM, Jianguo Wu Wrote: > Hi Congyang, > > I think vmemmap's pgtable pages should be freed after all entries are > cleared, I have a patch to do this. > The code logic is the same as [Patch v4 09/12] memory-hotplug: remove page > table of x86_64 architecture. > > How do you th

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-29 Thread Chas Williams (CONTRACTOR)
In message <1354227428.21562.230.ca...@shinybook.infradead.org>,David Woodhouse writes: >At this point, I think we're better off as we are (with Krzysztof's >patch 1/7 dropped, and leaving vcc->dev->ops->close() being called >before vcc->push(NULL). We've fairly much solved the issues with that >a

Re: [PATCH 026/270] powerpc/eeh: Lock module while handling EEH event

2012-11-29 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2012 at 02:18:34AM +, Ben Hutchings wrote: > On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: > > 3.5.7u1 -stable review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Gavin Shan > > > > commit feadf

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-29 Thread azurIt
>Here we go with the patch for 3.2.34. Could you test with this one, >please? I installed kernel with this patch, will report back if problem occurs again OR in few weeks if everything will be ok. Thank you! azurIt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

Re: [PATCH 041/270] pnfsblock: fix partial page buffer wirte

2012-11-29 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2012 at 02:33:24AM +, Ben Hutchings wrote: > On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: > > 3.5.7u1 -stable review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Peng Tao > > > > commit fe6e1e8

Re: [PATCH 053/270] mmc: sdhci-s3c: fix the wrong number of max bus clocks

2012-11-29 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2012 at 03:00:13PM +, Ben Hutchings wrote: > On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: > > 3.5.7u1 -stable review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Jaehoon Chung > > > > commit 5f

Re: [PATCH 055/270] ARM: OMAP: counter: add locking to read_persistent_clock

2012-11-29 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2012 at 03:05:20PM +, Ben Hutchings wrote: > On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: > > 3.5.7u1 -stable review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Colin Cross > > > > commit 9d7d

Re: [PATCH 061/270] timekeeping: Cast raw_interval to u64 to avoid shift overflow

2012-11-29 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2012 at 03:08:27PM +, Ben Hutchings wrote: > On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: > > 3.5.7u1 -stable review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Dan Carpenter > > > > commit 5b

Re: [PATCH 1/3] aerdrv: Trace Event for AER

2012-11-29 Thread Steven Rostedt
On Thu, 2012-11-29 at 14:54 -0700, Lance Ortiz wrote: > This header file will define a new trace event that will be triggered when > a AER event occurs. The following data will be provided to the trace > event. > > char * name - String containing the device path > > u32 status - Either the cor

Re: [PATCH 187/270] net/wireless: ipw2200: Fix panic occurring in ipw_handle_promiscuous_tx()

2012-11-29 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2012 at 03:58:51PM +, Ben Hutchings wrote: > On Mon, 2012-11-26 at 14:57 -0200, Herton Ronaldo Krzesinski wrote: > > 3.5.7u1 -stable review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Stanislav Yakovlev > > > > comm

Re: [PATCH 2/3] aerdrv: Enhanced AER logging

2012-11-29 Thread Steven Rostedt
On Thu, 2012-11-29 at 14:54 -0700, Lance Ortiz wrote: > --- a/drivers/pci/pcie/aer/aerdrv_errprint.c > +++ b/drivers/pci/pcie/aer/aerdrv_errprint.c > @@ -23,6 +23,10 @@ > > #include "aerdrv.h" > > +#define CREATE_TRACE_POINTS > +#define TRACE_INCLUDE_PATH ../../../../include/ras > +#include

Re: Regression with initramfs and nfsroot (appears to be in the dcache)

2012-11-29 Thread Patrick McLean
On 29/11/12 05:36 PM, Al Viro wrote: > On Thu, Nov 29, 2012 at 04:57:19PM -0800, Patrick McLean wrote: >>> Interesting... Server-side that should've been produced by >>> encode_entryplus_baggage(), which looks like failing compose_entry_fh()... >>> which has explicit >>> if (d_mountpoint(d

[PATCH] 6lowpan: consider checksum bytes in fragmentation threshold

2012-11-29 Thread Alan Ott
Change the threshold for framentation of a lowpan packet from using the MTU size to now use the MTU size minus the checksum length, which is added by the hardware. For IEEE 802.15.4, this effectively changes it from 127 bytes to 125 bytes. Signed-off-by: Alan Ott --- net/ieee802154/6lowpan.c | 3

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-29 Thread David Woodhouse
On Thu, 2012-11-29 at 20:38 -0500, Chas Williams (CONTRACTOR) wrote: > it isnt clear to me that fixes the race entirely either. > vcc_destroy_socket() and any of the push()/sends()'s are not > serialized. > while you may clear the ATM_VF_READY flag, you might not clear it soon > enough for any part

Re: [PATCH 1/2] zsmalloc: add function to query object size

2012-11-29 Thread Minchan Kim
On Thu, Nov 29, 2012 at 04:53:15PM -0800, Nitin Gupta wrote: > On Thu, Nov 29, 2012 at 4:03 PM, Minchan Kim wrote: > > On Thu, Nov 29, 2012 at 01:09:56AM -0800, Nitin Gupta wrote: > >> On 11/28/2012 11:45 PM, Minchan Kim wrote: > >> >On Mon, Nov 26, 2012 at 11:26:40PM -0800, Nitin Gupta wrote: > >

Re: [PATCH 188/270] iwlwifi: fix 6000 series channel switch command

2012-11-29 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2012 at 04:02:38PM +, Ben Hutchings wrote: > On Mon, 2012-11-26 at 14:57 -0200, Herton Ronaldo Krzesinski wrote: > > 3.5.7u1 -stable review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Johannes Berg > > > > commit 8f

Re: [PATCH] 6lowpan: consider checksum bytes in fragmentation threshold

2012-11-29 Thread Alan Ott
On 11/29/2012 08:55 PM, Alan Ott wrote: > Change the threshold for framentation of a lowpan packet from > using the MTU size to now use the MTU size minus the checksum length, > which is added by the hardware. For IEEE 802.15.4, this effectively > changes it from 127 bytes to 125 bytes. > Sorry, t

Re: Regression with initramfs and nfsroot (appears to be in the dcache)

2012-11-29 Thread Al Viro
On Thu, Nov 29, 2012 at 05:54:02PM -0800, Patrick McLean wrote: > > Very interesting. Do you have anything mounted on the corresponding > > directories on server? The picture looks like you are getting empty > > fhandles in readdir+ respons for exactly the same directories that happen > > to

Re: [ 02/38] PCI/PM: Fix deadlock when unbinding device if parent in D3cold

2012-11-29 Thread Greg Kroah-Hartman
On Fri, Nov 23, 2012 at 03:47:42PM +0800, Huang Ying wrote: > On Fri, 2012-11-23 at 11:09 +0800, Huang Ying wrote: > > On Fri, 2012-11-23 at 02:35 +, Ben Hutchings wrote: > > > On Wed, 2012-11-21 at 16:39 -0800, Greg Kroah-Hartman wrote: > > > > 3.0-stable review patch. If anyone has any objec

Re: Binutils test suite freezes kernel

2012-11-29 Thread Joseph Parmelee
On Thu, 29 Nov 2012, Andi Kleen wrote: Joseph Parmelee writes: Greetings: The gas test suite in recent binutils snapshots from ftp://sourceware.org/pub/binutils/snapshots/ consistently freezes my i386 custom-built kernels. This may be a kernel configuration problem but if so it has manif

Re: [PATCH] staging: line6: Fix checkpatch.pl switch - case issue

2012-11-29 Thread Greg KH
On Thu, Nov 29, 2012 at 12:21:22PM +0100, Laurent Navet [Mali] wrote: > From: "Laurent Navet [Mali]" > > delete old commentted code to avoid this checkpatch error : > line6/pcm.c:423: ERROR: switch and case should be at the same indent > > Signed-off-by: Laurent Navet [Mali] What is the [Mali

[PATCH 1/1] arch/x86/kvm/cpuid.c: cpuid_maxphyaddr "bad" handling.

2012-11-29 Thread Raphael S Carvalho
Well, the below function reports the physical-address width supported by the processor. It does its work very well, though I found a detail which it doesn't handle at all. PS: The following function is not a patch. int cpuid_maxphyaddr(struct kvm_vcpu *vcpu) { struct kvm_cpuid_entry2 *best

Re: [PATCH] staging/serqt_usb2: Refactor qt_status_change_check() in serqt_usb2.c

2012-11-29 Thread Greg Kroah-Hartman
On Thu, Nov 29, 2012 at 01:57:56PM +0900, YAMANE Toshiaki wrote: > Improved position to increment variable i, > And typo fixes. > > Signed-off-by: YAMANE Toshiaki > --- > drivers/staging/serqt_usb2/serqt_usb2.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --gi

Re: [PATCH v3] zram: fix invalid memory references during disk write

2012-11-29 Thread Greg KH
On Fri, Nov 30, 2012 at 09:36:09AM +0900, Minchan Kim wrote: > Hi Greg, > > I would like to tidy zram_bvec_write up but it needs more churn > than needed to fix this bug and makes review hard. So I want you to pick up > this patch asap because it's a candidate of stable. It is? How come no one s

Re: [PATCH 2/2] i2c-s3c2410: Add bus arbitration implementation

2012-11-29 Thread Simon Glass
+Olof On Thu, Nov 29, 2012 at 8:34 AM, Mark Brown wrote: > On Thu, Nov 29, 2012 at 10:35:35AM +0530, Naveen Krishna Chatradhi wrote: > >> The arbitrator is a general purpose function which uses two GPIOs to >> communicate with another device to claim/release a bus. We use it to >> arbitrate an i2

Re: [PATCH v2] Do a proper locking for mmap and block size change

2012-11-29 Thread Linus Torvalds
On Thu, Nov 29, 2012 at 5:16 PM, Chris Mason wrote: > > I searched through filemap.c for the magic i_size check that would let > us get away with ignoring i_blkbits in get_blocks, but its just not > there. The whole fallback-to-buffered scheme seems to rely on > get_blocks checking for i_size. I

Re: [PATCH v3] zram: fix invalid memory references during disk write

2012-11-29 Thread Greg KH
On Fri, Nov 30, 2012 at 09:36:09AM +0900, Minchan Kim wrote: > Hi Greg, > > I would like to tidy zram_bvec_write up but it needs more churn > than needed to fix this bug and makes review hard. So I want you to pick up > this patch asap because it's a candidate of stable. Ok, I have way too many d

Re: [PATCH 036/270] kbuild: Do not package /boot and /lib in make tar-pkg

2012-11-29 Thread Ben Hutchings
On Thu, 2012-11-29 at 17:38 -0800, Greg Kroah-Hartman wrote: > On Tue, Nov 27, 2012 at 02:26:27AM +, Ben Hutchings wrote: > > On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: > > > 3.5.7u1 -stable review patch. If anyone has any objections, please let > > > me know. > > >

Re: [PATCH v3] zram: fix invalid memory references during disk write

2012-11-29 Thread Nitin Gupta
On Thu, Nov 29, 2012 at 6:13 PM, Greg KH wrote: > On Fri, Nov 30, 2012 at 09:36:09AM +0900, Minchan Kim wrote: >> Hi Greg, >> >> I would like to tidy zram_bvec_write up but it needs more churn >> than needed to fix this bug and makes review hard. So I want you to pick up >> this patch asap because

Re: [Suggestion] drivers/tty: drivers/char/: for MAX_ASYNC_BUFFER_SIZE

2012-11-29 Thread Chen Gang
于 2012年11月29日 21:41, Alan Cox 写道: > On Thu, 29 Nov 2012 13:07:28 +0800 > Chen Gang wrote: > >> Hello Greg Kroah-Hartman: >> >> for MAX_ASYNC_BUFFER_SIZE: >> it is defined as 4096; >> but for the max buffer size which it processes, is 65535. >> so suggest to #define MAX_ASYNC_BUFFER_SIZE 0x1

Re: [PATCH v2] Do a proper locking for mmap and block size change

2012-11-29 Thread Chris Mason
On Thu, Nov 29, 2012 at 07:13:02PM -0700, Linus Torvalds wrote: > On Thu, Nov 29, 2012 at 5:16 PM, Chris Mason wrote: > > > > I searched through filemap.c for the magic i_size check that would let > > us get away with ignoring i_blkbits in get_blocks, but its just not > > there. The whole fallbac

Re: [PATCH 1/2] zsmalloc: add function to query object size

2012-11-29 Thread Nitin Gupta
On Thu, Nov 29, 2012 at 5:58 PM, Minchan Kim wrote: > On Thu, Nov 29, 2012 at 04:53:15PM -0800, Nitin Gupta wrote: >> On Thu, Nov 29, 2012 at 4:03 PM, Minchan Kim wrote: >> > On Thu, Nov 29, 2012 at 01:09:56AM -0800, Nitin Gupta wrote: >> >> On 11/28/2012 11:45 PM, Minchan Kim wrote: >> >> >On Mo

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-29 Thread azurIt
>Here we go with the patch for 3.2.34. Could you test with this one, >please? Michal, unfortunately i had to boot to another kernel because the one with this patch keeps killing my MySQL server :( it was, probably, doing it on OOM in any cgroup - looks like OOM was not choosing processes only f

Re: Regression with initramfs and nfsroot (appears to be in the dcache)

2012-11-29 Thread Patrick McLean
On 29/11/12 06:00 PM, Al Viro wrote: > On Thu, Nov 29, 2012 at 05:54:02PM -0800, Patrick McLean wrote: >>> Very interesting. Do you have anything mounted on the corresponding >>> directories on server? The picture looks like you are getting empty >>> fhandles in readdir+ respons for exactly t

Re: Supermicro X9SRL-F - channel enumeration error & ACPI/firmware bug question

2012-11-29 Thread Robert Hancock
On Thu, Nov 29, 2012 at 12:16 PM, Bjorn Helgaas wrote: > On Thu, Nov 29, 2012 at 1:55 AM, Justin Piszcz > wrote: >> >> >> -Original Message- >> From: Robert Hancock [mailto:hancock...@gmail.com] >> Sent: Wednesday, November 28, 2012 7:55 PM >> To: Justin Piszcz >> Cc: Bjorn Helgaas; Brun

<    1   2   3   4   5   6   >