Re: Re: [PATCH] perf probe: Improve error message when function not found

2013-12-26 Thread Masami Hiramatsu
(2013/12/26 22:43), David Ahern wrote: > Masami: > > If you do not have any problems with this version please Ack so Arnaldo > will pick it up. David, as we talked about that before; (2013/12/04 10:23), Masami Hiramatsu wrote:> (2013/12/04 0:15), David Ahern wrote: >> On 12/2/13, 10:12 PM, Mas

[PATCH net-next 04/20] net: enic: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Christian Benvenuti Cc: Sujith Sankar Cc: Govindarajulu Varadarajan Cc: Neel Patel Cc: Nishank Trivedi Signed-off-by: Ding Tianhong --- drivers/net/ethernet/cisco/enic/enic_pp.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH net-next 02/20] net: bnx2x: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use the possibly more efficient ether_addr_equal or ether_addr_equal_unaligned to instead of memcmp. Cc: Ariel Elior Signed-off-by: Ding Tianhong --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c| 10 -- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c | 2 +- drivers/net/etherne

[PATCH net-next 07/20] net: ixgbe: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Jeff Kirsher Cc: Jesse Brandeburg Cc: Bruce Allan Signed-off-by: Ding Tianhong --- drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/i

Re: [PATCH] serial: samsung: Remove hard-coded major/minor numbers

2013-12-26 Thread Greg KH
On Fri, Dec 27, 2013 at 10:43:23AM +0400, Alexander Shiyan wrote: > Hello. > > On Fri, Dec 27, 2013 at 12:00:20PM +0530, Tushar Behera wrote: > > > On 27 December 2013 10:48, Greg KH wrote: > > > > On Fri, Dec 27, 2013 at 10:37:28AM +0530, Tushar Behera wrote: > > > >> The hard-coded values clash

[PATCH net-next 11/20] net: packetengines: slight optimization of addr

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: "David S. Miller" Signed-off-by: Ding Tianhong --- drivers/net/ethernet/packetengines/yellowfin.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/packetengines/yellowf

[PATCH net-next 08/20] net: mlx4: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Amir Vadai Signed-off-by: Ding Tianhong --- drivers/net/ethernet/mellanox/mlx4/en_netdev.c| 4 ++-- drivers/net/ethernet/mellanox/mlx4/resource_tracker.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff

Re: Re: [PATCH -tip v2 2/2] perf-probe: Support basic dwarf-based operations on uprobe events

2013-12-26 Thread Masami Hiramatsu
(2013/12/26 23:38), David Ahern wrote: > On 12/26/13, 12:41 AM, Masami Hiramatsu wrote: >> And this shows the available variables at the given line of >> the function. >> >> # ./perf probe -x perf --vars map__load:8 >> Available variables at map__load:8 >> @ >> char*

[PATCH net-next 14/20] net: renesas: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: "David S. Miller" Signed-off-by: Ding Tianhong --- drivers/net/ethernet/renesas/sh_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renes

[PATCH net-next 03/20] net: cxgb3: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Santosh Raspatur Signed-off-by: Ding Tianhong --- drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c | 2 +- drivers/net/ethernet/chelsio/cxgb3/l2t.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -

[PATCH net-next 15/20] net: seeq: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: "David S. Miller" Signed-off-by: Ding Tianhong --- drivers/net/ethernet/seeq/sgiseeq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/seeq/sgiseeq.c b/drivers/net/ethernet/seeq/sgis

[PATCH net-next 13/20] net: qlcnic: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use the possibly more efficient ether_addr_equal or ether_addr_equal_unaligned to instead of memcmp. Cc: Himanshu Madhani Cc: Rajesh Borundia Signed-off-by: Ding Tianhong --- drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c | 4 ++-- drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | 4 ++-- d

[PATCH net-next 17/20] net: ti: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: "David S. Miller" Signed-off-by: Ding Tianhong --- drivers/net/ethernet/ti/cpsw_ale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/cpsw_ale.c b/drivers/net/ethernet/ti/cpsw_ale

[PATCH net-next 16/20] net: sun: optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: "David S. Miller" Signed-off-by: Ding Tianhong --- drivers/net/ethernet/sun/sunvnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/sun/sunvnet.c b/drivers/net/ethernet/sun/sunvnet

[PATCH net-next 10/20] net: vxge: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Jon Mason Signed-off-by: Ding Tianhong --- drivers/net/ethernet/neterion/vxge/vxge-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/neterion/vxge/vxge-main.c b/drivers/net/ethe

[PATCH net-next 18/20] net: fddi: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: "David S. Miller" Signed-off-by: Ding Tianhong --- drivers/net/fddi/skfp/fplustm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/fddi/skfp/fplustm.c b/drivers/net/fddi/skfp/fplustm.c index

[PATCH net-next 06/20] net: igbvf: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Jeff Kirsher Cc: Jesse Brandeburg Cc: Carolyn Wyborny Cc: Don Skidmore Signed-off-by: Ding Tianhong --- drivers/net/ethernet/intel/igbvf/netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH net-next 20/20] net: caif: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Dmitry Tarnyagin Cc: "David S. Miller" Signed-off-by: Ding Tianhong --- net/caif/cfrfml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/caif/cfrfml.c b/net/caif/cfrfml.c index 61d7617..c680414 1006

[PATCH net-next 12/20] net: netxen: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Manish Chopra Cc: Sony Chacko Cc: Rajesh Borundia Signed-off-by: Ding Tianhong --- drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet

[PATCH net-next 19/20] net: plip: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: "David S. Miller" Signed-off-by: Ding Tianhong --- drivers/net/plip/plip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/plip/plip.c b/drivers/net/plip/plip.c index 7b4ff35..26614df 100644 -

[PATCH net-next 09/20] net: ksz884x: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: "David S. Miller" Signed-off-by: Ding Tianhong --- drivers/net/ethernet/micrel/ksz884x.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/micrel/ksz884x.c b/drivers/net/ether

[PATCH net-next 05/20] net: benet: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Sathya Perla Cc: Subbu Seetharaman Cc: Ajit Khaparde Signed-off-by: Ding Tianhong --- drivers/net/ethernet/emulex/benet/be_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/emu

[PATCH net-next 00/20] slight optimization of addr compare for net modules

2013-12-26 Thread Ding Tianhong
This is the second patchset for slight optimization of address compare, mainly for net tree, just following the Joe's opinion, it will help review the code for maintainers and supports. Best Regards Ding Ding Tianhong (20): net: 3com: slight optimization of addr compare net: bnx2x: slight opt

[PATCH net-next 01/20] net: 3com: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: "David S. Miller" Signed-off-by: Ding Tianhong --- drivers/net/ethernet/3com/3c509.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/3com/3c509.c b/drivers/net/ethernet/3com/3c509.

Re: mdadm raid1 regression

2013-12-26 Thread Vasiliy Tolstov
2013/4/22 NeilBrown : > I'll try to make sure that works correctly for the next release. > Thanks for the report. Sorry, Neil. for bumping up old thread. I'm again have problems with data-offset param for mdadm. I'm using version from git master (guthub). If i try to create raid1 like /sbin/mdadm

[PATCH] f2fs: fix build warning for f2fs_has_inline_data()

2013-12-26 Thread Haicheng Li
This patch is to fix the issue reported by Fengguang Wu: > Note: the f2fs/linux-3.4 HEAD 22a48d188024830d61365ce97a0a8a0bedd494a9 builds > fine. > It only hurts bisectibility. > > All error/warnings: > >In file included from fs/f2fs/data.c:22:0: >fs/f2fs/data.c: In function 'f2fs_dir

Re: [PATCH] serial: samsung: Remove hard-coded major/minor numbers

2013-12-26 Thread Alexander Shiyan
Hello. > On Fri, Dec 27, 2013 at 12:00:20PM +0530, Tushar Behera wrote: > > On 27 December 2013 10:48, Greg KH wrote: > > > On Fri, Dec 27, 2013 at 10:37:28AM +0530, Tushar Behera wrote: > > >> The hard-coded values clash with the values set for amba-pl011 serial > > >> driver. Because of this the

Re: [PATCH] serial: samsung: Remove hard-coded major/minor numbers

2013-12-26 Thread Greg KH
On Fri, Dec 27, 2013 at 12:00:20PM +0530, Tushar Behera wrote: > On 27 December 2013 10:48, Greg KH wrote: > > On Fri, Dec 27, 2013 at 10:37:28AM +0530, Tushar Behera wrote: > >> The hard-coded values clash with the values set for amba-pl011 serial > >> driver. Because of this there is no serial o

Re: [PATCH] serial: samsung: Remove hard-coded major/minor numbers

2013-12-26 Thread Tushar Behera
On 27 December 2013 10:48, Greg KH wrote: > On Fri, Dec 27, 2013 at 10:37:28AM +0530, Tushar Behera wrote: >> The hard-coded values clash with the values set for amba-pl011 serial >> driver. Because of this there is no serial output on Samsung boards >> if amba-pl011 is enabled alongwith samsung-s

[PATCG]DM: dm-compression: a compressed DM target for SSD

2013-12-26 Thread Shaohua Li
This is a simple DM target supporting compression for SSD only. Under layer SSD must support 512B sector size, the target only supports 4k sector size. Disk layout: |super|...meta...|..data...| Store unit is 4k (a block). Super is 1 block, which stores meta and data size and compression algorithm

Re: [PATCH 5/6] f2fs: add the number of inline_data files to status info

2013-12-26 Thread Jaegeuk Kim
Change log from v1: o fix kbuild failure >From a9ebdcffd30b9642b2973ea8e9688e7b0d4bf7e3 Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Tue, 26 Nov 2013 11:08:57 +0900 Subject: [PATCH] f2fs: add the number of inline_data files to status info This patch adds the number of inline_data files into

