[tip:x86/urgent] x86, suspend: Correct the restore of CR4, EFER; skip computing EFLAGS.ID

2012-10-01 Thread tip-bot for H. Peter Anvin
Commit-ID: 1396adc3c2bdc556d4cdd1cf107aa0b6d59fbb1e Gitweb: http://git.kernel.org/tip/1396adc3c2bdc556d4cdd1cf107aa0b6d59fbb1e Author: H. Peter Anvin AuthorDate: Mon, 1 Oct 2012 14:34:42 -0700 Committer: Ingo Molnar CommitDate: Tue, 2 Oct 2012 08:42:31 +0200 x86, suspend: Correct the r

Netperf UDP_STREAM regression due to not sending IPIs in ttwu_queue()

2012-10-01 Thread Mel Gorman
I'm going through old test results to see could I find any leftover performance regressions that have not yet been fixed (most have at this point or at least changed in such a way to make a plain revert impossible). One major regression still left is with netperf UDP_STREAM regression. Bisection po

Re: How do I get mac80211 debugfs?

2012-10-01 Thread Rami Rosen
Hi, Could it be that debugfs is not mounted on your filesystem ? In case mount | grep debugfs returns nothing, you can run: mount -t debugfs none_debugs /sys/kernel/debug and try again. Also make sure that CONFIG_MAC80211_DEBUGFS is set location is: -> Networking support (NET [=y])

Re: [PATCH 1/5] dma-buf: remove fallback for !CONFIG_DMA_SHARED_BUFFER

2012-10-01 Thread Thomas Hellstrom
On 10/01/2012 11:47 AM, Maarten Lankhorst wrote: Op 28-09-12 21:42, Thomas Hellstrom schreef: On 09/28/2012 04:14 PM, Maarten Lankhorst wrote: Hey, Op 28-09-12 14:41, Maarten Lankhorst schreef: Documentation says that code requiring dma-buf should add it to select, so inline fallbacks are not

Re: How do I get mac80211 debugfs?

2012-10-01 Thread Johannes Berg
Hi Kevin, > So I tried that but all I got back was: > > cat: /sys/kernel/debug/ieee80211/phy*/queues: No such file or directory > > so I'm assuming it's because I must not have mac80211 debugfs. So how > do I get it? First, make sure it's mounted, check "mount" and if not mount it: sudo m

[git pull] Input updates for 3.7-rc0

2012-10-01 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. A few drivers were updated with device tree bindings and others g

Re: [GIT PULL] Asymmetric keys and module signing

2012-10-01 Thread Rusty Russell
Josh Boyer writes: > On Sat, Sep 29, 2012 at 08:13:25AM +0100, David Howells wrote: >> Rusty Russell wrote: >> >> > [2.808075] Loading module verification certificates >> > [2.809331] X.509: Cert 6e03943da0f3b015ba6ed7f5e0cac4fe48680994 has >> > expired >> > [2.810500] MODSIGN: Pro

Linux-next changes for module and virtio trees.

2012-10-01 Thread Rusty Russell
Hi Stephen, Please remove my quilt tree http://ozlabs.org/~rusty/kernel/rr-latest/ from linux-next, and use my git trees from now on: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git Branches: modules-next virtio-next For others: beware that these will rebase

Re: [GIT PULL] Asymmetric keys and module signing

2012-10-01 Thread Rusty Russell
David Howells writes: > Rusty Russell wrote: > >> I noticed the Cert number didn't change with rebuilds: "distclean" >> didn't remove some files: >> >> $ git clean -f -f -x -d >> Removing extra_certificates >> Removing signing_key.priv >> Removing signing_key.x509 >> Removing signing_key.x509.k

Re: [PATCH 1/2] modsign: don't use bashism in sh scripts.

2012-10-01 Thread Rusty Russell
David Howells writes: > Rusty Russell wrote: > >> -source ./.config >> +. ./.config > > Does that make a difference? It does on Ubuntu, where /bin/sh => dash. "source" is a bashism. Cheers, Rusty. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body o

Re: [PATCH] block: makes bio_split support bio without data

2012-10-01 Thread NeilBrown
On Fri, 28 Sep 2012 09:23:43 -0700 Kent Overstreet wrote: > On Mon, Sep 24, 2012 at 02:56:39PM +1000, NeilBrown wrote: > > > > Hi Jens, > > this patch has been sitting in my -next tree for a little while and I was > > hoping for it to go in for the next merge window. > > It simply allows bio_

Re: [PATCHv3 2/4] Input: keypad: Add smsc ece1099 keypad driver

2012-10-01 Thread Dmitry Torokhov
Hi Sourav, On Mon, Oct 01, 2012 at 04:31:50PM +0530, Sourav Poddar wrote: > From: G, Manjunath Kondaiah > > SMSC ECE1099 is a keyboard scan or GPIO expansion device.The device > supports a keypad scan matrix of 23*8.This driver uses this > device as a keypad driver. > > Tested on omap5430 evm w

Re: [RFC PATCH 0/6] ACPI: ACPI 5.0 device enumeration proposal

2012-10-01 Thread Mika Westerberg
On Mon, Oct 01, 2012 at 02:30:00PM +, Zhang, Rui wrote: > > > > -Original Message- > > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > > Sent: Monday, October 01, 2012 2:45 PM > > To: Zhang, Rui > > Cc: LKML; linux-pm; linux-i2c; linux-a...@vger.kernel.org; Len, Brown

Re: [PATCH 2/2] pwm: pwm-tiehrpwm: Add device-tree binding support for EHRPWM driver

2012-10-01 Thread Thierry Reding
On Wed, Sep 26, 2012 at 04:57:43PM +0530, Philip, Avinash wrote: > Add support for device-tree binding and of_xlate for EHRWPM driver. > of_xlate provides EHRPWM polarity configuration from client driver > device-tree. > Also size of pwm-cells set to 3 to support pwm channel number, pwm > period &

Re: [RFC PATCH 5/6] ACPI: Introduce ACPI I2C controller enumeration driver

2012-10-01 Thread Mika Westerberg
On Mon, Oct 01, 2012 at 02:19:49PM +, Zhang, Rui wrote: > > > > -Original Message- > > From: linux-i2c-ow...@vger.kernel.org [mailto:linux-i2c- > > ow...@vger.kernel.org] On Behalf Of Mika Westerberg > > Sent: Monday, October 01, 2012 2:55 PM > > To: Zhang, Rui > > Cc: LKML; linux-pm;

Re: [RFC PATCH 1/6] Introduce acpi_match_device_id().

2012-10-01 Thread Mika Westerberg
On Mon, Oct 01, 2012 at 01:56:17PM +, Zhang, Rui wrote: > > > > -Original Message- > > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > > Sent: Monday, October 01, 2012 2:38 PM > > To: Zhang, Rui > > Cc: LKML; linux-pm; linux-i2c; linux-a...@vger.kernel.org; Len, Brown

Re: [PATCH 00/11] x86/microcode: Early load microcode

2012-10-01 Thread H. Peter Anvin
On 10/01/2012 09:27 AM, Borislav Petkov wrote: On Mon, Oct 01, 2012 at 12:11:51PM -0400, Jamie Gloudon wrote: Hey, Any chance of this getting merge for the 3.7 cycle? It is not ready yet: http://marc.info/?l=linux-kernel&m=134910582107898 Yes, Fenghua who has been working on it unfortun

[GIT PULL] GPIO changes for v3.7

2012-10-01 Thread Linus Walleij
Hi Linus, this is my major GPIO pull request for the v3.7 merge window. The description of what's going on is in the tag (see below). I think some of it is prerequisites for the ARM SoC tree so better send this pull early. All has boiled in -next for some time except the 4 topmost commits, which

Re: [PATCH 1/2] pwm: pwm-tiecap: Add device-tree binding support for APWM driver

2012-10-01 Thread Thierry Reding
On Wed, Sep 26, 2012 at 04:57:42PM +0530, Philip, Avinash wrote: [...] > +#include [...] > +static struct pwmss_platform_data am33xx_data = { > + .has_configspace= true, > +}; This structure is defined in a public header. I don't see why it has to, given that it's only used to associa

Re: [ 026/180] eCryptfs: Improve statfs reporting

2012-10-01 Thread Willy Tarreau
On Mon, Oct 01, 2012 at 10:46:56PM -0700, Tyler Hicks wrote: > On 2012-10-02 00:52:23, Willy Tarreau wrote: > > 2.6.32-longterm review patch. If anyone has any objections, please let me > > know. > > Hi - Please drop this patch. It incorrectly calculates f_namelen and I > haven't had a chance to

Re: [PATCH] HID: picoLCD: Remove use of deprecated function

2012-10-01 Thread Tejun Heo
On Tue, Oct 02, 2012 at 12:18:00AM +0200, Jiri Kosina wrote: > Linus has just pulled from me, so if you could take care of this merge > conflict, that'd be awesome. Will do. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

linux-next: manual merge of the signal tree with the vfs tree

2012-10-01 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in fs/exec.c between commit 5b8a94d461a7 ("coredump: move core dump functionality into its own file") from the vfs tree and commits 282124d18626 ("generic kernel_execve()") and 38b983b3461e ("generic sys_execve()") from the signal

Re: [ 026/180] eCryptfs: Improve statfs reporting

2012-10-01 Thread Tyler Hicks
On 2012-10-02 00:52:23, Willy Tarreau wrote: > 2.6.32-longterm review patch. If anyone has any objections, please let me > know. Hi - Please drop this patch. It incorrectly calculates f_namelen and I haven't had a chance to fix it yet. When I get a fix ready, I'll forward the corrected patch to

Re: Re: [PATCH v3 1/3] devfreq: Core updates to support devices which can idle

2012-10-01 Thread MyungJoo Ham
> On 27 September 2012 13:50, MyungJoo Ham wrote: > >> Prepare devfreq core framework to support devices which > >> can idle. When device idleness is detected perhaps through > >> runtime-pm, need some mechanism to suspend devfreq load > >> monitoring and resume back when device is online. Present

Re: [PATCH v2 1/3] w1: mxc_w1: Adapt the clock name to the new clock framework

2012-10-01 Thread Evgeniy Polyakov
On Mon, Oct 01, 2012 at 02:51:44PM -0300, Fabio Estevam (fabio.este...@freescale.com) wrote: > Evgeny, > > Any comments, please? I have no objections per se, but I'm hardly an expert in imx clock framework :) Since it is only one patch in set of 3, I suppose it will be pushed through different

linux-next: manual merge of the arm-soc tree with the spi-mb tree

2012-10-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/spi/spi-tegra.c between commit 536a53a300d0 ("spi: remove completely broken Tegra driver") from the spi-mb tree and commit 5bd276118189 ("spi: tegra: remove support of legacy DMA driver based access") from the arm-soc t

linux-next: manual merge of the arm-soc tree with the spi-mb tree

2012-10-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/spi/Kconfig between commit 536a53a300d0 ("spi: remove completely broken Tegra driver") from the spi-mb tree and commit 5bd276118189 ("spi: tegra: remove support of legacy DMA driver based access") from the arm-soc tree.

Re: [PATCH v3 -tip 5/5] AHCI: Support multiple MSIs

2012-10-01 Thread Ingo Molnar
* Alexander Gordeev wrote: > Take advantage of multiple MSIs implementation on x86 - on systems with > IRQ remapping AHCI ports not only get assigned separate MSI vectors - > but also separate IRQs. As result, interrupts generated by different > ports could be serviced on different CPUs rather t

[PATCH v2] serial/arc-uart: Add new driver

2012-10-01 Thread Vineet.Gupta1
From: Vineet Gupta Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x v2: * ttyARC used as device name * Dynamic assignment of major/minor numbers. * Ref counting tty in rx routine to prevent it from disappearing in case of a hangup * s

Re: [PATCH v3 -tip 2/5] x86, MSI: Allocate as many multiple IRQs as requested

2012-10-01 Thread Ingo Molnar
* Alexander Gordeev wrote: > When multiple MSIs are enabled with pci_enable_msi_block() the number of > allocated IRQs 'nvec' is rounded up to the nearest value of power of two. > That could lead to a condition when number of requested and used IRQs is > less than number of actually allocated IR

Re: [PATCH v3 -tip 3/5] x86, MSI: Minor readability fixes

2012-10-01 Thread Ingo Molnar
* Alexander Gordeev wrote: > Signed-off-by: Alexander Gordeev > --- > arch/x86/kernel/apic/io_apic.c |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c > index 84d632b..0489699 100644 > --- a/arch/

Re: [PATCH v3 -tip 1/5] x86, MSI: Support multiple MSIs in presense of IRQ remapping

2012-10-01 Thread Ingo Molnar
* Alexander Gordeev wrote: > The MSI specification has several constraints in comparison with MSI-X, > most notable of them is the inability to configure MSIs independently. > As a result, it is impossible to dispatch interrupts from different > queues to different CPUs. This is largely devalues

Re: [PATCH v3 -tip 5/5] AHCI: Support multiple MSIs

2012-10-01 Thread Jeff Garzik
On 10/02/2012 12:21 AM, Bjorn Helgaas wrote: On Mon, Oct 1, 2012 at 9:04 PM, Jeff Garzik wrote: On 10/01/2012 04:13 AM, Alexander Gordeev wrote: Take advantage of multiple MSIs implementation on x86 - on systems with IRQ remapping AHCI ports not only get assigned separate MSI vectors - but al

Re: [PATCH 00/11] x86/microcode: Early load microcode

2012-10-01 Thread Borislav Petkov
On Mon, Oct 01, 2012 at 07:37:04PM -0400, Jamie Gloudon wrote: > On Mon, Oct 01, 2012 at 06:27:45PM +0200, Borislav Petkov wrote: > > On Mon, Oct 01, 2012 at 12:11:51PM -0400, Jamie Gloudon wrote: > > > Hey, > > > > > > Any chance of this getting merge for the 3.7 cycle? > > > > It is not read

linux-next: build failure after merge of the xen-two tree

2012-10-01 Thread Stephen Rothwell
t_prep': (.text+0x12ddeb): undefined reference to `xen_dbgp_reset_prep' drivers/built-in.o: In function `dbgp_external_startup': (.text+0x12e6a9): undefined reference to `xen_dbgp_external_startup' I have used the xen-two tree from next-20121001 for today. -- Cheers, St

Re: [PATCH v2 2/2] hwmon: (ads7828) add support for ADS7830

