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 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 -di_version;

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

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: [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 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 h...@zytor.com 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.

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 mgor...@suse.de 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

[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 dvh...@linux.intel.com AuthorDate: Tue, 20 Nov 2012 23:36:45 -0800 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Wed, 21 Nov 2012

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 Flow Control

[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

[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 georgezh...@vmware.com Signed-off-by: Dmitry Torokhov d...@vmware.com Signed-off-by: Andy King ack...@vmware.com --- drivers/misc/vmw_vmci/vmci_context.c | 1223

[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 georgezh...@vmware.com Signed-off-by: Dmitry Torokhov d...@vmware.com Signed-off-by: Andy King ack...@vmware.com --- drivers/misc/vmw_vmci/vmci_datagram.c | 501

[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 georgezh...@vmware.com Signed-off-by: Dmitry Torokhov d...@vmware.com Signed-off-by: Andy King ack...@vmware.com --- drivers/misc/vmw_vmci/vmci_doorbell.c | 605 +

[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 georgezh...@vmware.com Signed-off-by: Dmitry Torokhov d...@vmware.com Signed-off-by: Andy King ack...@vmware.com --- drivers/misc/vmw_vmci/vmci_driver.c | 117

[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 georgezh...@vmware.com Signed-off-by: Dmitry Torokhov d...@vmware.com Signed-off-by: Andy King ack...@vmware.com --- drivers/misc/vmw_vmci/vmci_event.c | 224

[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 georgezh...@vmware.com Signed-off-by: Dmitry Torokhov d...@vmware.com Signed-off-by: Andy King ack...@vmware.com --- drivers/misc/vmw_vmci/vmci_handle_array.c | 142

[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 georgezh...@vmware.com Signed-off-by: Dmitry Torokhov d...@vmware.com Signed-off-by: Andy King ack...@vmware.com --- drivers/misc/vmw_vmci/vmci_resource.c | 232 +

[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 georgezh...@vmware.com Signed-off-by: Dmitry Torokhov d...@vmware.com Signed-off-by: Andy King ack...@vmware.com --- drivers/misc/vmw_vmci/vmci_route.c

[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 d...@vmware.com Signed-off-by: Andy King ack...@vmware.com Signed-off-by: George Zhang georgezh...@vmware.com --- drivers/misc/vmw_vmci/vmci_guest.c | 757 1 files changed, 757

[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 georgezh...@vmware.com Signed-off-by: Dmitry Torokhov d...@vmware.com Signed-off-by: Andy King ack...@vmware.com --- drivers/misc/vmw_vmci/vmci_host.c | 1036 + 1 files changed, 1036

[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 georgezh...@vmware.com Signed-off-by: Dmitry Torokhov

[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 2/6] VSOCK: vsock address implementaion.

2012-11-21 Thread George Zhang
VSOCK linux address code implementation. Signed-off-by: George Zhang georgezh...@vmware.com Signed-off-by: Dmitry Torokhov d...@vmware.com Signed-off-by: Andy King ack...@vmware.com --- net/vmw_vsock/vsock_addr.c | 246 net/vmw_vsock/vsock_addr.h |

[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 georgezh...@vmware.com Signed-off-by: Dmitry Torokhov d...@vmware.com Signed-off-by: Andy King ack...@vmware.com --- net/vmw_vsock/notify.c | 983

[PATCH 4/6] VSOCK: statistics implementation.

2012-11-21 Thread George Zhang
VSOCK stats for VMCI Stream Sockets protocol. Signed-off-by: George Zhang georgezh...@vmware.com Signed-off-by: Dmitry Torokhov d...@vmware.com Signed-off-by: Andy King ack...@vmware.com --- net/vmw_vsock/stats.c | 37 net/vmw_vsock/stats.h | 217

[PATCH 5/6] VSOCK: utility functions.

2012-11-21 Thread George Zhang
VSOCK utility functions for Linux VSocket module. Signed-off-by: George Zhang georgezh...@vmware.com Signed-off-by: Dmitry Torokhov d...@vmware.com Signed-off-by: Andy King ack...@vmware.com --- net/vmw_vsock/util.c | 620 ++ net/vmw_vsock/util.h

[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 georgezh...@vmware.com Signed-off-by: Dmitry Torokhov d...@vmware.com Signed-off-by: Andy King ack...@vmware.com --- include/linux/socket.h |4 net/Kconfig

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 dmitry.torok...@gmail.com 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

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 bfie...@fieldses.org 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

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 0001:00:12.0: 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 grant.lik...@secretlab.ca wrote: On Tue, 20 Nov 2012 15:48:24 -0800, Simon Glass s...@chromium.org wrote: Hi Grant, On Tue, Nov 20, 2012 at 2:32 PM, Grant Likely grant.lik...@secretlab.ca wrote: On Tue, Nov 20, 2012 at 10:23 PM,

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 0001:00:12.0: can't

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 dmitry.torok...@gmail.com wrote: We'll need to invoke clk_unprepare() via a pointer in our devm_* conversion so let's uninline the pair.

[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

[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 jguntho...@obsidianresearch.com --- 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

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 manjunath.ha...@ti.com 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

[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 jguntho...@obsidianresearch.com --- drivers/of/platform.c |2 ++ 1 files changed, 2

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 if

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 mgor...@suse.de 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

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 use

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 mount in

[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

[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

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 implicitly added

<    5   6   7   8   9   10