Re: [PATCH RESEND] acpi: Fix logging when no pci_irq is allocated

2012-11-21 Thread Rafael J. Wysocki
On Wednesday, November 21, 2012 12:53:55 PM Joe Perches wrote: > On Wed, 2012-11-21 at 21:50 +0100, Rafael J. Wysocki wrote: > > On Wednesday, November 21, 2012 05:46:04 AM Joe Perches wrote: > > > On Wed, 2012-11-21 at 16:43 +0800, Daniel J Blueman wrote: > > > > Previously a new line is

[PATCH] tty: Add driver unthrottle in ioctl(...,TCFLSH,..).

2012-11-21 Thread Ilya Zykov
Revert 'tty: fix "IRQ45: nobody cared"' This revert commit 7b292b4bf9a9d6098440d85616d6ca4c608b8304 Function reset_buffer_flags() also invoked during the ioctl(...,TCFLSH,..). At the time of request we can have full buffers and throttled driver too. If we don't unthrottle driver, we can get

[PATCH] TPM: Work around buggy TPMs that block during continue self test

2012-11-21 Thread Jason Gunthorpe
We've been testing an alternative TPM for our embedded products and found random kernel boot failures due to time outs after the continue self test command. This was happening randomly, and has been *very* hard to track down, but it looks like with this chip there is some kind of race with the

Re: [PATCH 4/4] ext3: Warn if mounting rw on a disk requiring stable page writes

2012-11-21 Thread Darrick J. Wong
On Wed, Nov 21, 2012 at 03:15:43AM +0100, Jan Kara wrote: > On Tue 20-11-12 18:00:56, Darrick J. Wong wrote: > > ext3 doesn't properly isolate pages from changes during writeback. Since > > the > > recommended fix is to use ext4, for now we'll just print a warning if the > > user > > tries to

Re: [Pv-drivers] [PATCH 01/12] VMCI: context implementation.

2012-11-21 Thread Andy King
Hi Joe, > Just some trivial notes. Thanks for taking a look! > > + pr_warn("Failed to allocate memory for VMCI context.\n"); > > OOM logging messages aren't necessary as alloc failures > are already logged with a stack trace. Noted, we'll remove all such occurrences. > Maybe just

Re: [PATCH] mm: vmscan: Check for fatal signals iff the process was throttled

2012-11-21 Thread Mel Gorman
On Wed, Nov 21, 2012 at 12:15:59PM -0800, Andrew Morton wrote: > On Wed, 21 Nov 2012 15:38:24 + > Mel Gorman wrote: > > > commit 5515061d22f0 ("mm: throttle direct reclaimers if PF_MEMALLOC reserves > > are low and swap is backed by network storage") introduced a check for > > fatal signals

Re: [PATCH 01/12] VMCI: context implementation.

2012-11-21 Thread Joe Perches
On Wed, 2012-11-21 at 12:31 -0800, George Zhang wrote: > VMCI Context code maintains state for vmci and allows the driver to > communicate > with multiple VMs Just some trivial notes. > diff --git a/drivers/misc/vmw_vmci/vmci_context.c > b/drivers/misc/vmw_vmci/vmci_context.c [] It'd be nicer

[PATCH] of: When constructing the bus id consider assigned-addresses as well

2012-11-21 Thread Jason Gunthorpe
'assigned-addresses' is used for certain PCI device type nodes in lieu of 'reg', since this is enforced by of/address.c, have of_device_make_bus_id look there as well. Signed-off-by: Jason Gunthorpe --- drivers/of/platform.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)

Re: [PATCH v2 00/12] Media Controller capture driver for DM365

2012-11-21 Thread Sakari Ailus
Hi Prabhakar, On Fri, Nov 16, 2012 at 08:15:02PM +0530, Prabhakar Lad wrote: > From: Manjunath Hadli > > This patch set adds media controller based capture driver for > DM365. > > This driver bases its design on Laurent Pinchart's Media Controller Design > whose patches for Media Controller

[PATCH] TPM: Switch to __packed instead of __attribute__((packed))

2012-11-21 Thread Jason Gunthorpe
This seems to be preferred these days. Signed-off-by: Jason Gunthorpe --- drivers/char/tpm/tpm.h | 34 +- 1 files changed, 17 insertions(+), 17 deletions(-) As discussed with Peter. diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index

[PATCH v5] TPM: Issue TPM_STARTUP at driver load if the TPM has not been started

2012-11-21 Thread Jason Gunthorpe
The TPM will respond to TPM_GET_CAP with TPM_ERR_INVALID_POSTINIT if TPM_STARTUP has not been issued. Detect this and automatically issue TPM_STARTUP. This is for embedded applications where the kernel is the first thing to touch the TPM. Signed-off-by: Jason Gunthorpe Tested-by: Peter Huewe

Re: [PATCH 1/3] CLK: uninline clk_prepare() and clk_unprepare()

2012-11-21 Thread Dmitry Torokhov
On Wed, Nov 21, 2012 at 12:43:24PM -0800, Mike Turquette wrote: > Quoting Viresh Kumar (2012-11-20 02:13:55) > > On 20 November 2012 14:52, Dmitry Torokhov > > wrote: > > > We'll need to invoke clk_unprepare() via a pointer in our devm_* > > > conversion so let's uninline the pair. > > > >

Re: [PATCH RESEND] acpi: Fix logging when no pci_irq is allocated

2012-11-21 Thread Joe Perches
On Wed, 2012-11-21 at 21:50 +0100, Rafael J. Wysocki wrote: > On Wednesday, November 21, 2012 05:46:04 AM Joe Perches wrote: > > On Wed, 2012-11-21 at 16:43 +0800, Daniel J Blueman wrote: > > > Previously a new line is implicitly added in the no GSI case: > > > > > > [7.185182] pci

Re: Device tree node to major/minor?

2012-11-21 Thread Simon Glass
Hi Grant, On Wed, Nov 21, 2012 at 7:47 AM, Grant Likely wrote: > On Tue, 20 Nov 2012 15:48:24 -0800, Simon Glass wrote: >> Hi Grant, >> >> On Tue, Nov 20, 2012 at 2:32 PM, Grant Likely >> wrote: >> > On Tue, Nov 20, 2012 at 10:23 PM, Simon Glass wrote: >> >> Hi, >> >> >> >> I hope this is a

Re: [PATCH RESEND] acpi: Fix logging when no pci_irq is allocated

2012-11-21 Thread Rafael J. Wysocki
On Wednesday, November 21, 2012 05:46:04 AM Joe Perches wrote: > On Wed, 2012-11-21 at 16:43 +0800, Daniel J Blueman wrote: > > Previously a new line is implicitly added in the no GSI case: > > > > [7.185182] pci 0001:00:12.0: can't derive routing for PCI INT A > > [7.191352] pci

Re: [RFC PATCH v2 00/15] NFSd state containerization

2012-11-21 Thread J. Bruce Fields
On Thu, Nov 15, 2012 at 01:34:08PM -0500, Jeff Layton wrote: > On Wed, 14 Nov 2012 17:00:36 -0500 > "J. Bruce Fields" wrote: > > > On Wed, Nov 14, 2012 at 06:20:59PM +0300, Stanislav Kinsbursky wrote: > > > This patch set is my first attempt to containerize NFSv4 state - i.e. > > > make it > >

Re: [PATCH 1/3] CLK: uninline clk_prepare() and clk_unprepare()

2012-11-21 Thread Mike Turquette
Quoting Viresh Kumar (2012-11-20 02:13:55) > On 20 November 2012 14:52, Dmitry Torokhov wrote: > > We'll need to invoke clk_unprepare() via a pointer in our devm_* > > conversion so let's uninline the pair. > > Sorry, but you aren't doing this :( > This routine is already uninlined as it is in

[PATCH 6/6] VSOCK: header and config files.

2012-11-21 Thread George Zhang
VSOCK header files, Makefiles and Kconfig systems for Linux VSocket module. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- include/linux/socket.h |4 net/Kconfig |1 net/Makefile|

[PATCH 5/6] VSOCK: utility functions.

2012-11-21 Thread George Zhang
VSOCK utility functions for Linux VSocket module. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- net/vmw_vsock/util.c | 620 ++ net/vmw_vsock/util.h | 314 + 2 files changed,

[PATCH 4/6] VSOCK: statistics implementation.

2012-11-21 Thread George Zhang
VSOCK stats for VMCI Stream Sockets protocol. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- net/vmw_vsock/stats.c | 37 net/vmw_vsock/stats.h | 217 + 2 files changed, 254 insertions(+), 0

[PATCH 3/6] VSOCK: notification implementation.

2012-11-21 Thread George Zhang
VSOCK control notifications for VMCI Stream Sockets protocol. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- net/vmw_vsock/notify.c | 983 net/vmw_vsock/notify.h | 130 ++ 2 files changed, 1113

[PATCH 2/6] VSOCK: vsock address implementaion.

2012-11-21 Thread George Zhang
VSOCK linux address code implementation. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- net/vmw_vsock/vsock_addr.c | 246 net/vmw_vsock/vsock_addr.h | 40 +++ 2 files changed, 286 insertions(+), 0

[PATCH 0/6] VSOCK for Linux upstreaming

2012-11-21 Thread George Zhang
* * * This series of VSOCK linux upstreaming patches include latest udpate from VMware. Summary of changes: - Sparse clean. - Checkpatch clean with one exception, a "complex macro" in which we can't add parentheses. - Remove all runtime assertions. - Fix

[PATCH 12/12] VMCI: Some header and config files.

2012-11-21 Thread George Zhang
VMCI head config patch Adds all the necessary files to enable building of the VMCI module with the Linux Makefiles and Kconfig systems. Also adds the header files used for building modules against the driver. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King

[PATCH 11/12] VMCI: host side driver implementation.

2012-11-21 Thread George Zhang
VMCI host side driver code implementation. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_host.c | 1036 + 1 files changed, 1036 insertions(+), 0 deletions(-) create mode 100644

[PATCH 10/12] VMCI: guest side driver implementation.

2012-11-21 Thread George Zhang
VMCI guest side driver code implementation. Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_guest.c | 757 1 files changed, 757 insertions(+), 0 deletions(-) create mode 100644

[PATCH 09/12] VMCI: routing implementation.

2012-11-21 Thread George Zhang
VMCI routing code is responsible for routing between various hosts/guests as well as routing in nested scenarios. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_route.c | 227

[PATCH 08/12] VMCI: resource object implementation.

2012-11-21 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_resource.c | 232 + drivers/misc/vmw_vmci/vmci_resource.h | 59 2 files

