[PATCH] drm/omap: dma-buf: Constify dma_buf_ops structures.

2017-07-01 Thread Arvind Yadav
dma_buf_ops are not supposed to change at runtime. All functions working with dma_buf_ops provided by work with const dma_buf_ops. So mark the non-const structs as const. File size before: textdata bss dec hex filename 1240 112 01352 548 drivers/gpu/drm/om

Re: [PATCH 1/8] mailbox: introduce ARM SMC based mailbox

2017-07-01 Thread Jassi Brar
On Fri, Jun 30, 2017 at 3:26 PM, Andre Przywara wrote: > This mailbox driver implements a mailbox which signals transmitted data > via an ARM smc (secure monitor call) instruction. The mailbox receiver > is implemented in firmware and can synchronously return data when it > returns execution to th

[PATCH] staging: sm750fb: fixed a assignment typo

2017-07-01 Thread Lynn Lei
Fixed a typo issue in get_mxclk_freq(). Signed-off-by: Lynn Lei --- drivers/staging/sm750fb/ddk750_chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c index 5e4bfb601cea..c51761221131 100644 ---

Re: [PATCH RFC 21/26] powerpc: Remove spin_unlock_wait() arch-specific definitions

2017-07-01 Thread Boqun Feng
On Thu, Jun 29, 2017 at 05:01:29PM -0700, Paul E. McKenney wrote: > There is no agreed-upon definition of spin_unlock_wait()'s semantics, > and it appears that all callers could do just as well with a lock/unlock > pair. This commit therefore removes the underlying arch-specific > arch_spin_unlock

Re: [PATCH RFC 06/26] ipc: Replace spin_unlock_wait() with lock/unlock pair

2017-07-01 Thread Paul E. McKenney
On Sat, Jul 01, 2017 at 09:23:03PM +0200, Manfred Spraul wrote: > On 06/30/2017 02:01 AM, Paul E. McKenney wrote: > >There is no agreed-upon definition of spin_unlock_wait()'s semantics, > >and it appears that all callers could do just as well with a lock/unlock > >pair. This commit therefore repl

Re: [PATCH v6 0/6] g_NCR5380: PDMA fixes and cleanup

2017-07-01 Thread Finn Thain
On Sat, 1 Jul 2017, Ondrej Zary wrote: > > The write corruption is still present - "start" must be rolled back in > both IRQ and timeout cases. Your original algorithm aborts the transfer for a timeout. Same with mine. The bug must be a elsewhere. > And 128 B is not enough , 256 is OK (why d

Re: [PATCH] tracing: Add saved_tgids file to show cached pid to tgid mappings

2017-07-01 Thread kbuild test robot
Hi Michael, [auto build test WARNING on trace/for-next] [also build test WARNING on next-20170630] [cannot apply to tip/perf/core linus/master v4.12-rc7] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/c

Re: [PATCH RFC 01/26] netfilter: Replace spin_unlock_wait() with lock/unlock pair

2017-07-01 Thread Paul E. McKenney
On Sat, Jul 01, 2017 at 09:44:12PM +0200, Manfred Spraul wrote: > Hi Paul, > > On 06/30/2017 02:01 AM, Paul E. McKenney wrote: > >There is no agreed-upon definition of spin_unlock_wait()'s semantics, > >and it appears that all callers could do just as well with a lock/unlock > >pair. This commit

Re: [PATCH 3/3] KVM: LAPIC: Fix lapic timer injection delay

2017-07-01 Thread Wanpeng Li
2017-07-02 9:35 GMT+08:00 Wanpeng Li : > 2017-06-30 0:58 GMT+08:00 Paolo Bonzini : >> From: Wanpeng Li >> >> If the TSC deadline timer is programmed really close to the deadline or >> even in the past, the computation in vmx_set_hv_timer will program the >> absolute target tsc value to vmcs preemp

Re: [PATCH 4/6] dt-bindings: serial: Document RDA Micro UART

2017-07-01 Thread Andreas Färber
Am 30.06.2017 um 16:27 schrieb Rob Herring: > On Fri, Jun 30, 2017 at 6:12 AM, Andreas Färber wrote: >> Am 29.06.2017 um 22:10 schrieb Rob Herring: >>> On Tue, Jun 27, 2017 at 02:55:18AM +0200, Andreas Färber wrote: Add an initial binding for the RDA8810PL UART. Signed-off-by: Andre

Re: [PATCH] tracing: Add saved_tgids file to show cached pid to tgid mappings

2017-07-01 Thread kbuild test robot
Hi Michael, [auto build test ERROR on trace/for-next] [also build test ERROR on next-20170630] [cannot apply to tip/perf/core linus/master v4.12-rc7] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commi

Re: [PATCH 3/3] KVM: LAPIC: Fix lapic timer injection delay

2017-07-01 Thread Wanpeng Li
2017-06-30 0:58 GMT+08:00 Paolo Bonzini : > From: Wanpeng Li > > If the TSC deadline timer is programmed really close to the deadline or > even in the past, the computation in vmx_set_hv_timer will program the > absolute target tsc value to vmcs preemption timer field w/ delta == 0. > The next vme

Re: [PATCH] kbuild: modpost: Warn about references from rodata to __init text

2017-07-01 Thread kbuild test robot
Hi Stephen, [auto build test WARNING on linus/master] [also build test WARNING on v4.12-rc7 next-20170630] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Stephen-Boyd/kbuild-modpost-Warn-about-r

Re: [PATCH v1 4/5] ARM: dts: stm32: Enable DCMI support on STM32F746 MCU

2017-07-01 Thread kbuild test robot
Hi Hugues, [auto build test ERROR on linuxtv-media/master] [cannot apply to v4.12-rc7 next-20170630] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Hugues-Fruchet/Camera-support-on-STM32F746G-DI

Dear user

2017-07-01 Thread ADMIN
-- Dear user Your mailbox has exceeded the storage limit of 20GB set by the administrator, you are currently running at 20.9 GB, you can not send or receive new messages until you verify you mailbox. Re-validate your account by mail, please fill and Send the data below to verify and update y

[PATCH] hwmon: applesmc: fix deprecated hwmon_device_register call

2017-07-01 Thread Cengiz Can
Hello. This is my first patch attempt on drivers so I might be completely wrong. applesmc driver was using the deprecated `hwmon_device_register` call for some reason. And that causes a deprecation warning in dmesg. I've replaced the call with `hwmon_device_register_with_info` and booted my MBP

Re: [PATCH v6 0/6] g_NCR5380: PDMA fixes and cleanup

2017-07-01 Thread Ondrej Zary
On Saturday 01 July 2017 04:40:53 Finn Thain wrote: > Ondrej, would you please test this new series? > > Changed since v1: > - PDMA transfer residual is calculated earlier. > - End of DMA flag check is now polled (if there is any residual). > > Changed since v2: > - Bail out of transfer loops when

Re: [PATCH v6 05/21] net-next: stmmac: Add dwmac-sun8i

2017-07-01 Thread Florian Fainelli
On 30/06/2017 23:53, Corentin Labbe wrote: > On Tue, Jun 27, 2017 at 10:37:34AM -0700, Florian Fainelli wrote: >> On 06/27/2017 10:29 AM, Maxime Ripard wrote: >>> On Tue, Jun 27, 2017 at 02:37:48PM +0200, Corentin Labbe wrote: On Tue, Jun 27, 2017 at 11:33:56AM +0100, Andre Przywara wrote: >>>

[PATCH] ARM: owl: Drop custom machine

2017-07-01 Thread Andreas Färber
Rely on the fallback to "Generic DT based system". This change is visible in /proc/cpuinfo. Cc: Arnd Bergmann Signed-off-by: Andreas Färber --- arch/arm/mach-actions/Makefile | 1 - arch/arm/mach-actions/owl.c| 28 2 files changed, 29 deletions(-) delete mode

Re: [PATCH][-next] net/mlx5: fix spelling mistake: "Allodating" -> "Allocating"

2017-07-01 Thread David Miller
From: Colin King Date: Fri, 30 Jun 2017 11:59:22 +0100 > From: Colin Ian King > > Trivial fix to spelling mistake in mlx5_core_dbg debug message > > Signed-off-by: Colin Ian King Applied, thanks Colin. Mellanox folks, I don't like how these lib/ objects are built. I absolutely depend upon

[PATCH] ARM: owl: smp: Drop bogus holding pen

2017-07-01 Thread Andreas Färber
The S500 SoC can start secondary CPUs without busy-looping for pen_release, so simplify the SMP code compared to the LeMaker kernel tree. Fixes: 172067e0bc87 ("ARM: owl: Implement CPU enable-method for S500") Suggested-by: Arnd Bergmann Cc: David Liu Signed-off-by: Andreas Färber --- arch/arm/

Re: [PATCH 2/2] scsi: qla2xxx: avoid unused-function warning

2017-07-01 Thread Martin K. Petersen
Arnd, > When NVMe support is disabled, we get a couple of harmless warnings: > > drivers/scsi/qla2xxx/qla_nvme.c:667:13: error: > 'qla_nvme_unregister_remote_port' defined but not used > [-Werror=unused-function] > drivers/scsi/qla2xxx/qla_nvme.c:634:13: error: 'qla_nvme_abort_all' defined > b

Re: [PATCH][scsi-next] scsi: qla2xxx: fix a bunch of typos and spelling mistakes

2017-07-01 Thread Martin K. Petersen
Colin, > Fix the following typos/spelling mistakes: > > "attribure" -> "attribute" > "suppored" -> "supported" > "Symobilic" -> "Symbolic" > "iteself" -> "itself" > "reqeust" -> "request" > "nvme_wait_on_comand" -> "nvme_wait_on_command" > "bount" -> "bound" > "captrue_mask" -> "capture_mask" > "

Re: [PATCH 1/2] scsi: lpfc: spin_lock_irq() is not nestable

2017-07-01 Thread Martin K. Petersen
Dan, > We're calling spin_lock_irq() multiple times, the problem is that on > the first spin_unlock_irq() then we will re-enable IRQs and we don't > want that. Applied to 4.13/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: hisi_sas: optimise DMA slot memory

2017-07-01 Thread Martin K. Petersen
John, > Currently we allocate 3 sets of DMA memories from separate > pools for each slot. This is inefficient in terms of memory usage > (buffers are less than 1 page in size, so we lose due to alignment), > and also time spent in doing 3 allocations + de-allocations per slot, > instead of 1. > >

Re: [PATCH] scsi: ibmvfc: constify dev_pm_ops structures.

2017-07-01 Thread Martin K. Petersen
Arvind, > dev_pm_ops are not supposed to change at runtime. All functions > working with dev_pm_ops provided by work with const > dev_pm_ops. So mark the non-const structs as const. Applied to 4.13/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ibmvscsi: constify dev_pm_ops structures.

2017-07-01 Thread Martin K. Petersen
Arvind, > dev_pm_ops are not supposed to change at runtime. All functions > working with dev_pm_ops provided by work with const > dev_pm_ops. So mark the non-const structs as const. Applied to 4.13/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v1 0/6] Add support of OV9655 camera

2017-07-01 Thread H. Nikolaus Schaller
Hi, Firstly, it turned out that we also must have V4L2_CID_PIXEL_RATE for omap3isp compatibility (see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?&id=0bc77f3f06fcf2ca7b7fad782d70926cd4d235f1 ). And secondly, I have tried to add some SXGA config and it looks good

Re: pull-request: wireless-drivers-next 2017-06-30

2017-07-01 Thread David Miller
From: Kalle Valo Date: Fri, 30 Jun 2017 09:19:37 +0300 > here's a pull request to net-next for 4.13. Actually not really that big > this time, more info in the signed tag below. Please let me know if you > have any problems. > > Intel has new hardware coming up and they just submitted patches to

Re: [PATCH v2] qla2xxx: Protect access to qpair members with qpair->qp_lock

2017-07-01 Thread Martin K. Petersen
Johannes, > In qla2xx_start_scsi_mq() and qla2xx_dif_start_scsi_mq() we grab the > qpair->qp_lock but do access members of the qpair before having the lock. > Re-order the locking sequence to have all read and write access to qpair > members under the qpair->qp_lock. Applied to 4.13/scsi-queue.

Re: [PATCH v4 3/6] libnvdimm, acpi, nfit: Add bus level dsm mask for pass thru.

2017-07-01 Thread Dan Williams
On Sat, Jul 1, 2017 at 1:38 PM, Jerry Hoemann wrote: > On Sat, Jul 01, 2017 at 01:10:31PM -0700, Dan Williams wrote: >> On Sat, Jul 1, 2017 at 1:08 PM, Dan Williams >> wrote: >> > On Sat, Jul 1, 2017 at 12:58 PM, Jerry Hoemann >> > wrote: >> >> On Fri, Jun 30, 2017 at 08:55:22PM -0700, Dan Wil

Re: [PATCH v4 3/6] libnvdimm, acpi, nfit: Add bus level dsm mask for pass thru.

2017-07-01 Thread Jerry Hoemann
On Sat, Jul 01, 2017 at 01:10:31PM -0700, Dan Williams wrote: > On Sat, Jul 1, 2017 at 1:08 PM, Dan Williams wrote: > > On Sat, Jul 1, 2017 at 12:58 PM, Jerry Hoemann > > wrote: > >> On Fri, Jun 30, 2017 at 08:55:22PM -0700, Dan Williams wrote: > >> > >> ... > >> > >>> On Fri, Jun 30, 2017 at 9:

Re: [PATCH v4 3/6] libnvdimm, acpi, nfit: Add bus level dsm mask for pass thru.

2017-07-01 Thread Dan Williams
On Sat, Jul 1, 2017 at 1:08 PM, Dan Williams wrote: > On Sat, Jul 1, 2017 at 12:58 PM, Jerry Hoemann wrote: >> On Fri, Jun 30, 2017 at 08:55:22PM -0700, Dan Williams wrote: >> >> ... >> >>> On Fri, Jun 30, 2017 at 9:09 AM, Jerry Hoemann >>> wrote: >>> > + if (cmd == ND_CMD_CALL) >

Re: [PATCH v4 3/6] libnvdimm, acpi, nfit: Add bus level dsm mask for pass thru.

2017-07-01 Thread Dan Williams
On Sat, Jul 1, 2017 at 12:58 PM, Jerry Hoemann wrote: > On Fri, Jun 30, 2017 at 08:55:22PM -0700, Dan Williams wrote: > > ... > >> On Fri, Jun 30, 2017 at 9:09 AM, Jerry Hoemann wrote: >> > + if (cmd == ND_CMD_CALL) >> > + dsm_mask = nd_desc->bus_dsm_mask; >> >

Re: [PATCH v4 3/6] libnvdimm, acpi, nfit: Add bus level dsm mask for pass thru.

2017-07-01 Thread Jerry Hoemann
On Fri, Jun 30, 2017 at 08:55:22PM -0700, Dan Williams wrote: ... > On Fri, Jun 30, 2017 at 9:09 AM, Jerry Hoemann wrote: > > + if (cmd == ND_CMD_CALL) > > + dsm_mask = nd_desc->bus_dsm_mask; > > desc = nd_cmd_bus_desc(cmd); > >

Re: 答复: [PATCH v4 20/28] ARM: owl: Implement CPU enable-method for S500

2017-07-01 Thread Andreas Färber
Hi David, Am 01.07.2017 um 06:42 schrieb 刘炜: > OWL_CPUx_ADDR is the physical address of CPUx wakeup function. > OWL_CPUx_FLAG is a valid flag of OWL_CPUx_ADDR. > > After CPUxs are wakeuped by SEV instruction, they will check their own > OWL_CPUx_FLAG register. If the register vlaue is 0x55aa, C

Re: [PATCH v2] ACPI: surface3_power: MSHW0011 rev-eng implementation

2017-07-01 Thread Julia Lawall
> That seems to be a common mistake in the kernel and it > might be a good idea to add some Coccinelle script for > it? Done. julia

[PATCH] coccinelle: api: detect unnecessary le16_to_cpu

2017-07-01 Thread Julia Lawall
As reported by Sebastian Reichel, i2c_smbus_read_word_data() returns native endianness for little-endian bus (it basically has builtin le16_to_cpu). Calling le16_to_cpu on the result breaks support on big endian machines by converting it back. This semantic patch give no reports on kernel code cur

Re: [RESEND PATCH v2 2/7] ARM: dts: rockchip: add basic dtsi file for RK3229 SoC

2017-07-01 Thread Heiko Stuebner
Am Donnerstag, 22. Juni 2017, 18:29:57 CEST schrieb Frank Wang: > Due to some tiny differences between RK3228 and RK3229, this patch adds > a basic dtsi file which first includes a new CPU opp table for RK3229. > > Signed-off-by: Frank Wang applied for 4.14 Thanks Heiko

Re: [RESEND PATCH v2 6/7] ARM: dts: rockchip: Add io-domain node for rk3228

2017-07-01 Thread Heiko Stuebner
Am Donnerstag, 22. Juni 2017, 18:32:23 CEST schrieb Frank Wang: > From: David Wu > > This patch adds io-domain support for rk3228 SoC. > > Signed-off-by: David Wu > Signed-off-by: Frank Wang with Rafael having picked up the driver side today, applied for 4.14 Thanks Heiko

Re: [PATCH v2] ARM: dts: rockchip: enable saradc for rk3288-evb

2017-07-01 Thread Heiko Stuebner
Am Samstag, 1. Juli 2017, 21:10:01 CEST schrieb Jacob Chen: > saradc in rk3288-evb use 1.8v ref. > > Signed-off-by: Jacob Chen applied for 4.14 Thanks Heiko

Re: [PATCH RFC 06/26] ipc: Replace spin_unlock_wait() with lock/unlock pair

2017-07-01 Thread Manfred Spraul
On 06/30/2017 02:01 AM, Paul E. McKenney wrote: There is no agreed-upon definition of spin_unlock_wait()'s semantics, and it appears that all callers could do just as well with a lock/unlock pair. This commit therefore replaces the spin_unlock_wait() call in exit_sem() with spin_lock() followed

Re: [PATCH v2 8/8] iio: counter: Add support for STM32 LPTimer

2017-07-01 Thread Jonathan Cameron
On Sat, 1 Jul 2017 09:40:35 -0400 William Breathitt Gray wrote: > On Sat, Jul 01, 2017 at 01:25:18PM +0100, Jonathan Cameron wrote: > >On Fri, 30 Jun 2017 22:36:48 +0200 > >Benjamin Gaignard wrote: > > > >> 2017-06-30 20:19 GMT+02:00 Jonathan Cameron : > >> > On Tue, 27 Jun 2017 10:21:43 +02

[PATCH] locking/refcounts: Remove refcount_sub() extern

2017-07-01 Thread Kees Cook
CONFIG_REFCOUNT_FULL (correctly) did not provide a refcount_sub(), which should not be part of proper refcount design patterns. This removes the erroneous extern (and the later non-FULL accidental implementation). Fixes: 29dee3c03abc ("locking/refcounts: Out-of-line everything") Signed-off-by: Kee

Re: [PATCH] sched/pelt: fix false running accounting in PELT

2017-07-01 Thread kbuild test robot
Hi Vincent, [auto build test ERROR on tip/sched/core] [also build test ERROR on v4.12-rc7 next-20170630] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Vincent-Guittot/sched-pelt-fix-false-runni

Re: [PATCH v4 2/2] fs/dcache.c: fix spin lockup issue on nlru->lock

2017-07-01 Thread Vladimir Davydov
On Thu, Jun 29, 2017 at 09:09:35AM +0530, Sahitya Tummala wrote: > __list_lru_walk_one() acquires nlru spin lock (nlru->lock) for > longer duration if there are more number of items in the lru list. > As per the current code, it can hold the spin lock for upto maximum > UINT_MAX entries at a time.

Re: [PATCH v4 1/2] mm/list_lru.c: fix list_lru_count_node() to be race free

2017-07-01 Thread Vladimir Davydov
On Thu, Jun 29, 2017 at 09:09:15AM +0530, Sahitya Tummala wrote: > list_lru_count_node() iterates over all memcgs to get > the total number of entries on the node but it can race with > memcg_drain_all_list_lrus(), which migrates the entries from > a dead cgroup to another. This can return incorrec

Re: [PATCH 2/3] arm64: dts: rockchip: add gpu opp table for rk3399

2017-07-01 Thread Heiko Stuebner
Hi Jacob, Am Samstag, 1. Juli 2017, 20:56:09 CEST schrieb Jacob Chen: > midgard-t860 gpu in rk3399 support run in 800MHz. > > Signed-off-by: Jacob Chen > --- > arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi | 33 > Could you also provide the opp table for op1-variant

Re: [PATCH] PM / AVS: rockchip-io: add io selectors and supplies for rk3228

2017-07-01 Thread Rafael J. Wysocki
On Sat, Jul 1, 2017 at 12:02 AM, Heiko Stuebner wrote: > Am Freitag, 9. Juni 2017, 12:45:46 CEST schrieb Heiko Stuebner: >> Am Freitag, 9. Juni 2017, 17:36:14 CEST schrieb David Wu: >> > This adds the necessary data for handling io voltage domains on the rk3228. >> > >> > Signed-off-by: David Wu

Re: [PATCH 2/2] f2fs: reuse original mount option in ->remount_fs

2017-07-01 Thread Chao Yu
On 2017/7/1 15:48, Jaegeuk Kim wrote: > On 06/29, Chao Yu wrote: >> From: Chao Yu >> >> Don't clear old mount option before parse new option during ->remount_fs >> like other generic filesystems> > So, what happened on your original patch? > > commit 2c8a4366debae30ae37d0688b2bec92d196a >

Re: [PATCH 1/3] arm64: dts: rockchip: add ARM Mali GPU node for rk3399

2017-07-01 Thread Heiko Stuebner
Hi Jacob, Am Samstag, 1. Juli 2017, 20:56:08 CEST schrieb Jacob Chen: > Add Mali GPU device tree node for the rk3399 SoC. > Tested with rockchip-forwardports repo. > > Signed-off-by: Jacob Chen > --- > arch/arm64/boot/dts/rockchip/rk3399.dtsi | 12 > 1 file changed, 12 insertions(+

[PATCH] libnvdimm, region, pmem: fix 'badblocks' sysfs_get_dirent() reference lifetime

2017-07-01 Thread Dan Williams
We need to hold a reference on the 'dirent' until we are sure there are no more notifications that will be sent. As noted in the new comments we take advantage of the fact that the references are taken and dropped under device_lock() and that nd_device_notify() holds device_lock() over new badblock

Re: [PATCH] [media] solo6x10: fix detection of TW2864B chips

2017-07-01 Thread Andrey Utkin
On Sat, Jul 01, 2017 at 03:26:01PM +0400, Anton Sviridenko wrote: > This patch enables support for non-Bluecherry labeled solo6110 > based PCI cards which have 3 x TW2864B chips and one TW2865. > These cards are displayed by lspci -nn as > > "Softlogic Co., Ltd. SOLO6110 H.264 Video encoder/decode

Re: [PATCH NET V5 2/2] net: hns: Use phy_driver to setup Phy loopback

2017-07-01 Thread Andrew Lunn
On Sat, Jul 01, 2017 at 11:57:32AM +, linyunsheng wrote: > Hi, Andrew > > I am agreed wih you on this. > But self test is also a feature of our product, and our > customer way choose to diagnose a problem using > self test, even if self test does not give a clear > reason to the problem. > we

[PATCHv2] i2c: add sc18is600 driver

2017-07-01 Thread Sebastian Reichel
This adds an I²C master driver for SPI -> I²C bus bridge chips. It currently supports NXP's SC18IS600 and SC18IS601, as well as Silicon Labs' CP2120. The driver was only tested on SC18IS600. Acked-by: Rob Herring Signed-off-By: Sebastian Reichel --- Changes since PATCHv1: * Reported by Julia La

RE: [PATCH v2 00/52] irqchip: KVM: Add support for GICv4

2017-07-01 Thread Shanker Donthineni
Hi Marc, I've verified the basic GICv4 functionality with v2 series + Eric's IRQ bypass patches on QDF2400 platform with a minor change in vgic-init.c successfully. Nice, I don't see any deadlock or catastrophic issues running on QCOM hardware. You can add my tested-by, I'll provide comments aft

Re: perf script: Question: Python trace processing script contains the tid of the process in the common_pid attribute

2017-07-01 Thread Arnaldo Carvalho de Melo
Em Fri, Jun 30, 2017 at 03:40:57PM -0700, Arun Kalyanasundaram escreveu: > The handlers in the python script generated from "perf script" have an > attribute: common_pid. This attribute contains the tid of the process > instead of its pid. I would like to know if this is the expected behavior. > Th

[GIT pull] x86 fixes for 4.12

2017-07-01 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus For fixlets for x86: - Prevent kexec crash when KASLR is enabled, which was caused by an address calculation bug - Restore the freeing of PU

[GIT pull] perf fixes for 4.12

2017-07-01 Thread Thomas Gleixner
Linus, please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus The last fix for perf for this cycles: Prevent a segfault when kernel.kptr_restrict=2 is set by avoiding a null pointer dereference. T

Re: [f2fs-dev] [PATCH 1/2] f2fs: avoid deadlock caused by lock order of page and lock_op

2017-07-01 Thread Jaegeuk Kim
On 07/01, Chao Yu wrote: > On 2017/7/1 15:28, Jaegeuk Kim wrote: > > On 06/26, Chao Yu wrote: > >> Hi Jaegeuk, > >> > >> On 2017/6/26 22:54, Jaegeuk Kim wrote: > >>> Hi Chao, > >>> > >>> On 06/26, Chao Yu wrote: > Hi Jaegeuk, > > On 2017/6/25 0:25, Jaegeuk Kim wrote: > > - punch_

Re: [PATCH 2/4] ARM/PCI: mv78xx0: pass pci_ops correctly again

2017-07-01 Thread Lorenzo Pieralisi
Hi Bjorn, On Tue, Jun 27, 2017 at 06:11:43PM -0500, Bjorn Helgaas wrote: > On Thu, Jun 22, 2017 at 10:38:55AM +0100, Lorenzo Pieralisi wrote: > > On Wed, Jun 21, 2017 at 11:53:00PM +0200, Arnd Bergmann wrote: > > > We used to pass the operations when calling pci_scan_root_bus, but > > > that argum

Re: Consult on the Multifunction Composite Gadget problem

2017-07-01 Thread gre...@linuxfoundation.org
On Sat, Jul 01, 2017 at 08:41:20AM +, Lipengcheng wrote: > Hi, > > Now I am prepared based on 3.18 linux kernel development Multifunction > Composite Gadget, which RNDIS + CDC Serial + USB Webcam Gadget, the kernel > community has this development plan, or what needs attention. I have no idea

[PATCH v8 07/10] mm: soft-dirty: keep soft-dirty bits over thp migration

2017-07-01 Thread Zi Yan
From: Naoya Horiguchi Soft dirty bit is designed to keep tracked over page migration. This patch makes it work in the same manner for thp migration too. --- ChangeLog v1 -> v2: - separate diff moving _PAGE_SWP_SOFT_DIRTY from bit 7 to bit 1 - clear_soft_dirty_pmd can handle migration entry Sign

[PATCH v8 08/10] mm: mempolicy: mbind and migrate_pages support thp migration

2017-07-01 Thread Zi Yan
From: Naoya Horiguchi This patch enables thp migration for mbind(2) and migrate_pages(2). ChangeLog v1 -> v2: - support pte-mapped and doubly-mapped thp Signed-off-by: Naoya Horiguchi ChangeLog v2 -> v6: - use the same gfp flag (GFP_TRANSHUGE) in mbind() and migrate_pages() for thp allocati

[PATCH v8 05/10] mm: thp: enable thp migration in generic path

2017-07-01 Thread Zi Yan
From: Zi Yan This patch adds thp migration's core code, including conversions between a PMD entry and a swap entry, setting PMD migration entry, removing PMD migration entry, and waiting on PMD migration entries. This patch makes it possible to support thp migration. If you fail to allocate a de

[PATCH v8 06/10] mm: thp: check pmd migration entry in common path

2017-07-01 Thread Zi Yan
From: Zi Yan If one of callers of page migration starts to handle thp, memory management code start to see pmd migration entry, so we need to prepare for it before enabling. This patch changes various code point which checks the status of given pmds in order to prevent race between thp migration

[PATCH v8 03/10] mm: thp: introduce separate TTU flag for thp freezing

2017-07-01 Thread Zi Yan
From: Naoya Horiguchi TTU_MIGRATION is used to convert pte into migration entry until thp split completes. This behavior conflicts with thp migration added later patches, so let's introduce a new TTU flag specifically for freezing. try_to_unmap() is used both for thp split (via freeze_page()) an

[PATCH v8 04/10] mm: thp: introduce CONFIG_ARCH_ENABLE_THP_MIGRATION

2017-07-01 Thread Zi Yan
From: Naoya Horiguchi Introduces CONFIG_ARCH_ENABLE_THP_MIGRATION to limit thp migration functionality to x86_64, which should be safer at the first step. ChangeLog v1 -> v2: - fixed config name in subject and patch description Signed-off-by: Naoya Horiguchi Reviewed-by: Anshuman Khandual ---

[PATCH v8 09/10] mm: migrate: move_pages() supports thp migration

2017-07-01 Thread Zi Yan
From: Naoya Horiguchi This patch enables thp migration for move_pages(2). Signed-off-by: Naoya Horiguchi ChangeLog: v1 -> v5: - fix page counting ChangeLog: v5 -> v6: - drop changes on soft-offline in unmap_and_move() Signed-off-by: Zi Yan --- mm/migrate.c | 45

[PATCH v8 10/10] mm: memory_hotplug: memory hotremove supports thp migration

2017-07-01 Thread Zi Yan
From: Naoya Horiguchi This patch enables thp migration for memory hotremove. --- ChangeLog v1->v2: - base code switched from alloc_migrate_target to new_node_page() Signed-off-by: Naoya Horiguchi ChangeLog v2->v7: - base code switched from new_node_page() new_page_nodemask() Signed-off-by: Z

[PATCH v8 01/10] mm: mempolicy: add queue_pages_required()

2017-07-01 Thread Zi Yan
From: Naoya Horiguchi Introduce a separate check routine related to MPOL_MF_INVERT flag. This patch just does cleanup, no behavioral change. Signed-off-by: Naoya Horiguchi Signed-off-by: Zi Yan --- mm/mempolicy.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) d

Re: [PATCH v2 8/8] iio: counter: Add support for STM32 LPTimer

2017-07-01 Thread William Breathitt Gray
On Sat, Jul 01, 2017 at 01:25:18PM +0100, Jonathan Cameron wrote: >On Fri, 30 Jun 2017 22:36:48 +0200 >Benjamin Gaignard wrote: > >> 2017-06-30 20:19 GMT+02:00 Jonathan Cameron : >> > On Tue, 27 Jun 2017 10:21:43 +0200 >> > Benjamin Gaignard wrote: >> > >> >> 2017-06-26 22:29 GMT+02:00 William

[PATCH v8 02/10] mm: x86: move _PAGE_SWP_SOFT_DIRTY from bit 7 to bit 1

2017-07-01 Thread Zi Yan
From: Naoya Horiguchi _PAGE_PSE is used to distinguish between a truly non-present (_PAGE_PRESENT=0) PMD, and a PMD which is undergoing a THP split and should be treated as present. But _PAGE_SWP_SOFT_DIRTY currently uses the _PAGE_PSE bit, which would cause confusion between one of those PMDs u

[PATCH v8 00/10] mm: page migration enhancement for thp

2017-07-01 Thread Zi Yan
From: Zi Yan Hi all, The patches are rebased on mmotm-2017-06-29-16-41 with the feedbacks from v7 patches. Hi Kirill, I have added the changes you suggested to Patch 5 and Patch 6, please let me know if you are OK with them. Patch 1 factors out common code. It could be picked up easily. Patch

[PATCH v2] ARM: dts: rockchip: enable saradc for rk3288-evb

2017-07-01 Thread Jacob Chen
saradc in rk3288-evb use 1.8v ref. Signed-off-by: Jacob Chen --- arch/arm/boot/dts/rk3288-evb.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi index f226ca7..f549f91 100644 --- a/arch/arm/boot/dts/rk3288-evb.dtsi

[PATCH 3/3] arm64: dts: rockchip: enable ARM Mali GPU on rk3399-firefly

2017-07-01 Thread Jacob Chen
Add reference to the Mali GPU device tree node on rk3399-firefly Signed-off-by: Jacob Chen --- arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts b/arch/arm64/boot/dts/rockchip/rk3399-firefly.d

[PATCH 2/3] arm64: dts: rockchip: add gpu opp table for rk3399

2017-07-01 Thread Jacob Chen
midgard-t860 gpu in rk3399 support run in 800MHz. Signed-off-by: Jacob Chen --- arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi | 33 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-opp.d

[PATCH 1/3] arm64: dts: rockchip: add ARM Mali GPU node for rk3399

2017-07-01 Thread Jacob Chen
Add Mali GPU device tree node for the rk3399 SoC. Tested with rockchip-forwardports repo. Signed-off-by: Jacob Chen --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockc

Re: [PATCH v2] ARM: dts: imx7d-sdb: Set VLDO4 outpt to 2.8V for MIPI CSI/DSI

2017-07-01 Thread Fabio Estevam
On Sat, Jul 1, 2017 at 4:39 AM, mindentropy wrote: > From: Gautam Bhat > > * According to mx7sabresd schematics the MIPI CSI/DSI voltage rails >should be 2.8V but the voltage provided is a maximum of 3.3V and >minimum of 1.8V. Providing such a higher voltage might damage the >periphe

[PATCH] drm/udl: dma-buf: Constify dma_buf_ops structures.

2017-07-01 Thread Arvind Yadav
dma_buf_ops are not supposed to change at runtime. All functions working with dma_buf_ops provided by work with const dma_buf_ops. So mark the non-const structs as const. File size before: textdata bss dec hex filename 2002 112 02114 842 drivers/gpu/drm/udl

[PATCH] tee: tee_shm: Constify dma_buf_ops structures.

2017-07-01 Thread Arvind Yadav
dma_buf_ops are not supposed to change at runtime. All functions working with dma_buf_ops provided by work with const dma_buf_ops. So mark the non-const structs as const. File size before: textdata bss dec hex filename 2026 112 02138 85a drivers/tee/tee_shm

[GIT PULL] pinctrl fixes for v4.12 last one

2017-07-01 Thread Linus Walleij
Hi Linus, Brian noticed that this regression has not got a proper fix for the entire merge window and consequently we need to revert the offending commit. It's part of the RT-mainstream work, the dance goes like this, two steps forward, one step back. Please pull it in! Yours, Linus Walleij Th

Re: [PATCH v2 8/8] iio: counter: Add support for STM32 LPTimer

2017-07-01 Thread Jonathan Cameron
On Fri, 30 Jun 2017 22:36:48 +0200 Benjamin Gaignard wrote: > 2017-06-30 20:19 GMT+02:00 Jonathan Cameron : > > On Tue, 27 Jun 2017 10:21:43 +0200 > > Benjamin Gaignard wrote: > > > >> 2017-06-26 22:29 GMT+02:00 William Breathitt Gray > >> : > >> > On Sat, Jun 24, 2017 at 09:35:39PM +0100,

[PATCH] media: vb2 dma-sg: Constify dma_buf_ops structures.

2017-07-01 Thread Arvind Yadav
dma_buf_ops are not supposed to change at runtime. All functions working with dma_buf_ops provided by work with const dma_buf_ops. So mark the non-const structs as const. File size before: textdata bss dec hex filename 5238 112 4535414ea drivers/media/v4l2

[GIT PULL] GPIO fixes for v4.12 last one

