mbox series

[0/5] zfs: Fix zfs support on aarch64

Message ID 20240407014743.13872-1-mwleeds@mailtundra.com
Headers show
Series zfs: Fix zfs support on aarch64 | expand

Message

mwleeds@mailtundra.com April 7, 2024, 1:47 a.m. UTC
This patch series is needed to get U-Boot to boot from a ZFS filesystem
on an aarch64 computer. Some of the patches are not architecture specific
and would be needed to boot ZFS on other platforms as well. The ZFS
support in U-Boot hasn't been substantively touched in several years and
to me it seems like it must have been broken for a long time on all
platforms, but I have only tested on aarch64.

Since there doesn't seem to be a mantainer for this area who I can cc,
I'm hoping these patches get seen and pulled in by a general U-Boot
maintainer.

Phaedrus Leeds (5):
  zfs: Fix malloc() success check
  zfs: Add a comment to clarify nvlist memory layout
  zfs: Fix unaligned read of uint64
  zfs: Fix return value of fs_devread()
  zfs: Fix zfs_read() to actually work

 fs/zfs/dev.c |  2 +-
 fs/zfs/zfs.c | 30 ++++++++++++++++++++++++++----
 2 files changed, 27 insertions(+), 5 deletions(-)

Comments

Tom Rini April 17, 2024, 7:15 p.m. UTC | #1
On Sat, 06 Apr 2024 18:47:24 -0700, mwleeds@mailtundra.com wrote:

> This patch series is needed to get U-Boot to boot from a ZFS filesystem
> on an aarch64 computer. Some of the patches are not architecture specific
> and would be needed to boot ZFS on other platforms as well. The ZFS
> support in U-Boot hasn't been substantively touched in several years and
> to me it seems like it must have been broken for a long time on all
> platforms, but I have only tested on aarch64.
> 
> [...]

Per Igor's comment and Phaedrus agreement, dropped his Tested-by on the patches
themselves. Then applied to u-boot/master, thanks!