Skip to content

liveupdate: Small FLB fixes

David Matlack kexec lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2liveupdate: Reference count outgoing FLB datainclude/linux/liveupdate.h kernel/liveupdate/luo_flb.c+12 -37 replies
2/2liveupdate: Remember FLB retrieve() statusinclude/linux/liveupdate.h kernel/liveupdate/luo_flb.c+11 -52 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPratyush Yadav (Google)Pasha Tatashin
1/2R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] liveupdate: Small FLB fixes

This series has 2 small fixes to how FLBs are managed. First is to increase the outgoing FLB refcount during liveupdate_flb_get_outgoing() so it cannot be freed while the caller is using it, and to align with the semantics of liveupdate_flb_get_incoming(). The second is to prevent FLB retrieve() from being called multiple times if the first attempt fails.

Both of these changes are needed for the correctness of the PCI core support for Live Update:

https://lore.kernel.org/linux-pci/[email protected]/

David Matlack (2):
liveupdate: Reference count outgoing FLB data
liveupdate: Remember FLB retrieve() status

 include/linux/liveupdate.h  | 11 +++++++++--
 kernel/liveupdate/luo_flb.c | 20 ++++++++++++++------
 2 files changed, 23 insertions(+), 8 deletions(-)

base-commit: 5428435567cbe06c19914592fc22ca23c9ca1de5

Signature · 1 line
2.54.0.823.g6e5bcc1fc9-goog