Re: [PATCH AUTOSEL 5.1 16/59] fpga: dfl: Add lockdep classes for pdata->lock

2019-06-16 Thread Greg Kroah-Hartman
On Sat, Jun 15, 2019 at 06:41:59PM -0400, Sasha Levin wrote: > On Sat, Jun 15, 2019 at 07:47:39AM +0200, Greg Kroah-Hartman wrote: > > On Fri, Jun 14, 2019 at 04:28:00PM -0400, Sasha Levin wrote: > > > From: Scott Wood > > > > > > [ Upstream commit dfe3de8d397bf878b31864d4e489d41118ec475f ] > > >

Re: [PATCH AUTOSEL 5.1 16/59] fpga: dfl: Add lockdep classes for pdata->lock

2019-06-15 Thread Sasha Levin
On Sat, Jun 15, 2019 at 07:47:39AM +0200, Greg Kroah-Hartman wrote: On Fri, Jun 14, 2019 at 04:28:00PM -0400, Sasha Levin wrote: From: Scott Wood [ Upstream commit dfe3de8d397bf878b31864d4e489d41118ec475f ] struct dfl_feature_platform_data (and it's mutex) is used by both fme and port devices

Re: [PATCH AUTOSEL 5.1 16/59] fpga: dfl: Add lockdep classes for pdata->lock

2019-06-14 Thread Greg Kroah-Hartman
On Fri, Jun 14, 2019 at 04:28:00PM -0400, Sasha Levin wrote: > From: Scott Wood > > [ Upstream commit dfe3de8d397bf878b31864d4e489d41118ec475f ] > > struct dfl_feature_platform_data (and it's mutex) is used > by both fme and port devices, and when lockdep is enabled it > complains about nesting

[PATCH AUTOSEL 5.1 16/59] fpga: dfl: Add lockdep classes for pdata->lock

2019-06-14 Thread Sasha Levin
From: Scott Wood [ Upstream commit dfe3de8d397bf878b31864d4e489d41118ec475f ] struct dfl_feature_platform_data (and it's mutex) is used by both fme and port devices, and when lockdep is enabled it complains about nesting between these locks. Tell lockdep about the difference so it can track eac