Re: [PATCH v4 04/29] nios2: Exception handling

2014-10-08 Thread Al Viro
> +Lsignal_return: > + ANDI32 r1, r10, _TIF_SIGPENDING | _TIF_NOTIFY_RESUME > + beq r1, r0, restore_all > + mov r4, sp /* pt_regs */ > + SAVE_SWITCH_STACK > + calldo_notify_resume > + beq r2, r0, no_work_pending > +

[PATCH v2] block: fix alignment_offset math that assumes io_min is a power-of-2

2014-10-08 Thread Mike Snitzer
The math in both blk_stack_limits() and queue_limit_alignment_offset() assume that a block device's io_min (aka minimum_io_size) is always a power-of-2. Fix the math such that it works for non-power-of-2 io_min. This issue (of alignment_offset != 0) became apparent when testing dm-thinp with a

Re: [PATCHv2 1/3] x86, ptdump: Add section for EFI runtime services

2014-10-08 Thread Borislav Petkov
On Wed, Oct 08, 2014 at 11:58:20PM +0200, Mathias Krause wrote: > Well, that is only partly correct. The call chain in efi_map_regions() > [ -> efi_map_region() -> __map_region() -> kernel_map_pages_in_pgd() > -> ..."magic"... ] does not only map the EFI regions in > trampoline_pgd, but also in

Re: [PATCH] serio: avoid negative serio device numbers

2014-10-08 Thread Dmitry Torokhov
On Wed, Oct 08, 2014 at 11:54:27PM +0200, Richard Leitner wrote: > From: Richard Leitner > > Fix the format string for serio device name generation to avoid negative > device numbers when the id exceeds the maximum signed integer value. > > Signed-off-by: Richard Leitner Applied, thank you.

Re: [PATCH] block: fix alignment_offset math that assumes io_min is a power-of-2

2014-10-08 Thread Jens Axboe
On 10/08/2014 04:05 PM, Mike Snitzer wrote: > The math in both blk_stack_limits() and queue_limit_alignment_offset() > assume that a block device's io_min (aka minimum_io_size) is always a > power-of-2. Fix the math such that it works for non-power-of-2 io_min. > > This issue (of

[PATCH] regulator: of: Lower the severity of the error with no container

2014-10-08 Thread Mark Brown
Description of regulators should generally be optional so if there is no DT node for the regulators container then we shouldn't print an error message. Lower the severity of the message to debug level (it might help someone work out what went wrong) and while we're at it say what we were looking

Re: [RFC PATCH] Perf Bench: Locking Microbenchmark

2014-10-08 Thread Tuan Bui
On Thu, 2014-10-02 at 21:57 -0700, Davidlohr Bueso wrote: > On Wed, 2014-10-01 at 14:12 -0300, Arnaldo Carvalho de Melo wrote: > > Em Wed, Oct 01, 2014 at 07:28:32AM +0200, Ingo Molnar escreveu: > > > If you compare an strace of AIM7 steady state and 'perf bench > > > lock' steady state, is it

Re: [RFC PATCH] Perf Bench: Locking Microbenchmark

2014-10-08 Thread Tuan Bui
On Wed, 2014-10-01 at 14:12 -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Oct 01, 2014 at 07:28:32AM +0200, Ingo Molnar escreveu: > > If you compare an strace of AIM7 steady state and 'perf bench > > lock' steady state, is it comparable, i.e. do the syscalls and > > Isn't "lock" too generic?

Re: [RFC PATCH] Perf Bench: Locking Microbenchmark

2014-10-08 Thread Tuan Bui
On Wed, 2014-10-01 at 07:28 +0200, Ingo Molnar wrote: > > > > Perf trace of perf bench creat > > 22.37% locking-creat [kernel.kallsyms][k] osq_lock > > 5.77% locking-creat [kernel.kallsyms][k] mutex_spin_on_owner > > 5.31% locking-creat [kernel.kallsyms]

Re: [PATCH 1/6] ARM: cygnus: Initial support for Broadcom Cygnus SoC

2014-10-08 Thread Scott Branden
On 14-10-08 11:12 AM, Arnd Bergmann wrote: On Wednesday 08 October 2014 09:27:08 Scott Branden wrote: On 14-10-08 06:28 AM, Arnd Bergmann wrote: On Wednesday 08 October 2014 05:27:24 Scott Branden wrote: I don't think you need per-board config options. The main option above should be enough.

Re: RCU bug with v3.17-rc3 ?

2014-10-08 Thread Felipe Balbi
Hi, On Wed, Oct 08, 2014 at 12:57:07PM -0500, Felipe Balbi wrote: [ snip ] > > > > It seems to be a difficult-to-reproduce race though. On a second boot it > > > > didn't die during boot, but died with my USB test case. Unfortunately, > > > > the platform I'm using is pretty new and only goes

Re: [PATCH 12/13] leds: leds-gpio: Make use of device property API

2014-10-08 Thread Rafael J. Wysocki
On Wednesday, October 08, 2014 10:47:16 AM Bryan Wu wrote: > On Wed, Oct 8, 2014 at 7:04 AM, Rafael J. Wysocki wrote: > > On Tuesday, October 07, 2014 02:18:45 AM Rafael J. Wysocki wrote: > >> From: Rafael J. Wysocki > >> > >> Make use of device property API in this driver so that both OF and

Re: [RFC 3/7] mfd: devicetree: bindings: Add Qualcomm SMD based RPM DT binding

2014-10-08 Thread Jeffrey Hugo
On 9/30/2014 6:08 PM, Bjorn Andersson wrote: On Tue 30 Sep 16:16 PDT 2014, Jeffrey Hugo wrote: On 9/30/2014 8:37 AM, Bjorn Andersson wrote: On Tue 30 Sep 06:46 PDT 2014, Kumar Gala wrote: On Sep 29, 2014, at 7:34 PM, Bjorn Andersson wrote: diff --git

Re: [PATCH] input: avoid negative input device numbers

2014-10-08 Thread Dmitry Torokhov
On Wed, Oct 08, 2014 at 02:25:38PM -0700, Dmitry Torokhov wrote: > On Wed, Oct 08, 2014 at 10:42:45PM +0200, Richard Leitner wrote: > > From: Richard Leitner > > > > Fix the format string for input device name generation to avoid negative > > device numbers when the id exceeds the maximum signed

Re: [PATCH] input: avoid negative input device numbers

2014-10-08 Thread Richard Leitner
On Wed, 8 Oct 2014 14:30:51 -0700 Dmitry Torokhov wrote: > On Wed, Oct 08, 2014 at 02:25:38PM -0700, Dmitry Torokhov wrote: > > On Wed, Oct 08, 2014 at 10:42:45PM +0200, Richard Leitner wrote: > > > From: Richard Leitner > > > > > > Fix the format string for input device name generation to

Re: [RFC PATCH V3 0/3] PM/CPU: Parallel enalbing nonboot cpus with resume devices

2014-10-08 Thread Rafael J. Wysocki
On Wednesday, October 08, 2014 10:54:41 PM Peter Zijlstra wrote: > On Thu, Sep 25, 2014 at 04:32:02PM +0800, Lan Tianyu wrote: > > This patchset is to parallel enabling nonboot cpus with resuming devices > > during system resume in order to accelerate S2RAM. From test result on > > a 8 logical

Re: [PATCH v2 1/2] sched: schedule_tail() should disable preemption

2014-10-08 Thread Kirill Tkhai
В Ср, 08/10/2014 в 21:36 +0200, Oleg Nesterov пишет: > On 10/08, Oleg Nesterov wrote: > > > > Another problem is that finish_task_switch() itself runs with preempt > > enabled after finish_lock_switch(). If nothing else this means that > > ->sched_in() notifier can't trust its "cpu" arg. > >

Re: [RFC] pinctrl driver for Zynq

2014-10-08 Thread Sören Brinkmann
On Tue, 2014-10-07 at 01:05PM +0200, Linus Walleij wrote: > On Wed, Sep 24, 2014 at 11:09 PM, Sören Brinkmann [...] > > +++ b/drivers/pinctrl/Kconfig > > @@ -305,6 +305,14 @@ config PINCTRL_PALMAS > > open drain configuration for the Palmas series devices like > > TPS65913,

Re: [RFC 4/7] soc: qcom: Add Shared Memory Manager driver

2014-10-08 Thread Jeffrey Hugo
Here in my initial detailed pass. I still have some "issues" that I want to clarify on my end, but I think I have plenty of comments to start with. On 9/29/2014 6:34 PM, Bjorn Andersson wrote: The Shared Memory Manager driver implements an interface for allocating and accessing items in the

Re: [PATCHv2 1/3] x86, ptdump: Add section for EFI runtime services

2014-10-08 Thread Mathias Krause
On 8 October 2014 17:17, Borislav Petkov wrote: > On Tue, Oct 07, 2014 at 07:07:48PM +0200, Mathias Krause wrote: >> What you can see here are actually the EFI runtime service mappings, not >> the ESP fix area. Check the addresses and compare them. You should find >> similarities ;) And, in fact,

[GIT PULL] ACPI and power management updates for 3.18-rc1

2014-10-08 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-3.18-rc1 to receive ACPI and power management updates for v3.18-rc1 with top-most commit 9f1a053296953c69d7f23511db9441290cb89e2c Merge branch 'pm-clk' on top of commit

Re: [PATCH] [RFC] mnt: add ability to clone mntns starting with the current root

2014-10-08 Thread Rob Landley
On 10/08/14 14:31, Andy Lutomirski wrote: > On Wed, Oct 8, 2014 at 12:23 PM, Eric W. Biederman > wrote: >> Andy Lutomirski writes: Maybe we want to say that rootfs should not be used if we are going to create containers... >> >> Today it is an assumption of the vfs that rootfs is

[PATCH v2] drivers/pinctrl: Add the concept of an "init" state

2014-10-08 Thread Doug Anderson
For pinctrl the "default" state is applied to pins before the driver's probe function is called. This is normally a sensible thing to do, but in some cases can cause problems. That's because the pins will change state before the driver is given a chance to program how those pins should behave.

Re: Fwd: [PATCH] x86, MCE, AMD: save IA32_MCi_STATUS before machine_check_poll() resets it

2014-10-08 Thread Aravind Gopalakrishnan
Ok, this return is still bugging me - we're logging the error which caused the counter overflow but we go and explicitly clear _STATUS so that machine_check_poll doesn't pick up the same error again. Even though, machine_check_poll is intended to log the thresholding error. Which actually

Re: [GIT pull] timer changes for 3.18

2014-10-08 Thread Linus Torvalds
On Wed, Oct 8, 2014 at 2:12 PM, Thomas Gleixner wrote: > > please pull the latest timers-core-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > timers-core-for-linus > > Nothing really exciting this time: > > - A few fixlets in the NOHZ code .. but

Re: [PATCH] [RFC] mnt: add ability to clone mntns starting with the current root

2014-10-08 Thread Andy Lutomirski
On Wed, Oct 8, 2014 at 2:36 PM, Rob Landley wrote: > On 10/08/14 14:31, Andy Lutomirski wrote: >> On Wed, Oct 8, 2014 at 12:23 PM, Eric W. Biederman >> wrote: >>> Andy Lutomirski writes: > Maybe we want to say that rootfs should not be used if we are going to > create containers... >>>

[PATCH] block: fix alignment_offset math that assumes io_min is a power-of-2

2014-10-08 Thread Mike Snitzer
The math in both blk_stack_limits() and queue_limit_alignment_offset() assume that a block device's io_min (aka minimum_io_size) is always a power-of-2. Fix the math such that it works for non-power-of-2 io_min. This issue (of alignment_offset != 0) became apparent when testing dm-thinp with a

Re: [RFC] avoid (theoretical) conflicts of input device file names

2014-10-08 Thread Dmitry Torokhov
Hi Richard, On Wed, Oct 08, 2014 at 10:49:29PM +0200, Richard Leitner wrote: > Hi, > currently I discovered the possibility that device file numbers of the input > subsystem could go negative when the signed int "border" is passed. To fix > this behaviour I sent a patch a few minutes ago. > >

Re: i915.ko WC writes are slow after ea8596bb2d8d379

2014-10-08 Thread H. Peter Anvin
On 10/08/2014 12:49 PM, Chris Wilson wrote: > > Indeed, this appears to be the explanation. (And here I thought PAT > superseded mtrrs - i915.ko stopped trying to use assign an mtrr for its > GTT quite a while ago.) > > Replacing the stop_machine there with on_each_cpu does the trick: > It

[PATCH] serio: avoid negative serio device numbers

2014-10-08 Thread Richard Leitner
From: Richard Leitner Fix the format string for serio device name generation to avoid negative device numbers when the id exceeds the maximum signed integer value. Signed-off-by: Richard Leitner --- drivers/input/serio/serio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH 0/3] OOM vs. freezer interaction fixes

2014-10-08 Thread Rafael J. Wysocki
On Wednesday, October 08, 2014 04:07:43 PM Michal Hocko wrote: > Hi Andrew, Rafael, > > this has been originally discussed here [1] but didn't lead anywhere AFAICS > so I would like to resurrect them. OK So any chance to CC linux-pm too next time? There are people on that list who may be

Re: [PATCH v2] HID: wacom: Prevent potential null dereference after disconnect

2014-10-08 Thread Dmitry Torokhov
On Wed, Oct 08, 2014 at 11:25:42AM -0700, Jason Gerecke wrote: > Repeated connect/disconnect cycles under GNOME can trigger an occasional > OOPS from within e.g. wacom_led_select_store, presumably due to a timing > issue where userspace begins setting a value immediately before the > device

Re: [PATCH] [RFC] mnt: add ability to clone mntns starting with the current root

2014-10-08 Thread Rob Landley
On 10/08/14 14:23, Eric W. Biederman wrote: >> Could we have an extra rootfs-like fs that is always completely empty, >> doesn't allow any writes, and can sit at the bottom of container >> namespace hierarchies? If so, and if we add a new syscall that's like >> pivot_root (or unshare) but prunes

Re: [PATCH v2] thermal: ti-soc-thermal: Switch to using managed resources

2014-10-08 Thread Vladimir Zapolskiy
On 07.10.2014 10:11, Pramod Gurav wrote: This change switches to managed resource APIs to allocated resources such as irq, clock. Hence does away with release statements of the same resorces in error lables and remove function. Cc: Eduardo Valentin Cc: Zhang Rui Cc: linux...@vger.kernel.org

Re: [PATCH] input: avoid negative input device numbers

2014-10-08 Thread Dmitry Torokhov
On Wed, Oct 08, 2014 at 10:42:45PM +0200, Richard Leitner wrote: > From: Richard Leitner > > Fix the format string for input device name generation to avoid negative > device numbers when the id exceeds the maximum signed integer value. Well, it is going to take us a while to get there :)

[PATCH v3 2/2] dt: bindings: tps65217: add compatible property for backlight subnode

2014-10-08 Thread Johannes Pointner
Add documentation for compatible property of backlight subnode. Signed-off-by: Johannes Pointner --- Changes since v2: 1. Removed the pmic part of the patch. 2. Added newline before subnode in the example. --- .../devicetree/bindings/video/backlight/tps65217-backlight.txt | 10 +++--- 1

[PATCH] regulator: rn5t618: Convert to new style DT parsing

2014-10-08 Thread Beniamino Galvani
Use the simplified DT parsing method to remove some duplicated code. Since this is a MFD subdevice and its device object doesn't have an associated DT node, the configuration instance used to register the regulators has been changed to point to the parent device. Signed-off-by: Beniamino Galvani

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Josh Boyer
On Wed, Oct 8, 2014 at 5:09 PM, Chuck Ebbert wrote: > On Wed, 08 Oct 2014 13:55:00 -0700 > "H. Peter Anvin" wrote: > >> On 10/08/2014 01:46 PM, Chuck Ebbert wrote: >> > >> > Fedora doesn't cross-compile i686 builds because of problems like >> > this. It sets up an i386 chroot and runs all native

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread H. Peter Anvin
On 10/08/2014 02:09 PM, Chuck Ebbert wrote: >> >> Breaking cross-compilation is not okay, though, regardless of what >> Fedora does. It should be okay to, for example, build an i386 kernel on >> an ARM box. >> > > I think they tried that for a while, and ended up chasing compiler > and makefile

[PATCH v2] usb: ffs: fix regression when quirk_ep_out_aligned_size flag is set

2014-10-08 Thread David Cohen
The commit '2e4c7553cd usb: gadget: f_fs: add aio support' broke the quirk implemented to align buffer size to maxpacketsize on out endpoint. As result, functionfs does not work on Intel platforms using dwc3 driver (i.e. Bay Trail and Merrifield). This patch fixes the issue. This code is based on

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Chuck Ebbert
On Wed, 08 Oct 2014 13:55:00 -0700 "H. Peter Anvin" wrote: > On 10/08/2014 01:46 PM, Chuck Ebbert wrote: > > > > Fedora doesn't cross-compile i686 builds because of problems like > > this. It sets up an i386 chroot and runs all native tools inside of > > it. > > > > Breaking cross-compilation

Re: [Ksummit-discuss] [tpmdd-devel] [TrouSerS-tech] TPM MiniSummit @ LinuxCon Europe

2014-10-08 Thread Josh Triplett
On Tue, Oct 07, 2014 at 02:47:06PM -0400, Stefan Berger wrote: > On 10/07/2014 02:02 PM, Jason Gunthorpe wrote: > >On Tue, Oct 07, 2014 at 01:54:41PM -0400, Stefan Berger wrote: > > > >>Why add the complexity of swapping of authenticated sessions and keys > >>into the kernel if you can handle this

Re: [PATCH] scsi: ips.c: use 64-bit time types

2014-10-08 Thread Arnd Bergmann
On Wednesday 08 October 2014 13:44:55 James Bottomley wrote: > > diff --git a/drivers/scsi/ips.h b/drivers/scsi/ips.h > > index 45b9566..ff2a0b3 100644 > > --- a/drivers/scsi/ips.h > > +++ b/drivers/scsi/ips.h > > @@ -1054,7 +1054,7 @@ typedef struct ips_ha { > > uint8_tactive; > >

[PATCH] input: avoid negative input device numbers

2014-10-08 Thread Richard Leitner
From: Richard Leitner Fix the format string for input device name generation to avoid negative device numbers when the id exceeds the maximum signed integer value. Signed-off-by: Richard Leitner --- drivers/input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread H. Peter Anvin
On 10/08/2014 01:46 PM, Chuck Ebbert wrote: > > Fedora doesn't cross-compile i686 builds because of problems like > this. It sets up an i386 chroot and runs all native tools inside of > it. > Breaking cross-compilation is not okay, though, regardless of what Fedora does. It should be okay to,

Re: [RFC PATCH V3 0/3] PM/CPU: Parallel enalbing nonboot cpus with resume devices

2014-10-08 Thread Peter Zijlstra
On Thu, Sep 25, 2014 at 04:32:02PM +0800, Lan Tianyu wrote: > This patchset is to parallel enabling nonboot cpus with resuming devices > during system resume in order to accelerate S2RAM. From test result on > a 8 logical core Haswell machine, system resume time reduces from 347ms > to 217ms with

Re: linux-next: Tree for Oct 8 (media/usb/gspca)

2014-10-08 Thread Randy Dunlap
On 10/08/14 11:31, Mauro Carvalho Chehab wrote: > Em Wed, 08 Oct 2014 10:13:39 -0700 > Randy Dunlap escreveu: > >> On 10/07/14 23:49, Stephen Rothwell wrote: >>> Hi all, >>> >>> Please do not add any material intended for v3.19 to you linux-next >>> included trees until after v3.18-rc1 has been

Re: [PATCH 08/11] perf/x86/intel: Add Intel Cache QoS Monitoring support

2014-10-08 Thread Peter Zijlstra
On Wed, Oct 08, 2014 at 04:47:04PM +0200, Peter Zijlstra wrote: > On Wed, Oct 08, 2014 at 01:15:35PM +0100, Matt Fleming wrote: > > I was having an interesting discussion with one of the teams using this > > stuff at Intel and they made the suggestion that when using, > > > > perf stat -p > >

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Andy Lutomirski
On Wed, Oct 8, 2014 at 1:46 PM, Chuck Ebbert wrote: > On Wed, 8 Oct 2014 12:16:11 -0700 > Andy Lutomirski wrote: > >> On Wed, Oct 8, 2014 at 11:52 AM, Josh Boyer >> wrote: >> > I'm seeing the following build failure on a 32-bit x86 build in Fedora >> > based on Linux v3.17-2860-gef0625b70dac:

[RFC] avoid (theoretical) conflicts of input device file names

2014-10-08 Thread Richard Leitner
Hi, currently I discovered the possibility that device file numbers of the input subsystem could go negative when the signed int "border" is passed. To fix this behaviour I sent a patch a few minutes ago. But as the subject says there is currently the (theoretical) possibility that the same input

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Chuck Ebbert
On Wed, 8 Oct 2014 12:16:11 -0700 Andy Lutomirski wrote: > On Wed, Oct 8, 2014 at 11:52 AM, Josh Boyer wrote: > > I'm seeing the following build failure on a 32-bit x86 build in Fedora > > based on Linux v3.17-2860-gef0625b70dac: > > > > Documentation/vDSO/vdso_standalone_test_x86.o: In

Re: [PATCH] scsi: ips.c: use 64-bit time types

2014-10-08 Thread James Bottomley
On Wed, 2014-10-08 at 23:14 +0300, Ebru Akagunduz wrote: > This patch changes 32-bit time types to 64-bit in > ips.c > > time_t can only represent signed 32-bit dates but > the driver should represent dates that are after > January 2038. > > Use time64_t type instead of time_t. > >

Re: [PATCH 03/12] serial_core: Handle TIOC[GS]RS485 ioctls.

2014-10-08 Thread Ricardo Ribalda Delgado
Hello Alan This patchset adds no extra locking features, if the drivers did not implement a locking mechanism (and none did) there is chance of conflict. I can add a call to lock/unlock around uart_[gs]et_rs485_config. And then, inside the drivers, use the lock when the structure is used. I

Re: [PATCH] scsi: ips.c: use 64-bit time types

2014-10-08 Thread Arnd Bergmann
On Wednesday 08 October 2014 23:14:08 Ebru Akagunduz wrote: > This patch changes 32-bit time types to 64-bit in > ips.c > > time_t can only represent signed 32-bit dates but > the driver should represent dates that are after > January 2038. > > Use time64_t type instead of time_t. > >

[GIT PULL 7/7] ARM64: SoC changes for 3.18

2014-10-08 Thread Arnd Bergmann
The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9: Linux 3.17-rc1 (2014-08-16 10:40:26 -0600) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/arm64-for-linus for you to fetch changes up to

Re: [GIT PULL 0/7] ARM: SoC defconfig changes for 3.18

2014-10-08 Thread Arnd Bergmann
This was meant to be 6/7, not 0/7, sorry about the mixup. This one can be applied in any order however, it should not have dependencies on the other branches. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[GIT PULL 0/7] ARM: SoC defconfig changes for 3.18

2014-10-08 Thread Arnd Bergmann
The following changes since commit 52addcf9d6669fa439387610bc65c92fa0980cef: Linux 3.17-rc2 (2014-08-25 15:36:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/defconfig-for-linus for you to fetch changes up to

[GIT PULL 5/7] ARM: SoC driver updates for 3.18

2014-10-08 Thread Arnd Bergmann
The following changes since commit 69e273c0b0a3c337a521d083374c918dc52c666f: Linux 3.17-rc3 (2014-08-31 18:23:04 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/drivers-for-linus for you to fetch changes up to

Re: [PATCH 2/4] Input: pmic8xxx-keypad - use regmap_field for register access

2014-10-08 Thread Dmitry Torokhov
On Wed, Oct 08, 2014 at 09:04:26PM +0100, Mark Brown wrote: > On Wed, Oct 08, 2014 at 11:20:58AM -0700, Stephen Boyd wrote: > > On 10/08/2014 11:13 AM, Dmitry Torokhov wrote: > > > >>>Oops. struct regmap_field is opaque. It seems that the allocation > > >>>is the only way that I could have

[GIT PULL 4/7] ARM: SoC DT updates for 3.18

2014-10-08 Thread Arnd Bergmann
The following changes since commit 69e273c0b0a3c337a521d083374c918dc52c666f: Linux 3.17-rc3 (2014-08-31 18:23:04 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/dt-for-linus for you to fetch changes up to

[GIT PULL 3/7] ARM: SoC platform changes for 3.18

2014-10-08 Thread Arnd Bergmann
The following changes since commit 69e273c0b0a3c337a521d083374c918dc52c666f: Linux 3.17-rc3 (2014-08-31 18:23:04 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/soc-for-linus for you to fetch changes up to

[GIT PULL 2/7] ARM: SoC cleanups for 3.18

2014-10-08 Thread Arnd Bergmann
The following changes since commit 69e273c0b0a3c337a521d083374c918dc52c666f: Linux 3.17-rc3 (2014-08-31 18:23:04 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/cleanup-for-linus for you to fetch changes up to

[PATCH 1/1 linux-next] ceph: return error code directly.

2014-10-08 Thread Fabian Frederick
Testing err before returning value is not needed. Signed-off-by: Fabian Frederick --- fs/ceph/ioctl.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fs/ceph/ioctl.c b/fs/ceph/ioctl.c index a822a6e..b2d777a 100644 --- a/fs/ceph/ioctl.c +++ b/fs/ceph/ioctl.c @@ -54,10

[GIT PULL 0/7] ARM: SoC changes for 3.18

2014-10-08 Thread Arnd Bergmann
Hi Linus, Sending out the main pull requests for arm-soc now. It feels smaller than usual, but we also rejected a number of branches late in the cycle after you announced that you'd do an early 3.17 release. As usual, DT changes make up the bulk of this, although less so than previously. One

[GIT PULL 1/7] ARM: SoC non-critical bug fixes for 3.18

2014-10-08 Thread Arnd Bergmann
The following changes since commit 69e273c0b0a3c337a521d083374c918dc52c666f: Linux 3.17-rc3 (2014-08-31 18:23:04 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/fixes-nc-for-linus for you to fetch changes up to

Re: [PATCH v5 1/4] hwmon: ltc2978: device tree bindings documentation

2014-10-08 Thread Mark Brown
On Wed, Oct 08, 2014 at 01:12:54PM -0700, Guenter Roeck wrote: > On Wed, Oct 08, 2014 at 11:12:29AM -0500, atull wrote: > > > if not specified. We'll have to sort out with the regulator core how this > > > should > > > be handled. > Followup on this: Since the regulator core considers the

WARNING: CPU: 0 PID: 3666 at net/wireless/reg.c:1806 reg_process_hint+0x3b0/0x3c0 [cfg80211]()

2014-10-08 Thread Marc Burkhardt
Hi there, just upgraded a box (that has no CRD agent installed) from a 3.10 kernel to the just released 3.17 kernel an noticed the following when connecting to a HTC One device: [59168.564525] cfg80211: Calling CRDA for country: DE [59169.263781] [ cut here ]

Re: [PATCH v5 1/4] hwmon: ltc2978: device tree bindings documentation

2014-10-08 Thread Guenter Roeck
On Wed, Oct 08, 2014 at 11:12:29AM -0500, atull wrote: > On Mon, 6 Oct 2014, Guenter Roeck wrote: > > > On Thu, Oct 02, 2014 at 01:37:48PM -0500, at...@opensource.altera.com wrote: > > > From: Alan Tull > > > > > > Add device tree bindings documentation for ltc2978. > > > > > > Signed-off-by:

[PATCH] scsi: ips.c: use 64-bit time types

2014-10-08 Thread Ebru Akagunduz
This patch changes 32-bit time types to 64-bit in ips.c time_t can only represent signed 32-bit dates but the driver should represent dates that are after January 2038. Use time64_t type instead of time_t. Signed-off-by: Ebru Akagunduz --- drivers/scsi/ips.c | 6 -- drivers/scsi/ips.h | 2

Re: [PATCH RFC] setns: return 0 directly if try to reassociate with current namespace

2014-10-08 Thread Serge Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): > Serge Hallyn writes: > > > Quoting Chen Hanxiao (chenhanx...@cn.fujitsu.com): > >> We could use setns to join the current ns, > >> which did a lot of unnecessary work. > >> This patch will check this senario and > >> return 0 directly. > >> >

Re: [PATCH 03/12] serial_core: Handle TIOC[GS]RS485 ioctls.

2014-10-08 Thread Alan Cox
On Wed, 2014-10-08 at 21:57 +0200, Ricardo Ribalda Delgado wrote: > The following drivers: 8250_core, atmel_serial, max310x, mcf, omap-serial > and sci16is7xx implement code to handle RS485 ioctls. > > +static int uart_get_rs485_config(struct uart_port *port, > + struct

Re: [PATCH v1 5/7] dax: Add huge page fault support

2014-10-08 Thread Kirill A. Shutemov
On Wed, Oct 08, 2014 at 09:25:27AM -0400, Matthew Wilcox wrote: > + > + pgoff = ((address - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff; > + size = (i_size_read(inode) + PAGE_SIZE - 1) >> PAGE_SHIFT; > + if (pgoff >= size) > + return VM_FAULT_SIGBUS; > + /* If the PMD

Re: [PATCH 1/1 net-next] netlabel: directly return netlbl_unlabel_genl_init()

2014-10-08 Thread David Miller
From: Fabian Frederick Date: Wed, 8 Oct 2014 20:37:01 +0200 > No need to store netlbl_unlabel_genl_init result and test it before returning. > > Signed-off-by: Fabian Frederick Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] net: description of dma_cookie cause make xmldocs warning

2014-10-08 Thread David Miller
From: Masanari Iida Date: Wed, 8 Oct 2014 23:53:39 +0900 > In commit 7bced397510ab569d31de4c70b39e13355046387, > dma_cookie was removed from struct skbuff. > But the description of dma_cookie still exist. > So the "make xmldocs" output following warning. > >

Re: [PATCH 3.10 00/13] 3.10.57-stable review

2014-10-08 Thread Shuah Khan
On 10/07/2014 05:20 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.10.57 release. > There are 13 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

[RFC 1/1 linux-next] fs/affs: only call remove_header on empty directory

2014-10-08 Thread Fabian Frederick
affs_rmdir unconditionally called affs_remove_header which had to check stype then directory emptiness. This patch directly checks for directory status(like ext filesystems) remove_header is also called by affs_unlink and affs_rename but switch(stype) seems no longer needed. Cc: Andrew Morton

Re: [PATCH 3.14 00/37] 3.14.21-stable review

2014-10-08 Thread Shuah Khan
On 10/07/2014 05:19 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.21 release. > There are 37 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 3.16 00/26] 3.16.5-stable review

2014-10-08 Thread Shuah Khan
On 10/07/2014 05:19 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.16.5 release. > There are 26 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 11/11] perf/x86/intel: Perform rotation on Intel CQM RMIDs

2014-10-08 Thread Matt Fleming
On Wed, 08 Oct, at 08:10:44PM, Peter Zijlstra wrote: > On Wed, Sep 24, 2014 at 03:04:15PM +0100, Matt Fleming wrote: > > + limbo_bitmap = kmalloc(sizeof(long) * BITS_TO_LONGS(nr_bits) * > > + nr_cpumask_bits, GFP_KERNEL); > > That's going to be a _huge_ amount of memory

Re: [PATCH 2/4] Input: pmic8xxx-keypad - use regmap_field for register access

2014-10-08 Thread Mark Brown
On Wed, Oct 08, 2014 at 11:20:58AM -0700, Stephen Boyd wrote: > On 10/08/2014 11:13 AM, Dmitry Torokhov wrote: > >>>Oops. struct regmap_field is opaque. It seems that the allocation > >>>is the only way that I could have instance of it. > >>Maybe we can add an API to allocate an array of fields?

Re: [PATCH 0/2] net: fs_enet: Remove non NAPI RX and add NAPI for TX

2014-10-08 Thread David Miller
From: Christophe Leroy Date: Tue, 7 Oct 2014 15:04:53 +0200 (CEST) > When using a MPC8xx as a router, 'perf' shows a significant time spent in > fs_enet_interrupt() and fs_enet_start_xmit(). > 'perf annotate' shows that the time spent in fs_enet_start_xmit is indeed > spent > between

[PATCH 02/12] serial/sc16is7xx: Remove obsolete #ifset TIOC[SG]RS485

2014-10-08 Thread Ricardo Ribalda Delgado
Commit e676253b19b2 ("serial/8250: Add support for RS485 IOCTLs") added references to TIOC[SG]RS48 on 8250_core.c. This change triggered the need to define them in all the arches that uses tty/serial. This made #ifdef TIOC[SG]RS48 obsolete. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc:

[PATCH 05/12] 8250/fintek: Use rs485 handler from serial_core

2014-10-08 Thread Ricardo Ribalda Delgado
In order to remove the handler for rs485 ioctls on serial_8250, all the drivers must use the implementation on serial_core. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado ---

[PATCH 04/12] serial/8250: Copy RS485 fields to serial_core

2014-10-08 Thread Ricardo Ribalda Delgado
Initialize recently added rs485 fields on serial_core Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Sebastian Andrzej Siewior Cc: Alan Cox Cc: Tony Lindgren Cc: Peter Hurley Cc: Yoshihiro YUNOMAE Cc: Andy Shevchenko Cc: Ingo Molnar Cc: linux-ser...@vger.kernel.org Cc:

[PATCH 03/12] serial_core: Handle TIOC[GS]RS485 ioctls.

2014-10-08 Thread Ricardo Ribalda Delgado
The following drivers: 8250_core, atmel_serial, max310x, mcf, omap-serial and sci16is7xx implement code to handle RS485 ioctls. In order to avoid code duplication, we implement a simple ioctl handler on the serial_core layer. This handler can be used by all the other drivers instead of

[PATCH 06/12] serial/8250: Remove obsolete handling of rs485 ioctls

2014-10-08 Thread Ricardo Ribalda Delgado
There is no more users for this functions. All the 8250 drivers are using the rs485 handler on serial_core instead. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Sebastian Andrzej Siewior Cc: Alan Cox Cc: Tony Lindgren Cc: Peter Hurley Cc: Yoshihiro YUNOMAE Cc: Andy Shevchenko Cc: Ingo Molnar

[PATCH 07/12] serial/sc16is7xx: Use the rs485 functions on serial_core

2014-10-08 Thread Ricardo Ribalda Delgado
In order to unify all the rs485 ioctl handling. Use the implementation of TIOC[GS]RS485 ioctl handling on serial_core. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado ---

ext4: kernel BUG at fs/ext4/inode.c:2959!

2014-10-08 Thread Sasha Levin
: [ 409.238424](ftrace buffer empty) [ 409.239664] Modules linked in: [ 409.240706] CPU: 18 PID: 14016 Comm: trinity-c27 Not tainted 3.17.0-next-20141008-sasha-00051-g78b3c93-dirty #1364 [ 409.242724] task: 88032bb0 ti: 8802e78f8000 task.ti: 8802e78f8000 [ 409.242724] RIP

Re: [PATCH 11/11] perf/x86/intel: Perform rotation on Intel CQM RMIDs

2014-10-08 Thread Matt Fleming
On Wed, 08 Oct, at 09:02:16PM, Thomas Gleixner wrote: > On Wed, 8 Oct 2014, Peter Zijlstra wrote: > > On Wed, Sep 24, 2014 at 03:04:15PM +0100, Matt Fleming wrote: > > > + preempt_disable(); > > < SNIP lng code > > > > > + preempt_enable(); > > > > Why is all that under preempt_disable()? >

[PATCH 09/12] serial/atmel: Use the rs485 functions on serial_core

2014-10-08 Thread Ricardo Ribalda Delgado
In order to unify all the rs485 ioctl handling. Use the implementation of TIOC[GS]RS485 ioctl handling on serial_core. Cc: Nicolas Ferre Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado ---

[PATCH 12/12] serial_core: Remove call to driver-specific TIO[GS]RS485]

2014-10-08 Thread Ricardo Ribalda Delgado
Once there is no more handlers for TIOC[GS]RS485 there is no need to call the driver specific ioctl when the generic implementation is missing. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado ---

[PATCH 10/12] serial/omap: Use the rs485 functions on serial_core

2014-10-08 Thread Ricardo Ribalda Delgado
In order to unify all the rs485 ioctl handling Use the implementation of TIOC[GS]RS485 ioctl handling on serial_core. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado ---

Re: [PATCH v4 net-next] r8169:add support for RTL8168EP

2014-10-08 Thread David Miller
From: Chun-Hao Lin Date: Tue, 7 Oct 2014 15:10:41 +0800 > RTL8168EP is Realtek PCIe Gigabit Ethernet controller with DASH support. > It is a successor chip of RTL8168DP. > > For RTL8168EP, the read/write ocp register is via eri channel type 2, so I > move ocp_xxx() related functions under

[PATCH 11/12] drivers/max310: Use the rs485 functions on serial_core

2014-10-08 Thread Ricardo Ribalda Delgado
In order to unify all the rs485 ioctl handling Use the implementation of TIOC[GS]RS485 ioctl handling on serial_core. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado --- drivers/tty/serial/max310x.c

[PATCH 01/12] serial/max310x: Remove obsolete #ifset TIOC[SG]RS485

2014-10-08 Thread Ricardo Ribalda Delgado
Commit e676253b19b2 ("serial/8250: Add support for RS485 IOCTLs") added references to TIOC[SG]RS48 on 8250_core.c. This change triggered the need to define them in all the arches that uses tty/serial. This made #ifdef TIOC[SG]RS48 obsolete. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc:

[PATCH 08/12] serial/mcf: Use the rs485 functions on serial_core

2014-10-08 Thread Ricardo Ribalda Delgado
In order to unify all the rs485 ioctl handling. Use the implementation of TIOC[GS]RS485 ioctl handling on serial_core. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado --- drivers/tty/serial/mcf.c |

Re: [PATCH] usb: ffs: fix regression when quirk_ep_out_aligned_size flag is set

2014-10-08 Thread Felipe Balbi
Hi, On Wed, Oct 08, 2014 at 10:55:58AM -0700, David Cohen wrote: > On Tue, Oct 07, 2014 at 07:32:56PM -0500, Felipe Balbi wrote: > > Hi again, > > > > On Tue, Oct 07, 2014 at 05:18:06PM -0700, David Cohen wrote: > > > The commit '2e4c7553cd usb: gadget: f_fs: add aio support' broke the > > >

Re: [PATCH] Documentation: fix vdso_standalone_test_x86 on 32-bit

2014-10-08 Thread H. Peter Anvin
This still has the cross-build problems, no? On October 8, 2014 12:49:24 PM PDT, Peter Foley wrote: >vdso_standalone_test_x86 needs -lgcc_s to build succesfully on 32bit. > >Signed-off-by: Peter Foley >--- > Documentation/vDSO/Makefile | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git

Re: [PATCH v2 3/3] ARM: dts: qcom: Add SDHC nodes for APQ8084 platform

2014-10-08 Thread Josh Cartwright
On Wed, Oct 08, 2014 at 09:18:44PM +0200, Nicolas Dechesne wrote: > Georgi, > > On Tue, Sep 2, 2014 at 5:40 PM, Georgi Djakov wrote: > > Enable support for the two SD host controllers on the APQ8084 platform > > by adding the required nodes to the DT files. > > On the IFC6540 board, the first

Re: i915.ko WC writes are slow after ea8596bb2d8d379

2014-10-08 Thread Chris Wilson
On Wed, Oct 08, 2014 at 05:10:59AM -0500, Chuck Ebbert wrote: > On Wed, 8 Oct 2014 10:03:36 +0100 > Chris Wilson wrote: > > > > > I ran into a problem on a Sandybridge i5-2500s whilst measuring the > > performance of GTT write-combining access. I found subsequent runs were > > about 10-40x

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