public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Ilias Apalodimas <ilias.apalodimas@linaro.org>
To: Jens Wiklander <jens.wiklander@linaro.org>
Cc: u-boot@lists.denx.de, linux-btrfs@vger.kernel.org,
	Arnd Bergmann <arnd@arndb.de>, Huan Wang <alison.wang@nxp.com>,
	Angelo Dureghello <angelo@kernel-space.org>,
	Daniel Schwierzeck <daniel.schwierzeck@gmail.com>,
	Wolfgang Denk <wd@denx.de>, Marek Vasut <marex@denx.de>,
	Nobuhiro Iwamatsu <iwamatsu@nigauri.org>,
	Marek Behun <kabel@kernel.org>, Qu Wenruo <wqu@suse.com>,
	Tom Rini <trini@konsulko.com>
Subject: Re: [PATCH 0/8] Cleanup unaligned access macros
Date: Mon, 22 May 2023 23:34:36 +0300	[thread overview]
Message-ID: <ZGvR3LoSN20QNrNM@hera> (raw)
In-Reply-To: <20230522122238.4191762-1-jens.wiklander@linaro.org>

Hi Jens

On Mon, May 22, 2023 at 02:22:30PM +0200, Jens Wiklander wrote:
> Hi,
>
> There are two versions of get/set_unaligned, get_unaligned_be64,
> put_unaligned_le64 etc in U-Boot causing confusion (and bugs).
>
> In this patch-set, I'm trying to fix that with a single unified version of
> the access macros to be used across all archs. This work is inspired by
> similar changes in this Linux kernel by Arnd Bergman,
> https://lore.kernel.org/lkml/20210514100106.3404011-1-arnd@kernel.org/
>
> Thanks,
> Jens

Thanks for the cleanup.

For the series
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Although I'd like to hear from arch maintainers as well.

Tom, This did pass all the CI successfully, but regardless I think it
should be pulled into -next.  If you want me to pick it up via the TPM tree
please let me know.

Thanks
/Ilias
>
> Jens Wiklander (8):
>   arm: use asm-generic/unaligned.h
>   sh: use asm-generic/unaligned.h
>   mips: use asm-generic/unaligned.h
>   m68k: use asm-generic/unaligned.h
>   powerpc: use asm-generic/unaligned.h
>   fs/btrfs: use asm/unaligned.h
>   linux/unaligned: remove unused access_ok.h
>   asm-generic: simplify unaligned.h
>
>  arch/arm/include/asm/unaligned.h     | 21 +------
>  arch/m68k/include/asm/unaligned.h    | 17 +-----
>  arch/mips/include/asm/unaligned.h    | 23 +------
>  arch/powerpc/include/asm/unaligned.h | 18 +-----
>  arch/sh/include/asm/unaligned.h      | 22 +------
>  fs/btrfs/crypto/hash.c               |  2 +-
>  include/asm-generic/unaligned.h      | 89 +++++++++++++++++++++++-----
>  include/linux/unaligned/access_ok.h  | 66 ---------------------
>  8 files changed, 83 insertions(+), 175 deletions(-)
>  delete mode 100644 include/linux/unaligned/access_ok.h
>
> --
> 2.34.1
>

  parent reply	other threads:[~2023-05-22 20:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-22 12:22 [PATCH 0/8] Cleanup unaligned access macros Jens Wiklander
2023-05-22 12:22 ` [PATCH 1/8] arm: use asm-generic/unaligned.h Jens Wiklander
2023-05-22 12:22 ` [PATCH 2/8] sh: " Jens Wiklander
2023-05-22 12:22 ` [PATCH 3/8] mips: " Jens Wiklander
2023-05-22 12:22 ` [PATCH 4/8] m68k: " Jens Wiklander
2023-05-28 18:54   ` Angelo Dureghello
2023-05-22 12:22 ` [PATCH 5/8] powerpc: " Jens Wiklander
2023-05-22 12:22 ` [PATCH 6/8] fs/btrfs: use asm/unaligned.h Jens Wiklander
2023-05-22 12:22 ` [PATCH 7/8] linux/unaligned: remove unused access_ok.h Jens Wiklander
2023-05-22 12:22 ` [PATCH 8/8] asm-generic: simplify unaligned.h Jens Wiklander
2023-05-22 20:34 ` Ilias Apalodimas [this message]
2023-05-23 18:56   ` [PATCH 0/8] Cleanup unaligned access macros Tom Rini

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=ZGvR3LoSN20QNrNM@hera \
    --to=ilias.apalodimas@linaro.org \
    --cc=alison.wang@nxp.com \
    --cc=angelo@kernel-space.org \
    --cc=arnd@arndb.de \
    --cc=daniel.schwierzeck@gmail.com \
    --cc=iwamatsu@nigauri.org \
    --cc=jens.wiklander@linaro.org \
    --cc=kabel@kernel.org \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=marex@denx.de \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=wd@denx.de \
    --cc=wqu@suse.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox