Re: SCSI sr driver: parallel writes to optical serialized which hurts performance (sr_mutex)

2016-03-05 Thread Wakko Warner
Johan de Jong wrote: > In the mean time I have applied and tested the 2013 patch by Otto Meta: > > http://marc.info/?l=linux-scsi=135705061804384=2 > > which, in short, replaces mutex_lock(_mutex) (global mutex), that > was introduced in 2010 to replace lock_kernel(), by per-device mutexes > and

Re: [PATCH] be2iscsi:Add missing error check in beiscsi_eeh_resume

2016-03-05 Thread Martin K. Petersen
> "Nick" == nick writes: Nick> I have a few other patches against trees you are a maintainer of Nick> perhaps you want to take them off my hands? One patch per mail, please. We don't take patches without sufficient reviews. If you want your changes included you will

Re: [PATCH v3 net-next 0/9] API set for HW Buffer management

2016-03-05 Thread Gregory CLEMENT
Hi, On sam., mars 05 2016, Gregory CLEMENT wrote: > This is a third version of an API set for HW Buffer management that I Please ignore this version. Being able to select the HWBM support though the kernel configuration was not as trivial as I initially

[PATCH] serial: 8250_ingenic: Remove global variable

2016-03-05 Thread Paul Cercueil
Signed-off-by: Paul Cercueil --- drivers/tty/serial/8250/8250_ingenic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/tty/serial/8250/8250_ingenic.c b/drivers/tty/serial/8250/8250_ingenic.c index 155b785..aa1f156 100644 ---

[RESEND PATCH v2 1/2] dt/bindings: Add bindings for PIC32 SPI peripheral

2016-03-05 Thread Purna Chandra Mandal
Signed-off-by: Purna Chandra Mandal --- Changes in v2: - fix indentation - add space after comma - moved 'cs-gpios' section under 'required' properties. .../bindings/spi/microchip,spi-pic32.txt | 34 ++ 1 file changed, 34

[PATCH v2] sched/cputime: steal_account_process_tick() should return jiffies

2016-03-05 Thread Chris Friesen
The callers of steal_account_process_tick() expect it to return whether a jiffy should be considered stolen or not. Currently the return value of steal_account_process_tick() is in units of cputime, which vary between either jiffies or nsecs depending on CONFIG_VIRT_CPU_ACCOUNTING_GEN. If

[PATCH v2 05/10] x86/traps: Clear TIF_BLOCKSTEP on all debug exceptions

2016-03-05 Thread Andy Lutomirski
The SDM says that debug exceptions clear BTF, and we need to keep TIF_BLOCKSTEP in sync with BTF. Clear it unconditionally and improve the comment. I suspect that the fact that kmemcheck could cause TIF_BLOCKSTEP not to be cleared was just an oversight. Signed-off-by: Andy Lutomirski

[PATCH v2 07/10] x86/entry: Vastly simplify SYSENTER TF handling

2016-03-05 Thread Andy Lutomirski
Due to a blatant design error, SYSENTER doesn't clear TF. As a result, if a user does SYSENTER with TF set, we will single-step through the kernel until something clears TF. There is absolutely nothing we can do to prevent this short of turning off SYSENTER [1]. Simplify the handling

[PATCH v2 06/10] x86/traps: Clear DR6 early in do_debug and improve the comment

2016-03-05 Thread Andy Lutomirski
Leaving any bits set in DR6 on return from a debug exception is asking for trouble. Prevent it by writing zero right away and clarify the comment. Signed-off-by: Andy Lutomirski --- arch/x86/kernel/traps.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-)

[PATCH v2 03/10] x86/entry/32: Filter NT and speed up AC filtering in SYSENTER

2016-03-05 Thread Andy Lutomirski
This makes the 32-bit code work just like the 64-bit code. It should speed up syscalls on 32-bit kernels on Skylake by something like 20 cycles (by analogy to the 64-bit compat case). It also cleans up NT just like we do for the 64-bit case. Signed-off-by: Andy Lutomirski ---

[PATCH v2 09/10] x86/entry/32: Simplify and fix up the SYSENTER stack #DB/NMI fixup

2016-03-05 Thread Andy Lutomirski
Right after SYSENTER, we can get a #DB or NMI. On x86_32, there's no IST, so the exception handler is invoked on the temporary SYSENTER stack. Because the SYSENTER stack is very small, we have a fixup to switch off the stack quickly when this happens. The old fixup had several issues: 1. It

[PATCH v2 10/10] x86/entry/32: Add and check a stack canary for the SYSENTER stack

2016-03-05 Thread Andy Lutomirski
Signed-off-by: Andy Lutomirski --- arch/x86/include/asm/processor.h | 3 ++- arch/x86/kernel/process.c| 3 +++ arch/x86/kernel/traps.c | 8 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/x86/include/asm/processor.h

[PATCH v2 01/10] selftests/x86: In syscall_nt, test NT|TF as well

2016-03-05 Thread Andy Lutomirski
Setting TF prevents fastpath returns in most cases, which causes the test to fail on 32-bit kernels because 32-bit kernels do not, in fact, handle NT correctly on SYSENTER entries. The next patch will fix 32-bit kernels. Signed-off-by: Andy Lutomirski ---

[PATCH v2 04/10] x86/entry/32: Restore FLAGS on SYSEXIT

2016-03-05 Thread Andy Lutomirski
We weren't restoring FLAGS at all on SYSEXIT. Apparently no one cared. With this patch applied, native kernels should always honor task_pt_regs()->flags, which opens the door for some sys_iopl cleanups. I'll do those as a separate series, though, since getting it right will involve tweaking

[PATCH v2 08/10] x86/entry: Only allocate space for SYSENTER_stack if needed

2016-03-05 Thread Andy Lutomirski
The SYSENTER stack is only used on 32-bit kernels. Remove it in 64-bit kernels. (We may end up using it down the road on 64-bit kernels. If so, we'll re-enable it for CONFIG_IA32_EMULATION.) Signed-off-by: Andy Lutomirski --- arch/x86/include/asm/processor.h | 2 ++ 1 file

Re: SCSI sr driver: parallel writes to optical serialized which hurts performance (sr_mutex)

2016-03-05 Thread Johan de Jong
Hi Wakko, If I remember correctly I did see you commenting on discussions on either the Otto Meta patch, or another that proposed to remove the mutex entirely. I was unaware of any others. Do you have more information on why this never resulted in a succesful concerted effort to get a patch in

[GIT PULL] Please pull powerpc/linux.git powerpc-4.5-5 tag

2016-03-05 Thread Michael Ellerman
Hi Linus, Please pull a few more powerpc fixes for 4.5: The following changes since commit 9ab3ac233a8b4ffcc27c8475b83dee49fc46bc76: powerpc/mm/hash: Clear the invalid slot information correctly (2016-02-22 19:27:39 +1100) are available in the git repository at:

drivers/mfd/syscon.c:89:2: error: implicit declaration of function 'iounmap'

2016-03-05 Thread kbuild test robot
Hi Rob, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 67944024c1cdd897e49a09b0d6af3ea38d1388ca commit: 0166dc11be911213e0b1b764488c671be4c48cf3 of: make CONFIG_OF user selectable date: 9 months ago config:

Re: multipath: I/O hanging forever

2016-03-05 Thread Kent Overstreet
On Fri, Mar 04, 2016 at 10:30:44AM -0700, Andrea Righi wrote: > On Sun, Feb 28, 2016 at 08:46:16PM -0700, Andrea Righi wrote: > > On Sun, Feb 28, 2016 at 06:53:33PM -0700, Andrea Righi wrote: > > ... > > > I'm using 4.5.0-rc5+, from Linus' git. I'll try to do a git bisect > > > later, I'm pretty

Re: [PATCH] configfs: switch ->default groups to a linked list

2016-03-05 Thread Joel Becker
Acked-by: Joel Becker On Fri, Feb 26, 2016 at 01:33:51PM +0100, Christoph Hellwig wrote: > Replace the current NULL-terminated array of default groups with a linked > list. This gets rid of lots of nasty code to size and/or dynamically > allocate the array. > > While we're

Re: hw_breakpoint: Fix Oops at destroying hw_breakpoint event on powerpc

2016-03-05 Thread Michael Ellerman
On Wed, 2016-02-03 at 09:55:17 UTC, Ravi Bangoria wrote: > At a time of destroying hw_breakpoint event, kernel ends up with Oops. > Here is the sample output from 4.5.0-rc6 kernel. I merged the revised version, as discussed with peterz. https://git.kernel.org/powerpc/c/fb822e6076d972691c5dd33431

/bin/bash: line 0: [: -ge: unary operator expected

2016-03-05 Thread kbuild test robot
Hi Huacai, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a7c9b603cf2371edacb054abc35597e810c1e5fd commit: 5188129b8c9f58ba089bfd3809a163a8c087c797 MIPS: Loongson-3: Improve -march option and move it to Platform

Re: [PATCH v5 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-05 Thread Nicolas Pitre
On Sat, 5 Mar 2016, Michal Marek wrote: > On Fri, Mar 04, 2016 at 11:53:53PM +0100, Michal Marek wrote: > > Dne 4.3.2016 v 23:51 Michal Marek napsal(a): > > > Dne 4.3.2016 v 06:40 Nicolas Pitre napsal(a): > > >> +cmd_and_fixdep = > > >>

Linux 4.1.19

2016-03-05 Thread Sasha Levin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm announcing the release of the 4.1.19 kernel. All users of the 4.1 kernel series must upgrade. The updated 4.1.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.1.y and can be

Linux 3.18.28

2016-03-05 Thread Sasha Levin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm announcing the release of the 3.18.28 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be

arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-03-05 Thread kbuild test robot
Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 67944024c1cdd897e49a09b0d6af3ea38d1388ca commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier

Re: [PATCH v4 0/8] fix debugfs file removal races

2016-03-05 Thread Greg Kroah-Hartman
On Tue, Feb 23, 2016 at 02:51:25PM +0100, Nicolai Stange wrote: > The changes from v3 to v4 are style changes regarding the Coccinelle > part only -- it has been split off from former [3/7] into its own > patch [4/8]. > > The big step has been from v2 to v3 and these changes haven't got any >

[PATCH] fat: add config option to set UTF-8 mount option by default

2016-03-05 Thread Maciej S. Szmigiero
FAT has long supported its own default file name encoding config setting, separate from CONFIG_NLS_DEFAULT. However, if UTF-8 encoded file names are desired FAT character set should not be set to utf8 since this would make file names case sensitive even if case insensitive matching is requested.

Re: [PATCH] tty: msm_serial: remove static clk rate setting in probe

2016-03-05 Thread Greg Kroah-Hartman
On Tue, Mar 01, 2016 at 11:22:53AM +, Srinivas Kandagatla wrote: > The issue with setting up a fixed clock rate at probe is that it would > overwrite the console rate set by the bootloader for its console device. > This would result in serial out corruption or missing log when we system > is

vgacon.c:undefined reference to `screen_info'

2016-03-05 Thread kbuild test robot
Hi Chen, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 67944024c1cdd897e49a09b0d6af3ea38d1388ca commit: f69405ce6c0fc9f4a039011007371b31f80b470d openrisc: include: asm: Kbuild: add default "vga.h"

[PATCH] mailbox: sti: fix check of error code returned by devm_ioremap_resource()

2016-03-05 Thread Vladimir Zapolskiy
The change fixes potential oops while accessing iomem on invalid address, if devm_ioremap_resource() fails due to some reason. The devm_ioremap_resource() function returns ERR_PTR() and never returns NULL, which makes useless a following check for NULL. Signed-off-by: Vladimir Zapolskiy

Re: [PATCH v2 6/10] cpufreq: Support for fast frequency switching

2016-03-05 Thread Rafael J. Wysocki
On Sat, Mar 5, 2016 at 5:49 PM, Peter Zijlstra wrote: > On Sat, Mar 05, 2016 at 12:18:54AM +0100, Rafael J. Wysocki wrote: > >> >>> Even if there are platforms which may change the CPU frequency behind >> >>> cpufreq's back, breaking the transition notifiers, I'm worried

Re: Applied "regulator: max8973: add support for junction thermal warning" to the regulator tree

2016-03-05 Thread Mark Brown
On Sat, Mar 05, 2016 at 09:25:49PM +0900, Mark Brown wrote: > The patch > >regulator: max8973: add support for junction thermal warning > > has been applied to the regulator tree at > >git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git > > All being well this means

arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'

2016-03-05 Thread kbuild test robot
Hi Alex, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 67944024c1cdd897e49a09b0d6af3ea38d1388ca commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO date: 4 months ago config:

[PATCH 3/5] rtc: rtc-jz4740: Add support for devicetree

2016-03-05 Thread Paul Cercueil
Signed-off-by: Paul Cercueil --- drivers/rtc/rtc-jz4740.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c index 47617bd..3914b1c 100644 --- a/drivers/rtc/rtc-jz4740.c +++

[PATCH 5/5] MIPS: jz4740: Use the jz4740-rtc driver as the power controller

2016-03-05 Thread Paul Cercueil
Signed-off-by: Paul Cercueil --- arch/mips/boot/dts/ingenic/jz4740.dtsi | 2 ++ arch/mips/jz4740/reset.c | 64 -- 2 files changed, 2 insertions(+), 64 deletions(-) diff --git a/arch/mips/boot/dts/ingenic/jz4740.dtsi

[PATCH 2/5] Documentation: dt: Add binding info for jz4740-rtc driver

2016-03-05 Thread Paul Cercueil
Signed-off-by: Paul Cercueil --- .../devicetree/bindings/rtc/ingenic,jz4740-rtc.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/ingenic,jz4740-rtc.txt diff --git

[PATCH 1/5] rtc: rtc-jz4740: Add support for the RTC in the jz4780 SoC

2016-03-05 Thread Paul Cercueil
Signed-off-by: Paul Cercueil --- drivers/rtc/Kconfig | 6 +++--- drivers/rtc/rtc-jz4740.c | 50 ++-- 2 files changed, 51 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index

[PATCH 4/5] rtc: jz4740_rtc: Add support for acting as the system power controller

2016-03-05 Thread Paul Cercueil
Signed-off-by: Paul Cercueil --- drivers/rtc/rtc-jz4740.c | 77 1 file changed, 77 insertions(+) diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c index 3914b1c..f53cfd6 100644 --- a/drivers/rtc/rtc-jz4740.c

{standard input}:136: Error: number (0x9000000080000000) larger than 32 bits

2016-03-05 Thread kbuild test robot
Hi Paul, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a7c9b603cf2371edacb054abc35597e810c1e5fd commit: de361e8bb9f666235d44ae9770238718be4f0483 MIPS: JZ4740: introduce CONFIG_MACH_INGENIC date: 9 months ago

awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(')

2016-03-05 Thread kbuild test robot
Hi Alex, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a7c9b603cf2371edacb054abc35597e810c1e5fd commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO date: 4 months ago config:

RE: [PATCH RESEND] net:fec:Fix error checking in the function fec_enet_init

2016-03-05 Thread Fugang Duan
From: Nicholas Krause Sent: Saturday, March 05, 2016 4:00 AM > To: da...@davemloft.net > Cc: b38...@freescale.com; and...@lunn.ch; fabio.este...@freescale.com; > l.st...@pengutronix.de; rmk+ker...@arm.linux.org.uk; trem...@gmail.com; > johan...@sipsolutions.net;

[PATCH 0/3] crypto: af_alg - add TLS type encryption

2016-03-05 Thread Tadeusz Struk
Hi, The following series adds TLS type authentication. To do this a new template, encauth, is introduced. It is derived from the existing authenc template and modified to work in "first auth then encrypt" mode. The algif interface is also changed to work with the new authentication type. ---

Re: [PATCH 4/5] usb: gadget: f_midi: cleanups and typos fixes

2016-03-05 Thread Greg KH
On Sat, Mar 05, 2016 at 11:53:35PM +, Felipe Ferreri Tonello wrote: > Hi Greg, > > On March 5, 2016 7:39:13 PM GMT+00:00, Greg KH wrote: > >On Sat, Mar 05, 2016 at 11:28:45AM -0500, Michal Nazarewicz wrote: > >> >> On Wed, Mar 02 2016, Felipe F. Tonello wrote: > >> >>> @@

Re: [PATCH] mailbox: sti: fix check of error code returned by devm_ioremap_resource()

2016-03-05 Thread Lee Jones
On Sun, 06 Mar 2016, Vladimir Zapolskiy wrote: > The change fixes potential oops while accessing iomem on invalid > address, if devm_ioremap_resource() fails due to some reason. > > The devm_ioremap_resource() function returns ERR_PTR() and never > returns NULL, which makes useless a following

Re: [PATCH] serial: 8250_ingenic: Remove global variable

2016-03-05 Thread Greg Kroah-Hartman
On Sun, Mar 06, 2016 at 12:55:55AM +0100, Paul Cercueil wrote: > Signed-off-by: Paul Cercueil > --- > drivers/tty/serial/8250/8250_ingenic.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) I can't take patches without a changelog entry :(

Re: soft lockup when passing vvar address to write(2)

2016-03-05 Thread Andy Lutomirski
On Mar 5, 2016 1:04 AM, "Ingo Molnar" wrote: > > > * Thomas Gleixner wrote: > > > On Fri, 4 Mar 2016, Andy Lutomirski wrote: > > > Thomas, I still think we should consider just deleting the HPET vclock > > > code and accept the syscall overhead on systems

[PATCH v2] serial: mvebu-uart: fix platform_no_drv_owner.cocci warnings

2016-03-05 Thread Julia Lawall
No need to set .owner here. The core will do it. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Wilson Ding Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall --- v2: No change to patch, correct

Re: [RFC][PATCH v2 1/2] printk: Make printk() completely async

2016-03-05 Thread Tetsuo Handa
Sergey Senozhatsky wrote: > printk() is expected to work under different conditions and in different > scenarios, including corner cases of OOM when all of the workers are busy > (e.g. allocating memory). Thus by default printk() uses its own dedicated > workqueue with WQ_MEM_RECLAIM bit set. It

Re: [PATCH v2] serial: xuartps: Enable OF earlycon support

2016-03-05 Thread Greg Kroah-Hartman
On Thu, Feb 25, 2016 at 02:04:23PM +0100, Michal Simek wrote: > Hi Greg, > > On 18.2.2016 17:50, Peter Hurley wrote: > > On 02/17/2016 11:57 PM, Michal Simek wrote: > >> Support early console setup via DT for all listed compatible strings. > >> Remove EARLYCON_DECLARE which was done by: > >> "Use

arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory

2016-03-05 Thread kbuild test robot
Hi Al, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a7c9b603cf2371edacb054abc35597e810c1e5fd commit: 5c48b108ecbf6505d929e64d50dace13ac2bdf34 um: take arch/um/sys-x86 to arch/x86/um date: 4 years, 4 months ago

collect2: error: ld returned 1 exit status

2016-03-05 Thread kbuild test robot
Hi Anton, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a7c9b603cf2371edacb054abc35597e810c1e5fd commit: 238abecde8ad43f914e095fcf23e0bd35dc7a7f2 powerpc: Don't use gcc specific options on clang date: 9 months

/bin/bash: line 0: [: -lt: unary operator expected

2016-03-05 Thread kbuild test robot
Hi Qais, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a7c9b603cf2371edacb054abc35597e810c1e5fd commit: 2a037f310bab89b7db5b86c7954cf69c229c87ca MIPS: VDSO: Fix build error date: 3 months ago config: mips-jz4740

Re: [PATCH 4/5] usb: gadget: f_midi: cleanups and typos fixes

2016-03-05 Thread Felipe Ferreri Tonello
Hi Michal, On March 5, 2016 4:28:45 PM GMT+00:00, Michal Nazarewicz wrote: >>> On Wed, Mar 02 2016, Felipe F. Tonello wrote: @@ -16,7 +16,7 @@ * Copyright (C) 2006 Thumtronics Pty Ltd. * Ben Williamson *

Re: THP-enabled filesystem vs. FALLOC_FL_PUNCH_HOLE

2016-03-05 Thread Kirill A. Shutemov
On Sun, Mar 06, 2016 at 09:38:11AM +1100, Dave Chinner wrote: > On Sat, Mar 05, 2016 at 02:24:12AM +0300, Kirill A. Shutemov wrote: > > On Sat, Mar 05, 2016 at 10:05:48AM +1100, Dave Chinner wrote: > > > On Fri, Mar 04, 2016 at 11:38:47AM -0800, Hugh Dickins wrote: > > > > On Fri, 4 Mar 2016, Dave

Re: [RFT PATCH 1/2] usb: dwc2: Add a 10 ms delay to dwc2_core_reset()

2016-03-05 Thread Doug Anderson
Hi, On Sat, Mar 5, 2016 at 12:41 PM, Michael Niewoehner wrote: > Hi Douglas, > Hi John, > > Am 05.03.2016 um 01:33 schrieb Doug Anderson : > >> Michael, >> >> On Fri, Mar 4, 2016 at 4:09 PM, Michael Niewoehner >> wrote: >

include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'

2016-03-05 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 67944024c1cdd897e49a09b0d6af3ea38d1388ca commit: b2c0b2cbb282f0cf42518ffacbe197e6f2884168 nmi: create generic NMI backtrace implementation date: 8 months ago config: mn10300-allmodconfig (attached as

[PATCH] target: Drop incorrect ABORT_TASK put for completed commands

2016-03-05 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch fixes a recent ABORT_TASK regression associated with commit febe562c, where a left-over target_put_sess_cmd() would still be called when __target_check_io_state() detected a command has already been completed, and explicit ABORT must be

Re: [RFC][PATCH v2 1/2] printk: Make printk() completely async

2016-03-05 Thread Sergey Senozhatsky
On (03/05/16 19:55), Sergey Senozhatsky wrote: [..] > +static int __init init_printk_workqueue(void) > +{ > + if (printk_sync) > + return 0; > + > + printk_wq = alloc_workqueue("printk_wq", WQ_MEM_RECLAIM, 0); > + /* > + * Fallback to one of system-wide workqueues if

Re: [PATCH] staging: rtl8192e: rtllib_softmac.c: Remove multiple blank lines

2016-03-05 Thread Greg KH
On Sun, Feb 28, 2016 at 10:23:02PM +0530, Tapan Prakash T wrote: > Fixed multiple blank lines issues reported by checkpatch.pl > > Signed-off-by: Tapan Prakash T > --- > drivers/staging/rtl8192e/rtllib_softmac.c | 62 > --- > 1 file changed,

Re: [PATCH 4/5] usb: gadget: f_midi: cleanups and typos fixes

2016-03-05 Thread Felipe Ferreri Tonello
Hi Greg, On March 5, 2016 7:39:13 PM GMT+00:00, Greg KH wrote: >On Sat, Mar 05, 2016 at 11:28:45AM -0500, Michal Nazarewicz wrote: >> >> On Wed, Mar 02 2016, Felipe F. Tonello wrote: >> >>> @@ -16,7 +16,7 @@ >> >>> * Copyright (C) 2006 Thumtronics Pty Ltd. >> >>> * Ben

[PATCH 2/3] crypto: af_alg - add AEAD operation type

2016-03-05 Thread Tadeusz Struk
We need to allow the user to set the authentication type. This adds a new operation that sets IPSec or TLS authentication mode. Signed-off-by: Tadeusz Struk --- crypto/af_alg.c |6 ++ include/crypto/if_alg.h |1 + include/uapi/linux/if_alg.h

[PATCH 3/3] crypto: algif_aead - modify algif aead interface to work with encauth

2016-03-05 Thread Tadeusz Struk
Updates to algif_aead to allow it to work with the new TLS authentication mode. This patch is generated on top of the algif_aead async patch: https://patchwork.kernel.org/patch/8182971/ Signed-off-by: Tadeusz Struk --- crypto/algif_aead.c | 93

[PATCH 1/3] crypto: authenc - add TLS type encryption

2016-03-05 Thread Tadeusz Struk
This patch adds a new authentication mode for TLS type encryption. During encrypt it generates auth data + padding and then the plaintext || authdata || padding is encrypted. This requires the user to provide extra space for the cipher text. The required space can be calculated as outlen = assoc

Re: Kernel docs: muddying the waters a bit

2016-03-05 Thread Mauro Carvalho Chehab
Em Fri, 04 Mar 2016 15:09:09 +0100 Johannes Stezenbach escreveu: > On Fri, Mar 04, 2016 at 09:59:50AM -0300, Mauro Carvalho Chehab wrote: > > > > 3) I tried to use a .. cssclass, as Johannes suggested, but > > I was not able to include the CSS file. I suspect that this is > >

Re: [PATCH 09/13] efi/arm64: Check for h/w support before booting a >4 KB granule kernel

2016-03-05 Thread Ard Biesheuvel
On 17 February 2016 at 13:36, Matt Fleming wrote: > From: Ard Biesheuvel > > A kernel built with support for a page size that is not supported by the > hardware it runs on cannot boot to a state where it can inform the user > about it. > > If

drivers/vhost/vhost.c:718:3: error: call to '__compiletime_assert_718' declared with attribute error: BUILD_BUG_ON failed: __alignof__ *vq->avail > VRING_AVAIL_ALIGN_SIZE

2016-03-05 Thread kbuild test robot
Hi Michael, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 67944024c1cdd897e49a09b0d6af3ea38d1388ca commit: 5d9a07b0de512b77bf28d2401e5fe3351f00a240 vhost: relax used address alignment date: 1 year, 2 months ago

[GIT PULL] UML fixes for 4.5-rc7

2016-03-05 Thread Richard Weinberger
Linus, The following changes since commit fc77dbd34c5c99bce46d40a2491937c3bcbd10af: Linux 4.5-rc6 (2016-02-28 08:41:20 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git for-linus-4.5-rc7 for you to fetch changes up to

[GIT PULL] UBI fixes for 4.5-rc7

2016-03-05 Thread Richard Weinberger
Linus, The following changes since commit fc77dbd34c5c99bce46d40a2491937c3bcbd10af: Linux 4.5-rc6 (2016-02-28 08:41:20 -0800) are available in the git repository at: git://git.infradead.org/linux-ubifs.git tags/upstream-4.5-rc7 for you to fetch changes up to

Re: [PATCH v4 1/1] scsi: storvsc: Fix a build issue reported by kbuild test robot

2016-03-05 Thread Martin K. Petersen
> "kys" == K Y Srinivasan writes: kys> With this commit, the storvsc driver depends on FC kys> atttributes. Make this dependency explicit. Applied to 4.6/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

[PATCH v4 net-next 6/9] bus: mvebu-mbus: provide api for obtaining IO and DRAM window information

2016-03-05 Thread Gregory CLEMENT
From: Marcin Wojtas This commit enables finding appropriate mbus window and obtaining its target id and attribute for given physical address in two separate routines, both for IO and DRAM windows. This functionality is needed for Armada XP/38x Network Controller's Buffer

[PATCH v4 net-next 7/9] net: mvneta: bm: add support for hardware buffer management

2016-03-05 Thread Gregory CLEMENT
From: Marcin Wojtas Buffer manager (BM) is a dedicated hardware unit that can be used by all ethernet ports of Armada XP and 38x SoC's. It allows to offload CPU on RX path by sparing DRAM access on refilling buffer pool, hardware-based filling of descriptor ring data and

[PATCH v4 net-next 1/9] ARM: dts: armada-38x: add buffer manager nodes

2016-03-05 Thread Gregory CLEMENT
From: Marcin Wojtas Armada 38x network controller supports hardware buffer management (BM). Since it is now enabled in mvneta driver, appropriate nodes can be added to armada-38x.dtsi - for the actual common BM unit (bm@c8000) and its internal SRAM (bm-bppi), which is used for

[PATCH v4 net-next 8/9] net: add a hardware buffer management helper API

2016-03-05 Thread Gregory CLEMENT
This basic implementation allows to share code between driver using hardware buffer management. As the code is hardware agnostic, there is few helpers, most of the optimization brought by the an HW BM has to be done at driver level. Signed-off-by: Gregory CLEMENT

[PATCH v4 net-next 9/9] net: mvneta: Use the new hwbm framework

2016-03-05 Thread Gregory CLEMENT
Now that the hardware buffer management framework had been introduced, let's use it. Signed-off-by: Gregory CLEMENT --- drivers/net/ethernet/marvell/Kconfig | 1 + drivers/net/ethernet/marvell/mvneta.c| 16 ++--

[PATCH v4 net-next 5/9] ARM: dts: armada-xp-openblocks-ax3-4: Add BM support

2016-03-05 Thread Gregory CLEMENT
Allow Openblock AX3 using hardware buffer management with mvneta. Signed-off-by: Gregory CLEMENT --- arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git

[PATCH v4 net-next 3/9] ARM: dts: armada-xp: add buffer manager nodes

2016-03-05 Thread Gregory CLEMENT
From: Marcin Wojtas Armada XP network controller supports hardware buffer management (BM). Since it is now enabled in mvneta driver, appropriate nodes can be added to armada-xp.dtsi - for the actual common BM unit (bm@c) and its internal SRAM (bm-bppi), which is used for

[GIT PULL] Ceph fixes for -rc7

2016-03-05 Thread Sage Weil
Hi Linus, Please pull the following Ceph patch from git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git for-linus This is a final commit we missed to align the protocol compatibility with the feature bits. It decodes a few extra fields in two different messages and reports

Re: SCSI sr driver: parallel writes to optical serialized which hurts performance (sr_mutex)

2016-03-05 Thread Wakko Warner
Johan de Jong wrote: > Hi Wakko, > > If I remember correctly I did see you commenting on discussions on > either the Otto Meta patch, or another that proposed to remove the > mutex entirely. I was unaware of any others. I received the last set of patches from Tim more than a year ago. I wasn't

Re: [PATCH v2 2/2] spi: spi-pic32: Add PIC32 SPI master driver

2016-03-05 Thread Mark Brown
On Sat, Mar 05, 2016 at 08:45:22PM +0530, Purna Chandra Mandal wrote: > Sorry Mark. > I have missed adding you in CC. Please find it from: > https://lkml.org/lkml/2016/3/4/401 No, I can't review or apply patches from a web link - please resend. signature.asc Description: PGP signature

Re: [PATCH] steal_account_process_tick() should return jiffies

2016-03-05 Thread Chris Friesen
On 03/05/2016 07:19 AM, Frederic Weisbecker wrote: On Sat, Mar 05, 2016 at 11:27:01AM +0100, Thomas Gleixner wrote: Chris, On Fri, 4 Mar 2016, Chris Friesen wrote: First of all the subject line should contain a subsystem prefix, i.e. "sched/cputime:" The callers of

Re: [PATCH 08/14] scsi: mvumi: use __maybe_unused to hide pm functions

2016-03-05 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> The mvumi scsi hides the references to its suspend/resume Arnd> functions in an #ifdef but does not hide the implementation the Arnd> same way: Applied to 4.6/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

[PATCH v4 net-next 0/9] API set for HW Buffer management

2016-03-05 Thread Gregory CLEMENT
This forth version of the API set for HW Buffer management (that was initially submitted here: http://thread.gmane.org/gmane.linux.kernel/2125152), is actually the third version done right. Now it is really possible to disable the HWBM through the kernel configuration. Since the second version I

[PATCH v4 net-next 2/9] ARM: dts: armada-38x: enable buffer manager support on Armada 38x boards

2016-03-05 Thread Gregory CLEMENT
From: Marcin Wojtas Since mvneta driver supports using hardware buffer management (BM), in order to use it, board files have to be adjusted accordingly. This commit enables BM on: * A385-DB-AP - each port has its own pool for long and common pool for short packets, *

[PATCH v4 net-next 4/9] ARM: dts: armada-xp: enable buffer manager support on Armada XP boards

2016-03-05 Thread Gregory CLEMENT
From: Marcin Wojtas Since mvneta driver supports using hardware buffer management (BM), in order to use it, board files have to be adjusted accordingly. This commit enables BM on AXP-DB and AXP-GP in same manner - because number of ports on those boards is the same as number

Re: THP-enabled filesystem vs. FALLOC_FL_PUNCH_HOLE

2016-03-05 Thread Dave Chinner
On Sat, Mar 05, 2016 at 02:24:12AM +0300, Kirill A. Shutemov wrote: > On Sat, Mar 05, 2016 at 10:05:48AM +1100, Dave Chinner wrote: > > On Fri, Mar 04, 2016 at 11:38:47AM -0800, Hugh Dickins wrote: > > > On Fri, 4 Mar 2016, Dave Hansen wrote: > > > > On 03/04/2016 03:26 AM, Kirill A. Shutemov

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-05 Thread David Miller
From: Khalid Aziz Date: Wed, 2 Mar 2016 13:39:37 -0700 > In this > first implementation I am enabling ADI for hugepages only > since these pages are locked in memory and hence avoid the > issue of saving and restoring tags. This makes the feature

[PATCH 00/10] x86: Various SYSENTER/SYSEXIT/#DB fixes and cleanups

2016-03-05 Thread Andy Lutomirski
hpa asked me to get rid of the ASM_CLAC at the beginning of the SYSENTER path. Little did he know... This series makes the observed behavior of SYSENTER wrt flags the same for all sane flags and kernel bitnesses. That is, SYSENTER preserves flags now unless you do a syscall that explicitly

[PATCH v2 02/10] x86/entry/compat: In SYSENTER, sink AC clearing below the existing FLAGS test

2016-03-05 Thread Andy Lutomirski
CLAC is slow, and the SYSENTER code already has an unlikely path that runs if unusual flags are set. Drop the CLAC and instead rely on the unlikely path to clear AC. This seems to save ~24 cycles on my Skylake laptop. (Hey, Intel, make this faster please!) Signed-off-by: Andy Lutomirski

Re: [PATCH v5 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-05 Thread Nicolas Pitre
On Sat, 5 Mar 2016, Nicolas Pitre wrote: > On Sat, 5 Mar 2016, Michal Marek wrote: > > > I reproduced the SIGBUS after a few iterations, and it crashes in > > parse_dep_file(). I'm now testing this > > > > diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include > > index

Re: [PATCH 00/10] Last batch of fixes for LNet

2016-03-05 Thread Greg Kroah-Hartman
On Fri, Mar 04, 2016 at 09:09:40PM -0500, James Simmons wrote: > This batch merges the remaining LNet patches from the OpenSFS > branch for the upstream client. Once merged the LNet code > will be up to date with the latest production code. Only style > issues are remaining. Still future patches

Re: [Qemu-devel] [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-05 Thread Michael S. Tsirkin
On Fri, Mar 04, 2016 at 03:49:37PM +, Li, Liang Z wrote: > > > > > > > Only detect the unmapped/zero mapped pages is not enough. > > > > Consider > > > > > > the > > > > > > > situation like case 2, it can't achieve the same result. > > > > > > > > > > > > Your case 2 doesn't exist in the real

Re: SCSI sr driver: parallel writes to optical serialized which hurts performance (sr_mutex)

2016-03-05 Thread Johan de Jong
Dear developers, In the mean time I have applied and tested the 2013 patch by Otto Meta: http://marc.info/?l=linux-scsi=135705061804384=2 which, in short, replaces mutex_lock(_mutex) (global mutex), that was introduced in 2010 to replace lock_kernel(), by per-device mutexes and allowing

Re: [PATCH] parport: register driver later

2016-03-05 Thread Greg KH
On Fri, Mar 04, 2016 at 04:20:59PM +0530, Sudip Mukherjee wrote: > If the parport bus is not yet registered and any device using parallel > port tries to register with the bus we get a stackdump with a message > of Kernel bug. > > Reported-by: Fengguang Wu > Tested-by:

Re: [GIT PULL] phy: for 4.6 merge window

2016-03-05 Thread Greg KH
On Wed, Mar 02, 2016 at 11:38:46AM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Please find the pull request for 4.6 merge window below. It adds a > couple of new PHY drivers, usb-uart functionality in rockchip-usb > and misc cleanups/fixes. > > Let me know If I have to change something.

Re: [PATCH] Documentation: update the devices.txt documentation

2016-03-05 Thread Greg Kroah-Hartman
On Fri, Feb 19, 2016 at 09:17:36PM +0100, Linus Walleij wrote: > Alan is no longer maintaining this list through the Linux assigned > numbers authority. Make it a collective document by referring to > "the maintainers" in plural throughout, and naming the chardev and > block layer maintainers in

Re: [RFT PATCH 1/2] usb: dwc2: Add a 10 ms delay to dwc2_core_reset()

2016-03-05 Thread Michael Niewoehner
Hi Douglas, Hi John, Am 05.03.2016 um 01:33 schrieb Doug Anderson : > Michael, > > On Fri, Mar 4, 2016 at 4:09 PM, Michael Niewoehner > wrote: From testing and trying to make sense of the documentation, it appears that a 10 ms delay is

[GIT PULL] USB driver fixes for 4.5-rc7

2016-03-05 Thread Greg KH
The following changes since commit fc77dbd34c5c99bce46d40a2491937c3bcbd10af: Linux 4.5-rc6 (2016-02-28 08:41:20 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ usb-4.5-rc7 for you to fetch changes up to

Re: SCSI sr driver: parallel writes to optical serialized which hurts performance (sr_mutex)

2016-03-05 Thread Thomas Schmitt
Hi, as developer of libburn i got several user complaints about poor concurrent throughput. Since last year i suffer from it myself on kernel 3.16 of Debian 8. Before i had 2.6.18 which did very well in that aspect. An old workaround for IDE master-slave concurrency problems brings a certain

Re: [PATCH] sched/deadline: remove dl_new from sched_dl_entity

2016-03-05 Thread luca abeni
On Sat, 5 Mar 2016 09:50:59 +0100 Ingo Molnar wrote: > > * Luca Abeni wrote: > > > diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c > > index 57b939c..e0c4456 100644 > > --- a/kernel/sched/deadline.c > > +++ b/kernel/sched/deadline.c > > @@

  1   2   3   4   5   >