[PATCH v5 06/11] mfd / platform: cros_ec: Reorganize platform and mfd includes

2019-07-22 Thread Enric Balletbo i Serra
There is a bit of mess between cros-ec mfd includes and platform includes. For example, we have a linux/mfd/cros_ec.h include that exports the interface implemented in platform/chrome/cros_ec_proto.c. Or we have a linux/mfd/cros_ec_commands.h file that is non related to the multifunction device (in

[PATCH v5 00/11] Move part of cros-ec out of MFD subsystem

2019-07-22 Thread Enric Balletbo i Serra
Hi, Now that rc1 is released is time to send another patchset rebased on top. This is an attempt to clean up a bit more the cros-ec driver to have a better separation on what is part of the MFD subsystem and what is part of platform/chrome. The major changes introduced by this patchset are: 1. Mo

[PATCH v5 02/11] mfd / platform: cros_ec: Move cros-ec core driver out from MFD

2019-07-22 Thread Enric Balletbo i Serra
Now, the ChromeOS EC core driver has nothing related to an MFD device, so move that driver from the MFD subsystem to the platform/chrome subsystem. Signed-off-by: Enric Balletbo i Serra Acked-by: Andy Shevchenko Acked-by: Thierry Reding Acked-by: Mark Brown Acked-by: Wolfram Sang Acked-by: Ne

[PATCH v5 01/11] mfd / platform: cros_ec: Handle chained ECs as platform devices

2019-07-22 Thread Enric Balletbo i Serra
An MFD is a device that contains several sub-devices (cells). For instance, the ChromeOS EC fits in this description as usually contains a charger and can have other devices with different functions like a Real-Time Clock, an Audio codec, a Real-Time Clock, ... If you look at the driver, though, w

[PATCH] hv: Use the correct style for SPDX License Identifier

2019-07-22 Thread Nishad Kamdar
This patch corrects the SPDX License Identifier style in the trace header file related to Microsoft Hyper-V client drivers. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used) Changes made by using a script

RE: [PATCH net-next 0/3] net: stmmac: Convert to phylink

2019-07-22 Thread Jose Abreu
From: Ondřej Jirman Date: Jul/22/2019, 13:42:40 (UTC+00:00) > Hello Jose, > > On Tue, Jun 11, 2019 at 05:18:44PM +0200, Jose Abreu wrote: > > [ Hope this diff looks better (generated with --minimal) ] > > > > This converts stmmac to use phylink. Besides the code redution this will > > allow to

Re: [PATCH 1/3] printk: Allow architecture-specific timestamping function

2019-07-22 Thread Marc Zyngier
On 22/07/2019 14:03, Russell King - ARM Linux admin wrote: > On Mon, Jul 22, 2019 at 01:47:57PM +0100, Marc Zyngier wrote: >> On 22/07/2019 12:25, Petr Mladek wrote: >>> On Mon 2019-07-22 11:33:28, Marc Zyngier wrote: printk currently relies on local_clock to time-stamp the kernel message

[PATCH] powerpc: Wire up clone3 syscall

2019-07-22 Thread Michael Ellerman
Wire up the new clone3 syscall added in commit 7f192e3cd316 ("fork: add clone3"). This requires a ppc_clone3 wrapper, in order to save the non-volatile GPRs before calling into the generic syscall code. Otherwise we hit the BUG_ON in CHECK_FULL_REGS in copy_thread(). Lightly tested using Christia

Re: [PATCH v9 4/8] sched/deadline: Fix bandwidth accounting at all levels after offline migration

2019-07-22 Thread Dietmar Eggemann
On 7/22/19 2:28 PM, Juri Lelli wrote: > On 22/07/19 13:07, Dietmar Eggemann wrote: >> On 7/19/19 3:59 PM, Juri Lelli wrote: >> >> [...] >> >>> @@ -557,6 +558,38 @@ static struct rq *dl_task_offline_migration(struct rq >>> *rq, struct task_struct *p >>> double_lock_balance(rq, later_rq)

[RESEND PATCH 07/10] ARM: davinci: dm365: switch to using the clocksource driver

2019-07-22 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have a proper clocksource driver for davinci. Switch the dm365 platform to using it. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/dm365.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-)

[RESEND PATCH 02/10] ARM: davinci: WARN_ON() if clk_get() fails

2019-07-22 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Currently the timer code checks if the clock pointer passed to it is good (!IS_ERR(clk)). The new clocksource driver expects the clock to be functional and doesn't perform any checks so emit a warning if clk_get() fails. Apply this to all davinci platforms. Signed-off-b

[RESEND PATCH 05/10] ARM: davinci: move timer definitions to davinci.h

2019-07-22 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Boards from the dm* family rely on register offset definitions from arch/arm/mach-davinci/include/mach/time.h. We'll be removing this file soon, so move the required defines to davinci.h where the rest of such constants live. Signed-off-by: Bartosz Golaszewski Reviewed

[RESEND PATCH 08/10] ARM: davinci: dm644x: switch to using the clocksource driver

2019-07-22 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have a proper clocksource driver for davinci. Switch the dm644x platform to using it. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/dm644x.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions

[RESEND PATCH 10/10] ARM: davinci: remove legacy timer support

2019-07-22 Thread Bartosz Golaszewski
From: Bartosz Golaszewski All platforms have now been switched to the new clocksource driver. Remove the old code and various no longer needed bits and pieces. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/Makefile | 3 +- arch/arm/mach

[RESEND PATCH 00/10] ARM: davinci: use the new clocksource driver

2019-07-22 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Sekhar, the following patches switch DaVinci to using the new clocksource driver which is now upstream. They are rebased on top of v5.3-rc1. Additionally the following two patches were reverted locally due to a regression in v5.3-rc1 about which the relevant maintainers

[RESEND PATCH 03/10] ARM: davinci: da850: switch to using the clocksource driver

2019-07-22 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have a proper clocksource driver for davinci. Switch the da850 platform to using it. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/da850.c | 46 ++- 1 file changed, 13 insertions(+), 33

[RESEND PATCH 04/10] ARM: davinci: da830: switch to using the clocksource driver

2019-07-22 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have a proper clocksource driver for davinci. Switch the da830 platform to using it. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/da830.c | 41 --- 1 file changed, 14 insertions(+), 27

[RESEND PATCH 09/10] ARM: davinci: dm646x: switch to using the clocksource driver

2019-07-22 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have a proper clocksource driver for davinci. Switch the dm646x platform to using it. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/dm646x.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions

[RESEND PATCH 06/10] ARM: davinci: dm355: switch to using the clocksource driver

2019-07-22 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have a proper clocksource driver for davinci. Switch the dm355 platform to using it. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/dm355.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-

Re: [PATCH] selinux: convert struct sidtab count to refcount_t

2019-07-22 Thread Ondrej Mosnacek
On Mon, Jul 22, 2019 at 1:35 PM NitinGote wrote: > refcount_t type and corresponding API should be > used instead of atomic_t when the variable is used as > a reference counter. This allows to avoid accidental > refcounter overflows that might lead to use-after-free > situations. > > Signed-off-by

[RESEND PATCH 01/10] ARM: davinci: enable the clocksource driver for DT mode

2019-07-22 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Switch all davinci boards supporting device tree to using the new clocksource driver: remove the previous OF_TIMER_DECLARE() from mach-davinci and select davinci-timer for ARCH_DAVINCI. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/Kconfi

Re: [PATCH v6 0/5] HEVC/H.265 stateless support for V4L2 and Cedrus

2019-07-22 Thread Paul Kocialkowski
Hi, Any feedback on this series? I think it was pretty much ready for merge regarding the comments received so far. I could craft a rebased v7, with or without additional changes, if needed. What do you think? Cheers, Paul On Fri 14 Jun 19, 16:38, Paul Kocialkowski wrote: > This is early supp

Re: [alsa-devel] [PATCH] ASoC: SOF: use __u32 instead of uint32_t in uapi headers

2019-07-22 Thread Pierre-Louis Bossart
On 7/22/19 7:56 AM, Takashi Iwai wrote: On Mon, 22 Jul 2019 14:49:34 +0200, Pierre-Louis Bossart wrote: On 7/21/19 9:23 AM, Masahiro Yamada wrote: When CONFIG_UAPI_HEADER_TEST=y, exported headers are compile-tested to make sure they can be included from user-space. Currently, header.h an

Re: [PATCH] fs/omfs: make use of kmemdup

2019-07-22 Thread Bob Copeland
On Sun, Jul 21, 2019 at 04:53:27PM +0530, Hariprasad Kelam wrote: > kmalloc + memcpy can be replaced with kmemdup. > > fix below issue reported by coccicheck > ./fs/omfs/inode.c:366:9-16: WARNING opportunity for kmemdup > > Signed-off-by: Hariprasad Kelam Thanks! Acked-by: Bob Copeland -- B

Very urgent AREAS OF INVESTMENT.

2019-07-22 Thread John CAVEDO
Sir/madam,I humbly seek your consent for an investment in your country.I need to invest in the following areas by your candid advice and supervision; industrial, petroleum energy , land farming..More details of this will be sent following your INVESTMENT suggestion and interest. I am deeply sorry f

[PATCH] linux/dim: fix -Wunused-const-variable warnings

2019-07-22 Thread Qian Cai
There are a lot of compilation warnings due to tx_profile[] and rx_profile[] are only used in lib/dim/net_dim.c but include/linux/dim.h is included elsewhere. In file included from ./include/rdma/ib_verbs.h:64, from ./include/linux/mlx5/device.h:37, from ./include

Re: [PATCH 07/11] firmware: arm_scmi: Add support for asynchronous commands and delayed response

2019-07-22 Thread Sudeep Holla
On Fri, Jul 19, 2019 at 04:16:02PM -0400, Jim Quinlan wrote: > On Fri, Jul 19, 2019 at 7:03 AM Sudeep Holla wrote: > > > > On Thu, Jul 18, 2019 at 05:38:06PM -0400, Jim Quinlan wrote: > > > Hi Sudeep, > > > > > > Just a comment in general. The asynchronous commands you are > > > implementing are

Re: [v5.3-rc1 regression] Hitting a kernel BUG() when trying to load a module on DaVinci SoC

2019-07-22 Thread Bartosz Golaszewski
pon., 22 lip 2019 o 14:12 Bartosz Golaszewski napisał(a): > > Hi, > > with v5.3-rc1 I'm hitting the following BUG() when trying to load the > gpio-backlight module: > > kernel BUG at kernel/module.c:1919! > Internal error: Oops - BUG: 0 [#1] PREEMPT ARM > Modules linked in: > CPU: 0 PID: 1 Comm: s

Re: [PATCH v5] media: docs-rst: Document m2m stateless video decoder interface

2019-07-22 Thread Paul Kocialkowski
Hi, [...] > > +Buffer management while decoding > > + > > +Contrary to stateful decoders, a stateless decoder does not perform any > > kind of > > +buffer management: it only guarantees that dequeued ``CAPTURE`` buffers > > can be > > +used by the client for as l

Re: [PATCH 10/10] ASoC: fsl_sai: Add support for imx7ulp/imx8mq

2019-07-22 Thread Lucas Stach
Am Montag, den 22.07.2019, 15:48 +0300 schrieb Daniel Baluta: > SAI module on imx7ulp/imx8m features 2 new registers (VERID and PARAM) > at the beginning of register address space. > > On imx7ulp FIFOs can held up to 16 x 32 bit samples. > On imx8mq FIFOs can held up to 128 x 32 bit samples. > >

Re: [PATCH 1/3] printk: Allow architecture-specific timestamping function

2019-07-22 Thread Russell King - ARM Linux admin
On Mon, Jul 22, 2019 at 01:47:57PM +0100, Marc Zyngier wrote: > On 22/07/2019 12:25, Petr Mladek wrote: > > On Mon 2019-07-22 11:33:28, Marc Zyngier wrote: > >> printk currently relies on local_clock to time-stamp the kernel > >> messages. In order to allow the timestamping (and only that) > >> to

Re: [PATCH RFC] modpost: Support I2C Aliases from OF tables

2019-07-22 Thread Javier Martinez Canillas
Hello Kieran, On 7/10/19 9:39 PM, Kieran Bingham wrote: > I2C drivers match against an I2C ID table, an OF table, and an ACPI > table. It is now also possible to match against an OF table entry > without the vendor prefix to support backwards compatibility, and allow > simplification of the i2c pr

Re: [PATCH 07/10] ASoC: fsl_sai: Add support for FIFO combine mode

2019-07-22 Thread Lucas Stach
Am Montag, den 22.07.2019, 15:48 +0300 schrieb Daniel Baluta: > FIFO combining mode allows the separate FIFOs for multiple data > channels > to be used as a single FIFO for either software accesses or a single > data > channel or both. > > FIFO combined mode is described in chapter 13.10.3.5.4 fro

Re: nl80211 wlcore regression in next

2019-07-22 Thread Tony Lindgren
Hi, * Johannes Berg [190625 08:03]: > On Tue, 2019-06-25 at 01:00 -0700, Tony Lindgren wrote: > > Hi, > > > > * Johannes Berg [190625 07:47]: > > > On Tue, 2019-06-25 at 00:38 -0700, Tony Lindgren wrote: > > > > Hi, > > > > > > > > Looks like at least drivers/net/wireless/ti wlcore driver has

Re: [PATCH 06/10] ASoC: dt-bindings: Document dl_mask property

2019-07-22 Thread Lucas Stach
Am Montag, den 22.07.2019, 15:48 +0300 schrieb Daniel Baluta: > SAI supports up to 8 data lines. This property let the user > configure how many data lines should be used per transfer > direction (Tx/Rx). > > > Signed-off-by: Daniel Baluta > --- >  Documentation/devicetree/bindings/sound/fsl-sai.

Re: [PATCH 05/10] ASoC: fsl_sai: Add support to enable multiple data lines

2019-07-22 Thread Lucas Stach
Am Montag, den 22.07.2019, 15:48 +0300 schrieb Daniel Baluta: > SAI supports up to 8 Rx/Tx data lines which can be enabled > using TCE/RCE bits of TCR3/RCR3 registers. > > Data lines to be enabled are read from DT fsl,dl_mask property. > By default (if no DT entry is provided) only data line 0 is

Re: [PATCH] [v2] ubsan: build ubsan.c more conservatively

2019-07-22 Thread Andrey Ryabinin
On 7/22/19 3:50 PM, Arnd Bergmann wrote: > objtool points out several conditions that it does not like, depending > on the combination with other configuration options and compiler > variants: > > stack protector: > lib/ubsan.o: warning: objtool: __ubsan_handle_type_mismatch()+0xbf: call to >

Re: [alsa-devel] [PATCH] ASoC: SOF: use __u32 instead of uint32_t in uapi headers

2019-07-22 Thread Takashi Iwai
On Mon, 22 Jul 2019 14:49:34 +0200, Pierre-Louis Bossart wrote: > > > > On 7/21/19 9:23 AM, Masahiro Yamada wrote: > > When CONFIG_UAPI_HEADER_TEST=y, exported headers are compile-tested to > > make sure they can be included from user-space. > > > > Currently, header.h and fw.h are excluded from

Re: [PATCH] ubsan: build ubsan.c more conservatively

2019-07-22 Thread Arnd Bergmann
On Mon, Jul 22, 2019 at 2:25 PM Andrey Ryabinin wrote: > On 7/22/19 12:10 PM, Arnd Bergmann wrote: > > > > Fixes: 42440c1f9911 ("lib/ubsan: add type mismatch handler for new > > GCC/Clang") > > There was no uaccess validataion at that time, so the right fixes line is > probably this: > > Fixes:

[PATCH] [v2] ubsan: build ubsan.c more conservatively

2019-07-22 Thread Arnd Bergmann
objtool points out several conditions that it does not like, depending on the combination with other configuration options and compiler variants: stack protector: lib/ubsan.o: warning: objtool: __ubsan_handle_type_mismatch()+0xbf: call to __stack_chk_fail() with UACCESS enabled lib/ubsan.o: warni

Re: [alsa-devel] [PATCH] ASoC: SOF: use __u32 instead of uint32_t in uapi headers

2019-07-22 Thread Pierre-Louis Bossart
On 7/21/19 9:23 AM, Masahiro Yamada wrote: When CONFIG_UAPI_HEADER_TEST=y, exported headers are compile-tested to make sure they can be included from user-space. Currently, header.h and fw.h are excluded from the test coverage. To make them join the compile-test, we need to fix the build erro

[PATCH 04/10] ASoC: fsl_sai: Update Tx/Rx channel enable mask

2019-07-22 Thread Daniel Baluta
Tx channel enable (TCE) / Rx channel enable (RCE) bits enable corresponding data channel for Tx/Rx operation. Because SAI supports up the 8 channels TCE/RCE occupy up the 8 bits inside TCR3/RCR3 registers we need to extend the mask to reflect this. Signed-off-by: Daniel Baluta --- sound/soc/fsl

[PATCH 02/10] ASoC: fsl_sai: derive TX FIFO watermark from FIFO depth

2019-07-22 Thread Daniel Baluta
From: Lucas Stach The DMA request schould be triggered as soon as the FIFO has space for another burst. As different versions of the SAI block have different FIFO sizes, the watrmark level needs to be derived from version specific data. Signed-off-by: Lucas Stach --- sound/soc/fsl/fsl_sai.c |

[PATCH 06/10] ASoC: dt-bindings: Document dl_mask property

2019-07-22 Thread Daniel Baluta
SAI supports up to 8 data lines. This property let the user configure how many data lines should be used per transfer direction (Tx/Rx). Signed-off-by: Daniel Baluta --- Documentation/devicetree/bindings/sound/fsl-sai.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/dev

[PATCH 05/10] ASoC: fsl_sai: Add support to enable multiple data lines

2019-07-22 Thread Daniel Baluta
SAI supports up to 8 Rx/Tx data lines which can be enabled using TCE/RCE bits of TCR3/RCR3 registers. Data lines to be enabled are read from DT fsl,dl_mask property. By default (if no DT entry is provided) only data line 0 is enabled. Note: We can only enable consecutive data lines starting with

[PATCH 09/10] ASoC: fsl_sai: Add support for SAI new version

2019-07-22 Thread Daniel Baluta
New IP version introduces Version ID and Parameter registers and optionally added Timestamp feature. VERID and PARAM registers are placed at the top of registers address space and some registers are shifted according to the following table: Tx/Rx data registers and Tx/Rx FIFO registers keep their

[PATCH 07/10] ASoC: fsl_sai: Add support for FIFO combine mode

2019-07-22 Thread Daniel Baluta
FIFO combining mode allows the separate FIFOs for multiple data channels to be used as a single FIFO for either software accesses or a single data channel or both. FIFO combined mode is described in chapter 13.10.3.5.4 from i.MX8MQ reference manual [1]. For each direction (RX/TX) fifo combine mod

[PATCH 08/10] ASoC: dt-bindings: Document fcomb_mode property

2019-07-22 Thread Daniel Baluta
This allows combining multiple-data-line FIFOs into a single-data-line FIFO. Signed-off-by: Daniel Baluta --- Documentation/devicetree/bindings/sound/fsl-sai.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/fsl-sai.txt b/Documentation/devicetre

[PATCH 03/10] ASoC: fsl_sai: Add registers definition for multiple datalines

2019-07-22 Thread Daniel Baluta
SAI IP supports up to 8 data lines. The configuration of supported number of data lines is decided at SoC integration time. This patch adds definitions for all related data TX/RX registers: * TDR0..7, Transmit data register * TFR0..7, Transmit FIFO register * RDR0..7, Recei

[PATCH 10/10] ASoC: fsl_sai: Add support for imx7ulp/imx8mq

2019-07-22 Thread Daniel Baluta
SAI module on imx7ulp/imx8m features 2 new registers (VERID and PARAM) at the beginning of register address space. On imx7ulp FIFOs can held up to 16 x 32 bit samples. On imx8mq FIFOs can held up to 128 x 32 bit samples. Signed-off-by: Daniel Baluta --- sound/soc/fsl/fsl_sai.c | 14

[PATCH 01/10] ASoC: fsl_sai: add of_match data

2019-07-22 Thread Daniel Baluta
From: Lucas Stach New revisions of the SAI IP block have even more differences that need be taken into account by the driver. To avoid sprinking compatible checks all over the driver move the current differences into of_match_data. Signed-off-by: Lucas Stach --- sound/soc/fsl/fsl_sai.c | 22 ++

[PATCH 00/10] Add support for new SAI IP version

2019-07-22 Thread Daniel Baluta
So far SAI IPs integrated with imx6 only supported one data line. Starting with imx7 and imx8 SAI integration support up to 8 data lines and multiple ways of combining the fifos for each data line. New SAI IP version introduces two new registers (Version and Parmeter registers) which are placed at

[PATCH 0/4][V3] iio: imu: Add support for the ADIS16460 IMU

2019-07-22 Thread Alexandru Ardelean
This changeset adds support for the ADIS16460. Support for this chip, requires changes in both IIO & SPI, in order to support configurable/longer CS change delays. The default CS change delay is 10 uS, while the ADIS16460 requires a minimum of 16 uS. In order to accomodate this, the SPI transfer

[PATCH 3/4][V3] iio: imu: Add support for the ADIS16460 IMU

2019-07-22 Thread Alexandru Ardelean
The ADIS16460 device is a complete inertial system that includes a triaxial gyroscope and a triaxial accelerometer. It's more simplified design than that of the ADIS16480, and does not offer the triaxial magnetometers & pressure sensors. It does also have a temperature sensor (like the ADIS16480).

[PATCH 4/4][V3] dt-bindings: iio: imu: add bindings for ADIS16460

2019-07-22 Thread Alexandru Ardelean
This change adds device-tree bindings for the ADIS16460. Reviewed-by: Rob Herring Signed-off-by: Alexandru Ardelean --- .../bindings/iio/imu/adi,adis16460.yaml | 53 +++ MAINTAINERS | 1 + 2 files changed, 54 insertions(+) create mode 10

Re: [PATCH 1/3] printk: Allow architecture-specific timestamping function

2019-07-22 Thread Marc Zyngier
On 22/07/2019 12:25, Petr Mladek wrote: > On Mon 2019-07-22 11:33:28, Marc Zyngier wrote: >> printk currently relies on local_clock to time-stamp the kernel >> messages. In order to allow the timestamping (and only that) >> to be overridden by architecture-specific code, let's declare >> a new time

[PATCH 2/4][V3] iio: imu: adis: Add support for SPI transfer cs_change_delay