Re: [PATCH -tip v2 1/2] [CLEANUP] perf-probe: Expand given path to absolute path

2013-12-26 Thread Masami Hiramatsu
(2013/12/26 23:22), Arnaldo Carvalho de Melo wrote: > Em Thu, Dec 26, 2013 at 09:14:46AM -0500, David Ahern escreveu: >> On 12/26/13, 12:41 AM, Masami Hiramatsu wrote: >>> @@ -180,7 +181,20 @@ static int opt_set_target(const struct option *opt, >>> const char *str, >>> else >>>

Re: [RFC] speeding up the stat() family of system calls...

2013-12-26 Thread H. Peter Anvin
On 12/26/2013 11:00 AM, Linus Torvalds wrote: > > Interestingly, looking at the cp_new_stat() profiles, the games we > play to get efficient range checking seem to actually hurt us. Maybe > it's the "sbb" that is just expensive, or maybe it's turning a (very > predictable) conditional branch into

[PATCH] mtd: nand: remove pasemi_nand driver

2013-12-26 Thread Olof Johansson
The PA Semi platform is sparsely used these days (with just a handful of known users out there). I'm 100% sure none of them use the MTD NAND driver -- most standard use cases include PCI-e SATA controllers for storage instead, and boot is done from LPC NOR flash. So, there's little reason to keep

[PATCH v2] extcon: gpio: Add power resume support

2013-12-26 Thread rjying
From: Rongjun Ying When system on the suspend state, Some SoC can't get gpio interrupt. After system resume, need send extcon uevent to userspace. Signed-off-by: Rongjun Ying --- -v2: Add lost_sleep_irq flags. drivers/extcon/extcon-gpio.c | 20 include/linux/extc

Re: [PATCH 1/2][Untested] ACPI / hotplug: Add demand_offline hotplug profile flag

2013-12-26 Thread Yasuaki Ishimatsu
(2013/12/27 14:18), Yasuaki Ishimatsu wrote: (2013/12/27 9:58), Rafael J. Wysocki wrote: On Thursday, December 26, 2013 01:10:30 PM Yasuaki Ishimatsu wrote: (2013/12/26 12:10), Yasuaki Ishimatsu wrote: (2013/12/23 23:00), Rafael J. Wysocki wrote: From: Rafael J. Wysocki Add a new ACPI hotpl

Re: [PATCH 1/2][Untested] ACPI / hotplug: Add demand_offline hotplug profile flag

2013-12-26 Thread Yasuaki Ishimatsu
(2013/12/27 9:58), Rafael J. Wysocki wrote: On Thursday, December 26, 2013 01:10:30 PM Yasuaki Ishimatsu wrote: (2013/12/26 12:10), Yasuaki Ishimatsu wrote: (2013/12/23 23:00), Rafael J. Wysocki wrote: From: Rafael J. Wysocki Add a new ACPI hotplug profile flag, demand_offline, such that if

Re: [PATCH] serial: samsung: Remove hard-coded major/minor numbers

2013-12-26 Thread Greg KH
On Fri, Dec 27, 2013 at 10:37:28AM +0530, Tushar Behera wrote: > The hard-coded values clash with the values set for amba-pl011 serial > driver. Because of this there is no serial output on Samsung boards > if amba-pl011 is enabled alongwith samsung-serial driver. > > Remove the hardcoded values a

[PATCH] serial: samsung: Remove hard-coded major/minor numbers

2013-12-26 Thread Tushar Behera
The hard-coded values clash with the values set for amba-pl011 serial driver. Because of this there is no serial output on Samsung boards if amba-pl011 is enabled alongwith samsung-serial driver. Remove the hardcoded values and let the framework decide on appropriate major/minor number. This is re

[PATCH] irqchip: s3c24xx: add missing comma for completeness

2013-12-26 Thread Tushar Behera
No functional change, adding for uniformity. Signed-off-by: Tushar Behera --- drivers/irqchip/irq-s3c24xx.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-s3c24xx.c b/drivers/irqchip/irq-s3c24xx.c index bbcc944..ee41ae2 100644 --- a/drivers/irqchip

[PATCH] arm: mm: add memory type for inner-writeback

2013-12-26 Thread Mark Zhang
From: Colin Cross For streaming-style operations (e.g., software rendering of graphics surfaces shared with non-coherent DMA devices), the cost of performing L2 cache maintenance can exceed the benefit of having the larger cache (this is particularly true for OUTER_CACHE configurations like the A

[PATCH] Current patch to fix autofs symlink expiry

2013-12-26 Thread Ian Kent
This patch obsoletes both the current patches: autofs-fix-symlinks-arent-checked-for-expiry.patch autofs-fix-fix-symlinks-arent-checked-for-expiry.patch It's a merge of both of these patches with an updated description. --- Ian Kent (1): autofs - fix symlinks aren't checked for expiry f

[PATCH] autofs - fix symlinks aren't checked for expiry

2013-12-26 Thread Ian Kent
From: Ian Kent The autofs4 module doesn't consider symlinks for expire as it did in the older autofs v3 module (so it's actually a long stnding regression). The user space daemon has focused on the use of bind mounts instead of symlinks for a long time now and that's why this has not been notice

[PATCH] ASoC: simple-card: cleanup asoc_simple_card_parse_of() code

2013-12-26 Thread Xiubo Li
Since there is only one common format via "simple-audio-card,format" for simple card driver(CPU & CODEC DAI), there is no need to do the INV mask. Signed-off-by: Xiubo Li --- sound/soc/generic/simple-card.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/generic/sim

[PATCH 3/6] f2fs: call f2fs_put_page at the error case

2013-12-26 Thread Jaegeuk Kim
In f2fs_write_begin(), if f2fs_conver_inline_data() returns an error like -ENOSPC, f2fs should call f2fs_put_page(). Otherwise, it is remained as a locked page, resulting in the following bug. [] sleep_on_page+0xe/0x20 [] __lock_page+0x67/0x70 [] truncate_inode_pages_range+0x368/0x5d0 [] truncate_

[PATCH 2/6] f2fs: convert inline_data for punch_hole

2013-12-26 Thread Jaegeuk Kim
In the punch_hole(), let's convert inline_data all the time for simplicity and to avoid potential deadlock conditions. It is pretty much not a big deal to do this. Signed-off-by: Jaegeuk Kim --- fs/f2fs/file.c | 22 +++--- 1 file changed, 3 insertions(+), 19 deletions(-) diff --

[PATCH 5/6] f2fs: add the number of inline_data files to status info

2013-12-26 Thread Jaegeuk Kim
This patch adds the number of inline_data files into the status information. Note that the number is reset whenever the filesystem is newly mounted. Signed-off-by: Jaegeuk Kim --- fs/f2fs/debug.c | 3 +++ fs/f2fs/f2fs.h | 16 +++- fs/f2fs/inline.c | 2 ++ fs/f2fs/inode.c | 1 +

[PATCH 6/6] f2fs: add inline_data recovery routine

2013-12-26 Thread Jaegeuk Kim
This patch adds a inline_data recovery routine with the following policy. [prev.] [next] of inline_data flag o o -> recover inline_data o x -> remove inline_data, and then recover data blocks x o -> remove inline_data, and then recover inline_data x x -> rec

[PATCH 1/6] f2fs: don't need to get f2fs_lock_op for the inline_data test

2013-12-26 Thread Jaegeuk Kim
This patch locates checking the inline_data prior to calling f2fs_lock_op() in truncate_blocks(), since getting the lock is unnecessary. Signed-off-by: Jaegeuk Kim --- fs/f2fs/file.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c inde

[PATCH 4/6] f2fs: refactor f2fs_convert_inline_data

2013-12-26 Thread Jaegeuk Kim
This patch refactors f2fs_convert_inline_data to check a couple of conditions internally for deciding whether it needs to convert inline_data or not. So, the new f2fs_convert_inline_data initially checks: 1) f2fs_has_inline_data(), and 2) the data size to be changed. If the inode has inline_data

[PATCH] mm: dump page when hitting a VM_BUG_ON using VM_BUG_ON_PAGE

2013-12-26 Thread Sasha Levin
Most of the VM_BUG_ON assertions are performed on a page. Usually, when one of these assertions fails we'll get a BUG_ON with a call stack and the registers. I've recently noticed based on the requests to add a small piece of code that dumps the page to various VM_BUG_ON sites that the page dump i

Re: [RFC] speeding up the stat() family of system calls...

2013-12-26 Thread H. Peter Anvin
Ok the sign bit doesn't really make any sense on second thought... to work with set_fs() we have to load something from memory anyway and then we might as well do a compare... "H. Peter Anvin" wrote: >On 12/26/2013 11:00 AM, Linus Torvalds wrote: >> >> Interestingly, looking at the cp_new_stat

Re: [PATCH stable v2 2/3] virtio-net: make all RX paths handle errors consistently

2013-12-26 Thread Jason Wang
On 12/26/2013 09:32 PM, Michael S. Tsirkin wrote: > receive mergeable now handles errors internally. > Do same for big and small packet paths, otherwise > the logic is too hard to follow. > > Cc: Jason Wang > Cc: David S. Miller > Acked-by: Michael Dalton > Signed-off-by: Michael S. Tsirkin > >

Re: [PATCH stable v2 1/3] virtio_net: fix error handling for mergeable buffers

2013-12-26 Thread Jason Wang
On 12/26/2013 09:32 PM, Michael S. Tsirkin wrote: > Eric Dumazet noticed that if we encounter an error > when processing a mergeable buffer, we don't > dequeue all of the buffers from this packet, > the result is almost sure to be loss of networking. > > Fix this issue. > > Cc: Rusty Russell > Cc:

Re: [PATCH -v2] ipvs: Remove unused variable ret from sync_thread_master()

2013-12-26 Thread Simon Horman
On Thu, Dec 19, 2013 at 09:23:51AM +0200, Julian Anastasov wrote: > > Hello, > > On Wed, 13 Nov 2013, Julian Anastasov wrote: > > > On Tue, 12 Nov 2013, Geert Uytterhoeven wrote: > > > > > net/netfilter/ipvs/ip_vs_sync.c: In function 'sync_thread_master': > > > net/netfilter/ipvs/ip_vs_sy

[PATCH net-next 1/6] r8152: move rtl8152_unload and ocp_reg_write

2013-12-26 Thread Hayes Wang
Change the locations of rtl8152_unload() and ocp_reg_write(). Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 58 - 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 5107

[PATCH] fbcon: trivial optimization for fbcon_exit

2013-12-26 Thread Wang YanQing
Break out as soon as we find a mapped entry con2fb_map. Signed-off-by: Wang YanQing --- drivers/video/console/fbcon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index cd8a802..f39931f 100644 --- a/drivers/v

[PATCH net-next 3/6] r8152: change some definitions

2013-12-26 Thread Hayes Wang
Replace RX_BUF_THR with RX_THR_HIGH. Replace RWSUME_INDICATE with RESUME_INDICATE. Add CRC_SIZE, TX_ALIGN, and RX_ALIGN. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/drivers/net/usb/r8152.c

[PATCH net-next 6/6] r8152: support RTL8153

2013-12-26 Thread Hayes Wang
Support new chip RTL8153 which is the USB 3.0 giga ethernet adapter. Signed-off-by: Hayes Wang --- drivers/net/usb/cdc_ether.c | 10 + drivers/net/usb/r8152.c | 615 +++- drivers/net/usb/r815x.c | 2 +- 3 files changed, 621 insertions(+), 6 dele

[PATCH net-next 5/6] r8152: split rtl8152_enable

2013-12-26 Thread Hayes Wang
Split the contents of rtl8152_enable() into rtl_set_eee_plus() and rtl_enable(). Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 040ef73..537

[PATCH net-next 2/6] r8152: modify the method of accessing PHY

2013-12-26 Thread Hayes Wang
The old method to access PHY is through mdio channel. Replace it with the OCP channel. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 52 + 1 file changed, 18 insertions(+), 34 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/n

[PATCH net-next 4/6] r8152: add rtl_ops

2013-12-26 Thread Hayes Wang
The different chips may have different settings. This makes it easy to let different chips have the same flow with differnt settings. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 56 ++--- 1 file changed, 49 insertions(+), 7 deletions(-) di

[PATCH net-next 0/6] Support new chip

2013-12-26 Thread Hayes Wang
Adjust the code to make it easy to add the settings for the new chip. Then, add the relative parameters of the RTL8153. Hayes Wang (6): r8152: move rtl8152_unload and ocp_reg_write r8152: modify the method of accessing PHY r8152: change some definitions r8152: add rtl_ops r8152: split rt

Re: [PATCH] drivers: video: Remove unused function genericbl_limit_intensity() in generic_bl.c

2013-12-26 Thread Jingoo Han
On Monday, December 16, 2013 11:24 PM, Josh Triplett wrote: > On Mon, Dec 16, 2013 at 04:51:10PM +0530, Rashika Kheria wrote: > > Removes unused function genericbl_limit_intensity() in > > backlight/generic_bl.c. > > > > This eliminates the following warning in backlight/generic_bl.c: > > drivers/v

Re: No freezing of kernel threads (was: Re: [GIT PULL] libata fixes for v3.13-rc5)

2013-12-26 Thread Tejun Heo
Hello, On Thu, Dec 26, 2013 at 09:14:49PM -0500, Alan Stern wrote: > I can't disagree with this. But the design may well be perfectly > adequate for some use cases. Given a workqueue or kthread which should > not operate during system sleep, we have to: > > Tell the wq/thread to stop runn

Re: No freezing of kernel threads (was: Re: [GIT PULL] libata fixes for v3.13-rc5)

2013-12-26 Thread Alan Stern
Hello, On Thu, 26 Dec 2013, Tejun Heo wrote: > > Maybe it's the other way around: The separate paths are necessary, and > > the freezer _simplifies_ the system sleep ops. > > Again, the point is it's too big a tool given the problem with history > of abuse. It sure is "convenient" to have tool

Re: [PATCH] doc/kmemcheck: add kmemcheck to kernel-parameters.txt

2013-12-26 Thread Greg KH
On Thu, Dec 26, 2013 at 11:25:03AM +0800, Xishi Qiu wrote: > Add kmemcheck to Documentation/kernel-parameters.txt. > > Signed-off-by: Xishi Qiu > --- > Documentation/kernel-parameters.txt |7 +++ > 1 files changed, 7 insertions(+), 0 deletions(-) This is not the correct way to submit

Re: [PATCH] autofs - fix fix symlinks arent checked for expiry

