Re: [PATCH v6 1/2] efi: export efi_capsule_supported() function symbol

2015-10-03 Thread Borislav Petkov
On Sat, Oct 03, 2015 at 03:02:11AM +, Kweh, Hock Leong wrote: > It is because the author of this code is Matt. Submitting this, > allows him to easily squash into his patch: > https://lkml.org/lkml/2014/10/7/391 Then you should say that in the commit message or above it or under the "---"

Re: [PATCH] drm/mgag200: Fix calling drm_fb_helper_fini() twice

2015-10-03 Thread Ingo Molnar
* Archit Taneja wrote: > > > On 9/17/2015 2:04 PM, Ingo Molnar wrote: > > > > > >* Ingo Molnar wrote: > > > > > > > >>So this patch was whitespace damaged - I applied it by hand and made the > >>commit > > > >>below. This has solved the crash,

Re: [patch 1/2] x86/process: Add proper bound checks in 64bit get_wchan()

2015-10-03 Thread Thomas Gleixner
On Fri, 2 Oct 2015, Sasha Levin wrote: > I'm seeing a different issue with this patch: > > [ 5228.736320] BUG: KASAN: out-of-bounds in get_wchan+0xf9/0x1b0 at addr > 88049d2b7c50 > [ 5228.737560] Read of size 8 by task killall/22177 > [ 5228.738304] page:ea001274adc0 count:0 mapcount:0

Re: [GIT PULL] x86 fixes

2015-10-03 Thread Ingo Molnar
* Ingo Molnar wrote: > Linus, > > Please pull the latest x86-urgent-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > x86-urgent-for-linus > ># HEAD: f4b4aae1828855db761bf998ce37d3062b1d6446 x86/headers/uapi: Fix >

Re: [PATCH v2] x86/mm: warn on W+x mappings

2015-10-03 Thread Ingo Molnar
* Stephen Smalley wrote: > diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c > index 30564e2..f8b1573 100644 > --- a/arch/x86/mm/init_64.c > +++ b/arch/x86/mm/init_64.c > @@ -1150,6 +1150,8 @@ void mark_rodata_ro(void) > free_init_pages("unused kernel", >

[PATCH] staging: lustre: lustre: llite: Added a blank line

2015-10-03 Thread Anjali Menon
Added a blank line after declaration to fix the coding style warning detected by checkpatch.pl WARNING: Missing a blank line after declarations Signed-off-by: Anjali Menon --- drivers/staging/lustre/lustre/llite/llite_capa.c | 1 + 1 file changed, 1 insertion(+)

Re: [PATCH 4.2 00/30] 4.2.3-stable review

2015-10-03 Thread Greg Kroah-Hartman
On Thu, Oct 01, 2015 at 06:27:58PM -0700, Guenter Roeck wrote: > On Thu, Oct 01, 2015 at 11:21:22AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.2.3 release. > > There are 30 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 4.2 00/30] 4.2.3-stable review

2015-10-03 Thread Greg Kroah-Hartman
On Fri, Oct 02, 2015 at 10:44:42AM +0530, Sudip Mukherjee wrote: > On Thu, Oct 01, 2015 at 11:21:22AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.2.3 release. > > There are 30 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 4.1 22/29] net: dsa: bcm_sf2: Do not override speed settings

2015-10-03 Thread Greg KH
On Thu, Oct 01, 2015 at 06:22:22PM -0700, David Miller wrote: > From: Ben Hutchings > Date: Fri, 02 Oct 2015 01:47:23 +0100 > > > On Thu, 2015-10-01 at 11:31 +0200, Greg Kroah-Hartman wrote: > >> 4.1-stable review patch. If anyone has any objections, please let me > >>

Re: Linux 4.1.10

2015-10-03 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/net/ethernet.txt b/Documentation/devicetree/bindings/net/ethernet.txt index 41b3f3f864e8..5d88f37480b6 100644 --- a/Documentation/devicetree/bindings/net/ethernet.txt +++ b/Documentation/devicetree/bindings/net/ethernet.txt @@ -25,7 +25,11 @@ The

Linux 4.1.10

2015-10-03 Thread Greg KH
I'm announcing the release of the 4.1.10 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 browsed at the normal kernel.org git web browser:

Re: 4.2.2: NR_CPUS effectively being 1 bug

2015-10-03 Thread Mike Galbraith
On Sat, 2015-10-03 at 10:52 +0200, Ingo Molnar wrote: > * Mike Galbraith wrote: > > > On Sat, 2015-10-03 at 10:18 +0200, Ingo Molnar wrote: > > > * Mike Galbraith wrote: > > > > > > > On Sat, 2015-10-03 at 09:38 +0200, Ingo Molnar wrote: > >

[PATCH 7/24] ver_linux: module-init-tools.patch

2015-10-03 Thread Alexander Kapshuk
The current implementation relies on 'depmod' to be available in the PATH. It also expects the version number to be found in the last field as seen by 'awk'. Should the output format be different, this approach would no longer be reliable. The proposed implementation locates 'depmod', and uses

Re: [PATCH 1/1] irqchip/GICv2m: Add workaround for APM X-Gene GICv2m erratum

2015-10-03 Thread Marc Zyngier
On Fri, 2 Oct 2015 15:16:49 -0700 Duc Dang wrote: Hi Duc, > APM X-Gene GICv2m implementation has an erratum where the > MSI data needs to be the offset from the spi_start in order to > trigger the correct MSI interrupt. This is different from the > standard GICv2m implementation

[PATCH 17/24] ver_linux: libcpp.patch

2015-10-03 Thread Alexander Kapshuk
Neither 'libg++.so', nor 'libstdc++.so' were found where the current implementation expects them to be found in the distros below. Gentoo Linux Debian 6.0.10 Oracle Linux Server release 7.1 The proposed implementation relies on 'ldconfig' to locate the libraries in question. 'Sed' is used to

Re: [PATCH 1/3] net: dsa: Use devm_ prefixed allocations

2015-10-03 Thread Neil Armstrong
On 10/03/2015 02:39 PM, Felix Fietkau wrote: > On 2015-10-02 15:30, Neil Armstrong wrote: >> On 10/02/2015 03:29 PM, Sergei Shtylyov wrote: >>> On 10/2/2015 1:48 PM, Neil Armstrong wrote: >>> To simplify and prevent memory leakage when unbinding, use the devm_ memory allocation calls.

[PATCH 7/24] scripts/ver_linux: module-init-tools.patch

2015-10-03 Thread Alexander Kapshuk
The current implementation relies on 'depmod' to be available in the PATH. It also expects the version number to be found in the last field as seen by 'awk'. Should the output format be different, this approach would no longer be reliable. The proposed implementation locates 'depmod', and uses

[PATCH 05/15] cx88: use pci_set_dma_mask insted of pci_dma_supported

2015-10-03 Thread Christoph Hellwig
This ensures the dma mask that is supported by the driver is recorded in the device structure. Signed-off-by: Christoph Hellwig --- drivers/media/pci/cx88/cx88-alsa.c | 2 +- drivers/media/pci/cx88/cx88-mpeg.c | 2 +- drivers/media/pci/cx88/cx88-video.c | 2 +- 3 files changed, 3

[PATCH 10/11] staging: dgnc: remove initialization of global

2015-10-03 Thread Sudip Mukherjee
globals variable will be initialied to 0 and the global pointers will be to NULL. No need to initialize them separately. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_driver.c | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH 03/15] saa7164: use pci_set_dma_mask insted of pci_dma_supported

2015-10-03 Thread Christoph Hellwig
This ensures the dma mask that is supported by the driver is recorded in the device structure. Signed-off-by: Christoph Hellwig --- drivers/media/pci/saa7164/saa7164-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/saa7164/saa7164-core.c

[PATCH 02/15] tw68-core: use pci_set_dma_mask insted of pci_dma_supported

2015-10-03 Thread Christoph Hellwig
This ensures the dma mask that is supported by the driver is recorded in the device structure. Signed-off-by: Christoph Hellwig --- drivers/media/pci/tw68/tw68-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/tw68/tw68-core.c

[PATCH 04/15] saa7134: use pci_set_dma_mask insted of pci_dma_supported

2015-10-03 Thread Christoph Hellwig
This ensures the dma mask that is supported by the driver is recorded in the device structure. Signed-off-by: Christoph Hellwig --- drivers/media/pci/saa7134/saa7134-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/saa7134/saa7134-core.c

Re: [RFC PATCHv2] x86/pci: Initial commit for new VMD device driver

2015-10-03 Thread Ingo Molnar
* Keith Busch wrote: > +config VMDDEV > + depends on PCI && PCI_DOMAINS && PCI_MSI && GENERIC_MSI_IRQ_DOMAIN && > IRQ_DOMAIN_HIERARCHY > + tristate "Volume Management Device Driver" > + default N > + select HAVE_VMDDEV > + ---help--- > + Adds

[GIT PULL] EFI fixes

2015-10-03 Thread Ingo Molnar
Linus, Please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus # HEAD: 0ce3cc008ec04258b6a6314b09f1a6012810881a arm64/efi: Fix boot crash by not padding between EFI_MEMORY_RUNTIME regions Two EFI fixes:

Re: [PATCH] ppc4xx_edac: Fix module autoload for OF platform driver

2015-10-03 Thread Borislav Petkov
On Thu, Sep 17, 2015 at 01:46:19PM +0200, Luis de Bethencourt wrote: > This platform driver has a OF device ID table but the OF module > alias information is not created so module autoloading won't work. > > Signed-off-by: Luis de Bethencourt > --- >

Re: [PATCH v3 1/2] iio:light: Add Dyna-Image AP3223 ambient light and proximity driver

2015-10-03 Thread Jonathan Cameron
On 30/09/15 02:36, Suresh Rajashekara wrote: > Minimal implementation with support for raw light and proximity reading. > > This is based on the driver provided by the vendor > (which was an input driver). Authors of the > driver from the vendor included > * John Huang

Re: [PATCH] ver_linux: module-init-tools.patch

2015-10-03 Thread Alexander Kapshuk
On Sat, Oct 3, 2015 at 2:14 AM, Jim Davis wrote: > On Fri, Oct 2, 2015 at 1:57 PM, Alexander Kapshuk > wrote: >> On Fri, Oct 2, 2015 at 11:22 PM, Alexander Kapshuk >> wrote: >>> On Fri, Oct 2, 2015 at 10:45 PM, Jim

Re: 4.2.2: NR_CPUS effectively being 1 bug

2015-10-03 Thread Alexey Dobriyan
On Sat, Oct 03, 2015 at 10:15:48AM +0200, Mike Galbraith wrote: > On Sat, 2015-10-03 at 09:38 +0200, Ingo Molnar wrote: > > * Peter Zijlstra wrote: > > > > > On Fri, Oct 02, 2015 at 02:00:33PM -0700, Andrew Morton wrote: > > > > On Fri, 2 Oct 2015 23:46:59 +0300 Alexey

Re: [PATCH v4 12/26] ARM: pxa: magician: Rename charger cable detection EGPIOs

2015-10-03 Thread Philipp Zabel
Am Montag, den 28.09.2015, 23:32 +0200 schrieb Petr Cvek: > This patch renames EGPIOs, which are used for the charging cable > presence > and type detection. Old names did not correspond with an observed > functionality (on board_id 0x3a). The behavior is not: > > - AC charger > - USB charger > -

[PATCH 4/24] ver_linux: make.patch

2015-10-03 Thread Alexander Kapshuk
Calling 'awk' more then once is redundant. The output of 'make --version' already has the data we are after, why not utilise it. The proposed implementation uses 'sed' to utilise the data output modifying the white space formatting only. Tested on: Gentoo Linux Debian 6.0.10 Oracle Linux Server

[PATCH 9/24] ver_linux: jfsutils.patch

2015-10-03 Thread Alexander Kapshuk
Not to be critical of anyone, I believe that using 'grep' along with 'sed', and 'awk' in this kind of context as a one-off quick solution to be run on the command line may very well be justified. However, in a script, 'awk' or 'sed' are more than capable of doing most of the things we may be

[PATCH 21/24] ver_linux: sh-utils.patch

2015-10-03 Thread Alexander Kapshuk
Using 'awk' here is a bit of an overkill. Should the output of 'expr --v' vary on another disto, or change overtime, it may no longer be available in the last field, as relied on by the current implementation. I believe 'sed' offers greater flexibility here in terms of processing varying output as

[PATCH 20/24] ver_linux: kbd_console-tools.patch

2015-10-03 Thread Alexander Kapshuk
'loadkeys -h' no longer prints the version number across all distros, despite the claim to do so in the manpage, which I found to be the case on a Debian Linux system. The proposed implementation utilises the output of 'loadkeys -V' to acquire the version of both 'Kbd' and 'Console-tools'.

Re: [PATCH net-next v3 2/2] net: Microchip encx24j600 driver

2015-10-03 Thread kbuild test robot
Hi Jon, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: mn10300-allmodconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x

[PATCH 04/11] staging: dgnc: remove blankline after brace

2015-10-03 Thread Sudip Mukherjee
Blank lines are not needed after opening braces. checkpatch was giving us warnings about this. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_cls.c| 4 drivers/staging/dgnc/dgnc_driver.c | 3 --- drivers/staging/dgnc/dgnc_mgmt.c | 1 -

[PATCH 06/11] staging: dgnc: change style of NULL comparison

2015-10-03 Thread Sudip Mukherjee
Change the NULL comparison style as warned by checkpatch. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_tty.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index

[PATCH 01/15] pcnet32: use pci_set_dma_mask insted of pci_dma_supported

2015-10-03 Thread Christoph Hellwig
This ensures the dma mask that is supported by the driver is recorded in the device structure. Signed-off-by: Christoph Hellwig --- drivers/net/ethernet/amd/pcnet32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/amd/pcnet32.c

[PATCH 05/11] staging: dgnc: remove space after cast

2015-10-03 Thread Sudip Mukherjee
Space is not necessary after typecast. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_cls.c| 6 +++--- drivers/staging/dgnc/dgnc_driver.c | 6 +++--- drivers/staging/dgnc/dgnc_mgmt.c | 6 +++--- drivers/staging/dgnc/dgnc_neo.c| 12 ++--

[PATCH 03/11] staging: dgnc: remove blankline before brace

2015-10-03 Thread Sudip Mukherjee
Blank lines are not needed before closing braces. checkpatch was giving warning about this. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_cls.c| 7 --- drivers/staging/dgnc/dgnc_driver.c | 2 -- drivers/staging/dgnc/dgnc_mgmt.c | 1 -

[PATCH 09/11] staging: dgnc: remove parenthesis

2015-10-03 Thread Sudip Mukherjee
checkpatch was warning us about extra unneeded parenthesis. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_neo.c | 2 +- drivers/staging/dgnc/dgnc_sysfs.c | 48 +++ drivers/staging/dgnc/dgnc_tty.c | 14 ++-- 3

[PATCH] staging: lustre: lustre: llite: Added const

2015-10-03 Thread Anjali Menon
Added const to the struct statement which fixed the coding style warning detected by chekpatch.pl WARNING: struct seq_operations should normally be const Signed-off-by: Anjali Menon --- drivers/staging/lustre/lustre/llite/vvp_dev.c | 2 +- 1 file changed, 1

Re: [PATCH v6 0/2] Enable capsule loader interface for efi firmware updating

2015-10-03 Thread Borislav Petkov
On Sat, Oct 03, 2015 at 03:18:41AM +, Kweh, Hock Leong wrote: > > What does the error case look like? A standard glibc message about > > write(2) failing? > > > > Any upload fail error like -ENOMEM, -EINVAL, -EIO as well as error returned > by efi_capsule_update() API. All I'm asking is,

Re: [GIT PULL] usb fixes for v4.3-rc4

2015-10-03 Thread Greg KH
On Fri, Oct 02, 2015 at 01:48:49PM -0500, Felipe Balbi wrote: > Hi Greg, > > here's three more fixes for current -rc. They have been in next for a couple > days or so and no build problems have been found. > > regards > > The following changes since commit

Re: [GIT PULL] phy: for 4.3 -rc

2015-10-03 Thread Greg KH
On Tue, Sep 29, 2015 at 12:05:21PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Please find the pull request for 4.3 -rc cycle below. This includes > misc fixes in three of the PHY drivers. Please see the tag message for > the details. > > Let me know if I have to change something. > >

Re: [PATCH v4 14/26] ARM: pxa: magician: Fix platform data for both PXA27x I2C controllers

2015-10-03 Thread Philipp Zabel
Am Montag, den 28.09.2015, 23:33 +0200 schrieb Petr Cvek: > This patch changes fast_mode settings for the normal and power I2C > controller on the HTC Magician machine. > > Connected device on the Power I2C: > - MAX1587A: working in the fast mode > > Connected devices on the Normal I2C: > -

Re: [PATCH v4 22/26] ARM: pxa: magician: Remove pdata for pasic3-leds

2015-10-03 Thread Philipp Zabel
Am Montag, den 28.09.2015, 23:39 +0200 schrieb Petr Cvek: > The pasic3-leds driver was never in vanilla kernel. Actual > configuration > data for a hypothetical driver does not describe hardware completely, > so > remove them. > > This patch prepare HTC Magician machine code to pasic3-leds driver

[PATCH 2/24] ver_linux: path2bin_test.patch

2015-10-03 Thread Alexander Kapshuk
As suggested by Jim Davis , this patch checks for binaries in the user's $PATH first by calling 'which name-of-binary'. If the binary is not found there, an attempt is made to find it elsewhere on the system. 'whereis name-of-binary' is used to that end. Below is Jim's

Re: [PATCH v7 5/6] Documentation: dt-bindings: pci: altera pcie device tree binding

2015-10-03 Thread Marc Zyngier
On Fri, 2 Oct 2015 23:56:37 +0200 Arnd Bergmann wrote: > On Friday 02 October 2015 15:53:44 Ley Foon Tan wrote: > > > Strictly speaking, if you have undocumented bindings downstream that > > > is your problem and we don't have to accept them as-is upstream. I'm > > > not going to

[PATCH 11/24] ver_linux: xfsprogs.patch

2015-10-03 Thread Alexander Kapshuk
The current implementation uses both 'grep' and 'awk' for text processing here, which may be allright as a quick solution to be run on the command line. While in a script, 'sed' or 'awk' would be a better choice. On top of that, the current implementation expects the version number to be found in

[PATCH 14/24] ver_linux: ppp.patch

2015-10-03 Thread Alexander Kapshuk
The current implementation uses both 'grep' and 'awk' for text processing here, which may be alright as a quick solution to be run on the command line. While in a script, 'sed' or 'awk' would be a better choice. On top of that, the current implementation expects the version number to be found in

[PATCH 13/24] ver_linux: quota-tools.patch

2015-10-03 Thread Alexander Kapshuk
The current implementation uses both 'grep' and 'awk' for text processing here, which may be alright as a quick solution to be run on the command line. While in a script, 'sed' or 'awk' would be a better choice. On top of that, the current implementation expects the version number to be found in

[PATCH v2 0/5] net: dsa: complete and fix the dsa unbinding

2015-10-03 Thread Neil Armstrong
In order to cleanly unbind the dsa core, either as a module removal, or a platform device unbind, switch the allocation the their devm_ counterparts and complete the destroy functions. First, the missing kfree were added, the remove function were completed then kfree were removed in favor to

[PATCH 1/2] devicetree: add binding for generic mmio clocksource

2015-10-03 Thread Mans Rullgard
This adds a DT binding for a generic mmio clocksource as implemented by clocksource_mmio_init(). Signed-off-by: Mans Rullgard --- .../devicetree/bindings/timer/clocksource-mmio.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644

[PATCH v2 5/5] net: dsa: exit probe if no switch were found

2015-10-03 Thread Neil Armstrong
If no switch were found in dsa_setup_dst, return -ENODEV and exit the dsa_probe cleanly. Tested-by: Andrew Lunn Tested-by: Florian Fainelli Signed-off-by: Neil Armstrong --- net/dsa/dsa.c | 19 +++ 1 file changed,

[PATCH 2/2] clocksource: mmio: add devicetree support

2015-10-03 Thread Mans Rullgard
This implements the "clocksource-mmio" devicetree binding. It is useful for devices that have a free-running counter requiring no setup. Signed-off-by: Mans Rullgard --- drivers/clocksource/mmio.c | 83 ++ 1 file changed, 83

[PATCH 13/15] usbnet: remove ifdefed out call to dma_supported

2015-10-03 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- drivers/net/usb/usbnet.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index b4cf107..9497d51 100644 --- a/drivers/net/usb/usbnet.c +++ b/drivers/net/usb/usbnet.c @@ -1661,12 +1661,6

[PATCH 09/15] mpsc: use dma_set_mask insted of dma_supported

2015-10-03 Thread Christoph Hellwig
This ensures the dma mask that is supported by the driver is recorded in the device structure. Signed-off-by: Christoph Hellwig --- drivers/tty/serial/mpsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/mpsc.c b/drivers/tty/serial/mpsc.c

[PATCH 14/15] pci: remove pci_dma_supported

2015-10-03 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- drivers/parisc/ccio-dma.c| 2 -- include/asm-generic/pci-dma-compat.h | 6 -- 2 files changed, 8 deletions(-) diff --git a/drivers/parisc/ccio-dma.c b/drivers/parisc/ccio-dma.c index 957b421..8e11fb2 100644 ---

[PATCH 07/15] cx23885: use pci_set_dma_mask insted of pci_dma_supported

2015-10-03 Thread Christoph Hellwig
This ensures the dma mask that is supported by the driver is recorded in the device structure. Signed-off-by: Christoph Hellwig --- drivers/media/pci/cx23885/cx23885-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/cx23885/cx23885-core.c

[PATCH 15/15] dma: remove external references to dma_supported

2015-10-03 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- Documentation/DMA-API.txt | 13 - drivers/usb/host/ehci-hcd.c | 2 +- drivers/usb/host/fotg210-hcd.c | 2 +- drivers/usb/host/fusbh200-hcd.c | 2 +- drivers/usb/host/oxu210hp-hcd.c | 2 +- 5 files changed, 4

Re: [PATCH v3] arm: Fix backtrace generation when IPI is masked

2015-10-03 Thread Russell King - ARM Linux
On Tue, Sep 15, 2015 at 03:40:05PM +0100, Daniel Thompson wrote: > Currently on ARM when is triggered from an interrupt handler > (e.g. a SysRq issued using UART or kbd) the main CPU will wedge for ten > seconds with interrupts masked before issuing a backtrace for every CPU > except itself. > >

Re: 4.2.2: NR_CPUS effectively being 1 bug

2015-10-03 Thread Ingo Molnar
* Mike Galbraith wrote: > On Sat, 2015-10-03 at 10:18 +0200, Ingo Molnar wrote: > > * Mike Galbraith wrote: > > > > > On Sat, 2015-10-03 at 09:38 +0200, Ingo Molnar wrote: > > > > * Peter Zijlstra wrote: > > > > > > >

[GIT PULL] timer fixes

2015-10-03 Thread Ingo Molnar
Linus, Please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus # HEAD: 67dfae0cd72fec5cd158b6e5fb1647b7dbe0834c clocksource: Fix abs() usage w/ 64bit values An abs64() fix in the watchdog driver,

Re: [PATCH] mm: optimize PageHighMem() check

2015-10-03 Thread Vineet Gupta
On Saturday 03 October 2015 02:23 AM, Andrew Morton wrote: > On Fri, 2 Oct 2015 12:45:53 +0530 Vineet Gupta wrote: > >> On Friday 02 October 2015 04:55 AM, Andrew Morton wrote: >>> On Tue, 29 Sep 2015 13:24:20 +0530 Vineet Gupta >>> wrote: >>>

Re: [PATCH v2 4/4] ARM: STi: DT: Add support for stih418 A9 pll

2015-10-03 Thread Maxime Coquelin
On 10/02/2015 09:32 PM, Stephen Boyd wrote: On 08/24, Gabriel Fernandez wrote: Add support for new PLL-type for stih418 A9-PLL. Signed-off-by: Gabriel Fernandez --- I assume this will go through arm-soc? Yes, I will take it through STi tree. Thanks, Maxime

[GIT PULL] x86 fixes

2015-10-03 Thread Ingo Molnar
Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus # HEAD: f4b4aae1828855db761bf998ce37d3062b1d6446 x86/headers/uapi: Fix __BITS_PER_LONG value for x32 builds Fixes all around the map: W+X

Re: [tpmdd-devel] [PATCH 4/4] keys, trusted: seal/unseal with TPM 2.0 chips

2015-10-03 Thread Jarkko Sakkinen
On Sat, Oct 03, 2015 at 01:26:55PM +0300, Jarkko Sakkinen wrote: > On Sat, Oct 03, 2015 at 10:00:59AM +, Fuchs, Andreas wrote: > > Hi Jarkko, > > > > [snip] > > > > diff --git a/security/keys/trusted.h b/security/keys/trusted.h > > index ff001a5..fc32c47 100644 > > ---

Re: [patch 1/2] x86/process: Add proper bound checks in 64bit get_wchan()

2015-10-03 Thread Andrey Ryabinin
2015-10-03 13:54 GMT+03:00 Thomas Gleixner : > On Fri, 2 Oct 2015, Sasha Levin wrote: >> I'm seeing a different issue with this patch: >> >> [ 5228.736320] BUG: KASAN: out-of-bounds in get_wchan+0xf9/0x1b0 at addr >> 88049d2b7c50 >> [ 5228.737560] Read of size 8 by task

Re: [PATCH v4 02/26] ARM: pxa: magician: Change comments to be more informative

2015-10-03 Thread Philipp Zabel
Am Montag, den 28.09.2015, 23:10 +0200 schrieb Petr Cvek: > This patch changes the comments in the HTC Magician machine source > code > to better describe used devices and interfaces. > > Signed-off-by: Petr Cvek This is mostly fine, some comments below. [...] > static

Re: [PATCH v3 1/2] Fixed ds1390_get_reg returned value

2015-10-03 Thread Alexandre Belloni
On 18/09/2015 at 17:22:38 +0200, Ivan Grimaldi wrote : > spi_write_then_read puts in rx_buf the received data starting from > the first byte of the rx_buf > > Signed-off-by: Ivan Grimaldi > --- > drivers/rtc/rtc-ds1390.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH 1/3] net: dsa: Use devm_ prefixed allocations

2015-10-03 Thread Felix Fietkau
On 2015-10-02 15:30, Neil Armstrong wrote: > On 10/02/2015 03:29 PM, Sergei Shtylyov wrote: >> On 10/2/2015 1:48 PM, Neil Armstrong wrote: >> >>> To simplify and prevent memory leakage when unbinding, use >>> the devm_ memory allocation calls. >>> >>> Tested-by: Andrew Lunn >>>

Re: [PATCH v4 21/26] ARM: pxa: magician: Add support for PXA27x UDC

2015-10-03 Thread Philipp Zabel
Am Montag, den 28.09.2015, 23:39 +0200 schrieb Petr Cvek: > A PXA27x SoC supports USB device mode, this patch adds support for > that. > > Signed-off-by: Petr Cvek > --- > arch/arm/mach-pxa/magician.c | 22 ++ > 1 file changed, 22 insertions(+) > > diff

Re: [PATCH v4 20/26] ARM: pxa: magician: Add support for MAX1587A Vcore regulator

2015-10-03 Thread Philipp Zabel
Am Montag, den 28.09.2015, 23:39 +0200 schrieb Petr Cvek: > HTC Magician contains a MAX1587A voltage regulator for a Vcore > supply. > The Vcore regulation is required for a CPU speed switching. This > patch adds > declaration for the max1586 driver. > > Notice: > > - MAX1587A version does not

[PATCH 1/24] ver_linux: echo.patch

2015-10-03 Thread Alexander Kapshuk
While not a problem in itself, I was not sure why 'echo space' was used. Not being aware of any immediate benefits to this, I thought using 'echo' by itself would suffice in printing a newline, which I believe is the desired behaviour. Signed-off-by: Alexander Kapshuk

New helper to free highmem pages in larger chunks

2015-10-03 Thread Vineet Gupta
Hi, I noticed increased boot time when enabling highmem for ARC. Turns out that freeing highmem pages into buddy allocator is done page at a time, while it is batched for low mem pages. Below is call flow. I'm thinking of writing free_highmem_pages() which takes start and end pfn and want to

[PATCH 6/24] ver_linux: util-linux_mount.patch

2015-10-03 Thread Alexander Kapshuk
The current implementation relies on 'fdformat' to output the version of 'util-linux'. This does not seem to be reliable, as 'fdformat' is not available across all ditros these days. The proposed implementation uses 'mount' to output both the version of 'util-linux' and 'mount' proper. It also

[PATCH 16/24] ver_linux: ldd.patch

2015-10-03 Thread Alexander Kapshuk
Neither 'libg++.so', nor 'libstdc++.so' were found where the current implementation expects them to be found in the distros below. Gentoo Linux Debian 6.0.10 Oracle Linux Server release 7.1 The proposed implementation relies on 'ldconfig' to locate the libraries in question. 'Sed' is used to

[PATCH] staging: wlan-ng: prism2sta: replace memcmp with ether_addr_equal

2015-10-03 Thread Maciek Borzecki
Replace memcmp() with ether_addr_equal(). In every location where the replacement was done, the addresses accessed are __aligned(2). Structures accessed either stack or heap allocated, no direct memory casts to possibly unaligned structs are used. Involved structures: typedef struct

Re: [PATCH v2 1/5] net: dsa: add missing kfree on remove

2015-10-03 Thread Sergei Shtylyov
Hello. On 10/3/2015 5:25 PM, Neil Armstrong wrote: To prevent memory leakage on unbinding, add missing kfree calls. Signed-off-by: Neil Armstrong --- net/dsa/dsa.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/dsa/dsa.c

Re: [PATCH 4.2 00/30] 4.2.3-stable review

2015-10-03 Thread Guenter Roeck
On 10/03/2015 04:37 AM, Greg Kroah-Hartman wrote: On Thu, Oct 01, 2015 at 06:27:58PM -0700, Guenter Roeck wrote: On Thu, Oct 01, 2015 at 11:21:22AM +0200, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.2.3 release. There are 30 patches in this series, all will

Re: [PATCH v6 0/2] Enable capsule loader interface for efi firmware updating

2015-10-03 Thread Borislav Petkov
On Fri, Oct 02, 2015 at 09:18:05PM -0700, Andy Lutomirski wrote: > > What does the error case look like? A standard glibc message about > > write(2) failing? > > > > close(2), right? I'm looking at those retvals of efi_capsule_write(). They are returned to userspace during write(2), no? /me has

[PATCH v2 1/3] Input: db9 - store object at correct index

2015-10-03 Thread Sudip Mukherjee
The variable i is used to check the port to attach to and we are supposed to save the reference of struct db9 in the location given by db9_base[i]. But after finding out the index, i is getting modified again so we saved in a wrong index. While at it mark db9_base[i] as NULL after it is freed.

[PATCH v2 3/3] Input: turbografx - store object in correct index

2015-10-03 Thread Sudip Mukherjee
The variable i is used to check the port to attach to and we are supposed to save the reference of struct tgfx in the location given by tgfx_base[i]. But after finding out the index, i is getting modified again so we saved in a wrong index. Fixes: 4de27a638a99 ("Input: turbografx - use parallel

[PATCH v2 2/3] Input: gamecon - store object at correct index

2015-10-03 Thread Sudip Mukherjee
The variable i is used to check the port to attach to and we are supposed to save the reference of struct gc in the location given by gc_base[i]. But after finding out the index, i is getting modified again so we saved in a wrong index. Reported-by: Dan Carpenter Fixes:

[PATCH 1/2] drivers: staging: wilc1000: Move spin lock to the start of critical section

2015-10-03 Thread Chandra S Gorentla
The spin_lock_irqsave is moved to just beginning of critical section. This change moves a couple of return statements out of the lock. Signed-off-by: Chandra S Gorentla --- drivers/staging/wilc1000/wilc_msgqueue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH 2/2] iio: remove gpio interrupt probing from drivers that use a single interrupt

2015-10-03 Thread Jonathan Cameron
On 23/09/15 10:04, Bastien Nocera wrote: > On Wed, 2015-09-23 at 12:02 +0300, Octavian Purdila wrote: >> Commit 845c877009cf014b ("i2c / ACPI: Assign IRQ for devices that >> have >> GpioInt automatically") automatically asigns > > assigns. Fixed up description and applied to the togreg branch of

RE: [tpmdd-devel] [PATCH 4/4] keys, trusted: seal/unseal with TPM 2.0 chips

2015-10-03 Thread Fuchs, Andreas
Hi Jarkko, [snip] diff --git a/security/keys/trusted.h b/security/keys/trusted.h index ff001a5..fc32c47 100644 --- a/security/keys/trusted.h +++ b/security/keys/trusted.h @@ -12,6 +12,13 @@ #define TPM_RETURN_OFFSET 6 #define TPM_DATA_OFFSET10 +/*

