Re: [PATCH 6/6] crypto: stm32-cryp: convert to the new crypto engine API

2018-01-10 Thread Fabien DESSENNE
(Adding my tested by) On 10/01/18 15:25, Fabien DESSENNE wrote: > > On 03/01/18 21:11, Corentin Labbe wrote: >> This patch convert the stm32-cryp driver to the new crypto engine API. >> Signed-off-by: Corentin Labbe Tested-by: Fabien Dessenne >> --- >>drivers/crypto/stm32/stm32-cryp.c | 2

Re: [PATCH 2/6] crypto: engine - Permit to enqueue all async requests

2018-01-10 Thread Fabien DESSENNE
(adding my tested by) On 10/01/18 15:19, Fabien DESSENNE wrote: > On 03/01/18 21:11, Corentin Labbe wrote: >> The crypto engine could actually only enqueue hash and ablkcipher request. >> This patch permit it to enqueue any type of crypto_async_request. >> >> Signed-off-by: Corentin Labbe Teste

Re: [PATCH 5/6] crypto: stm32-hash: convert to the new crypto engine API

2018-01-10 Thread Fabien DESSENNE
(adding my tested my) On 10/01/18 15:24, Fabien DESSENNE wrote: > > On 03/01/18 21:11, Corentin Labbe wrote: >> This patch convert the stm32-hash driver to the new crypto engine API. >> >> Signed-off-by: Corentin Labbe Tested-by: Fabien Dessenne >> --- >>drivers/crypto/stm32/stm32-hash.c

Re: [PATCH linux dev-4.10 0/6] Add support PECI and PECI hwmon drivers

2018-01-10 Thread Greg KH
On Wed, Jan 10, 2018 at 01:46:34PM -0800, Jae Hyun Yoo wrote: > On 1/10/2018 12:27 PM, Greg KH wrote: > > On Wed, Jan 10, 2018 at 11:30:05AM -0800, Jae Hyun Yoo wrote: > > > On 1/10/2018 11:17 AM, Greg KH wrote: > > > > On Wed, Jan 10, 2018 at 11:14:34AM -0800, Jae Hyun Yoo wrote: > > > > > On 1/10

Re: [PATCH 3/3] encrypted-keys: document new fscrypt key format

2018-01-10 Thread Eric Biggers
Hi André, On Wed, Jan 10, 2018 at 12:44:18PM +, André Draszik wrote: > diff --git a/Documentation/security/keys/fscrypt.rst > b/Documentation/security/keys/fscrypt.rst > new file mode 100644 > index ..e4a29592513e > --- /dev/null > +++ b/Documentation/security/keys/fscrypt.rst > @

Re: [PATCH net-next v2] xfrm: Add ESN support for IPSec HW offload

2018-01-10 Thread Shannon Nelson
On 1/10/2018 3:09 PM, Yossi Kuperman wrote: On 10 Jan 2018, at 19:36, Shannon Nelson wrote: On 1/10/2018 2:34 AM, yoss...@mellanox.com wrote: From: Yossef Efraim This patch adds ESN support to IPsec device offload. Adding new xfrm device operation to synchronize device ESN. Signed-off-by: Yos

Re: [RESEND PATCH v2] input: pxrc: new driver for PhoenixRC Flight Controller Adapter

2018-01-10 Thread Dmitry Torokhov
Hi Marcus, On Wed, Jan 10, 2018 at 02:11:39PM +0100, Marcus Folkesson wrote: > This driver let you plug in your RC controller to the adapter and > use it as input device in various RC simulators. > > Signed-off-by: Marcus Folkesson > --- > v2: > - Change module license to GPLv2 to match SP

Re: [PATCH linux dev-4.10 6/6] drivers/hwmon: Add a driver for a generic PECI hwmon

2018-01-10 Thread Jae Hyun Yoo
On 1/10/2018 4:29 AM, Arnd Bergmann wrote: On Tue, Jan 9, 2018 at 11:31 PM, Jae Hyun Yoo wrote: This commit adds driver implementation for a generic PECI hwmon. Signed-off-by: Jae Hyun Yoo +static int xfer_peci_msg(int cmd, void *pmsg) +{ + int rc; + + mutex_lock(&peci_hwmon_lo

Re: [PATCH linux dev-4.10 4/6] Documentation: dt-bindings: Add a generic PECI hwmon

2018-01-10 Thread Jae Hyun Yoo
On 1/10/2018 4:20 AM, Arnd Bergmann wrote: On Tue, Jan 9, 2018 at 11:31 PM, Jae Hyun Yoo wrote: This commit add a dt-bindings document for a generic PECI hwmon driver. Signed-off-by: Jae Hyun Yoo --- .../devicetree/bindings/hwmon/peci-hwmon.txt | 33 ++ 1 file cha

Re: [PATCH linux dev-4.10 3/6] drivers/misc: Add driver for Aspeed PECI and generic PECI headers

2018-01-10 Thread Jae Hyun Yoo
On 1/10/2018 3:55 AM, Arnd Bergmann wrote: On Tue, Jan 9, 2018 at 11:31 PM, Jae Hyun Yoo wrote: This commit adds driver implementation for Aspeed PECI. Also adds generic peci.h and peci_ioctl.h files to provide compatibility to peci drivers that can be implemented later e.g. Nuvoton's BMC SoC f

Re: [PATCH net-next v2] xfrm: Add ESN support for IPSec HW offload

2018-01-10 Thread Yossi Kuperman
> On 10 Jan 2018, at 19:36, Shannon Nelson wrote: > >> On 1/10/2018 2:34 AM, yoss...@mellanox.com wrote: >> From: Yossef Efraim >> This patch adds ESN support to IPsec device offload. >> Adding new xfrm device operation to synchronize device ESN. >> Signed-off-by: Yossef Efraim >> --- >> Chan

[PATCH v2] cgroup, docs: document the root cgroup behavior of cpu and io controllers

2018-01-10 Thread Maciej S. Szmigiero
Currently, cgroups v2 documentation contains only a generic remark that "How resource consumption in the root cgroup is governed is up to each controller", which isn't really telling users much, who need to dig in the code and / or commit messages to learn the exact behavior. In cgroups v1 at leas

Re: [RFC] doc: fix code snippet build warnings

2018-01-10 Thread Tobin C. Harding
On Thu, Jan 11, 2018 at 09:25:31AM +1100, Tobin C. Harding wrote: > On Wed, Jan 10, 2018 at 02:59:58PM -0700, Jonathan Corbet wrote: > > On Wed, 10 Jan 2018 15:04:53 +1100 > > "Tobin C. Harding" wrote: > > > > > Posting as RFC in the hope that someone knows how to massage sphinx > > > correctly t

Re: [RFC] doc: fix code snippet build warnings

2018-01-10 Thread Tobin C. Harding
On Wed, Jan 10, 2018 at 02:59:58PM -0700, Jonathan Corbet wrote: > On Wed, 10 Jan 2018 15:04:53 +1100 > "Tobin C. Harding" wrote: > > > Posting as RFC in the hope that someone knows how to massage sphinx > > correctly to fix this patch. > > > > Currently function kernel-doc contains a multi-line

Re: [RFC] doc: fix code snippet build warnings

2018-01-10 Thread Jonathan Corbet
On Wed, 10 Jan 2018 15:04:53 +1100 "Tobin C. Harding" wrote: > Posting as RFC in the hope that someone knows how to massage sphinx > correctly to fix this patch. > > Currently function kernel-doc contains a multi-line code snippet. This > is causing sphinx to emit 5 build warnings > > WAR

Re: [linux, dev-4.10, 6/6] drivers/hwmon: Add a driver for a generic PECI hwmon

2018-01-10 Thread Guenter Roeck
On Tue, Jan 09, 2018 at 02:31:26PM -0800, Jae Hyun Yoo wrote: > This commit adds driver implementation for a generic PECI hwmon. > > Signed-off-by: Jae Hyun Yoo > --- > drivers/hwmon/Kconfig | 6 + > drivers/hwmon/Makefile | 1 + > drivers/hwmon/peci-hwmon.c | 953 > +++

Re: [PATCH linux dev-4.10 0/6] Add support PECI and PECI hwmon drivers

2018-01-10 Thread Jae Hyun Yoo
On 1/10/2018 12:27 PM, Greg KH wrote: On Wed, Jan 10, 2018 at 11:30:05AM -0800, Jae Hyun Yoo wrote: On 1/10/2018 11:17 AM, Greg KH wrote: On Wed, Jan 10, 2018 at 11:14:34AM -0800, Jae Hyun Yoo wrote: On 1/10/2018 2:17 AM, Greg KH wrote: On Tue, Jan 09, 2018 at 02:31:20PM -0800, Jae Hyun Yoo w

Re: [RFC] doc: fix code snippet build warnings

2018-01-10 Thread Paul E. McKenney
On Thu, Jan 11, 2018 at 07:30:07AM +1100, Tobin C. Harding wrote: > On Wed, Jan 10, 2018 at 08:37:02AM -0800, Paul E. McKenney wrote: > > On Wed, Jan 10, 2018 at 03:04:53PM +1100, Tobin C. Harding wrote: > > > Posting as RFC in the hope that someone knows how to massage sphinx > > > correctly to fi

Re: Protecting code integrity with PGP (kernel developer version)

2018-01-10 Thread Jonathan Corbet
On Tue, 9 Jan 2018 16:40:48 -0500 Konstantin Ryabitsev wrote: > Does such document belong with the rest of the kernel docs in the tree, > or should it remain fully external? I'll be happy to port it to RST if > you think it should live alongside other documents like coding > standards. My imm

Re: [PATCH v13 0/7] cgroup-aware OOM killer

2018-01-10 Thread David Rientjes
On Wed, 10 Jan 2018, Roman Gushchin wrote: > > 1. The unfair comparison of the root mem cgroup vs leaf mem cgroups > > > > The patchset uses two different heuristics to compare root and leaf mem > > cgroups and scores them based on number of pages. For the root mem > > cgroup, it totals the /p

Re: [RFC] doc: fix code snippet build warnings

2018-01-10 Thread Tobin C. Harding
On Wed, Jan 10, 2018 at 08:37:02AM -0800, Paul E. McKenney wrote: > On Wed, Jan 10, 2018 at 03:04:53PM +1100, Tobin C. Harding wrote: > > Posting as RFC in the hope that someone knows how to massage sphinx > > correctly to fix this patch. > > I would welcome that. ;-) > > > Currently function ke

Re: [PATCH linux dev-4.10 0/6] Add support PECI and PECI hwmon drivers

2018-01-10 Thread Greg KH
On Wed, Jan 10, 2018 at 11:30:05AM -0800, Jae Hyun Yoo wrote: > On 1/10/2018 11:17 AM, Greg KH wrote: > > On Wed, Jan 10, 2018 at 11:14:34AM -0800, Jae Hyun Yoo wrote: > > > On 1/10/2018 2:17 AM, Greg KH wrote: > > > > On Tue, Jan 09, 2018 at 02:31:20PM -0800, Jae Hyun Yoo wrote: > > > > > From: Ja

Re: [PATCH linux dev-4.10 3/6] drivers/misc: Add driver for Aspeed PECI and generic PECI headers

2018-01-10 Thread Jae Hyun Yoo
On 1/10/2018 2:20 AM, Greg KH wrote: On Tue, Jan 09, 2018 at 02:31:23PM -0800, Jae Hyun Yoo wrote: +#pragma pack(push, 1) +struct peci_xfer_msg { + unsigned char client_addr; + unsigned char tx_len; + unsigned char rx_len; + unsigned char tx_buf[MAX_BUFFER_SIZE]; +

Re: [PATCH v13 0/7] cgroup-aware OOM killer

2018-01-10 Thread Andrew Morton
On Wed, 10 Jan 2018 05:11:44 -0800 Roman Gushchin wrote: > Hello, David! > > On Tue, Jan 09, 2018 at 04:57:53PM -0800, David Rientjes wrote: > > On Thu, 30 Nov 2017, Andrew Morton wrote: > > > > > > This patchset makes the OOM killer cgroup-aware. > > > > > > Thanks, I'll grab these. > > > >

Re: [PATCH linux dev-4.10 3/6] drivers/misc: Add driver for Aspeed PECI and generic PECI headers

2018-01-10 Thread Jae Hyun Yoo
On 1/10/2018 2:18 AM, Greg KH wrote: On Tue, Jan 09, 2018 at 02:31:23PM -0800, Jae Hyun Yoo wrote: This commit adds driver implementation for Aspeed PECI. Also adds generic peci.h and peci_ioctl.h files to provide compatibility to peci drivers that can be implemented later e.g. Nuvoton's BMC SoC

Re: [PATCH linux dev-4.10 0/6] Add support PECI and PECI hwmon drivers

2018-01-10 Thread Jae Hyun Yoo
On 1/10/2018 11:17 AM, Greg KH wrote: On Wed, Jan 10, 2018 at 11:14:34AM -0800, Jae Hyun Yoo wrote: On 1/10/2018 2:17 AM, Greg KH wrote: On Tue, Jan 09, 2018 at 02:31:20PM -0800, Jae Hyun Yoo wrote: From: Jae Hyun Yoo Hello, This patch set provides support for PECI of AST2400/2500 which can

Re: [PATCH linux dev-4.10 0/6] Add support PECI and PECI hwmon drivers

2018-01-10 Thread Greg KH
On Wed, Jan 10, 2018 at 11:14:34AM -0800, Jae Hyun Yoo wrote: > On 1/10/2018 2:17 AM, Greg KH wrote: > > On Tue, Jan 09, 2018 at 02:31:20PM -0800, Jae Hyun Yoo wrote: > > > From: Jae Hyun Yoo > > > > > > Hello, > > > > > > This patch set provides support for PECI of AST2400/2500 which can give

Re: [PATCH 1/6] Documentation: crypto: document crypto engine API

2018-01-10 Thread Corentin Labbe
On Wed, Jan 10, 2018 at 02:13:13PM +, Fabien DESSENNE wrote: > Hi Corentin, > > > Thank you for this new version which I have testes successfully with the > stm32 hash & cryp drivers. > > As a general comment on this patchset, I would say that it does not > cover all async requests: typica

Re: [PATCH linux dev-4.10 0/6] Add support PECI and PECI hwmon drivers

2018-01-10 Thread Jae Hyun Yoo
On 1/10/2018 2:17 AM, Greg KH wrote: On Tue, Jan 09, 2018 at 02:31:20PM -0800, Jae Hyun Yoo wrote: From: Jae Hyun Yoo Hello, This patch set provides support for PECI of AST2400/2500 which can give us PECI functionalities such as temperature monitoring, platform manageability, processor diagno

Re: [PATCH net-next v2] xfrm: Add ESN support for IPSec HW offload

2018-01-10 Thread Shannon Nelson
On 1/10/2018 2:34 AM, yoss...@mellanox.com wrote: From: Yossef Efraim This patch adds ESN support to IPsec device offload. Adding new xfrm device operation to synchronize device ESN. Signed-off-by: Yossef Efraim --- Changes from v1: - Added documentation --- Documentation/networking/xfrm_

Re: [RFC] doc: fix code snippet build warnings

2018-01-10 Thread Paul E. McKenney
On Wed, Jan 10, 2018 at 03:04:53PM +1100, Tobin C. Harding wrote: > Posting as RFC in the hope that someone knows how to massage sphinx > correctly to fix this patch. I would welcome that. ;-) > Currently function kernel-doc contains a multi-line code snippet. This > is causing sphinx to emit 5

