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

2014-04-23 Thread Bing Zhao
Hi Stephen, > Hi John, > > After merging the wireless-next tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > drivers/net/wireless/mwifiex/pcie.c: In function 'mwifiex_pcie_fw_dump_work': > drivers/net/wireless/mwifiex/pcie.c:2290:3: error: implicit declaration of > f

Re: [PATCH 4/5] KVM: x86: RSI/RDI/RCX are zero-extended when affected by string ops

2014-04-23 Thread Nadav Amit
On 4/23/14, 11:11 PM, Marcelo Tosatti wrote: On Wed, Apr 23, 2014 at 04:58:32PM -0300, Marcelo Tosatti wrote: On Tue, Apr 22, 2014 at 09:04:45AM +0300, Nadav Amit wrote: Gleb, On 4/20/14, 12:26 PM, Gleb Natapov wrote: On Fri, Apr 18, 2014 at 07:11:33AM +0300, Nadav Amit wrote: When using add

Re: [PATCH 0/2] net: Implement SO_PEERCGROUP and SO_PASSCGROUP socket options

2014-04-23 Thread Daniel J Walsh
On 04/23/2014 03:05 PM, Vivek Goyal wrote: > On Tue, Apr 22, 2014 at 01:31:13PM -0700, Andy Lutomirski wrote: > [..] >>> Otherwise, without SO_PASSCGROUP, there is no way for datagram sockets >>> to find out the peer's open() time cgroup. >> Right. >> >> I'd still like to know what userspace appli

Re: [PATCH] iio: adc: Nothing in ADC should be a bool CONFIG

2014-04-23 Thread Jonathan Cameron
On 22/04/14 01:03, Doug Anderson wrote: The whole IIO subsystem can be moved to a module. If you make it a module then stuff marked as "Y" in the adc directory simply won't be linked in properly. The two configs that were wrong were EXYNOS_ADC and LP8788_ADC. I know for a fact that EXYNOS_ADC

Re: [PATCH 0/5] KVM: x86: Fix KVM behavior that does not follow spec

2014-04-23 Thread Marcelo Tosatti
On Fri, Apr 18, 2014 at 02:33:06AM +0300, Nadav Amit wrote: > This series of patches fix various scenarios in which KVM behavior does not > follow x86 specifications. Each patch actually deals with a separate bug. > These bugs can cause the guest to get stuck (i.e., make no progress), > encounter

Re: [PATCH 0/4 V3] Print traces on softlockup

2014-04-23 Thread Don Zickus
On Wed, Apr 23, 2014 at 12:35:50PM -0700, Andrew Morton wrote: > On Wed, 23 Apr 2014 15:22:28 -0400 Don Zickus wrote: > > > On Tue, Apr 22, 2014 at 11:28:28AM -0700, Andrew Morton wrote: > > > On Tue, 22 Apr 2014 11:17:24 -0400 Don Zickus wrote: > > > > > > > Added more patches to handle the 'u

Re: [RFC PATCH] cmdline: Hide "debug" from /proc/cmdline

2014-04-23 Thread Borislav Petkov
On Wed, Apr 23, 2014 at 05:15:07PM +0200, Borislav Petkov wrote: > Ok, here's a dirty hack that issues ratelimit messages at release > time. I probably should wrap it nicely in ratelimit_*() accessors > instead of poking directly at ratelimit_state. Yeah, maybe a > ratelimit_exit() wrapper which do

Re: [PATCH RFC] sysrq: rcu-ify __handle_sysrq

2014-04-23 Thread Rik van Riel
On 04/23/2014 04:04 PM, Andrew Morton wrote: > On Wed, 23 Apr 2014 12:53:52 -0400 Rik van Riel wrote: > >> Echoing values into /proc/sysrq-trigger seems to be a popular way to >> get information out of the kernel. However, dumping information about >> thousands of processes, or hundreds of CPUs t

[PATCH 1/2 v4] nmi: Provide the option to issue an NMI back trace to every cpu but current

2014-04-23 Thread Don Zickus
From: Aaron Tomlin Some times it is preferred not to use the trigger_all_cpu_backtrace() routine when one wants to avoid capturing a back trace for current. For instance if one was previously captured recently. This patch provides a new routine namely trigger_allbutself_cpu_backtrace() which off

[PATCH 2/2 v4] watchdog: Printing traces for all cpus on lockup detection

2014-04-23 Thread Don Zickus
From: Aaron Tomlin A 'softlockup' is defined as a bug that causes the kernel to loop in kernel mode for more than a predefined period to time, without giving other tasks a chance to run. Currently, upon detection of this condition by the per-cpu watchdog task, debug information (including a stac

Re: [PATCH 1/2] mfd: pm8x41: add support for Qualcomm 8x41 PMICs

2014-04-23 Thread Ivan T. Ivanov
On Wed, 2014-04-23 at 11:16 -0700, Courtney Cavin wrote: > On Wed, Apr 23, 2014 at 03:19:28PM +0200, Ivan T. Ivanov wrote: > > > > Hi, > > > > On Tue, 2014-04-22 at 17:31 -0700, Courtney Cavin wrote: > > > From: Josh Cartwright > > > > > > The Qualcomm 8941 and 8841 PMICs are components used w

Re: [PATCH v7 0/3] Add support for PCI in AArch64

2014-04-23 Thread Tanmay Inamdar
Hello Sandeepa, On Tue, Apr 22, 2014 at 4:50 AM, Sandeepa Prabhu wrote: > On 22 April 2014 15:41, Liviu Dudau wrote: >> On Tue, Apr 22, 2014 at 09:58:28AM +0100, Sandeepa Prabhu wrote: >>> On 14 March 2014 21:04, Liviu Dudau wrote: >>> > Hi, >>> > >>> > This patch adds support for PCI to AArch6

[PATCH V1 net-next 1/1] hyperv: Enable sendbuf mechanism on the send path

2014-04-23 Thread K. Y. Srinivasan
We send packets using a copy-free mechanism (this is the Guest to Host transport via VMBUS). While this is obviously optimal for large packets, it may not be optimal for small packets. Hyper-V host supports a second mechanism for sending packets that is "copy based". We implement that mechanism in

3.15-rc2: i915 regression: only top 20% of screen works in X

2014-04-23 Thread Pavel Machek
Hi! After update to 3.15-rc2, only top 20% of screen works on X. 00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03) Subsyst

