Re: [PATCH v6 01/14] ACPI: ARM64: IORT: minor cleanup for iort_match_node_callback()

2017-01-03 Thread Hanjun Guo
Hi Lorenzo, On 2017/1/3 22:08, Lorenzo Pieralisi wrote: On Mon, Jan 02, 2017 at 09:31:32PM +0800, Hanjun Guo wrote: Cleanup iort_match_node_callback() a little bit to reduce some lines of code, aslo fix the indentation in iort_scan_node(). s/aslo/also "Also" in a commit log is a sign a patch

[v1] misc: genwqe: card_base:-Release memory regions obtained by pci_request_mem_regions

2017-01-03 Thread Arvind Yadav
Free memory regions, if genwqe_bus_reset is not successful. Signed-off-by: Arvind Yadav --- drivers/misc/genwqe/card_base.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/genwqe/card_base.c b/drivers/misc/genwqe/card_base.c index 6c1f49a..a998d40 100644 --- a/drivers/misc/genwq

Re: [RFC PATCH] input: Add disable sysfs entry for every input device

2017-01-03 Thread Ivaylo Dimitrov
On 3.01.2017 13:21, Bastien Nocera wrote: On Mon, 2017-01-02 at 18:09 +0100, Pali Rohár wrote: On Monday 02 January 2017 16:27:05 Bastien Nocera wrote: On Sun, 2016-12-25 at 11:04 +0100, Pali Rohár wrote: This patch allows user to disable events from any input device so events would not be

Re: [PATCH 2/7] mm, vmscan: add active list aging tracepoint

2017-01-03 Thread Michal Hocko
On Wed 04-01-17 14:07:22, Minchan Kim wrote: > On Tue, Jan 03, 2017 at 09:21:22AM +0100, Michal Hocko wrote: [...] > > with other tracepoints but that can be helpful because you do not have > > all the tracepoints enabled all the time. So unless you see this > > particular thing as a road block I w

Re: [PATCH] virtio_blk: avoid DMA to stack for the sense buffer

2017-01-03 Thread Jason Wang
On 2017年01月04日 13:25, Christoph Hellwig wrote: Most users of BLOCK_PC requests allocate the sense buffer on the stack, so to avoid DMA to the stack copy them to a field in the heap allocated virtblk_req structure. Without that any attempt at SCSI passthrough I/O, including the SG_IO ioctl from

RE: [PATCH v2 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-01-03 Thread Appana Durga Kedareswara Rao
Hi Jose Miguel Abreu, Thanks for the review... > >> If so then there is no race condition, but the HW image that I have > >> does not have this register enabled so I was getting this result > >> (memory corruption because not all framebuffers had addresses set). > > Thanks for the explana

Re: [PATCH v4 1/3] drm/exynos: mic: Add mode_set callback function

2017-01-03 Thread Inki Dae
2017년 01월 04일 15:58에 Hoegeun Kwon 이(가) 쓴 글: > Before applying the patch, used the of_get_videomode function to > parse the display-timings in the panel which is the child driver > of dsi in the devicetree. this is wrong. So removed the > of_get_videomode and fixed to get videomode struct through

Re: [PATCH v4 2/3] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-01-03 Thread Chanwoo Choi
Hi Hoegeun, I tested this patch on Exynos5433-TM2 board. It is well working Tested-by: Chanwoo Choi Regards, Chanwoo Choi On 2017년 01월 04일 15:58, Hoegeun Kwon wrote: > This patch add support for MIPI-DSI based S6E3HA2 AMOLED panel > driver. This panel has 1440x2560 resolution in 5.7-inch physi

Re: [PATCH 2/7] mm, vmscan: add active list aging tracepoint

2017-01-03 Thread Vlastimil Babka
On 01/04/2017 06:07 AM, Minchan Kim wrote: > With this, > ./scripts/bloat-o-meter vmlinux.old vmlinux.new.new > add/remove: 1/1 grow/shrink: 0/9 up/down: 1394/-1636 (-242) > function old new delta > isolate_lru_pages -1394

Re: [PATCH v6 06/14] irqchip: gicv3-its: platform-msi: refactor its_pmsi_init() to prepare for ACPI

2017-01-03 Thread Tomasz Nowicki
On 04.01.2017 08:02, Hanjun Guo wrote: Hi Tomasz, On 2017/1/3 15:41, Tomasz Nowicki wrote: Hi, Can we merge patch 4 & 6 into one patch so that we keep refactoring part as one piece ? I do not see a reason to keep them separate or have patch 5 in between. You can refactor what needs to be refac

[PATCH v3 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-01-03 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana --- Changes for v3: ---> None. Changes for v2: ---> Add idle check in the reset as suggested by Jose Abreu ---> Removed xilinx_dma_

[RESEND,PATCH v7 2/2] Documentation/ABI: Add ABI information for QCOM socinfo driver

2017-01-03 Thread Imran Khan
The socinfo ABI document describes the information provided by socinfo driver and the corresponding attributes to access that information. Signed-off-by: Imran Khan --- Documentation/ABI/stable/sysfs-driver-qcom_socinfo | 147 + 1 file changed, 147 insertions(+) create mode

[RESEND,PATCH v7 0/2] soc: qcom: Add SoC info driver

2017-01-03 Thread Imran Khan
This is patchset v7 which takes care of review comments received for patchset v6. Resending the patch set as the last one had a compilation error. Major changes with respect to patch v6 are as below: - Rather than showing string for h/w types, just show the number obtained from SMEM. The read

[PATCH v2 1/1] extcon: usb-gpio: add pinctrl operation during system PM

2017-01-03 Thread Peter Chen
At some systems, the pinctrl setting will be lost or needs to set as "sleep" state to save power consumption. So, we need to configure pinctrl as "sleep" state when system enters suspend, and as "default" state after system resumes. In this way, the pinctrl value can be recovered as "default" state

Re: [PATCH] dax: fix deadlock with DAX 4k holes

2017-01-03 Thread Jan Kara
On Tue 03-01-17 14:36:05, Ross Zwisler wrote: > Currently in DAX if we have three read faults on the same hole address we > can end up with the following: > > Thread 0 Thread 1Thread 2 > > dax_iomap_fault > grab_m

[RESEND,PATCH v7 1/2] soc: qcom: Add SoC info driver

2017-01-03 Thread Imran Khan
The SoC info driver provides information such as Chip ID, Chip family, serial number and other such details about Qualcomm SoCs to user space, so that if needed some user space utility(like antutu) can query such information using sysfs interface. Signed-off-by: Imran Khan --- v6 --> v7: - Some

[PATCH] memory: tegra: Add a missing 'of_node_put()' call

2017-01-03 Thread Christophe JAILLET
If 'of_find_device_by_node()' fails, an 'of_node_put()' call is missing in the error handling path. Fix it by reordering the code. While at it, remove some empty lines in a more or less similar construction a few lines below. Signed-off-by: Christophe JAILLET --- drivers/memory/tegra/tegra124-e

Re: [PATCH v4 2/3] ARM: dts: imx6: Support Savageboard dual

2017-01-03 Thread Milo Kim
On 01/04/2017 01:55 PM, Milo Kim wrote: Common savageboard DT file is used for board support. Add the vendor name and specify the dtb file for i.MX6Q build. Reviewed-by: Fabio Estevam Signed-off-by: Milo Kim --- .../devicetree/bindings/vendor-prefixes.txt| 1 + arch/arm/boot/dts/Mak

[PATCH v3 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-01-03 Thread Kedareswara rao Appana
When driver is handling AXI DMA SoftIP When user submits multiple descriptors back to back on the S2MM(recv) side with the current driver flow the last buffer descriptor next bd points to a invalid location resulting the invalid data or errors in the DMA engine. This patch fixes this issue by crea

[PATCH v3 0/3] dmaengine: xilinx_dma: Bug fixes

2017-01-03 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w Fix ---> bug in Multi frame sotres handling in VDMA Fix issues w.r.to multi ---> frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara rao Appana (3): dmaengin

[PATCH v3 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-01-03 Thread Kedareswara rao Appana
When VDMA is configured for more than one frame in the h/w for example h/w is configured for n number of frames and user Submits n number of frames and triggered the DMA using issue_pending API. In the current driver flow we are submitting one frame at a time but we should submit all the n number o

Re: [PATCH v3] IB/umem: Release pid in error and ODP flow

2017-01-03 Thread Leon Romanovsky
On Wed, Jan 04, 2017 at 03:07:04PM +0800, Kenneth Lee wrote: > On Tue, Jan 03, 2017 at 12:12:24PM +0200, Leon Romanovsky wrote: > > Date: Tue, 3 Jan 2017 12:12:24 +0200 > > From: Leon Romanovsky > > To: Kenneth Lee > > CC: dledf...@redhat.com, sean.he...@intel.com, hal.rosenst...@gmail.com, > >

Re: [PATCH 1/2] pwm: sunxi: allow the pwm to finish its pulse before disable

2017-01-03 Thread Thierry Reding
On Tue, Jan 03, 2017 at 05:55:54PM +0100, Alexandre Belloni wrote: > On 03/01/2017 at 16:59:57 +0100, Olliver Schinagl wrote : > > On 12-12-16 13:24, Maxime Ripard wrote: > > > On Thu, Dec 08, 2016 at 02:23:39PM +0100, Olliver Schinagl wrote: > > > > Hey Maxime, > > > > > > > > first off, also sor

RE: [PATCH 1/1] regulator: fixed: add suspend pm routines for pinctrl

2017-01-03 Thread Peter Chen
>>On Tue, Jan 03, 2017 at 05:02:47PM +0800, Peter Chen wrote: >>> At some systems, the pinctrl setting will be lost or needs to set as >>> "sleep" state to save power consumption. So, we need to configure >>> pinctrl as "sleep" state when system enters suspend, and as "default" >>> state after sy

[PATCH resend v4 2/3] ARM: dts: imx6: Support Savageboard dual

2017-01-03 Thread Milo Kim
Common savageboard DT file is used for board support. Add the vendor name and specify the dtb file for i.MX6Q build. Reviewed-by: Fabio Estevam Signed-off-by: Milo Kim --- .../devicetree/bindings/vendor-prefixes.txt| 1 + arch/arm/boot/dts/Makefile | 1 + arch/

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2017-01-03 Thread Ding Tianhong
On 2017/1/4 8:57, Paul E. McKenney wrote: > On Wed, Dec 28, 2016 at 04:13:15PM -0800, Paul E. McKenney wrote: >> On Wed, Dec 28, 2016 at 01:58:06PM +0800, Ding Tianhong wrote: >>> Hi, Paul: >>> >>> I try to debug this problem and found this solution could work well for >>> both problem scene. >>

Re: [PATCH v6 06/14] irqchip: gicv3-its: platform-msi: refactor its_pmsi_init() to prepare for ACPI

2017-01-03 Thread Hanjun Guo
Hi Tomasz, On 2017/1/3 15:41, Tomasz Nowicki wrote: Hi, Can we merge patch 4 & 6 into one patch so that we keep refactoring part as one piece ? I do not see a reason to keep them separate or have patch 5 in between. You can refactor what needs to be refactored, add necessary functions to iort.c

[PATCH v4 3/3] arm64: dts: exynos: Add support for S6E3HA2 panel device on TM2 board

2017-01-03 Thread Hoegeun Kwon
From: Hyungwon Hwang This patch add the panel device tree node for S6E3HA2 display controller to TM2 dts. Signed-off-by: Hyungwon Hwang Signed-off-by: Andrzej Hajda Signed-off-by: Chanwoo Choi Signed-off-by: Hoegeun Kwon --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 17 +++

[PATCH v4 1/3] drm/exynos: mic: Add mode_set callback function

2017-01-03 Thread Hoegeun Kwon
Before applying the patch, used the of_get_videomode function to parse the display-timings in the panel which is the child driver of dsi in the devicetree. this is wrong. So removed the of_get_videomode and fixed to get videomode struct through mode_set callback function. Signed-off-by: Hoegeun Kw

[PATCH v4 0/3] Add support for the S6E3HA2 panel on TM2 board

2017-01-03 Thread Hoegeun Kwon
Purpose of this patch is add support for S6E3HA2 AMOLED panel on the TM2 board. The first patch adds support for S6E3HA2 panel device tree document and driver, the second patch add support for S6E3HA2 panel device tree. Changes for V4: - Removed display-timings in devicetree, the display-timings

[PATCH v4 2/3] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-01-03 Thread Hoegeun Kwon
This patch add support for MIPI-DSI based S6E3HA2 AMOLED panel driver. This panel has 1440x2560 resolution in 5.7-inch physical panel in the TM2 device. Signed-off-by: Donghwa Lee Signed-off-by: Hyungwon Hwang Signed-off-by: Hoegeun Kwon --- .../bindings/display/panel/samsung,s6e3ha2.txt |

[Acked] [PATCH] checkpatch: Warn on embedded function names

2017-01-03 Thread Andy Whitcroft
On Tue, Jan 03, 2017 at 07:21:54PM -0800, Joe Perches wrote: > Embedded function names are less appropriate to use when > refactoring can cause function renaming. Prefer the use > of "%s", __func__ to embedded function names. > > Signed-off-by: Joe Perches > --- > scripts/checkpatch.pl | 22 +++

Re: [PATCH 7/7] misc: intel-ish-client: add intel ishtp clients driver

2017-01-03 Thread Xu, Even
On 二, 2017-01-03 at 10:54 +0100, Jiri Kosina wrote: > On Fri, 23 Dec 2016, Even Xu wrote: > > [ ... snip ... ] > > > > +static ssize_t ishtp_cl_write(struct file *file, const char __user > > *ubuf, > > + size_t length, loff_t *offset) > > +{ > > + struct ishtp_cl_miscdev *ishtp_cl_misc = file

RE: [PATCH 1/1] regulator: fixed: add suspend pm routines for pinctrl

2017-01-03 Thread Peter Chen
>On Tue, Jan 03, 2017 at 05:02:47PM +0800, Peter Chen wrote: >> At some systems, the pinctrl setting will be lost or needs to set as >> "sleep" state to save power consumption. So, we need to configure >> pinctrl as "sleep" state when system enters suspend, and as "default" >> state after system re

RE: [PATCH 1/1] extcon: usb-gpio: add pinctrl operation during system PM

2017-01-03 Thread Peter Chen
> >On 03/01/17 10:17, Peter Chen wrote: >> At some systems, the pinctrl setting will be lost or needs to set as >> "sleep" state to save power consumption. So, we need to configure >> pinctrl as "sleep" state when system enters suspend, and as "default" >> state after system resumes. In this way,

Re: [PATCH] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2017-01-03 Thread Dmitry Torokhov
On Tue, Jan 03, 2017 at 10:29:34PM +0100, Benjamin Tissoires wrote: > On Jan 03 2017 or thereabouts, Dmitry Torokhov wrote: > > > Yet another option: can we add a new flag to i2c_board_info controlling > > whether we want to enable/disable wiring up host notify interrupt? > > That should be fairly

Re: [PATCH 2/2] Fix warning during compilation

2017-01-03 Thread Ivan Stoyanov
I have done this patch for mainline because since v4.3 the ipu driver doesn't work properly. The reason is mistake in v4.3 considering both functions ipu_irq_err and ipu_irq_fn for equal and they was merged to ipu_irq_handler. But there is only one difference between these functions which was mi

Re: [PATCH v5 0/2] change the proc handler for nsm_use_hostnames

2017-01-03 Thread hejianet
Ping, any comments are welcome. Thanks B.R. Jia On 15/12/2016 3:24 PM, Jia He wrote: nsm_use_hostnames is a module parameter and it will be exported to sysctl procfs. This is to let user sometimes change it from userspace. But the minimal unit for sysctl procfs read/write it sizeof(int). In b

Re: [PATCH v3] IB/umem: Release pid in error and ODP flow

2017-01-03 Thread Kenneth Lee
On Tue, Jan 03, 2017 at 12:12:24PM +0200, Leon Romanovsky wrote: > Date: Tue, 3 Jan 2017 12:12:24 +0200 > From: Leon Romanovsky > To: Kenneth Lee > CC: dledf...@redhat.com, sean.he...@intel.com, hal.rosenst...@gmail.com, > robin.mur...@arm.com, jroe...@suse.de, egtv...@samfundet.no, > vgu...@sy

Re: Designated initializers, struct randomization and addressing?

2017-01-03 Thread Kees Cook
On Tue, Jan 3, 2017 at 10:27 PM, Julia Lawall wrote: > > > On Tue, 3 Jan 2017, Kees Cook wrote: > >> On Tue, Dec 20, 2016 at 9:29 AM, Joe Perches wrote: >> > On Fri, 2016-12-16 at 17:00 -0800, Kees Cook wrote: >> >> Prepare to mark sensitive kernel structures for randomization by making >> > sure

Re: [PATCH 0/2] Begin auditing SECCOMP_RET_ERRNO return actions

2017-01-03 Thread Kees Cook
On Tue, Jan 3, 2017 at 8:43 PM, Richard Guy Briggs wrote: > On 2017-01-04 08:58, Tyler Hicks wrote: >> On 01/04/2017 04:44 AM, Kees Cook wrote: >> > On Tue, Jan 3, 2017 at 1:31 PM, Paul Moore wrote: >> >> On Tue, Jan 3, 2017 at 4:21 PM, Kees Cook wrote: >> >>> On Tue, Jan 3, 2017 at 1:13 PM, Pau

Re: [PATCH 1/2] arm64: dma_mapping: allow PCI host driver to limit DMA mask

2017-01-03 Thread Nikita Yushchenko
> commit 9a57d58d116800a535510053136c6dd7a9c26e25 > Author: Arnd Bergmann > Date: Tue Nov 17 14:06:55 2015 +0100 > > [EXPERIMENTAL] ARM64: check implement dma_set_mask > > Needs work for coherent mask > > Signed-off-by: Arnd Bergmann Unfortunately this is far incomplete

[PATCH] ACPI/PCI: Fix bus range comparation in pci_mcfg_lookup

2017-01-03 Thread Zhou Wang
The configuration data provided by an MCFG region (ie PCI segment and bus range) may span multiple host bridges. Current code in pci_mcfg_lookup() carries out an exact match of host bridge bus range start value against the MCFG region(s) bus range start value which would cause configurations like

Re: [PATCH v2 1/2] ALSA: usb-audio: Fix irq/process data synchronization

2017-01-03 Thread Takashi Iwai
On Mon, 02 Jan 2017 16:50:30 +0100, Ioan-Adrian Ratiu wrote: > > --- a/sound/usb/pcm.c > +++ b/sound/usb/pcm.c (snip) > @@ -850,7 +850,7 @@ static int snd_usb_pcm_prepare(struct snd_pcm_substream > *substream) > /* for playback, submit the URBs now; otherwise, the first hwptr_done >

Re: Designated initializers, struct randomization and addressing?

2017-01-03 Thread Julia Lawall
On Tue, 3 Jan 2017, Kees Cook wrote: > On Tue, Dec 20, 2016 at 9:29 AM, Joe Perches wrote: > > On Fri, 2016-12-16 at 17:00 -0800, Kees Cook wrote: > >> Prepare to mark sensitive kernel structures for randomization by making > > sure they're using designated initializers. > > > > About the desig

[PATCH zram] extend zero pages to same element pages

2017-01-03 Thread zhouxianrong
From: z00281421 Signed-off-by: z00281421 --- drivers/block/zram/zram_drv.c | 67 ++--- drivers/block/zram/zram_drv.h | 11 --- 2 files changed, 49 insertions(+), 29 deletions(-) diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_dr

Re: [PATCH v3 0/8] pstore: ramoops: support multiple pmsg instances

2017-01-03 Thread Kees Cook
On Mon, Dec 26, 2016 at 4:48 PM, 岩松信洋 / IWAMATSU,NOBUHIRO wrote: > Ping?_ > >> -Original Message- >> From: linux-kernel-ow...@vger.kernel.org >> [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of 岩松信洋 / >> IWAMATSU,NOBUHIRO >> Sent: Monday, December 05, 2016 10:47 AM >> To: Kees Cook

[PATCH] checkpatch: Warn on embedded function names

2017-01-03 Thread Joe Perches
Embedded function names are less appropriate to use when refactoring can cause function renaming. Prefer the use of "%s", __func__ to embedded function names. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff

Re: [PATCH RFC V2] purgatory: fix up declarations

2017-01-03 Thread Dave Young
Vivek, thanks for ccing me.. On 01/03/17 at 04:34pm, Nicholas Mc Guire wrote: > On Tue, Jan 03, 2017 at 10:38:14AM -0500, Vivek Goyal wrote: > > On Fri, Dec 23, 2016 at 12:43:07PM +0100, Nicholas Mc Guire wrote: > > > Add the missing declarations of basic purgatory functions and variables > > > us

[PATCH] checkpatch: Warn on embedded function names

2017-01-03 Thread Joe Perches
Embedded function names are less appropriate to use when refactoring can cause function renaming. Prefer the use of "%s", __func__ to embedded function names. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff

ext4 filesystem corruption with 4.10-rc2 on ppc64le

2017-01-03 Thread Anton Blanchard
Hi, I'm consistently seeing ext4 filesystem corruption using a mainline kernel. It doesn't take much to trigger it - download a ppc64le Ubuntu cloud image, boot it in KVM and run: sudo apt-get update sudo apt-get dist-upgrade sudo reboot And it never makes it back up, dying with rather severe fi

Re: [PATCH 3/6 linux-next] fs/affs: make affs exportable

2017-01-03 Thread Fabian Frederick
> On 03 January 2017 at 23:29 Al Viro wrote: > > > On Tue, Jan 03, 2017 at 10:30:39PM +0100, Fabian Frederick wrote: > > Add standard functions making AFFS work with NFS. > > > > Functions based on ext4 implementation. > > Tested on loop device. > > How the hell is that supposed to work with col

Please add fscrypt.git to linux-next

2017-01-03 Thread Theodore Ts'o
Could you please add: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/fscrypt.git master To the linux-next tree? I was previously feeding fscrypt changes by merging them into the ext4.git dev branch, but it will make life simpler if we have a separate git tree for it. Linus has already acc

Re: [PATCH v5 3/4] soc: zte: pm_domains: Add support for zx296718 board

2017-01-03 Thread Shawn Guo
On Wed, Jan 04, 2017 at 08:19:16AM +0800, Baoyou Xie wrote: > This patch introduces the power domain driver of zx296718 > which belongs to zte's zx2967 family. > > Signed-off-by: Baoyou Xie > Reviewed-by: Shawn Guo > Reviewed-by: Jun Nie Jun did give his Reviewed-by tag on v2 of this patch, bu

Re: [RFC PATCH] ACPI/PCI: Fix bus range comparation in pci_mcfg_lookup

2017-01-03 Thread Zhou Wang
On 2017/1/3 20:00, Lorenzo Pieralisi wrote: > On Thu, Dec 22, 2016 at 05:07:43PM +0800, Zhou Wang wrote: >> Multiple PCIe host bridges may exists in one PCIe segment. So bus range for >> each >> host bridge should be in the coverage of bus range of related PCIe segment. >> >> This patch will suppo

Re: [tpmdd-devel] [PATCH RFC 0/4] RFC: in-kernel resource manager

2017-01-03 Thread Andy Lutomirski
On 01/02/2017 09:26 PM, James Bottomley wrote: On Mon, 2017-01-02 at 13:40 -0800, James Bottomley wrote: On Mon, 2017-01-02 at 21:33 +0200, Jarkko Sakkinen wrote: On Mon, Jan 02, 2017 at 08:36:20AM -0800, James Bottomley wrote: On Mon, 2017-01-02 at 15:22 +0200, Jarkko Sakkinen wrote: This pa

Re: [PATCH v5 2/4] soc: zte: pm_domains: Prepare for supporting ARMv8 zx2967 family

2017-01-03 Thread Shawn Guo
On Wed, Jan 04, 2017 at 08:19:15AM +0800, Baoyou Xie wrote: > The ARMv8 zx2967 family (296718, 296716 etc) uses different value > for controlling the power domain on/off registers, Choose the > value depending on the compatible. > > Multiple domains are prepared for the family, this patch prepares

Re: [PATCH v5 1/4] soc: zte: Add header for PM domains specifiers

2017-01-03 Thread Shawn Guo
On Wed, Jan 04, 2017 at 08:19:14AM +0800, Baoyou Xie wrote: > This patch adds header with values used for ZTE 2967 > SoC's power domain driver. > > Signed-off-by: Baoyou Xie > Reviewed-by: Shawn Guo The tags like Reviewed-by, Acked-by etc, can only be added into your patch after people give it

[PATCH] usb: gadget: composite: Fix function used to free memory

2017-01-03 Thread Christophe JAILLET
'cdev->os_desc_req' has been allocated with 'usb_ep_alloc_request()' so 'usb_ep_free_request()' should be used to free it. Signed-off-by: Christophe JAILLET --- drivers/usb/gadget/composite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/composite.c b/dri

[PATCH v3 1/2] mailbox: Add driver for Broadcom FlexRM ring manager

2017-01-03 Thread Anup Patel
Some of the Broadcom iProc SoCs have FlexRM ring manager which provides a ring-based programming interface to various offload engines (e.g. RAID, Crypto, etc). This patch adds a common mailbox driver for Broadcom FlexRM ring manager which can be shared by various offload engine drivers (implemente

[PATCH v3 2/2] dt-bindings: Add DT bindings info for FlexRM ring manager

2017-01-03 Thread Anup Patel
This patch adds device tree bindings document for the FlexRM ring manager found on Broadcom iProc SoCs. Reviewed-by: Ray Jui Reviewed-by: Scott Branden Signed-off-by: Anup Patel --- .../bindings/mailbox/brcm,iproc-flexrm-mbox.txt| 60 ++ 1 file changed, 60 insertions(+)

[PATCH v3 0/2] Broadcom FlexRM ring manager support

2017-01-03 Thread Anup Patel
The Broadcom FlexRM ring manager provides producer-consumer style ring interface for offload engines on Broadcom iProc SoCs. We can have one or more instances of Broadcom FlexRM ring manager in a SoC. This patchset adds a mailbox driver for Broadcom FlexRM ring manager which can be used by offload

Re: [dm-devel] [PATCH v2 1/1] block: fix blk_queue_split() resource exhaustion

2017-01-03 Thread NeilBrown
On Tue, Jan 03 2017, Jack Wang wrote: > 2016-12-23 12:45 GMT+01:00 Lars Ellenberg : >> On Fri, Dec 23, 2016 at 09:49:53AM +0100, Michael Wang wrote: >>> Dear Maintainers >>> >>> I'd like to ask for the status of this patch since we hit the >>> issue too during our testing on md raid1. >>> >>> Spli

Re: [PATCH 08/29] efi: Allow drivers to reserve boot services forever

2017-01-03 Thread Dave Young
On 01/03/17 at 06:48pm, Dan Williams wrote: > On Fri, Sep 9, 2016 at 8:18 AM, Matt Fleming wrote: > > Today, it is not possible for drivers to reserve EFI boot services for > > access after efi_free_boot_services() has been called on x86. For > > ARM/arm64 it can be done simply by calling memblock

Re: [RFC PATCH v2] crypto: Add IV generation algorithms

2017-01-03 Thread Binoy Jayan
Hi Gilad, On 3 January 2017 at 19:53, Gilad Ben-Yossef wrote: > Good idea. I wanted to test the patch but alas it does not apply cleanly. > You seem to have a blank line at the end of files and other small > transgressions that makes checkpatch grumpy. I think that is because there were some key

[PATCH] virtio_blk: avoid DMA to stack for the sense buffer

2017-01-03 Thread Christoph Hellwig
Most users of BLOCK_PC requests allocate the sense buffer on the stack, so to avoid DMA to the stack copy them to a field in the heap allocated virtblk_req structure. Without that any attempt at SCSI passthrough I/O, including the SG_IO ioctl from userspace will crash the kernel. Note that this i

4.10 and -stable fix for virtio_blk and virtually mapped stacks

2017-01-03 Thread Christoph Hellwig
Without this fix attempts to do scsi passthrough on virtio_blk will crash the system on virtually mapped stacks, which is something happening during boot with many distros.

[PATCH v4 0/3] ARM: dts: imx6: Support Poslab Savageboard dual & quad

2017-01-03 Thread Milo Kim
Poslab Savageboard is the i.MX6 SoC base, but BSP code from the vendor is not mainline u-boot and kernel. Personal reason of using this board is testing etnaviv user-space driver, so I re-write device tree files based on mainline kernel for the first step. This patchset includes common DT file,

Re: [PATCH 2/7] mm, vmscan: add active list aging tracepoint

2017-01-03 Thread Minchan Kim
On Tue, Jan 03, 2017 at 09:21:22AM +0100, Michal Hocko wrote: > On Tue 03-01-17 14:03:28, Minchan Kim wrote: > > Hi Michal, > > > > On Fri, Dec 30, 2016 at 05:37:42PM +0100, Michal Hocko wrote: > > > On Sat 31-12-16 01:04:56, Minchan Kim wrote: > > > [...] > > > > > From 5f1bc22ad1e54050b4da3228d6

Re: [PATCH tip/master v3] kprobes: extable: Identify kprobes' insn-slots as kernel text area

2017-01-03 Thread Masami Hiramatsu
On Tue, 3 Jan 2017 11:54:02 +0100 Peter Zijlstra wrote: > On Tue, Dec 27, 2016 at 03:14:10PM +0900, Masami Hiramatsu wrote: > > > diff --git a/kernel/extable.c b/kernel/extable.c > > index e820cce..81c9633 100644 > > --- a/kernel/extable.c > > +++ b/kernel/extable.c > > > @@ -123,7 +126,11 @@ i

Re: [RFC 1/3] abi_spec: basic definitions of constraints, args and syscalls

2017-01-03 Thread alexander . levin
On Wed, Dec 14, 2016 at 08:46:25PM +0100, Dmitry Vyukov wrote: > Here is my current prototype: > https://github.com/dvyukov/linux/commit/6200a9333e78bef393f8ead41205813b94d340f3 > > For now it can trace arguments of 4 system calls: > > [4.055483] [pid 1258] open(&7ffdefc023a0=[], 0x0, 0x1

[PATCH v4 1/3] ARM: dts: imx6: Add Savageboard common file

2017-01-03 Thread Milo Kim
* Memory memblock for DDR3 1GB * Regulator 3.3V for panel and backlight. * Display Enable HDMI and LVDS panel. Savageboard supports AVIC TM097TDH02 panel which is compatible with Hannstar HSD100PXN1, so reuse it. * Clock The commit d28be499c45e6 ("ARM: dts: imx6qdl-sabresd: Allow HDMI

[PATCH v4 2/3] ARM: dts: imx6: Support Savageboard dual

2017-01-03 Thread Milo Kim
Common savageboard DT file is used for board support. Add the vendor name and specify the dtb file for i.MX6Q build. Reviewed-by: Fabio Estevam Signed-off-by: Milo Kim --- .../devicetree/bindings/vendor-prefixes.txt| 1 + arch/arm/boot/dts/Makefile | 1 + arch/

[PATCH net-next] net: phy: add extension of phy-mode for XLGMII

2017-01-03 Thread Jie Deng
The Synopsys DWC_xlgmac core provides a multiplexed 40-Gigabit Media-Independent Interface (XLGMII, an IEEE 802.3 Clause 81 compliant reconciliation sub-layer) for communication with the 100/50/40/25-Gigabit PHY and 10-Gigabit Media-Independent Interface (XGMII, an IEEE 802.3 Clause 46 compliant re

[PATCH v4 3/3] ARM: dts: imx6: Support Savageboard quad

2017-01-03 Thread Milo Kim
Use common board file and support SATA interface additionally. Specify the dtb file for i.MX6 build. Reviewed-by: Fabio Estevam Signed-off-by: Milo Kim --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6q-savageboard.dts | 55 + 2 files cha

Re: [PATCH] thermal: add thermal_zone_remove_device_groups()

2017-01-03 Thread Zhang Rui
On Wed, 2017-01-04 at 12:35 +0800, Zhang Rui wrote: > On Thu, 2016-12-15 at 16:47 -0500, Yasuaki Ishimatsu wrote: > > > > When offlining all cores on a CPU, the following system panic > > occurs: > > > > BUG: unable to handle kernel NULL pointer dereference at (null) > > IP: strlen+0x0/0x20 > >

Re: [PATCH 0/2] Begin auditing SECCOMP_RET_ERRNO return actions

2017-01-03 Thread Richard Guy Briggs
On 2017-01-04 08:58, Tyler Hicks wrote: > On 01/04/2017 04:44 AM, Kees Cook wrote: > > On Tue, Jan 3, 2017 at 1:31 PM, Paul Moore wrote: > >> On Tue, Jan 3, 2017 at 4:21 PM, Kees Cook wrote: > >>> On Tue, Jan 3, 2017 at 1:13 PM, Paul Moore wrote: > On Tue, Jan 3, 2017 at 4:03 PM, Kees Cook

Re: kvm: GPF in irq_bypass_unregister_consumer

2017-01-03 Thread Wanpeng Li
2017-01-03 17:32 GMT+08:00 Dmitry Vyukov : > On Sat, Nov 12, 2016 at 2:21 AM, Dmitry Vyukov wrote: >> Hello, >> >> The following programs triggers GPF in irq_bypass_unregister_consumer >> if run in a parallel loop: >> https://gist.githubusercontent.com/dvyukov/0d18d7b11659187ec3eab22285b4a67e/raw/

Re: [PATCH] thermal: add thermal_zone_remove_device_groups()

2017-01-03 Thread Zhang Rui
On Thu, 2016-12-15 at 16:47 -0500, Yasuaki Ishimatsu wrote: > When offlining all cores on a CPU, the following system panic > occurs: > > BUG: unable to handle kernel NULL pointer dereference at (null) > IP: strlen+0x0/0x20 > > Call Trace: >   ? kernfs_name_hash+0x17/0x80 >   kernfs_find_ns+0x3f/

Re: [PATCH] dmaengine: ipu: Revert ipu_irq_handler changes.

2017-01-03 Thread Vinod Koul
On Fri, Dec 23, 2016 at 02:31:00PM +0200, ivan.stoya...@amk-drives.bg wrote: > From: Ivan Stoyanov > > In commit 3d8cc00073d6750ffe883685e49b2e4a0f596370 are consolidate functions > ipu_irq_err and ipu_irq_fn considered for duplicated. > Since this patch ipu driver does not work properly and cau

Re: mount_pseudo(), sget() and MS_KERNMOUNT

2017-01-03 Thread Eric W. Biederman
Luis Ressel writes: > Hello, > > With Linux 4.8, the sget() function in fs/super.c got a new permission > check: It now returns -EPERM if > (!(flags & MS_KERNMOUNT) && !ns_capable(user_ns, CAP_SYS_ADMIN)) . > > I presume the first half is intented to detect in-kernel mounts? If so, > why doesn't

[PATCH perf/core 2/3] perf-probe: Fix to probe on gcc generated symbols for offline kernel

2017-01-03 Thread Masami Hiramatsu
Fix perf-probe to show probe definition on gcc generated symbols for offline kernel (including cross-arch kernel image). Gcc sometimes optimizes functions and generate new symbols with suffixes such as ".constprop.N" or ".isra.N" etc. Since those symbol names are not recorded in DWARF, we have to

Re: [PATCH] f2fs: fix small discards when se->valid_blocks is zero

2017-01-03 Thread Yunlong Song
Hi Kim, Although the blocks of that file will finally be discarded when it is not current segment any more and almost fully invalidate, but the point is that the blocks of that file can only be discarded along with the whole segment now, which violates the meaning of small discard. Look at th

[PATCH perf/core 3/3] perf-probe: Fix to probe on gcc generated functions in modules

2017-01-03 Thread Masami Hiramatsu
Fix to probe on gcc generated functions on modules. Since probing on a module is based on its symbol name, it should be adjusted on actual symbols. E.g. without this fix, perf probe shows probe definition on non-exist symbol as below. - $ perf probe -m build-x86_64/net/netfilter/nf_nat.ko

[PATCH] irqchip: st: avoid compile error when PM is disabled

2017-01-03 Thread Chris Packham
When power management is disabled in the kernel configuration compiler will complain that st_irq_syscfg_resume is defined but not used. Wrap the function definition with CONFIG_PM_SLEEP as per other users of SIMPLE_DEV_PM_OPS. Signed-off-by: Chris Packham --- drivers/irqchip/irq-st.c | 2 ++ 1 f

Re: [lkp-developer] [drm] 75f6dfe3e6: BUG:unable_to_handle_kernel

2017-01-03 Thread Gabriel Krisman Bertazi
kernel test robot writes: > > on test machine: qemu-system-x86_64 -enable-kvm -m 320M > > caused below changes: > > [1.608985] mwave: mwavedd::mwave_init: Error: Failed to initialize > [1.609295] Hangcheck: starting hangcheck timer 0.9.1 (tick is 180 > seconds, margin is 60 seconds). >

linux-next: Tree for Jan 4

2017-01-03 Thread Stephen Rothwell
Hi all, Changes since 20170103: Dropped tree: rdma-leon (build error) The swiotlb tree gained a build failure so I used the version from next-20170103. The rdma-leon tree gained a build failure so I dropped it again. Non-merge commits (relative to Linus' tree): 1763 2251 files changed,

Re: [f2fs-dev] [PATCH 03/10] f2fs: add submit_bio tracepoint

2017-01-03 Thread Chao Yu
Hi Jaegeuk, On 2016/12/31 2:51, Jaegeuk Kim wrote: > This patch adds final submit_bio() tracepoint. > > Signed-off-by: Jaegeuk Kim > --- > fs/f2fs/data.c | 1 + > include/trace/events/f2fs.h | 31 +++ > 2 files changed, 32 insertions(+) > > diff --git

[PATCH perf/core 1/3] perf-probe: Fix --funcs to show correct symbols for offline module

2017-01-03 Thread Masami Hiramatsu
Fix --funcs (-F) option to show correct symbols for offline module. Since previous perf-probe uses machine__findnew_module_map() for offline module, even if user passes a module file (with full path) which is for other architecture, perf-probe always tries to load symbol map for current kernel modu

[PATCH perf/core 0/3] perf-probe: Fix offline module and cross-arch support

2017-01-03 Thread Masami Hiramatsu
Hello, This series fixes some issues on offline module/cross-arch probe support. While I was debuging arm32 kernel with cross-arch perf-probe, I found several issues. - perf-probe didn't show correct probe definition on gcc-generated symbols (on both of kernel and module). - perf-probe didn't s

[PATCH 4/4] watchdog: coh901327_wdt: Use dev variable instead of pdev->dev

2017-01-03 Thread Guenter Roeck
Use a local dev variable instead of dereferencing pdev->dev several times in the probe function to make the code easier to read. Signed-off-by: Guenter Roeck --- drivers/watchdog/coh901327_wdt.c | 34 +++--- 1 file changed, 15 insertions(+), 19 deletions(-) diff --gi

Re: [f2fs-dev] [PATCH 01/10] f2fs: reassign new segment for mode=lfs

2017-01-03 Thread Chao Yu
Hi Jaegeuk, On 2016/12/31 2:51, Jaegeuk Kim wrote: > Otherwise we can remain wrong curseg->next_blkoff, resulting in fsck failure. Could you explain more about this case? Thanks, > > Signed-off-by: Jaegeuk Kim > --- > fs/f2fs/segment.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --gi

[PATCH 1/4] watchdog: coh901327_wdt: Simplify error handling in probe function

2017-01-03 Thread Guenter Roeck
Checking if there is no error followed by a goto if there is one is confusing. Reverse the logic. Signed-off-by: Guenter Roeck --- drivers/watchdog/coh901327_wdt.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/watchdog/coh901327_wdt.c b/drivers/watchdog/coh901

[PATCH 2/4] watchdog: coh901327_wdt: Keep clock enabled after loading driver

2017-01-03 Thread Guenter Roeck
Enabling the clock before accessing chip registers and disabling it afterwards does not really make sense and only adds complexity to the driver. In addition to that, a comment int the driver suggests that it does not serve a useful purpose either. "The watchdog block is of course always clocked,

Re: [f2fs-dev] [PATCH 02/10] f2fs: fix wrong tracepoints for op and op_flags

2017-01-03 Thread Chao Yu
On 2016/12/31 2:51, Jaegeuk Kim wrote: > This patch fixes wrong tracepoints in terms of op and op_flags. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu

[PATCH 3/4] watchdog: coh901327_wdt: Use devm_ioremap_resource to map resources

2017-01-03 Thread Guenter Roeck
Map resources using devm_ioremap_resource() to simplify error handling. Signed-off-by: Guenter Roeck --- drivers/watchdog/coh901327_wdt.c | 31 +-- 1 file changed, 5 insertions(+), 26 deletions(-) diff --git a/drivers/watchdog/coh901327_wdt.c b/drivers/watchdog/coh90

Need clarity on PCIe MSI interrupt in device tree

2017-01-03 Thread valmiki
Hi, I have confusion on MSI interrupt flags in PCIe documetation. MSI interrupts are edge triggered, but i see some controllers use Ex:tegra <0 99 0x4>, here interrupt flags show 0x4 which means level sensitive as per include/dt-bindings/interrupt-controller/irq.h. May i know why is it like

[PATCH] ACPI / EC: Remove old CLEAR_ON_RESUME quirk

2017-01-03 Thread Lv Zheng
IRQ polling logic has been implemented to drain the post-boot/resume EC events: 1. Triggered by the following code, invoked from acpi_ec_enable_event(): if (!test_bit(EC_FLAGS_QUERY_PENDING, &ec->flags)) advance_transaction(ec); 2. Drained by the following code, invoked afte

[PATCH v2 2/4] watchdog: iTCO_wdt: Use device managed resources

2017-01-03 Thread Guenter Roeck
Using device managed resources simplifies error handling and cleanup, and to reduce the likelyhood of errors. Reviewed-by: Andy Shevchenko Signed-off-by: Guenter Roeck --- v2: Added Reviewed-by: drivers/watchdog/iTCO_wdt.c | 80 ++--- 1 file changed, 17

[PATCH v2 4/4] watchdog: iTCO_wdt: Simplify module init function

2017-01-03 Thread Guenter Roeck
The 'ret' variable in iTCO_wdt_init_module() does not add any value; drop it. Reviewed-by: Andy Shevchenko Signed-off-by: Guenter Roeck --- v2: Added Reviewed-by: drivers/watchdog/iTCO_wdt.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/watchdog/iTCO_wdt.c

  1   2   3   4   5   6   7   8   9   10   >