All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/3] Add capsule update using error on close semantics
@ 2015-04-29 23:07 James Bottomley
  2015-04-29 23:09   ` James Bottomley
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: James Bottomley @ 2015-04-29 23:07 UTC (permalink / raw)
  To: linux-efi
  Cc: Kweh, Hock Leong, LKML, Andy Lutomirski, Greg Kroah-Hartman, Peter Jones

This is a straw man implementation.  The three patches firstly thread
the needed ->flush() file op through sysfs and kernfs.  The next one
extracts transaction buffer handling from firmware_class.c and makes it
generic in a lib helper and the third patch adds a bare bones capsule
update (I suspect the latter needs more work, since it doesn't implement
the scatterlist).

James Bottomley (3):
  sysfs,kernfs: add flush operation
  firmware_class: split out transaction helpers
  efi: add capsule update capability via sysfs

 drivers/base/firmware_class.c      | 117 ++++---------------------------
 drivers/firmware/efi/Makefile      |   2 +-
 drivers/firmware/efi/capsule.c     |  78 +++++++++++++++++++++
 drivers/firmware/efi/capsule.h     |   2 +
 drivers/firmware/efi/efi.c         |   8 +++
 fs/kernfs/file.c                   |  16 +++++
 fs/sysfs/file.c                    |  16 +++++
 include/linux/kernfs.h             |   2 +
 include/linux/sysfs.h              |   2 +
 include/linux/transaction_helper.h |  26 +++++++
 lib/Makefile                       |   2 +-
 lib/transaction_helper.c           | 137 +++++++++++++++++++++++++++++++++++++
 12 files changed, 304 insertions(+), 104 deletions(-)
 create mode 100644 drivers/firmware/efi/capsule.c
 create mode 100644 drivers/firmware/efi/capsule.h
 create mode 100644 include/linux/transaction_helper.h
 create mode 100644 lib/transaction_helper.c

James


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

end of thread, other threads:[~2015-08-27 19:43 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-29 23:07 [RFC 0/3] Add capsule update using error on close semantics James Bottomley
2015-04-29 23:09 ` [RFC 1/3] sysfs,kernfs: add flush operation James Bottomley
2015-04-29 23:09   ` James Bottomley
2015-04-30 13:11   ` Greg Kroah-Hartman
2015-04-30 14:52     ` James Bottomley
2015-04-29 23:10 ` [RFC 2/3] firmware_class: split out transaction helpers James Bottomley
2015-04-29 23:10   ` James Bottomley
2015-04-30 13:11   ` Greg Kroah-Hartman
2015-04-30 13:11     ` Greg Kroah-Hartman
2015-04-30 14:39     ` James Bottomley
2015-08-27 14:47   ` Matt Fleming
2015-08-27 16:25     ` James Bottomley
2015-08-27 19:43       ` Matt Fleming
2015-08-27 19:43         ` Matt Fleming
2015-04-29 23:12 ` [RFC 3/3] efi: add capsule update capability via sysfs James Bottomley
2015-04-29 23:25   ` Andy Lutomirski
2015-04-29 23:25     ` Andy Lutomirski
2015-04-29 23:36     ` James Bottomley
2015-04-29 23:36       ` James Bottomley
2015-04-29 23:39       ` Andy Lutomirski
2015-04-29 23:39         ` Andy Lutomirski
2015-04-30  9:30 ` [RFC 0/3] Add capsule update using error on close semantics Kweh, Hock Leong
2015-04-30  9:30   ` Kweh, Hock Leong

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.