2013-12-26 Thread Ian Kent
On Thu, 2013-12-26 at 17:19 -0800, Andrew Morton wrote: > On Fri, 27 Dec 2013 09:09:52 +0800 Ian Kent wrote: > > > On Thu, 2013-12-26 at 13:42 -0800, Andrew Morton wrote: > > > On Tue, 24 Dec 2013 17:44:59 +0800 Ian Kent wrote: > > > > > > > When following a symlink the last_used counter is unc

Re: [PATCH 0/3] Ceph fscache: Fix kernel panic due to a race

2013-12-26 Thread Yunchuan Wen
Hi, Milosz I am not very sure about how to enable caching in write path. I just compile the latest kernel with "Enable Ceph client caching support", start cachefilesd, and mount cephfs with -o fsc. Then, the kernel will panic easily when the script runs to "dd if=cephfs/foo of=/dev/null bs=8 count

Re: [PATCH 1/5] checkpatch: Add tests for function pointer style misuses

2013-12-26 Thread Joe Perches
On Thu, 2013-12-26 at 16:58 -0800, Josh Triplett wrote: > On Thu, Dec 26, 2013 at 12:07:23PM -0800, Josh Triplett wrote: > > On Thu, Dec 26, 2013 at 11:20:28AM -0800, Joe Perches wrote: > > > Kernel style uses function pointers in this form: > > > "type (*funcptr)(args...)" > > > > > > Emi

Re: [PATCH] autofs - fix fix symlinks arent checked for expiry

2013-12-26 Thread Andrew Morton
On Fri, 27 Dec 2013 09:09:52 +0800 Ian Kent wrote: > On Thu, 2013-12-26 at 13:42 -0800, Andrew Morton wrote: > > On Tue, 24 Dec 2013 17:44:59 +0800 Ian Kent wrote: > > > > > When following a symlink the last_used counter is unconditionally > > > updated causing the expire checks from user space

[PATCH] bq24735: don't attempt I2C accesses if charger is not present

2013-12-26 Thread Andrew Bresticker
If we have an AC-detect GPIO for the charger and the charger is not present during probe time, don't attempt I2C accesses to the charger as they are not guaranteed to succeed. The charger will be configured once it is plugged in. Also initialize the AC-detect GPIO as an input so that its value ca

Re: [PATCH] autofs - fix fix symlinks arent checked for expiry

2013-12-26 Thread Ian Kent
On Thu, 2013-12-26 at 13:42 -0800, Andrew Morton wrote: > On Tue, 24 Dec 2013 17:44:59 +0800 Ian Kent wrote: > > > When following a symlink the last_used counter is unconditionally > > updated causing the expire checks from user space to prevent > > expiry. Opps! > > A bit unclear. You're sayin

[PATCH] sbs-battery: make writes to ManufacturerAccess optional

2013-12-26 Thread Andrew Bresticker
According to the Smart Battery Data Specification, the use of ManufacturerAcess (register 0x0) is implementation-defined. It appears that some batteries use writes to this register in order to implement certain functionality, but others may simply NAK all writes to it. As a result, write failures

Re: [PATCH 1/5] checkpatch: Add tests for function pointer style misuses

2013-12-26 Thread Josh Triplett
On Thu, Dec 26, 2013 at 12:07:23PM -0800, Josh Triplett wrote: > On Thu, Dec 26, 2013 at 11:20:28AM -0800, Joe Perches wrote: > > Kernel style uses function pointers in this form: > > "type (*funcptr)(args...)" > > > > Emit warnings when this function pointer form isn't used. > > > > Sign

[PATCH 6/7] clk: tegra: cclk_lp has a pllx/2 divider

2013-12-26 Thread Andrew Bresticker
When pll_x is the parent of cclk_lp, PLLX_DIV2_BYPASS_LP determines whether cclk_lp output is divided by 2. Set TEGRA_DIVIDER_2 so that the clk_super driver is aware of this. Signed-off-by: Andrew Bresticker --- drivers/clk/tegra/clk-tegra-super-gen4.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 7/7] clk: tegra: use max divider if divider overflows

2013-12-26 Thread Andrew Bresticker
When requesting a rate less than the minimum clock rate for a divider, use the maximum divider value instead of bailing out with an error. This matches the behavior of the generic clock divider. Signed-off-by: Andrew Bresticker --- drivers/clk/tegra/clk-divider.c | 2 +- 1 file changed, 1 insert

[PATCH 1/7] clk: tegra: Fix PLLP rate table

2013-12-26 Thread Andrew Bresticker
From: Gabe Black This table had settings for 216MHz, but PLLP is (and is supposed to be) configured at 408MHz. If that table is used and PLLP_BASE_OVRRIDE is not set, the kernel will panic in clk_pll_recalc_rate(). Signed-off-by: Gabe Black Signed-off-by: Andrew Bresticker --- drivers/clk/te

[PATCH 2/7] clk: tegra: Fix PLLD mnp table

