Re: [PATCH V3 2/5] dt-bindings: clock: imx8qxp-lpcg: correct the example clock-names

2021-03-06 Thread Rob Herring
On Thu, 25 Feb 2021 11:10:01 +0800, peng@oss.nxp.com wrote: > From: Peng Fan > > Align with all other i.MX using the mmc controller, align > the clock-names. > > Signed-off-by: Peng Fan > --- > Documentation/devicetree/bindings/clock/imx8qxp-lpcg.yaml | 6 +++--- > 1 file changed, 3

Re: [xhci] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd

2021-03-06 Thread Sedat Dilek
On Sat, Mar 6, 2021 at 9:26 PM Sedat Dilek wrote: > > On Sat, Mar 6, 2021 at 5:58 PM Alan Stern wrote: > > > > On Sat, Mar 06, 2021 at 07:42:30AM +0100, Sedat Dilek wrote: > > > No, with Debian-Kernel 5.10.19-1 there are no xhci-resets: > > > > Is the kernel the only thing that is different?

Re: [PATCH v3 01/11] pagemap: Introduce ->memory_failure()

2021-03-06 Thread Dan Williams
On Mon, Feb 8, 2021 at 2:55 AM Shiyang Ruan wrote: > > When memory-failure occurs, we call this function which is implemented > by each kind of devices. For the fsdax case, pmem device driver > implements it. Pmem device driver will find out the block device where > the error page locates in,

[PATCH] ARM: dts: sun8i: h3: beelink-x2: Add power button

2021-03-06 Thread Jernej Skrabec
Beelink X2 has power button. Add node for it. Signed-off-by: Jernej Skrabec --- arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts index

Re: [PATCH v3 7/7] ASoC: dt-bindings: imx-rpmsg: Add binding doc for rpmsg machine driver

2021-03-06 Thread Rob Herring
On Thu, Feb 25, 2021 at 10:52:43AM +0800, Shengjiu Wang wrote: > Imx-rpmsg is a new added machine driver for supporting audio on Cortex-M > core. The Cortex-M core will control the audio interface, DMA and audio > codec, setup the pipeline, the audio driver on Cortex-A core side is just > to

Re: [PATCH 1/2] iwlwifi: fix DVM build regression in 5.12-rc

2021-03-06 Thread Sedat Dilek
On Sat, Mar 6, 2021 at 9:27 PM Hugh Dickins wrote: > > On Sat, 6 Mar 2021, Sedat Dilek wrote: > > On Sat, Mar 6, 2021 at 8:48 PM Hugh Dickins wrote: > > > > > > There is no iwl_so_trans_cfg if CONFIG_IWLDVM but not CONFIG_IWLMVM: > > > move the CONFIG_IWLMVM guard up before the problematic SnJ

Re: [block] 52f019d43c: ndctl.test-libndctl.fail

2021-03-06 Thread Williams, Dan J
On Fri, 2021-03-05 at 08:42 +0100, Christoph Hellwig wrote: > Dan, > > can you make any sense of thos report? [..] > > check_set_config_data: dimm: 0 read2 data miscompare: 0 > > check_set_config_data: dimm: 0x1 read2 data miscompare: 0 > > check_set_config_data: dimm: 0x100 read2 data

Re: [PATCH 2/2] lib/vsprintf: reduce space taken by no_hash_pointers warning

2021-03-06 Thread Timur Tabi
On Fri, Mar 5, 2021 at 1:46 PM Marco Elver wrote: > +static const char no_hash_pointers_warning[8][55] __initconst = { > + "**", > + " NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ", > + " This system shows unhashed

Re: [PATCH 1/2] iwlwifi: fix DVM build regression in 5.12-rc

2021-03-06 Thread Hugh Dickins
On Sat, 6 Mar 2021, Sedat Dilek wrote: > On Sat, Mar 6, 2021 at 8:48 PM Hugh Dickins wrote: > > > > There is no iwl_so_trans_cfg if CONFIG_IWLDVM but not CONFIG_IWLMVM: > > move the CONFIG_IWLMVM guard up before the problematic SnJ workaround > > to fix the build breakage. > > > > Fixes:

Re: [PATCH -next] mfd: ntxec: Support for EC in Tolino Shine 2 HD

2021-03-06 Thread Jonathan Neuschäfer
On Sat, Mar 06, 2021 at 08:42:19PM +0100, Andreas Kemnade wrote: > On Sat, 6 Mar 2021 20:14:46 +0100 > Jonathan Neuschäfer wrote: [...] > > > +/* some firmware versions do not ack written data, add a wrapper */ > > > +static const struct regmap_config regmap_config_noack = { > > > + .name =

Re: [PATCH 2/7] dt-bindings: regulator: Add compatibles for PM7325/PMR735A

2021-03-06 Thread Rob Herring
On Wed, 24 Feb 2021 14:03:07 +0530, satya priya wrote: > Add PM7325/PMR735A compatibles for Qualcomm SC7280 platform. > > Signed-off-by: satya priya > --- > Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml | 4 > 1 file changed, 4 insertions(+) > Acked-by: Rob Herring

Re: [PATCH v2 1/2] dt-bindings: interrupt-controller: document BCM6345 external interrupt controller

2021-03-06 Thread Rob Herring
On Wed, Feb 24, 2021 at 08:56:39AM +0100, Álvaro Fernández Rojas wrote: > Document the binding for the BCM6345 external interrupt controller. > > Signed-off-by: Álvaro Fernández Rojas > Signed-off-by: Jonas Gorski > Reviewed-by: Florian Fainelli > --- > v3: pass dt_binding_check. > v2: fix

Re: [PATCH v2 0/2] irqchip: add support for BCM6345 interrupt controller

2021-03-06 Thread Rob Herring
On Sat, Feb 27, 2021 at 07:49:09AM +0100, Álvaro Fernández Rojas wrote: > Hi all, > > Apparently these patches were flagged as “Not Applicable” without an > explanation. Why? > https://patchwork.kernel.org/project/linux-mips/patch/20210224075640.20465-2-nolt...@gmail.com/ >

Re: [v8,1/7] dt-bindings: PCI: mediatek-gen3: Add YAML schema

2021-03-06 Thread Rob Herring
On Wed, 24 Feb 2021 14:11:26 +0800, Jianjun Wang wrote: > Add YAML schemas documentation for Gen3 PCIe controller on > MediaTek SoCs. > > Signed-off-by: Jianjun Wang > Acked-by: Ryder Lee > --- > .../bindings/pci/mediatek-pcie-gen3.yaml | 181 ++ > 1 file changed, 181

[PATCH v2] scripts: coccicheck: Fix chain mode in coccicheck

2021-03-06 Thread Davidson Francis
As described in the Coccinelle documentation (Documentation/dev-tools/ coccinelle.rst), chain mode should try patch, report, context, and org modes until one of them succeed. It turns out that currently, the 'run_cmd_parmap' function, by failing to run $SPATCH, rather than returning an error

Re: [PATCH] dt-bindings: arm64: dts: mediatek: Add mt8516-pumpkin board

2021-03-06 Thread Rob Herring
On Tue, 23 Feb 2021 23:36:13 +0100, Fabien Parent wrote: > Add binding documentation for the MT8516 Pumpkin board. > > Signed-off-by: Fabien Parent > --- > Documentation/devicetree/bindings/arm/mediatek.yaml | 4 > 1 file changed, 4 insertions(+) > Acked-by: Rob Herring

Re: [PATCH v3 2/3] dt-bindings: usb: generic-ehci: document spurious-oc flag

2021-03-06 Thread Rob Herring
On Tue, 23 Feb 2021 18:44:54 +0100, Álvaro Fernández Rojas wrote: > Over-current reporting isn't supported on some platforms such as bcm63xx. > These devices will incorrectly report over-current if this flag isn't properly > activated. > > Signed-off-by: Álvaro Fernández Rojas > --- > v3: no

Re: [GIT PULL] perf tools fixes for v5.12

2021-03-06 Thread Arnaldo Carvalho de Melo
Em Sat, Mar 06, 2021 at 11:53:00AM -0300, Arnaldo Carvalho de Melo escreveu: > Hi Linus, > > Please consider pulling, > Arnaldo Carvalho de Melo (13): > tools headers UAPI: Update tools's copy of drm.h headers > tools headers UAPI: Sync drm/i915_drm.h with the kernel sources

Re: [RESEND][PATCH v4 2/2] Added AMS tsl2591 device tree binding

2021-03-06 Thread Rob Herring
On Mon, 22 Feb 2021 21:23:13 +, Joe Sandom wrote: > Device tree binding for AMS/TAOS tsl2591 ambient light sensor. > > This driver supports configuration via device tree and sysfs. > Supported channels for raw infrared light intensity, > raw combined light intensity and illuminance in lux. >

Re: [PATCHv1 4/6] dt-bindings: arm: fsl: add GE B1x5pv2 boards

2021-03-06 Thread Rob Herring
On Mon, 22 Feb 2021 18:12:45 +0100, Sebastian Reichel wrote: > Document the compatible for GE B1x5pv2 boards. > > Signed-off-by: Sebastian Reichel > --- > Documentation/devicetree/bindings/arm/fsl.yaml | 11 +++ > 1 file changed, 11 insertions(+) > Acked-by: Rob Herring

Re: [PATCHv1 1/6] rtc: m41t80: add support for protected clock

2021-03-06 Thread Rob Herring
On Tue, Feb 23, 2021 at 02:26:57AM +0100, Sebastian Reichel wrote: > Hi, > > On Mon, Feb 22, 2021 at 10:26:26PM +0100, Alexandre Belloni wrote: > > On 22/02/2021 22:20:47+0100, Alexandre Belloni wrote: > > > On 22/02/2021 18:12:42+0100, Sebastian Reichel wrote: > > > > Congatec's QMX6 system on

Re: [PATCHv1 3/6] dt-bindings: vendor-prefixes: add congatec

2021-03-06 Thread Rob Herring
On Mon, 22 Feb 2021 18:12:44 +0100, Sebastian Reichel wrote: > Document binding for congatec. > > Signed-off-by: Sebastian Reichel > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring

Re: [PATCH 2/2] iwlwifi: fix DVM boot regression in 5.12-rc

2021-03-06 Thread Sedat Dilek
On Sat, Mar 6, 2021 at 8:50 PM Hugh Dickins wrote: > > No time_point op has been provided for DVM: check for NULL before > calling, to fix the oops (blank screen booting non-modular kernel). > > Fixes: d01293154c0a ("iwlwifi: dbg: add op_mode callback for collecting debug > data.") >

Re: [PATCH 1/2] iwlwifi: fix DVM build regression in 5.12-rc

2021-03-06 Thread Sedat Dilek
On Sat, Mar 6, 2021 at 8:48 PM Hugh Dickins wrote: > > There is no iwl_so_trans_cfg if CONFIG_IWLDVM but not CONFIG_IWLMVM: > move the CONFIG_IWLMVM guard up before the problematic SnJ workaround > to fix the build breakage. > > Fixes: 930be4e76f26 ("iwlwifi: add support for SnJ with Jf devices")

[PATCH 2/2] iwlwifi: fix DVM boot regression in 5.12-rc

2021-03-06 Thread Hugh Dickins
No time_point op has been provided for DVM: check for NULL before calling, to fix the oops (blank screen booting non-modular kernel). Fixes: d01293154c0a ("iwlwifi: dbg: add op_mode callback for collecting debug data.") Signed-off-by: Hugh Dickins ---

[PATCH 1/2] iwlwifi: fix DVM build regression in 5.12-rc

2021-03-06 Thread Hugh Dickins
There is no iwl_so_trans_cfg if CONFIG_IWLDVM but not CONFIG_IWLMVM: move the CONFIG_IWLMVM guard up before the problematic SnJ workaround to fix the build breakage. Fixes: 930be4e76f26 ("iwlwifi: add support for SnJ with Jf devices") Signed-off-by: Hugh Dickins ---

Re: [PATCH v2 1/9] dt-bindings: Add Jenson Display vendor prefix

2021-03-06 Thread Rob Herring
On Sat, 06 Mar 2021 00:44:18 +0100, Giulio Benetti wrote: > From: Giulio Benetti > > Update Documentation/devicetree/bindings/vendor-prefixes.yaml to > include "jenson" as a vendor prefix for "Jenson Display". > Company website: http://www.jensondisplay.com/ > > Signed-off-by: Giulio Benetti >

Re: [PATCH v6 1/5] dt-bindings: usb: Add binding for Realtek RTS5411 hub controller

2021-03-06 Thread Rob Herring
On Fri, Mar 05, 2021 at 11:38:49AM -0800, Matthias Kaehlcke wrote: > The Realtek RTS5411 is a USB 3.0 hub controller with 4 ports. > > This initial version of the binding only describes USB related > aspects of the RTS5411, it does not cover the option of > connecting the controller as an i2c

Re: [PATCH 2/3] dt-bindings: touchscreen: Add HY46XX bindings

2021-03-06 Thread Rob Herring
On Fri, Mar 05, 2021 at 05:38:33PM +0100, Giulio Benetti wrote: > From: Giulio Benetti > > This adds device tree bindings for the Hycon HY46XX touchscreen series. > > Signed-off-by: Giulio Benetti > --- > .../input/touchscreen/hycon,hy46xx.yaml | 130 ++ > MAINTAINERS

Re: [PATCH -next] mfd: ntxec: Support for EC in Tolino Shine 2 HD

2021-03-06 Thread Andreas Kemnade
On Sat, 6 Mar 2021 20:14:46 +0100 Jonathan Neuschäfer wrote: > Hi, > > (Cc'ing Mark Brown because of the regmap related questions) > > On Sat, Mar 06, 2021 at 07:13:14PM +0100, Andreas Kemnade wrote: > > Add the version of the EC in the Tolino Shine 2 HD > > to the supported versions. It seems

Re: [PATCH 1/5] perf metricgroup: Support printing metrics for arm64

2021-03-06 Thread Jiri Olsa
On Fri, Mar 05, 2021 at 11:06:58AM +, John Garry wrote: > > Hi Jirka, > > > > - struct pmu_events_map *map = perf_pmu__find_map(NULL); > > > + struct pmu_events_map *map = find_cpumap(); > > so this is just for arm at the moment right? > > > > Yes - but to be more accurate, arm64. > > At

Re: [PATCH 2/3] perf tool: Enable warnings when compiling BPF programs

2021-03-06 Thread Song Liu
> On Mar 6, 2021, at 12:08 AM, Ian Rogers wrote: > > Add -Wall -Werror when compiling BPF skeletons. > > Signed-off-by: Ian Rogers Acked-by: Song Liu > --- > tools/perf/Makefile.perf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/Makefile.perf

Re: [PATCH 3/3] perf bpf: Minor whitespace cleanup.

2021-03-06 Thread Song Liu
> On Mar 6, 2021, at 12:08 AM, Ian Rogers wrote: > > Missed space after #include. > > Signed-off-by: Ian Rogers Acked-by: Song Liu > --- > tools/perf/util/bpf_counter.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/util/bpf_counter.h

Re: [PATCH 1/3] perf skel: Remove some unused variables.

2021-03-06 Thread Song Liu
> On Mar 6, 2021, at 12:08 AM, Ian Rogers wrote: > > Fixes -Wall warnings. > > Signed-off-by: Ian Rogers Acked-by: Song Liu Thanks for the clean up! > --- > tools/perf/util/bpf_skel/bpf_prog_profiler.bpf.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git

Re: [xhci] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd

2021-03-06 Thread Sedat Dilek
On Sat, Mar 6, 2021 at 5:58 PM Alan Stern wrote: > > On Sat, Mar 06, 2021 at 07:42:30AM +0100, Sedat Dilek wrote: > > No, with Debian-Kernel 5.10.19-1 there are no xhci-resets: > > Is the kernel the only thing that is different? The rest of the > operating system and environment is exactly the

Re: [PATCH] arch/parisc/kernel: remove duplicate include in ptrace

2021-03-06 Thread Helge Deller
On 3/4/21 3:24 AM, menglong8.d...@gmail.com wrote: From: Zhang Yunkai 'linux/compat.h' included in 'arch/parisc/kernel/ptrace.c' is duplicated. It is also included in the 24th line. Signed-off-by: Zhang Yunkai Thanks, applied to the parisc-next tree. Helge ---

Re: [PATCH v6 1/5] dt-bindings: usb: Add binding for Realtek RTS5411 hub controller

2021-03-06 Thread Rob Herring
On Fri, 05 Mar 2021 11:38:49 -0800, Matthias Kaehlcke wrote: > The Realtek RTS5411 is a USB 3.0 hub controller with 4 ports. > > This initial version of the binding only describes USB related > aspects of the RTS5411, it does not cover the option of > connecting the controller as an i2c slave. >

Re: [PATCH 1/2] Perf: Clean generated directory, other archs.

2021-03-06 Thread Arnaldo Carvalho de Melo
Em Wed, Mar 03, 2021 at 07:32:46PM +0100, Gon Solo escreveu: You forgot to add an explanation here and to add your: Signed-off-by: Gon Solo In this case a: Suggested-by: Arnaldo Carvalho de Melo Is also appropriate, since I pointed you in this direction. Please take a look at:

Re: [PATCH 2/3] dt-bindings: touchscreen: Add HY46XX bindings

2021-03-06 Thread Rob Herring
On Fri, 05 Mar 2021 17:38:33 +0100, Giulio Benetti wrote: > From: Giulio Benetti > > This adds device tree bindings for the Hycon HY46XX touchscreen series. > > Signed-off-by: Giulio Benetti > --- > .../input/touchscreen/hycon,hy46xx.yaml | 130 ++ > MAINTAINERS

Re: [PATCH v10 3/9] crypto: Add math to support fast NIST P384

2021-03-06 Thread Vitaly Chikunov
Stefan, On Thu, Mar 04, 2021 at 07:51:57PM -0500, Stefan Berger wrote: > From: Saulo Alessandre > > * crypto/ecc.c > - add vli_mmod_fast_384 > - change some routines to pass ecc_curve forward until vli_mmod_fast > > * crypto/ecc.h > - add ECC_CURVE_NIST_P384_DIGITS > - change

Re: [PATCH v1 2/3] tty: serial: ucc_uart: replace qe_io{read,write}* wrappers by generic io{read,write}*

2021-03-06 Thread Greg Kroah-Hartman
On Sat, Mar 06, 2021 at 06:09:30PM +, Christophe Leroy wrote: > Commit 6ac9b61786cc ("soc: fsl: qe: introduce qe_io{read,write}* > wrappers") added specific I/O accessors for qe because at that > time ioread/iowrite functions were sub-optimal on powerpc/32 > compared to the architecture

Re: [PATCH][RFC] perf annotate: show full line locations with 'k' in UI

2021-03-06 Thread Arnaldo Carvalho de Melo
Em Sat, Mar 06, 2021 at 08:02:24PM +0100, Martin Liška escreveu: > On 3/6/21 3:31 PM, Arnaldo Carvalho de Melo wrote: > > I see, it works only when pressing on source code lines: > > Hey. > > Yes, I forgot to explicitly mention that. Some requests, send the mail inline, not as an attachment, so

Re: [PATCH -next] mfd: ntxec: Support for EC in Tolino Shine 2 HD

2021-03-06 Thread Jonathan Neuschäfer
Hi, (Cc'ing Mark Brown because of the regmap related questions) On Sat, Mar 06, 2021 at 07:13:14PM +0100, Andreas Kemnade wrote: > Add the version of the EC in the Tolino Shine 2 HD > to the supported versions. It seems not to have an RTC > and does not ack data written to it. > The vendor

Re: [PATCH v7 2/4] perf tools: Add lexical definition of event name

2021-03-06 Thread Jiri Olsa
On Fri, Mar 05, 2021 at 10:09:20AM +, nakamura.s...@fujitsu.com wrote: > Hi, John > > > > From: Shunsuke Nakamura > > > > > > Add the lexical definition of event name so that the numbers are > > > recognizable. > > > > > > > Sorry for the hassle, but it's not clear that we got a

[PATCH v3 02/15] ASoC: cs42l42: Fix channel width support

2021-03-06 Thread Lucas Tanure
Remove the hard coded 32 bits width and replace with the correct width calculated by params_width. Signed-off-by: Lucas Tanure --- Changes in v3: - No changes Changes in v2: - No changes sound/soc/codecs/cs42l42.c | 47 ++ sound/soc/codecs/cs42l42.h | 1 -

[PATCH v3 08/15] ASoC: cs42l42: Provide finer control on playback path

2021-03-06 Thread Lucas Tanure
Removing cs42l42_hpdrv_evt that enables the entire chain and replace by a set of widgets that can better define the codec Signed-off-by: Lucas Tanure --- Changes in v3: - No changes Changes in v2: - No changes sound/soc/codecs/cs42l42.c | 65 +-

[PATCH v3 12/15] ASoC: cs42l42: Use bclk from hw_params if set_sysclk was not called

2021-03-06 Thread Lucas Tanure
Add support for reading the source clock from snd_soc_params_to_bclk so the machine driver is not required to call cs42l42_set_sysclk Signed-off-by: Lucas Tanure --- Changes in v3: - No changes Changes in v2: - No changes sound/soc/codecs/cs42l42.c | 17 +

[PATCH v3 10/15] ASoC: cs42l42: Add Capture Support

2021-03-06 Thread Lucas Tanure
Add support for capture path on headseat pins Signed-off-by: Lucas Tanure --- Changes in v3: - No changes Changes in v2: - No changes sound/soc/codecs/cs42l42.c | 39 ++ sound/soc/codecs/cs42l42.h | 12 2 files changed, 51 insertions(+) diff

[PATCH v3 03/15] ASoC: cs42l42: Fix mixer volume control

2021-03-06 Thread Lucas Tanure
The minimum value is 0x3f (-63dB), which also is mute Signed-off-by: Lucas Tanure --- Changes in v3: - No changes Changes in v2: - No changes sound/soc/codecs/cs42l42.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/cs42l42.c

[PATCH v3 09/15] ASoC: cs42l42: Set clock source for both ways of stream

2021-03-06 Thread Lucas Tanure
Move the enable/disable of clocks to cs42l42_mute_stream so the record path also get clocks. Signed-off-by: Lucas Tanure --- Changes in v3: - No changes Changes in v2: - Add missing cs42l42_private struct pointer sound/soc/codecs/cs42l42.c | 86 +-

[PATCH v3 04/15] ASoC: cs42l42: Don't enable/disable regulator at Bias Level

2021-03-06 Thread Lucas Tanure
dev_pm_ops already enable/disable the codec if not in use Signed-off-by: Lucas Tanure --- Changes in v3: - No changes Changes in v2: - No changes sound/soc/codecs/cs42l42.c | 38 -- 1 file changed, 38 deletions(-) diff --git a/sound/soc/codecs/cs42l42.c

[PATCH v3 07/15] ASoC: cs42l42: Disable regulators if probe fails

2021-03-06 Thread Lucas Tanure
In case of cs42l42_i2c_probe() fail, the regulators were left enabled. Signed-off-by: Lucas Tanure --- Changes in v3: - No changes Changes in v2: - No changes sound/soc/codecs/cs42l42.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/sound/soc/codecs/cs42l42.c

[PATCH v3 06/15] ASoC: cs42l42: Remove power if the driver is being removed

2021-03-06 Thread Lucas Tanure
Ensure the power supplies are turned off when removing the driver Signed-off-by: Lucas Tanure --- Changes in v3: - Free IRQ before pm_suspend Changes in v2: - Use PM functions to shutdown the codec - Disable IRQ before pm_suspend sound/soc/codecs/cs42l42.c | 6 -- 1 file changed, 4

[PATCH v3 05/15] ASoC: cs42l42: Always wait at least 3ms after reset

2021-03-06 Thread Lucas Tanure
This delay is part of the power-up sequence defined in the datasheet. A runtime_resume is a power-up so must also include the delay. Signed-off-by: Lucas Tanure --- Changes in v3: - No changes Changes in v2: - No changes sound/soc/codecs/cs42l42.c | 3 ++- sound/soc/codecs/cs42l42.h | 1 + 2

[PATCH v3 13/15] ASoC: cs42l42: Wait at least 150us after writing SCLK_PRESENT

2021-03-06 Thread Lucas Tanure
From: Richard Fitzgerald There must be a delay of at least 150us after writing SCLK_PRESENT before issuing another I2C write. This is done using struct reg_sequence because it can specify a delay after the write and the whole sequence is written atomically. Signed-off-by: Richard Fitzgerald

[PATCH v3 14/15] ASoC: cs42l42: Only start PLL if it is needed

2021-03-06 Thread Lucas Tanure
From: Richard Fitzgerald The PLL is only needed for sclk < 11289600 Hz and cs42l42_pll_config() will not configure it for higher rates. So it must only be enabled when it is needed. Signed-off-by: Richard Fitzgerald Signed-off-by: Lucas Tanure --- Changes in v3: - No changes Changes in v2: -

[PATCH v3 15/15] ASoC: cs42l42: Wait for PLL to lock before switching to it

2021-03-06 Thread Lucas Tanure
From: Richard Fitzgerald The PLL should have locked before using it to supply MCLK. Signed-off-by: Richard Fitzgerald Signed-off-by: Lucas Tanure --- Changes in v3: - No changes Changes in v2: - Lucas signed-off added sound/soc/codecs/cs42l42.c | 12 +++- sound/soc/codecs/cs42l42.h

[PATCH v3 11/15] ASoC: cs42l42: Report jack and button detection

2021-03-06 Thread Lucas Tanure
Report the Jack events to the user space through ALSA. Also moves request_threaded_irq() to component_probe so it don't get interrupts before the initialization the struct snd_soc_jack. Signed-off-by: Lucas Tanure --- Changes in v3: - No changes Changes in v2: - Don't move the code around -

Re: [PATCH v2] perf pmu: Validate raw event with sysfs exported format bits

2021-03-06 Thread Jiri Olsa
On Fri, Mar 05, 2021 at 08:56:25AM +0800, Jin Yao wrote: > A raw PMU event (eventsel+umask) in the form of rNNN is supported > by perf but lacks of checking for the validity of raw encoding. > > For example, bit 16 and bit 17 are not valid on KBL but perf doesn't > report warning when encoding

[PATCH v3 00/15] Report jack and button detection + Capture Support

2021-03-06 Thread Lucas Tanure
Hi All, Here is a patch series for reporting to user space jack and button events and add the support for Capture. With some cleanups and fixes along the way. Regards, Lucas Tanure Lucas Tanure (12): ASoC: cs42l42: Fix Bitclock polarity inversion ASoC: cs42l42: Fix channel width support

[PATCH v3 01/15] ASoC: cs42l42: Fix Bitclock polarity inversion

2021-03-06 Thread Lucas Tanure
The driver was setting bit clock polarity opposite to intended polarity. Also simplify the code by grouping ADC and DAC clock configurations into a single field. Signed-off-by: Lucas Tanure --- Changes in v3: - No changes Changes in v2: - No changes sound/soc/codecs/cs42l42.c | 20

Re: [PATCH RESEND WITH CCs v3 4/4] perf tools: determine if LR is the return address

2021-03-06 Thread Arnaldo Carvalho de Melo
Em Sat, Mar 06, 2021 at 09:55:32AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Mar 05, 2021 at 10:54:03AM +0200, James Clark escreveu: > > I've tested this patchset on a few different applications and have seen it > > significantly improve > > quality of frame pointer stacks on aarch64.

Re: [PATCH][RFC] perf annotate: show full line locations with 'k' in UI

2021-03-06 Thread Martin Liška
On 3/6/21 3:31 PM, Arnaldo Carvalho de Melo wrote: I see, it works only when pressing on source code lines: Hey. Yes, I forgot to explicitly mention that. Source file location: /usr/src/debug/kernel-5.10.fc33/linux-5.10.19-200.fc33.x86_64/./arch/x86/include/asm/msr.h:205 So we better

Re: [PATCH] irqchip/irq-mst: Support polarity configuration

2021-03-06 Thread Marc Zyngier
On Fri, 05 Mar 2021 12:09:30 +, Mark-PK Tsai wrote: > > Support irq polarity configuration and save and restore the config > when system suspend and resume. > > Signed-off-by: Mark-PK Tsai > --- > drivers/irqchip/irq-mst-intc.c | 87 -- > 1 file changed, 84

Re: [PATCH] arm64: dts: add support for the Pixel 2 XL

2021-03-06 Thread Caleb Connolly
Hi Konrad, On 06/03/2021 10:49 am, Konrad Dybcio wrote: > > On 05.03.2021 22:35, Caleb Connolly wrote: >> Add a minimal devicetree capable of booting on the Pixel 2 XL MSM8998 >> device. >> >> It's currently possible to boot the device into postmarketOS with USB >> networking, however the display

Re: [PATCH] irqchip/irq-mst: Support polarity configuration

2021-03-06 Thread Marc Zyngier
On Sat, 06 Mar 2021 17:06:51 +, Daniel Palmer wrote: > > Hi Mark-PK, > > I'm trying to understand the logic behind the changes. > It seems like the polarity of interrupts is always the same between > the MStar intc and the GIC? Low level interrupts are handled in the > mstar intc and become

Re: [PATCH 2/2 v2] usb: gadget: s3c: Fix the error handling path in 's3c2410_udc_probe()'

2021-03-06 Thread Krzysztof Kozlowski
On 06/03/2021 18:22, Christophe JAILLET wrote: > Le 06/03/2021 à 17:16, Krzysztof Kozlowski a écrit : >> On 06/03/2021 15:21, Christophe JAILLET wrote: >>> Some 'clk_prepare_enable()' and 'clk_get()' must be undone in the error >>> handling path of the probe function, as already done in the remove

Re: [RFC PATCH v3 1/3] blk-mq: Clean up references to old requests when freeing rqs

2021-03-06 Thread Bart Van Assche
On 3/5/21 7:14 AM, John Garry wrote: > @@ -2296,10 +2296,14 @@ void blk_mq_free_rqs(struct blk_mq_tag_set *set, > struct blk_mq_tags *tags, > > for (i = 0; i < tags->nr_tags; i++) { > struct request *rq = tags->static_rqs[i]; > + int j; >

[PATCH -next] mfd: ntxec: Support for EC in Tolino Shine 2 HD

2021-03-06 Thread Andreas Kemnade
Add the version of the EC in the Tolino Shine 2 HD to the supported versions. It seems not to have an RTC and does not ack data written to it. The vendor kernel happily ignores write errors, using I2C via userspace i2c-set also shows the error. So add a quirk to ignore that error. PWM can be

[PATCH v1 0/3] Remove qe_io{read,write}* IO accessors

2021-03-06 Thread Christophe Leroy
Commit 6ac9b61786cc ("soc: fsl: qe: introduce qe_io{read,write}* wrappers") added specific I/O accessors for qe because at that time ioread/iowrite functions were sub-optimal on powerpc/32 compared to the architecture specific in_/out_ IO accessors. But as ioread/iowrite accessors are now

[PATCH v1 3/3] Revert "soc: fsl: qe: introduce qe_io{read,write}* wrappers"

2021-03-06 Thread Christophe Leroy
This reverts commit 6ac9b61786cc64ae5cbfb69413137656f72e8204. This commit was required because at that time, ioread/iowrite functions were sub-optimal on powerpc/32 compared to the architecture specific in_/out_ IO accessors. But there are now equivalent since commit 894fa235eb4c ("powerpc:

[PATCH v1 1/3] soc: fsl: qe: replace qe_io{read,write}* wrappers by generic io{read,write}*

2021-03-06 Thread Christophe Leroy
Commit 6ac9b61786cc ("soc: fsl: qe: introduce qe_io{read,write}* wrappers") added specific I/O accessors for qe because at that time ioread/iowrite functions were sub-optimal on powerpc/32 compared to the architecture specific in_/out_ IO accessors. But as ioread/iowrite accessors are now

[PATCH v1 2/3] tty: serial: ucc_uart: replace qe_io{read,write}* wrappers by generic io{read,write}*

2021-03-06 Thread Christophe Leroy
Commit 6ac9b61786cc ("soc: fsl: qe: introduce qe_io{read,write}* wrappers") added specific I/O accessors for qe because at that time ioread/iowrite functions were sub-optimal on powerpc/32 compared to the architecture specific in_/out_ IO accessors. But as ioread/iowrite accessors are now

Re: [PATCH] arm64: dts: add support for the Pixel 2 XL

2021-03-06 Thread Caleb Connolly
Hi Bjorn, On 06/03/2021 3:37 am, Bjorn Andersson wrote: > On Fri 05 Mar 15:35 CST 2021, Caleb Connolly wrote: > > Please add "qcom: " to $subject as well. > >> Add a minimal devicetree capable of booting on the Pixel 2 XL MSM8998 >> device. >> >> It's currently possible to boot the device into

Re: [PATCH AUTOSEL 5.11 16/67] net: sfp: add mode quirk for GPON module Ubiquiti U-Fiber Instant

2021-03-06 Thread Sasha Levin
On Sat, Mar 06, 2021 at 12:38:02AM +0100, Pali Rohár wrote: On Thursday 04 March 2021 17:33:01 Sasha Levin wrote: On Thu, Feb 25, 2021 at 08:03:06PM +0100, Pali Rohár wrote: > On Wednesday 24 February 2021 07:49:34 Sasha Levin wrote: > > From: Pali Rohár > > > > [ Upstream commit

Re: [PATCH v2] iio: accel: mma8452: fix indentation

2021-03-06 Thread Jonathan Cameron
On Mon, 1 Mar 2021 09:00:28 +0100 Sean Nyekjaer wrote: > Improve readability by fixing indentation. > > Signed-off-by: Sean Nyekjaer Applied. Thanks, Jonathan > --- > v2: removed fixing of register values indentation > > drivers/iio/accel/mma8452.c | 46

Re: [PATCH v3 0/6] iio: Add output buffer support

2021-03-06 Thread Jonathan Cameron
On Fri, 5 Mar 2021 08:57:08 + "Hennerich, Michael" wrote: > Hi Jonathan and others, > > With output/dac buffer support the semantics of the scan_element type may > change. > > Today the Format is [be|le]:[s|u]bits/storagebitsXrepeat[>>shift]. > > While shift (if specified) is the shift

Re: [PATCH 4/4] iio: adc: at91-sama5d2: add support for sama7g5 device

2021-03-06 Thread Jonathan Cameron
On Mon, 1 Mar 2021 16:32:56 +0200 Eugen Hristev wrote: > Add support to sama7g5 ADC which is similar with sama5d2/sam9x60 device. > Differences are highlighted by compatible. > Main differences include 16 channels instead of 12 and missing > resistive touchscreen. > > Signed-off-by: Eugen

Re: [PATCH 2/2 v2] usb: gadget: s3c: Fix the error handling path in 's3c2410_udc_probe()'

2021-03-06 Thread Christophe JAILLET
Le 06/03/2021 à 17:16, Krzysztof Kozlowski a écrit : On 06/03/2021 15:21, Christophe JAILLET wrote: Some 'clk_prepare_enable()' and 'clk_get()' must be undone in the error handling path of the probe function, as already done in the remove function. Fixes: 3fc154b6b813 ("USB Gadget driver for

Re: [PATCH 2/4] iio: adc: at91-sama5d2: initialize hardware after clock is started

2021-03-06 Thread Jonathan Cameron
On Mon, 1 Mar 2021 16:32:54 +0200 Eugen Hristev wrote: > The hw_init hardware init call must happen after the clock is prepared and > enabled. Otherwise, writing to the registers might lead to a block or > external abort. Fix for existing parts or something only needed for the new devices? If

Re: [PATCH 5.10 000/102] 5.10.21-rc1 review

2021-03-06 Thread Greg Kroah-Hartman
On Sat, Mar 06, 2021 at 10:54:40AM +0100, Greg Kroah-Hartman wrote: > On Fri, Mar 05, 2021 at 07:24:28PM -0800, Guenter Roeck wrote: > > On Fri, Mar 05, 2021 at 01:20:19PM +0100, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 5.10.21 release. > > > There are

Re: [PATCH V3 XRT Alveo 01/18] Documentation: fpga: Add a document describing XRT Alveo drivers

2021-03-06 Thread Moritz Fischer
On Mon, Mar 01, 2021 at 06:48:46AM +, Sonal Santan wrote: > Hello Tom, > > > -Original Message- > > From: Tom Rix > > Sent: Friday, February 19, 2021 2:26 PM > > To: Lizhi Hou ; linux-kernel@vger.kernel.org > > Cc: Lizhi Hou ; linux-f...@vger.kernel.org; Max Zhen > > ; Sonal Santan ;

Re: [PATCH] iio: adc: Fix error handling in vadc_do_conversion

2021-03-06 Thread Jonathan Cameron
On Mon, 1 Mar 2021 16:16:22 +0800 Dinghao Liu wrote: > There is one vadc_poll_wait_eoc() call in vadc_do_conversion > that we have caught its return value but lack further handling. > Check and jump to err_disable label just like the other > vadc_poll_wait_eoc() in this function. > >

Re: [PATCH 5.11 079/104] drm/amdgpu: enable only one high prio compute queue

2021-03-06 Thread Greg Kroah-Hartman
On Fri, Mar 05, 2021 at 04:57:36PM +0100, Nirmoy wrote: > > On 3/5/21 4:40 PM, Deucher, Alexander wrote: > > [AMD Public Use] > > > > > -Original Message- > > > From: Koenig, Christian > > > Sent: Friday, March 5, 2021 10:35 AM > > > To: Sasha Levin ; Deucher, Alexander > > > > > > Cc:

Re: [PATCH] iio: gyro: mpu3050: Fix error handling in mpu3050_trigger_handler

2021-03-06 Thread Jonathan Cameron
On Tue, 2 Mar 2021 16:45:10 +0100 Linus Walleij wrote: > On Mon, Mar 1, 2021 at 9:04 AM Dinghao Liu wrote: > > > There is one regmap_bulk_read() call in mpu3050_trigger_handler > > that we have caught its return value bug lack further handling. > > Check and terminate the execution flow just

Re: [PATCH v4 0/1] iio: adc: ad7124: allow more than 8 channels

2021-03-06 Thread Jonathan Cameron
On Tue, 2 Mar 2021 01:50:01 +0200 Andy Shevchenko wrote: > On Monday, March 1, 2021, wrote: > > > From: Alexandru Tachici > > Nothing to add to Andy's comment, but curious at this being 0/1 that should be the cover letter, not a second copy of the patch. > > Currently AD7124-8 driver cannot

Re: [PATCH 3/4] iio: hid-sensor-temperature: Fix issues of timestamp channel

2021-03-06 Thread Jonathan Cameron
On Wed, 3 Mar 2021 14:36:14 +0800 Ye Xiang wrote: > This patch fixes 2 issues of timestamp channel: > 1. This patch ensures that there is sufficient space and correct > alignment for the timestamp. > 2. Correct the timestamp channel scan index. This isn't technically a bug because channel index

Re: [PATCH] irqchip/irq-mst: Support polarity configuration

2021-03-06 Thread Daniel Palmer
Hi Mark-PK, I'm trying to understand the logic behind the changes. It seems like the polarity of interrupts is always the same between the MStar intc and the GIC? Low level interrupts are handled in the mstar intc and become high level interrupts to the GIC? I think for the Mstar MSC313(e) and

Re: [PATCH 1/4] iio: hid-sensor-humidity: Fix alignment issue of timestamp channel

2021-03-06 Thread Jonathan Cameron
On Wed, 3 Mar 2021 14:36:12 +0800 Ye Xiang wrote: > This patch ensures that, there is sufficient space and correct > alignment for the timestamp. > > Fixes: d7ed89d5aadf ("iio: hid: Add humidity sensor support") > Signed-off-by: Ye Xiang ouch. I guess we were trampling over the next few

Re: [PATCH] iio: accel: mma8452: convert to regmap

2021-03-06 Thread Jonathan Cameron
On Wed, 3 Mar 2021 13:47:24 +0100 Sean Nyekjaer wrote: > It will be easier to configure various device registers. What do you mean by this? I'm not against regmap, but I think a stronger rational for the change is needed. A few specific comments inline, but nothing major. Jonathan > > No

Re: [PATCH v6 20/24] iio: buffer: add ioctl() to support opening extra buffers for IIO device

2021-03-06 Thread Alexandru Ardelean
On Sun, Feb 28, 2021 at 9:00 PM Jonathan Cameron wrote: > > On Sun, 28 Feb 2021 16:51:51 +0100 > Lars-Peter Clausen wrote: > > > On 2/28/21 3:34 PM, Jonathan Cameron wrote: > > > On Sun, 28 Feb 2021 09:51:38 +0100 > > > Lars-Peter Clausen wrote: > > > > > >> On 2/15/21 11:40 AM, Alexandru

Re: [xhci] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd

2021-03-06 Thread Alan Stern
On Sat, Mar 06, 2021 at 07:42:30AM +0100, Sedat Dilek wrote: > No, with Debian-Kernel 5.10.19-1 there are no xhci-resets: Is the kernel the only thing that is different? The rest of the operating system and environment is exactly the same? > But I see there is already a quirk enabled and

Re: [PATCH v2] leds: apu: extend support for PC Engines APU1 with newer firmware

2021-03-06 Thread Alexander Dahl
Hello, On Wed, Feb 17, 2021 at 12:02:47PM +0100, Enrico Weigelt, metux IT consult wrote: > On 16.02.21 14:30, Andreas Eberlein wrote: > > The DMI_PRODUCT_NAME entry on current firmware of PC Engines APU1 changed > > from "APU" to "apu1" > > > > This modification adds the missing DMI data and

Re: [PATCH 5.10 000/102] 5.10.21-rc1 review

2021-03-06 Thread Guenter Roeck
On Fri, Mar 05, 2021 at 01:20:19PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.10.21 release. > There are 102 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH] counter: stm32-timer-cnt: fix ceiling miss-alignment with reload register

2021-03-06 Thread Jonathan Cameron
On Thu, 4 Mar 2021 08:42:03 +0900 William Breathitt Gray wrote: > On Wed, Mar 03, 2021 at 06:49:49PM +0100, Fabrice Gasnier wrote: > > Ceiling value may be miss-aligned with what's actually configured into the > > ARR register. This is seen after probe as currently the ARR value is zero, > >

[PATCH] iio: buffer: fix use-after-free for attached_buffers array

2021-03-06 Thread Alexandru Ardelean
Thanks to Lars for finding this. The free of the 'attached_buffers' array should be done as late as possible. This change moves it to iio_buffers_put(), which looks like the best place for it, since it takes place right before the IIO device data is free'd. The free of this array will be handled

Re: [PATCH] counter: stm32-timer-cnt: fix ceiling write max value

2021-03-06 Thread Jonathan Cameron
On Tue, 2 Mar 2021 23:56:46 +0900 William Breathitt Gray wrote: > On Tue, Mar 02, 2021 at 03:43:55PM +0100, Fabrice Gasnier wrote: > > The ceiling value isn't checked before writing it into registers. The user > > could write a value higher than the counter resolution (e.g. 16 or 32 bits > >

Re: [PATCH 2/2] iio:magnetometer: Support for ST magnetic sensors

2021-03-06 Thread Jonathan Cameron
On Fri, 5 Mar 2021 07:05:36 + LI Qingwu wrote: > Add support for STMicroelectronics digital magnetic sensors, > LSM303AH,LSM303AGR,LIS2MDL,ISM303DAC,IIS2MDC. > > The patch tested with IIS2MDC instrument. > > Signed-off-by: LI Qingwu Hi, Given that at least two parts in here is

Re: [PATCH 5.11 000/104] 5.11.4-rc1 review

2021-03-06 Thread Guenter Roeck
On Fri, Mar 05, 2021 at 01:20:05PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.11.4 release. > There are 104 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 5.4 00/72] 5.4.103-rc1 review

2021-03-06 Thread Guenter Roeck
On Fri, Mar 05, 2021 at 01:21:02PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.103 release. > There are 72 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

<    1   2   3   4   5   >