Wow! A hole in linuxbios PCI mastery setup?

2003-01-13 Thread Kevin Hester
Hi all, I think I've noticed a general linux-BIOS problem: Some PCI devices are not being enabled for bus mastery! Let me more clearly explain the context: 1) According to my handy PCI book: All bus master capable PCI devices must implement bit 2 of the command register. 2) Most devices that i

Re: Wow! A hole in linuxbios PCI mastery setup?

2003-01-13 Thread ollie lho
On Tue, 2003-01-14 at 09:32, Kevin Hester wrote: > Hi all, > > I think I've noticed a general linux-BIOS problem: Some PCI devices are not > being enabled for bus mastery! Let me more clearly explain the context: > > 1) According to my handy PCI book: All bus master capable PCI devices must >

Re: Wow! A hole in linuxbios PCI mastery setup?

2003-01-14 Thread Ronald G. Minnich
we don't turn on bus master as that could be very hazardous to your health -- imagine an unitialized PCI device coming up with bus master enabled. It is at that point allowed to do DMA cycles to RAM without having been initialized by a driver. OUCH. In my opinion if the driver is not turning o

Re: Wow! A hole in linuxbios PCI mastery setup?

2003-01-14 Thread Eric W. Biederman
"Ronald G. Minnich" <[EMAIL PROTECTED]> writes: > we don't turn on bus master as that could be very hazardous to your health > -- imagine an unitialized PCI device coming up with bus master enabled. It > is at that point allowed to do DMA cycles to RAM without having been > initialized by a dri

Re: Wow! A hole in linuxbios PCI mastery setup?

2003-01-14 Thread Ronald G. Minnich
On 14 Jan 2003, Eric W. Biederman wrote: > I am not totally certain that it is buggy. There are places this > can be reasonable behavior. Experience with etherboot shows that > normally boot devices at least have bus master set by the BIOS. I can see how they would do this, but I still find it

Re: Wow! A hole in linuxbios PCI mastery setup?

2003-01-14 Thread Kevin Hester
Smart. I'll fix the driver rather than doing the Award work around. Ollie, thanks for checking the spec. On Tuesday 14 January 2003 06:54, Ronald G. Minnich wrote: > we don't turn on bus master as that could be very hazardous to your health > -- imagine an unitialized PCI device coming up with