Re: [PATCH 0/6] tracing: trace event error_log and inter-event bugfixes

2019-01-15 Thread Steven Rostedt
Hi Tom, This thread sorta died and appears to be forgotten. Is there follow up patches on this? Thanks! -- Steve On Thu, 12 Apr 2018 10:13:15 -0500 Tom Zanussi wrote: > Hi Steve, > > Here are a few patches that should be applied on top of the > 'Inter-event (e.g. latency) support v9' patc

Re: [PATCH v15 3/6] x86/boot: Introduce efi_get_rsdp_addr() to find RSDP from EFI table

2019-01-15 Thread Chao Fan
On Tue, Jan 15, 2019 at 10:55:02AM +0100, Borislav Petkov wrote: >On Tue, Jan 15, 2019 at 03:21:21PM +0800, Chao Fan wrote: >> In my understanding after looking into the commit message the comments. >> I thinks yes. For 32-bit OS: > >And when does your "32-bit OS" define ACPI_ASL_COMPILER ? Ah, I

Re: [PATCH 4/5] sched/tracing: Show stacktrace for wakeup tracers

2019-01-15 Thread Steven Rostedt
On Tue, 1 Jan 2019 23:46:13 +0800 Changbin Du wrote: > This align the behavior of wakeup tracers with irqsoff latency tracer > that we record stacktrace at the beginning and end of waking up. The > stacktrace shows us what is happening in the kernel. OK, so I've applied (locally) all of the pat

arm64: copy_from_user access the last page of ddr has problem on 4.14 kernel

2019-01-15 Thread Kassey
Hi, Will and team: we met a issue when copy_from_user to access the last page of DDR on 4.14 kenrel, below is the detail steps, can you help to suggest if there is know fix or debug something ? 1. we mmap ( in userspace) a region of phy address that is not continous but include the last

Re: linux-next: manual merge of the block tree with the fscrypt tree

2019-01-15 Thread Jens Axboe
On 1/15/19 8:13 PM, Ming Lei wrote: > On Tue, Jan 15, 2019 at 07:55:39PM -0700, Jens Axboe wrote: >> On 1/15/19 7:25 PM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Today's linux-next merge of the block tree got a conflict in: >>> >>> fs/ext4/readpage.c >>> >>> between commit: >>> >>> acc9eb0a6

Re: linux-next: manual merge of the block tree with the fscrypt tree

2019-01-15 Thread Ming Lei
On Tue, Jan 15, 2019 at 07:55:39PM -0700, Jens Axboe wrote: > On 1/15/19 7:25 PM, Stephen Rothwell wrote: > > Hi all, > > > > Today's linux-next merge of the block tree got a conflict in: > > > > fs/ext4/readpage.c > > > > between commit: > > > > acc9eb0a6073 ("ext4: add fs-verity read supp

DEAREST ONE

2019-01-15 Thread Miss Alizata Aron
-- My name is Miss Alizata Aron. It give me a great pleasure to write you,it attracts me to write to you so that we can be friends if you will have the desire as me. i will be very happy to be in communication with you so that we can get to know each other better and see what happens in future. I

Re: [PATCH] genirq/affinity: Assign default affinity to pre/post vectors

2019-01-15 Thread 陈华才
Hi, Thomas, I'm not removing all return NULL of irq_create_affinity_masks(), so the memory allocation failure still return NULL. I just handle the case that there are not enough irq vectors. E.g. in nvme driver, the caller may call irq_create_affinity_masks() with nvecs=1,pre_vectors=1,post_ve

[PATCH 1/2] kbuild: skip 'addtree' and 'flags' magic for external module build

