[PATCH 0/6] x86/RAS: Correctable Errors Collector

2017-03-27 Thread Borislav Petkov
From: Borislav Petkov Hi guys, here's v1, all feedback I know of has been addressed. So I guess it is time. :) We don't have it default y yet but will make it so after it has seen wider testing. The end goal is to have it running by default so that transient correctable ECC errors don't generat

[PATCH] ARM: dts: at91: sama5d2: add dma properties to UART nodes

2017-03-27 Thread Alexandre Belloni
From: Nicolas Ferre commit b1708b72a0959a032cd2eebb77fa9086ea3e0c84 upstream The dmas/dma-names properties are added to the UART nodes. Note that additional properties are needed to enable them at the board level: check bindings for details. Cc: # 4.4.x Signed-off-by: Nicolas Ferre Signed-off

[PATCH 1/6] x86/mce: Don't print MCEs when mcelog is active

2017-03-27 Thread Borislav Petkov
From: Andi Kleen Since cd9c57cad3fe ("x86/MCE: Dump MCE to dmesg if no consumers") all MCEs are printed even when mcelog is running. Fix the regression to not print to dmesg when mcelog is running as it is a consumer too. Signed-off-by: Andi Kleen Cc: sta...@vger.kernel.org # 4.10.. Cc: Ton

[PATCH 2/6] x86/MCE: Rename mce_log()'s argument

2017-03-27 Thread Borislav Petkov
From: Borislav Petkov We call it everywhere "struct mce *m". Adjust that here too to avoid confusion. No functionality change. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/mcheck/mce.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/cpu/mc

[PATCH 4/6] RAS: Add a Corrected Errors Collector

2017-03-27 Thread Borislav Petkov
From: Borislav Petkov A simple data structure for collecting correctable errors along with accessors. More detailed description in the code itself. The error decoding is done with the decoding chain now and mce_first_notifier() gets to see the error first and the CEC decides whether to log it an

[PATCH v4 4/6] arm64: dts: rockchip: add core dtsi file for RK3328 SoCs

2017-03-27 Thread cl
From: Liang Chen This patch adds core dtsi file for Rockchip RK3328 SoCs. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 1275 ++ 1 file changed, 1275 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3328.dtsi diff --git a/

Re: [alsa-devel] [PATCH] ASoC: intel: remove unused variable data and associated code

2017-03-27 Thread Keyon Jie
On 2017年03月22日 22:36, Colin King wrote: From: Colin Ian King The variable 'data' is assigned null and never re-assigned. There is also a redundant check for data being non-null which is always false, so remove this and the variable data and dma_addr as they are not used once the dead code has

[PATCH v4 5/6] arm64: dts: rockchip: add dts file for RK3328

2017-03-27 Thread cl
From: Liang Chen This patch add rk3328-evb.dts for RK3328 evaluation board. Tested on RK3328 evb. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 57 + 2 files changed, 58 insertions(+)

[PATCH v4 3/6] dt-bindings: soc: rockchip: grf: add support for rk3328

2017-03-27 Thread cl
From: Liang Chen Signed-off-by: Liang Chen Acked-by: Rob Herring --- Documentation/devicetree/bindings/soc/rockchip/grf.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.txt b/Documentation/devicetree/bindings/soc/rockchip/grf.txt index

[PATCH v4 1/6] dt-bindings: iio: rockchip-saradc: add support for rk3328

2017-03-27 Thread cl
From: Liang Chen The rk3328 saradc is the same as rk3399. Signed-off-by: Liang Chen Reviewed-by: Heiko Stuebner Acked-by: Rob Herring --- Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iio/ad

[PATCH v4 0/6] initialize dtsi file and dts file for RK3328 SoCs

2017-03-27 Thread cl
From: Liang Chen Changes in v4: Remove some assigned-clocks as they should be inited in their respective device nodes. Changes in v3: Adjust some descriptions in dtsi. Changes in v2: Remove RK_FUNC_* in dtsi as it dose not help understand things better. Adjust the order of d

Re: [PATCH v5 3/7] regulator: rk808: Add regulator driver for RK805

2017-03-27 Thread Mark Brown
On Mon, Mar 27, 2017 at 02:21:41PM +0800, Elaine Zhang wrote: > Add support for the rk805 regulator. The regulator module consists > of 4 DCDCs, 3 LDOs. > > The output voltages are configurable and are meant to supply power > to the main processor and other components. Acked-by: Mark Brown sig

Re: [PATCHv2 2/2] drm/panel: simple: Add support for Winstar WF35LTIACD

2017-03-27 Thread Richard Genoud
2017-03-24 16:58 GMT+01:00 Rob Herring : > On Mon, Mar 20, 2017 at 02:32:22PM +0100, Richard Genoud wrote: >> This adds support for the Winstar Display Co. WF35LTIACD 3.5" QVGA TFT >> LCD panel, which can be supported by the simple panel driver. >> >> Signed-off-by: Richard Genoud >> --- >> >> Cha

[PATCH v3 1/2] iio: stm32 trigger: Add quadrature encoder device

2017-03-27 Thread Benjamin Gaignard
One of the features of STM32 trigger hardware block is a quadrature encoder that can counts up/down depending of the levels and edges of the selected external pins. This patch allow to read/write the counter, get it direction, set/get quadrature modes and get scale factor. When counting up preset

[PATCH v3 2/2] iio: stm32 trigger: Add counter enable modes

2017-03-27 Thread Benjamin Gaignard
Device counting could be controlled by the level or the edges of a trigger. in_count0_enable_mode attibute allow to set the control mode. Signed-off-by: Benjamin Gaignard --- .../ABI/testing/sysfs-bus-iio-timer-stm32 | 23 +++ drivers/iio/trigger/stm32-timer-trigger.c | 70

[PATCH v4 6/6] dt-bindings: document rockchip rk3328-evb board

2017-03-27 Thread cl
From: Liang Chen Use "rockchip,rk3328-evb" compatible string for Rockchip RK3328 evaluation board. Signed-off-by: Liang Chen Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/a

[PATCH v3 0/2] iio: stm32 trigger: Add quadrature device and counter

2017-03-27 Thread Benjamin Gaignard
A first encoder IIO driver (104-quad-8) with a count channel already exist. STM32 driver have the same type of feature but with different counting modes. Some parts, like counting direction (up/down) could be generalized so move the corresponding documentation from driver file to sysfs-bus-iio. ve

[PATCH v5 07/24] PCI: endpoint: functions: Add an EP function to test PCI

2017-03-27 Thread Kishon Vijay Abraham I
Adds a new endpoint function driver (to program the virtual test device) making use of the EP-core library. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/Kconfig | 2 + drivers/pci/endpoint/Makefile | 2 +- drivers/pci/endpoint/functions/Kcon

[GIT PULL] PCI: Support for configurable PCI endpoint

2017-03-27 Thread Kishon Vijay Abraham I
Hi Bjorn, Please find the pull request for PCI endpoint support below. I've also included all the history here. Changes from v4: *) add #syscon-cells property and used of_parse_phandle_with_args to perform a configuration in syscon module (as suggested by Rob Herring) *) Remove unnecessary

Re: [PATCH v10 00/11] uapi: export all headers under uapi directories

2017-03-27 Thread Nicolas Dichtel
Hi Masahiro, Le 27/03/2017 à 07:26, Masahiro Yamada a écrit : > Hi Nocolas, > > > 2017-03-24 18:03 GMT+09:00 Nicolas Dichtel : [snip] > > > As a whole, this series is amazing. Thanks for your great work! Thank you. And thank you for taking time to review it. > > > I added some comments, bu

[PATCH v5 05/24] PCI: endpoint: Create configfs entry for EPC device and EPF driver

2017-03-27 Thread Kishon Vijay Abraham I
Invoke API's provided by pci-ep-cfs to create configfs entry for every EPC device and EPF driver to help users in creating EPF device and binding the EPF device to the EPC device. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/pci-epc-core.c | 4 drivers/pci/endpoint/pci-epf

[PATCH v5 14/24] dt-bindings: mfd: syscon: Add documentation for #syscon-cells property

2017-03-27 Thread Kishon Vijay Abraham I
Add documentation for the optional #syscon-cells property to determine the number of cells that should be given in the phandle while referencing the syscon-node. Suggested-by: Rob Herring Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/mfd/syscon.txt | 2 ++ 1 file c

Re: [PATCH v10 07/11] btrfs_tree.h: fix include from userland

2017-03-27 Thread Nicolas Dichtel
Hi Masahiro, Le 27/03/2017 à 07:53, Masahiro Yamada a écrit : > Hi Nicolas, > > > 2017-03-14 21:54 GMT+09:00 Nicolas Dichtel : [snip] >> diff --git a/include/uapi/linux/btrfs_tree.h >> b/include/uapi/linux/btrfs_tree.h >> index 6a261cb52d95..6a754ada59af 100644 >> --- a/include/uapi/linux/btrfs

Re: [PATCH v10 01/11] h8300: put bitsperlong.h in uapi

2017-03-27 Thread Nicolas Dichtel
Le 27/03/2017 à 07:31, Masahiro Yamada a écrit : [snip] >> -#endif /* __ASM_H8300_BITS_PER_LONG */ >> diff --git a/arch/h8300/include/uapi/asm/bitsperlong.h >> b/arch/h8300/include/uapi/asm/bitsperlong.h >> new file mode 100644 >> index ..e56cf72369b6 >> --- /dev/null >> +++ b/arch/h83

[PATCH v5 06/24] Documentation: PCI: Add specification for the *pci test* function device

2017-03-27 Thread Kishon Vijay Abraham I
Add specification for the *pci test* virtual function device. The endpoint function driver and the host pci driver should be created based on this specification. Signed-off-by: Kishon Vijay Abraham I --- Documentation/PCI/00-INDEX | 2 + Documentation/PCI/endpoint/pci-test

[PATCH v5 22/24] Documentation: PCI: Add userguide for PCI endpoint test function

2017-03-27 Thread Kishon Vijay Abraham I
Add documentation to help users use pci-epf-test function driver and pci_endpoint_test host driver for testing PCI. Signed-off-by: Kishon Vijay Abraham I --- Documentation/PCI/00-INDEX| 2 + Documentation/PCI/endpoint/pci-test-howto.txt | 179 ++ 2 f

[PATCH v5 10/24] dt-bindings: PCI: Add dt bindings for pci designware EP mode

2017-03-27 Thread Kishon Vijay Abraham I
Add device tree binding documentation for pci designware EP mode. Acked-by: Rob Herring Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/pci/designware-pcie.txt| 26 +++--- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetr

[PATCH v5 21/24] tools: PCI: Add sample test script to invoke pcitest

2017-03-27 Thread Kishon Vijay Abraham I
Add a simple test script that invokes the pcitest userspace tool to perform all the PCI endpoint tests (BAR tests, interrupt tests, read tests, write tests and copy tests). Signed-off-by: Kishon Vijay Abraham I --- tools/pci/pcitest.sh | 56 1

[PATCH v5 17/24] PCI: Add device IDs for DRA74x and DRA72x

2017-03-27 Thread Kishon Vijay Abraham I
Add device IDs for DRA74x and DRA72x devices. These devices have configurable PCI endpoint. Signed-off-by: Kishon Vijay Abraham I --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index a4f77feecbb0..5f6b71d15393 1

[PATCH v5 04/24] Documentation: PCI: Guide to use pci endpoint configfs

2017-03-27 Thread Kishon Vijay Abraham I
Add Documentation to help users use pci endpoint to configure pci endpoint function and to bind the endpoint function with endpoint controller. Signed-off-by: Kishon Vijay Abraham I --- Documentation/PCI/00-INDEX | 2 + Documentation/PCI/endpoint/pci-endpoint-cfs.txt | 105

[PATCH v5 11/24] PCI: dwc: dra7xx: Facilitate wrapper and msi interrupts to be enabled independently

2017-03-27 Thread Kishon Vijay Abraham I
No functional change. Split dra7xx_pcie_enable_interrupts into dra7xx_pcie_enable_wrapper_interrupts and dra7xx_pcie_enable_msi_interrupts so that wrapper interrupts and msi interrupts can be enabled independently. This is in preparation for adding EP mode support to dra7xx driver since EP mode doe

[PATCH v5 24/24] ARM: DRA7: clockdomain: Change the CLKTRCTRL of CM_PCIE_CLKSTCTRL to SW_WKUP

2017-03-27 Thread Kishon Vijay Abraham I
The PCIe programming sequence in TRM suggests CLKSTCTRL of PCIe should be set to SW_WKUP. There are no issues when CLKSTCTRL is set to HW_AUTO in RC mode. However in EP mode, the host system is not able to access the MEMSPACE and setting the CLKSTCTRL to SW_WKUP fixes it. Acked-by: Tony Lindgren

Re: [PATCH] [media] coda: remove redundant call to v4l2_m2m_get_vq

2017-03-27 Thread Hans Verkuil
On 23/03/17 12:57, Colin King wrote: > From: Colin Ian King > > The call to v4ls_m2m_get_vq is only used to get the return value > which is not being used, so it appears to be redundant and can > be removed. > > Detected with CoverityScan, CID#1420674 ("Useless call") > > Signed-off-by: Colin I

[PATCH v5 13/24] dt-bindings: PCI: dra7xx: Add dt bindings for pci dra7xx EP mode

2017-03-27 Thread Kishon Vijay Abraham I
Add device tree binding documentation for pci dra7xx EP mode. Acked-by: Rob Herring Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/pci/ti-pci.txt | 37 +++- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/b

[PATCH v5 20/24] tools: PCI: Add a userspace tool to test PCI endpoint

2017-03-27 Thread Kishon Vijay Abraham I
Add a userspace tool to invoke the ioctls exposed by the PCI endpoint test driver to perform various PCI tests. Signed-off-by: Kishon Vijay Abraham I --- tools/pci/pcitest.c | 186 1 file changed, 186 insertions(+) create mode 100644 tools/pc

[PATCH v5 19/24] Documentation: misc-devices: Add Documentation for pci-endpoint-test driver

2017-03-27 Thread Kishon Vijay Abraham I
Add Documentation for pci-endpoint-test driver. Signed-off-by: Kishon Vijay Abraham I --- Documentation/misc-devices/pci-endpoint-test.txt | 35 1 file changed, 35 insertions(+) create mode 100644 Documentation/misc-devices/pci-endpoint-test.txt diff --git a/Documentat

Re: [PATCH v2 4/7] pinctrl: armada-37xx: Add gpio support

2017-03-27 Thread Gregory CLEMENT
Hi Linus, On lun., mars 27 2017, Linus Walleij wrote: > On Tue, Mar 21, 2017 at 7:28 PM, Gregory CLEMENT > wrote: > > You should add something to your Kconfig including: > > select GPIOLIB > select OF_GPIO > > or so... or depends on. You certainly need them. I missed it I will do it in v4.

[PATCH v2 04/22] PCI: fix pci_remap_iospace() remap attribute

2017-03-27 Thread Lorenzo Pieralisi
According to the PCI local bus specifications (Revision 3.0, 3.2.5), I/O Address space transactions are non-posted. On architectures where I/O space is implemented through a chunk of memory mapped space mapped to PCI address space (ie IA64/ARM/ARM64) the memory mapping for the region backing I/O Ad

