Re: [PATCH 0/3] powerpc/powernv: Correctly detect optional OPAL calls

2015-02-17 Thread Vasant Hegde
On 02/18/2015 05:33 AM, Stewart Smith wrote: > This series fixes three possible warnings that OPAL firmware would emit > when booting on hardware/simulator that didn't support certain functionality. > > The correct thing for Linux to do is to detect firmware capability > by using the

Re: [PATCH v3 0/6] Convert twl4030_madc_battery to IIO consumer and add DT aupport

2015-02-17 Thread Belisko Marek
Ping. On Wed, Feb 4, 2015 at 11:14 PM, Marek Belisko wrote: > This patches adding support for twl4030_madc_battery to use twl4030_madc iio > framework + DT support. > Patches was tested on gta04 board. twl4030_madc_battery driver is converted in > first patch to iio consumer and in next patches

Re: Fw: [PATCH] lib/kstrtox.c Stop parsing integer on overflow

2015-02-17 Thread Alexey Dobriyan
On Tue, Feb 17, 2015 at 04:17:24PM -0800, Andrew Morton wrote: > ? > > Begin forwarded message: > > Date: Mon, 16 Feb 2015 10:48:50 -0800 > From: Anshul Garg > To: linux-kernel@vger.kernel.org > Cc: aksgarg1...@gmail.com, anshu...@samsung.com, torva...@linux-foundation.org > Subject: [PATCH]

[PATCH v2] fs: record task name which froze superblock

2015-02-17 Thread Alexey Dobriyan
Freezing and thawing are separate system calls, task which is supposed to thaw filesystem/superblock can disappear due to crash or not thaw due to a bug. Record at least task name (we can't take task_struct reference) to make support engineer's life easier. Hopefully 16 bytes per superblock isn't

Re: [PATCH] fs: record task name which froze superblock

2015-02-17 Thread Alexey Dobriyan
On Mon, Feb 16, 2015 at 10:38:52AM +0100, Jan Kara wrote: > On Sat 14-02-15 21:55:24, Alexey Dobriyan wrote: > > Freezing and thawing are separate system calls, task which is supposed > > to thaw filesystem/superblock can disappear due to crash or not thaw > > due to a bug. Record at least task

Re: [PATCH] x86, boot: Allow 64bit EFI kernel to be loaded above 4G

2015-02-17 Thread Yinghai Lu
On Wed, Feb 4, 2015 at 10:09 PM, Dave Young wrote: > On 02/04/15 at 09:25pm, Yinghai Lu wrote: >> On Wed, Feb 4, 2015 at 7:25 PM, Dave Young wrote: >> >> After this patch, could use patched grub2-x86_64.efi to place >> >> kernel/boot_params/cmd_line/initrd all above 4G and execute the kernel >>

Re: [PATCH] x86, boot: Allow 64bit EFI kernel to be loaded above 4G

2015-02-17 Thread Yinghai Lu
On Tue, Feb 10, 2015 at 10:11 PM, Baoquan He wrote: > Hi Yinghai, > > Could you please help to have a look at a problem which I encountered? > > I am trying to make kaslr randomize on both kernel physical and virtual > address separately. Now the separate randomization has been done, > kernel

Re: [PATCH 1/2] usb: gadget: udc-core: independent registration of gadgets and gadget drivers

2015-02-17 Thread Andrzej Pietrasiewicz
W dniu 17.02.2015 o 22:02, Ruslan Bilovol pisze: Hi Andrzej, On Mon, Feb 16, 2015 at 10:07 AM, Andrzej Pietrasiewicz wrote: W dniu 15.02.2015 o 23:43, Ruslan Bilovol pisze: In my opinion all things which you have described are working out-of-box when you use configfs interface. It's

Re: [PATCH] clocksource: whitelist asm9260_timer driver for ARM

2015-02-17 Thread Guenter Roeck
On 02/10/2015 07:57 AM, Oleksij Rempel wrote: For now it is easier to allow only tested platforms, instead of fighting with different platform specific issues. This patch is fixing compile error on ARCH=SPARC and SPARC64: Building sparc64:allmodconfig ... failed -- Error log:

Re: [PATCH 1/1] pty: BREAK for pseudoterminals

2015-02-17 Thread Petr Tesarik
On Tue, 17 Feb 2015 14:03:58 -0500 Peter Hurley wrote: > On 02/16/2015 08:04 AM, Peter Hurley wrote: > > On 02/05/2015 02:11 PM, Nan Li wrote: > >> This will greatly enhance the usefulness of QEMU virtual serial ports, > >> because the Linux kernel interprets a break on the serial console as a

[PATCH 04/13] xen: move static e820 map to global scope

2015-02-17 Thread Juergen Gross
Instead of using a function local static e820 map in xen_memory_setup() and calling various functions in the same source with the map as a parameter use a map directly accessible by all functions in the source. Signed-off-by: Juergen Gross --- arch/x86/xen/setup.c | 96

Re: [PATCH] led/led-class: Handle LEDs with the same name

2015-02-17 Thread Ricardo Ribalda Delgado
Hi On Wed, Feb 18, 2015 at 2:36 AM, Bryan Wu wrote: >> > > I got it. In this case we need to give the leds device a unique name. > Go back to your patch, you're adding 0, 1 at the end of the name of > leds. It's better like GPIO I think you can pick up value of > leds device node and put it in

[GIT PULL] dmaengine updates

2015-02-17 Thread Vinod Koul
Hello Linus, Here are the dmaengine contributions for 3.20. The last 8 commits had to be rebased as we had a regression so had to drop the offending commit. This update brings: - the big cleanup up by Maxime for device control and slave capabilities. This makes the API much cleaner. - new IMG

[PATCH 01/13] xen: sync with xen header

2015-02-17 Thread Juergen Gross
Use the newest header from the xen tree to get some new structure layouts. Signed-off-by: Juergen Gross --- arch/x86/include/asm/xen/interface.h | 96 1 file changed, 87 insertions(+), 9 deletions(-) diff --git a/arch/x86/include/asm/xen/interface.h

[PATCH 03/13] xen: eliminate scalability issues from initial mapping setup

2015-02-17 Thread Juergen Gross
Direct Xen to place the initial P->M table outside of the initial mapping, as otherwise the 1G (implementation) / 2G (theoretical) restriction on the size of the initial mapping limits the amount of memory a domain can be handed initially. As the initial P->M table is copied rather early during

[PATCH 07/13] xen: find unused contiguous memory area

2015-02-17 Thread Juergen Gross
For being able to relocate pre-allocated data areas like initrd or p2m list it is mandatory to find a contiguous memory area which is not yet in use and doesn't conflict with the memory map we want to be in effect. In case such an area is found reserve it at once as this will be required to be

[PATCH 05/13] xen: simplify xen_set_identity_and_remap() by using global variables

2015-02-17 Thread Juergen Gross
xen_set_identity_and_remap() is used to prepare remapping of memory conflicting with the E820 map. It is tracking the pfn where to remap new memory via a local variable which is passed to a subfunction which in turn returns the new value for that variable. Additionally the targeted maximum pfn is

[PATCH 02/13] xen: anchor linear p2m list in shared info structure

2015-02-17 Thread Juergen Gross
The linear p2m list should be anchored in the shared info structure read by the Xen tools to be able to support 64 bit pv-domains larger than 512 MB. Additionally the linear p2m list interface includes a generation count which is changed prior to and after each mapping change of the p2m list.

[PATCH 06/13] xen: detect pre-allocated memory interfering with e820 map

2015-02-17 Thread Juergen Gross
Currently especially for dom0 guest memory with guest pfns not matching host areas populated with RAM are remapped to areas which are RAM native as well. This is done to be able to use identity mappings (pfn == mfn) for I/O areas. Up to now it is not checked whether the remapped memory is already

[PATCH 08/13] xen: add service function to copy physical memory areas

2015-02-17 Thread Juergen Gross
In case a pre-allocated memory area is to be moved in order to avoid a conflict with the target E820 map we need a way to copy data between physical addresses. Add a function doing this via early_memremap(). Signed-off-by: Juergen Gross --- arch/x86/xen/setup.c | 29

[PATCH 11/13] xen: move initrd away from e820 non-ram area

2015-02-17 Thread Juergen Gross
When adapting the dom0 memory layout to that of the host make sure the initrd isn't moved to another pfn range, as it won't be found there any more. The easiest way to accomplish that is by copying the initrd to an area which is RAM according to the E820 map. Signed-off-by: Juergen Gross ---

[PATCH 09/13] xen: check for kernel memory conflicting with memory layout

2015-02-17 Thread Juergen Gross
Checks whether the pre-allocated memory of the loaded kernel is in conflict with the target memory map. If this is the case, just panic instead of run into problems later. Signed-off-by: Juergen Gross --- arch/x86/xen/setup.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH 10/13] xen: check pre-allocated page tables for conflict with memory map

2015-02-17 Thread Juergen Gross
Check whether the page tables built by the domain builder are at memory addresses which are in conflict with the target memory map. If this is the case just panic instead of running into problems later. Signed-off-by: Juergen Gross --- arch/x86/xen/mmu.c | 15 --- 1 file changed, 12

[PATCH 12/13] xen: if p2m list located in to be remapped region delay remapping

2015-02-17 Thread Juergen Gross
With adapting the memory layout of dom0 to that of the host care must be taken not to remap the initial p2m list supported by the hypervisor. If the p2m map is detected to be in a region which is going to be remapped, delay the remapping of that area. Not doing so can either crash the system very

[PATCH 13/13] xen: allow more than 512 GB of RAM for 64 bit pv-domains

2015-02-17 Thread Juergen Gross
64 bit pv-domains under Xen are limited to 512 GB of RAM today. The main reason has been the 3 level p2m tree, which was replaced by the virtual mapped linear p2m list. Parallel to the p2m list which is being used by the kernel itself there is a 3 level mfn tree for usage by the Xen tools and

[PATCH 00/13] xen: support pv-domains larger than 512GB

2015-02-17 Thread Juergen Gross
Support 64 bit pv-domains with more than 512GB of memory. Tested with 64 bit dom0 on machines with 8GB and 1TB and 32 bit dom0 on a 8GB machine. Conflicts between E820 map and different hypervisor populated memory areas have been tested via a fake E820 map reserved area on the 8GB machine.

Re: [PATCH v3 1/3] powerpc: Don't force ENOSYS as error on syscall fail

2015-02-17 Thread Purcareata Bogdan
On 18.02.2015 05:01, Mike Strosaker wrote: This patch failed to build using pseries_le_defconfig. With the change noted below in entry_64.S, the build succeeded and seccomp mode 2 worked correctly. Best, Mike Strosaker On 02/13/2015 02:22 AM, Bogdan Purcareata wrote: In certain scenarios -

