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

2015-08-10 Thread Javier Martinez Canillas
Hello Krzysztof, On 08/11/2015 04:15 AM, Krzysztof Kozlowski wrote: > 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

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

2015-08-10 Thread Jonathan Maxwell
> What if the carrier check passes, and then the chip reset starts on > another cpu? You'll have the same problem. Okay, let me see if I can come up with a better way to mitigate this. On Tue, Aug 11, 2015 at 2:22 PM, David Miller wrote: > From: Jon Maxwell > Date: Tue, 11 Aug 2015 11:32:26

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

2015-08-10 Thread yalin wang
> On Aug 11, 2015, at 13:37, David Miller wrote: > > From: yalin wang > Date: Tue, 11 Aug 2015 13:11:22 +0800 > >> HWM_REVERSE() macro is unused, remove it. >> >> Signed-off-by: yalin wang > > You did not do as I asked you to, this patch is still corrupted > and there is no way you

[PATCH] joystick/zhenhua: remove zhenhua_bitreverse()

2015-08-10 Thread yalin wang
This change remove zhenhua_bitreverse() function, use generic bitrev8() function instead. Signed-off-by: yalin wang --- drivers/input/joystick/zhenhua.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/input/joystick/zhenhua.c

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

2015-08-10 Thread David Miller
From: yalin wang Date: Tue, 11 Aug 2015 13:11:22 +0800 > HWM_REVERSE() macro is unused, remove it. > > Signed-off-by: yalin wang You did not do as I asked you to, this patch is still corrupted and there is no way you successfully applied what is in this patch. > -#define

Re: [PATCH] Staging: android: ion: Fix missing a blank line coding style issue.

2015-08-10 Thread Sudip Mukherjee
On Mon, Aug 10, 2015 at 11:42:27PM -0500, Junsu Shin wrote: > This is a patch to the ion.c that fixes a warning that tells missing a blank > line after declaration > > Signed-off-by: Junsu Shin > --- 1) This is a false positive. 2) You need to refresh your tree. This has already been fixed.

Re: [PATCH net-next] bpf: fix the bug "'struct bpf_array' has no member named 'prog'" in s390 architecture

2015-08-10 Thread David Miller
From: Kaixu Xia Date: Tue, 11 Aug 2015 05:00:24 + > 'Kbuild test robot' sent me an email about a build error > "'struct bpf_array' has no member named 'prog'" in s390 > architecture. This error is caused by commit: 2a36f0b92eb > 638dd023870574eb471b1c56be9ad [656/692] bpf: Make the bpf >

[PATCH 3/3] ARM: dts: sun6i: Add security system crypto engine clock and device nodes

2015-08-10 Thread Chen-Yu Tsai
A31/A31s have the same "Security System" crypto engine as A10/A20, but with a separate reset control. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun6i-a31.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi

[PATCH 0/3] ARM: sun6i: Support Security System crypto engine

2015-08-10 Thread Chen-Yu Tsai
Hi everyone, This series enables support for the crypto engine found in sun6i, or Allwinner A31/A31s SoCs. The crypto engine is the same hardware as on earlier sun4i/sun7i (A10/A20), with the only difference being the reset control is separated out of the clock gate control. The same hardware is

[PATCH 1/3] crypto: sunxi-ss: Document optional reset control bindings

2015-08-10 Thread Chen-Yu Tsai
Later Allwinner SoCs split out the reset controls for individual modules out of the clock gate controls. The "Security System" crypto engine is no different. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/crypto/sun4i-ss.txt | 4 1 file changed, 4 insertions(+) diff

[PATCH 2/3] crypto: sunxi-ss: Add optional reset control support

2015-08-10 Thread Chen-Yu Tsai
On sun6i and later platforms, the reset control is split out of the clock gates. Add support for an optional reset control. Signed-off-by: Chen-Yu Tsai --- drivers/crypto/sunxi-ss/sun4i-ss-core.c | 22 ++ drivers/crypto/sunxi-ss/sun4i-ss.h | 2 ++ 2 files changed, 24

[PATCH] zlib_deflate/deftree: Remove bi_reverse()

2015-08-10 Thread yalin wang
This change remove bi_reverse() and use generic bitrev32() instead, have better performance on some platforms. Signed-off-by: yalin wang --- lib/zlib_deflate/deftree.c | 6 +++--- lib/zlib_deflate/defutil.h | 16 2 files changed, 3 insertions(+), 19 deletions(-) diff --git

Re: [PATCH] staging: lustre: lustre: llite: Added a new line after declaration

2015-08-10 Thread Sudip Mukherjee
On Mon, Aug 10, 2015 at 08:56:02PM +0530, Aparna Karuthodi wrote: > Added a new line to fix a coding style error no space after > declaration detected by checkpatch. > > Signed-off-by: Aparna Karuthodi > --- Why are you sending this patch again? You have sent this one long back and has already

[PATCH v2 Resend] 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 ---

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

2015-08-10 Thread yalin wang
> On Aug 11, 2015, at 12:24, David Miller wrote: > > From: yalin wang > Date: Tue, 11 Aug 2015 09:57:21 +0800 > >> HWM_REVERSE() macro is unused, remove it. >> >> Signed-off-by: yalin wang > > Your email client has corrupted this patch. > > Please read Documentation/email-clients.txt,

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

2015-08-10 Thread Michal Simek
On 08/11/2015 03:34 AM, Shawn Lin wrote: > 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

[PATCH net-next] bpf: fix the bug "'struct bpf_array' has no member named 'prog'" in s390 architecture

2015-08-10 Thread Kaixu Xia
'Kbuild test robot' sent me an email about a build error "'struct bpf_array' has no member named 'prog'" in s390 architecture. This error is caused by commit: 2a36f0b92eb 638dd023870574eb471b1c56be9ad [656/692] bpf: Make the bpf _prog_array_map more generic. In this patch, the member 'prog' of

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

2015-08-10 Thread James Morris
On Tue, 11 Aug 2015, David Howells wrote: > This is mentioned in the > > MODSIGN: Provide a utility to append a PKCS#7 signature to a module > > commit description. > > Note that the utility is written in C and must be linked against the > OpenSSL crypto library. > > Would

[PATCH] pinctrl: mediatek: Fix multiple registeration issue.

2015-08-10 Thread Hongzhou Yang
Use dynamic allocation to fix multiple registeration issue. --8< Since our common driver need support main chip and PMU at the same time, that means it will register two pinctrl device, and the pinctrl_desc structure should be used two times. But pinctrl_desc use

Re: [PATCH v7 0/9] Fixes and new clocks support for Mediatek MT8173

2015-08-10 Thread Daniel Kurtz
Hi James, On Mon, Aug 10, 2015 at 5:50 PM, James Liao wrote: > This patchset is based on 4.2-rc2 and [1], and contains minor fixes and > subsystem clocks support for Mediatek MT8173. > > The previous reviews can be found in [2]. > > changes since v6: > - Use DUMMY_RATE (0) instead of typical

[PATCH] Staging: android: ion: Fix missing a blank line coding style issue.

2015-08-10 Thread Junsu Shin
This is a patch to the ion.c that fixes a warning that tells missing a blank line after declaration Signed-off-by: Junsu Shin --- drivers/staging/android/ion/ion.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index

Re: [PATCH v2 2/2] watchdog: add wdt shutdown callback to disable wdt if enabled

2015-08-10 Thread Guenter Roeck
On 08/10/2015 09:28 PM, Daniel Kurtz wrote: Hi Guenter, Matthias, On Fri, Jul 24, 2015 at 1:37 AM, Matthias Brugger wrote: On Thursday, July 23, 2015 01:49:11 PM Eddie Huang wrote: From: Greta Zhang Without .shutdown(), watchdog might reset the system during power off. For example, if

Re: [PATCH v2 2/2] watchdog: add wdt shutdown callback to disable wdt if enabled

2015-08-10 Thread Daniel Kurtz
Hi Guenter, Matthias, On Fri, Jul 24, 2015 at 1:37 AM, Matthias Brugger wrote: > On Thursday, July 23, 2015 01:49:11 PM Eddie Huang wrote: >> From: Greta Zhang >> >> Without .shutdown(), watchdog might reset the system during power off. >> For example, if watchdog's timeout is set to 30s, then

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

2015-08-10 Thread David Miller
From: yalin wang Date: Tue, 11 Aug 2015 09:57:21 +0800 > HWM_REVERSE() macro is unused, remove it. > > Signed-off-by: yalin wang Your email client has corrupted this patch. Please read Documentation/email-clients.txt, send a test patch to yourself, and only resubmit this change once you are

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

2015-08-10 Thread David Miller
From: Jon Maxwell Date: Tue, 11 Aug 2015 11:32:26 +1000 > 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

[GIT PULL] extcon next for 4.3

