Netdev List
 help / color / mirror / Atom feed
* RISC-V for-next/fixes (cont'd from PW sync)
@ 2024-03-27 19:57 Björn Töpel
  2024-03-27 20:32 ` Conor Dooley
  0 siblings, 1 reply; 5+ messages in thread
From: Björn Töpel @ 2024-03-27 19:57 UTC (permalink / raw)
  To: Conor Dooley, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Emil Renner Berthing, Samuel Holland, Alexandre Ghiti,
	Björn Töpel, linux-riscv, Andy Chiu
  Cc: Jakub Kicinski, linux-kernel, netdev

Hi,

I figured I'd put some words on the "how to update the RISC-V
for-next/fixes branches [1]" that came up on the patchwork call today.

In RISC-V land, the for-next branch is used for features, and typically
sent as a couple of PRs to Linus when the merge window is open. The
fixes branch is sent as PR(s) between the RCs of a release.

Today, the baseline for for-next/fixes is the CURRENT_RELEASE-rc1, and
features/fixes are based on that.

This has IMO a couple of issues:

1. fixes is missing the non-RISC-V fixes from releases later than
   -rc1, which makes it harder for contributors.
2. for-next does not have the fixes from RISC-V/rest of the kernel,
   and it's hard for contributors to test the work on for-next (buggy,
   no fixes, and sometime missing deps).

I used to spend a whole lot of mine time in the netdev tree of the
kernel, and this is how they manage it (Thanks Kuba!):

Netdev (here exchanged to RISC-V trees), fast-forward fixes, and then
cross-merge fixes into for-next -- for every -rc.

E.g., say fixes is submitted for -rc2 to Linus, once he pulls, do:

  git push --delete origin $SOMETAG
  git tag -d $SOMETAG
  git pull --ff-only --tags git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
  build / test / push out.

Then pull fixes into for-next:

  git pull --tags git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes


Personally (obviously biased), I think this would be easier for
contributors. Any downsides from a RISC-V perspective?


Björn


[1] git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-03-29  9:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-27 19:57 RISC-V for-next/fixes (cont'd from PW sync) Björn Töpel
2024-03-27 20:32 ` Conor Dooley
2024-03-29  6:46   ` Alexandre Ghiti
2024-03-29  7:27     ` Conor Dooley
2024-03-29  9:10       ` Björn Töpel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox