Re: [PATCH v2] PCI: exynos: refactor exynos pcie driver

2017-01-04 Thread Jaehoon Chung
On 01/05/2017 12:53 PM, Pankaj Dubey wrote: > From: Niyas Ahmed S T > > Currently Exynos PCIe driver is only supported for Exynos5440 SoC. > This patch does refactoring of Exynos PCIe driver to extend support > for other Exynos SoC. > > Following are the main changes done via this patch: > > 1)

Re: [PATCH] pid: fix lockdep deadlock warning due to ucount_lock

2017-01-04 Thread Eric W. Biederman
ebied...@xmission.com (Eric W. Biederman) writes: > Andrei Vagin writes: > >> = >> [ INFO: possible irq lock inversion dependency detected ] >> 4.10.0-rc2-00024-g4aecec9-dirty #118 Tainted: GW >> -

linux-next: Tree for Jan 5

2017-01-04 Thread Stephen Rothwell
Hi all, Changes since 20170104: New trees: fscrypt-current, fscrypt Undropped tree: rdma-leon The swiotlb tree lost its build failure. The rdma-leon tree lost its build failure. The drm-misc tree gained a build failure for which I reverted a commit. Non-merge commits (relative to Linus

Re: [PATCHv2 0/5] Support for Marvell switches with integrated CPUs

2017-01-04 Thread Chris Packham
On 05/01/17 17:07, Florian Fainelli wrote: > Le 01/04/17 à 19:36, Chris Packham a écrit : >> The 98DX3236, 98DX3336 and 98DX4251 are a set of switch ASICs with >> integrated CPUs. They CPU block is common within these product lines and >> (as far as I can tell/have been told) is based on the Armada

Re: [PATCH v2] nvmem: qfprom: Allow single byte accesses for read/write

2017-01-04 Thread Vivek Gautam
On Wed, Jan 4, 2017 at 7:37 PM, Srinivas Kandagatla wrote: > Thanks for the Patch, > > I will queue this up!! Thanks Srinivas. [snip] -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCHv2 4/5] arm: mvebu: Add device tree for 98DX3236 SoCs

2017-01-04 Thread Chris Packham
On 05/01/17 17:06, Florian Fainelli wrote: > Le 01/04/17 à 19:36, Chris Packham a écrit : >> The Marvell 98DX3236, 98DX3336, 98DX4521 and variants are switch ASICs >> with integrated CPUs. They are similar to the Armada XP SoCs but have >> different I/O interfaces. >> >> Signed-off-by: Chris Packha

[PATCH] thermal: rockchip: fixes the conversion table

2017-01-04 Thread Caesar Wang
As Ayaka reported the thermal was abormal on rk3288 at booting time. thermal thermal_zone1: critical temperature reached(125 C),shutting down thermal thermal_zone2: critical temperature reached(125 C),shutting down thermal thermal_zone1: critical temperature reached(125 C),shutting down thermal the

Re: [PATCHv2 2/5] arm: mvebu: support for SMP on 98DX3336 SoC

2017-01-04 Thread Chris Packham
On 05/01/17 17:04, Florian Fainelli wrote: > Le 01/04/17 à 19:36, Chris Packham a écrit : >> Compared to the armada-xp the 98DX3336 uses different registers to set >> the boot address for the secondary CPU so a new enable-method is needed. >> This will only work if the machine definition doesn't de

[PATCH] cpufreq: Remove policy create/remove notifiers

2017-01-04 Thread Viresh Kumar
Those were added by: commit fcd7af917abb ("cpufreq: stats: handle cpufreq_unregister_driver() and suspend/resume properly") but aren't used anymore since: commit 1aefc75b2449 ("cpufreq: stats: Make the stats code non-modular"). Remove them. Also remove the redundant parameter to the respective

Re: [PATCH 4.8 00/85] 4.8.16-stable review

2017-01-04 Thread Guenter Roeck
On 01/04/2017 12:46 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.8.16 release. There are 85 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: [PATCH] x86/microcode/intel: Use correct buffer size for saving microcode data

2017-01-04 Thread Junichi Nomura
On 01/05/17 10:02, Junichi Nomura wrote: > In generic_load_microcode(), curr_mc_size is the size of the last > allocated buffer and not always the size of the buffer pointed to by > "new_mc". ... > @@ -864,6 +864,7 @@ static enum ucode_state generic_load_microcode(int cpu, > void *data, size_t siz

Re: [PATCH 4.9 00/83] 4.9.1-stable review

2017-01-04 Thread Guenter Roeck
On 01/04/2017 12:05 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.1 release. There are 83 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be mad

[PATCH v2] i2c: do not enable fall back to Host Notify by default

2017-01-04 Thread Dmitry Torokhov
Falling back unconditionally to HostNotify as primary client's interrupt breaks some drivers which alter their functionality depending on whether interrupt is present or not, so let's introduce a board flag telling I2C core explicitly if we want wired interrupt or HostNotify-based one: I2C_CLIENT_H

Re: [PATCH v3 02/10] dt-bindings: hisi: Add Hisilicon HiP05/06/07 Djtag dts bindings

2017-01-04 Thread Anurup M
On Wednesday 04 January 2017 04:26 AM, Rob Herring wrote: On Mon, Jan 02, 2017 at 01:49:03AM -0500, Anurup M wrote: From: Tan Xiaojun Add Hisilicon HiP05/06/07 Djtag dts bindings for CPU and IO Die Signed-off-by: Tan Xiaojun Signed-off-by: Anurup M --- .../devicetree/bindings/arm/hisili

Re: [PATCH v3 03/10] dt-bindings: perf: hisi: Add Devicetree bindings for Hisilicon SoC PMU

2017-01-04 Thread Anurup M
On Wednesday 04 January 2017 04:29 AM, Rob Herring wrote: On Mon, Jan 02, 2017 at 01:49:21AM -0500, Anurup M wrote: 1) Device tree bindings for Hisilicon SoC PMU. 2) Add example for Hisilicon L3 cache and MN PMU. 3) Add child nodes of L3C and MN in djtag bindings example. Signed-off-by: Anuru

Re: Dell XPS13: MCE (Hardware Error) reported

2017-01-04 Thread Daniel J Blueman
On Thursday, January 5, 2017 at 9:20:04 AM UTC+8, Raj, Ashok wrote: > Hi Boris > > thanks for forwarding. > > > > CPUID Vendor Intel Family 6 Model 142 > This is Kabylake Mobile > > > > Hardware event. This is not a software error. > > > MCE 1 > > > CPU 0 BANK 7 > > > MISC 7880018086 ADDR fef1ce40

Re: [PATCH v3] PCI: add a new directory for designware core

2017-01-04 Thread Kishon Vijay Abraham I
Hi Jingoo, On Thursday 05 January 2017 01:45 AM, Jingoo Han wrote: > On Wednesday, January 4, 2017 7:19 AM, Kishon Vijay Abraham I wrote: >> >> Group all the PCI drivers that use designware core in dwc directory. >> dwc IP is capable of operating in both host mode and device mode and >> keeping it

RE: [GIT PULL] More ACPI updates for v4.10-rc1

2017-01-04 Thread Zheng, Lv
Hi, > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Zhang > Rui > Subject: Re: [GIT PULL] More ACPI updates for v4.10-rc1 > > On Wed, 2017-01-04 at 09:46 -0800, Linus Torvalds wrote: > > On Thu, Dec 22, 2016 at 6:18 AM, Rafael J. Wysocki > > wro

[PATCH] notifier: Simplify expression

2017-01-04 Thread Viresh Kumar
NOTIFY_STOP_MASK (0x8000) has only one bit set and there is no need to compare output of "ret & NOTIFY_STOP_MASK" to NOTIFY_STOP_MASK. We just need to make sure the output is non-zero, that's it. Signed-off-by: Viresh Kumar --- kernel/notifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] Staging: lustre: lustre: lmv: Compress return logic into one line.

2017-01-04 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable assignments. These issues were detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva --- drivers/staging/lustre/lustre/lm

Re: Question regarding power button of Dell XPS13

2017-01-04 Thread Daniel J Blueman
On Monday, December 26, 2016 at 6:30:05 AM UTC+8, Linus Torvalds wrote: > On Fri, Dec 23, 2016 at 4:36 AM, Paul Menzel wrote: > > > > I heard that you both have a Dell XPS13. I got the “revision” 9360, and > > installed Debian Stretch/testing on it with Linux 4.8.15 and Linux 4.9-rc8. > > > > When

Re: [PATCH] serial: 8250_lpss: Release Quark MSI vectors on exit

2017-01-04 Thread Christoph Hellwig
On Wed, Jan 04, 2017 at 08:36:51PM +0100, Jan Kiszka wrote: > No one seems to do this magically in the background, so we have to do > the job in the exit handler that corresponds to the board setup handler. > > Fixes: 60a9244a5d14 ("serial: 8250_lpss: enable MSI for Intel Quark") > Signed-off-by:

Re: [PATCH 4.4 00/60] 4.4.40-stable review

2017-01-04 Thread Guenter Roeck
On 01/04/2017 12:46 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.40 release. There are 60 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: [PATCH] serial: 8250_lpss: Release Quark MSI vectors on exit

2017-01-04 Thread Christoph Hellwig
On Wed, Jan 04, 2017 at 11:46:58PM +0100, Jan Kiszka wrote: > > I NAKed already third patch related to PCI managed resources (couple > > of those regarding to pci_irq_* API)/ > > > > Ah, there are resources that are managed without being allocated > explicitly that way. Hmm, not very intuitive. A

RE: [RFC PATCH] usb: dwc3: add support for OTG driver compilation

2017-01-04 Thread Manish Narani
Hi Felipe, > From: Felipe Balbi [mailto:ba...@kernel.org] > Sent: Wednesday, January 04, 2017 7:01 PM > Hi, > > Manish Narani writes: > > This patch adds support for OTG driver compilation and object file > > creation > > > > Signed-off-by: Manish Narani > > --- > > drivers/usb/dwc3/Makefile |

Re: [PATCH] scsi: qedi: return via va_end to match corresponding va_start

2017-01-04 Thread Martin K. Petersen
> "Colin" == Colin King writes: Colin> Although on most systems va_end is a no-op, it is good practice Colin> to use va_end on the function return path, especially since the Colin> va_start documenation states: Colin> "Each invocation of va_start() must be matched by a Colin> correspondi

[PATCH] mm: Respect FOLL_FORCE/FOLL_COW for thp

2017-01-04 Thread Keno Fischer
In 19be0eaff ("mm: remove gup_flags FOLL_WRITE games from __get_user_pages()"), the mm code was changed from unsetting FOLL_WRITE after a COW was resolved to setting the (newly introduced) FOLL_COW instead. Simultaneously, the check in gup.c was updated to still allow writes with FOLL_FORCE set if

Re: [PATCH zram] extend zero pages to same element pages

2017-01-04 Thread Minchan Kim
Hello, To me, it's a good idea although I didn't look at code in detail. :) Could you resend it as formal patch? Please include description, number that how we can save memory in your workload and you name for Signed-off-by. As well, please Cc sergey.senozhat...@gmail.com and a...@linux-foundati

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

2017-01-04 Thread Xu, Even
Hi, Greg, Thanks for your review and suggestion, I will rework my patch based on your suggestion and then submit again. Best Regards, Even Xu -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Thursday, January 5, 2017 3:41 AM To: Srinivas Pandruvada Cc: Xu, Ev

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

2017-01-04 Thread Minchan Kim
On Wed, Jan 04, 2017 at 02:52:47PM +0100, Michal Hocko wrote: > With fixed triggered by Vlastimil it should be like this. > --- > From b3a1480b54bf10924a9cd09c6d8b274fc81ca4ad Mon Sep 17 00:00:00 2001 > From: Michal Hocko > Date: Tue, 27 Dec 2016 13:18:20 +0100 > Subject: [PATCH] mm, vmscan: add a

Re: [PATCH 03/22] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-01-04 Thread Chen-Yu Tsai
On Tue, Jan 3, 2017 at 12:37 AM, Quentin Schulz wrote: > The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose the > battery voltage, battery charge and discharge currents, AC-in and VBUS > voltages and currents, 2 GPIOs muxable in ADC mode and PMIC temperature. > > This adds suppor

Re: [PATCH] nvmem: core: Allow ignoring length when reading a cell

2017-01-04 Thread Vivek Gautam
Hi Srinivas, On Tue, Dec 20, 2016 at 3:17 AM, Stephen Boyd wrote: > On 12/19, Vivek Gautam wrote: >> nvmem_cell_read() API fills in the argument 'len' with >> the number of bytes read from the cell. Many users don't >> care about this length value. So allow users to pass a >> NULL pointer to this

Re: [PATCH 06/22] ARM: dtsi: axp22x: add AXP22X ADC subnode

2017-01-04 Thread Chen-Yu Tsai
On Tue, Jan 3, 2017 at 12:37 AM, Quentin Schulz wrote: > X-Powers AXP22X PMIC has multiple ADCs, each one exposing data from the > different power supplies connected to the PMIC. > > This adds the ADC subnode for AXP22X PMIC. > > Signed-off-by: Quentin Schulz > --- > arch/arm/boot/dts/axp22x.dts

[PATCH v11 8/8] ARM: dts: imx6q-evi: Fix onboard hub reset line

2017-01-04 Thread Peter Chen
From: Joshua Clayton Previously the onboard hub was made to work by treating its reset gpio as a regulator enable. Get rid of that kludge now that pwseq has added reset gpio support Move pin muxing the hub reset pin into the usbh1 group Signed-off-by: Joshua Clayton Signed-off-by: Peter Chen -

Re: [PATCH v6 03/14] ACPI: ARM64: IORT: add missing comment for iort_dev_find_its_id()

2017-01-04 Thread Hanjun Guo
On 2017/1/4 22:34, Lorenzo Pieralisi wrote: On Mon, Jan 02, 2017 at 09:31:34PM +0800, Hanjun Guo wrote: We are missing req_id's comment for iort_dev_find_its_id(), add it back. "Add missing req_id parameter to the iort_dev_find_its_id() function kernel-doc comment." Signed-off-by: Hanjun Guo

Re: [PATCH 4/7] mm, vmscan: show LRU name in mm_vmscan_lru_isolate tracepoint

2017-01-04 Thread Minchan Kim
On Wed, Jan 04, 2017 at 11:19:39AM +0100, Michal Hocko wrote: > From: Michal Hocko > > mm_vmscan_lru_isolate currently prints only whether the LRU we isolate > from is file or anonymous but we do not know which LRU this is. > > It is useful to know whether the list is active or inactive, since w

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

2017-01-04 Thread Binoy Jayan
Hi Herbert, On 2 January 2017 at 12:23, Herbert Xu wrote: > On Mon, Jan 02, 2017 at 12:16:45PM +0530, Binoy Jayan wrote: > > Right. The actual number of underlying tfms that do the work > won't change compared to the status quo. We're just structuring > it such that if the overall scheme is sup

[PATCH 1/2] ACPI: processor_perflib: Simplify code and stop using CPUFREQ_START

