[RESEND PATCH] usb: host: pci_quirks: fix memory leak, by adding iounmap

2015-12-12 Thread Saurabh Sengar
added iounmap inorder to free memory mapped to base before returning Signed-off-by: Saurabh Sengar --- drivers/usb/host/pci-quirks.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c index 26cb8c8..35af362 100644

[PATCH] [linux-next] net: Fix typo in skb_fclone_busy

2015-12-12 Thread Masanari Iida
This patch fix a typo found within comment of skb_fclone_busy. Signed-off-by: Masanari Iida --- include/linux/skbuff.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 9b9b9ea..af4f6ac 100644 --- a/include/linux/skbuff.h

Re: [PATCH 6/9] drivers: tty: 68328serial.c: Use tabs for indentation

2015-12-12 Thread Greg KH
On Sat, Dec 12, 2015 at 11:08:00PM -0800, Greg KH wrote: > On Fri, Dec 11, 2015 at 11:36:06AM +0100, Frederik Völkel wrote: > > The patch replaces the spaces used for indentation at some points with > > tabs. > > > > Signed-off-by: Frederik Völkel > > Signed-off-by: Lukas Braun > > --- > >

Re: [PATCH 6/9] drivers: tty: 68328serial.c: Use tabs for indentation

2015-12-12 Thread Greg KH
On Fri, Dec 11, 2015 at 11:36:06AM +0100, Frederik Völkel wrote: > The patch replaces the spaces used for indentation at some points with > tabs. > > Signed-off-by: Frederik Völkel > Signed-off-by: Lukas Braun > --- > drivers/tty/serial/68328serial.c | 82 >

Re: [PATCH 0/9] Fix checkpatch errors

2015-12-12 Thread Greg KH
On Fri, Dec 11, 2015 at 11:36:00AM +0100, Frederik Völkel wrote: > This patch series fixes all checkpatch error in 68328serial.c except > 5 trailing whitespace errors we are unsure how to fix. What are the errors you are not sure how to fix? thanks, greg k-h -- To unsubscribe from this list:

Re: [PATCH v1 04/10] serial: mps2-uart: add MPS2 UART driver

2015-12-12 Thread Greg Kroah-Hartman
On Sun, Dec 13, 2015 at 01:39:26AM +0200, Andy Shevchenko wrote: > On Wed, Dec 2, 2015 at 11:33 AM, Vladimir Murzin > wrote: > > This driver adds support to the UART controller found on ARM MPS2 > > platform. > > Just few comments (have neither time not big desire to do full review). > > > > >

Re: [PATCH v2] drivers/tty/serial: make tegra_serial_handle_break() static

2015-12-12 Thread Greg Kroah-Hartman
On Wed, Nov 25, 2015 at 11:50:03PM +0600, Alexander Kuleshov wrote: > There are no callers of the tegra_serial_handle_break() function > outside of drivers/tty/serial/of_serial.c. So let's make it static. > > Signed-off-by: Alexander Kuleshov > --- > Forgot Signed-off-by line > >

Re: [PATCH] tty/n_gsm.c: use gsm->num to remove mux itself from gsm_mux[]

2015-12-12 Thread Greg Kroah-Hartman
On Fri, Nov 27, 2015 at 11:41:03AM +0800, xinhui wrote: > There is one filed gsm->num to store mux's index of gsm_mux[]. So use > gsm->num to remove itself from gsm_mux[] instead of the for-loop > traverse in gsm_cleanup_mux(). > > Signed-off-by: Pan Xinhui Your "From:" line in the email needs

Re: [PATCH 00/25] serial: sh-sci: Add external clock and BRG Support

2015-12-12 Thread Greg Kroah-Hartman
On Fri, Nov 20, 2015 at 10:09:24AM +0100, Geert Uytterhoeven wrote: > On Thu, Nov 19, 2015 at 7:38 PM, Geert Uytterhoeven > wrote: > > This patch series adds support to the Renesas SCI serial driver for > > - the optional external clock on (H)SCI(F) and some SCIFA, where this > > pin can

[PATCH] [trivial] treewide: Fix typo in printk

2015-12-12 Thread Masanari Iida
This patch fix spelling typos found in printk and Kconfig. Signed-off-by: Masanari Iida --- drivers/atm/firestream.c| 2 +- drivers/crypto/nx/nx-842.c | 2 +- drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c | 2 +-

[PATCH] staging: netlogic: Coding Style Alignment should match open parenthesis

2015-12-12 Thread Benjamin Young
Fixed alignment issues with parenthesis so the code is easier to read. Signed-off-by: Benjamin Young --- drivers/staging/netlogic/platform_net.c | 12 +-- drivers/staging/netlogic/xlr_net.c | 159 +--- 2 files changed, 91 insertions(+), 80 deletions(-) diff

Re: [PATCH v2] Input: xpad - remove spurious events of wireless xpad 360 controller

2015-12-12 Thread Dmitry Torokhov
On Sun, Nov 22, 2015 at 05:35:39PM +0100, clement.calm...@free.fr wrote: > From: Clement Calmels > > When powering up a wireless xbox 360 controller, some wrong joystick > events are generated. It is annoying because, for example, it makes > unwanted moves in Steam big picture mode's menu. > >

Re: [Resend 0/2] Add support for APQ8084 and MSM8916 Regulators

2015-12-12 Thread Andy Gross
On Sat, Dec 12, 2015 at 11:00:25PM +, Mark Brown wrote: > On Fri, Dec 11, 2015 at 12:01:32AM -0600, Andy Gross wrote: > > This patch set is a resend of the regulator portion of the patches > > found at: > > > > https://lkml.org/lkml/2015/9/24/561 > > These don't apply against current code

Re: [PATCH 2/2] Input: add touchscreen support for TS-4800

2015-12-12 Thread Dmitry Torokhov
Hi Damien, On Thu, Dec 10, 2015 at 11:11:12AM -0500, Damien Riegel wrote: > On this board, the touchscreen, an ads7843, is not handled directly by > Linux but by a companion FPGA. This FPGA is memory-mapped and the IP > design is very similar to the mk712. ... > + > + poll_dev =

Re: touchscreen: edt-ft5x06: Prevent DMA driver from mapping an area on stack

2015-12-12 Thread Dmitry Torokhov
On Sat, Dec 12, 2015 at 06:13:55PM +0100, Wolfram Sang wrote: > > > Frankly speaking I do not know where the fix should actually be. I2C IMX > > driver somehow taking care of this or the users of I2C, touchscreen drivers > > in this case. In my opinion, the fix should be with the touchscreen

[PATCH] ntp:Fix second_overflow's input parameter type

2015-12-12 Thread DengChao
The function "second_overflow" uses "unsign long" as its input parameter type which will overflow after year 2106 on 32bit systems. Replace it with time64_t type. Because 64-bit division is expensive, since "next_ntp_leap_sec" has been calculated already, we can just re-use it in the TIME_INS/DEL

[PATCH 1/2] timekeeping: Provide internal function __ktime_get_real_seconds

2015-12-12 Thread DengChao
In order to fix Y2038 issues in the ntp code we will need replace get_seconds() with ktime_get_real_seconds() but as the ntp code uses the timekeeping lock which is also used by ktime_get_real_seconds(), we need a version without locking. Add a new function __ktime_get_real_seconds() in

[PATCH 2/2] ntp:Change the type of time_reftime to time64_t and replace get_seconds with __ktime_get_real_seconds

2015-12-12 Thread DengChao
The type of static variant "time_reftime" and the call of get_seconds in ntp are both not y2038 safe. So change the type of time_reftime to time64_t and replace get_seconds with __ktime_get_real_seconds. The local variant "secs" in ntp_update_offset represents seconds between now and last ntp

[PATCH 0/2] ntp:Change the type of time_reftime and replace get_seconds()

2015-12-12 Thread DengChao
The type of ntp static variant "time_reftime" and the type of get_seconds()'s return value are both unsign long now, which may cause y2038 problem on 32bit systems. So change time_reftime' type to time64_t, and replace get_seconds with ktime_get_real_seconds() in ntp. ktime_get_real_seconds()

[GIT PULL] char/misc driver fixes for 4.4-rc5

