fs: imgdafs: Add IMG DAFS filesystem for metag
PATCH RESEND v5 1/1 fs: imgdafs: Add IMG DAFS filesystem for metag
Add the IMG Debug Adapter File System (DAFS) for metag, which uses SWITCH operations to communicate with a file server on a host computer via a JTAG debug adapter.
---
This is pretty much a resend of v4, but separated from the arch/metag patchset. I didn't get any response beyond v1 so I excluded it from that patchset. I'd like to get it included in v3.10.
v5:
* removed arch/metag changes (the arch/metag patchset it was previously part of is now mainline with those changes)
v4:
* clean up fscall similarly to chancall in tty/metag_da
v2:
* fixed fserrno problem (Al Viro)
* renamed to imgdafs
fs/Kconfig | 1 + fs/Makefile | 1 + fs/imgdafs/Kconfig | 6 + fs/imgdafs/Makefile | 7 + fs/imgdafs/imgdafs.h | 80 +++++ fs/imgdafs/inode.c | 843 +++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 938 insertions(+) create mode 100644 fs/imgdafs/Kconfig create mode 100644 fs/imgdafs/Makefile create mode 100644 fs/imgdafs/imgdafs.h create mode 100644 fs/imgdafs/inode.c
fs/Kconfig +1 -0
@@ -211,6 +211,7 @@ source "fs/sysv/Kconfig" source "fs/ufs/Kconfig" source "fs/exofs/Kconfig" source "fs/f2fs/Kconfig" +source "fs/imgdafs/Kconfig" endif # MISC_FILESYSTEMS
fs/Makefile +1 -0
@@ -127,3 +127,4 @@ obj-$(CONFIG_F2FS_FS) += f2fs/ obj-y += exofs/ # Multiple modules obj-$(CONFIG_CEPH_FS) += ceph/ obj-$(CONFIG_PSTORE) += pstore/ +obj-$(CONFIG_IMGDAFS_FS) += imgdafs/
fs/imgdafs/Kconfig new file +6 -0
@@ -0,0 +1,6 @@ +config IMGDAFS_FS + bool "Meta DA filesystem support" + depends on METAG_DA + help + This enables the DA filesystem, which allows Linux to + to access files on a system attached via a debug adapter.
fs/imgdafs/Makefile new file +7 -0
@@ -0,0 +1,7 @@ +# +# Makefile for DAfs the Debug Adapter filesystem. +# + +obj-$(CONFIG_IMGDAFS_FS) += imgdafs.o + +imgdafs-objs := inode.o
fs/imgdafs/imgdafs.h new file +80 -0
80 lines not on this page · raw message
fs/imgdafs/inode.c new file +843 -0
843 lines not on this page · raw message
Signature · 1 line
1.8.1.2
Quoted 10 lines · James Hogan
Add the IMG Debug Adapter File System (DAFS) for metag, which uses SWITCH operations to communicate with a file server on a host computer via a JTAG debug adapter.
Signed-off-by James Hogan <[email protected]>Cc Alexander Viro <[email protected]>---
This is pretty much a resend of v4, but separated from thearch/metagpatchset. I didn't get any response beyond v1 so I excluded it from that patchset. I'd like to get it included in v3.10.
Ping. I'd like to get this accepted for v3.10, but haven't had a response to it since October. Do new file systems like this normally go through the official vfs tree or should I just take it through the metag tree?
Cheers
James