2017-07-01 Thread Linus Walleij
Hi Linus, just when I thought everything was setting down nicely last minute fixes appear. Like sunspots. Please pull it in, I would have sent earlier this week but the 0day builder was unresponsive so I wanted it to land in linux-next first. (If it's too late, it's too late, I just fold it into

Re: [PATCH] iio: magnetometer: Only declare ACPI table when ACPI is enable

2017-07-01 Thread Jonathan Cameron
On Thu, 29 Jun 2017 14:51:56 +0200 Linus Walleij wrote: > On Tue, Jun 27, 2017 at 2:25 AM, Matthias Kaehlcke wrote: > > > Don't inflate the kernel size with data that isn't used. The conditional > > declaration also fixes the following warning when building with clang: > > > > drivers/iio/magne

Re: [PATCH 5/6] staging: iio: tsl2x7x: refactor {read,write}_event_value to allow handling multiple iio_event_infos

2017-07-01 Thread Jonathan Cameron
On Sat, 1 Jul 2017 06:37:07 -0400 Brian Masney wrote: > On Sat, Jul 01, 2017 at 10:40:20AM +0100, Jonathan Cameron wrote: > > On Thu, 29 Jun 2017 13:03:51 -0400 > > Brian Masney wrote: > > > > > tsl2x7x_read_thresh() and tsl2x7x_write_thresh() currently assumes > > > that IIO_EV_INFO_VALUE is

Re: [PATCH v4] iio: adc: Add support for DLN2 ADC

2017-07-01 Thread Jonathan Cameron
On Tue, 27 Jun 2017 15:05:19 -1000 Jack Andersen wrote: > This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. > ADC is the fourth and final component of the DLN2 for the kernel. > > Signed-off-by: Jack Andersen Given it touches files in mfd, this needs an ack from Lee. Please

Re: [PATCH v7 0/2] More fixes for twl4030 charger

2017-07-01 Thread H. Nikolaus Schaller
Hi Sebastian, > Am 19.06.2017 um 10:41 schrieb H. Nikolaus Schaller : > > Changes V7: > * removed already merged patches from patch set > * further fix for potentially wrong irq and notifier initialization sequence > (suggested by Sebastian Reichel) > * NULLify transceiver pointer in case of err

Re: [PATCH] mm, vmscan: do not loop on too_many_isolated for ever

2017-07-01 Thread Tetsuo Handa
Michal Hocko wrote: > I really do appreciate your testing because it uncovers corner cases > most people do not test for and we can actually make the code better in > the end. That statement does not get to my heart at all. Collision between your approach and my approach is wasting both your time

[PATCH] media: vb2 vmalloc: Constify dma_buf_ops structures.

2017-07-01 Thread Arvind Yadav
dma_buf_ops are not supposed to change at runtime. All functions working with dma_buf_ops provided by work with const dma_buf_ops. So mark the non-const structs as const. File size before: textdata bss dec hex filename 3171 192 03363 d23 drivers/media/v4l2

[PATCH] [media] solo6x10: fix detection of TW2864B chips

2017-07-01 Thread Anton Sviridenko
This patch enables support for non-Bluecherry labeled solo6110 based PCI cards which have 3 x TW2864B chips and one TW2865. These cards are displayed by lspci -nn as "Softlogic Co., Ltd. SOLO6110 H.264 Video encoder/decoder [9413:6110]" Bluecherry cards have 4 x TW2864A. According to datasheet re

[PATCH] media: vb2 dma-contig: Constify dma_buf_ops structures.

2017-07-01 Thread Arvind Yadav
dma_buf_ops are not supposed to change at runtime. All functions working with dma_buf_ops provided by work with const dma_buf_ops. So mark the non-const structs as const. File size before: textdata bss dec hex filename 6035 272 0630718a3 drivers/media/v4l2

Re: [PATCH 1/2] mailbox: reset txdone_method TXDONE_BY_POLL if client knows_txdone

2017-07-01 Thread Jassi Brar
On Fri, Jun 30, 2017 at 8:44 PM, Sudeep Holla wrote: > Currently the mailbox framework sets txdone_method to TXDONE_BY_POLL if > the controller sets txdone_by_poll. However some clients can have a > mechanism to do TXDONE_BY_ACK which they can specify by knows_txdone. > However, we endup setting b

[PATCH] drm: armada: Constify drm_prop_enum_list structures.

2017-07-01 Thread Arvind Yadav
drm_prop_enum_lists are not supposed to change at runtime. All functions working with drm_prop_enum_list provided by work with const drm_prop_enum_list. So mark the non-const structs as const. File size before: textdata bss dec hex filename 3594 176 03770 e

[PATCH] Staging : rtl8188eu: Fix Camel Case warning

2017-07-01 Thread saloni1996
Remove Camel Case warning found using checkpatch.pl --- drivers/staging/rtl8188eu/core/rtw_ap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers/staging/rtl8188eu/core/rtw_ap.c index 647a922d79d1..6c63a9bbb876 100644 --- a/drive

Re: [PATCH 5/6] staging: iio: tsl2x7x: refactor {read,write}_event_value to allow handling multiple iio_event_infos

2017-07-01 Thread Brian Masney
On Sat, Jul 01, 2017 at 10:40:20AM +0100, Jonathan Cameron wrote: > On Thu, 29 Jun 2017 13:03:51 -0400 > Brian Masney wrote: > > > tsl2x7x_read_thresh() and tsl2x7x_write_thresh() currently assumes > > that IIO_EV_INFO_VALUE is the only iio_event_info that will be > > passed in. This patch refac

Re: nf_conntrack: Infoleak via CTA_ID and CTA_EXPECT_ID

2017-07-01 Thread Florian Westphal
Richard Weinberger wrote: > Florian, > > Am 30.06.2017 um 21:55 schrieb Florian Westphal: > >>> Why not use a hash of the address? > >> > >> Would also work. Or xor it with a random number. > >> > >> On the other hand, for user space it would be more useful when the > >> conntrack id > >> does n

[PATCH] platform/x86: silead_dmi: Add touchscreen info for I.T.Works TW891 2-in-1

2017-07-01 Thread Hans de Goede
Add touchscreen info for I.T.Works TW891 2-in-1. Signed-off-by: Hans de Goede --- drivers/platform/x86/silead_dmi.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform/x86/silead_dmi.c index 25cbea307a5e..6218deb22319

[PATCH 2/2] mfd: intel_soc_pmic: Differentiate between Bay and Cherry Trail CRC variants

2017-07-01 Thread Hans de Goede
Both Bay and Cherry Trail devices may be used together with a Crystal Cove PMIC. Each platform has its own variant of the PMIC, which both use the same ACPI HID, but they are not 100% compatible. This commits makes the intel_soc_pmic_core code check the _HRV of the ACPI-firmware-node and selects i

  1   2   >