Re: [PATCH v6 00/11] Intel SGX Driver

2018-01-10 Thread Jarkko Sakkinen
On Tue, Jan 09, 2018 at 03:50:23PM -0600, Dr. Greg Wettstein wrote: > > Everything going out of L1 gets encrypted. This is done to defend > > against peripheral like adversaries and should work also against > > meltdown. > > I don't believe this is an architecturally correct assertion. The > encr

Re: [PATCH v3 6/6] coresight: etm4x: Support panic kdump

2018-01-10 Thread Mathieu Poirier
On 9 January 2018 at 22:33, Leo Yan wrote: > On Tue, Jan 09, 2018 at 01:21:28PM -0700, Mathieu Poirier wrote: >> On Thu, Dec 21, 2017 at 04:20:15PM +0800, Leo Yan wrote: >> > ETMv4 hardware information and configuration needs to be saved as >> > metadata; these metadata should be compatible with t

Re: [PATCH v3 3/6] coresight: Support panic kdump functionality

2018-01-10 Thread Mathieu Poirier
On 9 January 2018 at 22:19, Leo Yan wrote: > On Tue, Jan 09, 2018 at 11:41:26AM -0700, Mathieu Poirier wrote: >> On Thu, Dec 21, 2017 at 04:20:12PM +0800, Leo Yan wrote: >> > After kernel panic happens, coresight has many useful info can be used >> > for analysis. For example, the trace info from

Re: [PATCH 6/6] crypto: stm32-cryp: convert to the new crypto engine API

2018-01-10 Thread Fabien DESSENNE
On 03/01/18 21:11, Corentin Labbe wrote: > This patch convert the stm32-cryp driver to the new crypto engine API. > Signed-off-by: Corentin Labbe > --- > drivers/crypto/stm32/stm32-cryp.c | 21 - > 1 file changed, 16 insertions(+), 5 deletions(-) > > diff --git a/drivers/c

Re: [PATCH 5/6] crypto: stm32-hash: convert to the new crypto engine API

2018-01-10 Thread Fabien DESSENNE
On 03/01/18 21:11, Corentin Labbe wrote: > This patch convert the stm32-hash driver to the new crypto engine API. > > Signed-off-by: Corentin Labbe > --- > drivers/crypto/stm32/stm32-hash.c | 18 +- > 1 file changed, 13 insertions(+), 5 deletions(-) > > diff --git a/drivers/cr

Re: [PATCH 2/6] crypto: engine - Permit to enqueue all async requests

2018-01-10 Thread Fabien DESSENNE
On 03/01/18 21:11, Corentin Labbe wrote: > The crypto engine could actually only enqueue hash and ablkcipher request. > This patch permit it to enqueue any type of crypto_async_request. > > Signed-off-by: Corentin Labbe > --- > crypto/crypto_engine.c | 230 > --

Re: [PATCH 1/6] Documentation: crypto: document crypto engine API

2018-01-10 Thread Fabien DESSENNE
Hi Corentin, Thank you for this new version which I have testes successfully with the stm32 hash & cryp drivers. As a general comment on this patchset, I would say that it does not cover all async requests: typically I need (for the pending stm32 cryp driver uprade) to use CryptoEngine to pro

Re: [PATCH v13 0/7] cgroup-aware OOM killer

2018-01-10 Thread Roman Gushchin
Hello, David! On Tue, Jan 09, 2018 at 04:57:53PM -0800, David Rientjes wrote: > On Thu, 30 Nov 2017, Andrew Morton wrote: > > > > This patchset makes the OOM killer cgroup-aware. > > > > Thanks, I'll grab these. > > > > There has been controversy over this patchset, to say the least. I > > can

[RESEND PATCH v2] input: pxrc: new driver for PhoenixRC Flight Controller Adapter

2018-01-10 Thread Marcus Folkesson
This driver let you plug in your RC controller to the adapter and use it as input device in various RC simulators. Signed-off-by: Marcus Folkesson --- v2: - Change module license to GPLv2 to match SPDX tag Documentation/input/devices/pxrc.rst | 57 drivers/input/joystick/Kconf

[PATCH 3/3] encrypted-keys: document new fscrypt key format