2013-12-26 Thread Andrew Bresticker
From: Rhyland Klein PLLD was using the same mnp table as PLLP. Fix it to use its own table which is different from PLLP's. Signed-off-by: Rhyland Klein Signed-off-by: Andrew Bresticker --- drivers/clk/tegra/clk-tegra124.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) dif

Re: [RFC] speeding up the stat() family of system calls...

2013-12-26 Thread H. Peter Anvin
On 12/26/2013 11:00 AM, Linus Torvalds wrote: > > Interestingly, looking at the cp_new_stat() profiles, the games we > play to get efficient range checking seem to actually hurt us. Maybe > it's the "sbb" that is just expensive, or maybe it's turning a (very > predictable) conditional branch into

[PATCH 4/7] clk: tegra: fix host1x clock on Tegra124

2013-12-26 Thread Andrew Bresticker
From: Mark Zhang The host1x clock on Tegra124 is a 3-bit wide mux with 6 parents. Change thte id to tegra_clk_host1x_8 so that the correct clock gets registered. Signed-off-by: Mark Zhang Signed-off-by: Andrew Bresticker --- drivers/clk/tegra/clk-tegra124.c | 2 +- 1 file changed, 1 insertion

[PATCH 3/7] clk: tegra: PLLD2 fixes for hdmi

2013-12-26 Thread Andrew Bresticker
From: David Ung Set correct pll_d2_out0 divider and correct the p div values for pll_d2. Signed-off-by: David Ung Signed-off-by: Andrew Bresticker --- drivers/clk/tegra/clk-tegra124.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/clk/tegra/clk-teg

Re: [PATCH 1/2][Untested] ACPI / hotplug: Add demand_offline hotplug profile flag

2013-12-26 Thread Rafael J. Wysocki
On Thursday, December 26, 2013 01:10:30 PM Yasuaki Ishimatsu wrote: > (2013/12/26 12:10), Yasuaki Ishimatsu wrote: > > (2013/12/23 23:00), Rafael J. Wysocki wrote: > >> From: Rafael J. Wysocki > >> > >> Add a new ACPI hotplug profile flag, demand_offline, such that if > >> set for the given ACPI d

[PATCH 5/7] clk: tegra: fix sdmmc clks on Tegra1x4

2013-12-26 Thread Andrew Bresticker
The sdmmc clocks on Tegra114 and Tegra124 are 3-bit wide muxes with 6 parents. Add support for tegra_clk_sdmmc*_8 and switch Tegra114 and Tegra124 to use these clocks instead. Signed-off-by: Andrew Bresticker --- drivers/clk/tegra/clk-id.h | 4 drivers/clk/tegra/clk-tegra-periph.

[PATCH 0/7] misc Tegra clock fixes

2013-12-26 Thread Andrew Bresticker
Fixes for various clock-related issues found during bringup of Tegra124-based Venice2 and Norrin boards. Andrew Bresticker (3): clk: tegra: fix sdmmc clks on Tegra1x4 clk: tegra: cclk_lp has a pllx/2 divider clk: tegra: use max divider if divider overflows David Ung (1): clk: tegra: PLLD2

RE: [PATCH] Add the LED burst trigger

2013-12-26 Thread Joe Xue
Hi, I'm writing the Morse code trigger. what about this echo "-.-. *"> patten -  a long on then a off .  a short on then a off space a long off * mean repeat the patten s mean indicate the patten just one time then stop Do we also need a "step

Re: [PATCH v4 00/15] usb: phy: msm: Fixes, cleanups and DT support

2013-12-26 Thread Stephen Boyd
On 12/20, David Brown wrote: > On Thu, Dec 19, 2013 at 05:26:13PM -0600, Felipe Balbi wrote: > > >it's getting quite late for me. I still want to leave my stuff soaking > >in linux-next for a while. I'll try my best, though, if you ack it ASAP > > Thanks. Patch 1 already has my Ack in it, and I'

Re: [PATCH 1/2][Untested] ACPI / hotplug: Add demand_offline hotplug profile flag

2013-12-26 Thread Rafael J. Wysocki
On Thursday, December 26, 2013 12:10:04 PM Yasuaki Ishimatsu wrote: > (2013/12/23 23:00), Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Add a new ACPI hotplug profile flag, demand_offline, such that if > > set for the given ACPI device object's scan handler, it will cause > > acpi_s

Re: [PATCH 7/10] ACPI / hotplug: Move container-specific code out of the core

2013-12-26 Thread Rafael J. Wysocki
On Thursday, December 26, 2013 11:53:10 AM Yasuaki Ishimatsu wrote: > HI Rafael, > > (2013/12/26 10:01), Rafael J. Wysocki wrote: > > On Monday, December 23, 2013 02:58:38 PM Rafael J. Wysocki wrote: > >> On Saturday, December 14, 2013 06:07:06 AM Rafael J. Wysocki wrote: > >>> On Friday, December

[PATCH] PCI / ACPI: Install wakeup notify handlers for all PCI devs with ACPI

