Re: [PATCH 0/4] perf tools: New comm infrastructure

2013-09-13 Thread Frederic Weisbecker
On Thu, Sep 12, 2013 at 10:36:58PM +0200, Ingo Molnar wrote: > > * Frederic Weisbecker wrote: > > > The way we handle hists sorted by comm is to first gather them by tid > > then in the end merge/collapse hists that end up with the same comm. > > > > But merging hists has shown some performanc

[GIT] kconfig fix for v3.12-rc1

2013-09-13 Thread Michal Marek
Hi Linus, there is a fix for a regression caused by my previous pull request. A sed command in scripts/config that used colons as separator was accidentally changed to use slashes, which fails when you use slashes in a value. Changing it back to colons is of course not a proper fix, but at least i

Re: [RFC PATCH 3/3] kvm: Add VFIO device for handling IOMMU cache coherency

2013-09-13 Thread Michael S. Tsirkin
On Thu, Sep 12, 2013 at 03:23:15PM -0600, Alex Williamson wrote: > So far we've succeeded at making KVM and VFIO mostly unaware of each > other, but there's any important point where that breaks down. Intel > VT-d hardware may or may not support snoop control. When snoop > control is available, i

Re: [GIT PULL] Btrfs

2013-09-13 Thread Geert Uytterhoeven
On Fri, Sep 13, 2013 at 2:15 PM, Russell King wrote: > On Fri, Sep 13, 2013 at 07:53:21AM -0400, Josh Boyer wrote: >> I'm not an ARM expert, so I don't know if ARM should use the >> asm-generic implementations, or just use __get_user/__put_user in all >> cases. I've CC'd rmk. > > Why do we have u

Re: [00/23] 3.4.62-stable review

2013-09-13 Thread Greg Kroah-Hartman
On Thu, Sep 12, 2013 at 10:04:37PM -0700, Guenter Roeck wrote: > Odd, the 00/23 mail for 3.4.62 doesn't show up on lkml. > So this mail will most likely show up as reply to 01/23. > > Anyway, here are my build results for 3.4.62: > total: 103 pass: 89 skipped: 10 fail: 4 > > More configurat

Re: increased vmap_area_lock contentions on "n_tty: Move buffers into n_tty_data"

2013-09-13 Thread Greg KH
On Fri, Sep 13, 2013 at 05:55:47AM -0400, Peter Hurley wrote: > On 09/12/2013 11:44 PM, Greg KH wrote: > > On Fri, Sep 13, 2013 at 11:38:04AM +0800, Fengguang Wu wrote: > >> On Thu, Sep 12, 2013 at 08:17:00PM -0700, Greg KH wrote: > >>> On Fri, Sep 13, 2013 at 08:51:33AM +0800, Fengguang Wu wrote:

[PATCH V2] USB: EHCI: make ehci-w90X900 a separate driver

2013-09-13 Thread Manjunath Goudar
Separate the W90X900(W90P910) on-chip host controller driver from ehci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM; however, note that other changes are still needed before W90X900(W90P910) can be booted with a multi

Re: [ANN] Ubuntu PPA for bcache-tools and blocks

2013-09-13 Thread Gabriel de Perthuis
> Is that possible to create bcached kernel for raring? I like > autoapdating and packages created via standard way. So I can install > source package and headers and can vbuild to it dkms modules. A backported dkms module isn't feasible, bcache comes with work on the block layer. Raring users sh

Re: Fwd: ARC Fix for 3.12-rc1

2013-09-13 Thread greg Kroah-Hartman
On Fri, Sep 13, 2013 at 01:19:18PM +0530, Vineet Gupta wrote: > Hi Greg, > > Please consider for stable 3.11.x. > Mainline commit c3567f8a359b7917dcffa442301f88ed0a75211f Thanks, will do after 3.11.1 is out. greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in t

Re: [PATCH] hwrng: via-rng: Mark device ID table as __maybe_unused

2013-09-13 Thread Herbert Xu
On Thu, Sep 05, 2013 at 12:46:12AM +0100, Ben Hutchings wrote: > It is only used in modular builds. > > Reported-by: kbuild test robot > Signed-off-by: Ben Hutchings Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.a

Re: [BUG] kernel panic during shutdown in run_timer_softirq()

2013-09-13 Thread Frederic Weisbecker
On Fri, Sep 13, 2013 at 12:01:56PM +0200, Knut Petersen wrote: > Hi everybody! > > Since about July I observe occasional kernel panics happening only during > system shutdown on two systems. > > Hardware: mobos: both AOpen i915GMm-hfs mobos, cpus: Pentium-M Dothan / > Banias, mem: 2GB > Althou

Re: [PATCH v4] mmc: sdhci-msm: Add support for MSM chipsets

2013-09-13 Thread Ivan T. Ivanov
Hi Georgi, Several comments bellow. On Thu, 2013-09-12 at 17:56 +0300, Georgi Djakov wrote: > This platform driver adds the support of Secure Digital Host Controller > Interface compliant controller found in Qualcomm MSM chipsets. > > CC: Asutosh Das > CC: Venkat Gopalakrishnan > CC: Sahity

Re: [GIT PULL] Btrfs

2013-09-13 Thread Russell King
On Fri, Sep 13, 2013 at 07:53:21AM -0400, Josh Boyer wrote: > I'm not an ARM expert, so I don't know if ARM should use the > asm-generic implementations, or just use __get_user/__put_user in all > cases. I've CC'd rmk. Why do we have uaccess-unaligned.h ? Normally, these kinds of things are spaw

