* [PATCH] bc47xx : export ssb_watchdog_timer_set
@ 2009-05-18 22:10 matthieu castet
2009-05-18 22:41 ` John W. Linville
2009-05-19 13:22 ` Michael Buesch
0 siblings, 2 replies; 12+ messages in thread
From: matthieu castet @ 2009-05-18 22:10 UTC (permalink / raw)
To: linux-mips, Michael Buesch, netdev
[-- Attachment #1: Type: text/plain, Size: 154 bytes --]
Hi,
this patch export ssb_watchdog_timer_set to allow to use it in a Linux
watchdog driver.
Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
[-- Attachment #2: export_ssb_watchdog.patch --]
[-- Type: text/x-diff, Size: 344 bytes --]
diff --git a/drivers/ssb/embedded.c b/drivers/ssb/embedded.c
index 7dc3a6b..a0e0d24 100644
--- a/drivers/ssb/embedded.c
+++ b/drivers/ssb/embedded.c
@@ -29,6 +29,7 @@ int ssb_watchdog_timer_set(struct ssb_bus *bus, u32 ticks)
}
return -ENODEV;
}
+EXPORT_SYMBOL(ssb_watchdog_timer_set);
u32 ssb_gpio_in(struct ssb_bus *bus, u32 mask)
{
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH] bc47xx : export ssb_watchdog_timer_set
2009-05-18 22:10 [PATCH] bc47xx : export ssb_watchdog_timer_set matthieu castet
@ 2009-05-18 22:41 ` John W. Linville
2009-05-19 13:24 ` Michael Buesch
2009-05-19 13:22 ` Michael Buesch
1 sibling, 1 reply; 12+ messages in thread
From: John W. Linville @ 2009-05-18 22:41 UTC (permalink / raw)
To: matthieu castet; +Cc: linux-mips, Michael Buesch, netdev
On Tue, May 19, 2009 at 12:10:07AM +0200, matthieu castet wrote:
> Hi,
>
> this patch export ssb_watchdog_timer_set to allow to use it in a Linux
> watchdog driver.
>
>
> Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
What is the merge path for ssb nowadays? I used to take these patches
(and I'm still happy to do so), but maybe Ralf is (or should be)
taking them now?
John
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH] bc47xx : export ssb_watchdog_timer_set
2009-05-18 22:10 [PATCH] bc47xx : export ssb_watchdog_timer_set matthieu castet
2009-05-18 22:41 ` John W. Linville
@ 2009-05-19 13:22 ` Michael Buesch
2009-05-21 10:39 ` matthieu castet
1 sibling, 1 reply; 12+ messages in thread
From: Michael Buesch @ 2009-05-19 13:22 UTC (permalink / raw)
To: matthieu castet; +Cc: linux-mips, netdev
On Tuesday 19 May 2009 00:10:07 matthieu castet wrote:
> Hi,
>
> this patch export ssb_watchdog_timer_set to allow to use it in a Linux
> watchdog driver.
>
>
> Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
Well, you need to be careful. The watchdog is also used for system reboot.
Make sure to disable the watchdog driver when the bcm47xx system code wants
to use it.
Otherwise, ack. You can submit this to linville@tuxdriver.com.
--
Greetings, Michael.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH] bc47xx : export ssb_watchdog_timer_set
2009-05-18 22:41 ` John W. Linville
@ 2009-05-19 13:24 ` Michael Buesch
2009-05-19 17:09 ` Ralf Baechle
0 siblings, 1 reply; 12+ messages in thread
From: Michael Buesch @ 2009-05-19 13:24 UTC (permalink / raw)
To: John W. Linville; +Cc: matthieu castet, linux-mips, netdev
On Tuesday 19 May 2009 00:41:28 John W. Linville wrote:
> On Tue, May 19, 2009 at 12:10:07AM +0200, matthieu castet wrote:
> > Hi,
> >
> > this patch export ssb_watchdog_timer_set to allow to use it in a Linux
> > watchdog driver.
> >
> >
> > Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
>
> What is the merge path for ssb nowadays? I used to take these patches
> (and I'm still happy to do so), but maybe Ralf is (or should be)
> taking them now?
That depends on his speed. Last time I submitted a patch through his path,
it bitrotted for several months before it finally hit mainline.
--
Greetings, Michael.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH] bc47xx : export ssb_watchdog_timer_set
2009-05-19 13:24 ` Michael Buesch
@ 2009-05-19 17:09 ` Ralf Baechle
2009-05-19 17:29 ` Michael Buesch
0 siblings, 1 reply; 12+ messages in thread
From: Ralf Baechle @ 2009-05-19 17:09 UTC (permalink / raw)
To: Michael Buesch; +Cc: John W. Linville, matthieu castet, linux-mips, netdev
On Tue, May 19, 2009 at 03:24:20PM +0200, Michael Buesch wrote:
> > What is the merge path for ssb nowadays? I used to take these patches
> > (and I'm still happy to do so), but maybe Ralf is (or should be)
> > taking them now?
>
> That depends on his speed. Last time I submitted a patch through his path,
> it bitrotted for several months before it finally hit mainline.
Maybe because I felt drivers/ssb/ was outside my jurisdiction - and unlike
what alot of people may seem to think I'm not a full time MIPS kernel
hacker.
I can deal with SSB patch if you so desire - but I have no experience with
SSB, so I'd have somebody to rubberstamp non-trivial SSB patches before I
queue them up. I can keep them either in the usual MIPS trees on
linux-mips.org or I could create a separate linux-ssb tree, depending on
what seems to be sensible. Also, reading the entry in the maintainers
file I wonder if netdev is really the list of a choice?
Ralf
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH] bc47xx : export ssb_watchdog_timer_set
2009-05-19 17:09 ` Ralf Baechle
@ 2009-05-19 17:29 ` Michael Buesch
2009-05-19 17:35 ` John W. Linville
0 siblings, 1 reply; 12+ messages in thread
From: Michael Buesch @ 2009-05-19 17:29 UTC (permalink / raw)
To: Ralf Baechle; +Cc: John W. Linville, matthieu castet, linux-mips, netdev
On Tuesday 19 May 2009 19:09:57 Ralf Baechle wrote:
> Maybe because I felt drivers/ssb/ was outside my jurisdiction - and unlike
> what alot of people may seem to think I'm not a full time MIPS kernel
> hacker.
Ok nice.
> I can deal with SSB patch if you so desire - but I have no experience with
> SSB, so I'd have somebody to rubberstamp non-trivial SSB patches before I
> queue them up.
**Fwoo..
[stamp here]
..mppp**
Done. :)
> I can keep them either in the usual MIPS trees on
> linux-mips.org or I could create a separate linux-ssb tree, depending on
> what seems to be sensible. Also, reading the entry in the maintainers
> file I wonder if netdev is really the list of a choice?
Yes it is, because the bus is only used on networking devices.
(Ethernet cards, wireless cards, and network routers)
I don't think you need to create a separate tree. ssb is pretty mature. There
won't be that many patches.
--
Greetings, Michael.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH] bc47xx : export ssb_watchdog_timer_set
2009-05-19 17:29 ` Michael Buesch
@ 2009-05-19 17:35 ` John W. Linville
2009-05-20 7:15 ` Ralf Baechle
0 siblings, 1 reply; 12+ messages in thread
From: John W. Linville @ 2009-05-19 17:35 UTC (permalink / raw)
To: Michael Buesch; +Cc: Ralf Baechle, matthieu castet, linux-mips, netdev
On Tue, May 19, 2009 at 07:29:20PM +0200, Michael Buesch wrote:
> On Tuesday 19 May 2009 19:09:57 Ralf Baechle wrote:
> > Maybe because I felt drivers/ssb/ was outside my jurisdiction - and unlike
> > what alot of people may seem to think I'm not a full time MIPS kernel
> > hacker.
>
> Ok nice.
>
> > I can deal with SSB patch if you so desire - but I have no experience with
> > SSB, so I'd have somebody to rubberstamp non-trivial SSB patches before I
> > queue them up.
>
> **Fwoo..
> [stamp here]
> ..mppp**
>
>
> Done. :)
>
> > I can keep them either in the usual MIPS trees on
> > linux-mips.org or I could create a separate linux-ssb tree, depending on
> > what seems to be sensible. Also, reading the entry in the maintainers
> > file I wonder if netdev is really the list of a choice?
>
> Yes it is, because the bus is only used on networking devices.
> (Ethernet cards, wireless cards, and network routers)
> I don't think you need to create a separate tree. ssb is pretty mature. There
> won't be that many patches.
OK, now I'm confused again -- should I take SSB patches, or is Ralf
going to do it? :-)
John
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH] bc47xx : export ssb_watchdog_timer_set
2009-05-19 17:35 ` John W. Linville
@ 2009-05-20 7:15 ` Ralf Baechle
2009-05-20 12:57 ` John W. Linville
2009-05-20 13:49 ` Michael Buesch
0 siblings, 2 replies; 12+ messages in thread
From: Ralf Baechle @ 2009-05-20 7:15 UTC (permalink / raw)
To: John W. Linville; +Cc: Michael Buesch, matthieu castet, linux-mips, netdev
On Tue, May 19, 2009 at 01:35:03PM -0400, John W. Linville wrote:
> From: "John W. Linville" <linville@tuxdriver.com>
> Date: Tue, 19 May 2009 13:35:03 -0400
> To: Michael Buesch <mb@bu3sch.de>
> Cc: Ralf Baechle <ralf@linux-mips.org>,
> matthieu castet <castet.matthieu@free.fr>,
> linux-mips@linux-mips.org, netdev@vger.kernel.org
> Subject: Re: [PATCH] bc47xx : export ssb_watchdog_timer_set
> Content-Type: text/plain; charset=us-ascii
>
> On Tue, May 19, 2009 at 07:29:20PM +0200, Michael Buesch wrote:
> > On Tuesday 19 May 2009 19:09:57 Ralf Baechle wrote:
> > > Maybe because I felt drivers/ssb/ was outside my jurisdiction - and unlike
> > > what alot of people may seem to think I'm not a full time MIPS kernel
> > > hacker.
> >
> > Ok nice.
> >
> > > I can deal with SSB patch if you so desire - but I have no experience with
> > > SSB, so I'd have somebody to rubberstamp non-trivial SSB patches before I
> > > queue them up.
> >
> > **Fwoo..
> > [stamp here]
> > ..mppp**
> >
> >
> > Done. :)
> >
> > > I can keep them either in the usual MIPS trees on
> > > linux-mips.org or I could create a separate linux-ssb tree, depending on
> > > what seems to be sensible. Also, reading the entry in the maintainers
> > > file I wonder if netdev is really the list of a choice?
> >
> > Yes it is, because the bus is only used on networking devices.
> > (Ethernet cards, wireless cards, and network routers)
> > I don't think you need to create a separate tree. ssb is pretty mature. There
> > won't be that many patches.
>
> OK, now I'm confused again -- should I take SSB patches, or is Ralf
> going to do it? :-)
My decoder ring says, I'll do it from now on :)
Cheers,
Ralf
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH] bc47xx : export ssb_watchdog_timer_set
2009-05-20 7:15 ` Ralf Baechle
@ 2009-05-20 12:57 ` John W. Linville
2009-05-20 13:49 ` Michael Buesch
1 sibling, 0 replies; 12+ messages in thread
From: John W. Linville @ 2009-05-20 12:57 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Michael Buesch, matthieu castet, linux-mips, netdev
On Wed, May 20, 2009 at 08:15:13AM +0100, Ralf Baechle wrote:
> On Tue, May 19, 2009 at 01:35:03PM -0400, John W. Linville wrote:
> > OK, now I'm confused again -- should I take SSB patches, or is Ralf
> > going to do it? :-)
>
> My decoder ring says, I'll do it from now on :)
ACK
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH] bc47xx : export ssb_watchdog_timer_set
2009-05-20 7:15 ` Ralf Baechle
2009-05-20 12:57 ` John W. Linville
@ 2009-05-20 13:49 ` Michael Buesch
2009-05-21 10:45 ` matthieu castet
1 sibling, 1 reply; 12+ messages in thread
From: Michael Buesch @ 2009-05-20 13:49 UTC (permalink / raw)
To: Ralf Baechle; +Cc: John W. Linville, matthieu castet, linux-mips, netdev
On Wednesday 20 May 2009 09:15:13 Ralf Baechle wrote:
> On Tue, May 19, 2009 at 01:35:03PM -0400, John W. Linville wrote:
> > From: "John W. Linville" <linville@tuxdriver.com>
> > Date: Tue, 19 May 2009 13:35:03 -0400
> > To: Michael Buesch <mb@bu3sch.de>
> > Cc: Ralf Baechle <ralf@linux-mips.org>,
> > matthieu castet <castet.matthieu@free.fr>,
> > linux-mips@linux-mips.org, netdev@vger.kernel.org
> > Subject: Re: [PATCH] bc47xx : export ssb_watchdog_timer_set
> > Content-Type: text/plain; charset=us-ascii
> >
> > On Tue, May 19, 2009 at 07:29:20PM +0200, Michael Buesch wrote:
> > > On Tuesday 19 May 2009 19:09:57 Ralf Baechle wrote:
> > > > Maybe because I felt drivers/ssb/ was outside my jurisdiction - and unlike
> > > > what alot of people may seem to think I'm not a full time MIPS kernel
> > > > hacker.
> > >
> > > Ok nice.
> > >
> > > > I can deal with SSB patch if you so desire - but I have no experience with
> > > > SSB, so I'd have somebody to rubberstamp non-trivial SSB patches before I
> > > > queue them up.
> > >
> > > **Fwoo..
> > > [stamp here]
> > > ..mppp**
> > >
> > >
> > > Done. :)
> > >
> > > > I can keep them either in the usual MIPS trees on
> > > > linux-mips.org or I could create a separate linux-ssb tree, depending on
> > > > what seems to be sensible. Also, reading the entry in the maintainers
> > > > file I wonder if netdev is really the list of a choice?
> > >
> > > Yes it is, because the bus is only used on networking devices.
> > > (Ethernet cards, wireless cards, and network routers)
> > > I don't think you need to create a separate tree. ssb is pretty mature. There
> > > won't be that many patches.
> >
> > OK, now I'm confused again -- should I take SSB patches, or is Ralf
> > going to do it? :-)
>
> My decoder ring says, I'll do it from now on :)
Ok, nice. :)
Matthieu, can you resend them to Ralf? He doesn't have them, yet.
--
Greetings, Michael.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH] bc47xx : export ssb_watchdog_timer_set
2009-05-19 13:22 ` Michael Buesch
@ 2009-05-21 10:39 ` matthieu castet
0 siblings, 0 replies; 12+ messages in thread
From: matthieu castet @ 2009-05-21 10:39 UTC (permalink / raw)
To: Michael Buesch; +Cc: linux-mips, netdev
Michael Buesch wrote:
> On Tuesday 19 May 2009 00:10:07 matthieu castet wrote:
>> Hi,
>>
>> this patch export ssb_watchdog_timer_set to allow to use it in a Linux
>> watchdog driver.
>>
>>
>> Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
>
> Well, you need to be careful. The watchdog is also used for system reboot.
> Make sure to disable the watchdog driver when the bcm47xx system code wants
> to use it.
>
It shouldn't be a problem : the system code always disable irq before
using watchdog to reboot/halt (unless I miss other watchdog usage).
Matthieu
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH] bc47xx : export ssb_watchdog_timer_set
2009-05-20 13:49 ` Michael Buesch
@ 2009-05-21 10:45 ` matthieu castet
0 siblings, 0 replies; 12+ messages in thread
From: matthieu castet @ 2009-05-21 10:45 UTC (permalink / raw)
To: Michael Buesch; +Cc: Ralf Baechle, John W. Linville, linux-mips, netdev
Hi,
Michael Buesch wrote:
> On Wednesday 20 May 2009 09:15:13 Ralf Baechle wrote:
>
>
> Ok, nice. :)
> Matthieu, can you resend them to Ralf? He doesn't have them, yet.
>
Off course.
BTW what's the procedure for submitting patch on mips ?
I already CC linux-mips, on the first patch submission.
Now that it is acked by maintainer, I should resend it to linux-mips +
Ralf ?
Thanks
Matthieu
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2009-05-21 10:45 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-18 22:10 [PATCH] bc47xx : export ssb_watchdog_timer_set matthieu castet
2009-05-18 22:41 ` John W. Linville
2009-05-19 13:24 ` Michael Buesch
2009-05-19 17:09 ` Ralf Baechle
2009-05-19 17:29 ` Michael Buesch
2009-05-19 17:35 ` John W. Linville
2009-05-20 7:15 ` Ralf Baechle
2009-05-20 12:57 ` John W. Linville
2009-05-20 13:49 ` Michael Buesch
2009-05-21 10:45 ` matthieu castet
2009-05-19 13:22 ` Michael Buesch
2009-05-21 10:39 ` matthieu castet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).