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

2013-12-29 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

Re: [PATCH v6 4/4] perf diff: color the Weighted Diff column

2013-12-29 Thread Ramkumar Ramachandra
Ramkumar Ramachandra wrote: > diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c > index c07cd3c..9c69620 100644 > --- a/tools/perf/builtin-diff.c > +++ b/tools/perf/builtin-diff.c > @@ -777,6 +777,7 @@ static int __hpp__color_compare(struct perf_hpp_fmt *fmt, > cont

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

2013-12-29 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 | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/packetengines/yell

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

2013-12-29 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 v3 14/19] net: renesas: slight optimization of addr compare

2013-12-29 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 v3 06/19] net: igbvf: slight optimization of addr compare

2013-12-29 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 v3 05/19] net: benet: slight optimization of addr compare

2013-12-29 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 v3 15/19] net: seeq: slight optimization of addr compare

2013-12-29 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 v3 18/19] net: fddi: slight optimization of addr compare

2013-12-29 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 v3 07/19] net: ixgbe: slight optimization of addr compare

2013-12-29 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

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

2013-12-29 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 v3 19/19] net: plip: slight optimization of addr compare

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal_64bits to instead of memcmp. Cc: "David S. Miller" Suggested-by: Eric Dumazet Signed-off-by: Ding Tianhong --- drivers/net/plip/plip.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/plip/plip.c b/drivers/net/

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

2013-12-29 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 v3 16/19] net: sun: optimization of addr compare

2013-12-29 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 v3 10/19] net: vxge: slight optimization of addr compare

2013-12-29 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 v3 08/19] net: mlx4: slight optimization of addr compare

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

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

2013-12-29 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 v3 13/19] net: qlcnic: slight optimization of addr compare

2013-12-29 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 v3 01/19] net: 3com: slight optimization of addr compare

2013-12-29 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.

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

2013-12-29 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. v2: Change some style for patch 2. According Eric's suggestion, use the ether_addr_equal_64bits to instead

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

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

[PATCH v6 2/4] perf diff: color the Delta column

2013-12-29 Thread Ramkumar Ramachandra
Color the numbers in the Delta column using percent_color_snprintf(). Generalize the coloring function so that we can accommodate all three comparison methods in future patches: delta, ratio, and wdiff. Cc: Jiri Olsa Cc: Arnaldo Carvalho de Melo Signed-off-by: Ramkumar Ramachandra --- tools/pe

[PATCH v6 4/4] perf diff: color the Weighted Diff column

2013-12-29 Thread Ramkumar Ramachandra
In $ perf diff -c wdiff:M,N color the numbers in the Weighted Diff column using value_color_snprintf(). Cc: Jiri Olsa Cc: Arnaldo Carvalho de Melo Signed-off-by: Ramkumar Ramachandra --- tools/perf/builtin-diff.c | 21 + 1 file changed, 21 insertions(+) diff --git a/to

[PATCH v6 0/4] More color in 'perf diff'

2013-12-29 Thread Ramkumar Ramachandra
The differences in this series are: - [1/4] and [2/4] have been split out. - [4/4] uses value_color_snprintf() instead of green/ red for positive/ negative values. Thanks. Cc: Jiri Olsa Cc: Arnaldo Carvalho de Melo Ramkumar Ramachandra (4): perf tools: generalize percent_color_snprintf()

[PATCH v6 1/4] perf tools: generalize percent_color_snprintf()

2013-12-29 Thread Ramkumar Ramachandra
Make percent_color_snprintf() handle negative values correctly. Cc: Jiri Olsa Cc: Arnaldo Carvalho de Melo Signed-off-by: Ramkumar Ramachandra --- tools/perf/util/color.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/color.c b/tools/perf/util/color.c

[PATCH v6 3/4] perf diff: color the Ratio column

2013-12-29 Thread Ramkumar Ramachandra
In $ perf diff -c ratio color the Ratio column using value_color_snprintf(), a new function that operates exactly like percent_color_snprintf(). At first glance, it looks like percent_color_snprintf() can be turned into a non-variadic function simplifying things; however, 53805ec (perf tools: R

[PATCH v5 4/4] PCI/MSI: Introduce pci_enable_msi/msix_range() interfaces

2013-12-29 Thread Alexander Gordeev
This update introduces pci_enable_msi_range() function which supersedes pci_enable_msi() and pci_enable_msi_block() interfaces for MSI and pci_enable_msi_range() function which supersedes pci_enable_msix() interface for MSI-X interrupts. The newly introduced functions return either a negative erro

[PATCH v5 0/4] Introduce pci_enable_msi/msix_range() interfaces

2013-12-29 Thread Alexander Gordeev
This series is against "next" branch in Bjorn's repo: git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git Changes from v4 to v5: - pci_auto_enable_msi* functions renamed to pci_enable_msi* ones; - pci_enable_msi_range() and pci_enable_msix_range() are the only basic interfaces le

[PATCH v5 3/4] PCI/MSI: Introduce pci_msix_vec_count() interface

2013-12-29 Thread Alexander Gordeev
This update is needed to create a consistent MSI-X counterpart for pci_msi_vec_count() MSI interface. Device drivers can use this function to obtain maximum number of MSI-X interrupts the device supports and i.e. use that number in a following call to pci_enable_msix() interface. Interface pci_msi

[PATCH v5 1/4] PCI/MSI: Factor out pci_msi_vec_count() interface

2013-12-29 Thread Alexander Gordeev
Device drivers can use this interface to obtain maximum number of MSI interrupts the device supports and use that number i.e. in a following call to pci_enable_msi_block() interface. Signed-off-by: Alexander Gordeev Reviewed-by: Tejun Heo --- Documentation/PCI/MSI-HOWTO.txt | 15 +

[PATCH v5 2/4] PCI/MSI: Get rid of pci_enable_msi_block_auto() interface

2013-12-29 Thread Alexander Gordeev
As result of introduction of pci_msi_vec_count() interface pci_enable_msi_block_auto() function became superflous. To enable maximum possible number of MSIs drivers will first obtain that number from pci_msi_vec_count() function and then call pci_enable_msi_block() interface. Function pci_enable_

Re: [PATCH V3 2/2] ARM: dts: Enable ahci sata and sata phy

2013-12-29 Thread Kishon Vijay Abraham I
Hi, On Tuesday 10 December 2013 03:35 PM, Yuvaraj Kumar C D wrote: This patch adds dt entry for ahci sata controller and its corresponding phy controller.phy node has been added w.r.t new generic phy framework. Changes since V2: 1.Used syscon interface to PMU handling. 2.Changed

Re: [PATCH V4 0/3] ARM: DTS: DRA7: Updates for adding crossbar device

2013-12-29 Thread Sricharan R
Hi Benoit, On Thursday 14 November 2013 05:55 PM, Sricharan R wrote: > Some socs have a large number of interrupts requests to service > the needs of its many peripherals and subsystems. All of the interrupt > requests lines from the subsystems are not needed at the same > time, so they have to be

Re: [PATCH] fonts:Kconfig: fix default enable FONT_8x8 and FONT_8x16 at the same time

2013-12-29 Thread Wang YanQing
On Sun, Dec 29, 2013 at 09:34:30PM -0800, Greg KH wrote: > On Mon, Dec 30, 2013 at 11:37:45AM +0800, Wang YanQing wrote: > > FONT_8x8 and FONT_8x16 have the same default value line: > > "default y if !SPARC && !FONTS" > > > > I test run "make defconfig" for x86 will enable FONT_8x8 and FONT_8x16 a

Re: [PATCH] fs/nilfs2: Integer overflow in nilfs_ioctl_wrap_copy()

2013-12-29 Thread Vyacheslav Dubeyko
Hi, On Sat, 2013-12-28 at 10:28 +0800, Wenliang Fan wrote: > The local variable 'pos' comes from userspace. If a large number was > passed, there would be an integer overflow in the following line: > pos += n; > > Signed-off-by: Wenliang Fan > --- > fs/nilfs2/ioctl.c | 2 ++ > 1 file ch

Re: [PATCH V3 1/2] Phy: Exynos: Add Exynos5250 sata phy driver

2013-12-29 Thread Kishon Vijay Abraham I
Hi, On Tuesday 10 December 2013 03:35 PM, Yuvaraj Kumar C D wrote: This patch adds the sata phy driver for Exynos5250.Exynos5250 sata phy comprises of CMU and TRSV blocks which are of I2C register Map. So this patch also adds a i2c client driver, which is used configure the CMU and TRSV block of

Re: [PATCH] cpufreq: Fix timer/workqueue corruption by protecting reading governor_enabled

2013-12-29 Thread Viresh Kumar
On 30 December 2013 11:59, Jane Li wrote: > I checked my code, and found I lost following part. > My local code base is not exactly same as open source, and has included > this. > > > diff --git a/drivers/cpufreq/cpufreq_governor.c > b/drivers/cpufreq/cpufreq_governor.c > index e6be635..c4d0ee6 10

Re: [PATCH] cpufreq: Fix timer/workqueue corruption by protecting reading governor_enabled

2013-12-29 Thread Jane Li
On 12/27/2013 05:40 PM, Viresh Kumar wrote: On 27 December 2013 15:00, wrote: diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c -static DEFINE_MUTEX(cpufreq_governor_lock); diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index dc196bb..4faafe7 100644 --- a/incl

Re: [PATCH V5 0/4] DRIVERS: IRQCHIP: Add support for crossbar IP

2013-12-29 Thread Sricharan R
Hi Tony, On Friday 27 December 2013 07:19 PM, Sricharan R wrote: > On Thursday 26 December 2013 11:14 PM, Santosh Shilimkar wrote: >> Sricharan, >> >> On Wednesday 25 December 2013 11:52 PM, Sricharan R wrote: >>> Hi Thomas, >>> On Wednesday 18 December 2013 02:49 PM, Sricharan R wrote: Hi Th

[PATCH] mfd: Cleanup mfd-mcp-sa11x0.h header

2013-12-29 Thread Sachin Kamat
Commit a1fd844c6e62 ("ARM: sa1100: move platform_data definitions") moved the file to the current location but forgot to remove the pointer to its previous location. Clean it up. While at it also change the header file protection macros appropriately. Signed-off-by: Sachin Kamat --- include/linu

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

2013-12-29 Thread Ding Tianhong
On 2013/12/30 14:05, Joe Perches wrote: > On Mon, 2013-12-30 at 10:39 +0800, Ding Tianhong wrote: >> I don't understand packetengine NIC anymore, But I think the change is >> clearly, >> as your said, the broadcast check is enough here, did you mean that? >> >> !is_broadcast_ether_addr((u8 *)

Re: Welding Electrode/Welding Wire/Sintered Flux

2013-12-29 Thread Iris
Dear Sir, Good day! We had dealing welding materials for many years . And supplied high quality different type Welding Electrode/Welding Wire/Sintered Flux to our old and new customers. Should any of the items be of interest to you, please let me know. We shall be glad to give you our lowes

[PATCH] clk: support hardware-specific debugfs entries

2013-12-29 Thread Alex Elder
Add a new clk_ops->debug_init method to allow a clock hardware driver to populate the clock's debugfs directory with entries beyond those common for every clock. Signed-off-by: Alex Elder --- v2: - Define debug_init unconditionally (suggested by Gerhard Sittig). drivers/clk/clk.c|

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

2013-12-29 Thread Joe Perches
On Mon, 2013-12-30 at 10:39 +0800, Ding Tianhong wrote: > I don't understand packetengine NIC anymore, But I think the change is > clearly, > as your said, the broadcast check is enough here, did you mean that? > > !is_broadcast_ether_addr((u8 *)(le32_to_cpu(yp->rx_ring_dma) + >

Re: [PATCH V3 0/2] Exynos5250 SATA Support

2013-12-29 Thread Yuvaraj Kumar
Any comments on this series? On Tue, Dec 10, 2013 at 3:35 PM, Yuvaraj Kumar C D wrote: > This patch series enable the SATA support on Exynos5250 based boards. > It incorporates the generic phy framework to deal with sata phy. > > This patch depends on the below patches > [1]. drivers: phy

Re: [PATCH] clk: support hardware-specific debugfs entries

2013-12-29 Thread Alex Elder
On 12/29/2013 11:58 PM, Alex Elder wrote: > Add a new clk_ops->debug_init method to allow a clock hardware > driver to populate the clock's debugfs directory with entries > beyond those common for every clock. Sorry, forgot to indicate "v2" in the Subject line... -Alex > Signed-off-by: Alex Eld

Re: [PATCH] fonts:Kconfig: fix default enable FONT_8x8 and FONT_8x16 at the same time

2013-12-29 Thread Greg KH
On Mon, Dec 30, 2013 at 11:37:45AM +0800, Wang YanQing wrote: > FONT_8x8 and FONT_8x16 have the same default value line: > "default y if !SPARC && !FONTS" > > I test run "make defconfig" for x86 will enable FONT_8x8 and FONT_8x16 at > the same time. > > This patch fix it, because FONT_AUTOSELECT

Re: [RFC] sched: update rq clock when only get preempt

2013-12-29 Thread Lei Wen
Hi Mike, On Mon, Dec 30, 2013 at 12:08 PM, Mike Galbraith wrote: > On Mon, 2013-12-30 at 11:14 +0800, Lei Wen wrote: >> Since we would update rq clock at task enqueue/dequeue, or schedule >> tick. If we don't update the rq clock when our previous task get >> preempted, our new started task would

[git pull] Please pull powerpc.git merge branch

2013-12-29 Thread Benjamin Herrenschmidt
Hi Linus ! Here are a few more powerpc fixes for 3.13. A bit more endian problems found during testing of 3.13 and a few other simple fixes and regressions fixes. Cheers, Ben. The following changes since commit 803c2d2f84da9dc2619449994af34d27148ab20d: powerpc/powernv: Fix OPAL LPC access in

Re: [RFC] sched: update rq clock when only get preempt

2013-12-29 Thread Mike Galbraith
On Mon, 2013-12-30 at 11:14 +0800, Lei Wen wrote: > Since we would update rq clock at task enqueue/dequeue, or schedule > tick. If we don't update the rq clock when our previous task get > preempted, our new started task would get a relative stale rq clock > which is updated during the previous ta

Re: [PATCH RESEND 1/4] clk: clk-s2mps11: Refactor for including support for other MFD clocks

2013-12-29 Thread Tushar Behera
On 30 December 2013 03:47, Mike Turquette wrote: > Quoting Tushar Behera (2013-12-26 02:18:58) >> The clocks in S2MPS11 and S5M8767 are managed in the same way, baring >> a difference in the register offset. It would be better to update >> existing S2MPS11 driver to support the clocks in S5M8767,

[GIT] Networking

2013-12-29 Thread David Miller
Some holiday bug fixes for 3.13... There is still one bug I'd like to get fixed before 3.13-final. The vlan code erroneously assignes the header ops of the underlying real device to the VLAN device above it when the real device can hardware offload VLAN handling. That's completely bogus because

Re: [PATCH] of/irq: Fix device_node refcount in of_irq_parse_raw()

2013-12-29 Thread Benjamin Herrenschmidt
On Sun, 2013-12-29 at 20:42 -0600, Rob Herring wrote: > On Sun, Dec 29, 2013 at 8:37 PM, Benjamin Herrenschmidt > wrote: > > On Tue, 2013-12-17 at 18:32 +0100, Cédric Le Goater wrote: > > Commit 2361613206e6, "of/irq: Refactor interrupt-map > parsing" changed > > t

Re: KCONFIG_ALLCONFIG + allmodconfig = brokenness

2013-12-29 Thread H. Peter Anvin
On 12/29/2013 06:30 PM, Randy Dunlap wrote: >> >> Yes, I discovered this a few weeks ago. >> I just ended up adding >> CONFIG_MODULES=y >> to my KCONFIG_ALLCONFIG file. >> Yes, I'm using the same workaround now. It works for me, since I keep an override file anyway. -hpa -- To unsubscr

[PATCH] fonts:Kconfig: fix default enable FONT_8x8 and FONT_8x16 at the same time

2013-12-29 Thread Wang YanQing
FONT_8x8 and FONT_8x16 have the same default value line: "default y if !SPARC && !FONTS" I test run "make defconfig" for x86 will enable FONT_8x8 and FONT_8x16 at the same time. This patch fix it, because FONT_AUTOSELECT choice FONT_8x16, so I decide to disable FONT_8x8, this patch will reduce si

[PATCH net] virtio-net: fix refill races during restore

2013-12-29 Thread Jason Wang
During restoring, try_fill_recv() was called with neither napi lock nor napi disabled. This can lead two try_fill_recv() was called in the same time. Fix this by refilling before trying to enable napi. Fixes 0741bcb5584f9e2390ae6261573c4de8314999f2 (virtio: net: Add freeze, restore handlers to sup

Re: [PATCH][tentative] PCI / ACPI: Rework PCI host bridge removal to avoid sysfs warnings

2013-12-29 Thread Yinghai Lu
On Sat, Dec 28, 2013 at 3:20 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The device_del(&host_bridge->dev) in pci_stop_root_bus() is > problematic, because it causes all sysfs directories below > the host bridge to be removed recursively and when > pci_remove_root_bus() attempts to

Re: [PATCH v5 Resend 2/3] Cpufreq: s5pv210 cpufreq fixes for CCF

2013-12-29 Thread Sachin Kamat
(Trimmed down the CC list) Hi Mateusz, On 28 December 2013 22:39, Mateusz Krawczuk wrote: > From: Mateusz Krawczuk > > Use common clock framework api to get clock. The commit message looks a bit off. clk_get() is also a CCF API. Hence it makes more sense to mention the reason for replacing clk

[PATCH v2]vt: fix potential dual con_driver register for conswitchp

2013-12-29 Thread Wang YanQing
We should check whether conswitchp is registered before add it to registered_con_driver in con_init, or it will cause dual con_driver register for conswitchp. Although I haven't met it in reality, but I think it could happen for Embeded devices, who register platform con_driver earlier than call c

Re: commit e38c0a1f breaks powerpc boards with uli1575 chip

2013-12-29 Thread Benjamin Herrenschmidt
On Thu, 2013-12-19 at 08:42 +0400, Nikita Yushchenko wrote: > No, this does not help. > > I've dumped the actual content of 'range' and 'addr' at the failure > point > (i.e. ar point that returns error with e38c0a1f but passes without > e38c0a1f ): > > OF: default map, cp=0, s=1, da=70 > ra

[RFC] sched: update rq clock when only get preempt

2013-12-29 Thread Lei Wen
Since we would update rq clock at task enqueue/dequeue, or schedule tick. If we don't update the rq clock when our previous task get preempted, our new started task would get a relative stale rq clock which is updated during the previous task enqueue, or the last schedule clock update. If we want

[PATCH] vt: initialize con_driver->node in con_init

2013-12-29 Thread Wang YanQing
Commit 6db4063c5b72b46e9793b0f141a7a3984ac6facf ("[PATCH] VT binding: Add sysfs control to the VT layer") add node item into struct con_driver. This patch initialize con_driver->node in con_init. Signed-off-by: Wang YanQing --- drivers/tty/vt/vt.c | 1 + 1 file changed, 1 insertion(+) diff --g

An example of prideful GPL violators who do their violating out in the open

2013-12-29 Thread Eric Appleman
https://plus.google.com/115556873499158641618/posts/KwG8uhU5DGk https://plus.google.com/102371604344319409727/posts/CSNGXqxzxf4 https://plus.google.com/115556873499158641618/posts/ZegjCZ3FyDE I bet you've never seen such open hostility towards the GPL and its enforcement. Previous discussions co

Re: [BUG BISECTED] Phenom microcode revision mis-applied

2013-12-29 Thread Gene Heskett
On Sunday 29 December 2013, Jason Cooper wrote: >On Sun, Dec 29, 2013 at 02:49:16PM -0500, Gene Heskett wrote: >> On Sunday 29 December 2013, Jason Cooper wrote: >> >On Sun, Dec 29, 2013 at 12:47:02PM -0500, Gene Heskett wrote: >> >> On Sunday 29 December 2013, Gene Heskett wrote: >> >> >Resend, in

Re: [PATCH 0/7 V2] Add support of user space symboles for guest.

2013-12-29 Thread Dongsheng Yang
On 12/20/2013 10:02 AM, David Ahern wrote: On 12/20/13, 1:52 PM, Dongsheng Yang wrote: Hi Arnaldo: Please help to review this patchset. Changelog: - v2: * splite the first commit. At best you are creating knowledge of running tasks in the VMs when the perf session is started

Re: [PATCH] perf list: fix --raw-dump

2013-12-29 Thread Dongsheng Yang
On 12/29/2013 05:11 AM, Ramkumar Ramachandra wrote: Arnaldo Carvalho de Melo wrote: So is the patch below the one to apply? When these things happen, it helps if you resubmit with a v2 in the subject line and then an explicit Ack is provided, be it from, in this case, David, or Ramkumar could ju

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

2013-12-29 Thread Ding Tianhong
On 2013/12/29 1:23, Joe Perches wrote: > On Sat, 2013-12-28 at 23:18 +0800, Ding Tianhong wrote: >> 于 2013/12/28 21:58, Sergei Shtylyov 写道: >>> Hello. >>> >>> On 28-12-2013 10:17, Ding Tianhong wrote: >>> Use possibly more efficient ether_addr_equal to instead of memcmp. >>> Cc: "Dav

[PATCH 1/8] perf tools: Make the all print_xxx_event functions to return unsigned int.

2013-12-29 Thread Dongsheng Yang
Currently, the most of print_XXX_event() functions are returning void. Then we can not know whether the printing work is completed well. This patch change the return type to unsigned int, it means the count of events we have printed in print_XXX_event() function. Signed-off-by: Dongsheng Yang

Re: [PATCH] of/irq: Fix device_node refcount in of_irq_parse_raw()

2013-12-29 Thread Benjamin Herrenschmidt
On Tue, 2013-12-17 at 18:32 +0100, Cédric Le Goater wrote: > Commit 2361613206e6, "of/irq: Refactor interrupt-map parsing" changed > the refcount on the device_node causing an error in of_node_put(): Grant, Thierry, this is a regression, please send to Linus ASAP... Cheers, Ben. > ERROR: Bad of_

[PATCH 7/8] perf tools: Fix bug when --raw-dump is not the first arguement for perf list.

2013-12-29 Thread Dongsheng Yang
As we use PARSE_OPT_STOP_AT_NON_OPTION option in parse_option(), if --raw-dump is not the first argument, it will be treat as an argument rather than option. Example: # ./perf list kvmmmu --raw-dump kvmmmu:kvm_mmu_pagetable_walk [Tracepoint event] k

[PATCH 3/8] perf tools: free aliases[j] in pmu.c if name_only is true.

2013-12-29 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang --- tools/perf/util/pmu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c index 331dc2c..169c480 100644 --- a/tools/perf/util/pmu.c +++ b/tools/perf/util/pmu.c @@ -752,6 +752,7 @@ unsigned int print_pmu_events(const c

[PATCH 8/8] perf tools: Enhancement for perf list with --raw-dump.

2013-12-29 Thread Dongsheng Yang
As we make --raw-dump work as a proper option, we need to make the output of it more readable. Example: # ./perf list kvmmmu --raw-dump kvmmmu:kvm_mmu_pagetable_walk kvmmmu:kvm_mmu_paging_element kvmmmu:kvm_mmu_set_accessed_bit kvmmmu:kvm_mmu_set_dirty_b it kvmmmu:

[PATCH 0/8 V2] Enhancement for perf list.

2013-12-29 Thread Dongsheng Yang
Hi Arnaldo, This patchset is for enhancement of perf list version 2. Ramkumar and David, The patch [6/8] is from your work 52a8d2da.7050...@gmail.com, and I make --raw-dump works as a option for other argument here. Do you mind I add signed-off-by Ramkumar and signed-off-by David i

[PATCH 6/8] perf tools: Make --raw-dump work as a proper option for perf list.

2013-12-29 Thread Dongsheng Yang
Ramkumar reported that perf list --raw-dump was broken by 44d742e. Fix by making raw-dump a proper argument. Signed-off-by: David Ahern Signed-off-by: Ramkumar Ramachandra Signed-off-by: Dongsheng Yang Cc: Ramkumar Ramachandra Cc: Arnaldo Carvalho de Melo --- tools/perf/builtin-list.c | 20 +

[PATCH 5/8] perf tools: Add support of name_only for print_events_type() function.

2013-12-29 Thread Dongsheng Yang
The all print_xxx_event() functions are supporting name_only argument except print_event_type(). This patch add an argument of name_only for print_events_type() function. Signed-off-by: Dongsheng Yang --- tools/perf/util/parse-events.c | 14 -- tools/perf/util/parse-events.h | 2 +-

[PATCH 4/8] perf tools: Improve the message of perf list for unexpected input.

2013-12-29 Thread Dongsheng Yang
Example: # perf list test List of pre-defined events (to be used in -e): # echo $? 0 Verification: # perf list test No event for test. Usage: perf list [hw|sw|cache|tracepoint|pmu|event_glob] # echo $? 255 S

[PATCH 2/8] perf tools: Make the print_pmu_events funtion to return unsigned int.

2013-12-29 Thread Dongsheng Yang
Sometimes we need to know how many events have been printed in print_pmu_events. This patch make this function to return the number of events we have printed. Signed-off-by: Dongsheng Yang --- tools/perf/util/pmu.c | 12 +++- tools/perf/util/pmu.h | 2 +- 2 files changed, 8 insertions(

Re: KCONFIG_ALLCONFIG + allmodconfig = brokenness

2013-12-29 Thread Randy Dunlap
On 12/29/13 18:22, Randy Dunlap wrote: > On 12/29/13 17:32, H. Peter Anvin wrote: >> When KCONFIG_ALLCONFIG is used with "make allmodconfig", the result ends >> up being largely the same as "make allyesconfig", because the resulting >> kernel ends up with CONFIG_MODULES=n: >> >> How to reproduce: >

Re: KCONFIG_ALLCONFIG + allmodconfig = brokenness

2013-12-29 Thread Randy Dunlap
On 12/29/13 17:32, H. Peter Anvin wrote: > When KCONFIG_ALLCONFIG is used with "make allmodconfig", the result ends > up being largely the same as "make allyesconfig", because the resulting > kernel ends up with CONFIG_MODULES=n: > > How to reproduce: > > : tazenda 125 ; make O=../o.test allmodco

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

2013-12-29 Thread Ding Tianhong
On 2013/12/29 1:04, Joe Perches wrote: > On Sat, 2013-12-28 at 23:02 +0800, Ding Tianhong wrote: >> 于 2013/12/28 14:59, Joe Perches 写道: >>> On Sat, 2013-12-28 at 14:18 +0800, Ding Tianhong wrote: Use possibly more efficient ether_addr_equal to instead of memcmp. >>> >>> This may be a dist

[f2fs-dev] [PATCH] f2fs: avoid to read inline data except first page

2013-12-29 Thread Chao Yu
Here is a case which could read inline page data not from first page. 1. write inline data 2. lseek to offset 4096 3. read 4096 bytes from offset 4096 (read_inline_data read inline data page to non-first page, And previously VFS has add this page to page cache) 4. ftruncate offset

Re: [PATCH v7 09/12] efi: passing kexec necessary efi data via setup_data

2013-12-29 Thread Dave Young
On 12/29/13 at 01:05pm, Matt Fleming wrote: > On Wed, 25 Dec, at 11:32:05AM, Dave Young wrote: > > > > Matt, if you want to remove the map[0] please fold below one line > > patch? I have no strong opinion. > > > > Index: linux/arch/x86/include/asm/efi.h > > ===

KCONFIG_ALLCONFIG + allmodconfig = brokenness

2013-12-29 Thread H. Peter Anvin
When KCONFIG_ALLCONFIG is used with "make allmodconfig", the result ends up being largely the same as "make allyesconfig", because the resulting kernel ends up with CONFIG_MODULES=n: How to reproduce: : tazenda 125 ; make O=../o.test allmodconfig GEN /home/hpa/kernel/o.test/Makefile scripts

Re: [PATCH 23/25] thermal: exynos: fix error return code

2013-12-29 Thread Jingoo Han
On Monday, December 30, 2013 7:48 AM, Julia Lawall wrote: > > From: Julia Lawall > > Set the return variable to an error code as done elsewhere in the function. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) > > // > ( > if

RE: [f2fs-dev] [PATCH] f2fs: avoid to left uninitialized data in page when read inline data

2013-12-29 Thread Chao Yu
Change log from v1: o reduce unneeded memset in __f2fs_convert_inline_data >From 58796be2bd2becbe8d52305210fb2a64e7dd80b6 Mon Sep 17 00:00:00 2001 From: Chao Yu Date: Mon, 30 Dec 2013 09:21:33 +0800 Subject: [PATCH] f2fs: avoid to left uninitialized data in page when read inline data We left u

Re: Sanitize CPU-state when switching from virtual-8086 mode to other task

2013-12-29 Thread H. Peter Anvin
On 12/29/2013 12:44 PM, halfdog wrote: > H. Peter Anvin wrote: >> On 12/28/2013 02:02 PM, halfdog wrote: >>> It seems that missing CPU-state sanitation during task >>> switching triggers kernel-panic. This might be related to >>> unhandled FPU-errors. See [1] for POC and serial console log >>> of

Re: [PATCH] input: egalax: Send touch end event when is about to suspend

2013-12-29 Thread Dmitry Torokhov
Hi Felipe, On Mon, Dec 16, 2013 at 03:45:58PM -0800, Felipe Ferreri Tonello wrote: > Hi Dmitry, > > On 12/15/2013 02:40 AM, Dmitry Torokhov wrote: > >Hi Felipe, > > > >On Tue, Dec 10, 2013 at 04:03:16PM -0800, Felipe F. Tonello wrote: > >>From: "Felipe F. Tonello" > >> > >>This is useful to repo

RE: [PATCH] Add the LED burst trigger

2013-12-29 Thread Joe Xue
Hi All, I have finished the pattern trigger and submitted it. For your convince to discuss, I also put it here. Joe The LED pattern trigger allows LEDs blink in user defined pattern.     new file:   Documentation/leds/ledtrig-pattern.txt     modified:   drivers/leds/trigger/Kconfig     modifie

Linux 3.13-rc6

2013-12-29 Thread Linus Torvalds
As expected, things have been quiet over the holiday week. So various small random updates: drivers (infiniband, gpu, cpufreq, libata, block), some small filesystem fixes (ext4/jbd2), and a few ARM SoC things. Tiny x86, percpu and cgroup fixes. Nothing you'd normally even notice, just 81 fairly sm

[PATCH] Add LED pattern trigger

2013-12-29 Thread Joe Xue
The LED pattern trigger allows LEDs blink in user defined pattern. new file: Documentation/leds/ledtrig-pattern.txt modified: drivers/leds/trigger/Kconfig modified: drivers/leds/trigger/Makefile new file: drivers/leds/trigger/ledtrig-pattern.c Suggested-by:

Re: [PATCH 00/05 v2] pinctrl: sh-pfc: r7s72100 support V2

2013-12-29 Thread Laurent Pinchart
Hi Magnus, I have pending PFC patches for v3.14. Do you plan to resubmit this series with the problem pointed out by Wolfram fixed for v3.14, or will you push it back to v3.15 ? On Tuesday 17 December 2013 11:37:45 Magnus Damm wrote: > pinctrl: sh-pfc: r7s72100 support V2 > > [PATCH 01/05 v2]

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

2013-12-29 Thread Joe Perches
On Sun, 2013-12-29 at 23:05 +0100, Julia Lawall wrote: > After some work on getting more include files to be taken into account, I > get the following list of cases where both arguments have the form of a > field reference, the field has array type, and the field is not at the end > of the struc

Re: [PATCH RESEND 1/4] clk: clk-s2mps11: Refactor for including support for other MFD clocks

2013-12-29 Thread Mike Turquette
Quoting Tushar Behera (2013-12-26 02:18:58) > The clocks in S2MPS11 and S5M8767 are managed in the same way, baring > a difference in the register offset. It would be better to update > existing S2MPS11 driver to support the clocks in S5M8767, rather than > creating an almost duplicate driver altog

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

2013-12-29 Thread Julia Lawall
> Hi Julia. > > Maybe this explanation is helpful? > > ethernet addresses are u8[6] (48 bits) > > ether_addr_equal_64bits gets passed a pointer to u8[8] > and is more efficient on 64 bit architectures than > ether_addr_equal because the test can be done with a > single compare and shift. > > Th

Re: [PATCH 0/7] misc Tegra clock fixes

2013-12-29 Thread Mike Turquette
Quoting Andrew Bresticker (2013-12-26 16:44:20) > Fixes for various clock-related issues found during bringup of > Tegra124-based Venice2 and Norrin boards. Acked-by: Mike Turquette > > Andrew Bresticker (3): > clk: tegra: fix sdmmc clks on Tegra1x4 > clk: tegra: cclk_lp has a pllx/2 divide

[PATCH 2/25] rsxx: fix error return code

2013-12-29 Thread Julia Lawall
From: Julia Lawall Set the return variable to an error code as done elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // ( if@p1 (\(ret < 0\|ret != 0\)) { ... return ret; } | ret@p1 = 0 ) ... when != ret =

[PATCH 3/25] fix error return code

2013-12-29 Thread Julia Lawall
From: Julia Lawall The rest of the function uses ret to store the return value, even setting ret to i a few lines before this, so return ret instead of i. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // ( if@p1 (\(ret < 0\|ret !

[PATCH 1/25] fix error return code

2013-12-29 Thread Julia Lawall
From: Julia Lawall Set the return variable to an error code as done elsewhere in the function. Additionally, in each case there is no need to initialize ret to 0, since its value is immediately overwritten. A simplified version of the semantic match that finds the first problem is as follows: (

[PATCH 5/25] IB/mlx4: fix error return code

2013-12-29 Thread Julia Lawall
From: Julia Lawall Set the return variable to an error code as done elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // ( if@p1 (\(ret < 0\|ret != 0\)) { ... return ret; } | ret@p1 = 0 ) ... when != ret =

[PATCH 7/25] net: fix error return code

2013-12-29 Thread Julia Lawall
From: Julia Lawall Set the return variable to propagate any error code as done elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // ( if@p1 (\(ret < 0\|ret != 0\)) { ... return ret; } | ret@p1 = 0 ) ... wh

  1   2   >