Re: [PATCHV3 1/3] x86, ras: Add new infrastructure for machine check fixup tables

2015-12-21 Thread Borislav Petkov
On Tue, Dec 15, 2015 at 05:29:30PM -0800, Tony Luck wrote: > Copy the existing page fault fixup mechanisms to create a new table > to be used when fixing machine checks. Note: > 1) At this time we only provide a macro to annotate assembly code > 2) We assume all fixups will in code builtin to the

Re: [PATCH v3 1/3] ACPI: amba bus probing support

2015-12-21 Thread Andy Shevchenko
On Mon, Dec 21, 2015 at 6:41 PM, Aleksey Makarov wrote: > From: Graeme Gregory > > On ARM64 some devices use the AMBA device and not the platform bus for > probing so add support for this. Uses a dummy clock for apb_pclk as ACPI > does not

Re: [PATCH 1/2] ARM: dts: ts-4800: Add LCD support

2015-12-21 Thread Damien Riegel
On Mon, Dec 21, 2015 at 09:35:19PM +0800, Shawn Guo wrote: > On Fri, Dec 18, 2015 at 12:00:32PM -0500, Damien Riegel wrote: > > This commit adds LCD support for the TS-4800. The panel is an Okaya > > RS800480T-7X0WQ and the timings have been extracted from Technologic > > Systems' tree. > > > >

Re: [PATCH v6 12/20] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2015-12-21 Thread Dr. Philipp Tomsich
> On 18 Dec 2015, at 13:47, Arnd Bergmann wrote: > >> 3. Follow the PCS up to glibc but always pass syscall arguments in W >> registers, like AArch32 compat support (the least preferred option, >> the only advantage is a single wrapper for all syscalls but it would >> be

[PATCH v2 4/4] staging: lustre: Fix a jump label position in osc_get_info()

2015-12-21 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 21 Dec 2015 19:30:42 +0100 The script "checkpatch.pl" pointed out that labels should not be indented. Thus delete a horizontal tab before the jump label "out" in the function "osc_get_info". Signed-off-by: Markus Elfring

RE: [PATCH V3 4/4] scsi: storvsc: Tighten up the interrupt path

2015-12-21 Thread KY Srinivasan
> -Original Message- > From: James Bottomley [mailto:james.bottom...@hansenpartnership.com] > Sent: Monday, December 21, 2015 8:28 AM > To: KY Srinivasan ; Hannes Reinecke ; > gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; >

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Måns Rullgård
Andy Shevchenko writes: > On Mon, 2015-12-21 at 18:16 +, Måns Rullgård wrote: >> Andy Shevchenko writes: >> >> > On Mon, Dec 21, 2015 at 2:15 PM, Måns Rullgård >> > wrote: >> > > Andy Shevchenko

[GIT PULL] nfsd fix for 4.4

2015-12-21 Thread J. Bruce Fields
Please pull an nfsd change for 4.4: git://linux-nfs.org/~bfields/linux.git tags/nfsd-4.4-1 Just one fix for a NFSv4 callback bug introduced in 4.4. Jeff Layton (1): nfsd: don't hold ls_mutex across a layout recall

[PATCH v2 1/2] irqchip: add documentation for TS-4800 interrupt controller

2015-12-21 Thread Damien Riegel
This is an interrupt-controller implemented in an FPGA, to multiplex interrupts generated from other IPs. The FPGA usually uses a GPIO as a parent interrupt controller to notify that one of the multiplexed interrupts has triggered. Signed-off-by: Damien Riegel

[PATCH v2 2/2] irqchip: add TS-4800 interrupt controller

2015-12-21 Thread Damien Riegel
This commit adds support for the TS-4800 interrupt controller. This controller is instantiated in a companion FPGA, and multiplex interrupts for other FPGA IPs. As this component is external to the SoC, the SoC might need to reserve pins, so this controller is implemented as a platform driver and

[REGRESSION] tcp/ipv4: kernel panic because of (possible) division by zero

2015-12-21 Thread Oleksandr Natalenko
Commit 3759824da87b30ce7a35b4873b62b0ba38905ef5 (tcp: PRR uses CRB mode by default and SS mode conditionally) introduced changes to net/ipv4/tcp_input.c tcp_cwnd_reduction() that, possibly, cause division by zero, and therefore, kernel panic in interrupt handler [1]. Reverting

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Måns Rullgård
Andy Shevchenko writes: > On Mon, 2015-12-21 at 15:19 -0400, Julian Margetson wrote: >> On 12/21/2015 2:27 PM, Måns Rullgård wrote: >> > The hard drive is recognized . >> > > These system gets unresponsive with USB devices like the mouse >> > > and >> > >

Re: [PATCH v2 1/2] crypto: KEYS: convert public key to the akcipher api

2015-12-21 Thread Tadeusz Struk
Hi, On 12/19/2015 03:49 PM, kbuild test robot wrote: > Hi Tadeusz, > > [auto build test ERROR on crypto/master] > [also build test ERROR on v4.4-rc5 next-20151218] > > url: > https://github.com/0day-ci/linux/commits/Tadeusz-Struk/crypto-KEYS-convert-public-key-to-akcipher-api/20151213-103429

[3.13.y-ckt stable] Linux 3.13.11-ckt32

2015-12-21 Thread Kamal Mostafa
I am announcing the release of the Linux 3.13.11-ckt32 kernel. The updated 3.13.y-ckt tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.13.y and can be browsed at: http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.13.y The diff from v3.13.11-ckt31 is posted

Re: [3.13.y-ckt stable] Linux 3.13.11-ckt32

2015-12-21 Thread Kamal Mostafa
diff --git a/Makefile b/Makefile index 7606094..4267a0d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 3 PATCHLEVEL = 13 SUBLEVEL = 11 -EXTRAVERSION = -ckt31 +EXTRAVERSION = -ckt32 NAME = King of Alienated Frog Porn # *DOCUMENTATION* @@ -597,10 +597,24 @@ ifneq

Re: [PATCH V2 06/23] XEN / PCI: Remove the dependence on arch x86 when PCI_MMCONFIG=y

2015-12-21 Thread Stefano Stabellini
On Wed, 16 Dec 2015, Tomasz Nowicki wrote: > In drivers/xen/pci.c, there are arch x86 dependent codes when > CONFIG_PCI_MMCONFIG is enabled, since CONFIG_PCI_MMCONFIG > depends on ACPI, so this will prevent XEN PCI running on other > architectures using ACPI with PCI_MMCONFIG enabled (such as

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Måns Rullgård
Andy Shevchenko writes: > On Mon, Dec 21, 2015 at 2:15 PM, Måns Rullgård wrote: >> Andy Shevchenko writes: >> >>> +Viresh >>> >>> On Mon, Dec 21, 2015 at 2:58 AM, Måns Rullgård wrote: Andy Shevchenko

[PATCH v6 1/3] tty: Move serial8250_stop_rx in front of serial8250_start_tx

2015-12-21 Thread Matwey V. Kornilov
Software RS485 emultaion is to be added in the following commit. serial8250_start_tx will need to refer serial8250_stop_rx. Move serial8250_stop_rx in front of serial8250_start_tx in order to avoid function forward declaration. Signed-off-by: Matwey V. Kornilov ---

[PATCH v2 3/4] staging: lustre: Less checks in mgc_process_recover_log() after error detection

2015-12-21 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 21 Dec 2015 18:58:51 +0100 A few checks would be performed by the mgc_process_recover_log() function even though it was determined that the passed variable "pages" contained a null pointer or a call of the alloc_page() function

Re: [PATCH] ath6kl: Use vmalloc to allocate ar->fw for api1 method

2015-12-21 Thread Souptick Joarder
Hi Brent, On Tue, Dec 1, 2015 at 11:11 AM, Brent Taylor wrote: > Since commit 8437754c83351d6213c1a47ff029c1126d6042a7, ar->fw is expected to > be pointing to memory allocated by vmalloc. If the api1 method (via > ath6kl_fetch_fw_api1) is used to allocate memory for ar->fw,

Re: IO errors after "block: remove bio_get_nr_vecs()"

2015-12-21 Thread Tejun Heo
Hello, Artem. On Mon, Dec 21, 2015 at 12:25:06PM +0500, Artem S. Tashkinov wrote: > I've applied this patch on top of vanilla 4.3.3 kernel (without Linus'es > revert). Hopefully it's how you intended it to be. > > Here's the result (I skipped the beginning of dmesg - it's the same as > always -

Re: [PATCH] dmaengine: dw: clear LLP_[SD]_EN bits in last descriptor of a chain

2015-12-21 Thread Andy Shevchenko
On Mon, 2015-12-21 at 19:10 +, Mans Rullgard wrote: > The datasheet requires that the LLP_[SD]_EN bits be cleared whenever > LLP.LOC is zero, i.e. in the last descriptor of a multi-block chain. > Make the driver do this. Acked-by: Andy Shevchenko > >

Re: [PATCH v3 2/2] add new platform driver for PCI RC

2015-12-21 Thread kbuild test robot
Hi Joao, [auto build test ERROR on arc/for-next] [also build test ERROR on v4.4-rc6 next-20151221] url: https://github.com/0day-ci/linux/commits/Joao-Pinto/adding-PCI-support-to-AXS10x/20151221-234734 base: https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc for-next config: i386

[PATCH] x86/mm: Drop WARN from multi-BAR check

2015-12-21 Thread Laura Abbott
ioremapping multiple BARs produces a warning with a message "Your kernel is fine". This message mostly serves to comfort kernel developers. Users do not read the message, they only see the big scary warning which means something must be horribly broken with their system. Less dramatically, the

Re: [PATCH 2/2] serial: 8250_ingenic: allow to be independent of SERIAL_8250_CONSOLE

2015-12-21 Thread Paul Gortmaker
On Tue, Oct 27, 2015 at 10:20 AM, Peter Hurley wrote: > On 10/23/2015 09:31 AM, Masahiro Yamada wrote: >> This UART driver should not depend on the console. They should be >> orthogonal. >> >> Surround the earlycon code with CONFIG_SERIAL_EARLYCON conditional >> and rip

Re: [PATCHV3 1/3] x86, ras: Add new infrastructure for machine check fixup tables

2015-12-21 Thread Borislav Petkov
On Mon, Dec 21, 2015 at 11:16:44AM -0800, Dan Williams wrote: > I suggested we reverse the dependency and have the driver optionally > "select MCE_KERNEL_RECOVERY". There may be other drivers outside of > LIBNVDIMM that want this functionality enabled. Ah ok, makes sense. -- Regards/Gruss,

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Andy Shevchenko
On Mon, 2015-12-21 at 15:19 -0400, Julian Margetson wrote: > On 12/21/2015 2:27 PM, Måns Rullgård wrote: > > The hard drive is recognized . > > > These system gets unresponsive with USB devices like the mouse > > > and > > > keyboard not responding  when I start Gparted. > > Did you disable the

[PATCH v2 3/4] um: Add full asm/syscall.h support

2015-12-21 Thread Mickaël Salaün
Add subarchitecture-independent implementation of asm-generic/syscall.h allowing access to user system call parameters and results: * syscall_get_nr() * syscall_rollback() * syscall_get_error() * syscall_get_return_value() * syscall_set_return_value() * syscall_get_arguments() *

Re: [PATCH v5 08/17] x86/entry: Add enter_from_user_mode and use it in syscalls

2015-12-21 Thread Sasha Levin
98] CPU: 4 PID: 28801 Comm: trinity-c375 Tainted: GB 4.4.0-rc5-next-20151221-sasha-00020-g840272e-dirty #2753 [ 2162.711847] f17e6fcd 880292d5fe08 a4045334 [ 2162.713108] 41b58ab3 af66686b a4045289 880292d5fdc0 [

Re: [PATCH v2 3/3] serial: amba-pl011: add ACPI support to AMBA probe

2015-12-21 Thread G Gregory
On 21 December 2015 at 18:11, Andy Shevchenko wrote: > On Mon, Dec 21, 2015 at 4:49 PM, Aleksey Makarov > wrote: >> From: Graeme Gregory >> >> In ACPI this device is only defined in SBSA mode so >> if we are

Re: [PATCH 3/3] Drivers: hv: vmbus: Cleanup vmbus_set_event()

2015-12-21 Thread Greg KH
On Tue, Dec 15, 2015 at 04:27:28PM -0800, K. Y. Srinivasan wrote: > > Signed-off-by: K. Y. Srinivasan No changelog text? Sorry, I can't take this :( You know better... -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH 1/1] Drivers: hv: vmbus: Cleanup vmbus_set_event()

2015-12-21 Thread K. Y. Srinivasan
Cleanup vmbus_set_event() by inlining the hypercall to post the event and since the return value of vmbus_set_event() is not checked, make it void. As part of this cleanup, get rid of the function hv_signal_event() as it is only callled from vmbus_set_event(). Signed-off-by: K. Y. Srinivasan

Re: [PATCH] BugFix in XHCI controller driver for scatter gather DMA

2015-12-21 Thread Sergei Shtylyov
Hello. On 12/21/2015 03:46 PM, Vikas Bansal wrote: From: Sumit Batra Pre-Condition URB with Scatter Gather list is queued to bulk OUT endpoint. Every buffer in scatter gather list is not a multiple of maximum packet size for that endpoint(short packet). CHAIN bit is

Re: [PATCH v6] Fix INT1 Recursion with unregistered breakpoints

2015-12-21 Thread Jeff Merkey
Let me know if I need to do anything else with this patch. I am using git/mutt to send patches from now on and I have my smtp gateway with gmail properly setup and tested so there won't be any more fritzed patches.It looks like this is relatively easy to do if you ge the tools setup

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Måns Rullgård
Julian Margetson writes: > On 12/21/2015 2:27 PM, Måns Rullgård wrote: >> Julian Margetson writes: >> >>> On 12/21/2015 1:55 PM, Andy Shevchenko wrote: On Mon, Dec 21, 2015 at 7:26 PM, Julian Margetson wrote: > On 12/21/2015 12:48

Re: [PATCH] ata: sata_dwc_460ex: remove incorrect locking

2015-12-21 Thread Andy Shevchenko
On Mon, 2015-12-21 at 18:17 +, Mans Rullgard wrote: > This lock is already taken in ata_scsi_queuecmd() a few levels up the > call stack so attempting to take it here is an error.  Moreover, it > is > pointless in the first place since it only protects a single, atomic > assignment. > >

Re: IO errors after "block: remove bio_get_nr_vecs()"

2015-12-21 Thread Tejun Heo
Hello, again. On Mon, Dec 21, 2015 at 03:07:21PM -0500, Tejun Heo wrote: > Hello, Artem. > > Can you please apply the following patch on top and see whether > anything changes? If it does make the issue go away, can you please > revert the ".can_queue" part and test again? If the patch doesn't

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Måns Rullgård
Julian Margetson writes: > On 12/21/2015 1:55 PM, Andy Shevchenko wrote: >> On Mon, Dec 21, 2015 at 7:26 PM, Julian Margetson wrote: >>> On 12/21/2015 12:48 PM, Andy Shevchenko wrote: On Sun, 2015-12-20 at 22:55 +0200, Andy Shevchenko wrote: > On

Re: [PATCH v3] serial: 8250: add gpio support to exar

2015-12-21 Thread Andy Shevchenko
On Mon, Dec 21, 2015 at 5:19 PM, Sudip Mukherjee wrote: > diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig > index 6412f14..ec3d287 100644 > --- a/drivers/tty/serial/8250/Kconfig > +++ b/drivers/tty/serial/8250/Kconfig > @@ -378,3 +378,11

[PATCH v2 2/4] staging: lustre: Delete an unnecessary variable initialisation in mgc_process_recover_log()

2015-12-21 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 21 Dec 2015 18:24:45 +0100 The variable "mne_swab" will eventually be set to an appropriate value from a call of the ptlrpc_rep_need_swab() function. Thus let us omit the explicit initialisation at the beginning. Signed-off-by:

[PATCH] dmaengine: dw: clear LLP_[SD]_EN bits in last descriptor of a chain

2015-12-21 Thread Mans Rullgard
The datasheet requires that the LLP_[SD]_EN bits be cleared whenever LLP.LOC is zero, i.e. in the last descriptor of a multi-block chain. Make the driver do this. Signed-off-by: Mans Rullgard --- drivers/dma/dw/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v2 1/4] um: Fix ptrace GETREGS/SETREGS bugs

2015-12-21 Thread Mickaël Salaün
This fix two related bugs: * PTRACE_GETREGS doesn't get the right orig_ax (syscall) value * PTRACE_SETREGS can't set the orig_ax value (erased by initial value) Remove the now useless and error-prone get_syscall(). Fix inconsistent behavior in the ptrace implementation for i386 when updating

Re: [PATCH 3/5] pinctrl: sh-pfc: add missing of_node_put

2015-12-21 Thread Laurent Pinchart
Hi Julia, Thank you for the patch. On Monday 21 December 2015 17:39:46 Julia Lawall wrote: > for_each_child_of_node performs an of_node_get on each iteration, so a > goto out of the loop requires an of_node_put. > > A simplified version of the semantic patch that fixes this problem is as >

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Andy Shevchenko
On Mon, 2015-12-21 at 19:27 +, Måns Rullgård wrote: > Andy Shevchenko writes: > > > On Mon, 2015-12-21 at 01:19 +, Måns Rullgård wrote: > > > Andy Shevchenko writes: > > >   > > > > P.S. I also noticed that original driver

Re: [PATCH] crypto: AF_ALG - add support for keys/asymmetric-type

2015-12-21 Thread Stephan Mueller
Am Montag, 21. Dezember 2015, 12:51:07 schrieb Tadeusz Struk: Hi Tadeusz, > From: Tadeusz Struk > > Created on top of patchset from Stephan Mueller > https://patchwork.kernel.org/patch/7877921/ > https://patchwork.kernel.org/patch/7877971/ >

