Re: [PATCHv2 01/10] tools lib traceevent: Use LDFLAGS in the build commands

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 22, 2018 at 10:30:06AM +0100, Jiri Olsa escreveu: > On Fri, Nov 16, 2018 at 02:01:58PM +0100, Jiri Olsa wrote: > > On Wed, Oct 17, 2018 at 10:23:41AM -0400, Steven Rostedt wrote: > > > On Tue, 16 Oct 2018 17:45:26 +0200 > > > Jiri Olsa wrote: > > > > On Tue, Oct 16, 2018 at 11:21:36AM

Re: [PATCH perf,bpf 0/5] reveal invisible bpf programs

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 26, 2018 at 03:50:04PM +0100, Peter Zijlstra escreveu: > Now, I'm not saying this patch set is useless; but I'm saying most > people should not need this, and it is massive overkill for the needs of > most people. So, the comparision is sort of with kernel modules, that can come and go

Re: [PATCH] perf test: Fix perf_event_attr test failure

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 22, 2018 at 04:04:56PM +0200, Adrian Hunter escreveu: > Fix inconsistent use of tabs and spaces error: Thanks, applied. - Arnaldo > # perf test 16 -v > 16: Setup struct perf_event_attr : > --- start --- > test child forked, pid 20224 > File "/usr

Re: [PATCH 1/5] perf tools: Add fallback functions for cases where cpumode is insufficient

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 05, 2018 at 07:53:17PM +, Hunter, Adrian escreveu: > > -Original Message- > > From: Arnaldo Carvalho de Melo [mailto:a...@kernel.org] > > Sent: Monday, November 5, 2018 9:36 PM > > To: Hunter, Adrian > > Cc: Jiri Olsa ; Andi Kleen ; linux- > > ker...@vger.kernel.org; leo...

Re: [PATCH] perf stat: Fix shadow stats for clock events

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 16, 2018 at 02:35:55PM +0100, Jiri Olsa escreveu: > On Fri, Nov 16, 2018 at 09:58:43AM +0530, Ravi Bangoria wrote: > > Commit 0aa802a79469 ("perf stat: Get rid of extra clock display > > function") introduced scale and unit for clock events. Thus, > > perf_stat__update_shadow_stats() no

Re: [PATCH] tools lib traceevent: Fix compile warnings in tools/lib/traceevent/event-parse.c

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 22, 2018 at 01:29:37PM +0200, Adrian Hunter escreveu: > Fix following warnings: Steven, any problem if I apply these? I think I've hit these warnings on Clear Linux too. - Arnaldo > event-parse.c: In function ‘tep_find_event_by_name’: > event-parse.c:3521:21: warning: ‘event’ may be

Re: [PATCH] perf map: remove extra indirection from map__find()

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 23, 2018 at 05:14:25PM +0100, Jiri Olsa escreveu: > On Fri, Nov 23, 2018 at 02:42:39AM -0800, Eric Saint-Etienne wrote: > > A double pointer is used in map__find() where a single pointer is enough > > because the function doesn't affect the rbtree and the rbtree is locked. > > > > Sign

Re: [PATCH] perf symbols: Cannot disassemble some routines when debuginfo present

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 26, 2018 at 09:39:17AM +0100, Jiri Olsa escreveu: > On Fri, Nov 23, 2018 at 10:24:21AM -0800, Eric Saint Etienne wrote: > > > > + /* > > > > +* When using -ffunction-sections, only .text gets > > > > loaded by > > > > +* map_groups__find()

Re: [PATCH] perf stat: fix csv mode column output for non-cgroup events

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 22, 2018 at 10:08:35AM +0100, Jiri Olsa escreveu: > On Thu, Nov 22, 2018 at 01:58:11AM -0200, Arnaldo Carvalho de Melo wrote: > > Em Wed, Nov 07, 2018 at 02:50:45AM -0800, Stephane Eranian escreveu: > > > When using the -x option, perf stat prints csv-style output > > > with one event p

Re: [PATCH] perf tests record: Allow for 'sleep' being 'coreutils'

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 22, 2018 at 03:55:45PM +0200, Adrian Hunter escreveu: > If the 'sleep' command is provided by coreutils, then the "PERF_RECORD_* > events & perf_sample fields" test will fail because the MMAP name is > 'coreutils' not 'sleep', and there is an extra COMM event. Fix the test to > detect t

Re: [PATCH 1/5] perf tools: Add fallback functions for cases where cpumode is insufficient

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 26, 2018 at 04:41:45PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Nov 26, 2018 at 04:02:17PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Nov 05, 2018 at 07:53:17PM +, Hunter, Adrian escreveu: > > > > From: Arnaldo Carvalho de Melo [mailto:a...@kernel.org] > > > >

Re: [PATCH] perf stat: Fix shadow stats for clock events

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 27, 2018 at 01:50:44PM +0530, Ravi Bangoria escreveu: > > > On 11/16/18 7:05 PM, Jiri Olsa wrote: > > On Fri, Nov 16, 2018 at 09:58:43AM +0530, Ravi Bangoria wrote: > >> Commit 0aa802a79469 ("perf stat: Get rid of extra clock display > >> function") introduced scale and unit for clock

Re: [PATCH 2/2] clk: core: link consumer with clock driver

2018-11-27 Thread Maxime Ripard
Hi Miquel, On Thu, Nov 22, 2018 at 10:22:12PM +0100, Miquel Raynal wrote: > One major concern when, for instance, suspending/resuming a platform > is to never access registers before the underlying clock has been > resumed, otherwise most of the time the kernel will just crash. One > solution is t

Re: [PATCH] perf intel-pt: Fix error with config term pt=0

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 27, 2018 at 10:43:36AM +0200, Adrian Hunter escreveu: > Users should never use 'pt=0', but if they do it may give a meaningless > error: > > $ perf record -e intel_pt/pt=0/u uname > Error: > The sys_perf_event_open() syscall returned with 22 (Invalid argument) > for

Re: [PATCH] perf auxtrace: Alter addr_filter__entire_dso() to work if there are no symbols

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 27, 2018 at 10:46:34AM +0200, Adrian Hunter escreveu: > addr_filter__entire_dso() uses the first and last symbols from a dso, > and so does not work when there are no symbols. Alter it to filter the > whole file instead. I'm splitting this patch into a first prep one that renames and

Re: [PATCH v2] dt-bindings: i2c: Use correct vendor prefix for Atmel

2018-11-27 Thread Wolfram Sang
On Fri, Nov 23, 2018 at 01:51:38PM +0100, Thierry Reding wrote: > From: Thierry Reding > > The "at," prefix was never correct for Atmel, so fix the few occurrences > that got it wrong. Use "atmel," instead. > > While at it, remove the at,24c08 compatible string from the list of > trivial devices

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-27 Thread Jiri Kosina
On Tue, 27 Nov 2018, Jiri Kosina wrote: > > That's racy and does not prevent the situation because the TIF flags are > > updated befor the UPDATE bit is set. > > > So __speculation_ctrl_update() might see the new bits, but not > > TIF_SPEC_UPDATE. > > Hm, right, scratch that. We'd need to do

Re: [PATCH 4.19 000/118] 4.19.5-stable review

2018-11-27 Thread Naresh Kamboju
On Mon, 26 Nov 2018 at 16:31, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.5 release. > There are 118 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 know. > > Res

Re: [PATCH 4.14 00/62] 4.14.84-stable review

2018-11-27 Thread Naresh Kamboju
On Mon, 26 Nov 2018 at 16:30, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.84 release. > There are 62 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 know. > > Res

Re: [PATCH v2] mfd: qcom_rpm: write fw_version to CTRL_REG

2018-11-27 Thread Lee Jones
On Mon, 19 Nov 2018, Jonathan Marek wrote: > This is required as part of the initialization sequence on certain SoCs. > > If these registers are not initialized, the hardware can be unresponsive. > This fixes the driver on apq8060 (HP TouchPad device). > > Signed-off-by: Jonathan Marek > --- >

Re: [PATCH] perf bpf: Use ERR_CAST instead of ERR_PTR(PTR_ERR())

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 27, 2018 at 05:06:10PM +0800, Wen Yang escreveu: > Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)). > This makes it more readable and also fix this warning detected > by err_cast.cocci: > tools/perf/util/bpf-loader.c:1606:11-18: WARNING: ERR_CAST can be used with op Have

Re: [PATCH 4.9 00/46] 4.9.141-stable review

2018-11-27 Thread Naresh Kamboju
On Mon, 26 Nov 2018 at 16:28, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.141 release. > There are 46 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 know. > > Res

Re: [PATCH 02/11] mfd: da9055-core: make it explicitly non-modular

2018-11-27 Thread Lee Jones
On Fri, 23 Nov 2018, Paul Gortmaker wrote: > [Re: [PATCH 02/11] mfd: da9055-core: make it explicitly non-modular] On > 22/11/2018 (Thu 22:14) Paul Gortmaker wrote: > > > [Re: [PATCH 02/11] mfd: da9055-core: make it explicitly non-modular] On > > 23/11/2018 (Fri 10:21) kbuild test robot wrote: >

Re: [PATCH 4.4 00/70] 4.4.165-stable review

2018-11-27 Thread Naresh Kamboju
On Mon, 26 Nov 2018 at 16:23, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.165 release. > There are 70 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 know. > > Res

Re: [PATCH v2 1/4] x86/hyper-v: move synic/stimer control structures definitions to hyperv-tlfs.h

2018-11-27 Thread Vitaly Kuznetsov
Roman Kagan writes: > [ Sorry for having missed v1 ] > > On Mon, Nov 26, 2018 at 04:47:29PM +0100, Vitaly Kuznetsov wrote: >> We implement Hyper-V SynIC and synthetic timers in KVM too so there's some >> room for code sharing. >> >> Signed-off-by: Vitaly Kuznetsov >> --- >> arch/x86/include/as

Re: [PATCH 1/2] thermal: imx_sc: add i.MX system controller thermal support

2018-11-27 Thread kbuild test robot
/linux/commits/Anson-Huang/thermal-imx_sc-add-i-MX-system-controller-thermal-support/20181127-141933 base: https://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git next config: i386-allmodconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce

Re: [RFC PATCH 3/3] mm, proc: report PR_SET_THP_DISABLE in proc

2018-11-27 Thread Michal Hocko
On Mon 26-11-18 17:33:32, William Kucharski wrote: > > > This determines whether the page can theoretically be THP-mapped , but > is the intention to also check for proper alignment and/or preexisting > PAGESIZE page cache mappings for the address range? This is only about the process wide flag

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-27 Thread Jiri Kosina
On Tue, 27 Nov 2018, Jiri Kosina wrote: > --- a/arch/x86/kernel/process.c > +++ b/arch/x86/kernel/process.c > @@ -474,6 +474,21 @@ void __switch_to_xtra(struct task_struct *prev_p, struct > task_struct *next_p) > > tifn = READ_ONCE(task_thread_info(next_p)->flags); > tifp = READ_ON

Re: [PATCH] mm: warn only once if page table misaccounting is detected

2018-11-27 Thread Michal Hocko
On Tue 27-11-18 09:36:03, Heiko Carstens wrote: > Use pr_alert_once() instead of pr_alert() if page table misaccounting > has been detected. > > If this happens once it is very likely that there will be numerous > other occurrence as well, which would flood dmesg and the console with > hardly any

Re: [PATCH 5/5] mm: Stall movable allocations until kswapd progresses during serious external fragmentation event

2018-11-27 Thread Vlastimil Babka
On 11/23/18 12:45 PM, Mel Gorman wrote: > An event that potentially causes external fragmentation problems has > already been described but there are degrees of severity. A "serious" > event is defined as one that steals a contiguous range of pages of an order > lower than fragment_stall_order (PA

Re: [snd_hda_intel] snd_hda_intel causes high CPU lockup and system instability if mic disabled in BIOS on Lenovo P50

2018-11-27 Thread Takashi Iwai
On Tue, 27 Nov 2018 06:34:02 +0100, Alexander Kappner wrote: > > > > > On Mon, 26 Nov 2018, Takashi Iwai wrote: > > > On Mon, 26 Nov 2018 00:17:15 +0100, > > Alexander Kappner wrote: > >> > >> My Lenovo P50 laptop has a BIOS option to disable the microphone. When > >> this option gets chosen,

RE: [PATCH v4 4/4] perf/smmuv3_pmu: Enable HiSilicon Erratum 162001800 quirk

2018-11-27 Thread Shameerali Kolothum Thodi
> -Original Message- > From: Robin Murphy [mailto:robin.mur...@arm.com] > Sent: 26 November 2018 18:45 > To: Shameerali Kolothum Thodi ; > lorenzo.pieral...@arm.com; jean-philippe.bruc...@arm.com > Cc: mark.rutl...@arm.com; vkil...@codeaurora.org; > neil.m.lee...@gmail.com; pa...@codeauro

Re: [PATCH] Fonts: New Terminus large console font

2018-11-27 Thread Lubomir Rintel
Hi. On Sun, 2018-11-25 at 22:47 -0500, nimrud wrote: > This patch adds an option to compile-in a high resolution and large > Terminus (ter16x32) bitmap console font for use with HiDPI and Retina screens. > > The font was convereted from standard Terminus ter-i32b.psf (size 16x32) > with the help

[PATCH V5 1/2] base/drivers/arch_topology: Replace mutex with READ_ONCE / WRITE_ONCE

2018-11-27 Thread Daniel Lezcano
The mutex protects a per_cpu variable access. The potential race can happen only when the cpufreq governor module is loaded and at the same time the cpu capacity is changed in the sysfs. There is no real interest of using a mutex to protect a variable assignation when there is no situation where a

[PATCH V5 2/2] base/drivers/arch_topology: Default dmips-mhz if they are not set in DT

2018-11-27 Thread Daniel Lezcano
In the case of asymmetric SoC with the same micro-architecture, we have a group of CPUs with smaller OPPs than the other group. One example is the 96boards dragonboard 820c. There is no dmips/MHz difference between both groups, so no need to specify the values in the DT. Unfortunately, without thes

[PATCH v5 0/2] Add device driver for APU2/APU3 GPIOs

2018-11-27 Thread Florian Eckert
Changes v2: - Update SPDX short identifier - Remove gpio-keys-polled device moved to arch/x86/platform - Fix styling - Use spinnlock only there where it is useful - Removed useless output on driver load - Do bit manipulation later not on IO - Add additional GPIOs handling mpci2_reset and mpcie3_res

[PATCH v5 2/2] platform: Add reset button device for PC Engines APU boards

2018-11-27 Thread Florian Eckert
Add a platform/x86 device "gpio-keys-polled" for the frontpanel reset button. This device uses the gpio-apu driver for APU borads from PC Engines. Signed-off-by: Florian Eckert --- drivers/platform/x86/Kconfig | 11 +++ drivers/platform/x86/Makefile | 1 + dri

[PATCH v5 1/2] gpio: Add driver for PC Engines APU boards

2018-11-27 Thread Florian Eckert
Add a new device driver "gpio-apu" which will handle the GPIOs on APU2 and APU3 devices from PC Engines. APU2 (https://pcengines.ch/schema/apu2c.pdf page 7): - G32 is "button_reset" connected to the smd-button on the frontpanel - G50 is "mpcie2_reset" connected to mPCIe2 reset line - G51 is "mpcie

Re: [PATCH 4.4 00/70] 4.4.165-stable review

2018-11-27 Thread Jon Hunter
On 26/11/2018 10:50, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.165 release. > There are 70 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 know. > > Responses sh

Re: [PATCH 3/3] gpio: Add reference counting for non-exclusive GPIOs

2018-11-27 Thread Mark Brown
On Mon, Nov 26, 2018 at 10:53:40PM +0100, Linus Walleij wrote: > The managed resources pretty much assume > that you tie resources to the device model and let kref inside the > kobject in struct device do all refcounting and that essentially > collides with the refcounting inside the regulator cor

[tip:efi/urgent] efi: Prevent GICv3 WARN() by mapping the memreserve table before first use

2018-11-27 Thread tip-bot for Ard Biesheuvel
Commit-ID: 976b489120cdab2b1b3a41ffa14661db43d58190 Gitweb: https://git.kernel.org/tip/976b489120cdab2b1b3a41ffa14661db43d58190 Author: Ard Biesheuvel AuthorDate: Fri, 23 Nov 2018 22:51:32 +0100 Committer: Ingo Molnar CommitDate: Tue, 27 Nov 2018 13:50:20 +0100 efi: Prevent GICv3 WARN(

[PATCH v2] x86/fpu: XRSTOR is expected to raise #GP

2018-11-27 Thread Jann Horn
commit 75045f77f7a7 ("x86/extable: Introduce _ASM_EXTABLE_UA for uaccess fixups") incorrectly replaced the fixup entry for XSTATE_OP with a user-#PF-only fixup. XRSTOR can also raise #GP if the xstate content is invalid, and _ASM_EXTABLE_UA doesn't expect that. Change this fixup back to _ASM_EXTABL

Re: [PATCH v2 05/13] i2c: acpi: Return error pointers from i2c_acpi_new_device()

2018-11-27 Thread Andy Shevchenko
On Tue, Nov 27, 2018 at 01:49:53PM +0200, Mika Westerberg wrote: > On Tue, Nov 27, 2018 at 10:16:25AM +0100, Hans de Goede wrote: > > One problem is that i2c_new_device() currently simply returns NULL on all > > errors. Andy, you could take a look how much work it is to make that return > > an ERR_

Re: [PATCH v2 3/4] x86/kvm/hyper-v: direct mode for synthetic timers

2018-11-27 Thread Paolo Bonzini
On 27/11/18 09:37, Roman Kagan wrote: > On Mon, Nov 26, 2018 at 05:44:24PM +0100, Paolo Bonzini wrote: >> On 26/11/18 16:47, Vitaly Kuznetsov wrote: >>> diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c >>> index 5cd5647120f2..b21b5ceb8d26 100644 >>> --- a/arch/x86/kvm/x86.c >>> +++ b/arch/x86/k

[PATCH] coresight: fix spelling mistake "deffered" -> "deferred"

2018-11-27 Thread Colin King
From: Colin Ian King There is a spelling mistake in the dev_info error message, fix it. Signed-off-by: Colin Ian King --- drivers/hwtracing/coresight/coresight-stm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwtracing/coresight/coresight-stm.c b/drivers/hwtra

Re: [PATCH 0/7] ACPI HMAT memory sysfs representation

2018-11-27 Thread Anshuman Khandual
On 11/23/2018 10:45 PM, Dan Williams wrote: > On Thu, Nov 22, 2018 at 11:11 PM Anshuman Khandual > wrote: >> >> >> >> On 11/22/2018 11:38 PM, Dan Williams wrote: >>> On Thu, Nov 22, 2018 at 3:52 AM Anshuman Khandual >>> wrote: On 11/19/2018 11:07 PM, Dave Hansen wrote:

GREAT ILLUMINATI SOCIETY

2018-11-27 Thread ILLUMINATE/BROTHERHOOD
The Illuminati operates in defense of you and all humans, in all places, and of all generations. Our duty to this planet has spanned across centuries and survived even the most established government entities. But the cultivation of trillions of human lives is a daunting responsibility, and w

[PATCH 1/1] ARM: dts: ls1021a: add nodes for PWMs

2018-11-27 Thread Patrick Havelange
The LS1021A has 8 possible PWMs, so adding them (disabled by default) Signed-off-by: Patrick Havelange --- arch/arm/boot/dts/ls1021a.dtsi | 96 ++ 1 file changed, 96 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index

Re: [PATCH V2 1/3] perf tools: Add fallback functions for cases where cpumode is insufficient

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 06, 2018 at 11:07:10PM +0200, Adrian Hunter escreveu: > For branch stacks or branch samples, the sample cpumode might not be > correct because it applies only to the sample 'ip' and not necessary to > 'addr' or branch stack addresses. Add fallback functions that can be used > to deal wi

Re: possible deadlock in ovl_write_iter

2018-11-27 Thread Dmitry Vyukov
On Tue, Nov 27, 2018 at 8:44 AM, Amir Goldstein wrote: > On Tue, Nov 27, 2018 at 9:06 AM syzbot > wrote: >> >> syzbot has found a reproducer for the following crash on: >> >> HEAD commit:6f8b52ba442c Merge tag 'hwmon-for-v4.20-rc5' of git://git... >> git tree: upstream >> console output

Re: [PATCH v3 4/4] ARM: dts: Add stmpe-adc driver to relevant devicetrees

2018-11-27 Thread Thierry Reding
On Fri, Nov 23, 2018 at 03:24:11PM +0100, Philippe Schenker wrote: > From: Philippe Schenker > > Activate the stmpe-adc driver as found on Apalis/Colibri iMX6/T30 modules > > Signed-off-by: Philippe Schenker > --- > > Changes in v3: > - None > > Changes in v2: > - Put common ADC settings in

[PATCH] staging: comedi: fix spelling mistake "desination" -> "destination"

2018-11-27 Thread Colin King
From: Colin Ian King There is a spelling mistake in message text in the call to unittest, fix this. Signed-off-by: Colin Ian King --- drivers/staging/comedi/drivers/tests/ni_routes_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/tests/n

[PATCH] xen: xlate_mmu: add missing header to fix 'W=1' warning

2018-11-27 Thread Srikanth Boddepalli
Add a missing header otherwise compiler warns about missed prototype: drivers/xen/xlate_mmu.c:183:5: warning: no previous prototype for 'xen_xlate_unmap_gfn_range?' [-Wmissing-prototypes] int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma, ^ Signed-off-by: S

[PATCH] staging: rtlwifi: fix spelling mistake "disnabled" -> "disabled"

2018-11-27 Thread Colin King
From: Colin Ian King There is a spelling mistake in an ODM_RT_TRACE message, fix it. Signed-off-by: Colin Ian King --- drivers/staging/rtlwifi/phydm/phydm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtlwifi/phydm/phydm.c b/drivers/staging/rtlwifi/phyd

Re: [PATCH v2 07/13] i2c: acpi: Introduce i2c_acpi_get_i2c_resource() helper

2018-11-27 Thread Andy Shevchenko
On Tue, Nov 27, 2018 at 11:07:19AM +0200, Mika Westerberg wrote: > On Mon, Nov 26, 2018 at 05:08:52PM +0200, Andy Shevchenko wrote: > > Besides current two users one more is coming. Definitely makes sense to > > introduce a helper. > Since this is exported, you may want to add kernel-doc here. OK

[PATCH v4 3/4] of/property: Add of_fwnode_name()

2018-11-27 Thread Heikki Krogerus
This implements get_name fwnode op for DT. Signed-off-by: Heikki Krogerus --- drivers/of/property.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/of/property.c b/drivers/of/property.c index f46828e3b082..403bc9cbbaf4 100644 --- a/drivers/of/property.c +++ b/drivers/o

[PATCH v4 2/4] ACPI: property: Add acpi_fwnode_name()

2018-11-27 Thread Heikki Krogerus
This implements the get_name fwnode op for ACPI. Signed-off-by: Heikki Krogerus --- drivers/acpi/property.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/acpi/property.c b/drivers/acpi/property.c index 8c7c4583b52d..c24cf02e9214 100644 --- a/drivers/ac

[PATCH v4 4/4] driver core: Add fwnode member to struct device_connection

2018-11-27 Thread Heikki Krogerus
This will prepare the device connection API for connections described in firmware. Signed-off-by: Heikki Krogerus --- include/linux/device.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/device.h b/include/linux/device.h index 1b25c7a43f4c..25e0409e0b0c 100644 --- a/inc

[PATCH v4 1/4] device property: Introduce fwnode_get_name()

2018-11-27 Thread Heikki Krogerus
This helper returns the name of the node. The name is primarily expected to be returned from a new fwnode operation meant for this purpose, but when no name is returned, the helper will also attempt to read a device property "name". Signed-off-by: Heikki Krogerus --- drivers/base/property.c | 3

[PATCH v4 0/3] device property: Add fwnode_get_name() helper

2018-11-27 Thread Heikki Krogerus
Hi, I'm now returning -EOVERFLOW if the buffer is not big enough as proposed by Andy. This is the cover letter from v3: This is the third version of my proposal for this helper. The second version can be checked here: https://lkml.org/lkml/2018/11/8/1005 I'm now passing the length as proposed b

Re: [PATCH] sched, trace: Fix prev_state output in sched_switch tracepoint

2018-11-27 Thread Steven Rostedt
On Tue, 27 Nov 2018 15:04:25 +0530 Pavan Kondeti wrote: > Hi Peter/Thomas, > > On Tue, Oct 30, 2018 at 12:25 PM Pavankumar Kondeti > wrote: > > > > commit 3f5fe9fef5b2 ("sched/debug: Fix task state recording/printout") > > tried to fix the problem introduced by a previous commit efb40f588b43 >

ext4 file system corruption with v4.19.3 / v4.19.4

2018-11-27 Thread Guenter Roeck
[trying again, this time with correct kernel.org address] Hi, I have seen the following and similar problems several times, with both v4.19.3 and v4.19.4: Nov 23 04:32:25 mars kernel: [112668.673671] EXT4-fs error (device sdb1): ext4_iget:4831: inode #12602889: comm git: bad extra_isize 33661

Re: [PATCH 3/3] s390/mm: fix mis-accounting of pgtable_bytes

2018-11-27 Thread Martin Schwidefsky
On Tue, 27 Nov 2018 08:34:12 +0100 Heiko Carstens wrote: > On Wed, Oct 31, 2018 at 01:36:23PM +0300, Kirill A. Shutemov wrote: > > On Wed, Oct 31, 2018 at 11:09:44AM +0100, Heiko Carstens wrote: > > > On Wed, Oct 31, 2018 at 07:31:49AM +0100, Martin Schwidefsky wrote: > > > > Thanks for testi

Re: [PATCH v4 4/4] driver core: Add fwnode member to struct device_connection

2018-11-27 Thread Heikki Krogerus
On Tue, Nov 27, 2018 at 05:28:55PM +0300, Heikki Krogerus wrote: > This will prepare the device connection API for connections > described in firmware. This one does not belong to this series, sorry. Please skip it, or if you prefer, I'll resend. thanks, -- heikki

[PATCH] slimbus: ngd: fix spelling mistake "exeeds" -> "exceeds"

2018-11-27 Thread Colin King
From: Colin Ian King There is a spelling mistake in a dev_err message, fix this. Signed-off-by: Colin Ian King --- drivers/slimbus/qcom-ngd-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/slimbus/qcom-ngd-ctrl.c b/drivers/slimbus/qcom-ngd-ctrl.c index ccf3321

Re: [PATCH v2] i2c: i2c-stm32f7: add PM Runtime support

2018-11-27 Thread Pierre Yves MORDRET
Hi Wolfram, Sorry for the inconvenience. I re-submit a v3 right now. Thanks On 11/27/18 1:10 PM, Wolfram Sang wrote: > On Mon, Nov 19, 2018 at 12:04:24PM +0100, Pierre-Yves MORDRET wrote: >> Use PM Runtime API to enable/disable clock >> >> Signed-off-by: Pierre-Yves MORDRET > > Looks good but

[PATCH v3] i2c: i2c-stm32f7: add PM Runtime support

2018-11-27 Thread Pierre-Yves MORDRET
Use PM Runtime API to enable/disable clock Signed-off-by: Pierre-Yves MORDRET --- Version history: v3: * Rebase v2: * missing define v1: * Initial --- --- drivers/i2c/busses/i2c-stm32f7.c | 144 +++ 1 file changed, 101 insert

Re: [PATCH] mm: warn only once if page table misaccounting is detected

2018-11-27 Thread Heiko Carstens
On Tue, Nov 27, 2018 at 02:19:16PM +0100, Michal Hocko wrote: > On Tue 27-11-18 09:36:03, Heiko Carstens wrote: > > Use pr_alert_once() instead of pr_alert() if page table misaccounting > > has been detected. > > > > If this happens once it is very likely that there will be numerous > > other occu

Re: [PATCH 4.14 00/62] 4.14.84-stable review

2018-11-27 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2018 at 09:14:19AM +, Jon Hunter wrote: > > On 26/11/2018 10:50, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.84 release. > > There are 62 patches in this series, all will be posted as a response > > to this one. If anyone has any iss

Re: [PATCH 4.19 000/118] 4.19.5-stable review

2018-11-27 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2018 at 06:26:07PM +0530, Naresh Kamboju wrote: > On Mon, 26 Nov 2018 at 16:31, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 4.19.5 release. > > There are 118 patches in this series, all will be posted as a response > > to this one. If a

Re: [PATCH 4.4 00/70] 4.4.165-stable review

2018-11-27 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2018 at 03:26:32PM +0530, Harsh Shandilya wrote: > On 26 November 2018 4:20:15 PM IST, Greg Kroah-Hartman > wrote: > >This is the start of the stable review cycle for the 4.4.165 release. > >There are 70 patches in this series, all will be posted as a response > >to this one. If

Re: [PATCH] sched/fair: Clean up comment in nohz_idle_balance()

2018-11-27 Thread Vincent Guittot
On Tue, 27 Nov 2018 at 12:01, Andrea Parri wrote: > > Concerning the comment associated to the atomic_fetch_andnot() in > nohz_idle_balance(), Vincent explains [1]: > > "[...] the comment is useless and can be removed [...] it was >referring to a line code above the comment that was present

Re: [PATCH V2 1/3] perf tools: Add fallback functions for cases where cpumode is insufficient

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 27, 2018 at 11:10:36AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Nov 06, 2018 at 11:07:10PM +0200, Adrian Hunter escreveu: > > For branch stacks or branch samples, the sample cpumode might not be > > correct because it applies only to the sample 'ip' and not necessary to > > '

Re: [PATCH 12/13] x86/fault: Decode page fault OOPSes better

2018-11-27 Thread Sean Christopherson
On Mon, Nov 19, 2018 at 02:45:36PM -0800, Andy Lutomirski wrote: > One of Linus' favorite hobbies seems to be looking at OOPSes and > decoding the error code in his head. This is not one of my favorite > hobbies :) > > Teach the page fault OOPS hander to decode the error code. If it's > a !USER

Re: ext4 file system corruption with v4.19.3 / v4.19.4

2018-11-27 Thread Marek Habersack
On 27/11/2018 15:32, Guenter Roeck wrote: Hi, You might try to see if you have CONFIG_SCSI_MQ_DEFAULT=yes in your kernel config. Starting with 4.19.1 it somehow interferes with ext4 and causes problems similar to the ones you list below. Ever since I disabled MQ (either recompile your kernel or

Re: [RFC PATCH 3/3] mm, proc: report PR_SET_THP_DISABLE in proc

2018-11-27 Thread William Kucharski
> On Nov 27, 2018, at 6:17 AM, Michal Hocko wrote: > > This is only about the process wide flag to disable THP. I do not see > how this can be alighnement related. I suspect you wanted to ask in the > smaps patch? No, answered below. > >> I'm having to deal with both these issues in the tex

Re: [PATCH v6 1/9] ARM: dts: Reflect change of FSL QSPI driver and remove unused properties

2018-11-27 Thread Schrempf Frieder
Hi Uwe, I accidentally replied to the MTD list only, missing the other recipients, earlier today. So here comes the reply again. On 27.11.18 12:01, Uwe Kleine-König wrote: > Hello, > > On Tue, Nov 27, 2018 at 10:24:19AM +, Schrempf Frieder wrote: >> The FSL QSPI driver will be moved to the

[PATCH] mm: fix insert_pfn() return value

2018-11-27 Thread Mans Rullgard
Commit 9b5a8e00d479 ("mm: convert insert_pfn() to vm_fault_t") accidentally made insert_pfn() always return an error. Fix this. Fixes: 9b5a8e00d479 ("mm: convert insert_pfn() to vm_fault_t") Signed-off-by: Mans Rullgard --- mm/memory.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-)

[PATCH] ARM: dts: OX820: Correct the GIC DT node name

2018-11-27 Thread Phil Edworthy
Harmless mistake, but it's incorrect. The DT spec provides recommendations for the node names: "The name of a node should be somewhat generic, reflecting the function of the device and not its precise programming model. If appropriate, the name should be one of the following choices: ... interrupt-

[PATCH] ARM: dts: alpine: Correct the GIC DT node name

2018-11-27 Thread Phil Edworthy
Harmless mistake, but it's incorrect. The DT spec provides recommendations for the node names: "The name of a node should be somewhat generic, reflecting the function of the device and not its precise programming model. If appropriate, the name should be one of the following choices: ... interrupt-

[PATCH] arm64: dts: alpine: Correct the GIC DT node name

2018-11-27 Thread Phil Edworthy
Harmless mistake, but it's incorrect. The DT spec provides recommendations for the node names: "The name of a node should be somewhat generic, reflecting the function of the device and not its precise programming model. If appropriate, the name should be one of the following choices: ... interrupt-

Re: [ptrace, rt] erratic behaviour in PTRACE_SINGLESET on 4.13-rt and later.

2018-11-27 Thread Clark Williams
Joe, This looks interesting. Do you have a git repo where I can pull the source? Clark On Tue, 20 Nov 2018 12:29:00 -0500 Steven Rostedt wrote: > [ Adding Clark and John who manage the rt-tests repo ] > > -- Steve > > On Mon, 19 Nov 2018 19:46:23 + > Joe Korty wrote: > > > Hi Julia & t

Re: [PATCH v4 0/2] dmaengine: add UniPhier MIO DMAC driver

2018-11-27 Thread Vinod Koul
On 25-11-18, 22:53, Masahiro Yamada wrote: > On Sat, Nov 24, 2018 at 11:16 PM Vinod Koul wrote: > > > > On 12-10-18, 01:41, Masahiro Yamada wrote: > > > 1/2: DT-binding > > > 2/2: driver > > > > Applied this series, thanks > > > Thanks. > > > > While building I noticed that we get few warns wh

Re: [PATCH 2/2] arm64: acpi: Prepare for longer MADTs

2018-11-27 Thread Lorenzo Pieralisi
On Fri, Oct 12, 2018 at 02:29:37PM -0500, Jeremy Linton wrote: > The BAD_MADT_GICC_ENTRY check is a little too strict because > it rejects MADT entries that don't match the currently known > lengths. We should remove this restriction to avoid problems > if the table length changes. Future code whic

Re: [PATCH 02/11] mfd: da9055-core: make it explicitly non-modular

2018-11-27 Thread Paul Gortmaker
[Re: [PATCH 02/11] mfd: da9055-core: make it explicitly non-modular] On 27/11/2018 (Tue 13:07) Lee Jones wrote: > On Fri, 23 Nov 2018, Paul Gortmaker wrote: [...] > > My other pending MFD patches have a trivial runtime behavior change; > > deleting a ".remove" field/function - that will never b

Re: possible deadlock in ovl_write_iter

2018-11-27 Thread Amir Goldstein
On Tue, Nov 27, 2018 at 9:06 AM syzbot wrote: > > syzbot has found a reproducer for the following crash on: > > HEAD commit:6f8b52ba442c Merge tag 'hwmon-for-v4.20-rc5' of git://git... > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=120f390540 > kerne

Re: [PATCH] mm: fix insert_pfn() return value

2018-11-27 Thread Matthew Wilcox
On Tue, Nov 27, 2018 at 02:43:51PM +, Mans Rullgard wrote: > Commit 9b5a8e00d479 ("mm: convert insert_pfn() to vm_fault_t") accidentally > made insert_pfn() always return an error. Fix this. Umm. VM_FAULT_NOPAGE is not an error. It's saying "I inserted the PFN, there's no struct page for th

Re: [PATCH] mtd: nand: spi: Add initial support for Toshiba TC58CVG2S0H

2018-11-27 Thread Schrempf Frieder
+Clément Péron Hi Clément, FYI, this has already been merged to nand/next. Regards, Frieder On 08.11.18 09:29, Frieder Schrempf wrote: > Add minimal support for the Toshiba TC58CVG2S0H SPI NAND chip. > > Signed-off-by: Frieder Schrempf > --- > drivers/mtd/nand/spi/Makefile | 2 +- > dri

[PATCH v8 1/4] ARM: dts: imx: Add an cpu0 label for imx6dl devices.

2018-11-27 Thread Jan Tuerk
Adding the label cpu0 allows the adjustment of cpu-parameters by reference in overlaying dtsi files in the same way as it is possible for imx6q devices. Signed-off-by: Jan Tuerk Reviewed-by: Andreas Färber --- arch/arm/boot/dts/imx6dl.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v8 3/4] ARM: dts: Add support for emtrion emCON-MX6 series

2018-11-27 Thread Jan Tuerk
This patch adds support for the emtrion GmbH emCON-MX6 modules. They are available with imx.6 Solo, Dual-Lite, Dual and Quad equipped with Memory from 512MB to 2GB (configured by U-Boot). Our default developer-Kit ships with the Avari baseboard and the EDT ETM0700G0BDH6 Display (imx6[q|dl]-emcon-a

[PATCH v8 2/4] dt-bindings: arm: Document emtrion emCON-MX6 bindings

2018-11-27 Thread Jan Tuerk
Document the compatible strings for emtrion emCON-MX6 SoM's. Signed-off-by: Jan Tuerk Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/emtrion.txt | 12 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/emtrion.txt Unchang

[PATCH v8 4/4] ARM: imx_v6_v7_defconfig: Enable DA9063 PMIC support.

2018-11-27 Thread Jan Tuerk
All recent emtrion modules based on i.mx6 make use of the DA9063. Therefore enable it with the following defaults: - CONFIG_MFD_DA9063=y - CONFIG_REGULATOR_DA9063=y - CONFIG_DA9063_WATCHDOG=m MFD and REGULATOR are built-in to have it at Kernel boot-time. The WATCHDOG is opti

Re: [PATCH v4 4/4] driver core: Add fwnode member to struct device_connection

2018-11-27 Thread Andy Shevchenko
On Tue, Nov 27, 2018 at 04:32:37PM +0200, Heikki Krogerus wrote: > On Tue, Nov 27, 2018 at 05:28:55PM +0300, Heikki Krogerus wrote: > > This will prepare the device connection API for connections > > described in firmware. > > This one does not belong to this series, sorry. Please skip it, or if >

Re: [ptrace, rt] erratic behaviour in PTRACE_SINGLESET on 4.13-rt and later.

2018-11-27 Thread Joe Korty
On Tue, Nov 27, 2018 at 08:58:19AM -0600, Clark Williams wrote: > Joe, > > This looks interesting. Do you have a git repo where I can pull the > source? > > Clark Hi Clark, No I don't, sorry. I am attaching the LAG version, it is a few dozen lines shorter than the version I first sent out to t

Re: [PATCH 06/17] soc: ti: pruss: Add a platform driver for PRUSS in TI SoCs

2018-11-27 Thread Roger Quadros
On 26/11/18 23:15, David Lechner wrote: > On 11/22/18 5:39 AM, Roger Quadros wrote: >> From: Suman Anna >> >> The PRUSS platform driver deals with the overall PRUSS and is >> used for managing the subsystem level resources like various >> memories. It is responsible for the creation and deletion o

Re: [PATCH] mtd: nand: spi: Add initial support for Toshiba TC58CVG2S0H

2018-11-27 Thread Clément Péron
Hi Frieder, On Tue, 27 Nov 2018 at 16:08, Schrempf Frieder wrote: > > +Clément Péron > > Hi Clément, > > FYI, this has already been merged to nand/next. Just want to point the difference that I made when I try to introduce my driver. The datasheet I used is this one : https://media.digikey.com/pd

Re: [PATCH 01/17] dt-bindings: remoteproc: Add TI PRUSS bindings

2018-11-27 Thread Roger Quadros
On 26/11/18 23:14, David Lechner wrote: > On 11/22/18 5:38 AM, Roger Quadros wrote: >> From: Suman Anna >> >> This patch adds the bindings for the Programmable Real-Time Unit >> and Industrial Communication Subsystem (PRU-ICSS) present on various >> TI SoCs. The IP is present on multiple TI SoC

[PATCH v2] arm64: dts: qcom: qcs404: Add WCN3990 WLAN module device node

2018-11-27 Thread Govind Singh
Add device node for the ath10k SNOC platform driver probe and add resources required for WCN3990 on qcs404 soc. Optional clock and regulator controls are not yet available in upstream, hence add them once available. Signed-off-by: Govind Singh --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 4 ++

Re: [PATCH v3 01/10] sched: Provide sparsemask, a reduced contention bitmap

2018-11-27 Thread Steven Sistare
On 11/9/2018 7:50 AM, Steve Sistare wrote: > From: Steve Sistare > > Provide struct sparsemask and functions to manipulate it. A sparsemask is > a sparse bitmap. It reduces cache contention vs the usual bitmap when many > threads concurrently set, clear, and visit elements, by reducing the numb

KASAN: out-of-bounds in update_curr

2018-11-27 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:4bffc669d624 net: remove unsafe skb_insert() git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=1385db8340 kernel config: https://syzkaller.appspot.com/x/.config?x=c36a72af2123e78a dashboard link: ht

<    1   2   3   4   5   6   7   8   >