Re: [PATCH 16/25] mm, compaction: Check early for huge pages encountered by the migration scanner

2019-01-17 Thread Vlastimil Babka
On 1/4/19 1:50 PM, Mel Gorman wrote: > When scanning for sources or targets, PageCompound is checked for huge > pages as they can be skipped quickly but it happens relatively late after > a lot of setup and checking. This patch short-cuts the check to make it > earlier. It might still change when

Re: [PATCH] rtlwifi: rtl818x: fix indentation issue

2019-01-17 Thread John W. Linville
On Thu, Jan 17, 2019 at 03:28:59PM +, Colin King wrote: > From: Colin Ian King > > There is a statement that is indented too deeply. Fix this. > > Signed-off-by: Colin Ian King Acked-by: John W. Linville -- John W. LinvilleSomeday the world will need a hero, and you

Re: [GIT PULL] timer fix

2019-01-17 Thread Thomas Gleixner
On Thu, 17 Jan 2019, Heiko Carstens wrote: > On Thu, Jan 17, 2019 at 10:51:02AM +0100, Ingo Molnar wrote: > > > > * Heiko Carstens wrote: > > > > > > - if (timr->it_requeue_pending == info->si_sys_private) { > > > > + if (timr->it_interval && timr->it_requeue_pending == > > > >

Re: [PATCH] pstore/ram: Fix failure-path memory leak in ramoops_probe

2019-01-17 Thread Kees Cook
On Wed, Jan 16, 2019 at 8:11 PM Yue Hu wrote: > > From 12a3e710e54a00f1ccb781d38707e7d4b344403b Mon Sep 17 00:00:00 2001 > From: Yue Hu > Date: Wed, 16 Jan 2019 16:58:19 +0800 > Subject: [PATCH] pstore/ram: Fix failure-path memory leak in > ramoops_probe > > Missing devm_kfree(pdata) if probe

Re: [PATCH 6/8 v3] arm64: dts: hi3660: Add dma to uart nodes

2019-01-17 Thread Manivannan Sadhasivam
On Thu, Jan 10, 2019 at 09:34:10AM -0800, John Stultz wrote: > Try to add DMA support to the uart nodes following > the assignments made in the dts from the victoria vendor kernel > here: > https://consumer.huawei.com/en/opensource/detail/?siteCode=worldwide=p10=openSourceSoftware=10=1 > > Cc:

Re: [PATCH 4/4] dax: "Hotplug" persistent memory for use like normal RAM

2019-01-17 Thread Dan Williams
On Wed, Jan 16, 2019 at 9:21 PM Du, Fan wrote: [..] > >From: Dave Hansen > > > >Currently, a persistent memory region is "owned" by a device driver, > >either the "Direct DAX" or "Filesystem DAX" drivers. These drivers > >allow applications to explicitly use persistent memory, generally > >by

Re: [PATCH v8 1/3] Bluetooth: hci_qca: use wait_until_sent() for power pulses

2019-01-17 Thread Balakrishna Godavarthi
On 2019-01-17 21:43, Johan Hovold wrote: On Thu, Jan 17, 2019 at 03:55:17PM +0530, Balakrishna Godavarthi wrote: Hi Matthias, On 2019-01-17 01:52, Matthias Kaehlcke wrote: >> - /* Wait for 100 uS for SoC to settle down */ >> - usleep_range(100, 200); >> +

[PATCH v2 1/4] dt-bindings: Add vendor prefix for "GlobalTop Technology, Inc."

2019-01-17 Thread Loys Ollivier
Add globaltop vendor definition. Signed-off-by: Loys Ollivier --- v2: Alphabetical order Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH v2 2/4] dt-bindings: gnss: add mediatek binding

2019-01-17 Thread Loys Ollivier
Add binding for Mediatek-based GNSS receivers. Signed-off-by: Loys Ollivier --- v2: Renamed bindings from Globaltop/gtop to Mediatek/mtk. Moved current-speed as an optional propertie. Removed the status line in the example. Added "mediatek,mt3339" compatible.

[PATCH v2 3/4] gnss: add mtk receiver type support

2019-01-17 Thread Loys Ollivier
Add an MTK (Mediatek) type to the "GNSS_TYPE" attribute. Note that MTK receivers support a subset of NMEA 0183 with vendor extensions (e.g. to allow switching to the vendor protocol). Signed-off-by: Loys Ollivier --- v2: renamed from GTOP to MTK. include/linux/gnss.h | 1 + 1 file changed, 1

[PATCH v2 4/4] gnss: add driver for mediatek receivers

2019-01-17 Thread Loys Ollivier
Add driver for serial-connected Mediatek-based GNSS receivers. These devices typically boot transmitting vendor specific NMEA output sequences. The serial port bit rate is read from the device tree "current-speed". Note that the driver uses the generic GNSS serial implementation and therefore

[PATCH v2 0/4] Add driver for Mediatek-based GNSS receivers

2019-01-17 Thread Loys Ollivier
Hi, This patch series adds a new GNSS driver for the Mediatek-based GNSS receivers. These receivers transmits NMEA output sequence after boot. Power management can be done via the main supply and optional backup supply as defined in the device tree. The driver has been tested using a GlobalTop

Re: [PATCH 0/4] Allow persistent memory to be used like normal RAM

2019-01-17 Thread Dan Williams
On Thu, Jan 17, 2019 at 8:29 AM Jeff Moyer wrote: > > Dave Hansen writes: > > > Persistent memory is cool. But, currently, you have to rewrite > > your applications to use it. Wouldn't it be cool if you could > > just have it show up in your system like normal RAM and get to > > it like a slow

[PATCH 4/4] arm64: dts: meson: g12a: add clk measure support

2019-01-17 Thread Jerome Brunet
Add the clock measure device to the g12a SoC family Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index

[PATCH 2/4] soc: amlogic: clk-measure: add axg and g12a support

2019-01-17 Thread Jerome Brunet
Add support for the axg and g12a SoC family in amlogic clk measure Signed-off-by: Jerome Brunet --- drivers/soc/amlogic/meson-clk-measure.c | 194 1 file changed, 194 insertions(+) diff --git a/drivers/soc/amlogic/meson-clk-measure.c

[PATCH 3/4] arm64: dts: meson: axg: add clk measure support

2019-01-17 Thread Jerome Brunet
Add the clock measure device to the axg SoC family Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index

[PATCH 1/4] dt-bindings: amlogic: add new compatible devices to clk_measure

2019-01-17 Thread Jerome Brunet
Add the axg and g12a SoC family compatible to the clock measure bindings Signed-off-by: Jerome Brunet --- Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt

Re: [PATCH 0/4] Allow persistent memory to be used like normal RAM

2019-01-17 Thread Keith Busch
On Thu, Jan 17, 2019 at 11:29:10AM -0500, Jeff Moyer wrote: > Dave Hansen writes: > > Persistent memory is cool. But, currently, you have to rewrite > > your applications to use it. Wouldn't it be cool if you could > > just have it show up in your system like normal RAM and get to > > it like a

[PATCH 0/4] soc: amlogic: clk-measure: add axg and g12a support

2019-01-17 Thread Jerome Brunet
This patchset adds support for the axg and g12a SoC family in amlogic's clock measure driver and enable it on the related devices Jerome Brunet (4): dt-bindings: amlogic: add new compatible devices to clk_measure soc: amlogic: clk-measure: add axg and g12a support arm64: dts: meson: axg:

Re: [PATCH v4 2/3] dt-bindings: reset: imx7: Document usage on i.MX8MQ SoCs

2019-01-17 Thread Philipp Zabel
Hi Andrey, sorry for the delay. Thank you for the update, apart from the comments below, the list now looks to be complete. On Wed, 2018-12-19 at 17:06 -0800, Andrey Smirnov wrote: > The driver now supports i.MX8MQ, so update bindings accordingly. > > Cc: p.za...@pengutronix.de > Cc: Fabio

Re: Linux 5.0-rc2 seccomp_bpf user_notification_basic test hangs

2019-01-17 Thread Tycho Andersen
On Thu, Jan 17, 2019 at 08:41:59AM -0800, Kees Cook wrote: > On Thu, Jan 17, 2019 at 8:27 AM Tycho Andersen wrote: > > > > On Thu, Jan 17, 2019 at 08:12:50AM -0800, Kees Cook wrote: > > > On Wed, Jan 16, 2019 at 5:26 PM shuah wrote: > > > > I am running Linux 5.0-rc2 and not an older kernel. > >

Re: [for-next][PATCH] x86/Kconfig: Select PCI_LOCKLESS_CONFIG if PCI is enabled

2019-01-17 Thread Sinan Kaya
On 1/17/2019 11:37 AM, Borislav Petkov wrote: Also, I see a lot of build failures when doing randconfig builds for the stuff in drivers/platform/x86/Kconfig. Is someone picking those up too? Can you share the build failures you are seeing?

Re: Linux 5.0-rc2 seccomp_bpf user_notification_basic test hangs

2019-01-17 Thread Kees Cook
On Thu, Jan 17, 2019 at 8:27 AM Tycho Andersen wrote: > > On Thu, Jan 17, 2019 at 08:12:50AM -0800, Kees Cook wrote: > > On Wed, Jan 16, 2019 at 5:26 PM shuah wrote: > > > I am running Linux 5.0-rc2 and not an older kernel. > > > > Weird. I couldn't reproduce this on 5.0-rc2, but I did see it on

[PATCH v2 1/2] EDAC: Add Aspeed AST2500 EDAC driver

2019-01-17 Thread Stefan Schaeckeler
From: Stefan M Schaeckeler Add support for the Aspeed AST2500 SoC EDAC driver. Signed-off-by: Stefan M Schaeckeler --- MAINTAINERS | 6 + arch/arm/boot/dts/aspeed-g5.dtsi | 7 + drivers/edac/Kconfig | 8 + drivers/edac/Makefile| 1 +

[PATCH v2 2/2] dt-bindings: edac: Aspeed AST2500

2019-01-17 Thread Stefan Schaeckeler
From: Stefan M Schaeckeler Add support for EDAC on the Aspeed AST2500 SoC. Signed-off-by: Stefan M Schaeckeler --- .../bindings/edac/aspeed-sdram-edac.txt | 25 +++ 1 file changed, 25 insertions(+) create mode 100644

[PATCH v2 0/2] Add support for the Aspeed AST2500 SoC EDAC driver

2019-01-17 Thread Stefan Schaeckeler
From: Stefan M Schaeckeler Add support for the Aspeed AST2500 SoC EDAC driver. Changes since v1: - Addressed all cosmetic issues - Fixed (un-)recoverable address calculation in reg58 and reg5c - Removed status field from the example device tree binding - Added little more text to Kconfig

Re: [for-next][PATCH] x86/Kconfig: Select PCI_LOCKLESS_CONFIG if PCI is enabled

2019-01-17 Thread Sinan Kaya
On 1/17/2019 11:37 AM, Borislav Petkov wrote: On Thu, Jan 17, 2019 at 04:17:22PM +, Sinan Kaya wrote: After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were satisfied implicitly through dependencies on

Re: [PATCH 15/25] mm, compaction: Finish pageblock scanning on contention

2019-01-17 Thread Vlastimil Babka
On 1/4/19 1:50 PM, Mel Gorman wrote: > Async migration aborts on spinlock contention but contention can be high > when there are multiple compaction attempts and kswapd is active. The > consequence is that the migration scanners move forward uselessly while > still contending on locks for longer

Re: [PATCH] usb: chipidea: Grab the (legacy) USB PHY by phandle first

2019-01-17 Thread Paul Kocialkowski
Hi, On Thu, 2019-01-17 at 06:44 +, Peter Chen wrote: > > > On Wed, 2019-01-16 at 14:44 +0100, Thomas Petazzoni wrote: > > > Well prior to your code, there was already a possibility for both > > > ci->phy and ci->usb_phy to be valid. I don't think it's really useful > > > to avoid the

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

2019-01-17 Thread Kees Cook
On Wed, Jan 16, 2019 at 11:17 PM YueHaibing wrote: > > Remove duplicated include. > > Signed-off-by: YueHaibing Acked-by: Kees Cook James, can you take this? -Kees > --- > include/linux/security.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/linux/security.h

Re: [for-next][PATCH] x86/Kconfig: Select PCI_LOCKLESS_CONFIG if PCI is enabled

2019-01-17 Thread Borislav Petkov
On Thu, Jan 17, 2019 at 04:17:22PM +, Sinan Kaya wrote: > After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without > CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were > satisfied implicitly through dependencies on CONFIG_ACPI have to be > specified directly. > >

Re: [PATCH v2 0/6] MSM8998 basic USB support

2019-01-17 Thread Marc Gonzalez
On 14/01/2019 17:35, Jeffrey Hugo wrote: > This series provides basic USB support for MSM8998. Currently missing is > wiring up the Type-C detection logic so that the controller can correctly > switch between host and peripheral modes. Work to implement that is > ongoing, and expected to appear

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Arnd Bergmann
On Thu, Jan 17, 2019 at 5:26 PM Vincent Whitchurch wrote: > On Thu, Jan 17, 2019 at 04:53:25PM +0100, Arnd Bergmann wrote: > > On Thu, Jan 17, 2019 at 4:19 PM Vincent Whitchurch > > Ok, this seems fine so far. So the vop-host-backend is a regular PCI > > driver that implements the VOP protocol

Re: [PATCH 2/5] ipc: introduce ksys_ipc()/compat_ksys_ipc() for s390

2019-01-17 Thread Arnd Bergmann
On Thu, Jan 17, 2019 at 2:29 PM Heiko Carstens wrote: > diff --git a/arch/s390/kernel/sys_s390.c b/arch/s390/kernel/sys_s390.c > index 6aa8fe00b39e..fd0cbbed4d9f 100644 > --- a/arch/s390/kernel/sys_s390.c > +++ b/arch/s390/kernel/sys_s390.c > @@ -58,6 +58,7 @@ SYSCALL_DEFINE1(mmap2, struct

Re: SUBDIRS= replacement

2019-01-17 Thread Sam Ravnborg
Hi Christoph On Thu, Jan 17, 2019 at 03:55:31PM +0100, Christoph Hellwig wrote: > Hi Masahiro, hi Michal, > > I just got this beatiful warning: > > hch@carbon:~/work/xfs$ make -j4 SUBDIRS=fs/xfs > Makefile:189: = WARNING > Makefile:190: 'SUBDIRS' will be removed

Re: [PATCH 0/4] Allow persistent memory to be used like normal RAM

2019-01-17 Thread Jeff Moyer
Dave Hansen writes: > Persistent memory is cool. But, currently, you have to rewrite > your applications to use it. Wouldn't it be cool if you could > just have it show up in your system like normal RAM and get to > it like a slow blob of memory? Well... have I got the patch > series for you!

[PATCH] sh: Remove duplicate header

2019-01-17 Thread Sabyasachi Gupta
Remove linux/irq.h which is included more than once. Signed-off-by: Sabyasachi Gupta --- arch/sh/boards/mach-dreamcast/irq.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/sh/boards/mach-dreamcast/irq.c b/arch/sh/boards/mach-dreamcast/irq.c index 2789647..69fa91c 100644 ---

Re: Linux 5.0-rc2 seccomp_bpf user_notification_basic test hangs

2019-01-17 Thread Tycho Andersen
On Thu, Jan 17, 2019 at 08:12:50AM -0800, Kees Cook wrote: > On Wed, Jan 16, 2019 at 5:26 PM shuah wrote: > > I am running Linux 5.0-rc2 and not an older kernel. > > Weird. I couldn't reproduce this on 5.0-rc2, but I did see it on a > kernel without seccomp user_notif. Does the patch I sent fix

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Vincent Whitchurch
On Thu, Jan 17, 2019 at 04:53:25PM +0100, Arnd Bergmann wrote: > On Thu, Jan 17, 2019 at 4:19 PM Vincent Whitchurch > wrote: > > On Thu, Jan 17, 2019 at 01:39:27PM +0100, Arnd Bergmann wrote: > > > Can you describe how you expect a VOP device over NTB or > > > PCIe-endpoint would get created,

Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

2019-01-17 Thread Andrew F. Davis
On 1/16/19 4:54 PM, Liam Mark wrote: > On Wed, 16 Jan 2019, Andrew F. Davis wrote: > >> On 1/16/19 9:19 AM, Brian Starkey wrote: >>> Hi :-) >>> >>> On Tue, Jan 15, 2019 at 12:40:16PM -0600, Andrew F. Davis wrote: On 1/15/19 12:38 PM, Andrew F. Davis wrote: > On 1/15/19 11:45 AM, Liam

Re: [PATCHv4 11/13] Documentation/ABI: Add node cache attributes

2019-01-17 Thread Rafael J. Wysocki
On Wed, Jan 16, 2019 at 6:59 PM Keith Busch wrote: > > Add the attributes for the system memory side caches. I really would combine this with the previous one. > Signed-off-by: Keith Busch > --- > Documentation/ABI/stable/sysfs-devices-node | 34 > + > 1 file

Re: [PATCH 4/5] s390: autogenerate compat syscall wrappers

2019-01-17 Thread Arnd Bergmann
On Thu, Jan 17, 2019 at 2:31 PM Heiko Carstens wrote: > > The patch below is needed as compile fix (allnoconfig). > I will add this to your patch, no resend needed. Ok, good catch! This is obviously the right fix. Arnd > diff --git a/arch/s390/include/asm/syscall_wrapper.h >

Re: [PATCH 0/5] s390: rework compat wrapper generation

2019-01-17 Thread Arnd Bergmann
On Thu, Jan 17, 2019 at 2:36 PM Heiko Carstens wrote: > > On Wed, Jan 16, 2019 at 02:15:18PM +0100, Arnd Bergmann wrote: > > I did not test the changes at runtime, but I looked at the > > generated object code, which seems fine here and includes > > the same conversions as before. > > All looks

Re: [RFC 1/7] devicetree: bindings: Document domains controller bindings

2019-01-17 Thread Mark Brown
On Thu, Jan 17, 2019 at 01:20:45PM +, Benjamin GAIGNARD wrote: > On 1/16/19 6:30 PM, Mark Brown wrote: > > I suspect this is going to need a few more words about what a Domains > > Controller is. > Does the description of the framework in the cover letter looks better > for you ? Yes, that

[PATCH 05/10] venus: hfi: export few HFI functions

2019-01-17 Thread Stanimir Varbanov
Export few HFI functions to use them from decoder to implement more granular control needed for stateful Codec API compliance. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/hfi.c | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 03/10] venus: helpers: export few helper functions

