Re: [PATCH] x86, trace: Add __irq_entry annotation to x86's platform IRQ handlers

2017-01-05 Thread Ingo Molnar
* Steven Rostedt wrote: > On Wed, 4 Jan 2017 12:20:33 +0100 > Daniel Bristot de Oliveira wrote: > > > This patch adds the __irq_entry annotation to the defaults x86's > > platform IRQ handlers. ftrace's function_graph tracer uses the > > __irq_entry annotation to notify the entry and return o

Re: [PATCH] drm: nouveau: fix build when LEDS_CLASS=m

2017-01-05 Thread Daniel Vetter
On Wed, Jan 04, 2017 at 02:24:51PM -0800, Randy Dunlap wrote: > On 01/04/17 11:29, Jani Nikula wrote: > > On Wed, 04 Jan 2017, Daniel Vetter wrote: > >> On Sun, Jan 01, 2017 at 04:20:53PM -0800, Randy Dunlap wrote: > >>> From: Randy Dunlap > >>> > >>> Fix build errors in nouveau driver when CONFI

Re: [PATCH RFC] x86, boot: add missing declaration of string functions

2017-01-05 Thread Ingo Molnar
* Nicholas Mc Guire wrote: > Add the missing declarations of basic string functions to string.h to allow > a clean build. > > Fixes: commit 5be865661516 ("String-handling functions for the new x86 setup > code.") > Signed-off-by: Nicholas Mc Guire > --- > > sparse issues a set of warnings ab

Re: [PATCH 3/3] ext4: Find desired extent in ext4_ext_shift_extents() using binsearch

2017-01-05 Thread Roman Penyaev
On Thu, Jan 5, 2017 at 12:58 AM, Theodore Ts'o wrote: > It looks like the original (before your patch) 1k failures due to a > bug introduced via the block.git tree, which has since been fixed in > Linus's mainline tree as of today. It wouldn't surprise me if the bug > interacted poorly your chang

Re: [PATCH 3/3] mfd: arizona: Use regmap_read_poll_timeout instead of hard coding it

2017-01-05 Thread Lee Jones
On Wed, 04 Jan 2017, Charles Keepax wrote: > arizona_poll_reg essentially hard-codes regmap_read_poll_timeout, this > patch updates the implementation to use regmap_read_poll_timeout. We > still keep arizona_poll_reg around as regmap_read_poll_timeout is a > macro so rather than expand this for ea

Re: [PATCH 1/3] mfd: arizona: Remove duplicate set of ret variable

2017-01-05 Thread Lee Jones
On Wed, 04 Jan 2017, Charles Keepax wrote: > arizona_poll_reg already returns ETIMEDOUT if we don't see the expected > register changes before the time out, so remove pointless local setting of > ETIMEDOUT. > > Signed-off-by: Charles Keepax > --- > drivers/mfd/arizona-core.c | 8 ++-- > 1 f

Re: [PATCH 2/3] mfd: arizona: Display register addresses in hex

2017-01-05 Thread Lee Jones
On Wed, 04 Jan 2017, Charles Keepax wrote: > Register addresses are normally displayed in hex throughout the Arizona > driver. Update the arizona_poll_reg function to follow this convention. > > Signed-off-by: Charles Keepax > --- > drivers/mfd/arizona-core.c | 4 ++-- > 1 file changed, 2 inser

RE: [PATCH 6/9] arm64: dts: ls1046a: add MSI dts node

2017-01-05 Thread M.H. Lian
Hi Rob, Thanks for your comment. I will change whitespace. Thanks, Minghuan > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Wednesday, January 04, 2017 1:13 AM > To: M.H. Lian > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > devicet..

[PATCH v2,1/9] irqchip/ls-scfg-msi: fix typo of MSI compatible strings

2017-01-05 Thread Minghuan Lian
The patch is to fix typo of the Layerscape SCFG MSI dts compatible strings. "1" is replaced by "l". Signed-off-by: Minghuan Lian Acked-by: Rob Herring --- v2-v1: - None .../devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt| 6 +++--- drivers/irqchip/irq-ls-scfg-msi.c

[PATCH RESEND] dmaengine: stm32-dma: Add error messages if xlate fails

2017-01-05 Thread M'boumba Cedric Madianga
This patch adds some error messages when a slave device fails to request a channel. Signed-off-by: M'boumba Cedric Madianga Reviewed-by: Ludovic BARRE --- Resolve conflicts issue --- drivers/dma/stm32-dma.c | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) diff --

[PATCH v2,7/9] irqchip/ls-scfg-msi: add LS1046a MSI support

2017-01-05 Thread Minghuan Lian
LS1046a includes 4 MSIRs, each MSIR is assigned a dedicate GIC SPI interrupt and provides 32 MSI interrupts. Compared to previous MSI, LS1046a's IBS(interrupt bit select) shift is changed to 2 and total MSI interrupt number is changed to 128. The patch adds structure 'ls_scfg_msir' to describe MSI

[PATCH v2,9/9] irqchip/ls-scfg-msi: add MSI affinity support

2017-01-05 Thread Minghuan Lian
For LS1046a and LS1043a v1.1, the MSI controller has 4 MSIRs and 4 CPUs. A GIC SPI interrupt of MSIR can be associated with a CPU. When changing MSI interrupt affinity, this MSI will be moved to the corresponding MSIR and MSI message data will be changed according to MSIR. when requesting a MSI, th

Re: [PATCH 1/3] mfd: cros_ec: Prevent data transfer while device is suspended

2017-01-05 Thread Lee Jones
On Fri, 16 Dec 2016, Thierry Escande wrote: > From: Joseph Lo > > The cros_ec driver is still active while the device is suspended. > Besides that, it also tries to transfer data even after the I2C host had > been suspended. This patch uses a simple flag to prevent this. > > Signed-off-by: Jose

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

2017-01-05 Thread Quentin Schulz
On 05/01/2017 06:51, Chen-Yu Tsai wrote: > 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: Qu

Re: [PATCH] Allow userspace control of runtime disabling/enabling of driver probing

2017-01-05 Thread Tomeu Vizoso
On 4 January 2017 at 20:59, Matthew Garrett wrote: > On Wed, Jan 4, 2017 at 1:46 PM, Greg Kroah-Hartman > wrote: >> On Wed, Jan 04, 2017 at 12:10:04PM -0600, Matthew Garrett wrote: >>> On Wed, Jan 4, 2017 at 3:32 AM, Greg Kroah-Hartman >>> wrote: >>> > Turning on and off at random times "new dev

Re: [PATCH v2] dell-wmi, dell-laptop: hide dell-smbios

2017-01-05 Thread Jean Delvare
Hi Andy, Thanks for the review. On Wed, 4 Jan 2017 15:14:10 +0200, Andy Shevchenko wrote: > On Wed, Jan 4, 2017 at 2:59 PM, Jean Delvare wrote: > > Dell-smbios is a helper module, it serves no purpose on its own, so > > do not present it as an option to the user. Instead, select it > > automatic

Re: [PATCH] x86/apic: Fix two typos in comments

2017-01-05 Thread Ingo Molnar
* Dou Liyang wrote: > s/inr_logical_cpuidi/nr_logical_cpuids/ > s/generic_processor_info()/__generic_processor_info()/ > > Signed-off-by: Dou Liyang > --- > arch/x86/kernel/apic/apic.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/x86/kernel/apic/apic.c b/

Re: [PATCH 2/3] mfd: cros_ec: Send suspend state notification to EC

2017-01-05 Thread Lee Jones
On Fri, 16 Dec 2016, Thierry Escande wrote: > From: Shawn Nematbakhsh > > Notify EC when going to or returning from suspend so that proper actions > related to wake events can be taken. > > Signed-off-by: Shawn Nematbakhsh > Signed-off-by: Thierry Escande > --- > drivers/mfd/cros_ec.c

Re: [RFC] x86/mm/KASLR: Remap GDTs at fixed location

2017-01-05 Thread Ingo Molnar
* Thomas Garnier wrote: > Each processor holds a GDT in its per-cpu structure. The sgdt > instruction gives the base address of the current GDT. This address can > be used to bypass KASLR memory randomization. With another bug, an > attacker could target other per-cpu structures or deduce the ba

Re: [PATCH v6 08/14] ACPI: ARM64: IORT: rework iort_node_get_id()

2017-01-05 Thread Hanjun Guo
Hi Lorenzo, On 2017/1/5 1:58, Lorenzo Pieralisi wrote: On Mon, Jan 02, 2017 at 09:31:39PM +0800, Hanjun Guo wrote: iort_node_get_id() has two output, one is the mapped ids, the other is the referenced parent node which is returned from the function. For now we need a API just return its parent

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

2017-01-05 Thread Quentin Schulz
On 05/01/2017 07:10, Chen-Yu Tsai wrote: > 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: > >

Re: [PATCH v2 2/4] serial: 8250: Add new port type for TI DA8xx/OMAPL13x/AM17xx/AM18xx/C66x

2017-01-05 Thread Sekhar Nori
On Thursday 05 January 2017 02:00 AM, David Lechner wrote: > This adds a new UART port type for TI DA8xx/OMAPL13x/AM17xx/AM18xx/C66x. The Keystone2 processors do include the C66x DSP. But the SoCs being targeted with this patch are the ARM + DSP variants. Using 66AK2x is more appropriate. http://

[PATCH v2,4/9] arm: dts: ls1021a: share all MSIs

2017-01-05 Thread Minghuan Lian
In order to maximize the use of MSI, a PCIe controller will share all MSI controllers. The patch changes msi-parent to refer to all MSI controller dts nodes. Signed-off-by: Minghuan Lian --- v2-v1: - None arch/arm/boot/dts/ls1021a.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH v2,8/9] irqchip/ls-scfg-msi: add LS1043a v1.1 MSI support

2017-01-05 Thread Minghuan Lian
A MSI controller of LS1043a v1.0 only includes one MSIR and is assigned one GIC interrupt. In order to support affinity, LS1043a v1.1 MSI is assigned 4 MSIRs and 4 GIC interrupts. But the MSIR has the different offset and only supports 8 MSIs. The bits between variable bit_start and bit_end in stru

Re: [PATCH] locking/pvqspinlock: Wait early if vcpu is preempted

2017-01-05 Thread Ingo Molnar
* Pan Xinhui wrote: > If prev node is not in runnig state or its cpu is preempted, we need > wait early in pv_wait_node. After commit "sched/core: Introduce the > vcpu_is_preempted(cpu) interface" kernel has knowledge of one vcpu is > running or not. So lets use it. That's not how we reference

Re: [PATCH v3 2/2] dt-bindings: Add DT bindings info for FlexRM ring manager

2017-01-05 Thread Anup Patel
On Wed, Jan 4, 2017 at 8:07 PM, Rob Herring wrote: > On Wed, Jan 04, 2017 at 11:04:42AM +0530, Anup Patel wrote: >> This patch adds device tree bindings document for the FlexRM >> ring manager found on Broadcom iProc SoCs. >> >> Reviewed-by: Ray Jui >> Reviewed-by: Scott Branden >> Signed-off-by

[PATCH v2,6/9] arm64: dts: ls1046a: add MSI dts node

2017-01-05 Thread Minghuan Lian
LS1046a includes 3 MSI controllers. Each controller supports 128 interrupts. Signed-off-by: Minghuan Lian Acked-by: Rob Herring --- v2-v1: - change whitespace number .../interrupt-controller/fsl,ls-scfg-msi.txt | 1 + arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 31

Re: [PATCH 0/7 v2] vm, vmscan: enahance vmscan tracepoints

2017-01-05 Thread Vlastimil Babka
On 01/04/2017 11:19 AM, Michal Hocko wrote: > Hi, > this is the second version of the patchset [1]. I hope I've addressed all > the review feedback. > > While debugging [2] I've realized that there is some room for > improvements in the tracepoints set we offer currently. I had hard times > to mak

[PATCH v2 0/4] Add touch key driver support for TM2

2017-01-05 Thread Jaechul Lee
Hi, This patchset adds support for the tm2 touchkey device. The driver has been ported from Tizen Kernel, originally written by Beomho. I ported it to the latest mainline Kernel. The patchset applies on next-20170105. Changes in v2: - fixed reviews from Javier, Dmitry - refactored power

[PATCH v2,5/9] arm64: dts: ls1043a: share all MSIs

