Re: [PATCH v4 6/7] ARM: dts: Add support for emtrion emCON-MX6 series

2018-05-04 Thread Shawn Guo
On Thu, May 03, 2018 at 12:00:06PM +0200, Türk, Jan wrote: > > > +/ { > > > + aliases { > > > + mmc0 = &usdhc3; > > > + mmc2 = &usdhc1; > > > + mmc1 = &usdhc2; > > > + mmc3 = &usdhc4; > > > + boardID = &boardID; > > > > Why do you need this boardI

Re: [PATCH v4 08/14] dt: qcom: Add opp and thermal to the msm8996

2018-05-04 Thread Viresh Kumar
On 04-05-18, 09:48, ilia...@codeaurora.org wrote: > Kryo has single clock per cluster. I define here a shared OPP table per > cluster. Thanks for clarifying. -- viresh

[PATCH] net: sched: cls: fix a potential missing-check bug

2018-05-04 Thread Wenwen Wang
In rsvp_change(), the value of f->res.classid is checked to be no more than 255. Otherwise, the execution will goto errout. This is enforced by a if-statement check. However, in the following execution, f->res.classid is assigned with a new value returned from gen_tunnel(), and the new value is onl

Re: [PATCH] mm/page_alloc: use ac->high_zoneidx for classzone_idx

2018-05-04 Thread Vlastimil Babka
On 05/04/2018 06:30 AM, js1...@gmail.com wrote: > From: Joonsoo Kim > > Currently, we use the zone index of preferred_zone which represents > the best matching zone for allocation, as classzone_idx. It has a problem > on NUMA system with ZONE_MOVABLE. > > In NUMA system, it can be possible that

Re: [PATCH v2 1/2] mtd: rawnand: fsl_ifc: fix FSL NAND driver to read

2018-05-04 Thread Boris Brezillon
Hi Jane, On Fri, 4 May 2018 01:35:37 + "Wan, Jane (Nokia - US/Sunnyvale)" wrote: > Hi Miquel and Boris, > > Thank you for your response. The following is the reposting the v2 version > of the patch (also in the attachment). No need to attach the patch, and this message should not be plac

RE: [PATCH] block: add verifier for cmdline partition

2018-05-04 Thread Caizhiyong
> -Original Message- > From: Wang YanQing [mailto:udkni...@gmail.com] > Sent: Thursday, May 03, 2018 7:18 PM > To: ax...@kernel.dk > Cc: gre...@linuxfoundation.org; pombreda...@nexb.com; > t...@linutronix.de; Caizhiyong ; linux- > bl...@vger.kernel.org; linux-kernel@vger.kernel.org > Subjec

[PATCH v2 2/2] MIPS: Convert update_persistent_clock() to update_persistent_clock64()

2018-05-04 Thread Baolin Wang
Since struct timespec is not y2038 safe on 32bit machines, this patch converts update_persistent_clock() to update_persistent_clock64() using struct timespec64. The rtc_mips_set_time() and rtc_mips_set_mmss() interfaces were using 'unsigned long' type that is not y2038 safe on 32bit machines, more

[PATCH v2 1/2] MIPS: Convert read_persistent_clock() to read_persistent_clock64()

2018-05-04 Thread Baolin Wang
Since struct timespec is not y2038 safe on 32bit machines, this patch converts read_persistent_clock() to read_persistent_clock64() using struct timespec64, as well as converting mktime() to mktime64(). Signed-off-by: Baolin Wang --- Changes since v1: - No updates. --- arch/mips/dec/time.c

[PATCH v10 2/2] media: V3s: Add support for Allwinner CSI.

2018-05-04 Thread Yong Deng
Allwinner V3s SoC features two CSI module. CSI0 is used for MIPI CSI-2 interface and CSI1 is used for parallel interface. This is not documented in datasheet but by test and guess. This patch implement a v4l2 framework driver for it. Currently, the driver only support the parallel interface. MIPI

Re: [alsa-devel] [PATCH v7 16/24] ASoC: qdsp6: q6asm: Add support to audio stream apis

2018-05-04 Thread Rohit Kumar
On 5/1/2018 5:38 PM, Srinivas Kandagatla wrote: +static int __q6asm_run(struct audio_client *ac, uint32_t flags, + uint32_t msw_ts, uint32_t lsw_ts, bool wait) +{ + struct asm_session_cmd_run_v2 *run; + struct apr_pkt *pkt; + int pkt_size, rc; + void *p; + +

Re: [PATCH] i2c: core-smbus: fix a potential uninitialization bug

2018-05-04 Thread Wenwen Wang
On Fri, May 4, 2018 at 1:49 AM, Peter Rosin wrote: > On 2018-05-04 07:28, Wenwen Wang wrote: >> On Fri, May 4, 2018 at 12:04 AM, Peter Rosin wrote: >>> On 2018-05-04 06:08, Wenwen Wang wrote: On Thu, May 3, 2018 at 3:34 PM, Peter Rosin wrote: > On 2018-05-03 00:36, Wenwen Wang wrote: >>

Re: [PATCH 01/10] crypto: aead - allow to allocate AEAD requests on the stack

2018-05-04 Thread 'Antoine Tenart'
Hi Herbert, On Fri, May 04, 2018 at 07:00:06AM +0800, Herbert Xu wrote: > On Thu, May 03, 2018 at 02:23:30PM +0200, 'Antoine Tenart' wrote: > > > > I was expecting this question :) The thing is this define looks *a lot* > > like the ones defined in other places in the crypto framework, such as > >

Re: [PATCH v4 01/15] s390: zcrypt: externalize AP instructions available function

2018-05-04 Thread David Hildenbrand
On 15.04.2018 23:22, Tony Krowiak wrote: > If the AP instructions are not available on the linux host, then > AP devices can not be interpreted by the SIE. The AP bus has a This statement is wrong. The instructions can be interpreted by SIE e.g. if there are no devices assigned to a guest. This is

Re: [PATCH net] macmace: Set platform device coherent_dma_mask

2018-05-04 Thread Geert Uytterhoeven
Hi Michael, On Thu, May 3, 2018 at 10:24 PM, Michael Schmitz wrote: > On Thu, May 3, 2018 at 8:51 PM, Christoph Hellwig wrote: >> On Thu, May 03, 2018 at 10:46:56AM +0200, Geert Uytterhoeven wrote: >>> Perhaps you can add a new helper (platform_device_register_simple_dma()?) >>> that takes the D

Re: [PATCH] i2c: core-smbus: fix a potential uninitialization bug

2018-05-04 Thread Peter Rosin
On 2018-05-04 09:17, Wenwen Wang wrote: > On Fri, May 4, 2018 at 1:49 AM, Peter Rosin wrote: >> On 2018-05-04 07:28, Wenwen Wang wrote: >>> On Fri, May 4, 2018 at 12:04 AM, Peter Rosin wrote: On 2018-05-04 06:08, Wenwen Wang wrote: > On Thu, May 3, 2018 at 3:34 PM, Peter Rosin wrote: >>

Re: [PATCH] efi: Fix the size not consistent issue when unmapping memory map

2018-05-04 Thread joeyli
Hi Ard, On Thu, May 03, 2018 at 02:05:51PM +0200, Ard Biesheuvel wrote: > On 2 May 2018 at 08:17, Lee, Chun-Yi wrote: > > When using kdump, SOMETIMES the "size not consistent" warning message > > shows up when the crash kernel boots with early_ioremap_debug parameter: > > > > WARNING: CPU: 0 PID:

[PATCH] media: staging: atomisp: fix a potential missing-check bug

2018-05-04 Thread Wenwen Wang
At the end of atomisp_subdev_set_selection(), the function atomisp_subdev_get_rect() is invoked to get the pointer to v4l2_rect. Since this function may return a NULL pointer, it is firstly invoked to check the returned pointer. If the returned pointer is not NULL, then the function is invoked agai

Re: [PATCH v3 0/2] iommu/vt-d: Fix mapping PSI missing for iommu_map()

2018-05-04 Thread Lu Baolu
Hi, On 05/04/2018 10:34 AM, Peter Xu wrote: > v3: > - drop the pr_debug patch [Joerg] > - rename all the subjects as suggested [Joerg] > - rebase > > v2: > - cc correct people and iommu list > > (PSI stands for: Page Selective Invalidations) > > Intel IOMMU has the caching mode to ease emulation o

Re: [PATCH] mm/page_alloc: use ac->high_zoneidx for classzone_idx

2018-05-04 Thread Joonsoo Kim
2018-05-04 16:03 GMT+09:00 Vlastimil Babka : > On 05/04/2018 06:30 AM, js1...@gmail.com wrote: >> From: Joonsoo Kim >> >> Currently, we use the zone index of preferred_zone which represents >> the best matching zone for allocation, as classzone_idx. It has a problem >> on NUMA system with ZONE_MOV

Re: [PATCH v2] Input: i8042 - Fix KBD port cannot wake up system from suspend-to-idle

2018-05-04 Thread Kai Heng Feng
Hi Dmitry, On Apr 19, 2018, at 4:49 PM, Kai-Heng Feng wrote: From: Kai Heng Feng Commit f13b2065de81 ("Input: i8042 - allow KBD and AUX ports to wake up from suspend-to-idle") make system in s2idle can be woken up by i8042 keyboard, but it's disabled by default. In commit 3e6e15a862a0 ("I

Re: [PATCH v3] PCI / PM: Always check PME wakeup capability for runtime wakeup support

2018-05-04 Thread Kai Heng Feng
Hi Rafael, On Apr 26, 2018, at 10:36 PM, Rafael J. Wysocki wrote: On Thursday, April 26, 2018 3:55:45 PM CEST Bjorn Helgaas wrote: On Fri, Apr 13, 2018 at 09:29:56AM +0200, Rafael J. Wysocki wrote: On Friday, April 13, 2018 8:58:11 AM CEST Kai Heng Feng wrote: Hi Bjorn and Rafael, On Apr 1

Re: [PATCH v5 4/7] gpio: pca953x: define masks for addressing common and extended registers

2018-05-04 Thread H. Nikolaus Schaller
Hi Linus, > Am 02.05.2018 um 14:36 schrieb H. Nikolaus Schaller : > > >> Am 02.05.2018 um 14:29 schrieb Andy Shevchenko : >> >> On Sat, Apr 28, 2018 at 7:31 PM, H. Nikolaus Schaller >> wrote: >>> These mask bits are to be used to map the extended register >>> addreseses (which are defined for

Re: [PATCH 4.4 15/50] s390/alternative: use a copy of the facility bit mask

2018-05-04 Thread Jiri Slaby
On 04/27/2018, 03:58 PM, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Martin Schwidefsky > > > [ Upstream commit cf1489984641369611556bf00c48f945c77bcf02 ] > > To be able to switch off specific CPU alt

[PATCH v1] drm/kms/mode: added a new helper for calculating videomode from crtc's display mode

2018-05-04 Thread Satendra Singh Thakur
1. -Added a new helper drm_display_mode_crtc_to_videomode -This helper calculates mode parameters like --horizontal front_porch, back_porch, sync length --vertical front_porch, back_porch, sync length -using crtc fields of struct drm_display_mode -It uses following fields of crtc mode --horizontal

Re: [PATCH 3/4] dt-bindings: rtc: update stm32-rtc documentation for st,syscfg property

2018-05-04 Thread Alexandre Torgue
Hi Alexandre, On 05/03/2018 10:53 PM, Alexandre Belloni wrote: Amelie, On 26/04/2018 21:58:03-0500, Rob Herring wrote: On Thu, Apr 19, 2018 at 03:21:42PM +0200, Amelie Delaunay wrote: RTC driver should not be aware of the PWR registers offset and bits position. Furthermore, we can imagine tha

Re: [PATCH 4.4 15/50] s390/alternative: use a copy of the facility bit mask

2018-05-04 Thread Jiri Slaby
On 05/04/2018, 09:37 AM, Jiri Slaby wrote: > On 04/27/2018, 03:58 PM, Greg Kroah-Hartman wrote: >> 4.4-stable review patch. If anyone has any objections, please let me know. >> >> -- >> >> From: Martin Schwidefsky >> >> >> [ Upstream commit cf1489984641369611556bf00c48f945c77bcf02

Re: [PATCH] ARM: multi_v7_defconfig: enable STM32 analog & timer drivers

2018-05-04 Thread Alexandre Torgue
On 05/04/2018 12:12 AM, Arnd Bergmann wrote: On Thu, May 3, 2018 at 10:05 AM, Alexandre Torgue wrote: Hi Fabrice, On 05/02/2018 05:24 PM, Fabrice Gasnier wrote: This enables drivers for STM32 timer, low power timer and analog hardware that can be used on STM32MP1 SoC: - Timer & LP Timer MF

Re: [PATCH 2/2] mm: Add kvmalloc_ab_c and kvzalloc_struct

2018-05-04 Thread Linus Torvalds
On Wed, Feb 14, 2018 at 8:27 AM Matthew Wilcox wrote: > +static inline __must_check > +void *kvmalloc_ab_c(size_t n, size_t size, size_t c, gfp_t gfp) > +{ > + if (size != 0 && n > (SIZE_MAX - c) / size) > + return NULL; > + > + return kvmalloc(n * size + c, gfp); Ok, so

man-pages-4.16 is released

2018-05-04 Thread Michael Kerrisk (man-pages)
Gidday, The Linux man-pages maintainer proudly announces: man-pages-4.16 - man pages for Linux This release resulted from patches, bug reports, reviews, and comments from 29 contributors. Around 160 commits changed 62 pages. Tarball download: http://www.kernel.org/doc/man-pages/download

Re: [PATCH 1/3] video: fbdev: sh_mobile_lcdcfb: remove unused MERAM support

2018-05-04 Thread Geert Uytterhoeven
On Fri, Apr 27, 2018 at 1:21 PM, Bartlomiej Zolnierkiewicz wrote: > Since commit a521422ea4ae ("ARM: shmobile: mackerel: Remove Legacy C > board code") MERAM functionality is unused. Remove it. > > Cc: Simon Horman > Cc: Laurent Pinchart > Cc: Geert Uytterhoeven > Signed-off-by: Bartlomiej Zol

Re: [PATCH v2 0/7] USB Audio Device Class 3.0 BADD profiles support

2018-05-04 Thread Takashi Iwai
On Fri, 04 May 2018 03:23:57 +0200, Ruslan Bilovol wrote: > > This patchset adds BADD profiles support from the USB Audio > Device Class 3.0 spec [1]. > > BADD profile support is defined as mandatory feature of > UAC3-compliant device, it should be implemented as a separate > USB configuration. >

Re: [PATCH v5 1/2] irqchip: add support for Layerscape external interrupt lines

2018-05-04 Thread Rasmus Villemoes
On 2018-03-01 13:16, Thomas Gleixner wrote: > On Fri, 23 Feb 2018, Rasmus Villemoes wrote: >> +#include >> +#include >> +#include >> +#include > > of.h is already included from of_irq.h and of_address.h Yes. But if we're ever going to have a chance of reducing the median header bloat factor f

Re: [PATCH V5 1/6] ARM: dts: imx6sx-sabreauto: add PMIC support

2018-05-04 Thread Shawn Guo
On Thu, Apr 26, 2018 at 02:58:13PM +0800, Anson Huang wrote: > Add pfuze100 support on i.MX6SX Sabre Auto board. > > Signed-off-by: Anson Huang > --- > no changes since V4. > arch/arm/boot/dts/imx6sx-sabreauto.dts | 117 > + > 1 file changed, 117 insertions(+) >

Re: [PATCH V5 2/6] ARM: dts: imx6sx-sabreauto: add max7322 IO expander support

2018-05-04 Thread Shawn Guo
On Thu, Apr 26, 2018 at 02:58:14PM +0800, Anson Huang wrote: > Add MAX7322 IO expander support. > > Signed-off-by: Anson Huang > --- > no changes since V4. > arch/arm/boot/dts/imx6sx-sabreauto.dts | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6sx-sabreauto

Re: [PATCH 3/3] video: fbdev: remove unused sh_mobile_meram driver

2018-05-04 Thread Geert Uytterhoeven
On Fri, Apr 27, 2018 at 1:21 PM, Bartlomiej Zolnierkiewicz wrote: > Since commit a521422ea4ae ("ARM: shmobile: mackerel: Remove Legacy C > board code") MERAM functionality is unused. Remove it. > > Cc: Simon Horman > Cc: Laurent Pinchart > Cc: Geert Uytterhoeven > Signed-off-by: Bartlomiej Zol

Re: [PATCH V5 3/6] ARM: dts: imx6sx-sabreauto: add IO expander max7310 support

2018-05-04 Thread Shawn Guo
On Thu, Apr 26, 2018 at 02:58:15PM +0800, Anson Huang wrote: > i.MX6SX Sabre Auto board has two max7310 IO expander > on I2C3 bus, add support for them. > > Signed-off-by: Anson Huang > --- > no changes since V4. > arch/arm/boot/dts/imx6sx-sabreauto.dts | 28 > 1 fil

Re: [PATCH v2 09/10] ARM: dts: sun7i-a20: Add Video Engine and reserved memory nodes

2018-05-04 Thread Paul Kocialkowski
Hi, On Fri, 2018-04-20 at 09:39 +0200, Maxime Ripard wrote: > On Thu, Apr 19, 2018 at 05:45:35PM +0200, Paul Kocialkowski wrote: > > This adds nodes for the Video Engine and the associated reserved > > memory > > for the Allwinner A20. Up to 96 MiB of memory are dedicated to the > > VPU. > > > >

Re: [RESEND PATCH] clk: stm32: fix: stm32 clock drivers are not compiled by default

2018-05-04 Thread Alexandre Torgue
Stephen On 05/03/2018 08:40 AM, gabriel.fernan...@st.com wrote: From: Gabriel Fernandez Clock driver is mandatory if the machine is selected. Then don't use 'bool' and 'depends on' commands, but 'def_bool' with the machine(s). Fixes: da32d3539fca ("clk: stm32: add configuration flags for each

Re: [PATCH v2 08/10] dt-bindings: media: Document bindings for the Sunxi-Cedrus VPU driver

2018-05-04 Thread Paul Kocialkowski
Hi, On Thu, 2018-04-26 at 22:04 -0500, Rob Herring wrote: > On Fri, Apr 20, 2018 at 09:22:20AM +0200, Paul Kocialkowski wrote: > > Hi and thanks for the review, > > > > On Fri, 2018-04-20 at 01:31 +, Tomasz Figa wrote: > > > Hi Paul, Philipp, > > > > > > On Fri, Apr 20, 2018 at 1:04 AM Phili

Re: [PATCH v2 07/10] media: platform: Add Sunxi-Cedrus VPU decoder driver

2018-05-04 Thread Paul Kocialkowski
Hi, On Tue, 2018-04-24 at 12:13 +0300, Sakari Ailus wrote: > Hi Paul > > On Thu, Apr 19, 2018 at 05:45:33PM +0200, Paul Kocialkowski wrote: > > This introduces the Sunxi-Cedrus VPU driver that supports the VPU > > found > > in Allwinner SoCs, also known as Video Engine. It is implemented > > thro

Re: [PATCH v2 06/10] media: v4l: Add definition for Allwinner's MB32-tiled NV12 format

2018-05-04 Thread Paul Kocialkowski
Hi, On Fri, 2018-04-20 at 15:59 +0200, Hans Verkuil wrote: > On 04/19/18 17:45, Paul Kocialkowski wrote: > > This introduces support for Allwinner's MB32-tiled NV12 format, > > where > > each plane is divided into macroblocks of 32x32 pixels. Hence, the > > size > > of each plane has to be aligned

[PATCH] nvme: fix use-after-free in nvme_free_ns_head

2018-05-04 Thread Jianchao Wang
Currently only nvme_ctrl will take a reference counter of nvme_subsystem, nvme_ns_head also needs it. Otherwise nvme_free_ns_head will access the nvme_subsystem.ns_ida which has been freed by __nvme_release_subsystem after all the reference of nvme_subsystem have been released by nvme_free_ctrl. Th

[PATCH] nvme-rdma: fix double free in nvme_rdma_free_queue

2018-05-04 Thread Jianchao Wang
BUG: KASAN: double-free or invalid-free in nvme_rdma_free_queue+0xf6/0x110 [nvme_rdma] Workqueue: nvme-reset-wq nvme_rdma_reset_ctrl_work [nvme_rdma] Call Trace: dump_stack+0x91/0xeb print_address_description+0x6b/0x290 kasan_report_invalid_free+0x55/0x80 __kasan_slab_free+0x176/0x190 kfree+0

[PATCH] nvme-rdma: clear NVME_RDMA_Q_LIVE before free the queue

2018-05-04 Thread Jianchao Wang
When nvme_init_identify in nvme_rdma_configure_admin_queue fails, the ctrl->queues[0] is freed but the NVME_RDMA_Q_LIVE is still set. If nvme_rdma_stop_queue is invoked, we will incur use-after-free which will cause memory corruption. BUG: KASAN: use-after-free in rdma_disconnect+0x1f/0xe0 [rdma_c

[PATCH 1/2] dmaengine: sprd: Optimize the sprd_dma_prep_dma_memcpy()

2018-05-04 Thread Baolin Wang
From: Eric Long This is one preparation patch, we can use default DMA configuration to implement the device_prep_dma_memcpy() interface instead of issuing sprd_dma_config(). We will implement one new sprd_dma_config() function with introducing device_prep_slave_sg() interface in following patch.

[PATCH 2/2] dmaengine: sprd: Add Spreadtrum DMA configuration

2018-05-04 Thread Baolin Wang
From: Eric Long This patch adds the 'device_config' and 'device_prep_slave_sg' interfaces for users to configure DMA, as well as adding one 'struct sprd_dma_config' structure to save Spreadtrum DMA configuration for each DMA channel. Signed-off-by: Eric Long Signed-off-by: Baolin Wang --- dri

Re: [PATCH v2 02/10] media-request: Add a request complete operation to allow m2m scheduling

2018-05-04 Thread Paul Kocialkowski
Hi, On Thu, 2018-04-19 at 17:41 +0200, Paul Kocialkowski wrote: > When using the request API in the context of a m2m driver, the > operations that come with a m2m run scheduling call in their > (m2m-specific) ioctl handler are delayed until the request is queued > (for instance, this includes queu

[PATCH][RFC] ACPI: acpi_pad: Do not launch acpi_pad threads on idle cpus

2018-05-04 Thread Chen Yu
According to current implementation of acpi_pad driver, it does not make sense to spawn any power saving threads on the cpus which are already idle - it might bring unnecessary overhead on these idle cpus and causes power waste. So verify the condition that if the number of 'busy' cpus exceeds the

Re: [PATCH v2 03/10] videobuf2-core: Add helper to get buffer private data from media request

2018-05-04 Thread Paul Kocialkowski
Hi, On Thu, 2018-04-19 at 17:41 +0200, Paul Kocialkowski wrote: > When calling media operation driver callbacks related to media > requests, > only a pointer to the request itself is provided, which is > insufficient > to retrieve the driver's context. Since the driver context is usually > set as

Re: [PATCH 1/2] dmaengine: sprd: Optimize the sprd_dma_prep_dma_memcpy()

2018-05-04 Thread Baolin Wang
Sorry, add Vinod new email. On 4 May 2018 at 16:01, Baolin Wang wrote: > From: Eric Long > > This is one preparation patch, we can use default DMA configuration to > implement the device_prep_dma_memcpy() interface instead of issuing > sprd_dma_config(). > > We will implement one new sprd_dma_co

Re: [PATCH 0/3] K2G: mmc: Update mmc dt node to use sdhci-omap

2018-05-04 Thread Kishon Vijay Abraham I
Hi Santosh, On Friday 04 May 2018 12:22 AM, santosh.shilim...@oracle.com wrote: > On 5/3/18 4:57 AM, Kishon Vijay Abraham I wrote: >> Hi Santosh, >> >> On Wednesday 25 April 2018 11:10 PM, Santosh Shilimkar wrote: >>> On 4/25/2018 6:27 AM, Kishon Vijay Abraham I wrote: Update mmc dt node to u

Re: [PATCH 7/7] ARM: dts: sun7i: Add dts file for the A20-linova1-7 HMI

2018-05-04 Thread Maxime Ripard
Hi, On Wed, May 02, 2018 at 06:41:34PM +0200, Giulio Benetti wrote: > > > You don't have to handcode the fragments anymore with the new syntax, > > > and U-Boot makes it really trivial to use if you use the FIT image > > > format to have multiple overlays bundled in the same image. You can > > > c

Re: [PATCH] jffs2: safely remove obsolete dirent from the f->dents list

2018-05-04 Thread yuyufen
On 2018/4/28 6:22, David Woodhouse wrote: This looks a lot better than the first iteration; thank you for getting it to this point. One last thing, I hope... On Thu, 2018-03-29 at 20:00 +0800, Yufen Yu wrote: --- a/fs/jffs2/jffs2_fs_i.h +++ b/fs/jffs2/jffs2_fs_i.h @@ -42,6 +42,12 @@ struct jffs

Re: [PATCH 2/2] dmaengine: sprd: Add Spreadtrum DMA configuration

2018-05-04 Thread Baolin Wang
Add Vinod new email. On 4 May 2018 at 16:01, Baolin Wang wrote: > From: Eric Long > > This patch adds the 'device_config' and 'device_prep_slave_sg' interfaces > for users to configure DMA, as well as adding one 'struct sprd_dma_config' > structure to save Spreadtrum DMA configuration for each D

[PATCH] ARM: dts: da850-lcdk: increase the size of the u-boot nand partition

2018-05-04 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Current mainline u-boot builds images that are bigger than the 0x8 bytes u-boot partition allocated from the NAND memory. Using the free space partition results in an unbootable system. Increase the partition size to 0xa bytes. Signed-off-by: Bartosz Golaszewski

Re: [PATCH v5 2/2] dt/bindings: Add bindings for Layerscape external irqs

2018-05-04 Thread Rasmus Villemoes
On 2018-03-02 20:49, Rob Herring wrote: > On Fri, Feb 23, 2018 at 10:09:00PM +0100, Rasmus Villemoes wrote: >> This adds Device Tree binding documentation for the external interrupt >> lines with configurable polarity present on some Layerscape SOCs. >> >> Signed-off-by: Rasmus Villemoes >> --- >>

[PATCH 4/4] drm/rockchip: support dp training outside dp firmware

2018-05-04 Thread Lin Huang
DP firware use fix phy config value to do training, but some board need to adjust these value to fit for their hardware design, so we use new phy config to do training outside firmware to meet this situation, if there have new phy config pass from dts, it will use training outside firmware. Signed

[PATCH 1/4] drm/rockchip: add transfer function for cdn-dp

2018-05-04 Thread Lin Huang
From: Chris Zhong We may support training outside firmware, so we need support dpcd read/write to get the message or do some setting with display. Signed-off-by: Chris Zhong Signed-off-by: Lin Huang --- drivers/gpu/drm/rockchip/cdn-dp-core.c | 55 drivers/gpu/drm/

[PATCH 2/4] phy: rockchip-typec: support variable phy config value

2018-05-04 Thread Lin Huang
the phy config values used to fix in dp firmware, but some boards need change these values to do training and get the better eye diagram result. So support that in phy driver. Signed-off-by: Chris Zhong Signed-off-by: Lin Huang --- drivers/phy/rockchip/phy-rockchip-typec.c | 286 +++

[PATCH 3/4] Documentation: bindings: add phy_config for Rockchip USB Type-C PHY

2018-05-04 Thread Lin Huang
If want to do training outside DP Firmware, need phy voltage swing and pre_emphasis value. Signed-off-by: Lin Huang --- Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/phy-ro

RE: [PATCH v8 00/13] Support PPTT for ARM64

2018-05-04 Thread vkilari
> -Original Message- > From: Jeremy Linton > Sent: Thursday, April 26, 2018 5:01 AM > To: linux-a...@vger.kernel.org > Cc: sudeep.ho...@arm.com; linux-arm-ker...@lists.infradead.org; > lorenzo.pieral...@arm.com; hanjun@linaro.org; r...@rjwysocki.net; > will.dea...@arm.com; catalin.ma

Re: [PATCH v2 08/10] dt-bindings: media: Document bindings for the Sunxi-Cedrus VPU driver

2018-05-04 Thread Maxime Ripard
On Fri, May 04, 2018 at 09:56:20AM +0200, Paul Kocialkowski wrote: > > > I agree that the term VPU is more commonly associated with video > > > decoding, while video engine could mean a number of things. > > > > > > The reason I went with "video-engine" here (while still presenting > > > the > > >

Re: [PATCH v9 0/2] hid-steam driver with user mode client dection

2018-05-04 Thread Jiri Kosina
On Mon, 16 Apr 2018, Rodrigo Rivas Costa wrote: > Hello! This is reroll v9 of the Steam Controller driver. > > @Pierre-Loup, @Clément, could you please check if this driver is acceptable by > Valve? I think this could be the one ;-). > > I've rolled back the synthetic LPAD diagonals. It happens

[PATCH v1 03/13] drm/kms/mode/exynos-dsi: using helper func drm_display_mode_to_videomode for calculating timing parameters

2018-05-04 Thread Satendra Singh Thakur
To avoid duplicate logic for the same Reviewed-by: Robin Murphy Signed-off-by: Satendra Singh Thakur Acked-by: Madhur Verma Cc: Hemanshu Srivastava --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/ex

Re: [PATCH] tpm: tpm_crb: relinquish locality on error path.

2018-05-04 Thread Jarkko Sakkinen
On Thu, May 03, 2018 at 06:42:26AM +, Winkler, Tomas wrote: > > > > > > > > > > > > On Tue, Apr 24, 2018 at 08:04:01PM +, Winkler, Tomas wrote: > > > > > > Subject: Re: [PATCH] tpm: tpm_crb: relinquish locality on error > > > > > > path. > > > > > > > > > > > > On Fri, Apr 20, 2018 at 01:

Re: [PATCH net] macmace: Set platform device coherent_dma_mask

2018-05-04 Thread Michael Schmitz
Hi Geert, Am 04.05.2018 um 19:24 schrieb Geert Uytterhoeven: > Hi Michael, > >>> Yes, that would be useful. The other assumption could be that >>> platform devices always allow an all-0xff dma mask. >> >> That's not always true (Atari NCR5380 SCSI and floppy would use a 24 >> bit DMA mask). We u

Re: [PATCH] jffs2: safely remove obsolete dirent from the f->dents list

2018-05-04 Thread David Woodhouse
On Fri, 2018-05-04 at 16:06 +0800, yuyufen wrote: > > > You've made JFFS2_INVALID_LIMIT 64, which is reasonable enough > > (although it's a bit of a weird name and possibly wants to be more > > specific — invalid *what*?). > > Thansk a lot for your suggestions. > > Yes, it is really a bad name.

Re: [PATCH] ARM: dts: imx6sx-sabreauto: add debug LED support

2018-05-04 Thread Shawn Guo
On Fri, Apr 27, 2018 at 02:58:08PM +0800, Anson Huang wrote: > There is a debug LED(D11) connected to GPIO1_IO24, add > support for it. > > Signed-off-by: Anson Huang > --- > this patch is based on patch series (ARM: dts: imx6sx-sabreauto: add wdog > external reset support). In this case, you c

Re: [PATCH] ARM: dts: da850-lcdk: increase the size of the u-boot nand partition

2018-05-04 Thread Sekhar Nori
Hi Bartosz, On Friday 04 May 2018 01:38 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Current mainline u-boot builds images that are bigger than the 0x8 > bytes u-boot partition allocated from the NAND memory. Using the free > space partition results in an unbootable system.

Re: [PATCH v2 05/10] media: v4l: Add definitions for MPEG2 frame format and header metadata

2018-05-04 Thread Paul Kocialkowski
Hi, On Tue, 2018-04-24 at 12:01 +0300, Sakari Ailus wrote: > Hi Paul, > > On Thu, Apr 19, 2018 at 05:45:31PM +0200, Paul Kocialkowski wrote: > > Stateless video decoding engines require both the MPEG slices and > > associated metadata from the video stream in order to decode frames. > > > > This

[PATCH v1 09/13] drm/kms/mode/sun4i-tv: using helper func drm_display_mode_from_videomode for calculating timing parameters

2018-05-04 Thread Satendra Singh Thakur
To avoid duplicate logic for horizonal/vertical sync_start/end helper func drm_display_mode_from_videomode is used Acked-by: Maxime Ripard Signed-off-by: Satendra Singh Thakur Acked-by: Madhur Verma Cc: Hemanshu Srivastava --- v1: Added acked-by fields drivers/gpu/drm/sun4i/sun4i_tv.c | 67

Re: [alsa-devel] [PATCH v7 16/24] ASoC: qdsp6: q6asm: Add support to audio stream apis

2018-05-04 Thread Srinivas Kandagatla
Thanks Rohit for testing this! On 04/05/18 08:11, Rohit Kumar wrote: On 5/1/2018 5:38 PM, Srinivas Kandagatla wrote: +static int __q6asm_run(struct audio_client *ac, uint32_t flags, + uint32_t msw_ts, uint32_t lsw_ts, bool wait) +{ +struct asm_session_cmd_run_v2 *run; +struc

Re: [PATCH v2 05/10] media: v4l: Add definitions for MPEG2 frame format and header metadata

2018-05-04 Thread Paul Kocialkowski
Hi, On Fri, 2018-04-20 at 15:57 +0200, Hans Verkuil wrote: > On 04/19/18 17:45, Paul Kocialkowski wrote: > > Stateless video decoding engines require both the MPEG slices and > > associated metadata from the video stream in order to decode frames. > > > > This introduces definitions for a new pix

Re: [PATCH 03/10] vfio: ccw: new SCH_EVENT event

2018-05-04 Thread Pierre Morel
On 30/04/2018 17:28, Cornelia Huck wrote: On Thu, 26 Apr 2018 14:59:54 +0800 Dong Jia Shi wrote: * Pierre Morel [2018-04-19 16:48:06 +0200]: The Sub channel event callback is threaded using workqueues. The work uses the FSM introducing the VFIO_CCW_EVENT_SCH_EVENT event. The update of the S

Re: [PATCH v2 05/10] media: v4l: Add definitions for MPEG2 frame format and header metadata

2018-05-04 Thread Paul Kocialkowski
Hi, On Fri, 2018-04-20 at 09:51 +, Tomasz Figa wrote: > Hi Paul, > > On Fri, Apr 20, 2018 at 12:46 AM Paul Kocialkowski < > paul.kocialkow...@bootlin.com> wrote: > [snip] > > +struct v4l2_ctrl_mpeg2_frame_hdr { > > + __u32 slice_len; > > + __u32 slice_pos; > > + enum { MPEG1

Re: [PATCH v2 9/9] powerpc/hugetlb: Enable hugetlb migration for ppc64

2018-05-04 Thread Aneesh Kumar K.V
Christophe LEROY writes: > Le 16/05/2017 à 11:23, Aneesh Kumar K.V a écrit : >> Signed-off-by: Aneesh Kumar K.V >> --- >> arch/powerpc/platforms/Kconfig.cputype | 5 + >> 1 file changed, 5 insertions(+) >> >> diff --git a/arch/powerpc/platforms/Kconfig.cputype >> b/arch/powerpc/platform

Re: [v2] mm: access to uninitialized struct page

2018-05-04 Thread Andrei Vagin
Hello, We have a robot which runs criu tests on linux-next kernels. All tests passed on 4.17.0-rc3-next-20180502. But the 4.17.0-rc3-next-20180504 kernel didn't boot. git bisect points on this patch. On Thu, Apr 26, 2018 at 04:26:19PM -0400, Pavel Tatashin wrote: > The following two b

Re: [PATCH] ARM: dts: imx6sx-sabreauto: add egalax touch screen support

2018-05-04 Thread Shawn Guo
On Fri, Apr 27, 2018 at 03:20:50PM +0800, Anson Huang wrote: > From: Haibo Chen > > Add egalax touch screen support on i2c2 bus. > > Signed-off-by: Haibo Chen > Signed-off-by: Anson Huang > --- > this patch is based on patch (ARM: dts: imx6sx-sabreauto: add debug LED > support) I sent out for

Re: [PATCH 2/2] arm64: Clear the stack

2018-05-04 Thread Alexander Popov
On 03.05.2018 22:09, Laura Abbott wrote: > On 05/03/2018 10:33 AM, Alexander Popov wrote: >> On 03.05.2018 10:19, Mark Rutland wrote: >>> On Wed, May 02, 2018 at 01:33:26PM -0700, Laura Abbott wrote: + /* Reset the lowest_stack value for the next syscall */ + current->thread.lowest_stac

Re: [PATCH 1/9] R3Di and SBZ quirk entires + alt firmware loading

2018-05-04 Thread Takashi Sakamoto
Hi, On May 04 2018 13:30, Connor McAdams wrote: Sorry for sending these twice, I made a formatting mistake in the first series, and they would not apply properly. Hopefully these do not show up as spam because of this. I went through and fixed them all individually and re-committed them, but ke

Re: [PATCH] IB/umem: use tgid instead of pid in ib_umem structure

2018-05-04 Thread 858585 jemmy
On Fri, May 4, 2018 at 6:01 AM, Jason Gunthorpe wrote: > On Thu, May 03, 2018 at 09:43:01PM +0300, Leon Romanovsky wrote: >> On Thu, May 03, 2018 at 12:26:56PM -0600, Jason Gunthorpe wrote: >> > On Thu, May 03, 2018 at 09:12:35PM +0300, Leon Romanovsky wrote: >> > > On Thu, May 03, 2018 at 09:33:1

[PATCH v2 2/2] ACPI: APD: Add AMD misc clock handler support

2018-05-04 Thread Akshu Agrawal
AMD SoC exposes clock for general purpose use. The clock registration is done in clk-st driver. The MMIO mapping are passed on to the clock driver for accessing the registers. The misc clock handler will create MMIO mappings to access the clock registers and enable the clock driver to expose the cl

[PATCH v3 1/2] clk: x86: Add ST oscout platform clock

2018-05-04 Thread Akshu Agrawal
Stoney SoC provides oscout clock. This clock can support 25Mhz and 48Mhz of frequency. The clock is available for general system use. Signed-off-by: Akshu Agrawal --- v2: config change, added SPDX tag and used clk_hw_register_. v3: Fix kbuild warning for checking of NULL pointer drivers/clk/x86/

Re: [PATCH] md/raid1: add error handling of read error from FailFast device

2018-05-04 Thread Gi-Oh Kim
On Wed, May 2, 2018 at 2:11 PM, Gi-Oh Kim wrote: > On Wed, May 2, 2018 at 1:08 PM, Gioh Kim wrote: >> Current handle_read_error() function calls fix_read_error() >> only if md device is RW and rdev does not include FailFast flag. >> It does not handle a read error from a RW device including >> Fa

Re: [PATCH V4 5/8] soc: mediatek: pwrap: add pwrap for mt6797 SoCs

2018-05-04 Thread Matthias Brugger
On 05/04/2018 05:04 AM, Sean Wang wrote: > On Thu, 2018-05-03 at 14:20 +0800, Argus Lin wrote: >> On Thu, 2018-05-03 at 12:01 +0800, Sean Wang wrote: >>> }; > > [...] > @@ -1503,11 +1581,13 @@ static int pwrap_probe(struct platform_device *pdev) if (IS_ERR(wrp->base))

Re: [PATCH v2 09/10] ARM: dts: sun7i-a20: Add Video Engine and reserved memory nodes

2018-05-04 Thread Maxime Ripard
On Fri, May 04, 2018 at 09:49:16AM +0200, Paul Kocialkowski wrote: > > > + reserved-memory { > > > + #address-cells = <1>; > > > + #size-cells = <1>; > > > + ranges; > > > + > > > + /* Address must be kept in the lower 256 MiBs of > > > DRAM for VE. */ > > > +

Re: [PATCH 3/3] pwm-sifive: add a driver for SiFive SoC PWM

2018-05-04 Thread kbuild test robot
Hi Wesley, Thank you for the patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on v4.17-rc3] [cannot apply to next-20180503] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.

Re: [PATCH 4/5] ARM: dts: imx6sx-sabreauto: add fec support

2018-05-04 Thread Shawn Guo
On Thu, Apr 26, 2018 at 06:57:07AM +, Anson Huang wrote: > > > Sorry, I made a mistake here, the MAX7320 IO0 is for adjusting FEC1's > > > voltage, > > > > In this case you need to pass the 'phy-supply' property inside the fec node > > and > > add a regulator that is controlled via MAX7320 IO

Re: [PATCH v7 2/2] PCI: mediatek: Using chained IRQ to setup IRQ handle

2018-05-04 Thread Marc Zyngier
On 04/05/18 06:47, honghui.zh...@mediatek.com wrote: > From: Honghui Zhang > > Using irq_chip solution to setup IRQs in order to consist > with IRQ framework. > > Signed-off-by: Honghui Zhang > Acked-by: Ryder Lee Thanks for going the extra mile and fixing this driver. Reviewed-by: Marc Zyng

Re: [PATCH v2 09/10] ARM: dts: sun7i-a20: Add Video Engine and reserved memory nodes

2018-05-04 Thread Paul Kocialkowski
Hi, On Fri, 2018-05-04 at 10:40 +0200, Maxime Ripard wrote: > On Fri, May 04, 2018 at 09:49:16AM +0200, Paul Kocialkowski wrote: > > > > + reserved-memory { > > > > + #address-cells = <1>; > > > > + #size-cells = <1>; > > > > + ranges; > > > > + > >

Re: [PATCH v2 05/10] media: v4l: Add definitions for MPEG2 frame format and header metadata

2018-05-04 Thread Paul Kocialkowski
On Thu, 2018-04-19 at 17:45 +0200, Paul Kocialkowski wrote: > Stateless video decoding engines require both the MPEG slices and > associated metadata from the video stream in order to decode frames. > > This introduces definitions for a new pixel format, describing buffers > with MPEG2 slice data,

Re: [PATCH] IB/umem: use tgid instead of pid in ib_umem structure

2018-05-04 Thread 858585 jemmy
On Fri, May 4, 2018 at 11:14 AM, 858585 jemmy wrote: > On Thu, May 3, 2018 at 11:33 PM, Jason Gunthorpe wrote: >> On Thu, May 03, 2018 at 10:04:34PM +0800, Lidong Chen wrote: >>> The userspace may invoke ibv_reg_mr and ibv_dereg_mr by different threads. >>> If when ibv_dereg_mr invoke and the thr

Re: [PATCH v2 09/10] ARM: dts: sun7i-a20: Add Video Engine and reserved memory nodes

2018-05-04 Thread Paul Kocialkowski
On Fri, 2018-05-04 at 10:47 +0200, Paul Kocialkowski wrote: > > > > Don't you also need to map the SRAM on the A20? > > > > > > That's a good point, there is currently no syscon handle for A20 > > > (and > > > also A13). Maybe SRAM is muxed to the VE by default so it "just > > > works"? I just c

Re: [PATCH] f2fs: fix spelling mistake: "extenstion" -> "extension"

2018-05-04 Thread Chao Yu
On 2018/4/30 23:27, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in extension list text > > Signed-off-by: Colin Ian King Reviewed-by: Chao Yu Thanks,

Re: [PATCH v1] drm/kms/mode: added a new helper for calculating videomode from crtc's display mode

2018-05-04 Thread Satendra Singh Thakur
On Thu, May 03, 2018 at 11:36:39 +0100, Liviu Dudau wrote: > On Thu, May 03, 2018 at 11:28:37AM +0530, Satendra Singh Thakur wrote: > > 1. > > -Added a new helper drm_display_mode_crtc_to_videomode > > -This helper calculates mode parameters like > > horizontal front_porch, back_porch, sync lengt

Re: [PATCH 1/2] HISI LPC: Reference static MFD cells for ACPI support

2018-05-04 Thread Lee Jones
On Thu, 03 May 2018, Andy Shevchenko wrote: > On Thu, 2018-05-03 at 23:08 +0800, John Garry wrote: > > Currently for ACPI support the driver models the host as > > an MFD. For a device connected to the LPC bus, we dynamically > > create an MFD cell for that device, configuring the cell > > name an

Re: serial: custom baud rate

2018-05-04 Thread Muni Sekhar
On Thu, May 3, 2018 at 11:24 PM, Theodore Y. Ts'o wrote: > On Thu, May 03, 2018 at 06:09:13PM +0530, Muni Sekhar wrote: >> Hi All, >> >> From include/asm-generic/termbits.h , I see baudrate can be one of the >> standard values: 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, >> 2400, 4800, 9600,

Re: [PATCH V5 6/6] ARM: imx_v6_v7_defconfig: Select CONFIG_GPIO_MAX732X by default

2018-05-04 Thread Shawn Guo
On Thu, Apr 26, 2018 at 02:58:18PM +0800, Anson Huang wrote: > Enable max7320 IO expander for i.MX platforms. > > Signed-off-by: Anson Huang Applied, thanks.

Re: [PATCH v10 12/25] mm: cache some VMA fields in the vm_fault structure

2018-05-04 Thread Laurent Dufour
On 03/05/2018 17:42, Minchan Kim wrote: > On Thu, May 03, 2018 at 02:25:18PM +0200, Laurent Dufour wrote: >> On 23/04/2018 09:42, Minchan Kim wrote: >>> On Tue, Apr 17, 2018 at 04:33:18PM +0200, Laurent Dufour wrote: When handling speculative page fault, the vma->vm_flags and vma->vm_page

[GIT PULL] sound fixes for 4.17-rc4

2018-05-04 Thread Takashi Iwai
Linus, please pull sound fixes for v4.17-rc4 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.17-rc4 The topmost commit is f13876e2c33a657a71bcbb10f767c0951b165020 sound fixes for 4.17-rc4 A co

  1   2   3   4   5   6   7   8   9   >