2019-07-22 Thread Alexandru Ardelean
The ADIS16460 requires a higher delay before the next transfer. Since the SPI framework supports configuring the delay before the next transfer, this driver will become the first user of it. The support for this functionality in ADIS16460 requires an addition to the ADIS lib to support the `cs_cha

[PATCH 1/4][V3] spi: Add optional stall delay between cs_change transfers

2019-07-22 Thread Alexandru Ardelean
Some devices like the ADIS16460 IMU require a longer period between transfers, i.e. between when the CS is de-asserted and re-asserted. The default value of 10us is not enough. This change makes the delay configurable for when the next CS change goes active, allowing the default to remain 10us is c

[PATCH 3/3] [v2] dmaengine: dw-edma: fix endianess confusion

2019-07-22 Thread Arnd Bergmann
When building with 'make C=1', sparse reports an endianess bug: drivers/dma/dw-edma/dw-edma-v0-debugfs.c:60:30: warning: cast removes address space of expression drivers/dma/dw-edma/dw-edma-v0-debugfs.c:86:24: warning: incorrect type in argument 1 (different address spaces) drivers/dma/dw-edma/d

[PATCH 2/3] [v2] dmaengine: dw-edma: fix __iomem type confusion

2019-07-22 Thread Arnd Bergmann
The new driver mixes up dma_addr_t and __iomem pointers, which results in warnings on some 32-bit architectures, like: drivers/dma/dw-edma/dw-edma-v0-core.c: In function '__dw_regs': drivers/dma/dw-edma/dw-edma-v0-core.c:28:9: error: cast to pointer from integer of different size [-Werror=int-to-

[PATCH 1/3] [v2] dmaengine: dw-edma: fix unnecessary stack usage

2019-07-22 Thread Arnd Bergmann
Putting large constant data on the stack causes unnecessary overhead and stack usage: drivers/dma/dw-edma/dw-edma-v0-debugfs.c:285:6: error: stack frame size of 1376 bytes in function 'dw_edma_v0_debugfs_on' [-Werror,-Wframe-larger-than=] Mark the variable 'static const' in order for the compile

Pershendetje e dashur,

2019-07-22 Thread Karin
Pershendetje e dashur, A mund të trajtoni një projekt themeli? ju lutemi të përgjigjeni për më shumë hollësi dhe informacion. Zonja Karin

Re: [PATCH net-next 0/3] net: stmmac: Convert to phylink

2019-07-22 Thread Ondřej Jirman
Hello Jose, On Tue, Jun 11, 2019 at 05:18:44PM +0200, Jose Abreu wrote: > [ Hope this diff looks better (generated with --minimal) ] > > This converts stmmac to use phylink. Besides the code redution this will > allow to gain more flexibility. I'm testing 5.3-rc1 and on Orange Pi 3 (uses stmmac-

Re: [for-next][PATCH 12/16] kprobes: Initialize kprobes at postcore_initcall

2019-07-22 Thread Catalin Marinas
Hi Steve, On Tue, Jul 09, 2019 at 11:15:20AM -0400, Steven Rostedt wrote: > On Wed, 3 Jul 2019 15:08:32 +0100 > Catalin Marinas wrote: > > > diff --git a/kernel/kprobes.c b/kernel/kprobes.c > > > index 5471efbeb937..0ca6f53c8505 100644 > > > --- a/kernel/kprobes.c > > > +++ b/kernel/kprobes.c > >

linux-kernel@vger.kernel.org

2019-07-22 Thread Bartosz Golaszewski
czw., 11 lip 2019 o 10:48 Geert Uytterhoeven napisał(a): > > On Thu, Jul 11, 2019 at 10:29 AM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Instead of always dereferencing &pdev->dev, just assign a helper local > > variable of type struct device * and use it where applicable.

Re: [PATCH 23/79] libperf: Make libperf.a part of the build

2019-07-22 Thread Arnaldo Carvalho de Melo
Em Sun, Jul 21, 2019 at 01:24:10PM +0200, Jiri Olsa escreveu: > Adding empty libperf.a under toos/perf/lib and > linking it with perf. So, I noticed you created a subdirectory under tools/perf/, while I first thought you would have it in tools/lib/perf/, why not move it there? - Arnaldo > It ca

Re: [PATCH] [v2] kasan: remove clang version check for KASAN_STACK

2019-07-22 Thread Mark Brown
On Fri, Jul 19, 2019 at 10:03:31PM +0200, Arnd Bergmann wrote: > asan-stack mode still uses dangerously large kernel stacks of > tens of kilobytes in some drivers, and it does not seem that anyone > is working on the clang bug. Reviewed-by: Mark Brown signature.asc Description: PGP signature

[PATCH 2/5] arm64: dts: qcom: sdm845: remove unnecessary properties for dsi nodes

2019-07-22 Thread Vinod Koul
We get a warning about unnecessary properties of arch/arm64/boot/dts/qcom/sdm845.dtsi:2211.22-2257.6: Warning (avoid_unnecessary_addr_size): /soc/mdss@ae0/dsi@ae94000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property arch/arm64/boot/dts/qcom/sdm845.dtsi:2278.22

[PATCH 4/5] arm64: dts: qcom: sdm845: remove macro from unit name

2019-07-22 Thread Vinod Koul
Unit name is supposed to be a number, using a macro with hex value is not recommended, so add the value in unit name. arch/arm64/boot/dts/qcom/pm8998.dtsi:81.18-84.6: Warning (unit_address_format): /soc/spmi@c44/pmic@0/adc@3100/adc-chan@0x06: unit name should not have leading "0x" arch/arm64

[PATCH 5/5] arm64: dts: qcom: sdm845-cheza: remove macro from unit name

2019-07-22 Thread Vinod Koul
Unit name is supposed to be a number, using a macro with hex value is not recommended, so add the value in unit name. arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi:966.16-969.4: Warning (unit_address_format): /soc@0/spmi@c44/pmic@0/adc@3100/adc-chan@0x4d: unit name should not have leading "0x"

[PATCH 0/5] arm64: dts: qcom: sdm845: Fix DTS warnings

2019-07-22 Thread Vinod Koul
So this is an attempt to fix some warns on sdm845 dts. We still have bunch of warnings to fix after this series (dupplicate adress and node names having underscores etc). lets get long hanging ones fixed, we can see the warns with W=1 or W=2 Vinod Koul (5): arm64: dts: qcom: sdm845: Add unit na

[PATCH 3/5] arm64: dts: qcom: sdm845: remove unit name for thermal trip points

2019-07-22 Thread Vinod Koul
The thermal trip points have unit name but no reg property, so we can remove them arch/arm64/boot/dts/qcom/sdm845.dtsi:2824.31-2828.7: Warning (unit_address_vs_reg): /thermal-zones/cpu0-thermal/trips/trip-point@0: node has a unit name, but no reg property arch/arm64/boot/dts/qcom/sdm845.dtsi:283

[PATCH 1/5] arm64: dts: qcom: sdm845: Add unit name to soc node

2019-07-22 Thread Vinod Koul
We get a warning about missing unit name for soc node, so add it. arch/arm64/boot/dts/qcom/sdm845.dtsi:623.11-2814.4: Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- 1 file chang

Re: [for-next][PATCH 12/16] kprobes: Initialize kprobes at postcore_initcall

2019-07-22 Thread Catalin Marinas
On Tue, Jul 09, 2019 at 09:30:49PM +0900, Masami Hiramatsu wrote: > On Wed, 3 Jul 2019 10:02:05 -0400 Steven Rostedt > wrote: > > On Tue, 2 Jul 2019 17:50:09 +0100 Mark Rutland > > wrote: > > > On Sun, May 26, 2019 at 03:18:40PM -0400, Steven Rostedt wrote: > > > > Signed-off-by: Masami Hiramatsu

Re: [PATCH] s390: use __u{16,32,64} instead of uint{16,32,64}_t in uapi header

2019-07-22 Thread Heiko Carstens
On Sun, Jul 21, 2019 at 11:20:08PM +0900, Masahiro Yamada wrote: > When CONFIG_UAPI_HEADER_TEST=y, exported headers are compile-tested to > make sure they can be included from user-space. > > Currently, zcrypt.h is excluded from the test coverage. To make it > join the compile-test, we need to fix

Re: [PATCH v9 4/8] sched/deadline: Fix bandwidth accounting at all levels after offline migration

2019-07-22 Thread Juri Lelli
On 22/07/19 13:07, Dietmar Eggemann wrote: > On 7/19/19 3:59 PM, Juri Lelli wrote: > > [...] > > > @@ -557,6 +558,38 @@ static struct rq *dl_task_offline_migration(struct rq > > *rq, struct task_struct *p > > double_lock_balance(rq, later_rq); > > } > > > > + if (p->dl.dl_non

Re: [PATCH] firmware: fix build errors in paged buffer handling code

2019-07-22 Thread Takashi Iwai
On Mon, 22 Jul 2019 14:12:02 +0200, Greg Kroah-Hartman wrote: > > On Mon, Jul 22, 2019 at 01:55:20PM +0200, Takashi Iwai wrote: > > On Mon, 22 Jul 2019 07:55:36 +0200, > > Takashi Iwai wrote: > > > > > > From: Mauro Rossi > > > > > > fw_{grow,map}_paged_buf() need to be defined as static inline

Re: [PATCH] [v2] kasan: remove clang version check for KASAN_STACK

2019-07-22 Thread Andrey Ryabinin
On 7/19/19 11:03 PM, Arnd Bergmann wrote: > asan-stack mode still uses dangerously large kernel stacks of > tens of kilobytes in some drivers, and it does not seem that anyone > is working on the clang bug. > > Turn it off for all clang versions to prevent users from > accidentally enabling it

Re: [PATCH v2] leds: apu: fix error message on probing failure

2019-07-22 Thread Pavel Machek
On Mon 2019-07-22 14:08:51, Enrico Weigelt, metux IT consult wrote: > From: Enrico Weigelt > > The current error message on failed probing tends to be a bit > misleading. Fix it to tell exactly that an APU v1 was not found. > > Signed-off-by: Enrico Weigelt Acked-by: Pavel Machek -- (englis

Re: [PATCH] [v3] page flags: prioritize kasan bits over last-cpuid

2019-07-22 Thread Andrey Ryabinin
On 7/22/19 2:55 PM, Arnd Bergmann wrote: > ARM64 randdconfig builds regularly run into a build error, especially > when NUMA_BALANCING and SPARSEMEM are enabled but not SPARSEMEM_VMEMMAP: > > #error "KASAN: not enough bits in page flags for tag" > > The last-cpuid bits are already contitional

Re: [PATCH] ubsan: build ubsan.c more conservatively

2019-07-22 Thread Andrey Ryabinin
On 7/22/19 12:10 PM, Arnd Bergmann wrote: > objtool points out several conditions that it does not like, depending > on the combination with other configuration options and compiler > variants: > > stack protector: > lib/ubsan.o: warning: objtool: __ubsan_handle_type_mismatch()+0xbf: call to >

Applied "SoC: rockchip: rockchip_max98090: Enable MICBIAS for headset keypress detection" to the asoc tree

2019-07-22 Thread Mark Brown
The patch SoC: rockchip: rockchip_max98090: Enable MICBIAS for headset keypress detection has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually

Applied "SoC: rockchip-max98090: Remove MICBIAS as supply of input pin IN34" to the asoc tree

2019-07-22 Thread Mark Brown
The patch SoC: rockchip-max98090: Remove MICBIAS as supply of input pin IN34 has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in th

Applied "regulator: lm363x: Fix off-by-one n_voltages for lm3632 ldo_vpos/ldo_vneg" to the regulator tree

2019-07-22 Thread Mark Brown
The patch regulator: lm363x: Fix off-by-one n_voltages for lm3632 ldo_vpos/ldo_vneg has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usuall

Applied "regulator: lm363x: Fix n_voltages setting for lm36274" to the regulator tree

2019-07-22 Thread Mark Brown
The patch regulator: lm363x: Fix n_voltages setting for lm36274 has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the ne

Applied "ASoC: wcd9335: Fix misuse of GENMASK macro" to the asoc tree

2019-07-22 Thread Mark Brown
The patch ASoC: wcd9335: Fix misuse of GENMASK macro has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sen

Applied "ASoC: codecs: ad193x: Use regmap_multi_reg_write() when initializing" to the asoc tree

2019-07-22 Thread Mark Brown
The patch ASoC: codecs: ad193x: Use regmap_multi_reg_write() when initializing has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in

Applied "ASoC: fsl_esai: Wrap some operations to be functions" to the asoc tree

2019-07-22 Thread Mark Brown
The patch ASoC: fsl_esai: Wrap some operations to be functions has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

Applied "sound: soc: codecs: wcd9335: add irqflag IRQF_ONESHOT flag" to the asoc tree

2019-07-22 Thread Mark Brown
The patch sound: soc: codecs: wcd9335: add irqflag IRQF_ONESHOT flag has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 2

Applied "ASoC: SOF: use __u32 instead of uint32_t in uapi headers" to the asoc tree

2019-07-22 Thread Mark Brown
The patch ASoC: SOF: use __u32 instead of uint32_t in uapi headers has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "ASoC: max98383: fix i2c probe failure" to the asoc tree

2019-07-22 Thread Mark Brown
The patch ASoC: max98383: fix i2c probe failure has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 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: dapm: Fix handling of custom_stop_condition on DAPM graph walks" to the asoc tree

2019-07-22 Thread Mark Brown
The patch ASoC: dapm: Fix handling of custom_stop_condition on DAPM graph walks has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in

Applied "sound: soc: codecs: mt6358: change return type of mt6358_codec_init_reg" to the asoc tree

2019-07-22 Thread Mark Brown
The patch sound: soc: codecs: mt6358: change return type of mt6358_codec_init_reg has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime

Applied "sound: soc: bcm: cygnus-pcm: Unneeded variable: "ret"." to the asoc tree

2019-07-22 Thread Mark Brown
The patch sound: soc: bcm: cygnus-pcm: Unneeded variable: "ret". has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 ho

Applied "regulator: rk808: Return REGULATOR_MODE_INVALID for invalid mode" to the regulator tree

2019-07-22 Thread Mark Brown
The patch regulator: rk808: Return REGULATOR_MODE_INVALID for invalid mode has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometim

Applied "ASoC: cs42xx8: Fix MFREQ selection issue for async mode" to the asoc tree

2019-07-22 Thread Mark Brown
The patch ASoC: cs42xx8: Fix MFREQ selection issue for async mode has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 h

Applied "spi: pxa2xx: Balance runtime PM enable/disable on error" to the spi tree

2019-07-22 Thread Mark Brown
The patch spi: pxa2xx: Balance runtime PM enable/disable on error has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

[PATCH A] scsi: fdomain: fix building pcmcia front-end

2019-07-22 Thread Arnd Bergmann
We get a warning when CONFIG_SCSI_LOWLEVEL is disabled here: WARNING: unmet direct dependencies detected for SCSI_FDOMAIN Depends on [n]: SCSI_LOWLEVEL [=n] && SCSI [=y] Selected by [m]: - PCMCIA_FDOMAIN [=m] && SCSI_LOWLEVEL_PCMCIA [=y] && SCSI [=y] && PCMCIA [=y] && m && MODULES [=y] Mov

[PATCH B] scsi: fdomain: fix building pcmcia front-end

2019-07-22 Thread Arnd Bergmann
We get a warning when CONFIG_SCSI_LOWLEVEL is disabled here: WARNING: unmet direct dependencies detected for SCSI_FDOMAIN Depends on [n]: SCSI_LOWLEVEL [=n] && SCSI [=y] Selected by [m]: - PCMCIA_FDOMAIN [=m] && SCSI_LOWLEVEL_PCMCIA [=y] && SCSI [=y] && PCMCIA [=y] && m && MODULES [=y] Mov

[v5.3-rc1 regression] Hitting a kernel BUG() when trying to load a module on DaVinci SoC

2019-07-22 Thread Bartosz Golaszewski
Hi, with v5.3-rc1 I'm hitting the following BUG() when trying to load the gpio-backlight module: kernel BUG at kernel/module.c:1919! Internal error: Oops - BUG: 0 [#1] PREEMPT ARM Modules linked in: CPU: 0 PID: 1 Comm: systemd Tainted: GW 5.2.0-rc2-5-g7dabaa5ce05a #19 Hardware name: D

<    4   5   6   7   8   9   10   11   12   >