[PATCH 0/2] blackfin-cpufreq: Fine-tuning for properties of one function

2015-12-21 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 21 Dec 2015 22:24:18 +0100 Another update suggestion was taken into account after a patch was applied from static source code analysis. Markus Elfring (2): Change return type of cpu_set_cclk() to that of clk_set_rate() Mark

Re: [linux-sunxi] Re: [PATCH v6] sun4i-codec: Add FM, Line and Mic inputs

2015-12-21 Thread Danny Milosavljevic
Hi Maxime, On Fri, 18 Dec 2015 11:19:43 +0100 Maxime Ripard wrote: > It would also be a good idea to open a github issue on allwinner's > documentation repo to make them know that the register name doesn't > match between the register list and the register

[PATCH v2] drivers:char:Removed unnecessary braces

2015-12-21 Thread Bhumika Goyal
Removed braces from single statement if condition.Fixed checkpatch.pl warning. Signed-off-by: Bhumika Goyal --- Changes in v2: -Correct the subject and also send to a public mailing list. --- drivers/char/raw.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)

[PATCH v2 0/4] staging-Lustre: Fine-tuning for some function implementations

2015-12-21 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 21 Dec 2015 20:00:02 +0100 Several update suggestions were taken into account from static source code analysis. Markus Elfring (4): Delete unnecessary goto statements in six functions Delete an unnecessary variable

Re: [PATCH v2 4/5] firmware: actually return NULL on failed request_firmware_nowait()

2015-12-21 Thread Luis R. Rodriguez
On Wed, Dec 09, 2015 at 02:50:28PM -0800, Brian Norris wrote: > The kerneldoc for request_firmware_nowait() says that it may call the > provided cont() callback with @fw == NULL, if the firmware request > fails. However, this is not the case when called with an empty string > (""). This case is

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Andy Shevchenko
On Mon, 2015-12-21 at 18:16 +, Måns Rullgård wrote: > Andy Shevchenko writes: > > > On Mon, Dec 21, 2015 at 2:15 PM, Måns Rullgård > > wrote: > > > Andy Shevchenko writes: > > >  > > I used to have a patch to implement

[PATCH v2 2/4] selftests/seccomp: Remove the need for HAVE_ARCH_TRACEHOOK

2015-12-21 Thread Mickaël Salaün
Some architectures do not implement PTRACE_GETREGSET nor PTRACE_SETREGSET (required by HAVE_ARCH_TRACEHOOK) but only implement PTRACE_GETREGS and PTRACE_SETREGS (e.g. User-mode Linux). This improve seccomp selftest portability for architectures without HAVE_ARCH_TRACEHOOK support by defining a

Re: [PATCH v5] extcon: add Maxim MAX3355 driver

2015-12-21 Thread Sergei Shtylyov
Hello. On 12/21/2015 02:01 PM, Sergei Shtylyov wrote: This patch depend on GPIOLIB configuration as following: I modified it with following diff and applied it. diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig index ba4db7d..3d89e60 100644 --- a/drivers/extcon/Kconfig +++

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Julian Margetson
On 12/21/2015 3:27 PM, Måns Rullgård wrote: Julian Margetson writes: On 12/21/2015 2:27 PM, Måns Rullgård wrote: Julian Margetson writes: On 12/21/2015 1:55 PM, Andy Shevchenko wrote: On Mon, Dec 21, 2015 at 7:26 PM, Julian Margetson

Re: [PATCH v1 1/4] um: Fix ptrace GETREGS/SETREGS bugs

2015-12-21 Thread Mickaël Salaün
On 21/12/2015 11:13, Richard Weinberger wrote: > Am 21.12.2015 um 10:23 schrieb Mickaël Salaün: > Doesn't this break the support for changing syscall numbers using > PTRACE_SETREGS? The logic is unchanged except updating the UPT_SYSCALL_NR before syscall_trace_enter(). I

Re: [PATCH v3 5/8] phy: rockchip-usb: expose the phy-internal PLLs

2015-12-21 Thread Michael Turquette
Kishon & Heiko, On Tue, Dec 15, 2015 at 2:53 AM, Kishon Vijay Abraham I wrote: > Hi Mike, > > On Friday 20 November 2015 02:52 AM, Heiko Stuebner wrote: >> The USB phys on Rockchip SoCs contain their own internal PLLs to create >> the 480MHz needed. Additionally this PLL output is

Re: [PATCH] staging: wilc1000: fix double mutex_unlock on failure path in wilc_wlan_cleanup()

2015-12-21 Thread Greg Kroah-Hartman
On Mon, Dec 21, 2015 at 12:46:51AM +0300, Alexey Khoroshilov wrote: > If hif_read_reg() or hif_write_reg() fail in wilc_wlan_cleanup(), > it calls release_bus() and continues execution. But it leads to double > release_bus() call that means double unlock of g_linux_wlan->hif_cs mutex. > > Found

Re: [PATCH v2 1/1] platform: goldfish: pipe: add devicetree bindings

2015-12-21 Thread Greg Kroah-Hartman
On Wed, Nov 25, 2015 at 11:59:37AM -0800, Jin Qian wrote: > From: Greg Hackmann > > Signed-off-by: Greg Hackmann > (cherry picked from commit 3c56d07eb796066530e93a40e74dea3bc59bf4cf) What is this commit id here for? confused, greg k-h -- To

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Måns Rullgård
Andy Shevchenko writes: > On Mon, 2015-12-21 at 15:24 +, Måns Rullgård wrote: >> Julian Margetson writes: >> >> >> Oh, that one again.  My patch still applies.  Here it is as applied >> to >> that revision of the file. >> >> From what

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Julian Margetson
On 12/21/2015 1:55 PM, Andy Shevchenko wrote: On Mon, Dec 21, 2015 at 7:26 PM, Julian Margetson wrote: On 12/21/2015 12:48 PM, Andy Shevchenko wrote: On Sun, 2015-12-20 at 22:55 +0200, Andy Shevchenko wrote: On Sun, Dec 20, 2015 at 10:17 PM, Andy Shevchenko

Re: [Intel-gfx] [PATCH] drm, i915: Fix pointer size cast

2015-12-21 Thread Daniel Vetter
On Mon, Dec 21, 2015 at 07:53:59PM +0100, Borislav Petkov wrote: > From: Borislav Petkov > > gcc complains on 32-bit like this: > > drivers/gpu/drm/i915/intel_display.c: In function ‘intel_plane_obj_offset’: > drivers/gpu/drm/i915/intel_display.c:2954:11: warning: cast to

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Julian Margetson
On 12/21/2015 2:27 PM, Måns Rullgård wrote: Julian Margetson writes: On 12/21/2015 1:55 PM, Andy Shevchenko wrote: On Mon, Dec 21, 2015 at 7:26 PM, Julian Margetson wrote: On 12/21/2015 12:48 PM, Andy Shevchenko wrote: On Sun, 2015-12-20 at 22:55 +0200,

[PATCH v2 0/4] um: Add seccomp support

2015-12-21 Thread Mickaël Salaün
This series add seccomp support to User-mode Linux (i386 and x86_64 subarchitectures) and fix ptrace issues. This apply on v4.4-rc4 and pass all the 48 tests from selftest/seccomp plus the UML ptsc test. Changes since v1; addressed Richard Weinberger's comments: * fix a new PTRACE_SETREGS bug on

Re: IO errors after "block: remove bio_get_nr_vecs()"

2015-12-21 Thread Tejun Heo
Hello, Artem. Can you please apply the following patch on top and see whether anything changes? If it does make the issue go away, can you please revert the ".can_queue" part and test again? Thanks. --- drivers/ata/ahci.h|2 +- drivers/ata/libahci.c |2 +- 2 files changed, 2

Re: [PATCH] x86/efi-bgrt: Replace early_memremap() with memremap()

2015-12-21 Thread Josh Triplett
On Mon, Dec 21, 2015 at 02:12:52PM +, Matt Fleming wrote: > Môshe reported the following warning triggered on his machine since > commit 50a0cb565246 ("x86/efi-bgrt: Fix kernel panic when mapping BGRT > data"), > > [0.026936] [ cut here ] > [0.026941]

Re: mm, vmstat: kernel BUG at mm/vmstat.c:1408!

2015-12-21 Thread Sasha Levin
On 12/21/2015 03:28 PM, Sasha Levin wrote: > On 12/21/2015 08:08 AM, Christoph Lameter wrote: >> > On Fri, 18 Dec 2015, Sasha Levin wrote: >> > >> > [ 531.164630] RIP vmstat_update (mm/vmstat.c:1408) >> > Hmmm.. Yes we need to fold the diffs first before disabling the timer >> > otherwise

Re: [PATCH v1 2/2] dt-bindings: sound: add devicetree document for rt5616

2015-12-21 Thread Frank Rowand
On 12/21/2015 6:56 AM, Caesar Wang wrote: > Add the description for rt5616 codec. > > Signed-off-by: Caesar Wang > > --- > > Changes in v1: > - As Heiko comments, remove the not exist option properties. > > Documentation/devicetree/bindings/sound/rt5616.txt | 36 >

[PATCH 1/2] blackfin-cpufreq: Change return type of cpu_set_cclk() to that of clk_set_rate()

2015-12-21 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 21 Dec 2015 21:56:27 +0100 The return type "unsigned long" was used by the cpu_set_cclk() function while the type "int" is provided by the clk_set_rate() function. Let us make this usage consistent. This issue was detected by using

[PATCH 2/2] blackfin-cpufreq: Mark cpu_set_cclk() as static

2015-12-21 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 21 Dec 2015 22:12:26 +0100 The cpu_set_cclk() function was only used in a single source file so far. Indicate this setting also by the corresponding linkage specifier. Signed-off-by: Markus Elfring

Re: use-after-free in skcipher_sock_destruct

2015-12-21 Thread Stephan Mueller
Am Donnerstag, 17. Dezember 2015, 13:56:12 schrieb Dmitry Vyukov: Hi Dmitry, > Hello, > > The following program triggers use-after-free in skcipher_sock_destruct: This issue is not evident after applying Herbert's patch converting the algif_skcipher from using ablkcipher to skcipher API. >

Re: [PATCH v6 12/20] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2015-12-21 Thread Catalin Marinas
On Fri, Dec 18, 2015 at 01:47:55PM +0100, Arnd Bergmann wrote: > On Friday 18 December 2015 11:42:19 Catalin Marinas wrote: > > On Thu, Dec 17, 2015 at 12:14:20PM -0800, Andrew Pinski wrote: > > > Well (just like LP64 on AARCH64), when passing a 32bit value to a > > > function, the upper 32bits

[PATCH v2 1/4] staging: lustre: Delete unnecessary goto statements in six functions

2015-12-21 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 21 Dec 2015 18:15:45 +0100 Six goto statements referred to a source code position directly behind them. Thus omit such unnecessary jumps. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Julian Margetson
On 12/21/2015 2:27 PM, Måns Rullgård wrote: Julian Margetson writes: On 12/21/2015 1:55 PM, Andy Shevchenko wrote: On Mon, Dec 21, 2015 at 7:26 PM, Julian Margetson wrote: On 12/21/2015 12:48 PM, Andy Shevchenko wrote: On Sun, 2015-12-20 at 22:55 +0200,

Re: [PATCHV3 1/3] x86, ras: Add new infrastructure for machine check fixup tables

2015-12-21 Thread Dan Williams
On Mon, Dec 21, 2015 at 10:18 AM, Borislav Petkov wrote: > On Tue, Dec 15, 2015 at 05:29:30PM -0800, Tony Luck wrote: >> Copy the existing page fault fixup mechanisms to create a new table >> to be used when fixing machine checks. Note: >> 1) At this time we only provide a macro

Re: [PATCH] tty: vt: use memdup_user to reuse the code

2015-12-21 Thread Dmitry Torokhov
On Sun, Dec 20, 2015 at 12:15:33AM +0530, Rahul Pathak wrote: > Fixing coccicheck warning which recommends to use memdup_user instead > to reimplement its code, using memdup_user simplifies the code > > ./drivers/tty/vt/keyboard.c:1709:9-16: WARNING opportunity for memdup_user >

