[PATCH] usb: host: uhci-platform: remove deprecated IRQF_DISABLED

2013-10-05 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/usb/host/uhci-platform.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/host/uhci-platform.c

[PATCH] usb: gadget: mv_u3d_core: remove deprecated IRQF_DISABLED

2013-10-05 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/usb/gadget/mv_u3d_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/mv_u3d_core.c b/d

Re: [PATCH] checkpatch.pl: Check for the FSF mailing address

2013-10-05 Thread Greg Kroah-Hartman
On Sat, Oct 05, 2013 at 11:51:48AM -0700, Joe Perches wrote: > On Sat, 2013-10-05 at 11:43 -0700, Josh Triplett wrote: > > Kernel maintainers reject new instances of the GPL boilerplate paragraph > > directing people to write to the FSF for a copy of the GPL, since the > > FSF has moved in the past

[PATCH] serial: tegra: remove deprecated IRQF_DISABLED

2013-10-05 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/tty/serial/serial-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/serial-tegra.c

[PATCH] serial: bfin_uart: remove deprecated IRQF_DISABLED

2013-10-05 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/tty/serial/bfin_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/bfin_uart.c b/driv

[GIT PULL] slave-dmaengine fixes

2013-10-05 Thread Vinod Koul
Hey Linus, Here is the slave dmanegine fixes. We have the fix for deadlock issue on imx-dma by Michael and Josh's edma config fix along with author change The following changes since commit 272b98c6455f00884f0350f775c5342358ebb73f: Linus Torvalds (1): Linux 3.12-rc1 are available in th

[PATCH] [media] davinci: vpfe: remove deprecated IRQF_DISABLED

2013-10-05 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/s

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-05 Thread Benjamin Herrenschmidt
On Sun, 2013-10-06 at 08:02 +0200, Alexander Gordeev wrote: > On Sun, Oct 06, 2013 at 08:46:26AM +1100, Benjamin Herrenschmidt wrote: > > On Sat, 2013-10-05 at 16:20 +0200, Alexander Gordeev wrote: > > > So my point is - drivers should first obtain a number of MSIs they *can* > > > get, then *deriv

[PATCH] [SCSI] wd7000: remove deprecated IRQF_DISABLED

2013-10-05 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/scsi/wd7000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/wd7000.c b/drivers/scsi/wd7000.c

[PATCH] [SCSI] u14-34f: remove deprecated IRQF_DISABLED

2013-10-05 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/scsi/u14-34f.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/u14-34f.c b/drivers/scsi/u14-34f

driver core: remove dev_attrs from struct class

2013-10-05 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman Now that all in-kernel users of the dev_attrs field are converted to use dev_groups, we can safely remove dev_attrs from struct class. Signed-off-by: Greg Kroah-Hartman --- drivers/base/core.c| 38 +- include/linux/device.h |

[PATCH] driver core: remove dev_bin_attrs from struct class

2013-10-05 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman No in-kernel code is now using this, they have all be converted over to using the bin_attrs support in attribute groups, so this field, and the code in the driver core that was creating/remove the binary files can be removed. Signed-off-by: Greg Kroah-Hartman --- drive

Re: [PATCH RFC v2 3/5] spmi: add generic SPMI controller binding documentation

2013-10-05 Thread Bjorn Andersson
On Tue, Aug 27, 2013 at 2:55 PM, Stephen Warren wrote: > On 08/27/2013 11:01 AM, Josh Cartwright wrote: > ... > cell 0 - address type (0: master, 1: unique ID, 2: group ID, ...) I think it would make sense to have the master id as a property of the bus, as you could consider this to indicate diff

Re: [PATCHSET v2] sysfs: use seq_file and unify regular and bin file handling

2013-10-05 Thread Greg KH
On Tue, Oct 01, 2013 at 05:41:54PM -0400, Tejun Heo wrote: > Hello, > > Changes from the last take[L] are, > > * bin file reads no longer go through seq_file. It goes through a > separate read path implemented in sysfs_bin_read(). bin files > shouldn't see any behavior difference now. > >

Re: [PATCH] intel-iommu: Fix leaks in pagetable freeing

2013-10-05 Thread Greg KH
On Wed, Oct 02, 2013 at 10:44:31AM +0200, Borislav Petkov wrote: > On Sat, Jun 15, 2013 at 10:27:19AM -0600, Alex Williamson wrote: > > At best the current code only seems to free the leaf pagetables and > > the root. If you're unlucky enough to have a large gap (like any > > QEMU guest with more

[PATCH] [SCSI] ibmvstgt: remove deprecated IRQF_DISABLED

2013-10-05 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/scsi/ibmvscsi/ibmvstgt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ibmvscsi/ibmvstgt.c b/

[PATCH] [SCSI] eata: remove deprecated IRQF_DISABLED

2013-10-05 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/scsi/eata.c | 2 +- drivers/scsi/eata_pio.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-05 Thread Alexander Gordeev
On Sun, Oct 06, 2013 at 08:46:26AM +1100, Benjamin Herrenschmidt wrote: > On Sat, 2013-10-05 at 16:20 +0200, Alexander Gordeev wrote: > > So my point is - drivers should first obtain a number of MSIs they *can* > > get, then *derive* a number of MSIs the device is fine with and only then > > reques

[PATCH] [SCSI]: ARM: remove deprecated IRQF_DISABLED

2013-10-05 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/scsi/arm/acornscsi.c | 2 +- drivers/scsi/arm/cumana_1.c | 2 +- drivers/scsi/arm/cumana_2.c | 2 +- drivers/scsi/arm/powertec

[PATCH] [SCSI] misc drivers: remove deprecated IRQF_DISABLED

2013-10-05 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/scsi/aic7xxx_old.c| 2 +- drivers/scsi/dtc.c| 2 +- drivers/scsi/esas2r/esas2r_init.c | 2 +- drivers/sc

Re: [PATCH v6 2/2] mmc: sdhci-msm: Initial support for MSM chipsets

2013-10-05 Thread Bjorn Andersson
Hi Georgi, Thanks for working on this, unfortunately it seems like I need to port the rpm regulators to be able to test this. But I did find that... On Fri, Sep 27, 2013 at 9:57 AM, Georgi Djakov wrote: > ... > +static irqreturn_t sdhci_msm_pwr_irq(int irq, void *data) > +{ > + struct sdhc

[PATCH] [SCSI] aha152x: remove deprecated IRQF_DISABLED

2013-10-05 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Also taking the opportunity to fix checkpatch issues on the lines I modified Signed-off-by: Michael Opdenacker --- drivers/scsi/aha152x.c | 4 ++-- 1 file changed, 2 inserti

[PATCH] [SCSI] aacraid: remove deprecated IRQF_DISABLED

2013-10-05 Thread Michael Opdenacker
Signed-off-by: Michael Opdenacker --- drivers/scsi/aacraid/rx.c | 2 +- drivers/scsi/aacraid/sa.c | 3 +-- drivers/scsi/aacraid/src.c | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/aacraid/rx.c b/drivers/scsi/aacraid/rx.c index dada38a..bf077ce 100644 ---

[PATCH] [SCSI] NCR5380: remove deprecated IRQF_DISABLED

2013-10-05 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/scsi/NCR5380.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/NCR5380.c b/drivers/scsi/NCR5380

[PATCH] PNP: remove deprecated IRQF_DISABLED

2013-10-05 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/pnp/resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pnp/resource.c b/drivers/pnp/resource

[PATCH] net: p54spi: remove deprecated IRQF_DISABLED

2013-10-05 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/net/wireless/p54/p54spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/p54/p54spi.c

Re: [alsa-devel] [RFC/RFT v2 0/4] ALSA: hda - hdmi: ATI/AMD multi-channel and HBR support

2013-10-05 Thread Olivier Langlois
> > > > Rear left and rear right channels are flipped. > > Thanks for testing. > > That seems a bit strange, I would've expected everything to be flipped > if there was a bug there. > Anssi, you were right to be suspicious. The bug was in my wiring. > > >> > >> o Contents of /proc/asound/ca

[PATCH v1 2/3] mrf24j40: Use threaded IRQ handler

2013-10-05 Thread Alan Ott
Eliminate all the workqueue and interrupt enable/disable. Signed-off-by: Alan Ott --- drivers/net/ieee802154/mrf24j40.c | 27 +++ 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/drivers/net/ieee802154/mrf24j40.c b/drivers/net/ieee802154/mrf24j40.c index 66

[PATCH v1 1/3] mrf24j40: Move INIT_COMPLETION() to before packet transmission

2013-10-05 Thread Alan Ott
This avoids a race condition where complete(tx_complete) could be called before tx_complete is initialized. Signed-off-by: Alan Ott --- drivers/net/ieee802154/mrf24j40.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ieee802154/mrf24j40.c b/drivers/net/ieee8

[PATCH v1 3/3] mrf24j40: Use level-triggered interrupts

2013-10-05 Thread Alan Ott
The mrf24j40 generates level interrupts. There are rare cases where it appears that the interrupt line never gets de-asserted between interrupts, causing interrupts to be lost, and causing a hung device from the driver's perspective. Switching the driver to interpret these interrupts as level-trig

[PATCH v1 0/3] Fix race conditions in mrf24j40 interrupts

2013-10-05 Thread Alan Ott
After testing with the betas of this patchset, it's been rebased and is ready for inclusion. David Hauweele noticed that the mrf24j40 would hang arbitrarily after some period of heavy traffic. Two race conditions were discovered, and the driver was changed to use threaded interrupts, since the en

[PATCH v2 1/2] 6lowpan: Only make 6lowpan links to IEEE802154 devices

2013-10-05 Thread Alan Ott
Refuse to create 6lowpan links if the actual hardware interface is of any type other than ARPHRD_IEEE802154. Signed-off-by: Alan Ott Suggested-by: Alexander Aring --- net/ieee802154/6lowpan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan

[PATCH v2 2/2] 6lowpan: Sync default hardware address of lowpan links to their wpan

2013-10-05 Thread Alan Ott
When a lowpan link to a wpan device is created, set the hardware address of the lowpan link to that of the wpan device. Signed-off-by: Alan Ott --- net/ieee802154/6lowpan.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c index 8f56b2b..f

[PATCH v2 0/2] 6lowpan default hardware address

2013-10-05 Thread Alan Ott
Alexander Aring suggested that devices desired to be linked to 6lowpan be checked for actually being of type IEEE802154, since IEEE802154 devices are all that are supported by 6lowpan at present. Alan Ott (2): 6lowpan: Only make 6lowpan links to IEEE802154 devices 6lowpan: Sync default hardwar

[no subject]

2013-10-05 Thread jerryfunds7
Do You Need A Loan? Email Us Now At jerryfund...@rediffmail.com With Amount Needed As Loan And Phone Number. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-inf

Re: Introduce support to lazy initialize mostly static keys v2

2013-10-05 Thread David Miller
Please in the future use "[PATCH 0/8] " as a subject prefix for postings such as this one which introduces a patch set. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kern

Re: [dm-devel] dm-writeboost testing

2013-10-05 Thread Akira Hayakawa
Mikulas, > The change seems ok. Please, also move this piece of code in flush_proc > out of the spinlock: > if (kthread_should_stop()) > return 0; > > It caused the workqueue warning I reported before and still causes warning > with kthread

Re: [GIT PATCH] TTY/Serial fixes for 3.12-rc4

2013-10-05 Thread Peter Hurley
On 10/05/2013 07:57 PM, Peter Hurley wrote: On 10/05/2013 02:53 PM, Linus Torvalds wrote: On Sat, Oct 5, 2013 at 10:34 AM, Greg KH wrote: One fixes the reported regression in the n_tty code that a number of people found recently That one looks broken. Well, it looks like it might "work", b

Re: [PATCH] 6lowpan: Sync default hardware address of lowpan links to their wpan

2013-10-05 Thread Alexander Aring
On Sat, Oct 05, 2013 at 09:01:52PM -0400, Alan Ott wrote: > On 10/05/2013 08:24 PM, Alexander Aring wrote: > >Hi Alan, > > > >On Sat, Oct 05, 2013 at 05:38:00PM -0400, Alan Ott wrote: > >>When a lowpan link to a wpan device is created, set the hardware address > >>of the lowpan link to that of the

Re: [PATCH] 6lowpan: Sync default hardware address of lowpan links to their wpan

2013-10-05 Thread Alan Ott
On 10/05/2013 08:24 PM, Alexander Aring wrote: Hi Alan, On Sat, Oct 05, 2013 at 05:38:00PM -0400, Alan Ott wrote: When a lowpan link to a wpan device is created, set the hardware address of the lowpan link to that of the wpan device. Signed-off-by: Alan Ott --- net/ieee802154/6lowpan.c | 3 +

A review of dm-writeboost

2013-10-05 Thread Mikulas Patocka
Hi I looked at dm-writeboost source code and here I'm sending the list of problems I found: Polling for state - Some of the kernel threads that you spawn poll for data in one-second interval - see migrate_proc, modulator_proc, recorder_proc, sync_proc. flush_proc correctly co

Re: [dm-devel] dm-writeboost testing

2013-10-05 Thread Mikulas Patocka
On Sat, 5 Oct 2013, Akira Hayakawa wrote: > Mikulas, > > > nvidia binary driver, but it may happen in other parts of the kernel too. > > The fact that it works in your setup doesn't mean that it is correct. > You are right. I am convinced. > > As far as I looked around the kernel code, > it s

Re: [RFC][PATCH 0/3] vfs: Detach mounts on unlink.

2013-10-05 Thread Eric W. Biederman
Rob Landley writes: > On 10/04/2013 07:03:23 PM, Eric W. Biederman wrote: >> >> In principle I have no problems tweaking rmdir to check for that case. >> >> At the same time the real reason that this is safe is that mount >> points >> are almost always part of trusted paths to important files

[RFC] apparently broken RLIMIT_CORE

2013-10-05 Thread Al Viro
elf_core_dump() writes struct elfhdr, then a bunch of elf_phdr. It sums the sizes of data being written in 'size', checking it against cprm->limit as it goes. So far, so good, but then it proceeds to write_note_info(), which neither checks overflows nor contributes to size. _Then

Re: [PATCH] kernel/irq/proc.c: set MAX_NAMELEN 11 instead of 10 which express the maximize size of "%d" or "%u".

2013-10-05 Thread Chen Gang
On 10/06/2013 01:45 AM, Richard Weinberger wrote: > Am 05.10.2013 19:06, schrieb Chen Gang: >> On 10/06/2013 12:50 AM, Chen Gang wrote: >>> On 10/06/2013 12:08 AM, Richard Weinberger wrote: On Sat, Oct 5, 2013 at 5:46 PM, Chen Gang wrote: > On 10/05/2013 11:41 PM, Joe Perches wrote: >

Re: [RFC][PATCH 0/3] vfs: Detach mounts on unlink.

2013-10-05 Thread Linus Torvalds
On Sat, Oct 5, 2013 at 5:18 PM, Rob Landley wrote: > > Which is why containers have all sorts of extra plumbing. But that extra > plumbing is currently built on pivot_root(), not on chroot(). And I'd > dismissed pivot_root() as residue from initramfs with all that kernel thread > reparenting, so i

Re: [PATCH] 6lowpan: Sync default hardware address of lowpan links to their wpan

2013-10-05 Thread Alexander Aring
Hi Alan, On Sat, Oct 05, 2013 at 05:38:00PM -0400, Alan Ott wrote: > When a lowpan link to a wpan device is created, set the hardware address > of the lowpan link to that of the wpan device. > > Signed-off-by: Alan Ott > --- > net/ieee802154/6lowpan.c | 3 +++ > 1 file changed, 3 insertions(+)

Re: [RFC][PATCH 0/3] vfs: Detach mounts on unlink.

2013-10-05 Thread Rob Landley
On 10/05/2013 06:24:51 PM, Al Viro wrote: On Sat, Oct 05, 2013 at 04:17:55PM -0700, Linus Torvalds wrote: > On Sat, Oct 5, 2013 at 4:07 PM, Rob Landley wrote: > > > > A todo item I've had _forever_ is fixing chroot() to not be broken so that > > you can trivially break out of a chroot via: >

Re: [RFC][PATCH 0/3] vfs: Detach mounts on unlink.

2013-10-05 Thread Rob Landley
On 10/05/2013 06:22:15 PM, Linus Torvalds wrote: On Sat, Oct 5, 2013 at 4:17 PM, Linus Torvalds wrote: > > So learn this pattern: every time you use chroot, add a simple > > chdir("/"); > > immediately after the chroot call. .. btw, also make sure that you close all non-essential file descrip

Re: [RFC][PATCH 0/3] vfs: Detach mounts on unlink.

2013-10-05 Thread Rob Landley
On 10/05/2013 06:19:15 PM, Al Viro wrote: On Sat, Oct 05, 2013 at 06:07:42PM -0500, Rob Landley wrote: > A todo item I've had _forever_ is fixing chroot() to not be broken > so that you can trivially break out of a chroot via: > > chdir("/"); > mkdir("sub"); > chroot("sub"); > chdir("./..

Re: [RFC][PATCH 0/3] vfs: Detach mounts on unlink.

2013-10-05 Thread Rob Landley
On 10/05/2013 06:17:55 PM, Linus Torvalds wrote: On Sat, Oct 5, 2013 at 4:07 PM, Rob Landley wrote: > > A todo item I've had _forever_ is fixing chroot() to not be broken so that > you can trivially break out of a chroot via: What drugs are you on? Enough caffeine to count as a plural. Y

Re: [PATCH net-next v2 3/8] x86/jump_label: expect default_nop if static_key gets enabled on boot-up

2013-10-05 Thread Hannes Frederic Sowa
On Sat, Oct 05, 2013 at 08:05:58PM -0400, Steven Rostedt wrote: > > if (type == JUMP_LABEL_ENABLE) { > > - /* > > -* We are enabling this jump label. If it is not a nop > > -* then something must have gone wrong. > > -*/ > > - if (unlikely

Re: [PATCH net-next v2 3/8] x86/jump_label: expect default_nop if static_key gets enabled on boot-up

2013-10-05 Thread Steven Rostedt
On Sun, 6 Oct 2013 01:20:53 +0200 Hannes Frederic Sowa wrote: > net_get_random_once(intrduced in the next patch) uses static_keys in > a way that they get enabled on boot-up instead of replaced with an > ideal_nop. So check for default_nop on initial enabling. > > Other architectures don't chec

Re: [GIT PATCH] TTY/Serial fixes for 3.12-rc4

2013-10-05 Thread Peter Hurley
On 10/05/2013 02:53 PM, Linus Torvalds wrote: On Sat, Oct 5, 2013 at 10:34 AM, Greg KH wrote: One fixes the reported regression in the n_tty code that a number of people found recently That one looks broken. Well, it looks like it might "work", but do so by hiding the issue for one case, wh

Re: [RFC][PATCH 0/3] vfs: Detach mounts on unlink.

2013-10-05 Thread Rob Landley
On 10/04/2013 07:03:23 PM, Eric W. Biederman wrote: Linus Torvalds writes: > On Fri, Oct 4, 2013 at 3:41 PM, Eric W. Biederman wrote: >> >> After thinking about it removing the restrictions on mount points >> appears safe, because it is just plain dumb to have a mount point >> in a director

Re: [PATCH] DMA: extend documentation to provide more API details

2013-10-05 Thread Russell King - ARM Linux
On Sat, Oct 05, 2013 at 11:00:45PM +0200, Guennadi Liakhovetski wrote: > On Sat, 5 Oct 2013, Russell King - ARM Linux wrote: > > > On Sat, Oct 05, 2013 at 07:36:20PM +0200, Guennadi Liakhovetski wrote: > > > + A DMA transaction descriptor, returned to the user by one of "prep" > > > + methods is c

Re: [RFC][PATCH 0/3] vfs: Detach mounts on unlink.

2013-10-05 Thread Al Viro
On Sat, Oct 05, 2013 at 04:17:55PM -0700, Linus Torvalds wrote: > On Sat, Oct 5, 2013 at 4:07 PM, Rob Landley wrote: > > > > A todo item I've had _forever_ is fixing chroot() to not be broken so that > > you can trivially break out of a chroot via: > > What drugs are you on? > > Your example is

[PATCH net-next v2 1/8] ipv4: split inet_ehashfn to hash functions per compilation unit

2013-10-05 Thread Hannes Frederic Sowa
This duplicates a bit of code but let's us easily introduce separate secret keys later. The separate compilation units are ipv4/inet_hashtabbles.o, ipv4/udp.o and rds/connection.o. Cc: Eric Dumazet Cc: "David S. Miller" Signed-off-by: Hannes Frederic Sowa --- include/net/inet_sock.h| 22 ++

[PATCH net-next v2 3/8] x86/jump_label: expect default_nop if static_key gets enabled on boot-up

2013-10-05 Thread Hannes Frederic Sowa
net_get_random_once(intrduced in the next patch) uses static_keys in a way that they get enabled on boot-up instead of replaced with an ideal_nop. So check for default_nop on initial enabling. Other architectures don't check for this. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc

[PATCH net-next v2 4/8] net: introduce new macro net_get_random_once

2013-10-05 Thread Hannes Frederic Sowa
net_get_random_once is a new macro which handles the initialization of secret keys. It is possible to call it in the fast path. Only the initialization depends on the spinlock and is rather slow. Otherwise it should get used just before the key is used to delay the entropy extration as late as poss

[PATCH net-next v2 5/8] inet: split syncookie keys for ipv4 and ipv6 and initialize with net_get_random_once

2013-10-05 Thread Hannes Frederic Sowa
This patch splits the secret key for syncookies for ipv4 and ipv6 and initializes them with net_get_random_once. This change was the reason I did this series. I think the initialization of the syncookie_secret is way to early. Cc: Florian Westphal Cc: Eric Dumazet Cc: "David S. Miller" Signed-o

[PATCH net-next v2 7/8] tcp: switch tcp_fastopen key generation to net_get_random_once

2013-10-05 Thread Hannes Frederic Sowa
Changed key initialization of tcp_fastopen cookies to net_get_random_once. If the user sets a custom key net_get_random_once must be called at least once to ensure we don't overwrite the user provided key when the first cookie is generated later on. Cc: Yuchung Cheng Cc: Eric Dumazet Cc: "David

Re: [RFC][PATCH 0/3] vfs: Detach mounts on unlink.

2013-10-05 Thread Linus Torvalds
On Sat, Oct 5, 2013 at 4:17 PM, Linus Torvalds wrote: > > So learn this pattern: every time you use chroot, add a simple > > chdir("/"); > > immediately after the chroot call. .. btw, also make sure that you close all non-essential file descriptors. Having any open directory file descriptors po

[PATCH net-next v2 6/8] inet: convert inet_ehash_secret and ipv6_hash_secret to net_get_random_once

2013-10-05 Thread Hannes Frederic Sowa
Initialize the ehash and ipv6_hash_secrets with net_get_random_once. Each compilation unit gets its own secret now: ipv4/inet_hashtables.o ipv4/udp.o ipv6/inet6_hashtables.o ipv6/udp.o rds/connection.o The functions still get inlined into the hashing functions. In the fast path we have

[PATCH net-next v2 2/8] ipv6: split inet6_ehashfn to hash functions per compilation unit

2013-10-05 Thread Hannes Frederic Sowa
This patch splits the inet6_ehashfn into separate ones in ipv6/inet6_hashtables.o and ipv6/udp.o to ease the introduction of seperate secrets keys later. Cc: Eric Dumazet Cc: "David S. Miller" Signed-off-by: Hannes Frederic Sowa --- include/net/inet6_hashtables.h | 29 +++--

Introduce support to lazy initialize mostly static keys v2

2013-10-05 Thread Hannes Frederic Sowa
Hi! This series implements support for delaying the initialization of secret keys, e.g. used for hashing, for as long as possible. This functionality is implemented by a new macro, net_get_random_bytes. I already used it to protect the socket hashes, the syncookie secret (most important) and the

[PATCH net-next v2 8/8] net: switch net_secret key generation to net_get_random_once

2013-10-05 Thread Hannes Frederic Sowa
Cc: Eric Dumazet Cc: "David S. Miller" Signed-off-by: Hannes Frederic Sowa --- net/core/secure_seq.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/net/core/secure_seq.c b/net/core/secure_seq.c index 3f1ec15..b02fd16 100644 --- a/net/core/secure_seq.c +++ b/

Re: [RFC][PATCH 0/3] vfs: Detach mounts on unlink.

2013-10-05 Thread Al Viro
On Sat, Oct 05, 2013 at 06:07:42PM -0500, Rob Landley wrote: > A todo item I've had _forever_ is fixing chroot() to not be broken > so that you can trivially break out of a chroot via: > > chdir("/"); > mkdir("sub"); > chroot("sub"); > chdir("./../../../../../../../.."); > > (Because chro

Re: [RFC][PATCH 0/3] vfs: Detach mounts on unlink.

2013-10-05 Thread Linus Torvalds
On Sat, Oct 5, 2013 at 4:07 PM, Rob Landley wrote: > > A todo item I've had _forever_ is fixing chroot() to not be broken so that > you can trivially break out of a chroot via: What drugs are you on? Your example is moronic, and against all _documented_ uses of chroot. > chdir("/"); > mkdir

Re: [RFC][PATCH 0/3] vfs: Detach mounts on unlink.

2013-10-05 Thread Rob Landley
On 10/04/2013 05:41:25 PM, Eric W. Biederman wrote: This patchset is an attempt to address two problems: 1) Not all modifications to the filesystems happen through the vfs and since the vfs can not cope with a mount point being unlinked or renamed filesystems whose modifications that do no

linux-next: Tree for Oct 4

2013-10-05 Thread Mark Brown
Hi all, Better late than never I've uploaded today's linux-next tree to the master branch of the repository below: git://gitorious.org/thierryreding/linux-next.git A next-20131004 tag is also provided for convenience. Each merge was tested with x86_664 allyesconfig. A few new conflicts

Re: [PATCH] PCI/PM: Removing the function pci_pm_complete()

2013-10-05 Thread Rafael J. Wysocki
On Friday, October 04, 2013 11:47:25 AM Bjorn Helgaas wrote: > On Tue, Sep 10, 2013 at 4:46 AM, Chuansheng Liu > wrote: > > > > Commit(88d2613) removed the pm_runtime_put_sync() from pci_pm_complete() > > to PM core code device_complete(). > > > > Here the pci_pm_complete() is doing the same work

Re: tty^Wrcu/perf lockdep trace.

2013-10-05 Thread Paul E. McKenney
On Sat, Oct 05, 2013 at 09:59:49PM +0200, Peter Zijlstra wrote: > On Sat, Oct 05, 2013 at 09:28:02AM -0700, Paul E. McKenney wrote: > > On Sat, Oct 05, 2013 at 06:05:11PM +0200, Peter Zijlstra wrote: > > > On Fri, Oct 04, 2013 at 02:25:06PM -0700, Paul E. McKenney wrote: > > > > >

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-05 Thread Benjamin Herrenschmidt
On Sat, 2013-10-05 at 16:20 +0200, Alexander Gordeev wrote: > So my point is - drivers should first obtain a number of MSIs they *can* > get, then *derive* a number of MSIs the device is fine with and only then > request that number. Not terribly different from memory or any other type > of resourc

Re: [PATCH RFC 54/77] ntb: Ensure number of MSIs on SNB is enough for the link interrupt

2013-10-05 Thread Alexander Gordeev
On Wed, Oct 02, 2013 at 05:48:05PM -0700, Jon Mason wrote: > On Wed, Oct 02, 2013 at 12:49:10PM +0200, Alexander Gordeev wrote: > > Signed-off-by: Alexander Gordeev > > --- > > drivers/ntb/ntb_hw.c |2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/drivers/ntb/n

[PATCH] 6lowpan: Sync default hardware address of lowpan links to their wpan

2013-10-05 Thread Alan Ott
When a lowpan link to a wpan device is created, set the hardware address of the lowpan link to that of the wpan device. Signed-off-by: Alan Ott --- net/ieee802154/6lowpan.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c index c85e71e..f

Re: [PATCH 1/2] Fix NULL pointer dereference while loading initramfs

2013-10-05 Thread Andrew Morton
On Sun, 6 Oct 2013 02:12:15 +0530 (IST) P J P wrote: > Hello Andrew, > > Just to check, did you have chance to review an updated patch? Not yet, but it's in the queue. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.

[PATCH 1/1] drivers: usb: core: hcd.c: converted busmap from struct to bitmap

2013-10-05 Thread Matthias Beyer
The DECLARE_BITMAP macro should be used for declaring this bitmap. This commit converts the busmap from a struct to a simple (static) bitmap, using the DECLARE_BITMAP macro from linux/types.h. Please review, as I'm new to kernel development, I don't know if this has any hidden side effects! Sugge

Re: [PATCH] DMA: extend documentation to provide more API details

2013-10-05 Thread Guennadi Liakhovetski
Hi Russell, Thanks for explanations. On Sat, 5 Oct 2013, Russell King - ARM Linux wrote: > On Sat, Oct 05, 2013 at 07:36:20PM +0200, Guennadi Liakhovetski wrote: > > This patch extends dmaengine documentation to provide more details > > on descriptor prepare stage, transaction completion require

Re: [PATCH] clk: provide public clk_is_enabled function

2013-10-05 Thread Andrew Lunn
On Sat, Oct 05, 2013 at 10:24:30PM +0200, Uwe Kleine-König wrote: > On Fri, Oct 04, 2013 at 12:08:30PM +0200, Sebastian Hesselbarth wrote: > > To determine if a clk has been previously enabled, provide a public > > clk_is_enabled function. This is especially helpful to check the state > > of clk-ga

Re: [PATCH 2/2] Export initial ramdisk compression config

2013-10-05 Thread P J P
Hello Andrew, Just to check, did you have a chance to review it further? Are you waiting on me for something? -- Prasad J Pandit / Red Hat Security Response Team DB7A 84C5 D3F9 7CD1 B5EB C939 D048 7860 3655 602B -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH 1/2] Fix NULL pointer dereference while loading initramfs

2013-10-05 Thread P J P
Hello Andrew, Just to check, did you have chance to review an updated patch? -- Prasad J Pandit / Red Hat Security Response Team -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.ke

Re: [PATCH] clk: provide public clk_is_enabled function

2013-10-05 Thread Uwe Kleine-König
On Fri, Oct 04, 2013 at 12:08:30PM +0200, Sebastian Hesselbarth wrote: > To determine if a clk has been previously enabled, provide a public > clk_is_enabled function. This is especially helpful to check the state > of clk-gate without actually changing the state of the gate. I wonder what you want

Re: [PATCH 2/5] [PATCH 2/5] revert: "blk-mq: blk-mq should free bios in pass through case"

2013-10-05 Thread Mike Christie
On 10/05/2013 05:50 AM, Christoph Hellwig wrote: > On Fri, Oct 04, 2013 at 12:39:33PM -0500, Mike Christie wrote: >> Sorry, messed up function name. I meant blk_end_request*. >> >> For blk_execute_rq_nowait/blk_execute_rq and normal request use, the >> lower levels free the bios as they are complet

Re: tty^Wrcu/perf lockdep trace.

2013-10-05 Thread Peter Zijlstra
On Sat, Oct 05, 2013 at 09:28:02AM -0700, Paul E. McKenney wrote: > On Sat, Oct 05, 2013 at 06:05:11PM +0200, Peter Zijlstra wrote: > > On Fri, Oct 04, 2013 at 02:25:06PM -0700, Paul E. McKenney wrote: > > > > Why > > > > do we sti

Conflict in merge of the the random tree

2013-10-05 Thread Mark Brown
While merging the random tree into -next there was a trivial conflict in drivers/char/random.c between 0244ad004a54e3 (Remove GENERIC_HARDIRQ config option) and 557360455b (random: push extra entropy to the output pools). I've fixed this up as below: diff --cc drivers/char/random.c index 7737b5b,

[PATCH v3 0/3] AM33XX crypto DTS patches

2013-10-05 Thread Joel Fernandes
These patches are some minor fixups and changes to commit messages to the AM33XX crypto (aes, sham) patches with reference to the comments at: http://comments.gmane.org/gmane.linux.drivers.devicetree/45961 Joel Fernandes (1): ARM: dts: AM33XX: Fix AES interrupt number Mark A. Greer (2): ARM:

[PATCH v3 1/3] ARM: dts: AM33XX: Add SHAM data and documentation

2013-10-05 Thread Joel Fernandes
From: "Mark A. Greer" Add the generic AM33XX SHAM module's device tree data and enable it for the am335x-evm, am335x-evmsk, and am335x-bone platforms. Also add Documentation file describing the data for the SHAM module. [jo...@ti.com: Dropped interrupt-parrent property, documentation fixups] CC

[PATCH v3 3/3] ARM: dts: AM33XX: Fix AES interrupt number

2013-10-05 Thread Joel Fernandes
AES interrupts were previously not used, but after recent changes to omap-aes driver, its being used. We correct the interrupt number to have working PIO mode. Signed-off-by: Joel Fernandes --- arch/arm/boot/dts/am33xx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch

[PATCH v3 2/3] ARM: dts: AM33XX: Add AES data and documentation

2013-10-05 Thread Joel Fernandes
From: "Mark A. Greer" Add the generic AM33XX AES module's device tree data and enable it for the am335x-evm, am335x-evmsk, and am335x-bone platforms. Also add Documentation file describing the data for the AES module. [jo...@ti.com: Dropped interrupt-parent propert, documentation fixups] CC: P

Re: [PATCH] checkpatch.pl: Check for the FSF mailing address

2013-10-05 Thread Josh Triplett
On Sat, Oct 05, 2013 at 11:51:48AM -0700, Joe Perches wrote: > On Sat, 2013-10-05 at 11:43 -0700, Josh Triplett wrote: > > Kernel maintainers reject new instances of the GPL boilerplate paragraph > > directing people to write to the FSF for a copy of the GPL, since the > > FSF has moved in the past

Re: [PATCH] DMA: extend documentation to provide more API details

2013-10-05 Thread Russell King - ARM Linux
On Sat, Oct 05, 2013 at 07:36:20PM +0200, Guennadi Liakhovetski wrote: > This patch extends dmaengine documentation to provide more details > on descriptor prepare stage, transaction completion requirements > and DMA error processing. > > Signed-off-by: Guennadi Liakhovetski > --- > > These exte

Re: [GIT PATCH] TTY/Serial fixes for 3.12-rc4

2013-10-05 Thread Linus Torvalds
On Sat, Oct 5, 2013 at 10:34 AM, Greg KH wrote: > > One fixes the reported regression in the n_tty code that a number of > people found recently That one looks broken. Well, it looks like it might "work", but do so by hiding the issue for one case, while leaving it in the more general case. Why

Re: [PATCH] checkpatch.pl: Check for the FSF mailing address

2013-10-05 Thread Joe Perches
On Sat, 2013-10-05 at 11:43 -0700, Josh Triplett wrote: > Kernel maintainers reject new instances of the GPL boilerplate paragraph > directing people to write to the FSF for a copy of the GPL, since the > FSF has moved in the past and may do so again. [] > diff --git a/scripts/checkpatch.pl b/scrip

[PATCH] checkpatch.pl: Check for the FSF mailing address

2013-10-05 Thread Josh Triplett
Kernel maintainers reject new instances of the GPL boilerplate paragraph directing people to write to the FSF for a copy of the GPL, since the FSF has moved in the past and may do so again. Signed-off-by: Josh Triplett --- Inspired by Greg's standard response to omit the paragraph "unless you wa

Re: [PATCH|RFC] of: let of_match_device() always return best match

2013-10-05 Thread Marc Kleine-Budde
On 10/05/2013 07:46 PM, Fabio Estevam wrote: > Hi Marc, > > On Thu, Oct 3, 2013 at 3:51 PM, Marc Kleine-Budde wrote: > >> For example: >> >> The imx28.dtsi gives this compatible string for its CAN core: >> >>> compatible = "fsl,imx28-flexcan", "fsl,p1010-flexcan"; >> >> The flexcan driver

[GIT PULL] GPIO fixes for v3.12

2013-10-05 Thread Linus Walleij
Hi Linus, here are two GPIO fixes for v3.12, both dealing with setting up IRQs properly on the OMAP for the device tree boot path. The subject as such is pretty tricky and we're still discussing how we want to handle this long-term, but this fix is widely ACKed and tested. In the absence of linux

Re: [PATCH v2 4/9] ARM: dts: Add AES data and documentation for AM33XX

2013-10-05 Thread Joel Fernandes
These patches were not authored by me but I'll go ahead and fix them up anyway. On 10/04/2013 09:33 AM, Mark Rutland wrote: > On Mon, Sep 30, 2013 at 04:13:01PM +0100, Joel Fernandes wrote: >> From: "Mark A. Greer" >> >> Add the generic AM33XX AES module's device tree data and >> enable it for th

Re: [PATCH v2 3/9] ARM: dts: Add SHAM data and documentation for AM33XX

2013-10-05 Thread Joel Fernandes
On 10/04/2013 09:26 AM, Mark Rutland wrote: > On Mon, Sep 30, 2013 at 04:13:00PM +0100, Joel Fernandes wrote: >> From: "Mark A. Greer" >> >> Add the generic AM33XX SHAM module's device tree data and >> enable it for the am335x-evm, am335x-evmsk, and am335x-bone >> platforms. Also add Documentatio

Re: [PATCH 2/5] drivers: usb: core: hcd: Whitespace fixes

2013-10-05 Thread Joe Perches
On Sat, 2013-10-05 at 11:04 -0700, Joe Perches wrote: > On Sat, 2013-10-05 at 18:02 +0200, Matthias Beyer wrote: > > - removing spaces before array indexing (foo [] to foo[]) > [] > > diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c > [] > > @@ -93,7 +93,7 @@ EXPORT_SYMBOL_GPL (usb_bus_

  1   2   >