2017-01-05 Thread Minghuan Lian
In order to maximize the use of MSI, a PCIe controller will share all MSI controllers. The patch changes "msi-parent" to refer to all MSI controller dts nodes. Signed-off-by: Minghuan Lian --- v2-v1: - None arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 6 +++--- 1 file changed, 3 insertions(

[PATCH] cpufreq: Remove CONFIG_CPU_FREQ_STAT_DETAILS config option

2017-01-05 Thread Viresh Kumar
This doesn't have any benefit apart from saving a small amount of memory when it is disabled. The ifdef hackery in the code makes it dirty unnecessarily. Clean it up by removing the Kconfig option completely. Few defconfigs are also updated and CONFIG_CPU_FREQ_STAT_DETAILS is replaced with CONFIG_

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

2017-01-05 Thread Chen-Yu Tsai
On Thu, Jan 5, 2017 at 4:06 PM, Quentin Schulz wrote: > Hi Chen-Yu, > > On 05/01/2017 06:42, Chen-Yu Tsai wrote: >> On Tue, Jan 3, 2017 at 12:37 AM, Quentin Schulz >> wrote: > [...] >>> + >>> +#define AXP20X_ADC_RATE_MASK (3 << 6) >>> +#define AXP20X_ADC_RATE_25HZ

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

2017-01-05 Thread Lukasz Majewski
Hi Boris, > On Thu, 5 Jan 2017 08:26:09 +0100 > Lukasz Majewski wrote: > > > 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 diff

[GIT PULL] xen: features and fixes for 4.10 rc2

2017-01-05 Thread Juergen Gross
- small fixes for xenbus driver - one fix for xen dom0 boot on huge system - small cleanups Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.10-rc2-tag xen: features and fixes for 4.10 rc2 - small fixes for xenbus driver - one fi

Re: [PATCH] proc: Fix integer overflow of VmLib

2017-01-05 Thread Vlastimil Babka
On 01/05/2017 12:29 AM, Richard Weinberger wrote: > /proc//status can report extremely high VmLib values which > will confuse monitoring tools. > VmLib is mm->exec_vm minus text size, where exec_vm is the number of > bytes backed by an executable memory mapping and text size is > mm->end_code - mm-

Re: [PATCH] drm: Schedule the output_poll_work with 1s delay if we have delayed event

2017-01-05 Thread Daniel Vetter
On Wed, Jan 04, 2017 at 02:00:53PM +0200, Peter Ujfalusi wrote: > Instead of scheduling the work to handle the initial delayed event, use 1s > delay. > > When the delayed event is handled w/o delay - in a similar matter when the > poll had been initialized before drm_helper_probe_single_connector_

Re: [PATCH] drm/i915/dp: Stop enabling limited color ranges for everything

2017-01-05 Thread Jani Nikula
On Thu, 05 Jan 2017, Lyude wrote: > Until now, it seems we've been erroneously enabling limited color ranges > for the vast majority of DisplayPort monitors. I noticed this after > writing a frame dump comparison test for the Chamelium and noticing that > every i915 device I had was failing, while

[PATCH v2 4/4] arm64: dts: exynos: Add tm2 touchkey node

2017-01-05 Thread Jaechul Lee
Add DT node support for TM2 touchkey device. Signed-off-by: Beomho Seo Signed-off-by: Jaechul Lee Signed-off-by: Andi Shyti Reviewed-by: Javier Martinez Canillas Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 13 + 1 file changed, 13 insertio

Re: [PATCH] locking/pvqspinlock: Wait early if vcpu is preempted

2017-01-05 Thread Pan Xinhui
在 2017/1/5 16:23, Ingo Molnar 写道: * Pan Xinhui wrote: If prev node is not in runnig state or its cpu is preempted, we need wait early in pv_wait_node. After commit "sched/core: Introduce the vcpu_is_preempted(cpu) interface" kernel has knowledge of one vcpu is running or not. So lets use it

[PATCH v2 2/4] input: tm2-touchkey: Add touchkey driver support for TM2

2017-01-05 Thread Jaechul Lee
This patch adds support for the TM2 touch key and led functionality. The driver interfaces with userspace through an input device and reports KEY_PHONE and KEY_BACK event types. LED brightness can be controlled by "/sys/class/leds/tm2-touchkey/brightness". Signed-off-by: Beomho Seo Signed-off-by

[PATCH v2,3/9] arm64: dts: ls1043a: fix typo of MSI compatible string

2017-01-05 Thread Minghuan Lian
"1" should be replaced by "l". This is a typo. The patch is to fix it. Signed-off-by: Minghuan Lian --- v2-v1: - None arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/a

[PATCH v2 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-05 Thread Jaechul Lee
From: Andi Shyti Currently tm2e dts includes tm2 but there are some differences between the two boards and tm2 has some properties that tm2e doesn't have. That's why it's important to keep the two dts files independent and put all the commonalities in a tm2-common.dtsi file. Signed-off-by: Andi

[RFC 1/1] Changes to support the driver for platform device registration

2017-01-05 Thread Raviteja Garimella
-- Add OF based platform device registration -- Modify debug prints to be compatible with both pci and platform devices -- Add members to 'struct udc' for extcon and phy support -- Add checks to not process repeated calls to udc connect and disconnect routines -- Kconfig changes Signed-off-by:

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

2017-01-05 Thread Boris Brezillon
On Thu, 5 Jan 2017 08:26:09 +0100 Lukasz Majewski wrote: > 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

[PATCH v2 1/4] input: Add support for the tm2 touchkey device driver

2017-01-05 Thread Jaechul Lee
This patch adds the binding description of the tm2 touchkey device driver. Signed-off-by: Jaechul Lee Reviewed-by: Javier Martinez Canillas Reviewed-by: Andi Shyti Acked-by: Rob Herring --- .../bindings/input/samsung,tm2-touchkey.txt| 27 ++ 1 file changed, 27 inse

[RFC 0/1] Platform driver support for 'amd5536udc' driver

2017-01-05 Thread Raviteja Garimella
This patch adds platform device support to the existing 'amd5536udc' driver. The UDC is based on Synopsys Designware core USB (2.0) Device controller IP. The driver so far supports UDCs that are a part of AMD southbridge and is connected through PCI bus. The same driver can be used with UDCs tha

Re: [PATCH v3] mfd: axp20x: Fix AXP806 access errors on cold boot

2017-01-05 Thread Lee Jones
On Thu, 05 Jan 2017, Chen-Yu Tsai wrote: > The AXP806 supports either master/standalone or slave mode. > Slave mode allows sharing the serial bus, even with multiple > AXP806 which all have the same hardware address. > > This is done with extra "serial interface address extension", > or AXP806_BU

[PATCH v4 3/3] HID: rmi: Support the Lenovo Thinkpad X1 Tablet dock using hid-rmi

2017-01-05 Thread Benjamin Tissoires
From: Andrew Duggan Signed-off-by: Andrew Duggan Signed-off-by: Benjamin Tissoires --- no changes in v4 no changes in v3 no changes in v2 --- drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h | 1 + drivers/hid/hid-rmi.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/hid

[PATCH v4 2/3] HID: rmi: Handle all Synaptics touchpads using hid-rmi

2017-01-05 Thread Benjamin Tissoires
From: Andrew Duggan With the addition of HID and F12 support in the synaptics-rmi4 driver touchpads which had been using the hid-multitouch driver can now be support by the synaptics-rmi4 via hid-rmi. The advantage is that additional data can be reported from the RMI registers which is not availa

[PATCH v4 1/3] HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

2017-01-05 Thread Benjamin Tissoires
From: Andrew Duggan The Synaptics RMI4 driver provides support for RMI4 devices. Instead of duplicating the RMI4 processing code, make hid-rmi a transport driver and register it with the Synaptics RMI4 core. Signed-off-by: Andrew Duggan Signed-off-by: Benjamin Tissoires --- changes in v4: -

Re: [PATCH v4 07/11] pwm: imx: Provide atomic PWM support for i.MX PWMv2

2017-01-05 Thread Boris Brezillon
On Thu, 5 Jan 2017 00:36:50 +0100 Lukasz Majewski wrote: > This commit provides apply() callback implementation for i.MX's PWMv2. > > Suggested-by: Stefan Agner > Suggested-by: Boris Brezillon > Signed-off-by: Lukasz Majewski > Reviewed-by: Boris Brezillon > --- > Changes for v4: > - Avoid

[PATCH v4 0/3] HID: switch hid-rmi to rmi_core

2017-01-05 Thread Benjamin Tissoires
Hi, Small revision to add irq.h in hid-rmi.c, as reported by the Intel kbuild test bot and by Andrew. Cheers, Benjamin Andrew Duggan (3): HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4 HID: rmi: Handle all Synaptics touchpads using hid-rmi HID: rmi: Support the Lenovo Thinkpa

Re: [PATCH] x86/head: Refactor 32-bit pgtable setup

2017-01-05 Thread Ingo Molnar
* Boris Ostrovsky wrote: > The new Xen PVH entry point requires page tables to be setup by the > kernel since it is entered with paging disabled. > > Pull the common code out of head_32.S so that mk_early_pgtbl_32 can be > invoked from both the new Xen entry point and the existing startup_32 >

Re: [PATCH] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2017-01-05 Thread Pali Rohár
On Wednesday 04 January 2017 09:54:56 Dmitry Torokhov wrote: > On Wed, Jan 04, 2017 at 06:46:19PM +0100, Wolfram Sang wrote: > > > > > How about: > > > --- > > > From daa7571bbf337704332c0cfeec9b8fd5aeae596f Mon Sep 17 00:00:00 2001 > > > From: Benjamin Tissoires > > > Date: Wed, 4 Jan 2017 18:26

Re: [f2fs-dev] [PATCH 08/10] f2fs: relax async discard commands more

2017-01-05 Thread Chao Yu
Hi Jaegeuk, I can see patch named ("f2fs: call f2fs_wait_all_discard_bio for an error case") was merged in dev-test, but I think it's no needed to change error case handling like this since f2fs_wait_all_discard_bio should always be called after clear_prefree_segments. Thanks, On 2017/1/5 11:19,

Re: [PATCH] drm/i915/dp: Stop enabling limited color ranges for everything

2017-01-05 Thread Daniel Vetter
On Thu, Jan 05, 2017 at 10:41:07AM +0200, Jani Nikula wrote: > No matter what we do here, the question remains what to do with > Chamelium. Changing the color range is really a workaround for > Chamelium, not a fix. Using CEA range is perfectly fine per DP spec. Can we just set a non-CEA mode/edid

[PATCH] clk: qcom: Fix a possible NULL pointer dereferencing

2017-01-05 Thread Vivek Gautam
Assign num_parents as 0 while registering fixed rate clocks in _qcom_cc_register_board_clk(), to make sure the clk framework doesn't dereference parent. Fixes: ee15faffef11 ("clk: qcom: common: Add API to register board clocks backwards compatibly") Cc: Georgi Djakov Signed-off-by: Vivek Gautam

[PATCH 1/1] random: fix panic caused by system_wq is not initialization

2017-01-05 Thread xinwu . liu
From: "Liu, Xinwu" While booting kernel on simulation environment(very slow), kernel panicked: [ 310.837531] BUG: unable to handle kernel NULL pointer dereference at 0102 [ 310.909223] IP: [] __queue_work+0x2d/0x440 [ 312.023898] Call Trace: [ 312.046346] [ 312.064346] [] queue_work

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

2017-01-05 Thread Chen-Yu Tsai
On Thu, Jan 5, 2017 at 4:08 PM, Quentin Schulz wrote: > On 05/01/2017 06:51, Chen-Yu Tsai wrote: >> 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. >>> >>> Thi

Re: [PATCH v2] dell-wmi, dell-laptop: hide dell-smbios

2017-01-05 Thread Pali Rohár
On Wednesday 04 January 2017 13:59:17 Jean Delvare wrote: > Dell-smbios is a helper module, it serves no purpose on its own, so > do not present it as an option to the user. Instead, select it > automatically whenever a driver which needs it is selected. > > Signed-off-by: Jean Delvare > Cc: Mich

Re: [PATCH v2] mfd:rtsx: do retry when dma transfer error

2017-01-05 Thread 冯伟linux
> + err = -EILSEQ; > Why are you using this error code? > when kernel receive the error number is EILSEQ, the SD card requeset will be retried for some times, instead of dropping it directly. so we use EILSEQ and frequency reduction to ensure data can be transmitted correctly as much

Re: [PATCH V2 5/5] ARM: dts: exynos5440: support the phy-pcie node for pcie

2017-01-05 Thread pankaj.dubey
Hi Jaehoon, On Wednesday 04 January 2017 06:04 PM, Jaehoon Chung wrote: > Add phy-pcie node for using Exynos5440 pcie. > And use the reg-names as "elbi" and "config". > Because the getting configuratioin space address from ranges is old way. > It also is helpful to distinguish more clearly. > > S

[PATCH v3] mfd:rtsx: do retry when dma transfer error

2017-01-05 Thread steven_feng
From: steven_feng the request should be reissued when dma transfer error. for rts5227, the clock freq need to step reduce when error occurred. Signed-off-by: steven_feng --- drivers/mfd/rtsx_pcr.c | 17 +++-- include/linux/mfd/rtsx_pci.h | 5 + 2 files changed, 20 insert

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

2017-01-05 Thread Andy Shevchenko
On Wed, 2017-01-04 at 21:25 -0800, Christoph Hellwig wrote: > 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: 60

Re: [PATCH V2 4/5] PCI: exynos: support the using PHY generic framework

2017-01-05 Thread pankaj.dubey
Hi Jaehoon, On Wednesday 04 January 2017 06:04 PM, Jaehoon Chung wrote: > This patch is for using PHY generic framework. > To maintain backward compatibility, check whether phy is supported or > not with 'using_phy'. > > And if someone use the old dt-file, display the "deprecated" message. > But

Re: [PATCH v4 07/11] pwm: imx: Provide atomic PWM support for i.MX PWMv2

2017-01-05 Thread Lukasz Majewski
On Thu, 5 Jan 2017 09:50:35 +0100 Boris Brezillon wrote: > On Thu, 5 Jan 2017 00:36:50 +0100 > Lukasz Majewski wrote: > > > This commit provides apply() callback implementation for i.MX's > > PWMv2. > > > > Suggested-by: Stefan Agner > > Suggested-by: Boris Brezillon > > Signed-off-by: Luka

[PATCH] KVM: eventfd: fix NULL deref irqbypass consumer

2017-01-05 Thread Wanpeng Li
From: Wanpeng Li Reported syzkaller: BUG: unable to handle kernel NULL pointer dereference at 0008 IP: irq_bypass_unregister_consumer+0x9d/0xb70 [irqbypass] PGD 0 Oops: 0002 [#1] SMP CPU: 1 PID: 125 Comm: kworker/1:1 Not tainted 4.9.0+ #1 Workqueue: kvm-i

Re: [PATCH v2 4/4] ARM: dts: keystone: Add "ti,da830-uart" compatible string

2017-01-05 Thread Sekhar Nori
Hi Santosh, On Thursday 05 January 2017 03:30 AM, Santosh Shilimkar wrote: > On 1/4/2017 12:30 PM, David Lechner wrote: >> The TI Keystone SoCs have extra UART registers beyond the standard 8250 >> registers, so we need a new compatible string to indicate this. Also, at >> least one of these regis

[PATCH v8 3/5] ARM: dts: stm32: Add I2C1 support for STM32F429 SoC

2017-01-05 Thread M'boumba Cedric Madianga
This patch adds I2C1 support for STM32F429 SoC Signed-off-by: Patrice Chotard Signed-off-by: M'boumba Cedric Madianga --- arch/arm/boot/dts/stm32f429.dtsi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.

[PATCH v8 5/5] ARM: configs: stm32: Add I2C support for STM32 defconfig

2017-01-05 Thread M'boumba Cedric Madianga
This patch adds I2C support for STM32 default configuration Signed-off-by: M'boumba Cedric Madianga --- arch/arm/configs/stm32_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index 5a72d69..323d2a3 100644 --- a/

[PATCH v8 2/5] i2c: Add STM32F4 I2C driver

2017-01-05 Thread M'boumba Cedric Madianga
This patch adds support for the STM32F4 I2C controller. Signed-off-by: M'boumba Cedric Madianga --- drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-stm32f4.c | 866 +++ 3 files changed, 877 insertions(

[PATCH v8 4/5] ARM: dts: stm32: Add I2C1 support for STM32429 eval board

2017-01-05 Thread M'boumba Cedric Madianga
This patch adds I2C1 instance support for STM32x9I-Eval board. Signed-off-by: M'boumba Cedric Madianga --- arch/arm/boot/dts/stm32429i-eval.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 76f7206..c9

[PATCH v8 0/5] Add support for the STM32F4 I2C

2017-01-05 Thread M'boumba Cedric Madianga
This patchset adds support for the I2C controller embedded in STM32F4xx SoC. It enables I2C transfer in interrupt mode with Standard-mode and Fast-mode bus speed. Changes since v7: - Remove unneeded parenthesis in some macro definitions (Uwe) - Fix some typo (s/KhzkHZ, s/PEC/POC) (Uwe) - Fix align

[PATCH v8 1/5] dt-bindings: Document the STM32 I2C bindings

2017-01-05 Thread M'boumba Cedric Madianga
This patch adds documentation of device tree bindings for the STM32 I2C controller. Signed-off-by: M'boumba Cedric Madianga Acked-by: Rob Herring --- .../devicetree/bindings/i2c/i2c-stm32.txt | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Documentatio

Re: [PATCH v2] dell-wmi, dell-laptop: hide dell-smbios

2017-01-05 Thread Jean Delvare
Hi Pali, On Thu, 5 Jan 2017 09:59:39 +0100, Pali Rohár wrote: > On Wednesday 04 January 2017 13:59:17 Jean Delvare wrote: > > Dell-smbios is a helper module, it serves no purpose on its own, so > > do not present it as an option to the user. Instead, select it > > automatically whenever a driver w

Re: [PATCH v2] dell-wmi, dell-laptop: hide dell-smbios

2017-01-05 Thread Pali Rohár
On Thursday 05 January 2017 10:09:03 Jean Delvare wrote: > Hi Pali, > > On Thu, 5 Jan 2017 09:59:39 +0100, Pali Rohár wrote: > > On Wednesday 04 January 2017 13:59:17 Jean Delvare wrote: > > > Dell-smbios is a helper module, it serves no purpose on its own, so > > > do not present it as an option

Re: [PATCH v3 4/4] phy: qcom-qmp: new qmp phy driver for qcom-chipsets

2017-01-05 Thread Vivek Gautam
Hi, On Wed, Jan 4, 2017 at 12:54 AM, Bjorn Andersson wrote: > On Wed 28 Dec 23:39 PST 2016, Vivek Gautam wrote: > >> >> + * >> >> + */ >> >> +static int phy_pipe_clk_register(struct qcom_qmp_phy *qphy, int id) >> >> +{ >> >> + char clk_name[MAX_PROP_NAME]; >> > >> > I'm not sure MAX_PROP_NAME

Re: [PATCH v2 2/2] efi: efi_mem_reserve(): don't reserve through memblock after mm_init()

2017-01-05 Thread Dave Young
On 12/22/16 at 11:23am, Nicolai Stange wrote: > Before invoking the arch specific handler, efi_mem_reserve() reserves > the given memory region through memblock. > > efi_mem_reserve() can get called after mm_init() though -- through > efi_bgrt_init(), for example. After mm_init(), memblock is dead

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

2017-01-05 Thread Dave Young
On 01/05/17 at 08:42am, Ingo Molnar wrote: > > * 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,

Re: [PATCH v2] locking/pvqspinlock: Relax cmpxchg's to improve performance on some archs

2017-01-05 Thread Pan Xinhui
在 2017/1/4 17:41, Peter Zijlstra 写道: On Tue, Jan 03, 2017 at 05:07:54PM -0500, Waiman Long wrote: On 01/03/2017 11:18 AM, Peter Zijlstra wrote: On Sun, Dec 25, 2016 at 03:26:01PM -0500, Waiman Long wrote: A number of cmpxchg calls in qspinlock_paravirt.h were replaced by more relaxed version

Re: [PATCH v4 07/11] pwm: imx: Provide atomic PWM support for i.MX PWMv2

2017-01-05 Thread Boris Brezillon
On Thu, 5 Jan 2017 10:03:47 +0100 Lukasz Majewski wrote: > On Thu, 5 Jan 2017 09:50:35 +0100 > Boris Brezillon wrote: > > > On Thu, 5 Jan 2017 00:36:50 +0100 > > Lukasz Majewski wrote: > > > > > This commit provides apply() callback implementation for i.MX's > > > PWMv2. > > > > > > Sugge

Re: [PATCH v5] x86: fix kaslr and memmap collision

2017-01-05 Thread Baoquan He
On 01/04/17 at 11:29am, Dave Jiang wrote: > CONFIG_RANDOMIZE_BASE relocates the kernel to a random base address. > However it does not take into account the memmap= parameter passed in from > the kernel cmdline. This results in the kernel sometimes being put in > the middle of memmap. Teaching kasl

[PATCH] HID: get rid of HID_QUIRK_NO_INIT_REPORTS

2017-01-05 Thread Benjamin Tissoires
It looks like a bunch of devices do not like to be polled for their reports at init time. When you look into the details, it seems that on those that are requiring the quirk HID_QUIRK_NO_INIT_REPORTS, the driveris fail to retrieve part of the features/inputs while others (more generic) work. IMO,

Re: [PATCH v2 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-05 Thread Chanwoo Choi
Hi, I add the some comment as following: - ldo23/25/31/38 have the different value between tm2 and tm2e. - The patch[1] was alread posted. I think you better to rebase this patch on patch[1]. [1] https://patchwork.kernel.org/patch/9491769/ - ("ARM64: dts: TM2: comply to the samsung pinctrl naming

Re: [RESEND,PATCH v7 1/2] soc: qcom: Add SoC info driver

2017-01-05 Thread kbuild test robot
Hi Imran, [auto build test WARNING on linus/master] [also build test WARNING on v4.10-rc2] [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/Imran-Khan/soc-qcom-Add-SoC-info-driver/20170105-002914

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

2017-01-05 Thread Felipe Balbi
Hi, Manish Narani writes: > 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

[PATCH v7 7/8] ARM: dts: stm32: add Timers driver for stm32f429 MCU

2017-01-05 Thread Benjamin Gaignard
Add Timers and it sub-nodes into DT for stm32f429 family. version 6: - split patch in two: one for SoC family and one for stm32f469 discovery board. version 5: - rename gptimer node to timers - re-order timers node par addresses version 4: - remove unwanted indexing in pwm@ and timer@ node nam

[PATCH v7 8/8] ARM: dts: stm32: Enable pwm1 and pwm3 for stm32f469-disco

2017-01-05 Thread Benjamin Gaignard
Define and enable pwm1 and pwm3 for stm32f469 discovery board Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stm32f469-disco.dts | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dt

[PATCH v7 3/8] PWM: add pwm-stm32 DT bindings

2017-01-05 Thread Benjamin Gaignard
Define bindings for pwm-stm32 version 6: - change st,breakinput parameter format to make it usuable on stm32f7 too. version 2: - use parameters instead of compatible of handle the hardware configuration Signed-off-by: Benjamin Gaignard --- .../devicetree/bindings/pwm/pwm-stm32.txt | 3

[PATCH v7 2/8] MFD: add STM32 Timers driver

2017-01-05 Thread Benjamin Gaignard
This hardware block could at used at same time for PWM generation and IIO timers. PWM and IIO timer configuration are mixed in the same registers so we need a multi fonction driver to be able to share those registers. version 7: - rebase on v4.10-rc2 version 6: - rename files to stm32-timers - re

setting brightness as privileged operation?

2017-01-05 Thread Michal Hocko
Hi, I have just learned that my Xfce Power Manager cannot manipulate brightness because I do not have policykit installed on my computer. There is a reason for that (yeah it depends on systemd which I prefer not have). While this is clearly a problem of the Xfce applet I am wondering why setting t

[PATCH v7 6/8] IIO: add STM32 timer trigger driver

2017-01-05 Thread Benjamin Gaignard
Timers IPs can be used to generate triggers for other IPs like DAC or ADC. Each trigger may result of timer internals signals like counter enable, reset or edge, this configuration could be done through "master_mode" device attribute. Since triggers could be used by DAC or ADC their names are defi

[PATCH v7 5/8] IIO: add bindings for STM32 timer trigger driver

2017-01-05 Thread Benjamin Gaignard
Define bindings for STM32 timer trigger version 4: - remove triggers enumeration from DT - add reg parameter version 3: - change file name - add cross reference with mfd bindings version 2: - only keep one compatible - add DT parameters to set lists of the triggers: one list describe the trigg

[PATCH v7 0/8] Add PWM and IIO timer drivers for STM32

2017-01-05 Thread Benjamin Gaignard
version 7: - rebase on v4.10-rc2 - remove iio_device code from driver and keep only the trigger part version 6: - rename stm32-gptimer in stm32-timers. - change "st,stm32-gptimer" compatible to "st,stm32-timers". - modify "st,breakinput" parameter in pwm part. - split DT patch in 2 version 5: - f

Re: [RFC PATCH 0/7] locking/rtqspinlock: Realtime queued spinlocks

2017-01-05 Thread Daniel Bristot de Oliveira
On 01/04/2017 04:25 PM, Waiman Long wrote: >> OK, so a single numerical field isn't sufficient to describe priority >> anymore, since we added DEADLINE support things have gotten a lot more >> complex. > From what I read from the code, DL tasks all have the same priority that > is higher than any o

Re: [PATCH] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2017-01-05 Thread Benjamin Tissoires
On Jan 05 2017 or thereabouts, Pali Rohár wrote: > On Wednesday 04 January 2017 09:54:56 Dmitry Torokhov wrote: > > On Wed, Jan 04, 2017 at 06:46:19PM +0100, Wolfram Sang wrote: > > > > > > > How about: > > > > --- > > > > From daa7571bbf337704332c0cfeec9b8fd5aeae596f Mon Sep 17 00:00:00 2001 > >

[PATCH] x86/CPU/AMD: Fix Bulldozer topology

2017-01-05 Thread Borislav Petkov
From: Borislav Petkov 8196dab4fc15 ("x86/cpu: Get rid of compute_unit_id") broke the initial strategy for Bulldozer-based cores' topology, where we consider each thread of a compute unit a standalone core and not a HT or SMT thread. Revert to the firmware-supplied core_id numbering and do not ma

Re: [PATCH] usb: dwc3: gadget: Avoid race between dwc3 interrupt handler and irq thread handler

2017-01-05 Thread Felipe Balbi
Hi, Baolin Wang writes: >>> On 27 December 2016 at 18:52, Janusz Dziedzic >>> wrote: 2016-12-26 9:01 GMT+01:00 Baolin Wang : > On some platfroms(like x86 platform), when one core is running the > USB gadget > irq thread handler by dwc3_thread_interrupt

Re: [PATCH v2 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-05 Thread Chanwoo Choi
Hi, On 2017년 01월 05일 18:23, Andi Shyti wrote: > Hi Chanwoo, > >> I add the some comment as following: >> - ldo23/25/31/38 have the different value between tm2 and tm2e. > > Thanks for pointing this out. I planned to do this already in a > following patch as for now I think it's out from the scop

Re: [PATCH v2 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-05 Thread Andi Shyti
Hi Chanwoo, > I add the some comment as following: > - ldo23/25/31/38 have the different value between tm2 and tm2e. Thanks for pointing this out. I planned to do this already in a following patch as for now I think it's out from the scope of this particular patch. > - The patch[1] was alread po

  1   2   3   4   5   6   7   8   9   >