From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bLPp9-0005O9-B8 for barebox@lists.infradead.org; Fri, 08 Jul 2016 07:03:44 +0000 Date: Fri, 8 Jul 2016 09:03:19 +0200 From: Sascha Hauer Message-ID: <20160708070319.GQ20657@pengutronix.de> References: <1467793185-3709-1-git-send-email-mpa@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1467793185-3709-1-git-send-email-mpa@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH v3 0/4] state: Refactor backend To: Markus Pargmann Cc: barebox@lists.infradead.org, mgr@pengutronix.de On Wed, Jul 06, 2016 at 10:19:41AM +0200, Markus Pargmann wrote: > Changes in v3: > - A central cache implementation bucket data. This is implemented as another > bucket (backend_bucket_cached) which can access other buckets. See the > updated diagram in the second patch. > - Fixup flush usage > - lazy initialization of buckets Applied, thanks Sascha > > 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 (1): > state: also append backend storage stridesize > > .../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 | 9 + > common/state/backend.c | 188 +++ > common/state/backend_bucket_cached.c | 155 ++ > common/state/backend_bucket_circular.c | 515 ++++++ > common/state/backend_bucket_direct.c | 180 ++ > common/state/backend_format_dtb.c | 150 ++ > common/state/backend_format_raw.c | 329 ++++ > common/state/backend_storage.c | 525 ++++++ > common/state/state.c | 573 +++++++ > common/state/state.h | 277 ++++ > common/state/state_variables.c | 493 ++++++ > drivers/misc/state.c | 65 +- > include/libfile.h | 2 +- > include/state.h | 4 +- > lib/libfile.c | 2 +- > 20 files changed, 3455 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_cached.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 > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox