[PATCH v2 2/4] switchtec: Add user interface documentation

2017-02-02 Thread Logan Gunthorpe
This adds standard documentation for the sysfs switchtec attributes and a RST formatted text file which documents the char device interface. Jonathan Corbet has indicated he will move this to a new user-space developer documentation book once it's created. Signed-off-by: Logan Gunthorpe Signed-of

[PATCH v2 0/4] New Microsemi PCI Switch Management Driver

2017-02-02 Thread Logan Gunthorpe
Changes since v1: * Rebased onto 4.10-rc6 (cleanly) * Split the patch into a few more easily digestible patches (as suggested by Greg Kroah-Hartman) * Folded switchtec.c into switchtec.h (per Greg) * Fixed a bunch of 32bit build warnings caught by the kbuild test robot * Fixed some issues in the

[PATCH v2 3/4] switchtec: Add sysfs attributes to the Switchtec driver

2017-02-02 Thread Logan Gunthorpe
This patch adds a few read-only sysfs attributes which provide some device information that is exposed from the devices. Primarily component and device names and versions. These are documented in Documentation/ABI/testing/sysfs-class-switchtec. Signed-off-by: Logan Gunthorpe Signed-off-by: Stephe

[PATCH v2 1/4] MicroSemi Switchtec management interface driver

2017-02-02 Thread Logan Gunthorpe
Microsemi's "Switchtec" line of PCI switch devices is already well supported by the kernel with standard PCI switch drivers. However, the Switchtec device advertises a special management endpoint with a separate PCI function address and class code. This endpoint enables some additional functionalit

[PATCH v2 4/4] switchtec: Add IOCTLs to the Switchtec driver

2017-02-02 Thread Logan Gunthorpe
This patch introduces a couple of special IOCTLs which are provided to: * Inform userspace of firmware partition locations * Pass event counts and allow userspace to wait on events * Translate between PFF numbers used by the switch to port numbers. Signed-off-by: Logan Gunthorpe Signed-off-by:

Re: [PATCH 1/1] MicroSemi Switchtec management interface driver

2017-02-02 Thread Logan Gunthorpe
On 01/02/17 05:10 AM, Emil Velikov wrote: > You can keep it roughly as-is if you're ~reasonably certain one won't > change it in the future. I've made the change anyway. I think it's better now. > Some teams frown upon adding new IOCTL(s) where existing ones can be > made backward/forward compa

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

2017-02-02 Thread Rob Herring
On Tue, Jan 31, 2017 at 1:36 AM, Peter Rosin wrote: > On 2017-01-30 18:20, Rob Herring wrote: >> On Sat, Jan 28, 2017 at 4:42 PM, Peter Rosin wrote: >>> On 2017-01-27 20:39, Rob Herring wrote: On Wed, Jan 18, 2017 at 04:57:10PM +0100, Peter Rosin wrote: > Describe how a generic multiplex

Re: [PATCH linux v5 5/6] hwmon: occ: Add hwmon implementation for the P8 OCC

2017-02-02 Thread Rob Herring
On Thu, Feb 2, 2017 at 9:06 AM, eajames wrote: > On 2017-02-01 11:34, Rob Herring wrote: >> >> On Tue, Jan 31, 2017 at 09:43:56AM -0600, eaja...@linux.vnet.ibm.com >> wrote: >>> >>> From: "Edward A. James" >>> >>> Add code to tie the hwmon sysfs code and the POWER8 OCC code together, as >>> well

Re: [PATCH linux v5 5/6] hwmon: occ: Add hwmon implementation for the P8 OCC

2017-02-02 Thread eajames
On 2017-02-01 11:34, Rob Herring wrote: On Tue, Jan 31, 2017 at 09:43:56AM -0600, eaja...@linux.vnet.ibm.com wrote: From: "Edward A. James" Add code to tie the hwmon sysfs code and the POWER8 OCC code together, as well as probe the entire driver from the I2C bus. I2C is the communication me

Re: [PATCH nf-next v2] netfilter: allow logging from non-init namespaces

2017-02-02 Thread Pablo Neira Ayuso
On Tue, Jan 31, 2017 at 10:30:06AM +0100, Michal Kubecek wrote: > Commit 69b34fb996b2 ("netfilter: xt_LOG: add net namespace support for > xt_LOG") disabled logging packets using the LOG target from non-init > namespaces. The motivation was to prevent containers from flooding > kernel log of the ho