Two independent dpll core fixes for races observed on E825-C with an
external zl3073x dpll chip, where ice contributes pins to a dpll
device owned by zl3073x. Both regressions date back to commit
9431063ad323 ("dpll: core: Add DPLL framework base functions"). The
patches are independent and apply in either order; per-patch details
are in each changelog.
Tested via repeated kexec stress on the affected hardware: patch 2
cuts the WARN incidence from 1-4 reboots to none observed across
several hundred reboots; patch 1 removes the NULL deref observed
under parallel rmmod of ice and zl3073x_i2c.
Petr Oros (2):
dpll: fix NULL deref in dpll_device_ops() during teardown race
dpll: filter pin->dpll_refs by cookie in dpll_pin_on_pin_unregister
drivers/dpll/dpll_core.c | 20 +++++++++++++-------
drivers/dpll/dpll_netlink.c | 6 ++++++
2 files changed, 19 insertions(+), 7 deletions(-)
--
2.53.0