2019-01-17 Thread Stanimir Varbanov
Here we export few helper function to use them from decoder to implement more granular control needed for stateful Codec API compliance. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/helpers.c | 29 - drivers/media/platform/qcom/venus/helpers.h | 7

[PATCH 07/10] venus: helpers: add three more helper functions

2019-01-17 Thread Stanimir Varbanov
This adds three more helper functions: * for internal buffers reallocation, applicable when we are doing dynamic resolution change * for initial buffer processing of capture and output queue buffer types All of them will be needed for stateful Codec API support. Signed-off-by: Stanimir

[PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-01-17 Thread Stanimir Varbanov
This refactored code for start/stop streaming vb2 operations and adds a state machine handling similar to the one in stateful codec API documentation. One major change is that now the HFI session is started on STREAMON(OUTPUT) and stopped on REQBUF(OUTPUT,count=0), during that time

[PATCH 08/10] venus: vdec_ctrls: get real minimum buffers for capture

2019-01-17 Thread Stanimir Varbanov
Until now we returned num_output_bufs set during reqbuf but that could be wrong when we implement stateful Codec API. So get the minimum buffers for capture from HFI. This is supposed to be called after stream header parsing, i.e. after dequeue v4l2 event for change resolution. Signed-off-by:

[PATCH 04/10] venus: hfi: add type argument to hfi flush function

2019-01-17 Thread Stanimir Varbanov
Make hfi_flush function to receive an argument for the type of flush. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/hfi.c | 4 ++-- drivers/media/platform/qcom/venus/hfi.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 06/10] venus: hfi: return an error if session_init is already called

2019-01-17 Thread Stanimir Varbanov
This makes hfi_session_init to return an error when it is already called without a call to hfi_session_deinit. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/hfi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/qcom/venus/hfi.c

[PATCH 09/10] venus: vdec: allow bigger sizeimage set by clients

2019-01-17 Thread Stanimir Varbanov
In most of the cases the client will know better what could be the maximum size for compressed data buffers. Change the driver to permit the user to set bigger size for the compressed buffer but make reasonable sanitation. Signed-off-by: Stanimir Varbanov ---

[PATCH 02/10] venus: helpers: fix dynamic buffer mode for v4

2019-01-17 Thread Stanimir Varbanov
Venus v4 doesn't send ALLOC_MODE property and thus parser doesn't recognize it as dynamic buffer (for OUTPUT/OUTPUT2 type of buffers) make it obvious in the helper function. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/helpers.c | 7 +++ 1 file changed, 7

[PATCH 01/10] venus: hfi_cmds: add more not-implemented properties

2019-01-17 Thread Stanimir Varbanov
Add two more not-implemented properties for Venus v4. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/hfi_cmds.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/platform/qcom/venus/hfi_cmds.c b/drivers/media/platform/qcom/venus/hfi_cmds.c index

[PATCH 00/10] Venus stateful Codec API

2019-01-17 Thread Stanimir Varbanov
Hello, This aims to make Venus decoder compliant with stateful Codec API [1]. The patches 1-9 are preparation for the cherry on the cake patch 10 which implements the decoder state machine similar to the one in the stateful codec API documentation. There few things which are still TODO: -

[PATCH] powerpc/cell: Remove duplicate header

2019-01-17 Thread Sabyasachi Gupta
Remove linux/syscalls.h which is included more than once Signed-off-by: Sabyasachi Gupta --- arch/powerpc/platforms/cell/spu_syscalls.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/platforms/cell/spu_syscalls.c b/arch/powerpc/platforms/cell/spu_syscalls.c index

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Arnd Bergmann
On Thu, Jan 17, 2019 at 4:46 PM Christoph Hellwig wrote: > > On Thu, Jan 17, 2019 at 04:32:06PM +0100, Vincent Whitchurch wrote: > > If I understand you correctly, I think you're talking about the RC > > running the virtio drivers and the endpoint implementing the virtio > > device? This vop

Re: [PATCH v3 0/4] Add NXP AUDMIX device and machine drivers

2019-01-17 Thread Rob Herring
On Thu, Jan 17, 2019 at 12:46:25PM +, Viorel Suman wrote: > The patchset adds NXP Audio Mixer (AUDMIX) device and machine > drivers and related DT bindings documentation. > > Changes since V2: > 1. Moved "dais" node from machine driver DTS node to device driver DTS node > as suggested by

