All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Herrmann <morpheus.ibis@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 00/11] Add DM blockdev subsystem
Date: Thu, 20 Sep 2012 21:37:36 +0200	[thread overview]
Message-ID: <1348169867-2917-1-git-send-email-morpheus.ibis@gmail.com> (raw)

This series adds the new unified blockdev subsystem based on DM, converts all
filesystems and associated commands to the new API and adds a compatibility
wrapper for current SATA drivers.

Note: this is based on current DM branch with some FS cleanup patches sent out
recently.

Pavel Herrmann (11):
  DM: add block device core
  DM: add support for scanning DOS partitions to blockdev core
  DM: add block controller core
  DM: add sata_legacy driver for blockctrl
  DM: add ata and partition blockdev drivers
  DM: add cmd_block command
  DM: use new blockdev API in FAT
  DM: use new blockdev API in ext2
  DM: use new blockdev API in reiserfs
  DM: use new blockdev API in ZFS
  DM: switch sandbox to DM blockdev

 Makefile                                 |   2 +
 arch/sandbox/lib/board.c                 |   8 +
 common/Makefile                          |  14 +
 common/cmd_block.c                       | 139 ++++++
 common/cmd_ext2dm.c                      | 211 +++++++++
 common/cmd_fatdm.c                       | 192 ++++++++
 common/cmd_reiserdm.c                    | 193 ++++++++
 common/cmd_zfsdm.c                       | 199 ++++++++
 drivers/blockctrl/Makefile               |  43 ++
 drivers/blockctrl/core.c                 | 349 ++++++++++++++
 drivers/blockctrl/sata_legacy.c          | 166 +++++++
 drivers/blockdev/Makefile                |  43 ++
 drivers/blockdev/ata.c                   | 234 ++++++++++
 drivers/blockdev/ata.h                   |  37 ++
 drivers/blockdev/core.c                  | 752 +++++++++++++++++++++++++++++++
 drivers/blockdev/part_types/part_dos.c   | 148 ++++++
 drivers/blockdev/part_types/part_dos.h   |  49 ++
 drivers/blockdev/part_types/part_types.h |  34 ++
 drivers/blockdev/partition.c             | 179 ++++++++
 fs/ext2/Makefile                         |   7 +-
 fs/ext2/dev_dm.c                         | 107 +++++
 fs/fat/Makefile                          |   7 +-
 fs/fat/dev_dm.c                          | 141 ++++++
 fs/reiserfs/Makefile                     |   8 +-
 fs/reiserfs/dev_dm.c                     | 104 +++++
 fs/zfs/Makefile                          |   7 +-
 fs/zfs/dev_dm.c                          | 117 +++++
 include/configs/sandbox.h                |   4 +
 include/dm/blockctrl.h                   |  75 +++
 include/dm/blockdev.h                    | 121 +++++
 include/ext2fs.h                         |   9 +-
 include/fat.h                            |   8 +
 include/reiserfs.h                       |   8 +-
 include/zfs_common.h                     |   8 +
 34 files changed, 3717 insertions(+), 6 deletions(-)
 create mode 100644 common/cmd_block.c
 create mode 100644 common/cmd_ext2dm.c
 create mode 100644 common/cmd_fatdm.c
 create mode 100644 common/cmd_reiserdm.c
 create mode 100644 common/cmd_zfsdm.c
 create mode 100644 drivers/blockctrl/Makefile
 create mode 100644 drivers/blockctrl/core.c
 create mode 100644 drivers/blockctrl/sata_legacy.c
 create mode 100644 drivers/blockdev/Makefile
 create mode 100644 drivers/blockdev/ata.c
 create mode 100644 drivers/blockdev/ata.h
 create mode 100644 drivers/blockdev/core.c
 create mode 100644 drivers/blockdev/part_types/part_dos.c
 create mode 100644 drivers/blockdev/part_types/part_dos.h
 create mode 100644 drivers/blockdev/part_types/part_types.h
 create mode 100644 drivers/blockdev/partition.c
 create mode 100644 fs/ext2/dev_dm.c
 create mode 100644 fs/fat/dev_dm.c
 create mode 100644 fs/reiserfs/dev_dm.c
 create mode 100644 fs/zfs/dev_dm.c
 create mode 100644 include/dm/blockctrl.h
 create mode 100644 include/dm/blockdev.h

-- 
1.7.12

             reply	other threads:[~2012-09-20 19:37 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-20 19:37 Pavel Herrmann [this message]
2012-09-20 19:37 ` [U-Boot] [PATCH 01/11] DM: add block device core Pavel Herrmann
2012-09-20 19:58   ` Marek Vasut
2012-09-21  7:11     ` Pavel Herrmann
2012-09-21 12:39       ` Marek Vasut
2012-09-21 13:27         ` Pavel Herrmann
2012-09-21 13:53           ` Marek Vasut
2012-09-21 14:57             ` Pavel Herrmann
2012-09-21 15:34               ` Marek Vasut
2012-09-21 15:48                 ` Pavel Herrmann
2012-09-21 15:55                   ` Marek Vasut
2012-09-21 17:19                     ` Pavel Herrmann
2012-09-21 18:00                       ` Marek Vasut
2012-09-21 18:53                         ` Pavel Herrmann
2012-09-21 19:17                           ` Marek Vasut
2012-09-21 19:29                             ` Pavel Herrmann
2012-09-21 21:11                               ` Marek Vasut
2012-09-21 23:43                                 ` Pavel Herrmann
2012-09-22  0:09                                   ` Marek Vasut
2012-09-22  9:39                                     ` Pavel Herrmann
2012-09-22 13:33                                       ` Marek Vasut
2012-09-22 13:59                                         ` Pavel Herrmann
2012-09-24 12:23                                           ` Pavel Herrmann
2012-09-20 20:49   ` [U-Boot] [U-Boot-DM] " Vikram Narayanan
2012-09-21  7:09     ` Pavel Herrmann
2012-09-21 12:39       ` Marek Vasut
2012-09-20 19:37 ` [U-Boot] [PATCH 02/11] DM: add support for scanning DOS partitions to blockdev core Pavel Herrmann
2012-09-20 20:03   ` Marek Vasut
2012-09-21  7:22     ` Pavel Herrmann
2012-09-21 12:47       ` Marek Vasut
2012-09-21 13:18         ` Pavel Herrmann
2012-09-21 13:54           ` Marek Vasut
2012-09-20 19:37 ` [U-Boot] [PATCH 03/11] DM: add block controller core Pavel Herrmann
2012-09-20 20:05   ` Marek Vasut
2012-09-21  7:21     ` Pavel Herrmann
2012-09-21 12:51       ` Marek Vasut
2012-09-21 13:14         ` Pavel Herrmann
2012-09-21 13:56           ` Marek Vasut
2012-09-21 15:04             ` Pavel Herrmann
2012-09-21 13:33         ` Pavel Herrmann
2012-09-21 13:58           ` Marek Vasut
2012-09-21 15:09             ` Pavel Herrmann
2012-09-21 15:39               ` Marek Vasut
2012-09-21 15:46                 ` Pavel Herrmann
2012-09-21 16:08                   ` Marek Vasut
2012-09-21 17:22                     ` Pavel Herrmann
2012-09-21 18:01                       ` Marek Vasut
2012-09-21 19:15                         ` Pavel Herrmann
2012-09-21 19:22                           ` Marek Vasut
2012-09-20 19:37 ` [U-Boot] [PATCH 04/11] DM: add sata_legacy driver for blockctrl Pavel Herrmann
2012-09-20 19:37 ` [U-Boot] [PATCH 05/11] DM: add ata and partition blockdev drivers Pavel Herrmann
2012-09-20 19:37 ` [U-Boot] [PATCH 06/11] DM: add cmd_block command Pavel Herrmann
2012-09-20 19:37 ` [U-Boot] [PATCH 07/11] DM: use new blockdev API in FAT Pavel Herrmann
2012-09-20 19:37 ` [U-Boot] [PATCH 08/11] DM: use new blockdev API in ext2 Pavel Herrmann
2012-09-20 19:37 ` [U-Boot] [PATCH 09/11] DM: use new blockdev API in reiserfs Pavel Herrmann
2012-09-20 19:37 ` [U-Boot] [PATCH 10/11] DM: use new blockdev API in ZFS Pavel Herrmann
2012-09-20 19:37 ` [U-Boot] [PATCH 11/11] DM: switch sandbox to DM blockdev Pavel Herrmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1348169867-2917-1-git-send-email-morpheus.ibis@gmail.com \
    --to=morpheus.ibis@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.