Re: [PATCH v2 1/2] x86/acpi: add retrieval function for rsdp address

2018-01-31 Thread Rafael J. Wysocki
On Wed, Jan 31, 2018 at 4:43 PM, Andy Shevchenko wrote: > On Mon, Jan 29, 2018 at 5:02 AM, Rafael J. Wysocki wrote: >> On Sun, Jan 28, 2018 at 4:04 PM, Andy Shevchenko >> wrote: >>> On Fri, Jan 26, 2018 at 8:21 PM, Juergen Gross wrote: On 26/01/18 19:08, Andy Shevchenko wrote: > On Thu

Re: [PATCH 5/8] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-01-31 Thread Vincent Guittot
On 31 January 2018 at 16:27, Daniel Lezcano wrote: > On 31/01/2018 10:56, Vincent Guittot wrote: >> On 31 January 2018 at 10:50, Daniel Lezcano >> wrote: >>> On 31/01/2018 10:46, Vincent Guittot wrote: On 31 January 2018 at 10:33, Daniel Lezcano wrote: > On 31/01/2018 10:01, Vinc

Re: [PATCH v3 2/2] ARM: dts: imx25-pinfunc: Always set SION for eSDHC CMD

2018-01-31 Thread Uwe Kleine-König
On Wed, Jan 31, 2018 at 10:35:44PM +0100, Benoît Thébaudeau wrote: > The eSDHC does not work properly if the SION bit is not set for the > bidirectional CMD signal, whatever the eSDHC instance and the selected > pad. Therefore, setting SION is mandatory for all eSDHC CMD ports. Do > this for MX25_P

Re: [PATCH 4/4] sched/fair: Use a recently used CPU as an idle candidate and the basis for SIS

2018-01-31 Thread Rafael J. Wysocki
On Wednesday, January 31, 2018 11:17:10 AM CET Peter Zijlstra wrote: > On Wed, Jan 31, 2018 at 10:22:49AM +0100, Rafael J. Wysocki wrote: > > On Tuesday, January 30, 2018 2:15:31 PM CET Peter Zijlstra wrote: > > > > IA32_HWP_REQUEST has "Minimum_Performance", "Maximum_Performance" and > > > "Desir

Re: [PATCH 2/2] arm64: dts: exynos: add OF graph between USB-PHY and MUIC

2018-01-31 Thread Krzysztof Kozlowski
On Wed, Jan 31, 2018 at 4:57 PM, Andrzej Hajda wrote: > OF graph describes USB data lanes between USB-PHY and respective MUIC. > Since graph is present and DWC driver can use it to get extcon, obsolete > extcon property can be removed. > > Signed-off-by: Andrzej Hajda > --- > arch/arm64/boot/dts

[PATCH] drm/panel: lvds: tidyup header explanation

2018-01-31 Thread Kuninori Morimoto
From: Kuninori Morimoto panel-lvds.c is for LVDS Panel Driver, not R-Car Display Unit CRTCs Reported-by: Koji Matsuoka Signed-off-by: Kuninori Morimoto --- drivers/gpu/drm/panel/panel-lvds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-lvds.

[rcu:rcu/dev 48/48] kernel/rcu/tree_exp.h:407:3: note: in expansion of macro 'trace_printk'

2018-01-31 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/dev head: 32860a6da7c75039afea229ba396aeac3b708d6b commit: 32860a6da7c75039afea229ba396aeac3b708d6b [48/48] EXP rcu: Add trace_printk()s to probe expedited CPU selection config: sparc64-allyesconfig (attached as .

Re: [PATCHv2] tlv320dac33: Add device tree bindings

2018-01-31 Thread Peter Ujfalusi
On 2018-01-31 21:01, Pavel Machek wrote: > > This adds device tree bindings for tlv320dac33.c. Can you CC me for dac33 patches in the future, please? Acked-by: Peter Ujfalusi > Signed-off-by: Pavel Machek > > diff --git a/Documentation/devicetree/bindings/sound/tlv320dac33.txt > b/Documen

Re: general protection fault in __netlink_ns_capable

2018-01-31 Thread Eric Biggers
On Thu, Jan 04, 2018 at 10:14:38AM -0800, Andrei Vagin wrote: > On Thu, Jan 04, 2018 at 01:01:17PM +0100, Dmitry Vyukov wrote: > > On Wed, Jan 3, 2018 at 8:37 AM, Andrei Vagin wrote: > > >> > Hello, > > >> > > > >> > syzkaller hit the following crash on > > >> > 75aa5540627fdb3d8f86229776ea87f9952

Re: [PATCH] ACPI/PCI: pci_link: reduce verbosity when IRQ is enabled

2018-01-31 Thread Rafael J. Wysocki
On Mon, Jan 29, 2018 at 8:01 PM, Sinan Kaya wrote: > Rafael, > > On 1/16/2018 4:49 PM, Bjorn Helgaas wrote: >> On Tue, Jan 16, 2018 at 01:53:00PM -0500, Sinan Kaya wrote: >>> Correcting linux-pci email. >>> >>> On 1/16/2018 1:51 PM, Sinan Kaya wrote: When ACPI Link object is enabled, the mess

Re: BUG: unable to handle kernel paging request in __lock_acquire

2018-01-31 Thread Eric Biggers
On Fri, Dec 22, 2017 at 11:34:01PM -0800, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 6084b576dca2e898f5c101baef151f7bfdbb606d > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console o

[PATCH 0/2] Optimize the code of mem_map allocation in

2018-01-31 Thread Baoquan He
In 5-level paging mode, allocating memory with the size of NR_MEM_SECTIONS is a bad idea. So in this patchset, trying to optimize to save memory. Othersise kdump kernel can't boot up with normal crashkernel reservation setting. And for normal kernel, the 512M consumption is not also not wise, thoug

[PATCH 2/2] mm/sparse.c: Add nr_present_sections to change the mem_map allocation

2018-01-31 Thread Baoquan He
In sparse_init(), we allocate usemap_map and map_map which are pointer array with the size of NR_MEM_SECTIONS. The memory consumption can be ignorable in 4-level paging mode. While in 5-level paging, this costs much memory, 512M. Kdump kernel even can't boot up with a normal 'crashkernel=' setting.

Re: [PATCH v6 4/6] media: i2c: Add TDA1997x HDMI receiver driver

2018-01-31 Thread Hans Verkuil
On 02/01/2018 05:47 AM, Tim Harvey wrote: > Hans, > > You forgot to include v4l2-ctl-selection.cpp in your patch. You mean v4l2-ctl-subdev.cpp :-) Anyway, I plan on committing this to v4l2-ctl soon. I'll let you know when that's done. I added support for almost all subdev ioctls to v4l2-ctl. R

[PATCH 1/2] mm/sparsemem: Defer the ms->section_mem_map clearing a little later

2018-01-31 Thread Baoquan He
This will make sure number of sections marked as present won't be changed in sparse_init(), so that for_each_present_section_nr() can iterate each of them. This is preparation for later fix. Signed-off-by: Baoquan He --- mm/sparse-vmemmap.c | 1 - mm/sparse.c | 15 --- 2 fil

Re: KASAN: double-free or invalid-free in skb_free_head

2018-01-31 Thread Eric Biggers
On Sun, Dec 17, 2017 at 09:52:01PM -0800, syzbot wrote: > Hello, > > syzkaller hit the following crash on > f3b5ad89de16f5d42e8ad36fbdf85f705c1ae051 > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console ou

Re: scsi: sg: assorted memory corruptions

2018-01-31 Thread Dmitry Vyukov
On Thu, Feb 1, 2018 at 7:03 AM, Douglas Gilbert wrote: > On 2018-01-30 07:22 AM, Dmitry Vyukov wrote: >> >> Uh, I've answered this a week ago, but did not notice that Doug >> dropped everybody from CC. Reporting to all. >> >> On Mon, Jan 22, 2018 at 8:16 PM, Douglas Gilbert >> wrote: >>> >>> On 2

Re: BUG: unable to handle kernel NULL pointer dereference in page_mapping

2018-01-31 Thread Eric Biggers
On Sun, Dec 17, 2017 at 07:20:01AM -0800, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 41d8c16909ebda40f7b4982a7f5e2ad102705ade > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console o

Re: general protection fault in page_mapping

2018-01-31 Thread Eric Biggers
On Tue, Dec 12, 2017 at 09:03:01AM -0800, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 82bcf1def3b5f1251177ad47c44f7e17af039b4b > git://git.cmpxchg.org/linux-mmots.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is attached. > C repro

Re: [GIT PULL tools] Linux kernel memory model

2018-01-31 Thread Ingo Molnar
* Paul E. McKenney wrote: > > I believe these additional improvements (to the extent you agree with doing > > them!) > > could/should be done as add-on commits on top of this existing commit. > > Sounds good! > > Would you prefer a pull request or a patch series for these? Patch series woul

Re: [PATCH v11 2/6] mailbox: qcom: Create APCS child device for clock controller

2018-01-31 Thread Jassi Brar
On Thu, Feb 1, 2018 at 12:10 AM, Georgi Djakov wrote: > > Hi Jassi, > > On 01/27/2018 05:44 AM, Jassi Brar wrote: > > On Thu, Jan 4, 2018 at 10:26 PM, Georgi Djakov > > wrote: > >> Hi Jassi, > >> > >> On 12/29/2017 08:14 AM, Jassi Brar wrote: > >>> Hi Bjorn, > >>> > >>> On Sun, Dec 24, 2017 at 1

[rcu:rcu/dev 48/48] kernel/rcu/tree_exp.h:407:3: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int'

