Re: [PATCH 2/3] watchdog: sam9x60_wdt: introduce sam9x60 watchdog timer driver

2019-10-07 Thread Eugen.Hristev
On 07.10.2019 16:14, Alexandre Belloni wrote: > > On 07/10/2019 05:36:38-0700, Guenter Roeck wrote: >> On 10/7/19 12:58 AM, eugen.hris...@microchip.com wrote: >> [ ... ] >>> Hello Guenter, >>> >>> Thank you for the feedback. >>> After reviewing this, can you please guide me towards one of the

[PATCH RT] locking/rtmutex: Clean ->pi_blocked_on in the error case

2019-10-07 Thread Sebastian Andrzej Siewior
From: Peter Zijlstra The function rt_mutex_wait_proxy_lock() cleans ->pi_blocked_on in case of failure (timeout, signal). The same cleanup is required in __rt_mutex_start_proxy_lock(). In both the cases the tasks was interrupted by a signal or timeout while acquiring the lock and after the

Re: [PATCH v5 0/6] arm64: vdso32: Address various issues

2019-10-07 Thread Will Deacon
On Mon, Oct 07, 2019 at 02:54:29PM +0100, Vincenzo Frascino wrote: > On 07/10/2019 14:31, Will Deacon wrote: > > On Thu, Oct 03, 2019 at 06:48:32PM +0100, Vincenzo Frascino wrote: > >> This patch series is meant to address the various compilation issues > >> reported recently for arm64 vdso32 [1].

Re: [PATCH RFC net-next 1/2] drivers: net: virtio_net: Add tx_timeout stats field

2019-10-07 Thread Julian Wiedmann
On 06.10.19 20:45, jcfara...@gmail.com wrote: > From: Julio Faracco > > For debug purpose of TX timeout events, a tx_timeout entry was added to > monitor this special case: when dev_watchdog identifies a tx_timeout and > throw an exception. We can both consider this event as an error, but >

Re: [PATCH v2] taskstats: fix data-race

2019-10-07 Thread Andrea Parri
> > > static struct taskstats *taskstats_tgid_alloc(struct task_struct *tsk) > > > { > > > struct signal_struct *sig = tsk->signal; > > > - struct taskstats *stats; > > > + struct taskstats *stats_new, *stats; > > > > > > - if (sig->stats || thread_group_empty(tsk)) > > > -

Re: [PATCH net-next] net: stmmac: Fix sparse warning

2019-10-07 Thread David Miller
From: Jose Abreu Date: Mon, 7 Oct 2019 15:16:08 +0200 > diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c > b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c > index 8b76745a7ec4..40b0756f3a14 100644 > --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c > +++

Re: [PATCH] staging: rtl8712: align arguments with open parenthesis in file rtl8712_led.c

2019-10-07 Thread Dan Carpenter
On Sun, Oct 06, 2019 at 09:39:02PM -0300, Gabriela Bittencourt wrote: > Cleans up checks of "Alignment should match open parenthesis" > > Signed-off-by: Gabriela Bittencourt > --- > drivers/staging/rtl8712/rtl8712_led.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH] drm/amd/display: Fix typo in some comments

2019-10-07 Thread Harry Wentland
On 2019-10-05 7:32 a.m., Christophe JAILLET wrote: > p and g are switched in 'amdpgu_dm' > > Signed-off-by: Christophe JAILLET Reviewed-by: Harry Wentland Harry > --- > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff

Re: [PATCH 0/5] Optimize single thread migration

2019-10-07 Thread Tejun Heo
On Fri, Oct 04, 2019 at 12:57:38PM +0200, Michal Koutný wrote: > Hello. > > The important part is the patch 02 where the reasoning is. > > The rest is mostly auxiliar and split out into separate commits for > better readability. > > The patches are based on v5.3. This is great. Applied to

Re: [RESEND PATCH 0/5] Add bluetooth support for Orange Pi 3

2019-10-07 Thread Ondřej Jirman
Hi Maxime, On Fri, Aug 23, 2019 at 12:31:34PM +0200, megous hlavni wrote: > From: Ondrej Jirman > > (Resend to add missing lists, sorry for the noise.) > > This series implements bluetooth support for Xunlong Orange Pi 3 board. > > The board uses AP6256 WiFi/BT 5.0 chip. > > Summary of

Re: [PATCH v2 5.4 regression fix] x86/boot: Provide memzero_explicit