2017-01-04 Thread Viresh Kumar
acpi_processor_ppc_notifier() can live without using CPUFREQ_START (which is gonna be removed soon). Simplify it a bit. Signed-off-by: Viresh Kumar --- Rebased over: https://marc.info/?l=linux-kernel&m=148359167516831&w=2 drivers/acpi/processor_perflib.c | 8 +++- 1 file changed, 3 insertio

Re: [PATCH V2 1/5] Documetation: samsung-phy: add the exynos-pcie-phy binding

2017-01-04 Thread pankaj.dubey
Hi, On Thursday 05 January 2017 09:46 AM, Alim Akhtar wrote: > Hi Jaehoon, > > On 01/04/2017 06:04 PM, Jaehoon Chung wrote: >> Adds the exynos-pcie-phy binding for Exynos PCIe PHY. >> This is for using generic PHY framework. >> >> Signed-off-by: Jaehoon Chung >> --- >> Changelog on V2: >> - Remo

[PATCH 2/2] cpufreq: Remove CPUFREQ_START notifier event

2017-01-04 Thread Viresh Kumar
Its not used anymore, remove it. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 3 --- drivers/cpufreq/ppc_cbe_cpufreq_pmi.c | 3 --- include/linux/cpufreq.h | 1 - 3 files changed, 7 deletions(-) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cp

[PATCH v11 3/8] binding-doc: usb: usb-device: add optional properties for power sequence

2017-01-04 Thread Peter Chen
Add optional properties for power sequence. Signed-off-by: Peter Chen Acked-by: Rob Herring --- Documentation/devicetree/bindings/usb/usb-device.txt | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/usb-device.txt b/Documentatio

[PATCH v11 7/8] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property

2017-01-04 Thread Peter Chen
The current dts describes USB HUB's property at USB controller's entry, it is improper. The USB HUB should be the child node under USB controller, and power sequence properties are under it. Besides, using gpio pinctrl setting for USB2415's reset pin. Signed-off-by: Peter Chen Signed-off-by: Josh

[PATCH v11 6/8] ARM: dts: imx6qdl: Enable usb node children with

2017-01-04 Thread Peter Chen
From: Joshua Clayton Give usb nodes #address and #size attributes, so that a child node representing a permanently connected device such as an onboard hub may be addressed with a attribute Signed-off-by: Joshua Clayton Signed-off-by: Peter Chen --- arch/arm/boot/dts/imx6qdl.dtsi | 6 ++

[PATCH v11 4/8] usb: core: add power sequence handling for USB devices

2017-01-04 Thread Peter Chen
Some hard-wired USB devices need to do power sequence to let the device work normally, the typical power sequence like: enable USB PHY clock, toggle reset pin, etc. But current Linux USB driver lacks of such code to do it, it may cause some hard-wired USB devices works abnormal or can't be recogniz

[PATCH v11 5/8] usb: chipidea: let chipidea core device of_node equal's glue layer device of_node

2017-01-04 Thread Peter Chen
From: Peter Chen At device tree, we have no device node for chipidea core, the glue layer's node is the parent node for host and udc device. But in related driver, the parent device is chipidea core. So, in order to let the common driver get parent's node, we let the core's device node equals glu

[PATCH v11 2/8] power: add power sequence library

2017-01-04 Thread Peter Chen
We have an well-known problem that the device needs to do some power sequence before it can be recognized by related host, the typical example like hard-wired mmc devices and usb devices. This power sequence is hard to be described at device tree and handled by related host driver, so we have crea

Re: [PATCH 16/22] mfd: axp20x: add V_OFF to writeable regs for AXP20X and AXP22X

2017-01-04 Thread Chen-Yu Tsai
On Wed, Jan 4, 2017 at 7:57 PM, Lee Jones wrote: > On Mon, 02 Jan 2017, Quentin Schulz wrote: > >> The V_OFF register has its first 3 read-write bits for the minimal >> voltage (Voff) of the battery before the system is automatically shut >> down due to the power being too low. >> >> This adds V_O

[PATCH 1/1] spi: imx: support to set watermark level via DTS

2017-01-04 Thread Jiada Wang
Previously watermark level is configured to fifosize/2, DMA mode can be used only when transfer length can be divided by 'watermark level * bpw', which makes DMA mode not practical. This patch adds new DTS property 'dma-wml', user can configure DMA watermark level, by specify 'dma-wml' in correspo

Re: [PATCH V2 2/5] phy: phy-exynos-pcie: Add support for Exynos PCIe phy

2017-01-04 Thread pankaj.dubey
Hi Jaehoon, On Wednesday 04 January 2017 06:04 PM, Jaehoon Chung wrote: > This patch supports to use Generic Phy framework for Exynos PCIe phy. > When Exynos that supported the pcie want to use the PCIe, > it needs to control the phy resgister. > But it should be more complex to control in their o

[PATCH v11 0/8] power: add power sequence library

2017-01-04 Thread Peter Chen
Hi all, This is a follow-up for my last power sequence framework patch set [1]. According to Rob Herring and Ulf Hansson's comments[2]. The kinds of power sequence instances will be added at postcore_initcall, the match criteria is compatible string first, if the compatible string is not matched b

Re: [PATCH v3 1/5] crash: move crashkernel parsing and vmcore related code under CONFIG_CRASH_CORE

