Re: [PATCH v2 1/6] random: Addition of kernel_pool

2015-04-26 Thread Herbert Xu
On Sat, Apr 25, 2015 at 05:40:41PM +0200, Stephan Mueller wrote: > > + if (p->entropy_count <= > + p->poolinfo->poolfracbits / 4) { There appears to be a "3 *" missing. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.or

[PATCH v2] tty: serial: 8250_mtk: Add support for second clock

2015-04-26 Thread Sascha Hauer
The following changes since commit b787f68c36d49bb1d9236f403813641efa74a031: Linux 4.1-rc1 (2015-04-26 17:59:10 -0700) are available in the git repository at: git://git.pengutronix.de/git/sha/linux-2.6.git tags/v4.1-mtk-uart-clk-v2 for you to fetch changes up to 02e3f747bea47f6c02dc3f52e408

[PATCH 3/4] tty: serial: 8250_mtk: use pm_runtime callbacks for enabling

2015-04-26 Thread Sascha Hauer
The pm_runtime callbacks already enable and disable the device. Use them in probe() and remove() instead of duplicating the code. This allows us to concentrate more code for enabling/disabling the UART in a single place. Signed-off-by: Sascha Hauer --- drivers/tty/serial/8250/8250_mtk.c | 69 +++

[PATCH 4/4] tty: serial: 8250_mtk: Add support for bus clock

2015-04-26 Thread Sascha Hauer
The mtk 8250 needs two clocks, one for providing the baudrate and one that needs to be enabled for register accesses. The latter has not been supported, this patch adds support for it. It is optional for now since not all SoCs provide a bus clock. Signed-off-by: Sascha Hauer --- .../devicetree/b

[RFC PATCH RESEND 2/4] lib/plist: Provide plist_add_head() for nodes with the same prio

2015-04-26 Thread Xunlei Pang
From: Xunlei Pang If there're multiple nodes with the same prio as @node, currently plist_add() will add @node behind all of them. Now we need to add @node before all of these nodes for SMP RT scheduler. This patch adds a common __plist_add() for adding @node before or after existing nodes with

[RFC PATCH RESEND 3/4] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases

2015-04-26 Thread Xunlei Pang
From: Xunlei Pang We know, there are two main queues each cpu for RT scheduler: Let's call them "run queue" and "pushable queue" respectively. For RT tasks, the scheduler uses "plist" to manage the pushable queue, so when there are multiple tasks queued at the same priority, they get queued in t

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 17:47, Maxime Ripard wrote: > On Sun, Apr 26, 2015 at 04:40:50PM +0200, Hans de Goede wrote: >> Hi, >> >> I've a feeling everyone in this thread is ignoring the >> raspberry pi use-case. Where the board is specifically >> designed for educational purposes and used with lots of

[PATCH 2/4] tty: serial: 8250_mtk: Use devm_clk_get

2015-04-26 Thread Sascha Hauer
When a struct device * is present clk_get should be used rather than of_clk_get. Use the devm variant of this function to be able to drop the clk_put in the error and remove pathes. While at it fix a wrong error message. Signed-off-by: Sascha Hauer --- drivers/tty/serial/8250/8250_mtk.c | 7 ++--

[RFC PATCH RESEND 4/4] sched/rt: Requeue p back if the preemption initiated by check_preempt_equal_prio_common() failed

2015-04-26 Thread Xunlei Pang
From: Xunlei Pang In check_preempt_equal_prio_common(), it requeues "next" ahead in the "run queue" and want to push current away. But when doing the actual pushing, if the system state changes, the pushing may fail as a result. In this case, p finally becomes the new current and gets running, w

[PATCH 1/4] tty: serial: 8250_mtk: remove unnecessary test

2015-04-26 Thread Sascha Hauer
When the driver has probed successfully the clk pointer is always valid, so no need to test for it. Signed-off-by: Sascha Hauer --- drivers/tty/serial/8250/8250_mtk.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/tty/serial/8250/8250_mtk.c b/drivers/tt

[RFC PATCH RESEND 0/4] Maintain the FIFO order for same priority RT tasks

2015-04-26 Thread Xunlei Pang
From: Xunlei Pang 1. TWO FIFO QUEUES We know, there are two main queues each cpu for RT SMP scheduler. Let's name them "run queue" and "pushable queue" respectively. "run queue" is from the intra-cpu's perspective, while "pushable queue" is from the inter-cpu's perspective. "pushable queue" als

[RFC PATCH RESEND 1/4] sched/rt: Modify check_preempt_equal_prio() for multiple tasks queued at the same priority

2015-04-26 Thread Xunlei Pang
From: Xunlei Pang In check_preempt_equal_prio(), when p is queued, there may be other tasks already queued at the same priority in the "run queue", so we should peek the most front one to do the preemption, not the p. This patch modified it and moved the preemption job to a new function named ch

Re: [PATCH 0/2] powerpc/kvm: Enable running guests on RT Linux

2015-04-26 Thread Purcareata Bogdan
On 24.04.2015 00:26, Scott Wood wrote: On Thu, 2015-04-23 at 15:31 +0300, Purcareata Bogdan wrote: On 23.04.2015 03:30, Scott Wood wrote: On Wed, 2015-04-22 at 15:06 +0300, Purcareata Bogdan wrote: On 21.04.2015 03:52, Scott Wood wrote: On Mon, 2015-04-20 at 13:53 +0300, Purcareata Bogdan wro

Re: ARM: Remove mach-msm: some leftovers

2015-04-26 Thread Valentin Rothberg
Hi Stephen, this is just a kind reminder that the issue below is still present and made its way to v4.1-rc1. Any news from the maintainers' side? Kind regards, Valentin On Wed, Apr 8, 2015 at 12:57 AM, Stephen Boyd wrote: > On 04/07/15 07:12, Valentin Rothberg wrote: >> On Tue, Apr 7, 2015 at

[PATCH] Staging: vt6655: Checkpatch fix: c99 comment headings

2015-04-26 Thread Derek Robson
This patch fixes some of the following checkpatch.pl errors in mib.h ERROR: do not use C99 // comments This patch reformats all single line c99 style comments to the preferred style. Signed-off-by: Derek Robson --- drivers/staging/vt6655/mib.h | 16 ++-- 1 file changed, 6 insertions

Re: [PATCH] ARM: sunxi: dts: Add A10 uarts pin muxing options

2015-04-26 Thread Richard Genoud
2015-04-26 18:11 GMT+02:00 Maxime Ripard : > Hi Richard, > > On Sun, Apr 26, 2015 at 12:15:38PM +0200, Richard Genoud wrote: >> The A10 has 8 uarts, only uart0 and uart1 where filled. >> This patch adds all the missing uarts(2 to 7) pin muxing to the dtsi. >> >> Signed-off-by: Richard Genoud > > I

[PATCH 3/4] perf tools: Add a option 'all' to perf-config.

2015-04-26 Thread Taeung Song
A option 'all' is to display both current config variables and all possible config variables with default values. The syntax examples are like below perf config [options] display all perf config with default values. # perf config or # perf config -a | --all Signed-off-by: Tae

[PATCH 2/4] perf tools: Add functions which can get or set perf config variables.

2015-04-26 Thread Taeung Song
This patch consists of functions which can get, set specific config variables. For the syntax examples, perf config [options] [section.subkey[=value] ...] display key-value pairs of specific config variables # perf config report.queue-size report.children set specific config variable

[PATCH 4/4] perf tools: Add a option 'remove' to perf-config.

2015-04-26 Thread Taeung Song
A option 'remove' is to remove specific config variables. For the syntax examples, # perf config -r | --remove [section.subkey ...] Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-config.txt | 6 tools/perf/builtin-config.c | 48 +++---

[PATCH 1/4] perf tools: Add 'perf-config' command

2015-04-26 Thread Taeung Song
The perf configuration file contains many variables which can make the perf command's action more effective and more skilful. But looking through state of configuration is difficult and there's no knowing what kind of other variables except variables in perfconfig.example exist. So This patch adds

RE: [PATCH 1/1] Documentation: Add dt-binding for TI-btwilink driver

2015-04-26 Thread Reizer, Eyal
Hi Marcel, > -Original Message- > From: Marcel Holtmann [mailto:mar...@holtmann.org] > Sent: Monday, April 27, 2015 7:32 AM > To: Gigi Joseph > Cc: devicet...@vger.kernel.org; Rob Herring; Pawel Moll; Mark Rutland; Ian > Campbell; Kumar Gala; linux-kernel@vger.kernel.org; Gigi, Joseph > Su

Re: [PATCH 1/4] tty: serial: 8250_mtk: Use devm_clk_get

2015-04-26 Thread Sascha Hauer
On Fri, Apr 24, 2015 at 12:53:08PM +0200, Matthias Brugger wrote: > 2015-04-24 12:31 GMT+02:00 Sascha Hauer : > > On Fri, Apr 24, 2015 at 12:28:33PM +0200, Matthias Brugger wrote: > >> 2015-04-23 10:51 GMT+02:00 Sascha Hauer : > >> > Just because of_clk_get() doesn't mean it should be used. Use >

Re: [PATCH v7 2/3] leds: ktd2692: add device tree bindings for ktd2692

2015-04-26 Thread Ingi Kim
Hi Jacek, Thanks for the review. On 2015년 04월 24일 22:29, Jacek Anaszewski wrote: > On Thu, 23 Apr 2015 22:18:04 +0900 > Hi Ingi, > > Ingi Kim wrote: > >> This patch adds the device tree bindings for ktd2692 flash LEDs. >> Add Optional properties of child node for Flash LED >> >> Signed-off-by

Re: ARCH_EXYNOS5433 missing in Kconfig

2015-04-26 Thread Valentin Rothberg
Hi Chanwoo, this is a kind reminder that the issue mentioned below is still present and made its way to v4.1-rc1. Kind regards, Valentin On Wed, Mar 11, 2015 at 2:10 AM, Chanwoo Choi wrote: > Hi Valentin, > > I sent the Exynos5433 clock patch and then separately I'm sending the > Exynos5433 de

Re: [PATCH v10 00/29] Refine PCI scan interfaces and make generic pci host bridge

2015-04-26 Thread Yijing Wang
On 2015/4/27 12:09, Daniel Axtens wrote: > Hi Yijing, > > I'm wondering if you might get some more momentum on these changes if > we could split them into a few smaller patch sets. I think we might > then be able to start getting bits of this in for 4.2, which should help > with getting the rest o

Re: [PATCH v2] MAINTAINERS: Remove Mohit Kumar (email bounces)

2015-04-26 Thread Viresh Kumar
On Mon, Apr 27, 2015 at 11:13 AM, Viresh Kumar wrote: > Anyway, please hold on this patch and I will update it for them. Ahh, its already gone. :) Okay, I will let them handle it now. Guys please fix your email-ids in kernel. -- To unsubscribe from this list: send the line "unsubscribe linux-ker

Re: [PATCH v2] MAINTAINERS: Remove Mohit Kumar (email bounces)

2015-04-26 Thread Viresh Kumar
[Fixing Mohit's and Pratyush's email ids] On Wed, Apr 22, 2015 at 1:58 AM, Bjorn Helgaas wrote: > Email to Mohit Kumar has been bouncing, so remove the > address from MAINTAINERS and add an entry in CREDITS. > > Signed-off-by: Bjorn Helgaas > --- > CREDITS |4 > MAINTAINERS |4

Re: [PATCH 3/3] btrfs: set FS_SUPPORTS_SEEK_HOLE flag.

2015-04-26 Thread NeilBrown
On Mon, 20 Apr 2015 02:48:55 -0700 Christoph Hellwig wrote: > On Mon, Apr 20, 2015 at 10:46:49AM +0100, David Howells wrote: > > NeilBrown wrote: > > > > > Missing patch 2 of the 3-patch series? > > > > Yes. :-) > > > > Do ext4 and xfs support this, do you know? > > Yes. As do f2fs, ocfs2,

[PATCH v9 02/17] h8300: UAPI headers

2015-04-26 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/h8300/include/uapi/asm/Kbuild | 29 arch/h8300/include/uapi/asm/auxvec.h | 4 ++ arch/h8300/include/uapi/asm/byteorder.h | 6 ++ arch/h8300/include/uapi/asm/ptrace.h | 42 +++ arch/h8300/include/uapi/asm/sigcontext.h |

