[PATCH v4 03/10] cleanup IORESOURCE_CACHEABLE vs ioremap()

2015-08-10 Thread Dan Williams
Quoting Arnd: I was thinking the opposite approach and basically removing all uses of IORESOURCE_CACHEABLE from the kernel. There are only a handful of them.and we can probably replace them all with hardcoded ioremap_cached() calls in the cases they are actually useful. All existin

[PATCH v4 08/10] pmem: convert to generic memremap

2015-08-10 Thread Dan Williams
Update memremap_pmem() to query the architecture for the mapping type of the given persistent memory range and then pass those flags to generic memremap(). arch_memremap_pmem_flags() is provided an address range to evaluate in the event an arch has a need for different mapping types by address ra

[PATCH v4 00/10] memremap for 4.3

2015-08-10 Thread Dan Williams
Changes since v3: [1] 1/ Include devm_memremap() support (Christoph) 2/ Rebase the series to defer the removal of ioremap_cache() and drop any of the ioremap_cache()-to-memremap() conversions that have yet to be acked by the appropriate maintainer. This avoids any potential for bisection

[PATCH v4 06/10] libnvdimm, pmem: push call to ioremap_cache out of line

2015-08-10 Thread Dan Williams
In preparation for deprecating ioremap_cache() push its usage into arch code where it deleted in a later globabl conversion of ioremap_cache() to arch_memremap(). Signed-off-by: Dan Williams --- arch/x86/include/asm/io.h |7 +-- arch/x86/mm/ioremap.c |6 ++ to

[PATCH v4 09/10] devres: add devm_memremap

2015-08-10 Thread Dan Williams
From: Christoph Hellwig Signed-off-by: Christoph Hellwig Signed-off-by: Dan Williams --- include/linux/io.h |4 kernel/memremap.c | 40 2 files changed, 44 insertions(+) diff --git a/include/linux/io.h b/include/linux/io.h index 3fcf6256c08

[PATCH v4 07/10] pmem: switch from ioremap_wt to memremap

2015-08-10 Thread Dan Williams
In preparation for deprecating ioremap_wt() convert its usage in the PMEM API to memremap. Acked-by: Ross Zwisler Signed-off-by: Dan Williams --- include/linux/pmem.h |2 +- tools/testing/nvdimm/Kbuild |4 ++-- tools/testing/nvdimm/test/iomap.c | 34

[PATCH v4 10/10] pmem: switch to devm_ allocations

2015-08-10 Thread Dan Williams
From: Christoph Hellwig Signed-off-by: Christoph Hellwig [djbw: tools/testing/nvdimm/ support] Signed-off-by: Dan Williams --- drivers/nvdimm/pmem.c | 36 + include/linux/pmem.h |6 ++--- tools/testing/nvdimm/Kbuild |4 ++- t

[PATCH v4 05/10] visorbus: switch from ioremap_cache to memremap

2015-08-10 Thread Dan Williams
In preparation for deprecating ioremap_cache() convert its usage in visorbus to memremap. Cc: Benjamin Romer Cc: David Kershner Acked-by: Greg Kroah-Hartman Signed-off-by: Dan Williams --- drivers/staging/unisys/visorbus/visorchannel.c | 16 +--- drivers/staging/unisys/visorbus/

[PATCH v4 04/10] arch: introduce memremap()

2015-08-10 Thread Dan Williams
Existing users of ioremap_cache() are mapping memory that is known in advance to not have i/o side effects. These users are forced to cast away the __iomem annotation, or otherwise neglect to fix the sparse errors thrown when dereferencing pointers to this memory. Provide memremap() as a non __io

[PATCH v4 01/10] mm: enhance region_is_ram() to region_intersects()

2015-08-10 Thread Dan Williams
region_is_ram() is used to prevent the establishment of aliased mappings to physical "System RAM" with incompatible cache settings. However, it uses "-1" to indicate both "unknown" memory ranges (ranges not described by platform firmware) and "mixed" ranges (where the parameters describe a range t

[PATCH v4 02/10] arch, drivers: don't include directly, use instead

2015-08-10 Thread Dan Williams
Preparation for uniform definition of ioremap, ioremap_wc, ioremap_wt, and ioremap_cache, tree-wide. Acked-by: Christoph Hellwig Signed-off-by: Dan Williams --- arch/arm/mach-shmobile/pm-rcar.c|2 +- arch/ia64/kernel/cyclone.c |2 +- drivers/isdn/icn/icn.h

Re: [PATCH v6 0/3] Add MediaTek display PWM driver

2015-08-10 Thread Daniel Kurtz
Thierry, I think these patches are ready. Will you please consider picking up in your pwm tree? -Dan On Mon, Aug 3, 2015 at 2:21 PM, YH Huang wrote: > On Fri, 2015-07-24 at 17:10 +0800, YH Huang wrote: >> On Fri, 2015-07-24 at 10:42 +0200, Matthias Brugger wrote: >> > On Monday, July 20, 2015

Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-08-10 Thread Kent Overstreet
On Mon, Aug 10, 2015 at 10:41:55PM -0400, Mike Snitzer wrote: > On Mon, Aug 10 2015 at 10:00pm -0400, > Martin K. Petersen wrote: > > > > "Ming" == Ming Lin writes: > > > > Ming> Did you mean still use (UINT_MAX >> 9) in blkdev_issue_discard()? > > > > Ming> But that doesn't work for dm-th

Re: [PATCH] net: Unbreak resetting default values for tcp_wmem/udp_wmem_min

2015-08-10 Thread Calvin Owens
On Sunday 08/09 at 22:41 -0700, David Miller wrote: > From: Calvin Owens > Date: Wed, 5 Aug 2015 13:26:54 -0700 > > > Commit 8133534c760d4083 ("net: limit tcp/udp rmem/wmem to > > SOCK_{RCV,SND}BUF_MIN") modified four sysctls to enforce that the values > > written to them are not less than SOCK_M

Re: [PATCH v2 bluetooth-next] cc2520: set the default fifo pin value from platform data

2015-08-10 Thread Varka Bhadram
On 08/11/2015 08:13 AM, sdliy...@gmail.com wrote: From: Yong Li When the device tree support is disabled, the fifo_pin is uninitialized, this patch will set the fifo_pin value based on platform data Signed-off-by: Yong Li Acked-by: Varka Bhadram --- drivers/net/ieee802154/cc2520.c | 1

Re: [PATCHv2 6/8] serial: imx: add runtime pm support

2015-08-10 Thread Fabio Estevam
On Mon, Aug 10, 2015 at 10:35 PM, Eduardo Valentin wrote: > static int imx_poll_get_char(struct uart_port *port) > { > - if (!(readl_relaxed(port->membase + USR2) & USR2_RDR)) > - return NO_POLL_CHAR; > + int ret; > + > + pm_runtime_get_sync(sport->dev); > +

Re: [PATCH] regmap: Move documentation to regmap.h

2015-08-10 Thread Nicolas Boichat
Hi Mark, On Wed, Jul 8, 2015 at 6:32 PM, Nicolas Boichat wrote: > Init functions defined in regmap*.c files are now prefixed with > __, take lockdep key and class parameters, and should not be > called directly: move the documentation to regmap.h, where the > macros are defined. > > Signed-off-by

Re: [PATCH] surface pro 3: Add support driver for Surface Pro 3 buttons

2015-08-10 Thread Darren Hart
On Thu, Aug 06, 2015 at 11:55:29AM -0700, Joe Perches wrote: > On Wed, 2015-08-05 at 16:47 -0700, Darren Hart wrote: > > On Thu, Aug 06, 2015 at 11:20:44AM +, Chen, Yu C wrote: > [] > > > Is it ok to keep these codes and add comments like: > > It's your code Yu, do whatever you think appropria

RE: [PATCH v2] staging: fsl-mc: add DPAA2 overview readme

2015-08-10 Thread Stuart Yoder
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Sunday, August 09, 2015 9:25 AM > To: Yoder Stuart-B08248; gre...@linuxfoundation.org; Rivera Jose-B46482; katz > Itai-RM05202 > Cc: de...@driverdev.osuosl.org; linux-kernel@vger.kernel.org; a...@arndb.de > Subjec

Re: [PATCH v2 4/5] ARM: berlin: add a PWM node on the BG2

2015-08-10 Thread Jisheng Zhang
Dear Sebastian, On Mon, 10 Aug 2015 21:51:44 +0200 Sebastian Hesselbarth wrote: > On 30.07.2015 11:23, Antoine Tenart wrote: > > This patch adds a PWM node in the Berlin BG2 device tree, using the > > newly added Berlin PWM driver. > > > > Signed-off-by: Antoine Tenart > > --- > > arch/arm/bo

Re: [PATCH 2/3] ARM: berlin: register cpufreq-dt for the BG2Q

2015-08-10 Thread Jisheng Zhang
Dear Sebastian, On Mon, 10 Aug 2015 22:22:44 +0200 Sebastian Hesselbarth wrote: > On 31.07.2015 08:16, Jisheng Zhang wrote: > > On Thu, 30 Jul 2015 14:35:51 +0200 > > Antoine Tenart wrote: > > > >> The BG2Q SoC uses cpufreq-dt for cpufreq. Register a platform device for > >> this. > >> > >> Sig

Re: [PATCH 7/9] perf report: Add support for srcfile sort key

2015-08-10 Thread Namhyung Kim
On Mon, Aug 10, 2015 at 05:56:31PM -0300, Arnaldo Carvalho de Melo wrote: > From: Andi Kleen > > In some cases it's useful to characterize samples by file. This is > useful to get a higher level categorization, for example to map cost to > subsystems. > > Add a srcfile sort key to perf report. I

Re: [PATCH] [v2] surface pro 3: Add support driver for Surface Pro 3 buttons

2015-08-10 Thread Darren Hart
On Fri, Aug 07, 2015 at 08:48:18AM +, Chen, Yu C wrote: > On Fri, 2015-08-07 at 01:27 -0700, Joe Perches wrote: > > On Fri, 2015-08-07 at 15:57 +0800, Chen Yu wrote: > > \ > > > + ret;\ > > > +}) > > > > Thi

[PATCH v2 bluetooth-next] cc2520: set the default fifo pin value from platform data

2015-08-10 Thread sdliyong
From: Yong Li When the device tree support is disabled, the fifo_pin is uninitialized, this patch will set the fifo_pin value based on platform data Signed-off-by: Yong Li --- drivers/net/ieee802154/cc2520.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ieee802154/cc2520.c b/

Re: [spi:topic/mtk 2/2] drivers/spi/spi-mt65xx.c:362:24: sparse: incorrect type in argument 1 (different base types)

