Re: [PATCH 2/2] drm: i810/i830: kill BKL, mark as BROKEN_ON_SMP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2010-09-29 at 17:47 +0200, Arnd Bergmann wrote:
> The i810 and i830 drivers are the only hardware drivers that
> still use the BKL without anyone volunteering to fix them.

The problem is the userspace interface is badly designed and ABI, so
fixing these without the hw is messy, we know people have the hardware
because it breaks they still give out, we don't know anyone who cares
enough to fix it at this point in time.

> 
> The hardware is rather old and typically used on non-SMP
> systems. Mark them as BROKEN_ON_SMP and remove the BKL
> now so that people can still use the driver once the BKL
> is entirely gone.

You cannot get an SMP system with i810 or i830 support hardware in it,
however no distro ships UP kernels anymore they all ship SMP kernels
that hotplug/patch the second CPU. So the thing is although technically
these drivers are broken on SMP, they won't ever get run in SMP mode on
a combined UP/SMP kernel, and I'm not really sure BROKEN_ON_SMP takes
care of this.

I'm nearly sure the mmap_sem covers the problem anyways, and I should
try and dig out the i815 box I do have access to. Again though I've no
way of knowing we've not broken anything just by booting I assume. If we
introduce a race we would need real testing to find it.

Dave.


_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux