Re: [PATCH v2 5/8] KVM: arm/arm64: vgic: Handle mapped level sensitive SPIs

2017-08-28 Thread Auger Eric
Hi Christoffer, On 29/08/2017 08:45, Christoffer Dall wrote: > On Tue, Aug 22, 2017 at 04:33:42PM +0200, Auger Eric wrote: >> Hi Christoffer, >> >> On 21/07/2017 14:11, Christoffer Dall wrote: >>> On Thu, Jun 15, 2017 at 02:52:37PM +0200, Eric Auger wrote: Currently, the line level of unmappe

Re: linux-next: manual merge of the tty tree with the parisc-hd tree

2017-08-28 Thread Greg KH
On Tue, Aug 29, 2017 at 04:35:13PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the tty tree got a conflict in: > > drivers/tty/serial/8250/8250_gsc.c > > between commit: > > 9e466f101e19 ("parisc/8250_gsc: Fix section mismatches") > > from the parisc-hd tree a

Re: [PATCH] i2c: aspeed: Retain delay/setup/hold values when configuring bus frequency

2017-08-28 Thread Andrew Jeffery
On Mon, 2017-08-28 at 18:07 +0200, Wolfram Sang wrote: > On Tue, Aug 15, 2017 at 04:51:02PM +0930, Andrew Jeffery wrote: > > In addition to the base, low and high clock configuration, the AC timing > > register #1 on the AST2400 houses fields controlling: > > > > 1. tBUF: Minimum delay between Sto

Re: [PATCH V3 2/8] drivers: boot_constraint: Add boot_constraints_disable kernel parameter

2017-08-28 Thread Jani Nikula
On Tue, 29 Aug 2017, Greg Kroah-Hartman wrote: > On Tue, Aug 01, 2017 at 02:53:43PM +0530, Viresh Kumar wrote: >> Users must be given an option to discard any constraints set by >> bootloaders. For example, consider that a constraint is set for the LCD >> controller's supply and the LCD driver isn

Re: [PATCH 4/4] lockdep: Fix workqueue crossrelease annotation

2017-08-28 Thread Byungchul Park
On Wed, Aug 23, 2017 at 01:58:47PM +0200, Peter Zijlstra wrote: > The new completion/crossrelease annotations interact unfavourable with > the extant flush_work()/flush_workqueue() annotations. > > The problem is that when a single work class does: > > wait_for_completion(&C) > > and > > co

Re: [PATCH v2 5/8] KVM: arm/arm64: vgic: Handle mapped level sensitive SPIs

2017-08-28 Thread Christoffer Dall
On Tue, Aug 22, 2017 at 04:33:42PM +0200, Auger Eric wrote: > Hi Christoffer, > > On 21/07/2017 14:11, Christoffer Dall wrote: > > On Thu, Jun 15, 2017 at 02:52:37PM +0200, Eric Auger wrote: > >> Currently, the line level of unmapped level sensitive SPIs is > >> toggled down by the maintenance IRQ

Re: [PATCH v2 1/2] driver core: detach device's pm_domain after devres_release_all

2017-08-28 Thread Greg Kroah-Hartman
On Tue, Aug 15, 2017 at 04:36:56PM +0800, Shawn Lin wrote: > Move dev_pm_domain_detach after devres_release_all to avoid > accessing device's registers with genpd been powered off. So, what is this going to break that is working already today? :) > > Signed-off-by: Shawn Lin > --- > > Changes

Re: [RFC 1/3] sched/fair: add util_est on top of PELT

2017-08-28 Thread Pavan Kondeti
On Fri, Aug 25, 2017 at 3:50 PM, Patrick Bellasi wrote: > The util_avg signal computed by PELT is too variable for some use-cases. > For example, a big task waking up after a long sleep period will have its > utilization almost completely decayed. This introduces some latency before > schedutil wi

Re: [PATCH V3 1/8] drivers: Add boot constraints core

2017-08-28 Thread Greg Kroah-Hartman
On Tue, Aug 01, 2017 at 02:53:42PM +0530, Viresh Kumar wrote: > Some devices are powered ON by the bootloader before the bootloader > handovers control to Linux. It maybe important for those devices to keep > working until the time a Linux device driver probes the device and > reconfigure its resou

linux-next: manual merge of the tty tree with the parisc-hd tree

2017-08-28 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got a conflict in: drivers/tty/serial/mux.c between commit: fc72b7a3a0d8 ("parisc/mux: Fix section mismatches") from the parisc-hd tree and commit: 829374f544b3 ("tty: mux: constify parisc_device_id") from the tty tree. I fixed it up (

Re: [PATCH V3 2/8] drivers: boot_constraint: Add boot_constraints_disable kernel parameter

2017-08-28 Thread Greg Kroah-Hartman
On Tue, Aug 01, 2017 at 02:53:43PM +0530, Viresh Kumar wrote: > Users must be given an option to discard any constraints set by > bootloaders. For example, consider that a constraint is set for the LCD > controller's supply and the LCD driver isn't loaded by the kernel. If > the user doesn't need t

Re: [PATCH V3 6/8] drivers: boot_constraint: Add debugfs support

2017-08-28 Thread Greg Kroah-Hartman
On Tue, Aug 01, 2017 at 02:53:47PM +0530, Viresh Kumar wrote: > This patch adds debugfs support for boot constraints. This is how it > looks for a "vmmc-supply" constraint for the MMC device. > > $ ls -R /sys/kernel/debug/boot_constraints/ > /sys/kernel/debug/boot_constraints/: > f723d000.dwmmc0 >

linux-next: manual merge of the tty tree with the parisc-hd tree

2017-08-28 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got a conflict in: drivers/tty/serial/8250/8250_gsc.c between commit: 9e466f101e19 ("parisc/8250_gsc: Fix section mismatches") from the parisc-hd tree and commit: 0d474f7fad3b ("tty: 8250: constify parisc_device_id") from the tty tree.

Re: [PATCH] misc: pci_endpoint_test: make boolean no_msi static

2017-08-28 Thread Kishon Vijay Abraham I
Hi Bjorn, On Wednesday 23 August 2017 03:17 PM, Colin King wrote: > From: Colin Ian King > > The boolean no_msi is local to the source and does not need to be in > global scope, so make it static. > > Cleans up sparse warning: > symbol 'no_msi' was not declared. Should it be static? > > Signed

Re: [PATCH][pci-next] PCI: endpoint: fix incorrect end of table check in while loop

2017-08-28 Thread Kishon Vijay Abraham I
On Monday 28 August 2017 11:55 PM, Bjorn Helgaas wrote: > On Wed, Aug 23, 2017 at 05:03:03PM +0100, Colin King wrote: >> From: Colin Ian King >> >> Currently, the while loop will iterate until a matching name is found >> or until the id pointer wraps around to NULL (the latter is incorrect). >>

Re: [PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for inconsistencies

2017-08-28 Thread Greg KH
On Thu, Jul 06, 2017 at 09:34:18AM -0700, Babu Moger wrote: > Resending the series per Greg KH's request. > > Found this problem while enabling queued rwlock on SPARC. > The parameter CONFIG_CPU_BIG_ENDIAN is used to clear the > specific byte in qrwlock structure. Without this parameter, > we clea

Re: [PATCH net-next v2 00/10] net: dsa: add generic debugfs interface

2017-08-28 Thread Jiri Pirko
Tue, Aug 29, 2017 at 06:38:37AM CEST, da...@davemloft.net wrote: >From: Vivien Didelot >Date: Mon, 28 Aug 2017 15:17:38 -0400 > >> This patch series adds a generic debugfs interface for the DSA >> framework, so that all switch devices benefit from it, e.g. Marvell, >> Broadcom, Microchip or any ot

[PATCH v8 01/10] powerpc/vas: Define macros, register fields and structures

2017-08-28 Thread Sukadev Bhattiprolu
Define macros for the VAS hardware registers and bit-fields as well as couple of data structures needed by the VAS driver. Signed-off-by: Sukadev Bhattiprolu --- Changelog[v8] - Use u64/u32 instead of the uintXX versions. Changelog[v7] - Move the threshold control macros from uap

[PATCH v8 03/10] powerpc/vas: Define vas_init() and vas_exit()

2017-08-28 Thread Sukadev Bhattiprolu
Implement vas_init() and vas_exit() functions for a new VAS module. This VAS module is essentially a library for other device drivers and kernel users of the NX coprocessors like NX-842 and NX-GZIP. In the future this will be extended to add support for user space to access the NX coprocessors. VA

[PATCH v8 10/10] powerpc/vas: Define copy/paste interfaces

2017-08-28 Thread Sukadev Bhattiprolu
Define interfaces (wrappers) to the 'copy' and 'paste' instructions (which are new in PowerISA 3.0). These are intended to be used to by NX driver(s) to submit Coprocessor Request Blocks (CRBs) to the NX hardware engines. Signed-off-by: Sukadev Bhattiprolu --- Changelog[v8]: - [Michael E

Re: [PATCH net-next v2 00/10] net: dsa: add generic debugfs interface

2017-08-28 Thread Jiri Pirko
Mon, Aug 28, 2017 at 10:08:34PM CEST, and...@lunn.ch wrote: >> I see this overlaps a lot with DPIPE. Why won't you use that to expose >> your hw state? > >We took a look at dpipe and i talked to you about using it for this >sort of thing at netconf/netdev. But dpipe has issues displaying the >sort

[PATCH v8 05/10] powerpc/vas: Define helpers to init window context

2017-08-28 Thread Sukadev Bhattiprolu
Define helpers to initialize window context registers of the VAS hardware. These will be used in follow-on patches when opening/closing VAS windows. Signed-off-by: Sukadev Bhattiprolu --- Changelog[v8]: - Update comments (ISA references and some cleanup) - Use 0 or 1 when setting

[PATCH v8 04/10] powerpc/vas: Define helpers to access MMIO regions

2017-08-28 Thread Sukadev Bhattiprolu
Define some helper functions to access the MMIO regions. We use these in follow-on patches to read/write VAS hardware registers. They are also used to later issue 'paste' instructions to submit requests to the NX hardware engines. Signed-off-by: Sukadev Bhattiprolu --- Changelog [v8]: Min

[PATCH v8 02/10] Move GET_FIELD/SET_FIELD to vas.h

2017-08-28 Thread Sukadev Bhattiprolu
Move the GET_FIELD and SET_FIELD macros to vas.h as VAS and other users of VAS, including NX-842 can use those macros. There is a lot of related code between the VAS/NX kernel drivers and skiboot. For consistency, switch the order of parameters in SET_FIELD to match the order in skiboot. Signed-o

[PATCH v8 08/10] powerpc/vas: Define vas_win_close() interface

2017-08-28 Thread Sukadev Bhattiprolu
Define the vas_win_close() interface which should be used to close a send or receive windows. While the hardware configurations required to open send and receive windows differ, the configuration to close a window is the same for both. So we use a single interface to close the window. Signed-off-

[PATCH v8 07/10] powerpc/vas: Define vas_rx_win_open() interface

2017-08-28 Thread Sukadev Bhattiprolu
Define the vas_rx_win_open() interface. This interface is intended to be used by the Nest Accelerator (NX) driver(s) to setup receive windows for one or more NX engines (which implement compression/encryption algorithms in the hardware). Follow-on patches will provide an interface to close the win

[PATCH v8 06/10] powerpc/vas: Define helpers to alloc/free windows

2017-08-28 Thread Sukadev Bhattiprolu
Define helpers to allocate/free VAS window objects. These will be used in follow-on patches when opening/closing windows. Changelog[v8]: - [Michael Ellerman] Make some functions static; retry if ida_get_new() fails with EAGAIN; fix a couple of leak in ids Signed-off-by: Sukadev

[PATCH v8 00/10] Enable VAS

2017-08-28 Thread Sukadev Bhattiprolu
Power9 introduces a hardware subsystem referred to as the Virtual Accelerator Switchboard (VAS). VAS allows kernel subsystems and user space processes to directly access the Nest Accelerator (NX) engines which implement compression and encryption algorithms in the hardware. NX has been in Power pr

[PATCH v8 09/10] powerpc/vas: Define vas_tx_win_open()

2017-08-28 Thread Sukadev Bhattiprolu
Define an interface to open a VAS send window. This interface is intended to be used the Nest Accelerator (NX) driver(s) to open a send window and use it to submit compression/encryption requests to a VAS receive window. The receive window, identified by the [vasid, cop] parameters, must already b

Re: [PATCH] Staging: ks7010: Fix hardcoded function names in strings. Warnings reported by checkpatch.pl.

2017-08-28 Thread Greg KH
On Mon, Aug 28, 2017 at 05:32:39PM -0600, Jonathan Whitaker wrote: > This commit replaces hardcoded function name strings to the more preferred > '"%s...", __func__' > style. These warnings were reported by checkpatch.pl. Please wrap your changelog text at 72 columns. And your subject is very od

Re: [PATCH] fpga: make xlnx_pr_decoupler_br_ops const

2017-08-28 Thread Michal Simek
On 28.8.2017 19:32, Bhumika Goyal wrote: > Make this const as it is only passed to a const argument of the function > fpga_bridge_register. > > Signed-off-by: Bhumika Goyal > --- > drivers/fpga/xilinx-pr-decoupler.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/driver

Re: [PATCH v4 3/3] ARM: dts: exynos: Remove the display-timing and delay from rinato dts

2017-08-28 Thread Krzysztof Kozlowski
On Tue, Aug 29, 2017 at 4:52 AM, Hoegeun Kwon wrote: > Hi Krzysztof, > > The driver has been merged into exynos-drm-misc. > Could you please check this patch(3/3). Hi, OK, no problems for me but it is too late for current cycle so it will go in for v4.15. Best regards, Krzysztof > > Best regard

[PATCH 4/4] [media] zr364xx: Fix a typo in a comment line of the file header

2017-08-28 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 28 Aug 2017 22:46:30 +0200 Fix a word in this description. Signed-off-by: Markus Elfring --- drivers/media/usb/zr364xx/zr364xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/zr364xx/zr364xx.c b/drivers/media/usb/zr364xx/

[PATCH 3/4] [media] zr364xx: Adjust ten checks for null pointers

2017-08-28 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 28 Aug 2017 22:40:47 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written !… Thus fix the affected source code pl

[PATCH 2/4] [media] zr364xx: Improve a size determination in zr364xx_probe()

2017-08-28 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 28 Aug 2017 22:28:02 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. This issue was det

Re: [PATCH v8 2/3] PCI: iproc: retry request when CRS returned from EP

2017-08-28 Thread Oza Oza
On Tue, Aug 29, 2017 at 3:17 AM, Bjorn Helgaas wrote: > On Thu, Aug 24, 2017 at 10:34:25AM +0530, Oza Pawandeep wrote: >> PCIe spec r3.1, sec 2.3.2 >> If CRS software visibility is not enabled, the RC must reissue the >> config request as a new request. >> >> - If CRS software visibility is enable

[PATCH 1/4] [media] zr364xx: Delete an error message for a failed memory allocation in two functions

2017-08-28 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 28 Aug 2017 22:23:56 +0200 Omit an extra message for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/media/usb/zr364xx/zr364xx.c | 8 ++-- 1 file changed, 2

[PATCH 0/4] [media] zr364xx: Adjustments for some function implementations

2017-08-28 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 29 Aug 2017 07:17:07 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Delete an error message for a failed memory allocation in two functions Improve a size determination in zr364xx_probe() Adjust t

Re: [PATCH v8 0/3] PCI: iproc: SOC specific fixes

2017-08-28 Thread Oza Oza
On Tue, Aug 29, 2017 at 3:23 AM, Bjorn Helgaas wrote: > On Thu, Aug 24, 2017 at 10:34:23AM +0530, Oza Pawandeep wrote: >> PCI: iproc: Retry request when CRS returned from EP Above patch adds >> support for CRS in PCI RC driver, otherwise if not handled at lower >> level, the user space PMD (poll m

Re: [Cocci] cocci: remove unnecessary casts of void * while avoiding casts with __user or __force ?

2017-08-28 Thread Julia Lawall
On Mon, 28 Aug 2017, Joe Perches wrote: > A simple cocci script that removes unnecessary casts of > a void * will also remove casts with __force or __user Unfortunately, attributes are currently not supported inside casts. This can be done in a hackish way (possible false negatives) as follows

[no subject]

2017-08-28 Thread Venkat Subbiah
Sup Linux http://www.imr-asso.org/wp-content/uploads/innovation.php?corn=pks2ea81htmcx01ew Venkat

Re: [PATCH v3 1/3] mfd: Add support for Cherry Trail Dollar Cove TI PMIC

2017-08-28 Thread Takashi Iwai
On Tue, 29 Aug 2017 00:31:15 +0200, Rafael J. Wysocki wrote: > > On Fri, Aug 25, 2017 at 3:44 PM, Takashi Iwai wrote: > > This patch adds the MFD driver for Dollar Cove (TI version) PMIC with > > ACPI INT33F5 that is found on some Intel Cherry Trail devices. > > The driver is based on the origina

Re: [PATCH] lsm_audit: use get_task_comm

2017-08-28 Thread Richard Guy Briggs
On 2017-08-28 17:54, Paul Moore wrote: > On Mon, Aug 28, 2017 at 9:58 AM, Geliang Tang wrote: > > get_task_comm() copys the task's comm under the task_lock, it's safer > > than directly using memcpy(). > > > > Signed-off-by: Geliang Tang > > --- > > security/lsm_audit.c | 4 ++-- > > 1 file chan

Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it

2017-08-28 Thread Greg KH
On Mon, Aug 28, 2017 at 04:46:07PM -0700, Joe Perches wrote: > On Mon, 2017-08-28 at 16:42 -0700, David Miller wrote: > > From: Greg Kroah-Hartman > > Date: Sun, 27 Aug 2017 17:03:30 +0200 > > > > > The IRDA code has long been obsolete and broken.  So, to keep people > > > from trying to use it,

Re: [PATCH 4.12 00/99] 4.12.10-stable review

2017-08-28 Thread Greg Kroah-Hartman
On Mon, Aug 28, 2017 at 01:40:29PM -0600, Shuah Khan wrote: > On 08/28/2017 02:03 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.12.10 release. > > There are 99 patches in this series, all will be posted as a response > > to this one. If anyone has any iss

Re: [PATCH 4.12 00/99] 4.12.10-stable review

2017-08-28 Thread Greg Kroah-Hartman
On Mon, Aug 28, 2017 at 05:11:03PM -0700, Guenter Roeck wrote: > On 08/28/2017 01:03 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.12.10 release. > > There are 99 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH] Revert "xhci: Limit USB2 port wake support for AMD Promontory hosts"

2017-08-28 Thread Kai-Heng Feng
On Mon, Aug 28, 2017 at 6:14 PM, Mathias Nyman wrote: > On 28.08.2017 12:29, Greg KH wrote: >> >> On Tue, Aug 22, 2017 at 05:14:47PM +0800, Kai-Heng Feng wrote: >>> >>> This reverts commit dec08194ffeccfa1cf085906b53d301930eae18f. >>> >>> Commit dec08194ffec ("xhci: Limit USB2 port wake support fo

[PATCH RESEND 2/2] dmaengine: sun6i: support V3s SoC variant

2017-08-28 Thread Icenowy Zheng
From: Icenowy Zheng Allwinner V3s has a DMA engine similar to the ones from A31, but with fewer channels and DRQs. Add support for it. Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai Acked-by: Rob Herring --- Documentation/devicetree/bindings/dma/sun6i-dma.txt | 1 + drivers/dma/sun6i-

[PATCH RESEND 1/2] dmaengine: sun6i: make gate bit in sun8i's DMA engines a common quirk

2017-08-28 Thread Icenowy Zheng
From: Icenowy Zheng Originally we enable a special gate bit when the compatible indicates A23/33. But according to BSP sources and user manuals, more SoCs will need this gate bit. So make it a common quirk configured in the config struct. Signed-off-by: Icenowy Zheng Reviewed-by: Chen-Yu Tsai

[PATCH RESEND 0/2] Allwinner V3s DMA support

2017-08-28 Thread Icenowy Zheng
This is a dedicated patchset of Allwinner V3s DMA support, which used to be part of the audio codec support patchset. It's a derivation of the DMA part of v3 of the codec patchset. Icenowy Zheng (2): dmaengine: sun6i: make gate bit in sun8i's DMA engines a common quirk dmaengine: sun6i: suppo

Re: [PATCH v2 15/30] xfs: Define usercopy region in xfs_inode slab cache

2017-08-28 Thread Darrick J. Wong
On Mon, Aug 28, 2017 at 02:57:14PM -0700, Kees Cook wrote: > On Mon, Aug 28, 2017 at 2:49 PM, Darrick J. Wong > wrote: > > On Mon, Aug 28, 2017 at 02:34:56PM -0700, Kees Cook wrote: > >> From: David Windsor > >> > >> The XFS inline inode data, stored in struct xfs_inode_t field > >> i_df.if_u2.if

Re: [RFC 2/3] sched/fair: use util_est in LB

2017-08-28 Thread Pavan Kondeti
On Fri, Aug 25, 2017 at 3:50 PM, Patrick Bellasi wrote: > When the scheduler looks at the CPU utlization, the current PELT value > for a CPU is returned straight away. In certain scenarios this can have > undesired side effects on task placement. > > +/** > + * cpu_util_est: estimated utilizati

Re: [PATCH net-next] hinic: don't build the module by default

2017-08-28 Thread David Miller
From: Vitaly Kuznetsov Date: Mon, 28 Aug 2017 15:16:05 +0200 > We probably don't want to enable code supporting particular hardware by > default e.g. when someone does 'make defconfig'. Other ethernet modules > don't do it. > > Signed-off-by: Vitaly Kuznetsov Applied, thanks.

Re: [PATCH net-next v2 00/10] net: dsa: add generic debugfs interface

2017-08-28 Thread David Miller
From: Vivien Didelot Date: Mon, 28 Aug 2017 15:17:38 -0400 > This patch series adds a generic debugfs interface for the DSA > framework, so that all switch devices benefit from it, e.g. Marvell, > Broadcom, Microchip or any other DSA driver. I've been thinking this over and I agree with the feed

Re: [RFC 1/3] sched/fair: add util_est on top of PELT

2017-08-28 Thread Pavan Kondeti
Hi Patrick, On Fri, Aug 25, 2017 at 3:50 PM, Patrick Bellasi wrote: > The util_avg signal computed by PELT is too variable for some use-cases. > For example, a big task waking up after a long sleep period will have its > utilization almost completely decayed. This introduces some latency before >

Re: iov_iter_pipe warning.

2017-08-28 Thread Darrick J. Wong
On Mon, Aug 28, 2017 at 04:31:30PM -0400, Dave Jones wrote: > On Mon, Aug 07, 2017 at 04:18:18PM -0400, Dave Jones wrote: > > On Fri, Apr 28, 2017 at 06:20:25PM +0100, Al Viro wrote: > > > On Fri, Apr 28, 2017 at 12:50:24PM -0400, Dave Jones wrote: > > > > currently running v4.11-rc8-75-gf8324

Re: [PATCH] be2net: Fix some u16 fields appropriately

2017-08-28 Thread David Miller
From: 严海双 Date: Tue, 29 Aug 2017 09:04:57 +0800 > The GET_TX_COMPL_BITS comes from amap_get which also returns a 32-bit value: It never returns a value with more than 16-bits of significance for this specific call. Please stop trying to be semantically clever when arguing about this change. It

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

2017-08-28 Thread Stephen Rothwell
Hi Shaohua, Today's linux-next merge of the md tree got a conflict in: drivers/md/raid5-ppl.c between commit: 74d46992e0d9 ("block: replace bi_bdev with a gendisk pointer and partitions index") from the block tree and commit: ddc088238cd6 ("md: Runtime support for multiple ppls") from

[PATCH v6] FlexRM support in VFIO platform

2017-08-28 Thread Anup Patel
This patchset primarily adds Broadcom FlexRM reset module for VFIO platform driver. The patches are based on Linux-4.13-rc3 and can also be found at flexrm-vfio-v6 branch of https://github.com/Broadcom/arm64-linux.git Changes since v5: - Make kconfig option VFIO_PLATFORM_BCMFLEXRM_RESET defau

[PATCH v6] vfio: platform: reset: Add Broadcom FlexRM reset module

2017-08-28 Thread Anup Patel
This patch adds Broadcom FlexRM low-level reset for VFIO platform. It will do the following: 1. Disable/Deactivate each FlexRM ring 2. Flush each FlexRM ring The cleanup sequence for FlexRM rings is adapted from Broadcom FlexRM mailbox driver. Signed-off-by: Anup Patel Reviewed-by: Oza Oza Rev

Re: [PATCH] initramfs: Fix disabling of initramfs (and its compression)

2017-08-28 Thread Florian Fainelli
On 08/28/2017 08:09 PM, Nicholas Piggin wrote: > On Mon, 28 Aug 2017 13:03:31 -0700 > Florian Fainelli wrote: > >> On 05/21/2017 07:46 PM, Nicholas Piggin wrote: >>> On Sat, 20 May 2017 20:33:35 -0700 >>> Florian Fainelli wrote: >>> Commit db2aa7fd15e8 ("initramfs: allow again choice o

[PATCH v5 1/2] dt-bindings: i2c: Add Spreadtrum I2C controller documentation

2017-08-28 Thread Baolin Wang
This patch adds the binding documentation for Spreadtrum I2C controller device. Signed-off-by: Baolin Wang Acked-by: Rob Herring --- Changes since v4: - No updates. Changes since v3: - Add Ack from RobH. Changes since v2: - Change compatible strings to be SoC specific. Changes since v1: -

[PATCH v5 2/2] i2c: Add Spreadtrum I2C controller driver

2017-08-28 Thread Baolin Wang
This patch adds the I2C controller driver for Spreadtrum SC9860 platform. Signed-off-by: Baolin Wang Reviewed-by: Andy Shevchenko --- Changes since v4: - Remove dump registers function. - Change 'unsigned int' to 'u32' type. - Invert ack logic to make it clear. - Modify some comments and err

Re: [PATCH] libnvdimm: clean up command definitions

2017-08-28 Thread Dan Williams
On Mon, Aug 28, 2017 at 6:03 PM, Yasunori Goto wrote: >> On Mon, Aug 28, 2017 at 1:50 PM, Jerry Hoemann wrote: >> > >> > On Mon, Aug 28, 2017 at 08:45:32AM -0700, Dan Williams wrote: >> >> Remove the command payloads that do not have an associated libnvdimm >> >> ioctl. I.e. remove the payloads t

Re: [PATCH v15 4/5] mm: support reporting free page blocks

2017-08-28 Thread Wei Wang
On 08/28/2017 09:33 PM, Michal Hocko wrote: On Mon 28-08-17 18:08:32, Wei Wang wrote: This patch adds support to walk through the free page blocks in the system and report them via a callback function. Some page blocks may leave the free list after zone->lock is released, so it is the caller's r

Re: [PATCH] initramfs: Fix disabling of initramfs (and its compression)

2017-08-28 Thread Nicholas Piggin
On Mon, 28 Aug 2017 13:03:31 -0700 Florian Fainelli wrote: > On 05/21/2017 07:46 PM, Nicholas Piggin wrote: > > On Sat, 20 May 2017 20:33:35 -0700 > > Florian Fainelli wrote: > > > >> Commit db2aa7fd15e8 ("initramfs: allow again choice of the embedded > >> initram compression algorithm") intr

Re: [PATCH v15 3/5] virtio-balloon: VIRTIO_BALLOON_F_SG

2017-08-28 Thread Wei Wang
On 08/29/2017 02:03 AM, Michael S. Tsirkin wrote: On Mon, Aug 28, 2017 at 06:08:31PM +0800, Wei Wang wrote: Add a new feature, VIRTIO_BALLOON_F_SG, which enables the transfer of balloon (i.e. inflated/deflated) pages using scatter-gather lists to the host. The implementation of the previous vir

Re: [RFC PATCH v5 0/5] vfio-pci: Add support for mmapping MSI-X table

2017-08-28 Thread Alexey Kardashevskiy
On 21/08/17 12:47, Alexey Kardashevskiy wrote: > Folks, > > Ok, people did talk, exchanged ideas, lovely :) What happens now? Do I > repost this or go back to PCI bus flags or something else? Thanks. Anyone, any help? How do we proceed with this? Thanks. > > > > On 14/08/17 19:45, Alexey K

Re: [PATCH v4 3/3] ARM: dts: exynos: Remove the display-timing and delay from rinato dts

2017-08-28 Thread Hoegeun Kwon
Hi Krzysztof, The driver has been merged into exynos-drm-misc. Could you please check this patch(3/3). Best regards, Hoegeun On 07/13/2017 11:20 AM, Hoegeun Kwon wrote: The display-timing and delay are included in the panel driver. So it should be removed in dts. Signed-off-by: Hoegeun Kwon

Re: linux-next: Signed-off-by missing for commit in the slave-dma tree

2017-08-28 Thread Vinod Koul
On Tue, Aug 29, 2017 at 09:10:56AM +1000, Stephen Rothwell wrote: > Hi Vinod, > > Commit > > 966e5e01f420 ("dmaengine: altera: Use macros instead of structs to describe > the registers") > > is missing a Signed-off-by from its committer. Oops, missed fixing that up while running with -i :(.

[PATCH] docs: highres: fix broken urls

2017-08-28 Thread stephen lu
Some urls is invalid. I find alternative urls. Signed-off-by: stephen lu --- Documentation/timers/highres.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/timers/highres.txt b/Documentation/timers/highres.txt index e878997..9d88f67 100644 --- a/Documentat

RE: [PATCH] vsock: only load vmci transport on VMware hypervisor by default

2017-08-28 Thread Dexuan Cui
> From: Dexuan Cui > Sent: Tuesday, August 22, 2017 21:21 > > ... > > ... > > The only problem here would be the potential for a guest and a host app > to > > have a conflict wrt port numbers, even though they would be able to > > operate fine, if restricted to their appropriate transport. > > > >

Re: module: Remove const attribute from alias for MODULE_DEVICE_TABLE

2017-08-28 Thread Stefan Agner
On 2017-08-28 10:41, Kees Cook wrote: > On Mon, Aug 28, 2017 at 10:38 AM, Nick Desaulniers > wrote: >> I think Kees' proposal is a better solution; rather than require all >> usage of device table to remember to add const, have the macro add it >> for all users. Otherwise if you require caller's

linux-next: manual merge of the net-next tree with the net tree

2017-08-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/marvell/mvpp2.c between commit: 4c2286826451 ("net: mvpp2: fix the mac address used when using PPv2.2") from the net tree and commits: 09f8397553a2 ("net: mvpp2: introduce per-port nrxqs/ntxqs

Re: [PATCH v3 4/5] input: Add MediaTek PMIC keys support

2017-08-28 Thread Chen Zhong
On Mon, 2017-08-28 at 09:57 -0700, Dmitry Torokhov wrote: > Hi Chen, > > On Fri, Aug 25, 2017 at 02:32:32PM +0800, Chen Zhong wrote: > > +static int mtk_pmic_key_setup(struct mtk_pmic_keys *keys, > > + struct pmic_keys_info *info) > > +{ > > + int ret; > > + > > + info->keys = keys;

[PATCH v7 07/11] sparc64: optimized struct page zeroing

2017-08-28 Thread Pavel Tatashin
Add an optimized mm_zero_struct_page(), so struct page's are zeroed without calling memset(). We do eight to ten regular stores based on the size of struct page. Compiler optimizes out the conditions of switch() statement. SPARC-M6 with 15T of memory, single thread performance:

[PATCH v7 00/11] complete deferred page initialization

2017-08-28 Thread Pavel Tatashin
Changelog: v7 - v6 - Addressed comments from Michal Hocko - memblock_discard() patch was removed from this series and integrated separately - Fixed bug reported by kbuild test robot new patch: mm: zero reserved and unavailable struct pages - Removed patch x86/mm: reserve only exiting low page

[PATCH v7 09/11] x86/kasan: explicitly zero kasan shadow memory

2017-08-28 Thread Pavel Tatashin
To optimize the performance of struct page initialization, vmemmap_populate() will no longer zero memory. We must explicitly zero the memory that is allocated by vmemmap_populate() for kasan, as this memory does not go through struct page initialization path. Signed-off-by: Pavel Tatashin Review

[PATCH v7 04/11] sparc64: simplify vmemmap_populate

2017-08-28 Thread Pavel Tatashin
Remove duplicating code by using common functions vmemmap_pud_populate and vmemmap_pgd_populate. Signed-off-by: Pavel Tatashin Reviewed-by: Steven Sistare Reviewed-by: Daniel Jordan Reviewed-by: Bob Picco --- arch/sparc/mm/init_64.c | 23 ++- 1 file changed, 6 insertions(+

[PATCH v7 08/11] mm: zero reserved and unavailable struct pages

2017-08-28 Thread Pavel Tatashin
Some memory is reserved but unavailable: not present in memblock.memory (because not backed by physical pages), but present in memblock.reserved. Such memory has backing struct pages, but they are not initialized by going through __init_single_page(). In some cases these struct pages are accessed

[PATCH v7 10/11] arm64/kasan: explicitly zero kasan shadow memory

2017-08-28 Thread Pavel Tatashin
To optimize the performance of struct page initialization, vmemmap_populate() will no longer zero memory. We must explicitly zero the memory that is allocated by vmemmap_populate() for kasan, as this memory does not go through struct page initialization path. Signed-off-by: Pavel Tatashin Review

[PATCH v7 02/11] sparc64/mm: setting fields in deferred pages

2017-08-28 Thread Pavel Tatashin
Without deferred struct page feature (CONFIG_DEFERRED_STRUCT_PAGE_INIT), flags and other fields in "struct page"es are never changed prior to first initializing struct pages by going through __init_single_page(). With deferred struct page feature enabled there is a case where we set some fields pr

[PATCH v7 11/11] mm: stop zeroing memory during allocation in vmemmap

2017-08-28 Thread Pavel Tatashin
vmemmap_alloc_block() will no longer zero the block, so zero memory at its call sites for everything except struct pages. Struct page memory is zero'd by struct page initialization. Replace allocators in sprase-vmemmap to use the non-zeroing version. So, we will get the performance improvement by

[PATCH v7 05/11] mm: defining memblock_virt_alloc_try_nid_raw

2017-08-28 Thread Pavel Tatashin
* A new variant of memblock_virt_alloc_* allocations: memblock_virt_alloc_try_nid_raw() - Does not zero the allocated memory - Does not panic if request cannot be satisfied * optimize early system hash allocations Clients can call alloc_large_system_hash() with flag: HASH_ZERO to specify

Re: [PATCH V1] pinctrl: qcom: spmi-gpio: Add support for qcom,gpios-disallowed property

2017-08-28 Thread Fenglin Wu
On 8/29/2017 9:51 AM, Shawn Guo wrote: On Tue, Aug 29, 2017 at 09:03:02AM +0800, Fenglin Wu wrote: I agree the GPIO's ownership is configurable and it always configured at the very beginning of the device boot up which is not visible by linux kernel drivers/image. Normally, this configuration is

[PATCH v7 06/11] mm: zero struct pages during initialization

2017-08-28 Thread Pavel Tatashin
Add struct page zeroing as a part of initialization of other fields in __init_single_page(). This single thread performance collected on: Intel(R) Xeon(R) CPU E7-8895 v3 @ 2.60GHz with 1T of memory (268400646 pages in 8 nodes): BASEFIX sparse_init 11.244671

[PATCH v7 01/11] x86/mm: setting fields in deferred pages

2017-08-28 Thread Pavel Tatashin
Without deferred struct page feature (CONFIG_DEFERRED_STRUCT_PAGE_INIT), flags and other fields in "struct page"es are never changed prior to first initializing struct pages by going through __init_single_page(). With deferred struct page feature enabled, however, we set fields in register_page_bo

[PATCH v7 03/11] mm: deferred_init_memmap improvements

2017-08-28 Thread Pavel Tatashin
This patch fixes two issues in deferred_init_memmap = In deferred_init_memmap() where all deferred struct pages are initialized we have a check like this: if (page->flags) { VM_BUG_ON(page_zone(page) != zone); goto free_range; } This way we are checking if the current deferre

Inquiry 28-08-2017

2017-08-28 Thread Julian Smith
Hello, My name is Ms Julian Smith and i am from Sinara Group Co.,LTD in Russia..We are glad to know about your company from the web and we are interested in your products.Please send us your Latest catalog and price list for our trial order Julian Smith, Purchasing Manager

Re: [RESEND PATCH v4 2/2] i2c: Add Spreadtrum I2C controller driver

2017-08-28 Thread Baolin Wang
Hi Wolfram, On 28 August 2017 at 23:13, Wolfram Sang wrote: > >> >> + /* >> >> + * If we did not get one ACK from slave when writing data, we should >> >> + * dump all registers to check I2C status. >> > >> > Why? I would say no. NACK from a slave can always happen, e.g. when an >>

[PATCH] lib: Closed hash table with low overhead

2017-08-28 Thread Felix Kuehling
This adds a statically sized closed hash table implementation with low memory and CPU overhead. The API is inspired by kfifo. Storing, retrieving and deleting data does not involve any dynamic memory management, which makes it ideal for use in interrupt context. Static memory usage per entry compr

Re: linux-next: Signed-off-by missing for commits in the drm tree

2017-08-28 Thread Sinclair Yeh
On Tue, Aug 29, 2017 at 11:44:13AM +1000, Stephen Rothwell wrote: > Hi Dave, > > Commits > > 461e60ea1119 ("drm/exynos/decon5433: use mode info stored in CRTC to detect > i80 mode") > ac60944ccf23 ("drm/exynos: consistent use of cpp") > e300173f0616 ("drm/vmwgfx: Don't use drm_irq_[un]inst

Re: [PATCH V1] pinctrl: qcom: spmi-gpio: Add support for qcom,gpios-disallowed property

2017-08-28 Thread Shawn Guo
On Tue, Aug 29, 2017 at 09:03:02AM +0800, Fenglin Wu wrote: > I agree the GPIO's ownership is configurable and it always configured at > the very beginning of the device boot up which is not visible by linux > kernel drivers/image. Normally, this configuration is fixed in one > platform and it's be

linux-next: Signed-off-by missing for commits in the drm tree

2017-08-28 Thread Stephen Rothwell
Hi Dave, Commits 461e60ea1119 ("drm/exynos/decon5433: use mode info stored in CRTC to detect i80 mode") ac60944ccf23 ("drm/exynos: consistent use of cpp") e300173f0616 ("drm/vmwgfx: Don't use drm_irq_[un]install") ef369904aaf7 ("drm/vmwgfx: Move irq bottom half processing to threads")

Re: [PATCH] MIPS: Revert "MIPS: Fix race on setting and getting cpu_online_mask"

2017-08-28 Thread Huacai Chen
I suggest to drop sync_r4k completely, because it is inaccurate. You can use IPI to synchronize count/compare instead, as Loongson-3 does. Huacai On Mon, Aug 28, 2017 at 6:07 PM, Matija Glavinic Pecotic wrote: > On 08/23/2017 10:21 AM, Matt Redfearn wrote: >> As noted in the commit message, upst

[lkp-robot] [x86/idt] 7684b56d00: WARNING:at_arch/x86/kernel/idt.c:#update_intr_gate

2017-08-28 Thread kernel test robot
FYI, we noticed the following commit: commit: 7684b56d008c9141492e00de32c6c7b9ef0066d2 ("x86/idt: Hide set_intr_gate()") https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git WIP.x86/apic in testcase: trinity with following parameters: runtime: 300s test-description: Trinity is a l

[lkp-robot] [x86/idt] fd1962ea6c: WARNING:at_arch/x86/kernel/idt.c:#update_intr_gate

2017-08-28 Thread kernel test robot
FYI, we noticed the following commit: commit: fd1962ea6c9cb9be5991f9e304fedb3f9e5135d7 ("x86/idt: Hide set_intr_gate()") https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git WIP.x86/apic in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -m 420M caused below changes (please

[PATCH v2 1/2] media:imx274 device tree binding file

2017-08-28 Thread Soren Brinkmann
From: Leon Luo The binding file for imx274 CMOS sensor V4l2 driver Signed-off-by: Leon Luo Acked-by: Sören Brinkmann --- .../devicetree/bindings/media/i2c/imx274.txt | 32 ++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/media

[PATCH v2 2/2] media:imx274 V4l2 driver for Sony imx274 CMOS sensor

2017-08-28 Thread Soren Brinkmann
From: Leon Luo The imx274 is a Sony CMOS image sensor that has 1/2.5 image size. It supports up to 3840x2160 (4K) 60fps, 1080p 120fps. The interface is 4-lane MIPI running at 1.44Gbps each. This driver has been tested on Xilinx ZCU102 platform with a Leopard LI-IMX274MIPI-FMC camera board. Supp

Re: [PATCH] libnvdimm: clean up command definitions

2017-08-28 Thread Yasunori Goto
> On Mon, Aug 28, 2017 at 1:50 PM, Jerry Hoemann wrote: > > > > On Mon, Aug 28, 2017 at 08:45:32AM -0700, Dan Williams wrote: > >> Remove the command payloads that do not have an associated libnvdimm > >> ioctl. I.e. remove the payloads that would only ever be carried in the > >> ND_CMD_CALL envel

  1   2   3   4   5   6   7   8   9   10   >