All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix oops in platform_device resource unregister
@ 2015-06-07 14:20 Grant Likely
  2015-06-07 14:20   ` Grant Likely
  2015-06-07 14:20   ` Grant Likely
  0 siblings, 2 replies; 49+ messages in thread
From: Grant Likely @ 2015-06-07 14:20 UTC (permalink / raw)
  To: devicetree, linux-kernel

The register and unregister paths for platform_devices use different
tests to chose which resources to process. Register uses the value of
both parent & type, but unregister relies solely on type, which can
result in some resources not being unregistered, and an oops when an
unregistered resource is attempted to be removed. The oops issue is
particularly a problem for devicetree users because resources are not
registered in that path.

Add a test that exposes the problem for devicetree users, and then fix
the problem.


^ permalink raw reply	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2015-08-23 21:58 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-07 14:20 [PATCH 0/2] Fix oops in platform_device resource unregister Grant Likely
2015-06-07 14:20 ` [PATCH 1/2] of/unittest: Show broken behaviour in the platform bus Grant Likely
2015-06-07 14:20   ` Grant Likely
2015-06-08 20:16   ` Rob Herring
2015-06-09 11:05     ` Grant Likely
2015-06-15 16:45   ` Wolfram Sang
2015-06-15 16:45     ` Wolfram Sang
2015-06-07 14:20 ` [PATCH 2/2] drivercore: Fix unregistration path of platform devices Grant Likely
2015-06-07 14:20   ` Grant Likely
2015-06-07 18:13   ` Ricardo Ribalda Delgado
2015-06-08  8:14     ` Pantelis Antoniou
2015-06-08  8:14       ` Pantelis Antoniou
2015-06-08  8:42       ` Ricardo Ribalda Delgado
2015-06-08 18:47     ` Grant Likely
2015-06-08 18:47       ` Grant Likely
2015-06-08 20:09       ` Ricardo Ribalda Delgado
2015-06-08 20:09         ` Ricardo Ribalda Delgado
2015-06-08 20:47         ` Ricardo Ribalda Delgado
2015-06-08 20:47           ` Ricardo Ribalda Delgado
2015-06-09 11:00         ` Grant Likely
2015-06-09 11:00           ` Grant Likely
2015-06-10  0:22           ` Kevin Hilman
2015-06-10  0:22             ` Kevin Hilman
2015-06-10  7:11             ` Ricardo Ribalda Delgado
2015-06-10 14:03               ` Rob Herring
2015-06-16  7:58                 ` Tony Lindgren
2015-06-16  7:58                   ` Tony Lindgren
2015-06-10 14:38               ` Kevin Hilman
2015-06-10 14:46                 ` Ricardo Ribalda Delgado
2015-06-10 14:46                   ` Ricardo Ribalda Delgado
2015-06-10 15:34                   ` Greg Kroah-Hartman
2015-06-10 15:40                   ` Greg Kroah-Hartman
2015-06-10 17:11                     ` Grant Likely
2015-06-10 17:12                       ` Pantelis Antoniou
2015-06-10 17:12                         ` Pantelis Antoniou
2015-06-10 23:38                       ` Wolfram Sang
2015-06-10 23:38                         ` Wolfram Sang
2015-06-12 14:00   ` Ricardo Ribalda Delgado
2015-06-12 14:00     ` Ricardo Ribalda Delgado
2015-06-15 16:46   ` Wolfram Sang
2015-06-15 16:46     ` Wolfram Sang
2015-06-23 17:12     ` Ricardo Ribalda Delgado
2015-06-23 17:12       ` Ricardo Ribalda Delgado
2015-07-16 20:33       ` Ricardo Ribalda Delgado
2015-08-22 12:57         ` Ricardo Ribalda Delgado
2015-08-22 12:57           ` Ricardo Ribalda Delgado
2015-08-23 21:52         ` Rob Herring
2015-08-23 21:52           ` Rob Herring
2015-08-23 21:58           ` Ricardo Ribalda Delgado

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.