2013-12-26 Thread Rafael J. Wysocki
From: Rafael J. Wysocki It turns out that some BIOSes don't report wakeup GPEs through _PRW, but use them for signaling wakeup anyway, which causes GPE storms to occur on some systems after resume from system suspend. This issue has been uncovered by commit d2e5f0c16ad6 (ACPI / PCI: Rework the se

Re: [PATCH] mm/memblock: use WARN_ONCE when MAX_NUMNODES passed as input parameter

2013-12-26 Thread David Rientjes
On Fri, 20 Dec 2013, Santosh Shilimkar wrote: > diff --git a/mm/memblock.c b/mm/memblock.c > index 71b11d9..6af873a 100644 > --- a/mm/memblock.c > +++ b/mm/memblock.c > @@ -707,11 +707,9 @@ void __init_memblock __next_free_mem_range(u64 *idx, int > nid, > struct memblock_type *rsv = &memblo

Re: No freezing of kernel threads (was: Re: [GIT PULL] libata fixes for v3.13-rc5)

2013-12-26 Thread Rafael J. Wysocki
On Thursday, December 26, 2013 11:05:17 AM Tejun Heo wrote: > Hello, Rafael. Hi Tejun, > On Thu, Dec 26, 2013 at 04:05:53PM +0100, Rafael J. Wysocki wrote: > > First, there is a removal-vs-resume deadlock which technically is related to > > the freezing, but it is not entirely clear to me that us

Re: No freezing of kernel threads (was: Re: [GIT PULL] libata fixes for v3.13-rc5)

2013-12-26 Thread Rafael J. Wysocki
On Thursday, December 26, 2013 02:01:20 PM Tejun Heo wrote: > Hey, > > On Thu, Dec 26, 2013 at 01:42:29PM -0500, Alan Stern wrote: > > In the case of hibernation, it's not so simple. We do need to perform > > I/O, in order to save the memory image. But we also need to avoid > > unnecessary I/O

Re: [PATCH] ims-pcu: Add commands supported by the new version of the FW

2013-12-26 Thread Dmitry Torokhov
Hi Andrey, On Sat, Dec 21, 2013 at 11:16:48AM -0800, Andrey Smirnov wrote: > New version of the PCU firmware supports two new commands: > - IMS_PCU_CMD_OFN_SET_CONFIG which allows to write data to the > registers of one finger navigation(OFN) chip present on the device > - IMS_PCU_CMD_OFN_GE

Re: [GIT PULL] clk: initial support for Broadcom Kona clocks

2013-12-26 Thread Mike Turquette
Quoting Alex Elder (2013-12-16 07:26:29) > Mike, please pull the following for 3.14. It adds clock support > for Broadcom SoCs having "Kona" clock control units. Thanks. Pulled into clk-next. Thanks! Mike > > -Alex > > The following changes since commi

Re: [PATCH 0/3] Ceph fscache: Fix kernel panic due to a race

2013-12-26 Thread Milosz Tanski
Li, I looked at the patchset am I correct that this only happens when we enable caching in the write path? - Milosz On Thu, Dec 26, 2013 at 9:29 AM, Li Wang wrote: > From: Yunchuan Wen > > The following scripts could easily panic the kernel, > > #!/bin/bash > mount -t ceph -o fsc MONADDR:/ cep

Re: [PATCH v2] Add ff-memless-next module

2013-12-26 Thread Antonio Ospite
On Thu, 26 Dec 2013 19:18:31 +0100 Michal Malý wrote: > This patch adds "ff-memless-next" module. > > Changelog: > v2 - Remove unnecessary "else" branches > Michal, these annotations should go after the three dash line (---), and the commit message must go here, before the three dashes. > Test

[GIT PULL] usb patches for v3.14 merge window

2013-12-26 Thread Felipe Balbi
Hi Greg, Here's my overly extensive pull request for v3.14 merge window. Lots of work has happened for next merge window. All patches have been tested with all ARM defconfigs, i386_defconfig, kvm_guest.config, x86_64_defconfig, plus quite a few randconfigs. All latest 0-DAY reports have been fix

[PATCH] epoll: Do not take the nested ep->mtx on EPOLL_CTL_DEL

2013-12-26 Thread Jason Baron
The EPOLL_CTL_DEL path of epoll contains a classic, ab-ba deadlock. That is, epoll_ctl(a, EPOLL_CTL_DEL, b, x), will deadlock with epoll_ctl(b, EPOLL_CTL_DEL, a, x). The deadlock was introduced with commmit 67347fe4e6326 (epoll: do not take global 'epmutex' for simple topologies). The acquistion o

Re: section miss-matches in older 3.8.3 kernel, and one question

2013-12-26 Thread Gene Heskett
On Thursday 26 December 2013, Gene Heskett wrote: >On Thursday 26 December 2013, Randy Dunlap wrote: >>On 12/26/13 10:58, Gene Heskett wrote: >>> Greetings; >>> >>> In my attempts to find a 64 bit or PAE enabled kernel to run on my >>> older ASUS M2N-SLI Delux mobo, I saw a note go by during the b

  1   2   3   >