Re: [PATCH 5/5] ARM64: Add support for ILP32 ABI.

2013-09-13 Thread Catalin Marinas
On Fri, Sep 13, 2013 at 07:18:48AM +0100, Andrew Pinski wrote: > On Wed, Sep 11, 2013 at 7:32 AM, Catalin Marinas > wrote: > > On Mon, Sep 09, 2013 at 10:32:59PM +0100, Andrew Pinski wrote: > > > > On top of these, I would really like to see > > Documentation/arm64/ilp32.txt describing the ABI. >

[FULL] Boku No Pico OVA 1-adds

2013-09-13 Thread lyndaflo
Related Tags: [FULL] Boku No Pico OVA 1-adds 800752f415 22film saru 3gp | temp-adds1 flowers in the attic free ebook download for ipod.rar

Re: [PATCH 5/5] ARM64: Add support for ILP32 ABI.

2013-09-13 Thread Catalin Marinas
On Fri, Sep 13, 2013 at 11:04:53AM +0100, Will Deacon wrote: > On Fri, Sep 13, 2013 at 10:57:40AM +0100, Catalin Marinas wrote: > > On Fri, Sep 13, 2013 at 10:47:12AM +0100, Will Deacon wrote: > > > On Fri, Sep 13, 2013 at 07:18:48AM +0100, Andrew Pinski wrote: > > > > On Wed, Sep 11, 2013 at 7:32

RE: [f2fs-dev][PATCH] f2fs: limit nr_iovecs in bio_alloc

2013-09-13 Thread Chao Yu
> -Original Message- > From: Jin Xu [mailto:linuxclim...@gmail.com] > Sent: Friday, September 13, 2013 7:49 PM > To: Chao Yu > Cc: ???; linux-f2fs-de...@lists.sourceforge.net; linux-fsde...@vger.kernel.org; > linux-kernel@vger.kernel.org; 谭姝 > Subject: Re: [f2fs-dev][PATCH] f2fs: limit nr_i

Re: [PATCH v2 1/9] i2c: prepare runtime PM support for I2C client devices

2013-09-13 Thread Mark Brown
On Fri, Sep 13, 2013 at 02:50:35PM +0300, Mika Westerberg wrote: > On Fri, Sep 13, 2013 at 11:31:52AM +0100, Mark Brown wrote: > > Right, but this probably needs to be highlighted more since it's a very > > surprising thing for I2C and is causing confusion. > By highlighted more, do you mean some

Re: [patch 3/4] skd: use strncpy() as a cleanup

2013-09-13 Thread Geert Uytterhoeven
On Fri, Sep 13, 2013 at 10:05 AM, Dan Carpenter wrote: > The code here is copying the version to inq.driver_version but we don't > want it to be NUL terminated. Instead we pad the rest of the array with > spaces. It's fewer lines to use strncpy() and maybe a little nicer. > > Signed-off-by: Dan

Re: [PATCH] /dev/random: Insufficient of entropy on many architectures

2013-09-13 Thread Thorsten Glaser
Stephan Mueller chronox.de> writes: > And here the RNG theory breaks: a whitening function (crypto function) > like the used SHA1 does not add entropy. Thus, the SHA1 just spreads out > the entropy evenly over the output buffer. As entropy can be considered That’s why you also use a (faster,

Re: [GIT PULL] Btrfs

2013-09-13 Thread Josh Boyer
On Fri, Sep 13, 2013 at 2:44 AM, Geert Uytterhoeven wrote: > On Thu, Sep 12, 2013 at 10:38 PM, Josh Boyer > wrote: >> On Thu, Sep 12, 2013 at 11:36 AM, Chris Mason >> wrote: >>> Mark Fasheh (4): >>> btrfs: offline dedupe >> >> This commit adds calls to __put_user_unaligned, which causes

Re: [f2fs-dev][PATCH] f2fs: limit nr_iovecs in bio_alloc

2013-09-13 Thread Jin Xu
Did this patch pass the basic build? There seems have a typo regarding MAX_BIO_BLOCK. -- Jin On 13/09/2013 18:07, Chao Yu wrote: > This patch add macro MAX_BIO_BLOCKS to limit value of npages in > f2fs_bio_alloc, > it can avoid to return NULL in bio_alloc caused by npages is larger than > UIO_MAX

Re: [PATCH v2 1/9] i2c: prepare runtime PM support for I2C client devices

2013-09-13 Thread Mika Westerberg
On Fri, Sep 13, 2013 at 11:31:52AM +0100, Mark Brown wrote: > On Fri, Sep 13, 2013 at 01:16:11PM +0300, Mika Westerberg wrote: > > On Fri, Sep 13, 2013 at 10:59:50AM +0100, Mark Brown wrote: > > > > Accessing the bus isn't an issue for I2C outside of ACPI, the power > > > management of the device

Re: [PATCH 2/2] cpufreq: serialize calls to __cpufreq_governor()

2013-09-13 Thread Viresh Kumar
On 4 September 2013 01:10, Rafael J. Wysocki wrote: > On Tuesday, September 03, 2013 06:50:05 PM Srivatsa S. Bhat wrote: >> This doesn't solve the problem completely: it prevents the store_*() task >> from continuing *only* when it concurrently executes the __cpufreq_governor() >> function along

Re: [PATCH] /dev/random: Insufficient of entropy on many architectures

2013-09-13 Thread Thorsten Glaser
Stephan Mueller chronox.de> writes: > A monotonic counter is fully ok. Note, for /dev/random, the occurrence > of events delivers entropy. Thus, we have to be able to precisely > measure that occurrence. The timer itself does not need to deliver any > entropy as long as it is fast. Rather the

Crypto Fixes for 3.12

2013-09-13 Thread Herbert Xu
Hi Linus: This push fixes a 7+ year race condition in the crypto API that causes sporadic crashes when multiple threads load the same algorithm. It also fixes the crct10dif algorithm again to prevent boot failures on systems where the initramfs tool ignores module softdeps. Please pull from git

Re: [PATCH 1/2] tools, perf: Add a precise event qualifier v2

2013-09-13 Thread Peter Zijlstra
On Fri, Sep 13, 2013 at 11:50:57AM +0200, Ingo Molnar wrote: > For example if we added 'type' as well we could expose the generic, > hardware-independent events via sysfs as well. Type is already fully implied by where you'll find the event in sysfs: /sys/bus/event_sources/devices/$PMU/events/

[PATCH v3 3/6] uas: make work list per-device

2013-09-13 Thread Gerd Hoffmann
Simplifies locking, we'll protect the list with the device spin lock. Also plugs races which can happen when two devices operate on the global list. While being at it rename the list head from "list" to "work", preparing for the addition of a second list. Signed-off-by: Gerd Hoffmann --- driver

[PATCH v3 2/6] uas: properly reinitialize in uas_eh_bus_reset_handler

2013-09-13 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/usb/storage/uas.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c index d966b59..fc08ee9 100644 --- a/drivers/usb/storage/uas.c +++ b/drivers/usb/storage/uas.c @@ -85,6 +85,8 @@ static int uas_

[PATCH v3 5/6] uas: replace BUG_ON() + WARN_ON() with WARN_ON_ONCE()

2013-09-13 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/usb/storage/uas.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c index f049038..046eedf 100644 --- a/drivers/usb/storage/uas.c +++ b/drivers/usb/storage/uas.c @

[PATCH v3 4/6] uas: add dead request list

2013-09-13 Thread Gerd Hoffmann
This patch adds a new list where all requests which are canceled are added to, so we don't loose them. Then, after killing all inflight urbs on bus reset (and disconnect) we'll walk over the list and clean them up. Without this we can end up with aborted requests lingering around in case of statu

[PATCH v3 1/6] xhci: fix usb3 streams

2013-09-13 Thread Gerd Hoffmann
xhci maintains a radix tree for each stream endpoint because it must be able to map a trb address to the stream ring. Each ring segment must be added to the ring for this to work. Currently xhci sticks only the first segment of each stream ring into the radix tree. Result is that things work ini

[PATCH v3 6/6] uas: remove BROKEN

2013-09-13 Thread Gerd Hoffmann
xhci streams support is fixed, unblock usb attached scsi. Signed-off-by: Gerd Hoffmann --- drivers/usb/storage/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/storage/Kconfig b/drivers/usb/storage/Kconfig index 8470e1b..4761a28 100644 --- a/drivers/usb/sto

Re: [PATCH 15/16] bootparam: Pass acpi_rsdp pointer in bootparam

2013-09-13 Thread Borislav Petkov
On Fri, Sep 13, 2013 at 03:12:40PM +0800, Dave Young wrote: > Also the fw_vendor, runtime, tables elements will be fixed up to use > virtual address after 1st kernel call SetVirtualAddress, so even with > 1:1 mapping we still need save them and use in kexec kernel. As I said a couple of times alre

Re: [PATCH 0/4] Add smp support for Allwinner A20 and phy arch count timer

2013-09-13 Thread Mark Rutland
On Thu, Sep 12, 2013 at 04:46:42PM +0100, cinifr wrote: > >You seem to be suggesting a kernel change (using CNTPCT), but also > >bootloader changes (setting CNTHCTL.PL1PCTEN) to make this possible at > >all. If the bootloader needs to be modified, why can it not be modified > >to set CNTVOFF (or to

Re: trinity finds ftrace/perf bug. Film at 11.

2013-09-13 Thread Peter Zijlstra
On Thu, Sep 12, 2013 at 02:19:13PM -0400, Steven Rostedt wrote: > > WARNING: CPU: 3 PID: 861 at kernel/events/core.c:5566 > > perf_swevent_add+0x18d/0x1a0() > > Modules linked in: ipt_ULOG nfnetlink can_bcm can scsi_transport_iscsi ax25 > > nfc rfkill af_802154 irda crc_ccitt rds x25 atm appletal

Re: [PATCH RESEND][pciutils] libpci: pci_id_lookup - add udev/hwdb support

2013-09-13 Thread Tom Gundersen
On Wed, Sep 4, 2013 at 4:59 PM, Tom Gundersen wrote: > On Wed, Sep 4, 2013 at 3:57 PM, Martin Mares wrote: >> Hello! >> >> First of all: Sorry for not replying to the first mail. I do not follow >> linux-pci too much these days (or, I do that in big batches). > > No problem, I guessed as much. >

[ANN] Ubuntu PPA for bcache-tools and blocks

2013-09-13 Thread Gabriel de Perthuis
Hello, I've published various bcache-related packages to https://launchpad.net/~g2p/+archive/storage/ The packages are built for saucy and raring, and can be added with sudo add-apt-repository ppa:g2p/storage sudo apt-get update sudo apt-get install bcache-tools blocks bcache is a h

[PATCH] mm: catch memory commitment underflow

2013-09-13 Thread Konstantin Khlebnikov
This adds debug for vm_committed_as under CONFIG_DEBUG_VM=y Signed-off-by: Konstantin Khlebnikov --- mm/mmap.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/mm/mmap.c b/mm/mmap.c index 9d54851..2c7e6aa 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -131,6 +131,12 @@ int __vm_enough_mem

[PATCH] shmem: fixup memory reservation during truncating

2013-09-13 Thread Konstantin Khlebnikov
Shared anon mappings created without MAP_NORESERVE may hold reservation of memory commitment for whole size of shmem segment. There was no way to change that size, but recently introduced 'map_files' in proc allows to do that. This patch adjust memory reservation in shmem_setattr() during truncatin

Re: [PATCH 2/4] scripts/config: use sed's POSIX interface

2013-09-13 Thread Michal Marek
Dne 13.9.2013 11:54, Clément Chauplannaz napsal(a): > On Sep 13, 2013, at 11:32 AM, Linus Walleij wrote: > >> On Fri, Sep 13, 2013 at 10:38 AM, Clément Chauplannaz >> wrote: >> >>> Thank you for this report. I was able to reproduce this bug and fix it. >> >> Thanks! Tested and works fine. > Glad

Re: [PATCH] vt: properly ignore xterm-256 colour codes

2013-09-13 Thread David Herrmann
Hi On Thu, Sep 12, 2013 at 3:24 PM, Adam Borowski wrote: > On Thu, Sep 12, 2013 at 02:37:26PM +0200, David Herrmann wrote: >> On Mon, Sep 9, 2013 at 6:46 PM, Adam Borowski wrote: >> > On Mon, Sep 09, 2013 at 05:53:19PM +0200, David Herrmann wrote: >> > [...] >> >> Btw., you should put Greg Kroah

Re: trinity finds ftrace/perf bug. Film at 11.

2013-09-13 Thread Peter Zijlstra
On Thu, Sep 12, 2013 at 02:19:13PM -0400, Steven Rostedt wrote: > > The good news is I can reproduce that very quickly. > > (Apply http://paste.fedoraproject.org/38721/37890755 on top of trinity.git, > > and run ./trinity -l off -q -C32 -c inotify_init1 -c perf_event_open -c > > newlstat) " The

Re: [PATCH 1/2] tick: broadcast: Deny per-cpu clockevents from being broadcast sources

2013-09-13 Thread Preeti U Murthy
Hi Soren, On 09/13/2013 03:50 PM, Preeti Murthy wrote: > Hi, > > So the patch that Daniel points out http://lwn.net/Articles/566270/ , > enables broadcast functionality > without using an external global clock device. It uses one of the per cpu > clock devices to enable the broadcast functionalit

Re: [PATCH v2 1/9] i2c: prepare runtime PM support for I2C client devices

2013-09-13 Thread Mark Brown
On Fri, Sep 13, 2013 at 01:16:11PM +0300, Mika Westerberg wrote: > On Fri, Sep 13, 2013 at 10:59:50AM +0100, Mark Brown wrote: > > Accessing the bus isn't an issue for I2C outside of ACPI, the power > > management of the device is totally disassociated from the bus and the > > controller is respon

[PATCH] Time: Clocksource: fix 'ret' data type of sysfs_override_clocksource() and sysfs_unbind_clocksource()

2013-09-13 Thread elad . wexler
From: Elad Wexler sysfs_override_clocksource(): The expression 'if (ret >= 0)' is always true. This will cause clocksource_select() to always run. Thus modified ret to be of type ssize_t. sysfs_unbind_clocksource(): The expression 'if (ret < 0)' is always false. So in case sysfs_get_uname() fail

RE: [PATCH v5 3/3] dma: Add Freescale eDMA engine driver support

2013-09-13 Thread Lu Jingchang-B35083
Hi, Vinod, Could you please help review this patch? Thanks! Best Regards, Jingchang > -Original Message- > From: Lu Jingchang-B35083 > Sent: Thursday, September 05, 2013 5:55 PM > To: vinod.k...@intel.com > Cc: d...@fb.com; shawn@linaro.org; linux-kernel@vger.kernel.org; > linu

Re: [PATCH v2 1/9] i2c: prepare runtime PM support for I2C client devices

2013-09-13 Thread Mika Westerberg
On Fri, Sep 13, 2013 at 10:59:50AM +0100, Mark Brown wrote: > On Fri, Sep 13, 2013 at 09:54:34AM +0300, Mika Westerberg wrote: > > On Thu, Sep 12, 2013 at 02:34:21PM -0700, Kevin Hilman wrote: > > > > For hardware that is disabled/powered-off on startup, there will now be > > > a mismatch between

[f2fs-dev][PATCH] f2fs: limit nr_iovecs in bio_alloc

2013-09-13 Thread Chao Yu
This patch add macro MAX_BIO_BLOCKS to limit value of npages in f2fs_bio_alloc, it can avoid to return NULL in bio_alloc caused by npages is larger than UIO_MAXIOV. Signed-off-by: Yu Chao --- fs/f2fs/segment.c |4 +++- fs/f2fs/segment.h |3 +++ 2 files changed, 6 insertions(+), 1 deleti

Re: [PATCH 5/5] ARM64: Add support for ILP32 ABI.

2013-09-13 Thread Will Deacon
On Fri, Sep 13, 2013 at 10:57:40AM +0100, Catalin Marinas wrote: > On Fri, Sep 13, 2013 at 10:47:12AM +0100, Will Deacon wrote: > > On Fri, Sep 13, 2013 at 07:18:48AM +0100, Andrew Pinski wrote: > > > On Wed, Sep 11, 2013 at 7:32 AM, Catalin Marinas > > > wrote: > > > > On Mon, Sep 09, 2013 at 10:

Re: [PATCH v2 1/9] i2c: prepare runtime PM support for I2C client devices

2013-09-13 Thread Mark Brown
On Fri, Sep 13, 2013 at 09:14:20AM +0800, Aaron Lu wrote: > On 09/13/2013 06:06 AM, Sylwester Nawrocki wrote: > > So there is currently no way to avoid this behaviour, i.e. to have the > > adapter > > not activated before any of its client devices is probed, but only later on, > > after explicit

Re: [PATCH v2 1/9] i2c: prepare runtime PM support for I2C client devices

2013-09-13 Thread Mark Brown
On Fri, Sep 13, 2013 at 09:54:34AM +0300, Mika Westerberg wrote: > On Thu, Sep 12, 2013 at 02:34:21PM -0700, Kevin Hilman wrote: > > For hardware that is disabled/powered-off on startup, there will now be > > a mismatch between the hardware state an the RPM core state. > The call to pm_runtime_ge

[PATCHv2 01/11] staging: usbip: Fix IPv6 support in usbipd

2013-09-13 Thread Dominik Paulus
getaddrinfo() leaves the order of the returned addrinfo structs unspecified. On systems with bindv6only disabled (this is the default), PF_INET6 sockets bind to IPv4, too. Thus, IPv6 support in usbipd was broken when getaddrinfo returned first IPv4 and then IPv6 addrinfos, as the IPv6 bind failed w

[PATCHv2 02/11] staging: usbip: Add support for client authentication

2013-09-13 Thread Dominik Paulus
This patch adds support for authenticating both client and server using a pre-shared passphrase using SRP (Secure Remote Password) over TLS (see RFC 5054) using GnuTLS. Both usbip and usbipd now accept a shared secret as a command line argument. Currently, the established TLS connection is only use

[PATCHv2 10/11] staging: usbip: Separate protocol/program version

2013-09-13 Thread Dominik Paulus
Not all new program versions necessarily introduce non-backwards-compatible protocol changes. We thus move the definition of the protocol version from configure.ac to usbip_network.h, where it logically belongs to. Signed-off-by: Dominik Paulus Signed-off-by: Tobias Polzer --- drivers/staging/u

[PATCHv2 11/11] staging: usbip: Increment version to 1.2.0

2013-09-13 Thread Dominik Paulus
Signed-off-by: Dominik Paulus Signed-off-by: Tobias Polzer --- drivers/staging/usbip/userspace/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/usbip/userspace/configure.ac b/drivers/staging/usbip/userspace/configure.ac index 099d24b..0b0e035 1006

Re: [PATCH 5/5] ARM64: Add support for ILP32 ABI.

2013-09-13 Thread Catalin Marinas
On Fri, Sep 13, 2013 at 10:47:12AM +0100, Will Deacon wrote: > On Fri, Sep 13, 2013 at 07:18:48AM +0100, Andrew Pinski wrote: > > On Wed, Sep 11, 2013 at 7:32 AM, Catalin Marinas > > wrote: > > > On Mon, Sep 09, 2013 at 10:32:59PM +0100, Andrew Pinski wrote: > > >> diff --git a/arch/arm64/Kconfig

Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-13 Thread Gleb Natapov
On Fri, Sep 13, 2013 at 01:43:09AM +, KY Srinivasan wrote: > > > > -Original Message- > > From: H. Peter Anvin [mailto:h...@zytor.com] > > Sent: Thursday, September 12, 2013 5:28 PM > > To: KY Srinivasan > > Cc: x...@kernel.org; gre...@linuxfoundation.org; > > linux-kernel@vger.kerne

[PATCHv2 07/11] staging: usbip: Add proper error reporting

2013-09-13 Thread Dominik Paulus
This patch adds new error codes and features extended error reporting in op_common packets. Signed-off-by: Dominik Paulus Signed-off-by: Tobias Polzer --- drivers/staging/usbip/userspace/src/usbip_attach.c | 4 +- drivers/staging/usbip/userspace/src/usbip_list.c | 3 +- .../staging/usbip/us

[PATCHv2 06/11] staging: usbip: Add support for ACLs in usbipd

2013-09-13 Thread Dominik Paulus
Interpret the ACLs stored in sysfs in usbipd and reject clients not matching one of the ACLs. Signed-off-by: Kurt Kanzenbach Signed-off-by: Dominik Paulus Signed-off-by: Tobias Polzer --- drivers/staging/usbip/userspace/src/Makefile.am | 2 +- drivers/staging/usbip/userspace/src/usbipd.c|

[PATCHv2 08/11] staging: usbip: Handle usbip being started as user

2013-09-13 Thread Dominik Paulus
usbip now prints an error message when started as user and requiring root access. Also, some debug messages are changed to error messages so the command line utilities now print less confusing (and more verbose) error messages when not used correctly. Signed-off-by: Dominik Paulus Signed-off-by:

[PATCHv2 05/11] staging: usbip: Add ACL support to usbip bind

2013-09-13 Thread Dominik Paulus
Add the command line argument -a (--allow) to usbip bind to specify networks allowed to attach to the device and code to store the ACLs in sysfs. Signed-off-by: Kurt Kanzenbach Signed-off-by: Dominik Paulus Signed-off-by: Tobias Polzer --- drivers/staging/usbip/userspace/doc/usbip.8 | 8

Re: increased vmap_area_lock contentions on "n_tty: Move buffers into n_tty_data"

2013-09-13 Thread Peter Hurley
On 09/12/2013 11:44 PM, Greg KH wrote: On Fri, Sep 13, 2013 at 11:38:04AM +0800, Fengguang Wu wrote: On Thu, Sep 12, 2013 at 08:17:00PM -0700, Greg KH wrote: On Fri, Sep 13, 2013 at 08:51:33AM +0800, Fengguang Wu wrote: Hi Peter, FYI, we noticed much increased vmap_area_lock contentions since

[PATCHv2 09/11] staging: usbip: Improve debug output

2013-09-13 Thread Dominik Paulus
For IPv6, IP:Port is unreadable. Signed-off-by: Dominik Paulus Signed-off-by: Tobias Polzer --- drivers/staging/usbip/userspace/src/usbipd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/usbip/userspace/src/usbipd.c b/drivers/staging/usbip/userspace/src/us

Re: [PATCH 2/4] scripts/config: use sed's POSIX interface

2013-09-13 Thread Clément Chauplannaz
On Sep 13, 2013, at 11:32 AM, Linus Walleij wrote: > On Fri, Sep 13, 2013 at 10:38 AM, Clément Chauplannaz > wrote: > >> Thank you for this report. I was able to reproduce this bug and fix it. > > Thanks! Tested and works fine. Glad to read the patch solves your issue. Thanks for the quick fee

[PATCHv2 03/11] staging: usbip: Add kernel support for client ACLs

2013-09-13 Thread Dominik Paulus
This patch adds the possibility to stored ACLs for allowed clients for each stub device in sysfs. It adds a new sysfs entry called "usbip_acl" for each stub device, containing a list of CIDR masks of allowed clients. This file will be used by usbip and usbipd to store the ACL. Signed-off-by: Kurt

Re: [PATCH 3/5] FS: Export poll_select_copy_remaining and rename poll_select_copy_remaining in compat.c so it does not pick the wrong copy.

2013-09-13 Thread Catalin Marinas
On Wed, Sep 11, 2013 at 10:00:14PM +0100, Andrew Pinski wrote: > On Wed, Sep 11, 2013 at 4:09 AM, Catalin Marinas > wrote: > > On Mon, Sep 09, 2013 at 10:32:57PM +0100, Andrew Pinski wrote: > >> The ILP32 ABI in ARM64 uses a slightly different pselect from either > >> the compat or even the na

[PATCHv2 04/11] staging: usbip: Add CIDR matching helper functions

2013-09-13 Thread Dominik Paulus
This patch adds a few utility functions to match IP addresses against CIDR masks. Signed-off-by: Dominik Paulus Signed-off-by: Tobias Polzer --- drivers/staging/usbip/userspace/src/utils.c | 84 + drivers/staging/usbip/userspace/src/utils.h | 15 ++ 2 files chang

[PATCHv2 0/11] staging: usbip: Userland crypto and ACLs

2013-09-13 Thread Dominik Paulus
Hi, this patch series includes an updated version of the IPv6 support patch (a call to freeaddrinfo() was missing) as well as: - The client/server authentication support using GnuTLS Tobias already announced on the usbip-devel mailing list some time ago[1] - Support for restricting the acce

Re: [PATCH 1/2] tools, perf: Add a precise event qualifier v2

2013-09-13 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Thu, Sep 12, 2013 at 07:36:17PM +0200, Andi Kleen wrote: > > > Your feature to export 'precise' requirements on events looks useful to > > > me. We could implement it not by special casing it implicitly but by > > > saying that if ../format/precise contains somethi

Re: [PATCH 5/5] ARM64: Add support for ILP32 ABI.

2013-09-13 Thread Will Deacon
On Fri, Sep 13, 2013 at 07:18:48AM +0100, Andrew Pinski wrote: > On Wed, Sep 11, 2013 at 7:32 AM, Catalin Marinas > wrote: > > On Mon, Sep 09, 2013 at 10:32:59PM +0100, Andrew Pinski wrote: > >> This patch adds full support of the ABI to the ARM64 target. > > > > This description is too short. Ple

Re: [GIT PULL] perf fixes

2013-09-13 Thread Ingo Molnar
* Jean Pihet wrote: > Hi, > > On 13 September 2013 07:09, Ingo Molnar wrote: > > > > * David Ahern wrote: > > > >> > By default a simple 'make' should build perf to the maximum extent > >> > possible, with no other input required from the user - with warnings > >> > displayed as package insta

[PATCH v4] mfd: rtsx: Modify rts5249_optimize_phy

2013-09-13 Thread wei_wang
From: Wei WANG In some platforms, specially Thinkpad series, rts5249 won't be initialized properly. So we need adjust some phy parameters to improve the compatibility issue. It is a little different between simulation and real chip. We have no idea about which configuration is better before tape

Re: [GIT PULL] target updates for v3.12-rc1

2013-09-13 Thread joel billy
On 9/13/13, Nicholas A. Bellinger wrote: <..>, Removed individual CCs > The patches to add COMPARE_AND_WRITE and EXTENDED_COPY support are of > particular significance, which make us the first and only open source > target to support the full set of VAAI primitives. Probably not the first and on

Re: [PATCH] dma: pl330: Simplify irq allocation

2013-09-13 Thread Michal Simek
On 09/12/2013 03:42 PM, Vinod Koul wrote: > On Wed, Sep 04, 2013 at 04:40:17PM +0200, Michal Simek wrote: >> Use devm_request_irq function. > > Applied, thanks Thanks. I have one change in my tree which I would like to get to the mainline but it will need more interaction with others pl330 users.

Re: [PATCH 2/4] scripts/config: use sed's POSIX interface

2013-09-13 Thread Linus Walleij
On Fri, Sep 13, 2013 at 10:38 AM, Clément Chauplannaz wrote: > Thank you for this report. I was able to reproduce this bug and fix it. Thanks! Tested and works fine. > My previous commit changed the separator between sed's substitute > command and its parameters, from ':' to '/'. The latter con

Re: [GIT PULL] perf fixes

2013-09-13 Thread Jean Pihet
Hi, On 13 September 2013 07:09, Ingo Molnar wrote: > > * David Ahern wrote: > >> > By default a simple 'make' should build perf to the maximum extent >> > possible, with no other input required from the user - with warnings >> > displayed as package install suggestions. >> >> By default there is

Re: [PATCH 3/4] Add physical count arch timer support for clocksource in ARMv7.

2013-09-13 Thread Marc Zyngier
On 13/09/13 09:49, cinifr wrote: > On 13 September 2013 00:39, Marc Zyngier wrote: >> On 12/09/13 17:07, cinifr wrote: This cannot be a compile-time option as above in a multiplatform build. Other paltforms (e.g. KVM guests) *must* use the virtual counters to get any semblance of a

[PATCH v3 3/5] x86, acpi, crash, kdump: Do reserve_crashkernel() after SRAT is parsed.

2013-09-13 Thread Tang Chen
Memory reserved for crashkernel could be large. So we should not allocate this memory bottom up from the end of kernel image. When SRAT is parsed, we will be able to know whihc memory is hotpluggable, and we can avoid allocating this memory for the kernel. So reorder reserve_crashkernel() after SR

Re: [PATCH] scripts/config: fix variable substitution command

2013-09-13 Thread Linus Walleij
On Fri, Sep 13, 2013 at 10:45 AM, Clement Chauplannaz wrote: > Commit 229455bc02b87f7128f190c4491b4ce38648 accidentally changed the > separator between sed `s' command and its parameters from ':' to '/'. > > Revert this change. > > Signed-off-by: Clement Chauplannaz This patch fixes my issu

[PATCH v3 2/5] memblock: Improve memblock to support allocation from lower address.

2013-09-13 Thread Tang Chen
This patch modifies the memblock_find_in_range_node() to support two different allocation directions. After this patch, memblock will check memblock.current_direction, and decide in which direction to allocate memory. Now it supports two allocation directions: bottom up and top down. When directio

[PATCH v3 1/5] memblock: Introduce allocation direction to memblock.

2013-09-13 Thread Tang Chen
The Linux kernel cannot migrate pages used by the kernel. As a result, kernel pages cannot be hot-removed. So we cannot allocate hotpluggable memory for the kernel. ACPI SRAT (System Resource Affinity Table) contains the memory hotplug info. But before SRAT is parsed, memblock has already started

[PATCH v3 5/5] mem-hotplug: Introduce movablenode boot option to control memblock allocation direction.

2013-09-13 Thread Tang Chen
The Hot-Pluggable fired in SRAT specifies which memory is hotpluggable. As we mentioned before, if hotpluggable memory is used by the kernel, it cannot be hot-removed. So memory hotplug users may want to set all hotpluggable memory in ZONE_MOVABLE so that the kernel won't use it. Memory hotplug us

[PATCH v3 4/5] x86, mem-hotplug: Support initialize page tables from low to high.

2013-09-13 Thread Tang Chen
init_mem_mapping() is called before SRAT is parsed. And memblock will allocate memory for page tables. To prevent page tables being allocated within hotpluggable memory, we will allocate page tables from the end of kernel image to the higher memory. Signed-off-by: Tang Chen Reviewed-by: Zhang Ya

[PATCH v3 0/5] x86, memblock: Allocate memory near kernel image before SRAT parsed.

2013-09-13 Thread Tang Chen
This patch-set is based on tj's suggestion, and not fully tested. Just for review and discussion. This patch-set is based on the latest kernel (3.11) HEAD is: commit d5d04bb48f0eb89c14e76779bb46212494de0bec Author: Linus Torvalds Date: Wed Sep 11 19:55:12 2013 -0700 [Problem] The current L

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-13 Thread Peter Zijlstra
On Thu, Sep 12, 2013 at 08:30:25PM +0200, Frederic Weisbecker wrote: > Now the issue doesn't only concern kthreads but all tasks in the system. No, only kernel threads, all other tasks have a parent they inherit (namespace, cgroup, affinity etc..) context from. > If we really want to solve that

Re: [BUG] completely bonkers use of set_need_resched + VM_FAULT_NOPAGE

2013-09-13 Thread Thomas Hellstrom
On 09/13/2013 10:58 AM, Maarten Lankhorst wrote: Op 13-09-13 10:23, Thomas Hellstrom schreef: On 09/13/2013 09:51 AM, Maarten Lankhorst wrote: Op 13-09-13 09:46, Thomas Hellstrom schreef: On 09/13/2013 09:16 AM, Maarten Lankhorst wrote: Op 13-09-13 08:44, Thomas Hellstrom schreef: On 09/12/2

Re: [PATCH 1/2] staging: zram: fix handle_pending_slot_free() and zram_reset_device() race

2013-09-13 Thread Sergey Senozhatsky
On (09/12/13 15:12), Greg KH wrote: > On Wed, Sep 11, 2013 at 02:12:50AM +0300, Sergey Senozhatsky wrote: > > Dan Carpenter noted that handle_pending_slot_free() is racy with > > zram_reset_device(). Take write init_lock in zram_slot_free(), thus > > preventing any concurrent zram_slot_free(), zram

Re: [PATCH v4 0/2] ARM: dts: Beaglebone MMC fixes

2013-09-13 Thread Koen Kooi
Op 13 sep. 2013, om 00:27 heeft Kevin Hilman het volgende geschreven: > Koen Kooi writes: > >> Here are two patches to fix MMC on beaglebone, one fixes card detect on BBW, >> the other adds the eMMC entry for BBB and its fixed regulator. After that >> mmc1 >> gets a nice speed boost by movin

RE: [PATCH] mei: me: downgrade "suspend" message to debug level

2013-09-13 Thread Winkler, Tomas
> > > > Signed-off-by: Paul Bolle > > --- > > Lightly tested (on top of v3.10.10, actually). Should apply cleanly to > > v3.11 or current master. > > > > Perhaps a better fix is to remove this message entirely. > > Rechecking my logs I noticed a "stop" error on module unload. That > message coul

Re: [BUG] completely bonkers use of set_need_resched + VM_FAULT_NOPAGE

2013-09-13 Thread Peter Zijlstra
On Fri, Sep 13, 2013 at 10:41:54AM +0200, Daniel Vetter wrote: > On Fri, Sep 13, 2013 at 10:29 AM, Peter Zijlstra wrote: > > On Fri, Sep 13, 2013 at 09:46:03AM +0200, Thomas Hellstrom wrote: > >> >>if (!bo_tryreserve()) { > >> >> up_read mmap_sem(); // Release the mmap_sem to avoid deadlocks.

Re: [BUG] completely bonkers use of set_need_resched + VM_FAULT_NOPAGE

2013-09-13 Thread Maarten Lankhorst
Op 13-09-13 10:23, Thomas Hellstrom schreef: > On 09/13/2013 09:51 AM, Maarten Lankhorst wrote: >> Op 13-09-13 09:46, Thomas Hellstrom schreef: >>> On 09/13/2013 09:16 AM, Maarten Lankhorst wrote: Op 13-09-13 08:44, Thomas Hellstrom schreef: > On 09/12/2013 11:50 PM, Maarten Lankhorst wrot

Re: [PATCH] net: smsc: remove deprecated IRQF_DISABLED

2013-09-13 Thread Will Deacon
[adding David Brown] On Fri, Sep 13, 2013 at 05:27:47AM +0100, Michael Opdenacker wrote: > This patch proposes to remove the IRQF_DISABLED flag from > code in drivers/net/ethernet/smsc/ > > It's a NOOP since 2.6.35 and it will be removed one day. > > Signed-off-by: Michael Opdenacker > --- > d

Re: [PATCH 1/2] tools, perf: Add a precise event qualifier v2

2013-09-13 Thread Peter Zijlstra
On Thu, Sep 12, 2013 at 07:36:17PM +0200, Andi Kleen wrote: > > Your feature to export 'precise' requirements on events looks useful to > > me. We could implement it not by special casing it implicitly but by > > saying that if ../format/precise contains something like: > > > >attr:240-241

Re: [PATCH 3/4] Add physical count arch timer support for clocksource in ARMv7.

2013-09-13 Thread cinifr
On 13 September 2013 00:39, Marc Zyngier wrote: > On 12/09/13 17:07, cinifr wrote: >>> This cannot be a compile-time option as above in a multiplatform build. >>> Other paltforms (e.g. KVM guests) *must* use the virtual counters to get >>> any semblance of a consistent view of time. >> Yes I accep

Re: [RFC PATCH 3/3] kvm: Add VFIO device for handling IOMMU cache coherency

2013-09-13 Thread Alexey Kardashevskiy
On 09/13/2013 07:23 AM, Alex Williamson wrote: > So far we've succeeded at making KVM and VFIO mostly unaware of each > other, but there's any important point where that breaks down. Intel > VT-d hardware may or may not support snoop control. When snoop > control is available, intel-iommu promote

Re: [Intel-gfx] [PATCH 1/2] drm/i915: kill set_need_resched

2013-09-13 Thread Daniel Vetter
On Fri, Sep 13, 2013 at 2:59 AM, Rob Clark wrote: > I guess in i915 (and ttm) case, the issue arises due to need for CPU > access to buffer via GTT? In which case I should be safe to drop the > set_need_resched() as well? (Since CPU always has direct access to the > pages.) Or am I missing somet

[PATCH] scripts/config: fix variable substitution command

2013-09-13 Thread Clement Chauplannaz
Commit 229455bc02b87f7128f190c4491b4ce38648 accidentally changed the separator between sed `s' command and its parameters from ':' to '/'. Revert this change. Signed-off-by: Clement Chauplannaz --- scripts/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/co

Re: [BUG] completely bonkers use of set_need_resched + VM_FAULT_NOPAGE

2013-09-13 Thread Daniel Vetter
On Fri, Sep 13, 2013 at 10:29 AM, Peter Zijlstra wrote: > On Fri, Sep 13, 2013 at 09:46:03AM +0200, Thomas Hellstrom wrote: >> >>if (!bo_tryreserve()) { >> >> up_read mmap_sem(); // Release the mmap_sem to avoid deadlocks. >> >> bo_reserve(); // Wait for the BO to become avai

Re: [BUG] completely bonkers use of set_need_resched + VM_FAULT_NOPAGE

2013-09-13 Thread Thomas Hellstrom
On 09/13/2013 10:32 AM, Daniel Vetter wrote: On Fri, Sep 13, 2013 at 10:23 AM, Thomas Hellstrom wrote: As previously mentioned, copy_from_user should return -EFAULT, since the VMAs are marked with VM_IO. It should not recurse into fault(), so evil user-space looses. I haven't put a printk in t

<    2   3   4   5   6   7   8   >