2019-10-07 Thread Hans de Goede
Hi, On 07-10-2019 16:00, Ingo Molnar wrote: * Hans de Goede wrote: The purgatory code now uses the shared lib/crypto/sha256.c sha256 implementation. This needs memzero_explicit, implement this. Reported-by: Arvind Sankar Fixes: 906a4bb97f5d ("crypto: sha256 - Use get/put_unaligned_be32 to

Re: [PATCH] m68k: defconfig: Update defconfigs for v5.4-rc1

2019-10-07 Thread Max Staudt
Hi Geert, (CC linux-ide) As for the Amiga defconfig, how about moving from IDE drivers to ATA? The old IDE stack is slated for removal in less than 2 years, and people should probably move over to libata instead. How about the following changes? Is there any Amiga IDE controller left without

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-07 Thread Petr Mladek
On Mon 2019-10-07 09:07:02, Qian Cai wrote: > On Mon, 2019-10-07 at 14:43 +0200, Michal Hocko wrote: > > On Mon 07-10-19 08:11:44, Qian Cai wrote: > > > On Mon, 2019-10-07 at 13:37 +0200, Michal Hocko wrote: > > > > On Mon 07-10-19 07:04:00, Qian Cai wrote: > > > > > > > > > > > > > > > > On Oct

Re: [PATCH v2] taskstats: fix data-race

2019-10-07 Thread Christian Brauner
On Mon, Oct 07, 2019 at 04:08:41PM +0200, Dmitry Vyukov wrote: > On Mon, Oct 7, 2019 at 3:55 PM Christian Brauner > wrote: > > > > On Mon, Oct 07, 2019 at 03:50:47PM +0200, Dmitry Vyukov wrote: > > > On Mon, Oct 7, 2019 at 3:18 PM Andrea Parri > > > wrote: > > > > > > > > On Mon, Oct 07, 2019

Re: [PATCH] Remove GP_REPLAY state from rcu_sync

2019-10-07 Thread Oleg Nesterov
On 10/04, Joel Fernandes wrote: > > On Fri, Oct 04, 2019 at 05:41:03PM +0200, Oleg Nesterov wrote: > > On 10/04, Joel Fernandes (Google) wrote: > > > > > > Taking a step back, why did we intend to have > > > to wait for a new GP if another rcu_sync_exit() comes while one is still > > > in

Re: [PATCH v2] taskstats: fix data-race

2019-10-07 Thread Dmitry Vyukov
On Mon, Oct 7, 2019 at 3:55 PM Christian Brauner wrote: > > On Mon, Oct 07, 2019 at 03:50:47PM +0200, Dmitry Vyukov wrote: > > On Mon, Oct 7, 2019 at 3:18 PM Andrea Parri wrote: > > > > > > On Mon, Oct 07, 2019 at 01:01:17PM +0200, Christian Brauner wrote: > > > > When assiging and testing

Re: [PATCH 1/3] dt-bindings: media: Fix id path for sun4i-a10-csi

2019-10-07 Thread Alexandre Torgue
On 10/7/19 1:00 PM, Maxime Ripard wrote: Hi Alexandre, On Mon, Oct 07, 2019 at 12:25:50PM +0200, Alexandre Torgue wrote: This commit fixes id path of allwinner,sun4i-a10-csi.yaml location. Fixes: c5e8f4ccd775 ("media: dt-bindings: media: Add Allwinner A10 CSI binding") Signed-off-by:

Re: [PATCH -next] drm/amd/display: remove set but not used variable 'core_freesync'

2019-10-07 Thread Harry Wentland
On 2019-10-06 6:57 a.m., YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > rivers/gpu/drm/amd/amdgpu/../display/modules/freesync/freesync.c: > In function mod_freesync_get_settings: > drivers/gpu/drm/amd/amdgpu/../display/modules/freesync/freesync.c:984:24: > warning:

Re: [PATCH 2/3] dt-bindings: net: adi: Fix yaml verification issue

2019-10-07 Thread Alexandre Torgue
Hi Rob On 10/7/19 3:56 PM, Rob Herring wrote: On Mon, Oct 7, 2019 at 5:26 AM Alexandre Torgue wrote: This commit fixes an issue seen during yaml check ("make dt_binding_check"). Each enum were not declared as uint32. "Documentation/devicetree/bindings/net/adi,adin.yaml:

Re: kexec breaks with 5.4 due to memzero_explicit

2019-10-07 Thread Hans de Goede
Hi, On 07-10-2019 15:09, Ingo Molnar wrote: * Hans de Goede wrote: Hi, On 07-10-2019 10:50, Hans de Goede wrote: Hi, On 07-10-2019 05:09, Arvind Sankar wrote: Hi, arch/x86/purgatory/purgatory.ro has an undefined symbol memzero_explicit. This has come from commit 906a4bb97f5d ("crypto:

[PATCH] pinctrl: rzn1: array reg_drive static, makes object smaller

2019-10-07 Thread Colin King
From: Colin Ian King Don't populate the array reg_drive on the stack but instead make it static. Makes the object code smaller by 32 bytes. Before: textdata bss dec hex filename 31991 15696 0 47687ba47 drivers/pinctrl/pinctrl-rzn1.o After: textdata

Re: [PATCH] cgroup: short-circuit current_cgns_cgroup_from_root() on the default hierarchy

2019-10-07 Thread Tejun Heo
On Sun, Sep 29, 2019 at 04:06:58PM +0800, Miaohe Lin wrote: > Like commit 13d82fb77abb ("cgroup: short-circuit cset_cgroup_from_root() on > the default hierarchy"), short-circuit current_cgns_cgroup_from_root() on > the default hierarchy. > > Signed-off-by: Miaohe Lin Applied to cgroup/for-5.5.

Re: [PATCH RFC net-next 2/2] drivers: net: virtio_net: Add tx_timeout function

2019-10-07 Thread Julio Faracco
Em seg, 7 de out de 2019 às 04:51, Michael S. Tsirkin escreveu: > > On Sun, Oct 06, 2019 at 03:45:15PM -0300, jcfara...@gmail.com wrote: > > From: Julio Faracco > > > > To enable dev_watchdog, virtio_net should have a tx_timeout defined > > (.ndo_tx_timeout). This is only a skeleton to throw a

Re: [PATCH V4 2/2] mm/pgtable/debug: Add test validating architecture page table helpers

2019-10-07 Thread Kirill A. Shutemov
On Mon, Oct 07, 2019 at 03:51:58PM +0200, Ingo Molnar wrote: > > * Kirill A. Shutemov wrote: > > > On Mon, Oct 07, 2019 at 03:06:17PM +0200, Ingo Molnar wrote: > > > > > > * Anshuman Khandual wrote: > > > > > > > This adds a test module which will validate architecture page table > > > >

Re: [PATCH] net: hns3: make array tick_array static, makes object smaller

2019-10-07 Thread David Miller
From: Colin King Date: Mon, 7 Oct 2019 12:09:35 +0100 > From: Colin Ian King > > Don't populate the array tick_array on the stack but instead make it > static. Makes the object code smaller by 29 bytes. > > Before: >text data bss dec hex filename > 19191

Re: [PATCH] net: hns: make arrays static, makes object smaller

2019-10-07 Thread David Miller
From: Colin King Date: Mon, 7 Oct 2019 11:55:10 +0100 > From: Colin Ian King > > Don't populate the arrays port_map and sl_map on the stack but > instead make them static. Makes the object code smaller by 64 bytes. > > Before: >text data bss dec hex filename >

Re: [PATCH] firmware: vpd: Add an interface to read VPD value

2019-10-07 Thread Cheng-yi Chiang
On Mon, Oct 7, 2019 at 8:27 PM Guenter Roeck wrote: > > On 10/7/19 1:03 AM, Tzung-Bi Shih wrote: > > On Mon, Oct 7, 2019 at 3:16 PM Cheng-Yi Chiang > > wrote: > >> > >> Add an interface for other driver to query VPD value. > >> This will be used for ASoC machine driver to query calibration > >>

Re: [PATCH RFC net-next 0/2] drivers: net: virtio_net: Implement

2019-10-07 Thread Julio Faracco
Em seg, 7 de out de 2019 às 04:43, Michael S. Tsirkin escreveu: > > On Sun, Oct 06, 2019 at 03:45:13PM -0300, jcfara...@gmail.com wrote: > > From: Julio Faracco > > > > Driver virtio_net is not handling error events for TX provided by > > dev_watchdog. This event is reached when transmission

Re: [PATCH v2 1/3] regulator: fixed: add possibility to enable by clock

2019-10-07 Thread Philippe Schenker
On Mon, 2019-10-07 at 06:29 -0700, Guenter Roeck wrote: > On Tue, Sep 10, 2019 at 06:21:15AM +, Philippe Schenker wrote: > > This commit adds the possibility to choose the compatible > > "regulator-fixed-clock" in devicetree. > > > > This is a special regulator-fixed that has to have a clock,

[PATCH v1 2/3] lib/bsearch: Use generic type for comparator function

2019-10-07 Thread Andy Shevchenko
Comparator function type, cmp_func_t, is defined in the types.h, use it in bsearch() and, thus, add more sense to the corresponding comment in the code. Signed-off-by: Andy Shevchenko --- include/linux/bsearch.h | 2 +- lib/bsearch.c | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH v1 3/3] tracing: Use generic type for comparator function

2019-10-07 Thread Andy Shevchenko
Comparator function type, cmp_func_t, is defined in the types.h, use it in the code. Signed-off-by: Andy Shevchenko --- kernel/trace/ftrace.c | 12 ++-- kernel/trace/trace_branch.c | 8 kernel/trace/trace_stat.c | 6 ++ kernel/trace/trace_stat.h | 2 +- 4 files

[PATCH v1 1/3] lib/sort: Move swap, cmp and cmp_r function types for wider use

2019-10-07 Thread Andy Shevchenko
The function types for swap, cmp and cmp_r functions are already being in use by modules. Move them to types.h that everybody in kernel will be able to use generic types instead of custom ones. This adds more sense to the comment in bsearch() later on. Signed-off-by: Andy Shevchenko ---

Re: [PATCH] PCI:cadence:Driver refactored to use as a core library.

2019-10-07 Thread Andrew Murray
On Tue, Oct 01, 2019 at 04:49:12PM -0500, Bjorn Helgaas wrote: > On Tue, Oct 01, 2019 at 11:07:28AM +0100, Andrew Murray wrote: > > Hi Tom, > > > > Thanks for the patch. > > > > I'd suggest that you rename the subject of this series to "PCI: cadence: > > ..." > > to be consistent with the

Re: [PATCH 2/3] dt-bindings: net: adi: Fix yaml verification issue

2019-10-07 Thread Rob Herring
On Mon, Oct 7, 2019 at 5:26 AM Alexandre Torgue wrote: > > This commit fixes an issue seen during yaml check ("make dt_binding_check"). > Each enum were not declared as uint32. > > "Documentation/devicetree/bindings/net/adi,adin.yaml: > properties:adi,rx-internal-delay-ps: > ..., 'enum': [1600,

Re: [PATCH v2] taskstats: fix data-race

2019-10-07 Thread Christian Brauner
On Mon, Oct 07, 2019 at 03:50:47PM +0200, Dmitry Vyukov wrote: > On Mon, Oct 7, 2019 at 3:18 PM Andrea Parri wrote: > > > > On Mon, Oct 07, 2019 at 01:01:17PM +0200, Christian Brauner wrote: > > > When assiging and testing taskstats in taskstats_exit() there's a race > > > when writing and

Re: kexec breaks with 5.4 due to memzero_explicit

2019-10-07 Thread Ingo Molnar
* Hans de Goede wrote: > Hi, > > On 07-10-2019 15:09, Ingo Molnar wrote: > > > > * Hans de Goede wrote: > > > > > Hi, > > > > > > On 07-10-2019 10:50, Hans de Goede wrote: > > > > Hi, > > > > > > > > On 07-10-2019 05:09, Arvind Sankar wrote: > > > > > Hi, arch/x86/purgatory/purgatory.ro

Re: [PATCH v5 0/6] arm64: vdso32: Address various issues

2019-10-07 Thread Vincenzo Frascino
Hi Will, On 07/10/2019 14:31, Will Deacon wrote: > Hi Vincenzo, > > On Thu, Oct 03, 2019 at 06:48:32PM +0100, Vincenzo Frascino wrote: >> This patch series is meant to address the various compilation issues >> reported recently for arm64 vdso32 [1]. >> >> From v4, the series contains a cleanup

Re: [PATCH 03/10] rtc: armada38x: Use of_device_get_match_data()

2019-10-07 Thread Alexandre Belloni
On 04/10/2019 14:43:27-0700, Stephen Boyd wrote: > Use the more modern API to get the match data out of the of match table. > This saves some code, lines, and nicely avoids referencing the match > table when it is undefined with configurations where CONFIG_OF=n. > > Cc: Arnd Bergmann > Cc: Geert

Re: kexec breaks with 5.4 due to memzero_explicit

2019-10-07 Thread Ingo Molnar
* Ingo Molnar wrote: > > * Hans de Goede wrote: > > > Hi, > > > > On 07-10-2019 10:50, Hans de Goede wrote: > > > Hi, > > > > > > On 07-10-2019 05:09, Arvind Sankar wrote: > > > > Hi, arch/x86/purgatory/purgatory.ro has an undefined symbol > > > > memzero_explicit. This has come from

[PATCH] rtl8xxxu: make arrays static, makes object smaller

2019-10-07 Thread Colin King
From: Colin Ian King Don't populate const arrays on the stack but instead make them static. Makes the object code smaller by 60 bytes. Before: textdata bss dec hex filename 151338768 0 239015d5d realtek/rtl8xxxu/rtl8xxxu_8192e.o 152096392 0

Re: [RFT] rtc: da9063: Handle invalid IRQ from platform_get_irq_byname()

2019-10-07 Thread Alexandre Belloni
On 04/10/2019 17:05:10+0200, Krzysztof Kozlowski wrote: > platform_get_irq_byname() might return -errno which later would be > cast to an unsigned int and used in request_irq(). > > Signed-off-by: Krzysztof Kozlowski > > --- > > Not marking as cc-stable as this was not reproduced and not

Re: [PATCH V4 2/2] mm/pgtable/debug: Add test validating architecture page table helpers

2019-10-07 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > On Mon, Oct 07, 2019 at 03:06:17PM +0200, Ingo Molnar wrote: > > > > * Anshuman Khandual wrote: > > > > > This adds a test module which will validate architecture page table > > > helpers > > > and accessors regarding compliance with generic MM semantics

Re: [PATCH v2] taskstats: fix data-race

2019-10-07 Thread Dmitry Vyukov
On Mon, Oct 7, 2019 at 3:18 PM Andrea Parri wrote: > > On Mon, Oct 07, 2019 at 01:01:17PM +0200, Christian Brauner wrote: > > When assiging and testing taskstats in taskstats_exit() there's a race > > when writing and reading sig->stats when a thread-group with more than > > one thread exits: > >

[PATCH 03/10] rtc: ds1347: remove useless read

2019-10-07 Thread Alexandre Belloni
DS1347_SECONDS_REG is read at probe time but the value is simply discarded. Remove that useless read. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1347.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-ds1347.c b/drivers/rtc/rtc-ds1347.c index

[PATCH 04/10] rtc: ds1347: simplify getting .driver_data

2019-10-07 Thread Alexandre Belloni
Get 'driver_data' from 'struct device' directly. Going via spi_device is an unnecessary step. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1347.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/rtc/rtc-ds1347.c b/drivers/rtc/rtc-ds1347.c index

[PATCH 02/10] rtc: ds1347: remove verbose messages

2019-10-07 Thread Alexandre Belloni
Printing debugging (and opaque) information is not useful and only clutters the boot log. Remove those messages. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1347.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/rtc/rtc-ds1347.c b/drivers/rtc/rtc-ds1347.c index

[PATCH 05/10] rtc: ds1347: mask ALM OUT when reading time

2019-10-07 Thread Alexandre Belloni
Bit 7 of the minutes registers is ALM OUT. It indicates an alarm fired. Mask it out when reading the time. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1347.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-ds1347.c b/drivers/rtc/rtc-ds1347.c index

[PATCH 01/10] rtc: add a timestamp for year 0

2019-10-07 Thread Alexandre Belloni
A few RTCs handle dates from year 0 to year . Add a timestamp even if years before 1970 will probably never be used. Signed-off-by: Alexandre Belloni --- include/linux/rtc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/rtc.h b/include/linux/rtc.h index

[PATCH 09/10] rtc: ds1347: use regmap_update_bits

2019-10-07 Thread Alexandre Belloni
Use regmap_update_bits instead of open coding. Also add proper error handling. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1347.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-ds1347.c b/drivers/rtc/rtc-ds1347.c index

[PATCH 07/10] rtc: ds1347: set range

2019-10-07 Thread Alexandre Belloni
The DS1347 handle dates from year to . Leap years are claimed to be handled correctly in the datasheet. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1347.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/rtc/rtc-ds1347.c b/drivers/rtc/rtc-ds1347.c index

[PATCH 08/10] rtc: ds1347: properly handle oscillator failures

2019-10-07 Thread Alexandre Belloni
The comment in the probe function stating that it disables oscillator stop detection and glitch filtering is incorrect as it sets bits 3 and 4 while it should be setting 5 and 6 to achieve that. Then, it is safe to assume that the oscillator failure detection is actually enabled. Properly handle

[PATCH 10/10] rtc: ds1347: handle century register

2019-10-07 Thread Alexandre Belloni
The DS1347 can handle years from 0 to , add century register support. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1347.c | 37 - 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/drivers/rtc/rtc-ds1347.c b/drivers/rtc/rtc-ds1347.c

[PATCH 06/10] rtc: ds1347: convert to devm_rtc_allocate_device

2019-10-07 Thread Alexandre Belloni
This allows further improvement of the driver. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1347.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-ds1347.c b/drivers/rtc/rtc-ds1347.c index 763eb60e5e8f..75c522c8ab26 100644 ---

[PATCH 0/3] dt-bindings: fix issues seen during STM32 DT validation

2019-10-07 Thread Alexandre Torgue
This series updates yaml files to clean some issues seen during STM32 device trees validation. Alexandre Torgue (3): dt-bindings: arm: stm32: Add missing STM32 boards dt-bindings: pinctrl: stm32: Fix 'st,syscfg' description field dt-bindings: usb: generic-ehci: Add "companion" entry

[PATCH 3/3] dt-bindings: usb: generic-ehci: Add "companion" entry

2019-10-07 Thread Alexandre Torgue
"companion" entry is present in "generic.txt" usb binding file. This commit adds it also in generic-ehci yaml binding. Signed-off-by: Alexandre Torgue diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml index

[PATCH 1/3] dt-bindings: arm: stm32: Add missing STM32 boards

2019-10-07 Thread Alexandre Torgue
This commit documents missing STM32 boards: -STM32MCU: F429 disco/eval, F469-disco, F746 disco/eval, F769 disco, H743 disco/eval. -STM32MPU: MP157 dk1/dk2/ed1/ev1. Signed-off-by: Alexandre Torgue diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml

[PATCH 2/3] dt-bindings: pinctrl: stm32: Fix 'st,syscfg' description field

2019-10-07 Thread Alexandre Torgue
As there is only one item "st,syscfg" this commit moves phandle description fields under "description" tag. It'll fix a validation issue seen during stm32 DT check. Signed-off-by: Alexandre Torgue diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml

Re: kexec breaks with 5.4 due to memzero_explicit

2019-10-07 Thread Hans de Goede
Hi, On 07-10-2019 15:09, Ingo Molnar wrote: * Hans de Goede wrote: Hi, On 07-10-2019 10:50, Hans de Goede wrote: Hi, On 07-10-2019 05:09, Arvind Sankar wrote: Hi, arch/x86/purgatory/purgatory.ro has an undefined symbol memzero_explicit. This has come from commit 906a4bb97f5d ("crypto:

Re: [PATCH 0/4] HiSilicon hip08 uncore PMU events additions

2019-10-07 Thread John Garry
As an alternative, how about just add a maintainers entry for reviewers per arch? As a start, I don't mind being added there for arm64: --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12767,6 +12767,10 @@ F: arch/*/events/* F: arch/*/events/*/* F: tools/perf/ +PERFORMANCE EVENTS

[PATCH] iwlegacy: make array interval static, makes object smaller

2019-10-07 Thread Colin King
From: Colin Ian King Don't populate the array interval on the stack but instead make it static. Makes the object code smaller by 121 bytes. Before: textdata bss dec hex filename 167797 29676 448 197921 30521 wireless/intel/iwlegacy/common.o After: textdata

Re: [RFC PATCH v1 3/3] usb: phy: mxs: optimize disconnect line condition

2019-10-07 Thread Igor Opaniuk
HI Fabio, On Mon, Oct 7, 2019 at 3:51 PM Fabio Estevam wrote: > > Hi Igor, > > On Mon, Oct 7, 2019 at 9:47 AM Igor Opaniuk wrote: > > > > From: Igor Opaniuk > > > > We only have below cases to disconnect line when suspend: > > 1. Device mode without connection to any host/charger(no vbus). > >

Re: [PATCH RESEND v8 0/4] Make IPA use PM_EM

2019-10-07 Thread Quentin Perret
Hi Daniel, On Mon, Oct 7, 2019 at 6:35 AM Daniel Lezcano wrote: > the series does no longer apply, do you think it is possible to give it > a respin? Right, I'll try to fix the conflicts and post a v9 shortly. Thanks, Quentin

Re: [PATCH] kasan: fix the missing underflow in memmove and memcpy with CONFIG_KASAN_GENERIC=y

2019-10-07 Thread Dmitry Vyukov
On Mon, Oct 7, 2019 at 2:33 PM Walter Wu wrote: > On Mon, 2019-10-07 at 14:19 +0200, Dmitry Vyukov wrote: > > On Mon, Oct 7, 2019 at 2:03 PM Walter Wu wrote: > > My idea was just to always print "heap-out-of-bounds" and don't > > differentiate if the size come from userspace or not. > > Got it.

Re: [PATCH v5 0/6] arm64: vdso32: Address various issues

2019-10-07 Thread Will Deacon
Hi Vincenzo, On Thu, Oct 03, 2019 at 06:48:32PM +0100, Vincenzo Frascino wrote: > This patch series is meant to address the various compilation issues > reported recently for arm64 vdso32 [1]. > > From v4, the series contains a cleanup of lib/vdso Kconfig as well since >

[PATCH v8 6/6] media: ad5820: Add support for ad5821 and ad5823

2019-10-07 Thread Ricardo Ribalda Delgado
According to the datasheet, both AD5821 and AD5820 share a compatible register-set: http://www.analog.com/media/en/technical-documentation/data-sheets/AD5821.pdf Some camera modules also refer that AD5823 is a replacement of AD5820: https://download.kamami.com/p564094-OV8865_DS.pdf Suggested-by:

[PATCH v8 4/6] media: ad5820: Add support for of-autoload

2019-10-07 Thread Ricardo Ribalda Delgado
Since kernel 4.16, i2c devices with DT compatible tag are modprobed using their DT modalias. Without this patch, if this driver is build as module it would never be autoprobed. There is no need to mask it with CONFIG_OF to allow ACPI loading, this also builds find with CONFIG_OF=n.

Re: [PATCH v2 1/3] regulator: fixed: add possibility to enable by clock

2019-10-07 Thread Guenter Roeck
On Tue, Sep 10, 2019 at 06:21:15AM +, Philippe Schenker wrote: > This commit adds the possibility to choose the compatible > "regulator-fixed-clock" in devicetree. > > This is a special regulator-fixed that has to have a clock, from which > the regulator gets switched on and off. > >

[PATCH v8 2/6] media: ad5820: DT new optional field enable-gpios

2019-10-07 Thread Ricardo Ribalda Delgado
Document new enable-gpio field. It can be used to disable the part without turning down its regulator. Cc: devicet...@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado Acked-by: Pavel Machek Reviewed-by: Laurent Pinchart Reviewed-by: Rob Herring ---

[PATCH v8 0/6] ad5820: Multiple fixes

2019-10-07 Thread Ricardo Ribalda Delgado
-Support for enable-pin, of-autoload, enable-gpios and ad5821 and ad5823 For some reason these patchset was lost in translation for a year ;) v8: I screwed up sending v7, I sent it from a dirty directory and clicked on send-all without checking what was under v7*. Sorry :( This made patchwork

[PATCH v8 5/6] media: ad5820: DT new compatible devices

2019-10-07 Thread Ricardo Ribalda Delgado
Document new compatible devices. Cc: devicet...@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Rob Herring Acked-by: Pavel Machek --- Documentation/devicetree/bindings/media/i2c/ad5820.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH v8 3/6] media: ad5820: Add support for enable pin

2019-10-07 Thread Ricardo Ribalda Delgado
This patch adds support for a programmable enable pin. It can be used in situations where the ANA-vcc is not configurable (dummy-regulator), or just to have a more fine control of the power saving. The use of the enable pin is optional. Signed-off-by: Ricardo Ribalda Delgado Acked-by: Pavel

[PATCH v8 1/6] media: ad5820: Define entity function

2019-10-07 Thread Ricardo Ribalda Delgado
Without this patch, media_device_register_entity throws a warning: dev_warn(mdev->dev, "Entity type for entity %s was not initialized!\n", entity->name); Signed-off-by: Ricardo Ribalda Delgado Acked-by: Pavel Machek Reviewed-by: Laurent Pinchart ---

Re: [PATCH v2] taskstats: fix data-race

2019-10-07 Thread Christian Brauner
On Mon, Oct 07, 2019 at 03:18:04PM +0200, Andrea Parri wrote: > On Mon, Oct 07, 2019 at 01:01:17PM +0200, Christian Brauner wrote: > > When assiging and testing taskstats in taskstats_exit() there's a race > > when writing and reading sig->stats when a thread-group with more than > > one thread

[PATCH v3 6/8] dt-bindings: iio: adc: max1027: Mark interrupts as optional

2019-10-07 Thread Miquel Raynal
The chips have a 'start conversion' and a 'end of conversion' pair of pins. They can be used but this is absolutely not mandatory as regular polling is supported by the chip depending on its internal clocking setup. There is no physical reason to force the use of interrupts so turn them optional.

[PATCH v3 8/8] dt-bindings: Add max12xx SPI ADC series as trivial devices

2019-10-07 Thread Miquel Raynal
Update the compatible list with three Maxim ADCs compatibles. Signed-off-by: Miquel Raynal --- .../bindings/iio/adc/max1027-adc.txt | 28 +++ .../devicetree/bindings/trivial-devices.yaml | 6 2 files changed, 34 insertions(+) create mode 100644

[PATCH v3 4/8] iio: adc: max1027: Prepare the introduction of different resolutions

2019-10-07 Thread Miquel Raynal
Maxim's max1027/29/31 series returns the measured voltages with a resolution of 10 bits. There is a very similar series, max1227/29/31 which works identically but uses a resolution of 12 bits. Prepare the support for these chips by turning the 'depth' into a macro parameter instead of hardcoding

[PATCH v3 5/8] iio: adc: max1027: Introduce 12-bit devices support

2019-10-07 Thread Miquel Raynal
Maxim's max12xx series is very similar to the max10xx series, with the difference of the measurements depth which is upgraded from 10 to 12 bits per channel. Everything else looks the same. Signed-off-by: Miquel Raynal --- drivers/iio/adc/Kconfig | 4 ++-- drivers/iio/adc/max1027.c | 38

[PATCH v3 7/8] dt-bindings: Add 1027/1029/1031 SPI ADCs as trivial devices

2019-10-07 Thread Miquel Raynal
In the same time, remove the dedicated bindings file which is now useless. Signed-off-by: Miquel Raynal --- .../bindings/iio/adc/max1027-adc.txt | 22 --- .../devicetree/bindings/trivial-devices.yaml | 6 + 2 files changed, 6 insertions(+), 22 deletions(-) delete

[PATCH v3 3/8] iio: adc: max1027: Reset the device at probe time

2019-10-07 Thread Miquel Raynal
All the registers are configured by the driver, let's reset the chip at probe time, avoiding any conflict with a possible earlier configuration. Signed-off-by: Miquel Raynal --- drivers/iio/adc/max1027.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/iio/adc/max1027.c

[PATCH v3 1/8] iio: adc: max1027: Add debugfs register read support

2019-10-07 Thread Miquel Raynal
Until now, only write operations were supported. Force two bytes read operation when reading, which should fit most of the development purposes. Of course, extended operations like buffered reads on multiple channels or even temperature + voltage reads will not be read entirely. Usually, just

[PATCH v3 2/8] iio: adc: max1027: Make it optional to use interrupts

2019-10-07 Thread Miquel Raynal
The chip has a 'start conversion' and a 'end of conversion' pair of pins. They can be used but this is absolutely not mandatory as regular polling of the value is totally fine with the current internal clocking setup. Turn the interrupts optional and do not error out if they are not inquired in

[PATCH v3 0/8] Introduce max12xx ADC support

2019-10-07 Thread Miquel Raynal
Hello, here is a patchset updating the existing max1027.c driver (for 10-bit max1027/29/31 ADCs) with a few corrections/improvements and then introducing their 12-bit cousins named max1227/29/31. As on my hardware setup the "start conversion" and "end of conversion" pin are not wired (which is

[PATCH] selftests: kvm: synchronize .gitignore to Makefile

2019-10-07 Thread Vitaly Kuznetsov
Because "Untracked files:" are annoying. Signed-off-by: Vitaly Kuznetsov --- tools/testing/selftests/kvm/.gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/kvm/.gitignore b/tools/testing/selftests/kvm/.gitignore index b35da375530a..409c1fa75e03 100644 ---

Re: [PATCH 1/2] dt-bindings: nvmem: add binding for Rockchip OTP controller

2019-10-07 Thread Heiko Stübner
Hi Rob, Am Mittwoch, 25. September 2019, 20:49:56 CEST schrieb Heiko Stuebner: > Newer Rockchip SoCs use a different IP for accessing special one- > time-programmable memory, so add a binding for these controllers. > > Signed-off-by: Heiko Stuebner Srinivas seems to wait for an Ack on the

Re: [PATCH V4 2/2] mm/pgtable/debug: Add test validating architecture page table helpers

2019-10-07 Thread Kirill A. Shutemov
On Mon, Oct 07, 2019 at 03:06:17PM +0200, Ingo Molnar wrote: > > * Anshuman Khandual wrote: > > > This adds a test module which will validate architecture page table helpers > > and accessors regarding compliance with generic MM semantics expectations. > > This will help various architectures

Re: [PATCH 1/3] perf/core: Provide a kernel-internal interface to recalibrate event period

2019-10-07 Thread Liang, Kan
On 10/7/2019 8:01 AM, Paolo Bonzini wrote: On 30/09/19 09:22, Like Xu wrote: -static int perf_event_period(struct perf_event *event, u64 __user *arg) +static int _perf_event_period(struct perf_event *event, u64 value) __perf_event_period or perf_event_period_locked would be more consistent

Re: [PATCH] xen/xenbus: fix self-deadlock after killing user process

2019-10-07 Thread James Dingwall
On Tue, Oct 01, 2019 at 01:37:24PM -0400, Boris Ostrovsky wrote: > On 10/1/19 11:03 AM, Juergen Gross wrote: > > In case a user process using xenbus has open transactions and is killed > > e.g. via ctrl-C the following cleanup of the allocated resources might > > result in a deadlock due to trying

Re: [PATCH 1/2] dt-bindings: iio: light: Add binding for ADUX1020

2019-10-07 Thread Ardelean, Alexandru
On Mon, 2019-10-07 at 18:10 +0530, Manivannan Sadhasivam wrote: > [External] > > Hi Ardelean, > > On 7 October 2019 3:51:16 PM IST, "Ardelean, Alexandru" < > alexandru.ardel...@analog.com> wrote: > > On Mon, 2019-10-07 at 15:40 +0530, Manivannan Sadhasivam wrote: > > > [External] > > > > > >

Re: KCSAN: data-race in find_next_bit / rcu_report_exp_cpu_mult

2019-10-07 Thread Paul E. McKenney
On Mon, Oct 07, 2019 at 12:04:16PM +0200, Marco Elver wrote: > +RCU maintainers > This might be a data-race in RCU itself. Quite possibly. I will take a look, but there will be delays due to this week being bootcamp and all. Thanx, Paul >

[PATCH v7 5/6] media: ad5820: DT new compatible devices

2019-10-07 Thread Ricardo Ribalda Delgado
Document new compatible devices. Cc: devicet...@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Rob Herring Acked-by: Pavel Machek --- Documentation/devicetree/bindings/media/i2c/ad5820.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH v7 3/6] ad5820: Add support for enable pin

2019-10-07 Thread Ricardo Ribalda Delgado
This patch adds support for a programmable enable pin. It can be used in situations where the ANA-vcc is not configurable (dummy-regulator), or just to have a more fine control of the power saving. The use of the enable pin is optional. Signed-off-by: Ricardo Ribalda Delgado Acked-by: Pavel

Re: [PATCH 5.4 regression fix] x86/boot: Provide memzero_explicit

2019-10-07 Thread Arvind Sankar
On Mon, Oct 07, 2019 at 03:00:51PM +0200, Hans de Goede wrote: > Hi Stephan, > > On 07-10-2019 11:34, Stephan Mueller wrote: > > Am Montag, 7. Oktober 2019, 11:06:04 CEST schrieb Hans de Goede: > > > > Hi Hans, > > > >> Hi Stephan, > >> > >> On 07-10-2019 10:59, Stephan Mueller wrote: > >>> Am

[PATCH v7 6/6] ad5820: Add support for ad5821 and ad5823

2019-10-07 Thread Ricardo Ribalda Delgado
According to the datasheet, both AD5821 and AD5820 share a compatible register-set: http://www.analog.com/media/en/technical-documentation/data-sheets/AD5821.pdf Some camera modules also refer that AD5823 is a replacement of AD5820: https://download.kamami.com/p564094-OV8865_DS.pdf Suggested-by:

[PATCH v7 4/6] ad5820: Add support for of-autoload

2019-10-07 Thread Ricardo Ribalda Delgado
Since kernel 4.16, i2c devices with DT compatible tag are modprobed using their DT modalias. Without this patch, if this driver is build as module it would never be autoprobed. There is no need to mask it with CONFIG_OF to allow ACPI loading, this also builds find with CONFIG_OF=n.

[PATCH v7 6/6] media: ad5820: Add support for ad5821 and ad5823

2019-10-07 Thread Ricardo Ribalda Delgado
According to the datasheet, both AD5821 and AD5820 share a compatible register-set: http://www.analog.com/media/en/technical-documentation/data-sheets/AD5821.pdf Some camera modules also refer that AD5823 is a replacement of AD5820: https://download.kamami.com/p564094-OV8865_DS.pdf Suggested-by:

[PATCH v7 4/6] media: ad5820: Add support for of-autoload

2019-10-07 Thread Ricardo Ribalda Delgado
Since kernel 4.16, i2c devices with DT compatible tag are modprobed using their DT modalias. Without this patch, if this driver is build as module it would never be autoprobed. There is no need to mask it with CONFIG_OF to allow ACPI loading, this also builds find with CONFIG_OF=n.

[PATCH v7 2/6] ad5820: DT new optional field enable-gpios

2019-10-07 Thread Ricardo Ribalda Delgado
Document new enable-gpio field. It can be used to disable the part without turning down its regulator. Cc: devicet...@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado Acked-by: Pavel Machek Reviewed-by: Laurent Pinchart Reviewed-by: Rob Herring ---

[PATCH v7 2/6] media: ad5820: DT new optional field enable-gpios

2019-10-07 Thread Ricardo Ribalda Delgado
Document new enable-gpio field. It can be used to disable the part without turning down its regulator. Cc: devicet...@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado Acked-by: Pavel Machek Reviewed-by: Laurent Pinchart Reviewed-by: Rob Herring ---

[PATCH v7 1/6] media: ad5820: Define entity function

2019-10-07 Thread Ricardo Ribalda Delgado
Without this patch, media_device_register_entity throws a warning: dev_warn(mdev->dev, "Entity type for entity %s was not initialized!\n", entity->name); Signed-off-by: Ricardo Ribalda Delgado Acked-by: Pavel Machek Reviewed-by: Laurent Pinchart ---

[PATCH v7 3/6] media: ad5820: Add support for enable pin

2019-10-07 Thread Ricardo Ribalda Delgado
This patch adds support for a programmable enable pin. It can be used in situations where the ANA-vcc is not configurable (dummy-regulator), or just to have a more fine control of the power saving. The use of the enable pin is optional. Signed-off-by: Ricardo Ribalda Delgado Acked-by: Pavel

<    3   4   5   6   7   8   9   10   11   12   >