2015-08-10 Thread Chanwoo Choi
Dear Greg, This is extcon-next full request for v4.3. I add detailed description of this pull request on below. Please pull extcon with following updates. Best Regards, Chanwoo Choi The following changes since commit f7644cbfcdf03528f0f450f3940c4985b2291f49: Linux 4.2-rc6 (2015-08-09

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

2015-08-10 Thread Marcel Holtmann
Hi Yong, > 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(+) patch has been applied to bluetooth-next

Re: [PATCH V10] fixup: audit: implement audit by executable

2015-08-10 Thread Richard Guy Briggs
On 15/08/10, Paul Moore wrote: > On Monday, August 10, 2015 01:29:43 PM Richard Guy Briggs wrote: > > On 15/08/10, Paul Moore wrote: > > > On Saturday, August 08, 2015 10:20:25 AM Richard Guy Briggs wrote: > > > > diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c > > > > index

Re: [PATCH v2 00/11] test_user_copy improvements

2015-08-10 Thread David Miller
From: David Miller Date: Mon, 10 Aug 2015 15:29:38 -0700 (PDT) > Also, I think the tests you added and protected with MIPS ifdefs could > equally be enabled on sparc64. James, as per this issue, I was thinking we could do something like this so that the tests don't get messy: diff --git

Re: [PATCH v4] dtb: Create a common home for cross-architecture dtsi files.

2015-08-10 Thread Masahiro Yamada
Hi 2015-08-04 1:06 GMT+09:00 Ian Campbell : > Commit 9ccd608070b6 ("arm64: dts: add device tree for ARM SMM-A53x2 on > LogicTile Express 20MG") added a new dts file to arch/arm64 which > included "../../../../arm/boot/dts/vexpress-v2m-rs1.dtsi", i.e. a > .dtsi supplied by arch/arm. > >

[PATCH 0/4] ARM: dts: exynos3250: Add UART2 and MMC2 dt node with related clocks

2015-08-10 Thread Chanwoo Choi
This patch add the UART2 / MMC2 devicetree node for Exynos3250 SoC and add the related clocks (mux, divider, gate) of UART2 / MMC2 device. Chanwoo Choi (4): clk: samsung: exynos3250: Add UART2 clock clk: samsung: exynos3250: Add MMC2 clock ARM: dts: Add UART2 dt node for Exynos3250 SoC

[PATCH 1/4] clk: samsung: exynos3250: Add UART2 clock

2015-08-10 Thread Chanwoo Choi
This patch add the UART2 clocks (mux, divider, gate) of Exynos3250 SoC. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi --- drivers/clk/samsung/clk-exynos3250.c | 6 ++ include/dt-bindings/clock/exynos3250.h | 6 +- 2 files changed, 11 insertions(+), 1 deletion(-)

[PATCH 3/4] ARM: dts: Add UART2 dt node for Exynos3250 SoC

2015-08-10 Thread Chanwoo Choi
This patch add the uart2 devicetree node for Exynos3250 SoC. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Signed-off-by: Chanwoo Choi --- arch/arm/boot/dts/exynos3250-pinctrl.dtsi | 7 +++ arch/arm/boot/dts/exynos3250.dtsi | 12 2 files changed, 19 insertions(+) diff

[PATCH 2/4] clk: samsung: exynos3250: Add MMC2 clock

2015-08-10 Thread Chanwoo Choi
This patch add the MMC2 clocks (mux, divider, gate) of Exynos3250 SoC. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi --- drivers/clk/samsung/clk-exynos3250.c | 9 + include/dt-bindings/clock/exynos3250.h | 7 ++- 2 files changed, 15 insertions(+), 1

[PATCH 4/4] ARM: dts: Add MSHC2 dt node for Exynos3250 SoC

2015-08-10 Thread Chanwoo Choi
This patch add the MSHC2 (Mobile Storage Host Controller) devicetree node for Exynos3250 SoC. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Signed-off-by: Chanwoo Choi --- arch/arm/boot/dts/exynos3250-pinctrl.dtsi | 35 +++ arch/arm/boot/dts/exynos3250.dtsi | 13

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

2015-08-10 Thread David Miller
From: Calvin Owens Date: Mon, 10 Aug 2015 20:34:06 -0700 > I'm really questioning the limitation itself: why enforce a minimum of > SOCK_MIN_SNDBUF here? Why not SK_MEM_QUANTUM? > > Commit 8133534c760d4083 referred to b1cb59cf2efe7971, which choose to > use the SOCK_MIN constants as the lower

[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

[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

[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

[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 ++

[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

[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 ++-

[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 +---

[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

[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

[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

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

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. > >

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

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 >

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 > > --- > >

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. > >> > >>

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.

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;\ > > > +}) > > > >

[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

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

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

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

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 + >

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:

[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

[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

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]

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

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

[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 ---

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

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 >

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

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 >

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

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 ---

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

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

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

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.

[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=143914435605790=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:

[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:

[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

[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.

[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:

[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

[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

[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 > >

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 ---

[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

  1   2   3   4   5   6   7   8   9   10   >