Re: [PATCH 18/19] crypto: get rid of superfluous __GFP_REPEAT

2016-04-14 Thread Michal Hocko
On Thu 14-04-16 14:27:31, Herbert Xu wrote: > On Mon, Apr 11, 2016 at 01:08:11PM +0200, Michal Hocko wrote: > > From: Michal Hocko > > > > __GFP_REPEAT has a rather weak semantic but since it has been introduced > > around 2.6.12 it has been ignored for low order allocations. > > > > lzo_init us

Beloved View The Attached File And Get Back To Me

2016-04-14 Thread Mrs.Susan Davies
Beloved View The Attached File And Get Back To Me MY BELOVED ONE.doc Description: MS-Word document

Re: [BUG] cgroup/workques/fork: deadlock when moving cgroups

2016-04-14 Thread Michal Hocko
On Wed 13-04-16 21:48:20, Michal Hocko wrote: [...] > I was thinking about something like flush_per_cpu_work() which would > assert on group_threadgroup_rwsem held for write. I have thought about this some more and I guess this is not limitted to per cpu workers. Basically any flush_work with grou

[PATCH] of: add missing const for of_parse_phandle_with_args() in !CONFIG_OF

2016-04-14 Thread Kuninori Morimoto
From: Kuninori Morimoto commit 93c667ca2598bd84f1bd3f2fa176af69707699fe ("of: *node argument to of_parse_phandle_with_args should be const") changed struct device node *np as "const". but it cares CONFIG_OF case only, !CONFIG_OF case need it too. Signed-off-by: Kuninori Morimoto --- include/li

Re: [PATCH] ftrace: filter: Match dot symbols when searching functions on ppc64.

2016-04-14 Thread Michael Ellerman
On Fri, 2016-04-01 at 00:22 -0300, Thiago Jung Bauermann wrote: > In the ppc64 big endian ABI, function symbols point to function > descriptors. The symbols which point to the function entry points > have a dot in front of the function name. Consequently, when the > ftrace filter mechanism searche

Re: [PATCH] rtc: support for rv4162c7

2016-04-14 Thread Alexandre Belloni
Hi, On 14/04/2016 at 08:29:47 +0200, Tomas Krcka wrote : > Hi, > that's correct, but idetification of this chip is rv4162c7 so > i2c_match_id() returns NULL. > If it's there any workaround, how the chip can be detected > automatically then OK, but without this patch it doesn't work for me. > J

Re: [PATCH 03/10] perf record: Turns auxtrace_snapshot_enable into 3 states

2016-04-14 Thread Adrian Hunter
On 13/04/16 18:55, Arnaldo Carvalho de Melo wrote: > Em Wed, Apr 13, 2016 at 08:21:06AM +, Wang Nan escreveu: >> auxtrace_snapshot_enable has only two states (0/1). Turns it into a >> triple states enum so SIGUSR2 handler can safely do other works without >> triggering auxtrace snapshot. > > A

Re: [PATCH V4 4/7] ARM64, ACPI, PCI: I/O Remapping Table (IORT) initial support.

2016-04-14 Thread Tomasz Nowicki
On 13.04.2016 23:18, Sinan Kaya wrote: On 4/13/2016 11:52 AM, Marc Zyngier wrote: Sure. Please see: http://infocenter.arm.com/help/topic/com.arm.doc.den0049a/DEN0049A_IO_Remapping_Table.pdf 3.1.1.5 PCI root complex node PCI Segment number -> The PCI segment number, as in MCFG and as returned by

[RFC] arm64: Implement WFE based spin wait for MCS spinlocks

2016-04-14 Thread Jason Low
Use WFE to avoid most spinning with MCS spinlocks. This is implemented with the new cmpwait() mechanism for comparing and waiting for the MCS locked value to change using LDXR + WFE. Signed-off-by: Jason Low --- arch/arm64/include/asm/mcs_spinlock.h | 21 + 1 file changed, 21

Re: [PATCH] rtc: support for rv4162c7

2016-04-14 Thread Tomas Krcka
Hi, ok, good. Thanks. Patch is not needed. 2016-04-14 9:19 GMT+02:00 Alexandre Belloni : > Hi, > > On 14/04/2016 at 08:29:47 +0200, Tomas Krcka wrote : >> Hi, >> that's correct, but idetification of this chip is rv4162c7 so >> i2c_match_id() returns NULL. >> If it's there any workaround, how t

[PATCH] pata_artop: Use ioread8.

2016-04-14 Thread Yoshinori Sato
Support for non x86 targets. Signed-off-by: Yoshinori Sato --- drivers/ata/pata_artop.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/drivers/ata/pata_artop.c b/drivers/ata/pata_artop.c index 96c05c9..3731dea 100644 --- a/drivers/ata/pata_artop.c +++ b/dri

Re: [PATCH] mmc: block: Use the mmc host device index as the mmcblk device index