[PATCH v9 05/17] h8300: process and signals

2015-04-26 Thread Yoshinori Sato
process management helper and signal handling Signed-off-by: Yoshinori Sato --- arch/h8300/kernel/process.c | 171 ++ arch/h8300/kernel/ptrace.c | 203 +++ arch/h8300/kernel/signal.c | 289 3 files

[PATCH v9 01/17] h8300: Assembly headers.

2015-04-26 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/h8300/include/asm/Kbuild | 66 ++ arch/h8300/include/asm/asm-offsets.h | 1 + arch/h8300/include/asm/atomic.h| 159 +++ arch/h8300/include/asm/bitops.h| 185 + arch/h8300/include/a

[PATCH v9 03/17] h8300: Exception and Interrupt handling

2015-04-26 Thread Yoshinori Sato
h8300 exception entry and exception / interrupt handling Signed-off-by: Yoshinori Sato --- arch/h8300/kernel/entry.S | 414 ++ arch/h8300/kernel/irq.c | 100 +++ arch/h8300/kernel/traps.c | 161 ++ 3 files changed, 675 inserti

[PATCH v9 04/17] h8300: kernel booting

2015-04-26 Thread Yoshinori Sato
zImage startup / kernel entry point / arch depend startup Signed-off-by: Yoshinori Sato --- arch/h8300/boot/Makefile | 26 + arch/h8300/boot/compressed/Makefile| 37 +++ arch/h8300/boot/compressed/head.S | 48 + arch/h8300/boot/compressed/misc.c |

Re: Sharing credentials in general (Re: [GIT PULL] kdbus for 4.1-rc1)

2015-04-26 Thread George Spelvin
Linus wrote: > It would be insane to say that the open system call should have an > explicit argument saying that the vfs layer should take your privileges > into account. On the contrary, it would be a big improvement on the current interface. To be clearer, it would be great if the open system

[PATCH v9 06/17] h8300: CPU depend helpers

2015-04-26 Thread Yoshinori Sato
H8/3069 and H8S2678 have little different specification (peripheral, interrupt and trace). Its difference is absorbed here. Signed-off-by: Yoshinori Sato --- arch/h8300/kernel/cpu/Makefile | 4 + arch/h8300/kernel/cpu/h83069/Makefile | 1 + arch/h8300/kernel/cpu/h83069/setup.c | 2

[PATCH v9 07/17] h8300: miscellaneous functions

2015-04-26 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/h8300/kernel/asm-offsets.c | 67 + arch/h8300/kernel/dma.c | 95 + arch/h8300/kernel/h8300_ksyms.c | 34 +++ arch/h8300/kernel/module.c | 70

[PATCH v9 13/17] h8300: configs

2015-04-26 Thread Yoshinori Sato
h8300h-sim_defconfig: H8/300H simulator config. h8s-sim_defconfig:H8S simulator config. edosk2674_defconfig: EDOSK2674R evalution board config. Signed-off-by: Yoshinori Sato --- arch/h8300/configs/h8300h-sim_defconfig | 53 + arch/h8300/configs/h8s-sim_defcon

[PATCH v9 10/17] h8300: Build scripts

2015-04-26 Thread Yoshinori Sato
h8300's Makefile, Kconfig and memory layout. Signed-off-by: Yoshinori Sato --- arch/h8300/Kconfig | 73 ++ arch/h8300/Kconfig.cpu | 111 arch/h8300/Makefile | 45 arch/h8300/kern