Re: [PATCH v2] PM-Trace: add pm-trace support for suspending phase

2015-02-17 Thread Rafael J. Wysocki
On Sunday, February 15, 2015 10:24:07 AM Fu, Zhonghui wrote: > Occasionally, the system can't come back up after suspend/resume > due to problems of device suspending phase. This patch make > PM_TRACE infrastructure cover device suspending phase of > suspend/resume process, and the information in

Re: [GIT PULL] Fix mcelog regression

2015-02-17 Thread Ingo Molnar
* Luck, Tony wrote: > Sorry for bypassing normal channels, but this looks like > a trivial regression fix to me, but I'm getting pushback > from my co-maintainer and from Ingo. > > 1. This used to work > 2. Now it doesn't > 3. People have complained > > Previous threads: >

Re: [f2fs-dev] [PATCH v3 06/10] f2fs: add core functions for rb-tree extent cache

2015-02-17 Thread Jaegeuk Kim
Hi Chao, On Mon, Feb 16, 2015 at 04:10:54PM +0800, Chao Yu wrote: > Ping. > > Any comments on this patch now? Please let me take some time to test them. Thanks, > > > -Original Message- > > From: Chao Yu [mailto:chao2...@samsung.com] > > Sent: Thursday, February 05, 2015 5:55 PM > >

Re: [PATCH V4] cpuidle/powernv: Read target_residency value of idle states from DT if available

2015-02-17 Thread Preeti U Murthy
On 02/18/2015 11:21 AM, Rafael J. Wysocki wrote: > On Wednesday, February 18, 2015 10:13:23 AM Preeti U Murthy wrote: >> >> On 02/17/2015 11:23 PM, Rafael J. Wysocki wrote: >>> On Tuesday, February 17, 2015 01:29:10 PM Preeti U Murthy wrote: Hi Rafael, >>> >>> Hi, >>> Can you please

Re: [PATCH 2/2] phy: usbphy: Add Broadcom Cygnus USB PHY driver

2015-02-17 Thread Kishon Vijay Abraham I
Hi, On Wednesday 18 February 2015 12:50 AM, Arun Ramamurthy wrote: This driver adds support for USB 2.0 host and device phy for Broadcom's Cygnus chipset Reviewed-by: Ray Jui Reviewed-by: Scott Branden Signed-off-by: Arun Ramamurthy --- drivers/phy/Kconfig | 12 +

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-17 Thread Harish Jenny Kandiga Nagaraj
On Wednesday 18 February 2015 09:37 AM, Rusty Russell wrote: > Lucas De Marchi writes: >> On Tue, Feb 17, 2015 at 10:56 AM, Harish Jenny K N >> wrote: >>> usecase: two sd cards are being mounted in parallel at same time on >>> dual core. example modules which are getting loaded is nls_cp437.

Re: [PATCH 0/5] mtd: Qualcomm NAND controller driver

2015-02-17 Thread Archit Taneja
Hi, On 01/16/2015 08:18 PM, Archit Taneja wrote: Add support for the NAND controller driver for SoC's that contain EBI2. For now, the only SoC upstream that has EBI2 is IPQ806x. The patchset requires the ADM dmaengine patches posted by Andy:

Re: [PATCH 0/8] tools/thermal: tmon: UI and build system improvements

2015-02-17 Thread Jacob Pan
On Tue, 17 Feb 2015 18:18:28 -0800 Brian Norris wrote: > Hi, > > This patch set includes a few build system improvements and a few UI > fixes. > > The last patch is ugly, and personally, I don't care if it's > included. But it's an attempt to kill a warning. Better suggestions > are welcome. >

[PATCH] ACPI / resources: Change pr_info() to pr_debug() for debug information

2015-02-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Annoying and noisy ACPI debug messages are printed with pr_info() after the recent ACPI resources handling rework. Replace the pr_info() with pr_debug() to reduce to noise level. Reported-by: Borislav Petkov Signed-off-by: Rafael J. Wysocki ---

Re: [PATCH] ACPI / EC: Remove non-standard log emphasis

2015-02-17 Thread Rafael J. Wysocki
On Sunday, February 15, 2015 07:43:08 PM Scot Doyle wrote: > Remove unusual pr_info() visual emphasis introduced in ad479e7f47ca > "ACPI / EC: Introduce STARTED/STOPPED flags to replace BLOCKED flag". > > Signed-off-by: Scot Doyle Applied, thanks! > --- > drivers/acpi/ec.c | 4 ++-- > 1 file

Re: [PATCH 01/35] ACPI/acpi_pad: Remove the local apic nonsense

2015-02-17 Thread Rafael J. Wysocki
On Monday, February 16, 2015 07:54:12 PM Rafael J. Wysocki wrote: > On Monday, February 16, 2015 01:14:36 PM Peter Zijlstra wrote: > > From: Thomas Gleixner > > > > While looking through the (ab)use of the clockevents_notify() function > > I stumbled over the following gem in the acpi_pad code:

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-17 Thread zhangfei
Hi, Kishon On 02/18/2015 01:35 PM, Kishon Vijay Abraham I wrote: Hi, On Thursday 12 February 2015 01:07 PM, Zhangfei Gao wrote: Add usb phy controller for hi6220 platform Signed-off-by: Zhangfei Gao --- drivers/phy/Kconfig | 9 ++ drivers/phy/Makefile | 1 +

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-17 Thread Kishon Vijay Abraham I
Hi, On Thursday 12 February 2015 01:07 PM, Zhangfei Gao wrote: Add usb phy controller for hi6220 platform Signed-off-by: Zhangfei Gao --- drivers/phy/Kconfig | 9 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-hi6220-usb.c | 306

