From: Purna Chandra Mandal
This clock driver implements PIC32 specific clock-tree. clock-tree
entities can only be configured through device-tree file (OF).
Signed-off-by: Purna Chandra Mandal
Signed-off-by: Joshua Henderson
Cc: Ralf Baechle
Cc: Michael Turquette
Cc: Stephen Boyd
---
Note:
Clock bindings got acked and then essentially unacked, while the clock
driver never made it upstream. In the meantime, the initial DTS file
made it upstream. This latest patch series includes a patch to go back
and correct the DTS files to reflect the new clock bindings in this
patch series.
This
From: Purna Chandra Mandal
Document the devicetree bindings for the clock driver found on Microchip
PIC32 class devices.
Signed-off-by: Purna Chandra Mandal
Signed-off-by: Joshua Henderson
Cc: Ralf Baechle
Cc: Michael Turquette
Cc: Stephen Boyd
Acked-by: Rob Herring
---
Note: Please pull t
On Wed, Feb 24, 2016 at 9:58 AM, Geert Uytterhoeven
wrote:
> Hi Alex,
>
> On Wed, Feb 24, 2016 at 3:48 PM, Deucher, Alexander
> wrote:
>>> -Original Message-
>>> From: Geert Uytterhoeven [mailto:geert+rene...@glider.be]
>>> Sent: Wednesday, February 24, 2016 3:14 AM
>>> To: David Airlie;
23.02.2016 17:08, Ville Syrjälä написав:
In the meantime I think as a workaround I think you could use
something like video=HDMI-A-1:e on the kernel command line (not sure
I got the connector name right for your system). I think that should
result in the live status check to be skipped, at least
On Wed, Feb 24, 2016 at 10:19 AM, Boris Ostrovsky
wrote:
> Baremetal kernels clear .bss early in the boot but Xen PV guests don't
> execute that code. They have been able to run without problems because
> Xen domain builder happens to give out zeroed pages. However, since this
> is not really guar
On Wed, Feb 24, 2016 at 7:13 PM, Haggai Eran wrote:
>> + * all the resources are deallocated, and after a stage when any
>> + * other resource allocation of user application cannot be done
>> + * for this device to avoid any leak in accounting.
>> + * HCA drivers should clear resource pool ops af
Register the counter of the Periodic Interval Timer as a possible source
for sched_clock. Keep the timer running even if the related clockevent
is disabled.
This provides a better precision than the jiffies-based default. The
TCB clocksource does not work, as it is registered too late in the
initi
On Wed, Feb 24, 2016 at 03:02:39PM +0100, Peter Zijlstra wrote:
> FWIW, it would be nice to have a similar test for:
>
> attr = {
> .disabled = true;
> }
>
> sys_perf_event_open(&attr, .pid = self);
>
> if (attr.disabled)
> ioctl(ENABLE);
>
>
On Tue, Feb 23, 2016 at 7:35 AM, Huang, Ying wrote:
>> On Mon, Feb 15, 2016 at 3:39 AM, Huang, Ying wrote:
>>> Michael Welling writes:
>> Then dmesg |grep CHARDEV should tell what we need to know.
>
> Sorry for late, the dmesg with the patch is attached. And the output of
> dmesg | grep CHARD
From: Miles Chen
The MODULES_VADDR is not the lowest possible
kernel virtual address. TASK_SIZE_64 may be larger than
MODULES_VADDR, FIXADDR_TOP, and PCI_IO_START.
Fix this by comparing TASK_SIZE_64 (highest user virtual address)
with VA_START (lowest kernel virtual address).
#define VA_BITS
On Wed, Feb 24, 2016 at 09:46:55AM +0100, Jiri Olsa wrote:
> Adding DATALA events into Haaswell events sysfs
> directory, so it's easier to use them.
>
> Adding all DATALA events as specified by Intel SDM
> manual 18.10.3 PEBS Data Address Profiling.
>
> Link: http://lkml.kernel.org/n/tip-dvpk5ys
Sebastian Ott and Gerald Schaefer reported random crashes on s390.
It was bisected to my THP refcounting patchset.
The problem is that pmdp_invalidated() called with wrong virtual
address. It got offset up by HPAGE_PMD_SIZE by loop over ptes.
The solution is to introduce new variable to be used i
On Mon 2016-02-22 23:48:53, kbuild test robot wrote:
> Hi Petr,
>
> [auto build test ERROR on soc-thermal/next]
> [also build test ERROR on v4.5-rc5 next-20160222]
> [if your patch is applied to the wrong git tree, please drop us a note to
> help improving the system]
>
> url:
> https://gith
On Wed, 24 Feb 2016, Boris Ostrovsky wrote:
> On 02/24/2016 07:23 AM, Stefano Stabellini wrote:
> > Introduce EARLYCON support in hvc_xen, useful for early debugging on arm
> > and arm64, where xen early_printk is not available. Differently from
> > xenboot_write_console on x86, we won't just retur
The id buffer in ata_device is a DMA target, but it isn't explicitly
cacheline aligned. Due to this, adjacent fields can be overwritten with
stale data from memory on non coherent architectures. As a result, the
kernel is sometimes unable to communicate with an ATA device.
Fix this by ensuring tha
patch is applied to the wrong git tree, please drop us a note to
> help improving the system]
>
> url:
> https://github.com/0day-ci/linux/commits/Stefano-Stabellini/hvc_xen-add-earlycon-support/20160224-203006
> base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.
On Tuesday 23 February 2016 03:34:43 Sebastian Reichel wrote:
>
> On Sun, Jan 31, 2016 at 01:52:38AM +0100, Sebastian Reichel wrote:
> > This adds support for frequency changes of the SSI
> > functional clock, which may occur due to DVFS.
>
> I queued this one for 4.6.
>
This causes a regressio
On 02/24/2016 04:37 PM, Sekhar Nori wrote:
> I don't see the error interrupt count in /proc/interrupts go up although
> the code is returning IRQ_NONE when this happens. I initially thought
> that must be because of the interrupt being IRQF_SHARED. But getting rid
> of IRQF_SHARED still does not le
On Tue, Feb 23, 2016 at 4:19 PM, Andy Lutomirski wrote:
> Both before and after 5f310f739b4c ("x86/entry/32: Re-implement
> SYSENTER using the new C path"), we relied on a uaccess very early
> in the SYSENTER path to clear AC. After that change, though, we can
> potentially make it all the way in
I have no idea why the original email was redirected to Junk folder.
Sorry for the late response.
I extended BDX-DE uncore code to support BDX-EP. So they share
the same code path. But there is no sbox in BDX-DE.
I once tried the BDX-EP patch on my BDX-DE, it boots fine.
But it looks it doesn't
On Wednesday 24 February 2016 08:50 AM, Peter Hurley wrote:
> Just to follow-up on what Sebastian wrote.
>
> As he pointed out, these spurious interrupts are not timeout interrupts.
> Since IIR_UART[0] == 1, no uart interrupt is pending.
>
> As he wrote, these count as spurious interrupts and tri
In hierarchy mode, a filter can affect periods of entries in upper
hierarchy. So it needs to resort the hists after filter.
For example, let's look at following example:
Overhead Command / Shared Object / Symbol
30.00%perf
20.00%
Baremetal kernels clear .bss early in the boot but Xen PV guests don't
execute that code. They have been able to run without problems because
Xen domain builder happens to give out zeroed pages. However, since this
is not really guaranteed, .bss should be explicitly cleared.
(Since we introduce ma
2016-02-24 15:53 GMT+01:00 Nicolas Ferre :
> Le 23/02/2016 17:59, Romain Izard a écrit :
>> In commit c39dfebc7798956fd2140ae6321786ff35da30c3, the modular support
>> code for atmel_serial was removed, as the driver cannot be built as a
>> module. Because no use case was proposed, the dynamic drive
Implement hierarchy mode in TUI. The output is look like stdio but it
also supports to fold/unfold children dynamically.
Acked-by: Pekka Enberg
Signed-off-by: Namhyung Kim
---
tools/perf/ui/browsers/hists.c | 290 +
1 file changed, 268 insertions(+), 22
On 02/24/2016 06:22 AM, Thierry Reding wrote:
From: Thierry Reding
The driver uses the atomic_io_modify() function to update registers, but
that function is only available on 32-bit ARM. Recent changes have added
ARCH_MVEBU support to 64-bit ARM and hence allowed this driver to build
on 64-bit
> -Original Message-
> From: Geert Uytterhoeven [mailto:geert+rene...@glider.be]
> Sent: Wednesday, February 24, 2016 3:14 AM
> To: David Airlie; Deucher, Alexander; Bayyavarapu, Maruthi
> Cc: dri-de...@lists.freedesktop.org; linux-kernel@vger.kernel.org; Geert
> Uytterhoeven
> Subject: [PA
On 24/02/16 15:07, David Long wrote:
> On 02/24/2016 04:05 AM, Marc Zyngier wrote:
>> On Wed, 24 Feb 2016 01:56:52 -0500
>> David Long wrote:
>>
>>> On 02/19/2016 09:04 AM, Marc Zyngier wrote:
Hi David,
On 18/02/16 23:48, David Long wrote:
> From: Sandeepa Prabhu
>
> Kp
Gentle ping.
On Thu, 18 Feb 2016, Nicolas Pitre wrote:
> This patch series provides the option to omit exported symbols from
> the kernel and modules that are never referenced by any of the selected
> modules in the current kernel configuration.
>
> The original cover letter with lots of test
From: Konstantin Khlebnikov
Date: Wed, 24 Feb 2016 08:16:59 +0300
> Major kernel upgrades always break something in weird setups.
> This shouldn't block bug fixing.
A bug for you is a feature for another person. I'm standing by my
position, and will not apply this and break existing setups, sor
On Wed, Feb 24, 2016 at 7:56 PM, Haggai Eran wrote:
> On 20/02/2016 13:00, Parav Pandit wrote:
>> Added documentation for v1 and v2 version describing high
>> level design and usage examples on using rdma controller.
>>
>> Signed-off-by: Parav Pandit
>
> I think you might want to mention that res
On Wed, Feb 24, 2016 at 06:46:09AM +, Gabriele Paoloni wrote:
>
> Hi Bjorn, many thanks for replying
>
> > -Original Message-
> > From: Bjorn Helgaas [mailto:helg...@kernel.org]
> > Sent: 24 February 2016 09:14
> > To: Gabriele Paoloni
> > Cc: 'Mark Rutland'; Guohanjun (Hanjun Guo); W
As requested by Rob Herring, this commit adds a SoC-specific
compatible string to the Marvell ODMI DT binding.
Signed-off-by: Thomas Petazzoni
---
This commit applies on top of the Marvell ODMI driver patch, which has
already been merged.
---
.../bindings/interrupt-controller/marvell,odmi-contro
The hierarchy output mode is to group entries for each level so that
user can see higher level picture more easily. It also helps to find
out which component is most costly. The output will look like below:
15.11% swapper
14.97% [kernel.vmlinux]
0.09% [libahc
Em Wed, Feb 24, 2016 at 11:20:45AM +, Wang Nan escreveu:
> This patch allows 'perf script' output messages from BPF program.
> For example, use test_bpf_output_3.c at the end of this commit
> message,
>
> # ./perf record -e bpf-output/no-inherit,name=evt/ \
> -e ./test_bpf_ou
For hierarchical output, each entries should be sorted in their
rbtree (hroot) properly. Add hists__hierarchy_output_resort() to do the
job. Note that those hierarchy entries share the period counts, it'd be
important to update the hists->stats only once (for leaves).
Acked-by: Pekka Enberg
Sig
In the hierarchical view, entries will be grouped and sorted on the
first key, and then second key, and so on. Add he->hroot_{in,out} field
to keep lower level entries. Actually this can be shared with callchain
sorted_root since the hroots are only used by non-leaf entries and
callchain is only u
On Wed, Feb 24, 2016 at 02:35:18PM +0100, Dmitry Vyukov wrote:
> The warning is this one:
>
> static inline int should_follow_link(struct nameidata *nd, struct path *link,
> int follow,
> struct inode *inode, unsigned seq)
The hist_entry__filter() function is to filter hist entries using
sort key relatd info. This is needed to support hierarchy mode since
each hist entry will be associated with a hpp fmt which has a sort key.
So each entry should compare to only matching type of filters.
To do that, add the ->se_fi
Latest virtio spec says the feature bit name is VIRTIO_BLK_F_FLUSH,
VIRTIO_BLK_F_WCE is the legacy name. virtio blk header says exactly the
reverse - fix that and update driver code to match.
Signed-off-by: Michael S. Tsirkin
---
I'm inclined to merge it for the current kernel -
safe and avoids
The 'C' and 'E' keys are to collapse/expand all hist entries. Update
nr_hierarchy_entries properly in this case.
Acked-by: Pekka Enberg
Signed-off-by: Namhyung Kim
---
tools/perf/ui/browsers/hists.c | 58 ++
1 file changed, 48 insertions(+), 10 deletions
Hi Alex,
> Bool variable 'fail' is always non-negative, it indicates an error if it
> is true.
>
> The problem has been detected using coccinelle script
> scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci
>
> Signed-off-by: Andrzej Hajda
> ---
> net/6lowpan/iphc.c | 2 +-
> 1 file changed
Add nr_hierarchy_entries field to keep current number of (unfolded) hist
entries. And the hist_entry->nr_rows carries number of direct children.
But in the hierarchy mode, entry can have grand children and callchains.
So update the number properly using hierarchy_count_rows() when toggling
the fol
Support hierarchy output for perf-top using --hierarchy option.
Acked-by: Pekka Enberg
Signed-off-by: Namhyung Kim
---
tools/perf/Documentation/perf-top.txt | 3 +++
tools/perf/builtin-top.c | 15 +++
2 files changed, 18 insertions(+)
diff --git a/tools/perf/Documenta
On 24/02/2016 16:11, Michael S. Tsirkin wrote:
> Latest virtio spec says the feature bit name is VIRTIO_BLK_F_FLUSH,
> VIRTIO_BLK_F_WCE is the legacy name. virtio blk header says exactly the
> reverse - fix that and update driver code to match.
>
> Signed-off-by: Michael S. Tsirkin
> ---
> I'm
The hierarchy output mode is to group entries for each level so that
user can see higher level picture more easily.
Acked-by: Pekka Enberg
Signed-off-by: Namhyung Kim
---
tools/perf/ui/gtk/hists.c | 163 +-
1 file changed, 162 insertions(+), 1 deletio
It'll be used for hierarchy output mode to indent entries properly.
Signed-off-by: Namhyung Kim
---
tools/perf/ui/hist.c | 3 +++
tools/perf/util/hist.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/tools/perf/ui/hist.c b/tools/perf/ui/hist.c
index 12223d791e9f..edbf854e8e1c 100644
---
Like in stdio, fit column header to hierarchy output. Merge column
headers with "/" as a separator.
OverheadCommand / Shared Object / Symbol
...
+ 0.09%dwm
+ 0.06%emacs
- 0.05%perf
- 0.05%[kernel.vmlinux]
+ 0.03%[k]
In the hierarchy mode, hist entries should decay their children too.
Also update hists__delete_entry() to be able to free child entries.
Acked-by: Pekka Enberg
Signed-off-by: Namhyung Kim
---
tools/perf/util/hist.c | 42 ++
1 file changed, 34 insertions(+
The --hierarchy option is to show output in hierarchy mode. It extends
folding/unfolding in the TUI and GTK browsers to support sort items as
well as callchains. Users can toggle the items to see the performance
result at wanted level.
$ perf report --hierarchy --tui
Overhead Command
The hists__filter_hierarchy() function implements filtering in hierarchy
mode. Now we have hist_entry__filter() so use it for entries in the
hierarchy. It returns 3 kind of values.
A negative value means that it's not filtered by this type. It marks
current entry as filtered tentatively so if a
The hierarchy output mode is to group entries so the existing columns
won't fit to the new output. Treat all sort keys as a single column and
separate headers by "/".
#Overhead Command / Shared Object
# ...
#
15.11% swapper
1
The rb_hierarchy_{next,prev,last} functions are to traverse all
hist entries in a hierarchy. They will be used by various function
which supports hierarchy output.
As the rb_hierarchy_next() is used to traverse the whole hierarchy, it
sometime needs to visit entries regardless of current folding
On 02/24/2016 04:05 AM, Marc Zyngier wrote:
On Wed, 24 Feb 2016 01:56:52 -0500
David Long wrote:
On 02/19/2016 09:04 AM, Marc Zyngier wrote:
Hi David,
On 18/02/16 23:48, David Long wrote:
From: Sandeepa Prabhu
Kprobes needs simulation of instructions that cannot be stepped
from different
Hello,
This patchset implements a new feature that collects hist entries in a
hierachical manner. That means lower-level entries belong to an
upper-level entry. The entry hierachy is built on the sort keys
given, so users can set it whatever they want. It only shows
top-level entries first, and
The trace, srcline and srcfile sort keys updates hist entry's field
later. With the hierarchy mode, those fields are passed to a matching
entry so it needs to identify the sort keys.
Signed-off-by: Namhyung Kim
---
tools/perf/util/hist.h | 3 +++
tools/perf/util/sort.c | 33 +++
On (02/24/16 21:50), Sergey Senozhatsky wrote:
> On (02/24/16 12:46), Petr Mladek wrote:
> [..]
> > > and you get the NMI watchdog softlockup because you have a whole bunch of
> > >
> > >"of_overlay_destroy: Could not find overlay #6"
> > >"### dt-test ### of_unittest_destroy_tracked_overl
Em Wed, Feb 24, 2016 at 11:20:43AM +, Wang Nan escreveu:
> Hi Arnaldo and Jiri,
>
>Glad to see the progress we made today.
Indeed, thanks, tested and applied both of these patches,
- Arnaldo
On Monday 22 February 2016 10:34:31 Trond Myklebust wrote:
> > diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c
> > index 31789ef..bab3187 100644
> > --- a/net/sunrpc/rpc_pipe.c
> > +++ b/net/sunrpc/rpc_pipe.c
> > @@ -477,7 +477,9 @@ rpc_get_inode(struct super_block *sb, umode_t mode)
> >
Hi Laxman,
On 24 February 2016 at 14:16, Laxman Dewangan wrote:
> Use devm_pinctrl_register() for pin control registration.
>
> Signed-off-by: Laxman Dewangan
> Cc: Joachim Eastwood
> ---
> drivers/pinctrl/pinctrl-lpc18xx.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Acked-by: J
Am Mittwoch, den 24.02.2016, 16:00 +0100 schrieb Arnd Bergmann:
> On Wednesday 24 February 2016 13:44:24 Philipp Zabel wrote:
> > Am Mittwoch, den 24.02.2016, 13:18 +0100 schrieb Arnd Bergmann:
> > > On Wednesday 24 February 2016 12:19:01 Philipp Zabel wrote:
> > > > Commit bdb0066df96e ("mfd: sysc
On Mon, Feb 22, 2016 at 09:10:57AM +, Wang Nan wrote:
> With 'perf record --switch-output' without -a, record__synthesize() in
> record__switch_output() won't generate tracking events because there's
> no thread_map in evlist. Which causes newly created perf.data doesn't
> contain map and comm
On Wednesday 24 February 2016 13:44:24 Philipp Zabel wrote:
> Am Mittwoch, den 24.02.2016, 13:18 +0100 schrieb Arnd Bergmann:
> > On Wednesday 24 February 2016 12:19:01 Philipp Zabel wrote:
> > > Commit bdb0066df96e ("mfd: syscon: Decouple syscon interface from platform
> > > devices") added the po
On 02/24/2016 01:21 PM, Sudip Mukherjee wrote:
> The variable is_ver1 is always true and so OSD_CAP_LEN can never be
> used.
> Reported by Coverity.
>
> Signed-off-by: Sudip Mukherjee
ACK-by: Boaz harrosh
Thanks
> ---
>
> v2: Joe Perches asked to mention the tool used in the commit log.
>
>
On 24/02/16 14:52, Boris Ostrovsky wrote:
> On 02/24/2016 09:15 AM, Andrew Cooper wrote:
>> On 24/02/16 14:12, David Vrabel wrote:
>>> On 22/02/16 22:06, Boris Ostrovsky wrote:
Baremetal kernels clear .bss early in the boot. Since Xen PV guests
don't
excecute that early code they sho
Hi Alex,
On Wed, Feb 24, 2016 at 3:48 PM, Deucher, Alexander
wrote:
>> -Original Message-
>> From: Geert Uytterhoeven [mailto:geert+rene...@glider.be]
>> Sent: Wednesday, February 24, 2016 3:14 AM
>> To: David Airlie; Deucher, Alexander; Bayyavarapu, Maruthi
>> Cc: dri-de...@lists.freedes
On Mon, Feb 22, 2016 at 09:10:56AM +, Wang Nan wrote:
> Tracking events describe kernel and threads. They are generated by
> reading /proc/kallsyms, /proc/*/maps and /proc/*/task/* during
> initialization of 'perf record', serialized into event sequences and put
> at the head of 'perf.data'. In
On Tue, Feb 23, 2016 at 5:13 AM, Shannon Zhao wrote:
>
>
> On 2016/2/9 13:04, Rob Herring wrote:
>> On Thu, Feb 4, 2016 at 9:05 PM, Shannon Zhao
>> wrote:
>>> From: Shannon Zhao
>>>
>>> Sometimes it needs to check if there is a node in FDT by full path.
>>
>> I'm confused. Are you searching by
Le 23/02/2016 17:59, Romain Izard a écrit :
> In commit c39dfebc7798956fd2140ae6321786ff35da30c3, the modular support
> code for atmel_serial was removed, as the driver cannot be built as a
> module. Because no use case was proposed, the dynamic driver binding
> support was removed as well.
>
> Th
Hi Michal,
I have the attached patch already in my queue.
David
---
commit d19fcb825912c67e09e0575b95accaa42899e07f
Author: David Howells
Date: Wed Feb 24 14:37:54 2016 +
X.509: Don't treat self-signed keys specially
Trust for a self-signed certificate can normally only be de
On 02/24/2016 09:15 AM, Andrew Cooper wrote:
On 24/02/16 14:12, David Vrabel wrote:
On 22/02/16 22:06, Boris Ostrovsky wrote:
Baremetal kernels clear .bss early in the boot. Since Xen PV guests don't
excecute that early code they should do it too.
(Since we introduce macros for specifying 32-
Introduce the use of kobj_to_dev() helper function instead of open
coding it with container_of()
The Coccinelle semantic patch used to make this change is as follows:
//
@@
expression a;
symbol kobj;
@@
- container_of(a, struct device, kobj)
+ kobj_to_dev(a)
//
Signed-off-by: Amitoj Kaur Chawla
On Mon, Feb 22, 2016 at 09:10:50AM +, Wang Nan wrote:
> auxtrace_snapshot_enable has only two states (0/1). Turns it into a
> triple states enum so SIGUSR2 handler can safely do other works without
> triggering auxtrace snapshot.
>
> Signed-off-by: Wang Nan
> Signed-off-by: He Kuang
> Cc: Ar
On 02/24/2016 07:23 AM, Stefano Stabellini wrote:
Introduce EARLYCON support in hvc_xen, useful for early debugging on arm
and arm64, where xen early_printk is not available. Differently from
xenboot_write_console on x86, we won't just return if !xen_pv_domain(),
because arm and arm64 guests are
On Tue, 2016-02-23 at 18:48 -0800, Guenter Roeck wrote:
> On 02/23/2016 01:42 PM, Ben Hutchings wrote:
> > This is the start of the stable review cycle for the 3.2.78
> > release.
> > There are 67 patches in this series, which will be posted as
> > responses
> > to this one. If anyone has any issu
On 20/02/2016 13:00, Parav Pandit wrote:
> Added documentation for v1 and v2 version describing high
> level design and usage examples on using rdma controller.
>
> Signed-off-by: Parav Pandit
I think you might want to mention that resource limits are reflected
in the results returned from ib_uv
On 2/24/2016 8:04 AM, Rafael J. Wysocki wrote:
> Hi,
>
> On Tue, Feb 16, 2016 at 3:15 AM, Sinan Kaya wrote:
>> On 2/15/2016 7:26 PM, Rafael J. Wysocki wrote:
>>> On Mon, Feb 15, 2016 at 5:41 PM, Sinan Kaya wrote:
A crash has been observed when assigning penalty on x86 systems.
It
The window size used for calculating vm pressure events was
previously fixed at 512 pages. The window size has a big
impact on the rate of notifications sent off to userspace,
in particular when using the "low" level. On machines with
a lot of memory, the current value is likely excessive. On
the
When a module is loaded, calls out to the kernel go via a stub which is
generated at runtime. One of these stubs is used to call _mcount(),
which is the default target of tracing calls generated by the compiler
with -pg.
If dynamic ftrace is enabled (which it typicall is), another stub is
used to
In order to support the new -mprofile-kernel ABI, we need to be able to
call from the module back to ftrace_caller() (in the kernel) without
using the module's r2. That is because the function in this module which
is calling ftrace_caller() may not have setup r2, if it doesn't
otherwise need it (ie
From: Torsten Duwe
The gcc switch -mprofile-kernel, available for ppc64 on gcc > 4.8.5,
allows to call _mcount very early in the function, which low-level
ASM code and code patching functions need to consider.
Especially the link register and the parameter registers are still
alive and not yet sa
On Wed, Feb 24, 2016 at 07:32:17AM +0100, Sedat Dilek wrote:
> On Wed, Feb 24, 2016 at 6:34 AM, Stephen Rothwell
> wrote:
> > Hi all,
> >
> > Changes since 20160223:
> >
> ...
> > The aio tree still had a build failure so I used the version from
> > next-20160111.
> >
>
> Might be good to poke t
Am Dienstag, 23. Februar 2016, 15:01:01 schrieb jianqun.xu:
> From: Jianqun Xu
>
> Add devicetree bindings for Rockchip grf which found on
> Rockchip SoCs.
>
> Signed-off-by: Jianqun Xu
applied to my dts32 branch for 4.6 with Rob's Ack.
Thanks
Heiko
On Mon, Feb 22, 2016 at 09:10:48AM +, Wang Nan wrote:
SNIP
> + err = perf_event__synthesize_auxtrace_info(rec->itr, tool,
> + session, process_synthesized_event);
> + if (err)
> + goto out;
> + }
> +
> + e
On Mon, Feb 22, 2016 at 09:10:49AM +, Wang Nan wrote:
> perf_data_file__switch() closes current output file, renames it, then
> open a new one to continue record. It will be used by perf record
> to split output into multiple perf.data files.
>
> Signed-off-by: Wang Nan
> Signed-off-by: He Ku
Signed-off-by: Michael Ellerman
---
arch/powerpc/kernel/entry_64.S | 8
1 file changed, 8 insertions(+)
Squash.
diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S
index 2a7313cfbc7d..9e77a2c8f218 100644
--- a/arch/powerpc/kernel/entry_64.S
+++ b/arch/powerpc/k
is_early_mcount_callsite() needs to detect either the two instruction or
the three instruction versions of the _mcount() sequence.
But if we're running a kernel with the two instruction sequence, we need
to be careful not to read instruction - 2, otherwise we might fall off
the front of a page and
From: Torsten Duwe
Convert powerpc's arch_ftrace_update_code() from its own version to use
the generic default functionality (without stop_machine -- our
instructions are properly aligned and the replacements atomic).
With this we gain error checking and the much-needed function_trace_op
handlin
The commit 59ceeaaf355fa0fb16558ef7c24413c804932ada
("kernel/resource.c: fix muxed resource handling in __request_region()")
don't address properly the case where the current parent resource has
been freed while sleeping, waiting for a muxed resource to be available.
This patch fixes the issue by
From: Torsten Duwe
Implement FTRACE_WITH_REGS for powerpc64, on ELF ABI v2.
Initial work started by Vojtech Pavlik, used with permission.
* arch/powerpc/kernel/entry_64.S:
- Implement an effective ftrace_caller that works from
within the kernel binary as well as from modules.
* arc
From: Torsten Duwe
* arch/powerpc/Makefile:
- globally use -mprofile-kernel in case it's configured,
available and bug-free.
* arch/powerpc/gcc-mprofile-kernel-notrace.sh:
- make sure -mprofile-kernel works and has none of the
known bugs.
* arch/powerpc/kernel/ftrace.c:
__ftrace_make_nop() needs to detect either the two instruction or
the three instruction versions of the _mcount() sequence.
But if we're running a kernel with the two instruction sequence, we need
to be careful not to read from ip - 8, or we'll fault and (possibly)
incorrectly declare the sequence
From: Torsten Duwe
Using -mprofile-kernel on early boot code not only confuses the
checker but is also useless, as the infrastructure is not yet in
place. Proceed like with -pg (remove it from CFLAGS), equally with
time.o, ftrace and its helper files.
* arch/powerpc/kernel/Makefile,
arch/p
On Wed, 24 Feb 2016 13:18:43 +0100,
Martin Kepplinger wrote:
>
> Am 2016-02-24 um 10:13 schrieb Takashi Iwai:
> > On Wed, 24 Feb 2016 08:51:32 +0100,
> > Takashi Iwai wrote:
> >>
> >> Since dig_port_map[] is used only for the audio callback, we can
> >> assign it dynamically just before the callba
The main change is to just use paca->kernel_toc, rather than a branch to
+4 and mflr etc. That makes the code simpler and should also perform
better.
There was also a sequence after ftrace_call() where we load from
pt_regs->nip, move to LR, then a few instructions later load from LRSAVE
and move t
Currently we generate the module stub for ftrace_caller() at the bottom
of apply_relocate_add(). However apply_relocate_add() is potentially
called more than once per module, which means we will try to generate
the ftrace_caller() stub multiple times.
Although the current code deals with that corr
On Mon, Feb 22, 2016 at 09:10:45AM +, Wang Nan wrote:
> is_pos only useful for tracking events (fork, mmap, exit, ...).
> Perf collects those events through evsel with 'tracking' set.
> Therefore, there's no need to validate every is_pos against
> evlist->is_pos.
>
> This patch is required aft
From: Thierry Reding
The driver uses the atomic_io_modify() function to update registers, but
that function is only available on 32-bit ARM. Recent changes have added
ARCH_MVEBU support to 64-bit ARM and hence allowed this driver to build
on 64-bit ARM where this function isn't available and ther
On 15/02/2016 19:44, Laura Abbott wrote:
> -static inline struct kmem_cache_node *free_debug_processing(
> +static inline int free_debug_processing(
> struct kmem_cache *s, struct page *page,
> void *head, void *tail, int bulk_cnt,
> unsigned long addr, unsigned long *flags) { r
801 - 900 of 1339 matches
Mail list logo