[PATCH v5 0/3] Add new PCI_DEV_FLAGS_NO_RELAXED_ORDERING flag

2017-06-18 Thread Ding Tianhong
Some devices have problems with Transaction Layer Packets with the Relaxed Ordering Attribute set. This patch set adds a new PCIe Device Flag, PCI_DEV_FLAGS_NO_RELAXED_ORDERING, a set of PCI Quirks to catch some known devices with Relaxed Ordering issues, and a use of this new flag by the cxgb4 dr

[PATCH v5 2/3] PCI: Enable PCIe Relaxed Ordering if supported

2017-06-18 Thread Ding Tianhong
The PCIe Device Control Register use the bit 4 to indicate that whether the device is permitted to enable relaxed ordering or not. But relaxed ordering is not safe for some platform which could only use strong write ordering, so devices are allowed (but not required) to enable relaxed ordering bit

[PATCH v5 3/3] net/cxgb4: Use new PCI_DEV_FLAGS_NO_RELAXED_ORDERING flag

2017-06-18 Thread Ding Tianhong
From: Casey Leedom cxgb4 Ethernet driver now queries PCIe configuration space to determine if it can send TLPs to it with the Relaxed Ordering Attribute set. Signed-off-by: Casey Leedom Signed-off-by: Ding Tianhong --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 + drivers/net/ethern

[PATCH v5 1/3] PCI: Add new PCIe Fabric End Node flag, PCI_DEV_FLAGS_NO_RELAXED_ORDERING

2017-06-18 Thread Ding Tianhong
From: Casey Leedom The new flag PCI_DEV_FLAGS_NO_RELAXED_ORDERING indicates that the Relaxed Ordering Attribute should not be used on Transaction Layer Packets destined for the PCIe End Node so flagged. Initially flagged this way are Intel E5-26xx Root Complex Ports which suffer from a Flow Cont

Re: [PATCH V3 2/2] powerpc/powernv : Add support for OPAL-OCC command/response interface

2017-06-18 Thread Cyril Bur
On Mon, 2017-06-19 at 11:44 +0530, Shilpasri G Bhat wrote: > In P9, OCC (On-Chip-Controller) supports shared memory based > commad-response interface. Within the shared memory there is an OPAL > command buffer and OCC response buffer that can be used to send > inband commands to OCC. This patch add

Re: [PATCH v2 1/2] crypto: engine - replace pr_xxx by dev_xxx

2017-06-18 Thread Herbert Xu
On Tue, Jun 06, 2017 at 03:44:16PM +0200, Corentin Labbe wrote: > By adding a struct device *dev to struct engine, we could store the > device used at register time and so use all dev_xxx functions instead of > pr_xxx. > > Signed-off-by: Corentin Labbe Patch applied. Thanks. -- Email: Herbert

[PATCH 4/8] nanosleep: Use get_timespec64() and set_timespec64()

2017-06-18 Thread Deepa Dinamani
Usage of these apis and their compat versions makes the sys_nanosleep() and sys_compat_nanosleep() implementations simpler. This patch also serves as a preparatory patch for changing syscalls to use new time_t data types to support the y2038 effort by eliminating the processing of user pointers do

[PATCH 5/8] posix-timers: Use get_timepsec64() and put_timespec64()

2017-06-18 Thread Deepa Dinamani
Usage of these apis and their compat versions makes the syscalls: clock_gettime, clock_settime, clock_getres and their compat implementations simpler. This is a preparatory patch to isolate data conversions to struct timespec64 at userspace boundaries. This helps contain the changes needed to tran

[PATCH 7/8] posix_clocks: Use get_itimerspec64() and put_itimerspec64()

2017-06-18 Thread Deepa Dinamani
Usage of these apis and their compat versions makes the syscalls: timer_settime and timer_gettime and their compat implementations simpler. This patch also serves as a preparatory patch for changing syscalls to use new time_t data types to support the y2038 effort by isolating the processing of us

[PATCH 8/8] timerfd: Use get_itimerspec64() and put_itimerspec64()

2017-06-18 Thread Deepa Dinamani
Usage of these apis and their compat versions makes the syscalls: timerfd_settime and timerfd_gettime and their compat implementations simpler. This patch also serves as a preparatory patch for changing syscalls to use new time_t data types to support the y2038 effort by isolating the processing o

[PATCH 6/8] time: introduce {get,put}_itimerspec64

2017-06-18 Thread Deepa Dinamani
As we change the user space type for the timerfd and posix timer functions to newer data types, we need some form of conversion helpers to avoid duplicating that logic. Suggested-by: Arnd Bergmann Signed-off-by: Deepa Dinamani --- include/linux/compat.h | 4 include/linux/posix-time

[PATCH 3/8] kernel: compat: Move clock and timer compat syscalls

2017-06-18 Thread Deepa Dinamani
Move the compat syscall handling to the files that handle the native syscalls. The move helps for code reusability by helping same functions be used in both compat and native syscall handling paths. In this series, this servers as a preparatory patch to eliminate the use of set_fs()/get_fs() in t

