RE: [PATCH V2 3/6] stm class: provision for statically assigned masterIDs

2016-02-08 Thread Al Grant
> Mike did write "master IDs are hardwired to individual cores and core security > states", which make assignment for one platform very static. > On the flip side those will change from one system to another. It depends on your perspective. From the perspective of a userspace process not pinned t

[PATCH v9 2/2] pcie-designware platform driver

2016-02-08 Thread Joao Pinto
The "wait for link" routine was centralised and so all drivers using it (dra7xx, exynos, imx6 and spear13xx) were updated to include the new function. The keystone driver was not updated because it had some custom opreations in the link waiting loop. A simple module (pcie-designware-plat) was cre

[PATCH v9 0/2] adding PCI support to AXS10x

2016-02-08 Thread Joao Pinto
This patch set has the goal to add suppport for DesignWare PCIe RC in ARC AXS10x. It includes the necessary tweaks to: - the ARC architecture (PCI support) - the PCI subsystem (ARC CPU support) - to pcie-designware (Centralisation of wait for link routine) - to dra7xx, exynos, imx6 and spear13x

[PATCH v9 1/2] PCI support added to ARC

2016-02-08 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto --- Change v8 -> v9: - Nothing changed (just to keep up with patch set version). Change v7 -> v8: - Nothing changed (just to keep up with pat

[PATCH] MIPS: Fix early CM probing

2016-02-08 Thread Paul Burton
Commit c014d164f21d ("MIPS: Add platform callback before initializing the L2 cache") added a platform_early_l2_init function in order to allow platforms to probe for the CM before L2 initialisation is performed, so that CM GCRs are available to mips_sc_probe. That commit actually fails to do anyth

Re: [PATCH v3 0/2] Fix ordering of ftrace/livepatch calls on module load and unload

2016-02-08 Thread Josh Poimboeuf
On Fri, Feb 05, 2016 at 10:08:15PM -0500, Jessica Yu wrote: > As explained here [1], livepatch modules are failing to initialize properly > because the ftrace coming module notifier (which calls > ftrace_module_enable()) runs *after* the livepatch module notifier (which > enables the patch(es)). Th

Re: [PATCH v2 4/4] Documentation: atmel-pmc: add DT bindings for fast startup

2016-02-08 Thread Rob Herring
On Thu, Feb 04, 2016 at 03:37:51PM +0800, Wenyou Yang wrote: > Add DT bindings to configurate the PMC_FSMR and PMC_FSPR registers > to trigger a fast restart signal to PMC. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: > - change the property name and property description. > > .../d

Re: [PATCH v5 0/9] Add STM32 pinctrl/GPIO driver

2016-02-08 Thread Maxime Coquelin
2016-02-03 12:04 GMT+01:00 Maxime Coquelin : > Hi Linus, > > This is the fifth round of STM32 pinctrl series, which is rebased on top of > v4.5-rc1 and removes no more needed dependency between DT and driver. > > Also, it fixes the Makefile so that it is really built when COMPILE_TEST is > set and

[PATCH v2] iio: Add IIO support for the DAC on the Apex Embedded Systems STX104

2016-02-08 Thread William Breathitt Gray
The Apex Embedded Systems STX104 is a 16-channel 16-bit analog input and 2-channel 16-bit analog output PC/104 card. The STX104 incorporates a large one mega-sample FIFO. This driver provides IIO support for the 2-channel DAC on the STX104. The base port addresses for the devices may be configured

Re: [RESEND2 PATCH 0/3] Fix kernel panic in dma-coherent

2016-02-08 Thread Mark Rutland
On Mon, Feb 08, 2016 at 05:30:49PM +, Brian Starkey wrote: > Hi, > > I'm resending these again to try and garner some interest. Without > this series, dma-coherent cannot be used on arm64 platforms. I think you need to characterize that a bit better. I see plenty of instances of 'dma-coherent

Re: [RFC 1/3] dt-bindings: soc: Add documentation for the MediaTek GCE unit

2016-02-08 Thread Matthias Brugger
On 22/01/16 04:38, Horng-Shyang Liao wrote: Hi Rob, On Wed, 2016-01-20 at 10:38 -0600, Rob Herring wrote: On Wed, Jan 20, 2016 at 01:14:38PM +0800, hs.l...@mediatek.com wrote: From: HS Liao This adds documentation for the MediaTek Global Command Engine (GCE) unit found in MT8173 SoCs. Sig

Re: [v4 01/14] scsi: ufs-qcom: add number of lanes per direction

2016-02-08 Thread Rob Herring
On Thu, Feb 04, 2016 at 12:36:07PM +0200, Yaniv Gardi wrote: > Different platform may have different number of lanes > for the UFS link. > Add parameter to device tree specifying how many lanes > should be configured for the UFS link. > > Signed-off-by: Gilad Broner > Signed-off-by: Yaniv Gardi

[PATCH 3/3] ARM: omap2plus_defconfig: Enable TI TVP5150 video decoder support

2016-02-08 Thread Javier Martinez Canillas
Many OMAP3 boards have a TVP5150/1 video decoder attached to the OMAP3 ISP so enable support for its driver as a module to be able to test it. Signed-off-by: Javier Martinez Canillas --- arch/arm/configs/omap2plus_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/o

Re: [PATCH 2/2] KVM: x86: allow BSP to handle INIT IPIs like APs do

2016-02-08 Thread Jan Kiszka
On 2016-02-08 18:38, Bruce Rogers wrote: On 2/8/2016 at 10:27 AM, Bruce Rogers wrote: > On 2/8/2016 at 09:40 AM, Paolo Bonzini wrote: >> >>> >>> On 08/02/2016 17:33, Bruce Rogers wrote: KVM_MP_STATE_INIT_RECEIVED is what Intel calls the "wait for SIPI" state.

[PATCH 0/3] ARM: omap2plus_defconfig: Enable OMAP3 ISP and dependencies

2016-02-08 Thread Javier Martinez Canillas
Hello, This small series enables all the Kconfig symbols needed to test the OMAP3 ISP on the IGEPv2 board. I've enabled as much as possible as a module and only as built-in the options that are boolean. Best regards, Javier Javier Martinez Canillas (3): ARM: omap2plus_defconfig: Enable OMAP I

[PATCH 2/3] ARM: omap2plus_defconfig: Enable ISP support and dependencies

2016-02-08 Thread Javier Martinez Canillas
The OMAP3 SoC has a Image Signal Processor (ISP) that's used to accelerate camera images processing. The ISP driver implements V4L2, Media Controller and V4L2 sub-dev interfaces so enable support for the driver and all these dependencies to allow video capture to be tested using this HW IP block.

[PATCH 1/3] ARM: omap2plus_defconfig: Enable OMAP IOMMU support

2016-02-08 Thread Javier Martinez Canillas
OMAP3 media platform drivers (i.e: omap3isp) needs IOMMU support so enable it to be able to test the OMAP3 Image Signal Processor (ISP). Signed-off-by: Javier Martinez Canillas --- arch/arm/configs/omap2plus_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/ar

[PATCH v2] staging: most: return proper error

2016-02-08 Thread Sudip Mukherjee
We were returning ENOMEM on all types of errors. Lets return the actual error code. At the same time remove the label which became unused as a result of this patch. Signed-off-by: Sudip Mukherjee --- v1 failed to apply due to some other changes. drivers/staging/most/mostcore/core.c | 27 ++

[PATCH 1/2] pinctrl: stm32: Remove dependency with DT bindings header files

2016-02-08 Thread Maxime Coquelin
Some macros where defined in DT bindings headers, whereas only used in the driver. This patch moves these macros to the driver side. Signed-off-by: Maxime Coquelin --- drivers/pinctrl/stm32/pinctrl-stm32.c | 2 -- drivers/pinctrl/stm32/pinctrl-stm32.h | 8 2 files changed, 8 insertions

[PATCH v5 1/3] x86: kallsyms: disable absolute percpu symbols on !SMP

2016-02-08 Thread Ard Biesheuvel
scripts/kallsyms.c has a special --absolute-percpu command line option which deals with the zero based per cpu offsets that are used when building for SMP on x86_64. This means that the option should only be passed in that case, so add a Kconfig symbol with the correct predicate, and use that inste

[PATCH v5 0/3] kallsyms base relative series

2016-02-08 Thread Ard Biesheuvel
This is v5 of my kallsyms base relative series, which addresses some issues reported on 32-bit architectures (ARM and Blackfin) and Tile-GX (64-bit) Changes since v4: - use a Kconfig symbol KALLSYMS_ABSOLUTE_PERCPU and set its default as appropriate rather than testing for X86_64 and SMP direct

Re: Fix ordering of ftrace/livepatch calls on module load and unload

2016-02-08 Thread Jessica Yu
+++ Josh Poimboeuf [08/02/16 11:48 -0600]: On Fri, Feb 05, 2016 at 10:08:15PM -0500, Jessica Yu wrote: As explained here [1], livepatch modules are failing to initialize properly because the ftrace coming module notifier (which calls ftrace_module_enable()) runs *after* the livepatch module noti

[PATCH v5 3/3] kallsyms: add support for relative offsets in kallsyms address table

2016-02-08 Thread Ard Biesheuvel
Similar to how relative extables are implemented, it is possible to emit the kallsyms table in such a way that it contains offsets relative to some anchor point in the kernel image rather than absolute addresses. On 64-bit architectures, it cuts the size of the kallsyms address table in half, sinc

[PATCH 2/2] pinctrl: stm32: Fix compile testing selection

2016-02-08 Thread Maxime Coquelin
While selecting the driver for compile testing seemed possible, the driver was not compiled because the driver directory was only added if ARCH_STM32 was selected. This patch now makes the pinctrl Makefile to add stm32 directory if PINCTRL_STM32 is selected. Signed-off-by: Maxime Coquelin --- d

[PATCH v5 2/3] kallsyms: don't overload absolute symbol type for percpu symbols

2016-02-08 Thread Ard Biesheuvel
Commit c6bda7c988a5 ("kallsyms: fix percpu vars on x86-64 with relocation") overloaded the 'A' (absolute) symbol type to signify that a symbol is not subject to dynamic relocation. However, the original A type does not imply that at all, and depending on the version of the toolchain, many A type sy

[PATCH V2 00/12] dtb: amd: Miscelleneous Updates for AMD Seattle DTS

2016-02-08 Thread Suravee Suthikulpanit
From: Suravee Suthikulpanit This patch series contains several updates for the AMD Seattle SOC DTS files. It also adds new board files for newer Overdrive and Linaro 96boards (Husky) platforms. Thanks, Suravee Changes from V1 (https://lkml.org/lkml/2016/1/27/1251): * Fix duplication in MAINTA

[PATCH V2 03/12] dtb: amd: Fix DMA ranges in device tree

2016-02-08 Thread Suravee Suthikulpanit
From: Suravee Suthikulpanit Fix DMA ranges of smb0 and pcie0 nodes in AMD Seattle SOC. Signed-off-by: Suravee Suthikulpanit --- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/amd/amd-seattle-soc.dt

[PATCH V2 08/12] dtb: amd: Add PERF CCN-504 device tree node

2016-02-08 Thread Suravee Suthikulpanit
From: Suravee Suthikulpanit Add PERF CCN-504 device tree node. Signed-off-by: Suravee Suthikulpanit --- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi b/arch/arm64/boot/dts/amd/amd-seattle-so

[PATCH V2 12/12] dtb: amd: Add support for AMD/Linaro 96Boards Enterprise Edition Server board

2016-02-08 Thread Suravee Suthikulpanit
From: Suravee Suthikulpanit Add device tree file for AMD/Linaro 96Boards Enterprise Edition Server (Husky) Board. This is based on the AMD Seattle Rev.B0 system Signed-off-by: Leo Duran Signed-off-by: Suravee Suthikulpanit --- arch/arm64/boot/dts/amd/Makefile | 3 +- arch/arm64/boot/dts/amd

[PATCH V2 11/12] dtb: amd: Add support for new AMD Overdrive boards

2016-02-08 Thread Suravee Suthikulpanit
From: Suravee Suthikulpanit Add device tree files for AMD Overdrive boards which comes with AMD Seattle Revision B0 and B1 SOCs. Signed-off-by: Tom Lendacky Signed-off-by: Suravee Suthikulpanit --- arch/arm64/boot/dts/amd/Makefile | 3 +- arch/arm64/boot/dts/amd/amd-overdrive

Re: Fix ordering of ftrace/livepatch calls on module load and unload

2016-02-08 Thread Jiri Kosina
On Mon, 8 Feb 2016, Jessica Yu wrote: > > 1. split up complete_formation() > > 2. set MODULE_STATE_GOING before calling going notifiers in error path > > 3. remove ftrace module notifier > > 4. remove livepatch module notifier > > Sure, I'll do that. Also, please when sending out v4, don't forge

[PATCH V2 06/12] dtb: amd: Misc changes for SATA device tree nodes

2016-02-08 Thread Suravee Suthikulpanit
From: Suravee Suthikulpanit Add new SATA1 device node, and fix the register range size of SATA0. Signed-off-by: Tom Lendacky Signed-off-by: Suravee Suthikulpanit --- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/a

[PATCH V2 07/12] dtb: amd: Misc changes for GPIO devices

2016-02-08 Thread Suravee Suthikulpanit
From: Suravee Suthikulpanit Add new GPIO device nodes and fix clock on gpio0. Signed-off-by: Suravee Suthikulpanit --- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 49 +--- 1 file changed, 45 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/amd/amd-seat

[PATCH V2 04/12] dtb: amd: Fix typo in SPI device nodes

2016-02-08 Thread Suravee Suthikulpanit
From: Suravee Suthikulpanit Remove invalid entry in the SPI device nodes. Signed-off-by: Suravee Suthikulpanit --- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi b/arch/arm64/boot/dts/amd/amd-seatt

[PATCH V2 09/12] dtb: amd: Add KCS device tree node

2016-02-08 Thread Suravee Suthikulpanit
From: Brijesh Singh Add KCS device node to support IPMI solution on Overdrive system. Signed-off-by: Brijesh Singh Signed-off-by: Suravee Suthikulpanit --- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/amd/amd

[PATCH V2 05/12] dtb: amd: Misc changes for I2C device nodes

2016-02-08 Thread Suravee Suthikulpanit
From: Suravee Suthikulpanit Add new i2c1 device node, and fix the incorrect clock frequency. Signed-off-by: Tom Lendacky Signed-off-by: Suravee Suthikulpanit --- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm

[PATCH V2 10/12] dtb: amd: Add AMD XGBE device tree file

2016-02-08 Thread Suravee Suthikulpanit
From: Tom Lendacky Add AMD XGBE device tree file, which is available in AMD Seattle RevB. Signed-off-by: Tom Lendacky --- MAINTAINERS | 1 + arch/arm64/boot/dts/amd/amd-seattle-xgbe-b.dtsi | 117 2 files changed, 118 insertions(+)

[PATCH V2 02/12] dtb: amd: Fix GICv2 hypervisor and virtual interface sizes

2016-02-08 Thread Suravee Suthikulpanit
From: Brijesh Singh This patch fixes incorrect sizes of the GICv2 device tree node. This has triggered error message when booting Xen hypervisor. Signed-off-by: Brijesh Singh Signed-off-by: Suravee Suthikulpanit --- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 4 ++-- 1 file changed, 2 inse

[PATCH 0/2] pinctrl: stm32; Fix build issue in -next and make compile-testing possible

2016-02-08 Thread Maxime Coquelin
This two-patches series fixes two problems on stm32 pinctrl driver: 1 - As reported by Arnd, there is a missing dependency with DT Bindings headers on Linus' pinctrl/devel branch. This dependency is in fact not needed, so the first patch removes it. 2 - The driver could be selected

Re: [RESEND2 PATCH 0/3] Fix kernel panic in dma-coherent

2016-02-08 Thread Robin Murphy
Hi Mark, On 08/02/16 17:50, Mark Rutland wrote: On Mon, Feb 08, 2016 at 05:30:49PM +, Brian Starkey wrote: Hi, I'm resending these again to try and garner some interest. Without this series, dma-coherent cannot be used on arm64 platforms. I think you need to characterize that a bit bette

[PATCH V2 01/12] MAINTAINERS: Adding Maintainers for AMD Seattle Device Tree

2016-02-08 Thread Suravee Suthikulpanit
From: Suravee Suthikulpanit Adding maintainers for AMD Seattle device tree. Signed-off-by: Brijesh Singh Signed-off-by: Suravee Suthikulpanit Signed-off-by: Tom Lendacky --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7f1fa4f..e349a3

[PATCH] MIPS: Always page align TASK_SIZE

2016-02-08 Thread Harvey Hunt
STACK_TOP_MAX is aligned on a 32k boundary. When __bprm_mm_init() creates an initial stack for a process, it does so using STACK_TOP_MAX as the end of the vma. A process's arguments and environment information are placed on the stack and then the stack is relocated and aligned on a page boundary. W

Re: [RESEND2 PATCH 0/3] Fix kernel panic in dma-coherent

2016-02-08 Thread Mark Rutland
On Mon, Feb 08, 2016 at 05:59:25PM +, Robin Murphy wrote: > Hi Mark, > > On 08/02/16 17:50, Mark Rutland wrote: > >On Mon, Feb 08, 2016 at 05:30:49PM +, Brian Starkey wrote: > >>Hi, > >> > >>I'm resending these again to try and garner some interest. Without > >>this series, dma-coherent ca

Re: [PATCH] af_unix: Don't set err in unix_stream_read_generic unless there was an error

2016-02-08 Thread Rainer Weikusat
The present unix_stream_read_generic contains various code sequences of the form err = -EDISASTER; if () goto out; This has the unfortunate side effect of possibly causing the error code to bleed through to the final out: return copied ? : err; and then to be wrongly returned if

[PATCH v2] x86/setup: Merge {early_,}reserve_initrd() to one function

2016-02-08 Thread Alexander Kuleshov
The check and definitions related to ramdisk are similar in the early_reserve_initrd() and reserve_initrd(). So we can get rid of early_reserve_initrd() and and use late or early algorithm for initrd reservation depends on reserve_initrd() parameter value. Save 396 bytes of code: text

Re: [PATCH 2/3] staging: most: return proper error

2016-02-08 Thread Sudip Mukherjee
On Sun, Feb 07, 2016 at 02:14:56PM -0800, Greg Kroah-Hartman wrote: > On Sun, Nov 22, 2015 at 10:30:55PM +0530, Sudip Mukherjee wrote: > > We were returning ENOMEM on all types of errors. Lets return the actual > > error code. At the same time remove the label which became unused as a > > result of

Re: [PATCH] MIPS: Always page align TASK_SIZE

2016-02-08 Thread David Daney
On 02/08/2016 10:05 AM, Harvey Hunt wrote: STACK_TOP_MAX is aligned on a 32k boundary. When __bprm_mm_init() creates an initial stack for a process, it does so using STACK_TOP_MAX as the end of the vma. A process's arguments and environment information are placed on the stack and then the stack i

[PATCH] MAINTAINERS: Add DT bindings to regulator framework entry

2016-02-08 Thread Javier Martinez Canillas
The regulators DT bindings docs and shared headers used by regulator drivers and DTS are not listed as files for the regulator subsystem. So developers may not know who should receive patches to these dirs unless they rely on the get_maintainer.pl git-fallback option which usually makes more harm

Re: [PATCH] Kbuild: provide a __UNIQUE_ID for clang

2016-02-08 Thread Michal Marek
On Mon, Feb 08, 2016 at 03:38:32PM +0100, Arnd Bergmann wrote: > The default __UNIQUE_ID macro in compiler.h fails to work for some drivers: > > drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:615:1: error: > redefinition of > '__UNIQUE_ID_firmware615' > BRCMF_FW_NVRAM_DEF(4354, "br

Re: [PATCH v2] ata: add AMD Seattle platform driver

2016-02-08 Thread Brijesh Singh
Hi Arnd, On 02/05/2016 11:23 AM, Brijesh Singh wrote: > Hi, > >>> } >>> >>> Windows driver folks were okay to look at second resource field to map the >>> SGPIO register and program the >>> registers to blink the LEDs. I think as per ACPI spec, its legal to pass >>> more than one block in resou

Re: [PATCH] MIPS: Always page align TASK_SIZE

2016-02-08 Thread Harvey Hunt
Hi David, On 02/08/2016 10:11 AM, David Daney wrote: On 02/08/2016 10:05 AM, Harvey Hunt wrote: STACK_TOP_MAX is aligned on a 32k boundary. When __bprm_mm_init() creates an initial stack for a process, it does so using STACK_TOP_MAX as the end of the vma. A process's arguments and environment i

Re: [PATCH] arm64: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL

2016-02-08 Thread Catalin Marinas
On Fri, Feb 05, 2016 at 03:50:18PM -0800, Yang Shi wrote: > To enable UBSAN on arm64, ARCH_HAS_UBSAN_SANITIZE_ALL need to be selected. > > Basic kernel bootup test is passed on arm64 with CONFIG_UBSAN_SANITIZE_ALL > enabled. > > Signed-off-by: Yang Shi Applied. Thanks. -- Catalin

Re: [PATCH V4 1/6] regmap: irq: add apis to unmap the mapped irq

2016-02-08 Thread Mark Brown
On Mon, Feb 08, 2016 at 10:26:20PM +0530, Laxman Dewangan wrote: > Adding Thomas in the discussion. > >This does not explain why anyone would ever want to use this interface > >(which was my question), why would anyone ever want to do this as a > >separate step? > OK, so you want to say that irq_

re:

2016-02-08 Thread Qatar Foundation
Dear Beneficiary, You have been selected to receive €950,000.00 EURO as charity donations aid of the Qatar Foundation. Reply back for information and claims. Reply to: w.d1...@gmx.com Yours sincerely, Mr. Rashid Al-Naimi. The Chief Executive Officer of Qatar Foundation Endowment.

Re: [PATCH 7/8] [media] tvp5150: document input connectors DT bindings

2016-02-08 Thread Javier Martinez Canillas
Hello, I noticed that I missed the DT folks in the cc list so I'm adding them now, sorry for the noise... On 02/05/2016 04:09 PM, Javier Martinez Canillas wrote: The tvp5150 decoder has different input connectors so extend the device tree binding to allow device tree source files to define the

Freezing system after kernel 3.2

2016-02-08 Thread Karsten Malcher
Hello, i am sorry, but is it possible that a kernel bug for a special chipset is alive since kernel 3.2? I have a backup PC with an Asrock ALiveXFire eSATA2 R3.0 mainboard with CPU AMD64 X2 6000+. Before this mainboard runs very stable with Debian wheezy and kernel 3.2.0. Now i tried to update

Re: [PATCH] MIPS: Always page align TASK_SIZE

2016-02-08 Thread David Daney
On 02/08/2016 10:15 AM, Harvey Hunt wrote: Hi David, On 02/08/2016 10:11 AM, David Daney wrote: On 02/08/2016 10:05 AM, Harvey Hunt wrote: STACK_TOP_MAX is aligned on a 32k boundary. When __bprm_mm_init() creates an initial stack for a process, it does so using STACK_TOP_MAX as the end of the

Re: [PATCH 3/5] irqchip/gic-v2: Parse and export virtual GIC information

2016-02-08 Thread Marc Zyngier
Julien, On 08/02/16 16:47, Julien Grall wrote: > For now, the firmware tables are parsed 2 times: once in the GIC > drivers, the other timer when initializing the vGIC. It means code > duplication and make more tedious to add the support for another > firmware table (like ACPI). > > Introduce a n

[PATCH 0/3] ACPI 6.1 NFIT Compatibility

2016-02-08 Thread Dan Williams
The latest NFIT specification clarifies that a memory device will have a control region table per function interface. Without the fix in [PATCH 1/3] Linux will miscount the number of DIMMs and fail to load the driver. The fix is tagged for -stable on the expectation that ACPI 6.1 compatible syste

[PATCH 1/3] nfit: fix multi-interface dimm handling, acpi6.1 compatibility

2016-02-08 Thread Dan Williams
ACPI 6.1 clarified that multi-interface dimms require multiple control region entries (DCRs) per dimm. Previously we were assuming that a control region is only present when block-data-windows are present. This implementation was done with an eye to be compatibility with the looser ACPI 6.0 interp

Salvator-X ravb failure with v4.5-rc3 due to irqchip power down

2016-02-08 Thread Geert Uytterhoeven
On r8a7795/salvator-x, ravb Ethernet fails on v4.5-rc3 with: ravb e680.ethernet eth0: limited PHY to 100Mbit/s Micrel KSZ9031 Gigabit PHY e680.etherne:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=e680.etherne:00, irq=202) ata1: link resume succeede

[PATCH 3/3] nfit, tools/testing/nvdimm: test multiple control regions per-dimm

2016-02-08 Thread Dan Williams
ACPI 6.1 clarifies that "The system shall include an NVDIMM Control Region Structure for every Function Interface in the NVDIMM." Implement this clarification in nfit_test. Signed-off-by: Dan Williams --- tools/testing/nvdimm/test/nfit.c | 118 ++ 1 file chan

[PATCH 2/3] nfit, tools/testing/nvdimm: add format interface code definitions

2016-02-08 Thread Dan Williams
ACPI 6.1 and JEDEC Annex L Release 3 formalize the format interface code. Add definitions and update their usage in the unit test. Signed-off-by: Dan Williams --- drivers/acpi/nfit.h |6 ++ tools/testing/nvdimm/test/nfit.c |7 ++- 2 files changed, 12 insertions(+),

Re: [PATCH 2/2] dax: move writeback calls into the filesystems

2016-02-08 Thread Ross Zwisler
On Sun, Feb 07, 2016 at 11:13:51AM -0800, Dan Williams wrote: > The proposal: make applications explicitly request DAX semantics with > a new MAP_DAX flag and fail if DAX is unavailable. Document that a > successful MAP_DAX request mandates that the application assumes > responsibility for cpu cac

Re: [PATCH net v3 2/4] net: add rx_nohandler stat counter

2016-02-08 Thread Jarod Wilson
On Sun, Feb 07, 2016 at 12:19:28PM -0800, Eric Dumazet wrote: > On Sun, 2016-02-07 at 14:46 -0500, David Miller wrote: > > > > Why was this userspace ABI change allowed? > > > The stats structure is exposed to user space via netlink > > > and changing the size of responses will break iproute2 comm

Re: [PATCH] af_unix: Don't set err in unix_stream_read_generic unless there was an error

2016-02-08 Thread Sergei Shtylyov
Hello. On 02/08/2016 06:33 PM, Rainer Weikusat wrote: The present unix_stream_read_generic contains various code sequences of the form err = -EDISASTER; if () goto out; This has the unfortunate side effect of possibly causing the error code to bleed through to the final out:

Re: [PATCH] iio: adc: Move mxs-lradc out of staging

2016-02-08 Thread Jonathan Cameron
On 06/02/16 22:23, Ksenija Stanojevic wrote: > Move mxs-lradc driver from drivers/staging/iio/adc to drivers/iio/adc. > > Signed-off-by: Ksenija Stanojevic Given the input elements in here, cc'ing linux-input and Dmitry. Will probably be the weekend before I get a chance to look at this. Jonath

Re: [PATCH] iio: Fix documentation for iio_dev mlock

2016-02-08 Thread Jonathan Cameron
On 08/02/16 15:03, Daniel Baluta wrote: > mlock *must* be used by core and drivers to protect access > to devices state changes. > > Signed-off-by: Daniel Baluta Applied. Thanks for cleaning this up. Jonathan > --- > At a first glance there are few places where access to iio_dev > state changes

Re: [RESEND2 PATCH 1/3] memremap: add MEMREMAP_WC flag

2016-02-08 Thread Greg Kroah-Hartman
On Mon, Feb 08, 2016 at 05:30:50PM +, Brian Starkey wrote: > Add a flag to memremap() for writecombine mappings. Mappings satisfied > by this flag will not be cached, however writes may be delayed or > combined into more efficient bursts. This is most suitable for > buffers written sequentially

[PATCH 3/3] MIPS: Fix uapi include in exported asm/siginfo.h

2016-02-08 Thread James Hogan
Since commit 8cb48fe169dd ("MIPS: Provide correct siginfo_t.si_stime"), MIPS' uapi/asm/siginfo.h has included uapi/asm-generic/siginfo.h directly before defining MIPS' struct siginfo, in order to get the necessary definitions needed for the siginfo struct without the generic copy_siginfo() hitting

Re: [PATCH v2 07/16] dell-smbios: don't return an SMBIOS buffer from dell_smbios_send_request()

2016-02-08 Thread Darren Hart
On Fri, Jan 22, 2016 at 03:27:19PM +0100, Michał Kępień wrote: > An SMBIOS buffer pointer does not need to be returned by > dell_smbios_send_request(), because SMBIOS call results are stored in > the buffer passed as input. This should come before 6/16, update the commit message to reflect the mod

[PATCH 1/3] MIPS: Fix siginfo.h to use strict posix types

2016-02-08 Thread James Hogan
Commit 85efde6f4e0d ("make exported headers use strict posix types") changed the asm-generic siginfo.h to use the __kernel_* types, and commit 3a471cbc081b ("remove __KERNEL_STRICT_NAMES") make the internal types accessible only to the kernel, but the MIPS implementation hasn't been updated to matc

[PATCH 2/3] signal: Move generic copy_siginfo() to signal.h

2016-02-08 Thread James Hogan
The generic copy_siginfo() is currently defined in asm-generic/siginfo.h, after including uapi/asm-generic/siginfo.h which defines the generic struct siginfo. However this makes it awkward for an architecture to use it if it has to define its own struct siginfo (e.g. MIPS and potentially IA64), sin

[PATCH 0/3] MIPS: Fix exported asm/siginfo.h breakage

2016-02-08 Thread James Hogan
These patches fix some issues with the asm/siginfo.h that MIPS exports in its headers. Primarily the include of another uapi/ header since v4.0 (patches 2 & 3), and also the continued use of non-strict posix types since they were removed from the generic siginfo.h (patch 1). James Hogan (3): MIP

[PATCH] af_unix: Don't set err in unix_stream_read_generic unless there was an error

2016-02-08 Thread Rainer Weikusat
The present unix_stream_read_generic contains various code sequences of the form err = -EDISASTER; if () goto out; This has the unfortunate side effect of possibly causing the error code to bleed through to the final out: return copied ? : err; and then to be wrongly returned if

Re: [PATCH 3/9] staging: lowmemorykiller: Fix task_struct leak

2016-02-08 Thread John Stultz
On Sun, Feb 7, 2016 at 2:49 PM, Greg KH wrote: > On Fri, Jan 29, 2016 at 10:07:32PM -0800, John Stultz wrote: >> From: San Mehat >> >> As it turns out, the CONFIG_PROFILING interfaces leak a >> task struct if the notifier chain returns NOTIFY_OK.. doh. >> >> This patch reworks lowmemkiller to use

Where is nilfs2 fsck

2016-02-08 Thread David Niklas
Alas, my beautiful fs has become damaged and fsck does nothing, I think it's a nop. What is wrong, something in the btree, the original message was in syslog but it seems to have rotated, I could tell you but I'd have to cause my kernel to remount my home dir RO, which is not acceptable at this tim

Re: [PATCH v4 1/8] dt-bindings: Add a binding for Mediatek Video Processor

2016-02-08 Thread Rob Herring
On Thu, Feb 04, 2016 at 07:34:56PM +0800, Tiffany Lin wrote: > From: Andrew-CT Chen > > Add a DT binding documentation of Video Processor Unit for the > MT8173 SoC from Mediatek. > > > Signed-off-by: Andrew-CT Chen > Signed-off-by: Tiffany Lin > --- > .../devicetree/bindings/media/mediatek-v

Re: [PATCH v8 2/4] perf inject: add jitdump mmap injection support

2016-02-08 Thread Stephane Eranian
: jvmti: jitdump in /home/eranian/.debug/jit/java-jit-20160208.XX8wCwyY/jit-20156.dump java: FILE_NAME: Object.java java: FILE_NAME: String.java java: FILE_NAME: String.java java: FILE_NAME: String.java java: FILE_NAME: String.java java: FILE_NAME: String.java java: FILE_NAME: System.java java

Re: [PATCH v4 4/8] dt-bindings: Add a binding for Mediatek Video Encoder

2016-02-08 Thread Rob Herring
On Thu, Feb 04, 2016 at 07:34:59PM +0800, Tiffany Lin wrote: > Add a DT binding documentation of Video Encoder for the > MT8173 SoC from Mediatek. > > Signed-off-by: Tiffany Lin > --- > .../devicetree/bindings/media/mediatek-vcodec.txt | 59 > > 1 file changed, 59 insert

Re: [PATCH] of: Add United Radiant Technology Corporation vendor prefix

2016-02-08 Thread Rob Herring
On Fri, Feb 05, 2016 at 12:19:56AM +0100, Maciej S. Szmigiero wrote: > Add vendor prefix for United Radiant Technology Corporation, > a provider of liquid crystal display technologies. > > Signed-off-by: Maciej S. Szmigiero > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1

Re: [PATCHv9 3/4] ARM: socfpga: enable L2 cache ECC on startup

2016-02-08 Thread Dinh Nguyen
On 01/27/2016 10:13 AM, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > This patch enables the ECC for L2 cache on machine startup. The ECC has to > be enabled before data is stored in memory otherwise the ECC will fail on > reads. > > Signed-off-by: Thor Thayer > --- > v9: Impro

[PATCH] trace, kasan: silence Kasan warning in check_stack

2016-02-08 Thread Yang Shi
When enabling stack trace via "echo 1 > /proc/sys/kernel/stack_tracer_enabled", the below KASAN warning is triggered: BUG: KASAN: stack-out-of-bounds in check_stack+0x344/0x848 at addr ffc0689ebab8 Read of size 8 by task ksoftirqd/4/29 page:ffbdc3a27ac0 count:0 mapcount:0 mapping:

Re: [PATCHv9 4/4] ARM: socfpga: Enable OCRAM ECC on startup

2016-02-08 Thread Dinh Nguyen
On 01/27/2016 10:13 AM, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > This patch enables the ECC for On-Chip RAM on machine startup. The ECC > has to be enabled before data is stored in memory otherwise the ECC will > fail on reads. > > Signed-off-by: Thor Thayer > --- > v9: Im

Re: [PATCH 4/5] drivers/pci: make host/pci-keystone-dw.c modular

2016-02-08 Thread Murali Karicheri
On 02/08/2016 10:53 AM, Paul Gortmaker wrote: > [Re: [PATCH 4/5] drivers/pci: make host/pci-keystone-dw.c modular] On > 08/02/2016 (Mon 10:59) Arnd Bergmann wrote: > >> On Sunday 07 February 2016 19:00:43 Paul Gortmaker wrote: >>> Export the symbols that this driver requires in order for it to >>

Re: [PATCH RFC 1/1] numa: fix /proc//numa_maps for THP

2016-02-08 Thread Gerald Schaefer
On Fri, 5 Feb 2016 17:03:17 +0100 Gerald Schaefer wrote: > On Fri, 5 Feb 2016 07:38:09 -0800 > Dave Hansen wrote: > > > On 02/05/2016 07:34 AM, Gerald Schaefer wrote: > > > +static struct page *can_gather_numa_stats_pmd(pmd_t pmd, > > > + struct vm_area_str

[PATCH v4 0/2] add support for DWC UFS Controller

2016-02-08 Thread Joao Pinto
The work consisted of: - Fixed typo in ufshcd-pltfrm.c - Tweak ufshcd.c for UFS 2.0 support - Implement ufshcd-dwc which contains all DWC HW specific code - Unipro attributes were added and new registers were added to the driver - Implement a ufs-dwc glue platform driver - Implement a ufs-dwc-pci g

[PATCH v4 1/2] fixed typo in ufshcd-pltfrm

2016-02-08 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto --- Changes v0->v4: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufshcd-

[PATCH v4 2/2] add support for DWC UFS Host Controller

2016-02-08 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto --- Changes v3->v4 (Arnd Bergmann and Mark Rutland): - SCSI_UFS_DWC_HOOKS is now silent and selected by the SCSI_UFS_DWC_PLAT or SCSI_U

Re: [PATCH] locking/static_keys: avoid nested functions

2016-02-08 Thread Jason Baron
On 02/08/2016 09:36 AM, Arnd Bergmann wrote: > clang does not support nested functions inside of an array definition: > > lib/test_static_keys.c:105:16: error: function definition is not allowed here > .test_key = test_key_func(&old_true_key, > static_key_true), > li

Re: [PATCH 1/3] nfit: fix multi-interface dimm handling, acpi6.1 compatibility

2016-02-08 Thread Linda Knippers
On 2/8/2016 1:30 PM, Dan Williams wrote: > ACPI 6.1 clarified that multi-interface dimms require multiple control > region entries (DCRs) per dimm. Previously we were assuming that a > control region is only present when block-data-windows are present. We need to give this a quick test with NVDIM

RE: [PATCH v4] iio: adc: Add TI ADS1015 ADC driver support

2016-02-08 Thread Sricharan
Hi, > -Original Message- > From: Michael Welling [mailto:mwellin...@gmail.com] On Behalf Of Michael > Welling > Sent: Monday, February 08, 2016 10:07 PM > To: Wolfram Sang > Cc: Daniel Baluta; Jonathan Cameron; Hartmut Knaack; Lars-Peter Clausen; > Peter Meerwald-Stadler; Linux Kernel Mail

Re: [PATCH 6/7] [PATCH] MIPS: OCTEON: Add support for OCTEON III interrupt controller.

2016-02-08 Thread Rob Herring
On Thu, Feb 04, 2016 at 04:42:53PM -0800, David Daney wrote: > From: David Daney > > Add irq_chip support for both IPI and "normal" interrupts of the CIU3 > controller. Document the device tree binding for the CIU3. > > Signed-off-by: David Daney > Cc: Rob Herring > Cc: Pawel Moll > Cc: Mark

Re: [PATCH v2 2/2] debugfs: prevent access to removed files' private data

2016-02-08 Thread Greg Kroah-Hartman
On Mon, Feb 08, 2016 at 06:14:58PM +0100, Nicolai Stange wrote: > Greg Kroah-Hartman writes: > > > On Mon, Feb 08, 2016 at 04:03:27PM +0100, Nicolai Stange wrote: > >> Upon return of debugfs_remove()/debugfs_remove_recursive(), it might > >> still be attempted to access associated private file da

Re: [PATCH v4] iio: adc: Add TI ADS1015 ADC driver support

2016-02-08 Thread Michael Welling
On Tue, Feb 09, 2016 at 12:41:35AM +0530, Sricharan wrote: > Hi, > > > -Original Message- > > From: Michael Welling [mailto:mwellin...@gmail.com] On Behalf Of Michael > > Welling > > Sent: Monday, February 08, 2016 10:07 PM > > To: Wolfram Sang > > Cc: Daniel Baluta; Jonathan Cameron; Hart

Re: [PATCH v2 00/16] Common Dell SMBIOS API

2016-02-08 Thread Darren Hart
On Fri, Jan 22, 2016 at 03:48:51PM +0100, Pali Rohár wrote: > On Friday 22 January 2016 15:27:12 Michał Kępień wrote: > > Note: > > > > In this series (both v1 and v2) I tried to stick to the overall > > concept used in dell-laptop, but in the v1 thread me and Pali also > > briefly dis

Re: [PATCH 2/2] dax: move writeback calls into the filesystems

2016-02-08 Thread Dan Williams
On Mon, Feb 8, 2016 at 10:31 AM, Ross Zwisler wrote: > On Sun, Feb 07, 2016 at 11:13:51AM -0800, Dan Williams wrote: >> The proposal: make applications explicitly request DAX semantics with >> a new MAP_DAX flag and fail if DAX is unavailable. Document that a >> successful MAP_DAX request mandate

Re: [PATCH v6 2/7] dt-bindings: ARM: Mediatek: Document bindings for MT2701

2016-02-08 Thread Rob Herring
On Fri, Feb 05, 2016 at 05:37:25PM +0800, James Liao wrote: > This patch adds the binding documentation for apmixedsys, bdpsys, > ethsys, hifsys, imgsys, infracfg, mmsys, pericfg, topckgen and > vdecsys for Mediatek MT2701. > > Signed-off-by: James Liao > Tested-by: John Crispin > --- > .../bin

Re: How to add additional blacklist entries?

2016-02-08 Thread Mimi Zohar
On Mon, 2016-02-08 at 16:43 +, David Howells wrote: > Mimi Zohar wrote: > > > > > Right, this patch makes the system blacklist keyring writable by > > > > userspace and removes the IMA blacklist. What I don't understand is how > > > > to add a key that is currently on the IMA keyring to the

Re: [PATCH v2 00/16] Common Dell SMBIOS API

2016-02-08 Thread Lukas Wunner
Hi, On Mon, Feb 08, 2016 at 11:20:14AM -0800, Darren Hart wrote: > My only major concern is module load order dependencies. Inter-module > dependencies are frowned upon with good reason, the kernel load ordering is > non-deterministic and it's possible, for example, for dell-laptop to fail to > fi

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