Re: linux-next: Fixes tag needs some work in the pinctrl tree

2019-02-17 Thread Martin Blumenstingl
Hi Stephen, On Sun, Feb 17, 2019 at 11:25 PM Stephen Rothwell wrote: > > Hi Linus, > > In commit > > a5a0bbca16cd ("pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins") > > Fixes tag > > Fixes: 0fefcb6 ("pinctrl: Add support for Meson8b") > > has these problem(s): > > - SHA1 should be a

Re: linux-next: Fixes tag needs some work in the pinctrl tree

2019-02-17 Thread Stephen Rothwell
Hi all, On Mon, 18 Feb 2019 09:25:36 +1100 Stephen Rothwell wrote: > > Hi Linus, > > In commit > > a5a0bbca16cd ("pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins") > > Fixes tag > > Fixes: 0fefcb6 ("pinctrl: Add support for Meson8b") > > has these problem(s): > > - SHA1 should

[PATCH] tracing: fix spelling mistake: "analagous" -> "analogous"

2019-02-17 Thread Colin King
From: Colin Ian King There is a spelling mistake in the mini-howto help text. Fix it. Signed-off-by: Colin Ian King --- kernel/trace/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index f380139e972c..4dd8a52a71e0 100644 -

[PATCH] KVM: arm/arm64: fix spelling mistake: "auxilary" -> "auxiliary"

2019-02-17 Thread Colin King
From: Colin Ian King There is a spelling mistake in a kvm_err error message. Fix it. Signed-off-by: Colin Ian King --- virt/kvm/arm/arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virt/kvm/arm/arm.c b/virt/kvm/arm/arm.c index 7fcc1c8c4020..99c37384ba7b 100644 --- a/vi

Re: [PATCH] docs: kernel-doc: typo "if ... if" -> "if ... is"

2019-02-17 Thread Jonathan Corbet
On Mon, 11 Feb 2019 14:38:04 -0800 frowand.l...@gmail.com wrote: > From: Frank Rowand > > "If no *function* if specified" should instead be > "If no *function* is specified". > > Reported-by: Matthew Wilcox > Signed-off-by: Frank Rowand Applied, thanks. jon

[PATCH] kvm: selftests: fix spelling mistake "begining" -> "beginning"

2019-02-17 Thread Colin King
From: Colin Ian King There is a spelling mistake in the message test of a TEST_ASSERT macro, fix it. Signed-off-by: Colin Ian King --- tools/testing/selftests/kvm/lib/elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kvm/lib/elf.c b/tools/testin

Re: [PATCH v1 2/6] dt-bindings: drm/msm/a6xx: Add GX power-domain for GMU bindings

2019-02-17 Thread Rob Clark
On Sun, Feb 17, 2019 at 4:08 PM Rob Herring wrote: > > On Mon, Feb 4, 2019 at 10:15 AM Jordan Crouse wrote: > > > > The GMU should have two power domains defined: "cx" and "gx". "cx" is the > > actual power domain for the device and "gx" will be attached at runtime > > to manage reference countin

[PATCH] USB: renesas_usbhs: fix spelling mistake "doens't" -> "doesn't"

2019-02-17 Thread Colin King
From: Colin Ian King There is a spelling mistake in a dev_err message. Fix it. Signed-off-by: Colin Ian King --- drivers/usb/renesas_usbhs/mod_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/renesas_usbhs/mod_host.c b/drivers/usb/renesas_usbhs/mod_host.c

[PATCH] ASoC: fsi: fix spelling mistake "doens't" -> "doesn't"

2019-02-17 Thread Colin King
From: Colin Ian King There is a spelling mistake in a dev_err message. Fix it. Signed-off-by: Colin Ian King --- sound/soc/sh/fsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index 285afbafa662..3447dbdba1f1 100644 --- a/sound/so

Re: [PATCH] Documentation: change linux-4.x references to 5.x

2019-02-17 Thread Jonathan Corbet
On Tue, 12 Feb 2019 15:41:01 +0100 Arnd Bergmann wrote: > As linux-5.0.x is coming up soon, the documentation should match, > in particular the README.rst file, so change all 4.x references > accordingly. There was a mix of lowercase and uppercase X here, > which I changed to using lowercase cons

[PATCH] lib/test_rhashtable: fix spelling mistake "existant" -> "existent"

2019-02-17 Thread Colin King
From: Colin Ian King There are spelling mistakes in warning macro messages. Fix them. Signed-off-by: Colin Ian King --- lib/test_rhashtable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/test_rhashtable.c b/lib/test_rhashtable.c index e52f8cafe227..2c0c53a99734 1

Re: [PATCH V2] sysfs.txt: add note on available attribute macros

2019-02-17 Thread Jonathan Corbet
On Fri, 15 Feb 2019 08:29:48 +0100 Nicholas Mc Guire wrote: > The common cases of attributes wrappers should probably be using the > __ATTR_XXX macros to make code more concise and readable but the current > sysfs.txt does not point developers to those convenience macros. Further > there is no no

[PATCH] drm: fix spelling mistake "intead" -> "instead"

2019-02-17 Thread Colin King
From: Colin Ian King There is a spelling mistake in a DRM_NOTE message. Fix this. Signed-off-by: Colin Ian King --- drivers/gpu/drm/drm_kms_helper_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_kms_helper_common.c b/drivers/gpu/drm/drm_kms_hel

[PATCH] net/mlx4_en: fix spelling mistake: "quiting" -> "quitting"

2019-02-17 Thread Colin King
From: Colin Ian King There is a spelling mistake in a en_err error message. Fix it. Signed-off-by: Colin Ian King --- drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/en_netdev.c b/drivers/net

Re: [PATCH v3 perf,bpf 05/11] perf, bpf: save bpf_prog_info in a rbtree in perf_env

2019-02-17 Thread Jiri Olsa
On Fri, Feb 15, 2019 at 01:53:48PM -0800, Song Liu wrote: SNIP > info_linear = bpf_program__get_prog_info_linear(fd, arrays); > if (IS_ERR_OR_NULL(info_linear)) { > @@ -151,8 +165,8 @@ static int perf_event__synthesize_one_bpf_prog(struct > perf_tool *tool, >

Re: [PATCH v3 perf,bpf 10/11] perf, bpf: enable annotation of bpf program

2019-02-17 Thread Jiri Olsa
On Fri, Feb 15, 2019 at 01:53:53PM -0800, Song Liu wrote: SNIP > diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c > index 70de8f6b3aee..078017d31ca9 100644 > --- a/tools/perf/util/annotate.c > +++ b/tools/perf/util/annotate.c > @@ -22,6 +22,7 @@ > #include "annotate.h" > #in

Re: [PATCH v3 perf,bpf 08/11] perf, bpf: save btf information as headers to perf.data

2019-02-17 Thread Jiri Olsa
On Fri, Feb 15, 2019 at 01:53:51PM -0800, Song Liu wrote: SNIP > struct header_print_data { > diff --git a/tools/perf/util/header.h b/tools/perf/util/header.h > index 0785c91b4c3a..ba51d8e43c53 100644 > --- a/tools/perf/util/header.h > +++ b/tools/perf/util/header.h > @@ -40,6 +40,7 @@ enum { >

Re: [PATCH v3 perf,bpf 05/11] perf, bpf: save bpf_prog_info in a rbtree in perf_env

2019-02-17 Thread Jiri Olsa
On Fri, Feb 15, 2019 at 01:53:48PM -0800, Song Liu wrote: SNIP > diff --git a/tools/perf/util/env.h b/tools/perf/util/env.h > index d01b8355f4ca..d0c53fe6d431 100644 > --- a/tools/perf/util/env.h > +++ b/tools/perf/util/env.h > @@ -3,7 +3,9 @@ > #define __PERF_ENV_H > > #include > +#include

Re: [PATCH v3 perf,bpf 06/11] perf, bpf: save bpf_prog_info information as headers to perf.data

2019-02-17 Thread Jiri Olsa
On Fri, Feb 15, 2019 at 01:53:49PM -0800, Song Liu wrote: SNIP > +static int process_bpf_prog_info(struct feat_fd *ff, > + void *data __maybe_unused) > +{ > + struct bpf_prog_info_linear *info_linear; > + struct bpf_prog_info_node *info_node; > + struct pe

Re: [PATCH v3 perf,bpf 10/11] perf, bpf: enable annotation of bpf program

2019-02-17 Thread Jiri Olsa
On Fri, Feb 15, 2019 at 01:53:53PM -0800, Song Liu wrote: SNIP > diff --git a/tools/perf/util/bpf-event.c b/tools/perf/util/bpf-event.c > index 52507435c464..6c363adc781a 100644 > --- a/tools/perf/util/bpf-event.c > +++ b/tools/perf/util/bpf-event.c > @@ -25,12 +25,60 @@ static int snprintf_hex(c

Re: [PATCH v3 perf,bpf 08/11] perf, bpf: save btf information as headers to perf.data

2019-02-17 Thread Jiri Olsa
On Fri, Feb 15, 2019 at 01:53:51PM -0800, Song Liu wrote: > This patch enables perf-record to save btf information as headers to > perf.data A new header type HEADER_BTF is introduced for this data. > > Signed-off-by: Song Liu > --- > tools/perf/util/header.c | 99 +++

Re: [PATCH v3 perf,bpf 11/11] perf, bpf: save information about short living bpf programs

2019-02-17 Thread Jiri Olsa
On Fri, Feb 15, 2019 at 01:53:54PM -0800, Song Liu wrote: > To annotate bpf programs in perf, it is necessary to save information in > bpf_prog_info and btf. For short living bpf program, it is necessary to > save these information before it is unloaded. > > This patch saves these information in a

Re: [PATCH v3 perf,bpf 10/11] perf, bpf: enable annotation of bpf program

2019-02-17 Thread Jiri Olsa
On Fri, Feb 15, 2019 at 01:53:53PM -0800, Song Liu wrote: SNIP > int machine__process_bpf_event(struct machine *machine __maybe_unused, > union perf_event *event, > struct perf_sample *sample __maybe_unused) > { > if (dump_trace) >

Re: [PATCH v3 perf,bpf 10/11] perf, bpf: enable annotation of bpf program

2019-02-17 Thread Jiri Olsa
On Fri, Feb 15, 2019 at 01:53:53PM -0800, Song Liu wrote: > This patch enables the annotation of bpf program. > > A new dso type DSO_BINARY_TYPE__BPF_PROG_INFO is introduced to for BPF > programs. In symbol__disassemble(), DSO_BINARY_TYPE__BPF_PROG_INFO dso > calls into a new function symbol__disa

Re: [PATCH v3 perf,bpf 10/11] perf, bpf: enable annotation of bpf program

2019-02-17 Thread Jiri Olsa
On Fri, Feb 15, 2019 at 01:53:53PM -0800, Song Liu wrote: SNIP > +static int symbol__disassemble_bpf(struct symbol *sym, > +struct annotate_args *args) > +{ > + struct annotation *notes = symbol__annotation(sym); > + struct annotation_options *opts = args->

Re: [PATCH v3 perf,bpf 08/11] perf, bpf: save btf information as headers to perf.data

2019-02-17 Thread Jiri Olsa
On Fri, Feb 15, 2019 at 01:53:51PM -0800, Song Liu wrote: SNIP > +static int process_btf(struct feat_fd *ff, void *data __maybe_unused) > +{ > + struct perf_env *env = &ff->ph->env; > + u32 count, i; > + > + if (do_read_u32(ff, &count)) > + return -1; > + > + down_writ

Re: [PATCH v3 perf,bpf 05/11] perf, bpf: save bpf_prog_info in a rbtree in perf_env

2019-02-17 Thread Jiri Olsa
On Fri, Feb 15, 2019 at 01:53:48PM -0800, Song Liu wrote: SNIP > @@ -165,6 +179,19 @@ static int perf_event__synthesize_one_bpf_prog(struct > perf_tool *tool, > memcpy(bpf_event->tag, info->tag, BPF_TAG_SIZE); > memset((void *)event + event->header.size, 0, > machine

Re: nbd, nbdkit, loopback mounts and memory management

2019-02-17 Thread Pavel Machek
Hi! > So not to dispute that this could be a bug, but I couldn't cause a > deadlock. I wonder if you can see something wrong with my method? > > *** Set up *** > > - kernel 5.0.0-0.rc3.git0.1.fc30.x86_64 > - nbd-client 3.19-1.fc30 > - nbdkit 1.11.5 (git commit ef9d1978ce28) > > Baremetal machi

Re: [PATCH v3 0/3] admin-guide: extend perf-security with resource control, data categories and privileged users

2019-02-17 Thread Jonathan Corbet
On Mon, 11 Feb 2019 16:32:33 +0300 Alexey Budankov wrote: > The patch set extends the first version of perf-security.rst documentation > file [1], [2], [3] with the following topics: > > 1) perf_events/Perf resource limits and control management that describes >RLIMIT_NOFILE and perf_event_m

Re: [PATCH] perf: update perf.data file format documentation

2019-02-17 Thread Jiri Olsa
On Fri, Feb 15, 2019 at 07:28:23PM +0100, Jonas Rabenstein wrote: > I found that the documentation of the flags section is some how > different from the actual format used and expected by the perf > tools. In this patch the according section of the file format > documentation is updated to conform

[PATCH] video/macfb: Call fb_invert_cmaps()

2019-02-17 Thread Finn Thain
The 'inverse' parameter has no effect otherwise. Remove set-but-unused variable. Cc: linux-m...@lists.linux-m68k.org Signed-off-by: Finn Thain --- drivers/video/fbdev/macfb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/fbdev/macfb.c b/drivers/video/fbdev/m

Re: [PATCH net-next] net: phy: marvell10g: Don't explicitly set Pause and Asym_Pause

2019-02-17 Thread David Miller
From: Maxime Chevallier Date: Fri, 15 Feb 2019 09:33:47 +0100 > The PHY core expects PHY drivers not to set Pause and Asym_Pause bits, > unless the driver only wants to specify one of them due to HW > limitation. In the case of the Marvell10g driver, we don't need to set > them. > > Signed-off-b

[no subject]

2019-02-17 Thread Major Dennis Hornbeck
I am in the military unit here in Afghanistan, we have some amount of funds that we want to move out of the country. My partners and I need a good partner someone we can trust. It is risk free and legal. Reply to this email: hornbeckmajordennis...@gmail.com Regards, Major Dennis Hornbeck.

Re: [net, PATCH v2] net: stmmac: handle endianness in dwmac4_get_timestamp

2019-02-17 Thread David Miller
From: Alexandre Torgue Date: Fri, 15 Feb 2019 10:49:09 +0100 > GMAC IP is little-endian and used on several kind of CPU (big or little > endian). Main callbacks functions of the stmmac drivers take care about > it. It was not the case for dwmac4_get_timestamp function. > > Fixes: ba1ffd74df74 ("

5.0.0-rc6+: Oops at boot: RIP: 0010:__memmove+0x81/0x1a0 / vt_do_kdgkb_ioctl+0x34d/0x440 (race at reenter?)

2019-02-17 Thread Sergei Trofimovich
[ Copying as is from https://bugzilla.kernel.org/show_bug.cgi?id=202605 and sending to LKML. Greg, Jiri, can you clarify mailing list im MAINTAINERS as well? https://github.com/torvalds/linux/blob/master/MAINTAINERS#L15527 mentions no list for tty/vt/. ] Kernel Oops [ 38.739241] O

Thanks For Your Effort So !! / Danke für deine Mühe so !! 09

2019-02-17 Thread Ana Mimi
Здравейте , Как се справяте днес, надявам се, че моята поща ще ви посрещне добре и в добро здраве? Искам да ви информирам, че успешно съм предявил и преместил наследствения си фонд в Саудитска Арабия с помощта на моя нов партньор от Саудитска Арабия. Моят партньор в момента е зает с инвестицио

Re: [PATCH] qmi_wwan: apply SET_DTR quirk to Sierra WP7607

2019-02-17 Thread David Miller
From: Beniamino Galvani Date: Fri, 15 Feb 2019 13:20:42 +0100 > The 1199:68C0 USB ID is reused by Sierra WP7607 which requires the DTR > quirk to be detected. Apply QMI_QUIRK_SET_DTR unconditionally as > already done for other IDs shared between different devices. > > Signed-off-by: Beniamino Ga

Re: [net-next] net: crypto set sk to NULL when af_alg_release.

2019-02-17 Thread David Miller
From: Mao Wenan Date: Fri, 15 Feb 2019 22:24:15 +0800 > KASAN has found use-after-free in sockfs_setattr. > The existed commit 6d8c50dcb029 ("socket: close race condition between > sock_close() > and sockfs_setattr()") is to fix this simillar issue, but it seems to ignore > that crypto module fo

Re: [PATCH 3/3] drm/mediatek: add mt8183 dsi driver support

2019-02-17 Thread Nicolas Boichat
On Sun, Feb 17, 2019 at 10:48 PM Jitao Shi wrote: > > On Thu, 2019-02-14 at 13:54 +0800, Nicolas Boichat wrote: > > On Thu, Feb 14, 2019 at 12:43 PM Jitao Shi wrote: > > > > > > MT8183 dsi has two changes with mt8173. > > > 1. Add the register double buffer control, but we no need it, So make > >

Re: [PATCH] net: mv643xx_eth: disable clk on error path in mv643xx_eth_shared_probe()

2019-02-17 Thread David Miller
From: Alexey Khoroshilov Date: Sat, 16 Feb 2019 00:20:54 +0300 > If mv643xx_eth_shared_of_probe() fails, mv643xx_eth_shared_probe() > leaves clk undisabled. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Applied with undisabled changed

Re: INFO: rcu detected stall in netlink_sendmsg

2019-02-17 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:8d33316d5205 Merge branch 'x86-urgent-for-linus' of git://.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14d5f3bcc0 kernel config: https://syzkaller.appspot.com/x/.config?x=ee4345

Re: [net PATCH 0/2] Address recent issues found in netdev page_frag_alloc usage

2019-02-17 Thread David Miller
From: Alexander Duyck Date: Fri, 15 Feb 2019 14:44:05 -0800 > This patch set addresses a couple of issues that I had pointed out to Jann > Horn in response to a recent patch submission. > > The first issue is that I wanted to avoid the need to read/modify/write the > size value in order to gener

Re: nbd, nbdkit, loopback mounts and memory management

2019-02-17 Thread Richard W.M. Jones
On Mon, Feb 18, 2019 at 12:15:14AM +0100, Pavel Machek wrote: > But Shaun reported it happened somehow often for them, so he might > have a practical test case... better than my theories :-). Yes, certainly not saying this isn't a problem. I think the good news is the fix seems quite easy, ie. to

Re: [PATCH net-next] ptr_ring: remove duplicated include from ptr_ring.h

2019-02-17 Thread David Miller
From: YueHaibing Date: Sat, 16 Feb 2019 10:37:56 +0800 > Remove duplicated include. > > Signed-off-by: YueHaibing Applied, thanks.

Re: [RFC] On the Current Troubles of Mainlining Loongson Platform Drivers

2019-02-17 Thread Aaro Koskinen
On Sun, Feb 17, 2019 at 01:59:26AM -0300, Alexandre Oliva wrote: > On Feb 11, 2019, Aaro Koskinen wrote: > > > ATA (libata) CS5536 driver is having issues with spurious IRQs and often > > disables IRQs completely during the boot. You should see a warning > > in dmesg. This was the reason for slow

linux-next: manual merge of the net-next tree with the rdma tree

2019-02-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/infiniband/hw/mlx5/ib_rep.c between commits: 459cc69fa4c1 ("RDMA: Provide safe ib_alloc_device() function") fc9e4477f924 ("RDMA/mlx5: Fix memory leak in case we fail to add an IB device") from the rdma tree

[PATCH v4 2/8] ARM: trusted_foundations: Make prepare_idle call to take mode argument

2019-02-17 Thread Dmitry Osipenko
The Trusted Foundations firmware call varies depending on the required suspend-mode. Make the firmware API to take the mode argument in order to expose all of the modes to firmware user. Signed-off-by: Dmitry Osipenko --- arch/arm/firmware/trusted_foundations.c| 29 -- ar

[PATCH v4 3/8] ARM: trusted_foundations: Provide information about whether firmware is registered

2019-02-17 Thread Dmitry Osipenko
Add a helper that provides information about whether Trusted Foundations firmware operations have been registered. Signed-off-by: Dmitry Osipenko --- arch/arm/firmware/trusted_foundations.c| 5 + arch/arm/include/asm/trusted_foundations.h | 7 +++ 2 files changed, 12 insertions(+) d

[PATCH v4 6/8] ARM: tegra: Always boot CPU in ARM-mode

2019-02-17 Thread Dmitry Osipenko
CPU always jumps into reset handler in ARM-mode from the Trusted Foundations firmware, hence let's make CPU to always jump into kernel in ARM-mode regardless of the firmware presence. This is required to make Thumb-2 kernel working with the Trusted Foundations firmware on Tegra30. Signed-off-by: D

[PATCH v4 0/8] Support Trusted Foundations firmware on Tegra30

2019-02-17 Thread Dmitry Osipenko
Hello, This patchset adds support for the Trusted Foundations firmware on NVIDIA Tegra30. Pretty much all of Tegra30 consumer devices have that firmware and upstream kernel can't boot on those devices without the firmware support. Changelog: v4: - Fixed Thumb2-kernel hanging on Tegra20, turn

[PATCH v4 1/8] ARM: trusted_foundations: Implement L2 cache initialization callback

2019-02-17 Thread Dmitry Osipenko
Implement L2 cache initialization firmware callback that should be invoked early during boot in order to set up the required outer cache driver's callbacks. Partially based on work done by Michał Mirosław [1]. [1] https://www.spinics.net/lists/arm-kernel/msg594765.html Signed-off-by: Dmitry Osip

[PATCH v4 5/8] ARM: tegra: Don't apply CPU erratas in insecure mode

2019-02-17 Thread Dmitry Osipenko
CPU isn't allowed to touch secure registers while running under secure monitor. Hence skip applying of CPU erratas in the reset handler if Trusted Foundations firmware presents. Partially based on work done by Michał Mirosław [1]. [1] https://www.spinics.net/lists/arm-kernel/msg594768.html Signe

[PATCH v4 4/8] ARM: tegra: Set up L2 cache using Trusted Foundations firmware

2019-02-17 Thread Dmitry Osipenko
On Tegra30 L2 cache should be initialized using firmware call if CPU is running in insecure mode. Initialize L2 cache and set up the outer-cache callbacks early during boot using the firmware API. Signed-off-by: Dmitry Osipenko --- arch/arm/mach-tegra/tegra.c | 10 ++ 1 file changed, 10

[PATCH v4 8/8] ARM: tegra: Add firmware calls required for suspend-resume

2019-02-17 Thread Dmitry Osipenko
In order to resume CPU from suspend via trusted Foundations firmware, the LP1/LP2 boot vectors shall be specified using the firmware calls. Signed-off-by: Dmitry Osipenko --- arch/arm/mach-tegra/pm.c| 14 ++ arch/arm/mach-tegra/reset-handler.S | 26 +++

[PATCH v4 7/8] ARM: tegra: Support L2 cache maintenance done via firmware

2019-02-17 Thread Dmitry Osipenko
Trusted Foundations firmware require MMU to be enabled for L2 cache maintenance on Tegra30, hence perform the maintenance early/late on suspend-resume respectively. Signed-off-by: Dmitry Osipenko --- arch/arm/mach-tegra/pm.c| 36 arch/arm/mach-tegra/sleep

Re: [PATCH 1/3] PM / devfreq: rk3399_dmc: remove unneeded semicolon

2019-02-17 Thread Chanwoo Choi
Hi, On 19. 2. 17. 오전 12:18, Yangtao Li wrote: > The semicolon is unneeded, so remove it. > > Signed-off-by: Yangtao Li > --- > drivers/devfreq/rk3399_dmc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/devfreq/rk3399_dmc.c b/drivers/devfreq/rk3399_dmc.c > ind

Re: [PATCH 2/3] PM / devfreq: rockchip-dfi: remove unneeded semicolon

2019-02-17 Thread Chanwoo Choi
Hi, On 19. 2. 17. 오전 12:18, Yangtao Li wrote: > The semicolon is unneeded, so remove it. > > Signed-off-by: Yangtao Li > --- > drivers/devfreq/event/rockchip-dfi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/devfreq/event/rockchip-dfi.c > b/drivers/devfreq

Re: [PATCH 3/3] PM / devfreq: tegra: remove unneeded variable

2019-02-17 Thread Chanwoo Choi
On 19. 2. 17. 오전 12:18, Yangtao Li wrote: > This variable is not used after initialization, so > remove it. And in order to unify the code style, > move the location where the dev_get_drvdata is called > by the way. > > Signed-off-by: Yangtao Li > --- > drivers/devfreq/tegra-devfreq.c | 7 ++

Re: [PATCH] powerpc/64s: Fix possible corruption on big endian due to pgd/pud_present()

2019-02-17 Thread Michael Ellerman
Balbir Singh writes: > On Sun, Feb 17, 2019 at 07:34:20PM +1100, Michael Ellerman wrote: >> Balbir Singh writes: >> > On Sat, Feb 16, 2019 at 08:22:12AM -0600, Segher Boessenkool wrote: >> >> On Sat, Feb 16, 2019 at 09:55:11PM +1100, Balbir Singh wrote: >> >> > On Thu, Feb 14, 2019 at 05:23:39PM

linux-next: manual merge of the block tree with the btrfs-kdave tree

2019-02-17 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: fs/btrfs/extent_io.c between commit: 2ce8afc500de ("btrfs: extent_io: Kill the forward declaration of flush_write_bio") from the btrfs-kdave tree and commit: c3a7ce738009 ("btrfs: use mp_bvec_last_segment to get bio

[PATCH] regulator: axp20x: fix DCDCB and BLDO2 definitions for AXP806

2019-02-17 Thread megous
From: Ondrej Jirman This fixes another set of errors from the refactoring of literals to mask preproccesor definitions. Found by debugging a broken voltage setup on Orange Pi One Plus. Fixes: db4a555f7c4cf ("regulator: axp20x: use defines for masks") Signed-off-by: Ondrej Jirman --- This is a

Re: [PATCH] ASoC: fsi: fix spelling mistake "doens't" -> "doesn't"

2019-02-17 Thread Kuninori Morimoto
Hi Colin > From: Colin Ian King > > There is a spelling mistake in a dev_err message. Fix it. > > Signed-off-by: Colin Ian King > --- Acked-by: Kuninori Morimoto > sound/soc/sh/fsi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/sh/fsi.c b/sound/soc/

Re: [PATCH] ASoC: simple-card: Fix refcount underflow

2019-02-17 Thread Kuninori Morimoto
Hi Daniel, Mark > of_get_child_by_name() takes a reference we'll need to drop > later so when we substitute in top we need to take a reference > as well as just assigning. > > Without this patch we hit the following error: > > [1.246852] OF: ERROR: Bad of_node_put() on /sound-wm8524 > [

Re: [PATCH 5/5] Documentation/DMA-API-HOWTO: update dma_mask sections

2019-02-17 Thread Yang, Shunyong
Hi, Christoph, On 2019/2/15 22:46, Christoph Hellwig wrote: > We don't require drivers to guess a DMA mask that might actually > match the system capabilities any more, so fix up the documentation > to clear this up. > > Signed-off-by: Christoph Hellwig > --- > Documentation/DMA-API-HOWTO.txt |

Re: [PATCH 4/4] arm64: dts: freescale: imx8qxp: add watchdog support

2019-02-17 Thread Shawn Guo
On Thu, Feb 14, 2019 at 11:45:14AM +, Anson Huang wrote: > Add i.MX8QXP system controller watchdog support. > > Signed-off-by: Anson Huang > --- > Note: this patch is based on my thermal patch series: > https://patchwork.kernel.org/patch/10800699/ > --- > arch/arm64/boot/dts/freescale/imx8q

[PATCH] ACPI / processor: Set P_LVL{2,3} idle state descriptions

2019-02-17 Thread Ghannam, Yazen
From: Yazen Ghannam The ACPI idle driver will fallback to using the legacy P_LVL* SystemIO method of entering C-states if the _CST method is disabled and P_BLK is defined. However, in this case the C2 and C3 states won't have a description set, so the user will see "" when reading the description

Re: [RFC PATCH 4.4] Documentation/network: reword kernel version reference

2019-02-17 Thread Sasha Levin
On Fri, Feb 15, 2019 at 08:19:55AM -0800, Mark Rustad wrote: It seemed odd to say "since 4.17" in a 4.4 kernel. Consider rewording the reference to indicate where in the stable series it was introduced as well as where it originated. Signed-off-by: Mark Rustad --- Does this brief elaboration

[LKP] [ACPICA] 4c1379d7bb: reaim.jobs_per_min -2.8% regression

2019-02-17 Thread kernel test robot
Greeting, FYI, we noticed a -2.8% regression of reaim.jobs_per_min due to commit: commit: 4c1379d7bb42fa664e0784539208ed74108c53f1 ("ACPICA: Debug output: Add option to display method/object evaluation") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master in testcase: ftq on

Re: [PATCH] ASoC: simple-card: Fix refcount underflow

2019-02-17 Thread Kuninori Morimoto
Hi Daniel, Mark, again > > of_get_child_by_name() takes a reference we'll need to drop > > later so when we substitute in top we need to take a reference > > as well as just assigning. > > > > Without this patch we hit the following error: > > > > [1.246852] OF: ERROR: Bad of_node_put() on

Re: [RFC] On the Current Troubles of Mainlining Loongson Platform Drivers

2019-02-17 Thread Alexandre Oliva
On Feb 17, 2019, Aaro Koskinen wrote: > I tested few older kernels, and it seems that the spurious IRQ issue has > been always there after switching to libata (commit 7ff7a5b1bfff). It has > been unnoticed as the 10 irq limit wasn't reached during boot. I see, thanks. That would probably ma

Re: [PATCH v2] staging: erofs: keep corrupted fs from crashing kernel in erofs_namei()

2019-02-17 Thread Chao Yu
Hi xiang, On 2019/2/15 16:58, Gao Xiang wrote: > Hi Chao, > > On 2019/2/15 15:02, Chao Yu wrote: >> On 2019/2/1 20:16, Gao Xiang wrote: >>> As Al pointed out, " >>> ... and while we are at it, what happens to >>> unsigned int nameoff = le16_to_cpu(de[mid].nameoff); >>> unsigned int matche

Re: [PATCHv7] x86/kdump: bugfix, make the behavior of crashkernel=X consistent with kaslr

2019-02-17 Thread Dave Young
On 02/15/19 at 11:24am, Borislav Petkov wrote: > On Tue, Feb 12, 2019 at 04:48:16AM +0800, Dave Young wrote: > > Even we make it automatic in kernel, but we have to have some default > > value for swiotlb in case crashkernel can not find a free region under 4G. > > So this default value can not wor

Re: [PATCH v5 12/12] KVM/VMX/vPMU: support to report GLOBAL_STATUS_LBRS_FROZEN

2019-02-17 Thread Wei Wang
On 02/15/2019 09:10 PM, Andi Kleen wrote: OK. The freeze bits need to be cleared by IA32_PERF_GLOBAL_STATUS_RESET, which seems not supported by the perf code yet (thus guest won't clear them). Would handle_irq_v4 also need to be changed to support that? In Arch Perfmon v4 it is cleared by the

linux-next: manual merge of the regulator tree with the arm-soc tree

2019-02-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the regulator tree got a conflict in: arch/arm/mach-pxa/raumfeld.c between commit: 0f884f8a090e ("ARM: pxa: remove raumfeld board files and defconfig") from the arm-soc tree and commit: 01dc79cd6fe7 ("regulator: fixed/gpio: Pull inversion/OD into gpio

[PATCH V2 1/4] dt-bindings: fsl: scu: add watchdog binding

2019-02-17 Thread Anson Huang
Add i.MX8QXP system controller watchdog binding. Signed-off-by: Anson Huang --- Note: this patch is based on my thermal patch series: https://patchwork.kernel.org/patch/10800699/ --- Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt | 10 ++ 1 file changed, 10 insertions(+) d

[PATCH V2 2/4] watchdog: imx_sc: Add i.MX system controller watchdog support

2019-02-17 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and watchdog etc.. This patch adds i.MX system controller watchdog driver support, watchdog operation needs to be done in secure EL3 mode via ARM-Trusted-Firmware

[PATCH V2 4/4] arm64: dts: freescale: imx8qxp: add watchdog support

2019-02-17 Thread Anson Huang
Add i.MX8QXP system controller watchdog support. Signed-off-by: Anson Huang --- Note: this patch is based on my thermal patch series: https://patchwork.kernel.org/patch/10800699/ --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/bo

[PATCH V2 3/4] arm64: defconfig: add support for i.MX system controller watchdog

2019-02-17 Thread Anson Huang
Enable CONFIG_IMX_SC_WDT as module to support i.MX system controller watchdog. Signed-off-by: Anson Huang --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 2d9c390..690f4ba 100644 --- a/arch/arm6

[PATCH V2 0/4] Add i.MX8QXP system controller watchdog support

2019-02-17 Thread Anson Huang
i.MX8QXP is an ARMv8 Cortex-A35 SoC with a Cortex-M4 system controller inside, the system controller manages overall power, clock, secure RTC and watchdog etc., so Linux kernel running on A35 needs to communicate with system controller for watchdog operation, this system controller watchdog will ca

[PATCH V2 2/7] dt-bindings: csky,apb-intc: Add dh7k SOC support

2019-02-17 Thread guoren
From: Guo Ren Add C-SKY dh7k SOC description. Signed-off-by: Guo Ren Cc: Marc Zyngier Cc: Rob Herring --- Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/csky,

[PATCH V2 6/7] dt-bindings: csky,apb-intc: Add vector irq mode

2019-02-17 Thread guoren
From: Guo Ren Add csky,support-vector-irq for irq-csky-apb-intc. Signed-off-by: Guo Ren Cc: Marc Zyngier Cc: Rob Herring --- .../devicetree/bindings/interrupt-controller/csky,apb-intc.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/interr

[PATCH V2 5/7] dt-bindings: interrupt-controller: Update csky mpintc

2019-02-17 Thread guoren
From: Guo Ren Add trigger type and priority setting for csky,mpintc. Changelog: - change #interrupt-cells to <3> Signed-off-by: Guo Ren Cc: Marc Zyngier Cc: Rob Herring --- .../bindings/interrupt-controller/csky,mpintc.txt | 21 + 1 file changed, 17 insertions(+), 4 d

[PATCH V2 7/7] irqchip/csky: Add support-vector-irq for apb-intc

2019-02-17 Thread guoren
From: Guo Ren Some socs don't provide pending registers, so we must make the intc working at vector mode. Add csky,support-vector-irq in dts. Signed-off-by: Guo Ren Cc: Marc Zyngier --- drivers/irqchip/irq-csky-apb-intc.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletion

Re: [f2fs-dev] [PATCH] f2fs: do not use mutex lock in atomic context

2019-02-17 Thread Ritesh Harjani
On 2/15/2019 2:40 PM, Chao Yu wrote: On 2019/2/15 12:28, Ritesh Harjani wrote: On 2/14/2019 9:40 PM, Chao Yu wrote: On 2019-2-14 15:46, Sahitya Tummala wrote: On Wed, Feb 13, 2019 at 11:25:31AM +0800, Chao Yu wrote: On 2019/2/4 16:06, Sahitya Tummala wrote: Fix below warning coming because

[PATCH V2 3/7] irqchip/csky: Optimize remove unnecessary loop irq handle

2019-02-17 Thread guoren
From: Guo Ren Here is the previous interrupt processing flow: while (pending) { ^^^ It's unnecessary! get irq handle_level/fasteoi_irq { mask irq driver irq handler unmask irq } irq_exit {

[PATCH V2 1/7] irqchip/csky: Support csky,dh7k SOC intc driver

2019-02-17 Thread guoren
From: Guo Ren C-SKY dh7k SOC use simple APB interrupt controller and most of driver's implementation codes could be reused in csky-apb-intc.c. So merge them together. Signed-off-by: Guo Ren Cc: Marc Zyngier --- drivers/irqchip/irq-csky-apb-intc.c | 95 + 1

[PATCH V2 4/7] irqchip/irq-csky-mpintc: Add triger type and priority

2019-02-17 Thread guoren
From: Guo Ren Support 4 triger types: - IRQ_TYPE_LEVEL_HIGH - IRQ_TYPE_LEVEL_LOW - IRQ_TYPE_EDGE_RISING - IRQ_TYPE_EDGE_FALLING Support 0-255 priority setting for each irq. Changelog: - Fixup this_cpu_read() preempted problem. - Optimize the coding style. Signed-off-by: Guo Ren Cc: Marc

Re: [PATCH v2] staging: erofs: keep corrupted fs from crashing kernel in erofs_namei()

2019-02-17 Thread Gao Xiang
Hi Chao, On 2019/2/18 9:39, Chao Yu wrote: > If the image is corrupted, qn->name[i] may be anything, as you commented > above DBG_BUGON(), we really don't need to go through any later codes, it > can avoid potentially encoutnering wrong condition. > > * otherwise, it will return 1 to just skip th

[PATCH net v2] net: crypto set sk to NULL when af_alg_release.

2019-02-17 Thread Mao Wenan
KASAN has found use-after-free in sockfs_setattr. The existed commit 6d8c50dcb029 ("socket: close race condition between sock_close() and sockfs_setattr()") is to fix this simillar issue, but it seems to ignore that crypto module forgets to set the sk to NULL after af_alg_release. KASAN report de

Re: [RFC][Patch v8 0/7] KVM: Guest Free Page Hinting

2019-02-17 Thread Wei Wang
On 02/15/2019 05:41 PM, David Hildenbrand wrote: On 15.02.19 10:05, Wang, Wei W wrote: On Thursday, February 14, 2019 5:43 PM, David Hildenbrand wrote: Yes indeed, that is the important bit. They must not be put pack to the buddy before they have been processed by the hypervisor. But as the pag

Re: [net-next] net: crypto set sk to NULL when af_alg_release.

2019-02-17 Thread maowenan
On 2019/2/18 7:42, David Miller wrote: > From: Mao Wenan > Date: Fri, 15 Feb 2019 22:24:15 +0800 > >> KASAN has found use-after-free in sockfs_setattr. >> The existed commit 6d8c50dcb029 ("socket: close race condition between >> sock_close() >> and sockfs_setattr()") is to fix this simillar i

Re: [RFC][Patch v8 0/7] KVM: Guest Free Page Hinting

2019-02-17 Thread Wei Wang
On 02/18/2019 10:36 AM, Wei Wang wrote: On 02/15/2019 05:41 PM, David Hildenbrand wrote: On 15.02.19 10:05, Wang, Wei W wrote: On Thursday, February 14, 2019 5:43 PM, David Hildenbrand wrote: Yes indeed, that is the important bit. They must not be put pack to the buddy before they have been pr

Re: [RFC] On the Current Troubles of Mainlining Loongson Platform Drivers

2019-02-17 Thread Maciej W. Rozycki
On Sun, 17 Feb 2019, Alexandre Oliva wrote: > That's a reasonable guess, but I don't think so. I do have PATA_AMD > enabled as a module indeed, but it's not even loaded, much as I can > tell, whereas PATA_CS5536 is built into the kernel image, and dmesg > says: > > [4.46] scsi host0: pat

Re: [PATCH v2] staging: erofs: keep corrupted fs from crashing kernel in erofs_namei()

2019-02-17 Thread Chao Yu
On 2019/2/15 17:35, Dan Carpenter wrote: > On Fri, Feb 15, 2019 at 05:32:33PM +0800, Chao Yu wrote: >> On 2019/2/15 15:57, Dan Carpenter wrote: >>> On Fri, Feb 15, 2019 at 03:02:25PM +0800, Chao Yu wrote: On 2019/2/1 20:16, Gao Xiang wrote: > + /* > + * on-disk error, let's only BUG_O

neighbour entry incorrectly moved to NUD_REACHABLE

2019-02-17 Thread ash . millar
We have encountered an issue resulting from commit 2724680bceee ("neigh: Keep neighbour cache entries if number of them is small enough."), which allows stale entries to remain in the neigh table indefinitely if the total number of entries is less than gc_thresh1. This issue arises if: - a stal

Re: [PATCH v2] LSM: Ignore "security=" when "lsm=" is specified

2019-02-17 Thread Paul Moore
On Sun, Feb 17, 2019 at 12:17 AM Tetsuo Handa wrote: > On 2019/02/14 1:05, Casey Schaufler wrote: > > On 2/12/2019 10:23 AM, Kees Cook wrote: > >> To avoid potential confusion, explicitly ignore "security=" when "lsm=" is > >> used on the command line, and report that it is happening. > >> > >> Su

[PATCH] script/gdb: replace flags (MS_xyz -> SB_xyz)

2019-02-17 Thread Jackie Liu
Since commit (1751e8a6cb935e555fcdbcb9ab4f0446e322ca3e) Rename superblock flags (MS_xyz -> SB_xyz). script/gdb need replace MS_xyz to SB_xyz. Fix following problem: root@localhost:/data# gdb -q vmlinux Reading symbols from vmlinux...done. Traceback (most recent call last): File "/data/vmlinux-g

[PATCH] ARM: mvebu: kirkwood: remove error message when retrieving mac address

2019-02-17 Thread Chris Packham
Kirkwood has always had the ability to retrieve the local-mac-address from the hardware (usually this was configured by the bootloader). This is particularly useful when dealing with a legacy non-DT aware bootloader. The "error" message just indicated that the board used an old bootloader and in m

Re: [patch v6 7/7] genirq/affinity: Add support for non-managed affinity sets

2019-02-17 Thread Ming Lei
Hi Thomas, On Sun, Feb 17, 2019 at 08:17:05PM +0100, Thomas Gleixner wrote: > On Sun, 17 Feb 2019, Ming Lei wrote: > > On Sat, Feb 16, 2019 at 06:13:13PM +0100, Thomas Gleixner wrote: > > > Some drivers need an extra set of interrupts which should not be marked > > > managed, but should get initia

Re: [PATCH v2] staging: erofs: keep corrupted fs from crashing kernel in erofs_namei()

2019-02-17 Thread Chao Yu
Hi Xiang, On 2019/2/18 10:17, Gao Xiang wrote: > Hi Chao, > > On 2019/2/18 9:39, Chao Yu wrote: >> If the image is corrupted, qn->name[i] may be anything, as you commented >> above DBG_BUGON(), we really don't need to go through any later codes, it >> can avoid potentially encoutnering wrong cond

<    1   2   3   4   >