[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-11-05 Thread Pekka Enberg
On Fri, Nov 5, 2010 at 4:27 AM, Arnd Bergmann wrote: > On Wednesday 03 November 2010, Pekka Enberg wrote: >> On Tue, Nov 2, 2010 at 3:21 AM, Pavel Machek wrote: >> > Hi! >> > >> >> @@ -79,6 +79,10 @@ static struct drm_driver driver = { >> >> >> >> ?static int __init i810_init(void) >> >> ?{ >> >>

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-11-05 Thread Arnd Bergmann
On Wednesday 03 November 2010, Pekka Enberg wrote: > On Tue, Nov 2, 2010 at 3:21 AM, Pavel Machek wrote: > > Hi! > > > >> @@ -79,6 +79,10 @@ static struct drm_driver driver = { > >> > >> static int __init i810_init(void) > >> { > >> + if (num_present_cpus() > 1) { > >> + pr_err("

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-11-05 Thread Pekka Enberg
On Fri, Nov 5, 2010 at 4:27 AM, Arnd Bergmann wrote: > On Wednesday 03 November 2010, Pekka Enberg wrote: >> On Tue, Nov 2, 2010 at 3:21 AM, Pavel Machek wrote: >> > Hi! >> > >> >> @@ -79,6 +79,10 @@ static struct drm_driver driver = { >> >> >> >>  static int __init i810_init(void) >> >>  { >> >>

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-11-05 Thread Arnd Bergmann
On Wednesday 03 November 2010, Pekka Enberg wrote: > On Tue, Nov 2, 2010 at 3:21 AM, Pavel Machek wrote: > > Hi! > > > >> @@ -79,6 +79,10 @@ static struct drm_driver driver = { > >> > >> static int __init i810_init(void) > >> { > >> + if (num_present_cpus() > 1) { > >> + pr_err("

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-11-03 Thread Pekka Enberg
On Tue, Nov 2, 2010 at 3:21 AM, Pavel Machek wrote: > Hi! > >> @@ -79,6 +79,10 @@ static struct drm_driver driver = { >> >> ?static int __init i810_init(void) >> ?{ >> + ? ? if (num_present_cpus() > 1) { >> + ? ? ? ? ? ? pr_err("drm/i810 does not support SMP\n"); >> + ? ? ? ? ? ? return -EINVAL; >

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-11-03 Thread Pavel Machek
Hi! > @@ -79,6 +79,10 @@ static struct drm_driver driver = { > > static int __init i810_init(void) > { > + if (num_present_cpus() > 1) { > + pr_err("drm/i810 does not support SMP\n"); > + return -EINVAL; > + } > driver.num_ioctls = i810_max_ioctl; >

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-11-03 Thread Pekka Enberg
On Tue, Nov 2, 2010 at 3:21 AM, Pavel Machek wrote: > Hi! > >> @@ -79,6 +79,10 @@ static struct drm_driver driver = { >> >>  static int __init i810_init(void) >>  { >> +     if (num_present_cpus() > 1) { >> +             pr_err("drm/i810 does not support SMP\n"); >> +             return -EINVAL; >

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-11-02 Thread Pavel Machek
Hi! > @@ -79,6 +79,10 @@ static struct drm_driver driver = { > > static int __init i810_init(void) > { > + if (num_present_cpus() > 1) { > + pr_err("drm/i810 does not support SMP\n"); > + return -EINVAL; > + } > driver.num_ioctls = i810_max_ioctl; >

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-21 Thread Christoph Hellwig
Any chance you could drop the Cc list a bit for the i810/i830 discussion? It's not relevant to most lists and people Cc'ed here.

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-21 Thread Christoph Hellwig
Any chance you could drop the Cc list a bit for the i810/i830 discussion? It's not relevant to most lists and people Cc'ed here. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Ville Syrjälä
On Wed, Oct 20, 2010 at 06:50:58AM +1000, Dave Airlie wrote: > On Tue, Oct 19, 2010 at 11:26 PM, Arnd Bergmann wrote: > > On Tuesday 19 October 2010, Arnd Bergmann wrote: > >> On Tuesday 19 October 2010 06:52:32 Dave Airlie wrote: > >> > > I might be able to find some hardware still lying around h

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Ville Syrjälä
On Wed, Oct 20, 2010 at 06:50:58AM +1000, Dave Airlie wrote: > On Tue, Oct 19, 2010 at 11:26 PM, Arnd Bergmann wrote: > > On Tuesday 19 October 2010, Arnd Bergmann wrote: > >> On Tuesday 19 October 2010 06:52:32 Dave Airlie wrote: > >> > > I might be able to find some hardware still lying around h

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Dave Young
On Wed, Oct 20, 2010 at 4:44 AM, Arnd Bergmann wrote: > On Tuesday 19 October 2010 22:29:12 Greg KH wrote: >> On Tue, Oct 19, 2010 at 09:40:47PM +0200, Oliver Neukum wrote: >> > Am Dienstag, 19. Oktober 2010, 21:37:35 schrieb Greg KH: >> > > > So no need to clean it up for multiprocessor support.

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Arnd Bergmann
On Wednesday 20 October 2010, Dave Young wrote: > be curious, why can't just fix the lock_kernel logic of i810? Fixing > is too hard? > > Find a i810 hardware should be possible, even if the hardware does not > support SMP, can't we test the fix with preemption? Yes, that should work too. My usua

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Dave Young
On Wed, Oct 20, 2010 at 4:44 AM, Arnd Bergmann wrote: > On Tuesday 19 October 2010 22:29:12 Greg KH wrote: >> On Tue, Oct 19, 2010 at 09:40:47PM +0200, Oliver Neukum wrote: >> > Am Dienstag, 19. Oktober 2010, 21:37:35 schrieb Greg KH: >> > > > So no need to clean it up for multiprocessor support.

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Arnd Bergmann
On Tuesday 19 October 2010 22:29:12 Greg KH wrote: > On Tue, Oct 19, 2010 at 09:40:47PM +0200, Oliver Neukum wrote: > > Am Dienstag, 19. Oktober 2010, 21:37:35 schrieb Greg KH: > > > > So no need to clean it up for multiprocessor support. > > > > > > > > http://download.intel.com/design/chipsets/d

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Dave Airlie
On Tue, Oct 19, 2010 at 11:26 PM, Arnd Bergmann wrote: > On Tuesday 19 October 2010, Arnd Bergmann wrote: >> On Tuesday 19 October 2010 06:52:32 Dave Airlie wrote: >> > > I might be able to find some hardware still lying around here that uses >> > > an >> > > i810. Not sure unless I go hunting it

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Arnd Bergmann
On Tuesday 19 October 2010 22:41:22 Alan Cox wrote: > > > you still need to switch off preemption. > > > > Hm, how would you do that from within a driver? > > Do we care - unless I misunderstand the current intel DRM driver handles > the i810 as well ? No, it does handle all devices supported by

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Alan Cox
> > you still need to switch off preemption. > > Hm, how would you do that from within a driver? Do we care - unless I misunderstand the current intel DRM driver handles the i810 as well ? ___ dri-devel mailing list dri-devel@lists.freedesktop.org http:

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Jiri Kosina
On Tue, 19 Oct 2010, Greg KH wrote: > > > > So no need to clean it up for multiprocessor support. > > > > > > > > http://download.intel.com/design/chipsets/datashts/29067602.pdf > > > > http://www.intel.com/design/chipsets/specupdt/29069403.pdf > > > > > > Great, we can just drop all calls to lo

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Greg KH
On Tue, Oct 19, 2010 at 09:40:47PM +0200, Oliver Neukum wrote: > Am Dienstag, 19. Oktober 2010, 21:37:35 schrieb Greg KH: > > > So no need to clean it up for multiprocessor support. > > > > > > http://download.intel.com/design/chipsets/datashts/29067602.pdf > > > http://www.intel.com/design/chipse

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Oliver Neukum
Am Dienstag, 19. Oktober 2010, 21:37:35 schrieb Greg KH: > > So no need to clean it up for multiprocessor support. > > > > http://download.intel.com/design/chipsets/datashts/29067602.pdf > > http://www.intel.com/design/chipsets/specupdt/29069403.pdf > > Great, we can just drop all calls to lock_k

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Greg KH
On Tue, Oct 19, 2010 at 02:24:53PM -0400, valdis.kletni...@vt.edu wrote: > On Mon, 18 Oct 2010 17:40:04 PDT, Greg KH said: > > > I do have access to this hardware, but its on an old single processor > > laptop, so any work that it would take to help do this development, > > really wouldn't be able

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Valdis . Kletnieks
On Mon, 18 Oct 2010 17:40:04 PDT, Greg KH said: > I do have access to this hardware, but its on an old single processor > laptop, so any work that it would take to help do this development, > really wouldn't be able to be tested to be valid at all. The i810 is a graphics chipset embedded on the m

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Arnd Bergmann
On Wednesday 20 October 2010, Dave Young wrote: > be curious, why can't just fix the lock_kernel logic of i810? Fixing > is too hard? > > Find a i810 hardware should be possible, even if the hardware does not > support SMP, can't we test the fix with preemption? Yes, that should work too. My usua

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Dave Airlie
On Tue, Oct 19, 2010 at 11:26 PM, Arnd Bergmann wrote: > On Tuesday 19 October 2010, Arnd Bergmann wrote: >> On Tuesday 19 October 2010 06:52:32 Dave Airlie wrote: >> > > I might be able to find some hardware still lying around here that uses >> > > an >> > > i810. Not sure unless I go hunting it

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Paul Mundt
On Tue, Oct 19, 2010 at 08:39:58AM -0400, Steven Rostedt wrote: > On Tue, 2010-10-19 at 09:26 +0200, Arnd Bergmann wrote: > > On Tuesday 19 October 2010 06:52:32 Dave Airlie wrote: > > > > I might be able to find some hardware still lying around here that uses > > > > an > > > > i810. Not sure unl

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Arnd Bergmann
On Tuesday 19 October 2010 22:41:22 Alan Cox wrote: > > > you still need to switch off preemption. > > > > Hm, how would you do that from within a driver? > > Do we care - unless I misunderstand the current intel DRM driver handles > the i810 as well ? No, it does handle all devices supported by

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Arnd Bergmann
On Tuesday 19 October 2010 22:29:12 Greg KH wrote: > On Tue, Oct 19, 2010 at 09:40:47PM +0200, Oliver Neukum wrote: > > Am Dienstag, 19. Oktober 2010, 21:37:35 schrieb Greg KH: > > > > So no need to clean it up for multiprocessor support. > > > > > > > > http://download.intel.com/design/chipsets/d

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Jiri Kosina
On Tue, 19 Oct 2010, Greg KH wrote: > > > > So no need to clean it up for multiprocessor support. > > > > > > > > http://download.intel.com/design/chipsets/datashts/29067602.pdf > > > > http://www.intel.com/design/chipsets/specupdt/29069403.pdf > > > > > > Great, we can just drop all calls to lo

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Alan Cox
> > you still need to switch off preemption. > > Hm, how would you do that from within a driver? Do we care - unless I misunderstand the current intel DRM driver handles the i810 as well ?

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Oliver Neukum
Am Dienstag, 19. Oktober 2010, 21:37:35 schrieb Greg KH: > > So no need to clean it up for multiprocessor support. > > > > http://download.intel.com/design/chipsets/datashts/29067602.pdf > > http://www.intel.com/design/chipsets/specupdt/29069403.pdf > > Great, we can just drop all calls to lock_k

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Arnd Bergmann
On Tuesday 19 October 2010, Steven Rostedt wrote: > On Tue, 2010-10-19 at 15:36 +0200, Arnd Bergmann wrote: > > [trimming Cc list] > > > > On Tuesday 19 October 2010, Steven Rostedt wrote: > > > I think we also need to cover the PREEMPT case too. But that could be a > > > compile time check, since

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Arnd Bergmann
[trimming Cc list] On Tuesday 19 October 2010, Steven Rostedt wrote: > I think we also need to cover the PREEMPT case too. But that could be a > compile time check, since you can't boot a preempt kernel and make it > non preempt. Right. Can we turn the lock_kernel() into preempt_disable() in thes

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Arnd Bergmann
On Tuesday 19 October 2010, Arnd Bergmann wrote: > On Tuesday 19 October 2010 06:52:32 Dave Airlie wrote: > > > I might be able to find some hardware still lying around here that uses an > > > i810. Not sure unless I go hunting it. But I get the impression that if > > > the kernel is a single-CPU k

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Dave Airlie
> I might be able to find some hardware still lying around here that uses an > i810. Not sure unless I go hunting it. But I get the impression that if > the kernel is a single-CPU kernel there is not any problem anyway? Don't > distros offer a non-smp kernel as an installation option in case the us

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread valdis.kletni...@vt.edu
On Mon, 18 Oct 2010 17:40:04 PDT, Greg KH said: > I do have access to this hardware, but its on an old single processor > laptop, so any work that it would take to help do this development, > really wouldn't be able to be tested to be valid at all. The i810 is a graphics chipset embedded on the m

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Dave Airlie
>> >> like I'm sure the intersection of this driver and reality are getting >> quite limited, but its still a userspace ABI change and needs to be >> treated as such. Xorg 6.7 and XFree86 4.3 were the last users of the >> old driver/API. > > Thus, you are saying that this will break for people with

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Greg KH
On Tue, Oct 19, 2010 at 09:40:47PM +0200, Oliver Neukum wrote: > Am Dienstag, 19. Oktober 2010, 21:37:35 schrieb Greg KH: > > > So no need to clean it up for multiprocessor support. > > > > > > http://download.intel.com/design/chipsets/datashts/29067602.pdf > > > http://www.intel.com/design/chipse

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Dave Airlie
On Tue, Oct 19, 2010 at 12:24 PM, Greg KH wrote: > On Tue, Oct 19, 2010 at 10:57:43AM +1000, Dave Airlie wrote: >> On Tue, Oct 19, 2010 at 10:40 AM, Greg KH wrote: >> > On Tue, Oct 19, 2010 at 09:00:09AM +1000, Dave Airlie wrote: >> >> On Tue, Oct 19, 2010 at 4:43 AM, Greg KH wrote: >> >> > On M

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Greg KH
On Tue, Oct 19, 2010 at 02:24:53PM -0400, Valdis.Kletnieks at vt.edu wrote: > On Mon, 18 Oct 2010 17:40:04 PDT, Greg KH said: > > > I do have access to this hardware, but its on an old single processor > > laptop, so any work that it would take to help do this development, > > really wouldn't be a

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Dave Airlie
On Tue, Oct 19, 2010 at 10:40 AM, Greg KH wrote: > On Tue, Oct 19, 2010 at 09:00:09AM +1000, Dave Airlie wrote: >> On Tue, Oct 19, 2010 at 4:43 AM, Greg KH wrote: >> > On Mon, Oct 18, 2010 at 05:42:06PM +0200, Arnd Bergmann wrote: >> >> >> >> Out of the remaining modules, I guess i810/i830, adfs,

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Steven Rostedt
On Tue, 2010-10-19 at 15:36 +0200, Arnd Bergmann wrote: > [trimming Cc list] > > On Tuesday 19 October 2010, Steven Rostedt wrote: > > I think we also need to cover the PREEMPT case too. But that could be a > > compile time check, since you can't boot a preempt kernel and make it > > non preempt.

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Paul Mundt
On Tue, Oct 19, 2010 at 08:39:58AM -0400, Steven Rostedt wrote: > On Tue, 2010-10-19 at 09:26 +0200, Arnd Bergmann wrote: > > On Tuesday 19 October 2010 06:52:32 Dave Airlie wrote: > > > > I might be able to find some hardware still lying around here that uses > > > > an > > > > i810. Not sure unl

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Steven Rostedt
On Tue, 2010-10-19 at 15:36 +0200, Arnd Bergmann wrote: > [trimming Cc list] > > On Tuesday 19 October 2010, Steven Rostedt wrote: > > I think we also need to cover the PREEMPT case too. But that could be a > > compile time check, since you can't boot a preempt kernel and make it > > non preempt.

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Arnd Bergmann
On Tuesday 19 October 2010, Arnd Bergmann wrote: > On Tuesday 19 October 2010 06:52:32 Dave Airlie wrote: > > > I might be able to find some hardware still lying around here that uses an > > > i810. Not sure unless I go hunting it. But I get the impression that if > > > the kernel is a single-CPU k

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Steven Rostedt
On Tue, 2010-10-19 at 09:26 +0200, Arnd Bergmann wrote: > On Tuesday 19 October 2010 06:52:32 Dave Airlie wrote: > > > I might be able to find some hardware still lying around here that uses an > > > i810. Not sure unless I go hunting it. But I get the impression that if > > > the kernel is a singl

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Arnd Bergmann
On Tuesday 19 October 2010 06:52:32 Dave Airlie wrote: > > I might be able to find some hardware still lying around here that uses an > > i810. Not sure unless I go hunting it. But I get the impression that if > > the kernel is a single-CPU kernel there is not any problem anyway? Don't > > distros

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Dave Airlie
> I might be able to find some hardware still lying around here that uses an > i810. Not sure unless I go hunting it. But I get the impression that if > the kernel is a single-CPU kernel there is not any problem anyway? Don't > distros offer a non-smp kernel as an installation option in case the us

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Theodore Kilgore
On Mon, 18 Oct 2010, Steven Rostedt wrote: > On Tue, 2010-10-19 at 12:45 +1000, Dave Airlie wrote: > > On Tue, Oct 19, 2010 at 12:24 PM, Greg KH wrote: > > > > So, there is no need for the i830 driver? Can it just be removed > > > because i915 works instead? > > > > No because it provides a

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Dave Airlie
>> >> like I'm sure the intersection of this driver and reality are getting >> quite limited, but its still a userspace ABI change and needs to be >> treated as such. Xorg 6.7 and XFree86 4.3 were the last users of the >> old driver/API. > > Thus, you are saying that this will break for people with

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Steven Rostedt
On Tue, 2010-10-19 at 12:45 +1000, Dave Airlie wrote: > On Tue, Oct 19, 2010 at 12:24 PM, Greg KH wrote: > > So, there is no need for the i830 driver? Can it just be removed > > because i915 works instead? > > No because it provides a different userspace ABI to the i915 driver to > a different

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Dave Airlie
On Tue, Oct 19, 2010 at 12:24 PM, Greg KH wrote: > On Tue, Oct 19, 2010 at 10:57:43AM +1000, Dave Airlie wrote: >> On Tue, Oct 19, 2010 at 10:40 AM, Greg KH wrote: >> > On Tue, Oct 19, 2010 at 09:00:09AM +1000, Dave Airlie wrote: >> >> On Tue, Oct 19, 2010 at 4:43 AM, Greg KH wrote: >> >> > On M

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Greg KH
On Tue, Oct 19, 2010 at 10:57:43AM +1000, Dave Airlie wrote: > On Tue, Oct 19, 2010 at 10:40 AM, Greg KH wrote: > > On Tue, Oct 19, 2010 at 09:00:09AM +1000, Dave Airlie wrote: > >> On Tue, Oct 19, 2010 at 4:43 AM, Greg KH wrote: > >> > On Mon, Oct 18, 2010 at 05:42:06PM +0200, Arnd Bergmann wrot

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Dave Airlie
On Tue, Oct 19, 2010 at 10:40 AM, Greg KH wrote: > On Tue, Oct 19, 2010 at 09:00:09AM +1000, Dave Airlie wrote: >> On Tue, Oct 19, 2010 at 4:43 AM, Greg KH wrote: >> > On Mon, Oct 18, 2010 at 05:42:06PM +0200, Arnd Bergmann wrote: >> >> >> >> Out of the remaining modules, I guess i810/i830, adfs,

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Greg KH
On Tue, Oct 19, 2010 at 09:00:09AM +1000, Dave Airlie wrote: > On Tue, Oct 19, 2010 at 4:43 AM, Greg KH wrote: > > On Mon, Oct 18, 2010 at 05:42:06PM +0200, Arnd Bergmann wrote: > >> > >> Out of the remaining modules, I guess i810/i830, adfs, hpfs and ufs might > >> end > >> up not getting fixed

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Arnd Bergmann
On Tuesday 19 October 2010 06:52:32 Dave Airlie wrote: > > I might be able to find some hardware still lying around here that uses an > > i810. Not sure unless I go hunting it. But I get the impression that if > > the kernel is a single-CPU kernel there is not any problem anyway? Don't > > distros

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Dave Airlie
On Tue, Oct 19, 2010 at 4:43 AM, Greg KH wrote: > On Mon, Oct 18, 2010 at 05:42:06PM +0200, Arnd Bergmann wrote: >> >> Out of the remaining modules, I guess i810/i830, adfs, hpfs and ufs might end >> up not getting fixed at all, we can either mark them non-SMP or move them >> to drivers/staging on

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Steven Rostedt
On Tue, 2010-10-19 at 09:26 +0200, Arnd Bergmann wrote: > On Tuesday 19 October 2010 06:52:32 Dave Airlie wrote: > > > I might be able to find some hardware still lying around here that uses an > > > i810. Not sure unless I go hunting it. But I get the impression that if > > > the kernel is a singl

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Arnd Bergmann
On Tuesday 19 October 2010, Steven Rostedt wrote: > On Tue, 2010-10-19 at 15:36 +0200, Arnd Bergmann wrote: > > [trimming Cc list] > > > > On Tuesday 19 October 2010, Steven Rostedt wrote: > > > I think we also need to cover the PREEMPT case too. But that could be a > > > compile time check, since

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Arnd Bergmann
[trimming Cc list] On Tuesday 19 October 2010, Steven Rostedt wrote: > I think we also need to cover the PREEMPT case too. But that could be a > compile time check, since you can't boot a preempt kernel and make it > non preempt. Right. Can we turn the lock_kernel() into preempt_disable() in thes

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Theodore Kilgore
On Mon, 18 Oct 2010, Steven Rostedt wrote: > On Tue, 2010-10-19 at 12:45 +1000, Dave Airlie wrote: > > On Tue, Oct 19, 2010 at 12:24 PM, Greg KH wrote: > > > > So, there is no need for the i830 driver? Can it just be removed > > > because i915 works instead? > > > > No because it provides a

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-18 Thread Steven Rostedt
On Tue, 2010-10-19 at 12:45 +1000, Dave Airlie wrote: > On Tue, Oct 19, 2010 at 12:24 PM, Greg KH wrote: > > So, there is no need for the i830 driver? Can it just be removed > > because i915 works instead? > > No because it provides a different userspace ABI to the i915 driver to > a different

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-18 Thread Greg KH
On Tue, Oct 19, 2010 at 10:57:43AM +1000, Dave Airlie wrote: > On Tue, Oct 19, 2010 at 10:40 AM, Greg KH wrote: > > On Tue, Oct 19, 2010 at 09:00:09AM +1000, Dave Airlie wrote: > >> On Tue, Oct 19, 2010 at 4:43 AM, Greg KH wrote: > >> > On Mon, Oct 18, 2010 at 05:42:06PM +0200, Arnd Bergmann wrot

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-18 Thread Greg KH
On Tue, Oct 19, 2010 at 09:00:09AM +1000, Dave Airlie wrote: > On Tue, Oct 19, 2010 at 4:43 AM, Greg KH wrote: > > On Mon, Oct 18, 2010 at 05:42:06PM +0200, Arnd Bergmann wrote: > >> > >> Out of the remaining modules, I guess i810/i830, adfs, hpfs and ufs might > >> end > >> up not getting fixed

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-18 Thread Dave Airlie
On Tue, Oct 19, 2010 at 4:43 AM, Greg KH wrote: > On Mon, Oct 18, 2010 at 05:42:06PM +0200, Arnd Bergmann wrote: >> >> Out of the remaining modules, I guess i810/i830, adfs, hpfs and ufs might end >> up not getting fixed at all, we can either mark them non-SMP or move them >> to drivers/staging on

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-18 Thread Greg KH
On Mon, Oct 18, 2010 at 05:42:06PM +0200, Arnd Bergmann wrote: > > Out of the remaining modules, I guess i810/i830, adfs, hpfs and ufs might end > up not getting fixed at all, we can either mark them non-SMP or move them > to drivers/staging once all the others are done. I recommend moving them t

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-18 Thread Greg KH
On Mon, Oct 18, 2010 at 05:42:06PM +0200, Arnd Bergmann wrote: > > Out of the remaining modules, I guess i810/i830, adfs, hpfs and ufs might end > up not getting fixed at all, we can either mark them non-SMP or move them > to drivers/staging once all the others are done. I recommend moving them t