[PATCH 17/42] drivers: gpio: loongon1: use devm_platform_ioremap_resource()

2019-03-11 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/gpio/gpio-loongson1.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-loongson1.c b/driver

[PATCH 20/42] drivers: gpio: mt7621: use devm_platform_ioremap_resource()

2019-03-11 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/gpio/gpio-mt7621.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-mt7621.c b/drivers/gpio/

[PATCH 18/42] drivers: gpio: lpc18xx: use devm_platform_ioremap_resource()

2019-03-11 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/gpio/gpio-lpc18xx.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpio/gpio-lpc18xx.c b/drivers/g

[PATCH 08/42] drivers: gpio: dwap: use devm_platform_ioremap_resource()

2019-03-11 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/gpio/gpio-dwapb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-dwapb.c b/drivers/gpio/g

[PATCH 11/42] drivers: gpio: ftgpio010: use devm_platform_ioremap_resource()

2019-03-11 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/gpio/gpio-ftgpio010.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-ftgpio010.c b/driver

Re: [PATCH 05/42] drivers: gpio: bcm-kona: use devm_platform_ioremap_resource()

2019-03-11 Thread Florian Fainelli
On 3/11/19 11:54 AM, Enrico Weigelt, metux IT consult wrote: > Use the new helper that wraps the calls to platform_get_resource() > and devm_ioremap_resource() together. > > Signed-off-by: Enrico Weigelt, metux IT consult > --- > drivers/gpio/gpio-bcm-kona.c | 4 +--- > 1 file changed, 1 inserti

Re: [git pull] Input updates for v5.1-rc0

2019-03-11 Thread pr-tracker-bot
The pull request you sent on Sat, 9 Mar 2019 18:34:27 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4f0237062ca70c8e34e16e518aee4b84c30d1832 Thank you! -- Deet-doot-dot, I am a bot. htt

[PATCH 06/42] drivers: gpio: cadence: use devm_platform_ioremap_resource()

2019-03-11 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/gpio/gpio-cadence.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-cadence.c b/drivers/gp

[PATCH 09/42] drivers: gpio: sprd: use devm_platform_ioremap_resource()

2019-03-11 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/gpio/gpio-eic-sprd.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/gpio/gpio-eic-sprd.c b/dr

[PATCH 05/42] drivers: gpio: bcm-kona: use devm_platform_ioremap_resource()

2019-03-11 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/gpio/gpio-bcm-kona.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-bcm-kona.c b/drivers/

[PATCH 01/42] drivers: gpio: 74xx-mmio: use devm_platform_ioremap_resource()

2019-03-11 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/gpio/gpio-74xx-mmio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-74xx-mmio.c b/driver

[PATCH 15/42] drivers: gpio: janz-ttl: use devm_platform_ioremap_resource()

2019-03-11 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/gpio/gpio-janz-ttl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-janz-ttl.c b/drivers/

Re: [GIT PULL REQUEST] watchdog - v5.1 Merge window

2019-03-11 Thread pr-tracker-bot
The pull request you sent on Sun, 10 Mar 2019 15:54:08 +0100: > git://www.linux-watchdog.org/linux-watchdog.git tags/linux-watchdog-5.1-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a089e4fed5c5e8717f233d71bb750fbf9e1f38e0 Thank you! -- Deet-doot-dot, I am a bo

linux-kernel@vger.kernel.org

2019-03-11 Thread Enrico Weigelt, metux IT consult
We already have the struct device* pointer in a local variable, so we can write this a bit shorter. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/gpio/gpio-amdpt.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpio/gpio-amdpt.c b/drivers/gpi

[PATCH 04/42] drivers: gpio: aspeed: use devm_platform_ioremap_resource()

2019-03-11 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/gpio/gpio-aspeed.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-aspeed.c b/drivers/gpio

Re: [GIT PULL] pin control bulk changes for v5.1

2019-03-11 Thread pr-tracker-bot
The pull request you sent on Mon, 11 Mar 2019 10:32:41 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git > tags/pinctrl-v5.1-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cf0240a755b8b3df51b0b857b03309a11d58 Thank you! -- Deet-d

Re: [PATCH 23/42] drivers: gpio: use devm_platform_ioremap_resource()

2019-03-11 Thread Florian Fainelli
On 3/11/19 11:55 AM, Enrico Weigelt, metux IT consult wrote: > Use the new helper that wraps the calls to platform_get_resource() > and devm_ioremap_resource() together. > > Signed-off-by: Enrico Weigelt, metux IT consult The subject is missing an "octeon: " part here to indicate which driver th

Re: [PATCH 2/2] x86/MCE/AMD, EDAC/mce_amd: Don't report L1 BTB MCA errors on some Family 17h models

2019-03-11 Thread Borislav Petkov
On Mon, Mar 11, 2019 at 06:52:05PM +, Ghannam, Yazen wrote: > Should I keep the filter in edac_mce_amd? I guess it's not necessary > if filtered out earlier. Nah, you don't need to touch that if you filter earlier. Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top

Re: [PATCH v2 1/9] mfd: mt6397: clean up code

2019-03-11 Thread Sean Wang
Hi, On Sun, Mar 10, 2019 at 8:48 PM Hsin-Hsiung Wang wrote: > > clean up code > > Signed-off-by: Hsin-Hsiung Wang > --- > drivers/mfd/mt6397-core.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c > i

Re: [PATCH 24/42] drivers: gpio: use devm_platform_ioremap_resource()

2019-03-11 Thread Florian Fainelli
On 3/11/19 11:55 AM, Enrico Weigelt, metux IT consult wrote: > Use the new helper that wraps the calls to platform_get_resource() > and devm_ioremap_resource() together. > > Signed-off-by: Enrico Weigelt, metux IT consult Same here, missing an "omap: " qualifier in the subject. -- Florian

Re: [PATCH v6 07/11] perf tools report: Implement browsing of individual samples

2019-03-11 Thread Andi Kleen
> And here is the diff to what was before. Replaced the previous patch > with this one and I'm adding Jiri's Acked-by to the whole series, as he > provided me privately, thanks guys! Great. Thanks everyone! -Andi

Re: [PATCH v2] Bluetooth: hci_qca: Add helper function to get the chip family

2019-03-11 Thread Matthias Kaehlcke
On Mon, Mar 11, 2019 at 11:38:31AM -0700, Matthias Kaehlcke wrote: > Many functions obtain a 'struct qca_serdev' only to read the btsoc_type > field. Add a helper function that encapsulates this. > > This also fixes crashes observed on platforms with ROME controllers > that are instantiated throug

Re: [PATCH v2 2/9] mfd: mt6397: extract irq related code from core driver

2019-03-11 Thread Sean Wang
Hi, I would expect the patch just a migration patch that just moves the code and should not add something changed or something new in the patch. but a new mt6397_irq_pm_notifier is being added into mt6397-irq.c so I guessed the patch is needed to be refined and split into several patches on advanc

Re: [PATCH v8 0/6] Add Fieldbus subsystem + support HMS Profinet card

2019-03-11 Thread Greg KH
On Mon, Mar 11, 2019 at 01:02:34PM -0400, Sven Van Asbroeck wrote: > On Fri, Feb 8, 2019 at 9:14 AM Greg KH wrote: > > > > Well, who wants this code? Who uses it? Find those people and get them > > to review it. If no one wants it or uses it, that kind of implies that > > it's not needed :) >

Re: [GIT pull] x86/asm for 5.1

2019-03-11 Thread Kees Cook
On Mon, Mar 11, 2019 at 10:41 AM Linus Torvalds wrote: > Yes, that would fix things too, although I suspect you'll find that it > gets hairy for hotplug CPU's (including suspend/resume), because new > CPU's keep booting "forever". In my testing, hotplug wasn't a problem because we'd already finis

Re: [PATCH 2/2] mfd: intel-lpss: Add "linux,use-dynamic-adapter-nr" device-prop to i2c-devices

2019-03-11 Thread Wolfram Sang
On Mon, Mar 11, 2019 at 12:22:16PM +0100, Hans de Goede wrote: > The i2c-designware-platdrv assumes that if the pdev has an apci-companion > it should use a dynamic adapter-nr and otherwise it will use pdev->id as > adapter-nr. > > On some devices e.g. the Apollo Lake using Acer TravelMate Spin B1

[PATCH] mm/slab: protect cache_reap() against CPU and memory hot plug operations

2019-03-11 Thread Laurent Dufour
The commit 95402b382901 ("cpu-hotplug: replace per-subsystem mutexes with get_online_cpus()") remove the CPU_LOCK_ACQUIRE operation which was use to grap the cache_chain_mutex lock which was protecting cache_reap() against CPU hot plug operations. Later the commit 18004c5d4084 ("mm, sl[aou]b: Use

Re: [PATCH v2 3/9] dt-bindings: mfd: Add compatible for the MediaTek MT6358 PMIC

2019-03-11 Thread Sean Wang
Hi, Always put the patches about dt-binding changes at the head of the series to let the related maintainer more easily find them. On Sun, Mar 10, 2019 at 8:48 PM Hsin-Hsiung Wang wrote: > > This adds compatible for the MediaTek MT6358 PMIC. > > Signed-off-by: Hsin-Hsiung Wang > --- > Document

Re: [PATCH 5/5] mm: spill memcg percpu stats and events before releasing

2019-03-11 Thread Roman Gushchin
On Mon, Mar 11, 2019 at 01:38:25PM -0400, Johannes Weiner wrote: > On Thu, Mar 07, 2019 at 03:00:33PM -0800, Roman Gushchin wrote: > > Spill percpu stats and events data to corresponding before releasing > > percpu memory. > > > > Although per-cpu stats are never exactly precise, dropping them on

Re: [PATCH 2/4] Add SUNIX Multi-I/O card device driver

2019-03-11 Thread Enrico Weigelt, metux IT consult
On 11.03.19 16:05, Arnd Bergmann wrote: Hi, > Enrico has already replied with the most important comments. Here> are just > some more high-level thoughts from me: I'll try to make things a bit more clear to newcomers: > * We want the functionality to be present in subsystem specific> standalo

Actualiza tu cuenta

2019-03-11 Thread Administrador de cuenta
Web de correo electrónico de administración de notificaciones Este mensaje es de nuestro centro de mensajería Web Admin a todos nuestros propietarios de cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web. Su cuenta de correo electrónico se actual

Re: [PATCH v2 4/9] regulator: Add document for MT6358 regulator

2019-03-11 Thread Sean Wang
Hi, add a dt-bindings prefix and move the patch to the first order in the series. On Sun, Mar 10, 2019 at 9:03 PM Hsin-Hsiung Wang wrote: > > add dt-binding document for MediaTek MT6358 PMIC > > Signed-off-by: Hsin-Hsiung Wang > --- > .../bindings/regulator/mt6358-regulator.txt| 318

[PATCH] drivers: gpio: octeon: use devm_platform_ioremap_resource()

2019-03-11 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/gpio/gpio-octeon.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-octeon.c b/drivers/gpio

[PATCH] drivers: gpio: omap: use devm_platform_ioremap_resource()

2019-03-11 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/gpio/gpio-omap.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpi

Re: [PATCHv7 07/10] acpi/hmat: Register processor domain to its memory

2019-03-11 Thread Keith Busch
On Mon, Mar 11, 2019 at 11:20:41AM +, Jonathan Cameron wrote: > On Wed, 27 Feb 2019 15:50:35 -0700 > Keith Busch wrote: > > +static __init void hmat_register_target_initiators(struct memory_target > > *target) > > +{ > > + static DECLARE_BITMAP(p_nodes, MAX_NUMNODES); > > + struct memory_

[PATCH AUTOSEL 4.20 06/52] clocksource: timer-ti-dm: Fix pwm dmtimer usage of fck reparenting

2019-03-11 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit 983a5a43ec254cd5ddf3254db80ca96e8f8bb2a4 ] Commit 84badc5ec5fc ("ARM: dts: omap4: Move l4 child devices to probe them with ti-sysc") moved some omap4 timers to probe with ti-sysc interconnect target module. Turns out this broke pwm-omap-dmtimer where we now

[PATCH AUTOSEL 4.20 07/52] KVM: arm/arm64: vgic: Make vgic_dist->lpi_list_lock a raw_spinlock

2019-03-11 Thread Sasha Levin
From: Julien Thierry [ Upstream commit fc3bc475231e12e9c0142f60100cf84d077c79e1 ] vgic_dist->lpi_list_lock must always be taken with interrupts disabled as it is used in interrupt context. For configurations such as PREEMPT_RT_FULL, this means that it should be a raw_spinlock since RT spinlocks

[PATCH AUTOSEL 4.20 01/52] drm/imx: ignore plane updates on disabled crtcs

2019-03-11 Thread Sasha Levin
From: Philipp Zabel [ Upstream commit 4fb873c9648e383206e0a91cef9b03aa54066aca ] This patch fixes backtraces like the following when sending SIGKILL to a process with a currently pending plane update: [drm:ipu_plane_atomic_check] CRTC should be enabled [drm:drm_framebuffer_remove] *ERRO

[PATCH AUTOSEL 4.20 13/52] ARM: dts: Configure clock parent for pwm vibra

2019-03-11 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit 0840242e887586268f665bf58d5e1a7d6ebf35ed ] Commit 84badc5ec5fc ("ARM: dts: omap4: Move l4 child devices to probe them with ti-sysc") moved some omap4 timers to probe with ti-sysc interconnect target module. Turns out this broke pwm-omap-dmtimer for reparenti

[PATCH AUTOSEL 4.20 22/52] KVM: arm64: Forbid kprobing of the VHE world-switch code

2019-03-11 Thread Sasha Levin
From: James Morse [ Upstream commit 7d82602909ed9c73b34ad26f05d10db4850a4f8c ] On systems with VHE the kernel and KVM's world-switch code run at the same exception level. Code that is only used on a VHE system does not need to be annotated as __hyp_text as it can reside anywhere in the kernel te

[PATCH AUTOSEL 4.20 27/52] Input: matrix_keypad - use flush_delayed_work()

2019-03-11 Thread Sasha Levin
From: Dmitry Torokhov [ Upstream commit a342083abe576db43594a32d458a61fa81f7cb32 ] We should be using flush_delayed_work() instead of flush_work() in matrix_keypad_stop() to ensure that we are not missing work that is scheduled but not yet put in the workqueue (i.e. its delay timer has not expir

[PATCH AUTOSEL 4.20 29/52] cfg80211: prevent speculation on cfg80211_classify8021d() return

2019-03-11 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 1fc9b7253382ce1a83d9a3e63e88d656eb63f263 ] It's possible that the caller of cfg80211_classify8021d() uses the value to index an array, like mac80211 in ieee80211_downgrade_queue(). Prevent speculation on the return value. Signed-off-by: Johannes Berg Signe

[PATCH AUTOSEL 4.20 09/52] hwmon: (nct6775) Fix fan6 detection for NCT6793D

2019-03-11 Thread Sasha Levin
From: Guenter Roeck [ Upstream commit 2a2ec4aa0577ec0b7df2d1bde5c84ed39a8637cb ] Commit 2d99925a15b6 ("hwmon: (nct6775) Separate fan/pwm configuration detection for NCT6793D") accidentally removed part of the code detecting if fan6 is enabled or not. As result, fan6 is no longer detected on Asus

[PATCH v8 perf,bpf 00/15] perf annotation of BPF programs

2019-03-11 Thread Song Liu
Changes v7 to v8: 1. Address issues suggested by Jiri and Stanislav. Changes v6 to v7: 1. Fix minor issues suggested by Jiri. Changes v5 to v6: 1. Improve side band evlist interface; 2. Minor style fixes. Changes v4 to v5: 1. Rebase to latest bpf-next; 2. Add dependency of 94816add0005 from Arna

[PATCH AUTOSEL 4.20 17/52] ASoC: rsnd: fixup rsnd_ssi_master_clk_start() user count check

2019-03-11 Thread Sasha Levin
From: Kuninori Morimoto [ Upstream commit d9111d36024de07784f2e1ba2ccf70b16035f378 ] commit 4d230d1271064 ("ASoC: rsnd: fixup not to call clk_get/set under non-atomic") added new rsnd_ssi_prepare() and moved rsnd_ssi_master_clk_start() to .prepare. But, ssi user count (= ssi->usrcnt) is incremen

[PATCH AUTOSEL 4.20 21/52] KVM: arm/arm64: vgic: Always initialize the group of private IRQs

2019-03-11 Thread Sasha Levin
From: Christoffer Dall [ Upstream commit ab2d5eb03dbb7b37a1c6356686fb48626ab0c93e ] We currently initialize the group of private IRQs during kvm_vgic_vcpu_init, and the value of the group depends on the GIC model we are emulating. However, CPUs created before creating (and initializing) the VGI

[PATCH AUTOSEL 4.20 26/52] Input: ps2-gpio - flush TX work when closing port

2019-03-11 Thread Sasha Levin
From: Dmitry Torokhov [ Upstream commit 33a841ce5cef4ca6c18ad333248b6d273f54c839 ] To ensure that TX work is not running after serio port has been torn down, let's flush it when closing the port. Reported-by: Sven Van Asbroeck Acked-by: Danilo Krummrich Reviewed-by: Sven Van Asbroeck Signed-

[PATCH AUTOSEL 4.20 18/52] KVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded

2019-03-11 Thread Sasha Levin
From: Christoffer Dall [ Upstream commit e761a927bc9a7ee6ceb7c4f63d5922dbced87f0d ] We have two ways to reset a vcpu: - either through VCPU_INIT - or through a PSCI_ON call The first one is easy to reason about. The second one is implemented in a more bizarre way, as it is the vcpu that handles

[PATCH AUTOSEL 4.20 05/52] ASoC: rt5682: Correct the setting while select ASRC clk for AD/DA filter

2019-03-11 Thread Sasha Levin
From: Shuming Fan [ Upstream commit 8077ec011b1ea26abb7ca786f28ecccfb352717f ] AD/DA ASRC function control two ASRC clock sources separately. Whether AD/DA filter select which clock source, we enable AD/DA ASRC function for all cases. Signed-off-by: Shuming Fan Signed-off-by: Mark Brown Signe

[PATCH AUTOSEL 4.20 10/52] s390/dasd: fix using offset into zero size array error

2019-03-11 Thread Sasha Levin
From: Stefan Haberland [ Upstream commit 4a8ef6999bce998fa5813023a9a6b56eea329dba ] Dan Carpenter reported the following: The patch 52898025cf7d: "[S390] dasd: security and PSF update patch for EMC CKD ioctl" from Mar 8, 2010, leads to the following static checker warning: drivers/s390

[PATCH AUTOSEL 4.20 36/52] NFS: Don't use page_file_mapping after removing the page

2019-03-11 Thread Sasha Levin
From: Benjamin Coddington [ Upstream commit d2ceb7e57086750ea6198a31fd942d98099a0786 ] If nfs_page_async_flush() removes the page from the mapping, then we can't use page_file_mapping() on it as nfs_updatepate() is wont to do when receiving an error. Instead, push the mapping to the stack befor

[PATCH AUTOSEL 4.19 01/44] drm/imx: ignore plane updates on disabled crtcs

2019-03-11 Thread Sasha Levin
From: Philipp Zabel [ Upstream commit 4fb873c9648e383206e0a91cef9b03aa54066aca ] This patch fixes backtraces like the following when sending SIGKILL to a process with a currently pending plane update: [drm:ipu_plane_atomic_check] CRTC should be enabled [drm:drm_framebuffer_remove] *ERRO

[PATCH AUTOSEL 4.20 42/52] csky: Fixup dead loop in show_stack

2019-03-11 Thread Sasha Levin
From: Guo Ren [ Upstream commit 131aee8b9807bc98379fa5a0270389dbc7dcec90 ] When STACKTRACE is enabled, we must pass fp as stack for unwind, otherwise random value in stack will casue a dead loop. Signed-off-by: Guo Ren Reported-by: Lu Baoquan Signed-off-by: Sasha Levin --- arch/csky/kernel/

[PATCH AUTOSEL 4.20 45/52] x86/CPU: Add Icelake model number

2019-03-11 Thread Sasha Levin
From: Rajneesh Bhardwaj [ Upstream commit 8cd8f0ce0d6aafe661cb3d6781c8b82bc696c04d ] Add the CPUID model number of Icelake (ICL) mobile processors to the Intel family list. Icelake U/Y series uses model number 0x7E. Signed-off-by: Rajneesh Bhardwaj Signed-off-by: Borislav Petkov Cc: Andy Shev

[PATCH AUTOSEL 4.20 40/52] csky: Fixup wrong pt_regs size

2019-03-11 Thread Sasha Levin
From: Guo Ren [ Upstream commit 9216cd7231c12a8c391bb2c904d13695398d3453 ] The bug is from commit 2054f4af1957 ("csky: bugfix gdb coredump error.") We change the ELF_NGREG to ELF_NGREG - 2 to fit gdb&gcc define, but forgot modify ptrace regset. Now coredump use ELF_NRGEG to parse GPRs and ptrac

[PATCH AUTOSEL 4.20 49/52] i2c: bcm2835: Clear current buffer pointers and counts after a transfer

2019-03-11 Thread Sasha Levin
From: Paul Kocialkowski [ Upstream commit f275a4659484716259cc46268d9043424e51cf0f ] The driver's interrupt handler checks whether a message is currently being handled with the curr_msg pointer. When it is NULL, the interrupt is considered to be unexpected. Similarly, the i2c_start_transfer rout

[PATCH AUTOSEL 4.20 52/52] Input: st-keyscan - fix potential zalloc NULL dereference

2019-03-11 Thread Sasha Levin
From: Gabriel Fernandez [ Upstream commit 2439d37e1bf8a34d437573c086572abe0f3f1b15 ] This patch fixes the following static checker warning: drivers/input/keyboard/st-keyscan.c:156 keyscan_probe() error: potential zalloc NULL dereference: 'keypad_data->input_dev' Reported-by: Dan Carpenter Sig

[PATCH AUTOSEL 4.20 47/52] net: hns: Fix object reference leaks in hns_dsaf_roce_reset()

2019-03-11 Thread Sasha Levin
From: Huang Zijiang [ Upstream commit c969c6e7ab8cb42b5c787c567615474fdbad9d6a ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Signed-off-by: Huang Zijiang Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- dr

[PATCH AUTOSEL 4.19 04/44] gpu: ipu-v3: Fix CSI offsets for imx53

2019-03-11 Thread Sasha Levin
From: Steve Longerbeam [ Upstream commit bb867d219fda7fbaabea3314702474c4eac2b91d ] The CSI offsets are wrong for both CSI0 and CSI1. They are at physical address 0x1e03 and 0x1e038000 respectively. Fixes: 2ffd48f2e7 ("gpu: ipu-v3: Add Camera Sensor Interface unit") Signed-off-by: Steve Lo

[PATCH AUTOSEL 4.19 07/44] KVM: arm/arm64: vgic: Make vgic_dist->lpi_list_lock a raw_spinlock

2019-03-11 Thread Sasha Levin
From: Julien Thierry [ Upstream commit fc3bc475231e12e9c0142f60100cf84d077c79e1 ] vgic_dist->lpi_list_lock must always be taken with interrupts disabled as it is used in interrupt context. For configurations such as PREEMPT_RT_FULL, this means that it should be a raw_spinlock since RT spinlocks

[PATCH v8 perf,bpf 10/15] perf-top: add option --no-bpf-event

2019-03-11 Thread Song Liu
bpf events should be tracked by default for perf-top. This patch makes it on by default, and adds option to disable bpf events. Signed-off-by: Song Liu --- tools/perf/builtin-top.c | 3 +++ tools/perf/util/top.h| 1 + 2 files changed, 4 insertions(+) diff --git a/tools/perf/builtin-top.c b/

[PATCH AUTOSEL 4.19 11/44] Input: pwm-vibra - stop regulator after disabling pwm, not before

2019-03-11 Thread Sasha Levin
From: Paweł Chmiel [ Upstream commit 94803aef3533676194c772383472636c453e3147 ] This patch fixes order of disable calls in pwm_vibrator_stop. Currently when starting device, we first enable vcc regulator and then setup and enable pwm. When stopping, we should do this in oposite order, so first d

[PATCH v8 perf,bpf 06/15] perf, bpf: save bpf_prog_info in a rbtree in perf_env

2019-03-11 Thread Song Liu
bpf_prog_info contains information necessary to annotate bpf programs. This patch saves bpf_prog_info for bpf programs loaded in the system. Some big picture of the next few patches: To fully annotate BPF programs with source code mapping, 4 different information are needed: 1) PERF_RECORD_KS

[PATCH AUTOSEL 4.19 03/44] drm/imx: imx-ldb: add missing of_node_puts

2019-03-11 Thread Sasha Levin
From: Julia Lawall [ Upstream commit aa3312012f103f91f123600bbf768b11c8f431bc ] The device node iterators perform an of_node_get on each iteration, so a jump out of the loop requires an of_node_put. Move the initialization channel->child = child; down to just before the call to imx_ldb_register

[PATCH AUTOSEL 4.19 17/44] arm/arm64: KVM: Allow a VCPU to fully reset itself

2019-03-11 Thread Sasha Levin
From: Marc Zyngier [ Upstream commit 358b28f09f0ab074d781df72b8a671edb1547789 ] The current kvm_psci_vcpu_on implementation will directly try to manipulate the state of the VCPU to reset it. However, since this is not done on the thread that runs the VCPU, we can end up in a strangely corrupted

[PATCH AUTOSEL 4.19 15/44] ASoC: rsnd: fixup rsnd_ssi_master_clk_start() user count check

2019-03-11 Thread Sasha Levin
From: Kuninori Morimoto [ Upstream commit d9111d36024de07784f2e1ba2ccf70b16035f378 ] commit 4d230d1271064 ("ASoC: rsnd: fixup not to call clk_get/set under non-atomic") added new rsnd_ssi_prepare() and moved rsnd_ssi_master_clk_start() to .prepare. But, ssi user count (= ssi->usrcnt) is incremen

[PATCH AUTOSEL 4.19 14/44] ASoC: dapm: fix out-of-bounds accesses to DAPM lookup tables

2019-03-11 Thread Sasha Levin
From: Pierre-Louis Bossart [ Upstream commit c16e12010060c6c7a31f08b4a99513064cb53b7d ] KASAN reports and additional traces point to out-of-bounds accesses to the dapm_up_seq and dapm_down_seq lookup tables. The indices used are larger than the array definition. Fix by adding missing entries fo

[PATCH AUTOSEL 4.19 42/44] i2c: bcm2835: Clear current buffer pointers and counts after a transfer

2019-03-11 Thread Sasha Levin
From: Paul Kocialkowski [ Upstream commit f275a4659484716259cc46268d9043424e51cf0f ] The driver's interrupt handler checks whether a message is currently being handled with the curr_msg pointer. When it is NULL, the interrupt is considered to be unexpected. Similarly, the i2c_start_transfer rout

[PATCH AUTOSEL 4.19 37/44] net: dsa: bcm_sf2: potential array overflow in bcm_sf2_sw_suspend()

2019-03-11 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit 8d6ea932856c7087ce8c3d0e79494b7d5386f962 ] The value of ->num_ports comes from bcm_sf2_sw_probe() and it is less than or equal to DSA_MAX_PORTS. The ds->ports[] array is used inside the dsa_is_user_port() and dsa_is_cpu_port() functions. The ds->ports[] ar

[PATCH v8 perf,bpf 13/15] perf, bpf: process PERF_BPF_EVENT_PROG_LOAD for annotation

2019-03-11 Thread Song Liu
This patch adds processing of PERF_BPF_EVENT_PROG_LOAD, which sets proper DSO type/id/etc of memory regions mapped to BPF programs to DSO_BINARY_TYPE__BPF_PROG_INFO Signed-off-by: Song Liu --- tools/perf/util/bpf-event.c | 53 + 1 file changed, 53 insertions(+

[PATCH AUTOSEL 4.19 31/44] floppy: check_events callback should not return a negative number

2019-03-11 Thread Sasha Levin
From: Yufen Yu [ Upstream commit 96d7cb932e826219ec41ac02e5af037ffae6098c ] floppy_check_events() is supposed to return bit flags to say which events occured. We should return zero to say that no event flags are set. Only BIT(0) and BIT(1) are used in the caller. And .check_events interface als

[PATCH AUTOSEL 4.19 35/44] Revert "mm: use early_pfn_to_nid in page_ext_init"

2019-03-11 Thread Sasha Levin
From: Qian Cai [ Upstream commit 2f1ee0913ce58efe7f18fbd518bd54c598559b89 ] This reverts commit fe53ca54270a ("mm: use early_pfn_to_nid in page_ext_init"). When booting a system with "page_owner=on", start_kernel page_ext_init invoke_init_callbacks init_section_page_ext ini

[PATCH AUTOSEL 4.19 34/44] mm/gup: fix gup_pmd_range() for dax

2019-03-11 Thread Sasha Levin
From: Yu Zhao [ Upstream commit 414fd080d125408cb15d04ff4907e1dd8145c8c7 ] For dax pmd, pmd_trans_huge() returns false but pmd_huge() returns true on x86. So the function works as long as hugetlb is configured. However, dax doesn't depend on hugetlb. Link: http://lkml.kernel.org/r/201901110340

[PATCH AUTOSEL 4.19 44/44] Input: st-keyscan - fix potential zalloc NULL dereference

2019-03-11 Thread Sasha Levin
From: Gabriel Fernandez [ Upstream commit 2439d37e1bf8a34d437573c086572abe0f3f1b15 ] This patch fixes the following static checker warning: drivers/input/keyboard/st-keyscan.c:156 keyscan_probe() error: potential zalloc NULL dereference: 'keypad_data->input_dev' Reported-by: Dan Carpenter Sig

Re: [PATCH 18/42] drivers: gpio: lpc18xx: use devm_platform_ioremap_resource()

2019-03-11 Thread Vladimir Zapolskiy
On 03/11/2019 08:54 PM, Enrico Weigelt, metux IT consult wrote: > Use the new helper that wraps the calls to platform_get_resource() > and devm_ioremap_resource() together. > > Signed-off-by: Enrico Weigelt, metux IT consult > --- > drivers/gpio/gpio-lpc18xx.c | 5 + > 1 file changed, 1 inse

[PATCH AUTOSEL 4.19 40/44] net: hns: Fix object reference leaks in hns_dsaf_roce_reset()

2019-03-11 Thread Sasha Levin
From: Huang Zijiang [ Upstream commit c969c6e7ab8cb42b5c787c567615474fdbad9d6a ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Signed-off-by: Huang Zijiang Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- dr

[PATCH AUTOSEL 4.19 29/44] blk-mq: insert rq with DONTPREP to hctx dispatch list when requeue

2019-03-11 Thread Sasha Levin
From: Jianchao Wang [ Upstream commit aef1897cd36dcf5e296f1d2bae7e0d268561b685 ] When requeue, if RQF_DONTPREP, rq has contained some driver specific data, so insert it to hctx dispatch list to avoid any merge. Take scsi as example, here is the trace event log (no io scheduler, because RQF_START

[PATCH AUTOSEL 4.14 07/27] Input: pwm-vibra - stop regulator after disabling pwm, not before

2019-03-11 Thread Sasha Levin
From: Paweł Chmiel [ Upstream commit 94803aef3533676194c772383472636c453e3147 ] This patch fixes order of disable calls in pwm_vibrator_stop. Currently when starting device, we first enable vcc regulator and then setup and enable pwm. When stopping, we should do this in oposite order, so first d

[PATCH AUTOSEL 4.9 06/12] Input: matrix_keypad - use flush_delayed_work()

2019-03-11 Thread Sasha Levin
From: Dmitry Torokhov [ Upstream commit a342083abe576db43594a32d458a61fa81f7cb32 ] We should be using flush_delayed_work() instead of flush_work() in matrix_keypad_stop() to ensure that we are not missing work that is scheduled but not yet put in the workqueue (i.e. its delay timer has not expir

[PATCH AUTOSEL 4.14 26/27] auxdisplay: ht16k33: fix potential user-after-free on module unload

2019-03-11 Thread Sasha Levin
From: Miguel Ojeda [ Upstream commit 69ef9bc54715fb1cb7786ada15774e469e822209 ] On module unload/remove, we need to ensure that work does not run after we have freed resources. Concretely, cancel_delayed_work() may return while the callback function is still running. >From kernel/workqueue.c:

[PATCH AUTOSEL 4.9 08/12] mm/gup: fix gup_pmd_range() for dax

2019-03-11 Thread Sasha Levin
From: Yu Zhao [ Upstream commit 414fd080d125408cb15d04ff4907e1dd8145c8c7 ] For dax pmd, pmd_trans_huge() returns false but pmd_huge() returns true on x86. So the function works as long as hugetlb is configured. However, dax doesn't depend on hugetlb. Link: http://lkml.kernel.org/r/201901110340

[PATCH AUTOSEL 4.9 12/12] Input: st-keyscan - fix potential zalloc NULL dereference

2019-03-11 Thread Sasha Levin
From: Gabriel Fernandez [ Upstream commit 2439d37e1bf8a34d437573c086572abe0f3f1b15 ] This patch fixes the following static checker warning: drivers/input/keyboard/st-keyscan.c:156 keyscan_probe() error: potential zalloc NULL dereference: 'keypad_data->input_dev' Reported-by: Dan Carpenter Sig

[PATCH AUTOSEL 4.9 09/12] mm: page_alloc: fix ref bias in page_frag_alloc() for 1-byte allocs

2019-03-11 Thread Sasha Levin
From: Jann Horn [ Upstream commit 2c2ade81741c66082f8211f0b96cf509cc4c0218 ] The basic idea behind ->pagecnt_bias is: If we pre-allocate the maximum number of references that we might need to create in the fastpath later, the bump-allocation fastpath only has to modify the non-atomic bias value

[PATCH AUTOSEL 3.18 2/6] Input: matrix_keypad - use flush_delayed_work()

2019-03-11 Thread Sasha Levin
From: Dmitry Torokhov [ Upstream commit a342083abe576db43594a32d458a61fa81f7cb32 ] We should be using flush_delayed_work() instead of flush_work() in matrix_keypad_stop() to ensure that we are not missing work that is scheduled but not yet put in the workqueue (i.e. its delay timer has not expir

[PATCH AUTOSEL 4.4 6/8] team: avoid complex list operations in team_nl_cmd_options_set()

2019-03-11 Thread Sasha Levin
From: Cong Wang [ Upstream commit 2fdeee2549231b1f989f011bb18191f5660d3745 ] The current opt_inst_list operations inside team_nl_cmd_options_set() is too complex to track: LIST_HEAD(opt_inst_list); nla_for_each_nested(...) { list_for_each_entry(opt_inst, &team->option_inst_list,

[PATCH AUTOSEL 3.18 3/6] team: avoid complex list operations in team_nl_cmd_options_set()

2019-03-11 Thread Sasha Levin
From: Cong Wang [ Upstream commit 2fdeee2549231b1f989f011bb18191f5660d3745 ] The current opt_inst_list operations inside team_nl_cmd_options_set() is too complex to track: LIST_HEAD(opt_inst_list); nla_for_each_nested(...) { list_for_each_entry(opt_inst, &team->option_inst_list,

[PATCH AUTOSEL 3.18 4/6] mm/gup: fix gup_pmd_range() for dax

2019-03-11 Thread Sasha Levin
From: Yu Zhao [ Upstream commit 414fd080d125408cb15d04ff4907e1dd8145c8c7 ] For dax pmd, pmd_trans_huge() returns false but pmd_huge() returns true on x86. So the function works as long as hugetlb is configured. However, dax doesn't depend on hugetlb. Link: http://lkml.kernel.org/r/201901110340

[PATCH AUTOSEL 3.18 5/6] i2c: cadence: Fix the hold bit setting

2019-03-11 Thread Sasha Levin
From: Shubhrajyoti Datta [ Upstream commit d358def706880defa4c9e87381c5bf086a97d5f9 ] In case the hold bit is not needed we are carrying the old values. Fix the same by resetting the bit when not needed. Fixes the sporadic i2c bus lockups on National Instruments Zynq-based devices. Fixes: df8e

[PATCH AUTOSEL 4.4 8/8] Input: st-keyscan - fix potential zalloc NULL dereference

2019-03-11 Thread Sasha Levin
From: Gabriel Fernandez [ Upstream commit 2439d37e1bf8a34d437573c086572abe0f3f1b15 ] This patch fixes the following static checker warning: drivers/input/keyboard/st-keyscan.c:156 keyscan_probe() error: potential zalloc NULL dereference: 'keypad_data->input_dev' Reported-by: Dan Carpenter Sig

[PATCH AUTOSEL 3.18 6/6] Input: st-keyscan - fix potential zalloc NULL dereference

2019-03-11 Thread Sasha Levin
From: Gabriel Fernandez [ Upstream commit 2439d37e1bf8a34d437573c086572abe0f3f1b15 ] This patch fixes the following static checker warning: drivers/input/keyboard/st-keyscan.c:156 keyscan_probe() error: potential zalloc NULL dereference: 'keypad_data->input_dev' Reported-by: Dan Carpenter Sig

[PATCH AUTOSEL 4.4 7/8] i2c: cadence: Fix the hold bit setting

2019-03-11 Thread Sasha Levin
From: Shubhrajyoti Datta [ Upstream commit d358def706880defa4c9e87381c5bf086a97d5f9 ] In case the hold bit is not needed we are carrying the old values. Fix the same by resetting the bit when not needed. Fixes the sporadic i2c bus lockups on National Instruments Zynq-based devices. Fixes: df8e

[PATCH AUTOSEL 3.18 1/6] s390/dasd: fix using offset into zero size array error

2019-03-11 Thread Sasha Levin
From: Stefan Haberland [ Upstream commit 4a8ef6999bce998fa5813023a9a6b56eea329dba ] Dan Carpenter reported the following: The patch 52898025cf7d: "[S390] dasd: security and PSF update patch for EMC CKD ioctl" from Mar 8, 2010, leads to the following static checker warning: drivers/s390

[PATCH AUTOSEL 4.4 4/8] ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized

2019-03-11 Thread Sasha Levin
From: Yizhuo [ Upstream commit dc30e70391376ba3987aeb856ae6d9c0706534f1 ] In function omap4_dsi_mux_pads(), local variable "reg" could be uninitialized if function regmap_read() returns -EINVAL. However, it will be used directly in the later context, which is potentially unsafe. Signed-off-by:

[PATCH AUTOSEL 4.4 3/8] s390/dasd: fix using offset into zero size array error

2019-03-11 Thread Sasha Levin
From: Stefan Haberland [ Upstream commit 4a8ef6999bce998fa5813023a9a6b56eea329dba ] Dan Carpenter reported the following: The patch 52898025cf7d: "[S390] dasd: security and PSF update patch for EMC CKD ioctl" from Mar 8, 2010, leads to the following static checker warning: drivers/s390

[PATCH AUTOSEL 4.4 5/8] Input: matrix_keypad - use flush_delayed_work()

2019-03-11 Thread Sasha Levin
From: Dmitry Torokhov [ Upstream commit a342083abe576db43594a32d458a61fa81f7cb32 ] We should be using flush_delayed_work() instead of flush_work() in matrix_keypad_stop() to ensure that we are not missing work that is scheduled but not yet put in the workqueue (i.e. its delay timer has not expir

[PATCH AUTOSEL 4.4 1/8] gpu: ipu-v3: Fix i.MX51 CSI control registers offset

2019-03-11 Thread Sasha Levin
From: Alexander Shiyan [ Upstream commit 2c0408dd0d8906b26fe8023889af7adf5e68b2c2 ] The CSI0/CSI1 registers offset is at +0xe03/+0xe038000 relative to the control module registers on IPUv3EX. This patch fixes wrong values for i.MX51 CSI0/CSI1. Fixes: 2ffd48f2e7 ("gpu: ipu-v3: Add Camera Sen

[PATCH AUTOSEL 4.9 11/12] i2c: cadence: Fix the hold bit setting

2019-03-11 Thread Sasha Levin
From: Shubhrajyoti Datta [ Upstream commit d358def706880defa4c9e87381c5bf086a97d5f9 ] In case the hold bit is not needed we are carrying the old values. Fix the same by resetting the bit when not needed. Fixes the sporadic i2c bus lockups on National Instruments Zynq-based devices. Fixes: df8e

[PATCH AUTOSEL 4.14 27/27] Input: st-keyscan - fix potential zalloc NULL dereference

2019-03-11 Thread Sasha Levin
From: Gabriel Fernandez [ Upstream commit 2439d37e1bf8a34d437573c086572abe0f3f1b15 ] This patch fixes the following static checker warning: drivers/input/keyboard/st-keyscan.c:156 keyscan_probe() error: potential zalloc NULL dereference: 'keypad_data->input_dev' Reported-by: Dan Carpenter Sig

[PATCH AUTOSEL 4.9 07/12] floppy: check_events callback should not return a negative number

2019-03-11 Thread Sasha Levin
From: Yufen Yu [ Upstream commit 96d7cb932e826219ec41ac02e5af037ffae6098c ] floppy_check_events() is supposed to return bit flags to say which events occured. We should return zero to say that no event flags are set. Only BIT(0) and BIT(1) are used in the caller. And .check_events interface als

[PATCH AUTOSEL 4.9 05/12] Input: cap11xx - switch to using set_brightness_blocking()

2019-03-11 Thread Sasha Levin
From: Dmitry Torokhov [ Upstream commit 628442880af8c201d307a45f3862a7a17df8a189 ] Updating LED state requires access to regmap and therefore we may sleep, so we could not do that directly form set_brightness() method. Historically we used private work to adjust the brightness, but with the intr

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