Skip to content

firmware: arm_sdei: fix SDEI DT probing

James Morse linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2firmware: arm_sdei: fix wrong of_node_put() in init functiondrivers/firmware/arm_sdei.c+0 -10 replies
2/2firmware: arm_sdei: Fix DT platform device creationdrivers/firmware/arm_sdei.c+0 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] firmware: arm_sdei: fix SDEI DT probing

Hi guys,

A patch from Nicolas to fix some cargo-culted reference-miscounting highlighted that, embarrassingly, the SDEI DT probing hasn't been tested properly since it was merged. commit 3aa0582fdb82 ("of: platform:
populate /firmware/ node from of_platform_default_populate_init()") came in at the same time and changed the core-code to generate the platform devices, meaning the driver's attempt fails, and it bails out.

Fix these by removing the unbalanced-refcount, and not attempting to re-create the platform device. As this is in the never-worked territory, I don't think the fixes tags are necessary. If someone disagrees, its:

Fixes ad6eb31ef903 ("firmware: arm_sdei: Add driver for Software Delegated Exceptions")

Thanks,

James Morse (1):
firmware: arm_sdei: Fix DT platform device creation

Nicolas Saenz Julienne (1):
firmware: arm_sdei: fix wrong of_node_put() in init function

 drivers/firmware/arm_sdei.c | 6 ------
 1 file changed, 6 deletions(-)
Signature · 7 lines
2.19.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel