Re: [PATCH 1/2] security: Change name of CONFIG_DEBUG_RODATA

2017-01-18 Thread Pavel Machek
On Wed 2017-01-18 17:29:05, Laura Abbott wrote: > > Despite the word 'debug' in CONFIG_DEBUG_RODATA, this kernel option > provides key security features that are to be expected on a modern > system. Change the name to CONFIG_HARDENED_PAGE_MAPPINGS which more > accurately describes what this option

[PATCH 1/2] security: Change name of CONFIG_DEBUG_RODATA

2017-01-18 Thread Laura Abbott
Despite the word 'debug' in CONFIG_DEBUG_RODATA, this kernel option provides key security features that are to be expected on a modern system. Change the name to CONFIG_HARDENED_PAGE_MAPPINGS which more accurately describes what this option is intended to do. Signed-off-by: Laura Abbott --- Doc

[PATCH 2/2] security: Change name of CONFIG_DEBUG_SET_MODULE_RONX

2017-01-18 Thread Laura Abbott
Despite the word 'debug' in CONFIG_DEBUG_SET_MODULE_RONX, this kernel option provides key security features that are to be expected on a modern system. Change the name to CONFIG_HARDENED_MODULE_MAPPINGS which more accurately describes what this option is intended to do. Signed-off-by: Laura Abbot

[RFC][PATCH 0/2] Better hardening names

2017-01-18 Thread Laura Abbott
Hi, It's come up previously that CONFIG_DEBUG_SET_MODULE_RONX and CONFIG_DEBUG_RODATA are not accurate names, mostly they should not have the word 'debug' in them. This series attempts to change the names to something a bit more descriptive and indicative of what they are actually used for these d

Re: [PATCH] pci: drop link_reset

2017-01-18 Thread Doug Ledford
On Wed, 2017-01-18 at 23:39 +0200, Michael S. Tsirkin wrote: > No hardware seems to actually call link_reset, and > no driver implements it as more than a nop stub. > > This drops the mentions of the callback from everywhere. > It's dropped from the documentation as well, but > the doc really need

Re: [PATCH 30/37] dt-bindings: PCI: dra7xx: Add dt bindings to enable legacy mode

2017-01-18 Thread Rob Herring
On Thu, Jan 12, 2017 at 03:56:19PM +0530, Kishon Vijay Abraham I wrote: > Update device tree binding documentation of TI's dra7xx PCI > controller to include property for enabling legacy mode. > > Signed-off-by: Kishon Vijay Abraham I > --- > Documentation/devicetree/bindings/pci/ti-pci.txt |

Re: [PATCH 28/37] dt-bindings: PCI: dra7xx: Add dt bindings for pci dra7xx EP mode

2017-01-18 Thread Rob Herring
On Thu, Jan 12, 2017 at 03:56:17PM +0530, Kishon Vijay Abraham I wrote: > Add device tree binding documentation for pci dra7xx EP mode. > > Signed-off-by: Kishon Vijay Abraham I > --- > Documentation/devicetree/bindings/pci/ti-pci.txt | 37 > ++ > 1 file changed, 30 insert

Re: [PATCH 25/37] dt-bindings: PCI: Add dt bindings for pci designware EP mode

2017-01-18 Thread Rob Herring
On Thu, Jan 12, 2017 at 03:56:14PM +0530, Kishon Vijay Abraham I wrote: > Add device tree binding documentation for pci designware EP mode. > > Signed-off-by: Kishon Vijay Abraham I > --- > .../devicetree/bindings/pci/designware-pcie.txt| 26 > ++-- > 1 file changed, 18 in

[PATCH] pci: drop link_reset

2017-01-18 Thread Michael S. Tsirkin
No hardware seems to actually call link_reset, and no driver implements it as more than a nop stub. This drops the mentions of the callback from everywhere. It's dropped from the documentation as well, but the doc really needs to be updated to reflect reality better (e.g. on pcie slot reset is the

[PATCH v8 04/12] iio: inkern: api for manipulating ext_info of iio channels

2017-01-18 Thread Peter Rosin
Extend the inkern api with functions for reading and writing ext_info of iio channels. Acked-by: Jonathan Cameron Signed-off-by: Peter Rosin --- drivers/iio/inkern.c | 60 include/linux/iio/consumer.h | 37 +++ 2 files

[PATCH v8 07/12] dt-bindings: i2c: i2c-mux-simple: document i2c-mux-simple bindings

2017-01-18 Thread Peter Rosin
Describe how a generic multiplexer controller is used to mux an i2c bus. Acked-by: Jonathan Cameron Signed-off-by: Peter Rosin --- .../devicetree/bindings/i2c/i2c-mux-simple.txt | 81 ++ 1 file changed, 81 insertions(+) create mode 100644 Documentation/devicetree/bindin

[PATCH v8 06/12] iio: multiplexer: new iio category and iio-mux driver

2017-01-18 Thread Peter Rosin
When a multiplexer changes how an iio device behaves (for example by feeding different signals to an ADC), this driver can be used to create one virtual iio channel for each multiplexer state. Depends on the generic multiplexer subsystem. Cache any ext_info values from the parent iio channel, cre

[PATCH v8 02/12] dt-bindings: document devicetree bindings for mux-controllers and mux-gpio

2017-01-18 Thread Peter Rosin
Allow specifying that a single multiplexer controller can be used to control several parallel multiplexers, thus enabling sharing of the multiplexer controller by different consumers. Add a binding for a first mux controller in the form of a GPIO based mux controlled. Acked-by: Jonathan Cameron

[PATCH v8 00/12] mux controller abstraction and iio/i2c muxes

2017-01-18 Thread Peter Rosin
Hi! v7 -> v8 changes - cleanup the implementation of the simplified gpio bindings, but still... - ...reorder patches so that they appear last in the series (patches 11 and 12 were patches 4 and 5 in v7) since Jonathan convinced me that they were perhaps not such a good idea after all. But I st

[PATCH v8 03/12] mux: minimal mux subsystem and gpio-based mux controller

2017-01-18 Thread Peter Rosin
Add a new minimalistic subsystem that handles multiplexer controllers. When multiplexers are used in various places in the kernel, and the same multiplexer controller can be used for several independent things, there should be one place to implement support for said multiplexer controller. A singl

[PATCH v8 01/12] devres: trivial whitespace fix

2017-01-18 Thread Peter Rosin
Everything else is indented with two spaces, so fix the odd one out. Acked-by: Jonathan Cameron Signed-off-by: Peter Rosin --- Documentation/driver-model/devres.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-

[PATCH v8 05/12] dt-bindings: iio: io-channel-mux: document io-channel-mux bindings

2017-01-18 Thread Peter Rosin
Describe how a multiplexer can be used to select which signal is fed to an io-channel. Acked-by: Jonathan Cameron Signed-off-by: Peter Rosin --- .../bindings/iio/multiplexer/io-channel-mux.txt| 39 ++ MAINTAINERS| 6 2 files

[PATCH v8 09/12] dt-bindings: mux-adg792a: document devicetree bindings for ADG792A/G mux

2017-01-18 Thread Peter Rosin
Analog Devices ADG792A/G is a triple 4:1 mux. Acked-by: Jonathan Cameron Signed-off-by: Peter Rosin --- .../devicetree/bindings/mux/mux-adg792a.txt| 79 ++ 1 file changed, 79 insertions(+) create mode 100644 Documentation/devicetree/bindings/mux/mux-adg792a.txt dif

[PATCH v8 08/12] i2c: i2c-mux-simple: new driver

2017-01-18 Thread Peter Rosin
This is a generic simple i2c mux that uses the generic multiplexer subsystem to do the muxing. The user can select if the mux is to be mux-locked and parent-locked as described in Documentation/i2c/i2c-topology. Acked-by: Jonathan Cameron Acked-by: Wolfram Sang Signed-off-by: Peter Rosin ---

[PATCH v8 12/12] mux: support simplified bindings for single-user gpio mux

2017-01-18 Thread Peter Rosin
Allow bindings for a GPIO controlled mux to be specified in the mux consumer node. Signed-off-by: Peter Rosin --- drivers/mux/Kconfig| 5 + drivers/mux/mux-core.c | 23 +-- drivers/mux/mux-gpio.c | 28 +--- drivers/mux/mux-gpio.h | 13

[PATCH v8 10/12] mux: adg792a: add mux controller driver for ADG792A/G

2017-01-18 Thread Peter Rosin
Analog Devices ADG792A/G is a triple 4:1 mux. Reviewed-by: Jonathan Cameron Signed-off-by: Peter Rosin --- drivers/mux/Kconfig | 12 drivers/mux/Makefile | 1 + drivers/mux/mux-adg792a.c | 167 ++ 3 files changed, 180 insertions(+)

[PATCH v8 11/12] dt-bindings: simplified bindings for single-user gpio mux

2017-01-18 Thread Peter Rosin
Allow bindings for a GPIO controlled mux to be specified in the mux consumer node. Acked-by: Jonathan Cameron Signed-off-by: Peter Rosin --- .../devicetree/bindings/mux/mux-controller.txt | 26 ++ 1 file changed, 26 insertions(+) diff --git a/Documentation/devicetree/bi