[PATCH v8 1/2] dt-bindings: hwmon: Add ina3221 documentation

2018-09-28 Thread Nicolin Chen
Texas Instruments INA3221 is a triple-channel shunt and bus voltage monitor. This patch adds a DT binding doc for it. Signed-off-by: Nicolin Chen --- Changelog v7->v8: * N/A v6->v7: * Restored three channel examples and merged them with the parent one v5->v6: * Removed status property as no ne

[PATCH v8 2/2] hwmon: ina3221: Read channel input source info from DT

2018-09-28 Thread Nicolin Chen
An ina3221 chip has three input ports. Each port is used to measure the voltage and current of its input source. The DT binding now has defined bindings for their input sources, so the driver should read these information and handle accordingly. This patch adds a new structure of input source spe

[PATCH v8 0/2] Add an initial DT binding doc for ina3221

2018-09-28 Thread Nicolin Chen
This series adds a initial DT binding doc for ina3221. It defines a child node to describe the input source of each ina3221 channel. Then it changes the driver to handle the information properly. Changelog v7->v8: * Refined two places in ina3221 driver (PATCH-2) v6->v7: * Refined the example in

Re: [PATCH security-next v3 00/29] LSM: Explict LSM ordering

2018-09-28 Thread Kees Cook
On Fri, Sep 28, 2018 at 1:33 PM, Stephen Smalley wrote: > On 09/28/2018 04:25 PM, Stephen Smalley wrote: >> >> On 09/28/2018 04:01 PM, Kees Cook wrote: >>> >>> On Fri, Sep 28, 2018 at 8:55 AM, Casey Schaufler >>> wrote: On 9/24/2018 5:18 PM, Kees Cook wrote: > > v3: > - add

Re: [PATCH security-next v3 00/29] LSM: Explict LSM ordering

2018-09-28 Thread Stephen Smalley
On 09/28/2018 04:25 PM, Stephen Smalley wrote: On 09/28/2018 04:01 PM, Kees Cook wrote: On Fri, Sep 28, 2018 at 8:55 AM, Casey Schaufler wrote: On 9/24/2018 5:18 PM, Kees Cook wrote: v3: - add CONFIG_LSM_ENABLE and refactor resulting logic Kees, you can add my Reviewed-by:Casey Sc

Re: [PATCH security-next v3 00/29] LSM: Explict LSM ordering

2018-09-28 Thread Stephen Smalley
On 09/28/2018 04:01 PM, Kees Cook wrote: On Fri, Sep 28, 2018 at 8:55 AM, Casey Schaufler wrote: On 9/24/2018 5:18 PM, Kees Cook wrote: v3: - add CONFIG_LSM_ENABLE and refactor resulting logic Kees, you can add my Reviewed-by:Casey Schaufler for this entire patch set. Thank you f

Re: [PATCH security-next v3 00/29] LSM: Explict LSM ordering

2018-09-28 Thread Kees Cook
On Fri, Sep 28, 2018 at 8:55 AM, Casey Schaufler wrote: > On 9/24/2018 5:18 PM, Kees Cook wrote: >> v3: >> - add CONFIG_LSM_ENABLE and refactor resulting logic > > Kees, you can add my > > Reviewed-by:Casey Schaufler > > for this entire patch set. Thank you for taking this on, it's > a si

Re: [PATCH v6 11/11] arm64: annotate user pointers casts detected by sparse

2018-09-28 Thread Catalin Marinas
Hi Andrey, (sorry for the delay) On Mon, Sep 17, 2018 at 07:01:00PM +0200, Andrey Konovalov wrote: > I took another look at the changes this patchset does to the kernel > and here are my thoughts: > > I see two ways how a (potentially tagged) user pointer gets into the kernel: > > 1. A pointer

Re: [RFC PATCH v4 01/27] x86/cpufeatures: Add CPUIDs for Control-flow Enforcement Technology (CET)

2018-09-28 Thread Yu-cheng Yu
On Fri, 2018-09-28 at 18:51 +0200, Borislav Petkov wrote: > On Fri, Sep 21, 2018 at 08:03:25AM -0700, Yu-cheng Yu wrote: > > Add CPUIDs for Control-flow Enforcement Technology (CET). > > > > CPUID.(EAX=7,ECX=0):ECX[bit 7] Shadow stack > > CPUID.(EAX=7,ECX=0):EDX[bit 20] Indirect branch tracking >

Re: [RFC PATCH v4 01/27] x86/cpufeatures: Add CPUIDs for Control-flow Enforcement Technology (CET)

2018-09-28 Thread Borislav Petkov
On Fri, Sep 21, 2018 at 08:03:25AM -0700, Yu-cheng Yu wrote: > Add CPUIDs for Control-flow Enforcement Technology (CET). > > CPUID.(EAX=7,ECX=0):ECX[bit 7] Shadow stack > CPUID.(EAX=7,ECX=0):EDX[bit 20] Indirect branch tracking > > Signed-off-by: Yu-cheng Yu > --- > arch/x86/include/asm/cpufeat

Re: [PATCH security-next v3 00/29] LSM: Explict LSM ordering

2018-09-28 Thread Casey Schaufler
On 9/24/2018 5:18 PM, Kees Cook wrote: > v3: > - add CONFIG_LSM_ENABLE and refactor resulting logic Kees, you can add my Reviewed-by:Casey Schaufler for this entire patch set. Thank you for taking this on, it's a significant and important chunk of the LSM infrastructure update. > ...

[PATCH v3] powerpc: wire up memtest

2018-09-28 Thread Christophe Leroy
Add call to early_memtest() so that kernel compiled with CONFIG_MEMTEST really perform memtest at startup when requested via 'memtest' boot parameter. Tested-by: Daniel Axtens Signed-off-by: Christophe Leroy --- v3: updated kernel parameters documentation to mention PPC v2: moved the test aft