2017-01-04 Thread Dave Young
Hi, Hari On 01/02/17 at 07:43pm, Hari Bathini wrote: > Traditionally, kdump is used to save vmcore in case of a crash. Some > architectures like powerpc can save vmcore using architecture specific > support instead of kexec/kdump mechanism. Such architecture specific > support also needs to reserv

Re: [PATCH] ACPI / DMAR: Avoid passing NULL to acpi_put_table()

2017-01-04 Thread Paul E. McKenney
On Thu, Jan 05, 2017 at 01:24:14AM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Linus reported that commit 174cc7187e6f "ACPICA: Tables: Back port > acpi_get_table_with_size() and early_acpi_os_unmap_memory() from > Linux kernel" added a new warning on his desktop system: > > A

Re: [PATCH v4 0/9] mm/swap: Regular page swap optimizations

2017-01-04 Thread Minchan Kim
Hi Huang, On Tue, Jan 03, 2017 at 01:43:43PM +0800, Huang, Ying wrote: > Hi, Minchan, > > Minchan Kim writes: > > > Hi Jan, > > > > On Mon, Jan 02, 2017 at 04:48:41PM +0100, Jan Kara wrote: > >> Hi, > >> > >> On Tue 27-12-16 16:45:03, Minchan Kim wrote: > >> > > Patch 3 splits the swap cache r

Re: [PATCH 07/22] dt-bindings: power: supply: add AXP20X/AXP22X AC power supply

2017-01-04 Thread Chen-Yu Tsai
Hi Quentin, On Wed, Jan 4, 2017 at 9:14 PM, Rob Herring wrote: > On Mon, Jan 02, 2017 at 05:37:07PM +0100, Quentin Schulz wrote: >> The X-Powers AXP20X and AXP22X PMICs have an AC entry to supply power to >> the board. They have a few registers dedicated to the status of the AC >> power supply. >

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

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

Re: [PATCH v5 13/17] irqdomain: irq_domain_check_msi_remap

