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
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
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
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
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
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
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
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
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
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
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
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/
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 -
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
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
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(+)
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
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
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.
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
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 +-
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
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
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()
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
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
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
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
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
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 +
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_
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
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
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
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
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
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
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
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
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
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 *)
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
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|
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) +
>
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
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
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
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
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
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
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,
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
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
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
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
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
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
(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
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
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
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
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
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
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
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
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
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
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
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_
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
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
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:
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
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 +
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 +-
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
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(
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:
>
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
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
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
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
> > ===
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
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
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
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
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
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
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
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:
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]
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
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
> 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
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
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 =
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 !
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: (
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 =
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 - 100 of 161 matches
Mail list logo