| Message ID | 20251220232355.845414-1-sjg@u-boot.org |
|---|---|
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766273051; bh=LdxJkQYn3qDKHCjS9V1J3QFSraaJNuWwyyagN8oLhIc=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=M2tqsAALUDvDxI5kGCrgaDh304QspjZMCqCFvJXCjzaU6AhZ5BETzmYWnDu3yj8bT grtqvMdmoy9bnOKW2U/NjQWouV2gdkwVk/hUmuUk2/8Ich2QO4v25evkS06Iy72oaT rm5VN4wmoj5yxXE0o73n2XKd0s/o3Zk+nbbQB3js2/BWXzEu3khOPd1eMKgFLqOGwN EsuZAqcSF63DRaOyX6QnhwP3mW2gWCoGiDgi12ObaKVgK+hlLF/Npvux6RQ42Z7Xe2 Amc+NQHrfhmFIgd3FGwvvmWNIoWCoSNJd5HX8SuJIhFmG6I8CAcylO2O2Oy8Sybab4 zgLVFTDAmqD5Q== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 933A064C8E for <u-boot-concept@u-boot.org>; Sat, 20 Dec 2025 16:24:11 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id suB4ycdi9jCu for <u-boot-concept@u-boot.org>; Sat, 20 Dec 2025 16:24:11 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766273051; bh=LdxJkQYn3qDKHCjS9V1J3QFSraaJNuWwyyagN8oLhIc=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=M2tqsAALUDvDxI5kGCrgaDh304QspjZMCqCFvJXCjzaU6AhZ5BETzmYWnDu3yj8bT grtqvMdmoy9bnOKW2U/NjQWouV2gdkwVk/hUmuUk2/8Ich2QO4v25evkS06Iy72oaT rm5VN4wmoj5yxXE0o73n2XKd0s/o3Zk+nbbQB3js2/BWXzEu3khOPd1eMKgFLqOGwN EsuZAqcSF63DRaOyX6QnhwP3mW2gWCoGiDgi12ObaKVgK+hlLF/Npvux6RQ42Z7Xe2 Amc+NQHrfhmFIgd3FGwvvmWNIoWCoSNJd5HX8SuJIhFmG6I8CAcylO2O2Oy8Sybab4 zgLVFTDAmqD5Q== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 80C2D64C5B for <u-boot-concept@u-boot.org>; Sat, 20 Dec 2025 16:24:11 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766273049; bh=W6CdjfE0QOT/vE3FOTjfD3wn2zibn5zggzx0irWJ9Uw=; h=From:To:Cc:Subject:Date:From; b=dvy+LI6rCwEAftNsEMVSfrlR2EG7nyvDs70/D2WDpJL5YqzusQKYc5cKQNe5m9q7j b/RMVtJfsY1STuMnJ8S5I1nXltGAFX9W/bhJG705yEaXOFL/qO9FvWO5Yu34IpjWrr Gf06Lp/u1lOz8EQNH9HQImlD+hn6+3JoI2YLFSQq9F3ryfniMDoI8l1ZlKwp7xlUOo bQLPjb9IR8frQnXmCUu9Pok1DP+Xuf8xkPfBbmstH7/dGEG1p33SAjHmRyUTyqSoPM jTY06Wcf5DhkOzoJ3d9YvarXkg2Wgd0e3PNIRDb9NPTc3/n4JiyoR9Qv9Fly7px2ss IQiJkcNjJOYpA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 0961664C56; Sat, 20 Dec 2025 16:24:09 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id qzaLLpbex0LB; Sat, 20 Dec 2025 16:24:08 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766273048; bh=o02hJFsWpFbd8FpgTmHpXoZmazooVSaoq1Rkflny9/o=; h=From:To:Cc:Subject:Date:From; b=tVYSULvMo33XsNym7wzrVg+CjdxyRhF0OYx4LIwuq60U+Cv+/HqYrQDmwl4KQIFPF 3DAejO/GHEmvoI1fG8zdAYGjphrtsHdc/ty/9DjZLhV0rjv/Nf2mX/tGyKzWAsyWNO 7p96WPowZ6OraKMvriR/5X5ZUmk/Vz8gX8ddWtB5bTc8t5wAfzMFPhifl04YpBRYH1 UFr60gVEDTwnypv32xS4iiKgrLTAwaM8p6seHhsvsdZoRSfk3xej5iDGSJKOalGMI7 22TCDkTu7PjVXf5e0HC2phtYxGWJnya4s0GpWSBO1HbqQRXLGm93fRTWusS3IQR9q3 OD/cLfgmmfn6A== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 305EA64C25; Sat, 20 Dec 2025 16:24:08 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Sat, 20 Dec 2025 16:23:40 -0700 Message-ID: <20251220232355.845414-1-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Message-ID-Hash: LY5RAB4FBXPW6RRTHSV2PHLWSY6OXF72 X-Message-ID-Hash: LY5RAB4FBXPW6RRTHSV2PHLWSY6OXF72 X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass <simon.glass@canonical.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 00/10] ext4l: Add more ext4 files to the build (part D) List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/LY5RAB4FBXPW6RRTHSV2PHLWSY6OXF72/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
ext4l: Add more ext4 files to the build (part D)
|
|
Message
Simon Glass
Dec. 20, 2025, 11:23 p.m. UTC
From: Simon Glass <simon.glass@canonical.com>
This series continues the ext4l port by adding super.c to the build. The
super.c file contains the superblock operations and filesystem
registration code from the kernel's ext4 driver.
To support this effort compilation, this series adds numerous stubs and
compatibility shims for Linux kernel interfaces not available in
U-Boot, including block device operations, filesystem context
handling, NFS export helpers, and various utility functions.
In particular, fs/ext4l/ext4_uboot.h contains a lot of U-Boot specific
declarations and stubs, with fs/ext4l/stub.c containing various others.
The goal is to eventually have a fully functional ext4 implementation
ported from Linux that can be used for both reading and writing ext4
filesystems in U-Boot.
Simon Glass (10):
ext4l: Fix unused variable warnings in extents_status.c
ext4l: Add stubs for xattr functions used by ialloc.c
ext4l: Add orphan.c and required support
ext4l: Add xattr_trusted.c
ext4l: Add xattr_user.c and xattr_hurd.c
ext4l: Add linux/utsname.h stub header
ext4l: Add kiocb, iov_iter structures and IOCB_* constants
ext4l: Add inode.c to build
ext4l: Add dir.c to build
ext4l: Add super.c to build
fs/ext4l/Makefile | 7 +-
fs/ext4l/dir.c | 6 +-
fs/ext4l/ext4_uboot.h | 1276 +++++++++++++++++++++++++++++++-
fs/ext4l/extents_status.c | 13 +-
fs/ext4l/file.c | 20 +-
fs/ext4l/ialloc.c | 1 +
fs/ext4l/inode.c | 39 +-
fs/ext4l/orphan.c | 5 +-
fs/ext4l/stub.c | 802 ++++++++++++++++----
fs/ext4l/super.c | 32 +-
fs/ext4l/xattr_hurd.c | 1 +
fs/ext4l/xattr_trusted.c | 3 +-
fs/ext4l/xattr_user.c | 2 +-
include/kunit/static_stub.h | 13 +
include/linux/atomic.h | 0
include/linux/buffer_head.h | 12 +-
include/linux/freezer.h | 8 +-
include/linux/fs.h | 22 +-
include/linux/init.h | 4 +-
include/linux/iomap.h | 8 +
include/linux/jbd2.h | 3 +
include/linux/kthread.h | 4 +-
include/linux/mpage.h | 14 +
include/linux/mutex.h | 2 +-
include/linux/nospec.h | 14 +
include/linux/percpu_counter.h | 2 +
include/linux/rmap.h | 7 +
include/linux/sched.h | 7 +
include/linux/seq_file.h | 7 +-
include/linux/slab.h | 12 +-
include/linux/timer.h | 18 +-
include/linux/utsname.h | 21 +
include/linux/workqueue.h | 4 +-
include/linux/xattr.h | 3 +
34 files changed, 2100 insertions(+), 292 deletions(-)
create mode 100644 include/kunit/static_stub.h
create mode 100644 include/linux/atomic.h
create mode 100644 include/linux/mpage.h
create mode 100644 include/linux/nospec.h
create mode 100644 include/linux/rmap.h
create mode 100644 include/linux/utsname.h