Re: Nokia N900: refcount_t underflow, use after free

2018-05-24 Thread Suman Anna
On 05/24/2018 06:05 AM, Pavel Machek wrote: > Hi! > OK, see if the following fixes the issue for you, only build tested. >>> >>> Word-wrapped, so I applied by hand. And yes, the oops at boot is >>> gone. Thanks! >> >> Sorry about that, have to check my mail settings. Anyway will post

Re: Nokia N900: refcount_t underflow, use after free

2018-05-24 Thread Suman Anna
On 05/24/2018 06:05 AM, Pavel Machek wrote: > Hi! > OK, see if the following fixes the issue for you, only build tested. >>> >>> Word-wrapped, so I applied by hand. And yes, the oops at boot is >>> gone. Thanks! >> >> Sorry about that, have to check my mail settings. Anyway will post

Re: Nokia N900: refcount_t underflow, use after free

2018-05-24 Thread Pavel Machek
Hi! > >> > >> OK, see if the following fixes the issue for you, only build tested. > > > > Word-wrapped, so I applied by hand. And yes, the oops at boot is > > gone. Thanks! > > Sorry about that, have to check my mail settings. Anyway will post the > patch again, glad that it fixed your issue.

Re: Nokia N900: refcount_t underflow, use after free

2018-05-24 Thread Pavel Machek
Hi! > >> > >> OK, see if the following fixes the issue for you, only build tested. > > > > Word-wrapped, so I applied by hand. And yes, the oops at boot is > > gone. Thanks! > > Sorry about that, have to check my mail settings. Anyway will post the > patch again, glad that it fixed your issue.

Re: Nokia N900: refcount_t underflow, use after free

2018-03-12 Thread Suman Anna
On 03/10/2018 05:26 AM, Pavel Machek wrote: > Hi! > > Well, there certainly seems to be an obvious bug wherein > isp_detach_iommu() just releases the mapping directly without calling > arm_iommu_detach_device() to balance the equivalent attach. That can't > be helping.

Re: Nokia N900: refcount_t underflow, use after free

2018-03-12 Thread Suman Anna
On 03/10/2018 05:26 AM, Pavel Machek wrote: > Hi! > > Well, there certainly seems to be an obvious bug wherein > isp_detach_iommu() just releases the mapping directly without calling > arm_iommu_detach_device() to balance the equivalent attach. That can't > be helping.

Re: Nokia N900: refcount_t underflow, use after free

2018-03-10 Thread Pavel Machek
Hi! > >>> Well, there certainly seems to be an obvious bug wherein > >>> isp_detach_iommu() just releases the mapping directly without calling > >>> arm_iommu_detach_device() to balance the equivalent attach. That can't > >>> be helping. > >> > >> Indeed, I have been able to reproduce the same

Re: Nokia N900: refcount_t underflow, use after free

2018-03-10 Thread Pavel Machek
Hi! > >>> Well, there certainly seems to be an obvious bug wherein > >>> isp_detach_iommu() just releases the mapping directly without calling > >>> arm_iommu_detach_device() to balance the equivalent attach. That can't > >>> be helping. > >> > >> Indeed, I have been able to reproduce the same

Re: Nokia N900: refcount_t underflow, use after free

2018-03-09 Thread Suman Anna
On 03/09/2018 04:18 PM, Pavel Machek wrote: > On Fri 2018-03-09 16:13:36, Suman Anna wrote: >> On 03/09/2018 06:08 AM, Robin Murphy wrote: >>> On 08/03/18 18:50, Pavel Machek wrote: Hi! >> * Pavel Machek [180308 14:31]: >>> Hi! >>> >>> I'm getting this

Re: Nokia N900: refcount_t underflow, use after free

2018-03-09 Thread Suman Anna
On 03/09/2018 04:18 PM, Pavel Machek wrote: > On Fri 2018-03-09 16:13:36, Suman Anna wrote: >> On 03/09/2018 06:08 AM, Robin Murphy wrote: >>> On 08/03/18 18:50, Pavel Machek wrote: Hi! >> * Pavel Machek [180308 14:31]: >>> Hi! >>> >>> I'm getting this warning... Has

Re: Nokia N900: refcount_t underflow, use after free

2018-03-09 Thread Pavel Machek
On Fri 2018-03-09 16:13:36, Suman Anna wrote: > On 03/09/2018 06:08 AM, Robin Murphy wrote: > > On 08/03/18 18:50, Pavel Machek wrote: > >> Hi! > >> > * Pavel Machek [180308 14:31]: > > Hi! > > > > I'm getting this warning... Has anyone seen/debugged that before? >

Re: Nokia N900: refcount_t underflow, use after free

2018-03-09 Thread Pavel Machek
On Fri 2018-03-09 16:13:36, Suman Anna wrote: > On 03/09/2018 06:08 AM, Robin Murphy wrote: > > On 08/03/18 18:50, Pavel Machek wrote: > >> Hi! > >> > * Pavel Machek [180308 14:31]: > > Hi! > > > > I'm getting this warning... Has anyone seen/debugged that before? > >

