All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* RISC-V for-next/fixes (cont'd from PW sync)
@ 2024-03-27 19:57 ` Björn Töpel
  0 siblings, 0 replies; 10+ 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] 10+ messages in thread

* RISC-V for-next/fixes (cont'd from PW sync)
@ 2024-03-27 19:57 ` Björn Töpel
  0 siblings, 0 replies; 10+ 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

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* Re: 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
  -1 siblings, 0 replies; 10+ messages in thread
From: Conor Dooley @ 2024-03-27 20:32 UTC (permalink / raw)
  To: Björn Töpel
  Cc: Paul Walmsley, Palmer Dabbelt, Albert Ou, Emil Renner Berthing,
	Samuel Holland, Alexandre Ghiti, Björn Töpel,
	linux-riscv, Andy Chiu, Jakub Kicinski, linux-kernel, netdev

[-- Attachment #1: Type: text/plain, Size: 1858 bytes --]

On Wed, Mar 27, 2024 at 08:57:50PM +0100, Björn Töpel wrote:
> 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?

After you left, Palmer said he'd go for merging his fixes tag into
for-next after they got merged by Linus. At least I think it was that,
rather than Linus' -rcs...

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

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


[-- Attachment #1.1: Type: text/plain, Size: 1858 bytes --]

On Wed, Mar 27, 2024 at 08:57:50PM +0100, Björn Töpel wrote:
> 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?

After you left, Palmer said he'd go for merging his fixes tag into
for-next after they got merged by Linus. At least I think it was that,
rather than Linus' -rcs...

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 161 bytes --]

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* Re: RISC-V for-next/fixes (cont'd from PW sync)
  2024-03-27 20:32   ` Conor Dooley
@ 2024-03-29  6:46     ` Alexandre Ghiti
  -1 siblings, 0 replies; 10+ messages in thread
From: Alexandre Ghiti @ 2024-03-29  6:46 UTC (permalink / raw)
  To: Conor Dooley
  Cc: Björn Töpel, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Emil Renner Berthing, Samuel Holland, Björn Töpel,
	linux-riscv, Andy Chiu, Jakub Kicinski, linux-kernel, netdev

On Wed, Mar 27, 2024 at 9:32 PM Conor Dooley <conor@kernel.org> wrote:
>
> On Wed, Mar 27, 2024 at 08:57:50PM +0100, Björn Töpel wrote:
> > 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.

The syzbot report [1] requires fixes in mm [2], if we don't update
fixes on top of the latest -rcX, we'll keep hitting this bug, so
rebasing -fixes on top of the latest -rcX is necessary to me.

[1] https://lore.kernel.org/linux-riscv/00000000000070a2660614b83885@google.com/T/#t
[2] https://lore.kernel.org/all/20240326063036.6242-1-osalvador@suse.de/

> > 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?
>
> After you left, Palmer said he'd go for merging his fixes tag into
> for-next after they got merged by Linus. At least I think it was that,
> rather than Linus' -rcs...

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

* Re: RISC-V for-next/fixes (cont'd from PW sync)
@ 2024-03-29  6:46     ` Alexandre Ghiti
  0 siblings, 0 replies; 10+ messages in thread
From: Alexandre Ghiti @ 2024-03-29  6:46 UTC (permalink / raw)
  To: Conor Dooley
  Cc: Björn Töpel, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Emil Renner Berthing, Samuel Holland, Björn Töpel,
	linux-riscv, Andy Chiu, Jakub Kicinski, linux-kernel, netdev

On Wed, Mar 27, 2024 at 9:32 PM Conor Dooley <conor@kernel.org> wrote:
>
> On Wed, Mar 27, 2024 at 08:57:50PM +0100, Björn Töpel wrote:
> > 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.

The syzbot report [1] requires fixes in mm [2], if we don't update
fixes on top of the latest -rcX, we'll keep hitting this bug, so
rebasing -fixes on top of the latest -rcX is necessary to me.

[1] https://lore.kernel.org/linux-riscv/00000000000070a2660614b83885@google.com/T/#t
[2] https://lore.kernel.org/all/20240326063036.6242-1-osalvador@suse.de/

> > 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?
>
> After you left, Palmer said he'd go for merging his fixes tag into
> for-next after they got merged by Linus. At least I think it was that,
> rather than Linus' -rcs...

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* Re: RISC-V for-next/fixes (cont'd from PW sync)
  2024-03-29  6:46     ` Alexandre Ghiti
@ 2024-03-29  7:27       ` Conor Dooley
  -1 siblings, 0 replies; 10+ messages in thread
From: Conor Dooley @ 2024-03-29  7:27 UTC (permalink / raw)
  To: Alexandre Ghiti
  Cc: Conor Dooley, Björn Töpel, Paul Walmsley,
	Palmer Dabbelt, Albert Ou, Emil Renner Berthing, Samuel Holland,
	Björn Töpel, linux-riscv, Andy Chiu, Jakub Kicinski,
	linux-kernel, netdev

[-- Attachment #1: Type: text/plain, Size: 1459 bytes --]

On Fri, Mar 29, 2024 at 07:46:38AM +0100, Alexandre Ghiti wrote:
> On Wed, Mar 27, 2024 at 9:32 PM Conor Dooley <conor@kernel.org> wrote:
> >
> > On Wed, Mar 27, 2024 at 08:57:50PM +0100, Björn Töpel wrote:
> > > 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.
> 
> The syzbot report [1] requires fixes in mm [2], if we don't update
> fixes on top of the latest -rcX, we'll keep hitting this bug, so
> rebasing -fixes on top of the latest -rcX is necessary to me.

No non-ff rebasing of branches unless its 101% required, please. This
seems like a justifiable reason to merge the rc it appears in into the
riscv branches though.

> [1] https://lore.kernel.org/linux-riscv/00000000000070a2660614b83885@google.com/T/#t
> [2] https://lore.kernel.org/all/20240326063036.6242-1-osalvador@suse.de/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: RISC-V for-next/fixes (cont'd from PW sync)
@ 2024-03-29  7:27       ` Conor Dooley
  0 siblings, 0 replies; 10+ messages in thread
From: Conor Dooley @ 2024-03-29  7:27 UTC (permalink / raw)
  To: Alexandre Ghiti
  Cc: Conor Dooley, Björn Töpel, Paul Walmsley,
	Palmer Dabbelt, Albert Ou, Emil Renner Berthing, Samuel Holland,
	Björn Töpel, linux-riscv, Andy Chiu, Jakub Kicinski,
	linux-kernel, netdev


[-- Attachment #1.1: Type: text/plain, Size: 1459 bytes --]

On Fri, Mar 29, 2024 at 07:46:38AM +0100, Alexandre Ghiti wrote:
> On Wed, Mar 27, 2024 at 9:32 PM Conor Dooley <conor@kernel.org> wrote:
> >
> > On Wed, Mar 27, 2024 at 08:57:50PM +0100, Björn Töpel wrote:
> > > 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.
> 
> The syzbot report [1] requires fixes in mm [2], if we don't update
> fixes on top of the latest -rcX, we'll keep hitting this bug, so
> rebasing -fixes on top of the latest -rcX is necessary to me.

No non-ff rebasing of branches unless its 101% required, please. This
seems like a justifiable reason to merge the rc it appears in into the
riscv branches though.

> [1] https://lore.kernel.org/linux-riscv/00000000000070a2660614b83885@google.com/T/#t
> [2] https://lore.kernel.org/all/20240326063036.6242-1-osalvador@suse.de/

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 161 bytes --]

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* Re: RISC-V for-next/fixes (cont'd from PW sync)
  2024-03-29  7:27       ` Conor Dooley
@ 2024-03-29  9:10         ` Björn Töpel
  -1 siblings, 0 replies; 10+ messages in thread
From: Björn Töpel @ 2024-03-29  9:10 UTC (permalink / raw)
  To: Conor Dooley, Alexandre Ghiti
  Cc: Conor Dooley, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Emil Renner Berthing, Samuel Holland, Björn Töpel,
	linux-riscv, Andy Chiu, Jakub Kicinski, linux-kernel, netdev

Conor Dooley <conor.dooley@microchip.com> writes:

> On Fri, Mar 29, 2024 at 07:46:38AM +0100, Alexandre Ghiti wrote:
>> On Wed, Mar 27, 2024 at 9:32 PM Conor Dooley <conor@kernel.org> wrote:
>> >
>> > On Wed, Mar 27, 2024 at 08:57:50PM +0100, Björn Töpel wrote:
>> > > 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.
>> 
>> The syzbot report [1] requires fixes in mm [2], if we don't update
>> fixes on top of the latest -rcX, we'll keep hitting this bug, so
>> rebasing -fixes on top of the latest -rcX is necessary to me.
>
> No non-ff rebasing of branches unless its 101% required, please. This
> seems like a justifiable reason to merge the rc it appears in into the
> riscv branches though.

Are you talking past each other? I'm *not* saying rebase (agree with
Conor!). I'm saying "let's move fixes up to the point to include the
merge (and whatever on Linus' tip at the point of merge), i.e.
*ff-only*.

Now, rest your eyes on this fabulous cartoon:

  Linus' master
  |
  v
  o o <-- RISC-V fixes
  | |
  . .
  . .
  
  Linus accepts the PR...
  
  o <-- Merge tag 'riscv-for-linus-meh-rc7'...
  |\
  o o <-- RISC-V fixes
  | |
  . .
  . .
  
  and then move fixes, git merge --ff-only:
  
  o <-- Merge tag 'riscv-for-linus-meh-rc7'..., RISC-V fixes
  |\
  o o 
  | |
  . .
  . .

Clearer?


Björn

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

* Re: RISC-V for-next/fixes (cont'd from PW sync)
@ 2024-03-29  9:10         ` Björn Töpel
  0 siblings, 0 replies; 10+ messages in thread
From: Björn Töpel @ 2024-03-29  9:10 UTC (permalink / raw)
  To: Conor Dooley, Alexandre Ghiti
  Cc: Conor Dooley, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Emil Renner Berthing, Samuel Holland, Björn Töpel,
	linux-riscv, Andy Chiu, Jakub Kicinski, linux-kernel, netdev

Conor Dooley <conor.dooley@microchip.com> writes:

> On Fri, Mar 29, 2024 at 07:46:38AM +0100, Alexandre Ghiti wrote:
>> On Wed, Mar 27, 2024 at 9:32 PM Conor Dooley <conor@kernel.org> wrote:
>> >
>> > On Wed, Mar 27, 2024 at 08:57:50PM +0100, Björn Töpel wrote:
>> > > 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.
>> 
>> The syzbot report [1] requires fixes in mm [2], if we don't update
>> fixes on top of the latest -rcX, we'll keep hitting this bug, so
>> rebasing -fixes on top of the latest -rcX is necessary to me.
>
> No non-ff rebasing of branches unless its 101% required, please. This
> seems like a justifiable reason to merge the rc it appears in into the
> riscv branches though.

Are you talking past each other? I'm *not* saying rebase (agree with
Conor!). I'm saying "let's move fixes up to the point to include the
merge (and whatever on Linus' tip at the point of merge), i.e.
*ff-only*.

Now, rest your eyes on this fabulous cartoon:

  Linus' master
  |
  v
  o o <-- RISC-V fixes
  | |
  . .
  . .
  
  Linus accepts the PR...
  
  o <-- Merge tag 'riscv-for-linus-meh-rc7'...
  |\
  o o <-- RISC-V fixes
  | |
  . .
  . .
  
  and then move fixes, git merge --ff-only:
  
  o <-- Merge tag 'riscv-for-linus-meh-rc7'..., RISC-V fixes
  |\
  o o 
  | |
  . .
  . .

Clearer?


Björn

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

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

Thread overview: 10+ 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 19:57 ` Björn Töpel
2024-03-27 20:32 ` Conor Dooley
2024-03-27 20:32   ` Conor Dooley
2024-03-29  6:46   ` Alexandre Ghiti
2024-03-29  6:46     ` Alexandre Ghiti
2024-03-29  7:27     ` Conor Dooley
2024-03-29  7:27       ` Conor Dooley
2024-03-29  9:10       ` Björn Töpel
2024-03-29  9:10         ` Björn Töpel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.