Re: [PATCH V4] cpuidle/powernv: Read target_residency value of idle states from DT if available

2015-02-17 Thread Rafael J. Wysocki
On Wednesday, February 18, 2015 10:13:23 AM Preeti U Murthy wrote: > > On 02/17/2015 11:23 PM, Rafael J. Wysocki wrote: > > On Tuesday, February 17, 2015 01:29:10 PM Preeti U Murthy wrote: > >> Hi Rafael, > > > > Hi, > > > >> Can you please pull this patch ? > > > > Sorry, I wasn't sure

[PULL] virtio-next

2015-02-17 Thread Rusty Russell
The following changes since commit b97f880c8342fd6e49a02c9ef7507a678722b2b3: Merge branch 'for-3.19-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata (2015-01-21 07:54:16 +1200) are available in the git repository at:

Re: [PATCH 3.2 082/152] virtio: use dev_to_virtio wrapper in virtio

2015-02-17 Thread Rusty Russell
Ben Hutchings writes: > On Tue, 2015-02-17 at 15:56 +1030, Rusty Russell wrote: >> Ben Hutchings writes: >> > 3.2.67-rc1 review patch. If anyone has any objections, please let me know. >> >> Ben, what are your criteria for putting patches into 3.2? >> >> This patch is a trivial cleanup. It

Re: [PATCH] HID: wacom: add full support of the Wacom Bamboo PAD

2015-02-17 Thread Peter Hutterer
On Tue, Feb 17, 2015 at 02:27:13PM -0500, Benjamin Tissoires wrote: > The stylus of this device works just fine out of the box. > The touch is seen by default as a mouse with relative events and some > gestures. > Switching the default in raw mode allows us to retrieve the touch data > and have a

Re: [PATCH 1/3] perf, x86: Add new cache events table for Haswell

2015-02-17 Thread Andi Kleen
On Thu, Feb 12, 2015 at 10:28:06PM +0100, Peter Zijlstra wrote: > 1) SDM (2014-09) says in 18.9.5 (snb offcore): > > "software must set at least one request type bit and a valid response > type pattern" > > and > > "A valid response type must be a non-zero value of the following > expression: >

Re: [PATCH 2/2 v3] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-17 Thread Greg Kroah-Hartman
On Wed, Feb 18, 2015 at 11:25:18AM +1100, Benjamin Herrenschmidt wrote: > So I've been annoyed lately with having a bunch of devices such as i2c > eeproms (for use by VPDs, server world !) and other bits and pieces that > I want to be able to identify from userspace, and possibly provide >

Re: [PATCH 2/2 v3] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-17 Thread Greg Kroah-Hartman
On Tue, Feb 17, 2015 at 07:07:14PM -0600, Rob Herring wrote: > On Tue, Feb 17, 2015 at 6:25 PM, Benjamin Herrenschmidt > wrote: > > So I've been annoyed lately with having a bunch of devices such as i2c > > eeproms (for use by VPDs, server world !) and other bits and pieces that > > I want to be

Re: [PATCH V4] cpuidle/powernv: Read target_residency value of idle states from DT if available

2015-02-17 Thread Preeti U Murthy
On 02/17/2015 11:23 PM, Rafael J. Wysocki wrote: > On Tuesday, February 17, 2015 01:29:10 PM Preeti U Murthy wrote: >> Hi Rafael, > > Hi, > >> Can you please pull this patch ? > > Sorry, I wasn't sure whether or not the patch was for me to take and then > I've been traveling lately. Applied

Re: [PATCH] vhost: support upto 509 memory regions

2015-02-17 Thread Michael S. Tsirkin
On Tue, Feb 17, 2015 at 04:53:45PM -0800, Eric Northup wrote: > On Tue, Feb 17, 2015 at 4:32 AM, Michael S. Tsirkin wrote: > > On Tue, Feb 17, 2015 at 11:59:48AM +0100, Paolo Bonzini wrote: > >> > >> > >> On 17/02/2015 10:02, Michael S. Tsirkin wrote: > >> > > Increasing VHOST_MEMORY_MAX_NREGIONS

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-17 Thread Rusty Russell
Lucas De Marchi writes: > On Tue, Feb 17, 2015 at 10:56 AM, Harish Jenny K N > wrote: >> usecase: two sd cards are being mounted in parallel at same time on >> dual core. example modules which are getting loaded is nls_cp437. >> While one module is being loaded , it starts creating sysfs files.

[PATCH next] RDMA/ocrdma: ocrdma_free_pd_pool() can be static

2015-02-17 Thread kbuild test robot
drivers/infiniband/hw/ocrdma/ocrdma_hw.c:1510:6: sparse: symbol 'ocrdma_free_pd_pool' was not declared. Should it be static? Signed-off-by: Fengguang Wu --- ocrdma_hw.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c

[next:master 10115/10230] drivers/infiniband/hw/ocrdma/ocrdma_hw.c:1510:6: sparse: symbol 'ocrdma_free_pd_pool' was not declared. Should it be static?

2015-02-17 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: c26de6d26435059245babb016acb840d9e0e5d12 commit: 72278f474221abd5c09af5d3a4dff39f9d10948f [10115/10230] RDMA/ocrdma: Move PD resource management to driver. reproduce: # apt-get install sparse git checkout

[next:master 10113/10230] drivers/infiniband/hw/ocrdma/ocrdma_stats.c:253:5: sparse: symbol 'ocrdma_sysfs_rcv_pkts' was not declared. Should it be static?

2015-02-17 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: c26de6d26435059245babb016acb840d9e0e5d12 commit: 8b528884f901757fb21c5900151fc294344d78f6 [10113/10230] RDMA/ocrdma: Add support for IB stack compliant stats in sysfs. reproduce: # apt-get install sparse

[PATCH next] RDMA/ocrdma: ocrdma_sysfs_rcv_pkts() can be static

2015-02-17 Thread kbuild test robot
drivers/infiniband/hw/ocrdma/ocrdma_stats.c:253:5: sparse: symbol 'ocrdma_sysfs_rcv_pkts' was not declared. Should it be static? drivers/infiniband/hw/ocrdma/ocrdma_stats.c:264:5: sparse: symbol 'ocrdma_sysfs_rcv_data' was not declared. Should it be static?

Re: [PATCH v2] x86, kaslr: propagate base load address calculation

2015-02-17 Thread Kees Cook
On Tue, Feb 17, 2015 at 2:31 PM, Borislav Petkov wrote: > On Tue, Feb 17, 2015 at 08:45:53AM -0800, Kees Cook wrote: >> Maybe it should say: >> >> Kernel offset: disabled >> >> for maximum clarity? > > I.e.: > > --- > diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c > index

Re: [PATCH] ASLR: fix stack randomization on 64-bit systems

2015-02-17 Thread Kees Cook
On Mon, Feb 16, 2015 at 12:49 PM, Andy Lutomirski wrote: > On 02/14/2015 09:33 AM, Kees Cook wrote: >> >> From: Hector Marco-Gisbert >> >> The issue is that the stack for processes is not properly randomized on 64 >> bit >> architectures due to an integer overflow. >> >> The affected function is

[PATCH] HID: hid-sony: Prevent LED overrun

2015-02-17 Thread Simon Wood
If the value written to led1 is larger than 1 (for SixAxis or Intec controllers), it can effect other leds on the device. For example: # echo 3 > /sys/class/leds/0003\:054C\:0268.0013\:\:sony1/brightness turns on both led1 and led2, led2 does not then behave as expected through it's own

linux-next: Tree for Feb 18

2015-02-17 Thread Stephen Rothwell
Hi all, Please do not add any material destined for v3.21 to your linux-next included trees until after v3.20-rc1 has been released. Changes since 20150217: The infiniband tree gained a conflict against Linus' tree. The akpm tree lost lots of patches that turned up elsewhere. Non-merge

Re: [PATCH v2 0/2] Add epoll round robin wakeup mode

2015-02-17 Thread Jason Baron
On 02/17/2015 04:09 PM, Andy Lutomirski wrote: > On Tue, Feb 17, 2015 at 12:33 PM, Jason Baron wrote: >> On 02/17/2015 02:46 PM, Andy Lutomirski wrote: >>> On Tue, Feb 17, 2015 at 11:33 AM, Jason Baron wrote: When we are sharing a wakeup source among multiple epoll fds, we end up with

Re: [PATCH 32/35] clockevents: Fix cpu down race for hrtimer based broadcasting

2015-02-17 Thread Preeti U Murthy
On 02/17/2015 04:09 PM, Peter Zijlstra wrote: >> [PATCH 11/35] clockevents: Cleanup dead cpu explicitely n Tue, Feb 17, 2015 at 09:33:45AM +0530, Preeti U Murthy wrote: >> On 02/16/2015 05:45 PM, Peter Zijlstra wrote: >> From: Thomas Gleixner >> @@ -428,7 +428,7 @@ static int __ref

Re: linux-next: build failure after merge of the infiniband tree

2015-02-17 Thread Roland Dreier
On Tue, Feb 17, 2015 at 6:32 PM, Stephen Rothwell wrote: > After merging the livepatching tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > In file included from drivers/infiniband/hw/qib/qib_cq.c:41:0: > drivers/infiniband/hw/qib/qib.h: In function 'qib_flush_wc': >

Re: [PATCH v3 1/3] powerpc: Don't force ENOSYS as error on syscall fail

2015-02-17 Thread Mike Strosaker
This patch failed to build using pseries_le_defconfig. With the change noted below in entry_64.S, the build succeeded and seccomp mode 2 worked correctly. Best, Mike Strosaker On 02/13/2015 02:22 AM, Bogdan Purcareata wrote: In certain scenarios - e.g. seccomp filtering with ERRNO as

Re: [PATCH] mfd: devicetree: bindings: Add Qualcomm RPM regulator subnodes

2015-02-17 Thread Stephen Boyd
On 02/17/15 13:48, Bjorn Andersson wrote: > On Fri, Feb 13, 2015 at 2:13 PM, Andy Gross wrote: >> On Thu, Jan 29, 2015 at 05:51:06PM -0800, Bjorn Andersson wrote: >>> Add the regulator subnodes to the Qualcomm RPM MFD device tree bindings. >>> >>> Signed-off-by: Bjorn Andersson >>> --- >>>

Re: [PATCH v2 2/2] leds: add Qualcomm PM8941 WLED driver

2015-02-17 Thread Stephen Boyd
On 02/17/15 15:02, Bjorn Andersson wrote: > On Thu, Feb 12, 2015 at 8:26 PM, Stephen Boyd wrote: >> On 01/23/15 16:54, Bjorn Andersson wrote: >>> + >>> +static int pm8941_wled_set(struct led_classdev *cdev, >>> +enum led_brightness value) >>> +{ >>> + struct

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

2015-02-17 Thread Stephen Rothwell
Hi all, After merging the livepatching tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from drivers/infiniband/hw/qib/qib_cq.c:41:0: drivers/infiniband/hw/qib/qib.h: In function 'qib_flush_wc': drivers/infiniband/hw/qib/qib.h:1470:1: error: expected ';'

Re: [PATCH v5 0/7] platform/chrome: Add user-space dev inferface support

2015-02-17 Thread Simon Glass
Hi, On 16 February 2015 at 01:19, Javier Martinez Canillas wrote: > Hello Olof, > > On 02/02/2015 12:26 PM, Javier Martinez Canillas wrote: >> Hello, >> >> The mainline ChromeOS Embedded Controller (EC) driver is still missing some >> features that are present in the downstream ChromiumOS tree.

Re: [PATCH v2 0/4] HID: hid-lg4ff: Improve handling of Logitech multimode gaming wheels

2015-02-17 Thread simon
> This patch series improves handling of various Logitech gaming wheels and > allows switching between various compatibility modes which might be useful > to improve compatibility with very old games and testing purposes. > > Signed-off-by: Michal Malý > > v2: - Rebased against latest linux-next

[PATCH 3/8] tools/thermal: tmon: tui: don't hard-code dialog window size assumptions

2015-02-17 Thread Brian Norris
We can use the ncurses API to get the number of rows. Signed-off-by: Brian Norris --- tools/thermal/tmon/tui.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/thermal/tmon/tui.c b/tools/thermal/tmon/tui.c index 43c5aecf71da..2779573a53cb 100644 ---

[PATCH 1/8] tools/thermal: tmon: add --target-temp parameter

2015-02-17 Thread Brian Norris
If we launch in daemon mode (--daemon), we don't have the ncurses UI, but we might want to set the target temperature still. For example, someone might stick the following in their boot script: tmon --control intel_powerclamp --target-temp 90 --log --daemon This would turn on CPU idle

[PATCH 0/8] tools/thermal: tmon: UI and build system improvements

2015-02-17 Thread Brian Norris
Hi, This patch set includes a few build system improvements and a few UI fixes. The last patch is ugly, and personally, I don't care if it's included. But it's an attempt to kill a warning. Better suggestions are welcome. Thanks, Brian Brian Norris (8): tools/thermal: tmon: add --target-temp

[PATCH 2/8] tools/thermal: tmon: add min/max macros

2015-02-17 Thread Brian Norris
Signed-off-by: Brian Norris --- tools/thermal/tmon/tui.c | 12 1 file changed, 12 insertions(+) diff --git a/tools/thermal/tmon/tui.c b/tools/thermal/tmon/tui.c index 89f8ef0e15c8..43c5aecf71da 100644 --- a/tools/thermal/tmon/tui.c +++ b/tools/thermal/tmon/tui.c @@ -30,6 +30,18 @@

[PATCH 4/8] tools/thermal: tmon: fixup tui windowing calculations

2015-02-17 Thread Brian Norris
The number of rows in the dialog vary according to the number of cooling devices. However, some of the windowing computations were assuming a fixed number of rows. This computation is OK when we have between 4 and 9 cooling devices (and they wrap to the next column), but with fewer devices, we end

[PATCH 6/8] tools/thermal: tmon: support cross-compiling

2015-02-17 Thread Brian Norris
We might want to prepare CFLAGS outside of this Makefile, so don't overwrite its initial value. Then, support $(CROSS_COMPILE), so we can use a cross-compile toolchain. Signed-off-by: Brian Norris --- tools/thermal/tmon/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 8/8] tools/thermal: tmon: silence 'set but not used' warnings

2015-02-17 Thread Brian Norris
gcc complains about the 'cols' variable being unused. This is unavoidable, given the ncurses getmaxyx() macro-based API, which wants to assign to a variable directly, even when we're not going to use it. Warning: gcc -O1 -Wall -Wshadow -W -Wformat -Wimplicit-function-declaration

[PATCH 7/8] tools/thermal: tmon: use pkg-config to determine library dependencies

2015-02-17 Thread Brian Norris
Some distros (e.g., Arch Linux) don't package the tinfo library separately from ncurses, so don't unconditionally include it. Instead, use pkg-config. The $(STATIC) ugliness is to handle the reported build case from commit 6b533269fb25 ("tools/thermal: tmon: fix compilation errors when building

[PATCH 5/8] tools/thermal: tmon: add .gitignore

2015-02-17 Thread Brian Norris
Signed-off-by: Brian Norris --- tools/thermal/tmon/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/thermal/tmon/.gitignore diff --git a/tools/thermal/tmon/.gitignore b/tools/thermal/tmon/.gitignore new file mode 100644 index ..06e96be65276 --- /dev/null

[PATCH 3/3] perf, x86: Add INST_RETIRED.ALL workarounds

2015-02-17 Thread Andi Kleen
From: Andi Kleen On Broadwell INST_RETIRED.ALL cannot be used with any period that doesn't have the lowest 6 bits cleared. And the period should not be smaller than 128. Add a new callback to enforce this, and set it for Broadwell. This is erratum BDM57 and BDM11. How does this handle the

[PATCH 1/3] perf, x86: Add new cache events table for Haswell

2015-02-17 Thread Andi Kleen
From: Andi Kleen Haswell offcore events are quite different from Sandy Bridge. Add a new table to handle Haswell properly. Note that the offcore bits listed in the SDM are not quite correct (this is currently being fixed). An uptodate list of bits is in the patch. The basic setup is similar to

[PATCH 2/3] perf, x86: Add Broadwell core support

2015-02-17 Thread Andi Kleen
From: Andi Kleen Add Broadwell support for Broadwell to perf. The basic support is very similar to Haswell. We use the new cache event list added for Haswell earlier. The only differences are a few bits related to remote nodes. To avoid an extra, mostly identical, table these are patched up in

[PATCH] leds: Introduce devres helper for led_classdev_register

2015-02-17 Thread Bjorn Andersson
Suggested-by: Stephen Boyd Signed-off-by: Bjorn Andersson --- drivers/leds/led-class.c | 28 include/linux/leds.h | 2 ++ 2 files changed, 30 insertions(+) diff --git a/drivers/leds/led-class.c b/drivers/leds/led-class.c index dbeebac..7233f30 100644 ---

Re: [RFC PATCH 3/8] kmod - teach call_usermodehelper() to use a namespace

2015-02-17 Thread Ian Kent
On Mon, 2015-02-16 at 19:24 +0100, Oleg Nesterov wrote: > On 02/16, Oleg Nesterov wrote: > > > > On 02/16, Ian Kent wrote: > > > > > > On Tue, 2015-02-10 at 17:55 +0100, Oleg Nesterov wrote: > > > > On 02/10, Ian Kent wrote: > > > > > > > > > > On Mon, 2015-02-09 at 17:03 +0100, Oleg Nesterov

Re: [RFC PATCH 3/8] kmod - teach call_usermodehelper() to use a namespace

2015-02-17 Thread Ian Kent
On Mon, 2015-02-16 at 18:13 +0100, Oleg Nesterov wrote: > On 02/16, Ian Kent wrote: > > > > On Tue, 2015-02-10 at 17:55 +0100, Oleg Nesterov wrote: > > > On 02/10, Ian Kent wrote: > > > > > > > > On Mon, 2015-02-09 at 17:03 +0100, Oleg Nesterov wrote: > > > > > > > > > > I understand. but I still

Re: [PATCH] led/led-class: Handle LEDs with the same name

2015-02-17 Thread Bryan Wu
> Thanks! On Tue, Feb 17, 2015 at 5:11 PM, Ricardo Ribalda Delgado wrote: > Hello Bryan > > On Wed, Feb 18, 2015 at 1:52 AM, Bryan Wu wrote: >>> >>> Lets say that we have a type of add-on card. Described by this DT >>> overlay (card.dtb): >>> >> >> I think who write this card.dtb should

Re: [PATCH] colons are invalid characters in netdev names

2015-02-17 Thread Matthew Thode
On 02/17/2015 07:28 PM, Stephen Hemminger wrote: > On Tue, 17 Feb 2015 17:15:42 -0600 > Matthew Thode wrote: > >> colons are used as a separator in netdev device lookup in dev_ioctl.c >> >> Specific functions are SIOCGIFTXQLEN SIOCETHTOOL SIOCSIFNAME >> >> Signed-off-by: Matthew Thode > > What

[GIT PULL REQUEST] some more bugfixes for md.

2015-02-17 Thread NeilBrown
hi Linus, Please pull these three fixes, one tagged for -stable. Thanks, NeilBrown The following changes since commit 53a6ab4d3f6d6dc87ec8f14998b4b5536ee2968c: md/raid10: fix conversion from RAID0 to RAID10 (2015-02-12 14:09:57 +1100) are available in the git repository at:

Re: [PATCH] colons are invalid characters in netdev names

2015-02-17 Thread Stephen Hemminger
On Tue, 17 Feb 2015 17:15:42 -0600 Matthew Thode wrote: > colons are used as a separator in netdev device lookup in dev_ioctl.c > > Specific functions are SIOCGIFTXQLEN SIOCETHTOOL SIOCSIFNAME > > Signed-off-by: Matthew Thode What is the exact sequence that causes the problem? SIOCSIFNAME

Re: [PATCH net-next] netfilter: Remove uses of return value of seq_printf/puts/putc

2015-02-17 Thread Joe Perches
On Mon, 2015-02-16 at 17:25 -0800, Joe Perches wrote: > These functions are soon going to return void so remove the > return value uses. > > Convert the return value to test seq_has_overflowed() instead. (sorry 'bout that, overly sensitive mouse) Please do not apply. These need conversions to

Re: [PATCH net-next] netfilter: Remove uses of return value of seq_printf/puts/putc

2015-02-17 Thread Joe Perches
On Mon, 2015-02-16 at 17:25 -0800, Joe Perches wrote: > These functions are soon going to return void so remove the > return value uses. > > Convert the return value to test seq_has_overflowed() instead. Please do not apply. These need conversions not to "return seq_has_ > Signed-off-by: Joe

Re: [PATCH 0/3] staging: lustre: Remove use of return val of seq_printf

2015-02-17 Thread Joe Perches
On Mon, 2015-02-16 at 11:24 -0800, Joe Perches wrote: > seq_printf should eventually be converted to a void function. > > Remove the uses of seq_printf return values and use seq_has_overflowed() > instead. Please do not apply. These need conversions not to "return seq_has_overflowed()" but to

Re: [PATCH] led/led-class: Handle LEDs with the same name

2015-02-17 Thread Ricardo Ribalda Delgado
Hello Bryan On Wed, Feb 18, 2015 at 1:52 AM, Bryan Wu wrote: >> >> Lets say that we have a type of add-on card. Described by this DT >> overlay (card.dtb): >> > > I think who write this card.dtb should understand this issue. And > choose the right name. card.dtb just describe the hardware in

Re: RAID1 might_sleep() warning on 3.19-rc7

2015-02-17 Thread NeilBrown
On Fri, 13 Feb 2015 15:48:03 +0100 Peter Zijlstra wrote: > On Fri, Feb 13, 2015 at 11:27:46AM +0100, Peter Zijlstra wrote: > > > > I've moved blk_flush_plug to the beginning of the function. > > > > > I wondered if it really make sense to call blk_flush_plug with nr_iowait > > > elevated and

Re: [PATCH v2] mm, hugetlb: set PageLRU for in-use/active hugepages

2015-02-17 Thread Naoya Horiguchi
On Tue, Feb 17, 2015 at 04:02:49PM -0800, Andrew Morton wrote: > On Tue, 17 Feb 2015 15:57:44 -0800 Andrew Morton > wrote: > > > So if I'm understanding this correctly, hugepages never have PG_lru set > > and so you are overloading that bit on hugepages to indicate that the > > page is present

Re: [PATCH 2/2 v3] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-17 Thread Rob Herring
On Tue, Feb 17, 2015 at 6:25 PM, Benjamin Herrenschmidt wrote: > So I've been annoyed lately with having a bunch of devices such as i2c > eeproms (for use by VPDs, server world !) and other bits and pieces that > I want to be able to identify from userspace, and possibly provide > additional data

Re: [PATCH 1/2] device: Add dev_of_node() accessor

2015-02-17 Thread Rob Herring
+Greg KH On Sun, Feb 15, 2015 at 9:59 PM, Benjamin Herrenschmidt wrote: > Suggested by Arnd Bergmann, this gives a practical accessor for > the of_node field of struct device while instructing the compiler > that it will be NULL if CONFIG_OF is not set. > > Signed-off-by: Benjamin Herrenschmidt

Re: [PATCH] ipc: Remove uses of return value of seq_printf/seq_puts

2015-02-17 Thread Joe Perches
On Wed, 2015-02-18 at 00:27 +, Al Viro wrote: > On Tue, Feb 17, 2015 at 04:09:44PM -0800, Joe Perches wrote: > > On Tue, 2015-02-17 at 23:16 +, Al Viro wrote: > > > Most of the time checking return value of seq_...() is better replaced > > > with > > > not doing that. And "must check

Re: [PATCH 3.2 082/152] virtio: use dev_to_virtio wrapper in virtio

2015-02-17 Thread Ben Hutchings
On Tue, 2015-02-17 at 15:56 +1030, Rusty Russell wrote: > Ben Hutchings writes: > > 3.2.67-rc1 review patch. If anyone has any objections, please let me know. > > Ben, what are your criteria for putting patches into 3.2? > > This patch is a trivial cleanup. It doesn't fix anything, but it

[PATCH] locks: fix list insertion when lock is split in two

2015-02-17 Thread Jeff Layton
Al reported that he had seen some LTP fcntl11 and fcntl21 test failures since the merge window had opened. In the case where we're splitting a lock in two, the current code the new "left" lock in the incorrect spot. It's inserted just before "right" when it should instead be inserted just before

Re: [PATCH] vhost: support upto 509 memory regions

2015-02-17 Thread Eric Northup
On Tue, Feb 17, 2015 at 4:32 AM, Michael S. Tsirkin wrote: > On Tue, Feb 17, 2015 at 11:59:48AM +0100, Paolo Bonzini wrote: >> >> >> On 17/02/2015 10:02, Michael S. Tsirkin wrote: >> > > Increasing VHOST_MEMORY_MAX_NREGIONS from 65 to 509 >> > > to match KVM_USER_MEM_SLOTS fixes issue for

Re: [PATCH] led/led-class: Handle LEDs with the same name

2015-02-17 Thread Bryan Wu
On Tue, Feb 17, 2015 at 4:32 PM, Ricardo Ribalda Delgado wrote: > Hello Bryan > > On Wed, Feb 18, 2015 at 12:59 AM, Bryan Wu wrote: >> >> DT just describe the hardware, so if it's a different hardware, they >> should have different name. >> red0 for GPIO 0, red1 for GPIO 1 or choose other good

Re: [PATCH] led/led-class: Handle LEDs with the same name

2015-02-17 Thread Ricardo Ribalda Delgado
Hello Bryan On Wed, Feb 18, 2015 at 12:59 AM, Bryan Wu wrote: > > DT just describe the hardware, so if it's a different hardware, they > should have different name. > red0 for GPIO 0, red1 for GPIO 1 or choose other good name instead of 0 and 1. I think I have not managed to explain myself

  1   2   3   4   5   6   7   8   9   10   >