[PATCH 06/12] VMCI: handle array implementation.

2012-11-21 Thread George Zhang
VMCI handle code adds support for dynamic arrays that will grow if they need to. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_handle_array.c | 142 + drivers/misc/vmw_vmci/vmci_handle_array.h |

[PATCH 05/12] VMCI: event handling implementation.

2012-11-21 Thread George Zhang
VMCI event code that manages event handlers and handles callbacks when specific events fire. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_event.c | 224

[PATCH 04/12] VMCI: device driver implementaton.

2012-11-21 Thread George Zhang
VMCI driver code implementes both the host and guest personalities of the VMCI driver. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_driver.c | 117 +++ drivers/misc/vmw_vmci/vmci_driver.h

[PATCH 03/12] VMCI: doorbell implementation.

2012-11-21 Thread George Zhang
VMCI doorbell code allows for notifcations between host and guest. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_doorbell.c | 605 + drivers/misc/vmw_vmci/vmci_doorbell.h | 51 +++ 2 files

[PATCH 02/12] VMCI: datagram implementation.

2012-11-21 Thread George Zhang
VMCI datagram Implements datagrams to allow data to be sent between host and guest. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_datagram.c | 501 + drivers/misc/vmw_vmci/vmci_datagram.h |

[PATCH 01/12] VMCI: context implementation.

2012-11-21 Thread George Zhang
VMCI Context code maintains state for vmci and allows the driver to communicate with multiple VMs. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_context.c | 1223 ++

[PATCH 00/12] VMCI for Linux upstreaming

2012-11-21 Thread George Zhang
* * * This series of VMCI linux upstreaming patches include latest udpate from VMware. Summary of changes: - Sparse clean. - Checkpatch clean with one exception, a "complex macro" in which we can't add parentheses. - Remove all runtime assertions. - Fix

Re: [PATCH] Revert "serial: omap: fix software flow control"

2012-11-21 Thread Greg KH
On Wed, Nov 07, 2012 at 10:56:59AM +0100, Andreas Bießmann wrote: > On 16.10.2012 16:09, Felipe Balbi wrote: > > This reverts commit 957ee7270d632245b43f6feb0e70d9a5e9ea6cf6 > > (serial: omap: fix software flow control). > > > > As Russell has pointed out, that commit isn't fixing > > Software

[tip:core/locking] futex: Avoid wake_futex for a PI futex_q

2012-11-21 Thread tip-bot for Darren Hart
Commit-ID: 0e8f7a5954be13d0c8dcbca3204a9e962498c46e Gitweb: http://git.kernel.org/tip/0e8f7a5954be13d0c8dcbca3204a9e962498c46e Author: Darren Hart AuthorDate: Tue, 20 Nov 2012 23:36:45 -0800 Committer: Thomas Gleixner CommitDate: Wed, 21 Nov 2012 21:05:34 +0100 futex: Avoid wake_futex

Re: [PATCH] mm: vmscan: Check for fatal signals iff the process was throttled

2012-11-21 Thread Andrew Morton
On Wed, 21 Nov 2012 15:38:24 + Mel Gorman wrote: > commit 5515061d22f0 ("mm: throttle direct reclaimers if PF_MEMALLOC reserves > are low and swap is backed by network storage") introduced a check for > fatal signals after a process gets throttled for network storage. The > intention was

Re: [PATCH v3 01/12] x86, boot: move verify_cpu.S after 0x200

2012-11-21 Thread Yinghai Lu
On Wed, Nov 21, 2012 at 11:50 AM, H. Peter Anvin wrote: > The comment is just plain wrong. It assumes you're loading an ELF file, > whereas in practice that is rarely true. > > This does explain why the poor ABI, though. A jump table at the > beginning would have been a lot cleaner. Can you

Re: [PATCH v4] TPM: Issue TPM_STARTUP at driver load if the TPM has not been started

2012-11-21 Thread Jason Gunthorpe
On Wed, Nov 21, 2012 at 09:17:54PM +0100, Peter H?we wrote: > Care to change to > > + "A TPM error (%zd) occurred attempting to determine the > > timeouts\n", > > Sorry that I didn't spot it earlier. Right.. Probably like this in my tree because of:

Re: [PATCH v4] TPM: Issue TPM_STARTUP at driver load if the TPM has not been started

