Re: [PATCH v2 6/10] cpufreq: Support for fast frequency switching

2016-03-07 Thread Peter Zijlstra
On Sun, Mar 06, 2016 at 03:17:09AM +0100, Rafael J. Wysocki wrote: > > Agreed, fail the stuff hard. > > > > Simply make cpufreq_register_notifier a __must_check function and add > > error handling to all call sites. > > Quite frankly, I don't see a compelling reason to do anything about > the noti

Re: [PATCH v2] phy: rcar-gen3-usb2, rcar-gen2: Use ARCH_RENESAS

2016-03-07 Thread Geert Uytterhoeven
On Mon, Mar 7, 2016 at 2:14 AM, Simon Horman wrote: > Make use of ARCH_RENESAS in place of ARCH_SHMOBILE. > A now redundant dependency on OF is also dropped. > > This is part of an ongoing process to migrate from ARCH_SHMOBILE to > ARCH_RENESAS the motivation for which being that RENESAS seems to

linux-next: manual merge of the akpm-current tree with the drm tree

2016-03-07 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: drivers/gpu/drm/omapdrm/omap_gem.c between commit: cdb0381d2f19 ("drm/omap: gem: Clean up GEM objects memory flags") (and others following) from the drm tree and commit: c45472f906f4 ("dma-mapping: rename dm

[PATCH] documentation: Make sample code and documentation consistent

2016-03-07 Thread Yao Dongdong
In the chapter 'analogy with reader-writer locking', the sample code uses spinlock_t in reader-writer case. Just correct it so that we can read the document easily. Signed-off-by: Yao Dongdong --- Documentation/RCU/whatisRCU.txt | 22 +++--- 1 file changed, 15 insertions(+), 7

Re: [PATCH v4 net-next 8/9] net: add a hardware buffer management helper API

2016-03-07 Thread Gregory CLEMENT
Hi Marcin, On dim., mars 06 2016, Marcin Wojtas wrote: > Hi Gregory, > > >> +int hwbm_pool_add(struct hwbm_pool *bm_pool, unsigned int buf_num, gfp_t >> gfp) >> +{ >> + int err, i; >> + unsigned long flags; >> + >> + spin_lock_irqsave(&bm_pool->lock, flags); >> + if (b

Re: Suspicious error for CMA stress test

2016-03-07 Thread Leizhen (ThunderTown)
On 2016/3/7 12:34, Joonsoo Kim wrote: > On Fri, Mar 04, 2016 at 03:35:26PM +0800, Hanjun Guo wrote: >> On 2016/3/4 14:38, Joonsoo Kim wrote: >>> On Fri, Mar 04, 2016 at 02:05:09PM +0800, Hanjun Guo wrote: On 2016/3/4 12:32, Joonsoo Kim wrote: > On Fri, Mar 04, 2016 at 11:02:33AM +0900, J

Re: [RESEND RFC 2/3] nvmem: Add 'nvmem-blob' driver

2016-03-07 Thread Maxime Ripard
Hi, On Wed, Mar 02, 2016 at 09:21:01AM -0800, Andrey Smirnov wrote: > On Wed, Mar 2, 2016 at 5:58 AM, Srinivas Kandagatla > wrote: > > > > > > On 01/03/16 16:59, Andrey Smirnov wrote: > >> > >> Add 'nvmem-blob' driver, which allows to access device tree embedded > >> data via NVMEM subsystem API.

Re: [PATCH v2 0/6] ARM64: meson: GXBaby (S905) and Vega S95 enablement

2016-03-07 Thread Carlo Caione
On Wed, Mar 2, 2016 at 3:34 AM, Andreas Färber wrote: > Hello, > > This series adds initial support for the Amlogic S905 based > Tronsmart Vega S95 Pro, Meta and Telos TV boxes. Thank you for working on this. If there will be no more comments in the few next days I'll pick the whole series up. C

Re: ERROR: "isa_io_base" [sound/pci/vx222/snd-vx222.ko] undefined!

2016-03-07 Thread Tomi Valkeinen
On 06/03/16 14:38, kbuild test robot wrote: > Hi Nicolai, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 67944024c1cdd897e49a09b0d6af3ea38d1388ca > commit: 48fd8ecf29e3c1199432e173858f5ca4bc529738 frameb

Re: [PATCH] x86/entry: Improve system call entry comments

2016-03-07 Thread Ingo Molnar
* Andy Lutomirski wrote: > Ingo suggested that the comments should explain when the various > entries are used. This adds these explanations and improves other > parts of the comments. Thanks for doing this, this is really useful! One very small detail I noticed: > +/* > + * 32-bit legacy sy

Re: [RFC][PATCH v2 1/2] printk: Make printk() completely async

2016-03-07 Thread Jan Kara
On Sun 06-03-16 22:27:03, Sergey Senozhatsky wrote: > On (03/06/16 20:06), Tetsuo Handa wrote: > [..] > > > do you mean a new worker allocation delay and a MAYDAY timer delay? > > > > > > > I don't know what MAYDAY is. I'm talking about a situation where > > printing_work > > work item is not pr

Re: [PATCH v2] thermal: consistently use int for trip temp

2016-03-07 Thread Wei Ni
There had a build error in previous patch. Fixed it in this version. Please review it. Thanks. Wei. On 2016年03月03日 17:33, Wei Ni wrote: > The commit 17e8351a7739 consistently use int for temperature, > however it missed a few in trip temperature and thermal_core. > > In current codes, the trip->

Re: [PATCH] thermal: tegra_soctherm: fix sign bit of temperature

2016-03-07 Thread Wei Ni
Hi, Rui and Thierry Could you please take a look at this patch? Thanks. Wei. On 2016年03月03日 08:08, Matt Longnecker wrote: > > > On 03/01/2016 11:40 PM, Wei Ni wrote: >> >diff --git a/drivers/thermal/tegra_soctherm.c >> >b/drivers/thermal/tegra_soctherm.c >> >index 74ea5765938b..136975220c92 10

Re: [PATCH 2/4] nmi_backtrace: generate one-line reports for idle cpus

2016-03-07 Thread Daniel Thompson
On 01/03/16 23:01, Chris Metcalf wrote: (+PeterZ, Rafael, and Daniel Lezcano for cpuidle and scheduler) On 03/01/2016 09:23 AM, Daniel Thompson wrote: On 29/02/16 21:40, Chris Metcalf wrote: When doing an nmi backtrace of many cores, and most of them are idle, the output is a little overwhelmi

Re: [PATCH 1/3] Device tree binding documentation for gpio-switch

2016-03-07 Thread Markus Pargmann
On Wednesday 02 March 2016 10:03:27 Rob Herring wrote: > Reviving this thread... > > On Tue, Dec 15, 2015 at 3:09 AM, Markus Pargmann wrote: > > Hi, > > > > On Monday 14 December 2015 09:45:48 Rob Herring wrote: > >> On Mon, Dec 14, 2015 at 8:28 AM, Linus Walleij > >> wrote: > >> > On Fri, Dec

Re: [PATCH v5 0/5] Process Dell Instant Launch hotkey on Vostro V131 and Inspiron M5110

2016-03-07 Thread Pali Rohár
On Friday 04 March 2016 14:09:05 Michał Kępień wrote: > This patch series makes use of the API exported by dell-smbios, so it > should be applied to either testing or dell-smbios. > > Pali, I added your Reviewed-by/Acked-by tags to all patches except 4/5; > it is the last one awaiting your approva

Re: [PATCH 00/10] x86: Various SYSENTER/SYSEXIT/#DB fixes and cleanups

2016-03-07 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Mar 6, 2016 12:22 AM, "Ingo Molnar" wrote: > > > > > > * Andy Lutomirski wrote: > > > > > This series applies to the result of merging tip:x86/asm and > > > tip:x86/urgent. I've been testing on a somewhat bastardized base, > > > because tip currently doesn't work

Re: [PATCH] thermal: tegra_soctherm: fix sign bit of temperature

2016-03-07 Thread Thierry Reding
On Wed, Mar 02, 2016 at 04:08:33PM -0800, Matt Longnecker wrote: > > > On 03/01/2016 11:40 PM, Wei Ni wrote: > >>diff --git a/drivers/thermal/tegra_soctherm.c > >>b/drivers/thermal/tegra_soctherm.c > >>index 74ea5765938b..136975220c92 100644 > >>--- a/drivers/thermal/tegra_soctherm.c > >>+++ b/d

Re: [PATCH 2/2] isdn: i4l: move active-isdn drivers to staging

2016-03-07 Thread Paul Bolle
On vr, 2016-03-04 at 17:32 +0100, Arnd Bergmann wrote: > A third patch moves the capidrv source from drivers/isdn/capi/ > into the i4l directory. I see. Why exactly? Thanks, Paul Bolle

Re: [PATCH 1/2] drm/rockchip: dw_hdmi: Call drm_encoder_cleanup() in error path

2016-03-07 Thread Mark yao
On 2016年03月05日 20:39, Russell King - ARM Linux wrote: On Sat, Mar 05, 2016 at 12:11:16PM +, John Keeping wrote: On Fri, Mar 04, 2016 at 03:22:01PM -0800, Douglas Anderson wrote: The drm_encoder_cleanup() was missing both from the error path of dw_hdmi_rockchip_bind(). This caused a crash w

Re: [PATCH] thermal: tegra_soctherm: fix sign bit of temperature

2016-03-07 Thread Thierry Reding
On Mon, Feb 29, 2016 at 05:51:20PM +0800, Wei Ni wrote: > The sign bit of temperature readback is bit 0, not bit 1. > Change to BIT(0) to fix it. > > Signed-off-by: Wei Ni > --- > drivers/thermal/tegra_soctherm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/t

Re: [PATCH v3 0/8] i2c mux cleanup and locking update

2016-03-07 Thread Peter Rosin
On 2016-03-05 19:29, Wolfram Sang wrote: > >> Perhaps it's one to let sit into at least the next cycle (and get some >> testing >> on those media devices if we can) but, whilst it is fiddly the gains seen in >> individual drivers (like the example Peter put in response to the V4 series) >> make i

linux-next: Tree for Mar 7

2016-03-07 Thread Stephen Rothwell
Hi all, Changes since 20160304: The arm64 tree gained a conflict against Linus' tree. The crypto tree gained a conflict against the net-next tree. The block tree gained conflicts against Linus' tree and a build failure for which I applied a merge fix patch. The device-mapper tree lost its buil

Re: [PATCH v7 1/5] leds: core: add generic support for RGB LED's

2016-03-07 Thread Jacek Anaszewski
Hi Karl, On 03/06/2016 09:55 PM, Karl Palsson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Heiner Kallweit wrote: Add generic support for RGB LED's. Basic idea is to use enum led_brightness also for the hue and saturation color components.This allows to implement the color extension

Re: [PATCH] thermal: tegra_soctherm: fix sign bit of temperature

2016-03-07 Thread Wei Ni
On 2016年03月07日 16:38, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Mon, Feb 29, 2016 at 05:51:20PM +0800, Wei Ni wrote: >> The sign bit of temperature readback is bit 0, not bit 1. >> Change to BIT(0) to fix it. >> >> Signed-off-by: Wei Ni >> --- >> drivers/thermal/tegra_socth

Re: [PATCH 2/2] isdn: i4l: move active-isdn drivers to staging

2016-03-07 Thread Paul Bolle
On za, 2016-03-05 at 14:08 +0100, Tilman Schmidt wrote: > As a consequence, owners of HiSAX type adapters are in fact stuck with > the old hisax driver if they want to continue using i4l userspace > tools. Do you know whether or not mISDN tools offer functionality comparable to i4l tools? Paul B

Re: [PATCH 2/2] PM / clk: Add support for obtaining clocks from device-tree

2016-03-07 Thread Geert Uytterhoeven
Hi Jon, On Fri, Mar 4, 2016 at 4:33 PM, Jon Hunter wrote: > The PM clocks framework requires clients to pass either a con-id or a > valid clk pointer in order to add a clock to a device. Add a new > function pm_clk_add_clks_of() to allows device clocks to be retrieved > from device-tree and popul

Re: Kernel docs: muddying the waters a bit

2016-03-07 Thread Johannes Stezenbach
On Mon, Mar 07, 2016 at 12:29:08AM +0100, Johannes Stezenbach wrote: > On Sat, Mar 05, 2016 at 11:29:37PM -0300, Mauro Carvalho Chehab wrote: > > > > I converted one of the big tables to CSV. At least now it recognized > > it as a table. Yet, the table was very badly formated: > > > > https:/

[GIT PULL] overlayfs fixes for 4.5-rc7

2016-03-07 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-linus This contains overlayfs bug fixes. All marked as -stable material. Thanks, Miklos --- Konstantin Khlebnikov (3): ovl: fix working on distributed fs as lower layer ovl: igno

Re: [tip:mm/pkeys] mm/pkeys: Fix siginfo ABI breakage caused by new u64 field

2016-03-07 Thread Ingo Molnar
* Linus Torvalds wrote: > On Sat, Mar 5, 2016 at 8:52 AM, Peter Zijlstra wrote: > > On Sat, Mar 05, 2016 at 02:50:06PM +0100, Ingo Molnar wrote: > >> A more workable method would be to have a test .c file that includes all > >> UAPI > >> structures in existence and defines a variable out of ev

[PATCH v2 0/7] usb: add support for Intel dual role port mux

2016-03-07 Thread Lu Baolu
Intel SOC chips are featured with USB dual role. The host role is provided by Intel xHCI IP, and the gadget role is provided by IP from designware. Tablet platform designs always share a single port for both host and gadget controllers. There is a mux to switch the port to the right controller acco

[PATCH v2 1/7] extcon: usb-gpio: add device binding for platform device

2016-03-07 Thread Lu Baolu
This is needed to handle the GPIO connected USB ID pin found on Intel Baytrail devices. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi Acked-by: Chanwoo Choi --- drivers/extcon/extcon-usb-gpio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/extcon/extcon-usb-gpio.c b/dr

Re: [PATCH V11 0/4]perf/powerpc: Add ability to sample intr machine state in powerpc

2016-03-07 Thread Anju T
Hi, Any updates on this? On Saturday 20 February 2016 10:32 AM, Anju T wrote: This short patch series adds the ability to sample the interrupted machine state for each hardware sample. To test this patchset, Eg: $ perf record -I? # list supported registers output: available registers:

[PATCH v2 4/7] usb: mux: add driver for Intel gpio controlled port mux

2016-03-07 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controller. The shared port is under control of GPIO pins. This patch adds the support for USB GPIO controlled port mux. Signed-off-by: David Cohen Signed-off-by: Lu Baolu Reviewed-by: Heikki Krogerus Reviewed-by:

[PATCH v2 7/7] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-03-07 Thread Lu Baolu
Some Intel platforms have an USB port mux controlled by GPIOs. There's a single ACPI platform device that provides both USB ID extcon device and a USB port mux device. This MFD driver will split the 2 devices for their respective drivers. Signed-off-by: Lu Baolu Suggested-by: David Cohen Reviewe

[PATCH v2 5/7] usb: mux: add driver for Intel drcfg controlled port mux

2016-03-07 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. The mux is handled through the Dual Role Configuration Register. Signed-off-by: Heikki Krogerus Signed-off-by: Lu Baolu Signed-off-by: Wu Hao Reviewed-by: Felipe Ba

[PATCH v2 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-07 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. A usb port mux could be abstracted as the following elements: 1) mux state: HOST or PERIPHERAL; 2) an extcon cable which triggers the change of mux state between HO

[PATCH v2 2/7] extcon: usb-gpio: add support for ACPI gpio interface

2016-03-07 Thread Lu Baolu
GPIO resource could be retrieved through APCI as well. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi Acked-by: Chanwoo Choi --- drivers/extcon/extcon-usb-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-usb-gpio.c b/drivers/extcon/extcon-us

Re: [PATCH v6 17/17] scsi: ufs-qcom: add printouts of testbus debug registers

2016-03-07 Thread Gilad Broner
Reviewed-by: Gilad Broner > This change adds printouts of testbus and debug registers. > > Signed-off-by: Yaniv Gardi > > --- > drivers/scsi/ufs/ufs-qcom.c | 77 > + > drivers/scsi/ufs/ufs-qcom.h | 9 ++ > 2 files changed, 86 insertions(+) > > di

Re: [PATCH v6 16/17] scsi: ufs-qcom: enable/disable the device ref clock

2016-03-07 Thread Gilad Broner
Reviewed-by: Gilad Broner > This change enables the device ref clock before changing to HS mode > and disables it if entered to PWM mode. > > Signed-off-by: Yaniv Gardi > > --- > drivers/scsi/ufs/ufs-qcom.c | 12 > drivers/scsi/ufs/ufshcd.h | 9 + > 2 files changed, 21 i

[PATCH v2 6/7] usb: pci-quirks: add Intel USB drcfg mux device

2016-03-07 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controllers. The shared port is under control of a switch which is defined in the Intel vendor defined extended capability for xHCI. This patch adds the support to detect and create the platform device for the port mu

Re: [PATCH v6 15/17] scsi: ufs-qcom: set PA_Local_TX_LCC_Enable before link startup

2016-03-07 Thread Gilad Broner
Reviewed-by: Gilad Broner > Some UFS devices (and may be host) have issues if LCC is > enabled. So we are setting PA_Local_TX_LCC_Enable to 0 > before link startup which will make sure that both host > and device TX LCC are disabled once link startup is > completed. > > Signed-off-by: Yaniv Gardi

[PATCH V4 4/4] net-next: mediatek: add an entry to MAINTAINERS

2016-03-07 Thread John Crispin
Add myself and Felix as the Maintainers for the MediaTek ethernet driver. Signed-off-by: Felix Fietkau Signed-off-by: John Crispin --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9c4d157..b5293f3 100644 --- a/MAINTAINERS +++ b/MAINTA

Build regressions/improvements in v4.5-rc7

2016-03-07 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.5-rc7[1] compared to v4.4[2]. Summarized: - build errors: +13/-23 - build warnings: +175/-155 JFYI, when comparing v4.5-rc7[1] to v4.5-rc6[3], the summaries are: - build errors: +8/-7 - build warnings: +97/-48 Note t

RE: [PATCH] thermal: tegra_soctherm: fix sign bit of temperature

2016-03-07 Thread Zhang, Rui
For the soc thermal driver changes, you'd better cc Eduardo at the same time so that he can include this in his soc-thermal pull request. Surely I can queue this for 4.6 if Eduardo miss this. Thanks, rui > -Original Message- > From: Wei Ni [mailto:w...@nvidia.com] > Sent: Monday, March 0

Re: [PATCH v5 03/26] memory: omap-gpmc: Introduce GPMC to NAND interface

2016-03-07 Thread Roger Quadros
Hi Brian, On 05/03/16 03:35, Brian Norris wrote: > Hi Roger, > > On Fri, Feb 19, 2016 at 11:15:25PM +0200, Roger Quadros wrote: >> The OMAP GPMC module has certain registers dedicated for NAND >> access and some NAND bits mixed with other GPMC functionality. >> >> For the NAND dedicated registers

[PATCH V4 0/4] net-next: mediatek: add ethernet driver

2016-03-07 Thread John Crispin
This series adds support for the Mediatek ethernet core found on current ARM based SoCs. The driver works on MT2701 and MT7623 SoCs Instead of trying to upstream everything at once I decided to concentrate on the important parts required to make current generation silicon work. The V3 series only

[PATCH V4 3/4] net-next: mediatek: add Kconfig and Makefile

2016-03-07 Thread John Crispin
This patch adds the Makefile and Kconfig required to make the driver build. Signed-off-by: John Crispin --- drivers/net/ethernet/Kconfig |1 + drivers/net/ethernet/Makefile |1 + drivers/net/ethernet/mediatek/Kconfig | 17 + drivers/net/ethernet/medi

[PATCH V4 2/4] net-next: mediatek: add support for MT7623 ethernet

2016-03-07 Thread John Crispin
Add ethernet support for MediaTek SoCs from the MT7623 family. These have dual GMAC. Depending on the exact version, there might be a built-in Gigabit switch (MT7530). The core does not have the typical DMA ring setup. Instead there is a linked list that we add descriptors to. There is only one lin

[PATCH V4 1/4] net-next: mediatek: document MediaTek SoC ethernet binding

2016-03-07 Thread John Crispin
This adds the binding documentation for the MediaTek Ethernet controller. Signed-off-by: John Crispin Acked-by: Rob Herring Cc: devicet...@vger.kernel.org --- .../devicetree/bindings/net/mediatek-net.txt | 77 1 file changed, 77 insertions(+) create mode 100644 Doc

Re: Build regressions/improvements in v4.5-rc7

2016-03-07 Thread Geert Uytterhoeven
On Mon, Mar 7, 2016 at 9:55 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.5-rc7[1] to v4.5-rc6[3], the summaries are: > - build errors: +8/-7 + error: debugfs.c: undefined reference to `clk_round_rate': => .text+0x11b9e0) arm-randconfig While looking for more context, I noticed an

Re: [PATCH] iio: adc: imx25-gcq: fix do_div

2016-03-07 Thread Markus Pargmann
Hi, On Saturday 05 March 2016 18:43:11 Jonathan Cameron wrote: > On 03/03/16 12:51, Sudip Mukherjee wrote: > > We are getting build failure with tilepro allmodconfig with the error: > > > > drivers/iio/adc/fsl-imx25-gcq.c:236:4: note: in expansion of macro 'do_div' > > do_div(priv->channel_vref_m

Re: [PATCH v5 09/26] mtd: nand: omap: Clean up device tree support

2016-03-07 Thread Roger Quadros
On 05/03/16 04:28, Brian Norris wrote: > Sorry, another small thing I noticed. > > On Fri, Feb 19, 2016 at 11:15:31PM +0200, Roger Quadros wrote: >> Move NAND specific device tree parsing to NAND driver. >> >> The NAND controller node must have a compatible id, register space >> resource and inter

Re: [PATCH v5 09/26] mtd: nand: omap: Clean up device tree support

2016-03-07 Thread Roger Quadros
On 05/03/16 04:10, Brian Norris wrote: > A couple of sparse warnings. > > On Fri, Feb 19, 2016 at 11:15:31PM +0200, Roger Quadros wrote: >> Move NAND specific device tree parsing to NAND driver. >> >> The NAND controller node must have a compatible id, register space >> resource and interrupt reso

Re: [PATCH v5 17/26] mtd: nand: omap2: Implement NAND ready using gpiolib

2016-03-07 Thread Roger Quadros
+ Boris On 05/03/16 03:46, Brian Norris wrote: > + Boris > > On Fri, Feb 19, 2016 at 11:15:39PM +0200, Roger Quadros wrote: >> The GPMC WAIT pin status are now available over gpiolib. >> Update the omap_dev_ready() function to use gpio instead of >> directly accessing GPMC register space. >> >> S

Re: 4.4.3: OOPS when running "stress-ng --sock 5"

2016-03-07 Thread Holger Schurig
I compared my config with imx_v6_v7_defconfig which didn't segfault. After I turned on CONFIG_SWAP, my segfault vanished. I did turn off CONFIG_SWAP because my device only has SD-Card and eMMC. So I never intended to create a swap partition. And thought "why compile it in the kernel when I never

Re: [PATCH] hwmon: ina2xx: Add per-sensor label

2016-03-07 Thread Marc Titinger
On 03/03/2016 22:02, Anatol Pomozov wrote: From: Anatol Pomazau Some systems have a lot of power sensors and having an way to label sensor makes easier to use sensor information. Add dts property 'label' that is readable via device sysfs file 'label'. Hi Anatol and all, I haven't looked h

Re: [PATCH] thermal: tegra_soctherm: fix sign bit of temperature

2016-03-07 Thread Wei Ni
On 2016年03月07日 16:55, Zhang, Rui wrote: > For the soc thermal driver changes, you'd better cc Eduardo at the same time > so that he can include this in his soc-thermal pull request. > Surely I can queue this for 4.6 if Eduardo miss this. Thanks for your help. BTW, please add: Reviewed-by: Matt

Re: [PATCH 5/5] usb: gadget: f_midi: updated copyright

2016-03-07 Thread Felipe Ferreri Tonello
Hi Balbi, On 07/03/16 07:36, Felipe Balbi wrote: > > Hi, > > Felipe Ferreri Tonello writes: >> [ text/plain ] >> Hi Balbi, >> >> On March 4, 2016 7:13:05 AM GMT+00:00, Felipe Balbi wrote: >>> "Felipe F. Tonello" writes: [ text/plain ] Signed-off-by: Felipe F. Tonello >>> >>> no co

Re: [PATCH v5 17/26] mtd: nand: omap2: Implement NAND ready using gpiolib

2016-03-07 Thread Boris Brezillon
On Fri, 19 Feb 2016 23:15:39 +0200 Roger Quadros wrote: > The GPMC WAIT pin status are now available over gpiolib. > Update the omap_dev_ready() function to use gpio instead of > directly accessing GPMC register space. > > Signed-off-by: Roger Quadros Acked-by: Boris Brezillon > --- > .../d

[PATCH 1/1] dma-mapping: to avoid exception when cpu_addr is NULL

2016-03-07 Thread Zhen Lei
Do this to keep consistent with kfree, which tolerate ptr is NULL. Signed-off-by: Zhen Lei --- include/linux/dma-mapping.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index 75857cd..fdd4294 100644 --- a/include

Re: [PATCH 0/2] [media] exynos4-is: Trivial fixes for DT port/endpoint parse logic

2016-03-07 Thread Sylwester Nawrocki
Hi Javier, Krzysztof, On 03/05/2016 05:35 AM, Krzysztof Kozlowski wrote: > 2016-03-05 5:20 GMT+09:00 Javier Martinez Canillas : >> > Hello, >> > >> > This series have two trivial fixes for issues that I noticed while >> > reading as a reference the driver's functions that parse the graph >> > port

Re: [PATCH v2] arm64: dts: Add tmu node for exynos7

2016-03-07 Thread Alim Akhtar
Hi Krzysztof, On 03/07/2016 09:44 AM, Krzysztof Kozlowski wrote: On 26.02.2016 18:06, Alim Akhtar wrote: This patch adds tmu node, related temprature sensor and triping point data for Atlas cpu core found on exynos7 SoC. Signed-off-by: Alim Akhtar --- Changes since v1: * Addressed krzysztof's

Re: [PATCH v4 2/4] Documentation: Bindings: Add STM32 DWMAC glue

2016-03-07 Thread Alexandre Torgue
Hi Rob, 2016-03-05 5:31 GMT+01:00 Rob Herring : > On Fri, Mar 04, 2016 at 04:58:04PM +0100, Alexandre TORGUE wrote: >> Signed-off-by: Alexandre TORGUE >> >> diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.txt >> b/Documentation/devicetree/bindings/net/stm32-dwmac.txt >> new file m

Re: [PATCH 2/5] usb: gadget: f_midi: added spinlock on transmit function

2016-03-07 Thread Felipe Ferreri Tonello
Hi Balbi, On 07/03/16 07:32, Felipe Balbi wrote: > > Hi, > > (please break your lines at 80-characters, have a look at > Documentation/email-clients.txt if needed) > > Felipe Ferreri Tonello writes: >> [ text/plain ] >> Hi Balbi, >> >> On March 4, 2016 7:20:10 AM GMT+00:00, Felipe Balbi wrot

Re: [PATCH 0/2] ARM: uniphier: UniPhier updates for Linux 4.6-rc1 (2nd round)

2016-03-07 Thread Masahiro Yamada
Hi Olof and Arnd, I have two series for 4.6-rc1 that have not been applied yet. - ARM: uniphier: UniPhier updates for Linux 4.6-rc1 (2nd round) (this series) - ARM: dts: uniphier: UniPhier DT updates for Linux 4.6-rc1 (2nd round) I am getting uneasy because it is already -rc7. I hope you w

Re: [PATCH 4/5] usb: gadget: f_midi: cleanups and typos fixes

2016-03-07 Thread Felipe Ferreri Tonello
Hi Balbi, On 07/03/16 07:35, Felipe Balbi wrote: > > Hi, > > Felipe Ferreri Tonello writes: >> [ text/plain ] >> Hi Michal, >> >> On March 5, 2016 4:28:45 PM GMT+00:00, Michal Nazarewicz >> wrote: > On Wed, Mar 02 2016, Felipe F. Tonello wrote: >> @@ -16,7 +16,7 @@ >> * Copyr

Re: [PATCH v5 13/26] memory: omap-gpmc: Support general purpose input for WAITPINs

2016-03-07 Thread Boris Brezillon
Hi Roger, On Fri, 19 Feb 2016 23:15:35 +0200 Roger Quadros wrote: > OMAPs can have 2 to 4 WAITPINs that can be used as general purpose > input if not used for memory wait state insertion. > > The first user will be the OMAP NAND chip to get the NAND > read/busy status using gpiolib. Just a com

Re: [PATCH 1/2] Documentation: synopsys-dw-mshc: add binding for resets

2016-03-07 Thread Shawn Lin
Hi Jaehoon, On 2016/3/7 8:53, Jaehoon Chung wrote: Hi Goudong, On 03/06/2016 05:47 PM, Guodong Xu wrote: Add resets property to synopsys-dw-mshc bindings. It is intended to represent the hardware reset signal present internally in some host controller IC designs. See Documentation/devicetree/

Re: [PATCH 3/5] usb: gadget: gmidi: remove bus powered requirement on bmAttributes

2016-03-07 Thread Felipe Ferreri Tonello
Hi Balbi, On 07/03/16 07:34, Felipe Balbi wrote: > > Hi, > > Felipe Ferreri Tonello writes: >> [ text/plain ] >> Hi Balbi, >> >> On March 4, 2016 7:16:42 AM GMT+00:00, Felipe Balbi wrote: >>> >>> Hi, >>> >>> "Felipe F. Tonello" writes: [ text/plain ] This gadget uses a bmAttributes

Re: [PATCH v5 13/26] memory: omap-gpmc: Support general purpose input for WAITPINs

2016-03-07 Thread Boris Brezillon
On Mon, 7 Mar 2016 10:34:40 +0100 Boris Brezillon wrote: > Hi Roger, > > On Fri, 19 Feb 2016 23:15:35 +0200 > Roger Quadros wrote: > > > OMAPs can have 2 to 4 WAITPINs that can be used as general purpose > > input if not used for memory wait state insertion. > > > > The first user will be the

Re: [PATCH v2 4/5] mm, kswapd: replace kswapd compaction with waking up kcompactd

2016-03-07 Thread Vlastimil Babka
On 03/05/2016 12:25 AM, Andrew Morton wrote: On Wed, 2 Mar 2016 16:22:43 +0100 Vlastimil Babka wrote: On 03/02/2016 03:59 PM, Joonsoo Kim wrote: 2016-03-02 23:40 GMT+09:00 Vlastimil Babka : On 03/02/2016 03:22 PM, Joonsoo Kim wrote: So I understand that patch 5 would be just about this? -

Re: [PATCH v5 10/26] mtd: nand: omap: Update DT binding documentation

2016-03-07 Thread Roger Quadros
On 05/03/16 04:04, Brian Norris wrote: > On Fri, Feb 19, 2016 at 11:15:32PM +0200, Roger Quadros wrote: >> Add compatible id and interrupts. The NAND interrupts are >> provided by the GPMC controller node. >> >> Signed-off-by: Roger Quadros >> --- >> Documentation/devicetree/bindings/mtd/gpmc-nan

[PATCH v4 00/52] mtd: rework ECC layout definition

2016-03-07 Thread Boris Brezillon
Hello, This patchset aims at getting rid of the nand_ecclayout limitations. struct nand_ecclayout is defining fixed eccpos and oobfree arrays which can only be increased by modifying the MTD_MAX_ECCPOS_ENTRIES_LARGE and MTD_MAX_OOBFREE_ENTRIES_LARGE macros. This approach forces us to modify the ma

[PATCH v4 01/52] mtd: kill the ecclayout->oobavail field

2016-03-07 Thread Boris Brezillon
ecclayout->oobavail is just redundant with the mtd->oobavail field. Moreover, it prevents static const definition of ecc layouts since the NAND framework is calculating this value based on the ecclayout->oobfree field. Signed-off-by: Boris Brezillon --- drivers/mtd/devices/docg3.c

[PATCH v4 09/52] mtd: nand: fsl_ifc: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/fsl_ifc

[PATCH v4 11/52] mtd: nand: lpc32xx: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/lpc32xx

[PATCH v4 02/52] mtd: create an mtd_oobavail() helper and make use of it

2016-03-07 Thread Boris Brezillon
Currently, all MTD drivers/sublayers exposing an OOB area are doing the same kind of test to extract the available OOB size based on the mtd_info and mtd_oob_ops structures. Move this common logic into an inline function and make use of it. Signed-off-by: Boris Brezillon Suggested-by: Priit Laes

[PATCH v4 15/52] mtd: use mtd_set_ecclayout() where appropriate

2016-03-07 Thread Boris Brezillon
Use the mtd_set_ecclayout() helper instead of directly assigning the mtd->ecclayout field. Signed-off-by: Boris Brezillon --- drivers/mtd/mtdconcat.c | 2 +- drivers/mtd/mtdpart.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/mtdconcat.c b/drivers/mtd/mtdco

[PATCH v4 21/52] mtd: nand: implement the default mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Replace the default nand_ecclayout definitions for large and small page devices with the equivalent mtd_ooblayout_ops. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 148 --- include/linux/mtd/nand.h | 3 + 2 files changed, 99 inse

[PATCH v4 28/52] mtd: nand: cafe: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/cafe_nand.c | 44 1 file changed, 32 insertions(+), 12 deletions(-) diff --git a/drivers/mtd/nand

[PATCH v4 27/52] mtd: nand: brcm: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/brcmnand/brcmnand.c | 258 +-- 1 file changed, 157 insertions(+), 101 deletions(-) diff --git a/drivers/mtd/na

[PATCH v4 22/52] mtd: nand: bch: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Replace the nand_ecclayout definition by the equivalent mtd_ooblayout_ops definition. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_bch.c | 33 +++-- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/drivers/mtd/nand/nand_bch.c b/drivers/mtd/n

[PATCH v4 33/52] mtd: nand: fsl_elbc: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/fsl_elbc_nand.c | 83 +++- 1 file changed, 47 insertions(+), 36 deletions(-) diff --git a/drivers/mtd/nand

[PATCH v4 14/52] mtd: add mtd_set_ecclayout() helper function

2016-03-07 Thread Boris Brezillon
Add an mtd_set_ecclayout() helper function to avoid direct accesses to the mtd->ecclayout field. This will ease future reworks of ECC layout definition. Signed-off-by: Boris Brezillon --- include/linux/mtd/mtd.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/mtd/mtd.h b/

[PATCH v4 31/52] mtd: nand: diskonchip: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/diskonchip.c | 60 --- 1 file changed, 45 insertions(+), 15 deletions(-) diff --git a/drivers/mtd/nand

[PATCH v4 39/52] mtd: nand: jz4780: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon Tested-by: Harvey Hunt --- drivers/mtd/nand/jz4780_nand.c | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/drivers/mtd/nand

[PATCH v4 45/52] mtd: nand: sh_flctl: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/sh_flctl.c | 87 ++--- 1 file changed, 67 insertions(+), 20 deletions(-) diff --git a/drivers/mtd/nand

[PATCH v4 46/52] mtd: nand: sm_common: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/sm_common.c | 93 1 file changed, 77 insertions(+), 16 deletions(-) diff --git a/drivers/mtd/nand

[PATCH v4 44/52] mtd: nand: s3c2410: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/s3c2410.c | 32 +++- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/drivers/mtd/nand/s3c2410.c b/dr

[PATCH v4 37/52] mtd: nand: gpmi: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 52 ++ 1 file changed, 40 insertions(+), 12 deletions(-) diff --git a/drivers/mtd/nand

[PATCH v4 41/52] mtd: nand: mxc: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/mxc_nand.c | 212 ++-- 1 file changed, 105 insertions(+), 107 deletions(-) diff --git a/drivers/mtd/na

[PATCH v4 43/52] mtd: nand: pxa3xx: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/pxa3xx_nand.c | 104 + 1 file changed, 64 insertions(+), 40 deletions(-) diff --git a/drivers/mtd/nand

[PATCH v4 47/52] mtd: nand: sunxi: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/sunxi_nand.c | 114 +++--- 1 file changed, 52 insertions(+), 62 deletions(-) diff --git a/drivers/mtd/nand

[PATCH v4 49/52] mtd: onenand: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Modify the onenand drivers to switch to this approach. Signed-off-by: Boris Brezillon --- drivers/mtd/onenand/onenand_base.c | 162 ++--- include/linux/mtd/onenand

[PATCH v4 52/52] mtd: kill the nand_ecclayout struct

2016-03-07 Thread Boris Brezillon
Now that all MTD drivers have moved to the mtd_ooblayout_ops model we can safely remove the struct nand_ecclayout definition, and all the remaining places where it was still used. Signed-off-by: Boris Brezillon --- drivers/mtd/mtdchar.c | 12 ++--- drivers/mtd/mtdcore.c | 117

[PATCH v4 50/52] staging: mt29f_spinand: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Replace the nand_ecclayout definition by the equivalent mtd_ooblayout_ops definition. Signed-off-by: Boris Brezillon --- drivers/staging/mt29f_spinand/mt29f_spinand.c | 48 +-- 1 file changed, 30 insertions(+), 18 deletions(-) diff --git a/drivers/staging/mt29f_spinand/m

[PATCH v4 51/52] mtd: nand: kill the ecc->layout field

2016-03-07 Thread Boris Brezillon
Now that all NAND drivers have switch to mtd_ooblayout_ops, we can kill the ecc->layout field. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 7 --- drivers/mtd/nand/nand_bch.c | 9 - include/linux/mtd/nand.h | 2 -- 3 files changed, 18 deletions(-) diff --gi

[PATCH v4 48/52] mtd: nand: vf610: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/vf610_nfc.c | 34 -- 1 file changed, 4 insertions(+), 30 deletions(-) diff --git a/drivers/mtd/nand/vf610_nfc.

Re: [PATCH] mm: ZONE_DEVICE depends on SPARSEMEM_VMEMMAP

2016-03-07 Thread Vlastimil Babka
On 03/05/2016 01:42 AM, Dan Williams wrote: The primary use case for devm_memremap_pages() is to allocate an memmap array from persistent memory. That capabilty requires vmem_altmap which requires SPARSEMEM_VMEMMAP. Some if the ifdefs around to_vmem_altmap() could now be simplified, but that

  1   2   3   4   5   6   7   8   9   10   >