Re: [PATCH 1/2] iio: fix drivers that use 0 as a valid IRQ in client->irq (part 2)

2015-10-03 Thread Jonathan Cameron
On 23/09/15 10:02, Octavian Purdila wrote: > Since commit dab472eb931bc291 ("i2c / ACPI: Use 0 to indicate that > device does not have interrupt assigned") 0 is not a valid i2c > client irq anymore, so change all driver's checks accordingly. > > The same issue occurs when the device is

[PATCH] drivers/video/fbdev/i740fb: remove unused variable

2015-10-03 Thread Sudip Mukherjee
The value of d_best is always 0 and never changes. Signed-off-by: Sudip Mukherjee --- drivers/video/fbdev/i740fb.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/video/fbdev/i740fb.c b/drivers/video/fbdev/i740fb.c index

Re: [PATCH 4.2 00/30] 4.2.3-stable review

2015-10-03 Thread Greg Kroah-Hartman
On Fri, Oct 02, 2015 at 09:41:11AM -0600, Shuah Khan wrote: > On 10/01/2015 03:21 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.2.3 release. > > There are 30 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: Linux 4.2.3

2015-10-03 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/net/ethernet.txt b/Documentation/devicetree/bindings/net/ethernet.txt index 41b3f3f864e8..5d88f37480b6 100644 --- a/Documentation/devicetree/bindings/net/ethernet.txt +++ b/Documentation/devicetree/bindings/net/ethernet.txt @@ -25,7 +25,11 @@ The

Linux 4.2.3

2015-10-03 Thread Greg KH
I'm announcing the release of the 4.2.3 kernel. All users of the 4.2 kernel series must upgrade. The updated 4.2.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.2.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH] tools/thermal: tmon: use pkg-config also for CFLAGS

2015-10-03 Thread Jacob Pan
On Fri, 2 Oct 2015 09:50:45 + Olaf Hering wrote: > The header might be in /usr/include/ncursesw, which is not > part of the standard include path. This fixes compile on openSUSE. > Acked:by: Jacob Pan thanks > Signed-off-by: Olaf Hering

[PATCH 2/24] path2bin_test.patch

2015-10-03 Thread Alexander Kapshuk
As suggested by Jim Davis , via this mailing list, this patch checks for binaries in the user's $PATH first by calling 'which name-of-binary'. If the binary is not found there, an attempt is made to find it elsewhere on the system. 'whereis name-of-binary' is used to that end.

Re: [PATCH] kselftest: replace $(RM) with rm -f command

2015-10-03 Thread Mathieu Desnoyers
- On Oct 3, 2015, at 12:38 AM, dvhart dvh...@infradead.org wrote: > On Mon, Sep 28, 2015 at 03:16:53AM +, Mathieu Desnoyers wrote: >> - On Sep 27, 2015, at 10:10 PM, Wang Long long.wangl...@huawei.com wrote: >> >> > Some test's Makefile using "$(RM)" while the other's >> > using "rm

[PATCH v2 4/5] net: dsa: switch to devm_ calls and remove kfree calls

2015-10-03 Thread Neil Armstrong
Now the kfree calls exists in the the remove functions, remove them in all places except the of_probe functions and replace allocation calls with their devm_ counterparts. Signed-off-by: Neil Armstrong --- net/dsa/dsa.c | 17 + 1 file changed, 5

[PATCH v2 2/5] net: dsa: add missing dsa_switch mdiobus remove

2015-10-03 Thread Neil Armstrong
To prevent memory leakage on unbinding, add missing mdiobus unregister and free calls. Signed-off-by: Neil Armstrong --- net/dsa/dsa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index 12cec40..91918a3 100644 --- a/net/dsa/dsa.c

[PATCH v2 1/5] net: dsa: add missing kfree on remove

2015-10-03 Thread Neil Armstrong
To prevent memory leakage on unbinding, add missing kfree calls. Signed-off-by: Neil Armstrong --- net/dsa/dsa.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index c59fa5d..12cec40 100644 --- a/net/dsa/dsa.c +++

Linux 3.18.22

2015-10-03 Thread Sasha Levin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm announcing the release of the 3.18.22 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

[PATCH] Doc:kvm: Fix typo in Doc/virtual/kvm

2015-10-03 Thread Masanari Iida
This patch fix spelling typos in Documentation/virtual/kvm. Signed-off-by: Masanari Iida --- Documentation/virtual/kvm/api.txt| 4 ++-- Documentation/virtual/kvm/devices/vm.txt | 2 +- Documentation/virtual/kvm/ppc-pv.txt | 2 +- 3 files changed, 4

  1   2   3   4   5   6   7   >