2012-11-21 Thread Peter Hüwe
Hi Jason, Thanks for the updated patch! Sorry, I have one really minor remark left: > + if (rc) { > + dev_err(chip->dev, > + "A TPM error (%d) occurred attempting to determine the > timeouts\n", rc is a ssize_t here and when compiling with C=1 I get

Re: [GIT PULL] arm-soc: Xilinx zynq multiplatform changes for v3.8

2012-11-21 Thread Olof Johansson
Hi, On Wed, Nov 21, 2012 at 04:51:07PM +0100, Michal Simek wrote: > Hi Olof and Arnd, > > based on my chat with Olof today I have created new branch > with 4 patches which move zynq to multiplatform. > > This branch depends on arm-soc devel/debug_ll_init branch because > we needed Rob's "ARM:

Re: [PATCH RFC 09/12] userns: Convert ocfs2 to use kuid and kgid where appropriate

2012-11-21 Thread Joel Becker
On Tue, Nov 20, 2012 at 04:43:37AM -0800, Eric W. Biederman wrote: > diff --git a/fs/ocfs2/acl.c b/fs/ocfs2/acl.c > index 260b162..8a40457 100644 > --- a/fs/ocfs2/acl.c > +++ b/fs/ocfs2/acl.c > @@ -65,7 +65,20 @@ static struct posix_acl *ocfs2_acl_from_xattr(const void > *value, size_t size) >

Re: [PATCH 00/27] Latest numa/core release, v16

2012-11-21 Thread Mel Gorman
On Wed, Nov 21, 2012 at 08:37:12PM +0100, Andrea Arcangeli wrote: > Hi, > > On Wed, Nov 21, 2012 at 10:38:59AM +, Mel Gorman wrote: > > HACKBENCH PIPES > > 3.7.0 3.7.0 3.7.0 > >3.7.0 3.7.0 > >

Re: [PATCH RFC 10/12] userns: Convert xfs to use kuid/kgid/kprojid where appropriate

2012-11-21 Thread Joel Becker
On Wed, Nov 21, 2012 at 10:55:24AM +1100, Dave Chinner wrote: > > diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c > > index 2778258..3656b88 100644 > > --- a/fs/xfs/xfs_inode.c > > +++ b/fs/xfs/xfs_inode.c > > @@ -570,11 +570,12 @@ xfs_dinode_from_disk( > > to->di_version = from

Re: [PATCH RFC 09/12] userns: Convert ocfs2 to use kuid and kgid where appropriate

2012-11-21 Thread Joel Becker
On Tue, Nov 20, 2012 at 04:43:37AM -0800, Eric W. Biederman wrote: > --- a/fs/ocfs2/file.c > +++ b/fs/ocfs2/file.c > @@ -1116,7 +1116,8 @@ int ocfs2_setattr(struct dentry *dentry, struct iattr > *attr) > (unsigned long long)OCFS2_I(inode)->ip_blkno, >

Re: [PATCH v3 01/12] x86, boot: move verify_cpu.S after 0x200

2012-11-21 Thread H. Peter Anvin
On 11/21/2012 11:45 AM, Yinghai Lu wrote: > On Wed, Nov 21, 2012 at 9:23 AM, H. Peter Anvin wrote: >> On 11/20/2012 11:15 PM, Yinghai Lu wrote: >>> >>> We are short of space before 0x200 that is entry for startup_64. >>> >>> And we can not change startup_64 to other value --- ABI ? >> >> >> Here

Re: [PATCH 36/46] mm: numa: Use a two-stage filter to restrict pages being migrated for unlikely task<->node relationships

2012-11-21 Thread Rik van Riel
On 11/21/2012 02:15 PM, Mel Gorman wrote: On Wed, Nov 21, 2012 at 07:25:37PM +0100, Ingo Molnar wrote: As mentioned in my other mail, this patch of yours looks very similar to the numa/core commit attached below, mostly written by Peter: 30f93abc6cb3 sched, numa, mm: Add the scanning page

Re: [PATCH v3 01/12] x86, boot: move verify_cpu.S after 0x200

2012-11-21 Thread Yinghai Lu
On Wed, Nov 21, 2012 at 9:23 AM, H. Peter Anvin wrote: > On 11/20/2012 11:15 PM, Yinghai Lu wrote: >> >> We are short of space before 0x200 that is entry for startup_64. >> >> And we can not change startup_64 to other value --- ABI ? > > > Here you are saying "I don't understand how this works."

Re: [PATCH] perf: call perf_event_comm under task_lock to fix suspicious rcu usage

2012-11-21 Thread Hannes Frederic Sowa
Ping, this problem still persists in v3.7-rc6. Could someone have a look? On Sat, Nov 10, 2012 at 06:32:28AM +0100, Hannes Frederic Sowa wrote: > Following RCU warning showed up while executing a shebang-script under > perf-record (could even be an empty script) on a 3.7-rc4 stable kernel: > >

Re: [PATCH] x86, smpboot: allow manual hotplug of CPUs

2012-11-21 Thread H. Peter Anvin
On 11/21/2012 11:35 AM, Sasha Levin wrote: > On 11/21/2012 02:24 PM, H. Peter Anvin wrote: >> On 11/21/2012 11:19 AM, Sasha Levin wrote: So, are there any mptables platforms which support hotplug? If the answer is "KVM" then the answer is that KVM needs to move to ACPI to get

Re: [RFC 3/3] man-pages: Add man page for vmpressure_fd(2)

2012-11-21 Thread Andrew Morton
On Wed, 21 Nov 2012 15:01:50 + Mel Gorman wrote: > On Tue, Nov 20, 2012 at 10:12:28AM -0800, David Rientjes wrote: > > On Mon, 19 Nov 2012, Anton Vorontsov wrote: > > > > > We try to make userland freeing resources when the system becomes low on > > > memory. Once we're short on memory,

Re: [PATCH 36/46] mm: numa: Use a two-stage filter to restrict pages being migrated for unlikely task<->node relationships

2012-11-21 Thread Mel Gorman
On Wed, Nov 21, 2012 at 07:15:47PM +, Mel Gorman wrote: > I've added a note now to that effect now. For all the patches with notes > or any other ones, I'll be very happy to add the Signed-offs back on if > the original authors acknowledge they are ok with the end result. If you > recall, in

Re: [PATCH 00/27] Latest numa/core release, v16

2012-11-21 Thread Andrea Arcangeli
Hi, On Wed, Nov 21, 2012 at 10:38:59AM +, Mel Gorman wrote: > HACKBENCH PIPES > 3.7.0 3.7.0 3.7.0 > 3.7.0 3.7.0 >rc6-stats-v4r12 rc6-schednuma-v16r2rc6-autonuma-v28fastr3 >

Re: [PATCH] x86, smpboot: allow manual hotplug of CPUs

2012-11-21 Thread Sasha Levin
On 11/21/2012 02:24 PM, H. Peter Anvin wrote: > On 11/21/2012 11:19 AM, Sasha Levin wrote: >>> >>> So, are there any mptables platforms which support hotplug? If the >>> answer is "KVM" then the answer is that KVM needs to move to ACPI to get >>> the proper functionality; putting a hack in is

Re: [RFT PATCH v1 4/5] mm: provide more accurate estimation of pages occupied by memmap

2012-11-21 Thread Andrew Morton
On Wed, 21 Nov 2012 22:52:29 +0800 Jiang Liu wrote: > On 11/21/2012 03:19 AM, Andrew Morton wrote: > > On Tue, 20 Nov 2012 23:18:34 +0800 > > Jiang Liu wrote: > > > +static unsigned long calc_memmap_size(unsigned long spanned_pages, > + unsigned

Re: [PATCH 7/9] ocfs2: Use generic handlers of O_SYNC AIO DIO

2012-11-21 Thread Joel Becker
On Mon, Nov 19, 2012 at 11:51:14PM -0800, Darrick J. Wong wrote: > Use generic handlers to queue fsync() when AIO DIO is completed for O_SYNC > file. > > From: Jan Kara > Signed-off-by: Jan Kara > Signed-off-by: Jeff Moyer Acked-by: Joel Becker > --- > fs/ocfs2/aops.c |6 ++ > 1

Re: [RFT PATCH v1 1/5] mm: introduce new field "managed_pages" to struct zone

2012-11-21 Thread Andrew Morton
On Wed, 21 Nov 2012 22:36:56 +0800 Jiang Liu wrote: > > void mod_zone_managed_pages(struct zone *zone, signed long delta) > > { > > WARN_ON(system_state != SYSTEM_BOOTING && > > !is_locked_memory_hotplug()); > > zone->managed_pages += delta; > > } > This seems a little

Re: [PULL] Yama update (3.8)

2012-11-21 Thread Serge E. Hallyn
Quoting Kees Cook (keesc...@chromium.org): > Hi James, > > Please pull these Yama changes for 3.8. Thanks! > > -Kees, > > The following changes since commit b5666502700855a1eb1a15482005b22478b9460e: > > drivers/char/tpm: remove tasklet and cleanup (2012-11-01 15:23:14 -0500) > > are

Re: [PATCH] x86, smpboot: allow manual hotplug of CPUs

2012-11-21 Thread H. Peter Anvin
On 11/21/2012 11:19 AM, Sasha Levin wrote: >> >> So, are there any mptables platforms which support hotplug? If the >> answer is "KVM" then the answer is that KVM needs to move to ACPI to get >> the proper functionality; putting a hack in is really not okay. > > There are no platforms which

[PATCH] [3.7-rc] fix incorrect NR_FREE_PAGES accounting (appears like memory leak)

2012-11-21 Thread Dave Hansen
This needs to make it in before 3.7 is released. -- There have been some 3.7-rc reports of vm issues, including some kswapd bugs and, more importantly, some memory "leaks": http://www.spinics.net/lists/linux-mm/msg46187.html https://bugzilla.kernel.org/show_bug.cgi?id=50181

Re: [PATCH v2] New Nokia RX-51 power supply battery driver

2012-11-21 Thread Tony Lindgren
* Anton Vorontsov [121119 10:25]: > On Mon, Nov 19, 2012 at 01:18:29PM +0100, Pali Rohár wrote: > [...] > > Ok. Here is missing patch which register this driver in Nokia N900 board > > code. Without it driver is not loaded. > > Cc'ing OMAP folks. Looks OK to me queue with the other patches in

Re: [PATCH] x86, smpboot: allow manual hotplug of CPUs

2012-11-21 Thread Sasha Levin
On 11/21/2012 01:38 PM, H. Peter Anvin wrote: > On 11/21/2012 10:35 AM, Sasha Levin wrote: >>> >>> Reading between the lines, this sounds like would cause a user-visible >>> difference between mptable platforms and ACPI platforms? If so, that is >>> totally unacceptable. If not, the description

Re: [PATCH v2 2/3] input: Cypress PS/2 Trackpad psmouse driver

2012-11-21 Thread Henrik Rydberg
Hi Kamal, > From: Cypress Semiconductor Corporation > > Input/mouse driver for Cypress PS/2 Trackpad. > > Original code contributed by Cypress Semiconductor Corporation, > modified by Kamal Mostafa and Kyle Fazzari. > > BugLink: http://launchpad.net/bugs/978807 > > Signed-off-by: Kamal

Re: [PATCH v3 11/12] x86, boot: add fields to support load bzImage and ramdisk high

2012-11-21 Thread H. Peter Anvin
On 11/21/2012 10:59 AM, Yinghai Lu wrote: > > in boot_param: > > struct setup_header hdr;/* setup header */ /* 0x1f1 */ > __u8 _pad7[0x290-0x1f1-sizeof(struct setup_header)]; > __u32 edd_mbr_sig_buffer[EDD_MBR_SIG_MAX]; /* 0x290 */ > struct e820entry

Re: [PATCH v3 08/12] x86, boot: Don't check if cmd_line_ptr is accessible in misc/decompressor()

2012-11-21 Thread Yinghai Lu
On Wed, Nov 21, 2012 at 9:21 AM, H. Peter Anvin wrote: > On 11/20/2012 11:16 PM, Yinghai Lu wrote: >> >> At that stage, it is already in 32bit protected mode or 64bit mode. >> so we do not need to check if ptr less 1M. >> >> When go from other boot loader (kexec) instead of boot/ code path. >> >>

Re: [PATCH v2] mm: dmapool: use provided gfp flags for all dma_alloc_coherent() calls

2012-11-21 Thread Andrew Morton
On Wed, 21 Nov 2012 10:20:07 +0100 Marek Szyprowski wrote: > Hello, > > On 11/21/2012 9:36 AM, Andrew Morton wrote: > > On Wed, 21 Nov 2012 09:08:52 +0100 Marek Szyprowski > > wrote: > > > > > Hello, > > > > > > On 11/20/2012 8:33 PM, Andrew Morton wrote: > > > > On Tue, 20 Nov 2012 15:31:45

Re: [PATCH 36/46] mm: numa: Use a two-stage filter to restrict pages being migrated for unlikely task<->node relationships

2012-11-21 Thread Mel Gorman
On Wed, Nov 21, 2012 at 07:25:37PM +0100, Ingo Molnar wrote: > > * Mel Gorman wrote: > > > While it is desirable that all threads in a process run on its home > > node, this is not always possible or necessary. There may be more > > threads than exist within the node or the node might

Re: [PATCH 000/493] remove CONFIG_HOTPLUG as an option

2012-11-21 Thread Greg KH
On Wed, Nov 21, 2012 at 01:41:46PM -0500, Bill Pemberton wrote: > Andrew Morton writes: > > > > On Tue, 20 Nov 2012 10:46:11 + Grant Likely > > wrote: > > > > > On Sat, Nov 17, 2012 at 12:19 AM, Bill Pemberton > > > wrote: > > > > CONFIG_HOTPLUG is no longer an optional setting. In

Re: [PATCH 00/46] Automatic NUMA Balancing V4

2012-11-21 Thread Mel Gorman
On Wed, Nov 21, 2012 at 07:21:58PM +0100, Ingo Molnar wrote: > > * Mel Gorman wrote: > > > On Wed, Nov 21, 2012 at 06:33:16PM +0100, Ingo Molnar wrote: > > > > > > * Mel Gorman wrote: > > > > > > > On Wed, Nov 21, 2012 at 06:03:06PM +0100, Ingo Molnar wrote: > > > > > > > > > > * Mel Gorman

Re: [PATCH v3 11/12] x86, boot: add fields to support load bzImage and ramdisk high

2012-11-21 Thread Yinghai Lu
On Wed, Nov 21, 2012 at 9:17 AM, H. Peter Anvin wrote: > On 11/20/2012 11:16 PM, Yinghai Lu wrote: >> >> >> diff --git a/Documentation/x86/boot.txt b/Documentation/x86/boot.txt >> index 9efceff..a8263f7 100644 >> --- a/Documentation/x86/boot.txt >> +++ b/Documentation/x86/boot.txt >> @@ -57,6

Re: [PATCH v5 5/5] ARM: OMAP4: hwmod data: ipu and dsp to use parent clocks instead of leaf clocks

2012-11-21 Thread Tony Lindgren
* Omar Ramirez Luna [121119 17:08]: > This prevents hwmod _enable_clocks...omap2_dflt_clk_enable path > from enabling modulemode inside CLKCTRL using its clk->enable_reg > field. Instead is left to _omap4_enable_module though soc_ops, as > the one in charge of this setting. > > According to

Re: [PATCH v5 4/5] iommu/omap: adapt to runtime pm

2012-11-21 Thread Tony Lindgren
* Omar Ramirez Luna [121119 17:08]: > Use runtime PM functionality interfaced with hwmod enable/idle > functions, to replace direct clock operations and sysconfig > handling. > > Due to reset sequence, pm_runtime_[get|put]_sync must be used, to > avoid possible operations with the module under

Re: [PATCH 2/5] Input: bu21013_ts - Move GPIO init and exit functions into the driver

2012-11-21 Thread Dmitry Torokhov
Hi Lee, On Wed, Nov 14, 2012 at 01:47:14PM +, Lee Jones wrote: > @@ -272,6 +276,60 @@ static irqreturn_t bu21013_gpio_irq(int irq, void > *device_data) > } > > /** > + * bu21013_gpio_board_init() - configures the touch panel > + * @reset_pin: reset pin number > + * > + * This function is

Re: [PATCH 000/493] remove CONFIG_HOTPLUG as an option

2012-11-21 Thread Bill Pemberton
Andrew Morton writes: > > On Tue, 20 Nov 2012 10:46:11 + Grant Likely > wrote: > > > On Sat, Nov 17, 2012 at 12:19 AM, Bill Pemberton wrote: > > > CONFIG_HOTPLUG is no longer an optional setting. In order to remove > > > it as on option code paths that check CONFIG_HOTPLUG will removed >

Re: [PATCH 1/9] vfs: Handle O_SYNC AIO DIO in generic code properly

2012-11-21 Thread Jeff Moyer
Christoph Hellwig writes: > On Wed, Nov 21, 2012 at 11:58:05AM -0500, Jeff Moyer wrote: >> > I'd like to use this as a vehicle to revisit how dio completions work. >> >> I don't like the sound of that. ;-) It sounds like this bugfix may get >> further delayed by the desire for unrelated code

[PATCH linux-next] firmware: Remove last vestiges of dabusb

2012-11-21 Thread Tim Gardner
dabusb was removed with commit dae86ccbc3c185aebfc396e8e668aa3d73d748d8 '[media] dabusb: remove obsolete driver', so remove the last vestiges of firmware and documentation. Cc: Rob Landley Cc: Paul Gortmaker Cc: Andrew Morton Cc: Ben Hutchings Cc: Greg Kroah-Hartman Cc:

Re: [PATCH] x86, smpboot: allow manual hotplug of CPUs

2012-11-21 Thread H. Peter Anvin
On 11/21/2012 10:35 AM, Sasha Levin wrote: >> >> Reading between the lines, this sounds like would cause a user-visible >> difference between mptable platforms and ACPI platforms? If so, that is >> totally unacceptable. If not, the description is confusing. > > With ACPI platforms you don't

Re: [PATCH v4] TPM: Issue TPM_STARTUP at driver load if the TPM has not been started

2012-11-21 Thread Jason Gunthorpe
The TPM will respond to TPM_GET_CAP with TPM_ERR_INVALID_POSTINIT if TPM_STARTUP has not been issued. Detect this and automatically issue TPM_STARTUP. This is for embedded applications where the kernel is the first thing to touch the TPM. Signed-off-by: Jason Gunthorpe Tested-by: Peter Huewe

Re: [PATCH] x86, smpboot: allow manual hotplug of CPUs

2012-11-21 Thread Sasha Levin
On 11/21/2012 01:25 PM, H. Peter Anvin wrote: > On 11/21/2012 10:22 AM, Sasha Levin wrote: >> So far CPU hotplug was ignored for mptable implementations which support it >> by >> having the hotpluggable CPUs marked as disabled during boot. >> >> The current kernel code detects that behaviour and

Re: [PATCH] of: use platform_device_add

2012-11-21 Thread Greg Kroah-Hartman
On Wed, Nov 21, 2012 at 06:15:59PM +, Grant Likely wrote: > This allows platform_device_add a chance to call insert_resource on all > of the resources from OF. At a minimum this fills in proc/iomem and > presumably makes resource tracking and conflict detection work better. > However, it has

Re: [PATCH RESEND 3/7] input: ti_am335x_tsc: Add variance filter

2012-11-21 Thread Dmitry Torokhov
Hi Rachna, On Wed, Nov 07, 2012 at 12:22:00PM +0530, Patil, Rachna wrote: > Only fine tuning variance parameter present in tslib > utility does not help in removing all the ADC noise. > This logic of filtering is necessary to get this > touchscreen to work finely. No, if filtering in tslib is

Re: [PATCH 2/2] i2c: s3c2410: Get the i2c bus number from alias id

2012-11-21 Thread Doug Anderson
On Tue, Nov 20, 2012 at 8:09 PM, Mark Brown wrote: > On Tue, Nov 20, 2012 at 02:27:04PM -0800, Doug Anderson wrote: >> From: Padmavathi Venna >> >> Get the i2c bus number that the device is connected to using the alias >> id. This makes debugging / grokking of kernel messages much easier. > >

Re: [PATCH RESEND 6/7] input: ti_am335x_tsc: Add DT support

2012-11-21 Thread Dmitry Torokhov
Hi Rachna, On Wed, Nov 07, 2012 at 12:22:03PM +0530, Patil, Rachna wrote: > Add DT support for client touchscreen driver > > Signed-off-by: Patil, Rachna > --- > drivers/input/touchscreen/ti_am335x_tsc.c | 60 > - > 1 files changed, 50 insertions(+), 10

Re: [PATCH 1/9] vfs: Handle O_SYNC AIO DIO in generic code properly

2012-11-21 Thread Christoph Hellwig
On Wed, Nov 21, 2012 at 11:58:05AM -0500, Jeff Moyer wrote: > > I'd like to use this as a vehicle to revisit how dio completions work. > > I don't like the sound of that. ;-) It sounds like this bugfix may get > further delayed by the desire for unrelated code cleanup. I've got a prototype

[PATCH 2/2] i2c: pxa: Use i2c-core to get bus number now

2012-11-21 Thread Doug Anderson
The commit: "i2c-core: dt: Pick i2c bus number from i2c alias if present" adds support for automatically picking the bus number based on the alias ID. Remove the now unnecessary code from i2c-pxa that did the same thing. Signed-off-by: Doug Anderson --- drivers/i2c/busses/i2c-pxa.c |8

[PATCH 1/2] i2c-core: dt: Pick i2c bus number from i2c alias if present

2012-11-21 Thread Doug Anderson
This allows you to get the equivalent functionality of i2c_add_numbered_adapter() with all data in the device tree and no special case code in your driver. This is a common device tree technique. For quick reference, the FDT syntax for using an alias to provide an ID looks like: aliases {

Re: [PATCH] x86, smpboot: allow manual hotplug of CPUs

2012-11-21 Thread H. Peter Anvin
On 11/21/2012 10:22 AM, Sasha Levin wrote: > So far CPU hotplug was ignored for mptable implementations which support it by > having the hotpluggable CPUs marked as disabled during boot. > > The current kernel code detects that behaviour and actually deals with it > properly: > > [

Re: [PATCH 36/46] mm: numa: Use a two-stage filter to restrict pages being migrated for unlikely task<->node relationships

2012-11-21 Thread Ingo Molnar
* Mel Gorman wrote: > While it is desirable that all threads in a process run on its home > node, this is not always possible or necessary. There may be more > threads than exist within the node or the node might over-subscribed > with unrelated processes. > > This can cause a situation

[PATCH] of: use platform_device_add

2012-11-21 Thread Grant Likely
This allows platform_device_add a chance to call insert_resource on all of the resources from OF. At a minimum this fills in proc/iomem and presumably makes resource tracking and conflict detection work better. However, it has the side effect of moving all OF generated platform devices from

[PATCH] x86, smpboot: allow manual hotplug of CPUs

2012-11-21 Thread Sasha Levin
So far CPU hotplug was ignored for mptable implementations which support it by having the hotpluggable CPUs marked as disabled during boot. The current kernel code detects that behaviour and actually deals with it properly: [0.00] Intel MultiProcessor Specification v1.4 [

Re: [PATCH 00/46] Automatic NUMA Balancing V4

2012-11-21 Thread Ingo Molnar
* Mel Gorman wrote: > On Wed, Nov 21, 2012 at 06:33:16PM +0100, Ingo Molnar wrote: > > > > * Mel Gorman wrote: > > > > > On Wed, Nov 21, 2012 at 06:03:06PM +0100, Ingo Molnar wrote: > > > > > > > > * Mel Gorman wrote: > > > > > > > > > On Wed, Nov 21, 2012 at 10:21:06AM +, Mel Gorman

[PATCH 2/2] regulator: add a regulator driver for the AS3711 PMIC

2012-11-21 Thread Guennadi Liakhovetski
This driver supports the 4 DCDC and 8 LDO regulators on the AS3711 PMIC. Signed-off-by: Guennadi Liakhovetski --- drivers/regulator/as3711-regulator.c | 381 ++ 1 files changed, 381 insertions(+), 0 deletions(-) create mode 100644

[PATCH 1/2] mfd: add an AS3711 PMIC MFD driver

2012-11-21 Thread Guennadi Liakhovetski
AS3711 is a PMIC with multiple DCDC and LDO power supplies, GPIOs, an RTC, a battery charger and a general purpose ADC. This patch adds support for the MFD with support for a regulator driver and a backlight driver. Signed-off-by: Guennadi Liakhovetski --- An as3711 backlight driver is still

[PATCH] brcmsmac: Add __printf verification to logging prototypes

2012-11-21 Thread Joe Perches
Adding __printf helps spot format and argument mismatches. Signed-off-by: Joe Perches --- drivers/net/wireless/brcm80211/brcmsmac/debug.h | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/brcm80211/brcmsmac/debug.h

Re: [PATCH] of: Have of_device_add call platform_device_add rather than device_add

2012-11-21 Thread Jason Gunthorpe
On Wed, Nov 21, 2012 at 06:07:46PM +, Grant Likely wrote: > > Which is nesting the generic gpio driver under a larger region.. > > Try two sibling nodes with overlapping addresses. There are powerpc > device trees doing that even though it isn't legal by the ofw and > epapr specs. Both my

Re: [PATCH] of: Have of_device_add call platform_device_add rather than device_add

2012-11-21 Thread Grant Likely
On Wed, Nov 21, 2012 at 5:44 PM, Jason Gunthorpe wrote: > On Wed, Nov 21, 2012 at 03:51:04PM +, Grant Likely wrote: >> On Wed, 21 Nov 2012 00:24:48 -0700, Jason Gunthorpe >> wrote: >> > This allows platform_device_add a chance to call insert_resource >> > on all of the resources from OF. At

Re: Lockdep complain for zram

2012-11-21 Thread Nitin Gupta
On 11/21/2012 12:37 AM, Minchan Kim wrote: Hi alls, Today, I saw below complain of lockdep. As a matter of fact, I knew it long time ago but forgot that. The reason lockdep complains is that now zram uses GFP_KERNEL in reclaim path(ex, __zram_make_request) :( I can fix it via replacing

Re: [PATCH 00/27] Latest numa/core release, v16

2012-11-21 Thread Ingo Molnar
* Linus Torvalds wrote: > [...] And not look at vsyscalls or anything, but look at what > schednuma does wrong! I have started 4 independent lines of inquiry to figure out what's wrong on David's system, and all four are in the category of 'what does our tree do to cause a regression': -

Re: [PATCH 00/46] Automatic NUMA Balancing V4

2012-11-21 Thread Mel Gorman
On Wed, Nov 21, 2012 at 06:33:16PM +0100, Ingo Molnar wrote: > > * Mel Gorman wrote: > > > On Wed, Nov 21, 2012 at 06:03:06PM +0100, Ingo Molnar wrote: > > > > > > * Mel Gorman wrote: > > > > > > > On Wed, Nov 21, 2012 at 10:21:06AM +, Mel Gorman wrote: > > > > > > > > > > I am not

  1   2   3   4   5   6   7   8   9   10   >