[PATCH 2/8] nanosleep: Move native and compat syscalls

2017-06-18 Thread Deepa Dinamani
Move nanosleep syscall to a new file that is compiled unconditionally. This helps share common nanosleep code between posix-timers and posix-stubs. The latter part is addressed in subsequent patches in the series. In this series, this also servers as a preparatory patch to eliminate the use of set

[PATCH 0/8] Isolate time_t data types for clock/timer syscalls

2017-06-18 Thread Deepa Dinamani
The series aims at isolating data conversions of time_t based structures: struct timespec and struct itimerspec at user space boundaries. This helps to later change the underlying types to handle y2038 changes to these. The series is an update to Arnd Bergmann's previous series: http://sourceware.

[PATCH 1/8] time: add get_timespec64 and put_timespec64

2017-06-18 Thread Deepa Dinamani
Add helper functions to convert between struct timespec64 and struct timespec at userspace boundaries. This is a preparatory patch to use timespec64 as the basic type internally in the kernel as timespec is not y2038 safe on 32 bit systems. The patch helps the cause by containing all data conversi

Re: [PATCH] crypto: testmgr: use consistent format for errors

2017-06-18 Thread Herbert Xu
On Mon, Jun 05, 2017 at 08:33:43AM +0300, Gilad Ben-Yossef wrote: > Fix inconsistent format and spelling in hash tests error messages. > > Signed-off-by: Gilad Ben-Yossef Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.o

Re: [PATCH v2 1/1] PCI: imx6: Add pcie compliance test option

2017-06-18 Thread Schöfegger Stefan
On Wednesday, June 14, 2017 4:11:29 PM CEST Fabio Estevam wrote: > On Wed, Jun 14, 2017 at 2:52 AM, Schöfegger Stefan > > wrote: > > device). The bitrate and de-emphasis must be switched. The driver (without > > this patches) does not allow to switch to gen2 because it falls back to > > gen1. It

Re: [PATCH] crypto: brcm: fix spelling mistake: "fallbck" -> "fallback"

2017-06-18 Thread Herbert Xu
On Mon, Jun 05, 2017 at 10:10:48AM -0400, Steve Lin wrote: > On Sun, Jun 4, 2017 at 2:29 PM, Colin King wrote: > > From: Colin Ian King > > > > Trivial fix to spelling mistake in flow_log message > > > > Signed-off-by: Colin Ian King > > Good catch, thanks! > Reviewed-by: Steve Lin Patch appl

Re: [PATCH] crypto: algapi: Use pr_err common logging style.

2017-06-18 Thread Herbert Xu
Karim Eshapa wrote: > Use more common error logging style. > > Signed-off-by: Karim Eshapa Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Re: [PATCH] crypto: algapi: Use pr_err common logging style.

2017-06-18 Thread Herbert Xu
Karim Eshapa wrote: > Use more common error logging style. > > Signed-off-by: Karim Eshapa karim.esh...@gmail.com -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Re: [PATCH] Documentation: crypto: Fixed bugs, added example usage of calc_hash().

2017-06-18 Thread Herbert Xu
On Fri, May 12, 2017 at 05:38:02PM +0200, Kamil Konieczny wrote: > - Fixed bugs in example for shash and rng (added missing "*" and " *"). > - Corrected pr_info() in calc_hash(). > - Added example usage of calc_hash(). > - No need for negate PTR_ERR to get error code, as crypto_alloc_rng > alread

[GIT PULL] ARM: SoC fixes

2017-06-18 Thread Olof Johansson
Hi Linus, The following changes since commit 151d1d752bb681f29898c68c966f6e17b446456c: MAINTAINERS: EP93XX: Update maintainership (2017-06-06 21:07:37 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/armsoc-fixes for you to

Re: [PATCH] crypto: mediatek - drop .owner field in mtk_crypto_driver

2017-06-18 Thread Herbert Xu
On Sat, May 06, 2017 at 11:35:29PM +0800, Geliang Tang wrote: > Drop .owner field in mtk_crypto_driver, since platform_driver_register() > will set it automatically. > > Signed-off-by: Geliang Tang Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP

Re: [PATCH v2 0/3] Add more algorithms and some misc cleanups

2017-06-18 Thread Herbert Xu
On Thu, May 04, 2017 at 11:34:43AM +, George Cherian wrote: > This series adds more algorithem support for CPT. > Add support for > -ecb(aes) > -cfb(aes) > -ecb(des3_ede) > > Some cleanups too. > > George Cherian (3): > crypto: cavium: Downgrade the annoying misc int

Re: [PATCH] drivers/crypto/ccp: return NULL instead of 0

2017-06-18 Thread Herbert Xu
On Wed, May 03, 2017 at 09:32:09AM +0530, Pushkar Jambhlekar wrote: > This change is to handle sparse warning. Return type of function is a pointer > to the structure and > it returns 0. Instead it should return NULL. > > Signed-off-by: Pushkar Jambhlekar Patch applied. Thanks. -- Email: Herb

Re: [PATCH v9 5/7] vfio: Define vfio based dma-buf operations

2017-06-18 Thread Gerd Hoffmann
Hi, > My suggestion was to use vfio device fd for this ioctl and have > dmabuf > mgr fd as member in above query_plane structure, for region type it > would be set to 0. Region type should be DRM_PLANE_TYPE_PRIMARY > Can't mmap that page to get surface information. There is no way to > synchro

Re: [PATCH 12/16] mmc: host: omap_hsmmc: Add support to set IODELAY values

2017-06-18 Thread Kishon Vijay Abraham I
Hi Tony, On Monday 19 June 2017 11:32 AM, Tony Lindgren wrote: > * Kishon Vijay Abraham I [170616 05:47]: >> The data manual of J6/J6 Eco recommends to set different IODELAY values >> depending on the mode in which the MMC/SD is enumerated in order to >> ensure IO timings are met. >> >> Add suppo

Re: [PATCH v9 5/7] vfio: Define vfio based dma-buf operations

2017-06-18 Thread Gerd Hoffmann
Hi, > So perhaps this becomes: > > struct vfio_device_gfx_plane_info { > __u64 start; > __u64 drm_format_mod; > __u32 drm_format; > __u32 width; > __u32 height; > __u32 stride; > __u32 size; > __u32 x_pos; > __u32 y_pos; > }; Looks good. >

[PATCH] tools/perf/pmu-events: Support additional POWER8+ PVR in mapfile

2017-06-18 Thread Shriya
Add support for POWER8+ PVR 004c0100 for Garrison Signed-off-by: Shriya Reviewed-by: Madhavan Srinivasan --- tools/perf/pmu-events/arch/powerpc/mapfile.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/pmu-events/arch/powerpc/mapfile.csv b/tools/perf/pmu-events/arch/powerpc/ma

Re: [PATCH 5/9] [media] s5p-jpeg: Add IOMMU support

2017-06-18 Thread Marek Szyprowski
Hi All, I'm sorry for the late reply, I just got back from holidays. On 2017-06-02 23:43, Jacek Anaszewski wrote: Cc Marek Szyprowski. Marek, could you share your opinion about this patch? On 06/02/2017 06:02 PM, Thierry Escande wrote: From: Tony K Nadackal This patch adds support for IOMM

[PATCH] virtio: virtio_mmio: make of_device_ids const.

2017-06-18 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. File size before: textdata bss dec hex filename 3647 608 04255109f drivers/virti

[PATCH V3 2/2] powerpc/powernv : Add support for OPAL-OCC command/response interface

2017-06-18 Thread Shilpasri G Bhat
In P9, OCC (On-Chip-Controller) supports shared memory based commad-response interface. Within the shared memory there is an OPAL command buffer and OCC response buffer that can be used to send inband commands to OCC. This patch adds a platform driver to support the command/response interface betwe

[PATCH V3 1/2] powerpc/powernv: Get a unique token for async completions

2017-06-18 Thread Shilpasri G Bhat
This patch adds support to get a unique token for async completion requests. This will be used for creating non-repititive request handles for consecutive requests in OPAL-OCC command/response interface. Signed-off-by: Shilpasri G Bhat --- No changes from V2. arch/powerpc/include/asm/opal.h

[PATCH V3 0/2] Add support for OCC command/response interface

2017-06-18 Thread Shilpasri G Bhat
In P9, OCC(On Chip Controller) can be sent commands inband via shared memory based command response interface. This patch adds a platform driver to support the OCC command-response interface. The skiboot patch for the interface is posted here: https://lists.ozlabs.org/pipermail/skiboot/2017-June/

Re: [GIT PULL] ARM: at91: DT for 4.13

2017-06-18 Thread Olof Johansson
On Fri, Jun 16, 2017 at 06:26:08PM +0200, Alexandre Belloni wrote: > Arnd, Olof, > > Here is the DT pull request, switching most platform the the new EBI and > NAND bindings. > > The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: > > Linux 4.12-rc1 (2017-05-13 13:19:4

Re: [GIT PULL] ARM: at91: SoC for 4.13

2017-06-18 Thread Olof Johansson
On Fri, Jun 16, 2017 at 06:19:51PM +0200, Alexandre Belloni wrote: > Hi, > > Arnd, Olof, > > Our now unusually large update for AT91 SoCs, introducing surpport for > three new families of SoCs, cortex M7 based and a new deep suspend mode > for sama5d2. > > The following changes since commit 2ea6

Re: [GIT PULL] ARM: at91: defconfig for 4.13

2017-06-18 Thread Olof Johansson
On Fri, Jun 16, 2017 at 03:16:43PM +0200, Alexandre Belloni wrote: > Arnd, Olof, > > A few defconfig updates for 4.13 > > The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: > > Linux 4.12-rc1 (2017-05-13 13:19:49 -0700) > > are available in the git repository at: >

Re: [PATCH v4 2/3] PCI: Enable PCIe Relaxed Ordering if supported

2017-06-18 Thread Ding Tianhong
On 2017/6/16 22:39, Alexander Duyck wrote: > On Thu, Jun 15, 2017 at 6:10 PM, Ding Tianhong > wrote: >> >> >> On 2017/6/13 5:28, Alexander Duyck wrote: >>> On Mon, Jun 12, 2017 at 4:05 AM, Ding Tianhong >>> wrote: >> ... /** + * pcie_clear_relaxed_ordering - clear PCI Express relax

Re: [PATCH v5 1/3] nvmem: dt: document SNVS LPGPR binding

2017-06-18 Thread Oleksij Rempel
On Fri, Jun 09, 2017 at 04:59:00PM +0200, Stefan Wahren wrote: Hi Stefan, > Hi Oleksij, > > Am 09.06.2017 um 14:57 schrieb Oleksij Rempel: > > Documentation bindings for the Low Power General Purpose Register > > available on i.MX6 SoCs in the Secure Non-Volatile Storage. > > > > Signed-off-by: O

[tip:WIP.irq 28/46] kernel/irq/proc.c:329: warning: unused variable 'irqp'

2017-06-18 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.irq head: 989f773f2a8a820efdb7895775a78f445ef7bd87 commit: fc6228af67f07a91af910029f8f49a3967e080ff [28/46] genirq/proc: Replace ever repeating type cast config: x86_64-randconfig-a0-06191213 (attached as .config) compiler:

[lkp-robot] [kernfs, sysfs, cgroup] cc44ddf7f6: BUG:unable_to_handle_kernel

2017-06-18 Thread kernel test robot
FYI, we noticed the following commit: commit: cc44ddf7f666875a3062daef112c8616de9bdb34 ("kernfs, sysfs, cgroup: Support fs_context") https://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git mount-context in testcase: trinity with following parameters: runtime: 300s test-desc

Re: [PATCH 12/16] mmc: host: omap_hsmmc: Add support to set IODELAY values

2017-06-18 Thread Tony Lindgren
* Kishon Vijay Abraham I [170616 05:47]: > The data manual of J6/J6 Eco recommends to set different IODELAY values > depending on the mode in which the MMC/SD is enumerated in order to > ensure IO timings are met. > > Add support to set the IODELAY values depending on the various MMC > modes usin

[PATCH BUGFIX] block, bfq: update wr_busy_queues if needed on a queue split

2017-06-18 Thread Paolo Valente
This commit fixes a bug triggered by a non-trivial sequence of events. These events are briefly described in the next two paragraphs. The impatiens, or those who are familiar with queue merging and splitting, can jump directly to the last paragraph. On each I/O-request arrival for a shared bfq_que

[PATCH v2] soc: ti: knav_dma: make of_device_ids const.

2017-06-18 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. File size before: textdata bss dec hex filename 2234 608 82850 b22 drivers/soc/t

Re: [PATCHv2 1/3] x86/mm: Provide pmdp_establish() helper

2017-06-18 Thread Martin Schwidefsky
On Thu, 15 Jun 2017 17:52:22 +0300 "Kirill A. Shutemov" wrote: > We need an atomic way to setup pmd page table entry, avoiding races with > CPU setting dirty/accessed bits. This is required to implement > pmdp_invalidate() that doesn't loose these bits. > > On PAE we have to use cmpxchg8b as we

[PATCH v2] macintosh: rack-meter: make of_device_ids const.

2017-06-18 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. File size before: textdata bss dec hex filename 407 576 0 983 3d7 drivers/macin

Re: [PATCH v2 1/2] ip_tunnel: fix ip tunnel lookup in collect_md mode

2017-06-18 Thread Pravin Shelar
On Fri, Jun 16, 2017 at 8:27 PM, Haishuang Yan wrote: > In collect_md mode, if the tun dev is down, it still can call > ip_tunnel_rcv to receive on packets, and the rx statistics increase > improperly. > > Fixes: 2e15ea390e6f ("ip_gre: Add support to collect tunnel metadata.") > Cc: Pravin B Shela

Re: [patch v2 2/3] staging: speakup: check and convert dev name or ser to dev_t

2017-06-18 Thread Greg Kroah-Hartman
On Sun, Jun 18, 2017 at 10:33:35PM -0700, Joe Perches wrote: > On Mon, 2017-06-19 at 09:15 +0800, Greg Kroah-Hartman wrote: > > On Sun, Jun 18, 2017 at 09:58:27AM +0100, Okash Khawaja wrote: > > > This patch adds functionality to validate and convert either a device > > > name or 'ser' member of sy

Re: [patch v2 2/3] staging: speakup: check and convert dev name or ser to dev_t

2017-06-18 Thread Okash Khawaja
On Mon, Jun 19, 2017 at 09:15:33AM +0800, Greg Kroah-Hartman wrote: > > +int ser_to_dev(int ser, dev_t *dev_no) > > +{ > > + if (ser < 0 || ser > (255 - 64)) { > > +pr_err("speakup: Invalid ser param. \ > > + Must be between 0 and 191 inclusive.\n"); > >

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

2017-06-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the scsi tree got a conflict in: drivers/scsi/scsi_lib.c between commit: f660174e8bcd ("blk-mq: use the introduced blk_mq_unquiesce_queue()") from the block tree and commits: 551eb598e5ea ("scsi: Split scsi_internal_device_block()") 66483a4a9f34 ("s

Re: [PATCH v2] firmware: qcom_scm: Fix to allow COMPILE_TEST-ing

2017-06-18 Thread Olof Johansson
Hi, On Thu, Jun 8, 2017 at 8:23 AM, Stanimir Varbanov wrote: > Unfortunatly previous attempt to allow consumer drivers to > use COMPILE_TEST option in Kconfig is not enough, because in the > past the consumer drivers used 'depends on' Kconfig option but > now they are using 'select' Kconfig optio

Re: [patch v2 2/3] staging: speakup: check and convert dev name or ser to dev_t

2017-06-18 Thread Joe Perches
On Mon, 2017-06-19 at 09:15 +0800, Greg Kroah-Hartman wrote: > On Sun, Jun 18, 2017 at 09:58:27AM +0100, Okash Khawaja wrote: > > This patch adds functionality to validate and convert either a device > > name or 'ser' member of synth into dev_t. [] > > --- a/drivers/staging/speakup/spk_ttyio.c [] >

[PATCH] doc: Document suitability of IBM Verse for kernel development

2017-06-18 Thread Stewart Smith
IBM Verse is a web UI around Lotus Domino mail servers (much like the Lotus Notes client talks to Domino servers). For various reasons, it is not at all suitable for kernel development, all of which have been raised (repeatedly) internally. Signed-off-by: Stewart Smith --- Documentation/process

[PATCH] macintosh: rack-meter: make of_device_ids const.

2017-06-18 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. File size before: textdata bss dec hex filename 407 576 0 983 3d7 drivers/macin

[Patch v5 01/12] [media] s5p-mfc: Rename IS_MFCV8 macro

2017-06-18 Thread Smitha T Murthy
This patch renames macro IS_MFCV8 to IS_MFCV8_PLUS so that the MFCv8 code can be resued for MFCv10.10 support. Since the MFCv8 specific code holds good for MFC v10.10 also. Signed-off-by: Smitha T Murthy Acked-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/s5p_mfc_common.h | 2 +- driver

[Patch v5 02/12] [media] s5p-mfc: Adding initial support for MFC v10.10

2017-06-18 Thread Smitha T Murthy
Adding the support for MFC v10.10, with new register file and necessary hw control, decoder, encoder and structural changes. CC: Rob Herring CC: devicet...@vger.kernel.org Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda Acked-by: Rob Herring --- .../devicetree/bindings/media/s5p-mfc

[Patch v5 03/12] [media] s5p-mfc: Use min scratch buffer size as provided by F/W

2017-06-18 Thread Smitha T Murthy
After MFC v8.0, mfc f/w lets the driver know how much scratch buffer size is required for decoder. If mfc f/w has the functionality, E_MIN_SCRATCH_BUFFER_SIZE, driver can know how much scratch buffer size is required for encoder too. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda ---

[Patch v5 05/12] [media] videodev2.h: Add v4l2 definition for HEVC

2017-06-18 Thread Smitha T Murthy
Add V4L2 definition for HEVC compressed format Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- include/uapi/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 2b8feb8..488de3d 100644 --- a/inc

Re: [PATCH v2 2/2] crypto: engine - Permit to enqueue skcipher request

2017-06-18 Thread Herbert Xu
On Tue, Jun 06, 2017 at 03:44:17PM +0200, Corentin Labbe wrote: > The crypto engine could actually only enqueue hash and ablkcipher request. > This patch permit it to enqueue skcipher requets by adding all necessary > functions. > The only problem is that ablkcipher and skcipher id are the same, so

[Patch v5 09/12] [media] s5p-mfc: Add VP9 decoder support

2017-06-18 Thread Smitha T Murthy
Add support for codec definition and corresponding buffer requirements for VP9 decoder. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 6 ++ drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c | 3 +++ drivers/media/platform/s5p

[Patch v5 07/12] Documentation: v4l: Documentation for HEVC v4l2 definition

2017-06-18 Thread Smitha T Murthy
Add V4L2 definition for HEVC compressed format which is also known as H.265. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- Documentation/media/uapi/v4l/pixfmt-013.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/media/uapi/v4l/pixfmt-013.rst b/Document

[Patch v5 06/12] [media] v4l2-ioctl: add HEVC format description

2017-06-18 Thread Smitha T Murthy
HEVC is a video coding format Signed-off-by: Smitha T Murthy --- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index e5a2187..4f6f8d9 100644 --- a/drivers/media/v4l2-core/v4l2-

[Patch v5 11/12] [media] s5p-mfc: Add support for HEVC encoder

2017-06-18 Thread Smitha T Murthy
Add HEVC encoder support and necessary registers, V4L2 CIDs, and hevc encoder parameters Signed-off-by: Smitha T Murthy --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 28 +- drivers/media/platform/s5p-mfc/s5p_mfc.c| 1 + drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c | 3 +

[Patch v5 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-06-18 Thread Smitha T Murthy
Add v4l2 controls for HEVC encoder Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/v4l2-core/v4l2-ctrls.c | 103 +++ include/uapi/linux/v4l2-controls.h | 84 2 files changed, 187 insertions(+) diff --gi

[Patch v5 12/12] Documention: v4l: Documentation for HEVC CIDs

2017-06-18 Thread Smitha T Murthy
Added V4l2 controls for HEVC encoder Signed-off-by: Smitha T Murthy --- Documentation/media/uapi/v4l/extended-controls.rst | 364 + 1 file changed, 364 insertions(+) diff --git a/Documentation/media/uapi/v4l/extended-controls.rst b/Documentation/media/uapi/v4l/extended-cont

[Patch v5 08/12] [media] s5p-mfc: Add support for HEVC decoder

2017-06-18 Thread Smitha T Murthy
Add support for codec definition and corresponding buffer requirements for HEVC decoder. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 1 + drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c | 3 +++ drivers/media/platform/s5p-mfc

[Patch v5 04/12] [media] s5p-mfc: Support MFCv10.10 buffer requirements

2017-06-18 Thread Smitha T Murthy
Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffer_size for MFCv10.10. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 19 + drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c | 95 +++-- driver

[Patch v5 00/12] Add MFC v10.10 support

2017-06-18 Thread Smitha T Murthy
This patch series adds MFC v10.10 support. MFC v10.10 is used in some of Exynos7 variants. This adds support for following: * Add support for HEVC encoder and decoder * Add support for VP9 decoder * Update Documentation for control id definitions * Update computation of min scratch buffer size

Re: [PATCH] serial: 8250: 8250_omap: Fix race b/w dma completion and RX timeout

2017-06-18 Thread Vignesh R
On Saturday 17 June 2017 08:07 PM, Andy Shevchenko wrote: > On Sat, 2017-06-17 at 19:22 +0530, Vignesh R wrote: >> DMA RX completion handler for UART is called from a tasklet and hence >> may be delayed depending on the system load. In meanwhile, there may >> be >> RX timeout interrupt which can

Re: [RFC PATCH 0/3] provide imx rproc driver

2017-06-18 Thread Sanchayan
Hello Oleksij, On 17-06-14 22:48:52, Oleksij Rempel wrote: > Hallo all, > > this is RFC patchset to provide remoteproc functionality on > imx7d SoC. > Since current kernel do not have devicetrees for board which > I used for testing, this RFC patchset includes this too. > > For testing I used th

[PATCH] soc: ti: knav_dma: make of_device_ids const.

2017-06-18 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. File size before: textdata bss dec hex filename 2234 608 82850 b22 drivers/soc/t

[PATCH v5 3/6] kernel/reboot.c: export pm_power_off_prepare

2017-06-18 Thread Oleksij Rempel
Export pm_power_off_prepare. It is needed to implement power off on Freescale/NXP iMX6 based boards with external power management integrated circuit (PMIC). Signed-off-by: Oleksij Rempel --- kernel/reboot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/reboot.c b/kernel/reboot.c in

[PATCH v5 6/6] ARM: dts: imx6: RIoTboard provide standby on power off option

2017-06-18 Thread Oleksij Rempel
This board, as well as some other boards with i.MX6 and a PMIC, uses a "MPIC_STBY_REQ" line to notify the PMIC about a state change. The PMIC is programmed for a specific state change before triggering the line. In this case, PMIC_STBY_REQ can be used for stand by, sleep and power off modes. Signe

[PATCH v5 5/6] regulator: pfuze100-regulator: provide pm_power_off_prepare handler

2017-06-18 Thread Oleksij Rempel
On some boards the SoC can use one pin "PMIC_STBY_REQ" to notify th PMIC about state changes. In this case internal state of PMIC must be preconfigured for upcomming state change. It works fine with the current regulator framework, except with the power-off case. This patch is providing an optiona

[PATCH v5 1/6] ARM: imx6q: provide documentation for new fsl,pmic-stby-poweroff property

2017-06-18 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- Documentation/devicetree/bindings/clock/imx6q-clock.txt | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/imx6q-clock.txt b/Documentation/devicetree/bindings/clock/imx6q-clock.txt index 925

[PATCH v5 4/6] regulator: pfuze100: add fsl,pmic-stby-poweroff property

2017-06-18 Thread Oleksij Rempel
Document the new optional "fsl,pmic-stby-poweroff" property. Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- Documentation/devicetree/bindings/regulator/pfuze100.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/pfuze100.txt b/Do

[PATCH v5 0/6] provide power off support for iMX6 with external PMIC

2017-06-18 Thread Oleksij Rempel
This patch series is providing power off support for Freescale/NXP iMX6 based boards with external power management integrated circuit (PMIC). changes: v5: - remove useless includes from pm-imx6.c patch - add Acked-by to "regulator: pfuze100: add fsl,pmic-stby-poweroff property" patch v4: -

[PATCH v5 2/6] ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set

2017-06-18 Thread Oleksij Rempel
One of the Freescale recommended sequences for power off with external PMIC is the following: ... 3. SoC is programming PMIC for power off when standby is asserted. 4. In CCM STOP mode, Standby is asserted, PMIC gates SoC supplies. See: http://www.nxp.com/assets/documents/data/en/reference-manua

[PATCH] x86/mm: Don't reenter flush_tlb_func_common()

2017-06-18 Thread Andy Lutomirski
It was historically possible to have two concurrent TLB flushes targeting the same CPU: one initiated locally and one initiated remotely. This can now cause an OOPS in leave_mm() at arch/x86/mm/tlb.c:47: if (this_cpu_read(cpu_tlbstate.state) == TLBSTATE_OK) BUG(); with th

Re: [PATCH v2 00/10] PCID and improved laziness

2017-06-18 Thread Andy Lutomirski
On Sun, Jun 18, 2017 at 2:29 PM, Levin, Alexander (Sasha Levin) wrote: > On Tue, Jun 13, 2017 at 09:56:18PM -0700, Andy Lutomirski wrote: >>There are three performance benefits here: >> >>1. TLB flushing is slow. (I.e. the flush itself takes a while.) >> This avoids many of them when switching

Re: [GIT PULL] firmware: arm_scpi: updates for v4.13

2017-06-18 Thread Olof Johansson
On Thu, Jun 15, 2017 at 12:28:59PM +0100, Sudeep Holla wrote: > Hi ARM-SoC, > > The cpufreq change is acked by maintainer and Rafael agreed to take it > via ARM-SoC[1]. Please pull ! > > Regards, > Sudeep > > -- > > The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: >

Re: [GIT PULL] ARM: dts: uniphier: UniPhier DT updates for v4.13

2017-06-18 Thread Olof Johansson
On Tue, Jun 13, 2017 at 12:41:04AM +0900, Masahiro Yamada wrote: > Hi Arnd, Olof, > > Here are UniPhier DT (32bit) updates for the v4.13 merge window. > Please pull! > > > The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: > > Linux 4.12-rc1 (2017-05-13 13:19:49 -070

Re: [GIT PULL] arm64: dts: uniphier: UniPhier DT updates (64bit) for v4.13

2017-06-18 Thread Olof Johansson
On Tue, Jun 13, 2017 at 12:48:03AM +0900, Masahiro Yamada wrote: > Hi Arnd, Olof, > > Here are UniPhier DT (64bit) updates for the v4.13 merge window. > Please pull! > > The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: > > Linux 4.12-rc1 (2017-05-13 13:19:49 -0700)

Re: [PATCH v4 27/28] soc: actions: owl-sps: Factor out owl_sps_set_pg() for power-gating

2017-06-18 Thread Andreas Färber
Am 06.06.2017 um 02:54 schrieb Andreas Färber: > Allow the SMP code to reuse PM domain code for CPU2/CPU3 wakeup. > > Signed-off-by: Andreas Färber > --- > v4: new > > drivers/soc/actions/Kconfig | 4 +++ > drivers/soc/actions/Makefile | 1 + > drivers/soc/actions/owl-sps-h

Re: [PATCH v4 25/28] ARM: dts: s500: Add SPS node

2017-06-18 Thread Andreas Färber
Am 06.06.2017 um 02:54 schrieb Andreas Färber: > Add Smart Power System node for PM domains. > > Signed-off-by: Andreas Färber > --- > v3 -> v4: > * Extended commit message > * Split off association of power-domains (avoids include/dt-bindings/ > dependency) > > v3: new > > arch/arm/boo

Re: [PATCH v5 22/26] MAINTAINERS: Update Actions Semi section with SPS

2017-06-18 Thread Andreas Färber
Am 19.06.2017 um 05:44 schrieb Andreas Färber: > Add file patterns to cover the SPS power domain driver and DT binding. > > Signed-off-by: Andreas Färber > --- > v4 -> v5: > * Rebased onto timer additions > * Added dt-bindings header file pattern > > v4: new > > MAINTAINERS | 4 > 1

Re: [PATCH v5 21/26] soc: actions: Add Owl SPS

2017-06-18 Thread Andreas Färber
Am 19.06.2017 um 05:40 schrieb Andreas Färber: > Implement S500 Smart Power System power-gating. > For now flag PD_CPU2 and PD_CPU3 as always-on. > > Based on LeMaker linux-actions tree. > > Signed-off-by: Andreas Färber > --- > v4 -> v5: > * Updated for header file rename > > v3 -> v4: >

Re: [PATCH v5 20/26] dt-bindings: power: Add Owl SPS power domains

2017-06-18 Thread Andreas Färber
Am 19.06.2017 um 05:36 schrieb Andreas Färber: > Define power domains for all non-reserved S500 power gates. > > Acked-by: Rob Herring > Signed-off-by: Andreas Färber > --- > v4 -> v5: > * Renamed header file with owl- prefix for uniqueness > > v3 -> v4: Unchanged > > v3: new > > .../

Re: [PATCH v3] ip6_tunnel: Correct tos value in collect_md mode

2017-06-18 Thread David Miller
From: Haishuang Yan Date: Sat, 17 Jun 2017 11:38:05 +0800 > Same as ip_gre, geneve and vxlan, use key->tos as traffic class value. > > CC: Peter Dawson > Fixes: 0e9a709560db ("ip6_tunnel, ip6_gre: fix setting of DSCP on > encapsulated packets”) > Signed-off-by: Haishuang Yan > > --- > Changes

[PATCH] v4l2-core: Use kvmalloc() for potentially big allocations

2017-06-18 Thread Tomasz Figa
There are multiple places where arrays or otherwise variable sized buffer are allocated through V4L2 core code, including things like controls, memory pages, staging buffers for ioctls and so on. Such allocations can potentially require an order > 0 allocation from the page allocator, which is not

Re: [PATCH] pptp: Remove unused variable in pptp_release()

2017-06-18 Thread David Miller
From: Christos Gkekas Date: Sun, 18 Jun 2017 16:41:40 +0100 > Variable opt in pptp_release() is set but never used, thus needs to be > removed. > > Signed-off-by: Christos Gkekas Applied to net-next.

Re: [PATCH V3 net-next 6/8] net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC

2017-06-18 Thread Andrew Lunn
On Sat, Jun 17, 2017 at 06:24:29PM +0100, Salil Mehta wrote: > This patch adds the support of MDIO bus interface for HNS3 driver. > Code provides various interfaces to start and stop the PHY layer > and to read and write the MDIO bus or PHY. > > Signed-off-by: Daode Huang > Signed-off-by: lipeng

[PATCH v5 22/26] MAINTAINERS: Update Actions Semi section with SPS

2017-06-18 Thread Andreas Färber
Add file patterns to cover the SPS power domain driver and DT binding. Signed-off-by: Andreas Färber --- v4 -> v5: * Rebased onto timer additions * Added dt-bindings header file pattern v4: new MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS

[PATCH v5 21/26] soc: actions: Add Owl SPS

2017-06-18 Thread Andreas Färber
Implement S500 Smart Power System power-gating. For now flag PD_CPU2 and PD_CPU3 as always-on. Based on LeMaker linux-actions tree. Signed-off-by: Andreas Färber --- v4 -> v5: * Updated for header file rename v3 -> v4: * Added genpd_flags field and set GENPD_FLAG_ALWAYS_ON for CPU2/CPU3 *

[PATCH v5 20/26] dt-bindings: power: Add Owl SPS power domains

2017-06-18 Thread Andreas Färber
Define power domains for all non-reserved S500 power gates. Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v4 -> v5: * Renamed header file with owl- prefix for uniqueness v3 -> v4: Unchanged v3: new .../devicetree/bindings/power/actions,owl-sps.txt | 17 +

Re: [PATCH] usb: host: ehci: workaround PME bug on AMD EHCI controller

2017-06-18 Thread Kai-Heng Feng
On Sat, Jun 17, 2017 at 1:30 AM, Alan Stern wrote: > On Sat, 17 Jun 2017, Kai-Heng Feng wrote: > >> On Fri, Jun 16, 2017 at 11:07 AM, Kai-Heng Feng >> wrote: >> > On Thu, Jun 15, 2017 at 10:12 PM, Alan Stern >> > wrote: >> >> Those documents refer to a hardware bug with a workaround in the BIOS

[PATCH] selftests: fix memory-hotplug test

2017-06-18 Thread Po-Hsu Lin
Typo correction for hotpluggable_offline_memory() function. Check for hot-pluggable memory availability in prerequisite(). Check for precentage range for -r flag. Fix the memory offline test, the $ratio was used with RANDOM as the possibility to get it offlined, correct it to become the portion of

Re: [GIT PULL 1/4] ARM: exynos: Soc for v4.13

2017-06-18 Thread Olof Johansson
On Fri, Jun 09, 2017 at 06:42:49PM +0200, Krzysztof Kozlowski wrote: > The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: > > Linux 4.12-rc1 (2017-05-13 13:19:49 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/krz

Re: [GIT PULL 4/4] ARM: defconfig: exynos: Defconfig for v4.13

2017-06-18 Thread Olof Johansson
On Fri, Jun 09, 2017 at 06:42:46PM +0200, Krzysztof Kozlowski wrote: > The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: > > Linux 4.12-rc1 (2017-05-13 13:19:49 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/krz

Re: [GIT PULL 3/4] arm64: dts: exynos: DT for v4.13

2017-06-18 Thread Olof Johansson
On Fri, Jun 09, 2017 at 06:42:48PM +0200, Krzysztof Kozlowski wrote: > The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: > > Linux 4.12-rc1 (2017-05-13 13:19:49 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/krz

  1   2   3   4   >