Re: [PATCH] arm64: kernel: need extern variable 'screen_info' for related driver using.

2013-05-20 Thread Geert Uytterhoeven
On Tue, May 21, 2013 at 5:15 AM, Chen Gang wrote: >> I think it would be better if we added a something like >> CONFIG_HAVE_VGA_CONSOLE, which VGA_CONSOLE can then depend on. Architectures >> like x86 can then select the former, and we can remove the long list of >> architectures from the current

Re: [PATCH v3 net-next 3/4] ixgbe: Add support for ndo_ll_poll

2013-05-20 Thread Eliezer Tamir
On 20/05/2013 23:20, Or Gerlitz wrote: On Mon, May 20, 2013 at 1:16 PM, Eliezer Tamir wrote: Add the ixgbe driver code implementing ndo_ll_poll. It should be easy for other drivers to do something similar in order to enable support for CONFIG_INET_LL_RX_POLL I am not sure, Willem ported thi

Re: [patch v3 -mm 1/3] memcg: integrate soft reclaim tighter with zone shrinking code

2013-05-20 Thread Michal Hocko
On Mon 20-05-13 16:44:38, Michal Hocko wrote: [...] > I had one group (call it A) with the streaming IO load (dd if=/dev/zero > of=file with 4*TotalRam size) and a parallel hierarchy with 2 groups > with up to 12 levels each (512, 1024, 4096, 8192 groups) and no limit > set. I have compared the re

Re: [PATCH v2] sched: wake-affine throttle

2013-05-20 Thread Michael Wang
On 05/21/2013 02:47 PM, Alex Shi wrote: > On 05/21/2013 11:20 AM, Michael Wang wrote: >> CC: Mike Galbraith >> CC: Alex Shi > > You can change CC to > Reviewed-by: Alex Shi Got it, thanks for your review :) Regards, Michael Wang > -- To unsubscribe from this list: send the line "unsubscrib

Re: [PATCH v2] sched: wake-affine throttle

2013-05-20 Thread Alex Shi
On 05/21/2013 11:20 AM, Michael Wang wrote: > CC: Mike Galbraith > CC: Alex Shi You can change CC to Reviewed-by: Alex Shi -- Thanks Alex -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 1/2 v2, RFC] ACPI / memhotplug: Bind removable memory blocks to ACPI device nodes

2013-05-20 Thread Tang Chen
Hi Rafael, Seems OK to me. Reviewed-by: Tang Chen Thanks. :) On 05/04/2013 07:12 PM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki During ACPI memory hotplug configuration bind memory blocks residing in modules removable through the standard ACPI mechanism to struct acpi_device objects a

[PATCH][RFC] CPU Jitter random number generator (resent)

2013-05-20 Thread Stephan Mueller
Hi, [1] patch at http://www.chronox.de/jent/jitterentropy-20130516.tar.bz2 A new version of the CPU Jitter random number generator is released at http://www.chronox.de/ . The heart of the RNG is about 30 lines of easy to read code. The readme in the main directory explains the different code file

Re: [PATCH 00/19] driver:usb&net: add missing platform_driver owner

2013-05-20 Thread Thomas Petazzoni
Dear David Miller, On Mon, 20 May 2013 23:26:19 -0700 (PDT), David Miller wrote: > From: Libo Chen > Date: Tue, 21 May 2013 10:42:00 +0800 > > > I find a lot of mistakes using struct platform_driver without owner. > > So I pick up some of them including usb and net modules > > Instead of doing

Re: [PATCH 1/3] imx-drm: imx-tve: Check the return value of 'regulator_enable()'

2013-05-20 Thread Sascha Hauer
On Mon, May 20, 2013 at 10:55:49AM -0300, Fabio Estevam wrote: > Check the return value of 'regulator_enable()' to fix the following build > error: > > drivers/staging/imx-drm/imx-tve.c: In function 'imx_tve_probe': > drivers/staging/imx-drm/imx-tve.c:671:19: warning: ignoring return value of >

Re: [PATCH 2/2 v2, RFC] Driver core: Introduce offline/online callbacks for memory blocks

2013-05-20 Thread Tang Chen
Hi Rafael, Please see below. On 05/04/2013 07:21 PM, Rafael J. Wysocki wrote: .. static BLOCKING_NOTIFIER_HEAD(memory_chain); @@ -278,33 +283,64 @@ static int __memory_block_change_state(s { int ret = 0; - if (mem->state != from_state_req) { - ret = -EINVAL;

Re: [PATCH] ARM: vt8500: Add missing NULL terminator in dt_compat

2013-05-20 Thread Olof Johansson
On Fri, May 17, 2013 at 08:28:36PM +1200, Tony Prisk wrote: > On 17/05/13 19:44, Srinivas KANDAGATLA wrote: > >From: Srinivas Kandagatla > > > >When I tried booting a stih415 Dual core A9 with multi_v7_defconfig, it > >failed to boot. The issues seems to be changing by enabling or disabling > >VT8

Re: [PATCH v3] pinctrl: samsung: fix suspend/resume functionality

2013-05-20 Thread Olof Johansson
On Mon, May 20, 2013 at 07:59:27AM -0700, Doug Anderson wrote: > Linus, > > On Mon, May 20, 2013 at 4:47 AM, Linus Walleij > wrote: > > Looks good to me. > > Acked-by: Linus Walleij > > > > How are you going to merge this? > > > > Samsung tree? > > > > My pinctrl development tree? > > > > Or my

Re: [PATCH 00/19] driver:usb&net: add missing platform_driver owner

2013-05-20 Thread David Miller
From: Libo Chen Date: Tue, 21 May 2013 10:42:00 +0800 > I find a lot of mistakes using struct platform_driver without owner. > So I pick up some of them including usb and net modules Instead of doing it this way, which is obviously error prone and easy to forget, make platform_driver_register()

Re: [GIT PULL] at91: fixes for 3.10 #1

2013-05-20 Thread Olof Johansson
On Wed, May 15, 2013 at 12:45:47PM +0200, Nicolas Ferre wrote: > Arnd, Olof, > > This is the first AT91 fixes pull-request for 3.10-rc. > > Thanks, best regards, > > The following changes since commit f722406faae2d073cc1d01063d1123c35425939e: > > Linux 3.10-rc1 (2013-05-11 17:14:08 -0700) >

Re: [PATCH v3 net-next 3/4] ixgbe: Add support for ndo_ll_poll

2013-05-20 Thread Or Gerlitz
On Tue, May 21, 2013 at 12:01 AM, Andi Kleen wrote: > > On Mon, May 20, 2013 at 11:42:37PM +0300, Or Gerlitz wrote: > > On Mon, May 20, 2013 at 11:33 PM, Andi Kleen wrote: > > > > > > > > This is discussed in 0/x > > > > > > > I am not with you, V3's cover letter is empty, and in V2's cover lette

[PATCH 8/8] rtc: rtc-sh: use devm_*() functions

2013-05-20 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-sh.c | 72 +++--- 1 file changed, 21 insertions(+), 51 deletions(-) diff --git a/drivers/rtc/rtc-sh.c b/drivers/rtc/rtc-sh.c index cb2f839..6d87e26 1

[PATCH 6/8] rtc: rtc-pxa: use devm_*() functions

2013-05-20 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-pxa.c | 43 --- 1 file changed, 12 insertions(+), 31 deletions(-) diff --git a/drivers/rtc/rtc-pxa.c b/drivers/rtc/rtc-pxa.c index ed037ae..a355f2b 10064

[PATCH 7/8] rtc: rtc-rx8025: use devm_*() functions

2013-05-20 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-rx8025.c | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/drivers/rtc/rtc-rx8025.c b/drivers/rtc/rtc-rx8025.c index 0722d36..8fa23ea 100644 --- a/drivers/r

[PATCH 5/8] rtc: rtc-pm8xxx: use devm_*() functions

2013-05-20 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-pm8xxx.c | 27 --- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/drivers/rtc/rtc-pm8xxx.c b/drivers/rtc/rtc-pm8xxx.c index 14ee860..03f8f75 100644 --- a/

[RFC 0/7] perf report/gtk: Add support for hierarchy view

2013-05-20 Thread Namhyung Kim
Hi guys, This patchset implements a new feature that collects hist entries in a hierachical manner. That means lower-level entries are belonged to an upper-level entry. The entry hierachy is built on the sort keys given, so users can set it whatever they want. It only shows top-level entries fi

[PATCH 3/8] rtc: rtc-m48t59: use devm_*() functions

2013-05-20 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-m48t59.c | 53 +++--- 1 file changed, 17 insertions(+), 36 deletions(-) diff --git a/drivers/rtc/rtc-m48t59.c b/drivers/rtc/rtc-m48t59.c index d4d31fa..f

[PATCH 4/8] rtc: rtc-mpc5121: use devm_*() functions

2013-05-20 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-mpc5121.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/rtc/rtc-mpc5121.c b/drivers/rtc/rtc-mpc5121.c index 213006b..4c02497 100644 --- a/drivers/rt

[PATCH 2/8] rtc: rtc-jz4740: use devm_*() functions

2013-05-20 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-jz4740.c | 65 -- 1 file changed, 16 insertions(+), 49 deletions(-) diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c index c6573585..

Re: [PATCH v2 net-next 1/4] net: implement support for low latency socket polling

2013-05-20 Thread Eliezer Tamir
On 20/05/2013 19:22, Andi Kleen wrote: diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt index f98ca63..cfcf0ea 100644 --- a/Documentation/networking/ip-sysctl.txt +++ b/Documentation/networking/ip-sysctl.txt @@ -19,6 +19,11 @@ ip_no_pmtu_disc - BOOLEAN

Re: [PATCH] i2c: vt8500: Add support for I2C bus on Wondermedia SoCs

2013-05-20 Thread Tony Prisk
On 12/05/13 21:23, Tony Prisk wrote: This patch adds support for the I2C bus controllers found on Wondermedia 8xxx-series SoCs. Only master-mode is supported. Signed-off-by: Tony Prisk --- .../devicetree/bindings/i2c/i2c-vt8500.txt | 24 + MAINTAINERS

[PATCH 1/8] rtc: rtc-ds1307: use devm_*() functions

2013-05-20 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-ds1307.c | 43 +-- 1 file changed, 17 insertions(+), 26 deletions(-) diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c index b53992a..ca18

[PATCH 4/7] perf gtk/hists: Add support for hierachical output

2013-05-20 Thread Namhyung Kim
From: Namhyung Kim When the symbol_conf.hierarchy is set, perf will collapse entries by a first sort key, and then second key, and so on in a hierarchical manner. It'll be looked like a tree view so set the expander column to a column that displays sort entries. Cc: Pekka Enberg Signed-off-by:

[PATCH 3/7] perf gtk/hists: Factor out perf_gtk__add_entries()

2013-05-20 Thread Namhyung Kim
From: Namhyung Kim This is a preparation for supporting hierarchical output in the hist browser. Cc: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/ui/gtk/hists.c | 72 +++ 1 file changed, 41 insertions(+), 31 deletions(-) diff --git a/too

[PATCH 1/7] perf hists: Basic support of hierarchical view

2013-05-20 Thread Namhyung Kim
From: Namhyung Kim In a hierarchical view, the events sorted and grouped on first key, and then second key, and so on. Now each hist entry has 3 of hroots to save it's children entries. Signed-off-by: Namhyung Kim --- tools/perf/util/hist.c | 325 +---

[PATCH 5/7] perf report: Add -H (--hierarchy) option

2013-05-20 Thread Namhyung Kim
From: Namhyung Kim It's for enabling the hierarchical view. Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-report.txt | 5 + tools/perf/builtin-report.c | 6 ++ 2 files changed, 11 insertions(+) diff --git a/tools/perf/Documentation/perf-report.txt b/tools

[PATCH 6/7] perf gtk/hists: Add a double-click handler for hierarchy mode

2013-05-20 Thread Namhyung Kim
From: Namhyung Kim If hierarchy mode is enabled, add "row-activated" signal handler for handling double-click or pressing ENTER key action. Cc: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/ui/gtk/hists.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/tools/per

[PATCH 2/7] perf gtk/hists: Use GtkTreeStore instead of GtkListStore

2013-05-20 Thread Namhyung Kim
From: Namhyung Kim The GtkTreeStore can save items in a tree-like way. This is a preparation for supporting hierachical output in the hist browser. Cc: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/ui/gtk/hists.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) dif

[PATCH 7/7] perf gtk/hists: Set rules hint for the hist browser

2013-05-20 Thread Namhyung Kim
From: Namhyung Kim The 'rules' means that every second line of the tree view has a shaded background, which makes it easier to see which cell belongs to which row in the tree view. It can be useful for a tree view that has a lot of rows. Cc: Pekka Enberg Signed-off-by: Namhyung Kim --- tools

Re: [PATCH] arm64: kernel: compiling issue, need 'EXPORT_SYMBOL_GPL(read_current_timer)'

2013-05-20 Thread Marc Zyngier
On Tue, 21 May 2013 12:06:52 +0800, Chen Gang wrote: > On 05/20/2013 05:56 PM, Will Deacon wrote: >> On Mon, May 20, 2013 at 08:15:04AM +0100, Marc Zyngier wrote: >>> On Mon, 20 May 2013 14:48:05 +0800, Chen Gang >>> wrote: Need 'EXPORT_SYMBOL_GPL(read_current_timer)' if build with allm

RE: [PATCH] ARM: bcm2835: override the HW UART periphid

2013-05-20 Thread Jongsung Kim
Jongsung Kim : > diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi > index f0052dc..1e12aef 100644 > --- a/arch/arm/boot/dts/bcm2835.dtsi > +++ b/arch/arm/boot/dts/bcm2835.dtsi > @@ -44,6 +44,7 @@ > reg = <0x7e201000 0x1000>; >

[PATCH] ARM: bcm2835: override the HW UART periphid

2013-05-20 Thread Jongsung Kim
Stephen Warren reported the recent commit 78506f2 (add support for extended FIFO-size of PL011-r1p5) breaks the serial port on the BCM2835 ARM SoC. A UART compatible with the ARM PL011-r1p5 should have 32-deep FIFOs. The BCM2835 UART just looks like an ARM PL011-r1p5, but has 16-deep FIFOs just li

Re: [PATCH 2/6] ARM: dts: imx6q{dl}: fix the pin conflict between SPI and WEIM

2013-05-20 Thread Huang Shijie
于 2013年05月21日 13:49, Shawn Guo 写道: specific pin setup for ecspi1, something like pinctrl_ecspi1_sabreauto. ok. thanks Huang Shijie -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vge

Re: [PATCH 2/6] ARM: dts: imx6q{dl}: fix the pin conflict between SPI and WEIM

2013-05-20 Thread Shawn Guo
On Mon, May 20, 2013 at 04:48:58PM +0800, Huang Shijie wrote: > In the imx6q-sabreauto and imx6dl-sabreauto boards, > the pin MX6Q{DL}_PAD_EIM_D19 is used as a GPIO for SPI NOR, but > it is used as a data pin for the WEIM NOR. > > In order to fix the conflict, this patch removes the pin from the h

[PATCH] PowerPC: kernel: need return the related error code when failure occurs.

2013-05-20 Thread Chen Gang
When error occurs, need return the related error code to let upper caller know about it. ppc_md.nvram_size() can return the error code (e.g. core99_nvram_size() in 'arch/powerpc/platforms/powermac/nvram.c'). And when '*ppos >= size', need return -ESPIPE (Illegal seek) The original related patch

Re: [PATCH 1/6] drivers: bus: add a new driver for WEIM

2013-05-20 Thread Shawn Guo
On Mon, May 20, 2013 at 04:48:57PM +0800, Huang Shijie wrote: > The WEIM(Wireless External Interface Module) works like a bus. > You can attach many different devices on it, such as NOR, onenand. > > In the case of i.MX6q-sabreauto, the NOR is connected to WEIM. > > This patch also adds the devic

Re: [PATCH 3/3] perf, x86, lbr: Demand proper privileges for PERF_SAMPLE_BRANCH_KERNEL

2013-05-20 Thread Michael Neuling
Peter Zijlstra wrote: > On Thu, May 16, 2013 at 05:36:11PM +0200, Stephane Eranian wrote: > > On Thu, May 16, 2013 at 1:16 PM, Peter Zijlstra > > wrote: > > > On Thu, May 16, 2013 at 08:15:17PM +1000, Michael Neuling wrote: > > >> Peter, > > >> > > >> BTW PowerPC also has the ability to filter

Re: [RFC PATCH 6/8] kthread: Enable parking requests from setup() and unpark() callbacks

2013-05-20 Thread anish singh
On Mon, May 20, 2013 at 9:31 PM, Frederic Weisbecker wrote: > When the watchdog code is boot-disabled by the user, for example > through the 'nmi_watchdog=0' boot option, the setup() callback of > the watchdog kthread requests to park the task, and that until the > user later re-enables the watchd

Re: [PATCH V4 3/3] pwm: pxa: add device tree support

2013-05-20 Thread Chao Xie
hi, Thierry Eric has acked all the patches. So can you help to merge them? Thanks. On Mon, May 13, 2013 at 2:20 PM, Eric Miao wrote: > On Mon, May 13, 2013 at 1:04 PM, Chao Xie wrote: + const struct of_device_id *of_id = + of_match_device(pxa_pwm_of_match,

[PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-05-20 Thread Wang YanQing
Impact: 1:convert all remain take_over_console to do_take_over_console 2:update take_over_console to do_take_over_console in comment Commit dc9641895abb ("vt: delete unneeded functions register_con_driver|take_over_console") delete take_over_console, but forget to convert remain take_over_console'

Re: [PATCH] virtio-net: Reporting traffic queue distribution statistics through ethtool

2013-05-20 Thread Jason Wang
On 05/21/2013 09:26 AM, Narasimhan, Sriram wrote: > > -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Monday, May 20, 2013 2:59 AM > To: Narasimhan, Sriram > Cc: ru...@rustcorp.com.au; virtualizat...@lists.linux-foundation.org; > k...@vger.kernel.org; net...

Re: [PATCH v4 3/5] clk: add support for clock reparent on set_rate

2013-05-20 Thread Saravana Kannan
On 05/20/2013 06:28 AM, James Hogan wrote: Add core support to allow clock implementations to select the best parent clock when rounding a rate, e.g. the one which can provide the closest clock rate to that requested. This is by way of adding a new clock op, determine_rate(), which is like round_

linux-next: Tree for May 21

2013-05-20 Thread Stephen Rothwell
Hi all, Changes since 20130520: The rr-fixes tree lost its build failure. The crypto tree gained a build failure so I used the version from next-20130520. The drm-intel tree gained a conflict against Linus' tree. The tty tree gained a build failure so I used the version from next-201

Re: [PATCH v6 0/9] Generic PHY Framework

2013-05-20 Thread Kishon Vijay Abraham I
Hi, On Monday 29 April 2013 03:33 PM, Kishon Vijay Abraham I wrote: Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. This framework will be of use only

Re: [PATCH v4 5/5] clk: clk-mux: implement remuxing on set_rate

2013-05-20 Thread Saravana Kannan
On 05/20/2013 06:28 AM, James Hogan wrote: Implement clk-mux remuxing if the CLK_SET_RATE_NO_REPARENT flag isn't set. This implements determine_rate for clk-mux to propagate to each parent and to choose the best one (like clk-divider this chooses the parent which provides the fastest rate <= the

Re: [PATCH 02/19] drivers/usb/host: add missing platform_driver owner

2013-05-20 Thread Viresh Kumar
On Tue, May 21, 2013 at 8:12 AM, Libo Chen wrote: > set the owner of platform_driver, to ensure that the > caller of driver holds a module refernece > > Signed-off-by: Libo Chen > --- > drivers/usb/host/ehci-spear.c |1 + Acked-by: Viresh Kumar -- To unsubscribe from this list: send the l

linux-next: manual merge of the akpm tree with the net-next tree

2013-05-20 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in arch/powerpc/net/bpf_jit_comp.c between commit ed900ffb73e3 ("ppc: bpf_jit: can call module_free() from any context") from the net-next tree and commit "bpf: add comments explaining the schedule_work() operation" from the akpm

linux-next: manual merge of the akpm tree with the net-next tree

2013-05-20 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in arch/arm/net/bpf_jit_32.c between commit aafc787e41fd ("arm: bpf_jit: can call module_free() from any context") from the net-next tree and commit "bpf: add comments explaining the schedule_work() operation" from the akpm tree.

linux-next: manual merge of the akpm tree with the net-next tree

2013-05-20 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in arch/arm/net/bpf_jit_32.c between commit aafc787e41fd ("arm: bpf_jit: can call module_free() from any context") from the net-next tree and commit "ARM: net: bpf_jit: make code generation less dependent on struct sk_filter" from

Re: [PATCH] arm64: kernel: compiling issue, need 'EXPORT_SYMBOL_GPL(read_current_timer)'

2013-05-20 Thread Chen Gang
On 05/20/2013 05:56 PM, Will Deacon wrote: > On Mon, May 20, 2013 at 08:15:04AM +0100, Marc Zyngier wrote: >> On Mon, 20 May 2013 14:48:05 +0800, Chen Gang >> wrote: >>> Need 'EXPORT_SYMBOL_GPL(read_current_timer)' if build with allmodconfig. >>> >>> The related error: >>> ERROR: "read_current_t

[PATCH 2/3] f2fs: add f2fs_readonly()

2013-05-20 Thread Jaegeuk Kim
Introduce a simple macro function for readability. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 5 + fs/f2fs/file.c | 2 +- fs/f2fs/super.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 9182b27..6594ce1 100644 --- a/fs/f2fs/

[PATCH 3/3] f2fs: fix wrong condition check

2013-05-20 Thread Jaegeuk Kim
While an orphan inode has zero link_count, f2fs_gc is able to select the inode for foreground gc. - f2fs_gc - do_garbage_collect - gc_data_segment : f2fs_iget is failed : get_valid_blocks() != 0, so that retry --> here we got the infinite loop. This patch resolved this issue. Signe

[PATCH 1/3] f2fs: avoid RECLAIM_FS-ON-W: deadlock

2013-05-20 Thread Jaegeuk Kim
This patch tries to avoid the following deadlock condition of which the reclaim path can trigger f2fs_balance_fs again. = [ INFO: inconsistent lock state ] - inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-W} usage. kswapd0/41 [HC0[0

[ANNOUNCE] ktap 0.1 released

2013-05-20 Thread zhangwei(Jovi)
Dear, I'm pleased to announce that ktap release v0.1, this is the first official release of ktap project, it is expected that this release is not fully functional or very stable and we welcome bug reports and fixes for the issues. = what's ktap? A New Scripting Dynamic Tracing Tool For Linux

Re: [PATCH] drm/exynos: exynos_hdmi: Pass correct pointer to free_irq()

2013-05-20 Thread 김승우
Good point, On 2013년 05월 21일 02:32, Lars-Peter Clausen wrote: > free_irq() expects the same pointer that was passed to request_threaded_irq(), > otherwise the IRQ is not freed. > > The issue was found using the following coccinelle script: > > > @r1@ > type T; > T devid; > @@ > request_threaded

[PATCH] Finally eradicate CONFIG_HOTPLUG

2013-05-20 Thread Stephen Rothwell
Ever since commit 45f035ab9b8f ("CONFIG_HOTPLUG should be always on"), it has been basically impossible to build a kernel with CONFIG_HOTPLUG turned off. Remove all the remaining references to it. Cc: linux-a...@vger.kernel.org Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Cc: Doug T

Re: [PATCHv12 2/4] zbud: add to mm/

2013-05-20 Thread Bob Liu
On 05/21/2013 12:26 AM, Seth Jennings wrote: > zbud is an special purpose allocator for storing compressed pages. It is > designed to store up to two compressed pages per physical page. While this > design limits storage density, it has simple and deterministic reclaim > properties that make it

Re: [PATCH 3/3] Thermal:core: Handle trips focused on current trip point only.

2013-05-20 Thread jonghwa3 . lee
On 2013년 05월 21일 01:00, Zhang, Rui wrote: > > >> -Original Message- >> From: Jonghwa Lee [mailto:jonghwa3@samsung.com] >> Sent: Saturday, May 18, 2013 5:51 PM >> To: linux...@vger.kernel.org >> Cc: linux-kernel@vger.kernel.org; Zhang, Rui; Eduardo Valentin; Amit >> Dinel Kachhap; Jon

Re: [PATCH v6 3/7] KVM: MMU: fast invalidate all pages

2013-05-20 Thread Xiao Guangrong
On 05/21/2013 04:40 AM, Marcelo Tosatti wrote: > On Mon, May 20, 2013 at 11:15:45PM +0300, Gleb Natapov wrote: >> On Mon, May 20, 2013 at 04:46:24PM -0300, Marcelo Tosatti wrote: >>> On Fri, May 17, 2013 at 05:12:58AM +0800, Xiao Guangrong wrote: The current kvm_mmu_zap_all is really slow - it

Re: [PATCH 0/5 v2] VFIO PPC64: add VFIO support on POWERPC64

2013-05-20 Thread Alexey Kardashevskiy
Oops, wrong subject (cut-n-paste) :) There are 3 patches, not 5. On 05/21/2013 01:33 PM, Alexey Kardashevskiy wrote: > The series adds support for VFIO on POWERPC in user space (such as QEMU). > The in-kernel real mode IOMMU support is added by another series posted > separately. > > As the firs

Re: [PATCHv12 3/4] zswap: add to mm/

2013-05-20 Thread Bob Liu
On 05/21/2013 12:26 AM, Seth Jennings wrote: > zswap is a thin backend for frontswap that takes pages that are in the process > of being swapped out and attempts to compress them and store them in a > RAM-based memory pool. This can result in a significant I/O reduction on the > swap device and,

[PATCH 2/3] powerpc/vfio: Implement IOMMU driver for VFIO

2013-05-20 Thread Alexey Kardashevskiy
VFIO implements platform independent stuff such as a PCI driver, BAR access (via read/write on a file descriptor or direct mapping when possible) and IRQ signaling. The platform dependent part includes IOMMU initialization and handling. This implements an IOMMU driver for VFIO which does mapping/

[PATCH 3/3] powerpc/vfio: Enable on pSeries platform

2013-05-20 Thread Alexey Kardashevskiy
The enables VFIO on the pSeries platform, enabling user space programs to access PCI devices directly. Signed-off-by: Alexey Kardashevskiy Cc: David Gibson Signed-off-by: Paul Mackerras --- arch/powerpc/platforms/pseries/iommu.c |4 drivers/iommu/Kconfig |2 +- dr

[PATCH 1/3] powerpc/vfio: Enable on POWERNV platform

2013-05-20 Thread Alexey Kardashevskiy
This initializes IOMMU groups based on the IOMMU configuration discovered during the PCI scan on POWERNV (POWER non virtualized) platform. The IOMMU groups are to be used later by the VFIO driver, which is used for PCI pass through. It also implements an API for mapping/unmapping pages for guest

[PATCH 0/5 v2] VFIO PPC64: add VFIO support on POWERPC64

2013-05-20 Thread Alexey Kardashevskiy
The series adds support for VFIO on POWERPC in user space (such as QEMU). The in-kernel real mode IOMMU support is added by another series posted separately. As the first and main aim of this series is the POWERNV platform support, the "Enable on POWERNV platform" patch goes first and introduces a

Re: [PATCH v2] ext4: Avoid unnecessarily writing back dirty pages before hole punching

2013-05-20 Thread Zheng Liu
On Mon, May 20, 2013 at 05:04:35PM +0800, Li Wang wrote: > For hole punching, currently ext4 will synchronously write back the > dirty pages fit into the hole, since the data on the disk responding > to those pages are to be deleted, it is benefical to directly release > those pages, no matter they

Re: [PATCH rebased] Bluetooth: Add missing reset_resume dev_pm_ops

2013-05-20 Thread Gustavo Padovan
Hi Shuan, * Shuah Khan [2013-05-21 01:02:58 +]: > Add missing reset_resume dev_pm_ops. Missing reset_resume results in the > following message after power management device test. This change sets > reset_resume to btusb_resume(). > > [ 2506.936134] btusb 1-1.5:1.0: no reset_resume for drive

linux-next: build failure after merge of the tty tree

2013-05-20 Thread Stephen Rothwell
ers, must call either register_con_driver() Documentation/console/console.txt: or take_over_console(). register_con_driver() will just add the driver to I have used the version of the tty tree from next-20130520 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpah3KZtcnNW.pgp Description: PGP signature

[PATCH v2] sched: wake-affine throttle

2013-05-20 Thread Michael Wang
Log since v1: Add cc list. Add more comments. Tested on tip 3.10.0-rc1. wake-affine stuff is always trying to pull wakee close to waker, by theory, this will benefit us if waker's cpu cached hot data for wakee, or the extreme ping-pong case, and testing show it could benefi

Re: [PATCH] arm64: kernel: need extern variable 'screen_info' for related driver using.

2013-05-20 Thread Chen Gang
On 05/20/2013 05:10 PM, Will Deacon wrote: > Hi Chen, > > On Mon, May 20, 2013 at 06:42:46AM +0100, Chen Gang wrote: >> >> Add the extern variable 'screen_info' according to arm32 has done. >> >> The related error: >> drivers/video/console/vgacon.c:1305: undefined reference to `screen_info' >> >

[PATCH 4/4] KVM: PPC: Add hugepage support for IOMMU in-kernel handling

2013-05-20 Thread Alexey Kardashevskiy
This adds special support for huge pages (16MB). The reference counting cannot be easily done for such pages in real mode (when MMU is off) so we added a list of huge pages. It is populated in virtual mode and get_page is called just once per a huge page. Real mode handlers check if the requested

[PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-05-20 Thread Alexey Kardashevskiy
This allows the host kernel to handle H_PUT_TCE, H_PUT_TCE_INDIRECT and H_STUFF_TCE requests without passing them to QEMU, which should save time on switching to QEMU and back. Both real and virtual modes are supported - whenever the kernel fails to handle TCE request, it passes it to the virtual

[PATCH 2/4] powerpc: Prepare to support kernel handling of IOMMU map/unmap

2013-05-20 Thread Alexey Kardashevskiy
The current VFIO-on-POWER implementation supports only user mode driven mapping, i.e. QEMU is sending requests to map/unmap pages. However this approach is really slow, so we want to move that to KVM. Since H_PUT_TCE can be extremely performance sensitive (especially with network adapters where eac

[PATCH 1/4] KVM: PPC: Add support for multiple-TCE hcalls

2013-05-20 Thread Alexey Kardashevskiy
This adds real mode handlers for the H_PUT_TCE_INDIRECT and H_STUFF_TCE hypercalls for QEMU emulated devices such as virtio devices or emulated PCI. These calls allow adding multiple entries (up to 512) into the TCE table in one call which saves time on transition to/from real mode. This adds a t

[PATCH 0/4 v2] KVM: PPC: IOMMU in-kernel handling

2013-05-20 Thread Alexey Kardashevskiy
This accelerates IOMMU operations in real and virtual mode in the host kernel for the KVM guest. The first patch with multitce support is useful for emulated devices as is. The other patches are designed for VFIO although this series does not contain any VFIO related code as the connection betwee

[PATCH 10/19] drivers/net/ethernet/freescale: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/freescale/xgmac_mdio.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/freescale/xgmac_mdio.c b/drivers/

[PATCH 06/19] drivers/usb/phy: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/usb/phy/phy-rcar-usb.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/phy/phy-rcar-usb.c b/drivers/usb/phy/phy-rcar-usb.c inde

[PATCH 09/19] drivers/net/ethernet: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/dnet.c |3 ++- drivers/net/ethernet/korina.c |1 + 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/net/ethernet/dnet.c

[PATCH 02/19] drivers/usb/host: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/usb/host/ehci-atmel.c |1 + drivers/usb/host/ehci-msm.c |1 + drivers/usb/host/ehci-mv.c |1 + drivers/usb/host/ehci-mxc.c |1 + driv

[PATCH 19/19] drivers/net/ethernet/renesas: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/renesas/sh_eth.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet

[PATCH 01/19] drivers/usb/musb: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/usb/musb/am35x.c|1 + drivers/usb/musb/blackfin.c |1 + drivers/usb/musb/da8xx.c|1 + drivers/usb/musb/davinci.c |1 + drivers/usb/musb/oma

[PATCH 08/19] drivers/net/ethernet/amd: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/amd/am79c961a.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/amd/am79c961a.c b/drivers/net/ethernet/a

[PATCH -next] staging: btmtk_usb: remove unused including

2013-05-20 Thread Wei Yongjun
From: Wei Yongjun Remove including that don't need it. Signed-off-by: Wei Yongjun --- drivers/staging/btmtk_usb/btmtk_usb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/btmtk_usb/btmtk_usb.c b/drivers/staging/btmtk_usb/btmtk_usb.c index 6b01f61..5d0a952 100644 --- a/dri

[PATCH 00/19] driver:usb&net: add missing platform_driver owner

2013-05-20 Thread Libo Chen
I find a lot of mistakes using struct platform_driver without owner. So I pick up some of them including usb and net modules Libo Chen (19): drivers/usb/musb: add missing platform_driver owner drivers/usb/host: add missing platform_driver owner drivers/usb/chipidea: add missing platform_driv

[PATCH 18/19] drivers/net/ethernet/marvell: add missing platform_driver owne

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/marvell/mvneta.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet

[PATCH 15/19] drivers/net/irda: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/irda/bfin_sir.c |1 + drivers/net/irda/sh_irda.c|1 + drivers/net/irda/sh_sir.c |1 + drivers/net/irda/smsc-ircc2.c |1 + 4 files chan

[PATCH 12/19] drivers/net/ethernet/xscale: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/xscale/ixp4xx_eth.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/xscale/ixp4xx_eth.c b/drivers/net/et

[PATCH 03/19] drivers/usb/chipidea: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/usb/chipidea/ci13xxx_msm.c |2 +- drivers/usb/chipidea/core.c|1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/usb/chipid

[PATCH 17/19] drivers/net/ethernet/nxp: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/nxp/lpc_eth.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/nxp/lpc_eth.c b/drivers/net/ethernet/nxp/l

[PATCH 13/19] drivers/net/ethernet/calxeda: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/calxeda/xgmac.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/calxeda/xgmac.c b/drivers/net/ethernet/c

[PATCH 14/19] drivers/net/wireless/brcm80211/brcmfmac: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- .../net/wireless/brcm80211/brcmfmac/bcmsdh_sdmmc.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh

[PATCH 07/19] drivers/usb/gadget: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/usb/gadget/r8a66597-udc.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/gadget/r8a66597-udc.c b/drivers/usb/gadget/r8a66597-

[PATCH 16/19] drivers/net/wan: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/wan/ixp4xx_hss.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/wan/ixp4xx_hss.c b/drivers/net/wan/ixp4xx_hss.c index fc9d

[PATCH 04/19] drivers/usb/dwc3: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/usb/dwc3/core.c|1 + drivers/usb/dwc3/dwc3-exynos.c |1 + drivers/usb/dwc3/dwc3-omap.c |1 + 3 files changed, 3 insertions(+), 0 deletions(-)

[PATCH 11/19] drivers/net/ethernet/natsemi: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/natsemi/xtsonic.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/natsemi/xtsonic.c b/drivers/net/ethern

[PATCH 05/19] drivers/ust/renesas_usbhs: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/usb/renesas_usbhs/common.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/

  1   2   3   4   5   6   7   >