[PATCH v9 09/17] h8300: library functions

2015-04-26 Thread Yoshinori Sato
h8300 assembly functions and private libgcc. Signed-off-by: Yoshinori Sato --- arch/h8300/lib/Makefile| 7 ++ arch/h8300/lib/abs.S | 20 ++ arch/h8300/lib/ashldi3.c | 24 +++ arch/h8300/lib/ashrdi3.c | 24 +++ arch/h8300/lib/checksum.c | 167 ++

[PATCH v9 17/17] Add H8/300 entry

2015-04-26 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- CREDITS | 5 - MAINTAINERS | 11 +++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CREDITS b/CREDITS index 40cc4bf..e88b597 100644 --- a/CREDITS +++ b/CREDITS @@ -3219,11 +3219,6 @@ N: Dipankar Sarma E: dipan...@in.ibm.com D:

[PATCH v9 15/17] Add ELF machine

2015-04-26 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- include/uapi/linux/elf-em.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/elf-em.h b/include/uapi/linux/elf-em.h index ae99f77..b088296 100644 --- a/include/uapi/linux/elf-em.h +++ b/include/uapi/linux/elf-em.h @@ -25,6 +25,7 @@ #define

[PATCH v9 16/17] mksysmap: Add h8300 local symbol pattern

2015-04-26 Thread Yoshinori Sato
h8300's nm output have a lot of local symbols. ex) N .Lframe0 0013 N .LLST1 0026 N .LLST2 0039 N .LLST3 004c N .LLST4 Added new pattern " .L" to filter rule. Signed-off-by: Yoshinori Sato --- scripts/mksysmap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

[PATCH v9 14/17] serial: Add H8300.

2015-04-26 Thread Yoshinori Sato
h8300 internal serial controller of same as sh-sci. So h8300 use SH_SCI. Signed-off-by: Yoshinori Sato --- drivers/tty/serial/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index f8120c1..130f201 100644 --- a/dr

[PATCH v9 12/17] h8300: clocksource

2015-04-26 Thread Yoshinori Sato
H8/300 internal timer driver. h8300_timer8 - 8bit Timer driver. h8300_timer16 - 16bit Timer driver (only H8/3069). h8300_tpu - Timer Pulse Unit driver (only H8S2678). Signed-off-by: Yoshinori Sato --- drivers/clocksource/Kconfig | 6 + drivers/clocksource/Makefile| 3 + d

[PATCH v9 11/17] h8300: clock driver

2015-04-26 Thread Yoshinori Sato
h8300 clock generator drivers. H8/3069 is simple oscillator. H8S2678 is PLL multiplier support. Signed-off-by: Yoshinori Sato --- drivers/clk/Makefile| 1 + drivers/clk/h8300/Makefile | 2 + drivers/clk/h8300/clk-h83069.c | 80 +++ drivers/clk/h8300/clk-h8s

[PATCH v9 08/17] h8300: Memory management

2015-04-26 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/h8300/mm/Makefile | 5 ++ arch/h8300/mm/fault.c | 57 + arch/h8300/mm/init.c | 133 + arch/h8300/mm/kmap.c | 61 +++ arch/h8300/mm/memory.c | 53 +++

[PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-26 Thread Yoshinori Sato
Hello. I will re-introducing h8300. Changes for v9 - remove exec domain - timer update - rebase to v4.1-rc1 Changes for v8 - rebase to v4.0 Changes for v7 - Add MAINTAINERS Changes for v6 - rebase to v4.0-rc3 - remove unused headers - optimized atomic operation - System.map cleanup Changes for

RE: [PATCH] elevator: fix memory leak in ->elevator_init_fn

2015-04-26 Thread Chao Yu
Hi all, I found that when we release eq->kobj by invoking kobject_put() we had gave misson to workqueue, so that workqueue will release the elevator queue space in elevator_alloc() which is registered in ->release of elv_ktype object. We should not release it again. So, this fix is wrong, please

Re: [PATCH] [media] xilinx: Reflect dma header file move

2015-04-26 Thread Guenter Roeck
On 04/26/2015 10:22 PM, Michal Simek wrote: On 04/24/2015 09:24 PM, Guenter Roeck wrote: Commit 937abe88aea3 ("dmaengine: xilinx-dma: move header file to common location") moved xilinx_dma.h to a common location but neglected to reflect this move in all its users. This causes compile errors for

[PATCH 2/8] rtl8712: don't duplicate ieee80211 constants for status/reason

2015-04-26 Thread Paul Gortmaker
These are all defined as a part of the standard and should not be duplicated on a per-driver basis. Use the global ones and delete the local ones. It seems that ieee80211 was already included everywhere it was needed, since no explicit include <...> were needed to be added in order to preserve ge

[PATCH 7/8] rtl8192u: delete another embedded instance of generic reason codes

2015-04-26 Thread Paul Gortmaker
We have global copies of all these reason codes. We don't need local copies. Worse is that these seem totally unused; a grep for some of the fields comes up empty, and it still compiles after its complete removal. Signed-off-by: Paul Gortmaker --- drivers/staging/rtl8192u/ieee80211/ieee80211.h

[PATCH 0/8] staging/rtl8xxx: delete ieee80211 constant duplication

2015-04-26 Thread Paul Gortmaker
While looking at a non-staging wifi driver, I was searching for a constant definition for an error code, and in addition to the expected one living in the main include dir, I found a whole bunch of local copies in the staging dir rtl8xxx wifi drivers. This duplication covers the families of WLAN_S

[PATCH 4/8] rtl8192u: promote auth_mode to a full 8 bits

2015-04-26 Thread Paul Gortmaker
Currently LEAP is defined to two locally but the identically named global constant is 128 in . In order for us to switch over to using the global value, we need to adjust the local storage which is currently not enough to hold the larger value. This is now consistent with the similar struct used

[PATCH 1/8] rtl8188eu: don't duplicate ieee80211 constants for status/reason

2015-04-26 Thread Paul Gortmaker
These are all defined as a part of the standard and should not be duplicated on a per-driver basis. Use the global ones and delete the local ones. Note that a couple of them had slight wording differences, things like INVALID vs. NOT_VALID or similar, so they are aligned with the global naming co

[PATCH 6/8] rtl8192u: don't duplicate ieee80211 constants for status/auth/reason

2015-04-26 Thread Paul Gortmaker
These are all defined as a part of the standard and should not be duplicated on a per-driver basis. Use the global ones and delete the local ones. In switching to we have to delete a local copy of an identical struct that we prepped earlier to have identical field names, and we add explicit incl

[PATCH 8/8] rtl8192e: delete local copy of iee80211 reason codes.

2015-04-26 Thread Paul Gortmaker
This driver has a copy of the standard reason codes from the file but with slightly different name fields. Delete the local copy and remap the only two use cases onto the names used by the global implementation with the same values. Signed-off-by: Paul Gortmaker --- drivers/staging/rtl8192e/rt

[PATCH 3/8] rtl8192u: don't trample on struct namespace

2015-04-26 Thread Paul Gortmaker
In order to start reducing the duplicated code/constants/macros in this driver, we need to include to provide the defacto versions. However this driver has structs with the same name as the ones in the main include, so namespace collision prevents us from doing step #1. Since the structs actuall

[PATCH 5/8] rtl8192u: align local ieee80211_wmm_ac_param struct fields with global

2015-04-26 Thread Paul Gortmaker
The and this local file both have a struct of the same name. They also have the same field sizes and generally the same fields, as can be seen here: ~/git/linux-head$ git grep -A4 'struct ieee80211_wmm_ac_param {' drivers/staging/rtl8192u/ieee80211/ieee80211.h:struct ieee80211_wmm_ac_param

Re: [PATCH] [media] xilinx: Reflect dma header file move

2015-04-26 Thread Michal Simek
On 04/24/2015 09:24 PM, Guenter Roeck wrote: > Commit 937abe88aea3 ("dmaengine: xilinx-dma: move header file to common > location") moved xilinx_dma.h to a common location but neglected to reflect > this move in all its users. > > This causes compile errors for several builds. > > drivers/media/p

Re: [PATCH v3] dmaengine: xgene-dma: Fix sparse wannings and coccinelle warnings

2015-04-26 Thread Fengguang Wu
On Mon, Apr 27, 2015 at 08:43:15AM +0530, Vinod Koul wrote: > On Mon, Apr 20, 2015 at 08:38:18AM +0530, Rameshwar Sahu wrote: > > Hi Vinod, > >> >> @@ -2085,6 +2043,5 @@ module_platform_driver(xgene_dma_driver); > > >> > > >> MODULE_DESCRIPTION("APM X-Gene SoC DMA driver"); > > >> MODULE_AUTHOR("

[PATCH] block: turn Oops into WARNING if bdi_register_dev fails.

2015-04-26 Thread NeilBrown
add_disk() does not return an error status, but it can still fail if there are problems elsewhere. In particular a recent problem caused bdi_register_dev() to sometimes fail because the name was already in use. In that case bdi->dev is NULL, so retval = sysfs_create_link(&disk_to_dev(di

Re: [PATCH 1/8] cpufreq: arm_big_little: add cluster regulator support

2015-04-26 Thread Viresh Kumar
On 21 April 2015 at 18:47, Bartlomiej Zolnierkiewicz wrote: > Add cluster regulator support as a preparation to adding > generic arm_big_little_dt cpufreq_dt driver support for > ODROID-XU3 board. This allows arm_big_little[_dt] driver This is irrelevant here, its not about XU3 but any board tha

Re: [PATCHv2 2/8] perf probe: Improve detection of file/function name in the probe pattern

2015-04-26 Thread Naveen N. Rao
On 2015/03/13 08:20PM, Masami Hiramatsu wrote: > (2015/03/13 5:24), Arnaldo Carvalho de Melo wrote: > > Em Mon, Dec 15, 2014 at 08:20:32PM +0530, Naveen N. Rao escreveu: > >> Currently, perf probe considers patterns including a '.' to be a file. > >> However, this causes problems on powerpc ABIv1 w

Re: [PATCHv2 5/8] perf probe powerpc: Allow matching against dot symbols

2015-04-26 Thread Naveen N. Rao
On 2015/03/12 05:30PM, Arnaldo Carvalho de Melo wrote: > Em Mon, Dec 15, 2014 at 08:20:35PM +0530, Naveen N. Rao escreveu: > > Allow perf probe to work on powerpc ABIv1 without the need to specify > > the leading dot '.' for functions. 'perf probe do_fork' works with this > > patch. > > > > Introd

Re: [PATCHv2 3/8] perf probe powerpc: Fix symbol fixup issues due to ELF type

2015-04-26 Thread Naveen N. Rao
On 2015/03/12 05:23PM, Arnaldo Carvalho de Melo wrote: > Em Mon, Dec 15, 2014 at 08:20:33PM +0530, Naveen N. Rao escreveu: > > If using the symbol table, symbol addresses are not being fixed up > > properly, resulting in probes being placed at wrong addresses: > > > > # perf probe do_fork > >

[PATCH 2/2] brcmfmac: keep WiFi chip's power during system suspension

2015-04-26 Thread Fu, Zhonghui
Need to keep the power supply for WiFi chip during system suspension. Otherwise, the context of WiFi chip will be lost. Signed-off-by: Zhonghui Fu --- drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/net/wi

Re: [PATCHv2 2/8] perf probe: Improve detection of file/function name in the probe pattern

2015-04-26 Thread Naveen N. Rao
On 2015/03/13 08:20PM, Masami Hiramatsu wrote: > (2015/03/13 5:24), Arnaldo Carvalho de Melo wrote: > > Em Mon, Dec 15, 2014 at 08:20:32PM +0530, Naveen N. Rao escreveu: > >> Currently, perf probe considers patterns including a '.' to be a file. > >> However, this causes problems on powerpc ABIv1 w

Re: [PATCH] Bluetooth: Skip the shutdown routine if the interface is not up

2015-04-26 Thread David Miller
From: Marcel Holtmann Date: Sun, 26 Apr 2015 21:49:06 -0700 > Hi Gabriele, > >> Most likely, the shutdown routine requires the interface to be up. >> This is the case for BTUSB_INTEL: the routine tries to send a command >> to the interface, but since this one is down, it fails and exits once >>

[PATCH 1/2] brcmfmac: prohibit ACPI power management for brcmfmac driver

2015-04-26 Thread Fu, Zhonghui
ACPI will manage WiFi chip's power state during suspend/resume process on some tablet platforms(such as ASUS T100TA). This is not supported by brcmfmac driver now, and the context of WiFi chip will be damaged after resume. This patch disconnects the relationship between WiFi chip and it's ACPI comp

[PATCH 3/3 v2] md/raid5: per hash value and exclusive wait_for_stripe

2015-04-26 Thread Yuanhan Liu
I noticed heavy spin lock contention at get_active_stripe() with fsmark multiple thread write workloads. Here is how this hot contention comes from. We have limited stripes, and it's a multiple thread write workload. Hence, those stripes will be taken soon, which puts later processes to sleep for

Re: [PATCH] Bluetooth: Skip the shutdown routine if the interface is not up

2015-04-26 Thread Marcel Holtmann
Hi Gabriele, > Most likely, the shutdown routine requires the interface to be up. > This is the case for BTUSB_INTEL: the routine tries to send a command > to the interface, but since this one is down, it fails and exits once > HCI_INIT_TIMEOUT has expired. > > Signed-off-by: Gabriele Mazzotta >

[PATCH 1/3] wait: introduce wait_event_cmd_exclusive

2015-04-26 Thread Yuanhan Liu
It's just a variant of wait_event_cmd, with exclusive flag being set. For cases like RAID5, which puts many processes to sleep until 1/4 resources are free, a wake_up wakes up all processes to run, but there is one process being able to get the resource as it's protected by a spin lock. That ends

[PATCH 2/3 v2] md/raid5: split wait_for_stripe and introduce wait_for_quiescent

2015-04-26 Thread Yuanhan Liu
I noticed heavy spin lock contention at get_active_stripe(), introduced at being wake up stage, where a bunch of processes try to re-hold the spin lock again. After giving some thoughts on this issue, I found the lock could be relieved(and even avoided) if we turn the wait_for_stripe to per waitqu

Re: [PATCH 3.10 06/31] tcp: tcp_make_synack() should clear skb->tstamp

2015-04-26 Thread David Miller
From: Willy Tarreau Date: Mon, 27 Apr 2015 06:02:22 +0200 > Hi Greg, > > On Sun, Apr 26, 2015 at 03:46:26PM +0200, Greg Kroah-Hartman wrote: >> 3.10-stable review patch. If anyone has any objections, please let me know. >> >> -- >> >> From: Eric Dumazet >> >> [ Upstream comm

Re: [PATCH 1/1 linux-next] cpufreq: pxa: replace typedef pxa_freqs_t by structure

2015-04-26 Thread Viresh Kumar
On 25 April 2015 at 14:15, Fabian Frederick wrote: > See Documentation/CodingStyle. Wow :) > Signed-off-by: Fabian Frederick > --- > drivers/cpufreq/pxa2xx-cpufreq.c | 20 ++-- > 1 file changed, 10 insertions(+), 10 deletions(-) Acked-by: Viresh Kumar -- To unsubscribe from t

Re: [PATCH 2/2] cpufreq: powernv: Register for OCC related opal_message notification

2015-04-26 Thread Viresh Kumar
On 22 April 2015 at 22:34, Shilpasri G Bhat wrote: > diff --git a/drivers/cpufreq/powernv-cpufreq.c > b/drivers/cpufreq/powernv-cpufreq.c > +static char throttle_reason[6][50] = { "No throttling", Don't need to mention 6 here. And the max length you need right now is 27, so maybe s/50/30 ? Al

Re: [PATCH 1/1] Documentation: Add dt-binding for TI-btwilink driver

2015-04-26 Thread Marcel Holtmann
Hi Gigi, > btwilink binds bluetooth hci0 interface with the shared transport driver > > Signed-off-by: Gigi Joseph > --- > Documentation/devicetree/bindings/btwilink.txt | 15 +++ > 1 file changed, 15 insertions(+) > create mode 100644 Documentation/devicetree/bindings/btwilink.txt >

Re: [PATCH 3.10 06/31] tcp: tcp_make_synack() should clear skb->tstamp

2015-04-26 Thread Eric Dumazet
Right. Bug was introduced in 3.18, the Fixes: tag tells us ;) git describe --contains 7faee5c0d514 v3.18-rc1~52^2~148^2 Note that it does not hurt having this backport to prior kernel versions. Field is already 0 after skb allocation/cloning. On Sun, Apr 26, 2015 at 9:02 PM, Willy Tarreau

[PATCH -stable] block: destroy bdi before blockdev is unregistered.

2015-04-26 Thread NeilBrown
Because of the peculiar way that md devices are created (automatically when the device node is opened), a new device can be created and registered immediately after the blk_unregister_region(disk_devt(disk), disk->minors); call in del_gendisk(). Therefore it is important that all visible

Re: [PATCH v10 00/29] Refine PCI scan interfaces and make generic pci host bridge

2015-04-26 Thread Daniel Axtens
Hi Yijing, I'm wondering if you might get some more momentum on these changes if we could split them into a few smaller patch sets. I think we might then be able to start getting bits of this in for 4.2, which should help with getting the rest of it in. I think there are a few things that would b

Re: [PATCH 3.10 06/31] tcp: tcp_make_synack() should clear skb->tstamp

2015-04-26 Thread Willy Tarreau
Hi Greg, On Sun, Apr 26, 2015 at 03:46:26PM +0200, Greg Kroah-Hartman wrote: > 3.10-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Eric Dumazet > > [ Upstream commit b50edd7812852d989f2ef09dcfc729690f54a42d ] > > I noticed tcpdump was

Re: [PATCH] dmaengine: dw: add Intel Broxton LPSS Integrated DMA support

2015-04-26 Thread Vinod Koul
On Tue, Apr 21, 2015 at 05:41:50AM +, Zha, Qipeng wrote: > + dma maillist Pls CC maintainer, or your patch will be missed!! > > > > > Best wishes > Qipeng > > -Original Message- > From: Zha, Qipeng > Sent: Tuesday, April 21, 2015 7:34 AM > To: linux-kernel@vger.kernel.org > Cc: v

Re: [PATCH 00/23] gpio: sysfs: fixes and clean ups

2015-04-26 Thread Alexandre Courbot
On Wed, Apr 22, 2015 at 12:42 AM, Johan Hovold wrote: > These patches fix a number of issues with the gpio sysfs interface, > including > > - fix memory leaks and crashes on device hotplug > - straighten out the convoluted locking > - reduce sysfs-interface latencies through more fine-grained l

Re: [PATCH 07/23] gpio: sysfs: rename gpiochip registration functions

2015-04-26 Thread Alexandre Courbot
On Wed, Apr 22, 2015 at 12:42 AM, Johan Hovold wrote: > Rename the gpio-chip export/unexport functions to the more descriptive > names gpiochip_register and gpiochip_unregister. Since these functions are related to sysfs, wouldn't gpiochip_sysfs_export (or gpiochip_sysfs_register, although the fo

Re: [PATCH 06/23] gpio: sysfs: clean up chip class-device handling

2015-04-26 Thread Alexandre Courbot
On Wed, Apr 22, 2015 at 12:42 AM, Johan Hovold wrote: > Clean gpio-chip class device registration and deregistration. > > The class device is registered when a gpio-chip is added (or from > gpiolib_sysfs_init post-core init call), and deregistered when the chip > is removed. > > Store the class de

Re: [PATCH 08/23] gpio: remove gpiod_sysfs_set_active_low

2015-04-26 Thread Alexandre Courbot
On Wed, Apr 22, 2015 at 12:42 AM, Johan Hovold wrote: > Remove gpiod_sysfs_set_active_low (and gpio_sysfs_set_active_low) which > allowed code to change the polarity of a gpio line even after it had > been exported through sysfs. > > Drivers should not care, and generally does not know, about gpio

Re: [PATCH v2] Input - mt: Fix input_mt_get_slot_by_key

2015-04-26 Thread Peter Hutterer
On Fri, Apr 24, 2015 at 08:26:39AM +0200, Henrik Rydberg wrote: > Peter, > > It may be a long time ago now, but we had very vocal discussions regarding the > MT protocol back then, and I am quite sure all the subtleties are well > understood. In order to fully appreciate the simplicity of the prot

[PATCH 1/1] Documentation: Add dt-binding for TI-btwilink driver

2015-04-26 Thread Gigi Joseph
btwilink binds bluetooth hci0 interface with the shared transport driver Signed-off-by: Gigi Joseph --- Documentation/devicetree/bindings/btwilink.txt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/btwilink.txt diff --git a/Documenta

Re: Broadcom 43340 module on iMX6DL

2015-04-26 Thread Dong Aisheng
On Thu, Apr 23, 2015 at 05:50:33PM -0700, John Tobias wrote: > Hello Guys, > > I have a follow up questions: > > > When the I power up the brcm44340 without loading the driver, the > sdhci-esdhc-imx host controller configured it with the following info > (cat /sys/kernel/debug/mmc0/ios): > clock

Re: Broadcom 43340 module on iMX6DL

2015-04-26 Thread Dong Aisheng
On Fri, Apr 24, 2015 at 09:03:04PM +0200, Arend van Spriel wrote: > On 04/24/15 20:24, John Tobias wrote: > >Hi Arend, > > > >Apologize for the confusion. I am asking the repo for the device > >driver for 43340. Looking at the link you sent, it's more userspace > >support and didn't see the device

[PATCH v2] spi: omap2-mcspi: Add support for GPIO chipselects

2015-04-26 Thread Michael Welling
This patch allows for GPIOs specified in the devicetree to be used as SPI chipselects on TI OMAP2 SoCs. Tested on the AM3354. Signed-off-by: Michael Welling --- v2: Considers the possible use of SPI_CS_HIGH during chip select activation. drivers/spi/spi-omap2-mcspi.c | 13 + 1 f

RE: [PATCH] perf/x86/intel/uncore: fix IMC missing box initialization

2015-04-26 Thread Liang, Kan
> > > This leads me to believe that this patch: > > > > commit c05199e5a57a579fea1e8fa65e2b511ceb524ffc > > Author: Kan Liang > > Date: Tue Jan 20 04:54:25 2015 + > > > > perf/x86/intel/uncore: Move uncore_box_init() out of driver > initialization > > > > If I revert it, I bet things wi

Re: Broadcom 43340 module on iMX6DL

2015-04-26 Thread Dong Aisheng
On Fri, Apr 24, 2015 at 09:03:04PM +0200, Arend van Spriel wrote: > On 04/24/15 20:24, John Tobias wrote: > >Hi Arend, > > > >Apologize for the confusion. I am asking the repo for the device > >driver for 43340. Looking at the link you sent, it's more userspace > >support and didn't see the device

Re: [PATCH 0/2] ppp: mppe: fixes MPPE desync on links which don't guarantee packet ordering

2015-04-26 Thread David Miller
From: Sylvain Rochet Date: Sun, 26 Apr 2015 20:40:51 +0200 > I am currently having an issue with PPP over L2TP (UDP) and MPPE in > stateless mode (default mode), UDP does not guarantee packet ordering so > we might get out of order packet. MPPE needs to be continuously synched > so we should drop

Re: [PATCH v3] dmaengine: xgene-dma: Fix sparse wannings and coccinelle warnings

2015-04-26 Thread Vinod Koul
On Mon, Apr 20, 2015 at 08:38:18AM +0530, Rameshwar Sahu wrote: > Hi Vinod, >> >> @@ -2085,6 +2043,5 @@ module_platform_driver(xgene_dma_driver); > >> > >> MODULE_DESCRIPTION("APM X-Gene SoC DMA driver"); > >> MODULE_AUTHOR("Rameshwar Prasad Sahu "); > >> -MODULE_AUTHOR("Loc Ho "); > > And why th

RE: [RFC PATCH 5/5] GHES: Make NMI handler have a single reader

2015-04-26 Thread Zheng, Lv
Hi, > From: Borislav Petkov [mailto:b...@alien8.de] > Sent: Friday, March 27, 2015 5:23 PM > > From: Jiri Kosina > > Since GHES sources are global, we theoretically need only a single CPU > reading them per NMI instead of a thundering herd of CPUs waiting on a > spinlock in NMI context for no r

[PATCH v4 03/10] lib: public headers and API implementations for userspace programs

2015-04-26 Thread Hajime Tazaki
userspace programs which uses libos access via a public API, lib_init(), with passed arguments struct SimImported and struct SimExported. Signed-off-by: Hajime Tazaki Signed-off-by: Ryo Nakamura --- arch/lib/include/sim-assert.h | 23 +++ arch/lib/include/sim-init.h | 134 ++ arc

[PATCH v4 10/10] lib: tools used for test scripts

2015-04-26 Thread Hajime Tazaki
These auxiliary files are used for testing and debugging of net/ code with libos. a simple test is implemented with make test ARCH=lib. Signed-off-by: Hajime Tazaki --- tools/testing/libos/.gitignore | 6 + tools/testing/libos/Makefile | 38 +++ tools/testing/l

[PATCH v4 01/10] sysctl: make some functions unstatic to access by arch/lib

2015-04-26 Thread Hajime Tazaki
libos (arch/lib) emulates a sysctl-like interface by a function call of userspace by enumerating sysctl tree from sysctl_table_root. It requires to be publicly accessible to this symbol and related functions. Signed-off-by: Hajime Tazaki --- fs/proc/proc_sysctl.c | 36 +++

[PATCH v4 07/10] lib: other kernel glue layer code

2015-04-26 Thread Hajime Tazaki
These files are used to provide the same function calls so that other network stack code keeps untouched. Signed-off-by: Hajime Tazaki Signed-off-by: Christoph Paasch --- arch/lib/capability.c | 25 + arch/lib/filemap.c| 32 ++ arch/lib/fs.c | 70 arch/lib/gl

  1   2   3   4   >