[for-next][PATCH] x86/Kconfig: Select PCI_LOCKLESS_CONFIG if PCI is enabled

2019-01-17 Thread Sinan Kaya
After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were satisfied implicitly through dependencies on CONFIG_ACPI have to be specified directly. PCI_LOCKLESS_CONFIG depends on PCI but this dependency has not been

[PATCH v11 perf, bpf-next 4/9] sync tools/include/uapi/linux/perf_event.h

2019-01-17 Thread Song Liu
sync for PERF_RECORD_BPF_EVENT Reviewed-by: Arnaldo Carvalho de Melo Signed-off-by: Song Liu --- tools/include/uapi/linux/perf_event.h | 29 ++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/tools/include/uapi/linux/perf_event.h

[PATCH v11 perf, bpf-next 5/9] perf util: handle PERF_RECORD_KSYMBOL

2019-01-17 Thread Song Liu
This patch handles PERF_RECORD_KSYMBOL in perf record/report. Specifically, map and symbol are created for ksymbol register, and removed for ksymbol unregister. This patch also set perf_event_attr.ksymbol properly. The flag is ON by default. Signed-off-by: Song Liu --- tools/perf/util/event.c

[PATCH v11 perf, bpf-next 3/9] perf, bpf: introduce PERF_RECORD_BPF_EVENT

2019-01-17 Thread Song Liu
For better performance analysis of BPF programs, this patch introduces PERF_RECORD_BPF_EVENT, a new perf_event_type that exposes BPF program load/unload information to user space. Each BPF program may contain up to BPF_MAX_SUBPROGS (256) sub programs. The following example shows kernel symbols

[PATCH v11 perf, bpf-next 7/9] perf tools: synthesize PERF_RECORD_* for loaded BPF programs

2019-01-17 Thread Song Liu
This patch synthesize PERF_RECORD_KSYMBOL and PERF_RECORD_BPF_EVENT for BPF programs loaded before perf-record. This is achieved by gathering information about all BPF programs via sys_bpf. Signed-off-by: Song Liu --- tools/perf/builtin-record.c | 6 + tools/perf/util/bpf-event.c | 241

[PATCH v11 perf, bpf-next 0/9] reveal invisible bpf programs

2019-01-17 Thread Song Liu
This set catches symbol for all bpf programs loaded/unloaded before/during/after perf-record run PERF_RECORD_KSYMBOL and PERF_RECORD_BPF_EVENT. PERF_RECORD_KSYMBOL and PERF_RECORD_BPF_EVENT includes key information of a bpf program load and unload. They are sent through perf ringbuffer, and

[PATCH v11 perf, bpf-next 8/9] perf top: Synthesize BPF events for pre-existing loaded BPF programs

2019-01-17 Thread Song Liu
From: Arnaldo Carvalho de Melo So that we can resolve symbols and map names. Cc: Song Liu Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: David Ahern Cc: Peter Zijlstra Cc: kernel-t...@fb.com Cc: net...@vger.kernel.org Link:

[PATCH v11 perf, bpf-next 9/9] bpf: add module name [bpf] to ksymbols for bpf programs

2019-01-17 Thread Song Liu
With this patch, /proc/kallsyms will show BPF programs as t bpf_prog__ [bpf] Acked-by: Peter Zijlstra (Intel) Signed-off-by: Song Liu --- kernel/kallsyms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/kallsyms.c b/kernel/kallsyms.c index

[PATCH v11 perf, bpf-next 6/9] perf util: handle PERF_RECORD_BPF_EVENT

2019-01-17 Thread Song Liu
This patch adds basic handling of PERF_RECORD_BPF_EVENT. Tracking of PERF_RECORD_BPF_EVENT is OFF by default. Option --bpf-event is added to turn it on. Signed-off-by: Song Liu --- tools/perf/builtin-record.c | 1 + tools/perf/perf.h | 1 + tools/perf/util/Build | 2 ++

Re: [RFC PATCH 1/1] KEYS, integrity: Link .platform keyring to .secondary_trusted_keys

2019-01-17 Thread Kairui Song
On Thu, Jan 17, 2019 at 11:04 PM David Howells wrote: > > Kairui Song wrote: > > > +extern const struct key* __init integrity_get_platform_keyring(void); > > This should really be in keys/system_keyring.h and probably shouldn't be > exposed directly if it can be avoided. > > David Thanks for

[PATCH v11 perf, bpf-next 2/9] sync tools/include/uapi/linux/perf_event.h

2019-01-17 Thread Song Liu
sync changes for PERF_RECORD_KSYMBOL Reviewed-by: Arnaldo Carvalho de Melo Signed-off-by: Song Liu --- tools/include/uapi/linux/perf_event.h | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/tools/include/uapi/linux/perf_event.h

[PATCH v11 perf, bpf-next 1/9] perf, bpf: Introduce PERF_RECORD_KSYMBOL

2019-01-17 Thread Song Liu
For better performance analysis of dynamically JITed and loaded kernel functions, such as BPF programs, this patch introduces PERF_RECORD_KSYMBOL, a new perf_event_type that exposes kernel symbol register/unregister information to user space. The following data structure is used for

Re: [PATCH 1/1] Input: elantech: Use SMBus based on bus info

2019-01-17 Thread Kai Heng Feng
> On Jan 17, 2019, at 10:42 PM, Benjamin Tissoires > wrote: > > Hi Kai-Heng, > > On Thu, Jan 17, 2019 at 10:30 AM Kai-Heng Feng > wrote: >> >> There are some new HP laptops with Elantech touchpad don't support >> multitouch. >> >> Both ETP_BUS_SMB_HST_NTFY_ONLY and

Re: [PATCH v8 1/3] Bluetooth: hci_qca: use wait_until_sent() for power pulses

2019-01-17 Thread Johan Hovold
On Thu, Jan 17, 2019 at 03:55:17PM +0530, Balakrishna Godavarthi wrote: > Hi Matthias, > > On 2019-01-17 01:52, Matthias Kaehlcke wrote: > >> - /* Wait for 100 uS for SoC to settle down */ > >> - usleep_range(100, 200); > >> + serdev_device_wait_until_sent(hu->serdev, timeout); > >> + /*

Re: Linux 5.0-rc2 seccomp_bpf user_notification_basic test hangs

2019-01-17 Thread Kees Cook
On Wed, Jan 16, 2019 at 5:26 PM shuah wrote: > I am running Linux 5.0-rc2 and not an older kernel. Weird. I couldn't reproduce this on 5.0-rc2, but I did see it on a kernel without seccomp user_notif. Does the patch I sent fix it for you? (And if so, can you take it in your tree?) Thanks! --

Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

2019-01-17 Thread Andrew F. Davis
On 1/16/19 4:48 PM, Liam Mark wrote: > On Wed, 16 Jan 2019, Andrew F. Davis wrote: > >> On 1/15/19 1:05 PM, Laura Abbott wrote: >>> On 1/15/19 10:38 AM, Andrew F. Davis wrote: On 1/15/19 11:45 AM, Liam Mark wrote: > On Tue, 15 Jan 2019, Andrew F. Davis wrote: > >> On 1/14/19

Re: Linux 5.0-rc2 seccomp_bpf user_notification_basic test hangs

2019-01-17 Thread Kees Cook
On Wed, Jan 16, 2019 at 4:44 PM Tycho Andersen wrote: > > On Wed, Jan 16, 2019 at 04:30:26PM -0800, Kees Cook wrote: > > On Wed, Jan 16, 2019 at 4:01 PM shuah wrote: > > > > > > Hi Kees and James, > > > > > > seccomp_bpf test hangs right after the following test passes > > > with EBUSY. Please

[PATCH] dmaengine: at_xdmac: Fix wrongfull report of a channel as in use

2019-01-17 Thread Codrin.Ciubotariu
From: Codrin Ciubotariu atchan->status is used for two things: - pass channel interrupts status from interrupt handler to tasklet; - channel information like whether it is cyclic or paused; Since these operations have nothing in common, this patch adds a different struct member to keep the

[PATCH] powerpc/powernv: Remove duplicate header

2019-01-17 Thread Sabyasachi Gupta
Remove linux/printk.h which is included more than once. Signed-off-by: Sabyasachi Gupta --- arch/powerpc/platforms/powernv/opal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/platforms/powernv/opal.c b/arch/powerpc/platforms/powernv/opal.c index beed86f..802de0d 100644 ---

Re: [PATCH v5 2/5] Bluetooth: hci_qca: Deassert RTS while baudrate change command

2019-01-17 Thread Johan Hovold
On Tue, Jan 15, 2019 at 03:46:28PM -0800, Matthias Kaehlcke wrote: > Using RTS seems|ed like a nice solutions, since it's the native way to > prevent the controller from sending data, instead of doing some custom > hack. However Johan seems to be fairly convinced that flow control and > manual

RE: [PATCH v5 2/2] phy: zynqmp: Add phy driver for xilinx zynqmp phy core

2019-01-17 Thread Anurag Kumar Vulisha
Hi Kishon, >-Original Message- >From: Kishon Vijay Abraham I [mailto:kis...@ti.com] >Sent: Wednesday, January 16, 2019 1:38 PM >To: Anurag Kumar Vulisha ; robh...@kernel.org; Mark >Rutland ; vivek.gau...@codeaurora.org >Cc: Michal Simek ; v.anuragku...@gmail.com; sundeep >subbaraya ; Ajay

Re: [PATCH ghak59 V3 2/4] audit: add syscall information to CONFIG_CHANGE records

2019-01-17 Thread Steve Grubb
On Thu, 17 Jan 2019 08:21:40 -0500 Paul Moore wrote: > On Thu, Jan 17, 2019 at 4:33 AM Steve Grubb wrote: > > On Mon, 14 Jan 2019 17:58:58 -0500 > > Paul Moore wrote: > > > > > On Mon, Dec 10, 2018 at 5:18 PM Richard Guy Briggs > > > wrote: > > > > > > > > Tie syscall information to all

Re: [PATCH v2 1/3] usb: ehci: fsl: Update register accessing for arm/arm64 platforms

2019-01-17 Thread Alan Stern
On Thu, 17 Jan 2019, Ran Wang wrote: > arm/arm64's io.h doesn't define clrbits32() and clrsetbits_be32(), which > causing compile failure on some Layerscape Platforms (such as LS1021A and > LS2012A which also integrates FSL EHCI controller). So use > ioread32be()/iowrite32be() instead to make it

Re: [PATCH 1/8 v3] Documentation: bindings: k3dma: Extend the k3dma driver binding to support hisi-asp

2019-01-17 Thread Rob Herring
On Thu, 10 Jan 2019 09:34:05 -0800, John Stultz wrote: > From: Youlin Wang > > Extend the k3dma driver binding to support hisi-asp hardware > variants. > > Cc: Vinod Koul > Cc: Rob Herring > Cc: Mark Rutland > Cc: Zhuangluan Su > Cc: Tanglei Han > Cc: Ryan Grachek > Cc: Manivannan

RE: [PATCH v3] Drivers: hv: vmbus: Expose counters for interrupts and full conditions

2019-01-17 Thread Michael Kelley
From: Kimberly Brown Sent: Wednesday, January 16, 2019 8:38 PM > > Counter values for per-channel interrupts and ring buffer full > conditions are useful for investigating performance. > > Expose counters in sysfs for 2 types of guest to host interrupts: > 1) Interrupts caused by the channel's

Re: [PATCH 14/25] mm, compaction: Avoid rescanning the same pageblock multiple times

2019-01-17 Thread Mel Gorman
On Thu, Jan 17, 2019 at 04:16:54PM +0100, Vlastimil Babka wrote: > On 1/4/19 1:50 PM, Mel Gorman wrote: > > Pageblocks are marked for skip when no pages are isolated after a scan. > > However, it's possible to hit corner cases where the migration scanner > > gets stuck near the boundary between

Re: [PATCHv4 10/13] node: Add memory caching attributes

2019-01-17 Thread Rafael J. Wysocki
On Wed, Jan 16, 2019 at 6:59 PM Keith Busch wrote: > > System memory may have side caches to help improve access speed to > frequently requested address ranges. While the system provided cache is > transparent to the software accessing these memory ranges, applications > can optimize their own

Re: [PATCH][V2] cifs: fix memory leak of an allocated cifs_ntsd structure

2019-01-17 Thread Steve French
merged into cifs-2.6.git for-next On Thu, Jan 17, 2019 at 1:12 AM Dan Carpenter via samba-technical wrote: > > Thanks, Colin! > > Reviewed-by: Dan Carpener > > regards, > dan carpenter > > -- Thanks, Steve

Re: [GIT PULL] timer fix

2019-01-17 Thread Heiko Carstens
On Thu, Jan 17, 2019 at 10:51:02AM +0100, Ingo Molnar wrote: > > * Heiko Carstens wrote: > > > > - if (timr->it_requeue_pending == info->si_sys_private) { > > > + if (timr->it_interval && timr->it_requeue_pending == > > > info->si_sys_private) { > > > timr->kclock->timer_rearm(timr);

Re: [PATCH v3 6/6] dt-bindings: gnss: add lna-supply property

2019-01-17 Thread Rob Herring
On Wed, 16 Jan 2019 22:18:12 +0100, Andreas Kemnade wrote: > Add lna-supply property. > > Signed-off-by: Andreas Kemnade > --- > Changes in v3: > - moved to gnss.txt > > Documentation/devicetree/bindings/gnss/gnss.txt | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Rob Herring

Re: [PATCH v2 1/2] bpf: Annotate implicit fall through in cgroup_dev_func_proto

2019-01-17 Thread Daniel Borkmann
On 01/16/2019 08:35 PM, Mathieu Malaterre wrote: > There is a plan to build the kernel with -Wimplicit-fallthrough and > this place in the code produced a warnings (W=1). > > This commit remove the following warning: > > kernel/bpf/cgroup.c:719:6: warning: this statement may fall through >

Re: [PATCH] bpf: Make function btf_name_offset_valid static

2019-01-17 Thread Daniel Borkmann
On 01/16/2019 10:16 PM, Martin Lau wrote: > On Wed, Jan 16, 2019 at 08:29:40PM +0100, Mathieu Malaterre wrote: >> Initially in commit 69b693f0aefa ("bpf: btf: Introduce BPF Type Format >> (BTF)") the function 'btf_name_offset_valid' was introduced as static >> function it was later on changed to a

Re: [PATCH] lib/scatterlist: Provide a DMA page iterator

2019-01-17 Thread Jason Gunthorpe
On Thu, Jan 17, 2019 at 10:30:01AM +0100, h...@lst.de wrote: > On Wed, Jan 16, 2019 at 10:24:36AM -0700, Jason Gunthorpe wrote: > > The fact is there is 0 industry interest in using RDMA on platforms > > that can't do HW DMA cache coherency - the kernel syscalls required to > > do the cache

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Arnd Bergmann
On Thu, Jan 17, 2019 at 4:19 PM Vincent Whitchurch wrote: > > On Thu, Jan 17, 2019 at 01:39:27PM +0100, Arnd Bergmann wrote: > > Correct, and again we have to see if this is a good interface. The NTB > > and PCIe-endpoint interfaces have a number of differences and a > > number of similarities.

Re: [PATCH] csky/kernel/entry: Remove duplicate heade

2019-01-17 Thread Souptick Joarder
On Thu, Jan 17, 2019 at 8:00 PM Brajeswar Ghosh wrote: > > Remove duplicate headers which are included more than once > > Signed-off-by: Brajeswar Ghosh Acked-by: Souptick Joarder > --- > arch/csky/kernel/entry.S | 1 - > 1 file changed, 1 deletion(-) > > diff --git

Re: [PATCH 13/25] mm, compaction: Use free lists to quickly locate a migration target

2019-01-17 Thread Mel Gorman
On Thu, Jan 17, 2019 at 03:36:08PM +0100, Vlastimil Babka wrote: > > /* Reorder the free list to reduce repeated future searches */ > > static void > > -move_freelist_tail(struct list_head *freelist, struct page *freepage) > > +move_freelist_head(struct list_head *freelist, struct page

Re: [PATCH 2/2] sched: Document Energy Aware Scheduling

2019-01-17 Thread Juri Lelli
Hi, On 10/01/19 11:05, Quentin Perret wrote: > Add some documentation detailing the main design points of EAS, as well > as a list of its dependencies. > > Parts of this documentation are taken from Morten Rasmussen's original > EAS posting: https://lkml.org/lkml/2015/7/7/754 > > Reviewed-by:

Re: [PATCH net-next] net: dsa: mv88e6xxx: Add suspend/resume callbacks

2019-01-17 Thread Miquel Raynal
Hi Andrew, Vivien, Vivien Didelot wrote on Thu, 17 Jan 2019 10:46:41 -0500: > Hi, > > On Wed, 16 Jan 2019 23:23:29 +0100, Andrew Lunn wrote: > > Hi Florian > > > > > A possible approach could be to call the port_disable, port_enable > > > callbacks from dsa_slave_suspend() and

Re: [PATCH v6] arm64: implement ftrace with regs

2019-01-17 Thread Torsten Duwe
On Wed, Jan 16, 2019 at 09:57:39AM +, Julien Thierry wrote: > > I wanted to test this patch (and try to benchmark having the "mov x9, > x30" always present in function prelude vs having two nops), but I > cannot get this patch to apply (despite having a version including both > commits

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Christoph Hellwig
On Thu, Jan 17, 2019 at 04:32:06PM +0100, Vincent Whitchurch wrote: > If I understand you correctly, I think you're talking about the RC > running the virtio drivers and the endpoint implementing the virtio > device? This vop stuff is used for the other way around: the virtio > device is

Re: [PATCH net-next] net: dsa: mv88e6xxx: Add suspend/resume callbacks

2019-01-17 Thread Vivien Didelot
Hi, On Wed, 16 Jan 2019 23:23:29 +0100, Andrew Lunn wrote: > Hi Florian > > > A possible approach could be to call the port_disable, port_enable > > callbacks from dsa_slave_suspend() and dsa_slave_resume(), I might have > > some patches doing that already somewhere. > > I expect it is also on

Re: [PATCHv4 00/13] Heterogeneuos memory node attributes

2019-01-17 Thread Keith Busch
On Thu, Jan 17, 2019 at 11:58:21PM +1100, Balbir Singh wrote: > On Wed, Jan 16, 2019 at 10:57:51AM -0700, Keith Busch wrote: > > It had previously been difficult to describe these setups as memory > > rangers were generally lumped into the NUMA node of the CPUs. New > > platform attributes have

<    1   2   3   4   5   6   7   8   9   10   >