2018-01-31 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/dev head: 32860a6da7c75039afea229ba396aeac3b708d6b commit: 32860a6da7c75039afea229ba396aeac3b708d6b [48/48] EXP rcu: Add trace_printk()s to probe expedited CPU selection config: i386-randconfig-a0-201804 (attached

Re: [PATCH v2 16/16] arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support

2018-01-31 Thread Hanjun Guo
On 2018/2/1 10:40, Hanjun Guo wrote: > On 2018/1/31 23:05, Marc Zyngier wrote: >> On 31/01/18 14:38, Ard Biesheuvel wrote: >>> On 31 January 2018 at 14:35, Ard Biesheuvel >>> wrote: On 31 January 2018 at 14:11, Marc Zyngier wrote: > On 31/01/18 13:56, Hanjun Guo wrote: >> Hi Marc, >

Re: [PATCH] of: cache phandle nodes to decrease cost of of_find_node_by_phandle()

2018-01-31 Thread Chintan Pandya
On 2/1/2018 1:35 AM, frowand.l...@gmail.com wrote: From: Frank Rowand + +static void of_populate_phandle_cache(void) +{ + unsigned long flags; + phandle max_phandle; + u32 nodes = 0; + struct device_node *np; + + if (phandle_cache) + return; + +

Re: Backport d73e17281665 to v4.15 stable

2018-01-31 Thread Greg Kroah-Hartman
On Thu, Feb 01, 2018 at 06:50:52AM +0100, Lukas Wunner wrote: > Dear Greg, > > when you refill the patch queue for v4.15 stable one of these days, > please consider adding > > commit d73e172816652772114827abaa2dbc053eecbbd7 > Author: Lukas Wunner > Date: Fri Nov 17 00:54:53 2017 +0

[PATCH v2] iommu/vt-d: add NUMA awareness to intel_alloc_coherent()

2018-01-31 Thread Eric Dumazet
From: Eric Dumazet Some devices (like mlx4) try hard to allocate memory on selected NUMA node, but it turns out intel_alloc_coherent() is not NUMA aware yet. Note that dma_generic_alloc_coherent() in arch/x86/kernel/pci-dma.c gets this right. Signed-off-by: Eric Dumazet Cc: Benjamin Serebrin

drivers/gpu/drm/bridge/lvds-encoder.c:77: undefined reference to `devm_drm_panel_bridge_add'

2018-01-31 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 255442c93843f52b6891b21d0b485bf2c97f93c3 commit: dbb58bfd9ae6c885b2ca001a9a5ab8b881fb4ba9 drm/bridge: Fix lvds-encoder since the panel_bridge rework. date: 9 weeks ago config: x86_64-randconfig-s1-02011301

[PATCH v5] vfio/type1: Adopt fast IOTLB flush interface when unmap IOVAs

2018-01-31 Thread Suravee Suthikulpanit
VFIO IOMMU type1 currently upmaps IOVA pages synchronously, which requires IOTLB flushing for every unmapping. This results in large IOTLB flushing overhead when handling pass-through devices has a large number of mapped IOVAs. This can be avoided by using the new IOTLB flushing interface. Cc: Ale

Re: [PATCH v6 2/6] iommu/arm-smmu: Add pm_runtime/sleep ops

2018-01-31 Thread Vivek Gautam
On 1/31/2018 5:53 PM, Robin Murphy wrote: On 19/01/18 11:43, Vivek Gautam wrote: From: Sricharan R The smmu needs to be functional only when the respective master's using it are active. The device_link feature helps to track such functional dependencies, so that the iommu gets powered when t

RE: [PATCH] mm/swap: add function get_total_swap_pages to expose total_swap_pages

2018-01-31 Thread He, Roger
Hi Michal: How about only EXPORT_SYMBOL_GPL(total_swap_pages) ? Thanks Roger(Hongbo.He) -Original Message- From: He, Roger Sent: Wednesday, January 31, 2018 1:52 PM To: 'Michal Hocko' ; Koenig, Christian Cc: linux...@kvack.org; linux-kernel@vger.kernel.org; dri-de...@lists.freedesk

Re: [PATCH v3] staging: android: ion: Add implementation of dma_buf_vmap and dma_buf_vunmap

2018-01-31 Thread Alexey Skidanov
On 01/31/2018 03:00 PM, Greg KH wrote: On Wed, Jan 31, 2018 at 02:03:42PM +0200, Alexey Skidanov wrote: Any driver may access shared buffers, created by ion, using dma_buf_vmap and dma_buf_vunmap dma-buf API that maps/unmaps previosuly allocated buffers into the kernel virtual address space. Th

Re: scsi: sg: assorted memory corruptions

2018-01-31 Thread Douglas Gilbert
On 2018-01-30 07:22 AM, Dmitry Vyukov wrote: Uh, I've answered this a week ago, but did not notice that Doug dropped everybody from CC. Reporting to all. On Mon, Jan 22, 2018 at 8:16 PM, Douglas Gilbert wrote: On 2018-01-22 02:06 PM, Dmitry Vyukov wrote: On Mon, Jan 22, 2018 at 7:57 PM, Doug

Backport d73e17281665 to v4.15 stable

2018-01-31 Thread Lukas Wunner
Dear Greg, when you refill the patch queue for v4.15 stable one of these days, please consider adding commit d73e172816652772114827abaa2dbc053eecbbd7 Author: Lukas Wunner Date: Fri Nov 17 00:54:53 2017 +0100 Bluetooth: hci_serdev: Init hci_uart proto_lock to avoid oops to

Re: [PATCH 5/5] USB: serial: f81232: fix bulk_in/out size

2018-01-31 Thread Ji-Ze Hong (Peter Hong)
Hi Johan, Johan Hovold 於 2018/1/30 下午 12:11 寫道: On Mon, Jan 22, 2018 at 03:58:47PM +0800, Ji-Ze Hong (Peter Hong) wrote: diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c index a054f69446fd..f3ee537d643c 100644 --- a/drivers/usb/serial/f81232.c +++ b/drivers/usb/serial/f812

Re: [PATCH] ohci-hcd: Fix race condition caused by ohci_urb_enqueue() and io_watchdog_func()

2018-01-31 Thread Yoshida, Shigeru
Hi Alan, Thank you for your commenting. On Wed, 31 Jan 2018 11:02:47 -0500, Alan Stern wrote: >> To address above scenario, this patch introduces timer_running flag to >> ohci_hcd structure. Setting true to ohci->timer_running indicates >> io_watchdog_func() is scheduled or is running. ohci_urb

RE: [PATCH] mm/swap: add function get_total_swap_pages to expose total_swap_pages

2018-01-31 Thread He, Roger
But what we could do is to rely on a fixed limit like the Intel driver does and I suggested before. E.g. don't copy anything into a shmemfile when there is only x MB of swap space left. Here I think we can do it further, let the limit value scaling with total system memory. For

[PATCH] Staging: fwserial: remove unnecessary parenthesis

2018-01-31 Thread Quytelda Kahja
Removed parenthesis causing a coding style warning. Signed-off-by: Quytelda Kahja --- drivers/staging/fwserial/dma_fifo.c | 2 +- drivers/staging/fwserial/fwserial.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fwserial/dma_fifo.c b/drivers/staging/fwse

Re: [PATCH] x86: Align TLB invalidation info

2018-01-31 Thread Nadav Amit
Dave Hansen wrote: > On 01/31/2018 01:09 PM, Nadav Amit wrote: >>> You also don't have to exhaustively test this, but I'd love to see at >>> least a sanity check with a microbenchmark (or something) that, yes, >>> this does help *something*. Maybe it makes the remote >>> flush_tlb_func_common()

Re: [PATCH v3 16/21] fpga: dfl: add fpga region platform driver for FME

2018-01-31 Thread Wu Hao
On Wed, Jan 31, 2018 at 02:46:28PM -0600, Alan Tull wrote: > On Mon, Nov 27, 2017 at 12:42 AM, Wu Hao wrote: > > Hi Hao, > > Just fix the SPDX, otherwise it looks good. Sure, will fix it. Thanks for the review. :) Thanks Hao > > > This patch adds fpga region platform driver for FPGA Manageme

[tip:irq/urgent 2/2] kernel/irq/chip.c:300:3: warning: 'return' with no value, in function returning non-void

2018-01-31 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/urgent head: 55595980acc3232b018ba30df8ee6e0ac40ad184 commit: 55595980acc3232b018ba30df8ee6e0ac40ad184 [2/2] genirq: Make legacy autoprobing work again config: m68k-sun3_defconfig (attached as .config) compiler: m68k-linux-g

Re: [PATCH v3 19/21] fpga: dfl: afu: add FPGA_GET_API_VERSION/CHECK_EXTENSION ioctls support

2018-01-31 Thread Wu Hao
On Wed, Jan 31, 2018 at 08:52:36AM -0600, Alan Tull wrote: > On Mon, Nov 27, 2017 at 12:42 AM, Wu Hao wrote: > > Hi Hao, > > I'm adding my "Acked-by' below. When you post v4, please add it so > that we can keep track of what got acked. Sure, thanks a lot for the code review. :) Hao > > Than

Re: [PATCH v3 15/21] fpga: dfl: add fpga bridge platform driver for FME

2018-01-31 Thread Wu Hao
On Wed, Jan 31, 2018 at 09:16:58AM -0600, Alan Tull wrote: > On Mon, Nov 27, 2017 at 12:42 AM, Wu Hao wrote: > > Hi Hao, > > One fix below. Besides that, please add my ack. > > > This patch adds fpga bridge platform driver for FPGA Management Engine. > > It implements the enable_set call back

Re: [RESEND] phy: da8xx-usb: rename clock con_ids

2018-01-31 Thread Kishon Vijay Abraham I
On Thursday 25 January 2018 09:11 PM, Sekhar Nori wrote: > On Tuesday 23 January 2018 11:44 PM, David Lechner wrote: >> This renames the clock con_ids in the DA8XX USB PHY driver as well as >> the matching names in the mach clock registration code. >> >> This is in preparation for using device tr

Re: [PATCH v3 12/21] fpga: dfl: fme: add FPGA_GET_API_VERSION/CHECK_EXTENSION ioctls support

2018-01-31 Thread Wu Hao
On Wed, Jan 31, 2018 at 09:31:59AM -0600, Alan Tull wrote: > On Mon, Nov 27, 2017 at 12:42 AM, Wu Hao wrote: > > Hi Hao, > > One fix again, otherwise please add my ack to subsequent versions. Sure. Thanks for the review. > > > FPGA_GET_API_VERSION and FPGA_CHECK_EXTENSION ioctls are common on

Re: [perf] perf probe fails sometimes on 4.9

2018-01-31 Thread Pintu Kumar
Dear Masami, Now I am stuck again with 'perf test' failure on 4.9 # perf --version perf version 4.9.20- # perf test 16: Try 'import perf' in python, checking link problems : FAILED! 37.2: Test BPF prologue generation : FAILED! If you have any clue about these fail

Re: [PATCH v3 02/21] fpga: mgr: add region_id to fpga_image_info

2018-01-31 Thread Wu Hao
On Wed, Jan 31, 2018 at 09:35:20AM -0600, Alan Tull wrote: > On Mon, Dec 4, 2017 at 9:36 PM, Wu Hao wrote: > > On Mon, Dec 04, 2017 at 02:26:14PM -0600, Alan Tull wrote: > >> On Wed, Nov 29, 2017 at 12:11 AM, Moritz Fischer wrote: > >> > Hi Hao, > >> > > >> > On Mon, Nov 27, 2017 at 02:42:09PM +0

Re: [PATCH v4] vfio/type1: Adopt fast IOTLB flush interface when unmap IOVAs

2018-01-31 Thread Suravee Suthikulpanit
Alex, On 1/31/18 4:45 PM, Suravee Suthikulpanit wrote: Currently, VFIO IOMMU type1 unmaps IOVA pages synchronously, which requires IOTLB flush for every IOVA unmap. This results in a large number of IOTLB flushes during initialization of pass-through devices. This can be avoided using the async

Re: [PATCH 1/2] iommu: Fix iommu_unmap and iommu_unmap_fast return type

2018-01-31 Thread Suravee Suthikulpanit
Hi Robin, On 2/1/18 1:02 AM, Robin Murphy wrote: Hi Suravee, On 31/01/18 01:48, Suravee Suthikulpanit wrote: Currently, iommu_unmap and iommu_unmap_fast return unmapped pages with size_t.  However, the actual value returned could be error codes (< 0), which can be misinterpreted as large numbe

Re: [PATCH v5 2/5] KVM: x86: Add IBPB support

2018-01-31 Thread Tom Lendacky
On 1/31/2018 1:37 PM, KarimAllah Ahmed wrote: > From: Ashok Raj > > The Indirect Branch Predictor Barrier (IBPB) is an indirect branch > control mechanism. It keeps earlier branches from influencing > later ones. > > Unlike IBRS and STIBP, IBPB does not define a new mode of operation. > It's a c

linux-next: Tree for Feb 1

2018-01-31 Thread Stephen Rothwell
Hi all, Please do not add any v4.17 material to your linux-next included branches until after v4.16-rc1 has been released. News: I am now building everything with: gcc (Custom f51944395b6aa154) 7.3.1 20180130 ld (Custom 1e4d2a179d04d08b) 2.28.2.20170706 Changes since 20180131: The pci tree

Re: [PATCH v6 4/6] media: i2c: Add TDA1997x HDMI receiver driver

2018-01-31 Thread Tim Harvey
Tim Harvey - Principal Software Engineer Gateworks Corporation - http://www.gateworks.com/ 3026 S. Higuera St. San Luis Obispo CA 93401 805-781-2000 On Wed, Jan 31, 2018 at 5:22 AM, Hans Verkuil wrote: > On 01/31/18 08:38, Hans Verkuil wrote: >> On 01/31/2018 05:51 AM, Tim Harvey wrote: >>> On M

[PATCH] arm64: dts: msm8996: Fix wrong use of GIC_CPU_MASK_SIMPLE()

2018-01-31 Thread Rajendra Nayak
GICv3 does not have affinity bitmap in the binding for PPI interrupts. It can be specified using a 4th cell if needed as documented in the bindings. Clean up the wrong use of the affinity bitmap using the GIC_CPU_MASK_SIMPLE() macro Reported-by: Stephen Boyd Signed-off-by: Rajendra Nayak --- ar

Re: [PATCH v5 4/5] KVM: VMX: Allow direct access to MSR_IA32_SPEC_CTRL

2018-01-31 Thread Konrad Rzeszutek Wilk
> >From 9c19a8ac3f021efba6f70ad7e28f7ad06bb97e43 Mon Sep 17 00:00:00 2001 > From: KarimAllah Ahmed > Date: Mon, 29 Jan 2018 19:58:10 + > Subject: [PATCH] KVM: VMX: Allow direct access to MSR_IA32_SPEC_CTRL > > [ Based on a patch from Ashok Raj ] > > Add direct access to MSR_IA32_SPEC_CTRL f

Re: [RFC PATCH] rootfs: force mounting rootfs as tmpfs

2018-01-31 Thread Mimi Zohar
On Wed, 2018-01-31 at 21:03 -0500, Arvind Sankar wrote: > On Wed, Jan 31, 2018 at 05:48:20PM -0600, Rob Landley wrote: > > On 01/31/2018 04:07 PM, Mimi Zohar wrote: > > > On Wed, 2018-01-31 at 13:32 -0600, Rob Landley wrote:>> (The old "I > > > configured in tmpfs and am using rootfs but I want th

[PATCH] : fix language in comments

2018-01-31 Thread Randy Dunlap
From: Randy Dunlap Fix grammar and add an omitted word. Fixes: f9886bc50a8e ("signal: Document the strange si_codes used by ptrace event stops") Signed-off-by: Randy Dunlap Cc: Eric W. Biederman --- include/uapi/asm-generic/siginfo.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(

Assalam Alaikum

2018-01-31 Thread Eiman Yousef M A Al-muzafar
Assalam Alaikum, I am Eiman Yousef M A Al-muzafar, a Muslim woman from Qatar, I am contacting you regarding a relationship of trust and confidence for an inheritance. Please contact me on my private email for more details: eiman.y...@hotmail.com

Re: [PATCH 1/2] dmaengine: dmatest: change symbolic permissions to octal values

2018-01-31 Thread Joe Perches
On Thu, 2018-02-01 at 09:16 +0530, Viresh Kumar wrote: > On Thu, Feb 1, 2018 at 9:15 AM, Vinod Koul wrote: > > Right but lets no go changing to octals everywhere, new code sure :) > > I don't see plans to remove representations entirely from kernel yet. > > Sure. I was just pointing out to the di

[PATCH v3 1/3] dt-bindings: dmaengine: Add MediaTek High-Speed DMA controller bindings

2018-01-31 Thread sean.wang
From: Sean Wang Document the devicetree bindings for MediaTek High-Speed DMA controller which could be found on MT7623 SoC or other similar Mediatek SoCs. Signed-off-by: Sean Wang --- .../devicetree/bindings/dma/mtk-hsdma.txt | 33 ++ 1 file changed, 33 insertions(

[PATCH v3 3/3] dmaengine: mediatek: update MAINTAINERS entry with MediaTek DMA driver

2018-01-31 Thread sean.wang
From: Sean Wang I work for MediaTek and maintain SoC targeting to home gateway and also will keep extending and testing the function. Signed-off-by: Sean Wang --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c90687e..48f85f4 100644 --

Re: [PATCH 1/2] dmaengine: dmatest: change symbolic permissions to octal values

2018-01-31 Thread Viresh Kumar
On Thu, Feb 1, 2018 at 9:15 AM, Vinod Koul wrote: > Right but lets no go changing to octals everywhere, new code sure :) > I don't see plans to remove representations entirely from kernel yet. Sure. I was just pointing out to the discussion where the *preferred* thing happened.

[PATCH v3 0/3] add support for Mediatek High-Speed DMA controller on MT7622 and MT7623 SoC

2018-01-31 Thread sean.wang
From: Sean Wang Changes since v2: - remove extra tasklets and refactor driver for letting descriptors being processed ASAP. - add more comments stating the relevant logic - remove unused macro and variables - change to use the disclaimer with SPDX identifier - add mt7622 support - refine hardwar

[PATCH v3 2/3] dmaengine: mediatek: Add MediaTek High-Speed DMA controller for MT7622 and MT7623 SoC

2018-01-31 Thread sean.wang
From: Sean Wang MediaTek High-Speed DMA controller (HSDMA) on MT7622 and MT7623 SoC has a single ring is dedicated to memory-to-memory transfer through ring based descriptor management. Even though there is only one physical ring available inside HSDMA, the driver can be easily extended to the s

Re: [PATCH 1/2] dmaengine: dmatest: change symbolic permissions to octal values

2018-01-31 Thread Vinod Koul
On Wed, Jan 31, 2018 at 03:31:48PM +0530, Viresh Kumar wrote: > On Mon, Jan 29, 2018 at 10:18 AM, Vinod Koul wrote: > > On Mon, Jan 22, 2018 at 06:44:40PM +0800, Yang Shunyong wrote: > >> Current coding style prefers octal permissions values. This patch > >> changes symbolic permissions to octal v

Re: ppc elf_map breakage with MAP_FIXED_NOREPLACE

2018-01-31 Thread Anshuman Khandual
On 01/31/2018 06:49 PM, Michal Hocko wrote: > On Wed 31-01-18 10:35:38, Anshuman Khandual wrote: >> On 01/30/2018 03:12 PM, Michal Hocko wrote: > [...] >>> Anshuman, could you try to run >>> sed 's@^@@' /proc/self/smaps >>> on a system with MAP_FIXED_NOREPLACE reverted? >>> >> After reverting the f

Re: [PATCH 3/5] USB: serial: f81232: enable remote wakeup via RX/RI pin

2018-01-31 Thread Ji-Ze Hong (Peter Hong)
Hi Johan, Johan Hovold 於 2018/1/30 上午 11:57 寫道: On Mon, Jan 22, 2018 at 03:58:45PM +0800, Ji-Ze Hong (Peter Hong) wrote: The F81232 can do remote wakeup via RX/RI pin with pulse. This patch will use device_set_wakeup_enable to enable this feature. This is a policy decision that should be made

Re: [PATCH 2/2] gpio: Add GPIO driver for Spreadtrum SC9860 platform

2018-01-31 Thread Baolin Wang
On 31 January 2018 at 22:23, Andy Shevchenko wrote: > On Wed, Jan 31, 2018 at 4:01 AM, Baolin Wang wrote: >> On 31 January 2018 at 00:48, Andy Shevchenko >> wrote: >>> On Tue, Jan 30, 2018 at 2:07 PM, Baolin Wang wrote: The Spreadtrum SC9860 platform GPIO controller contains 16 groups and

[PATCH v2 2/2] gpio: Add GPIO driver for Spreadtrum SC9860 platform

2018-01-31 Thread Baolin Wang
The Spreadtrum SC9860 platform GPIO controller contains 16 groups and each group contains 16 GPIOs. Each GPIO can set input/output and has the interrupt capability. Signed-off-by: Baolin Wang Reviewed-by: Andy Shevchenko --- Changes since v1: - Change 'bool' to 'tristate'. - Add reviewed tag f

[PATCH v2 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation

2018-01-31 Thread Baolin Wang
This patch adds the device tree bindings for the Spreadtrum GPIO controller. The gpios will be supported by the GPIO generic library. Signed-off-by: Baolin Wang --- Changes since v1: - No updates. --- .../devicetree/bindings/gpio/gpio-sprd.txt | 28 1 file changed

Re: [PATCH v11 0/3] mm, x86, powerpc: Enhancements to Memory Protection Keys.

2018-01-31 Thread Michael Ellerman
Ingo Molnar writes: > * Ram Pai wrote: > >> This patch series provides arch-neutral enhancements to >> enable memory-keys on new architecutes, and the corresponding >> changes in x86 and powerpc specific code to support that. >> >> a) Provides ability to support upto 32 keys. PowerPC >> c

Re: mmotm 2018-01-31-16-51 uploaded (f2fs)

2018-01-31 Thread Randy Dunlap
On 01/31/2018 04:52 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2018-01-31-16-51 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of m

Re: [RFC][PATCH] printk: do not flush printk_safe from irq_work

2018-01-31 Thread Sergey Senozhatsky
On (01/30/18 13:23), Petr Mladek wrote: [..] > > If the system is in "big troubles" then what makes irq_work more > > possible? Local IRQs can stay disabled, just like preemption. I > > guess when the troubles are really big our strategy is the same > > for both wq and irq_work solutions - we keep

Re: [PATCH v2 16/16] arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support

2018-01-31 Thread Hanjun Guo
On 2018/1/31 23:05, Marc Zyngier wrote: > On 31/01/18 14:38, Ard Biesheuvel wrote: >> On 31 January 2018 at 14:35, Ard Biesheuvel >> wrote: >>> On 31 January 2018 at 14:11, Marc Zyngier wrote: On 31/01/18 13:56, Hanjun Guo wrote: > Hi Marc, > > On 2018/1/30 1:45, Marc Zyngier wr

[PATCH resend 1/3] staging: android: ion: Remove unused declaration ion_buffer_fault_user_mappings

2018-01-31 Thread Yisheng Xie
ion_buffer_fault_user_mappings's definition has been removed and not be used anymore, just remove its useless declaration. Signed-off-by: Yisheng Xie --- drivers/staging/android/ion/ion.h | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/android/ion/ion.h b/drivers/sta

[PATCH resend 3/3] staging: android: ion: Nuke ion_page_pool_init

2018-01-31 Thread Yisheng Xie
ion_page_pool.c now is used to apply pool APIs for system heap, which do not need do any initial at device_initcall. Therefore ion_page_pool_init can be nuked. Signed-off-by: Yisheng Xie --- drivers/staging/android/ion/ion_page_pool.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/dri

[PATCH resend 2/3] staging: android: ion: Remove unused include files for ion_page_pool.c

2018-01-31 Thread Yisheng Xie
After rewrite of ion_page_pool, some of its include file is no need anymore, just remove it. Signed-off-by: Yisheng Xie --- drivers/staging/android/ion/ion_page_pool.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/android/ion/ion_page_pool.c b/drivers/staging/android/io

Re: [RFC PATCH] rootfs: force mounting rootfs as tmpfs

2018-01-31 Thread Arvind Sankar
On Wed, Jan 31, 2018 at 05:48:20PM -0600, Rob Landley wrote: > On 01/31/2018 04:07 PM, Mimi Zohar wrote: > > On Wed, 2018-01-31 at 13:32 -0600, Rob Landley wrote:>> (The old "I > > configured in tmpfs and am using rootfs but I want that > rootfs > >> to be ramfs, not tmpfs" code doesn't seem to be

Re: [PATCH 1/2] lightnvm: remove mlc pairs structure

2018-01-31 Thread Javier González
> On 31 Jan 2018, at 16.35, Matias Bjørling wrote: > > On 01/31/2018 03:00 AM, Javier González wrote: >>> On 30 Jan 2018, at 21.26, Matias Bjørling wrote: >>> >>> The known implementations of the 1.2 specification, and upcoming 2.0 >>> implementation all expose a sequential list of pages to wri

[PATCH] x86/kvm: Update spectre-v1 mitigation

2018-01-31 Thread Dan Williams
Commit 75f139aaf896 "KVM: x86: Add memory barrier on vmcs field lookup" added a raw 'asm("lfence");' to prevent a bounds check bypass of 'vmcs_field_to_offset_table'. We can save an lfence in this path and just use the common array_index_nospec() helper designed for these types of fixes. Cc: Andre

linux-next: manual merge of the kvm tree with Linus' tree

2018-01-31 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in: virt/kvm/arm/arch_timer.c between commit: 36e5cfd410ad ("KVM: arm/arm64: Properly handle arch-timer IRQs after vtimer_save_state") from Linus' tree and commits: 70450a9fbe06 ("KVM: arm/arm64: Don't cache the timer IRQ

Re: [PATCH] tcp_lp: use 64-bit arithmetic instead of 32-bit

2018-01-31 Thread Andrew Lunn
On Wed, Jan 31, 2018 at 07:07:49PM -0600, Gustavo A. R. Silva wrote: > > Hi Alan, > > Quoting Alan Cox : > > >On Wed, 31 Jan 2018 18:24:07 -0600 > >"Gustavo A. R. Silva" wrote: > > > >>Cast to s64 some variables and a macro in order to give the > >>compiler complete information about the proper

RE: [PATCH] mm/hugetlb: Implement ASLR and topdown for hugetlb mappings

2018-01-31 Thread Zhang, Shile (NSB - CN/Hangzhou)
Hi, Russel Sorry for spam! I'm not sure if you got this patch I sent before. Could you please help to check if it still available? Many thanks! BR, Shile -Original Message- From: Zhang, Shile (NSB - CN/Hangzhou) Sent: Monday, November 13, 2017 1:32 PM To: Russell King Cc: linux-kerne

Re: [PATCH v3 0/3] Per-VCPU MSR bitmaps patches - topic branch for x86/pti

2018-01-31 Thread Konrad Rzeszutek Wilk
On Wed, Jan 31, 2018 at 04:09:21PM -0500, Paolo Bonzini wrote: > David and others, > > the following changes since commit ba804bb4b72e57374b5f567b783aa0298fba0ce6: > > Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-01-26 > 09:03:16 -0800) > > are available in the git repo

Re: [PATCH] iommu/vt-d: add NUMA awareness to intel_alloc_coherent()

2018-01-31 Thread Eric Dumazet
On Wed, 2018-01-31 at 14:45 -0800, Eric Dumazet wrote: > From: Eric Dumazet > > Some devices (like mlx4) try hard to allocate memory on selected > NUMA node, but it turns out intel_alloc_coherent() is not NUMA > aware yet. > > Note that dma_generic_alloc_coherent() in arch/x86/kernel/pci-dma.c >

[PATCH] KVM/x86: remove WARN_ON() for when vm_munmap() fails

2018-01-31 Thread Eric Biggers
From: Eric Biggers On x86, special KVM memslots such as the TSS region have anonymous memory mappings created on behalf of userspace, and these mappings are removed when the VM is destroyed. It is however possible for removing these mappings via vm_munmap() to fail. This can most easily happen

RE: [PATCH v3 2/4] drivers: firmware: xilinx: Add ZynqMP firmware driver

2018-01-31 Thread Jolly Shah
Hi Mark, Thanks for the review, > -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: Wednesday, January 31, 2018 10:20 AM > To: Jolly Shah > Cc: ard.biesheu...@linaro.org; mi...@kernel.org; > gre...@linuxfoundation.org; m...@codeblueprint.co.uk; > sudeep.ho...@a

Re: [GIT PULL tools] Linux kernel memory model

2018-01-31 Thread Paul E. McKenney
On Wed, Jan 31, 2018 at 10:00:06AM +0100, Ingo Molnar wrote: > > * Paul E. McKenney wrote: > > > On Mon, Jan 29, 2018 at 07:57:24AM +0100, Ingo Molnar wrote: > > > > > > hi Paul, > > > > > > * Paul E. McKenney wrote: > > > > > > > Hello, Ingo, > > > > > > > > This pull request contains a si

Re: [PATCH v2] mm: Reduce memory bloat with THP

2018-01-31 Thread Nitin Gupta
On 01/25/2018 01:13 PM, Mel Gorman wrote: > On Thu, Jan 25, 2018 at 11:41:03AM -0800, Nitin Gupta wrote: It's not really about memory scarcity but a more efficient use of it. Applications may want hugepage benefits without requiring any changes to app code which is what THP is supp

Re: [PATCH] tcp_lp: use 64-bit arithmetic instead of 32-bit

2018-01-31 Thread Gustavo A. R. Silva
Hi Alan, Quoting Alan Cox : On Wed, 31 Jan 2018 18:24:07 -0600 "Gustavo A. R. Silva" wrote: Cast to s64 some variables and a macro in order to give the compiler complete information about the proper arithmetic to use. Notice that these elements are used in contexts that expect expressions o

RE: [PATCH v3 1/4] dt-bindings: firmware: Add bindings for ZynqMP firmware

2018-01-31 Thread Jolly Shah
Hi Mark, Thanks for the review, > -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: Wednesday, January 31, 2018 10:04 AM > To: Jolly Shah > Cc: ard.biesheu...@linaro.org; mi...@kernel.org; > gre...@linuxfoundation.org; m...@codeblueprint.co.uk; > sudeep.ho...@a

Re: [PATCH 1/2] /proc/kcore: Fix SMAP violation when dumping vsyscall user page

2018-01-31 Thread Jia Zhang
Hi, Are there any comments here? Thanks, Jia On 2018/1/30 下午2:42, Jia Zhang wrote: > The commit df04abfd181a > ("fs/proc/kcore.c: Add bounce buffer for ktext data") introduces a > bounce buffer to work around CONFIG_HARDENED_USERCOPY=y. However, > accessing vsyscall user page will cause SMAP vio

Re: [PATCH] staging: android: ion: minor cleanup for ion_page_pool

2018-01-31 Thread Yisheng Xie
Hi Greg, On 2018/1/31 19:32, Greg KH wrote: > On Wed, Jan 31, 2018 at 05:50:52PM +0800, Yisheng Xie wrote: >> ion_page_pool.c now is used to apply pool APIs for system heap, which do >> not need do any initial at device_initcall. >> >> Meanwhile, this patch also remove some useless include files.

Re: [PATCH 14/15] ARM: dts: ipq8074: Add pcie nodes

2018-01-31 Thread kbuild test robot
Hi Sricharan, Thank you for the patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on v4.15] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Srichar

mmotm 2018-01-31-16-51 uploaded

2018-01-31 Thread akpm
The mm-of-the-moment snapshot 2018-01-31-16-51 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

Re: [PATCH 7/8] Input: mms114 - add SPDX identifier

2018-01-31 Thread Andi Shyti
Hi Dmitry, > > > > > - * Copyright (C) 2012 Samsung Electronics Co.Ltd > > > > > - * Author: Joonyoung Shim > > > > > - * > > > > > - * This program is free software; you can redistribute it and/or > > > > > modify > > > > > - * it under the terms of the GNU General Public License version 2 as >

Re: [PATCH 7/8] Input: mms114 - add SPDX identifier

2018-01-31 Thread Andi Shyti
Hi Marcus, > > > > - * Copyright (C) 2012 Samsung Electronics Co.Ltd > > > > - * Author: Joonyoung Shim > > > > - * > > > > - * This program is free software; you can redistribute it and/or modify > > > > - * it under the terms of the GNU General Public License version 2 as > > > > - * published

Re: net: hang in unregister_netdevice: waiting for lo to become free

2018-01-31 Thread Xin Long
On Tue, Jan 30, 2018 at 11:59 PM, David Ahern wrote: > On 1/30/18 1:57 PM, David Ahern wrote: >> On 1/30/18 1:08 PM, Daniel Borkmann wrote: >>> On 01/30/2018 07:32 PM, Cong Wang wrote: On Tue, Jan 30, 2018 at 4:09 AM, Dmitry Vyukov wrote: > Hello, > > The following program create

Re: [PATCH] tcp_lp: use 64-bit arithmetic instead of 32-bit

2018-01-31 Thread Alan Cox
On Wed, 31 Jan 2018 18:24:07 -0600 "Gustavo A. R. Silva" wrote: > Cast to s64 some variables and a macro in order to give the > compiler complete information about the proper arithmetic to > use. Notice that these elements are used in contexts that > expect expressions of type s64 (64 bits, signe

Re: [PATCH v5 2/5] KVM: x86: Add IBPB support

2018-01-31 Thread KarimAllah Ahmed
On 01/31/2018 08:55 PM, Jim Mattson wrote: On Wed, Jan 31, 2018 at 11:53 AM, David Woodhouse wrote: Rather than doing the expensive guest_cpu_has() every time (which is worse now as we realised we need two of them) perhaps we should introduce a local flag for that too? That sounds good to me.

Re: [PATCH v5 4/5] KVM: VMX: Allow direct access to MSR_IA32_SPEC_CTRL

2018-01-31 Thread KarimAllah Ahmed
On 01/31/2018 11:52 PM, KarimAllah Ahmed wrote: On 01/31/2018 09:18 PM, Jim Mattson wrote: On Wed, Jan 31, 2018 at 12:01 PM, KarimAllah Ahmed wrote: but save_spec_ctrl_on_exit is also set for L2 write. So once L2 writes to it, this condition will be true and then the bitmap will be updated.

[PATCH] tcp_lp: use 64-bit arithmetic instead of 32-bit

2018-01-31 Thread Gustavo A. R. Silva
Cast to s64 some variables and a macro in order to give the compiler complete information about the proper arithmetic to use. Notice that these elements are used in contexts that expect expressions of type s64 (64 bits, signed). Currently such expression are being evaluated using 32-bit arithmetic

  1   2   3   4   5   6   7   8   >