2015-08-10 Thread lei liu
Hello Mark, On Fri, 2015-08-07 at 22:33 +0800, kbuild test robot wrote: > tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi topic/mtk > head: a568231f463225eb31593f71446a267a03ae0528 > commit: a568231f463225eb31593f71446a267a03ae0528 [2/2] spi: mediatek: Add spi > bus for Mediat

Re: [PATCH] perf, tools, report: Add support for srcfile sort key

2015-08-10 Thread Namhyung Kim
On Mon, Aug 10, 2015 at 05:37:40PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Aug 10, 2015 at 03:32:47PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Aug 10, 2015 at 01:12:41PM -0300, Arnaldo Carvalho de Melo escreveu: > > > (gdb) fr 2 > > > #2 0x004bb812 in sort__srcline_cm

Re: [PATCH V1 Resend 04/11] drivers: md: Drop unlikely before IS_ERR(_OR_NULL)

2015-08-10 Thread Mike Snitzer
On Mon, Aug 10 2015 at 9:42pm -0400, Viresh Kumar wrote: > On 10-08-15, 16:05, Mike Snitzer wrote: > > On Mon, Aug 10 2015 at 2:12am -0400, > > Viresh Kumar wrote: > > > > > IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there > > > is no need to do that again from its calle

Re: [PATCH] arm64: dts: Add base stratix 10 dtsi

2015-08-10 Thread Jisheng Zhang
On Mon, 10 Aug 2015 16:09:18 -0500 wrote: > From: Dinh Nguyen > > Add the base DTS for Altera's SoCFPGA Stratix 10 platform. > > Signed-off-by: Dinh Nguyen > --- > arch/arm64/Kconfig | 5 + > arch/arm64/boot/dts/Makefile | 1 + > arch

Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-08-10 Thread Mike Snitzer
On Mon, Aug 10 2015 at 10:00pm -0400, Martin K. Petersen wrote: > > "Ming" == Ming Lin writes: > > Ming> Did you mean still use (UINT_MAX >> 9) in blkdev_issue_discard()? > > Ming> But that doesn't work for dm-thinp. See Kent's suggestion to use > Ming> 1<<31. > > I'm not sure why things

Re: [PATCH 2/6] PM / OPP: restructure _of_init_opp_table_v2()

2015-08-10 Thread Viresh Kumar
On 10-08-15, 17:31, Stephen Boyd wrote: > I am not insisting anything. But another patch to get rid of the > goto sounds fine. The separate patch to kill goto. -8<- Message-Id: <9f9b9ea6ea3685d5f71c132e7efb18917253961f.1439260355.git.viresh.ku...@lina

[RFC V2] bmac:change to use bitrev8() generic function

2015-08-10 Thread yalin wang
This change to use generic bitrev8() for bmac driver. Signed-off-by: yalin wang --- drivers/net/ethernet/apple/bmac.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/net/ethernet/apple/bmac.c b/drivers/net/ethernet/apple/bmac.c index a65d7a6..7f7a3

[PATCH v1] usb: dwc2: reset AHB hclk domain before init

2015-08-10 Thread Yunzhi Li
We initiate dwc2 usb controller in BIOS, when kernel driver start-up we should reset AHB hclk domain to reset all AHB interface registers to default. Without this the FIFO value setting might be incorrect because calculating FIFO size need the power-on value of GRXFSIZ/GNPTXFSIZ/HPTXFSIZ registers.

Re: [PATCH 2/6] PM / OPP: restructure _of_init_opp_table_v2()

2015-08-10 Thread Viresh Kumar
On 10-08-15, 17:31, Stephen Boyd wrote: > So ret is 0. I thought it was an error path, but I guess this is a > warning path and we return 0 still? Urg .. -8<- Message-Id: From: Viresh Kumar Date: Tue, 4 Aug 2015 11:57:36 +0530 Subject: [PATCH] P

Re: [PATCH v2 1/2] perf hists browser: Support horizontal scrolling with '<' and '>' key

2015-08-10 Thread Namhyung Kim
On Mon, Aug 10, 2015 at 08:14:45PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Aug 11, 2015 at 01:02:56AM +0200, Jiri Olsa escreveu: > > On Mon, Aug 10, 2015 at 07:58:22PM -0300, Arnaldo Carvalho de Melo wrote: > > > SNIP > > > > > it'd really help for perf mem output, which is quite wide.

Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform

2015-08-10 Thread Krzysztof Kozlowski
On 10.08.2015 10:27, Kukjin Kim wrote: > Krzysztof Kozlowski wrote: >> >> W dniu 08.08.2015 o 11:07, Viresh Kumar pisze: >>> On 08-08-15, 00:24, Rafael J. Wysocki wrote: OK, so please let me know which patches you want me to pick up. Ideally, I'd prefer them to be resent in a separat

[PATCH] ARM: exynos_defconfig: Enable cpufreq-dt driver

2015-08-10 Thread Krzysztof Kozlowski
With the latest patches the cpufreq-dt can be used on multiple Exynos SoCs: 3250, 4210, 4212, 4412 and 5250. Enable it along with default ondemand governor to conserve the energy, reduce temperature while maintaining acceptable performance. Signed-off-by: Krzysztof Kozlowski --- arch/arm/config

Re: [PATCH v2 1/2] perf hists browser: Support horizontal scrolling with '<' and '>' key

2015-08-10 Thread Namhyung Kim
Hi Arnaldo, On Mon, Aug 10, 2015 at 07:58:22PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Aug 11, 2015 at 12:46:03AM +0200, Jiri Olsa escreveu: > > On Mon, Aug 10, 2015 at 12:50:04PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Sun, Aug 09, 2015 at 01:21:39PM +0200, Jiri Olsa escreveu: >

