* MSM PMU Support in Commit ee3c454b
@ 2010-05-07 17:02 Will Deacon
2010-05-07 17:12 ` Daniel Walker
2010-05-07 18:15 ` Russell King - ARM Linux
0 siblings, 2 replies; 12+ messages in thread
From: Will Deacon @ 2010-05-07 17:02 UTC (permalink / raw)
To: linux-arm-kernel
Hi Russell,
Commit ee3c454b `arm: msm: add oprofile pmu support' in your devel
branch adds an IRQ to the static list in kernel/pmu.c. Patch 6064/1 in
the patch system replaces this old functionality with runtime registration
using a platform device, so this commit prevents that patch applying.
The OProfile patches in the system also depend on the runtime registration
patch, so they will become blocked too.
I can update the patch in the patch system so it applies cleanly, but
the mach-msm bsp will need updating to register the IRQ using the new
mechanism. Daniel: would you like me to submit a patch to do this, or
would you rather do it [since I'm unfamiliar with the mach]?
Cheers,
Will
^ permalink raw reply [flat|nested] 12+ messages in thread
* MSM PMU Support in Commit ee3c454b
2010-05-07 17:02 MSM PMU Support in Commit ee3c454b Will Deacon
@ 2010-05-07 17:12 ` Daniel Walker
2010-05-07 18:03 ` Russell King - ARM Linux
2010-05-07 18:04 ` Will Deacon
2010-05-07 18:15 ` Russell King - ARM Linux
1 sibling, 2 replies; 12+ messages in thread
From: Daniel Walker @ 2010-05-07 17:12 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 2010-05-07 at 18:02 +0100, Will Deacon wrote:
> Hi Russell,
>
> Commit ee3c454b `arm: msm: add oprofile pmu support' in your devel
> branch adds an IRQ to the static list in kernel/pmu.c. Patch 6064/1 in
> the patch system replaces this old functionality with runtime registration
> using a platform device, so this commit prevents that patch applying.
> The OProfile patches in the system also depend on the runtime registration
> patch, so they will become blocked too.
Oh, sorry about that. I didn't realize a change like that was pending.
When are you planning to merge these changes?
> I can update the patch in the patch system so it applies cleanly, but
> the mach-msm bsp will need updating to register the IRQ using the new
> mechanism. Daniel: would you like me to submit a patch to do this, or
> would you rather do it [since I'm unfamiliar with the mach]?
Either, but your more motivated as it's blocking your progress ..
Daniel
^ permalink raw reply [flat|nested] 12+ messages in thread
* MSM PMU Support in Commit ee3c454b
2010-05-07 17:12 ` Daniel Walker
@ 2010-05-07 18:03 ` Russell King - ARM Linux
2010-05-07 18:04 ` Will Deacon
1 sibling, 0 replies; 12+ messages in thread
From: Russell King - ARM Linux @ 2010-05-07 18:03 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, May 07, 2010 at 10:12:39AM -0700, Daniel Walker wrote:
> On Fri, 2010-05-07 at 18:02 +0100, Will Deacon wrote:
> > Hi Russell,
> >
> > Commit ee3c454b `arm: msm: add oprofile pmu support' in your devel
> > branch adds an IRQ to the static list in kernel/pmu.c. Patch 6064/1 in
> > the patch system replaces this old functionality with runtime registration
> > using a platform device, so this commit prevents that patch applying.
> > The OProfile patches in the system also depend on the runtime registration
> > patch, so they will become blocked too.
>
> Oh, sorry about that. I didn't realize a change like that was pending.
> When are you planning to merge these changes?
Very very soon; the old way oprofile stuff is being supported will be
going away.
^ permalink raw reply [flat|nested] 12+ messages in thread
* MSM PMU Support in Commit ee3c454b
2010-05-07 17:12 ` Daniel Walker
2010-05-07 18:03 ` Russell King - ARM Linux
@ 2010-05-07 18:04 ` Will Deacon
2010-05-07 18:16 ` Russell King - ARM Linux
1 sibling, 1 reply; 12+ messages in thread
From: Will Deacon @ 2010-05-07 18:04 UTC (permalink / raw)
To: linux-arm-kernel
Hi Daniel,
Thanks for the quick reply.
> Oh, sorry about that. I didn't realize a change like that was pending.
> When are you planning to merge these changes?
I've put them in the patch system recently and Russell has been merging
them since then.
> > I can update the patch in the patch system so it applies cleanly, but
> > the mach-msm bsp will need updating to register the IRQ using the new
> > mechanism. Daniel: would you like me to submit a patch to do this, or
> > would you rather do it [since I'm unfamiliar with the mach]?
>
> Either, but your more motivated as it's blocking your progress ..
I just posted a patch to the list. I've also superseded the outstanding PMU
registration patch on the patch system with 6113/1 so that it applies cleanly
to Russell's devel branch.
Will
^ permalink raw reply [flat|nested] 12+ messages in thread
* MSM PMU Support in Commit ee3c454b
2010-05-07 17:02 MSM PMU Support in Commit ee3c454b Will Deacon
2010-05-07 17:12 ` Daniel Walker
@ 2010-05-07 18:15 ` Russell King - ARM Linux
2010-05-07 18:24 ` Daniel Walker
2010-05-09 9:33 ` Will Deacon
1 sibling, 2 replies; 12+ messages in thread
From: Russell King - ARM Linux @ 2010-05-07 18:15 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, May 07, 2010 at 06:02:23PM +0100, Will Deacon wrote:
> I can update the patch in the patch system so it applies cleanly, but
> the mach-msm bsp will need updating to register the IRQ using the new
> mechanism. Daniel: would you like me to submit a patch to do this, or
> would you rather do it [since I'm unfamiliar with the mach]?
This is going to be horrible... I maintain a completely separate branch
for pulling git trees into from the (multiple) branches which have the
patches in.
Fixing this will tie all the branches together, which I do not want to
do at the moment.
My intention is as follows:
1. Freeze the multiple branches with patches next week.
2. Apply your patches on top of the merged-set of those branches.
3. Apply the other pending patches which are dependent on these branches.
Now, at that point, the devel-stable branch won't merge cleanly back
into devel because of this MSM problem, and the problem is how do we
solve that.
It's not trivial, because you can't just add the platform device - it's
dependent on your patch in my tree adding the enum.
Maybe I'll just keep the devel-stable branch entirely separate until
the devel stuff has been merged, and then MSM can be sorted at some
point later. This unfortunately means that devel-stable drops out of
linux-next. It also means that linux-next is at risk of missing the
merge window... again.
^ permalink raw reply [flat|nested] 12+ messages in thread
* MSM PMU Support in Commit ee3c454b
2010-05-07 18:04 ` Will Deacon
@ 2010-05-07 18:16 ` Russell King - ARM Linux
0 siblings, 0 replies; 12+ messages in thread
From: Russell King - ARM Linux @ 2010-05-07 18:16 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, May 07, 2010 at 07:04:16PM +0100, Will Deacon wrote:
> I just posted a patch to the list. I've also superseded the outstanding PMU
> registration patch on the patch system with 6113/1 so that it applies cleanly
> to Russell's devel branch.
This just makes the situation worse.
^ permalink raw reply [flat|nested] 12+ messages in thread
* MSM PMU Support in Commit ee3c454b
2010-05-07 18:15 ` Russell King - ARM Linux
@ 2010-05-07 18:24 ` Daniel Walker
2010-05-07 18:26 ` Russell King - ARM Linux
2010-05-09 9:33 ` Will Deacon
1 sibling, 1 reply; 12+ messages in thread
From: Daniel Walker @ 2010-05-07 18:24 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 2010-05-07 at 19:15 +0100, Russell King - ARM Linux wrote:
> Maybe I'll just keep the devel-stable branch entirely separate until
> the devel stuff has been merged, and then MSM can be sorted at some
> point later. This unfortunately means that devel-stable drops out of
> linux-next. It also means that linux-next is at risk of missing the
> merge window... again.
Would it matter if you just did a revert on the MSM pmu patch ?
Daniel
^ permalink raw reply [flat|nested] 12+ messages in thread
* MSM PMU Support in Commit ee3c454b
2010-05-07 18:24 ` Daniel Walker
@ 2010-05-07 18:26 ` Russell King - ARM Linux
2010-05-07 18:59 ` Daniel Walker
0 siblings, 1 reply; 12+ messages in thread
From: Russell King - ARM Linux @ 2010-05-07 18:26 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, May 07, 2010 at 11:24:07AM -0700, Daniel Walker wrote:
> On Fri, 2010-05-07 at 19:15 +0100, Russell King - ARM Linux wrote:
> > Maybe I'll just keep the devel-stable branch entirely separate until
> > the devel stuff has been merged, and then MSM can be sorted at some
> > point later. This unfortunately means that devel-stable drops out of
> > linux-next. It also means that linux-next is at risk of missing the
> > merge window... again.
>
> Would it matter if you just did a revert on the MSM pmu patch ?
No - and it might be better if you did it. I could do it on my
devel-stable branch but then that'll cause you problems if you
apply a patch from Will for this (but I think you'll have problems
with that whichever way.)
^ permalink raw reply [flat|nested] 12+ messages in thread
* MSM PMU Support in Commit ee3c454b
2010-05-07 18:26 ` Russell King - ARM Linux
@ 2010-05-07 18:59 ` Daniel Walker
2010-05-07 19:01 ` Russell King - ARM Linux
0 siblings, 1 reply; 12+ messages in thread
From: Daniel Walker @ 2010-05-07 18:59 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 2010-05-07 at 19:26 +0100, Russell King - ARM Linux wrote:
> On Fri, May 07, 2010 at 11:24:07AM -0700, Daniel Walker wrote:
> > On Fri, 2010-05-07 at 19:15 +0100, Russell King - ARM Linux wrote:
> > > Maybe I'll just keep the devel-stable branch entirely separate until
> > > the devel stuff has been merged, and then MSM can be sorted at some
> > > point later. This unfortunately means that devel-stable drops out of
> > > linux-next. It also means that linux-next is at risk of missing the
> > > merge window... again.
> >
> > Would it matter if you just did a revert on the MSM pmu patch ?
>
> No - and it might be better if you did it. I could do it on my
> devel-stable branch but then that'll cause you problems if you
> apply a patch from Will for this (but I think you'll have problems
> with that whichever way.)
I'll add a revert on my for-russell branch, then you can pull that. Is
that what your thinking ?
Daniel
^ permalink raw reply [flat|nested] 12+ messages in thread
* MSM PMU Support in Commit ee3c454b
2010-05-07 18:59 ` Daniel Walker
@ 2010-05-07 19:01 ` Russell King - ARM Linux
2010-05-07 19:20 ` Daniel Walker
0 siblings, 1 reply; 12+ messages in thread
From: Russell King - ARM Linux @ 2010-05-07 19:01 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, May 07, 2010 at 11:59:27AM -0700, Daniel Walker wrote:
> On Fri, 2010-05-07 at 19:26 +0100, Russell King - ARM Linux wrote:
> > On Fri, May 07, 2010 at 11:24:07AM -0700, Daniel Walker wrote:
> > > On Fri, 2010-05-07 at 19:15 +0100, Russell King - ARM Linux wrote:
> > > > Maybe I'll just keep the devel-stable branch entirely separate until
> > > > the devel stuff has been merged, and then MSM can be sorted at some
> > > > point later. This unfortunately means that devel-stable drops out of
> > > > linux-next. It also means that linux-next is at risk of missing the
> > > > merge window... again.
> > >
> > > Would it matter if you just did a revert on the MSM pmu patch ?
> >
> > No - and it might be better if you did it. I could do it on my
> > devel-stable branch but then that'll cause you problems if you
> > apply a patch from Will for this (but I think you'll have problems
> > with that whichever way.)
>
> I'll add a revert on my for-russell branch, then you can pull that. Is
> that what your thinking ?
Yup.
^ permalink raw reply [flat|nested] 12+ messages in thread
* MSM PMU Support in Commit ee3c454b
2010-05-07 19:01 ` Russell King - ARM Linux
@ 2010-05-07 19:20 ` Daniel Walker
0 siblings, 0 replies; 12+ messages in thread
From: Daniel Walker @ 2010-05-07 19:20 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 2010-05-07 at 20:01 +0100, Russell King - ARM Linux wrote:
> On Fri, May 07, 2010 at 11:59:27AM -0700, Daniel Walker wrote:
> > On Fri, 2010-05-07 at 19:26 +0100, Russell King - ARM Linux wrote:
> > > On Fri, May 07, 2010 at 11:24:07AM -0700, Daniel Walker wrote:
> > > > On Fri, 2010-05-07 at 19:15 +0100, Russell King - ARM Linux wrote:
> > > > > Maybe I'll just keep the devel-stable branch entirely separate until
> > > > > the devel stuff has been merged, and then MSM can be sorted at some
> > > > > point later. This unfortunately means that devel-stable drops out of
> > > > > linux-next. It also means that linux-next is at risk of missing the
> > > > > merge window... again.
> > > >
> > > > Would it matter if you just did a revert on the MSM pmu patch ?
> > >
> > > No - and it might be better if you did it. I could do it on my
> > > devel-stable branch but then that'll cause you problems if you
> > > apply a patch from Will for this (but I think you'll have problems
> > > with that whichever way.)
> >
> > I'll add a revert on my for-russell branch, then you can pull that. Is
> > that what your thinking ?
>
> Yup.
Ok, I updated my for-russell branch with a revert , let me know if
that's satisfactory ..
Daniel
^ permalink raw reply [flat|nested] 12+ messages in thread
* MSM PMU Support in Commit ee3c454b
2010-05-07 18:15 ` Russell King - ARM Linux
2010-05-07 18:24 ` Daniel Walker
@ 2010-05-09 9:33 ` Will Deacon
1 sibling, 0 replies; 12+ messages in thread
From: Will Deacon @ 2010-05-09 9:33 UTC (permalink / raw)
To: linux-arm-kernel
Hi Russell,
On Fri, 2010-05-07 at 19:15 +0100, Russell King - ARM Linux wrote:
>
> My intention is as follows:
>
> 1. Freeze the multiple branches with patches next week.
> 2. Apply your patches on top of the merged-set of those branches.
> 3. Apply the other pending patches which are dependent on these
> branches.
>
> Now, at that point, the devel-stable branch won't merge cleanly back
> into devel because of this MSM problem, and the problem is how do we
> solve that.
>
Thanks for explaining this, I was getting a bit confused by the various
branches and just trying to avoid any conflicts. Now that the MSM patch
has been reverted [thanks Daniel] the original PMU registration patch
should apply. I've updated the patch system accordingly [discarding
6113/1 and moving 6064/1 from superseded to incoming].
Once this lot is in, we can think about MSM support then.
Thanks,
Will
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2010-05-09 9:33 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 17:02 MSM PMU Support in Commit ee3c454b Will Deacon
2010-05-07 17:12 ` Daniel Walker
2010-05-07 18:03 ` Russell King - ARM Linux
2010-05-07 18:04 ` Will Deacon
2010-05-07 18:16 ` Russell King - ARM Linux
2010-05-07 18:15 ` Russell King - ARM Linux
2010-05-07 18:24 ` Daniel Walker
2010-05-07 18:26 ` Russell King - ARM Linux
2010-05-07 18:59 ` Daniel Walker
2010-05-07 19:01 ` Russell King - ARM Linux
2010-05-07 19:20 ` Daniel Walker
2010-05-09 9:33 ` Will Deacon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox