mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/6] state: Refactor backend
@ 2016-06-24 10:05 Markus Pargmann
  2016-06-24 10:05 ` [PATCH v2 1/6] libfile: Change write_full to be have const buf Markus Pargmann
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Markus Pargmann @ 2016-06-24 10:05 UTC (permalink / raw)
  To: barebox; +Cc: mgr

Hi,

Version 2 has some additional bugfixes and previously missing patches.

write_full should use a const pointer and is required by the state refactor
patch as it uses const buffers to write.

The refactor patch has some fixups.

The new 3 patches from Michael fix some behaviour related to the direct bucket.

Best Regards,

Markus


Markus Pargmann (3):
  libfile: Change write_full to be have const buf
  state: Refactor state framework
  docs: Add/Update state documentation

Michael Grzeschik (3):
  state: also append backend storage stridesize
  state: backend_storage_direct: also use cached data on write
  barebox-state: handle flush errno correctly

 .../devicetree/bindings/barebox/barebox,state.rst  |    7 +-
 Documentation/user/state.rst                       |   46 +
 Documentation/user/user-manual.rst                 |    1 +
 common/Makefile                                    |    2 +-
 common/state.c                                     | 1720 --------------------
 common/state/Makefile                              |    8 +
 common/state/backend.c                             |  209 +++
 common/state/backend_bucket_circular.c             |  587 +++++++
 common/state/backend_bucket_direct.c               |  242 +++
 common/state/backend_format_dtb.c                  |  150 ++
 common/state/backend_format_raw.c                  |  329 ++++
 common/state/backend_storage.c                     |  471 ++++++
 common/state/state.c                               |  572 +++++++
 common/state/state.h                               |  267 +++
 common/state/state_variables.c                     |  493 ++++++
 drivers/misc/state.c                               |   64 +-
 include/libfile.h                                  |    2 +-
 include/state.h                                    |    4 +-
 lib/libfile.c                                      |    2 +-
 19 files changed, 3388 insertions(+), 1788 deletions(-)
 create mode 100644 Documentation/user/state.rst
 delete mode 100644 common/state.c
 create mode 100644 common/state/Makefile
 create mode 100644 common/state/backend.c
 create mode 100644 common/state/backend_bucket_circular.c
 create mode 100644 common/state/backend_bucket_direct.c
 create mode 100644 common/state/backend_format_dtb.c
 create mode 100644 common/state/backend_format_raw.c
 create mode 100644 common/state/backend_storage.c
 create mode 100644 common/state/state.c
 create mode 100644 common/state/state.h
 create mode 100644 common/state/state_variables.c

-- 
2.8.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2016-06-29  5:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-24 10:05 [PATCH v2 0/6] state: Refactor backend Markus Pargmann
2016-06-24 10:05 ` [PATCH v2 1/6] libfile: Change write_full to be have const buf Markus Pargmann
2016-06-24 10:05 ` [PATCH v2 2/6] state: Refactor state framework Markus Pargmann
2016-06-24 10:05 ` [PATCH v2 3/6] docs: Add/Update state documentation Markus Pargmann
2016-06-24 10:06 ` [PATCH v2 4/6] state: also append backend storage stridesize Markus Pargmann
2016-06-24 10:06 ` [PATCH v2 5/6] state: backend_storage_direct: also use cached data on write Markus Pargmann
2016-06-28  6:18   ` Sascha Hauer
2016-06-28  6:55     ` Michael Grzeschik
2016-06-29  5:56       ` Markus Pargmann
2016-06-24 10:06 ` [PATCH v2 6/6] barebox-state: handle flush errno correctly Markus Pargmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox