[PATCH v5 0/2] mtd: rawnand: meson: add Amlogic NAND driver support

2018-10-17 Thread Jianxin Pan
These two patches try to add initial NAND driver support for Amlogic Meson SoCs, current it has been tested on GXL(p212) and AXG(s400) platform. Changes since v4 at [5]: - remove the initial default divider(CLK_DIV_MASK) in meson_nfc_clk_init() - dt-bindings: remove staus, add "rx" and "tx" c

[PATCH V2 3/5] Drivers: hv: kvp: Fix the recent regression caused by incorrect clean-up

2018-10-17 Thread kys
From: Dexuan Cui In kvp_send_key(), we do need call process_ib_ipinfo() if message->kvp_hdr.operation is KVP_OP_GET_IP_INFO, because it turns out the userland hv_kvp_daemon needs the info of operation, adapter_id and addr_family. With the incorrect fc62c3b1977d, the host can't get the VM's IP via

[PATCH V2 5/5] Tools: hv: kvp: Fix a warning of buffer overflow with gcc 8.0.1

2018-10-17 Thread kys
From: Dexuan Cui The patch fixes: hv_kvp_daemon.c: In function 'kvp_set_ip_info': hv_kvp_daemon.c:1305:2: note: 'snprintf' output between 41 and 4136 bytes into a destination of size 4096 The "(unsigned int)str_len" is to avoid: hv_kvp_daemon.c:1309:30: warning: comparison of integer expressio

[PATCH v5 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-10-17 Thread Jianxin Pan
From: Liang Yang Add initial support for the Amlogic NAND flash controller which found in the Meson-GXBB/GXL/AXG SoCs. Signed-off-by: Liang Yang Signed-off-by: Yixun Lan Signed-off-by: Jianxin Pan --- drivers/mtd/nand/raw/Kconfig | 10 + drivers/mtd/nand/raw/Makefile |1 + dri

[PATCH V2 2/5] hv_utils: update name in struct hv_driver util_drv

2018-10-17 Thread kys
From: Haiyang Zhang The correct module name is hv_utils. This patch corrects the name in struct hv_driver util_drv. Signed-off-by: Haiyang Zhang Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hv/hv_util.c b/

[PATCH V2 1/5] Drivers: hv: vmbus: Get rid of unnecessary state in hv_context

2018-10-17 Thread kys
From: "K. Y. Srinivasan" Currently we are replicating state in struct hv_context that is unnecessary - this state can be retrieved from the hypervisor. Furthermore, this is a per-cpu state that is being maintained as a global state in struct hv_context. Get rid of this state in struct hv_context.

Re: [PATCH 2/7] tty: Remove trailing whitespace

2018-10-17 Thread Greg Kroah-Hartman
On Wed, Oct 17, 2018 at 10:21:25AM +1100, Tobin C. Harding wrote: > From: "Tobin C. Harding" > > Currently files under drivers/tty/ contain trailing whitespace. This is > easy to fix and easy to review so lets do it now before we do other > kernel-docs cleanups. > > Signed-off-by: Tobin C. Hard

[PATCH V2 0/5] Drivers: hv: Miscellaneous fixes

2018-10-17 Thread kys
From: "K. Y. Srinivasan" Miscellaneous fixes. V2: Addressed comments from Greg. Dexuan Cui (3): Drivers: hv: kvp: Fix the recent regression caused by incorrect clean-up Drivers: hv: kvp: Use %u to print U32 Tools: hv: kvp: Fix a warning of buffer overflow with gcc 8.0.1 Haiyang Zhang

Re: Crash in msm serial on dragonboard with ftrace bootargs

2018-10-17 Thread Sai Prakash Ranjan
On 10/18/2018 8:03 AM, Steven Rostedt wrote: On Wed, 17 Oct 2018 00:36:05 +0530 Sai Prakash Ranjan wrote: On 10/17/2018 12:33 AM, Steven Rostedt wrote: On Wed, 17 Oct 2018 00:31:03 +0530 Sai Prakash Ranjan wrote: Haa seems like you are right! With "ftrace=function ftrace_filter=msm_read

[PATCH V2 4/5] Drivers: hv: kvp: Use %u to print U32

2018-10-17 Thread kys
From: Dexuan Cui I didn't find a real issue. Let's just make it consistent with the next "case REG_U64:" where %llu is used. Signed-off-by: Dexuan Cui Cc: K. Y. Srinivasan Cc: Haiyang Zhang Cc: Stephen Hemminger Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_kvp.c | 2 +- 1 file changed

Re: [PATCH] Input: pm8941-pwrkey - Add pms405 pwrkey support

2018-10-17 Thread Vinod
On 19-09-18, 18:49, Bjorn Andersson wrote: > From: Vinod Koul > > Update the binding and driver for pms405 pwrkey. Rob, Dmitry Gentle reminder for this patch... > Signed-off-by: Vinod Koul > Signed-off-by: Bjorn Andersson > --- > Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.tx

Re: [PATCH v3] mm: memcontrol: Don't flood OOM messages with no eligible task.

2018-10-17 Thread Tetsuo Handa
Sergey Senozhatsky wrote: > To my personal taste, "baud rate of registered and enabled consoles" > approach is drastically more relevant than hard coded 10 * HZ or > 60 * HZ magic numbers... But not in the form of that "min baud rate" > brain fart, which I have posted. I'm saying that my 60 * HZ i

Re: [GIT PULL 00/11] perf/urgent fixes

2018-10-17 Thread Ingo Molnar
> Merge tag 'perf-urgent-for-mingo-4.19-20181005' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent > (2018-10-05 18:14:00 +0200) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/li

Re: [PATCH 2/4] Renames variable to fix shadow warning.

2018-10-17 Thread Ingo Molnar
* Leonardo Bras wrote: > Thanks Ingo, > On Wed, Oct 17, 2018 at 3:01 AM Ingo Molnar wrote: > > > > > > * Leonardo Brás wrote: > > > > > Renames the char variable to avoid shadowing a variable previously > > > declared on this function. > > > > > > Signed-off-by: Leonardo Brás > > > --- > > >

Re: [PATCH 2/7] tty: Remove trailing whitespace

2018-10-17 Thread Tobin C. Harding
On Thu, Oct 18, 2018 at 07:19:33AM +0200, Greg Kroah-Hartman wrote: > On Wed, Oct 17, 2018 at 10:21:25AM +1100, Tobin C. Harding wrote: > > From: "Tobin C. Harding" > > > > Currently files under drivers/tty/ contain trailing whitespace. This is > > easy to fix and easy to review so lets do it no

Attn: Sir

2018-10-17 Thread May T. Lee
Attn: Sir, We have gone through your country’s investment profile and history and we are interested to invest in it, we will be willing to partner with you and invest a substantial amount of money in your company if you have an existing company or we can also partner with you to set up a new on

Re: [PATCH v4 0/7] AXP8x3 AC and battery power supply support

2018-10-17 Thread Vasily Khoruzhick
On Saturday, October 13, 2018 1:08:41 AM PDT Oskari Lemmela wrote: > AXP813 AC power supply support with input current and > voltage limiting support. > > AXP803 AC and battery power supply support. > > Changes in v4: > * Change order of axp20x-gpio in axp20x.c > * Fix indentation and spaces to t

RE: [PATCH] tpm: tpm_try_transmit() refactor error flow.

2018-10-17 Thread Winkler, Tomas
> -Original Message- > From: Jarkko Sakkinen [mailto:jarkko.sakki...@linux.intel.com] > Sent: Thursday, October 18, 2018 03:15 > To: Winkler, Tomas > Cc: Jarkko Sakkinen ; Jason Gunthorpe > ; Nayna Jain ; Usyskin, > Alexander ; Struk, Tadeusz > ; linux-integr...@vger.kernel.org; linux-s

Re: [PATCH] Staging iio/adc: fixes parenthesis alignment

2018-10-17 Thread Dan Carpenter
I feel like these are overly nit-picky... I understand that everyone is picky about different things. For example, I have a prefered style for error handling. So two days ago there was a new staging driver and it used label name like "goto kmalloc_failed;" and I looked until I found an error han

Re: [PATCH v3] mm: memcontrol: Don't flood OOM messages with no eligible task.

2018-10-17 Thread Sergey Senozhatsky
On (10/18/18 14:26), Tetsuo Handa wrote: > Sergey Senozhatsky wrote: > > To my personal taste, "baud rate of registered and enabled consoles" > > approach is drastically more relevant than hard coded 10 * HZ or > > 60 * HZ magic numbers... But not in the form of that "min baud rate" > > brain fart,

[tip:perf/urgent] tools headers uapi: Sync kvm.h copy

2018-10-17 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 25fe15e54fe5e15b4963fe101f7cd8bad4f11393 Gitweb: https://git.kernel.org/tip/25fe15e54fe5e15b4963fe101f7cd8bad4f11393 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 8 Oct 2018 12:09:14 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Oct 2018 12:09:14 -0300 too

[tip:perf/urgent] tools arch uapi: Sync the x86 kvm.h copy

2018-10-17 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4312f2ab136a5f1a7b247f6e4a75b95afaf9d23b Gitweb: https://git.kernel.org/tip/4312f2ab136a5f1a7b247f6e4a75b95afaf9d23b Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 8 Oct 2018 12:04:51 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Oct 2018 12:04:51 -0300 too

[tip:perf/urgent] perf vendor events intel: Fix wrong filter_band* values for uncore events

2018-10-17 Thread tip-bot for Jiri Olsa
Commit-ID: 94aafb74cee0002e2f2eb6dc5376f54d5951ab4d Gitweb: https://git.kernel.org/tip/94aafb74cee0002e2f2eb6dc5376f54d5951ab4d Author: Jiri Olsa AuthorDate: Wed, 10 Oct 2018 10:03:39 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 11 Oct 2018 11:13:23 -0300 perf vendor even

[tip:perf/urgent] Revert "perf tools: Fix PMU term format max value calculation"

2018-10-17 Thread tip-bot for Jiri Olsa
Commit-ID: 1b9caa10b31dda0866f4028e4bfb923fb6e4072f Gitweb: https://git.kernel.org/tip/1b9caa10b31dda0866f4028e4bfb923fb6e4072f Author: Jiri Olsa AuthorDate: Wed, 3 Oct 2018 09:20:46 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 9 Oct 2018 10:48:55 -0300 Revert "perf tools

[tip:perf/urgent] perf tools: Fix use of alternatives to find JDIR

2018-10-17 Thread tip-bot for Jarod Wilson
Commit-ID: 36b8d4628d3cc8f5a748e508cce8673bc00fc63c Gitweb: https://git.kernel.org/tip/36b8d4628d3cc8f5a748e508cce8673bc00fc63c Author: Jarod Wilson AuthorDate: Thu, 6 Sep 2018 18:18:12 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 16 Oct 2018 12:06:47 -0300 perf tools: Fi

[tip:perf/urgent] perf tools: Fix tracing_path_mount proper path

2018-10-17 Thread tip-bot for Jiri Olsa
Commit-ID: c458a6206d2a8600934617ccf88ba7d3a030faba Gitweb: https://git.kernel.org/tip/c458a6206d2a8600934617ccf88ba7d3a030faba Author: Jiri Olsa AuthorDate: Tue, 16 Oct 2018 13:48:18 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 16 Oct 2018 12:27:46 -0300 perf tools: Fix

[tip:perf/urgent] perf cpu_map: Align cpu map synthesized events properly.

2018-10-17 Thread tip-bot for David Miller
Commit-ID: 0ed149cf5239cc6e7e65bf00f769e8f1e91076c0 Gitweb: https://git.kernel.org/tip/0ed149cf5239cc6e7e65bf00f769e8f1e91076c0 Author: David Miller AuthorDate: Thu, 11 Oct 2018 22:46:55 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 16 Oct 2018 12:30:03 -0300 perf cpu_map:

[tip:perf/urgent] perf tools: Pass build flags to traceevent build

2018-10-17 Thread tip-bot for Jiri Olsa
Commit-ID: 298faf53200fc02af38d32715697df6e661c1257 Gitweb: https://git.kernel.org/tip/298faf53200fc02af38d32715697df6e661c1257 Author: Jiri Olsa AuthorDate: Tue, 16 Oct 2018 17:06:07 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 16 Oct 2018 14:57:59 -0300 perf tools: Pass

[tip:perf/urgent] perf report: Don't crash on invalid inline debug information

2018-10-17 Thread tip-bot for Milian Wolff
Commit-ID: d4046e8e17b9f378cb861982ef71c63911b5dff3 Gitweb: https://git.kernel.org/tip/d4046e8e17b9f378cb861982ef71c63911b5dff3 Author: Milian Wolff AuthorDate: Wed, 26 Sep 2018 15:52:07 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 16 Oct 2018 14:52:21 -0300 perf report:

[tip:perf/urgent] perf evsel: Store ids for events with their own cpus perf_event__synthesize_event_update_cpus

2018-10-17 Thread tip-bot for Jiri Olsa
Commit-ID: 4ab8455f8bd83298bf7f67ab9357e3b1cc765c7d Gitweb: https://git.kernel.org/tip/4ab8455f8bd83298bf7f67ab9357e3b1cc765c7d Author: Jiri Olsa AuthorDate: Wed, 3 Oct 2018 23:20:52 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 16 Oct 2018 08:18:52 -0300 perf evsel: Store

Re: [PATCH 11/11] perf tools: Stop fallbacking to kallsyms for vdso symbols lookup

2018-10-17 Thread Adrian Hunter
On 18/10/18 1:55 AM, Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > David reports that: > > > Perf has this hack where it uses the kernel symbol map as a backup when > a symbol can't be found in the user's symbol table(s). I don't think this is a complete fix because it e

[tip:x86/urgent] x86/entry/64: Further improve paranoid_entry comments

2018-10-17 Thread tip-bot for Andy Lutomirski
Commit-ID: ae852495be365f6be433dde6629d3f0316f8efde Gitweb: https://git.kernel.org/tip/ae852495be365f6be433dde6629d3f0316f8efde Author: Andy Lutomirski AuthorDate: Sun, 14 Oct 2018 11:38:18 -0700 Committer: Ingo Molnar CommitDate: Wed, 17 Oct 2018 12:30:27 +0200 x86/entry/64: Further i

[tip:x86/urgent] x86/entry/32: Clear the CS high bits

2018-10-17 Thread tip-bot for Jan Kiszka
Commit-ID: 04f4f954b69526d7af8ffb8e5780f08b8a6cda2d Gitweb: https://git.kernel.org/tip/04f4f954b69526d7af8ffb8e5780f08b8a6cda2d Author: Jan Kiszka AuthorDate: Mon, 15 Oct 2018 16:09:29 +0200 Committer: Ingo Molnar CommitDate: Wed, 17 Oct 2018 12:30:20 +0200 x86/entry/32: Clear the CS h

[tip:x86/urgent] x86/fpu: Remove second definition of fpu in __fpu__restore_sig()

2018-10-17 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 6aa676761d4c1acfa31320e55fa1f83f3fcbbc7a Gitweb: https://git.kernel.org/tip/6aa676761d4c1acfa31320e55fa1f83f3fcbbc7a Author: Sebastian Andrzej Siewior AuthorDate: Tue, 16 Oct 2018 22:25:24 +0200 Committer: Ingo Molnar CommitDate: Wed, 17 Oct 2018 12:30:31 +0200 x86/fpu: Remo

[tip:x86/urgent] x86/fpu: Fix i486 + no387 boot crash by only saving FPU registers on context switch if there is an FPU

2018-10-17 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 2224d616528194b02424c91c2ee254b3d29942c3 Gitweb: https://git.kernel.org/tip/2224d616528194b02424c91c2ee254b3d29942c3 Author: Sebastian Andrzej Siewior AuthorDate: Tue, 16 Oct 2018 22:25:25 +0200 Committer: Ingo Molnar CommitDate: Wed, 17 Oct 2018 12:30:38 +0200 x86/fpu: Fix

[tip:perf/urgent] perf tools: Stop fallbacking to kallsyms for vdso symbols lookup

2018-10-17 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: edeb0c90df3581b821a764052d185df985f8b8dc Gitweb: https://git.kernel.org/tip/edeb0c90df3581b821a764052d185df985f8b8dc Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 16 Oct 2018 17:08:29 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Oct 2018 15:56:15 -0300 p

Re: possible deadlock in ovl_copy_up_start

2018-10-17 Thread Amir Goldstein
On Thu, Oct 18, 2018 at 7:48 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:c343db455eb3 Merge branch 'parisc-4.19-3' of git://git.ker.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=167d08ee40 > kernel config:

[PATCH] arm: kernel: add support for detecting armv8 cpu cache information

2018-10-17 Thread Teng Fei Fan
This patch adds support for cacheinfo on 32bit ARMv8 platform. Add support for detecting cpu cache information cpu cache information via sysfs for 32bit armv8 platform. And export to sysfs then userspace can get from /sys/devices/system/cpu/cpuX/cache. Signed-off-by: Teng Fei Fan Cc: Russell King

Re: [PATCH V2 5/5] Tools: hv: kvp: Fix a warning of buffer overflow with gcc 8.0.1

2018-10-17 Thread Dan Carpenter
On Thu, Oct 18, 2018 at 05:09:32AM +, k...@linuxonhyperv.com wrote: > From: Dexuan Cui > > The patch fixes: > > hv_kvp_daemon.c: In function 'kvp_set_ip_info': > hv_kvp_daemon.c:1305:2: note: 'snprintf' output between 41 and 4136 bytes > into a destination of size 4096 > > The "(unsigned in

Re: [PATCH 4.14 000/109] 4.14.77-stable review

2018-10-17 Thread Jon Hunter
On 16/10/2018 18:04, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.77 release. > There are 109 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 s

[PATCH] clocksource: imx-gpt: add support for ARM64

2018-10-17 Thread Anson Huang
This patch allows building and compile-testing the i.MX GPT driver also for ARM64. The delay_timer is only supported on ARMv7. Signed-off-by: Anson Huang --- drivers/clocksource/Kconfig | 2 +- drivers/clocksource/timer-imx-gpt.c | 4 2 files changed, 5 insertions(+), 1 deletion(-)

Re: [RFC v4 PATCH 2/5] mm/__free_one_page: skip merge for order-0 page unless compaction failed

2018-10-17 Thread Aaron Lu
On Wed, Oct 17, 2018 at 07:03:30PM +0200, Vlastimil Babka wrote: > On 10/17/18 3:58 PM, Mel Gorman wrote: > > Again, as compaction is not guaranteed to find the pageblocks, it would > > be important to consider whether a) that matters or b) find an > > alternative way of keeping unmerged buddies on

Re: [PATCH v2] x86: ptrace.h: Make regs_get_kernel_stack_nth() not fault on bad stack

2018-10-17 Thread Masami Hiramatsu
On Wed, 17 Oct 2018 16:59:51 -0400 Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > Andy had some concerns about using regs_get_kernel_stack_nth() in a new > function regs_get_kernel_argument() as if there's any error in the stack > code, it could cause a bad memory access. To be on

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-17 Thread Ingo Molnar
* Thara Gopinath wrote: > On 10/16/2018 03:33 AM, Ingo Molnar wrote: > > > > * Thara Gopinath wrote: > > > Regarding testing, basic build, boot and sanity testing have been > performed on hikey960 mainline kernel with debian file system. > Further aobench (An occlusion rendere

[PATCH v4 2/3] driver core: add deferring probe reason to devices_deferred property

2018-10-17 Thread Andrzej Hajda
/sys/kernel/debug/devices_deferred property contains list of deferred devices. This list does not contain reason why the driver deferred probe, the patch improves it. The natural place to set the reason is probe_err function introduced recently, ie. if probe_err will be called with -EPROBE_DEFER in

[PATCH] clk: imx7d: remove UART1 clock setting

2018-10-17 Thread Anson Huang
There is clock assignment in dtb for UART1, so setting UART1 clock in clock driver is NOT necessary. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx7d.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c index adb08f6..06c105d 1

Re: [PATCH v3] mm: memcontrol: Don't flood OOM messages with no eligible task.

2018-10-17 Thread Michal Hocko
On Thu 18-10-18 11:46:50, Tetsuo Handa wrote: > Sergey Senozhatsky wrote: > > On (10/17/18 12:28), Michal Hocko wrote: > > > > Michal proposed ratelimiting dump_header() [2]. But I don't think that > > > > that patch is appropriate because that patch does not ratelimit > > > > > > > > "%s invoke

Re: [PATCH 2/5] mm/memory_hotplug: Create add/del_device_memory functions

2018-10-17 Thread Oscar Salvador
On Wed, Oct 17, 2018 at 11:45:50AM +0200, David Hildenbrand wrote: > Here you go ;) > > Reviewed-by: David Hildenbrand thanks! > I'm planning to look into the other patches as well, but I'll be busy > with traveling and KVM forum the next 1.5 weeks. No need to hurry, this can wait. -- Oscar

[PATCH v3 2/2] selftests/memfd: Add tests for F_SEAL_FS_WRITE seal

2018-10-17 Thread Joel Fernandes (Google)
Add tests to verify sealing memfds with the F_SEAL_FS_WRITE works as expected. Cc: dan...@google.com Cc: minc...@kernel.org Reviewed-by: John Stultz Signed-off-by: Joel Fernandes (Google) --- tools/testing/selftests/memfd/memfd_test.c | 74 ++ 1 file changed, 74 insertions(+

[PATCH v3 1/2] mm: Add an F_SEAL_FUTURE_WRITE seal to memfd

2018-10-17 Thread Joel Fernandes (Google)
Android uses ashmem for sharing memory regions. We are looking forward to migrating all usecases of ashmem to memfd so that we can possibly remove the ashmem driver in the future from staging while also benefiting from using memfd and contributing to it. Note staging drivers are also not ABI and ge

<    4   5   6   7   8   9