2018-01-10 Thread André Draszik
Signed-off-by: André Draszik Cc: Mimi Zohar Cc: David Howells Cc: James Morris Cc: "Serge E. Hallyn" Cc: "Theodore Y. Ts'o" Cc: Jaegeuk Kim Cc: Jonathan Corbet Cc: Kees Cook Cc: linux-integr...@vger.kernel.org Cc: keyri...@vger.kernel.org Cc: linux-security-mod...@vger.kernel.org Cc: linux

Re: [PATCH linux dev-4.10 6/6] drivers/hwmon: Add a driver for a generic PECI hwmon

2018-01-10 Thread Arnd Bergmann
On Tue, Jan 9, 2018 at 11:31 PM, Jae Hyun Yoo wrote: > This commit adds driver implementation for a generic PECI hwmon. > > Signed-off-by: Jae Hyun Yoo > +static int xfer_peci_msg(int cmd, void *pmsg) > +{ > + int rc; > + > + mutex_lock(&peci_hwmon_lock); > + rc = peci_ioctl(NU

Re: [PATCH linux dev-4.10 4/6] Documentation: dt-bindings: Add a generic PECI hwmon

2018-01-10 Thread Arnd Bergmann
On Tue, Jan 9, 2018 at 11:31 PM, Jae Hyun Yoo wrote: > This commit add a dt-bindings document for a generic PECI hwmon > driver. > > Signed-off-by: Jae Hyun Yoo > --- > .../devicetree/bindings/hwmon/peci-hwmon.txt | 33 > ++ > 1 file changed, 33 insertions(+) > create

Re: [PATCH linux dev-4.10 3/6] drivers/misc: Add driver for Aspeed PECI and generic PECI headers

2018-01-10 Thread Arnd Bergmann
On Tue, Jan 9, 2018 at 11:31 PM, Jae Hyun Yoo wrote: > This commit adds driver implementation for Aspeed PECI. Also adds > generic peci.h and peci_ioctl.h files to provide compatibility > to peci drivers that can be implemented later e.g. Nuvoton's BMC > SoC family. > > Signed-off-by: Jae Hyun Yoo

[PATCH net-next v2] xfrm: Add ESN support for IPSec HW offload

2018-01-10 Thread yossefe
From: Yossef Efraim This patch adds ESN support to IPsec device offload. Adding new xfrm device operation to synchronize device ESN. Signed-off-by: Yossef Efraim --- Changes from v1: - Added documentation --- Documentation/networking/xfrm_device.txt | 3 +++ include/linux/netdevice.h

Re: [PATCH linux dev-4.10 3/6] drivers/misc: Add driver for Aspeed PECI and generic PECI headers

2018-01-10 Thread Greg KH
On Tue, Jan 09, 2018 at 02:31:23PM -0800, Jae Hyun Yoo wrote: > This commit adds driver implementation for Aspeed PECI. Also adds > generic peci.h and peci_ioctl.h files to provide compatibility > to peci drivers that can be implemented later e.g. Nuvoton's BMC > SoC family. We don't add code that

Re: [PATCH linux dev-4.10 3/6] drivers/misc: Add driver for Aspeed PECI and generic PECI headers

2018-01-10 Thread Greg KH
On Tue, Jan 09, 2018 at 02:31:23PM -0800, Jae Hyun Yoo wrote: > +#pragma pack(push, 1) > +struct peci_xfer_msg { > + unsigned char client_addr; > + unsigned char tx_len; > + unsigned char rx_len; > + unsigned char tx_buf[MAX_BUFFER_SIZE]; > + unsigned char rx_buf[MAX_BUFFER_SIZE

Re: [PATCH linux dev-4.10 0/6] Add support PECI and PECI hwmon drivers

2018-01-10 Thread Greg KH
On Tue, Jan 09, 2018 at 02:31:20PM -0800, Jae Hyun Yoo wrote: > From: Jae Hyun Yoo > > Hello, > > This patch set provides support for PECI of AST2400/2500 which can give us > PECI > functionalities such as temperature monitoring, platform manageability, > processor diagnostics and failure analy