Re: [RFCv5 PATCH 38/46] sched: scheduler-driven cpu frequency selection

2015-08-10 Thread Leo Yan
On Tue, Jul 07, 2015 at 07:24:21PM +0100, Morten Rasmussen wrote: > From: Michael Turquette > > Scheduler-driven cpu frequency selection is desirable as part of the > on-going effort to make the scheduler better aware of energy > consumption. No piece of the Linux kernel has a better view of the

RE: [PATCH] igb: Fix a memory leak in igb_probe

2015-08-10 Thread Brown, Aaron F
> From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Jia-Ju Bai > Sent: Wednesday, August 05, 2015 7:05 AM > To: Kirsher, Jeffrey T; Brandeburg, Jesse > Cc: intel-wired-...@lists.osuosl.org; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; Jia-Ju Bai > S

Re: [GIT PULL] MODSIGN: Use PKCS#7 for module signatures [ver #7]

2015-08-10 Thread David Howells
James Morris wrote: > On Mon, 10 Aug 2015, David Howells wrote: > > > James Morris wrote: > > > > > I get a build failure: > > > > > > HOSTCC scripts/sign-file > > > scripts/sign-file.c:20:25: error: openssl/bio.h: No such file or directory > > > > > > followed by many lines of error. > >

RE: [Intel-wired-lan] [PATCH 1/2] igb: Teardown SR-IOV before unregister_netdev()

2015-08-10 Thread Brown, Aaron F
> From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On > Behalf Of Alex Williamson > Sent: Monday, July 27, 2015 4:19 PM > To: intel-wired-...@lists.osuosl.org; Kirsher, Jeffrey T > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH 1/

RE: [PATCH] igb: Fix a deadlock in igb_sriov_reinit

2015-08-10 Thread Brown, Aaron F
> From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Jia-Ju Bai > Sent: Sunday, August 02, 2015 8:36 PM > To: Kirsher, Jeffrey T; Brandeburg, Jesse > Cc: intel-wired-...@lists.osuosl.org; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; Jia-Ju Bai > Subj

Re: [RFC] bmac:change to use bitrev8() generic function