Re: Nokia N900: refcount_t underflow, use after free

2018-03-09 Thread Suman Anna
On 03/09/2018 06:08 AM, Robin Murphy wrote: > On 08/03/18 18:50, Pavel Machek wrote: >> Hi! >> * Pavel Machek [180308 14:31]: > Hi! > > I'm getting this warning... Has anyone seen/debugged that before? > Unfortunately the backtrace does not seem to be too useful

Re: Nokia N900: refcount_t underflow, use after free

2018-03-09 Thread Suman Anna
On 03/09/2018 06:08 AM, Robin Murphy wrote: > On 08/03/18 18:50, Pavel Machek wrote: >> Hi! >> * Pavel Machek [180308 14:31]: > Hi! > > I'm getting this warning... Has anyone seen/debugged that before? > Unfortunately the backtrace does not seem to be too useful :-(.

Re: Nokia N900: refcount_t underflow, use after free

2018-03-09 Thread Robin Murphy
On 08/03/18 18:50, Pavel Machek wrote: Hi! * Pavel Machek [180308 14:31]: Hi! I'm getting this warning... Has anyone seen/debugged that before? Unfortunately the backtrace does not seem to be too useful :-(. Adding Suman to Cc, as it points to arm_iommu_release_mapping().

Re: Nokia N900: refcount_t underflow, use after free

2018-03-09 Thread Robin Murphy
On 08/03/18 18:50, Pavel Machek wrote: Hi! * Pavel Machek [180308 14:31]: Hi! I'm getting this warning... Has anyone seen/debugged that before? Unfortunately the backtrace does not seem to be too useful :-(. Adding Suman to Cc, as it points to arm_iommu_release_mapping(). Hmm, we need

Re: Nokia N900: refcount_t underflow, use after free

2018-03-08 Thread Pavel Machek
Hi! > > * Pavel Machek [180308 14:31]: > >> Hi! > >> > >> I'm getting this warning... Has anyone seen/debugged that before? > >> Unfortunately the backtrace does not seem to be too useful :-(. > > > > Adding Suman to Cc, as it points to arm_iommu_release_mapping(). > > Hmm, we

Re: Nokia N900: refcount_t underflow, use after free

2018-03-08 Thread Pavel Machek
Hi! > > * Pavel Machek [180308 14:31]: > >> Hi! > >> > >> I'm getting this warning... Has anyone seen/debugged that before? > >> Unfortunately the backtrace does not seem to be too useful :-(. > > > > Adding Suman to Cc, as it points to arm_iommu_release_mapping(). > > Hmm, we need to find out

Re: Nokia N900: refcount_t underflow, use after free

2018-03-08 Thread Suman Anna
Hi Pavel, On 03/08/2018 10:59 AM, Tony Lindgren wrote: > * Pavel Machek [180308 14:31]: >> Hi! >> >> I'm getting this warning... Has anyone seen/debugged that before? >> Unfortunately the backtrace does not seem to be too useful :-(. > > Adding Suman to Cc, as it points to

Re: Nokia N900: refcount_t underflow, use after free

2018-03-08 Thread Suman Anna
Hi Pavel, On 03/08/2018 10:59 AM, Tony Lindgren wrote: > * Pavel Machek [180308 14:31]: >> Hi! >> >> I'm getting this warning... Has anyone seen/debugged that before? >> Unfortunately the backtrace does not seem to be too useful :-(. > > Adding Suman to Cc, as it points to

Re: Nokia N900: refcount_t underflow, use after free

2018-03-08 Thread Tony Lindgren
* Pavel Machek [180308 14:31]: > Hi! > > I'm getting this warning... Has anyone seen/debugged that before? > Unfortunately the backtrace does not seem to be too useful :-(. Adding Suman to Cc, as it points to arm_iommu_release_mapping(). Regards, Tony > [0.00] Booting

Re: Nokia N900: refcount_t underflow, use after free

2018-03-08 Thread Tony Lindgren
* Pavel Machek [180308 14:31]: > Hi! > > I'm getting this warning... Has anyone seen/debugged that before? > Unfortunately the backtrace does not seem to be too useful :-(. Adding Suman to Cc, as it points to arm_iommu_release_mapping(). Regards, Tony > [0.00] Booting Linux on

Nokia N900: refcount_t underflow, use after free

2018-03-08 Thread Pavel Machek
Hi! I'm getting this warning... Has anyone seen/debugged that before? Unfortunately the backtrace does not seem to be too useful :-(. Pavel [0.00] Booting Linux on physical CPU 0x0 [0.00] Linux version

Nokia N900: refcount_t underflow, use after free

2018-03-08 Thread Pavel Machek
Hi! I'm getting this warning... Has anyone seen/debugged that before? Unfortunately the backtrace does not seem to be too useful :-(. Pavel [0.00] Booting Linux on physical CPU 0x0 [0.00] Linux version