2019-01-15 Thread Masahiro Yamada
When building an external module, $(obj) is the absolute path to it. The header search paths from ccflags-y etc. should not be tweaked. Signed-off-by: Masahiro Yamada --- scripts/Makefile.host | 6 -- scripts/Makefile.lib | 11 ++- 2 files changed, 10 insertions(+), 7 deletions(-

[PATCH 2/2] kbuild: add -I$(srctree)/$(src) automatically for hostprogs with O=

2019-01-15 Thread Masahiro Yamada
When building kernel objects with the O= option, scripts/Makefile.lib automatically adds both -I$(srctree)/$(src) and -I$(obj) so each Makefile does not need to add them explicitly. In contrast, scripts/Makefile.host adds only -I$(obj) when building host programs with the O= option. As a result, e

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

2019-01-15 Thread Stephen Rothwell
Hi all, After merging the block tree, today's linux-next build (x86_64 allmodconfig) failed like this: fs/verity/verify.c: In function 'fsverity_verify_bio': fs/verity/verify.c:272:38: error: macro "bio_for_each_segment_all" requires 4 arguments, but only 3 given bio_for_each_segment_all(bv,

Re: linux-next: manual merge of the block tree with the fscrypt tree

2019-01-15 Thread Jens Axboe
On 1/15/19 7:25 PM, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the block tree got a conflict in: > > fs/ext4/readpage.c > > between commit: > > acc9eb0a6073 ("ext4: add fs-verity read support") > > from the fscrypt tree and commit: > > eb754eb2a953 ("block: allow

[PATCH -next] binderfs: fix error return code in binderfs_fill_super()

2019-01-15 Thread Wei Yongjun
Fix to return a negative error code -ENOMEM from the new_inode() and d_make_root() error handling cases instead of 0, as done elsewhere in this function. Fixes: 3ad20fe393b3 ("binder: implement binderfs") Signed-off-by: Wei Yongjun --- drivers/android/binderfs.c | 8 ++-- 1 file changed, 6 i

Re: [PATCH] scsi: isci: initialize shost fully before calling scsi_add_host()

2019-01-15 Thread Martin K. Petersen
Hi John, >> So in this case I think that accessor functions are actually better >> because they allow us to print a big fat warning when you twiddle >> something you shouldn't post-initialization. So that's something I think >> we could--and should--improve. >> > Sure, this is an alternative, bu

Re: [RFC PATCH 1/4] watchdog: hpwdt: Don't disable watchdog on NMI

2019-01-15 Thread Guenter Roeck
On 1/15/19 6:27 PM, Jerry Hoemann wrote: On Mon, Jan 14, 2019 at 07:36:14AM +0500, Ivan Mironov wrote: Existing code disables watchdog on NMI right before completely hanging the system. There are two problems here: * First, watchdog is expected to reset the system in a case of such failu

[PATCH 5/5] crypto: chacha20poly1305 - use template array registering API to simplify the code

2019-01-15 Thread Xiongfeng Wang
Use crypto template array registering API to simplify the code. Signed-off-by: Xiongfeng Wang --- crypto/chacha20poly1305.c | 38 +++--- 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/crypto/chacha20poly1305.c b/crypto/chacha20poly1305.c index fef

[PATCH 2/5] crypto: ccm - use template array registering API to simplify the code

2019-01-15 Thread Xiongfeng Wang
Use crypto template array registering API to simplify the code. Signed-off-by: Xiongfeng Wang --- crypto/ccm.c | 81 +++- 1 file changed, 26 insertions(+), 55 deletions(-) diff --git a/crypto/ccm.c b/crypto/ccm.c index b242fd0..8949aa2 100

[PATCH 4/5] crypto: ctr - use template array registering API to simplify the code

2019-01-15 Thread Xiongfeng Wang
Use crypto template array registering API to simplify the code. Signed-off-by: Xiongfeng Wang --- crypto/ctr.c | 46 +- 1 file changed, 17 insertions(+), 29 deletions(-) diff --git a/crypto/ctr.c b/crypto/ctr.c index 30f3946..ef51099 100644 --- a/cryp

[PATCH 3/5] crypto: gcm - use template array registering API to simplify the code

2019-01-15 Thread Xiongfeng Wang
Use crypto template array registering API to simplify the code. Signed-off-by: Xiongfeng Wang --- crypto/gcm.c | 76 +--- 1 file changed, 26 insertions(+), 50 deletions(-) diff --git a/crypto/gcm.c b/crypto/gcm.c index e438492..c8d5fe3 100

[PATCH 0/5] Crypto Cleanup

2019-01-15 Thread Xiongfeng Wang
The patchset introduce a helper to (un)register a array of crypto templates. The following patches use this helper to simplify the code. This is also a preparation for a coming patchset, which will register several crypto templates. Xiongfeng Wang (5): crypto: api - add a helper to (un)register

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

2019-01-15 Thread Ming Lei
On Wed, Jan 16, 2019 at 01:48:24PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the block tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > fs/gfs2/lops.c: In function 'gfs2_end_log_read': > fs/gfs2/lops.c:394:39: error: macro "bio_for_each_segment_all" re

[PATCH 1/5] crypto: api - add a helper to (un)register a array of templates

2019-01-15 Thread Xiongfeng Wang
This patch add a helper to (un)register a array of templates. The following patches will use this helper to simplify the code. Signed-off-by: Xiongfeng Wang --- crypto/algapi.c | 27 +++ include/crypto/algapi.h | 2 ++ 2 files changed, 29 insertions(+) diff --gi

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

2019-01-15 Thread Stephen Rothwell
Hi all, After merging the block tree, today's linux-next build (x86_64 allmodconfig) failed like this: fs/gfs2/lops.c: In function 'gfs2_end_log_read': fs/gfs2/lops.c:394:39: error: macro "bio_for_each_segment_all" requires 4 arguments, but only 3 given bio_for_each_segment_all(bvec, bio, i) {

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

2019-01-15 Thread Ming Lei
On Wed, Jan 16, 2019 at 01:35:52PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the block tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > net/sunrpc/xprtsock.c: In function 'xs_flush_bvec': > net/sunrpc/xprtsock.c:390:2: error: implicit declaration of

Re: [PATCH v2 3/4] usb: musb: Extract set toggle as a separate interface

2019-01-15 Thread Min Guo
Hi Bin, On Tue, 2019-01-15 at 14:40 -0600, Bin Liu wrote: > Hi Min, > > On Tue, Jan 15, 2019 at 04:19:42PM +0100, Matthias Brugger wrote: > > > > > > On 15/01/2019 02:43, min@mediatek.com wrote: > > > From: Min Guo > > > > > > Add a common interface for set data toggle > > > > > > Signed

Re: [PATCH v2 4/4] usb: musb: Add support for MediaTek musb controller

2019-01-15 Thread Min Guo
Hi Bin, On Tue, 2019-01-15 at 14:38 -0600, Bin Liu wrote: > Hi Min, > > very close, thanks. > Below I tried to explain a further cleanup in musb_clearb/w() and > musb_get/set_toggle() implementation. Please let me know if it is not > clear. > > Basically, we don't need musb_default_clearb/w(), j

Re: [PATCH v2 3/4] usb: musb: Extract set toggle as a separate interface

2019-01-15 Thread Min Guo
Hi Matthias, On Tue, 2019-01-15 at 16:19 +0100, Matthias Brugger wrote: > > On 15/01/2019 02:43, min@mediatek.com wrote: > > From: Min Guo > > > > Add a common interface for set data toggle > > > > Signed-off-by: Min Guo > > --- > > drivers/usb/musb/musb_host.c | 37 +

[PATCH net-next] net/tls: Make function tls_sw_do_sendpage static

2019-01-15 Thread YueHaibing
Fixes the following sparse warning: net/tls/tls_sw.c:1023:5: warning: symbol 'tls_sw_do_sendpage' was not declared. Should it be static? Signed-off-by: YueHaibing --- net/tls/tls_sw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/tls/tls_sw.c b/net/tls/tls_sw.c i

[PATCH net-next] net/tls: remove unused function tls_sw_sendpage_locked

2019-01-15 Thread YueHaibing
There are no in-tree callers. Signed-off-by: YueHaibing --- net/tls/tls_sw.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/net/tls/tls_sw.c b/net/tls/tls_sw.c index 11cdc8f..c475538 100644 --- a/net/tls/tls_sw.c +++ b/net/tls/tls_sw.c @@ -1143,16 +1143,6 @@ int tls_sw_do_sendpag

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

2019-01-15 Thread Stephen Rothwell
Hi all, After merging the block tree, today's linux-next build (arm multi_v7_defconfig) failed like this: net/sunrpc/xprtsock.c: In function 'xs_flush_bvec': net/sunrpc/xprtsock.c:390:2: error: implicit declaration of function 'for_each_bvec'; did you mean 'for_each_net'? [-Werror=implicit-func

Re: [PATCH 4/4] spi: sprd: Add DMA mode support

2019-01-15 Thread Baolin Wang
Hi Mark, On Tue, 15 Jan 2019 at 22:30, Mark Brown wrote: > > On Tue, Jan 15, 2019 at 09:46:53PM +0800, Baolin Wang wrote: > > From: Lanqing Liu > > > > Add DMA mode support for the Spreadtrum SPI controller, and we will enable > > SPI interrupt to help to complete the SPI transfer work in DMA mo

linux-next: manual merge of the block tree with the fscrypt tree

2019-01-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the block tree got a conflict in: fs/ext4/readpage.c between commit: acc9eb0a6073 ("ext4: add fs-verity read support") from the fscrypt tree and commit: eb754eb2a953 ("block: allow bio_for_each_segment_all() to iterate over multi-page bvec") from th

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2019-01-15 Thread Jerome Glisse
On Tue, Jan 15, 2019 at 06:01:09PM -0800, Dan Williams wrote: > On Tue, Jan 15, 2019 at 5:56 PM Jerome Glisse wrote: > > On Tue, Jan 15, 2019 at 04:44:41PM -0800, John Hubbard wrote: > [..] > > To make it clear. > > > > Lock code: > > GUP() > > ... > > lock_page(page); > >

Re: [PATCH v2 2/3] dt-bindings: arm: fsl: Add devicetree binding for Oxalis

2019-01-15 Thread Shawn Guo
On Mon, Jan 14, 2019 at 12:02:47PM -0600, Rob Herring wrote: > On Mon, Jan 14, 2019 at 4:21 AM Manivannan Sadhasivam > wrote: > > > > Add devicetree binding for Oxalis board in JSON format. While adding > > that, let's fix the description for LS1012A also. > > > > Signed-off-by: Manivannan Sadhasi

Re: [PATCH 2/4] spi: sprd: Add the SPI irq function for the SPI DMA mode

2019-01-15 Thread Baolin Wang
Hi Mark, On Tue, 15 Jan 2019 at 22:25, Mark Brown wrote: > > On Tue, Jan 15, 2019 at 09:46:51PM +0800, Baolin Wang wrote: > > This looks good, just one small issue and a thing to check: > > > +static irqreturn_t sprd_spi_handle_irq(int irq, void *data) > > +{ > > + struct sprd_spi *ss = (stru

[PATCH v2 1/3] dt-bindings: mtd: mtk-quadspi: update bindings for MT7629 SoC

2019-01-15 Thread Ryder Lee
This updates bindings for the MT7629 SPI-NOR controller. Signed-off-by: Ryder Lee Reviewed-by: Rob Herring --- Changes since v2: none. Changes since v1: add a Reviewed-by tag. --- Documentation/devicetree/bindings/mtd/mtk-quadspi.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) dif

[PATCH v2 2/3] mtd: spi-nor: mtk-quadspi: add SNOR_HWCAPS_READ to spi_nor_hwcaps mask

2019-01-15 Thread Ryder Lee
From: Guochun Mao SNOR_HWCAPS_READ should be supported by this controller, so add this flag to spi_nor_hwcaps mask. Signed-off-by: Guochun Mao Signed-off-by: Ryder Lee --- Changes since v2: Revise commit msg. Changes since v1: none. --- drivers/mtd/spi-nor/mtk-quadspi.c | 3 ++- 1 file chan

[PATCH v2 3/3] mtd: spi-nor: mtk-quadspi: rename config to a common one

2019-01-15 Thread Ryder Lee
The quadspi is a generic communication interface which could be shared with other MediaTek SoCs. Hence rename it to a common one. Signed-off-by: Ryder Lee --- Changes since v2: -rebase to v5.0-rc1. -sort the config in an alphabetical order. Changes since v1: none. --- drivers/mtd/spi-nor/Kconf

Re: [v2] arm64: dts: lx2160a: add sata node support

2019-01-15 Thread Shawn Guo
On Mon, Jan 14, 2019 at 09:55:00AM +, Peng Ma wrote: > Add sata node support and Enable sata support I would suggest you reword the commit log like below: Add SATA device nodes for fsl-lx2160a and enable support for QDS and RDB boards. > > Signed-off-by: Peng Ma > --- > changed for V2: >

Re: [PATCH 4.20 00/57] 4.20.3-stable review

2019-01-15 Thread shuah
On 1/15/19 9:35 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.20.3 release. There are 57 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 should be made b

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2019-01-15 Thread Dan Williams
On Tue, Jan 15, 2019 at 5:56 PM Jerome Glisse wrote: > On Tue, Jan 15, 2019 at 04:44:41PM -0800, John Hubbard wrote: [..] > To make it clear. > > Lock code: > GUP() > ... > lock_page(page); > if (PageWriteback(page)) { > unlock_page(page); > wait

[PATCH v3] fpga: altera_freeze_bridge: remove restriction to socfpga

2019-01-15 Thread Alan Tull
The Altera Freeze Bridge should not be restricted to ARCH_SOCFPGA since it can be used on other platforms such as Stratix10. Signed-off-by: Alan Tull --- v2: add depends on HAS_IOMEM v3: put both dependencies on one line --- drivers/fpga/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [PATCH 4.19 00/50] 4.19.16-stable review

2019-01-15 Thread shuah
On 1/15/19 9:35 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.16 release. There are 50 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 should be made

[PATCH backport for 4.19] selftests: Fix test errors related to lib.mk khdr target

2019-01-15 Thread shuah
From: Shuah Khan Upstream commit 211929fd3f7c ("selftests: Fix test errors related to lib.mk khdr target") This backport drops change to test that isn't in 4.19 - tools/testing/selftests/tc-testing/bpf/Makefile The rest of the changes applied with minor changes to - tools/testing/selftests/gpio

Re: [PATCH V2 1/3] dt-bindings: fsl: add imx7ulp system integration module binding

2019-01-15 Thread Shawn Guo
On Fri, Jan 11, 2019 at 06:22:40AM +, Anson Huang wrote: > Add i.MX7ULP system integration module (SIM) binding. > > Signed-off-by: Anson Huang Applied all, thanks.

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2019-01-15 Thread Jerome Glisse
On Tue, Jan 15, 2019 at 04:44:41PM -0800, John Hubbard wrote: > On 1/15/19 2:12 PM, Jerome Glisse wrote: > > On Tue, Jan 15, 2019 at 01:56:51PM -0800, John Hubbard wrote: > >> On 1/15/19 9:15 AM, Jerome Glisse wrote: > >>> On Tue, Jan 15, 2019 at 09:07:59AM +0100, Jan Kara wrote: > On Mon 14-0

[PATCH] f2fs: fix to initialize variable to avoid UBSAN/smatch warning

2019-01-15 Thread Chao Yu
As Dan Carpenter as below: The patch df634f444ee9: "f2fs: use rb_*_cached friends" from Oct 4, 2018, leads to the following static checker warning: fs/f2fs/extent_cache.c:606 f2fs_update_extent_tree_range() error: uninitialized symbol 'leftmost'. And also Eric Biggers, and Kyungt

[PATCH net-next] net: hns: Use struct_size() in devm_kzalloc()

2019-01-15 Thread Gustavo A. R. Silva
One of the more common cases of allocation size calculations is finding the size of a structure that has a zero-sized array at the end, along with memory for some number of elements for that array. For example: struct foo { int stuff; struct boo entry[]; }; instance = devm_kzalloc(dev, si

[PATCH 1/1] net-next/hinic: replace disable_irq_nosync/enable_irq

2019-01-15 Thread Xue Chaojing
In order to avoid frequent system interrupts when sending and receiving packets. we replace disable_irq_nosync/enable_irq with hinic_set_msix_state(), hinic_set_msix_state is used to access memory mapped hinic devices. Signed-off-by: Xue Chaojing --- .../net/ethernet/huawei/hinic/hinic_hw_dev.c

[PATCH 2/2] drm/mediatek: Add Mediatek framebuffer device

2019-01-15 Thread CK Hu
For Mediatek drm driver, use fbdev emulation to create a framebuffer device. Signed-off-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index 6ec4ca07038

[PATCH 1/2] drm/mediatek: Implement gem prime vmap/vunmap function

2019-01-15 Thread CK Hu
For some application which need kernel virtual address, such as fbcon, implement these function to map/unmap kernel virtual address of prime buffer. Signed-off-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++ drivers/gpu/drm/mediatek/mtk_drm_gem.c | 46 ++ dr

Re: [PATCH 4.14 00/27] 4.14.94-stable review

2019-01-15 Thread shuah
On 1/15/19 9:35 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.94 release. There are 27 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 should be made

Re: [PATCH 4.9 00/16] 4.9.151-stable review

2019-01-15 Thread shuah
On 1/15/19 9:35 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.151 release. There are 16 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 should be made

Re: [RFC PATCH v7 00/16] Add support for eXclusive Page Frame Ownership

2019-01-15 Thread Laura Abbott
On 1/10/19 1:09 PM, Khalid Aziz wrote: I am continuing to build on the work Juerg, Tycho and Julian have done on XPFO. After the last round of updates, we were seeing very significant performance penalties when stale TLB entries were flushed actively after an XPFO TLB update. Benchmark for measur

Re: [PATCH] mtd: rawnand: denali_dt: remove single anonymous clock support

2019-01-15 Thread Masahiro Yamada
(+CC Dinh Nguyen) On Tue, Jan 15, 2019 at 5:22 PM Miquel Raynal wrote: > > Hi Masahiro, > > Masahiro Yamada wrote on Tue, 15 Jan > 2019 17:11:34 +0900: > > > Commit 6f1fe97bec34 ("mtd: rawnand: denali_dt: add more clocks based > > on IP datasheet") introduced a more correct binding that requires

linux-next: manual merge of the drm-misc tree with the drm-intel tree

2019-01-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got conflicts in: drivers/gpu/drm/i915/intel_dp.c drivers/gpu/drm/i915/intel_drv.h between commits: e845f099f1c6 ("drm/i915/dsc: Add Per connector debugfs node for DSC support/enable") f6bff60e927b ("drm/i915/icl: Fix HPD handling f

Re: [PATCH 4.4 00/51] 4.4.171-stable review

2019-01-15 Thread shuah
On 1/15/19 9:34 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.171 release. There are 51 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 should be made

Re: [PATCH] riscv: fixup max_low_pfn with PFN_DOWN.

2019-01-15 Thread Guo Ren
Hi Christoph, I use PFN_DOWN() every where as possible and seems it's a habit problem. So let risc-v maintainer to choose "PFN_DOW()" or ">> PAGE_SHIFT". Also the same with "end_of_DRAM & max_low_pfn". Best Regards Guo Ren On Tue, Jan 15, 2019 at 08:12:54AM -0800, Christoph Hellwig wrote: > On

Re: [PATCH] kvm: add proper frame pointer logic for vmx

2019-01-15 Thread Sean Christopherson
On Tue, Jan 15, 2019 at 04:38:49PM -0600, Josh Poimboeuf wrote: > On Tue, Jan 15, 2019 at 11:06:17AM -0800, Sean Christopherson wrote: > > > I can see there are five options to solve it. > > > > > > 1) always inline vmx_vcpu_run() > > > 2) always noinline vmx_vcpu_run() > > > 3) add -fdiable-ipa-f

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2019-01-15 Thread John Hubbard
On 1/15/19 2:12 PM, Jerome Glisse wrote: > On Tue, Jan 15, 2019 at 01:56:51PM -0800, John Hubbard wrote: >> On 1/15/19 9:15 AM, Jerome Glisse wrote: >>> On Tue, Jan 15, 2019 at 09:07:59AM +0100, Jan Kara wrote: On Mon 14-01-19 12:21:25, Jerome Glisse wrote: > On Mon, Jan 14, 2019 at 03:54:

Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged

2019-01-15 Thread Josh Snyder
Linus Torvalds wrote on Thu, Jan 10, 2019: > So right now, I consider the mincore change to be a "try to probe the > state of mincore users", and we haven't really gotten a lot of > information back yet. For Netflix, losing accurate information from the mincore syscall would lengthen database cl

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-15 Thread Jonathan Neuschäfer
On Tue, Jan 15, 2019 at 07:51:01AM +0100, Christophe Leroy wrote: > Le 15/01/2019 à 01:33, Jonathan Neuschäfer a écrit : [...] > > I've checked it patch-by-patch now (with STRICT_KERNEL_RWX): > > > > - patches 1 and 2 build and boot fine > > - patches 3 to 6 build, but fail to boot with this error

Re: [RFC PATCH] drm/ttm: force cached mappings for system RAM on ARM

2019-01-15 Thread Benjamin Herrenschmidt
On Tue, 2019-01-15 at 22:31 +1100, Michael Ellerman wrote: > > > As far as I know Power doesn't really supports un-cached memory at all, > > > except for a very very old and odd configuration with AGP. > > > > Hopefully Michael/Ben can elaborate here, but I was under the (possibly > > mistaken) i

Re: [PATCH v3] xen: Fix x86 sched_clock() interface for xen

2019-01-15 Thread Hans van Kranenburg
Hi Boris, On 1/14/19 2:54 PM, Boris Ostrovsky wrote: > On 1/14/19 7:44 AM, Juergen Gross wrote: >> Commit f94c8d11699759 ("sched/clock, x86/tsc: Rework the x86 'unstable' >> sched_clock() interface") broke Xen guest time handling across >> migration: >> >> [ 187.249951] Freezing user space proces

[PATCH] mmc: cqhci: Fix a tiny potential memory leak on error condition

2019-01-15 Thread Alamy Liu
In the error case: either cq_host->desc_base or cq_host->trans_desc_base might have been granted memory successfully. The value of mmc_host->cqe_enabled stays 'false'. Thus, cqhci_disable (mmc_cqe_ops->cqe_disable) won't be called to free the memory. Also, cqhci_disable() is designed to

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

2019-01-15 Thread Paul Moore
On Tue, Jan 15, 2019 at 11:21 AM Richard Guy Briggs wrote: > > On 2019-01-14 17:58, Paul Moore wrote: > > On Mon, Dec 10, 2018 at 5:18 PM Richard Guy Briggs wrote: > > > Tie syscall information to all CONFIG_CHANGE calls since they are all a > > > result of user actions. > > > > > > Exclude user

Re: [PATCH v3] xen: Fix x86 sched_clock() interface for xen

2019-01-15 Thread Hans van Kranenburg
Hi, On 1/14/19 1:44 PM, Juergen Gross wrote: > Commit f94c8d11699759 ("sched/clock, x86/tsc: Rework the x86 'unstable' > sched_clock() interface") broke Xen guest time handling across > migration: > > [ 187.249951] Freezing user space processes ... (elapsed 0.001 seconds) done. > [ 187.251137]

Re: linux-next: Fixes tags need some work in the pm tree

2019-01-15 Thread Paul Gortmaker
[Re: linux-next: Fixes tags need some work in the pm tree] On 16/01/2019 (Wed 00:06) Rafael J. Wysocki wrote: > On Tuesday, January 15, 2019 11:43:05 PM CET Stephen Rothwell wrote: > > Hi Rafael, > > > > On Tue, 15 Jan 2019 23:13:16 +0100 "Rafael J. Wysocki" > > wrote: > > > > > > On Tuesday,

Re: [PATCH v2 2/2] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2019-01-15 Thread Dan Murphy
Hello Pavel Thanks for the review it is always good to have your comments. On 1/15/19 4:22 PM, Pavel Machek wrote: > Hi! > >>> +The 24-bit RGB value passed in follows the pattern 0xXXRRGGBB >>> +XX - Do not care ignored by the driver >>> +RR - is the 8 bit Red LED value >>> +GG - is the 8 bit Gr

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

2019-01-15 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 ++ tools/

Re: [PATCH 1/3] dt-bindings: pwm: kona: Add new compatible for new version pwm-kona

2019-01-15 Thread Scott Branden
Hi Uwe, On 2019-01-12 7:05 a.m., Uwe Kleine-König wrote: Hello Scott, On Fri, Jan 11, 2019 at 01:28:45PM -0800, Scott Branden wrote: On 2019-01-11 12:48 p.m., Uwe Kleine-König wrote: On Fri, Jan 11, 2019 at 10:51:14AM +0530, Sheetal Tigadoli wrote: From: Praveen Kumar B Add new compatible

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

2019-01-15 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 | 206 ++

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

2019-01-15 Thread Song Liu
With this patch, /proc/kallsyms will show BPF programs as t bpf_prog__ [bpf] 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 f3a04994e063..14934afa9e68 100644 --- a/kernel/kallsyms.c

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

2019-01-15 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 for

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

2019-01-15 Thread Song Liu
sync changes for PERF_RECORD_KSYMBOL 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 b/tools/include/uapi/linux/perf_event.h index 9de8780ac8d9.

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

2019-01-15 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 stored

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

2019-01-15 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 PERF_RECORD_KS

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

2019-01-15 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 v9 perf, bpf-next 8/9] perf top: Synthesize BPF events for pre-existing loaded BPF programs

2019-01-15 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: https://lkml.kernel.org/n/tip-h3loibff6htedj43q7uin...@git.kernel.o

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

2019-01-15 Thread Song Liu
sync for PERF_RECORD_BPF_EVENT 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 b/tools/include/uapi/linux/perf_event.h index 68c4da0227c5..8bd7

Re: [PATCH] misc: aspeed-lpc-ctrl: make memory-region optional

2019-01-15 Thread Joel Stanley
Hi Vijay, On Tue, 15 Jan 2019 at 12:51, Vijay Khemka wrote: > > Makiing memory-region as optional parameter in device tree if > user needs to use memory-region then define in devicetree. Thank you for finding the time to do this work. You're not the first to be blocked by this limitation, but yo

Re: [PATCH] input_event: Provide override for sparc64

2019-01-15 Thread Deepa Dinamani
> On Jan 15, 2019, at 2:32 PM, Dmitry Torokhov > wrote: > >> On Tue, Jan 15, 2019 at 1:29 PM David Miller wrote: >> >> From: Arnd Bergmann >> Date: Tue, 15 Jan 2019 22:19:27 +0100 >> >>> The correct check appears to be >>> >>> #if defined(__sparc__) && defined(__arch64__) >> >> That is

Re: Regression in v5.0-rc with regmap-irq level-irq changes

2019-01-15 Thread Tony Lindgren
* Mark Brown [190115 21:09]: > On Tue, Jan 15, 2019 at 11:28:40AM -0800, Tony Lindgren wrote: > > > Any ideas what's needed? Some triggering mapping data to palmas.c > > driver? > > There should be a fix in -next already waiting for me to send it to > Linus, can you check there (a couple actuall

Re: [PATCH 14/15] arch: add split IPC system calls where needed

2019-01-15 Thread Michael Ellerman
Arnd Bergmann writes: > On Mon, Jan 14, 2019 at 4:59 AM Michael Ellerman wrote: >> Arnd Bergmann writes: >> > arch/m68k/kernel/syscalls/syscall.tbl | 11 +++ >> > arch/mips/kernel/syscalls/syscall_o32.tbl | 11 +++ >> > arch/powerpc/kernel/syscalls/syscall.tbl | 12

Re: [PATCH 14/15] arch: add split IPC system calls where needed

2019-01-15 Thread Michael Ellerman
Arnd Bergmann writes: > On Tue, Jan 15, 2019 at 4:01 PM Arnd Bergmann wrote: >> >> On Mon, Jan 14, 2019 at 4:59 AM Michael Ellerman wrote: >> > Arnd Bergmann writes: >> > > arch/m68k/kernel/syscalls/syscall.tbl | 11 +++ >> > > arch/mips/kernel/syscalls/syscall_o32.tbl | 11 ++

[PATCH] ath9k/eeprom: Use scnprintf instead of snprintf

2019-01-15 Thread Kees Cook
Change snprintf to scnprintf. There are generally two cases where using snprintf causes problems. 1) Uses of size += snprintf(buf, SIZE - size, fmt, ...) In this case, if snprintf would have written more characters than what the buffer size (SIZE) is, then size will end up larger than SIZE. In la

[PATCH v3] usb: gadget: musb: fix short isoc packets with inventra dma

2019-01-15 Thread Paul Elder
Handling short packets (length < max packet size) in the Inventra DMA engine in the MUSB driver causes the MUSB DMA controller to hang. An example of a problem that is caused by this problem is when streaming video out of a UVC gadget, only the first video frame is transferred. For short packets (

Re: [PATCH v8 11/11] media: imx.rst: Update doc to reflect fixes to interlaced capture

2019-01-15 Thread Steve Longerbeam
On 1/15/19 3:54 PM, Steve Longerbeam wrote: media-ctl -V "'ipu1_csi0':0 [fmt:AYUV32/720x480]" This is the reason. The adv7180 is only allowing to configure alternate field mode, and thus it reports the field height on the mbus, not the full frame height. Imx deals with alternate field

[ANNOUNCE] 4.14.93-rt53

2019-01-15 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 4.14.93-rt53 stable release. This release is just an update to the new stable 4.14.93 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-r

[PATCH] doc: memcontrol: fix the obsolete content about force empty

2019-01-15 Thread Yang Shi
We don't do page cache reparent anymore when offlining memcg, so update force empty related content accordingly. Reviewed-by: Shakeel Butt Acked-by: Michal Hocko Cc: Johannes Weiner Signed-off-by: Yang Shi --- Documentation/cgroup-v1/memory.txt | 7 --- 1 file changed, 4 insertions(+), 3

Re: [PATCH v8 11/11] media: imx.rst: Update doc to reflect fixes to interlaced capture

2019-01-15 Thread Steve Longerbeam
Hi Tim, On 1/15/19 1:58 PM, Tim Harvey wrote: On Wed, Jan 9, 2019 at 10:30 AM Steve Longerbeam wrote: Also add an example pipeline for unconverted capture with interweave on SabreAuto. Cleanup some language in various places in the process. Signed-off-by: Steve Longerbeam Reviewed-by: Phili

[PATCH] scsi: be2iscsi: fix potential NULL pointer dereference

2019-01-15 Thread voytikd
From: Dmitry Voytik Fix potential NULL pointer dereference wich might happen in function beiscsi_alloc_mem() if kmalloc_array() for mem_descr->mem_array fails and as a result deref of NULL occurs while passing parameters to dma_free_coherent(). Signed-off-by: Dmitry Voytik --- drivers/scsi/be2

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

2019-01-15 Thread Matthias Kaehlcke
On Mon, Jan 14, 2019 at 08:22:12PM +0530, Balakrishna Godavarthi wrote: > Hi Matthias, > > On 2019-01-12 05:26, Matthias Kaehlcke wrote: > > On Fri, Jan 11, 2019 at 08:37:12PM +0530, Balakrishna Godavarthi wrote: > > > Hi Matthias, > > > > > > On 2019-01-11 07:07, Matthias Kaehlcke wrote: > > > >

Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged

2019-01-15 Thread Dave Chinner
On Fri, Jan 11, 2019 at 08:26:14AM -0800, Linus Torvalds wrote: > On Thu, Jan 10, 2019 at 11:36 PM Dave Chinner wrote: > > > > > It's only that single page that *matters*. That's the page that the > > > probe reveals the status of - but it's also the page that the probe > > > then *changes* the st

Re: [PATCH] arm64: dts: qcom: sdm845: Expand soc bus address range

2019-01-15 Thread Bjorn Andersson
On Tue 15 Jan 14:11 PST 2019, Doug Anderson wrote: > Hi, > > On Mon, Jan 14, 2019 at 1:19 PM Bjorn Andersson > wrote: > > > > DMA memory allocations for devices on the soc bus must be constrained to > > the 36 address bits that the bus provides, which without IOMMU is taken > > care of by the ad

Re: linux-next: Fixes tags need some work in the pm tree

2019-01-15 Thread Michael Ellerman
"Rafael J. Wysocki" writes: > On Tuesday, January 15, 2019 11:43:05 PM CET Stephen Rothwell wrote: >> Hi Rafael, >> >> On Tue, 15 Jan 2019 23:13:16 +0100 "Rafael J. Wysocki" >> wrote: >> > >> > On Tuesday, January 15, 2019 9:55:40 PM CET Stephen Rothwell wrote: >> > > [I am experimenting with c

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

2019-01-15 Thread Paul Gortmaker
[Re: linux-next: Fixes tag needs some work in the nfs-anna tree] On 15/01/2019 (Tue 23:12) Takashi Iwai wrote: > On Tue, 15 Jan 2019 22:41:21 +0100, > Chuck Lever wrote: > > > > Hi Stephen- > > > > On Jan 15, 2019, at 4:38 PM, Stephen Rothwell wrote: > > > > > [I am experimenting with checkin

Re: [PATCH v10 06/12] peci: Add a PECI adapter driver for Aspeed AST24xx/AST25xx

2019-01-15 Thread Jae Hyun Yoo
On 1/15/2019 3:14 PM, Joel Stanley wrote: On Tue, 15 Jan 2019 at 09:49, Jae Hyun Yoo wrote: + /** +* We check that the regmap works on this very first access, +* but as this is an MMIO-backed regmap, subsequent regmap +* access is not going to fail and we skip erro

Re: [PATCH i2c-next v9 0/5] i2c: aspeed: Add bus idle waiting logic for multi-master use cases

2019-01-15 Thread Jae Hyun Yoo
On 1/15/2019 2:47 PM, Wolfram Sang wrote: On Tue, Oct 30, 2018 at 02:09:11PM -0700, Jae Hyun Yoo wrote: In multi-master environment, this driver's master cannot know exactly when a peer master sends data to this driver's slave so a case can be happened that this master tries to send data through

Re: [PATCH v2 1/2] dt-binding: iio: add NPCM ADC documentation

2019-01-15 Thread Joel Stanley
On Thu, 10 Jan 2019 at 03:44, Tomer Maimon wrote: > +Required Node in the NPCM7xx BMC: > +An additional register is present in the NPCM7xx SOC which is > +assumed to be in the same device tree, with and marked as > +compatible with "nuvoton,npcm750-rst". Is there a reason you don't include a pha

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