[PATCH] crypto: AF_ALG - add support for keys/asymmetric-type

2015-12-21 Thread Tadeusz Struk
From: Tadeusz Struk Created on top of patchset from Stephan Mueller https://patchwork.kernel.org/patch/7877921/ https://patchwork.kernel.org/patch/7877971/ https://patchwork.kernel.org/patch/7877961/ This patch adds support for asymmetric key type

Re: [PATCH v3 1/3] ACPI: amba bus probing support

2015-12-21 Thread G Gregory
On 21 December 2015 at 18:19, Andy Shevchenko wrote: > On Mon, Dec 21, 2015 at 6:41 PM, Aleksey Makarov > wrote: >> From: Graeme Gregory >> >> On ARM64 some devices use the AMBA device and not the platform bus for

Re: [PATCH 4/5] pinctrl: rockchip: add missing of_node_put

2015-12-21 Thread Heiko Stübner
Hi Julia, Am Montag, 21. Dezember 2015, 17:39:47 schrieb Julia Lawall: > for_each_child_of_node performs an of_node_get on each iteration, so a > return from the loop requires an of_node_put. > > A simplified version of the semantic patch that fixes this problem is as > follows

[PATCH] ata: sata_dwc_460ex: remove incorrect locking

2015-12-21 Thread Mans Rullgard
This lock is already taken in ata_scsi_queuecmd() a few levels up the call stack so attempting to take it here is an error. Moreover, it is pointless in the first place since it only protects a single, atomic assignment. Enabling lock debugging gives the following output:

[PATCH v6 3/3] tty: 8250_omap: Use software emulated RS485 direction control

2015-12-21 Thread Matwey V. Kornilov
Use software emulated RS485 direction control to provide RS485 API existed in omap_serial driver. Note that 8250_omap issues interrupt on shift register empty which is single prerequesite for using software emulated RS485. Signed-off-by: Matwey V. Kornilov ---

[PATCH 1/1] Drivers: hv: vmbus: fix the building warning with hyperv-keyboard

2015-12-21 Thread K. Y. Srinivasan
From: Dexuan Cui With the recent change af3ff643ea91ba64dd8d0b1cbed54d44512f96cd (Drivers: hv: vmbus: Use uuid_le type consistently), we always get this warning: CC [M] drivers/input/serio/hyperv-keyboard.o drivers/input/serio/hyperv-keyboard.c:427:2: warning: missing

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Andy Shevchenko
On Mon, 2015-12-21 at 01:19 +, Måns Rullgård wrote: > Andy Shevchenko writes: >  > > P.S. I also noticed that original driver enables interrupt per each > > block > > And then ignores all but the transfer complete interrupt. > > > and sets protection control bits.

Re: [PATCH] ipv6/addrlabel: fix ip6addrlbl_get()

2015-12-21 Thread Cong Wang
On Mon, Dec 21, 2015 at 1:54 AM, Andrey Ryabinin wrote: > ip6addrlbl_get() has never worked. If ip6addrlbl_hold() succeeded, > ip6addrlbl_get() will exit with '-ESRCH'. If ip6addrlbl_hold() failed, > ip6addrlbl_get() will use about to be free ip6addrlbl_entry pointer. > >

Re: mm, vmstat: kernel BUG at mm/vmstat.c:1408!

2015-12-21 Thread Sasha Levin
; > Does this patch fix it? It didn't. With the patch I'm still seeing: [ 1997.674112] kernel BUG at mm/vmstat.c:1408! [ 1997.674930] invalid opcode: [#1] PREEMPT SMP KASAN [ 1997.676252] Modules linked in: [ 1997.676880] CPU: 4 PID: 14713 Comm: kworker/4:0 Not tainted 4.4.0-rc5-next-20151221

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Julian Margetson
On 12/21/2015 4:25 PM, Andy Shevchenko wrote: On Mon, 2015-12-21 at 15:19 -0400, Julian Margetson wrote: On 12/21/2015 2:27 PM, Måns Rullgård wrote: The hard drive is recognized . These system gets unresponsive with USB devices like the mouse and keyboard not responding when I start Gparted.

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Måns Rullgård
Andy Shevchenko writes: >> > 4. CHECK: PROTCTL bit (documentation says that recommended value is >> > 0x01) >> >> Any idea what the value of 0x3 used by the old sata driver means? >> Presumably that's decided by the bus. > > Nope, documentation says that it is

Re: [PATCH 1/1] Drivers: hv: vmbus: Add vendor and device atttributes

2015-12-21 Thread Greg KH
On Thu, Dec 17, 2015 at 03:51:29PM -0800, K. Y. Srinivasan wrote: > Add vendor and device attributes to VMBUS devices. These will be used > by Hyper-V tools as well user-level RDMA libraries that will use the > vendor/device tuple to discover the RDMA device. > > Signed-off-by: K. Y. Srinivasan

Re: mm, vmstat: kernel BUG at mm/vmstat.c:1408!

2015-12-21 Thread Christoph Lameter
On Mon, 21 Dec 2015, Sasha Levin wrote: > I've also noticed a new warning from the workqueue code which my scripts > didn't pick up before: > > [ 3462.380681] BUG: workqueue lockup - pool cpus=2 node=2 flags=0x4 nice=0 > stuck for 54s! > [ 3462.522041] workqueue vmstat: flags=0xc > [

Re: [RESEND PATCH 2/2] cpuacct: split usage into user_usage and sys_usage.

2015-12-21 Thread Tejun Heo
On Mon, Dec 21, 2015 at 07:14:43PM +0800, Dongsheng Yang wrote: > Sometimes, cpuacct.usage is not detialed enough to user > to see how much usage a group used. We want to know how > much time it used in user mode and how much in kernel mode. cpuusage is being phased out. If you need these stats,

[PATCH v6 2/3] tty: Add software emulated RS485 support for 8250

2015-12-21 Thread Matwey V. Kornilov
Implementation of software emulation of RS485 direction handling is based on omap_serial driver. Before and after transmission RTS is set to the appropriate value. Note that before calling serial8250_em485_init the caller has to ensure that UART will interrupt when shift register empty.

[PATCH] OMAPDSS: fix omapfb build error due missing feat functions declaration

2015-12-21 Thread Javier Martinez Canillas
The omapfb is failing to build in -next due missing declarations for dss_feat_get_supported_displays() and dss_feat_get_supported_outputs(): CC [M] drivers/video/fbdev/omap2//omapfb/dss/dss.o drivers/video/fbdev/omap2//omapfb/dss/dss.c: In function 'dss_save_context':

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Måns Rullgård
Andy Shevchenko writes: > On Mon, Dec 21, 2015 at 7:26 PM, Julian Margetson wrote: >> On 12/21/2015 12:48 PM, Andy Shevchenko wrote: >>> >>> On Sun, 2015-12-20 at 22:55 +0200, Andy Shevchenko wrote: On Sun, Dec 20, 2015 at 10:17 PM, Andy

[PATCH v6 0/3] tty: Introduce software RS485 direction control support

2015-12-21 Thread Matwey V. Kornilov
Changes from v5: - rs485_emul variable has been renamed to em485 to follow function names convention Changes from v4: - Add commit message to 1/3 Changes from v3: - Completely redesigned. Changes from v2: - Introduced SER_RS485_SOFTWARE to show that software implementation is being used -

[PATCH] drm, i915: Fix pointer size cast

2015-12-21 Thread Borislav Petkov
From: Borislav Petkov gcc complains on 32-bit like this: drivers/gpu/drm/i915/intel_display.c: In function ‘intel_plane_obj_offset’: drivers/gpu/drm/i915/intel_display.c:2954:11: warning: cast to pointer from \ integer of different size [-Wint-to-pointer-cast]

Re: Is PROT_SOCK still relevant?

2015-12-21 Thread Jason Newton
I can only assume from lack of criticism that either: 1) This is a completely great idea with no cons and thus worthy of time to implement or 2) The topic has been ignored Is it reasonable to allocate a 8KiB buffer for a bit vector covering 2*16 ports? Should I instead just focus on a

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Måns Rullgård
Andy Shevchenko writes: > On Mon, 2015-12-21 at 01:19 +, Måns Rullgård wrote: >> Andy Shevchenko writes: >>  >> > P.S. I also noticed that original driver enables interrupt per each >> > block >> >> And then ignores all but the

Re: [PATCH v5 4/7] dax: add support for fsync/sync

2015-12-21 Thread Dan Williams
On Mon, Dec 21, 2015 at 9:05 AM, Ross Zwisler wrote: > On Sat, Dec 19, 2015 at 10:37:46AM -0800, Dan Williams wrote: >> On Fri, Dec 18, 2015 at 9:22 PM, Ross Zwisler >> wrote: >> > To properly handle fsync/msync in an efficient way DAX

Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-21 Thread Dmitry Torokhov
On Sun, Dec 20, 2015 at 01:49:25PM +0100, Pavel Rojtberg wrote: > 2015-12-20 8:55 GMT+01:00 Dmitry Torokhov : > > On Sat, Dec 19, 2015 at 10:17:09PM +0100, Clement Calmels wrote: > >> On Wed, 16 Dec 2015 14:44:08 -0800 > >> Dmitry Torokhov

Re: [PATCH 1/1] staging: android: ion: fixes spars warning cast to restricted gfp_t

2015-12-21 Thread Laura Abbott
On 12/21/2015 03:24 AM, Bijosh Thykkoottathil wrote: From: Bijosh Thykkoottathil This patch fixes following sparse warnings: drivers/staging/android/ion/ion.c:1475:21: warning: incorrect type in assignment (different base types)

Re: [PATCH 1/2] mm, oom: introduce oom reaper

2015-12-21 Thread Paul Gortmaker
On Tue, Dec 15, 2015 at 1:36 PM, Michal Hocko wrote: > From: Michal Hocko > > This is based on the idea from Mel Gorman discussed during LSFMM 2015 and > independently brought up by Oleg Nesterov. > [...] Since this is built-in always, can we > diff

  1   2   3   4   5   6   7   8   9   10   >