[PATCH v2 01/22] PCI: remove __weak tag from pci_remap_iospace()

2017-03-27 Thread Lorenzo Pieralisi
pci_remap_iospace() is marked as a weak symbol even though no architecture is currently overriding it; given that its implementation internals have already code paths that are arch specific (ie PCI_IOBASE and ioremap_page_range() attributes) there is no need to leave the weak symbol in the kernel s

[PATCH v2 09/22] PCI: xilinx: update PCI config space remap function

2017-03-27 Thread Lorenzo Pieralisi
PCI configuration space should be mapped with a memory region type that generates on the CPU host bus non-posted write transations. Update the driver to use the devm_ioremap_nopost* interface to make sure the correct memory mappings for PCI configuration space are used. Signed-off-by: Lorenzo Pier

Re: [PULL REQUEST] mux for 4.12

2017-03-27 Thread Greg Kroah-Hartman
On Mon, Mar 27, 2017 at 10:30:44AM +0200, Peter Rosin wrote: > Hi Greg, > > Today seemed like a good day to send you the pull request for the new mux > controller subsystem. I hope the details are ok. If not, let me know and > I'll try to rework it. I also included some text for the merge commit,

[PATCH v2 02/22] asm-generic/io.h: add ioremap_nopost remap interface

2017-03-27 Thread Lorenzo Pieralisi
The PCI specifications (Rev 3.0, 3.2.5 "Transaction Ordering and Posting") mandate non-posted configuration transactions. As further highlighted in the PCIe specifications (4.0 - Rev0.3, "Ordering Considerations for the Enhanced Configuration Access Mechanism"), through ECAM and ECAM-derivative con

Re: [PATCH v3] block: trace completion of all bios.

2017-03-27 Thread NeilBrown
On Mon, Mar 27 2017, Christoph Hellwig wrote: > I don't really like the flag at all. I'd much prefer a __bio_endio > with a 'bool trace' flag. Also please remove the manual tracing in > dm.ċ. Once that is done I suspect we can also remove the > block_bio_complete export. Can you say why you do

[PATCH v2 00/22] PCI: fix config and I/O Address space memory mappings

2017-03-27 Thread Lorenzo Pieralisi
This patch series[1] is a v2 of a previous version: v1 -> v2: - Changed pci_remap_cfgspace() to more generic ioremap_nopost() interface - Added pgprot_nonposted - Fixed build errors on arches not relying on asm-generic headers - Added PCI versatile host co

[PATCH v2 07/22] PCI: ECAM: use ioremap_nopost() to map config region