2015-08-10 Thread yalin wang
> On Aug 10, 2015, at 20:02, David Laight wrote: > >> From: Tobias Klauser >> Sent: 10 August 2015 12:49 >> On 2015-08-10 at 11:53:41 +0200, yalin wang wrote: >>> This change to use generic bitrev8() for bmac driver. > ... >>> @@ -871,7 +860,7 @@ bmac_addhash(struct bmac_data *bp, unsigned char

Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-08-10 Thread Martin K. Petersen
> "Ming" == Ming Lin writes: Ming> Did you mean still use (UINT_MAX >> 9) in blkdev_issue_discard()? Ming> But that doesn't work for dm-thinp. See Kent's suggestion to use Ming> 1<<31. I'm not sure why things are not working for dm-thinp. Presumably Kent's code would split the discard at a

[PATCH v2] net/fddi: remove HWM_REVERSE() macro

2015-08-10 Thread yalin wang
HWM_REVERSE() macro is unused, remove it. Signed-off-by: yalin wang --- drivers/net/fddi/skfp/h/hwmtm.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/net/fddi/skfp/h/hwmtm.h b/drivers/net/fddi/skfp/h/hwmtm.h index 5924d42..4ca2341 100644 --- a/drivers/net/fddi/skfp/h/hw

Re: [PATCH] pinctrl: mediatek: Implement pictrl irq wake handler

2015-08-10 Thread Hongzhou Yang
On Mon, 2015-08-10 at 14:43 +0200, Linus Walleij wrote: > On Wed, Jul 29, 2015 at 11:36 AM, wrote: > > > From: Maoguang Meng > > > > This patch implement irq_set_wake for suspend resume. > > > > Signed-off-by: Maoguang Meng > > Hongzhou/Yingjoe: are you OK with this patch? Can I have your ACK

Re: [PATCH V1 Resend 04/11] drivers: md: Drop unlikely before IS_ERR(_OR_NULL)

2015-08-10 Thread Viresh Kumar
On 10-08-15, 16:05, Mike Snitzer wrote: > On Mon, Aug 10 2015 at 2:12am -0400, > Viresh Kumar wrote: > > > IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there > > is no need to do that again from its callers. Drop it. > > > > Signed-off-by: Viresh Kumar > > I picked this up

Re: [PATCH] net/fddi:change HWM_REVERSE() macro

2015-08-10 Thread yalin wang
> On Aug 11, 2015, at 00:36, Joe Perches wrote: > > On Tue, 2015-08-11 at 00:14 +0800, yalin wang wrote: >> HWM_REVERSE > > Is unused and it would be better if removed. > ok, i will send V2 patch . -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mes

Re: [PATCH] isdn:remove reverse_bits(), use revbit8()

2015-08-10 Thread yalin wang
> On Aug 11, 2015, at 05:30, David Miller wrote: > > From: yalin wang > Date: Mon, 10 Aug 2015 17:15:57 +0800 > >> This change isdn driver, remove reverse_bits() function, >> use the generic revbit8() function instead. >> >> Signed-off-by: yalin wang > > Applied, however please format your

[RFC PATCH] mmc: sdhci-of-arasan: Add the support for sdhci-5.1

2015-08-10 Thread Shawn Lin
This patch adds the quirks and compatible string in sdhci-of-arasan.c to support sdhci-arasan5.1 version of controller. No documented controller IP version is found in the TRM, so we use ths version of command queueing engine integrated into this controller by arasan to specify our controller. Sig

[PATCHv2 0/8] serial: imx: rework pm support and add runtime pm

2015-08-10 Thread Eduardo Valentin
Hello all, This is version 2 of a patch series to introduce runtime pm in the imx serial driver. The difference now is that it is rebased on top of linux-next, given that some of the work done in v1 was already sent. Here is the link of v1: http://marc.info/?l=linux-pm&m=143914435605790&w=2 As

[PATCHv2 2/8] serial: imx: introduce serial_imx_enable_wakeup()

2015-08-10 Thread Eduardo Valentin
This change is a code reorganization. Here we introduce serial_imx_enable_wakeup() helper function to do the job of configuring and preparing wakeup sources on imx serial device. The idea is to allow other parts of the code to call this function whenever the device is known to go to idle. Cc: Fabi

[PATCHv2 5/8] serial: imx: add a flag to indicate we are in the suspend path

2015-08-10 Thread Eduardo Valentin
This is a simple flag that gets set across prepare and complete callbacks in the suspend path. We the flag we may avoid runtime pm idling at the same time. Cc: Fabio Estevam Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ed

[PATCHv2 4/8] serial: imx: save and restore context in the suspend path

2015-08-10 Thread Eduardo Valentin
This change teaches the imx serial driver to save its context and restore it across suspend and resume path. To do so, it introduces serial_imx_restore_context() and serial_imx_save_context() functions. They use a shadow set of registers to save key registers and restore them accordingly. These fun

[PATCHv2 7/8] serial: imx: add pm_qos request

2015-08-10 Thread Eduardo Valentin
This change introduces pm_qos requests in the imx serial driver. The idea is to skip deeper C-state in case we need a strict latency requirement in the uart port. The latency is computed based on the buffer size and the current baud rate. We schedule a work queue to set the pm qos requirement. Cc:

[PATCHv2 3/8] serial: imx: allow waking up on RTSD

2015-08-10 Thread Eduardo Valentin
This patch sets RTSDEN bit when going into idle (Stop mode). We add the RTSDEN for the case RTS is sent from the remote connection. This way we allow the system to wakeup when RTS is received. Cc: Fabio Stevam Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org Cc: linux-kern

[PATCHv2 6/8] serial: imx: add runtime pm support

2015-08-10 Thread Eduardo Valentin
This change introduces the runtime pm support on imx serial driver. The objective is to be able to idle the uart port whenever it is not in use while still being able to wake it up when needed. The key changes in this patch are: 1. Move the clock handling to runtime pm. Both, ipg and per, are now h

[PATCHv2 8/8] serial: imx: use SET_*SYSTEM_PM_OPS helper functions

2015-08-10 Thread Eduardo Valentin
Instead of setting manually each field, use the helper functions provided by the PM subsystem. Signed-off-by: Eduardo Valentin --- drivers/tty/serial/imx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 5053c8

[PATCHv2 1/8] serial: imx: remove unbalanced clk_prepare

2015-08-10 Thread Eduardo Valentin
The current code attempts to prepare clk_per and clk_ipg before using the device. However, the result is an extra prepare call on each clock. Here is the output of uart clocks (only uart enabled and used as console): $ grep uart /sys/kernel/debug/clk/clk_summary uart_serial 1

[PATCH net] netconsole: Check for carrier before calling netpoll_send_udp()

2015-08-10 Thread Jon Maxwell
We have seen a few crashes recently where a NIC is getting reset for some reason and then the driver or another module calls printk() which invokes netconsole. Netconsole then calls the adapter specific poll routine via netpoll which crashes because the adapter is resetting and its structures are

Re: [Question] lockdep: Is nested lock handled correctly?

2015-08-10 Thread Boqun Feng
Hi Peter, On Mon, Aug 10, 2015 at 04:24:17PM +0200, Peter Zijlstra wrote: > On Mon, Aug 10, 2015 at 09:49:24PM +0800, Boqun Feng wrote: > > Though I don't want to have a locking order like that either, we can't > > stop others from using that order(maybe a good design review will) and > > lockd

Re: [PATCH] mmc: sdhci-of-arasan: Add the support for sdhci-5.1

2015-08-10 Thread Shawn Lin
On 2015/8/11 9:14, Shawn Lin wrote: This patch adds the quirks and compatible string in sdhci-of-arasan.c to support sdhci-arasan5.1 version of controller. Sorry for wrong send-email ops, pls ignore this patch :( Signed-off-by: Shawn Lin --- Documentation/devicetree/bindings/mmc/arasan,s

[PATCH 1/2] f2fs: increase the number of max hard links

2015-08-10 Thread Jaegeuk Kim
This patch increases the number of maximum hard links for one file. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 3884794..f18d31e 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -321,7

[PATCH 2/2] f2fs: skip checkpoint if there is no dirty segments

2015-08-10 Thread Jaegeuk Kim
We should avoid wrong checkpoints when there is no dirty segments. Signed-off-by: Jaegeuk Kim --- fs/f2fs/gc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c index fcb263a..c4ed116 100644 --- a/fs/f2fs/gc.c +++ b/fs/f2fs/gc.c @@ -809,13 +809,

[PATCH] mmc: sdhci-of-arasan: Add the support for sdhci-5.1

2015-08-10 Thread Shawn Lin
This patch adds the quirks and compatible string in sdhci-of-arasan.c to support sdhci-arasan5.1 version of controller. Signed-off-by: Shawn Lin --- Documentation/devicetree/bindings/mmc/arasan,sdhci.txt | 2 +- drivers/mmc/host/sdhci-of-arasan.c | 4 2 files changed, 5

Re: [PATCH] sched/numa: Fix NUMA_DIRECT topology identification

2015-08-10 Thread Rik van Riel
On 08/10/2015 09:20 PM, Aravind Gopalakrishnan wrote: > Systems which have all nodes at a distance of at most > 1 hop should be identified as 'NUMA_DIRECT'. > > However, the scheduler incorrectly identifies it as > 'NUMA_BACKPLANE'. This is because 'n' is assigned to > sched_max_numa_distance but

Re: [Bugfix] x86, irq: Fix a regression caused by commit b5dc8e6c21e7

2015-08-10 Thread Jiang Liu
On 2015/8/10 23:00, Alex Deucher wrote: > On Sun, Aug 9, 2015 at 4:15 AM, Jiang Liu wrote: >> Alex Deucher, Mark Rustad and Alexander Holler reported a regression >> with the latest v4.2-rc4 kernel, which breaks some SATA controllers. >> With multi-MSI capable SATA controllers, only the first port

[PATCH] sched/numa: Fix NUMA_DIRECT topology identification

2015-08-10 Thread Aravind Gopalakrishnan
Systems which have all nodes at a distance of at most 1 hop should be identified as 'NUMA_DIRECT'. However, the scheduler incorrectly identifies it as 'NUMA_BACKPLANE'. This is because 'n' is assigned to sched_max_numa_distance but the code (mis)interprets it to mean 'number of hops'. Rik had act

Re: [GIT PULL] MODSIGN: Use PKCS#7 for module signatures [ver #7]

2015-08-10 Thread James Morris
On Mon, 10 Aug 2015, David Howells wrote: > James Morris wrote: > > > I get a build failure: > > > > HOSTCC scripts/sign-file > > scripts/sign-file.c:20:25: error: openssl/bio.h: No such file or directory > > > > followed by many lines of error. > > What openssl do you have installed and d

[PATCH v2 2/2] net, thunder, bgx: Add support to get MAC address from ACPI.

2015-08-10 Thread David Daney
From: David Daney Currently there is no way to get the MAC address in a firmware independent manner, so set the MAC address of the device directly from the ACPI tables. The binding agrees with the proposed standard here: http://www.uefi.org/sites/default/files/resources/nic-request-v2.pdf Base

[PATCH v2 1/2] net: thunder: Factor out DT specific code in BGX

2015-08-10 Thread David Daney
From: Robert Richter Separate DT code in preparation for follow-on ACPI integration. Based on code from: Tomasz Nowicki Signed-off-by: Robert Richter Signed-off-by: David Daney --- drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 48 +-- 1 file changed, 35 insertions(

[PATCH v2 0/2] net: thunder: Add ACPI support.

2015-08-10 Thread David Daney
From: David Daney Change from v1: Drop PHY binding part, use fwnode_property* APIs. The first patch (1/2) rearranges the existing code a little with no functional change to get ready for the second. The second (2/2) does the actual work of adding support to extract the needed information from

[PATCH v8 5/7] arm64: Add trampoline code for kretprobes

2015-08-10 Thread David Long
From: William Cohen The trampoline code is used by kretprobes to capture a return from a probed function. This is done by saving the registers, calling the handler, and restoring the registers. The code then returns to the original saved caller return address. It is necessary to do this direct

[PATCH v8 6/7] arm64: Add kernel return probes support (kretprobes)

2015-08-10 Thread David Long
From: Sandeepa Prabhu The pre-handler of this special 'trampoline' kprobe executes the return probe handler functions and restores original return address in ELR_EL1. This way the saved pt_regs still hold the original register context to be carried back to the probed kernel function. Signed-off-

[PATCH v8 4/7] arm64: kprobes instruction simulation support

2015-08-10 Thread David Long
From: Sandeepa Prabhu Kprobes needs simulation of instructions that cannot be stepped from different memory location, e.g.: those instructions that uses PC-relative addressing. In simulation, the behaviour of the instruction is implemented using a copy of pt_regs. Following instruction catagorie

[PATCH v8 3/7] arm64: Kprobes with single stepping support

2015-08-10 Thread David Long
From: Sandeepa Prabhu Add support for basic kernel probes(kprobes) and jump probes (jprobes) for ARM64. Kprobes utilizes software breakpoint and single step debug exceptions supported on ARM v8. A software breakpoint is placed at the probe address to trap the kernel execution into the kprobe ha

[PATCH v8 7/7] kprobes: Add arm64 case in kprobe example module

2015-08-10 Thread David Long
From: Sandeepa Prabhu Add info prints in sample kprobe handlers for ARM64 Signed-off-by: Sandeepa Prabhu --- samples/kprobes/kprobe_example.c | 8 1 file changed, 8 insertions(+) diff --git a/samples/kprobes/kprobe_example.c b/samples/kprobes/kprobe_example.c index 366db1a..51d459c 1

[PATCH v8 2/7] arm64: Add more test functions to insn.c

2015-08-10 Thread David Long
From: "David A. Long" Certain instructions are hard to execute correctly out-of-line (as in kprobes). Test functions are added to insn.[hc] to identify these. The instructions include any that use PC-relative addressing, change the PC, or change interrupt masking. For efficiency and simplicity

[PATCH v8 0/7] arm64: Add kernel probes (kprobes) support

2015-08-10 Thread David Long
From: "David A. Long" This patchset is heavily based on Sandeepa Prabhu's ARM v8 kprobes patches, first seen in October 2013. This version attempts to address concerns raised by reviewers and also fixes problems discovered during testing. This patchset adds support for kernel probes(kprobes), ju

[PATCH v8 1/7] arm64: Add HAVE_REGS_AND_STACK_ACCESS_API feature

2015-08-10 Thread David Long
From: "David A. Long" Add HAVE_REGS_AND_STACK_ACCESS_API feature for arm64. Signed-off-by: David A. Long --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/ptrace.h | 25 + arch/arm64/kernel/ptrace.c | 77 + 3 files chang

Re: [PATCH v3 3/3] Documentation/filesystems/proc.txt: document hugetlb RSS

2015-08-10 Thread David Rientjes
On Mon, 10 Aug 2015, Naoya Horiguchi wrote: > diff --git v4.2-rc4.orig/Documentation/filesystems/proc.txt > v4.2-rc4/Documentation/filesystems/proc.txt > index 6f7fafde0884..cb8565e150ed 100644 > --- v4.2-rc4.orig/Documentation/filesystems/proc.txt > +++ v4.2-rc4/Documentation/filesystems/proc.tx

[PATCH v2] sched: sync with the prev cfs when changing cgroup within a cpu

2015-08-10 Thread byungchul . park
From: Byungchul Park change from v1 to v2 * use #ifdef CONFIG_SMP to load tracking code * make commit message compact which made confused ->8- >From 02edcf69369bed72916304b449b82a74029ea908 Mon Sep 17 00:00:00 2001 From: Byungchul Park Date: Tue, 11 Aug 2015 09:30:17 +0900 Subject: [PAT

Re: [PATCH v1 7/7] ARM: dts: ifc6410: add inforce LVDS panel support

2015-08-10 Thread Rob Clark
On Mon, Aug 10, 2015 at 7:25 PM, Bjorn Andersson wrote: > On Tue 28 Jul 05:54 PDT 2015, Srinivas Kandagatla wrote: > >> This patch adds LVDS panel for IFC6410. >> > > My ifc6410 doesn't have a LVDS display, so I don't think these nodes > belong in this dts file. fwiw, my hope was that we could im

Re: [PATCH v2 1/2] smaps: fill missing fields for vma(VM_HUGETLB)

2015-08-10 Thread David Rientjes
On Fri, 7 Aug 2015, Naoya Horiguchi wrote: > Currently smaps reports many zero fields for vma(VM_HUGETLB), which is > inconvenient when we want to know per-task or per-vma base hugetlb usage. > This patch enables these fields by introducing smaps_hugetlb_range(). > > before patch: > > Size:

Re: [PATCH 2/6] PM / OPP: restructure _of_init_opp_table_v2()

2015-08-10 Thread Stephen Boyd
On 08/10/2015 05:23 PM, Viresh Kumar wrote: On 10-08-15, 12:23, Stephen Boyd wrote: --- drivers/base/power/opp.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c index 1daaa1a418a2..c9747fb192b1 1

Re: [PATCH 4/6] PM / OPP: Move opp core to its own directory

2015-08-10 Thread Viresh Kumar
On 10-08-15, 12:51, Stephen Boyd wrote: > On 08/10, Viresh Kumar wrote: > > diff --git a/drivers/base/power/Makefile b/drivers/base/power/Makefile > > index f94a6ccfe787..7ff2726dab6c 100644 > > --- a/drivers/base/power/Makefile > > +++ b/drivers/base/power/Makefile > > @@ -1,8 +1,8 @@ > > obj-$(C

Re: [PATCH RFC 1/5] drm/msm/hdmi: deprecate non standard gpio properties.

2015-08-10 Thread Rob Clark
On Mon, Aug 10, 2015 at 6:27 PM, Bjorn Andersson wrote: > On Mon 10 Aug 15:07 PDT 2015, Rob Herring wrote: > > [..] >> >> -- qcom,hdmi-tx-ddc-clk-gpio: ddc clk pin >> >> -- qcom,hdmi-tx-ddc-data-gpio: ddc data pin >> >> -- qcom,hdmi-tx-hpd-gpio: hpd pin >> >> +- qcom,hdmi-tx-ddc-clk-gpios: ddc clk

[PATCHv2] Input: xpad - Fix double URB submission races

2015-08-10 Thread Laura Abbott
The xpad driver has several races with respect to URB submission which make it easy to end up with submission while active: [ cut here ] WARNING: CPU: 3 PID: 3563 at drivers/usb/core/urb.c:339 usb_submit_urb+0x2ad/0x5a0() URB 8804078ac240 submitted while active Modules

Re: [PATCH 2/6] PM / OPP: restructure _of_init_opp_table_v2()

2015-08-10 Thread Viresh Kumar
On 10-08-15, 12:23, Stephen Boyd wrote: > On 08/10, Viresh Kumar wrote: > > 'dev_opp' will always be NULL in _of_init_opp_table_v2() after creating > > OPPs for a device. There is no point comparing it against NULL there. > > > > Restructure code a bit to make it more efficient. > > > > Signed-of

[PATCH v2] sched: ensure a task has a non-normalized vruntime when returning back to cfs

2015-08-10 Thread byungchul . park
From: Byungchul Park change from v1 to v2 * fix build error in the case of !CONFIG_FAIR_GROUP_SCHED ->8- >From ee40520aef7a624fed14a2a50aed17966e0171e2 Mon Sep 17 00:00:00 2001 From: Byungchul Park Date: Tue, 11 Aug 2015 09:13:28 +0900 Subject: [PATCH v2] sched: ensure a task has a non-

Re: [PATCH] sched: ensure a task has a non-normalized vruntime when returning back to cfs

2015-08-10 Thread Byungchul Park
On Tue, Aug 11, 2015 at 08:35:29AM +0900, Byungchul Park wrote: > On Mon, Aug 10, 2015 at 02:14:07PM +0200, Peter Zijlstra wrote: > > On Mon, Aug 10, 2015 at 06:02:55PM +0900, byungchul.p...@lge.com wrote: > > > From: Byungchul Park > > > > > > current code ensures a task has a normalized vruntim

Re: [PATCH] sched: sync with the prev cfs when changing cgroup within a cpu

2015-08-10 Thread Byungchul Park
On Mon, Aug 10, 2015 at 01:47:06PM +0200, Peter Zijlstra wrote: > On Mon, Aug 10, 2015 at 03:08:59PM +0900, byungchul.p...@lge.com wrote: > > From: Byungchul Park > > > > in addition, "#ifdef CONFIG_SMP" is removed becasuse we need to sync a > > se's load with its cfs_rq even in the case of !SMP.

Re: [PATCH 5/8] serial: imx: save and restore context in the suspend path

2015-08-10 Thread Eduardo Valentin
On Mon, Aug 10, 2015 at 09:17:55AM -0300, Fabio Estevam wrote: > On Mon, Aug 10, 2015 at 1:04 AM, Eduardo Valentin wrote: > > > OK. Do you know what is the status of that patch set? > > > > did it get accepted by any tree so far? > > It is in linux-next. Ok. I am rebasing my changes then. I wil

Re: [RESEND][PATCH 3/4] ARM: davinci: Set proper SPI prescale limit value

2015-08-10 Thread Franklin S Cooper Jr.
On 07/24/2015 06:50 AM, Sekhar Nori wrote: > On Wednesday 22 July 2015 06:02 PM, Franklin S Cooper Jr wrote: >> SPI Davinci driver has been updated to allow SOCs to specify their minimum >> prescale value. Update the various SOCs board files that use this driver with >> their proper prescaler lim

Re: [PATCH] sched: sync with the prev cfs when changing cgroup within a cpu

2015-08-10 Thread Byungchul Park
On Mon, Aug 10, 2015 at 01:47:06PM +0200, Peter Zijlstra wrote: > On Mon, Aug 10, 2015 at 03:08:59PM +0900, byungchul.p...@lge.com wrote: > > From: Byungchul Park > > > > current code seems to be wrong with cfs_rq->blocked_load_avg when changing > > a task's cgroup(=cfs_rq) to another. i tested w

Re: [PATCH 1/2] mfd: s2mps11: Add manual shutdown method for Odroid XU3

2015-08-10 Thread Krzysztof Kozlowski
On 11.08.2015 00:49, Lee Jones wrote: > On Mon, 03 Aug 2015, Krzysztof Kozlowski wrote: > >> On Odroid XU3 board (with S2MPS11 PMIC) the PWRHOLD bit in CTRL1 >> register must be manually set to 0 before initiating power off sequence. >> >> One of usual power down methods for Exynos based devices l

Re: [PATCH] sched: ensure a task has a non-normalized vruntime when returning back to cfs

2015-08-10 Thread Byungchul Park
On Mon, Aug 10, 2015 at 02:14:07PM +0200, Peter Zijlstra wrote: > On Mon, Aug 10, 2015 at 06:02:55PM +0900, byungchul.p...@lge.com wrote: > > From: Byungchul Park > > > > current code ensures a task has a normalized vruntime when switching off > > from fair class, but it does not ensure the task

Re: [RFC PATCH v4 1/9] mmc: dw_mmc: Add external dma interface support

2015-08-10 Thread Shawn Lin
在 2015/8/11 2:03, Alim Akhtar 写道: Hi Shawn On Thu, Aug 6, 2015 at 12:14 PM, Shawn Lin wrote: DesignWare MMC Controller can supports two types of DMA mode: external dma and internal dma. We get a RK312x platform integrated dw_mmc and ARM pl330 dma controller. This patch add edmac ops to support

Re: [PATCH 1/3] Staging: wilc1000: Remove null check before kfree

2015-08-10 Thread Dilger, Andreas
On 2015/08/10, 2:00 AM, "Shraddha Barke" wrote: >kfree on NULL pointer is a no-op. Hi, please don't CC the hpdd-discuss list, nor Oleg or I for patches unrelated to Lustre. Cheers, Andreas >This patch uses the following semantic patch to find such an instance >where NULL check is present befor

Re: [PATCH] zram: fix possible race when checking idle_strm

2015-08-10 Thread Minchan Kim
Hi Joonsoo, On Mon, Aug 10, 2015 at 09:32:30AM +0900, Joonsoo Kim wrote: > On Fri, Aug 07, 2015 at 06:58:16PM +0900, Sergey Senozhatsky wrote: > > On (08/07/15 18:14), Sergey Senozhatsky wrote: > > > hm... I need to think about it more. > > > > > > we do wake_up every time we put stream back to t

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