Re: [PATCH v3 1/6] remoteproc: Introduce custom dump function for each remoteproc segment

2018-10-08 Thread Bjorn Andersson
On Fri 27 Jul 08:19 PDT 2018, Sibi Sankar wrote: > Introduce custom dump function per remoteproc segment. It is responsible > for filling the device memory segment associated with coredump > > Signed-off-by: Sibi Sankar > --- > drivers/remoteproc/remoteproc_core.c | 15 ++- >

[GIT] Sparc

2018-10-08 Thread David Miller
I've been moving so haven't had access to my Sparc boxes during this time. That's been resolved, and now I can get the patches flowing again. 1) Minor fallthru comment tweaks from Gustavo A. R. Silva. 2) VLA removal from Kees Cook. 3) Make sparc vdso Makefile match x86, from Masahiro Yamada.

Re: [PATCH v2 2/6] ARM: dts: axp81x: add AC power supply subnode

2018-10-08 Thread Quentin Schulz
Hi Oskari, On Sun, Oct 07, 2018 at 12:18:32AM +0300, Oskari Lemmela wrote: > Add AC power supply subnode for AXP81X PMIC. > > Signed-off-by: Oskari Lemmela > --- > arch/arm/boot/dts/axp81x.dtsi | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/axp81x.dtsi

Re: [PATCH v3 4/6] remoteproc: qcom: q6v5-pil: Add custom dump function for modem

2018-10-08 Thread Bjorn Andersson
On Fri 27 Jul 08:20 PDT 2018, Sibi Sankar wrote: > diff --git a/drivers/remoteproc/qcom_q6v5_pil.c > b/drivers/remoteproc/qcom_q6v5_pil.c [..] > +static void qcom_q6v5_dump_segment(struct rproc *rproc, void *ptr, size_t > len, > +

Re: [PATCH V3 0/4] Changes for SDCC5 version

2018-10-08 Thread Bjorn Andersson
On Sun 07 Oct 01:07 PDT 2018, Craig wrote: > Any updates on this? > FWIW I used qcom,sdhci-msm-v5 on QCS404 successfully. Regards, Bjorn > On 25 September 2018 16:39:33 BST, Craig wrote: > > > > > >On 25 September 2018 12:17:26 BST, Veerabhadrarao Badiganti > > wrote: > >> > >>On 9/25/2018

RE: [PATCH V3] cpufreq: imx6q: read OCOTP through nvmem for imx6ul/imx6ull

2018-10-08 Thread Anson Huang
Hi, Viresh Anson Huang Best Regards! > -Original Message- > From: Viresh Kumar > Sent: Monday, October 8, 2018 2:04 PM > To: Anson Huang > Cc: r...@rjwysocki.net; linux...@vger.kernel.org; > linux-kernel@vger.kernel.org; dl-linux-imx > Subject: Re: [PATCH V3] cpufreq: imx6q: read

[PATCH] RCU: Adjust the comment of function rcu_is_watching

2018-10-08 Thread zhouzhouyi
From: Zhouyi Zhou Because RCU avoids interrupting idle CPUs, rcu_is_watching is used to test whether or not it is currently legal to run RCU read-side critical sections on this CPU. First sentence and last sentence of current comment for rcu_is_watching have opposite meaning of what is

Re: [PATCH v2 0/6] AXP8x3 AC and battery power supply support

2018-10-08 Thread Quentin Schulz
Hi Oskari, On Sun, Oct 07, 2018 at 12:18:30AM +0300, Oskari Lemmela wrote: > AXP813 AC power supply support with input current and > voltage limiting support. > > AXP803 AC and battery power supply support. > Great to see a new developer taking interest in those PMICs :) I received the v2

Re: [tip:x86/mm] kdump, proc/vmcore: Enable kdumping encrypted memory with SME enabled

2018-10-08 Thread lijiang
在 2018年10月08日 13:37, Borislav Petkov 写道: > On Mon, Oct 08, 2018 at 11:30:56AM +0800, lijiang wrote: >> Yes. As previously mentioned, the correct patch is this one: > > No, that chunk is not needed and I removed it. But I'd leave it as > an exercise to you to figure out why... or to prove me wrong

Re: [PATCH] mm, oom_adj: avoid meaningless loop to find processes sharing mm

2018-10-08 Thread Tetsuo Handa
On 2018/10/08 15:14, Yong-Taek Lee wrote: >> On 2018/10/08 10:19, Yong-Taek Lee wrote: >>> @@ -1056,6 +1056,7 @@ static int __set_oom_adj(struct file *file, int >>> oom_adj, bool legacy) >>> struct mm_struct *mm = NULL; >>> struct task_struct *task; >>> int err = 0; >>> +

[PATCH V4 2/4] rpmsg: glink: Add support to handle signals command

2018-10-08 Thread Arun Kumar Neelakantam
Remote peripherals send signal notifications over glink with commandID 15. Add support to send and receive the signal command and convert the signals from NATIVE to TIOCM while receiving and vice versa while sending. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar Neelakantam ---

[PATCH V4 3/4] rpmsg: char: Add TIOCMGET/TIOCMSET ioctl support

2018-10-08 Thread Arun Kumar Neelakantam
Add TICOMGET and TIOCMSET ioctl support for rpmsg char device nodes to get/set the low level transport signals. Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_char.c | 53 +++--- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git

[PATCH V4 1/4] rpmsg: core: Add signal API support

2018-10-08 Thread Arun Kumar Neelakantam
Some transports like Glink support the state notifications between clients using signals similar to serial protocol signals. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_core.c | 41 +

[PATCH V4 4/4] rpmsg: char: Add signal callback and POLLPRI support

2018-10-08 Thread Arun Kumar Neelakantam
Register a callback to get the signal notifications from rpmsg and send POLLPRI mask to indicate the signal change in POLL system call. Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_char.c | 21 + 1 file changed, 21 insertions(+) diff --git

[PATCH V4 0/4] Add TIOCM Signals support for RPMSG char devices

2018-10-08 Thread Arun Kumar Neelakantam
Glink transport support signals to exchange state notification between local and remote side clients. Adding support to send/receive the signal command and notify the clients through callback and POLL notification. Changes since v1: - Split the patches as per functional areas like core, char,

Re: linux-next: build failure after merge of the irqchip tree

2018-10-08 Thread Marc Zyngier
Hi Stephen, On Mon, 08 Oct 2018 04:06:21 +0100, Stephen Rothwell wrote: > > [1 ] > Hi Marc, > > After merging the irqchip tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > In file included from drivers/irqchip/irq-madera.c:21: > include/linux/irqchip/irq-madera.h:

Re: [PATCH 0/9] Implement wake event support on Tegra186 and later

2018-10-08 Thread Stephen Boyd
Quoting Lina Iyer (2018-09-25 10:16:05) > Thanks Linus, for bringing this to my attention. > > Hi Thierry, > > On Tue, Sep 25 2018 at 03:57 -0600, Thierry Reding wrote: > >On Tue, Sep 25, 2018 at 10:48:39AM +0200, Linus Walleij wrote: > >> Hi Thierry, > >> > >> thanks for working on the wakeup

[PATCH] platform/x86: touchscreen_dmi: Add info for the Trekstor Primetab T13B tablet

2018-10-08 Thread Marian Cepok
Add touchscreen info for the Trekstor Primetab T13B tablet. Reviewed-by: Hans de Goede Signed-off-by: Marian Cepok --- drivers/platform/x86/touchscreen_dmi.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/platform/x86/touchscreen_dmi.c

[PATCH v11 3/3]: perf record: extend trace writing to multi AIO

2018-10-08 Thread Alexey Budankov
Multi AIO trace writing allows caching more kernel data into userspace memory postponing trace writing for the sake of overall profiling data thruput increase. It could be seen as kernel data buffer extension into userspace memory. With aio-cblocks option value different from 0, current

Re: [PATCH v2 3/6] arm64: dts: allwinner: axp803: add AC and battery power supplies

2018-10-08 Thread Quentin Schulz
Hi Oskari, On Sun, Oct 07, 2018 at 12:18:33AM +0300, Oskari Lemmela wrote: > AXP803 is compatible with AXP813. Add DT nodes ADC, GPIO, > AC and battery power supplies. > > Signed-off-by: Oskari Lemmela > --- > arch/arm64/boot/dts/allwinner/axp803.dtsi | 31 +++ > 1 file

Re: [PATCH V4] cpufreq: imx6q: read OCOTP through nvmem for imx6ul/imx6ull

2018-10-08 Thread Viresh Kumar
On 08-10-18, 14:07, Anson Huang wrote: > On i.MX6UL/i.MX6ULL, accessing OCOTP directly is wrong because > the ocotp clock needs to be enabled first. Add support for reading > OCOTP through the nvmem API, and keep the old method there to > support old dtb. > > Signed-off-by: Anson Huang > --- >

[PATCH V4] cpufreq: imx6q: read OCOTP through nvmem for imx6ul/imx6ull

2018-10-08 Thread Anson Huang
On i.MX6UL/i.MX6ULL, accessing OCOTP directly is wrong because the ocotp clock needs to be enabled first. Add support for reading OCOTP through the nvmem API, and keep the old method there to support old dtb. Signed-off-by: Anson Huang --- changes since V3: put node earlier to save one

RE: Re: [PATCH] mm, oom_adj: avoid meaningless loop to find processes sharing mm

2018-10-08 Thread Yong-Taek Lee
>On 2018/10/08 10:19, Yong-Taek Lee wrote: >> @@ -1056,6 +1056,7 @@ static int __set_oom_adj(struct file *file, int >> oom_adj, bool legacy) >> struct mm_struct *mm = NULL; >> struct task_struct *task; >> int err = 0; >> + int mm_users = 0; >> >> task =

[PATCH v11 1/3]: perf util: map data buffer for preserving collected data

2018-10-08 Thread Alexey Budankov
The map->data buffer is used to preserve map->base profiling data for writing to disk. AIO map->cblock is used to queue corresponding map->data buffer for asynchronous writing. Signed-off-by: Alexey Budankov --- Changes in v10: - moved specific code to perf_mmap__aio_mmap(),

Re: [PATCH v3] clk: qcom: Add Global Clock controller (GCC) driver for SDM660

2018-10-08 Thread Craig
(Resend due to broken email client) any reviews for this? On 25 September 2018 18:35:58 BST, Craig Tatlor wrote: >From: Taniya Das > >Add support for the global clock controller found on SDM660 >based devices. This should allow most non-multimedia device >drivers to probe and control their

Re: [PATCH v3 6/6] remoteproc: qcom: q6v5-pil: Assign the relocated address

2018-10-08 Thread Bjorn Andersson
On Fri 27 Jul 08:20 PDT 2018, Sibi Sankar wrote: > Assign the relocated base of the modem image, as the offsets > from the virtual memory might not be based on the physical > address. > In order to get this merged before the first call to rproc_da_to_va() I applied this patch to rproc-next.

RE: [PATCH 0/6] cpuidle: menu: Fixes, optimizations and cleanups

2018-10-08 Thread Doug Smythies
On 2018.10.03 23:56 Rafael J. Wysocki wrote: > On Tue, Oct 2, 2018 at 11:51 PM Rafael J. Wysocki wrote: >> >> Hi All, >> >> This series fixes a couple of issues with the menu governor, optimizes it >> somewhat and makes a couple of cleanups in it. Please refer to the >> patch changelogs for

