Re: [PATCH] soc/tegra: remove duplicated function declaration

2018-11-13 Thread Jon Hunter
On 13/11/2018 17:51, Bo Yan wrote: > The function tegra_read_chipid is declared twice in fuse.h. Remove > the redundant declaration. > > Signed-off-by: Bo Yan > --- > include/soc/tegra/fuse.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/soc/tegra/fuse.h

Re: [PATCH] soc/tegra: remove duplicated function declaration

2018-11-13 Thread Jon Hunter
On 13/11/2018 17:51, Bo Yan wrote: > The function tegra_read_chipid is declared twice in fuse.h. Remove > the redundant declaration. > > Signed-off-by: Bo Yan > --- > include/soc/tegra/fuse.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/soc/tegra/fuse.h

Re: [PATCH 04/24] dt-bindings: leds: Add function and color properties

2018-11-13 Thread Jacek Anaszewski
Hi Vesa, On 11/13/2018 08:10 AM, Vesa Jääskeläinen wrote: > Hi Jacek, > > On 12/11/2018 18.02, Jacek Anaszewski wrote: Support for RGB LEDs, or other variations of LED synchronization have been approached several times, but without satisfying result so far. Generally the

Re: [PATCH] ARM: stm32: debug: add low-level debug support

2018-11-13 Thread Olof Johansson
Take a look at the patch I merged, and please follow up with any patch to fixup any issue you find with it. As mentioned in my original email, I tried to consolidate the two versions, so a look-through and follow up with fixes would be appreciated. Thanks! -Olof On Tue, Nov 13, 2018 at 2:17 AM

Re: [PATCH 04/24] dt-bindings: leds: Add function and color properties

2018-11-13 Thread Jacek Anaszewski
Hi Vesa, On 11/13/2018 08:10 AM, Vesa Jääskeläinen wrote: > Hi Jacek, > > On 12/11/2018 18.02, Jacek Anaszewski wrote: Support for RGB LEDs, or other variations of LED synchronization have been approached several times, but without satisfying result so far. Generally the

Re: [PATCH] ARM: stm32: debug: add low-level debug support

2018-11-13 Thread Olof Johansson
Take a look at the patch I merged, and please follow up with any patch to fixup any issue you find with it. As mentioned in my original email, I tried to consolidate the two versions, so a look-through and follow up with fixes would be appreciated. Thanks! -Olof On Tue, Nov 13, 2018 at 2:17 AM

Re: WARNING: CPU: 26 PID: 64391 at lib/vsprintf.c:2193 set_precision+0x84/0x90

2018-11-13 Thread Qian Cai
On Tue, 2018-11-13 at 19:29 +0200, Andy Shevchenko wrote: > On Tue, Nov 13, 2018 at 11:55:32AM -0500, Qian Cai wrote: > > +Cc Rasmus > > > Running the trinity fuzzer with a non-root user on an aarch64 server with > > the > > latest mainline (rc2) generated this. Is it just a false alarm to

Re: WARNING: CPU: 26 PID: 64391 at lib/vsprintf.c:2193 set_precision+0x84/0x90

2018-11-13 Thread Qian Cai
On Tue, 2018-11-13 at 19:29 +0200, Andy Shevchenko wrote: > On Tue, Nov 13, 2018 at 11:55:32AM -0500, Qian Cai wrote: > > +Cc Rasmus > > > Running the trinity fuzzer with a non-root user on an aarch64 server with > > the > > latest mainline (rc2) generated this. Is it just a false alarm to

Re: [PATCH] spi: lpspi: Add Slave Mode support for LPSPI

2018-11-13 Thread Mark Brown
On Mon, Nov 12, 2018 at 06:47:08AM +, Clark Wang wrote: This looks fine so I'll apply it but it would have been easier to review if it were split up a bit. There's mechanical changes like: > -static int lpspi_prepare_xfer_hardware(struct spi_master *master) > +static int

Re: [PATCH] spi: lpspi: Add Slave Mode support for LPSPI

2018-11-13 Thread Mark Brown
On Mon, Nov 12, 2018 at 06:47:08AM +, Clark Wang wrote: This looks fine so I'll apply it but it would have been easier to review if it were split up a bit. There's mechanical changes like: > -static int lpspi_prepare_xfer_hardware(struct spi_master *master) > +static int

Re: [PATCH v5 3/3] ALSA: hda: add support for Huawei WMI micmute LED

2018-11-13 Thread Andy Shevchenko
On Tue, Nov 13, 2018 at 7:32 PM Takashi Iwai wrote: > On Sun, 11 Nov 2018 20:02:45 +0100, > Ayman Bagabas wrote: > With that fix, > Reviewed-by: Takashi Iwai Ayman, please, send next version with requested changes and appended tags. I will apply it. -- With Best Regards, Andy Shevchenko

Re: [PATCH v5 3/3] ALSA: hda: add support for Huawei WMI micmute LED

2018-11-13 Thread Andy Shevchenko
On Tue, Nov 13, 2018 at 7:32 PM Takashi Iwai wrote: > On Sun, 11 Nov 2018 20:02:45 +0100, > Ayman Bagabas wrote: > With that fix, > Reviewed-by: Takashi Iwai Ayman, please, send next version with requested changes and appended tags. I will apply it. -- With Best Regards, Andy Shevchenko

Re: [PATCH] soc: ti: wkup_m3: Add PRCM int16 as the wake up source

2018-11-13 Thread Santosh Shilimkar
On 11/11/2018 9:17 PM, Keerthy wrote: Add PRCM int16 as the wake up source. Signed-off-by: Keerthy --- Looks good. Tony, Would you able to pick this up ?

Re: [PATCH] soc: ti: wkup_m3: Add PRCM int16 as the wake up source

2018-11-13 Thread Santosh Shilimkar
On 11/11/2018 9:17 PM, Keerthy wrote: Add PRCM int16 as the wake up source. Signed-off-by: Keerthy --- Looks good. Tony, Would you able to pick this up ?

[PATCHv4] reset: socfpga: add an early reset driver for SoCFPGA

2018-11-13 Thread Dinh Nguyen
Create a separate reset driver that uses the reset operations in reset-simple. The reset driver for the SoCFPGA platform needs to register early in order to be able bring online timers that needed early in the kernel bootup. We do not need this early reset driver for Stratix10, because on arm64,

[PATCHv4] reset: socfpga: add an early reset driver for SoCFPGA

2018-11-13 Thread Dinh Nguyen
Create a separate reset driver that uses the reset operations in reset-simple. The reset driver for the SoCFPGA platform needs to register early in order to be able bring online timers that needed early in the kernel bootup. We do not need this early reset driver for Stratix10, because on arm64,

[PATCH] l1tf: drop the swap storage limit restriction when l1tf=off

2018-11-13 Thread Michal Hocko
From: Michal Hocko Swap storage is restricted to max_swapfile_size (~16TB on x86_64) whenever the system is deemed affected by L1TF vulnerability. Even though the limit is quite high for most deployments it seems to be too restrictive for deployments which are willing to live with the mitigation

[PATCH] l1tf: drop the swap storage limit restriction when l1tf=off

2018-11-13 Thread Michal Hocko
From: Michal Hocko Swap storage is restricted to max_swapfile_size (~16TB on x86_64) whenever the system is deemed affected by L1TF vulnerability. Even though the limit is quite high for most deployments it seems to be too restrictive for deployments which are willing to live with the mitigation

Re: [PATCH v2 3/6] cgroup: cgroup v2 freezer

2018-11-13 Thread Roman Gushchin
On Mon, Nov 12, 2018 at 06:08:17PM -0800, Tejun Heo wrote: > (cc'ing Linus, Andrew, Ingo for the addition of a new task state) > > Hello, > > On Mon, Nov 12, 2018 at 03:04:19PM -0800, Roman Gushchin wrote: > > Cgroup v1 implements the freezer controller, which provides an ability > > to stop the

Re: [PATCH v2 3/6] cgroup: cgroup v2 freezer

2018-11-13 Thread Roman Gushchin
On Mon, Nov 12, 2018 at 06:08:17PM -0800, Tejun Heo wrote: > (cc'ing Linus, Andrew, Ingo for the addition of a new task state) > > Hello, > > On Mon, Nov 12, 2018 at 03:04:19PM -0800, Roman Gushchin wrote: > > Cgroup v1 implements the freezer controller, which provides an ability > > to stop the

[PATCH v7 17/17] tpm: remove @flags from tpm_transmit()

2018-11-13 Thread Jarkko Sakkinen
Remove @flags from tpm_transmit() API. It is no longer used for anything. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-chip.c | 32 ++--- drivers/char/tpm/tpm-dev-common.c | 2 +- drivers/char/tpm/tpm-interface.c | 18 drivers/char/tpm/tpm-sysfs.c

[PATCH v7 17/17] tpm: remove @flags from tpm_transmit()

2018-11-13 Thread Jarkko Sakkinen
Remove @flags from tpm_transmit() API. It is no longer used for anything. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-chip.c | 32 ++--- drivers/char/tpm/tpm-dev-common.c | 2 +- drivers/char/tpm/tpm-interface.c | 18 drivers/char/tpm/tpm-sysfs.c

[PATCH v7 16/17] tpm: take TPM chip power gating out of tpm_transmit()

2018-11-13 Thread Jarkko Sakkinen
Call tpm_chip_start() and tpm_chip_stop() in * tpm_try_get_ops() and tpm_put_ops() * tpm_chip_register() * tpm2_del_space() And remove these calls from tpm_transmit(). The core reason for this change is that in tpm_vtpm_proxy a locality change requires a virtual TPM command (a command made up

[PATCH v7 13/17] tpm: use tpm_try_get_ops() in tpm-sysfs.c.

2018-11-13 Thread Jarkko Sakkinen
Use tpm_try_get_ops() in tpm-sysfs.c so that we can consider moving other decorations (locking, localities, power management for example) inside it. This direction can be of course taken only after other call sites for tpm_transmit() have been treated in the same way. Signed-off-by: Jarkko

[PATCH v7 15/17] tpm: introduce tpm_chip_start() and tpm_chip_stop()

2018-11-13 Thread Jarkko Sakkinen
Encapsulate power gating and locality functionality to tpm_chip_start() and tpm_chip_stop() in order to clean up the branching mess in tpm_transmit(). Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-chip.c | 110 +++ drivers/char/tpm/tpm-interface.c |

[PATCH v7 14/17] tpm: remove TPM_TRANSMIT_UNLOCKED flag

2018-11-13 Thread Jarkko Sakkinen
Added locking as part of tpm_try_get_ops() and tpm_put_ops() as they are anyway used in most of the call sites except in tpmrm_release() where we take the locks manually. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-chip.c | 2 ++ drivers/char/tpm/tpm-dev-common.c | 4 +---

[PATCH v7 16/17] tpm: take TPM chip power gating out of tpm_transmit()

2018-11-13 Thread Jarkko Sakkinen
Call tpm_chip_start() and tpm_chip_stop() in * tpm_try_get_ops() and tpm_put_ops() * tpm_chip_register() * tpm2_del_space() And remove these calls from tpm_transmit(). The core reason for this change is that in tpm_vtpm_proxy a locality change requires a virtual TPM command (a command made up

[PATCH v7 13/17] tpm: use tpm_try_get_ops() in tpm-sysfs.c.

2018-11-13 Thread Jarkko Sakkinen
Use tpm_try_get_ops() in tpm-sysfs.c so that we can consider moving other decorations (locking, localities, power management for example) inside it. This direction can be of course taken only after other call sites for tpm_transmit() have been treated in the same way. Signed-off-by: Jarkko

[PATCH v7 15/17] tpm: introduce tpm_chip_start() and tpm_chip_stop()

2018-11-13 Thread Jarkko Sakkinen
Encapsulate power gating and locality functionality to tpm_chip_start() and tpm_chip_stop() in order to clean up the branching mess in tpm_transmit(). Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-chip.c | 110 +++ drivers/char/tpm/tpm-interface.c |

[PATCH v7 14/17] tpm: remove TPM_TRANSMIT_UNLOCKED flag

2018-11-13 Thread Jarkko Sakkinen
Added locking as part of tpm_try_get_ops() and tpm_put_ops() as they are anyway used in most of the call sites except in tpmrm_release() where we take the locks manually. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-chip.c | 2 ++ drivers/char/tpm/tpm-dev-common.c | 4 +---

[PATCH v7 12/17] tpm: remove @space from tpm_transmit()

2018-11-13 Thread Jarkko Sakkinen
Remove @space from tpm_transmit() API` in order to completely remove the bound between low-level transmission functionality and TPM spaces. The only real dependency existing is the amount of data saved before trying to send a command to the TPM. It doesn't really matter if we save always a bit

[PATCH v7 11/17] tpm: move TPM space code out of tpm_transmit()

2018-11-13 Thread Jarkko Sakkinen
Prepare and commit TPM space before and after calling tpm_transmit() instead of doing that inside tpm_transmit(). After this change we can remove TPM_TRANSMIT_NESTED flag from tpm2_prepare_space() and tpm2_commit_space() and replace it with TPM_TRANSMIT_UNLOCKED. Cc: James Bottomley

[PATCH v7 12/17] tpm: remove @space from tpm_transmit()

2018-11-13 Thread Jarkko Sakkinen
Remove @space from tpm_transmit() API` in order to completely remove the bound between low-level transmission functionality and TPM spaces. The only real dependency existing is the amount of data saved before trying to send a command to the TPM. It doesn't really matter if we save always a bit

[PATCH v7 11/17] tpm: move TPM space code out of tpm_transmit()

2018-11-13 Thread Jarkko Sakkinen
Prepare and commit TPM space before and after calling tpm_transmit() instead of doing that inside tpm_transmit(). After this change we can remove TPM_TRANSMIT_NESTED flag from tpm2_prepare_space() and tpm2_commit_space() and replace it with TPM_TRANSMIT_UNLOCKED. Cc: James Bottomley

[PATCH v7 06/17] tpm: access command header through struct in tpm_try_transmit()

2018-11-13 Thread Jarkko Sakkinen
Instead of accessing fields of the command header through offsets to the raw buffer, it is a better idea to use the header struct pointer that is already used elsewhere in the function. Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-interface.c | 4 ++-- 1

[PATCH v7 10/17] tpm: move tpm_validate_commmand() to tpm2-space.c

2018-11-13 Thread Jarkko Sakkinen
Move tpm_validate_command() to tpm2-space.c and make it part of the tpm2_prepare_space() flow. Make cc resolution as part of the TPM space functionality in order to detach it from rest of the tpm_transmit() flow. Cc: James Bottomley Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger ---

[PATCH v7 06/17] tpm: access command header through struct in tpm_try_transmit()

2018-11-13 Thread Jarkko Sakkinen
Instead of accessing fields of the command header through offsets to the raw buffer, it is a better idea to use the header struct pointer that is already used elsewhere in the function. Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-interface.c | 4 ++-- 1

[PATCH v7 10/17] tpm: move tpm_validate_commmand() to tpm2-space.c

2018-11-13 Thread Jarkko Sakkinen
Move tpm_validate_command() to tpm2-space.c and make it part of the tpm2_prepare_space() flow. Make cc resolution as part of the TPM space functionality in order to detach it from rest of the tpm_transmit() flow. Cc: James Bottomley Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger ---

[PATCH v7 09/17] tpm: clean up tpm_try_transmit() error handling flow

2018-11-13 Thread Jarkko Sakkinen
Move locking, locality handling and power management to tpm_transmit() in order to simplify the flow. Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-interface.c | 71 1 file changed, 35 insertions(+), 36 deletions(-) diff

[PATCH v7 08/17] tpm: call tpm2_flush_space() on error in tpm_try_transmit()

2018-11-13 Thread Jarkko Sakkinen
Always call tpm2_flush_space() on failure in tpm_try_transmit() so that the volatile memory of the TPM gets cleared. If /dev/tpm0 does not have sufficient permissions (usually it has), this could lead to the leakage of TPM objects. Through /dev/tpmrm0 this issue does not raise any new security

[PATCH v7 07/17] tpm: encapsulate tpm_dev_transmit()

2018-11-13 Thread Jarkko Sakkinen
Encapsulate tpm_transmit() call pattern to tpm_dev_transmit() because it is identically used from two places. Use unlocked version of tpm_transmit() so that we are able to move the calls to tpm2_prepare_space() and tpm2_commit_space() later on to this new function. Signed-off-by: Jarkko Sakkinen

[PATCH v7 08/17] tpm: call tpm2_flush_space() on error in tpm_try_transmit()

2018-11-13 Thread Jarkko Sakkinen
Always call tpm2_flush_space() on failure in tpm_try_transmit() so that the volatile memory of the TPM gets cleared. If /dev/tpm0 does not have sufficient permissions (usually it has), this could lead to the leakage of TPM objects. Through /dev/tpmrm0 this issue does not raise any new security

[PATCH v7 07/17] tpm: encapsulate tpm_dev_transmit()

2018-11-13 Thread Jarkko Sakkinen
Encapsulate tpm_transmit() call pattern to tpm_dev_transmit() because it is identically used from two places. Use unlocked version of tpm_transmit() so that we are able to move the calls to tpm2_prepare_space() and tpm2_commit_space() later on to this new function. Signed-off-by: Jarkko Sakkinen

[PATCH v7 09/17] tpm: clean up tpm_try_transmit() error handling flow

2018-11-13 Thread Jarkko Sakkinen
Move locking, locality handling and power management to tpm_transmit() in order to simplify the flow. Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-interface.c | 71 1 file changed, 35 insertions(+), 36 deletions(-) diff

[PATCH v7 05/17] tpm: declare struct tpm_header

2018-11-13 Thread Jarkko Sakkinen
Decleare struct tpm_header that replaces struct tpm_input_header and struct tpm_output_header. Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-interface.c | 9 - drivers/char/tpm/tpm.h| 27 ---

Re: [PATCH 10/17] prmem: documentation

2018-11-13 Thread Andy Lutomirski
On Tue, Nov 13, 2018 at 10:33 AM Igor Stoppa wrote: > > I forgot one sentence :-( > > On 13/11/2018 20:31, Igor Stoppa wrote: > > On 13/11/2018 19:47, Andy Lutomirski wrote: > > > >> For general rare-writish stuff, I don't think we want IRQs running > >> with them mapped anywhere for write. For

[PATCH v7 04/17] tpm: print tpm2_commit_space() error inside tpm2_commit_space()

2018-11-13 Thread Jarkko Sakkinen
The error logging for tpm2_commit_space() is in a wrong place. This commit moves it inside that function. Cc: James Bottomley Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-interface.c | 2 -- drivers/char/tpm/tpm2-space.c| 9 ++--- 2 files changed,

[PATCH v7 05/17] tpm: declare struct tpm_header

2018-11-13 Thread Jarkko Sakkinen
Decleare struct tpm_header that replaces struct tpm_input_header and struct tpm_output_header. Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-interface.c | 9 - drivers/char/tpm/tpm.h| 27 ---

Re: [PATCH 10/17] prmem: documentation

2018-11-13 Thread Andy Lutomirski
On Tue, Nov 13, 2018 at 10:33 AM Igor Stoppa wrote: > > I forgot one sentence :-( > > On 13/11/2018 20:31, Igor Stoppa wrote: > > On 13/11/2018 19:47, Andy Lutomirski wrote: > > > >> For general rare-writish stuff, I don't think we want IRQs running > >> with them mapped anywhere for write. For

[PATCH v7 04/17] tpm: print tpm2_commit_space() error inside tpm2_commit_space()

2018-11-13 Thread Jarkko Sakkinen
The error logging for tpm2_commit_space() is in a wrong place. This commit moves it inside that function. Cc: James Bottomley Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-interface.c | 2 -- drivers/char/tpm/tpm2-space.c| 9 ++--- 2 files changed,

[PATCH v7 03/17] tpm: return 0 from pcrs_show() when tpm1_pcr_read() fails

2018-11-13 Thread Jarkko Sakkinen
Do not print partial list of PCRs when tpm1_pcr_read() fails but instead return 0 from pcrs_show(). This is consistent behavior with other sysfs functions. Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-sysfs.c | 13 ++--- 1 file changed, 6

[PATCH v7 03/17] tpm: return 0 from pcrs_show() when tpm1_pcr_read() fails

2018-11-13 Thread Jarkko Sakkinen
Do not print partial list of PCRs when tpm1_pcr_read() fails but instead return 0 from pcrs_show(). This is consistent behavior with other sysfs functions. Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-sysfs.c | 13 ++--- 1 file changed, 6

[PATCH v7 00/17] Removed nested TPM operations

2018-11-13 Thread Jarkko Sakkinen
[was Detach TPM space code out of the tpm_transmit() flow but the scope expanded a bit.] Make the changes necessary to detach TPM space code and TPM activation code out of the tpm_transmit() flow because of both of these can cause nested tpm_transmit() calls. The nesteds calls make the whole

[PATCH v7 00/17] Removed nested TPM operations

2018-11-13 Thread Jarkko Sakkinen
[was Detach TPM space code out of the tpm_transmit() flow but the scope expanded a bit.] Make the changes necessary to detach TPM space code and TPM activation code out of the tpm_transmit() flow because of both of these can cause nested tpm_transmit() calls. The nesteds calls make the whole

[PATCH v7 02/17] tpm: fix invalid return value in pubek_show()

2018-11-13 Thread Jarkko Sakkinen
Return zero when tpm_buf_init() fails as we do for other functions in tpm-sysfs.c. Fixes: da379f3c1db0c ("tpm: migrate pubek_show to struct tpm_buf") Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-sysfs.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[PATCH v7 01/17] tpm: use tpm_buf in tpm_transmit_cmd() as the IO parameter

2018-11-13 Thread Jarkko Sakkinen
Since we pass an initialized struct tpm_buf instance in every call site now, it is cleaner to pass that directly to the tpm_transmit_cmd() as the TPM command/response buffer. Fine-tune a little bit tpm_transmit() and tpm_transmit_cmd() comments while doing this. Signed-off-by: Jarkko Sakkinen

[PATCH v7 02/17] tpm: fix invalid return value in pubek_show()

2018-11-13 Thread Jarkko Sakkinen
Return zero when tpm_buf_init() fails as we do for other functions in tpm-sysfs.c. Fixes: da379f3c1db0c ("tpm: migrate pubek_show to struct tpm_buf") Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-sysfs.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[PATCH v7 01/17] tpm: use tpm_buf in tpm_transmit_cmd() as the IO parameter

2018-11-13 Thread Jarkko Sakkinen
Since we pass an initialized struct tpm_buf instance in every call site now, it is cleaner to pass that directly to the tpm_transmit_cmd() as the TPM command/response buffer. Fine-tune a little bit tpm_transmit() and tpm_transmit_cmd() comments while doing this. Signed-off-by: Jarkko Sakkinen

Applied "spi: Deal with slaves that return from transfer_one() unfinished" to the spi tree

2018-11-13 Thread Mark Brown
The patch spi: Deal with slaves that return from transfer_one() unfinished has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "spi: Deal with slaves that return from transfer_one() unfinished" to the spi tree

2018-11-13 Thread Mark Brown
The patch spi: Deal with slaves that return from transfer_one() unfinished has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [RFC PATCH] spi: add driver for the SiFive SPI controller

2018-11-13 Thread Mark Brown
On Mon, Nov 12, 2018 at 03:27:36PM +0100, Emil Renner Berthing wrote: > I know the discussions about the sifive devicetree compatible > strings haven't come to a conclusion, so I'm sending this as > an RFC to get some feedback on the rest of the code. I've not seen any of these discussions or

Re: [RFC PATCH] spi: add driver for the SiFive SPI controller

2018-11-13 Thread Mark Brown
On Mon, Nov 12, 2018 at 03:27:36PM +0100, Emil Renner Berthing wrote: > I know the discussions about the sifive devicetree compatible > strings haven't come to a conclusion, so I'm sending this as > an RFC to get some feedback on the rest of the code. I've not seen any of these discussions or

Applied "spi: pxa2xx: Add ready signal" to the spi tree

2018-11-13 Thread Mark Brown
The patch spi: pxa2xx: Add ready signal has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the

Applied "spi: pxa2xx: Add ready signal" to the spi tree

2018-11-13 Thread Mark Brown
The patch spi: pxa2xx: Add ready signal has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the

Applied "spi: pxa2xx: dt-bindings: Add ready GPIO signal" to the spi tree

2018-11-13 Thread Mark Brown
The patch spi: pxa2xx: dt-bindings: Add ready GPIO signal has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "spi: pxa2xx: dt-bindings: Add ready GPIO signal" to the spi tree

2018-11-13 Thread Mark Brown
The patch spi: pxa2xx: dt-bindings: Add ready GPIO signal has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Re: [PATCH 1/2] Makefile: Fix distcc compilation with x86 macros

2018-11-13 Thread Nadav Amit
From: Nadav Amit Sent: November 13, 2018 at 5:55:34 PM GMT > To: Ingo Molnar > Cc: Ingo Molnar , Masahiro Yamada > , Michal Marek , > Thomas Gleixner , Borislav Petkov , H. > Peter Anvin , X86 ML , Linux Kbuild mailing > list , LKML , > Logan Gunthorpe > Subject: Re: [PATCH 1/2] Makefile:

Re: [PATCH 1/2] Makefile: Fix distcc compilation with x86 macros

2018-11-13 Thread Nadav Amit
From: Nadav Amit Sent: November 13, 2018 at 5:55:34 PM GMT > To: Ingo Molnar > Cc: Ingo Molnar , Masahiro Yamada > , Michal Marek , > Thomas Gleixner , Borislav Petkov , H. > Peter Anvin , X86 ML , Linux Kbuild mailing > list , LKML , > Logan Gunthorpe > Subject: Re: [PATCH 1/2] Makefile:

Re: [PATCH] scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks

2018-11-13 Thread Brian Norris
Hi Alexander, On Tue, Nov 13, 2018 at 12:36 AM Alexander Kapshuk wrote: > > On Tue, Nov 13, 2018 at 2:09 AM Brian Norris wrote: > > > > On Mon, Nov 12, 2018 at 10:42:26AM +0200, Alexander Kapshuk wrote: > > > An even simpler approach would be: > > > > > > { > > > git --no-optional-locks

Re: [PATCH] scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks

2018-11-13 Thread Brian Norris
Hi Alexander, On Tue, Nov 13, 2018 at 12:36 AM Alexander Kapshuk wrote: > > On Tue, Nov 13, 2018 at 2:09 AM Brian Norris wrote: > > > > On Mon, Nov 12, 2018 at 10:42:26AM +0200, Alexander Kapshuk wrote: > > > An even simpler approach would be: > > > > > > { > > > git --no-optional-locks

Applied "ASoC: rockchip: add missing slave_config setting for I2S" to the asoc tree

2018-11-13 Thread Mark Brown
The patch ASoC: rockchip: add missing slave_config setting for I2S has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "ASoC: rockchip: add missing slave_config setting for I2S" to the asoc tree

2018-11-13 Thread Mark Brown
The patch ASoC: rockchip: add missing slave_config setting for I2S has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "ASoC: wm_adsp: Factor out common init code" to the asoc tree

2018-11-13 Thread Mark Brown
The patch ASoC: wm_adsp: Factor out common init code has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "ASoC: wm_adsp: Factor out common init code" to the asoc tree

2018-11-13 Thread Mark Brown
The patch ASoC: wm_adsp: Factor out common init code has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "ASoC: wm_adsp: Fix dma-unsafe read of scratch registers" to the asoc tree

2018-11-13 Thread Mark Brown
The patch ASoC: wm_adsp: Fix dma-unsafe read of scratch registers has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "ASoC: wm_adsp: Fix dma-unsafe read of scratch registers" to the asoc tree

2018-11-13 Thread Mark Brown
The patch ASoC: wm_adsp: Fix dma-unsafe read of scratch registers has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Re: [PATCH] slab.h: Avoid using & for logical and of booleans

2018-11-13 Thread Vlastimil Babka
On 11/12/18 10:55 AM, David Laight wrote: > From: Vlastimil Babka [mailto:vba...@suse.cz] >> Sent: 09 November 2018 19:16 > ... >> This? Not terribly elegant, but I don't see a nicer way right now... > > Maybe just have two copies of the function body? > > static __always_inline enum

Re: [PATCH 10/17] prmem: documentation

2018-11-13 Thread Igor Stoppa
On 13/11/2018 19:16, Andy Lutomirski wrote: > On Tue, Nov 13, 2018 at 6:25 AM Igor Stoppa wrote: [...] >> How about having one mm_struct for each writer (core or thread)? >> > > I don't think that helps anything. I think the mm_struct used for > prmem (or rare_write or whatever you want to

Re: [PATCH] slab.h: Avoid using & for logical and of booleans

2018-11-13 Thread Vlastimil Babka
On 11/12/18 10:55 AM, David Laight wrote: > From: Vlastimil Babka [mailto:vba...@suse.cz] >> Sent: 09 November 2018 19:16 > ... >> This? Not terribly elegant, but I don't see a nicer way right now... > > Maybe just have two copies of the function body? > > static __always_inline enum

Re: [PATCH 10/17] prmem: documentation

2018-11-13 Thread Igor Stoppa
On 13/11/2018 19:16, Andy Lutomirski wrote: > On Tue, Nov 13, 2018 at 6:25 AM Igor Stoppa wrote: [...] >> How about having one mm_struct for each writer (core or thread)? >> > > I don't think that helps anything. I think the mm_struct used for > prmem (or rare_write or whatever you want to

Re: [PATCH 1/1] stackleak: Disable function tracing and kprobes for stackleak_erase()

2018-11-13 Thread Masami Hiramatsu
On Tue, 13 Nov 2018 00:08:48 +0300 Alexander Popov wrote: > The stackleak_erase() function is called on the trampoline stack at the end > of syscall. This stack is not big enough for ftrace and kprobes operations, > e.g. it can be exhausted if we use kprobe_events for stackleak_erase(). > > So

Re: [PATCH 1/1] stackleak: Disable function tracing and kprobes for stackleak_erase()

2018-11-13 Thread Masami Hiramatsu
On Tue, 13 Nov 2018 00:08:48 +0300 Alexander Popov wrote: > The stackleak_erase() function is called on the trampoline stack at the end > of syscall. This stack is not big enough for ftrace and kprobes operations, > e.g. it can be exhausted if we use kprobe_events for stackleak_erase(). > > So

Re: [PATCH 1/1] stackleak: Disable ftrace for stackleak.c

2018-11-13 Thread Masami Hiramatsu
On Mon, 12 Nov 2018 12:21:48 -0500 Steven Rostedt wrote: > On Mon, 12 Nov 2018 19:51:00 +0300 > Alexander Popov wrote: > > > By the way, are there any other tracing/instrumentation mechanisms that > > should > > be disabled? > > ftrace and kprobes are pretty much the only ones that currently

Re: [PATCH 1/1] stackleak: Disable ftrace for stackleak.c

2018-11-13 Thread Masami Hiramatsu
On Mon, 12 Nov 2018 12:21:48 -0500 Steven Rostedt wrote: > On Mon, 12 Nov 2018 19:51:00 +0300 > Alexander Popov wrote: > > > By the way, are there any other tracing/instrumentation mechanisms that > > should > > be disabled? > > ftrace and kprobes are pretty much the only ones that currently

Re: [PATCH] greybus: gpio: switch GPIO portions to use GPIOLIB_IRQCHIP

2018-11-13 Thread Nishad Kamdar
On Mon, Nov 12, 2018 at 04:15:09PM +0100, Johan Hovold wrote: > On Fri, Nov 09, 2018 at 01:17:41PM +0530, Nishad Kamdar wrote: > > Convert the GPIO driver to use the GPIO irqchip library > > GPIOLIB_IRQCHIP instead of reimplementing the same. > > Thanks for picking this up. Linus W took a stab at

Re: [PATCH V3] KSM: allow dedup all tasks memory

2018-11-13 Thread Timofey Titovets
вт, 13 нояб. 2018 г. в 20:59, Pavel Tatashin : > > On 18-11-13 15:23:50, Oleksandr Natalenko wrote: > > Hi. > > > > > Yep. However, so far, it requires an application to explicitly opt in > > > to this behavior, so it's not all that bad. Your patch would remove > > > the requirement for

Re: [PATCH] greybus: gpio: switch GPIO portions to use GPIOLIB_IRQCHIP

2018-11-13 Thread Nishad Kamdar
On Mon, Nov 12, 2018 at 04:15:09PM +0100, Johan Hovold wrote: > On Fri, Nov 09, 2018 at 01:17:41PM +0530, Nishad Kamdar wrote: > > Convert the GPIO driver to use the GPIO irqchip library > > GPIOLIB_IRQCHIP instead of reimplementing the same. > > Thanks for picking this up. Linus W took a stab at

Re: [PATCH V3] KSM: allow dedup all tasks memory

2018-11-13 Thread Timofey Titovets
вт, 13 нояб. 2018 г. в 20:59, Pavel Tatashin : > > On 18-11-13 15:23:50, Oleksandr Natalenko wrote: > > Hi. > > > > > Yep. However, so far, it requires an application to explicitly opt in > > > to this behavior, so it's not all that bad. Your patch would remove > > > the requirement for

Re: [PATCH v3 01/20] lib/vsprintf: Print time and date in human readable format via %pt

2018-11-13 Thread Andy Shevchenko
On Tue, Nov 13, 2018 at 7:37 PM Joe Perches wrote: > > On Tue, 2018-11-13 at 19:17 +0200, Andy Shevchenko wrote: > > There are users which print time and date represented by content of > > struct rtc_time in human readable format. > > > > Instead of open coding that each time introduce

Re: [PATCH v3 01/20] lib/vsprintf: Print time and date in human readable format via %pt

2018-11-13 Thread Andy Shevchenko
On Tue, Nov 13, 2018 at 7:37 PM Joe Perches wrote: > > On Tue, 2018-11-13 at 19:17 +0200, Andy Shevchenko wrote: > > There are users which print time and date represented by content of > > struct rtc_time in human readable format. > > > > Instead of open coding that each time introduce

Re: [PATCH tip/core/rcu 20/41] kprobes: eplace synchronize_sched() with synchronize_rcu()

2018-11-13 Thread Masami Hiramatsu
On Sun, 11 Nov 2018 19:19:16 -0800 "Paul E. McKenney" wrote: > On Mon, Nov 12, 2018 at 12:00:48PM +0900, Masami Hiramatsu wrote: > > On Sun, 11 Nov 2018 11:43:49 -0800 > > "Paul E. McKenney" wrote: > > > > > Now that synchronize_rcu() waits for preempt-disable regions of code > > > as well as

Re: [PATCH tip/core/rcu 20/41] kprobes: eplace synchronize_sched() with synchronize_rcu()

2018-11-13 Thread Masami Hiramatsu
On Sun, 11 Nov 2018 19:19:16 -0800 "Paul E. McKenney" wrote: > On Mon, Nov 12, 2018 at 12:00:48PM +0900, Masami Hiramatsu wrote: > > On Sun, 11 Nov 2018 11:43:49 -0800 > > "Paul E. McKenney" wrote: > > > > > Now that synchronize_rcu() waits for preempt-disable regions of code > > > as well as

Re: [PATCH v3 18/20] Input: hp_sdc_rtc - Switch to use %ptR

2018-11-13 Thread Dmitry Torokhov
On Tue, Nov 13, 2018 at 07:17:27PM +0200, Andy Shevchenko wrote: > Use %ptR instead of open coded variant to print content of > struct rtc_time in human readable format. > > Cc: Dmitry Torokhov > Signed-off-by: Andy Shevchenko Acked-by: Dmitry Torokhov Please feel free to merge with the rest

Re: [PATCH v3 18/20] Input: hp_sdc_rtc - Switch to use %ptR

2018-11-13 Thread Dmitry Torokhov
On Tue, Nov 13, 2018 at 07:17:27PM +0200, Andy Shevchenko wrote: > Use %ptR instead of open coded variant to print content of > struct rtc_time in human readable format. > > Cc: Dmitry Torokhov > Signed-off-by: Andy Shevchenko Acked-by: Dmitry Torokhov Please feel free to merge with the rest

Re: omap5 fixing palmas IRQ_TYPE_NONE warning leads to gpadc timeouts

2018-11-13 Thread Tony Lindgren
Hi * Belisko Marek [180703 18:34]: > Hi Tony, > > On Tue, Jul 3, 2018 at 10:45 AM Tony Lindgren wrote: > > > > * Belisko Marek [180620 09:40]: > > > Hello, > > > > > > I'm trying to fix warning (for omap5 board) produced by recent change > > > to avoid using IRQ_TYPE_NONE like: > > > [

Re: [PATCH 10/17] prmem: documentation

2018-11-13 Thread Nadav Amit
From: Andy Lutomirski Sent: November 13, 2018 at 5:47:16 PM GMT > To: Nadav Amit > Cc: Igor Stoppa , Kees Cook , > Peter Zijlstra , Mimi Zohar , > Matthew Wilcox , Dave Chinner , > James Morris , Michal Hocko , Kernel > Hardening , linux-integrity > , LSM List > , Igor Stoppa > , Dave

Re: omap5 fixing palmas IRQ_TYPE_NONE warning leads to gpadc timeouts

2018-11-13 Thread Tony Lindgren
Hi * Belisko Marek [180703 18:34]: > Hi Tony, > > On Tue, Jul 3, 2018 at 10:45 AM Tony Lindgren wrote: > > > > * Belisko Marek [180620 09:40]: > > > Hello, > > > > > > I'm trying to fix warning (for omap5 board) produced by recent change > > > to avoid using IRQ_TYPE_NONE like: > > > [

Re: [PATCH 10/17] prmem: documentation

2018-11-13 Thread Nadav Amit
From: Andy Lutomirski Sent: November 13, 2018 at 5:47:16 PM GMT > To: Nadav Amit > Cc: Igor Stoppa , Kees Cook , > Peter Zijlstra , Mimi Zohar , > Matthew Wilcox , Dave Chinner , > James Morris , Michal Hocko , Kernel > Hardening , linux-integrity > , LSM List > , Igor Stoppa > , Dave

[PATCHv11 0/8] Add Intel Stratix10 FPGA manager and service layer

2018-11-13 Thread richard . gong
From: Richard Gong This is the 11th submission of Intel Stratix10 service layer and FPGA manager driver patches. Starting from 10th submission Stratix10 service layer driver .c file is moved to drivers/firmware, header files is moved to include/linux/firmware/intel. And other firmware interface

[PATCHv11 0/8] Add Intel Stratix10 FPGA manager and service layer

2018-11-13 Thread richard . gong
From: Richard Gong This is the 11th submission of Intel Stratix10 service layer and FPGA manager driver patches. Starting from 10th submission Stratix10 service layer driver .c file is moved to drivers/firmware, header files is moved to include/linux/firmware/intel. And other firmware interface

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