* ppc32 PIO recovery mecanism
@ 2006-11-06 0:41 Benjamin Herrenschmidt
2006-11-06 1:18 ` David Woodhouse
0 siblings, 1 reply; 7+ messages in thread
From: Benjamin Herrenschmidt @ 2006-11-06 0:41 UTC (permalink / raw)
To: David Woodhouse, Olaf Hering; +Cc: linuxppc-dev list
On 32 bits powerpc, we currently have a mechanism where we try to
recover from machine checks happening on PIO operations (inb/outb/....).
This mecanisms has proven of dubious reliability in the past and it's my
understanding that we've pretty fixed all relevant legacy drivers that
distro typically load so that they don't muck around when they
shouldn't.
I'm currently merging 32 and 64 bits io.h and I would really like to
just get rid of that stuff, but I'd like your distro point of view
first. Is this mechanism still useful at all or not ?
Cheers,
Ben.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ppc32 PIO recovery mecanism
2006-11-06 0:41 ppc32 PIO recovery mecanism Benjamin Herrenschmidt
@ 2006-11-06 1:18 ` David Woodhouse
2006-11-06 1:20 ` Benjamin Herrenschmidt
2006-11-06 6:11 ` Olaf Hering
0 siblings, 2 replies; 7+ messages in thread
From: David Woodhouse @ 2006-11-06 1:18 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list, Olaf Hering
On Mon, 2006-11-06 at 11:41 +1100, Benjamin Herrenschmidt wrote:
> On 32 bits powerpc, we currently have a mechanism where we try to
> recover from machine checks happening on PIO operations (inb/outb/....).
> This mecanisms has proven of dubious reliability in the past and it's my
> understanding that we've pretty fixed all relevant legacy drivers that
> distro typically load so that they don't muck around when they
> shouldn't.
>
> I'm currently merging 32 and 64 bits io.h and I would really like to
> just get rid of that stuff, but I'd like your distro point of view
> first. Is this mechanism still useful at all or not ?
Yes, I think it's still useful because there are some drivers which
aren't update to use check_legacy_ioport() (or whatever other system)
yet.
Not many, mind you -- but I'd like to be 100% sure before we drop it.
Let's start by making it print with KERN_CRIT instead of KERN_DEBUG?
--
dwmw2
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ppc32 PIO recovery mecanism
2006-11-06 1:18 ` David Woodhouse
@ 2006-11-06 1:20 ` Benjamin Herrenschmidt
2006-11-06 6:11 ` Olaf Hering
1 sibling, 0 replies; 7+ messages in thread
From: Benjamin Herrenschmidt @ 2006-11-06 1:20 UTC (permalink / raw)
To: David Woodhouse; +Cc: linuxppc-dev list, Olaf Hering
On Mon, 2006-11-06 at 09:18 +0800, David Woodhouse wrote:
> On Mon, 2006-11-06 at 11:41 +1100, Benjamin Herrenschmidt wrote:
> > On 32 bits powerpc, we currently have a mechanism where we try to
> > recover from machine checks happening on PIO operations (inb/outb/....).
> > This mecanisms has proven of dubious reliability in the past and it's my
> > understanding that we've pretty fixed all relevant legacy drivers that
> > distro typically load so that they don't muck around when they
> > shouldn't.
> >
> > I'm currently merging 32 and 64 bits io.h and I would really like to
> > just get rid of that stuff, but I'd like your distro point of view
> > first. Is this mechanism still useful at all or not ?
>
> Yes, I think it's still useful because there are some drivers which
> aren't update to use check_legacy_ioport() (or whatever other system)
> yet.
>
> Not many, mind you -- but I'd like to be 100% sure before we drop it.
> Let's start by making it print with KERN_CRIT instead of KERN_DEBUG?
We should rate limit if we do that tho... Some drivers will just totally
flood you.
I'll keep it around for now.
Ben.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ppc32 PIO recovery mecanism
2006-11-06 1:18 ` David Woodhouse
2006-11-06 1:20 ` Benjamin Herrenschmidt
@ 2006-11-06 6:11 ` Olaf Hering
2006-11-06 6:24 ` David Woodhouse
1 sibling, 1 reply; 7+ messages in thread
From: Olaf Hering @ 2006-11-06 6:11 UTC (permalink / raw)
To: David Woodhouse; +Cc: linuxppc-dev list
On Mon, Nov 06, David Woodhouse wrote:
> Yes, I think it's still useful because there are some drivers which
> aren't update to use check_legacy_ioport() (or whatever other system)
> yet.
What remaining drivers do you have in mind here?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ppc32 PIO recovery mecanism
2006-11-06 6:11 ` Olaf Hering
@ 2006-11-06 6:24 ` David Woodhouse
2006-11-06 6:25 ` Olaf Hering
0 siblings, 1 reply; 7+ messages in thread
From: David Woodhouse @ 2006-11-06 6:24 UTC (permalink / raw)
To: Olaf Hering; +Cc: linuxppc-dev list
On Mon, 2006-11-06 at 07:11 +0100, Olaf Hering wrote:
> On Mon, Nov 06, David Woodhouse wrote:
>
> > Yes, I think it's still useful because there are some drivers which
> > aren't update to use check_legacy_ioport() (or whatever other system)
> > yet.
>
> What remaining drivers do you have in mind here?
Did ISAPnP get fixed?
--
dwmw2
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ppc32 PIO recovery mecanism
2006-11-06 6:24 ` David Woodhouse
@ 2006-11-06 6:25 ` Olaf Hering
2006-11-09 18:33 ` Olaf Hering
0 siblings, 1 reply; 7+ messages in thread
From: Olaf Hering @ 2006-11-06 6:25 UTC (permalink / raw)
To: David Woodhouse; +Cc: linuxppc-dev list
On Mon, Nov 06, David Woodhouse wrote:
> On Mon, 2006-11-06 at 07:11 +0100, Olaf Hering wrote:
> > On Mon, Nov 06, David Woodhouse wrote:
> >
> > > Yes, I think it's still useful because there are some drivers which
> > > aren't update to use check_legacy_ioport() (or whatever other system)
> > > yet.
> >
> > What remaining drivers do you have in mind here?
>
> Did ISAPnP get fixed?
I have to check, only PReP systems have ISA slots.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ppc32 PIO recovery mecanism
2006-11-06 6:25 ` Olaf Hering
@ 2006-11-09 18:33 ` Olaf Hering
0 siblings, 0 replies; 7+ messages in thread
From: Olaf Hering @ 2006-11-09 18:33 UTC (permalink / raw)
To: David Woodhouse; +Cc: linuxppc-dev list
On Mon, Nov 06, Olaf Hering wrote:
> On Mon, Nov 06, David Woodhouse wrote:
>
> > Did ISAPnP get fixed?
>
> I have to check, only PReP systems have ISA slots.
isapnp_init() has your change. I loaded all the ISA network drivers,
none of them crashed the pismo.
Also, I do not plan to reenable CONFIG_ISA. And there is no autoprobing
for ISA hardware, so I dont think it will cause any trouble if distros
ship stuff like aha1542.ko for 32bit kernels.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-11-09 18:33 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-06 0:41 ppc32 PIO recovery mecanism Benjamin Herrenschmidt
2006-11-06 1:18 ` David Woodhouse
2006-11-06 1:20 ` Benjamin Herrenschmidt
2006-11-06 6:11 ` Olaf Hering
2006-11-06 6:24 ` David Woodhouse
2006-11-06 6:25 ` Olaf Hering
2006-11-09 18:33 ` Olaf Hering
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).