Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Neal Frager via buildroot <buildroot@buildroot.org>
Cc: luca.ceresoli@bootlin.com, brandon.maier@collins.com,
	Neal Frager <neal.frager@amd.com>,
	romain.naour@smile.fr, michal.simek@amd.com,
	yann.morin.1998@free.fr
Subject: Re: [Buildroot] [PATCH v1 1/5] board/xilinx/patches/linux: add linux 6.6.40 hash
Date: Wed, 7 Aug 2024 14:25:06 +0200	[thread overview]
Message-ID: <20240807142506.45de55d8@windsurf> (raw)
In-Reply-To: <20240807105813.3844985-1-neal.frager@amd.com>

Hello Neal,

On Wed, 7 Aug 2024 11:58:09 +0100
Neal Frager via buildroot <buildroot@buildroot.org> wrote:

> Add the hash for the Linux 6.6.40 release for Xilinx products.
> 
> The release tag was missing a patch, so it is being added here for users that
> bump to Linux 6.6.40.  The patch has already been committed to the linux-xlnx
> repo.
> 
> Upstream: https://github.com/Xilinx/linux-xlnx/commit/5365c13a86998da06d845c918f849b30b8735538
> 
> Signed-off-by: Neal Frager <neal.frager@amd.com>

I'm not sure I'm a big fan of the approach of doing this addition in
PATCH 1/5, and then changing the defconfigs one after the other. I see
two problems:

- In PATCH 1/5, you're adding a kernel patch, but do you realize that
  with only PATCH 1/5 applied, your kernel patch will be applied to the
  existing defconfigs, that use the xlnx_rebase_v6.6_LTS_2024.1 kernel ?

  It turns out you're lucky, as the patch applies fine on
  xlnx_rebase_v6.6_LTS_2024.1, but in the general case that would not
  work.

- After applying all patches, you still have the hash of
  xlnx_rebase_v6.6_LTS_2024.1.tar.gz, but I don't know if it's still
  used by some other defconfigs.

So I see several approaches here:

- Don't use a shared board/xilinx/patches/ folder, and use one per
  board, like is done in board/freescale/. This allows to update
  defconfigs independently from each other.

- Update all defconfigs that use board/xilinx/patches/ in one single
  commit.

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2024-08-07 12:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-07 10:58 [Buildroot] [PATCH v1 1/5] board/xilinx/patches/linux: add linux 6.6.40 hash Neal Frager via buildroot
2024-08-07 10:58 ` [Buildroot] [PATCH v1 2/5] configs/zynq_zc702_defconfig: bump to 6.6.40 Neal Frager via buildroot
2024-08-07 10:58 ` [Buildroot] [PATCH v1 3/5] configs/zynq_zc706_defconfig: " Neal Frager via buildroot
2024-08-07 10:58 ` [Buildroot] [PATCH v1 4/5] configs/zynq_microzed_defconfig: " Neal Frager via buildroot
2024-08-07 10:58 ` [Buildroot] [PATCH v1 5/5] configs/zynq_zed_defconfig: " Neal Frager via buildroot
2024-08-07 12:25 ` Thomas Petazzoni via buildroot [this message]
2024-08-07 14:26   ` [Buildroot] [PATCH v1 1/5] board/xilinx/patches/linux: add linux 6.6.40 hash Frager, Neal via buildroot
2024-08-07 14:28     ` Thomas Petazzoni via buildroot
2024-08-07 14:39       ` Frager, Neal via buildroot
2024-08-07 14:47         ` Frager, Neal via buildroot
2024-08-08  9:10       ` Frager, Neal via buildroot
2024-08-08  9:35         ` Thomas Petazzoni via buildroot
2024-08-08  9:46           ` Frager, Neal via buildroot

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=20240807142506.45de55d8@windsurf \
    --to=buildroot@buildroot.org \
    --cc=brandon.maier@collins.com \
    --cc=luca.ceresoli@bootlin.com \
    --cc=michal.simek@amd.com \
    --cc=neal.frager@amd.com \
    --cc=romain.naour@smile.fr \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=yann.morin.1998@free.fr \
    /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