2017-01-04 Thread kbuild test robot
Hi Eric, [auto build test ERROR on linus/master] [also build test ERROR on v4.10-rc2 next-20170105] [cannot apply to iommu/next] [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/Eric-Auger/KVM-PCI

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

2017-01-04 Thread Kenneth Lee
1. Release pid before enter odp flow 2. Release pid when fail to allocate memory Fixes: 87773dd56d54 ("IB: ib_umem_release() should decrement mm->pinned_vm from ib_umem_get") Fixes: 8ada2c1c0c1d ("IB/core: Add support for on demand paging regions") Signed-off-by: Kenneth Lee Reviewed-by: Haggai

Re: [PATCH 15/22] mfd: axp20x: add CHRG_CTRL1 to writeable regs for AXP20X/AXP22X

2017-01-04 Thread Chen-Yu Tsai
On Tue, Jan 3, 2017 at 12:37 AM, Quentin Schulz wrote: > The CHR_CTRL1 register is made of 7 read-write bits with one being used > to set the target voltage for battery charging. The description is incorrect. All 8 bits are read-write: - The highest bit enables the charger module - Bits [6:

Re: [PATCH v3 0/2] ALSA: Fix usb-audio races

2017-01-04 Thread Takashi Iwai
On Wed, 04 Jan 2017 23:37:45 +0100, Ioan-Adrian Ratiu wrote: > > Changes since v2: > * Fixed snd_usb_*lock_shutdown imbalance caused by an early return > in snd_usb_pcm_prepare() > > Ioan-Adrian Ratiu (2): > ALSA: usb-audio: Fix irq/process data synchronization > ALSA: usb-audio: test

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

2017-01-04 Thread Leon Romanovsky
On Thu, Jan 05, 2017 at 03:00:05PM +0800, Kenneth Lee wrote: > 1. Release pid before enter odp flow > 2. Release pid when fail to allocate memory > > Fixes: 87773dd56d54 ("IB: ib_umem_release() should decrement mm->pinned_vm > from ib_umem_get") > Fixes: 8ada2c1c0c1d ("IB/core: Add support for on

Re: [PATCH V2 3/5] Documetation: binding: modify the exynos5440 pcie binding

2017-01-04 Thread pankaj.dubey
Hi Jaehoon, On Wednesday 04 January 2017 06:04 PM, Jaehoon Chung wrote: > According to using PHY framework, updates the exynos5440-pcie binding. > For maintaining backward compatibility, leaves the current dt-binding. > (It should be deprecated.) > > Recommends to use the Phy Framework and "confi

Re: [PATCH v3 2/5] ia64: reuse append_elf_note() and final_note() functions

2017-01-04 Thread Dave Young
On 01/02/17 at 07:44pm, Hari Bathini wrote: > Get rid of multiple definitions of append_elf_note() & final_note() > functions. Reuse these functions compiled under CONFIG_CRASH_CORE > Also, define Elf_Word and use it instead of generic u32 or the more > specific Elf64_Word. > > Signed-off-by: Hari

Re: [PATCH v2 2/2] phy: sun4i-usb: Replace the deprecated extcon API

2017-01-04 Thread Chen-Yu Tsai
On Fri, Dec 30, 2016 at 12:11 PM, Chanwoo Choi wrote: > This patch replaces the deprecated extcon API as following: > - extcon_set_cable_state_() -> extcon_set_state_sync() > > Cc: Kishon Vijay Abraham I > Cc: Maxime Ripard > Cc: Chen-Yu Tsai > Signed-off-by: Chanwoo Choi Acked-by: Chen-Yu Ts

[PATCH v6 0/4] Add support for the S6E3HA2 panel on TM2 board

2017-01-04 Thread Hoegeun Kwon
Purpose of this patch is add support for S6E3HA2 AMOLED panel on the TM2 board. The first patch adds support for S6E3HA2 panel device tree document and driver, the second patch add support for S6E3HA2 panel device tree. Changes for V6: - Fixed the parse_dt function of dsi device driver. - Removed

Re: linux-next: bad rebase of the rdma-leon tree

2017-01-04 Thread Leon Romanovsky
On Thu, Jan 05, 2017 at 09:34:53AM +1100, Stephen Rothwell wrote: > Hi Leon, > > In rebasing the rdma-leon tree, you have cherry-picked several patches > that were in the net-next tree: > > Commit 8e4881aa == 90af6fea net: mdio: add mdio45_ethtool_ksettings_get > Commit e938ed15 == 9aee5260 net:

[PATCH v6 2/4] drm/exynos: mic: Fix parse_dt function

2017-01-04 Thread Hoegeun Kwon
The OF graph is not necessary because the panel is a child of dsi. therefore, the parse_dt function of dsi does not need to check the remote_node connected to the panel. and the whole parse_dt function should be refactored later. Signed-off-by: Hoegeun Kwon --- drivers/gpu/drm/exynos/exynos_drm_

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

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

[PATCH v6 1/4] drm/exynos: mic: Add mode_set callback function

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

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

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

Re: [PATCH v6 1/5] dt-bindings: zte: documents zx2967 power domain driver bindings

2017-01-04 Thread Shawn Guo
On Wed, Jan 04, 2017 at 07:48:10PM +0800, Baoyou Xie wrote: > This patch documents devicetree tree bindings for the ZTE zx2967 'devicetree' is good enough, and the 'tree' after it is redundant. > power domain driver. DT bindings is to describe hardware block not software, so the word like 'drive

Re: [PATCH v6 2/5] MAINTAINERS: add zx2967 SoC drivers to ARM ZTE architecture

2017-01-04 Thread Shawn Guo
On Wed, Jan 04, 2017 at 07:48:11PM +0800, Baoyou Xie wrote: > Add the ZTE SoC drivers as maintained by ARM ZTE > architecture maintainers, as they're parts of the core IP. > > By the way, this patch adds the maintainer for ARM > ZTE architecture to Baoyou Xie. > > Signed-off-by: Baoyou Xie > ---

Re: [PATCH v4 0/9] mm/swap: Regular page swap optimizations

2017-01-04 Thread Minchan Kim
Hi, On Thu, Jan 05, 2017 at 09:33:55AM +0800, Huang, Ying wrote: > Hi, Minchan, > > Minchan Kim writes: > [snip] > > > > The patchset has used several techniqueus to reduce lock contention, for > > example, > > batching alloc/free, fine-grained lock and cluster distribution to avoid > > cache

Re: [PATCH v4 0/9] mm/swap: Regular page swap optimizations

2017-01-04 Thread Huang, Ying
Minchan Kim writes: > Hi, > > On Thu, Jan 05, 2017 at 09:33:55AM +0800, Huang, Ying wrote: >> Hi, Minchan, >> >> Minchan Kim writes: >> [snip] >> > >> > The patchset has used several techniqueus to reduce lock contention, for >> > example, >> > batching alloc/free, fine-grained lock and cluste

[PATCH v11 1/8] binding-doc: power: pwrseq-generic: add binding doc for generic power sequence library

2017-01-04 Thread Peter Chen
Add binding doc for generic power sequence library. Signed-off-by: Peter Chen Acked-by: Philipp Zabel Acked-by: Rob Herring --- .../bindings/power/pwrseq/pwrseq-generic.txt | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/binding

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

2017-01-04 Thread Andrzej Hajda
On 04.01.2017 15:44, Rob Herring wrote: > On Wed, Jan 04, 2017 at 05:15:10PM +0900, Hoegeun Kwon wrote: >> This patch add support for MIPI-DSI based S6E3HA2 AMOLED panel >> driver. This panel has 1440x2560 resolution in 5.7-inch physical >> panel in the TM2 device. >> >> Signed-off-by: Donghwa Lee

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

2017-01-04 Thread Andrzej Hajda
On 05.01.2017 07:45, Hoegeun Kwon wrote: > This patch add support for MIPI-DSI based S6E3HA2 AMOLED panel > driver. This panel has 1440x2560 resolution in 5.7-inch physical > panel in the TM2 device. > > Signed-off-by: Donghwa Lee > Signed-off-by: Hyungwon Hwang > Signed-off-by: Hoegeun Kwon > T

Re: [PATCH] serial: 8250_lpss: Release Quark MSI vectors on exit

2017-01-04 Thread Jan Kiszka
On 2017-01-05 06:25, Christoph Hellwig wrote: > On Wed, Jan 04, 2017 at 11:46:58PM +0100, Jan Kiszka wrote: >>> I NAKed already third patch related to PCI managed resources (couple >>> of those regarding to pci_irq_* API)/ >>> >> >> Ah, there are resources that are managed without being allocated >

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

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

Re: [PATCH 05/22] ARM: dtsi: axp209: add AXP209 ADC subnode

2017-01-04 Thread Chen-Yu Tsai
On Tue, Jan 3, 2017 at 12:37 AM, Quentin Schulz wrote: > X-Powers AXP209 PMIC has multiple ADCs, each one exposing data from the > different power supplies connected to the PMIC. > > This adds the ADC subnode for AXP20X PMIC. > > Signed-off-by: Quentin Schulz > --- > arch/arm/boot/dts/axp209.dts

Re: [PATCH v4 02/11] pwm: imx: remove ipg clock and enable per clock when required

2017-01-04 Thread Boris Brezillon
On Thu, 5 Jan 2017 00:36:45 +0100 Lukasz Majewski wrote: > From: Boris Brezillon Can you keep Sascha as the author of this patch? > > The use of the ipg clock was introduced with commit 7b27c160c681 > ("pwm: i.MX: fix clock lookup"). > In the commit message it was claimed that the ipg clock

Re: [PATCH 04/22] mfd: axp20x: add ADC cells for AXP20X and AXP22X PMICs

2017-01-04 Thread Chen-Yu Tsai
On Wed, Jan 4, 2017 at 7:56 PM, Lee Jones wrote: > On Wed, 04 Jan 2017, Lee Jones wrote: > >> On Mon, 02 Jan 2017, Quentin Schulz wrote: >> >> > This adds the AXP20X/AXP22x ADCs driver to the mfd cells of the AXP209, >> > AXP221 and AXP223 MFD. >> > >> > Signed-off-by: Quentin Schulz >> > --- >>

[PATCH v4] mmc: dw_mmc: force setup bus if active slots exist

2017-01-04 Thread Ziyuan Xu
It's necessary to setup bus if any slots are present. - update clock after ctrl reset - if the host has genpd node, we can guarantee the clock is available before starting request. Otherwies, the clock register is reset once power off the pd, and host can't output the active clock during communicat

Re: [PATCH v4 02/11] pwm: imx: remove ipg clock and enable per clock when required

2017-01-04 Thread Lukasz Majewski
Hi Boris, > On Thu, 5 Jan 2017 00:36:45 +0100 > Lukasz Majewski wrote: > > > From: Boris Brezillon > > Can you keep Sascha as the author of this patch? But the patch differs from the original one - and that change was sent by you - so I assume that you made the modifications. Apparently the

Re: [RFC PATCH] ext4: convert swap_inode_data() over to use swap() on most of the fields

2017-01-04 Thread Jan Kara
On Wed 04-01-17 15:21:28, Jeff Layton wrote: > On Wed, 2017-01-04 at 16:43 +0100, Jan Kara wrote: > > On Tue 20-12-16 10:55:41, Jeff Layton wrote: > > > > > > For some odd reason, it forces a byte-by-byte copy of each field. A > > > plain old swap() on most of these fields would be more efficient.

Re: [RFC PATCH] ext4: increase the protection of drop nlink and ext4 inode destroy

2017-01-04 Thread zhangyi (F)
On 2017/1/5 7:35, Theodore Ts'o wrote: > > So how exactly how did we get into this state? When we read the inode > into memory, if i_nlink is zero, we declare the file system as > corrupted immediately. > > So I assume this is happening the on-disk i_links_count (which is read > into inode->i_n

Re: Doubt about push_dl_task() / find_lock_later_rq()

2017-01-04 Thread luca abeni
On Wed, 4 Jan 2017 15:49:35 +0100 luca abeni wrote: > Hi all, > > trying to debug a reclaiming issue discovered by Daniel, I find myself > confused by the push logic... Maybe I am misunderstanding something > very obvious, so I ask here: > > - push_dl_task() selects a task to be pushed, and the

Re: [PATCH] mmc: dw_mmc: Fix some coding style

2017-01-04 Thread Ziyuan
On 01/05/2017 02:32 AM, Joe Perches wrote: On Wed, 2017-01-04 at 20:52 +0800, Ziyuan Xu wrote: Let's fix the warnings from checkpatch.pl: - line over 80 characters; - block comments should align the * on each Lines; - statements not starting on a tabstop. Signed-off-by: Ziyuan Xu --- dri

[PATCH] mailbox: constify mbox_chan_ops structures

2017-01-04 Thread Bhumika Goyal
Check for mbox_chan_ops structures that are only stored in the ops field of a mbox_controller structure. This field is of type const struct mbox_chan_ops *, so mbox_chan_ops structures having this property can be declared as const. Done using Coccinelle: @r1 disable optional_qualifier @ identifier

[PATCH] staging: wilc1000: Connect to highest RSSI value for required SSID

2017-01-04 Thread Aditya Shankar
Connect to the highest rssi with the required SSID in the shadow table if the connection criteria is based only on the SSID. For the first matching SSID, an index to the table is saved. Later the index is updated if matching SSID has a higher RSSI value than the last saved index. However if decisi

Re: [GIT PULL 00/12] perf/urgent fixes

2017-01-04 Thread Ingo Molnar
ository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-urgent-for-mingo-4.10-20170104 > > for you to fetch changes up to 8a937a25a7e3c19d5fb3f9d92f605cf5fda219d8: > > perf probe: Fix to probe on gcc generated symbols for offline kernel

Re: [PATCH v6 5/5] soc: zte: pm_domains: Add support for zx296718

2017-01-04 Thread Shawn Guo
On Wed, Jan 04, 2017 at 07:48:14PM +0800, Baoyou Xie wrote: > This patch introduces the power domain driver of zx296718 > which belongs to zte's zx2967 family. > > Signed-off-by: Baoyou Xie > Reviewed-by: Jun Nie > --- > drivers/soc/zte/Makefile | 1 + > drivers/soc/zte/zx296718_

Re: [PATCH 1/2] mfd: micon: Add Buffalo Kurobox Pro, Terastation II Pro/Live driver

2017-01-04 Thread Lee Jones
On Wed, 04 Jan 2017, Florian Fainelli wrote: > Le 01/04/17 à 03:22, Lee Jones a écrit : > > On Wed, 28 Dec 2016, Florian Fainelli wrote: > > > >> This driver is currently only used to reboot the devices, but the > >> microcontroller hanging off UART1 on the Buffalo Kurobox Pro and > >> Terastatio

Re: [PATCH v2 1/2] x86/efi: don't allocate memmap through memblock after mm_init()

2017-01-04 Thread Ingo Molnar
* Nicolai Stange wrote: > Matt Fleming writes: > > > On Thu, 22 Dec, at 11:23:39AM, Nicolai Stange wrote: > >> So, after memblock is gone, allocations should be done through the "normal" > >> page allocator. Introduce a helper, efi_memmap_alloc() for this. Use > >> it from efi_arch_mem_reserve

[v1] scsi: qla2xxx: qla_mr:- Release and Unmap memory regions when an error occurred.

2017-01-04 Thread Arvind Yadav
Free memory regions, if qlafx00_iospace_config is not successful. Signed-off-by: Arvind Yadav --- drivers/scsi/qla2xxx/qla_mr.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_mr.c b/drivers/scsi/qla2xxx/qla_mr.c index 02f1de1..2861df8 100

Re: [PATCH v4 2/5] mfd: lm3533: Support initialization from Device Tree

2017-01-04 Thread Lee Jones
On Wed, 04 Jan 2017, Bjorn Andersson wrote: > On Wed 04 Jan 03:54 PST 2017, Lee Jones wrote: > > > On Mon, 26 Dec 2016, Bjorn Andersson wrote: > > > > > From: Bjorn Andersson > > > > > > Implement support for initialization of the lm3533 driver core and > > > probing child devices from Device

Re: [PATCH v2] hv: retry infinitely on hypercall transient failures

2017-01-04 Thread Greg KH
On Wed, Jan 04, 2017 at 06:12:20PM -0800, Long Li wrote: > From: Long Li > > Hyper-v host guarantees that a hypercall will finish in reasonable time. > Retry infinitely on transient failures to avoid returning error to upper > layer. Again, never retry "forever", always have a way out, otherwis

Re: [PATCH v4] mmc: dw_mmc: force setup bus if active slots exist

2017-01-04 Thread Shawn Lin
On 2017/1/5 15:23, Ziyuan Xu wrote: It's necessary to setup bus if any slots are present. - update clock after ctrl reset - if the host has genpd node, we can guarantee the clock is available before starting request. Otherwies, the clock register is reset once power off the pd, and host can't out

Re: [PATCH V7 3/4] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2017-01-04 Thread Archit Taneja
Hi, Some comments below. On 01/02/2017 01:54 AM, Peter Senna Tschudin wrote: Add a driver that create a drm_bridge and a drm_connector for the LVDS to DP++ display bridge of the GE B850v3. There are two physical bridges on the video signal pipeline: a STDP4028(LVDS to DP) and a STDP2690(DP to

[tip:perf/urgent] perf sched timehist: Show total scheduling time

2017-01-04 Thread tip-bot for Namhyung Kim
Commit-ID: 9396c9cb0d9534ca67bda8a34b2413a2ca1c67e9 Gitweb: http://git.kernel.org/tip/9396c9cb0d9534ca67bda8a34b2413a2ca1c67e9 Author: Namhyung Kim AuthorDate: Thu, 22 Dec 2016 15:03:50 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 27 Dec 2016 21:47:57 -0300 perf sched tim

[scsi 3/4] scsi: ufs: ufshcd_get_max_icc_level fix endianity handling

2017-01-04 Thread Tomas Winkler
Reading big endian value from a buffer requires explicit cast. Fix sparse warning: drivers/scsi/ufs/ufshcd.c:4825:24: warning: cast to restricted __be16 Signed-off-by: Tomas Winkler --- drivers/scsi/ufs/ufshcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs

<    2   3   4   5   6   7   8   9   10   11   >