On Fri, Apr 20, 2012 at 11:34:43AM +0100, Dave Airlie wrote:
> >
> > I may be reading things wrong but the initialisation does indeed hold
> > drm_global_mutex, but and back when this first occured we would have
> > been using kernel_lock() which was at least partially reentrant right?
>
> Yup if
>
> I may be reading things wrong but the initialisation does indeed hold
> drm_global_mutex, but and back when this first occured we would have
> been using kernel_lock() which was at least partially reentrant right?
Yup if we slept with the BKL held we'd have allowed others to get past it,
but
On Fri, Apr 20, 2012 at 10:40:35AM +0100, Dave Airlie wrote:
> I've just revisited this, maybe I'm going insane but why does
> drm_global_mutex not stop this?
>
> drm_get_pci_dev takes drm_global_mutex before calling drm_fill_in_dev
> and drm_get_minor.
>
> Now the fops should be pointing at stu
On Thu, Apr 19, 2012 at 5:22 PM, Andy Whitcroft wrote:
> We have been carrying a (rather poor) patch for an issue we identified in
> the DRM driver. ?This issue is triggered when a DRM device is initialising
> and userspace attempts to open it, typically in response to the sysfs
> device added eve
On Fri, Apr 20, 2012 at 11:34:43AM +0100, Dave Airlie wrote:
> >
> > I may be reading things wrong but the initialisation does indeed hold
> > drm_global_mutex, but and back when this first occured we would have
> > been using kernel_lock() which was at least partially reentrant right?
>
> Yup if
>
> I may be reading things wrong but the initialisation does indeed hold
> drm_global_mutex, but and back when this first occured we would have
> been using kernel_lock() which was at least partially reentrant right?
Yup if we slept with the BKL held we'd have allowed others to get past it,
but
On Fri, Apr 20, 2012 at 10:40:35AM +0100, Dave Airlie wrote:
> I've just revisited this, maybe I'm going insane but why does
> drm_global_mutex not stop this?
>
> drm_get_pci_dev takes drm_global_mutex before calling drm_fill_in_dev
> and drm_get_minor.
>
> Now the fops should be pointing at stu
On Thu, Apr 19, 2012 at 5:22 PM, Andy Whitcroft wrote:
> We have been carrying a (rather poor) patch for an issue we identified in
> the DRM driver. This issue is triggered when a DRM device is initialising
> and userspace attempts to open it, typically in response to the sysfs
> device added eve
On Thu, Apr 19, 2012 at 05:30:03PM +0100, Dave Airlie wrote:
> On Thu, Apr 19, 2012 at 5:22 PM, Andy Whitcroft wrote:
> > We have been carrying a (rather poor) patch for an issue we identified in
> > the DRM driver. ?This issue is triggered when a DRM device is initialising
> > and userspace attem
>>
>>> On Thu, Apr 19, 2012 at 5:47 PM, Dave Airlie wrote:
>>> > On Thu, Apr 19, 2012 at 5:41 PM, Andy Whitcroft
>>> > wrote:
>>> >> On Thu, Apr 19, 2012 at 05:30:03PM +0100, Dave Airlie wrote:
>>> >>> On Thu, Apr 19, 2012 at 5:22 PM, Andy Whitcroft
>>> >>> wrote:
>>> >>> > We have been carryi
On Thu, Apr 19, 2012 at 5:55 PM, Jesse Barnes
wrote:
> On Thu, 19 Apr 2012 17:52:39 +0100
> Dave Airlie wrote:
>
>> On Thu, Apr 19, 2012 at 5:47 PM, Dave Airlie wrote:
>> > On Thu, Apr 19, 2012 at 5:41 PM, Andy Whitcroft
>> > wrote:
>> >> On Thu, Apr 19, 2012 at 05:30:03PM +0100, Dave Airlie
On Thu, Apr 19, 2012 at 5:47 PM, Dave Airlie wrote:
> On Thu, Apr 19, 2012 at 5:41 PM, Andy Whitcroft wrote:
>> On Thu, Apr 19, 2012 at 05:30:03PM +0100, Dave Airlie wrote:
>>> On Thu, Apr 19, 2012 at 5:22 PM, Andy Whitcroft
>>> wrote:
>>> > We have been carrying a (rather poor) patch for an is
On Thu, Apr 19, 2012 at 5:41 PM, Andy Whitcroft wrote:
> On Thu, Apr 19, 2012 at 05:30:03PM +0100, Dave Airlie wrote:
>> On Thu, Apr 19, 2012 at 5:22 PM, Andy Whitcroft wrote:
>> > We have been carrying a (rather poor) patch for an issue we identified in
>> > the DRM driver. ?This issue is trigge
On Thu, Apr 19, 2012 at 05:30:03PM +0100, Dave Airlie wrote:
> On Thu, Apr 19, 2012 at 5:22 PM, Andy Whitcroft wrote:
> > We have been carrying a (rather poor) patch for an issue we identified in
> > the DRM driver. ?This issue is triggered when a DRM device is initialising
> > and userspace attem
On Thu, Apr 19, 2012 at 5:22 PM, Andy Whitcroft wrote:
> We have been carrying a (rather poor) patch for an issue we identified in
> the DRM driver. ?This issue is triggered when a DRM device is initialising
> and userspace attempts to open it, typically in response to the sysfs
> device added eve
We have been carrying a (rather poor) patch for an issue we identified in
the DRM driver. This issue is triggered when a DRM device is initialising
and userspace attempts to open it, typically in response to the sysfs
device added event. Basically we allocate the minor numbers making
the device a
On Thu, Apr 19, 2012 at 05:30:03PM +0100, Dave Airlie wrote:
> On Thu, Apr 19, 2012 at 5:22 PM, Andy Whitcroft wrote:
> > We have been carrying a (rather poor) patch for an issue we identified in
> > the DRM driver. This issue is triggered when a DRM device is initialising
> > and userspace attem
We have been carrying a (rather poor) patch for an issue we identified in
the DRM driver. This issue is triggered when a DRM device is initialising
and userspace attempts to open it, typically in response to the sysfs
device added event. Basically we allocate the minor numbers making
the device a
>>
>>> On Thu, Apr 19, 2012 at 5:47 PM, Dave Airlie wrote:
>>> > On Thu, Apr 19, 2012 at 5:41 PM, Andy Whitcroft
>>> > wrote:
>>> >> On Thu, Apr 19, 2012 at 05:30:03PM +0100, Dave Airlie wrote:
>>> >>> On Thu, Apr 19, 2012 at 5:22 PM, Andy Whitcroft
>>> >>> wrote:
>>> >>> > We have been carryi
On Thu, Apr 19, 2012 at 5:55 PM, Jesse Barnes wrote:
> On Thu, 19 Apr 2012 17:52:39 +0100
> Dave Airlie wrote:
>
>> On Thu, Apr 19, 2012 at 5:47 PM, Dave Airlie wrote:
>> > On Thu, Apr 19, 2012 at 5:41 PM, Andy Whitcroft wrote:
>> >> On Thu, Apr 19, 2012 at 05:30:03PM +0100, Dave Airlie wrote:
On Thu, 19 Apr 2012 17:52:39 +0100
Dave Airlie wrote:
> On Thu, Apr 19, 2012 at 5:47 PM, Dave Airlie wrote:
> > On Thu, Apr 19, 2012 at 5:41 PM, Andy Whitcroft wrote:
> >> On Thu, Apr 19, 2012 at 05:30:03PM +0100, Dave Airlie wrote:
> >>> On Thu, Apr 19, 2012 at 5:22 PM, Andy Whitcroft
> >>>
On Thu, 19 Apr 2012 17:52:39 +0100
Dave Airlie wrote:
> On Thu, Apr 19, 2012 at 5:47 PM, Dave Airlie wrote:
> > On Thu, Apr 19, 2012 at 5:41 PM, Andy Whitcroft
> > wrote:
> >> On Thu, Apr 19, 2012 at 05:30:03PM +0100, Dave Airlie wrote:
> >>> On Thu, Apr 19, 2012 at 5:22 PM, Andy Whitcroft
>
On Thu, Apr 19, 2012 at 5:47 PM, Dave Airlie wrote:
> On Thu, Apr 19, 2012 at 5:41 PM, Andy Whitcroft wrote:
>> On Thu, Apr 19, 2012 at 05:30:03PM +0100, Dave Airlie wrote:
>>> On Thu, Apr 19, 2012 at 5:22 PM, Andy Whitcroft wrote:
>>> > We have been carrying a (rather poor) patch for an issue w
On Thu, Apr 19, 2012 at 5:41 PM, Andy Whitcroft wrote:
> On Thu, Apr 19, 2012 at 05:30:03PM +0100, Dave Airlie wrote:
>> On Thu, Apr 19, 2012 at 5:22 PM, Andy Whitcroft wrote:
>> > We have been carrying a (rather poor) patch for an issue we identified in
>> > the DRM driver. This issue is trigge
On Thu, Apr 19, 2012 at 05:30:03PM +0100, Dave Airlie wrote:
> On Thu, Apr 19, 2012 at 5:22 PM, Andy Whitcroft wrote:
> > We have been carrying a (rather poor) patch for an issue we identified in
> > the DRM driver. This issue is triggered when a DRM device is initialising
> > and userspace attem
On Thu, Apr 19, 2012 at 5:22 PM, Andy Whitcroft wrote:
> We have been carrying a (rather poor) patch for an issue we identified in
> the DRM driver. This issue is triggered when a DRM device is initialising
> and userspace attempts to open it, typically in response to the sysfs
> device added eve
26 matches
Mail list logo