Re: [PATCH 0/3] perf tools: Speedup DWARF unwind

2014-04-23 Thread Jiri Olsa
On Thu, Apr 17, 2014 at 07:39:09PM +0200, Jiri Olsa wrote: > hi, > trying to speedup DWARF unwind report code by factoring > related code: > - caching sample's registers access > - keep dso data file descriptor open for the > life of the dso object > - replace dso cache code by mapping ds

[PATCH v2 2/3] ARM: dts: oma3-gta04: Add display support

2014-04-23 Thread Marek Belisko
This patch add support for lcd display on gta04 board. Display control is connected on spi (used spi bitbang driver). Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dts | 86 +++ 1 file changed, 86 insertions(+) diff --git a/arch/arm/boot/dts/

[PATCH v2 3/3] omapdss: panel-tpo-td028ec1: Add module alias

2014-04-23 Thread Marek Belisko
Add module alias string to make it working when panel is compiled as module. Without this change panel module is not probed thus display is not working. Signed-off-by: Marek Belisko --- drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c | 1 + 1 file changed, 1 insertion(+) diff --gi

[PATCH v2 0/3] Add display support for gta04 device

2014-04-23 Thread Marek Belisko
This 3 patches adding display support for openmoko gta04 device. First patch add DT bindings for topolly td028 panel. Second add description for dss + panel and third fix panel probing when panel is compiled as module. Changes from v1: - extend panel compatible string by 'omapdss' - add tpo-td028

[PATCH v2 1/3] omapdss: panel-tpo-td028ec1: Add DT support.

2014-04-23 Thread Marek Belisko
Signed-off-by: Marek Belisko --- .../bindings/video/toppoly,td028ttec1.txt | 30 arch/arm/mach-omap2/display.c | 1 + .../omap2/displays-new/panel-tpo-td028ttec1.c | 32 +- 3 files changed, 62 insertions(+), 1 deletion(-

Re: [PATCH RESEND 1/2] rtc: 88pm860x: Use of_get_child_by_name

2014-04-23 Thread Andrew Morton
On Wed, 23 Apr 2014 14:29:27 +0200 Krzysztof Kozlowski wrote: > Use of_get_child_by_name to obtain reference to charger node instead of > of_find_node_by_name which can walk outside of the parent node. When fixing bugs please always include a description of the end-user visible effects of that

Re: [PATCH 4/5] KVM: x86: RSI/RDI/RCX are zero-extended when affected by string ops

2014-04-23 Thread Marcelo Tosatti
On Wed, Apr 23, 2014 at 04:58:32PM -0300, Marcelo Tosatti wrote: > On Tue, Apr 22, 2014 at 09:04:45AM +0300, Nadav Amit wrote: > > Gleb, > > > > On 4/20/14, 12:26 PM, Gleb Natapov wrote: > > >On Fri, Apr 18, 2014 at 07:11:33AM +0300, Nadav Amit wrote: > > >>When using address-size override prefix

Re: [PATCH RFC] sysrq: rcu-ify __handle_sysrq

2014-04-23 Thread Andrew Morton
On Wed, 23 Apr 2014 12:53:52 -0400 Rik van Riel wrote: > Echoing values into /proc/sysrq-trigger seems to be a popular way to > get information out of the kernel. However, dumping information about > thousands of processes, or hundreds of CPUs to serial console can > result in IRQs being blocked

Re: [PATCH v2 00/13] extcon: major rework

2014-04-23 Thread Aaro Koskinen
Hi, On Mon, Apr 14, 2014 at 01:46:11PM +0200, Robert Baldyga wrote: > This patchset adds many improvements to extcon class driver and extcon > provider drivers. It changes extcon API to faster and safer by replaceing > function taking extcon and cable names with functions working with > structures

Re: How do I make a clean mount namespace?

2014-04-23 Thread Richard Weinberger
On Wed, Apr 23, 2014 at 12:12 AM, Andy Lutomirski wrote: > I want to set up a little container. So I unshare the mount namespace > and mount something somewhere (say /mnt) that I want to be my new > root. Now what? > > pivot_root("/mnt", "/mnt/garbage") seems to frequently return -EBUSY. > > mou

Re: [PATCH] perf/x86: fix RAPL rdmsrl_safe() usage

2014-04-23 Thread Andi Kleen
> > Acked-by: Borislav Petkov > > Brown-Paper-Bag-Worn-By: Venkatesh Srinivas Again the bug is really in KVM. We wouldn't need all this crap if KVM didn't throw the bogus #GPs. I'm sure you missed plenty of MSR accesses elsewhere, and it's a ticking time bomb. If the VM lies to the kernel with

Re: [PATCH 4/5] KVM: x86: RSI/RDI/RCX are zero-extended when affected by string ops

2014-04-23 Thread Marcelo Tosatti
On Tue, Apr 22, 2014 at 09:04:45AM +0300, Nadav Amit wrote: > Gleb, > > On 4/20/14, 12:26 PM, Gleb Natapov wrote: > >On Fri, Apr 18, 2014 at 07:11:33AM +0300, Nadav Amit wrote: > >>When using address-size override prefix with string instructions in > >>long-mode, > >>ESI/EDI/ECX are zero extended

[PATCH 1/1] Drivers: hv: balloon: Ensure pressure reports are posted regularly

2014-04-23 Thread K. Y. Srinivasan
The current code posts periodic memory pressure status from a dedicated thread. Under some conditions, especially when we are releasing a lot of memory into the guest, we may not send timely pressure reports back to the host. Fix this issue by reporting pressure in all contexts that can be active i

[PATCH] audit: x86: drop arch from __audit_syscall_entry() interface

2014-04-23 Thread Eric Paris
From: Richard Guy Briggs Since the arch is found locally in __audit_syscall_entry(), there is no need to pass it in as a parameter. Delete it from the parameter list. x86* was the only arch to call __audit_syscall_entry() directly and did so from assembly code. Signed-off-by: Richard Guy Brigg

Re: vmstat: On demand vmstat workers V3

2014-04-23 Thread Christoph Lameter
On Wed, 23 Apr 2014, Max Krasnyansky wrote: > The updates are done via the regular priority workqueue. Yup so things could be fixed at that level with setting an additional workqueue flag? > I'm playing with isolation as well (has been more or less a background thing > for the last 6+ years). Ou

Re: [PATCH 001/001] btrfs: Mechanism to modify the permission of a subvolume

2014-04-23 Thread Filipe David Manana
On Wed, Apr 23, 2014 at 2:28 PM, J S, Ajesh wrote: > From: Ajesh JS > > This patch provides a mechanism to modify the permission of a subvolume in a > btrfs file system > This helps to apply a policy of having read-write subvolume inside a > read-only subvolume. > One use case is to have the wh

Re: [PATCH 0/4 V3] Print traces on softlockup

2014-04-23 Thread Andrew Morton
On Wed, 23 Apr 2014 15:22:28 -0400 Don Zickus wrote: > On Tue, Apr 22, 2014 at 11:28:28AM -0700, Andrew Morton wrote: > > On Tue, 22 Apr 2014 11:17:24 -0400 Don Zickus wrote: > > > > > Added more patches to handle the 'uniprocessor' panic case by sending NMIs > > > to every cpu but self. Only

Re: [PATCH 1/2] KVM: async_pf: kill the unnecessary use_mm/unuse_mm async_pf_execute()

2014-04-23 Thread Oleg Nesterov
On 04/22, Christian Borntraeger wrote: > > On 22/04/14 22:15, Christian Borntraeger wrote: > > On 21/04/14 15:25, Oleg Nesterov wrote: > >> async_pf_execute() has no reasons to adopt apf->mm, gup(current, mm) > >> should work just fine even if current has another or NULL ->mm. > >> > >> Recently kv

Re: [PATCH] perf/x86: fix RAPL rdmsrl_safe() usage

2014-04-23 Thread Venkatesh Srinivas
On Wed, Apr 23, 2014 at 12:00 PM, Borislav Petkov wrote: > On Wed, Apr 23, 2014 at 07:04:19PM +0200, Stephane Eranian wrote: >> >> This patch fixes a bug introduced by commit 24223657. > > Maybe add > > Fixes: > > tag? > >> The rdmsrl_safe() function returns 0 on success. >> The current code was

Re: [PATCH RFC] blkcg: prepare blkcg knobs for default hierarchy

2014-04-23 Thread Tejun Heo
Hello, On Wed, Apr 23, 2014 at 03:21:09PM -0400, Vivek Goyal wrote: > In general this idea makes sense. Exporting both request and bio will > solve the problem of io accounting. Also that should allow us to > get rid of blkio.io_merged. Yeah, that'd make more sense, I think. IO submitted vs. act

Re: [PATCH v2 0/3] net: via-rhine: add support for on-chip Rhine controllers

2014-04-23 Thread David Miller
From: Alexey Charkov Date: Tue, 22 Apr 2014 19:28:06 +0400 > This series introduces platform bus (OpenFirmware) binding for > via-rhine, as used in various ARM-based Systems-on-Chip by > VIA/WonderMedia. > > This has been tested in OF configuration by myself on a WM8950-based VIA > APC Rock d

Re: mmotm 2014-04-22-15-20 uploaded (uml 32- and 64-bit defconfigs)

2014-04-23 Thread Nishanth Aravamudan
On 23.04.2014 [11:24:42 -0700], Andrew Morton wrote: > On Wed, 23 Apr 2014 14:16:00 -0400 Luiz Capitulino > wrote: > > > On Wed, 23 Apr 2014 10:48:27 -0700 > > > >>> You will need quilt to apply these patches to the latest Linus > > > >>> release (3.x > > > >>> or 3.x-rcY). The series file is

Re: [RFC][glibc PATCH] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-04-23 Thread Jeff Layton
On Wed, 23 Apr 2014 15:00:06 -0400 a...@gnu.org (Alfred M. Szmidt) wrote: >> Likewise. You infact write that it does get the lock information >> later in the document wrt. F_OFD_GETLK. > >Sorry, I disagree here...GETLK is really a misnomer, IMO. TESTLK >would have been a better n

Re: [PATCH] crypto_user: Fix out-of-bounds read

2014-04-23 Thread Dan Carpenter
On Wed, Apr 23, 2014 at 08:48:34AM -0700, Andy Lutomirski wrote: > BUILD_BUG_ON(NLMSG_MIN_TYPE != CRYPTO_MSG_BASE) might be a better > thing to add, then. I don't have a strong opinion. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH 00/28] nios2 Linux kernel port

2014-04-23 Thread H. Peter Anvin
I think Linuxs said we should just fix POSIX on that front. On April 23, 2014 11:15:34 AM PDT, "Pinski, Andrew" wrote: > > >> On Apr 23, 2014, at 10:59 AM, "Chung-Lin Tang" > wrote: >> >>> On 2014/4/22 07:20 PM, Ley Foon Tan wrote: >>> On Tue, Apr 22, 2014 at 6:56 PM, Arnd Bergmann >wrote: >>>

Re: [PATCH v2 2/2] staging: panel: fix sparse warnings in lcd_write

2014-04-23 Thread Dan Carpenter
On Wed, Apr 23, 2014 at 07:35:02PM +0200, Bastien Armand wrote: > On Tue, Apr 22, 2014 at 01:01:45PM +0300, Dan Carpenter wrote: > The aim of my patch was basically to add __user annotation. I tried to > keep the change minimal to lessen the risk of regression Yes. That's the right approach. The

Re: [PATCH 0/4 V3] Print traces on softlockup

2014-04-23 Thread Don Zickus
On Tue, Apr 22, 2014 at 11:28:28AM -0700, Andrew Morton wrote: > On Tue, 22 Apr 2014 11:17:24 -0400 Don Zickus wrote: > > > Added more patches to handle the 'uniprocessor' panic case by sending NMIs > > to every cpu but self. Only affects x86, sparc. > > > > Looks OK to me. A couple of things

Re: [PATCH 2/2] arm64: topology: add MPIDR-based detection

2014-04-23 Thread Zi Shen Lim
On Wed, Apr 23, 2014 at 07:26:11PM +0100, Mark Brown wrote: > On Wed, Apr 23, 2014 at 10:27:20AM -0700, Zi Shen Lim wrote: > > It will at least ensure that all clusters get assigned a unique ID and > we don't end up discarding some of the information and coming out with > two identically numbered

Re: [PATCH RFC] blkcg: prepare blkcg knobs for default hierarchy

2014-04-23 Thread Vivek Goyal
On Wed, Apr 23, 2014 at 03:00:43PM -0400, Tejun Heo wrote: > Hello, > > On Wed, Apr 23, 2014 at 02:58:35PM -0400, Vivek Goyal wrote: > > Oh, sorry, I had misunderstood your question. > > > > - Number of IOs serviced will be different at throttling layer and > > CFQ layer as throttling accounts

Re: [RFC][glibc PATCH] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-04-23 Thread Michael Kerrisk (man-pages)
On Wed, Apr 23, 2014 at 9:00 PM, Alfred M. Szmidt wrote: >> Likewise. You infact write that it does get the lock information >> later in the document wrt. F_OFD_GETLK. > >Sorry, I disagree here...GETLK is really a misnomer, IMO. TESTLK >would have been a better name. I'm inclined

Re: [PATCH net-next 1/1] hyperv: Enable sendbuf mechanism on the send path

2014-04-23 Thread David Miller
From: "K. Y. Srinivasan" Date: Tue, 22 Apr 2014 11:03:32 -0700 > + skb = (struct sk_buff *) > + packet->send_completion_tid; As in netvsc_xmit_completion() this must be coded as: skb = (struct sk_buff *) (unsigned long)packet->send_completio

Re: [PATCH 0/2] net: Implement SO_PEERCGROUP and SO_PASSCGROUP socket options

2014-04-23 Thread Vivek Goyal
On Tue, Apr 22, 2014 at 01:31:13PM -0700, Andy Lutomirski wrote: [..] > > Otherwise, without SO_PASSCGROUP, there is no way for datagram sockets > > to find out the peer's open() time cgroup. > > Right. > > I'd still like to know what userspace applications want this feature. > The canonical exam

[PATCH] staging: unisys: fix copyright notices

2014-04-23 Thread Benjamin Romer
This patch changes all of the various representations of the copyright symbol to (C). Signed-off-by: Benjamin Romer --- drivers/staging/unisys/channels/channel.c | 2 +- drivers/staging/unisys/channels/chanstub.c | 2 +- drivers/staging/

Re: [PATCH] perf/x86: fix RAPL rdmsrl_safe() usage

2014-04-23 Thread Borislav Petkov
On Wed, Apr 23, 2014 at 07:04:19PM +0200, Stephane Eranian wrote: > > This patch fixes a bug introduced by commit 24223657. Maybe add Fixes: tag? > The rdmsrl_safe() function returns 0 on success. > The current code was failing to detect the RAPL PMU > on real hardware (missing /sys/devices/

[PATCH 1/3] nohz: Only update sleeptime stats locally

2014-04-23 Thread Denys Vlasenko
From: Frederic Weisbecker The idle and io sleeptime stats can be updated concurrently from callers of get_cpu_idle_time_us(), get_cpu_iowait_time_us() and tick_nohz_stop_idle(). Updaters can easily race and mess up with internal datas coherency, for example when a governor calls a get_cpu_*_time

[PATCH 2/3] nohz: Synchronize sleep time stats with memory barriers

2014-04-23 Thread Denys Vlasenko
When some call site uses get_cpu_*_time_us() to read a sleeptime stat, it deduces the total sleeptime by adding the pending time to the last sleeptime snapshot if the CPU target is idle. But this only works if idle_sleeptime, idle_entrytime and idle_active are read and updated under some disciplin

[PATCH 3/3] nohz: Fix iowait overcounting if iowait task migrates

2014-04-23 Thread Denys Vlasenko
Before this change, if last IO-blocked task wakes up on a different CPU, the original CPU may stay idle for much longer, and the entire time it stays idle is accounted as iowait time. This change adds struct tick_sched::iowait_exittime member. On entry to idle, it is set to KTIME_MAX. Last IO-bloc

Re: [PATCH 11/11] ext4: add cross rename support

2014-04-23 Thread Michael Kerrisk (man-pages)
On 04/23/2014 04:21 PM, Miklos Szeredi wrote: > On Sat, Apr 19, 2014 at 11:08 AM, Michael Kerrisk (man-pages) > wrote: >> Hi Miklos, >> >>> The code changes are pushed to the git tree and the updated man page is >>> below. >> >> Now that renameat2() is in 3.15, I've taken these changes. This had

Re: [PATCH] s390/ccwgroup: Fix memory corruption

2014-04-23 Thread Tejun Heo
On Wed, Apr 23, 2014 at 08:58:45PM +0200, Christian Borntraeger wrote: > commit 0b60f9ead5d4816e7e3d6e28f4a0d22d4a1b2513 (s390: use > device_remove_file_self() instead of device_schedule_callback()) > > caused random memory corruption on my s390 box. Turns out that the > last element of the ccwgro

Re: [PATCH RFC] blkcg: prepare blkcg knobs for default hierarchy

2014-04-23 Thread Tejun Heo
Hello, On Wed, Apr 23, 2014 at 02:58:35PM -0400, Vivek Goyal wrote: > Oh, sorry, I had misunderstood your question. > > - Number of IOs serviced will be different at throttling layer and > CFQ layer as throttling accounts IO in terms of bios and CFQ > accounts in terms of number of requests.

Re: [PATCH 2/2] nohz: Synchronize sleep time stats with memory barriers

2014-04-23 Thread Denys Vlasenko
On Tue, Apr 15, 2014 at 12:51 PM, Peter Zijlstra wrote: > On Wed, Apr 02, 2014 at 10:17:52PM +0200, Denys Vlasenko wrote: >> When some call site uses get_cpu_*_time_us() to read a sleeptime >> stat, it deduces the total sleeptime by adding the pending time >> to the last sleeptime snapshot if the

Re: [RFC][glibc PATCH] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-04-23 Thread Alfred M. Szmidt
> Likewise. You infact write that it does get the lock information > later in the document wrt. F_OFD_GETLK. Sorry, I disagree here...GETLK is really a misnomer, IMO. TESTLK would have been a better name. GETLK are used is to "get the first lock". It's a way to test whether a

Re: [PATCH] net/phy: micrel: fix bugged test on device tree loading for ksz9021

2014-04-23 Thread David Miller
From: Hubert Chaumette Date: Tue, 22 Apr 2014 15:01:04 +0200 > In ksz9021_load_values_from_of() val2 to val4 aren't tested against their > initialization value. > This causes the test to always succeed, and this value to be used as if it > was loaded from the devicetree instead of being ignored,

[PATCH] s390/ccwgroup: Fix memory corruption

2014-04-23 Thread Christian Borntraeger
commit 0b60f9ead5d4816e7e3d6e28f4a0d22d4a1b2513 (s390: use device_remove_file_self() instead of device_schedule_callback()) caused random memory corruption on my s390 box. Turns out that the last element of the ccwgroup structure is of dynamic size, so we must move the newly introduced work struct

Re: [PATCH RFC] blkcg: prepare blkcg knobs for default hierarchy

2014-04-23 Thread Vivek Goyal
On Wed, Apr 23, 2014 at 02:52:31PM -0400, Tejun Heo wrote: > Hello, > > On Wed, Apr 23, 2014 at 01:17:20PM -0400, Vivek Goyal wrote: > > I think we should just require two. One for measuring rate in terms > > of IOPS and other for measuring rate in terms of [kMG]B/sec. > > I meant between cfq and

Re: [PATCH 1/2] gpio: pl061: get gpio base from alias id

2014-04-23 Thread Rob Herring
On Mon, Apr 21, 2014 at 8:35 PM, Haojian Zhuang wrote: > If gpio base number isn't specified, the gpio base will be find from > the end of gpio number. In order to keep with schematics, use alias > to get the ID of gpio chip. NAK. This is an abuse aliases. > Signed-off-by: Haojian Zhuang > ---

Re: [PATCH RFC] blkcg: prepare blkcg knobs for default hierarchy

2014-04-23 Thread Tejun Heo
Hello, On Wed, Apr 23, 2014 at 01:17:20PM -0400, Vivek Goyal wrote: > I think we should just require two. One for measuring rate in terms > of IOPS and other for measuring rate in terms of [kMG]B/sec. I meant between cfq and blk-throttle. Why do we have separate stats for them to present ultimat

Re: [PATCH] bridge: simplify a br_multicast_query_received() function call

2014-04-23 Thread David Miller
From: Linus Lüssing Date: Mon, 21 Apr 2014 20:59:35 +0200 > The call from the IPv6 part can be simplified as the beginning of the > calling function ensures that we end up here when having a proper IPv6 > source address only. > > Introduced by 6565b9eeef194afbb3beec80d6dd2447f4091f8c > ("bridge:

Re: [PATCH net-next,v2,1/2] hyperv: Remove recv_pkt_list and lock

2014-04-23 Thread David Miller
From: Haiyang Zhang Date: Mon, 21 Apr 2014 14:54:43 -0700 > Removed recv_pkt_list and lock, and updated related code, so that > the locking overhead is reduced especially when multiple channels > are in use. > > The recv_pkt_list isn't actually necessary because the packets are > processed seque

Re: [PATCH net-next,v2,2/2] hyperv: Simplify the send_completion variables

2014-04-23 Thread David Miller
From: Haiyang Zhang Date: Mon, 21 Apr 2014 14:54:44 -0700 > The union contains only one member now, so we use the variables in it > directly. > > Signed-off-by: Haiyang Zhang > Reviewed-by: K. Y. Srinivasan Also applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe li

Re: extcon-next regression ?

2014-04-23 Thread Felipe Balbi
Hi, On Wed, Apr 23, 2014 at 12:20:52PM -0500, Felipe Balbi wrote: > > I've been testing extcon-next to make sure USB3 on OMAP5 will work out > > of the box but I see a regression when I merge your tree on top of > > v3.15-rc2 + Tony's DT fixes. > > > > Here's what I see (trimmed): > > > > [1

Re: [PATCH 00/28] nios2 Linux kernel port

2014-04-23 Thread Pinski, Andrew
> On Apr 23, 2014, at 10:59 AM, "Chung-Lin Tang" > wrote: > >> On 2014/4/22 07:20 PM, Ley Foon Tan wrote: >> On Tue, Apr 22, 2014 at 6:56 PM, Arnd Bergmann wrote: On Tuesday 22 April 2014 18:37:11 Ley Foon Tan wrote: >> Hi Arnd and Peter Anvin, >> >> Other than 64-bit time_t

Re: [PATCH 2/2] arm64: topology: add MPIDR-based detection

2014-04-23 Thread Mark Brown
On Wed, Apr 23, 2014 at 10:27:20AM -0700, Zi Shen Lim wrote: > Or is it likely that some folks may opt to skip aff2, and simply use aff3? > Mark, is there precedence for such usage of affinity levels? Not that I'm aware of at the minute myself but of course this code may end up running on some en

Re: mmotm 2014-04-22-15-20 uploaded (uml 32- and 64-bit defconfigs)

2014-04-23 Thread Andrew Morton
On Wed, 23 Apr 2014 14:16:00 -0400 Luiz Capitulino wrote: > On Wed, 23 Apr 2014 10:48:27 -0700 > > >>> You will need quilt to apply these patches to the latest Linus release > > >>> (3.x > > >>> or 3.x-rcY). The series file is in broken-out.tar.gz and is duplicated > > >>> in > > >>> http://o

Re: mmotm 2014-04-22-15-20 uploaded (uml 32- and 64-bit defconfigs)

2014-04-23 Thread Randy Dunlap
On 04/23/14 11:16, Luiz Capitulino wrote: > On Wed, 23 Apr 2014 10:48:27 -0700 > Randy Dunlap wrote: > >> On 04/23/14 10:41, Luiz Capitulino wrote: >>> On Wed, 23 Apr 2014 10:10:29 -0700 >>> Randy Dunlap wrote: >>> On 04/22/14 15:21, a...@linux-foundation.org wrote: > The mm-of-the-mome

Re: [PATCH 5/4] ipc,shm: minor cleanups

2014-04-23 Thread Manfred Spraul
On 04/23/2014 04:53 AM, Davidlohr Bueso wrote: - Breakup long function names/args. - Cleaup variable declaration. s/Cleaup/Cleanup/ - s/current->mm/mm Signed-off-by: Davidlohr Bueso Signed-off-by: Manfred Spraul @@ -681,7 +679,8 @@ copy_shmid_from_user(struct shmid64_ds *out, void __us

Re: [PATCH 8/8] printk: Add config option for disabling printk offloading

2014-04-23 Thread Andrew Morton
On Wed, 23 Apr 2014 13:08:47 +0200 Jan Kara wrote: > > If you want reliable crash logging then we need to be able to set a > > printk level mask per console and just set the serial console for > > "crit/err" and the queue console for the rest, with a 'cat > > >/dev/ttywhatever' running if this fe

Re: mmotm 2014-04-22-15-20 uploaded (uml 32- and 64-bit defconfigs)

2014-04-23 Thread Luiz Capitulino
On Wed, 23 Apr 2014 10:48:27 -0700 Randy Dunlap wrote: > On 04/23/14 10:41, Luiz Capitulino wrote: > > On Wed, 23 Apr 2014 10:10:29 -0700 > > Randy Dunlap wrote: > > > >> On 04/22/14 15:21, a...@linux-foundation.org wrote: > >>> The mm-of-the-moment snapshot 2014-04-22-15-20 has been uploaded t

Re: 3.15rc2 hanging processes on exit.

2014-04-23 Thread Dave Jones
On Wed, Apr 23, 2014 at 11:11:53AM -0700, Hugh Dickins wrote: > > Very odd. Does anybody see anything I missed? > > Easily explained (correct me if I'm wrong): Dave is reporting this from > his testing of 3.14, correct. > but Linus is looking at his 3.15-rc git tree, which now contains >

Re: [PATCH 1/2] mfd: pm8x41: add support for Qualcomm 8x41 PMICs

2014-04-23 Thread Courtney Cavin
On Wed, Apr 23, 2014 at 03:19:28PM +0200, Ivan T. Ivanov wrote: > > Hi, > > On Tue, 2014-04-22 at 17:31 -0700, Courtney Cavin wrote: > > From: Josh Cartwright > > > > The Qualcomm 8941 and 8841 PMICs are components used with the Snapdragon > > 800 series SoC family. This driver exists largely

Re: [GIT PULL] regulator: First pull of MFD <-> Regulator IB (v3.16)

2014-04-23 Thread Mark Brown
On Wed, Apr 23, 2014 at 04:00:47PM +0100, Lee Jones wrote: > > Can you drop the last one please, I've already applied it? I'd have > > expected just the first two (or probably even just the second one). If > > you need it in your tree just grab the branch (or I can tag it if you > > like). > >

Re: 3.15rc2 hanging processes on exit.

2014-04-23 Thread Hugh Dickins
On Wed, 23 Apr 2014, Linus Torvalds wrote: > On Wed, Apr 23, 2014 at 7:49 AM, Dave Jones wrote: > > > > So for reasons I can't figure out, I've not been able to hit it on 3.14 Thanks for trying. Not the reassuring answer that I was hoping for, so I'd better give it a little more thought, to see

Re: [PATCH] doc: make clean does not remove some xml files

2014-04-23 Thread Randy Dunlap
On 04/23/14 03:24, Masanari Iida wrote: > "make clean" does not remove following files in > Documentations/Docbook. > > audio.h.xml, ca.h.xml, dmx.h.xml, frontend.h.xml > net.h.xml, videodev2.h.xml vide.h.xml. > > These files are generated when "make xmldocs". > > Signed-off-by: Masanari Iida

Re: [PATCH 00/28] nios2 Linux kernel port

2014-04-23 Thread Chung-Lin Tang
On 2014/4/22 07:20 PM, Ley Foon Tan wrote: > On Tue, Apr 22, 2014 at 6:56 PM, Arnd Bergmann wrote: >> > On Tuesday 22 April 2014 18:37:11 Ley Foon Tan wrote: >>> >> Hi Arnd and Peter Anvin, >>> >> >>> >> Other than 64-bit time_t, clock_t and suseconds_t, can you confirm >>> >> that we don't need t

Re: [PATCH v9 05/19] qspinlock: Optimize for smaller NR_CPUS

2014-04-23 Thread Konrad Rzeszutek Wilk
On Wed, Apr 23, 2014 at 01:43:58PM -0400, Waiman Long wrote: > On 04/23/2014 10:56 AM, Konrad Rzeszutek Wilk wrote: > >On Wed, Apr 23, 2014 at 10:23:43AM -0400, Waiman Long wrote: > >>On 04/18/2014 05:40 PM, Waiman Long wrote: > >>>On 04/18/2014 03:05 PM, Peter Zijlstra wrote: > On Fri, Apr 18,

RE: [PATCH 0/2] Eliminate spin locks in the vmbus channel callback path

2014-04-23 Thread KY Srinivasan
> -Original Message- > From: K. Y. Srinivasan [mailto:k...@microsoft.com] > Sent: Tuesday, April 8, 2014 6:45 PM > To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com > Cc: KY Srinivasan >

Re: mmotm 2014-04-22-15-20 uploaded (uml 32- and 64-bit defconfigs)

2014-04-23 Thread Randy Dunlap
On 04/23/14 10:41, Luiz Capitulino wrote: > On Wed, 23 Apr 2014 10:10:29 -0700 > Randy Dunlap wrote: > >> On 04/22/14 15:21, a...@linux-foundation.org wrote: >>> The mm-of-the-moment snapshot 2014-04-22-15-20 has been uploaded to >>> >>>http://www.ozlabs.org/~akpm/mmotm/ >>> >>> mmotm-readme.

RE: [Bugfix] sched: fix possible invalid memory access caused by CPU hot-addition

2014-04-23 Thread Luck, Tony
> > > 1) Handle CPU hot-addition event > > > 1.a) gather platform specific information > > > 1.b) associate hot-added CPU with a node > > > 1.c) create CPU device > > > 2) User online hot-added CPUs through sysfs: > > > 2.a) cpu_up() > > > 2.b) ->try_online_node() > > > 2.c)

Generating .config from device tree [was Re: Hardware dependencies in Kconfig]

2014-04-23 Thread Pavel Machek
Hi! > Ideally, the arch doesn't matter at all for a driver, only the > infrastructure the driver depends on does. So perhaps the Actually, it would be nice if user was never asked for combination that can be compiled, and kernel would support them, but there's no such hardware. For example, if

Re: [PATCH] x86-64: espfix for 64-bit mode *PROTOTYPE*

2014-04-23 Thread Andrew Lutomirski
On Wed, Apr 23, 2014 at 10:28 AM, H. Peter Anvin wrote: > On 04/23/2014 10:25 AM, Andrew Lutomirski wrote: >> On Wed, Apr 23, 2014 at 10:16 AM, H. Peter Anvin wrote: >>> On 04/23/2014 10:08 AM, Andrew Lutomirski wrote: The only way I can see to trigger the race is with sigreturn, but it

Re: [PATCH 1/3] crypto: Fix potential leak in test_aead_speed() if aad_size is too big

2014-04-23 Thread Marek Vasut
On Wednesday, April 23, 2014 at 07:43:35 PM, Christian Engelmayer wrote: > On Wed, 23 Apr 2014 01:33:05 +0200, Marek Vasut wrote: > > On Monday, April 21, 2014 at 08:45:59 PM, Christian Engelmayer wrote: > > > + if (aad_size >= PAGE_SIZE) { > > > > On an unrelated note ... Won't if (aad_size > PA

Re: [PATCH v9 05/19] qspinlock: Optimize for smaller NR_CPUS

2014-04-23 Thread Waiman Long
On 04/23/2014 10:56 AM, Konrad Rzeszutek Wilk wrote: On Wed, Apr 23, 2014 at 10:23:43AM -0400, Waiman Long wrote: On 04/18/2014 05:40 PM, Waiman Long wrote: On 04/18/2014 03:05 PM, Peter Zijlstra wrote: On Fri, Apr 18, 2014 at 01:52:50PM -0400, Waiman Long wrote: I am confused by your notatio

Re: [PATCH 1/3] crypto: Fix potential leak in test_aead_speed() if aad_size is too big

2014-04-23 Thread Christian Engelmayer
On Wed, 23 Apr 2014 01:33:05 +0200, Marek Vasut wrote: > On Monday, April 21, 2014 at 08:45:59 PM, Christian Engelmayer wrote: > > + if (aad_size >= PAGE_SIZE) { > > On an unrelated note ... Won't if (aad_size > PAGE_SIZE) be sufficient here? From what I have seen how the buffers are allocated

Re: [PATCH v2 2/2] ARM: dts: berlin: enable SD card reader and eMMC for the BG2Q DMP

2014-04-23 Thread Sebastian Hesselbarth
On 04/23/2014 07:36 PM, Antoine Ténart wrote: > On Wed, Apr 23, 2014 at 07:26:23PM +0200, Sebastian Hesselbarth wrote: >> On 04/22/2014 10:27 AM, Antoine Ténart wrote: >>> Enable the SD Card reader and the internal eMMC on the Berlin BG2Q DMP >>> using two of the SDHCI nodes of the Berlin BG2Q. >>>

Re: mmotm 2014-04-22-15-20 uploaded (uml 32- and 64-bit defconfigs)

2014-04-23 Thread Luiz Capitulino
On Wed, 23 Apr 2014 10:10:29 -0700 Randy Dunlap wrote: > On 04/22/14 15:21, a...@linux-foundation.org wrote: > > The mm-of-the-moment snapshot 2014-04-22-15-20 has been uploaded to > > > >http://www.ozlabs.org/~akpm/mmotm/ > > > > mmotm-readme.txt says > > > > README for mm-of-the-moment:

[PATCH] staging: panel: fix regression in lcd_write

2014-04-23 Thread Bastien Armand
This patch fix a regression in lcd_write caused by commit 70a8c3eb8546cefe40fb0bc7991e8899b7b91075 Signed-off-by: Bastien Armand --- drivers/staging/panel/panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c in

Re: [PATCH v3 2/2] dt: platform driver: Fill the resources before probe and defer if needed

2014-04-23 Thread Russell King - ARM Linux
On Mon, Apr 21, 2014 at 02:01:05PM -0500, Rob Herring wrote: > Ah, right. Except for those drivers you need to work with deferred probe > would have to use platform_get_irq. That fact makes this solution quite > a bit easier. > > Something like this is what you had in mind? The below is what I ha

Re: [PATCH 2/4] dt: bindings: Typo s/interrupts-names/interrupt-names/g

2014-04-23 Thread Geert Uytterhoeven
Hi Linus, On Wed, Apr 23, 2014 at 4:11 PM, Linus Walleij wrote: > On Tue, Apr 22, 2014 at 8:40 PM, Geert Uytterhoeven > wrote: >> Signed-off-by: Geert Uytterhoeven >> Cc: Linus Walleij >> Cc: Signed-off-by: Mark Brown >> --- >> .../devicetree/bindings/pinctrl/pinctrl-st.txt |4 ++-- >

[PATCH v4 2/4] ARM: dts: omap5: add sata node

2014-04-23 Thread Roger Quadros
From: Balaji T K Add support for sata. [Roger Q] Clean up. CC: Benoit Cousson CC: Tony Lindgren Signed-off-by: Balaji T K Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap5.dtsi | 40 1 file changed, 40 insertions(+) diff --git a/arch/arm/boo

Re: [PATCH 1/2] mfd: pm8x41: add support for Qualcomm 8x41 PMICs

2014-04-23 Thread Courtney Cavin
On Wed, Apr 23, 2014 at 12:50:55PM +0200, Lee Jones wrote: > > From: Josh Cartwright > > > > The Qualcomm 8941 and 8841 PMICs are components used with the Snapdragon > > 800 series SoC family. This driver exists largely as a glue mfd component, > > it exists to be an owner of an SPMI regmap for

[PATCH v4 3/4] ARM: DRA7: hwmod: Add ocp2scp3 and sata hwmods

2014-04-23 Thread Roger Quadros
From: Nikhil Devshatwar Add hwmods for ocp2scp3 and sata modules. [Roger Q] Clean up. CC: Benoit Cousson CC: Paul Walmsley Signed-off-by: Balaji T K Signed-off-by: Nikhil Devshatwar Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 31 ++-

Re: [PATCH v2 2/2] ARM: dts: berlin: enable SD card reader and eMMC for the BG2Q DMP

2014-04-23 Thread Antoine Ténart
Sebastian, On Wed, Apr 23, 2014 at 07:26:23PM +0200, Sebastian Hesselbarth wrote: > On 04/22/2014 10:27 AM, Antoine Ténart wrote: > > Enable the SD Card reader and the internal eMMC on the Berlin BG2Q DMP > > using two of the SDHCI nodes of the Berlin BG2Q. > > > > Signed-off-by: Antoine Ténart

[PATCH v4 4/4] ARM: dts: dra7: add OCP2SCP3 and SATA nodes

2014-04-23 Thread Roger Quadros
From: Balaji T K Add nodes for OCP2SCP3 bus, SATA controller and SATA PHY. [Roger Q] Clean up. CC: Benoit Cousson Signed-off-by: Balaji T K Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dra7.dtsi | 39 +++ 1 file changed, 39 insertions(+) diff --git

Re: [PATCH v1] dma: imx-sdma: add support for sdma memory copy

2014-04-23 Thread Randy Dunlap
On 04/22/14 04:24, Andy Shevchenko wrote: > On Tue, 2014-04-22 at 18:51 +0800, Robin Gong wrote: >> On Tue, Apr 22, 2014 at 10:28:05AM +, Shevchenko, Andriy wrote: >>> On Fri, 2014-04-18 at 17:41 +0800, Robin Gong wrote: On Thu, Apr 17, 2014 at 10:24:50AM +, Shevchenko, Andriy wrote: >

Re: [PATCH v2 2/2] staging: panel: fix sparse warnings in lcd_write

2014-04-23 Thread Bastien Armand
On Tue, Apr 22, 2014 at 01:01:45PM +0300, Dan Carpenter wrote: > Out of curiosity, have you tested this patch? > > On Fri, Apr 18, 2014 at 06:10:57PM +0200, Bastien Armand wrote: > > This patch fixes two sparse warnings related to lcd_write : > > warning: incorrect type in argument 1 (different ad

[PATCH v4 1/4] ARM: OMAP5: hwmod: Add ocp2scp3 and sata hwmods

2014-04-23 Thread Roger Quadros
From: Keshava Munegowda Create hwmods for ocp2scp3 and sata modules. [Roger Q] Clean up. CC: Benoit Cousson Acked-by: Paul Walmsley Signed-off-by: Balaji T K Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 73 ++ 1 file changed, 73

<    1   2   3   4   5   6   7   8   9   10   >