2015-12-12 Thread Greg KH
The following changes since commit 1ec218373b8ebda821aec00bb156a9c94fad9cd4: Linux 4.4-rc2 (2015-11-22 16:45:59 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-4.4-rc5 for you to fetch changes up to

[GIT PULL] Staging driver fixes for 4.4-rc5

2015-12-12 Thread Greg KH
The following changes since commit 1ec218373b8ebda821aec00bb156a9c94fad9cd4: Linux 4.4-rc2 (2015-11-22 16:45:59 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.4-rc5 for you to fetch changes up to

[GIT PULL] USB driver fixes for 4.4-rc5

2015-12-12 Thread Greg KH
The following changes since commit 31ade3b83e1821da5fbb2f11b5b3d4ab2ec39db8: Linux 4.4-rc3 (2015-11-29 18:58:26 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.4-rc5 for you to fetch changes up to

[PATCH v2 02/10] usb: host: ehci-sched: move constants to right

2015-12-12 Thread Geyslan G. Bem
This patch moves the constants to right. Tested by compilation only. Caught by coccinelle: scripts/coccinelle/misc/compare_const_fl.cocci Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci-sched.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v2 08/10] usb: host: ehci-sched: add line after declarations

2015-12-12 Thread Geyslan G. Bem
This patch adds a blank line after declarations. Caught by checkpatch. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci-sched.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c index 00d1932..ff6319b 100644 ---

[PATCH v2 06/10] usb: host: ehci-sched: remove useless else branch

2015-12-12 Thread Geyslan G. Bem
This patch removes an useless else branch after a break, reducing one indent block. Tested by compilation only. Caught by checkpatch. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci-sched.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH v2 09/10] usb: host: ehci-sched: use sizeof operator with parens

2015-12-12 Thread Geyslan G. Bem
This patch adds parens to sizeof operator uses. Tested by compilation only. Caught by checkpatch. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci-sched.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/ehci-sched.c

[PATCH v2 10/10] usb: host: ehci-sched: remove unnecessary braces

2015-12-12 Thread Geyslan G. Bem
This patch removes unnecessary braces in single statement blocks at the same time as replaces the if statement with a ternary conditional. Tested by compilation only. Caught by checkpatch. Signed-off-by: Geyslan G. Bem --- v2: removes unnecessary parens in ternary conditional. ---

[PATCH v2 04/10] usb: host: ehci-sched: add spaces around operators

2015-12-12 Thread Geyslan G. Bem
This patch adds spaces around operators. Tested by compilation only. Caught by checkpatch. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci-sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c index

[PATCH v2 03/10] usb: host: ehci-sched: remove useless initializations

2015-12-12 Thread Geyslan G. Bem
This patch removes useless initializations. Tested by compilation only. Caught by cppcheck. Signed-off-by: Geyslan G. Bem --- v2: replaces 'assignments' with 'initializations' --- drivers/usb/host/ehci-sched.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 05/10] usb: host: ehci-sched: remove prohibited spaces

2015-12-12 Thread Geyslan G. Bem
This patch removes prohibited spaces before open parenthesis and open brackets. It also removes an assignment inside condition and unnecessary braces in single statement block. Tested by compilation only. Caught by checkpatch. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci-sched.c |

[PATCH v2 07/10] usb: host: ehci-sched: use C89-style comments

2015-12-12 Thread Geyslan G. Bem
This patch changes comments conforming coding style. Caught by checkpatch. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci-sched.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/drivers/usb/host/ehci-sched.c

[PATCH v2 01/10] usb: host: ehci-sched: refactor scan_isoc function

2015-12-12 Thread Geyslan G. Bem
This patch removes an infinite 'for' loop and makes use of the already existing 'restart' tag instead, reducing one leading tab. It also puts the easier evaluation (live variable) to be the first in two conditionals. if (live && frame == now_frame) { ... if (live && ((frame == now_frame) ||

[PATCH v2 00/10] usb: host: ehci-sched: cleanup

2015-12-12 Thread Geyslan G. Bem
Cleanup done with the help of coccinelle, checkpatch and cppcheck tools. Geyslan G. Bem (10): usb: host: ehci-sched: refactor scan_isoc function usb: host: ehci-sched: move constants to right usb: host: ehci-sched: remove useless initializations usb: host: ehci-sched: add spaces around

Re: [PATCH V2 2/4] scsi: storvsc: Properly support Fibre Channel devices

2015-12-12 Thread kbuild test robot
Hi Srinivasan, [auto build test ERROR on scsi/for-next] [also build test ERROR on v4.4-rc4 next-20151211] url: https://github.com/0day-ci/linux/commits/K-Y-Srinivasan/scsi-storvsc-Properly-support-FC-hosts/20151213-042209 base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git

Re: [PATCH 4.3 00/71] 4.3.3-stable review

2015-12-12 Thread Greg Kroah-Hartman
On Sat, Dec 12, 2015 at 08:05:22PM -0700, Shuah Khan wrote: > On 12/12/2015 01:05 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.3.3 release. > > There are 71 patches in this series, all will be posted as a response > > to this one. If anyone has any

[PATCH] mm: mempool: Factor out mempool_refill()

2015-12-12 Thread Zhi Wang
This patch factors out mempool_refill() from mempool_resize(). It's reasonable that the mempool user wants to refill the pool immdiately when it has chance e.g. inside a sleepible context, so that next time in the IRQ context the pool would have much more available elements to allocate. After the

Re: [PATCHSET v2] ->follow_link() without dropping from RCU mode

2015-12-12 Thread Al Viro
On Fri, Dec 11, 2015 at 01:54:25AM +, Al Viro wrote: > BTW, why are we passing unsigned long to free_page()? We have > a bit under 700 callers; excluding the ones that have an explicit cast > to unsigned long right in the argument of call leaves ~150, and the rest > tend to contain a

Re: [PATCH] x86/signal: fix restart_syscall number for x32 tasks

2015-12-12 Thread Dmitry V. Levin
On Mon, Dec 07, 2015 at 03:22:06PM -0800, Andy Lutomirski wrote: > [not real reply because I'm using a bad internet connection right now > and I'm not set up with my usual Gmane reply hack right now] > > The new code is (whitespace-damaged): > > static inline unsigned long

Re: [PATCH 4.2 00/61] 4.2.8-stable review

2015-12-12 Thread Shuah Khan
On 12/12/2015 01:05 PM, Greg Kroah-Hartman wrote: > === > NOTE: > This is the last 4.2.y kernel to be released, unless something > major comes up, it is end-of-life after this release. Everyone > should have moved to 4.3.y by now, you have been warned. >

Re: [PATCH 4.3 00/71] 4.3.3-stable review

2015-12-12 Thread Shuah Khan
On 12/12/2015 01:05 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.3.3 release. > There are 71 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 4.1 00/45] 4.1.15-stable review

2015-12-12 Thread Shuah Khan
On 12/12/2015 12:32 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.1.15 release. > There are 45 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: Odroid U3 mutex deadlock.

2015-12-12 Thread Anand Moon
Hi Thomas, On 12 December 2015 at 16:58, Thomas Pietrowski wrote: > I'm also using 4.4.0-rc4 here on my U3+. And so far it is working well. I > just had a freeze yesterday, but I didn't had the UART connected, so > couldn't catch the reason. The curious thing was that the heartbeat LED was >

Re: [PATCH 0/9] 8250: AMD Carrizo UART PL300 DMA enablement

2015-12-12 Thread Andy Shevchenko
On Fri, Dec 4, 2015 at 5:24 AM, Wang Hongcheng wrote: > Hi all, > > As AMD carrizo UART device is compatible with 8250 and has pl330 DMA > IP, our uart driver is serial:8250 and DMA engines are registered by > driver/dma/pl330. The following patches are made, in order to enable > DMA. > >

Re: [PATCH 7/9] Serial:8250: New Port Type PORT_AMD_8250

2015-12-12 Thread Andy Shevchenko
On Fri, Dec 4, 2015 at 5:24 AM, Wang Hongcheng wrote: > Set a new port type for AMD Carrizo. Add has_pl330_dma to 8250_dw's > private data and init fcr,ier as well as dma rx size. > > Signed-off-by: Wang Hongcheng > --- > drivers/acpi/acpi_apd.c | 10 ++ >

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

2015-12-12 Thread Tadeusz Struk
This patch converts the module verification code to the new akcipher API. Signed-off-by: Tadeusz Struk --- crypto/asymmetric_keys/Kconfig|2 crypto/asymmetric_keys/Makefile |7 - crypto/asymmetric_keys/pkcs7_parser.c | 12 +-

[PATCH v2 2/2] integrity: convert digsig to akcipher api

2015-12-12 Thread Tadeusz Struk
Convert asymmetric_verify to akcipher api. Signed-off-by: Tadeusz Struk --- security/integrity/Kconfig |1 + security/integrity/digsig_asymmetric.c | 10 +++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/security/integrity/Kconfig

[PATCH v2 0/2] crypto: KEYS: convert public key to akcipher api

2015-12-12 Thread Tadeusz Struk
This patch set converts the module verification and digital signature code to the new akcipher API. RSA implementation has been removed from crypto/asymmetric_keys and the new API is used for cryptographic primitives. There is no need for MPI above the akcipher API anymore. Modules can be verified

Re: [PATCH 5/9] dmaengine: pl330: provide ACPI dmaengine interface

2015-12-12 Thread Andy Shevchenko
On Fri, Dec 4, 2015 at 5:24 AM, Wang Hongcheng wrote: > register acpi_dma controller, so ACPI devices can request pl330 DMA > channel. > A filter is added in private data for Carrizo specific hardware > design > > Signed-off-by: Wang Hongcheng > --- > drivers/acpi/acpi_apd.c| 12

Re: [PATCH] MAINTAINERS: Change QCOM entries

2015-12-12 Thread David Brown
On Fri, Dec 11, 2015 at 03:46:18PM -0600, Andy Gross wrote: From: Andy Gross This patch changes the email address for Andy Gross and David Brown and drops Kumar Gala. In addition, it changes the location of the repository. Signed-off-by: Andy Gross Signed-off-by: Andy Gross Acked-by:

Re: [PATCH v5 1/9] mfd: axp20x: Add AXP223 to list of supported PMICs in DT bindings

2015-12-12 Thread Andy Shevchenko
On Fri, Nov 27, 2015 at 8:43 AM, Chen-Yu Tsai wrote: > The AXP223 is a new PMIC commonly paired with Allwinner A23/A33 SoCs. > It is functionally identical to AXP221; only the regulator default > voltage/status and the external host interface are different. > I missed cover letter, but anyway,

[PATCH 05/10] drivers/pci: make host/pci-rcar-gen2.c explicitly non-modular

2015-12-12 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCI_RCAR_GEN2 drivers/pci/host/Kconfig: bool "Renesas R-Car Gen2 Internal PCI controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code

[PATCH 00/10] drivers/pci: avoid module_init in non-modular host/pci*

2015-12-12 Thread Paul Gortmaker
This series of commits is a slice of a larger project to ensure people don't have dead code for module removal in non-modular drivers. Overall there was roughly 5k lines of dead code in the kernel due to this. So far we've fixed several areas, like tty, x86, net, etc. and we continue to work on

[PATCH 06/10] drivers/pci: make host/pci-tegra.c explicitly non-modular

2015-12-12 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCI_TEGRA drivers/pci/host/Kconfig: bool "NVIDIA Tegra PCIe controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially

[PATCH 07/10] drivers/pci: make host/pcie-rcar.c explicitly non-modular

2015-12-12 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCI_RCAR_GEN2_PCIE drivers/pci/host/Kconfig: bool "Renesas R-Car PCIe controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is

[PATCH 10/10] drivers/pci: make host/pcie-altera.c explicitly non-modular

2015-12-12 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCIE_ALTERA drivers/pci/host/Kconfig: bool "Altera PCIe controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially

[PATCH 08/10] drivers/pci: make host/pcie-xilinx.c explicitly non-modular

2015-12-12 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCIE_XILINX drivers/pci/host/Kconfig: bool "Xilinx AXI PCIe host bridge support" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is

[PATCH 03/10] drivers/pci: make host/pci-mvebu.c explicitly non-modular

2015-12-12 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCI_MVEBU drivers/pci/host/Kconfig: bool "Marvell EBU PCIe controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially

[PATCH 01/10] drivers/pci: make host/pci-imx6.c driver explicitly non-modular

2015-12-12 Thread Paul Gortmaker
The Kconfig for this option is currently: config PCI_IMX6 bool "Freescale i.MX6 PCIe controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modularity, so that when reading the driver there is no doubt it is builtin-only.

[PATCH 09/10] drivers/pci: make host/pci-keystone.c explicitly non-modular

2015-12-12 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCI_KEYSTONE drivers/pci/host/Kconfig: bool "TI Keystone PCIe controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially

[PATCH 04/10] drivers/pci: make host/pci-dra7xx.c explicitly non-modular

2015-12-12 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/pci/host/Kconfig:config PCI_DRA7XX drivers/pci/host/Kconfig: bool "TI DRA7xx PCIe controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially

[PATCH 02/10] drivers/pci: make host/pcie-spear13xx.c driver explicitly non-modular

2015-12-12 Thread Paul Gortmaker
The Kconfig for this option is currently: config PCIE_SPEAR13XX bool "STMicroelectronics SPEAr PCIe controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modularity, so that when reading the driver there is no doubt it is

Re: [PATCH 24/28] net: pch_gbe: add device tree support

2015-12-12 Thread Andy Shevchenko
On Mon, Nov 30, 2015 at 6:21 PM, Paul Burton wrote: > Introduce support for retrieving the PHY reset GPIO from device tree, > which will be used on the MIPS Boston development board. This requires > support for probe deferral in order to work correctly, since the order > of device probe is not

Re: [PATCH 1/1] Remove unneeded "0x" when %pa formatting is used.

2015-12-12 Thread Andy Shevchenko
On Mon, Nov 30, 2015 at 10:33 PM, Dmitry Krivenok wrote: >>> if (size > max_size) { >>> dev_err(pcie->dev, >>> -"res size 0x%pap exceeds max supported size 0x%llx\n", >>> +"res size %pap exceeds max supported size 0x%llx\n", >> >> %pa also works. >> > > Yes,

Re: [PATCH RESEND 1/1] serial: 8250_pci: Fix real serial port count for F81504/508/512

2015-12-12 Thread Andy Shevchenko
On Tue, Dec 1, 2015 at 8:54 AM, Peter Hung wrote: > Fix real serial port count for F81504/508/512 with multi-function mode. > > Fintek F81504/508/512 are multi-function boards. It could be configurated > via PCI configuration space register F0h/F3h with external EEPROM that > programmed by

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

2015-12-12 Thread Andy Shevchenko
On Tue, Dec 1, 2015 at 7:41 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, then kmemdup is > used. This

Re: [PATCH 04/13] lib/vsprintf.c: expand field_width to 24 bits

2015-12-12 Thread Andy Shevchenko
On Wed, Dec 2, 2015 at 1:38 AM, Andrew Morton wrote: > On Tue, 20 Oct 2015 22:30:04 +0200 Rasmus Villemoes > wrote: > >> I didn't find a BUILD_BUG/compiletime_assertion/... which would work >> outside function context, so for now I just open-coded it. >> > > It comes up occasionally. It would

Re: [PATCH v2 4/4] arm64: dts: rockchip: Add the needed timer for RK3368 SoC

2015-12-12 Thread Heiko Stübner
Am Freitag, 25. September 2015, 10:14:58 schrieb Caesar Wang: > There is a need of a broadcast timer in this case to ensure proper > wakeup when the cpus are in sleep mode and a timer expires. > > Signed-off-by: Caesar Wang applied this patch to my dts64 branch for 4.5 . The Kconfig option

[PATCH 1/8] serial: core: Fold __uart_put_char() into caller

2015-12-12 Thread Peter Hurley
uart_put_char() is the required interface; manually inline __uart_put_char(). Signed-off-by: Peter Hurley --- drivers/tty/serial/serial_core.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c

Re: Crypto/nx842: Ignore invalid XER[S0] return error

2015-12-12 Thread Haren Myneni
On 12/12/2015 04:05 PM, Segher Boessenkool wrote: > On Sat, Dec 12, 2015 at 03:01:26PM -0800, Haren Myneni wrote: >> On 12/12/2015 12:43 AM, Segher Boessenkool wrote: >>> On Fri, Dec 11, 2015 at 07:30:29PM -0800, Haren Myneni wrote: NX842 coprocessor sets 3rd bit in CR register with XER[S0]

[PATCH 4/8] serial: core: Take port mutex for send_xchar() tty method

2015-12-12 Thread Peter Hurley
Prepare for separate methods of preventing unsafe uart port access when sending xchar; claim port mutex for the tty ops method (which might sleep) and rcu for the throttle/unthrottle uses. The implied limitation is that uart drivers which support AUTOXOFF flow control cannot define a send_xchar()

[PATCH 6/8] serial: core: Prevent unsafe uart port access, part 1

2015-12-12 Thread Peter Hurley
uart_remove_one_port() may race with every serial core operation requiring a valid dereference of state->uart_port. In particular, uart_remove_one_port() may unlink the uart port concurrently with any serial core operation that may dereference same. Ensure safe dereference for those operations

[PATCH 3/8] serial: core: Use tty->index for port # in debug messages

2015-12-12 Thread Peter Hurley
The uart port may have already been removed by uart_remove_one_port(); use equivalent tty->index (which is always valid in these contexts) instead. Signed-off-by: Peter Hurley --- drivers/tty/serial/serial_core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 8/8] serial: core: Prevent unsafe uart port access, part 3

2015-12-12 Thread Peter Hurley
For serial core operations without sleeping locks and other waits (and not already excluded by holding port->mutex), use RCU to protect dereferencing the state->uart_port. Introduce helper functions, uart_port_ref() and uart_port_deref(), to wrap uart_port access in RCU read sections, and helper

[PATCH 5/8] serial: core: Expand port mutex section in uart_poll_init()

2015-12-12 Thread Peter Hurley
Prepare uart_poll_init() to safely dereference uart port; expand the port mutex section to guarantee uart port remains valid until uart_poll_init() completes. Signed-off-by: Peter Hurley --- drivers/tty/serial/serial_core.c | 37 ++--- 1 file changed, 18

[PATCH 0/8] Fix unsafe uart port access

2015-12-12 Thread Peter Hurley
Hi Greg, The serial core has always intended to allow uart drivers to detach and unload, even while ttys are open and running. Since the serial core is the actual tty driver, it acts as a proxy for the uart driver, which allows the uart driver to remove the port (which hangs up the tty) and then

[PATCH 2/8] serial: core: Fold do_uart_get_info() into caller

2015-12-12 Thread Peter Hurley
do_uart_get_info() has a single caller: uart_get_info(). Manually inline do_uart_get_info(). Signed-off-by: Peter Hurley --- drivers/tty/serial/serial_core.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/tty/serial/serial_core.c

[PATCH 7/8] serial: core: Prevent unsafe uart port access, part 2

2015-12-12 Thread Peter Hurley
For tty operations which may expect uart port to have been removed but still have other necessary work to accomplish, check for NULL uart port; specifically uart_close(), uart_hangup() and sub-functions (uart_shutdown(), uart_port_shutdown() and uart_wait_until_sent()). Split

[PATCH] xen/x86/pvh: Use HVM's flush_tlb_others op

2015-12-12 Thread Boris Ostrovsky
Using MMUEXT_TLB_FLUSH_MULTI doesn't buy us much since the hypervisor will likely perform same IPIs as would have the guest. More importantly, using MMUEXT_INVLPG_MULTI may not to invalidate the guest's address on remote CPU (when, for example, VCPU from another guest is running there).

Re: [PATCH] lock_page() doesn't lock if __wait_on_bit_lock returns -EINTR

2015-12-12 Thread Chris Mason
On Sat, Dec 12, 2015 at 11:41:26AM -0800, Linus Torvalds wrote: > On Sat, Dec 12, 2015 at 10:33 AM, Linus Torvalds > wrote: > > > > Peter, did that patch also handle just plain "lock_page()" case? > > Looking more at it, I think this all goes back to commit 743162013d40 > ("sched: Remove

Re: Crypto/nx842: Ignore invalid XER[S0] return error

2015-12-12 Thread Segher Boessenkool
On Sat, Dec 12, 2015 at 03:01:26PM -0800, Haren Myneni wrote: > On 12/12/2015 12:43 AM, Segher Boessenkool wrote: > > On Fri, Dec 11, 2015 at 07:30:29PM -0800, Haren Myneni wrote: > >> NX842 coprocessor sets 3rd bit in CR register with XER[S0] which is > >> nothing to do with NX request. On

Re: [PATCH V2 2/4] scsi: storvsc: Properly support Fibre Channel devices

2015-12-12 Thread kbuild test robot
Hi Srinivasan, [auto build test ERROR on scsi/for-next] [also build test ERROR on v4.4-rc4 next-20151211] url: https://github.com/0day-ci/linux/commits/K-Y-Srinivasan/scsi-storvsc-Properly-support-FC-hosts/20151213-042209 base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git

Re: [PATCH v2] vhost: replace % with & on data path

2015-12-12 Thread Andy Shevchenko
On Fri, Dec 4, 2015 at 10:19 PM, Venkatesh Srinivas wrote: > On Mon, Nov 30, 2015 at 11:15:23AM +0200, Michael S. Tsirkin wrote: >> We know vring num is a power of 2, so use & >> to mask the high bits. >> >> Signed-off-by: Michael S. Tsirkin >> --- > > The generated code switches from DIV ->

Re: [serial] Calling platform specific code on driver bind/unbind

2015-12-12 Thread Andy Shevchenko
On Fri, Dec 4, 2015 at 11:37 PM, Piotr Madalinski wrote: > Hi, > I'm hacking my openwrt router and look for a proper way to make a serial > driver call a platform-specific function such as this: > > static void ath79_enable_uart(void) { > if (soc_is_ar933x()) >

Re: [PATCH] printk-formats.txt: remove unimplemented %pT

2015-12-12 Thread Andy Shevchenko
On Sat, Dec 5, 2015 at 9:02 PM, Rasmus Villemoes wrote: > %pT for task->comm has been proposed (several times, I think), but is > not actually implemented. Has it been in linux-next for a while at some point? In any case currently indeed it's a dead doc. Reviewed-by: Andy Shevchenko > Remove

Re: [PATCH] staging: speakup: kobjects.c: fix char argument to %02x

2015-12-12 Thread Andy Shevchenko
On Sun, Dec 6, 2015 at 2:05 AM, Rasmus Villemoes wrote: > If char is signed and ch happens to be negative, printing ch with > "%02x" will not do as intended (when ch is -19, one will get > "ffed"). Fix that by masking with 0xff. > > Signed-off-by: Rasmus Villemoes > --- >

Congratulation

2015-12-12 Thread Western Union Money Transfer Office
Attention you have been awarded with the sum of $200,000 USD by the Western Union Money Transfer Office, As part of our Annual market promotions this Year @2015. Get back us for claim by filling the details stated here: 1. Name:__ 2. Address 3. Country:___ 4. Phone Number 5.

Re: [PATCH v1 04/10] serial: mps2-uart: add MPS2 UART driver

2015-12-12 Thread Andy Shevchenko
On Wed, Dec 2, 2015 at 11:33 AM, Vladimir Murzin wrote: > This driver adds support to the UART controller found on ARM MPS2 > platform. Just few comments (have neither time not big desire to do full review). > > Signed-off-by: Vladimir Murzin > --- > drivers/tty/serial/Kconfig | 12 +

Re: undefined shift in wb_update_dirty_ratelimit()

2015-12-12 Thread Andy Shevchenko
On Mon, Dec 7, 2015 at 4:26 PM, Tejun Heo wrote: > Hello, Andrey. > On Mon, Dec 07, 2015 at 05:17:06PM +0300, Andrey Ryabinin wrote: >> I've hit undefined shift in wb_update_dirty_ratelimit() which does some >> mysterious 'step' calculations: >> >> /* >>* Don't pursue 100% rate

Applied "regmap: cache: Move the num_reg_defaults check as early as possible" to the regmap tree

2015-12-12 Thread Mark Brown
The patch regmap: cache: Move the num_reg_defaults check as early as possible has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "regmap: shift wrapping bugs in 64 bit code" to the regmap tree

2015-12-12 Thread Mark Brown
The patch regmap: shift wrapping bugs in 64 bit code has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "regmap: cache: Add warning info for the cache check" to the regmap tree

2015-12-12 Thread Mark Brown
The patch regmap: cache: Add warning info for the cache check has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "regmap: missing case statement" to the regmap tree

2015-12-12 Thread Mark Brown
The patch regmap: missing case statement has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during

Applied "regulator: pv88090: logical vs bitwise AND typo" to the regulator tree

2015-12-12 Thread Mark Brown
The patch regulator: pv88090: logical vs bitwise AND typo 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 that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "regulator: pv88090: Fix irq leak" to the regulator tree

2015-12-12 Thread Mark Brown
The patch regulator: pv88090: Fix irq leak 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 that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Re: Crypto/nx842: Ignore invalid XER[S0] return error

2015-12-12 Thread Haren Myneni
On 12/12/2015 12:43 AM, Segher Boessenkool wrote: > On Fri, Dec 11, 2015 at 07:30:29PM -0800, Haren Myneni wrote: >> NX842 coprocessor sets 3rd bit in CR register with XER[S0] which is >> nothing to do with NX request. On powerpc, XER[S0] will be set if >> overflow in FPU and stays until another

Re: [Resend 0/2] Add support for APQ8084 and MSM8916 Regulators

2015-12-12 Thread Mark Brown
On Fri, Dec 11, 2015 at 12:01:32AM -0600, Andy Gross wrote: > This patch set is a resend of the regulator portion of the patches > found at: > > https://lkml.org/lkml/2015/9/24/561 These don't apply against current code which suggests that the unanswered question I asked about dependencies when

Re: [PATCHv5 7/7] pciutils: Allow 32-bit domains

2015-12-12 Thread Andy Shevchenko
On Mon, Dec 7, 2015 at 11:32 PM, Keith Busch wrote: > PCI-e segments will continue to use the lower 16 bits as required by > ACPI. Special domains may use the full 32-bits. > > Signed-off-by: Keith Busch > --- > lib/filter.c |2 +- > lib/pci.h|2 +- > 2 files changed, 2

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

2015-12-12 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: 79dbddaf8e9613a529d1b07f181f07894bf6fb8e commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO date: 5 weeks ago config:

[PATCH v2 1/2] gpio: pxa: change the interrupt management

2015-12-12 Thread Robert Jarzmik
The interrupt management is changed by this patch to rely on chip data instead of chained interrupts. The main goal is to loosen the dependency on the global pxa chip structure in favor of the passed chip data. The secondary goal is to better show in /proc/interrupts the difference between

[PATCH v2 2/2] gpio: pxa: add pin control gpio direction and request

2015-12-12 Thread Robert Jarzmik
If a pin control driver is available, use it to change the gpio direction. If not fallback to directly manipulating the gpio direction register. The reason to use the pin control driver first is that pin control in pxa2xx architecture implies changing the gpio direction, even for non gpio

  1   2   3   4   5   6   7   8   9   10   >