2016-04-14 Thread Ulf Hansson
On 14 April 2016 at 03:25, Jaehoon Chung wrote: > Hi Ulf, > > Sorry for replying late. > > On 04/07/2016 10:07 PM, Ulf Hansson wrote: >> On 7 April 2016 at 14:07, Jaehoon Chung wrote: >>> On 04/07/2016 04:57 PM, Ulf Hansson wrote: Commit 520bd7a8b415 ("mmc: core: Optimize boot time by detect

Re: [PATCH V3] phy: bcm-ns-usb2: new driver for USB 2.0 PHY on Northstar

2016-04-14 Thread Rafał Miłecki
Hi and thanks for your review! On 13 April 2016 at 15:54, Kishon Vijay Abraham I wrote: > On Monday 11 April 2016 03:13 PM, Rafał Miłecki wrote: >> +Example: >> + usb2-phy { >> + compatible = "brcm,ns-usb2-phy"; >> + reg = <0x1800c000 0x1000>; >> + reg-name

Re: [PATCH v2 0/3] ARM: OMAP3: Fix McBSP2/3 hwmod setup for sidetone

2016-04-14 Thread Peter Ujfalusi
On 04/13/16 18:28, Tony Lindgren wrote: >>> Oh but not with EXPORT_SYMBOL so not usable except for built-in code. >>> Probably best to keep it that way IMO.. >> >> It is up to Tero if he want to keep omap2_clk_allow/deny_idle() only be >> usable >> for built in code. It is there just because of OM

Re: [PATCH V4 4/7] ARM64, ACPI, PCI: I/O Remapping Table (IORT) initial support.

2016-04-14 Thread Marc Zyngier
On 14/04/16 08:20, Tomasz Nowicki wrote: > On 13.04.2016 23:18, Sinan Kaya wrote: >> On 4/13/2016 11:52 AM, Marc Zyngier wrote: > Sure. Please see: > http://infocenter.arm.com/help/topic/com.arm.doc.den0049a/DEN0049A_IO_Remapping_Table.pdf > 3.1.1.5 PCI root complex node > PCI Segme

Re: [PATCH v7 1/2] drivers: base: add support for registering notifier about deferred probe

2016-04-14 Thread Marek Szyprowski
Hello, On 2016-04-13 16:12, Greg Kroah-Hartman wrote: On Wed, Apr 13, 2016 at 11:35:59AM +0200, Marek Szyprowski wrote: This patch adds code which allow other subsystems get a notification when deferred probe has been triggered. This way one can retry some actions, which earlier failed with -EP

[alsa-devel] [RFC PATCH 0/4] ASoC: Mediatek: Add support for MT2701 SOC

2016-04-14 Thread Garlic Tseng
This patch adds basic support for Mediatek AFE for MT2701 SoC. The patch is based on broonie tree "for-next" branch. The interface to connect with BT chip is not finish yet, but as an upstream rookie I really need some comments. Any comments will be greatly appreciated. Garlic Tseng (4): ASoC:

[alsa-devel] [RFC PATCH 2/4] ASoC: mediatek: add documents for mt2701

2016-04-14 Thread Garlic Tseng
Add documents for mt2701-cs42448 machine driver and mt2701 platform driver. Signed-off-by: Garlic Tseng --- .../devicetree/bindings/sound/mt2701-cs42448.txt | 39 ++ .../devicetree/bindings/sound/mtk2701-afe-pcm.txt | 150 + 2 files changed, 189 insertions(+) create

[alsa-devel] [RFC PATCH 1/4] ASoC: mediatek: Refine mt8173 driver

2016-04-14 Thread Garlic Tseng
Move mt8173 driver to another folder. The software control sequence of mt2701 are very different from that of mt8173, so this patch move mt8173 code to another folder Signed-off-by: Garlic Tseng --- sound/soc/mediatek/Makefile | 12 +- sound/soc/mediatek/mt8173-max98090.c

[alsa-devel] [RFC PATCH 3/4] ASoC: mediatek: add mt2701 platform driver implementation.

2016-04-14 Thread Garlic Tseng
Add mt2701 platform driver. There are some BLOCK_COMMENT_STYLE error from checkpatch and they will be fixed after BT functions finished. Signed-off-by: Garlic Tseng --- sound/soc/mediatek/mt2701/mtk2701-afe-clock-ctrl.c | 259 +++ sound/soc/mediatek/mt2701/mtk2701-afe-clock-ctrl.h | 28 + sou

[alsa-devel] [RFC PATCH 4/4] ASoC: mediatek: Add mt2701-cs42448 driver and config option.

2016-04-14 Thread Garlic Tseng
Add machine driver and config option for MT2701. Signed-off-by: Garlic Tseng --- sound/soc/mediatek/Kconfig | 21 ++ sound/soc/mediatek/Makefile| 3 + sound/soc/mediatek/mt2701/Makefile | 20 ++ sound/soc/mediatek/mt2701/mt2701-cs42448.c | 376

Re: [PATCH V4 4/7] ARM64, ACPI, PCI: I/O Remapping Table (IORT) initial support.

2016-04-14 Thread Tomasz Nowicki
On 13.04.2016 17:52, Marc Zyngier wrote: On 13/04/16 16:36, Tomasz Nowicki wrote: On 13.04.2016 17:23, Marc Zyngier wrote: On 04/04/16 09:52, Tomasz Nowicki wrote: IORT shows representation of IO topology for ARM based systems. It describes how various components are connected together on pare

[PATCH] clk: Add 16bit register access for clk-divider.

2016-04-14 Thread Yoshinori Sato
Some SoC use 16bit-word register. And required 16bit-word access. This changes add 16-bit access mode. Signed-off-by: Yoshinori Sato --- drivers/clk/clk-divider.c| 10 -- include/linux/clk-provider.h | 13 + 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/

Re: [PATCH V4 4/7] ARM64, ACPI, PCI: I/O Remapping Table (IORT) initial support.

2016-04-14 Thread Marc Zyngier
On 14/04/16 08:39, Tomasz Nowicki wrote: > On 13.04.2016 17:52, Marc Zyngier wrote: >> On 13/04/16 16:36, Tomasz Nowicki wrote: >>> On 13.04.2016 17:23, Marc Zyngier wrote: On 04/04/16 09:52, Tomasz Nowicki wrote: > IORT shows representation of IO topology for ARM based systems. > It d

[Question] refcount of DT node

2016-04-14 Thread Masahiro Yamada
Hi experts. My understanding of refcount of DT node is poor. Please help me understand it correctly. Sorry if I am asking stupid questions. [1] Does this reference count exist for Overlay? Is a node freed when its refcount becomes zero? [2] When of_node_put() should be called, or sho

[PATCH net-next] phy: make some bits preserved while setup forced mode

2016-04-14 Thread Weidong Wang
When tested the PHY SGMII Loopback: 1.set the LOOPBACK bit, 2.set the autoneg to AUTONEG_DISABLE, it calls the genphy_setup_forced which will clear the bit. The BMCR_LOOPBACK bit should be preserved. As Florian pointed out that other bits should be preserved too. So I make the BMCR_ISOLATE and BM

Re: [PATCH 03/10] perf record: Turns auxtrace_snapshot_enable into 3 states

2016-04-14 Thread Wangnan (F)
On 2016/4/14 15:15, Adrian Hunter wrote: On 13/04/16 18:55, Arnaldo Carvalho de Melo wrote: Em Wed, Apr 13, 2016 at 08:21:06AM +, Wang Nan escreveu: auxtrace_snapshot_enable has only two states (0/1). Turns it into a triple states enum so SIGUSR2 handler can safely do other works without

Re: [PATCH] clk: samsung: exynos7: Don't gate CMU_{CCORE, FSYS0} blocks clock

2016-04-14 Thread Krzysztof Kozlowski
On 04/14/2016 06:42 AM, Alim Akhtar wrote: > This patch adds CLK_IS_CRITICAL flag to ACLK_CCORE_133 and ACLK_FSYS0_200 > clocks. These clocks are critical for accessing CMU_CCORE and CMU_FSYS0 > blocks registers. Let these clocks to be enabled all the time. > > Signed-off-by: Alim Akhtar > --- >

Re: [PATCH RESEND 1/2] pinctrl: ns2: add pinmux driver support for Broadcom NS2 SoC

2016-04-14 Thread Yendapally Reddy Dhananjaya Reddy
Hi Linus, On Wed, Apr 13, 2016 at 6:49 PM, Linus Walleij wrote: > On Tue, Mar 29, 2016 at 5:22 PM, Yendapally Reddy Dhananjaya Reddy > wrote: > >> This adds the initial support of the Broadcom NS2 pinmux driver >> >> Signed-off-by: Yendapally Reddy Dhananjaya Reddy >> >> Reviewed-by: Ray Jui

[PATCH v8 1/4] perf config: Introduce perf_config_set class

2016-04-14 Thread Taeung Song
This infrastructure code was designed for upcoming features of perf-config. That collect config key-value pairs from user and system config files (i.e. user wide ~/.perfconfig and system wide $(sysconfdir)/perfconfig) to manage perf's configs. Reviewed-by: Masami Hiramatsu Cc: Namhyung Kim Cc:

[PATCH v8 4/4] perf config: Initialize perf_config_set with all default configs

2016-04-14 Thread Taeung Song
To avoid duplicated config variables and use perf_config_set classifying between standard perf config variables and unknown or new config variables other than them, initialize perf_config_set with all default configs. And this will be needed when showing all configs with default value or checking

[PATCH v8 2/4] perf config: Let show_config() work with perf_config_set

2016-04-14 Thread Taeung Song
Current show_config() has a problem when user or system config files have same config variables i.e. # cat ~/.perfconfig [top] children = false when $(sysconfdir) is /usr/local/etc # cat /usr/local/etc/perfconfig [top] children = true Before:

[RFC][PATCH v8 0/4] Infrastructure code for perf-config

2016-04-14 Thread Taeung Song
Hi, We can use the config files (i.e user wide ~/.perfconfig and system wide $(sysconfdir)/perfconfig) to configure perf tools. perf-config help user manage the config files, not manually look into or edit them. Introduce new infrastructure code for config management features of perf-config subco

[PATCH v8 3/4] perf config: Prepare all default configs

2016-04-14 Thread Taeung Song
To precisely manage configs, prepare all default perf's configs that contain default section name, variable name, value and correct type, not string type. In the near future, this will be used when checking type of config variable or showing all configs with default values, etc. Acked-by: Namhyun

[PATCH] ARM: multi_v7_defconfig: enable Denali NAND controller

2016-04-14 Thread Masahiro Yamada
This NAND controller device is used on UniPhier SoCs (and I know it is also used on SoC FPGA). Signed-off-by: Masahiro Yamada --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig in

[PATCH] fs: add the FIGETFROZEN ioctl call

2016-04-14 Thread Florian Margaine
This lets userland get the filesystem freezing status, aka whether the filesystem is frozen or not. This is so that an application can know if it should freeze the filesystem or if it isn't necessary when taking a snapshot. --- fs/compat_ioctl.c | 1 + fs/ioctl.c | 13 +

[PATCH V1] regulator: pv88080: new regulator driver

2016-04-14 Thread James Bans
From: James Ban This is the driver for the Powerventure PV88080 BUCKs regulator. It communicates via an I2C bus to the device. Signed-off-by: James Ban --- This patch applies against linux-next and next-20160413 .../devicetree/bindings/regulator/pv88080.txt | 49 +++ drivers/regula

Re: [PATCH v6 03/19] i2c: octeon: Rename [read|write]_sw to reg_[read|write]

2016-04-14 Thread Jan Glauber
On Wed, Apr 13, 2016 at 10:44:09AM +0200, Wolfram Sang wrote: > On Mon, Apr 11, 2016 at 05:28:34PM +0200, Jan Glauber wrote: > > octeon_i2c_read_sw -> octeon_i2c_reg_read > > octeon_i2c_write_sw -> octeon_i2c_reg_write > > > > Signed-off-by: Jan Glauber > > Please add the motivation of the chang

Re: [PATCH v4 2/2] usb: dwc3: add debugfs node to dump FIFO/Queue available space

2016-04-14 Thread Felipe Balbi
Hi, changbin...@intel.com writes: > From: "Du, Changbin" > > For DWC3 USB controller, the Global Debug Queue/FIFO Space Available > Register(GDBGFIFOSPACE) can be used to dump FIFO/Queue available space. > This can be used to check some special issues, like whether data is > successfully copied

Hi linux

2016-04-14 Thread S P
Hi linux http://nextavailablespace.com/supper.php?ring=yc1gu3uw6zqv38ka S

[PATCH] z3fold: the 3-fold allocator for compressed pages

2016-04-14 Thread Vitaly Wool
This patch introduces z3fold, a special purpose allocator for storing compressed pages. It is designed to store up to three compressed pages per physical page. It is a ZBUD derivative which allows for higher compression ratio keeping the simplicity and determinism of its predecessor. The main dif

Re: [LINUX PATCH v2 1/3] spi: Added dummy_cycle entry in the spi_transfer structure.

2016-04-14 Thread Cyrille Pitchen
Hi Sai Krishna, Le 13/04/2016 07:21, Lakshmi Sai Krishna Potthuri a écrit : > Hi Cyrille and Mark, > >> -Original Message- >> From: Cyrille Pitchen [mailto:cyrille.pitc...@atmel.com] >> Sent: Thursday, April 07, 2016 8:33 PM >> To: Lakshmi Sai Krishna Potthuri ; Michal Simek >> ; Soren Br

Re: [PATCH] fs: add the FIGETFROZEN ioctl call

2016-04-14 Thread Florian Margaine
Hi, For some reason, my email client replaced tabs with spaces in my previous email. Here is the patch using another client. Regards, Florian >From 80febe62cf5c21e0a369b64e38c82f068a416a61 Mon Sep 17 00:00:00 2001 From: Florian MARGAINE Date: Sat, 19 Mar 2016 23:25:28 +0100 Subject: [PATCH] f

Re: [PATCH v6 06/19] i2c: octeon: Improve error status checking

2016-04-14 Thread Jan Glauber
On Wed, Apr 13, 2016 at 10:55:20AM +0200, Wolfram Sang wrote: > > Please have a look at Documentation/i2c/fault-codes. -EAGAIN is only for > arbitration loss. > > > + /* ACK allowed on pre-terminal bytes only */ > > + case STAT_RXDATA_ACK: > > + if (!final_read) > > +

[PATCH v7 0/9] Add clock support for Mediatek MT2701

2016-04-14 Thread James Liao
This series is based on 4.6-rc1, add clock and reset controller support for Mediatek MT2701. This series also refined makefile and Kconfig to support configurable multiple SoC clock support. changes since v6: - Rebase to v4.6-rc1. - Register subsystem clocks in probe() instead of CLK_OF_DECLARE()

Re: [PATCH 18/19] crypto: get rid of superfluous __GFP_REPEAT

2016-04-14 Thread Herbert Xu
On Thu, Apr 14, 2016 at 09:02:17AM +0200, Michal Hocko wrote: > > Will do. Do you prefer it now as a stand along patch or when I repost > the full series. This one doesn't depend on any previous so I can do > both ways. I think a standalone patch is fine. Thanks, -- Email: Herbert Xu Home Page:

[PATCH v7 9/9] arm: dts: mt2701: Add clock controller device nodes

2016-04-14 Thread James Liao
Add clock controller nodes for MT2701, include topckgen, infracfg, pericfg, apmixedsys, mmsys, imgsys, vdecsys, hifsys, ethsys and bdpsys. This patch also add two oscillators that provide clocks for MT2701. Signed-off-by: James Liao --- arch/arm/boot/dts/mt2701.dtsi | 42

[PATCH v6 0/4] Mediatek MT2701 SCPSYS power domain support

2016-04-14 Thread James Liao
This series is based on v4.6-rc1 and adds scpsys power domain support for Mediatek MT2701. To share the code between MT2701 and MT8173, this patchset also refined original mtk-scpsys.c to separate common codes and platform codes, so that mtk-scpsys.c can support new SoCs more easily. MT8173 and M

[PATCH v7 4/9] clk: mediatek: Add MT2701 clock support

2016-04-14 Thread James Liao
From: Shunli Wang Add MT2701 clock support, include topckgen, apmixedsys, infracfg, pericfg and subsystem clocks. Signed-off-by: Shunli Wang Signed-off-by: James Liao Tested-by: John Crispin --- drivers/clk/mediatek/Kconfig |8 + drivers/clk/mediatek/Makefile |1 + drivers/c

[PATCH v7 8/9] clk: mediatek: Add config options for MT2701 subsystem clocks

2016-04-14 Thread James Liao
MT2701 subsystem clocks are optional and should be enabled only if their subsystem drivers are ready to control these clocks. Signed-off-by: James Liao --- drivers/clk/mediatek/Kconfig | 44 ++- drivers/clk/mediatek/clk-mt2701.c | 36 +

[PATCH v7 7/9] clk: mediatek: Enable critical clocks for MT2701

2016-04-14 Thread James Liao
Some system clocks should be turned on by default on MT2701. This patch enable these clocks when related clocks have been registered. Signed-off-by: James Liao --- drivers/clk/mediatek/clk-mt2701.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/drive

[PATCH v7 5/9] reset: mediatek: Add MT2701 reset controller dt-binding file

2016-04-14 Thread James Liao
From: Shunli Wang Dt-binding file about reset controller is used to provide kinds of definition, which is referenced by dts file and IC-specified reset controller driver code. Signed-off-by: Shunli Wang Signed-off-by: James Liao Tested-by: John Crispin Acked-by: Philipp Zabel --- include/dt

[PATCH v7 1/9] clk: mediatek: Refine the makefile to support multiple clock drivers

2016-04-14 Thread James Liao
Add a Kconfig to define clock configuration for each SoC, and modify the Makefile to build drivers that only selected in config. Signed-off-by: Shunli Wang Signed-off-by: James Liao Tested-by: John Crispin --- drivers/clk/Kconfig | 1 + drivers/clk/mediatek/Kconfig | 23 +++

Re: [PATCH v6 04/19] i2c: octeon: Introduce helper functions for register access

2016-04-14 Thread Jan Glauber
On Wed, Apr 13, 2016 at 10:45:21AM +0200, Wolfram Sang wrote: > On Mon, Apr 11, 2016 at 05:28:35PM +0200, Jan Glauber wrote: > > Add helper functions for control, data and status register access. > > > > Signed-off-by: Jan Glauber > > Same as patch 3. > Updated commit message: i2c: octeon: In

[PATCH v6 4/4] soc: mediatek: Add MT2701 scpsys driver

2016-04-14 Thread James Liao
From: Shunli Wang Add scpsys driver for MT2701. mtk-scpsys now supports MT8173 (arm64) and MT2701 (arm). So it should be enabled on both arm64 and arm platforms. Signed-off-by: Shunli Wang Signed-off-by: James Liao Reviewed-by: Kevin Hilman --- drivers/soc/mediatek/Kconfig | 2 +- dr

[PATCH v7 3/9] clk: mediatek: Add dt-bindings for MT2701 clocks

2016-04-14 Thread James Liao
From: Shunli Wang Add MT2701 clock dt-bindings, include topckgen, apmixedsys, infracfg, pericfg and subsystem clocks. Signed-off-by: Shunli Wang Signed-off-by: James Liao Tested-by: John Crispin --- include/dt-bindings/clock/mt2701-clk.h | 486 + 1 file change

[PATCH v7 6/9] reset: mediatek: Add MT2701 reset driver

2016-04-14 Thread James Liao
From: Shunli Wang In infrasys and perifsys, there are many reset control bits for kinds of modules. These bits are used as actual reset controllers to be registered into kernel's generic reset controller framework. Signed-off-by: Shunli Wang Signed-off-by: James Liao Tested-by: John Crispin A

[PATCH v7 2/9] dt-bindings: ARM: Mediatek: Document bindings for MT2701

2016-04-14 Thread James Liao
This patch adds the binding documentation for apmixedsys, bdpsys, ethsys, hifsys, imgsys, infracfg, mmsys, pericfg, topckgen and vdecsys for Mediatek MT2701. Signed-off-by: James Liao Tested-by: John Crispin Acked-by: Rob Herring --- .../bindings/arm/mediatek/mediatek,apmixedsys.txt | 3 ++-

[PATCH v6 2/4] soc: mediatek: Init MT8173 scpsys driver earlier

2016-04-14 Thread James Liao
Some power domain comsumers may init before module_init. So the power domain provider (scpsys) need to be initialized earlier too. Take an example for our IOMMU (M4U) and SMI. SMI is a bridge between IOMMU and multimedia HW. SMI is responsible to enable/disable iommu and help transfer data for eac

[PATCH v6 1/4] soc: mediatek: Refine scpsys to support multiple platform

2016-04-14 Thread James Liao
Refine scpsys driver common code to support multiple SoC / platform. Signed-off-by: James Liao Reviewed-by: Kevin Hilman --- drivers/soc/mediatek/mtk-scpsys.c | 363 +++--- 1 file changed, 220 insertions(+), 143 deletions(-) diff --git a/drivers/soc/mediatek/mtk

[PATCH v6 3/4] soc: mediatek: Add MT2701 power dt-bindings

2016-04-14 Thread James Liao
From: Shunli Wang Add power dt-bindings for MT2701. Signed-off-by: Shunli Wang Signed-off-by: James Liao Acked-by: Rob Herring Reviewed-by: Kevin Hilman --- .../devicetree/bindings/soc/mediatek/scpsys.txt| 12 ++ include/dt-bindings/power/mt2701-power.h | 27 ++

[next] Failing Odroid XU3 boot due to missing MMC device

2016-04-14 Thread Krzysztof Kozlowski
Hi, Anyone also observed recent failures of linux-next (20160413, 20160414) on booting from SD card? On my Odroid XU3 exynos and multi_v7 configs fail with: Apr 14 07:52:53 starting version 229 Apr 14 07:52:53 :: running hook [udev] Apr 14 07:52:53 :: Triggering uevents... Apr 14 07:52:54

Re: [PATCH 3.12 00/98] 3.12.58-stable review

2016-04-14 Thread Jiri Slaby
On 04/11/2016, 03:37 PM, Guenter Roeck wrote: > On 04/11/2016 06:23 AM, Jiri Slaby wrote: >> This is the start of the stable review cycle for the 3.12.58 release. >> There are 98 patches in this series, all will be posted as a response >> to this one. If anyone has any issues with these being appl

Re: [next] Failing Odroid XU3 boot due to missing MMC device

2016-04-14 Thread Jaehoon Chung
Hi, On 04/14/2016 05:23 PM, Krzysztof Kozlowski wrote: > Hi,> > > Anyone also observed recent failures of linux-next (20160413, 20160414) > on booting from SD card? On my Odroid XU3 exynos and multi_v7 configs > fail with: > > Apr 14 07:52:53 starting version 229 >

Re: [next] Failing Odroid XU3 boot due to missing MMC device

2016-04-14 Thread Markus Reichl
/boot. Regards, -- Markus Reichl Am 14.04.2016 um 10:23 schrieb Krzysztof Kozlowski: > Hi, > > > Anyone also observed recent failures of linux-next (20160413, 20160414) > on booting from SD card? On my Odroid XU3 exynos and multi_v7 configs > fail with: > > Apr 14 0

Re: [PATCH] powerpc: introduce {cmp}xchg for u8 and u16

2016-04-14 Thread Pan Xinhui
Hello, Waiman On 2016年04月13日 23:53, Waiman Long wrote: > On 04/13/2016 07:15 AM, Pan Xinhui wrote: >> Hello Peter, >> >> On 2016年04月12日 22:30, Peter Zijlstra wrote: >> I am working on the qspinlock implementation on PPC. Your and Waiman's patches are so nice. :) >>> Thanks!, last time I

Re: [PATCH v2] cpuset: use static key better and convert to new API

2016-04-14 Thread Zefan Li
On 2016/4/6 17:19, Vlastimil Babka wrote: > An important function for cpusets is cpuset_node_allowed(), which optimizes on > the fact if there's a single root CPU set, it must be trivially allowed. But > the check "nr_cpusets() <= 1" doesn't use the cpusets_enabled_key static key > the right way wh

Re: [PATCH 03/10] perf record: Turns auxtrace_snapshot_enable into 3 states

2016-04-14 Thread Adrian Hunter
On 14/04/16 10:50, Wangnan (F) wrote: > > > On 2016/4/14 15:15, Adrian Hunter wrote: >> On 13/04/16 18:55, Arnaldo Carvalho de Melo wrote: >>> Em Wed, Apr 13, 2016 at 08:21:06AM +, Wang Nan escreveu: auxtrace_snapshot_enable has only two states (0/1). Turns it into a triple states e

Re: [RFC 0/6] mmc: Field Firmware Update

2016-04-14 Thread Ulf Hansson
On 14 April 2016 at 00:33, Gwendal Grignou wrote: > On Mon, Apr 4, 2016 at 4:50 AM, Ulf Hansson wrote: >> >> On 2 April 2016 at 02:23, Gwendal Grignou wrote: >> > On Thu, Jan 14, 2016 at 5:16 AM, Ulf Hansson >> > wrote: >> >> On 28 December 2015 at 15:12, Alex Lemberg >> >> wrote: >> >> > I

RE: [PATCH v6 07/12] usb: otg: add OTG/dual-role core

2016-04-14 Thread Yoshihiro Shimoda
Hi, > From: Roger Quadros > Sent: Monday, April 11, 2016 7:55 PM > > On 08/04/16 14:22, Yoshihiro Shimoda wrote: > > Hi, > > > >> From: Roger Quadros > >> Sent: Thursday, April 07, 2016 8:45 PM > >> > >> Hi, > >> > >> On 07/04/16 11:52, Yoshihiro Shimoda wrote: > >>> Hi, > >>> > From: Roger

Re: [PATCH v7 1/2] drivers: base: add support for registering notifier about deferred probe

2016-04-14 Thread Russell King - ARM Linux
On Thu, Apr 14, 2016 at 09:36:38AM +0200, Marek Szyprowski wrote: > This CID/PID reading has to be done during device registration time because > of the already deployed userspace ABI. CID/PID values are reported to > userspace, which might rely on them to load proper driver modules. There is no "

Re: [PATCH] locking/pvqspinlock: Add lock holder CPU argument to pv_wait()

2016-04-14 Thread Pan Xinhui
On 2016年04月14日 08:21, Peter Zijlstra wrote: > On Wed, Apr 13, 2016 at 04:59:20PM -0400, Waiman Long wrote: >> Pan Xinhui was asking for a lock holder cpu argument in pv_wait() >> to help the porting of pvqspinlock to PPC. The new argument will can >> potentially help hypervisor expediate the execut

Re: [next] Failing Odroid XU3 boot due to missing MMC device

2016-04-14 Thread Russell King - ARM Linux
On Thu, Apr 14, 2016 at 10:31:12AM +0200, Markus Reichl wrote: > Hi Krzysztof, > > yes, observed this with linux-next from yesterday 13. > > I boot from eMMC. > Device numbering of eMMC and SD are exchanged now. > > I solved the boot problem by changing the rootdev in U-Boot env > from /dev/mmcb

Re: [RFC PATCH v1.9 14/14] livepatch: update task universe when exiting kernel

2016-04-14 Thread Miroslav Benes
On Fri, 25 Mar 2016, Josh Poimboeuf wrote: > Update a tasks's universe when returning from a system call or user > space interrupt, or after handling a signal. > > This greatly increases the chances of a patch operation succeeding. If > a task is I/O bound, it can switch universes when returning

Re: [PATCH v2] sunxi-irq: Fix Kconfig dependency on GENERIC_IRQ_CHIP

2016-04-14 Thread Suzuki K Poulose
On 13/04/16 21:07, Maxime Ripard wrote: Hi, On Wed, Apr 13, 2016 at 04:59:27PM +0100, Suzuki K Poulose wrote: The sunxi-nmi and sun4i irq chips are selected by ARCH_SUNXI on both arm and arm64 (recently added). However on arm64, we don't explicitly select GENERIC_IRQ_CHIP which is required by t

Re: [PATCH] arm64: Kconfig: make SCHED_MC and SCHED_SMT depend on SMP

2016-04-14 Thread Will Deacon
On Wed, Apr 13, 2016 at 05:54:12PM -0700, Yang Shi wrote: > SCHED_MC and SCHED_SMT are pointless when SMP is disabled. > Although SMP is rarely disabled for ARM64, it looks more consistent to have > such depend in Kconfig. You can't disable CONFIG_SMP for arm64 -- we select it unconditionally in t

Re: [PATCH] z3fold: the 3-fold allocator for compressed pages

2016-04-14 Thread Vlastimil Babka
On 04/14/2016 10:05 AM, Vitaly Wool wrote: This patch introduces z3fold, a special purpose allocator for storing compressed pages. It is designed to store up to three compressed pages per physical page. It is a ZBUD derivative which allows for higher compression ratio keeping the simplicity and d

Re: [PATCH v5 00/10] Support for Cortex-M Prototyping System

2016-04-14 Thread Vladimir Murzin
Hi, On 01/04/16 15:02, Vladimir Murzin wrote: > Hi, > > This patch series provides the basic support for running ucLinux on V2M-MPS2 > platform. > > With these patches applied ucLinux can be run on both HW and FVP models > with Cortex-M3/M4/M7 configurations. Any objection to get it merged? Su

Re: [Question] refcount of DT node

2016-04-14 Thread Russell King - ARM Linux
On Thu, Apr 14, 2016 at 04:47:57PM +0900, Masahiro Yamada wrote: > Hi experts. > > My understanding of refcount of DT node is poor. The message from DT people is... don't worry about DT node refcounting. Do whatever you want with it, they don't care whether you have correct refcounting or not. T

Re: [RFC PATCH v1.9 14/14] livepatch: update task universe when exiting kernel

2016-04-14 Thread Miroslav Benes
On Thu, 14 Apr 2016, Miroslav Benes wrote: > On Fri, 25 Mar 2016, Josh Poimboeuf wrote: > > > Update a tasks's universe when returning from a system call or user > > space interrupt, or after handling a signal. > > > > This greatly increases the chances of a patch operation succeeding. If > > a

[PATCH resend] crypto: get rid of superfluous __GFP_REPEAT

2016-04-14 Thread Michal Hocko
From: Michal Hocko __GFP_REPEAT has a rather weak semantic but since it has been introduced around 2.6.12 it has been ignored for low order allocations. lzo_init uses __GFP_REPEAT to allocate LZO1X_MEM_COMPRESS 16K. This is order 3 allocation request and __GFP_REPEAT is ignored for this size as

Re: [PATCH 3/6] ARM: PSCI: Register with kernel restart handler

2016-04-14 Thread Wolfram Sang
> That makes things quite tricky. Best I can think of is a series of boolean > devicetree properties, such as > > broken-reset-handler > last-resort-restart-handler > secondary-restart-handler > default-restart-handler > primary-restart-handler > > which ends up bei

Re: [PATCH v2] MCS spinlock: Use smp_cond_load_acquire()

2016-04-14 Thread Will Deacon
On Wed, Apr 13, 2016 at 01:49:04PM -0700, Jason Low wrote: > On Wed, 2016-04-13 at 10:43 -0700, Will Deacon wrote: > > On Tue, Apr 12, 2016 at 08:02:17PM -0700, Jason Low wrote: > > > For qspinlocks on ARM64, we would like to use WFE instead > > > of purely spinning. Qspinlocks internally have lock

Re: [next] Failing Odroid XU3 boot due to missing MMC device

2016-04-14 Thread Markus Reichl
Am 14.04.2016 um 10:45 schrieb Russell King - ARM Linux: > On Thu, Apr 14, 2016 at 10:31:12AM +0200, Markus Reichl wrote: >> Hi Krzysztof, >> >> yes, observed this with linux-next from yesterday 13. >> >> I boot from eMMC. >> Device numbering of eMMC and SD are exchanged now. >> >> I solved the boo

Re: [PATCH v2] sunxi-irq: Fix Kconfig dependency on GENERIC_IRQ_CHIP

2016-04-14 Thread Suzuki K Poulose
On 14/04/16 09:47, Suzuki K Poulose wrote: On 13/04/16 21:07, Maxime Ripard wrote: Hi, On Wed, Apr 13, 2016 at 04:59:27PM +0100, Suzuki K Poulose wrote: The sunxi-nmi and sun4i irq chips are selected by ARCH_SUNXI on both arm and arm64 (recently added). However on arm64, we don't explicitly se

Re: [PATCH v2 3/3] leds: gpio: Support the "panic-indicator" firmware property

2016-04-14 Thread Jacek Anaszewski
Hi Ezequiel, It would be good to update also leds-gpio bindings, of course in a separate patch: Documentation/devicetree/bindings/leds/leds-gpio.txt Thanks, Jacek Anaszewski On 04/13/2016 08:08 PM, Ezequiel Garcia wrote: Calling a GPIO LEDs is quite likely to work even if the kernel has panic

Re: [LINUX PATCH v2 1/3] spi: Added dummy_cycle entry in the spi_transfer structure.

2016-04-14 Thread Mark Brown
On Thu, Apr 14, 2016 at 10:06:55AM +0200, Cyrille Pitchen wrote: > I understand but you propose to patch both the SPI layer and the m25p80 driver > to introduce some support which is already provided by the "spi_flash_read" > hook: struct spi_flash_read_message has already a "dummy_bytes" field. >

RE: [PATCH] qlge: Replace create_singlethread_workqueue with alloc_ordered_workqueue

2016-04-14 Thread Manish Chopra
> -Original Message- > From: dept_hsg_linux_nic_dev-boun...@qlclistserver.qlogic.com > [mailto:dept_hsg_linux_nic_dev-boun...@qlclistserver.qlogic.com] On Behalf > Of Tejun Heo > Sent: Wednesday, April 13, 2016 11:14 PM > To: Amitoj Kaur Chawla > Cc: Sudarsana Kalluru ; netdev > ; linux-ke

Re: [PATCH v6 05/19] i2c: octeon: Remove superfluous check in octeon_i2c_test_iflg

2016-04-14 Thread Wolfram Sang
On Mon, Apr 11, 2016 at 05:28:36PM +0200, Jan Glauber wrote: > Remove superfluous check and stray newline. > > Signed-off-by: Jan Glauber Applied to for-next, thanks! signature.asc Description: PGP signature

Re: [PATCH v6 04/19] i2c: octeon: Introduce helper functions for register access

2016-04-14 Thread Wolfram Sang
On Thu, Apr 14, 2016 at 10:05:11AM +0200, Jan Glauber wrote: > On Wed, Apr 13, 2016 at 10:45:21AM +0200, Wolfram Sang wrote: > > On Mon, Apr 11, 2016 at 05:28:35PM +0200, Jan Glauber wrote: > > > Add helper functions for control, data and status register access. > > > > > > Signed-off-by: Jan Glau

Re: [PATCH v6 03/19] i2c: octeon: Rename [read|write]_sw to reg_[read|write]

2016-04-14 Thread Wolfram Sang
On Thu, Apr 14, 2016 at 09:58:47AM +0200, Jan Glauber wrote: > On Wed, Apr 13, 2016 at 10:44:09AM +0200, Wolfram Sang wrote: > > On Mon, Apr 11, 2016 at 05:28:34PM +0200, Jan Glauber wrote: > > > octeon_i2c_read_sw -> octeon_i2c_reg_read > > > octeon_i2c_write_sw -> octeon_i2c_reg_write > > > > >

Re: [PATCH V4 5/7] irqchip, gicv3, its: Probe ITS in the ACPI way.

2016-04-14 Thread Marc Zyngier
On 04/04/16 09:52, Tomasz Nowicki wrote: > ITS is prepared for being initialized different than DT, > therefore we can initialize it in ACPI way. We collect register base > address from MADT table and pass mandatory info to firmware-agnostic > ITS init call. > > Note that we are using here IORT li

Re: [PATCH v6 06/19] i2c: octeon: Improve error status checking

2016-04-14 Thread Wolfram Sang
> Should I resend the whole series or will you review the other patches > before? The next batch I want to review is up to patch 10. Please hold back until I am there. Thanks, Wolfram signature.asc Description: PGP signature

Re: [patch] ARM: qcom: silence an uninitialized variable warning

2016-04-14 Thread Dan Carpenter
On Thu, Apr 14, 2016 at 03:53:03AM +0200, Arnd Bergmann wrote: > On Wednesday 13 April 2016, Dan Carpenter wrote: > > It's harmless but, if "enable" isn't set, then we pass uninitialized > > values to qcom_coincell_chgr_config(). The values aren't used, but > > let's silence the warning anyway. >

Re: [next] Failing Odroid XU3 boot due to missing MMC device

2016-04-14 Thread Krzysztof Kozlowski
On 04/14/2016 10:28 AM, Jaehoon Chung wrote: > Hi, > > On 04/14/2016 05:23 PM, Krzysztof Kozlowski wrote: >> Hi,> >> >> Anyone also observed recent failures of linux-next (20160413, 20160414) >> on booting from SD card? On my Odroid XU3 exynos and multi_v7 c

Re: [PATCH 03/10] perf record: Turns auxtrace_snapshot_enable into 3 states

2016-04-14 Thread Wangnan (F)
On 2016/4/14 16:30, Adrian Hunter wrote: On 14/04/16 10:50, Wangnan (F) wrote: On 2016/4/14 15:15, Adrian Hunter wrote: On 13/04/16 18:55, Arnaldo Carvalho de Melo wrote: Em Wed, Apr 13, 2016 at 08:21:06AM +, Wang Nan escreveu: auxtrace_snapshot_enable has only two states (0/1). Turns

Re: [next] Failing Odroid XU3 boot due to missing MMC device

2016-04-14 Thread Krzysztof Kozlowski
On 04/14/2016 10:45 AM, Russell King - ARM Linux wrote: > On Thu, Apr 14, 2016 at 10:31:12AM +0200, Markus Reichl wrote: >> Hi Krzysztof, >> >> yes, observed this with linux-next from yesterday 13. >> >> I boot from eMMC. >> Device numbering of eMMC and SD are exchanged now. >> >> I solved the boot

Re: [PATCH v2] ata: add AMD Seattle platform driver

2016-04-14 Thread Matthias Brugger
Hi Brijesh, On 18/03/16 19:36, Brijesh Singh wrote: Hi Tejun, On 03/17/2016 12:36 PM, Arnd Bergmann wrote: On Wednesday 16 March 2016 14:07:13 Tejun Heo wrote: Hello, Arnd. On Mon, Feb 01, 2016 at 09:14:17PM +0100, Arnd Bergmann wrote: I am not debating on your AML call recommendation, it s

Re: [PATCH v2] sunxi-irq: Fix Kconfig dependency on GENERIC_IRQ_CHIP

2016-04-14 Thread Andre Przywara
Hi, On 14/04/16 09:56, Suzuki K Poulose wrote: > On 14/04/16 09:47, Suzuki K Poulose wrote: >> On 13/04/16 21:07, Maxime Ripard wrote: >>> Hi, >>> >>> On Wed, Apr 13, 2016 at 04:59:27PM +0100, Suzuki K Poulose wrote: The sunxi-nmi and sun4i irq chips are selected by ARCH_SUNXI on both ar

Re: [PATCH v4 0/3] vfs: Define new syscall umask2 [formerly getumask]

2016-04-14 Thread Richard W.M. Jones
On Thu, Apr 14, 2016 at 09:09:38AM +1000, Stephen Rothwell wrote: > Hi Richard, > > On Wed, 13 Apr 2016 20:05:33 +0100 "Richard W.M. Jones" > wrote: > > > > It's not possible to read the process umask without also modifying it, > > which is what umask(2) does. A library cannot read umask safely

  1   2   3   4   5   6   7   8   9   10   >