2017-03-27 Thread Lorenzo Pieralisi
Current ECAM kernel implementation uses ioremap() to map the ECAM configuration space memory region; this is not safe in that on some architectures the ioremap interface provides mappings that allow posted write transactions. This, as highlighted in the PCIe specifications (4.0 - Rev0.3, "Ordering

[PATCH v2 03/22] asm-generic/pgtable.h: introduce pgprot_nonposted remap attribute

2017-03-27 Thread Lorenzo Pieralisi
According to the PCI local bus specifications (Revision 3.0, 3.2.5), I/O Address space transactions are non-posted. On architectures where I/O space is implemented through a chunk of memory mapped space mapped to PCI address space (ie IA64/ARM/ARM64) the memory mapping for the region backing I/O Ad

[PATCH v2 08/22] lib: implement Devres ioremap_nopost() interface

2017-03-27 Thread Lorenzo Pieralisi
The introduction of the ioremap_nopost() interface allows kernel drivers to map memory through a dedicated kernel interface providing non-posted writes semantics. Introduce two new functions in the Devres kernel layer and Devres documentation: - devm_ioremap_nopost() - devm_ioremap_nopost_resourc

[PATCH v5 16/24] dt-bindings: PCI: dra7xx: Add dt bindings to enable unaligned access

2017-03-27 Thread Kishon Vijay Abraham I
Update device tree binding documentation of TI's dra7xx PCI controller to include property for enabling unaligned mem access. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/pci/ti-pci.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetr

Re: [PATCH v10 11/11] uapi: export all arch specifics directories

2017-03-27 Thread Nicolas Dichtel
Hi Masahiro, Le 27/03/2017 à 07:27, Masahiro Yamada a écrit : > Hi Nicolas, > > > 2017-03-14 21:54 GMT+09:00 Nicolas Dichtel : >> diff --git a/arch/cris/include/uapi/asm/Kbuild >> b/arch/cris/include/uapi/asm/Kbuild >> index d0c5471856e0..b15bf6bc0e94 100644 >> --- a/arch/cris/include/uapi/asm/

[PATCH v2 16/22] PCI: designware: update PCI config space remap function

2017-03-27 Thread Lorenzo Pieralisi
PCI configuration space should be mapped with a memory region type that generates on the CPU host bus non-posted write transations. Update the driver to use the devm_ioremap_nopost* interface to make sure the correct memory mappings for PCI configuration space are used. Signed-off-by: Lorenzo Pier

[PATCH v2 05/22] ARM64: implement ioremap_nopost() interface

2017-03-27 Thread Lorenzo Pieralisi
The PCI bus specifications (rev 3.0, 3.2.5 "Transaction Ordering and Posting") defines rules for PCI configuration space transactions ordering and posting, that state that configuration writes are non-posted transactions. This rule is reinforced by the ARM v8 architecture reference manual (issue A

Re: locking/atomic: Introduce atomic_try_cmpxchg()

2017-03-27 Thread Peter Zijlstra
757(cmpxchg) 10726413(try_cmpxchg) 10730701(try_cmpxchg + likely) 10730509(try_cmpxchg + if) 10730445(try_cmpxchg-linus) GCC-7 (20170327): 10709514(cmpxchg) 10704266(try_cmpxchg) 10704458(try_cmpxchg + likely) 10704266(try_cmpxchg + if) 10704

[PATCH] staging: goldfish: Fix coding style issues

2017-03-27 Thread aviyae
fixing some coding style issues in goldfish audio driver >From 8368d1b6404d63da7d502f6cd2ce6b50c7ffa9b9 Mon Sep 17 00:00:00 2001 From: Aviya Erenfeld Date: Tue, 21 Mar 2017 00:07:19 +0200 Subject: [PATCH] staging: goldfish: Fix coding style issues Fix the coding style issues that raised by check

[PATCH v5 09/24] PCI: dwc: designware: Add EP mode support

2017-03-27 Thread Kishon Vijay Abraham I
Add endpoint mode support to designware driver. This uses the EP Core layer introduced recently to add endpoint mode support. *Any* function driver can now use this designware device in order to achieve the EP functionality. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/dwc/Kconfig

[PATCH v5 18/24] misc: Add host side pci driver for pci test function device

2017-03-27 Thread Kishon Vijay Abraham I
Add PCI endpoint test driver that can verify base address register, legacy interrupt/MSI interrupt and read/write/copy buffers between host and device. The corresponding pci-epf-test function driver should be used on the EP side. Signed-off-by: Kishon Vijay Abraham I --- drivers/misc/Kconfig

[PATCH v5 08/24] Documentation: PCI: Add binding documentation for pci-test endpoint function

2017-03-27 Thread Kishon Vijay Abraham I
Add binding documentation for pci-test endpoint function that helps in adding and configuring pci-test endpoint function. Signed-off-by: Kishon Vijay Abraham I --- Documentation/PCI/00-INDEX | 2 ++ .../PCI/endpoint/function/binding/pci-test.txt | 17 ++

[PATCH v5 15/24] PCI: dwc: dra7xx: Workaround for errata id i870

2017-03-27 Thread Kishon Vijay Abraham I
According to errata i870, access to the PCIe slave port that are not 32-bit aligned will result in incorrect mapping to TLP Address and Byte enable fields. Accessing non 32-bit aligned data causes incorrect data in the target buffer if memcpy is used. Implement the workaround for this errata here.

[PATCH v5 02/24] Documentation: PCI: Guide to use PCI Endpoint Core Layer

2017-03-27 Thread Kishon Vijay Abraham I
Add Documentation to help users use endpoint library to enable endpoint mode in the PCI controller and add new PCI endpoint functions. Signed-off-by: Kishon Vijay Abraham I --- Documentation/PCI/00-INDEX | 2 + Documentation/PCI/endpoint/pci-endpoint.txt | 215

[PATCH v5 03/24] PCI: endpoint: Introduce configfs entry for configuring EP functions

2017-03-27 Thread Kishon Vijay Abraham I
Introduce a new configfs entry to configure the EP function (like configuring the standard configuration header entries) and to bind the EP function with EP controller. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/Kconfig | 9 + drivers/pci/endpoint/Makefile | 1 +

[PATCH v5 01/24] PCI: endpoint: Add EP core layer to enable EP controller and EP functions

2017-03-27 Thread Kishon Vijay Abraham I
Introduce a new EP core layer in order to support endpoint functions in linux kernel. This comprises of EPC library (Endpoint Controller Library) and EPF library (Endpoint Function Library). EPC library implements functions that is specific to an endpoint controller and EPF library implements funct

[PATCH v5 12/24] PCI: dwc: dra7xx: Add EP mode support

2017-03-27 Thread Kishon Vijay Abraham I
The PCIe controller integrated in dra7xx SoCs is capable of operating in endpoint mode. Add endpoint mode support to dra7xx driver. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/dwc/Kconfig | 31 +- drivers/pci/dwc/Makefile | 4 +- drivers/pci/dwc/pci-dra7xx.c

Re: [PATCH] trace: Make trace_hwlat timestamp y2038 safe

2017-03-27 Thread Arnd Bergmann
On Mon, Mar 27, 2017 at 11:25 AM, kbuild test robot wrote: > Hi Deepa, > > [auto build test WARNING on tip/perf/core] > [also build test WARNING on v4.11-rc4 next-20170327] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] &g

[PATCH v2 20/22] PCI: layerscape: update PCI config space remap function

2017-03-27 Thread Lorenzo Pieralisi
PCI configuration space should be mapped with a memory region type that generates on the CPU host bus non-posted write transations. Update the driver to use the devm_ioremap_nopost* interface to make sure the correct memory mappings for PCI configuration space are used. Signed-off-by: Lorenzo Pier

[PATCH v2 15/22] PCI: hisi: update PCI config space remap function

2017-03-27 Thread Lorenzo Pieralisi
PCI configuration space should be mapped with a memory region type that generates on the CPU host bus non-posted write transations. Update the driver to use the devm_ioremap_nopost* interface to make sure the correct memory mappings for PCI configuration space are used. Signed-off-by: Lorenzo Pier

[PATCH v2 18/22] PCI: xgene: update PCI config space remap function

2017-03-27 Thread Lorenzo Pieralisi
PCI configuration space should be mapped with a memory region type that generates on the CPU host bus non-posted write transations. Update the driver to use the devm_ioremap_nopost* interface to make sure the correct memory mappings for PCI configuration space are used. Signed-off-by: Lorenzo Pier

[PATCH] clk: sunxi-ng: fix build error without CONFIG_RESET_CONTROLLER

2017-03-27 Thread Tobias Regnery
With CONFIG_RESET_CONTROLLER=n we get the following link error in the sunxi-ng clk driver: drivers/built-in.o: In function `sunxi_ccu_probe': mux-core.c:(.text+0x12fe68): undefined reference to 'reset_controller_register' mux-core.c:(.text+0x12fe68): relocation truncated to fit: R_AARCH64_CALL26

[PATCH v2 06/22] ARM: implement ioremap_nopost() interface

2017-03-27 Thread Lorenzo Pieralisi
The PCI bus specifications (rev 3.0, 3.2.5 "Transaction Ordering and Posting") define rules for PCI configuration space transactions ordering and posting, that state that configuration writes have to be non-posted transactions. Current ioremap interface on ARM provides mapping functions that provi

[PATCH v2 11/22] PCI: spear13xx: update PCI config space remap function

2017-03-27 Thread Lorenzo Pieralisi
PCI configuration space should be mapped with a memory region type that generate on the CPU host bus non-posted write transations. Update the driver to use the devm_ioremap_nopost* interface to make sure the correct memory mappings for PCI configuration space are used. Signed-off-by: Lorenzo Piera

[PATCH v2 19/22] PCI: tegra: update PCI config space remap function

2017-03-27 Thread Lorenzo Pieralisi
PCI configuration space should be mapped with a memory region type that generates on the CPU host bus non-posted write transations. Update the driver to use correct memory mapping attributes to map config space regions to enforce configuration space non-posted writes behaviour. Signed-off-by: Lore

[PATCH v2 12/22] PCI: rockchip: update PCI config space remap function

2017-03-27 Thread Lorenzo Pieralisi
PCI configuration space should be mapped with a memory region type that generates on the CPU host bus non-posted write transations. Update the driver to use the devm_ioremap_nopost* interface to make sure the correct memory mappings for PCI configuration space are used. Signed-off-by: Lorenzo Pier

[PATCH v2 21/22] PCI: keystone-dw: update PCI config space remap function

2017-03-27 Thread Lorenzo Pieralisi
PCI configuration space should be mapped with a memory region type that generates on the CPU host bus non-posted write transations. Update the driver to use the devm_ioremap_nopost* interface to make sure the correct memory mappings for PCI configuration space are used. Signed-off-by: Lorenzo Pier

[PATCH v2 13/22] PCI: qcom: update PCI config space remap function

2017-03-27 Thread Lorenzo Pieralisi
PCI configuration space should be mapped with a memory region type that generates on the CPU host bus non-posted write transations. Update the driver to use the devm_ioremap_nopost* interface to make sure the correct memory mappings for PCI configuration space are used. Signed-off-by: Lorenzo Pier

[PATCH v2 17/22] PCI: armada8k: update PCI config space remap function

2017-03-27 Thread Lorenzo Pieralisi
PCI configuration space should be mapped with a memory region type that generates on the CPU host bus non-posted write transations. Update the driver to use the devm_ioremap_nopost* interface to make sure the correct memory mappings for PCI configuration space are used. Signed-off-by: Lorenzo Pier

[PATCH v2 14/22] PCI: iproc-platform: update PCI config space remap function

2017-03-27 Thread Lorenzo Pieralisi
PCI configuration space should be mapped with a memory region type that generates on the CPU host bus non-posted write transations. Update the driver to use the devm_ioremap_nopost* interface to make sure the correct memory mappings for PCI configuration space are used. Signed-off-by: Lorenzo Pier

Re: [PATCH] virtio_balloon: prevent uninitialized variable use

2017-03-27 Thread Ladi Prosek
On Fri, Mar 24, 2017 at 9:59 PM, Michael S. Tsirkin wrote: > On Fri, Mar 24, 2017 at 09:40:07PM +0100, Arnd Bergmann wrote: >> On Fri, Mar 24, 2017 at 9:11 PM, Ladi Prosek wrote: >> > On Fri, Mar 24, 2017 at 7:38 PM, David Hildenbrand >> > wrote: >> >> On 23.03.2017 16:17, Arnd Bergmann wrote:

[PATCH V6 1/7] Documentation: devicetree: watchdog: da9062/61 watchdog timer binding

2017-03-27 Thread Steve Twiss
From: Steve Twiss Add binding information for DA9062 and DA9061 watchdog. Example bindings for both DA9062 and DA9061 devices are added. For the DA9061 device, a fallback compatible line is added as a valid combination of compatible strings. The original binding for DA9062 (only) used to reside

Re: [PATCH] staging: goldfish: Fix coding style issues

2017-03-27 Thread Greg KH
On Mon, Mar 27, 2017 at 12:53:21PM +0300, aviyae wrote: > fixing some coding style issues in goldfish audio driver > > >From 8368d1b6404d63da7d502f6cd2ce6b50c7ffa9b9 Mon Sep 17 00:00:00 2001 > From: Aviya Erenfeld > Date: Tue, 21 Mar 2017 00:07:19 +0200 > Subject: [PATCH] staging: goldfish: Fix

[PATCH V6 2/7] Documentation: devicetree: thermal: da9062/61 TJUNC temperature binding

2017-03-27 Thread Steve Twiss
From: Steve Twiss Device tree binding information for DA9062 and DA9061 thermal junction temperature monitor. Binding descriptions for the DA9061 and DA9062 thermal TJUNC supervisor device driver, using a single THERMAL_TRIP_HOT trip-wire and allowing for a configurable polling period for over-t

[PATCH V6 3/7] Documentation: devicetree: mfd: da9062/61 MFD binding

2017-03-27 Thread Steve Twiss
From: Steve Twiss Extend existing DA9062 binding information to include the DA9061 PMIC for MFD core and regulators. Add a da9062-onkey link to the existing onkey binding file. Add a da9062-thermal link to the new temperature monitoring binding file. Delete the da9062-watchdog section and repl

[PATCH V6 7/7] MAINTAINERS: da9062/61 updates to the Dialog Semiconductor search terms

2017-03-27 Thread Steve Twiss
From: Steve Twiss Hi, Dialog Semiconductor support would like to add to the MAINTAINERS search terms. This update will allow us to follow files for device tree bindings and source code relating to input onkey drivers, chip thermal monitoring and watchdog timers. Signed-off-by: Steve Twiss ---

[PATCH V6 4/7] mfd: da9061: MFD core support

2017-03-27 Thread Steve Twiss
From: Steve Twiss MFD support for DA9061 is provided as part of the DA9062 device driver. The registers header file adds two new chip variant IDs defined in DA9061 and DA9062 hardware. The core header file adds new software enumerations for listing the valid DA9061 IRQs and a da9062_compatible_t

[PATCH V6 0/7] da9061: DA9061 driver submission

2017-03-27 Thread Steve Twiss
From: Steve Twiss This patch set adds support for the Dialog DA9061 Power Management IC. Support is made by altering the existing DA9062 device driver, where appropriate. In this patch set the following is provided: [PATCH V5 1/8] Binding for watchdog [PATCH V5 2/8] Binding for thermal supervis

[PATCH V6 5/7] regulator: da9061: BUCK and LDO regulator driver

2017-03-27 Thread Steve Twiss
From: Steve Twiss Regulator support for the DA9061 is added into the DA9062 regulator driver. The regulators for DA9061 differ from those of DA9062. A new DA9061 enumeration list for the LDOs and Bucks supported by this device is added. Regulator information added: the old regulator information

[PATCH V6 6/7] thermal: da9062/61: Thermal junction temperature monitoring driver

2017-03-27 Thread Steve Twiss
From: Steve Twiss Add junction temperature monitoring supervisor device driver, compatible with the DA9062 and DA9061 PMICs. A MODULE_DEVICE_TABLE() macro is added. If the PMIC's internal junction temperature rises above T_WARN (125 degC) an interrupt is issued. This T_WARN level is defined as t

Re: [PATCH] trace: Make trace_hwlat timestamp y2038 safe

2017-03-27 Thread kbuild test robot
Hi Deepa, [auto build test WARNING on tip/perf/core] [also build test WARNING on v4.11-rc4 next-20170327] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Deepa-Dinamani/trace-Make-trace_hwlat

[PATCH v2 10/22] PCI: xilinx-nwl: update PCI config space remap function

2017-03-27 Thread Lorenzo Pieralisi
PCI configuration space should be mapped with a memory region type that generates on the CPU host bus non-posted write transations. Update the driver to use the devm_ioremap_nopost* interface to make sure the correct memory mappings for PCI configuration space are used. Signed-off-by: Lorenzo Pier

Re: [PATCH 1/2] dt-bindings: Document the STM32 MDMA bindings

2017-03-27 Thread M'boumba Cedric Madianga
Hi Rob, 2017-03-20 22:52 GMT+01:00 Rob Herring : > On Mon, Mar 13, 2017 at 04:06:38PM +0100, M'boumba Cedric Madianga wrote: >> This patch adds documentation of device tree bindings for the STM32 MDMA >> controller. >> >> Signed-off-by: M'boumba Cedric Madianga >> Reviewed-by: Ludovic BARRE >> -

[PATCH v2 22/22] PCI: versatile: update PCI config space remap function

2017-03-27 Thread Lorenzo Pieralisi
PCI configuration space should be mapped with a memory region type that generates on the CPU host bus non-posted write transations. Update the driver to use the devm_ioremap_nopost* interface to make sure the correct memory mappings for PCI configuration space are used. Signed-off-by: Lorenzo Pier

[PATCH] IIO: bmp280-core.c: fix error in humidity calculation

2017-03-27 Thread Andreas Klinger
While calculating the compensation of the humidity there are negative values interpreted as unsigned because of unsigned variables used. These values need to be casted to signed as indicated by the documentation of the sensor. Signed-off-by: Andreas Klinger --- drivers/iio/pressure/bmp280-core.c

RE: [RESEND PATCH V5 7/8] thermal: da9062/61: Thermal junction temperature monitoring driver

2017-03-27 Thread Steve Twiss
On 19 February 2017 01:40, Eduardo Valentin wrote: Hi Eduardo, My apologies in taking so long to reply. There were *no* problems with implementing your requests. See below. I will have sent these changes as PATCH V6. https://lkml.org/lkml/2017/3/27/253 Regards, Steve > To: Steve Twiss > Subjec

Re: [PATCH] [media] coda: remove redundant call to v4l2_m2m_get_vq

2017-03-27 Thread Philipp Zabel
On Mon, 2017-03-27 at 11:46 +0200, Hans Verkuil wrote: > On 23/03/17 12:57, Colin King wrote: > > From: Colin Ian King > > > > The call to v4ls_m2m_get_vq is only used to get the return value > > which is not being used, so it appears to be redundant and can > > be removed. > > > > Detected with

[PATCH v2 1/4] f2fs: split discard_cmd_list

2017-03-27 Thread Chao Yu
Split discard_cmd_list to discard_{pend,wait}_list, so while sending/waiting discard command, we can avoid traversing unneeded entries in original list. Signed-off-by: Chao Yu --- v2: remove unneeded judgment condition in issue_discard_thread. fs/f2fs/f2fs.h| 3 ++- fs/f2fs/segment.c | 44 +

[PATCH v5 23/24] MAINTAINERS: add PCI EP maintainer

2017-03-27 Thread Kishon Vijay Abraham I
Add maintainer for the newly introduced PCI EP framework. Signed-off-by: Kishon Vijay Abraham I --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c265a5fe4848..3c1b947811e2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9581,6 +9581,15 @

[PATCH 2/3] f2fs: shrink blk plug region

2017-03-27 Thread Chao Yu
Don't use blk plug covering area where there won't be any IOs being issued. Signed-off-by: Chao Yu --- fs/f2fs/segment.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index c1a03b0857f9..57a81f9c8c14 100644 --- a/fs/f2fs/segment.c

[PATCH 3/3] f2fs: prevent waiter encountering incorrect discard states

2017-03-27 Thread Chao Yu
In f2fs_submit_discard_endio, we will wake up waiter before setting discard command states, so waiter may use incorrect states. Change the order between complete() and states setting to fix this issue. Signed-off-by: Chao Yu --- fs/f2fs/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

Re: [PATCH v2 1/7] pinctrl: dt-bindings: Add documentation for Armada 37xx pin controllers

2017-03-27 Thread Linus Walleij
On Tue, Mar 21, 2017 at 7:28 PM, Gregory CLEMENT wrote: > Document the device tree binding for the pin controllers found on the > Armada 37xx SoCs. > > Update the binding documention of the xtal clk which is a subnode of this > syscon node. > > Signed-off-by: Gregory CLEMENT These look all righ

[PATCH 1/3] f2fs: clean up destroy_discard_cmd_control

2017-03-27 Thread Chao Yu
Remove unneeded parameter and simply change flow in destroy_discard_cmd_control. Signed-off-by: Chao Yu --- fs/f2fs/segment.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index ff53423e35fb..c1a03b0857f9 100644 --- a/f

[PATCH 1/1] ethtool : added get_phy_stats,get_strings,get_sset_count

2017-03-27 Thread Thomas Scariah
From: "Scariah, Thomas" Added functions to support ethtool to print the phy statistics and error information along with other ethtool statistics. This will help ethtool information to know the error is from physical layer or MAC layer. This is an enahancement for ethtool to accommodate phy st

Re: [PATCH v5 0/8] Add dual-role OTG support for Allwinner H3

2017-03-27 Thread Kishon Vijay Abraham I
On Saturday 25 March 2017 08:20 PM, Icenowy Zheng wrote: > Allwinner H3 have a its USB PHY0 routed to two USB controllers: one is > a MUSB controller, which can work in peripheral mode, but works badly in > host mode (several hardware will fail on the MUSB controller, even connect > one MUSB cont

Re: [PATCH] regulator: core: Limit propagation of parent voltage count and list

2017-03-27 Thread Mark Brown
On Sat, Mar 25, 2017 at 02:05:47AM -0300, Javier Martinez Canillas wrote: > On 03/24/2017 05:38 PM, Brian Norris wrote: > > > >> + if (ops->get_voltage || ops->get_voltage_sel) > It's valid to have a .get_voltage_sel callback without a .list_voltage? No. signature.asc Description: PG

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