Re: [PATCH V3] cpufreq: imx6q: read OCOTP through nvmem for imx6ul/imx6ull

2018-10-08 Thread Viresh Kumar
On 08-10-18, 09:10, Anson Huang wrote: > On i.MX6UL/i.MX6ULL, accessing OCOTP directly is wrong because > the ocotp clock needs to be enabled first. Add support for reading > OCOTP through the nvmem API, and keep the old method there to > support old dtb. > > Signed-off-by: Anson Huang > --- >

Re: protected pins and debugfs

2018-10-08 Thread Stephen Boyd
Quoting Sodagudi Prasad (2018-10-03 05:38:24) > > for (i = 0; i < chip->ngpio; i++, gpio++) { > + label = gpiochip_is_requested(chip, i); > + if (!label) > + continue; > msm_gpio_dbg_show_one(s, NULL, chip, i, gpio); > -

[PATCH v11 2/3]: perf record: enable asynchronous trace writing

2018-10-08 Thread Alexey Budankov
Trace file offset is read once before mmaps iterating loop and written back after all performance data enqueued for aio writing. Trace file offset is incremented linearly after every successful aio write operation. record__aio_sync() blocks till completion of started AIO operation and then

Re: [POC][RFC][PATCH 1/2] jump_function: Addition of new feature "jump_function"

2018-10-08 Thread Peter Zijlstra
On Sat, Oct 06, 2018 at 09:39:05AM -0400, Steven Rostedt wrote: > On Sat, 6 Oct 2018 14:12:11 +0200 > Peter Zijlstra wrote: > > > On Fri, Oct 05, 2018 at 09:51:11PM -0400, Steven Rostedt wrote: > > > +#define arch_dynfunc_trampoline(name, def) \ > > > + asm volatile (

Re: [PATCH 2/2] clk: qcom: gcc: Add global clock controller driver for QCS404

2018-10-08 Thread Taniya Das
On 10/7/2018 7:01 PM, Vinod wrote: Hi Taniya, Thanks for the review, It would be great if you can strip the irrelevant context while replying, makes it easier for people to follow. On 06-10-18, 23:28, Taniya Das wrote: +static struct clk_rcg2 pclk0_clk_src = { + .cmd_rcgr = 0x4d000,

Re: [PATCH v5 4/7] dmaengine: xilinx_dma: program hardware supported buffer length

2018-10-08 Thread Andrea Merello
On Tue, Oct 2, 2018 at 4:56 PM Vinod wrote: > > On 28-09-18, 08:53, Andrea Merello wrote: > > On Tue, Sep 18, 2018 at 6:25 PM Vinod wrote: > > > > > @@ -964,7 +968,7 @@ static int xilinx_dma_calc_copysize(struct > > > > xilinx_dma_chan *chan, > > > > int size,

Re: [PATCH v3 5/6] remoteproc: qcom: q6v5-pil: Register segments/dumpfn for coredump

2018-10-08 Thread Bjorn Andersson
On Fri 27 Jul 08:20 PDT 2018, Sibi Sankar wrote: > Register the MDT segments and custom dumpfn with the remoteproc core > dump functionality. > > Signed-off-by: Sibi Sankar > --- > drivers/remoteproc/qcom_q6v5_pil.c | 40 ++ > 1 file changed, 40 insertions(+) > >

linux-next: manual merge of the akpm-current tree with the compiler-attributes tree

2018-10-08 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got conflicts in: include/linux/compiler-gcc.h include/linux/compiler_types.h between commit: a3f8a30f3f00 ("Compiler Attributes: use feature checks instead of version checks") from the compiler-attributes tree and commit:

RE: [PATCH 2/2] clk: imx: imx7d: remove clks_init_on array

2018-10-08 Thread Stephen Boyd
Quoting Anson Huang (2018-09-03 00:20:53) > > > On 08/31/2018 03:29 AM, Stephen Boyd wrote: > > > > Quoting Peng Fan (2018-08-12 18:15:41) > > > >> Hi Anson, > > > >> > > > > -Original Message- > > > > From: Anson Huang > > > > Sent: 2018年8月8日 12:39 > > > > To:

Re: [PATCH v10 10/10] mtd: maps: gpio-addr-flash: Add support for device-tree devices

2018-10-08 Thread Ricardo Ribalda Delgado
Hi Boris On Fri, Oct 5, 2018 at 9:32 PM Boris Brezillon wrote: > > On Fri, 5 Oct 2018 20:12:43 +0200 > Ricardo Ribalda Delgado wrote: > > > > > I think I know what might be the issue. on cfi_cmdset_002.c > > cfi_amdstd_reset can be called in parrallel to cfi_amdstd_destroy. > > > > maybe we

Re: linux-next: build warning after merge of the nand tree

2018-10-08 Thread Miquel Raynal
Hi Stephen, Stephen Rothwell wrote on Mon, 8 Oct 2018 11:38:42 +1100: > Hi Boris, Boris is still there but I'm in charge of the NAND tree these days (and the one to blame too for this one :) ). > > After merging the nand tree, today's linux-next build (arm > multi_v7_defconfig) produced this

linux-next: build failure after merge of the akpm tree

2018-10-08 Thread Stephen Rothwell
Hi all, After merging the akpm tree, today's linux-next build (x86_64 allmodconfig) failed like this: arch/x86/mm/kaslr.c:26:10: fatal error: linux/bootmem.h: No such file or directory #include ^ Caused by patch "mm: remove include/linux/bootmem.h" interacting

Re: [POC][RFC][PATCH 1/2] jump_function: Addition of new feature "jump_function"

2018-10-08 Thread Andy Lutomirski
> On Oct 8, 2018, at 12:21 AM, Peter Zijlstra wrote: > >> On Sat, Oct 06, 2018 at 09:39:05AM -0400, Steven Rostedt wrote: >> On Sat, 6 Oct 2018 14:12:11 +0200 >> Peter Zijlstra wrote: >> On Fri, Oct 05, 2018 at 09:51:11PM -0400, Steven Rostedt wrote: +#define

Re: [tip:x86/mm] kdump, proc/vmcore: Enable kdumping encrypted memory with SME enabled

2018-10-08 Thread lijiang
在 2018年10月08日 16:00, Borislav Petkov 写道: > On Mon, Oct 08, 2018 at 03:11:56PM +0800, lijiang wrote: >> I used this ".config" to compile kernel in the attachment, and got a compile >> error. >> Would you like to have a try? >> >> [root@hp-dl385g10-03 linux]# make ARCH=i386 -j32 >> .. >> LD

Re: [PATCH] sched/dl : return accurate release rq lock info

2018-10-08 Thread Juri Lelli
On 06/10/18 09:08, Peng Hao wrote: > find_lock_later_rq may or not releease rq lock when return > later_rq=NULL, but it is fuzzy. > If not releasing rq lock, it is unnecessary to re-call > pick_next_pushable_dl_task. > > Signed-off-by: Peng Hao Subject has whitespaces problems and changelog

Re: [PATCH AUTOSEL 4.18 27/48] sound: enable interrupt after dma buffer initialization

2018-10-08 Thread Takashi Iwai
On Mon, 08 Oct 2018 11:34:12 +0200, Mark Brown wrote: > > On Fri, Oct 05, 2018 at 12:14:03PM -0400, Sasha Levin wrote: > > From: Yu Zhao > > > > [ Upstream commit b61749a89f826eb61fc59794d9e4697bd246eb61 ] > > > > In snd_hdac_bus_init_chip(), we enable interrupt before > >

[tip:x86/asm] x86/vdso: Introduce helper functions for CPU and node number

2018-10-08 Thread tip-bot for Chang S. Bae
Commit-ID: ffebbaedc8616cffe648202e364dce6a045d65a2 Gitweb: https://git.kernel.org/tip/ffebbaedc8616cffe648202e364dce6a045d65a2 Author: Chang S. Bae AuthorDate: Tue, 18 Sep 2018 16:08:58 -0700 Committer: Ingo Molnar CommitDate: Mon, 8 Oct 2018 10:41:10 +0200 x86/vdso: Introduce helper

Re: [PATCH v6 2/2] ThunderX2: Add Cavium ThunderX2 SoC UNCORE PMU driver

2018-10-08 Thread Ganapatrao Kulkarni
Hi Pranith, On Sat, Jul 7, 2018 at 11:22 AM Pranith Kumar wrote: > > Hi Ganapatrao, > > > On Wed, Jun 20, 2018 at 11:33 PM, Ganapatrao Kulkarni > wrote: > > > + > > +enum thunderx2_uncore_l3_events { > > + L3_EVENT_NONE, > > + L3_EVENT_NBU_CANCEL, > > + L3_EVENT_DIB_RETRY, > >

[tip:x86/asm] x86/vdso: Initialize the CPU/node NR segment descriptor earlier

2018-10-08 Thread tip-bot for Chang S. Bae
Commit-ID: b2e2ba578e016a091eb31565849990fe68c7c599 Gitweb: https://git.kernel.org/tip/b2e2ba578e016a091eb31565849990fe68c7c599 Author: Chang S. Bae AuthorDate: Tue, 18 Sep 2018 16:08:59 -0700 Committer: Ingo Molnar CommitDate: Mon, 8 Oct 2018 10:41:10 +0200 x86/vdso: Initialize the

RE: [PATCH 1/1] MAINTAINERS: imx: include drivers/firmware/imx path

2018-10-08 Thread A.s. Dong
> > diff --git a/MAINTAINERS b/MAINTAINERS index 9ad052a..d1fb824 100644 > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > @@ -1462,6 +1462,7 @@ F:arch/arm/mach-mxs/ > > F: arch/arm/boot/dts/imx* > > F: arch/arm/configs/imx*_defconfig > > F: drivers/clk/imx/ > > +F: drivers/firmware/imx/ > >

Re: [PATCH v8 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-10-08 Thread Niklas Cassel
On Mon, Oct 08, 2018 at 03:29:52PM +0530, Viresh Kumar wrote: > On 08-10-18, 10:40, Niklas Cassel wrote: > > > + ret = of_parse_phandle_with_args(cpu_np, "qcom,freq-domain", > > > + "#freq-domain-cells", 0, ); > > > > Hello Taniya, > > > > in your DT binding, you

Re: [PATCH v8 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-10-08 Thread Taniya Das
On 10/8/2018 4:08 PM, Niklas Cassel wrote: On Mon, Oct 08, 2018 at 03:29:52PM +0530, Viresh Kumar wrote: On 08-10-18, 10:40, Niklas Cassel wrote: + ret = of_parse_phandle_with_args(cpu_np, "qcom,freq-domain", + "#freq-domain-cells", 0, ); Hello

Re: [PATCH v11 2/3]: perf record: enable asynchronous trace writing

2018-10-08 Thread Jiri Olsa
On Mon, Oct 08, 2018 at 09:17:11AM +0300, Alexey Budankov wrote: SNIP > static int record__mmap_read_evlist(struct record *rec, struct perf_evlist > *evlist, > bool overwrite) > { > @@ -520,7 +644,10 @@ static int record__mmap_read_evlist(struct record *rec,

Re: [PATCH] KVM: LAPIC: Tune lapic_timer_advance_ns automatically

2018-10-08 Thread Wanpeng Li
On Mon, 8 Oct 2018 at 05:02, Liran Alon wrote: > > > > > On 28 Sep 2018, at 9:12, Wanpeng Li wrote: > > > > From: Wanpeng Li > > > > In cloud environment, lapic_timer_advance_ns is needed to be tuned for > > every CPU > > generations, and every host kernel versions(the > >

Re: [RFC v3 1/1] ns: add binfmt_misc to the user namespace

2018-10-08 Thread Jann Horn
On Sat, Oct 6, 2018 at 8:04 AM Andrei Vagin wrote: > On Thu, Oct 04, 2018 at 12:50:22AM +0200, Laurent Vivier wrote: > > This patch allows to have a different binfmt_misc configuration > > for each new user namespace. By default, the binfmt_misc configuration > > is the one of the host, but if

[PATCH] lib/vsprintf: Remove %pCr remnant in comment

2018-10-08 Thread Geert Uytterhoeven
Support for "%pCr" was removed, but a reference in a comment was forgotten. Fixes: 666902e42fd8344b ("lib/vsprintf: Remove atomic-unsafe support for %pCr") Signed-off-by: Geert Uytterhoeven --- Probably this wasn't noticed due to commit 5e4ee7b13b522d07 ("printk: synchronize %p formatting

linux-next: manual merge of the akpm tree with the jc_docs tree

2018-10-08 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm tree got conflicts in: Documentation/memory-hotplug.txt Documentation/admin-guide/mm/memory-hotplug.rst between commits: 6bf53999a3a2 ("docs: move memory hotplug description into admin-guide/mm") 98cee6742c80 ("docs/vm: split memory hotplug

Re: [PATCH 1/1] MAINTAINERS: imx: include drivers/firmware/imx path

2018-10-08 Thread Shawn Guo
On Sun, Oct 07, 2018 at 09:24:17PM +0800, Dong Aisheng wrote: > Due to newly added IMX SCU firmware support, let's add > drivers/firmware/imx into maintainership. > > Cc: Shawn Guo > Cc: Arnd Bergmann > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Dong Aisheng > --- > MAINTAINERS | 1 + >

Re: [PATCH v3] spi: spi-ep93xx: Use dma_data_direction for ep93xx_spi_dma_{finish,prepare}

2018-10-08 Thread Mika Westerberg
On Fri, Oct 05, 2018 at 12:25:09PM -0700, Nathan Chancellor wrote: > Clang warns when one enumerated type is implicitly converted to another. > > drivers/spi/spi-ep93xx.c:342:62: warning: implicit conversion from > enumeration type 'enum dma_transfer_direction' to different enumeration > type

Re: [PATCH RFC 1/1] hugetlbfs: introduce truncation/fault mutex to avoid races

2018-10-08 Thread Kirill A. Shutemov
On Sun, Oct 07, 2018 at 04:38:48PM -0700, Mike Kravetz wrote: > The following hugetlbfs truncate/page fault race can be recreated > with programs doing something like the following. > > A huegtlbfs file is mmap(MAP_SHARED) with a size of 4 pages. At > mmap time, 4 huge pages are reserved for the

[PATCH 02/10] swiotlb: mark is_swiotlb_buffer static

2018-10-08 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- include/linux/swiotlb.h | 1 - kernel/dma/swiotlb.c| 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h index 965be92c33b5..7ef541ce8f34 100644 --- a/include/linux/swiotlb.h +++

Re: [PATCH] md/bitmap: use mddev_suspend/resume instead of ->quiesce()

2018-10-08 Thread Jinpu Wang
On Fri, Sep 28, 2018 at 8:30 PM Shaohua Li wrote: > > On Thu, Sep 27, 2018 at 10:07:57AM +0200, Jack Wang wrote: > > From: Jack Wang > > > > After 9e1cc0a54556 ("md: use mddev_suspend/resume instead of ->quiesce()") > > We still have similar left in bitmap functions. > > > > Replace quiesce()

Re: [PATCH] mm, oom_adj: avoid meaningless loop to find processes sharing mm

2018-10-08 Thread Tetsuo Handa
On 2018/10/08 17:38, Yong-Taek Lee wrote: >> >> On 2018/10/08 15:14, Yong-Taek Lee wrote: On 2018/10/08 10:19, Yong-Taek Lee wrote: > @@ -1056,6 +1056,7 @@ static int __set_oom_adj(struct file *file, int > oom_adj, bool legacy) > struct mm_struct *mm = NULL; >

Re: [Ksummit-discuss] [PATCH 1/2] code-of-conduct: Fix the ambiguity about collecting email addresses

2018-10-08 Thread Mark Brown
On Mon, Oct 08, 2018 at 09:37:59AM +1000, Dave Airlie wrote: > On Mon, 8 Oct 2018 at 08:56, Al Viro wrote: > > We can surround it with "explanations" until we get something that more or > > less fits, but then we'd need to reanalyse them every time an upstream > > change gets merged. And the

Re: linux-next: manual merge of the tip tree with the pm tree

2018-10-08 Thread Andy Shevchenko
On Mon, Oct 08, 2018 at 12:05:02PM +0200, Rafael J. Wysocki wrote: > On Monday, October 8, 2018 4:40:20 AM CEST Stephen Rothwell wrote: > > > > --Sig_/8A/3tsSoWQOAryCmuI_nxw6 > > Content-Type: text/plain; charset=US-ASCII > > Content-Transfer-Encoding: quoted-printable > > > > Hi all, > > > >

Re: [PATCH] Video: vgastate: fixed a spacing coding style

2018-10-08 Thread Bartlomiej Zolnierkiewicz
On 08/24/2018 02:49 PM, Mehdi Bounya wrote: > Removed a space between function name and open parant. > > Signed-off-by: Mehdi Bounya Patch queued for 4.20, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics

[PATCH] staging: erofs: add SPDX identifer

2018-10-08 Thread Loic Tourlonias
Add SPDX identifier to simplify header and remove whole license text Signed-off-by: Loic Tourlonias --- drivers/staging/erofs/lz4defs.h | 23 ++- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/drivers/staging/erofs/lz4defs.h b/drivers/staging/erofs/lz4defs.h

Re: linux-next: manual merge of the drivers-x86 tree with the tip tree

2018-10-08 Thread Andy Shevchenko
On Mon, Oct 8, 2018 at 6:44 AM Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the drivers-x86 tree got a conflict in: > > drivers/platform/x86/intel_int0002_vgpio.c > > between commit: > > f2c4db1bd807 ("x86/cpu: Sanitize FAM6_ATOM naming") > > from the tip tree and

Re: linux-next: manual merge of the drivers-x86 tree with the tip tree

2018-10-08 Thread Andy Shevchenko
On Mon, Oct 8, 2018 at 6:48 AM Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the drivers-x86 tree got a conflict in: > > drivers/platform/x86/intel_mid_powerbtn.c > > between commit: > > f2c4db1bd807 ("x86/cpu: Sanitize FAM6_ATOM naming") > > from the tip tree and

Re: [PATCH v11 2/3]: perf record: enable asynchronous trace writing

2018-10-08 Thread Jiri Olsa
On Mon, Oct 08, 2018 at 09:17:11AM +0300, Alexey Budankov wrote: SNIP > static int record__mmap_read_evlist(struct record *rec, struct perf_evlist > *evlist, > bool overwrite) > { > @@ -520,7 +644,10 @@ static int record__mmap_read_evlist(struct record *rec,

Re: [PATCH v2 6/6] power: supply: add AC power supply driver for AXP813

2018-10-08 Thread Quentin Schulz
Hi Oskari, On Sun, Oct 07, 2018 at 12:18:36AM +0300, Oskari Lemmela wrote: > AXP813 and AXP803 PMICs can control input current and > minimum voltage. > > Both of these values are configurable. > > Signed-off-by: Oskari Lemmela > --- > drivers/power/supply/axp20x_ac_power.c | 92

Re: [PATCH] reset: socfpga: add an early reset driver for SoCFPGA

2018-10-08 Thread Philipp Zabel
Hi Dinh, On Fri, 2018-10-05 at 15:23 -0500, Dinh Nguyen wrote: > Hi Philipp, > > I apologize, but I just realized that I forgot to test this patch > against the SoCFPGA ARM64 platform. I just tested against that platform > and this patch is preventing that board from booting. > > I need to redo

Re: [tip:x86/mm] kdump, proc/vmcore: Enable kdumping encrypted memory with SME enabled

2018-10-08 Thread Borislav Petkov
On Mon, Oct 08, 2018 at 03:11:56PM +0800, lijiang wrote: > I used this ".config" to compile kernel in the attachment, and got a compile > error. > Would you like to have a try? > > [root@hp-dl385g10-03 linux]# make ARCH=i386 -j32 > .. > LD vmlinux.o > MODPOST vmlinux.o >

RE: [PATCH 2/2] clk: imx: imx7d: remove clks_init_on array

2018-10-08 Thread Anson Huang
Anson Huang Best Regards! > -Original Message- > From: Stephen Boyd > Sent: Monday, October 8, 2018 3:41 PM > To: ker...@pengutronix.de; linux-arm-ker...@lists.infradead.org; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > mturque...@baylibre.com; s.ha...@pengutronix.de;

Re: [PATCH] media: vivid: Support 480p for webcam capture

2018-10-08 Thread Kieran Bingham
On 06/10/18 11:29, Keiichi Watanabe wrote: > Hi all, > > On Fri, Oct 5, 2018 at 6:18 PM, Hans Verkuil wrote: >> On 10/03/18 09:08, Keiichi Watanabe wrote: >>> I think 480p is a common frame size and it's worth supporting in vivid. >>> But, my patch might be ad-hoc. Actually, I'm not sure which

Re: [PATCH] kasan: convert kasan/quarantine_lock to raw_spinlock

2018-10-08 Thread Dmitry Vyukov
On Fri, Oct 5, 2018 at 6:33 PM, Sebastian Andrzej Siewior wrote: > On 2018-10-05 18:30:18 [+0200], To Clark Williams wrote: >> This is the minimum to get this working on RT splat free. There is one >> memory deallocation with irqs off which should work on RT in its current >> way. >> Once this

Re: [PATCH v4 2/2] locking/pvqspinlock, hv: Enable PV qspinlock for Hyper-V

2018-10-08 Thread Juergen Gross
On 08/10/2018 10:29, Yi Sun wrote: > Follow PV spinlock mechanism to implement the callback functions > to allow the CPU idling and kicking operations on Hyper-V. > > Cc: "K. Y. Srinivasan" > Cc: Haiyang Zhang > Cc: Stephen Hemminger > Cc: Thomas Gleixner > Cc: Michael Kelley (EOSG) > Cc:

Re: [PATCH v2] mm: don't raise MEMCG_OOM event due to failed high-order allocation

2018-10-08 Thread Johannes Weiner
On Thu, Oct 04, 2018 at 09:41:09PM +, Roman Gushchin wrote: > I was reported that on some of our machines containers were restarted > with OOM symptoms without an obvious reason. Despite there were almost > no memory pressure and plenty of page cache, MEMCG_OOM event was > raised occasionally,

Re: [PATCH 2/2] irqchip: ti-sci-intr: Add support for Interrupt Router driver

2018-10-08 Thread Lokesh Vutla
Hi Marc, On 10/6/2018 3:25 PM, Marc Zyngier wrote: Hi Lokesh, On Sat, 06 Oct 2018 08:28:12 +0100, Lokesh Vutla wrote: Texas Instruments' K3 generation SoCs has an IP Interrupt Router that does allows for multiplexing of input interrupts to host interrupt controller. Interrupt Router inputs

Re: [PATCH 2/2] mmc: Add mmc_force_detect_change_begin / _end functions

2018-10-08 Thread Frieder Schrempf
Hi, On 27.09.2018 10:14, Maxime Ripard wrote: On Wed, Sep 26, 2018 at 10:19:22PM +0200, Hans de Goede wrote: On 26-09-18 16:44, Frieder Schrempf wrote: Hi, On Fri, Feb 09, 2018 at 03:01:00PM +0100, Ulf Hansson wrote: [...] I'd like to know if any progress has been made on that problem (I

Re: general protection fault in gcmaes_crypt_by_sg

2018-10-08 Thread Ard Biesheuvel
(add the TLS maintainers) On 6 October 2018 at 15:04, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:12ffaa1197f5 Add linux-next specific files for 20181005 > git tree: linux-next > console output:

Re: [PATCH v9 7/7] dt-bindings: ufshcd-pltfrm: Add core reset string

2018-10-08 Thread cang
On 2018-09-27 23:06, Rob Herring wrote: On Thu, Sep 20, 2018 at 09:28:00PM -0700, Can Guo wrote: From: Can Guo Add core reset support string for UFS. Signed-off-by: Amit Nischal Signed-off-by: Can Guo --- Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt | 7 +++ 1 file changed,

Re: [PATCH v2 5/6] mfd: axp20x: add support AXP803 AC and battery power supplies

2018-10-08 Thread Quentin Schulz
Hi Oskari, On Sun, Oct 07, 2018 at 12:18:35AM +0300, Oskari Lemmela wrote: > AXP803 is compatible with AXP813. > Adding needed cells for AC and battery power supplies. > > AXP813 AC power supply cell added. > > Signed-off-by: Oskari Lemmela > --- > drivers/mfd/axp20x.c | 22

Re: [PATCH 0/6] cpuidle: menu: Fixes, optimizations and cleanups

2018-10-08 Thread Rafael J. Wysocki
Hi Doug, On Mon, Oct 8, 2018 at 8:02 AM Doug Smythies wrote: > > On 2018.10.03 23:56 Rafael J. Wysocki wrote: > > On Tue, Oct 2, 2018 at 11:51 PM Rafael J. Wysocki > > wrote: > >> > >> Hi All, > >> > >> This series fixes a couple of issues with the menu governor, optimizes it > >> somewhat and

Re: [PATCH] staging: emxx_udc: remove unused code

2018-10-08 Thread Gustavo A. R. Silva
Hi, On 10/8/18 9:33 AM, Loic Tourlonias wrote: > Remove useless code inside if_0 endif > > Signed-off-by: Loic Tourlonias > --- > drivers/staging/emxx_udc/emxx_udc.h | 4 > 1 file changed, 4 deletions(-) > > diff --git a/drivers/staging/emxx_udc/emxx_udc.h >

Re: [tip:x86/hyperv] x86/hyperv: Enable PV qspinlock for Hyper-V

2018-10-08 Thread Yi Sun
On 18-10-02 13:38:55, Juergen Gross wrote: > > +static void hv_qlock_wait(u8 *byte, u8 val) > > +{ > > + unsigned long msr_val; > > + > > + if (READ_ONCE(*byte) != val) > > + return; > > + > > + /* > > +* Read HV_X64_MSR_GUEST_IDLE MSR can trigger the guest's > > +*

Re: [Ksummit-discuss] [PATCH] code-of-conduct: Remove explicit list of discrimination factors

2018-10-08 Thread Geert Uytterhoeven
Hi Josh, On Sun, Oct 7, 2018 at 1:35 PM Josh Triplett wrote: > On Sun, Oct 07, 2018 at 10:51:02AM +0200, Geert Uytterhoeven wrote: > > Providing an explicit list of discrimination factors may give the false > > impression that discrimination based on other unlisted factors would be > > allowed.

[tip:x86/asm] x86/fsgsbase/64: Introduce FS/GS base helper functions

2018-10-08 Thread tip-bot for Chang S. Bae
Commit-ID: b1378a561fd16afdd96ef0bc912b1bcd2b85a68e Gitweb: https://git.kernel.org/tip/b1378a561fd16afdd96ef0bc912b1bcd2b85a68e Author: Chang S. Bae AuthorDate: Tue, 18 Sep 2018 16:08:53 -0700 Committer: Ingo Molnar CommitDate: Mon, 8 Oct 2018 10:41:08 +0200 x86/fsgsbase/64: Introduce

Re: [PATCH v8 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-10-08 Thread Viresh Kumar
On 08-10-18, 12:38, Niklas Cassel wrote: > On Mon, Oct 08, 2018 at 03:29:52PM +0530, Viresh Kumar wrote: > > On 08-10-18, 10:40, Niklas Cassel wrote: > > > > + ret = of_parse_phandle_with_args(cpu_np, > > > > "qcom,freq-domain", > > > > +

[PATCH V2 1/1] MAINTAINERS: imx: include drivers/firmware/imx path

2018-10-08 Thread Dong Aisheng
Due to newly added IMX SCU firmware support, let's add drivers/firmware/imx into maintainership. Cc: Shawn Guo Cc: Arnd Bergmann Cc: linux-kernel@vger.kernel.org Signed-off-by: Dong Aisheng --- v2: * add missing include/linux/firmware/imx --- MAINTAINERS | 2 ++ 1 file changed, 2

Re: [PATCH 2/3] namei: implement AT_THIS_ROOT chroot-like path resolution

2018-10-08 Thread Jann Horn
On Sat, Oct 6, 2018 at 4:10 AM Aleksa Sarai wrote: > On 2018-10-05, Jann Horn wrote: > > > What if we took rename_lock (call it nd->r_seq) at the start of the > > > resolution, and then only tried the __d_path-style check > > > > > > if (read_seqretry(_lock, nd->r_seq) || > > >

Re: [PATCH v2 25/29] drm: sun4i: add quirks for TCON TOP

2018-10-08 Thread Chen-Yu Tsai
On Mon, Oct 8, 2018 at 6:20 PM Maxime Ripard wrote: > > On Mon, Oct 08, 2018 at 05:06:45PM +0800, Chen-Yu Tsai wrote: > > On Mon, Oct 8, 2018 at 4:51 PM Maxime Ripard > > wrote: > > > > > > On Sun, Oct 07, 2018 at 11:39:01AM +0200, Jernej Skrabec wrote: > > > > From: Icenowy Zheng > > > > > >

Re: [PATCH v11 1/3]: perf util: map data buffer for preserving collected data

2018-10-08 Thread Jiri Olsa
On Mon, Oct 08, 2018 at 09:14:29AM +0300, Alexey Budankov wrote: SNIP > diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c > index be440df29615..af2f8c965d7a 100644 > --- a/tools/perf/util/evlist.c > +++ b/tools/perf/util/evlist.c > @@ -1029,7 +1029,9 @@ int

Re: [PATCH v11 2/3]: perf record: enable asynchronous trace writing

2018-10-08 Thread Jiri Olsa
On Mon, Oct 08, 2018 at 09:17:11AM +0300, Alexey Budankov wrote: SNIP > struct option; > diff --git a/tools/perf/util/mmap.c b/tools/perf/util/mmap.c > index db8f16f8a363..ecaa5b5eb3ed 100644 > --- a/tools/perf/util/mmap.c > +++ b/tools/perf/util/mmap.c > @@ -367,6 +367,82 @@ int

CHECKPATCH: strange warning on alignment modifier

2018-10-08 Thread Igor Stoppa
Hi, I have the following fragment of code: +struct my_struct { + atomic_long_t l __aligned(sizeof(atomic_long_t)); +} __aligned(sizeof(atomic_long_t)); triggering this warning, when fed to checkpatch.pl: WARNING: function definition argument 'atomic_long_t' should also have an

Re: [PATCH v6 8/8] x86/vdso: Move out the CPU initialization

2018-10-08 Thread Ingo Molnar
* Chang S. Bae wrote: > The CPU and node number will be written, as early enough, > to the segment limit of per CPU data and TSC_AUX MSR entry. > The information has been retrieved by vgetcpu in user space > and will be also loaded from the paranoid entry, when > FSGSBASE enabled. > > The new

RE: Re: [PATCH] mm, oom_adj: avoid meaningless loop to find processes sharing mm

2018-10-08 Thread Yong-Taek Lee
> >On 2018/10/08 15:14, Yong-Taek Lee wrote: >>> On 2018/10/08 10:19, Yong-Taek Lee wrote: @@ -1056,6 +1056,7 @@ static int __set_oom_adj(struct file *file, int oom_adj, bool legacy) struct mm_struct *mm = NULL; struct task_struct *task; int err =

Re: linux-next: manual merge of the akpm tree with the jc_docs tree

2018-10-08 Thread David Hildenbrand
On 08/10/2018 10:13, Mike Rapoport wrote: > On Mon, Oct 08, 2018 at 06:38:40PM +1100, Stephen Rothwell wrote: >> Hi all, >> >> Today's linux-next merge of the akpm tree got conflicts in: >> >> Documentation/memory-hotplug.txt >> Documentation/admin-guide/mm/memory-hotplug.rst >> >> between

Re: [PATCH V3 2/13] KVM/MMU: Add tlb flush with range helper function

2018-10-08 Thread Tianyu Lan
Hi Paolo: Thanks for your review. Sorry for later response due to holiday. On Mon, Oct 1, 2018 at 11:26 PM Paolo Bonzini wrote: > > On 27/09/2018 05:48, Tianyu Lan wrote: > > + > > + if (range && kvm_x86_ops->tlb_remote_flush_with_range) { > > + /* > > +

Re: [PATCH AUTOSEL 4.18 28/48] sound: don't call skl_init_chip() to reset intel skl soc

2018-10-08 Thread Takashi Iwai
On Mon, 08 Oct 2018 11:34:25 +0200, Mark Brown wrote: > > On Fri, Oct 05, 2018 at 12:14:04PM -0400, Sasha Levin wrote: > > From: Yu Zhao > > > > [ Upstream commit 75383f8d39d4c0fb96083dd460b7b139fbdac492 ] > > > > Internally, skl_init_chip() calls snd_hdac_bus_init_chip() which > > 1) sets

Re: WARNING in request_end

2018-10-08 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:0238df646e62 Linux 4.19-rc7 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16daaa8540 kernel config: https://syzkaller.appspot.com/x/.config?x=88e9a8a39dc0be2d dashboard link:

Re: [PATCH 1/2] dt-bindings: irqchip: Introduce TISCI Interrupt router bindings

2018-10-08 Thread Lokesh Vutla
Hi Marc, On Saturday 06 October 2018 03:32 PM, Marc Zyngier wrote: On Sat, 06 Oct 2018 08:28:11 +0100, Lokesh Vutla wrote: Add the DT binding documentation for Interrupt router driver. Signed-off-by: Lokesh Vutla --- .../interrupt-controller/ti,sci-intr.txt | 83 +++

Re: [PATCH] media: vivid: Support 480p for webcam capture

2018-10-08 Thread Kieran Bingham
On 08/10/18 10:00, Hans Verkuil wrote: > On 10/08/2018 10:35 AM, Kieran Bingham wrote: >> On 06/10/18 11:29, Keiichi Watanabe wrote: >>> Hi all, >>> >>> On Fri, Oct 5, 2018 at 6:18 PM, Hans Verkuil wrote: On 10/03/18 09:08, Keiichi Watanabe wrote: > I think 480p is a common frame size

  1   2   3   4   5   6   7   8   9   10   >