Nicholas Piggin wrote:
Naveen N. Rao's on May 17, 2019 4:22 am:
While enabling ftrace, we will first need to patch the preceding 'mflr
r0' (which would now be a 'nop') with 'b +8', then use
synchronize_rcu_tasks() and finally patch in 'bl _mcount()' followed by
'mflr r0'.
I think that's wha
Naveen N. Rao's on May 17, 2019 4:22 am:
> Nicholas Piggin wrote:
>> Naveen N. Rao's on May 14, 2019 6:32 pm:
>>> Michael Ellerman wrote:
"Naveen N. Rao" writes:
> Michael Ellerman wrote:
>> Nicholas Piggin writes:
>>> The new mprofile-kernel mcount sequence is
>>>
>>>
Nicholas Piggin wrote:
Naveen N. Rao's on May 14, 2019 6:32 pm:
Michael Ellerman wrote:
"Naveen N. Rao" writes:
Michael Ellerman wrote:
Nicholas Piggin writes:
The new mprofile-kernel mcount sequence is
mflr r0
bl_mcount
Dynamic ftrace patches the branch instruction with a noop,
Naveen N. Rao's on May 14, 2019 6:32 pm:
> Michael Ellerman wrote:
>> "Naveen N. Rao" writes:
>>> Michael Ellerman wrote:
Nicholas Piggin writes:
> The new mprofile-kernel mcount sequence is
>
> mflrr0
> bl _mcount
>
> Dynamic ftrace patches the branch in
"Naveen N. Rao" writes:
> Michael Ellerman wrote:
>> "Naveen N. Rao" writes:
>>> Michael Ellerman wrote:
Nicholas Piggin writes:
> The new mprofile-kernel mcount sequence is
>
> mflrr0
> bl _mcount
>
> Dynamic ftrace patches the branch instruction with a
Michael Ellerman wrote:
"Naveen N. Rao" writes:
Michael Ellerman wrote:
Nicholas Piggin writes:
The new mprofile-kernel mcount sequence is
mflr r0
bl_mcount
Dynamic ftrace patches the branch instruction with a noop, but leaves
the mflr. mflr is executed by the branch unit that can
"Naveen N. Rao" writes:
> Michael Ellerman wrote:
>> Nicholas Piggin writes:
>>> The new mprofile-kernel mcount sequence is
>>>
>>> mflr r0
>>> bl_mcount
>>>
>>> Dynamic ftrace patches the branch instruction with a noop, but leaves
>>> the mflr. mflr is executed by the branch uni
Michael Ellerman wrote:
Nicholas Piggin writes:
The new mprofile-kernel mcount sequence is
mflr r0
bl_mcount
Dynamic ftrace patches the branch instruction with a noop, but leaves
the mflr. mflr is executed by the branch unit that can only execute one
per cycle on POWER9 and shared wi
Nicholas Piggin writes:
> The new mprofile-kernel mcount sequence is
>
> mflrr0
> bl _mcount
>
> Dynamic ftrace patches the branch instruction with a noop, but leaves
> the mflr. mflr is executed by the branch unit that can only execute one
> per cycle on POWER9 and shared with branch
Hi Nick,
Nicholas Piggin wrote:
The new mprofile-kernel mcount sequence is
mflr r0
bl_mcount
Dynamic ftrace patches the branch instruction with a noop, but leaves
the mflr. mflr is executed by the branch unit that can only execute one
per cycle on POWER9 and shared with branches, so i
10 matches
Mail list logo