oprofile and ARM A9 hardware counter
Ming Lei
ming.lei at canonical.com
Thu Jan 19 08:51:57 EST 2012
Hi,
On Thu, Jan 19, 2012 at 9:32 PM, stephane eranian
<eranian at googlemail.com> wrote:
> On Thu, Jan 19, 2012 at 2:26 PM, Ming Lei <ming.lei at canonical.com> wrote:
>> Hi,
>>
>> On Thu, Jan 19, 2012 at 9:14 PM, Ming Lei <ming.lei at canonical.com> wrote:
>>> On Thu, Jan 19, 2012 at 8:51 PM, stephane eranian
>>> <eranian at googlemail.com> wrote:
>>>> On Thu, Jan 19, 2012 at 1:45 PM, Ming Lei <ming.lei at canonical.com> wrote:
>>>>> Hi,
>>>>>
>>>>> On Thu, Jan 19, 2012 at 7:34 PM, stephane eranian
>>>>> <eranian at googlemail.com> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> Ok some update on this.
>>>>>> With your .config file + 3.2.0 (Linus) + patch 3, 4, 5, 6, I get a kernel that
>>>>>
>>>>> You forget patch 1 and patch 2?
>>>>>
>>>> They are already in 3.2.0. Unless I am mistaken.
>>>
>>> Sorry, I just found that they have been merged to 3.2.
>>
>> After a double check, the two patches are not merged to 3.2, but have
>> been merged to the latest linus tree and can be seen in 3.3-rc1.
>>
>> Also the commit 3c50729b(ARM: OMAP4: PM: Initialise all the clockdomains
>> to supported states) has been merged to linus tree too.
>>
>> So if you just tested the latest linus tree simply, you need to apply
>> the patch[1]
>> (I have mentioned the problem in the thread.)
>>
>
> Changing LMO, u-boot.bin did not help. Even with perf top I get no
> interrupts.
>
> My Linus tree is at commit fa1952b:
>
> [6] 11891e1 arm: omap4: pmu: support runtime pm
> [5] 25fab8a arm: omap4: support pmu
> [4] fddef77 arm: omap4: create pmu device via hwmod
>
> fa1952b ARM: OMAP4: hwmod data: Add support for the debug modules
Sorry, there is no commit fa1952b in linus[1] tree at all, so you are
not testing
linus tree...
If you'd like to follow my instructions, I can help you further.
> ccb19d2 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
> c3b5003 tg3: Fix single-vector MSI-X code
>
> I think [1] had conflicts when applying it to the tree.
It is only one line(one character) change, you can do it manually.
>
>> thanks,
>> --
>> Ming Lei
>>
>> [1],
>> diff --git a/arch/arm/mach-omap2/clockdomains44xx_data.c
>> b/arch/arm/mach-omap2/clockdomains44xx_data.c
>> index 9299ac2..41d2260 100644
>> --- a/arch/arm/mach-omap2/clockdomains44xx_data.c
>> +++ b/arch/arm/mach-omap2/clockdomains44xx_data.c
>> @@ -390,7 +390,7 @@ static struct clockdomain emu_sys_44xx_clkdm = {
>> .prcm_partition = OMAP4430_PRM_PARTITION,
>> .cm_inst = OMAP4430_PRM_EMU_CM_INST,
>> .clkdm_offs = OMAP4430_PRM_EMU_CM_EMU_CDOFFS,
>> - .flags = CLKDM_CAN_HWSUP,
>> + .flags = CLKDM_CAN_SWSUP,
>> };
>>
[1], http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=summary
thanks,
--
Ming Lei
More information about the linux-arm-kernel
mailing list