2012-10-01 Thread Guenter Roeck
On Mon, Oct 01, 2012 at 11:28:21PM -0400, Vivien Didelot wrote: > Hi Guenter, > Hi Vivien, [ ... ] > > > + } else { > > > + dev_dbg(&client->dev, "doesn't look like an " > > > + "ADS7828 compatible device\n"); > > > > WARNI

Re: [PATCH] serial/arc-uart: Add new driver

2012-10-01 Thread Vineet Gupta
On Friday 28 September 2012 06:32 PM, Alan Cox wrote: >> +static void >> +arc_serial_set_termios(struct uart_port *port, struct ktermios >> *termios, >> + struct ktermios *old) >> +{ >> +struct arc_uart_port *uart = (struct arc_uart_port *)port; >> +unsigned int baud, uar

Re: linux-next: build failure in dwarf-regs.c

2012-10-01 Thread Ian Munsie
Hey Ben, Adding some people to CC... Excerpts from Ben Guthro's message of 2012-10-02 11:02:59 +1000: > I pulled the latest bits up to 797b9e5ae93270ec27a1f1ed48cd697d01b2269f - > but am seeing the following build failure with gcc 4.6.3 Building that SHA works for me (on x86, haven't tried PPC y

[GIT PULL] user namespace changes for v3.7

2012-10-01 Thread Eric W. Biederman
Linus, Please pull the for-linus git tree from: git://git.kernel.org:/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus HEAD: 72235465864d84cedb2d9f26f8e1de824ee20339 userns: Convert the ufs filesystem to use kuid/kgid where appropriate The tree is against v3.6-rc1 Thi

Re: [RFC v9 PATCH 16/21] memory-hotplug: free memmap of sparse-vmemmap

2012-10-01 Thread Ni zhan Chen
On 09/05/2012 05:25 PM, we...@cn.fujitsu.com wrote: From: Yasuaki Ishimatsu All pages of virtual mapping in removed memory cannot be freed, since some pages used as PGD/PUD includes not only removed memory but also other memory. So the patch checks whether page can be freed or not. How to chec

Re: [PATCH v3 -tip 5/5] AHCI: Support multiple MSIs

2012-10-01 Thread Bjorn Helgaas
On Mon, Oct 1, 2012 at 9:04 PM, Jeff Garzik wrote: > On 10/01/2012 04:13 AM, Alexander Gordeev wrote: >> >> Take advantage of multiple MSIs implementation on x86 - on systems with >> IRQ remapping AHCI ports not only get assigned separate MSI vectors - >> but also separate IRQs. As result, interru

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

2012-10-01 Thread Stephen Rothwell
Hi Konrad, Today's linux-next merge of the xen-two tree got a conflict in drivers/xen/Makefile between commit 9fa5780beea1 ("USB EHCI/Xen: propagate controller reset information to hypervisor") from Linus' tree and commit 13febc84849d ("xen: do not compile manage, balloon, pci, acpi, pcpu and cpu_

Re: [PATCH] ACPI: Add new sysfs interface to export device description

2012-10-01 Thread Len Brown
> > To address your comment, I was trying to differentiate between the existence > of the _STR method and the failure to evaluate it. > If an STR method exists, we create the sysfs file. If it fails to evaluate, we will see "No Description" when we read the file. > This would indicate that somet

linux-next: manual merge of the xen-two tree with the arm tree

2012-10-01 Thread Stephen Rothwell
Hi Konrad, Today's linux-next merge of the xen-two tree got a conflict in arch/arm/Kconfig between commit bd51e2f59558 ("ARM: 7506/1: allow for ATAGS to be configured out when DT support is selected") from the arm tree and commit eff8d6447d5f ("xen/arm: introduce CONFIG_XEN on ARM") from the xen-t

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

2012-10-01 Thread Stephen Rothwell
Hi Rob, Today's linux-next merge of the dt-rh tree got a conflict in drivers/of/base.c include/linux/of.h between commit 3296193d1421 ("dt: introduce for_each_available_child_of_node, of_get_next_available_child") from Linus' tree and commit 9c19761a7ecd ("dt: introduce of_get_child_by_name to get

[tip:x86/acpi] ACPI: Fix build when disabled

2012-10-01 Thread tip-bot for David Rientjes
Commit-ID: 3dfd8235002727dbd759bb0f80f8ac862f392071 Gitweb: http://git.kernel.org/tip/3dfd8235002727dbd759bb0f80f8ac862f392071 Author: David Rientjes AuthorDate: Mon, 1 Oct 2012 20:38:47 -0700 Committer: H. Peter Anvin CommitDate: Mon, 1 Oct 2012 20:41:43 -0700 ACPI: Fix build when dis

Re: CONFIG_EXPERT is a booby trap

2012-10-01 Thread David Rientjes
On Sun, 30 Sep 2012, Tim Shepard wrote: > And may I suggest that CONFIG_EXPERT should be factored into two > CONFIGs, one of which makes configuration things visible, and another > which changes the default values to something more appropriate for > embedded systems (perhaps call it CONFIG_EMBEDDE

Re: CONFIG_EXPERT is a booby trap

2012-10-01 Thread David Rientjes
On Mon, 1 Oct 2012, Tim Shepard wrote: > Interestingly, of the 26 configs that use EXPERT in the default > clause, 15 of them are in drivers/hid (see below). > > -Tim Shepard >s...@alum.mit.edu > > - - - - - - - - - - - - - - - - - - - - -

[patch x86/acpi] ACPI: Fix build when disabled

2012-10-01 Thread David Rientjes
"ACPI: Store valid ACPI tables passed via early initrd in reserved memblock areas" breaks the build if either CONFIG_ACPI or CONFIG_BLK_DEV_INITRD is disabled: arch/x86/kernel/setup.c: In function 'setup_arch': arch/x86/kernel/setup.c:944: error: implicit declaration of function 'acpi_initrd_ov

[PATCH v5 3/3] tracing: Format non-nanosec times from tsc clock without a decimal point.

2012-10-01 Thread David Sharp
With the addition of the "tsc" clock, formatting timestamps to look like fractional seconds is misleading. Mark clocks as either in nanoseconds or not, and format non-nanosecond timestamps as decimal integers. Tested: $ cd /sys/kernel/debug/tracing/ $ cat trace_clock [local] global tsc $ echo sche

[PATCH v5 2/3] tracing: Reset ring buffer when changing trace_clocks

2012-10-01 Thread David Sharp
Because the "tsc" clock isn't in nanoseconds, the ring buffer must be reset when changing clocks so that incomparable timestamps don't end up in the same trace. Tested: Confirmed switching clocks resets the trace buffer. Google-Bug-Id: 6980623 Signed-off-by: David Sharp Cc: Steven Rostedt Cc: M

[PATCH v5 1/3] tracing,x86: Add a TSC trace_clock

2012-10-01 Thread David Sharp
In order to promote interoperability between userspace tracers and ftrace, add a trace_clock that reports raw TSC values which will then be recorded in the ring buffer. Userspace tracers that also record TSCs are then on exactly the same time base as the kernel and events can be unambiguously inter

Re: [PATCH v2 2/2] hwmon: (ads7828) add support for ADS7830

2012-10-01 Thread Vivien Didelot
Hi Guenter, On Mon, 2012-10-01 at 18:20 -0700, Guenter Roeck wrote: > On Mon, Oct 01, 2012 at 07:16:24PM -0400, Vivien Didelot wrote: > > From: Guillaume Roguez > > > > The ADS7830 device is almost the same as the ADS7828, > > except that it does 8-bit sampling, instead of 12-bit. > > This patch

Re: [PATCH v2] slab: Ignore internal flags in cache creation

2012-10-01 Thread David Rientjes
On Mon, 1 Oct 2012, Glauber Costa wrote: > diff --git a/mm/slab_common.c b/mm/slab_common.c > index 9c21725..f2682ee 100644 > --- a/mm/slab_common.c > +++ b/mm/slab_common.c > @@ -107,6 +107,15 @@ struct kmem_cache *kmem_cache_create(const char *name, > size_t size, size_t align > if (!kmem

Re: [PATCH v3 -tip 5/5] AHCI: Support multiple MSIs

2012-10-01 Thread Jeff Garzik
On 10/01/2012 04:13 AM, Alexander Gordeev wrote: Take advantage of multiple MSIs implementation on x86 - on systems with IRQ remapping AHCI ports not only get assigned separate MSI vectors - but also separate IRQs. As result, interrupts generated by different ports could be serviced on different

Re: [GIT PULL 0/12] ARM: soc: updates for 3.7, first batch

2012-10-01 Thread Tony Lindgren
* Olof Johansson [121001 19:36]: > On Mon, Oct 01, 2012 at 07:22:34PM -0700, Linus Torvalds wrote: > > > Anyway, you should double-check the merges, the "soc.h" one in > > particular is suspect. > > Yes, my bad for not remembering to move the tag forward. The patch is below. Thanks, the current

Re: [PATCH v2 1/2] hwmon: (ads7828) driver cleanup

2012-10-01 Thread Guenter Roeck
On Mon, Oct 01, 2012 at 10:16:07PM -0400, Vivien Didelot wrote: > Hi Guenter, > [ ... ] > > > > > > -/* Each client has this additional data */ > > > +/** > > > + * struct ads7828_data - client specific data > > > + * @hwmon_dev: The hwmon device. > > > + * @update_lock: Mutex protecti

Re: [ 094/127] md: make sure metadata is updated when spares are activated or removed.

2012-10-01 Thread NeilBrown
On Fri, 28 Sep 2012 16:57:45 -0700 Greg Kroah-Hartman wrote: > On Sat, Sep 29, 2012 at 12:51:04AM +0200, Ben Hutchings wrote: > > On Fri, 2012-09-28 at 13:34 -0700, Greg Kroah-Hartman wrote: > > > 3.0-stable review patch. If anyone has any objections, please let me > > > know. > > > > > >

[PATCH] net: ethernet: davinci_cpdma: decrease the desc count when cleaning up the remaining packets

2012-10-01 Thread Tao Hou
chan->count is used by rx channel. If the desc count is not updated by the clean up loop in cpdma_chan_stop, the value written to the rxfree register in cpdma_chan_start will be incorrect. Signed-off-by: Tao Hou --- drivers/net/ethernet/ti/davinci_cpdma.c |1 + 1 file changed, 1 insertion(+)

Re: [GIT PULL 0/12] ARM: soc: updates for 3.7, first batch

2012-10-01 Thread Olof Johansson
On Mon, Oct 01, 2012 at 07:26:26PM -0700, Linus Torvalds wrote: > On Mon, Oct 1, 2012 at 7:22 PM, Linus Torvalds > wrote: > > > > Ok, I've merged them all. As usual, my end result is slightly > > different from yours, although the differences are pretty small. > > Oh, one more thing: I suspect th

Re: [GIT PULL 0/12] ARM: soc: updates for 3.7, first batch

2012-10-01 Thread Linus Torvalds
On Mon, Oct 1, 2012 at 7:22 PM, Linus Torvalds wrote: > > Ok, I've merged them all. As usual, my end result is slightly > different from yours, although the differences are pretty small. Oh, one more thing: I suspect the OMAP_OCP2SCP config option should depend on CONFIG_ARM or something. Just ba

Re: [GIT PULL 0/12] ARM: soc: updates for 3.7, first batch

2012-10-01 Thread Olof Johansson
Hi, On Mon, Oct 01, 2012 at 07:22:34PM -0700, Linus Torvalds wrote: > On Mon, Oct 1, 2012 at 4:56 PM, Olof Johansson wrote: > > > > Here is the first batch of pull requests for arm-soc for this merge > > window. Some of them are tiny, and we will probably start to combine > > them into slightly l

Re: [PATCH v2 1/4] mfd: 88pm860x: use irqdomain

2012-10-01 Thread Haojian Zhuang
On Sat, Sep 29, 2012 at 7:28 AM, Samuel Ortiz wrote: > Hi Haojian: > > On Fri, Sep 21, 2012 at 06:06:51PM +0800, Haojian Zhuang wrote: >> @@ -593,13 +610,9 @@ static int __devinit device_irq_init(struct pm860x_chip >> *chip, >> : chip->companion; >> unsigned ch

Re: [GIT PULL 0/12] ARM: soc: updates for 3.7, first batch

2012-10-01 Thread Linus Torvalds
On Mon, Oct 1, 2012 at 4:56 PM, Olof Johansson wrote: > > Here is the first batch of pull requests for arm-soc for this merge > window. Some of them are tiny, and we will probably start to combine > them into slightly larger misc branches in the future. I didn't do it > this time around since the

[PATCH] mfd: 88pm860x: use irqdomain

2012-10-01 Thread Haojian Zhuang
Use irqdomain and allocating interrupts. It's necessary for supporting DT mode. Signed-off-by: Haojian Zhuang --- drivers/mfd/88pm860x-core.c | 65 +-- 1 file changed, 38 insertions(+), 27 deletions(-) diff --git a/drivers/mfd/88pm860x-core.c b/drivers/

Re: [PATCH v2 1/2] hwmon: (ads7828) driver cleanup

2012-10-01 Thread Vivien Didelot
Hi Guenter, On Mon, 2012-10-01 at 18:07 -0700, Guenter Roeck wrote: > On Mon, Oct 01, 2012 at 07:16:23PM -0400, Vivien Didelot wrote: > > * Remove unused macros; > > * Point to the documentation; > > * Coding Style fixes (Kernel Doc, spacing); > > * Move driver declaration to avoid adding function

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

2012-10-01 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 --- drivers/char/tpm/tpm.

[PATCH 7/7] aoe: update aoe-internal version number to 50

2012-10-01 Thread Ed Cashin
Signed-off-by: Ed Cashin --- drivers/block/aoe/aoe.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h index c2bf797..d2ed7f1 100644 --- a/drivers/block/aoe/aoe.h +++ b/drivers/block/aoe/aoe.h @@ -1,5 +1,5 @@ /* Copyright

[PATCH 6/7] aoe: update documentation to better reflect aoe-plus-udev usage

2012-10-01 Thread Ed Cashin
Signed-off-by: Ed Cashin --- Documentation/aoe/aoe.txt| 49 +++-- Documentation/aoe/mkdevs.sh | 41 --- Documentation/aoe/mkshelf.sh | 28 Documentation/aoe/status.sh |3 ++ 4 files change

RE: [PATCH net,1/3] hyperv: Fix the max_xfer_size in RNDIS initialization

2012-10-01 Thread Haiyang Zhang
> From: David Miller [da...@davemloft.net] > Sent: Monday, October 01, 2012 6:39 PM > To: Haiyang Zhang > Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; > jasow...@redhat.com; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org > Subje

[PATCH 5/7] aoe: remove unused code

2012-10-01 Thread Ed Cashin
Signed-off-by: Ed Cashin --- drivers/block/aoe/aoe.h |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h index 4ae2468..c2bf797 100644 --- a/drivers/block/aoe/aoe.h +++ b/drivers/block/aoe/aoe.h @@ -10,9 +10,6 @@ #define A

[PATCH 4/7] aoe: make dynamic block minor numbers the default

2012-10-01 Thread Ed Cashin
Because udev use is so widespread, making the old static mapping the default is too conservative, given the severe limitations it places on usable AoE addresses. Storage virtualization and larger shelves have made the old limitations too confining. These changes make the dynamic block device mino

[PATCH 3/7] aoe: update and specify AoE address guards and error messages

2012-10-01 Thread Ed Cashin
In general, specific is better when it comes to messages about AoE usage problems. Also, explicit checks for the AoE broadcast addresses are added. Signed-off-by: Ed Cashin --- drivers/block/aoe/aoe.h|2 -- drivers/block/aoe/aoecmd.c | 17 +++-- 2 files changed, 11 inserti

[PATCH 2/7] aoe: retain static block device numbers for backwards compatibility

2012-10-01 Thread Ed Cashin
The old mapping between AoE target shelf and slot addresses and the block device minor number is retained as a backwards-compatible feature, with a new "aoe_dyndevs" module parameter available for enabling dynamic block device minor numbers. Signed-off-by: Ed Cashin --- drivers/block/aoe/aoedev.

[PATCH 1/7] aoe: support more AoE addresses with dynamic block device minor numbers

2012-10-01 Thread Ed Cashin
The ATA over Ethernet protocol uses a major (shelf) and minor (slot) address to identify a particular storage target. These changes remove an artificial limitation the aoe driver imposes on the use of AoE addresses. For example, without these changes, the slot address has a maximum of 15, but user

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

2012-10-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in Documentation/feature-removal-schedule.txt between commit 9c0ece069b32 ("Get rid of Documentation/feature-removal.txt") from Linus' tree and commits 965505015bec ("netfilter: remove xt_NOTRACK") and 7b55279f6a45 ("NFC: Remove

linux-next: build failure after merge of the acpi tree

2012-10-01 Thread Stephen Rothwell
Hi Len, After merging the acpi tree, today's linux-next build (x86_64_allmodconfig) failed like this: drivers/usb/core/usb-acpi.c: In function 'usb_acpi_check_port_connect_type': drivers/usb/core/usb-acpi.c:90:18: error: storage size of 'pld' isn't known Caused by commit 05f916894a69 ("usb/acpi:

Re: [RFC v9 PATCH 01/21] memory-hotplug: rename remove_memory() to offline_memory()/offline_pages()

2012-10-01 Thread Yasuaki Ishimatsu
Hi Kosaki-san, 2012/09/29 7:15, KOSAKI Motohiro wrote: On Thu, Sep 27, 2012 at 11:50 PM, Yasuaki Ishimatsu wrote: Hi Chen, 2012/09/28 11:22, Ni zhan Chen wrote: On 09/05/2012 05:25 PM, we...@cn.fujitsu.com wrote: From: Yasuaki Ishimatsu remove_memory() only try to offline pages. It is

Re: [PATCH v2 2/2] hwmon: (ads7828) add support for ADS7830

2012-10-01 Thread Guenter Roeck
On Mon, Oct 01, 2012 at 07:16:24PM -0400, Vivien Didelot wrote: > From: Guillaume Roguez > > The ADS7830 device is almost the same as the ADS7828, > except that it does 8-bit sampling, instead of 12-bit. > This patch extends the ads7828 driver to support this chip. > > Signed-off-by: Guillaume R

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

2012-10-01 Thread Stephen Rothwell
Hi Mauro, Today's linux-next merge of the v4l-dvb tree got a conflict in Documentation/feature-removal-schedule.txt between commit 9c0ece069b32 ("Get rid of Documentation/feature-removal.txt") from Linus' tree and commit 251658e5185e ("[media] Schedule removal of i.MX25 support in mx2_camera.c") f

linux-next: build failure in dwarf-regs.c

2012-10-01 Thread Ben Guthro
I pulled the latest bits up to 797b9e5ae93270ec27a1f1ed48cd697d01b2269f - but am seeing the following build failure with gcc 4.6.3 CC arch/x86/util/dwarf-regs.o arch/x86/util/dwarf-regs.c:72:13: error: no previous prototype for 'get_arch_regstr' [-Werror=missing-prototypes] cc1: all warnings bein

RE: linux-next: build failure after merge of the nfs tree

2012-10-01 Thread Myklebust, Trond
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Stephen Rothwell > Sent: Monday, October 01, 2012 8:39 PM > To: Trond Myklebust > Cc: linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: linux-next: b

Re: [PATCH v2 1/2] hwmon: (ads7828) driver cleanup

2012-10-01 Thread Guenter Roeck
On Mon, Oct 01, 2012 at 07:16:23PM -0400, Vivien Didelot wrote: > * Remove unused macros; > * Point to the documentation; > * Coding Style fixes (Kernel Doc, spacing); > * Move driver declaration to avoid adding function prototypes. > > Signed-off-by: Vivien Didelot Hi Vivien, > --- > drivers/

Re: [PATCH 10/36] AArch64: MMU definitions

2012-10-01 Thread Jon Masters
On 07/06/2012 05:05 PM, Catalin Marinas wrote: > +/* > + * PAGE_OFFSET - the virtual address of the start of the kernel image. > + * VA_BITS - the maximum number of bits for virtual addresses. > + * TASK_SIZE - the maximum size of a user space task. > + * TASK_UNMAPPED_BASE - the lower boundary of

Re: [REGRESSION] nfsd crashing with 3.6.0-rc7 on PowerPC

2012-10-01 Thread Benjamin Herrenschmidt
On Mon, 2012-10-01 at 16:03 +0200, Alexander Graf wrote: > Phew. Here we go :). It looks to be more of a PPC specific problem than it > appeared as at first: Ok, so I suspect the problem is the pushing down of the locks which breaks with iommu backends that have a separate flush callback. In that

Re: [PATCH 10/10] bug.h: Add gcc 4.2+ versions of BUILD_BUG_ON_* macros

2012-10-01 Thread Michel Lespinasse
On Fri, Sep 28, 2012 at 4:20 PM, Daniel Santos wrote: > BUILD_BUG_ON42(arg) > BUILD_BUG_ON_CONST42(arg) > > Prior to gcc 4.2, the optimizer was unable to determine that many > constant values stored in structs were indeed compile-time constants and > optimize them out. Sometimes, it will find an

Re: [PATCH 8/10] bug.h: Make BUILD_BUG_ON generate compile-time error

2012-10-01 Thread Michel Lespinasse
On Fri, Sep 28, 2012 at 4:20 PM, Daniel Santos wrote: > Negative sized arrays wont create a compile-time error in some cases > starting with gcc 4.4 (e.g., inlined functions), but gcc 4.3 introduced > the error function attribute that will. This patch modifies > BUILD_BUG_ON to behave like BUILD_

Re: [RFC, PATCH] Extensible AIO interface

2012-10-01 Thread Kent Overstreet
On Mon, Oct 01, 2012 at 04:44:39PM -0700, Zach Brown wrote: > And what about duplicate instances of a given attribute id? Use the > first? The last? Error? Depends on the id? I thought of a better idea, instead of explicitly checking for disallowed dups: We want to return -ENOTHANDLED for not

Re: [PATCH v3 1/3] tracing,x86: add a TSC trace_clock

2012-10-01 Thread Steven Rostedt
On Mon, 2012-10-01 at 17:33 -0700, David Sharp wrote: > > Unfortunately this isn't enough. You need to add a stub in all > > arch/*/include/asm/ directories. That has: > > Oh really? Okay. Sorry, I really don't know the mechanics of the arch > trees. I'll work on that now, and then send you a new

linux-next: build failure after merge of the nfs tree

2012-10-01 Thread Stephen Rothwell
ed by commit 141e1f553b6e ("NFSv4: Fix the minor version callback channel startup"). I have used the nfs tree from next-20121001 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgp6YF9wfQdMY.pgp Description: PGP signature

Re: [RFC v9 PATCH 06/21] memory-hotplug: export the function acpi_bus_remove()

2012-10-01 Thread Ni zhan Chen
On 09/05/2012 05:25 PM, we...@cn.fujitsu.com wrote: From: Wen Congyang The function acpi_bus_remove() can remove a acpi device from acpi device. IIUC, s/acpi device/acpi bus When a acpi device is removed, we need to call this function to remove the acpi device from acpi bus. So export th

Re: [PATCH] ARM: hw_breakpoint: Clear breakpoints before enabling monitor mode

2012-10-01 Thread Stephen Boyd
On 09/24/12 10:19, Will Deacon wrote: > Ok, I've pushed a bunch of patches to my hw-breakpoint branch (head commit > 55cb726797c7). I'll post them to the list after the merge window, but please > do take them for a spin if you get a chance. > Forgot to reply here. Took them for a spin last week wi

Re: [PATCH v3 1/3] tracing,x86: add a TSC trace_clock

2012-10-01 Thread David Sharp
On Fri, Sep 28, 2012 at 8:15 PM, Steven Rostedt wrote: > On Thu, 2012-09-20 at 15:52 -0700, David Sharp wrote: > >> diff --git a/include/asm-generic/trace_clock.h >> b/include/asm-generic/trace_clock.h >> new file mode 100644 >> index 000..6726f1b >> --- /dev/null >> +++ b/include/asm-generic

[PATCH] [PATCH] x86: Don't clobber top of pt_regs in nested NMI

2012-10-01 Thread Salman Qazi
The nested NMI modifies the place (instruction, flags and stack) that the first NMI will iret to. However, the copy of registers modified is exactly the one that is the part of pt_regs in the first NMI. This can change the behaviour of the first NMI. In particular, Google's arch_trigger_all_cpu_

[PATCH v7 05/49] audit: add a new "type" field to audit_names struct

2012-10-01 Thread Jeff Layton
For now, we just have two possibilities: UNKNOWN: for a new audit_names record that we don't know anything about yet NORMAL: for everything else In later patches, we'll add other types so we can distinguish and update records created under different circumstances. Signed-off-by: Jeff Layton ---

[PATCH v7 06/49] audit: set the name_len in audit_inode for parent lookups

2012-10-01 Thread Jeff Layton
Currently, this gets set mostly by happenstance when we call into audit_inode_child. While that might be a little more efficient, it seems wrong. If the syscall ends up failing before audit_inode_child ever gets called, then you'll have an audit_names record that shows the full path but has the par

[PATCH v7 07/49] audit: remove dirlen argument to audit_compare_dname_path

2012-10-01 Thread Jeff Layton
All the callers set this to NULL now. Signed-off-by: Jeff Layton --- kernel/audit.h | 3 +-- kernel/audit_watch.c | 2 +- kernel/auditfilter.c | 6 +- kernel/auditsc.c | 4 ++-- 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/kernel/audit.h b/kernel/audit.h index 27

[PATCH v7 08/49] audit: make audit_compare_dname_path use parent_len helper

2012-10-01 Thread Jeff Layton
From: Eric Paris Signed-off-by: Eric Paris --- kernel/auditfilter.c | 27 +++ 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c index f9c48d0..f47ba18 100644 --- a/kernel/auditfilter.c +++ b/kernel/auditfilter.c @@

[PATCH v7 09/49] audit: optimize audit_compare_dname_path

2012-10-01 Thread Jeff Layton
In the cases where we already know the length of the parent, pass it as a parm so we don't need to recompute it. In the cases where we don't know the length, pass in AUDIT_NAME_FULL (-1) to indicate that it should be determined. Signed-off-by: Jeff Layton --- kernel/audit.h | 5 - ker

[PATCH v7 10/49] audit: overhaul __audit_inode_child to accomodate retrying

2012-10-01 Thread Jeff Layton
In order to accomodate retrying path-based syscalls, we need to add a new "type" argument to audit_inode_child. This will tell us whether we're looking for a child entry that represents a create or a delete. If we find a parent, don't automatically assume that we need to create a new entry. Instea

  1   2   3   4   5   6   7   8   9   >