Skip to contentSkip to conversation

v6.1.y-dovetail-rebase

PATCH Jan Kiszka 3 participants 15 messages Jul 6, 2023 – Aug 22, 2023

Subsystems (2)
lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

Hi Philippe,

quick feedback on latest rebasing:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/8f155631c8b51731dfc2ae5145d4dcc68f2ed7ed

This was likely accidentally folded, right?

Furthermore, I will factor this change out into a separate commit in merging v6.1.y-dovetail, for better traceability:

arch/x86/mm/fault.c +1 -1
index ce8bdd804bc7..c843bf352999 100644
@@ -1466,7 +1466,7 @@ void do_user_addr_fault(struct pt_regs *regs,
 
 	/* The fault is fully completed (including releasing mmap lock) */
 	if (fault & VM_FAULT_COMPLETED)
-		return;
+		goto out;
 
 	/*
 	 * If we need to retry the mmap_lock has already been released,

To my understanding, this was a dovetail fix that applied to previous versions as well. Besides StackRot, another reason to update 6.1 soon.

A tag on the new branch is still missing. I suspect you are still testing? CI picked up the head already as well:

https://source.denx.de/Xenomai/xenomai-images/-/jobs/650229

Jan

#1 lore raw

Hi,

Quoted 8 lines · Jan Kiszka

Hi Philippe,

quick feedback on latest rebasing:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/8f155631c8b51731dfc2ae5145d4dcc68f2ed7ed

This was likely accidentally folded, right?

It looks so. This conditional statement appeared upstream during the v6.0 cycle it seems, and was unfortunately left unfixed in the dovetail patch for this entire series.

Quoted 17 lines

Furthermore, I will factor this change out into a separate commit in merging v6.1.y-dovetail, for better traceability:

arch/x86/mm/fault.c +1 -1
index ce8bdd804bc7..c843bf352999 100644
@@ -1466,7 +1466,7 @@ void do_user_addr_fault(struct pt_regs *regs,
 
 	/* The fault is fully completed (including releasing mmap lock) */
 	if (fault & VM_FAULT_COMPLETED)
-		return;
+		goto out;
 
 	/*
 	 * If we need to retry the mmap_lock has already been released,
Quoted 2 lines

To my understanding, this was a dovetail fix that applied to previous versions as well.

Only to v6.0, however this series is not maintained dovetail-wise anymore, so this stayed under the radar.

Quoted 5 lines

Besides StackRot, another reason to update 6.1 soon.

A tag on the new branch is still missing. I suspect you are still testing? CI picked up the head already as well:

Yes, still in the process of testing the latest rebases on -stable for 5.10, 5.15, and 6.1 (armv8).

Signature · 1 line
Philippe.
#2 lore raw
Quoted 31 lines · Philippe Gerum

Hi,

Quoted 8 lines · Jan Kiszka

Hi Philippe,

quick feedback on latest rebasing:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/8f155631c8b51731dfc2ae5145d4dcc68f2ed7ed

This was likely accidentally folded, right?

It looks so. This conditional statement appeared upstream during the v6.0 cycle it seems, and was unfortunately left unfixed in the dovetail patch for this entire series.

Quoted 14 lines

Furthermore, I will factor this change out into a separate commit in merging v6.1.y-dovetail, for better traceability:

arch/x86/mm/fault.c +1 -1
index ce8bdd804bc7..c843bf352999 100644
@@ -1466,7 +1466,7 @@ void do_user_addr_fault(struct pt_regs *regs,
 
 	/* The fault is fully completed (including releasing mmap lock) */
 	if (fault & VM_FAULT_COMPLETED)
-		return;
+		goto out;
 
Quoted 8 lines
Quoted 5 lines
arch/x86/mm/fault.c +0 -0
 	/*
 	 * If we need to retry the mmap_lock has already been released,

To my understanding, this was a dovetail fix that applied to previous versions as well.

Only to v6.0, however this series is not maintained dovetail-wise anymore, so this stayed under the radar.

FYI: This change fixes a real issue here. The 6.1-rebase branch made it through a 24h stress test while the "merge" branch failed. Happily waiting for the next release...

Quoted 10 lines
Quoted 6 lines

Besides StackRot, another reason to update 6.1 soon.

A tag on the new branch is still missing. I suspect you are still testing? CI picked up the head already as well:

Yes, still in the process of testing the latest rebases on -stable for 5.10, 5.15, and 6.1 (armv8).

#3 lore raw
Quoted 41 lines · Florian Bezdeka
Quoted 31 lines · Philippe Gerum

Hi,

Quoted 8 lines · Jan Kiszka

Hi Philippe,

quick feedback on latest rebasing:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/8f155631c8b51731dfc2ae5145d4dcc68f2ed7ed

This was likely accidentally folded, right?

It looks so. This conditional statement appeared upstream during the v6.0 cycle it seems, and was unfortunately left unfixed in the dovetail patch for this entire series.

Quoted 14 lines

Furthermore, I will factor this change out into a separate commit in merging v6.1.y-dovetail, for better traceability:

arch/x86/mm/fault.c +1 -1
index ce8bdd804bc7..c843bf352999 100644
@@ -1466,7 +1466,7 @@ void do_user_addr_fault(struct pt_regs *regs,
 
 	/* The fault is fully completed (including releasing mmap lock) */
 	if (fault & VM_FAULT_COMPLETED)
-		return;
+		goto out;
 
Quoted 8 lines
Quoted 5 lines
arch/x86/mm/fault.c +0 -0
 	/*
 	 * If we need to retry the mmap_lock has already been released,

To my understanding, this was a dovetail fix that applied to previous versions as well.

Only to v6.0, however this series is not maintained dovetail-wise anymore, so this stayed under the radar.

Quoted 3 lines

FYI: This change fixes a real issue here. The 6.1-rebase branch made it through a 24h stress test while the "merge" branch failed. Happily waiting for the next release...

Do we have a idea / plan when the next 6.1 dovetail release will happen? My internal customer is waiting for that and I want to avoid backporting to 6.1.34.

@Philippe, any news regarding the IRQ issue? Did the VM image help to reproduce the issue?

Florian

Quoted 13 lines
Quoted 11 lines
Quoted 7 lines

Besides StackRot, another reason to update 6.1 soon.

A tag on the new branch is still missing. I suspect you are still testing? CI picked up the head already as well:

Yes, still in the process of testing the latest rebases on -stable for 5.10, 5.15, and 6.1 (armv8).

#4 lore raw
Quoted 42 lines · Florian Bezdeka
Quoted 41 lines · Florian Bezdeka
Quoted 39 lines · Philippe Gerum

Hi,

Quoted 8 lines · Jan Kiszka

Hi Philippe,

quick feedback on latest rebasing:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/8f155631c8b51731dfc2ae5145d4dcc68f2ed7ed

This was likely accidentally folded, right?

It looks so. This conditional statement appeared upstream during the v6.0 cycle it seems, and was unfortunately left unfixed in the dovetail patch for this entire series.

Quoted 17 lines

Furthermore, I will factor this change out into a separate commit in merging v6.1.y-dovetail, for better traceability:

arch/x86/mm/fault.c +1 -1
index ce8bdd804bc7..c843bf352999 100644
@@ -1466,7 +1466,7 @@ void do_user_addr_fault(struct pt_regs *regs,
 
 	/* The fault is fully completed (including releasing mmap lock) */
 	if (fault & VM_FAULT_COMPLETED)
-		return;
+		goto out;
 
 	/*
 	 * If we need to retry the mmap_lock has already been released,
Quoted 2 lines

To my understanding, this was a dovetail fix that applied to previous versions as well.

Only to v6.0, however this series is not maintained dovetail-wise anymore, so this stayed under the radar.

Quoted 8 lines
Quoted 3 lines

FYI: This change fixes a real issue here. The 6.1-rebase branch made it through a 24h stress test while the "merge" branch failed. Happily waiting for the next release...

Do we have a idea / plan when the next 6.1 dovetail release will happen? My internal customer is waiting for that and I want to avoid backporting to 6.1.34.

There is a brewing rebase to v6.1.42 pending tests here, no challenging source conflict. I pushed the tree untagged to the v6.1.y-rebase branch if you want to give it a try before Jan updates the stable branch.

Quoted 3 lines

@Philippe, any news regarding the IRQ issue? Did the VM image help to reproduce the issue?

I did not have a chance to look at this yet although I intend to, no spare cycles ATM. I'll follow up when I have news. Since it takes ~18h on average to observe the issue on your end, I would not expect a quick resolution though.

Signature · 1 line
Philippe.
author
#5 lore raw
Quoted 49 lines · Philippe Gerum
Quoted 46 lines · Florian Bezdeka
Quoted 44 lines · Florian Bezdeka
Quoted 31 lines · Philippe Gerum

Hi,

Quoted 8 lines · Jan Kiszka

Hi Philippe,

quick feedback on latest rebasing:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/8f155631c8b51731dfc2ae5145d4dcc68f2ed7ed

This was likely accidentally folded, right?

It looks so. This conditional statement appeared upstream during the v6.0 cycle it seems, and was unfortunately left unfixed in the dovetail patch for this entire series.

Quoted 14 lines

Furthermore, I will factor this change out into a separate commit in merging v6.1.y-dovetail, for better traceability:

arch/x86/mm/fault.c +1 -1
index ce8bdd804bc7..c843bf352999 100644
@@ -1466,7 +1466,7 @@ void do_user_addr_fault(struct pt_regs *regs,
 
 	/* The fault is fully completed (including releasing mmap lock) */
 	if (fault & VM_FAULT_COMPLETED)
-		return;
+		goto out;
 
Quoted 8 lines
Quoted 5 lines
arch/x86/mm/fault.c +0 -0
 	/*
 	 * If we need to retry the mmap_lock has already been released,

To my understanding, this was a dovetail fix that applied to previous versions as well.

Only to v6.0, however this series is not maintained dovetail-wise anymore, so this stayed under the radar.

FYI: This change fixes a real issue here. The 6.1-rebase branch made it through a 24h stress test while the "merge" branch failed. Happily waiting for the next release...

Quoted 9 lines
Quoted 4 lines

Do we have a idea / plan when the next 6.1 dovetail release will happen? My internal customer is waiting for that and I want to avoid backporting to 6.1.34.

There is a brewing rebase to v6.1.42 pending tests here, no challenging source conflict. I pushed the tree untagged to the v6.1.y-rebase branch if you want to give it a try before Jan updates the stable branch.

We are testing against -rebase anyway (but that needs a trigger which I just provided). The merging branch is only updated once there is a release tagged.

Jan

Quoted 9 lines
Quoted 3 lines

@Philippe, any news regarding the IRQ issue? Did the VM image help to reproduce the issue?

I did not have a chance to look at this yet although I intend to, no spare cycles ATM. I'll follow up when I have news. Since it takes ~18h on average to observe the issue on your end, I would not expect a quick resolution though.

Signature · 2 lines
Siemens AG, Technology
Linux Expert Center
author
#6 lore raw
Quoted 55 lines · Jan Kiszka
Quoted 54 lines · Philippe Gerum
Quoted 50 lines · Florian Bezdeka
Quoted 41 lines · Florian Bezdeka
Quoted 31 lines · Philippe Gerum

Hi,

Quoted 8 lines · Jan Kiszka

Hi Philippe,

quick feedback on latest rebasing:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/8f155631c8b51731dfc2ae5145d4dcc68f2ed7ed

This was likely accidentally folded, right?

It looks so. This conditional statement appeared upstream during the v6.0 cycle it seems, and was unfortunately left unfixed in the dovetail patch for this entire series.

Quoted 14 lines

Furthermore, I will factor this change out into a separate commit in merging v6.1.y-dovetail, for better traceability:

arch/x86/mm/fault.c +1 -1
index ce8bdd804bc7..c843bf352999 100644
@@ -1466,7 +1466,7 @@ void do_user_addr_fault(struct pt_regs *regs,
 
 	/* The fault is fully completed (including releasing mmap lock) */
 	if (fault & VM_FAULT_COMPLETED)
-		return;
+		goto out;
 
Quoted 8 lines
Quoted 5 lines
arch/x86/mm/fault.c +0 -0
 	/*
 	 * If we need to retry the mmap_lock has already been released,

To my understanding, this was a dovetail fix that applied to previous versions as well.

Only to v6.0, however this series is not maintained dovetail-wise anymore, so this stayed under the radar.

Quoted 3 lines

FYI: This change fixes a real issue here. The 6.1-rebase branch made it through a 24h stress test while the "merge" branch failed. Happily waiting for the next release...

Do we have a idea / plan when the next 6.1 dovetail release will happen? My internal customer is waiting for that and I want to avoid backporting to 6.1.34.

Quoted 9 lines
Quoted 4 lines

There is a brewing rebase to v6.1.42 pending tests here, no challenging source conflict. I pushed the tree untagged to the v6.1.y-rebase branch if you want to give it a try before Jan updates the stable branch.

We are testing against -rebase anyway (but that needs a trigger which I just provided). The merging branch is only updated once there is a release tagged.

Passed with the Xenomai 3 tests:

https://source.denx.de/Xenomai/xenomai-images/-/pipelines/17252

But can we update to 6.1.44 directly? Florian mentioned that there are Downfall-related fixes in that release.

Jan

Signature · 2 lines
Siemens AG, Technology
Linux Expert Center
#7 lore raw
Quoted 66 lines · Jan Kiszka
Quoted 55 lines · Jan Kiszka
Quoted 54 lines · Philippe Gerum
Quoted 50 lines · Florian Bezdeka
Quoted 41 lines · Florian Bezdeka
Quoted 31 lines · Philippe Gerum

Hi,

Quoted 8 lines · Jan Kiszka

Hi Philippe,

quick feedback on latest rebasing:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/8f155631c8b51731dfc2ae5145d4dcc68f2ed7ed

This was likely accidentally folded, right?

It looks so. This conditional statement appeared upstream during the v6.0 cycle it seems, and was unfortunately left unfixed in the dovetail patch for this entire series.

Quoted 14 lines

Furthermore, I will factor this change out into a separate commit in merging v6.1.y-dovetail, for better traceability:

arch/x86/mm/fault.c +1 -1
index ce8bdd804bc7..c843bf352999 100644
@@ -1466,7 +1466,7 @@ void do_user_addr_fault(struct pt_regs *regs,
 
 	/* The fault is fully completed (including releasing mmap lock) */
 	if (fault & VM_FAULT_COMPLETED)
-		return;
+		goto out;
 
Quoted 8 lines
Quoted 5 lines
arch/x86/mm/fault.c +0 -0
 	/*
 	 * If we need to retry the mmap_lock has already been released,

To my understanding, this was a dovetail fix that applied to previous versions as well.

Only to v6.0, however this series is not maintained dovetail-wise anymore, so this stayed under the radar.

Quoted 3 lines

FYI: This change fixes a real issue here. The 6.1-rebase branch made it through a 24h stress test while the "merge" branch failed. Happily waiting for the next release...

Do we have a idea / plan when the next 6.1 dovetail release will happen? My internal customer is waiting for that and I want to avoid backporting to 6.1.34.

Quoted 9 lines
Quoted 4 lines

There is a brewing rebase to v6.1.42 pending tests here, no challenging source conflict. I pushed the tree untagged to the v6.1.y-rebase branch if you want to give it a try before Jan updates the stable branch.

We are testing against -rebase anyway (but that needs a trigger which I just provided). The merging branch is only updated once there is a release tagged.

Quoted 8 lines

Passed with the Xenomai 3 tests:

https://source.denx.de/Xenomai/xenomai-images/-/pipelines/17252

But can we update to 6.1.44 directly? Florian mentioned that there are Downfall-related fixes in that release.

Jan

yes, .44 is actually brewing here already.

Signature · 1 line
Philippe.
author
#8 lore raw
Quoted 71 lines · Philippe Gerum
Quoted 68 lines · Jan Kiszka
Quoted 55 lines · Jan Kiszka
Quoted 54 lines · Philippe Gerum
Quoted 50 lines · Florian Bezdeka
Quoted 41 lines · Florian Bezdeka
Quoted 31 lines · Philippe Gerum

Hi,

Quoted 8 lines · Jan Kiszka

Hi Philippe,

quick feedback on latest rebasing:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/8f155631c8b51731dfc2ae5145d4dcc68f2ed7ed

This was likely accidentally folded, right?

It looks so. This conditional statement appeared upstream during the v6.0 cycle it seems, and was unfortunately left unfixed in the dovetail patch for this entire series.

Quoted 14 lines

Furthermore, I will factor this change out into a separate commit in merging v6.1.y-dovetail, for better traceability:

arch/x86/mm/fault.c +1 -1
index ce8bdd804bc7..c843bf352999 100644
@@ -1466,7 +1466,7 @@ void do_user_addr_fault(struct pt_regs *regs,
 
 	/* The fault is fully completed (including releasing mmap lock) */
 	if (fault & VM_FAULT_COMPLETED)
-		return;
+		goto out;
 
Quoted 8 lines
Quoted 5 lines
arch/x86/mm/fault.c +0 -0
 	/*
 	 * If we need to retry the mmap_lock has already been released,

To my understanding, this was a dovetail fix that applied to previous versions as well.

Only to v6.0, however this series is not maintained dovetail-wise anymore, so this stayed under the radar.

Quoted 3 lines

FYI: This change fixes a real issue here. The 6.1-rebase branch made it through a 24h stress test while the "merge" branch failed. Happily waiting for the next release...

Do we have a idea / plan when the next 6.1 dovetail release will happen? My internal customer is waiting for that and I want to avoid backporting to 6.1.34.

Quoted 9 lines
Quoted 4 lines

There is a brewing rebase to v6.1.42 pending tests here, no challenging source conflict. I pushed the tree untagged to the v6.1.y-rebase branch if you want to give it a try before Jan updates the stable branch.

We are testing against -rebase anyway (but that needs a trigger which I just provided). The merging branch is only updated once there is a release tagged.

Passed with the Xenomai 3 tests:

Quoted 9 lines
Quoted 6 lines

https://source.denx.de/Xenomai/xenomai-images/-/pipelines/17252

But can we update to 6.1.44 directly? Florian mentioned that there are Downfall-related fixes in that release.

Jan

yes, .44 is actually brewing here already.

Now we are .45 even. Will this one be tagged? CI looks good so far.

Jan

Signature · 2 lines
Siemens AG, Technology
Linux Expert Center
#9 lore raw
Quoted 77 lines · Jan Kiszka
Quoted 76 lines · Philippe Gerum
Quoted 73 lines · Jan Kiszka
Quoted 55 lines · Jan Kiszka
Quoted 54 lines · Philippe Gerum
Quoted 50 lines · Florian Bezdeka
Quoted 41 lines · Florian Bezdeka
Quoted 31 lines · Philippe Gerum

Hi,

Quoted 8 lines · Jan Kiszka

Hi Philippe,

quick feedback on latest rebasing:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/8f155631c8b51731dfc2ae5145d4dcc68f2ed7ed

This was likely accidentally folded, right?

It looks so. This conditional statement appeared upstream during the v6.0 cycle it seems, and was unfortunately left unfixed in the dovetail patch for this entire series.

Quoted 14 lines

Furthermore, I will factor this change out into a separate commit in merging v6.1.y-dovetail, for better traceability:

arch/x86/mm/fault.c +1 -1
index ce8bdd804bc7..c843bf352999 100644
@@ -1466,7 +1466,7 @@ void do_user_addr_fault(struct pt_regs *regs,
 
 	/* The fault is fully completed (including releasing mmap lock) */
 	if (fault & VM_FAULT_COMPLETED)
-		return;
+		goto out;
 
Quoted 8 lines
Quoted 5 lines
arch/x86/mm/fault.c +0 -0
 	/*
 	 * If we need to retry the mmap_lock has already been released,

To my understanding, this was a dovetail fix that applied to previous versions as well.

Only to v6.0, however this series is not maintained dovetail-wise anymore, so this stayed under the radar.

Quoted 3 lines

FYI: This change fixes a real issue here. The 6.1-rebase branch made it through a 24h stress test while the "merge" branch failed. Happily waiting for the next release...

Do we have a idea / plan when the next 6.1 dovetail release will happen? My internal customer is waiting for that and I want to avoid backporting to 6.1.34.

Quoted 9 lines
Quoted 4 lines

There is a brewing rebase to v6.1.42 pending tests here, no challenging source conflict. I pushed the tree untagged to the v6.1.y-rebase branch if you want to give it a try before Jan updates the stable branch.

We are testing against -rebase anyway (but that needs a trigger which I just provided). The merging branch is only updated once there is a release tagged.

Passed with the Xenomai 3 tests:

https://source.denx.de/Xenomai/xenomai-images/-/pipelines/17252

But can we update to 6.1.44 directly? Florian mentioned that there are Downfall-related fixes in that release.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Jan

yes, .44 is actually brewing here already.

Now we are .45 even. Will this one be tagged? CI looks good so far.

Nope, .44 was broken due to [1]. .45 looks better with this fix in place. This issue triggered on kvm/arm64 w/ PROVE_LOCKING enabled.

[1] https://source.denx.de/Xenomai/linux-dovetail/-/commit/60ae6e4ea6a074698be4d999e96e9c3697b18ea1

Signature · 1 line
Philippe.
author
#10 lore raw
Quoted 85 lines · Philippe Gerum
Quoted 82 lines · Jan Kiszka
Quoted 80 lines · Philippe Gerum
Quoted 66 lines · Jan Kiszka
Quoted 55 lines · Jan Kiszka
Quoted 54 lines · Philippe Gerum
Quoted 50 lines · Florian Bezdeka
Quoted 41 lines · Florian Bezdeka
Quoted 31 lines · Philippe Gerum

Hi,

Quoted 8 lines · Jan Kiszka

Hi Philippe,

quick feedback on latest rebasing:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/8f155631c8b51731dfc2ae5145d4dcc68f2ed7ed

This was likely accidentally folded, right?

It looks so. This conditional statement appeared upstream during the v6.0 cycle it seems, and was unfortunately left unfixed in the dovetail patch for this entire series.

Quoted 14 lines

Furthermore, I will factor this change out into a separate commit in merging v6.1.y-dovetail, for better traceability:

arch/x86/mm/fault.c +1 -1
index ce8bdd804bc7..c843bf352999 100644
@@ -1466,7 +1466,7 @@ void do_user_addr_fault(struct pt_regs *regs,
 
 	/* The fault is fully completed (including releasing mmap lock) */
 	if (fault & VM_FAULT_COMPLETED)
-		return;
+		goto out;
 
Quoted 8 lines
Quoted 5 lines
arch/x86/mm/fault.c +0 -0
 	/*
 	 * If we need to retry the mmap_lock has already been released,

To my understanding, this was a dovetail fix that applied to previous versions as well.

Only to v6.0, however this series is not maintained dovetail-wise anymore, so this stayed under the radar.

Quoted 3 lines

FYI: This change fixes a real issue here. The 6.1-rebase branch made it through a 24h stress test while the "merge" branch failed. Happily waiting for the next release...

Do we have a idea / plan when the next 6.1 dovetail release will happen? My internal customer is waiting for that and I want to avoid backporting to 6.1.34.

Quoted 9 lines
Quoted 4 lines

There is a brewing rebase to v6.1.42 pending tests here, no challenging source conflict. I pushed the tree untagged to the v6.1.y-rebase branch if you want to give it a try before Jan updates the stable branch.

We are testing against -rebase anyway (but that needs a trigger which I just provided). The merging branch is only updated once there is a release tagged.

Quoted 8 lines

Passed with the Xenomai 3 tests:

https://source.denx.de/Xenomai/xenomai-images/-/pipelines/17252

But can we update to 6.1.44 directly? Florian mentioned that there are Downfall-related fixes in that release.

Jan

yes, .44 is actually brewing here already.

Quoted 8 lines
Quoted 2 lines

Now we are .45 even. Will this one be tagged? CI looks good so far.

Nope, .44 was broken due to [1]. .45 looks better with this fix in place. This issue triggered on kvm/arm64 w/ PROVE_LOCKING enabled.

[1] https://source.denx.de/Xenomai/linux-dovetail/-/commit/60ae6e4ea6a074698be4d999e96e9c3697b18ea1

Thanks for tagging v6.1.45-dovetail1 and v5.15.126-dovetail1, I've updated the merging branches accordingly. How about 5.10?

Jan

Signature · 2 lines
Siemens AG, Technology
Linux Expert Center
#11 lore raw
Quoted 89 lines · Jan Kiszka
Quoted 88 lines · Philippe Gerum
Quoted 84 lines · Jan Kiszka
Quoted 71 lines · Philippe Gerum
Quoted 68 lines · Jan Kiszka
Quoted 55 lines · Jan Kiszka
Quoted 54 lines · Philippe Gerum
Quoted 50 lines · Florian Bezdeka
Quoted 41 lines · Florian Bezdeka
Quoted 31 lines · Philippe Gerum

Hi,

Quoted 8 lines · Jan Kiszka

Hi Philippe,

quick feedback on latest rebasing:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/8f155631c8b51731dfc2ae5145d4dcc68f2ed7ed

This was likely accidentally folded, right?

It looks so. This conditional statement appeared upstream during the v6.0 cycle it seems, and was unfortunately left unfixed in the dovetail patch for this entire series.

Quoted 14 lines

Furthermore, I will factor this change out into a separate commit in merging v6.1.y-dovetail, for better traceability:

arch/x86/mm/fault.c +1 -1
index ce8bdd804bc7..c843bf352999 100644
@@ -1466,7 +1466,7 @@ void do_user_addr_fault(struct pt_regs *regs,
 
 	/* The fault is fully completed (including releasing mmap lock) */
 	if (fault & VM_FAULT_COMPLETED)
-		return;
+		goto out;
 
Quoted 8 lines
Quoted 5 lines
arch/x86/mm/fault.c +0 -0
 	/*
 	 * If we need to retry the mmap_lock has already been released,

To my understanding, this was a dovetail fix that applied to previous versions as well.

Only to v6.0, however this series is not maintained dovetail-wise anymore, so this stayed under the radar.

Quoted 3 lines

FYI: This change fixes a real issue here. The 6.1-rebase branch made it through a 24h stress test while the "merge" branch failed. Happily waiting for the next release...

Do we have a idea / plan when the next 6.1 dovetail release will happen? My internal customer is waiting for that and I want to avoid backporting to 6.1.34.

Quoted 9 lines
Quoted 4 lines

There is a brewing rebase to v6.1.42 pending tests here, no challenging source conflict. I pushed the tree untagged to the v6.1.y-rebase branch if you want to give it a try before Jan updates the stable branch.

We are testing against -rebase anyway (but that needs a trigger which I just provided). The merging branch is only updated once there is a release tagged.

Passed with the Xenomai 3 tests:

Quoted 9 lines
Quoted 6 lines

https://source.denx.de/Xenomai/xenomai-images/-/pipelines/17252

But can we update to 6.1.44 directly? Florian mentioned that there are Downfall-related fixes in that release.

Jan

yes, .44 is actually brewing here already.

Now we are .45 even. Will this one be tagged? CI looks good so far.

Quoted 9 lines
Quoted 5 lines

Nope, .44 was broken due to [1]. .45 looks better with this fix in place. This issue triggered on kvm/arm64 w/ PROVE_LOCKING enabled.

[1] https://source.denx.de/Xenomai/linux-dovetail/-/commit/60ae6e4ea6a074698be4d999e96e9c3697b18ea1

Thanks for tagging v6.1.45-dovetail1 and v5.15.126-dovetail1, I've updated the merging branches accordingly. How about 5.10?

Not done with testing yet.

Signature · 1 line
Philippe.
author
#12 lore raw
Quoted 95 lines · Philippe Gerum
Quoted 92 lines · Jan Kiszka
Quoted 91 lines · Philippe Gerum
Quoted 77 lines · Jan Kiszka
Quoted 76 lines · Philippe Gerum
Quoted 73 lines · Jan Kiszka
Quoted 55 lines · Jan Kiszka
Quoted 54 lines · Philippe Gerum
Quoted 50 lines · Florian Bezdeka
Quoted 41 lines · Florian Bezdeka
Quoted 31 lines · Philippe Gerum

Hi,

Quoted 8 lines · Jan Kiszka

Hi Philippe,

quick feedback on latest rebasing:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/8f155631c8b51731dfc2ae5145d4dcc68f2ed7ed

This was likely accidentally folded, right?

It looks so. This conditional statement appeared upstream during the v6.0 cycle it seems, and was unfortunately left unfixed in the dovetail patch for this entire series.

Quoted 14 lines

Furthermore, I will factor this change out into a separate commit in merging v6.1.y-dovetail, for better traceability:

arch/x86/mm/fault.c +1 -1
index ce8bdd804bc7..c843bf352999 100644
@@ -1466,7 +1466,7 @@ void do_user_addr_fault(struct pt_regs *regs,
 
 	/* The fault is fully completed (including releasing mmap lock) */
 	if (fault & VM_FAULT_COMPLETED)
-		return;
+		goto out;
 
Quoted 8 lines
Quoted 5 lines
arch/x86/mm/fault.c +0 -0
 	/*
 	 * If we need to retry the mmap_lock has already been released,

To my understanding, this was a dovetail fix that applied to previous versions as well.

Only to v6.0, however this series is not maintained dovetail-wise anymore, so this stayed under the radar.

Quoted 3 lines

FYI: This change fixes a real issue here. The 6.1-rebase branch made it through a 24h stress test while the "merge" branch failed. Happily waiting for the next release...

Do we have a idea / plan when the next 6.1 dovetail release will happen? My internal customer is waiting for that and I want to avoid backporting to 6.1.34.

Quoted 9 lines
Quoted 4 lines

There is a brewing rebase to v6.1.42 pending tests here, no challenging source conflict. I pushed the tree untagged to the v6.1.y-rebase branch if you want to give it a try before Jan updates the stable branch.

We are testing against -rebase anyway (but that needs a trigger which I just provided). The merging branch is only updated once there is a release tagged.

Passed with the Xenomai 3 tests:

https://source.denx.de/Xenomai/xenomai-images/-/pipelines/17252

But can we update to 6.1.44 directly? Florian mentioned that there are Downfall-related fixes in that release.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Jan

yes, .44 is actually brewing here already.

Now we are .45 even. Will this one be tagged? CI looks good so far.

Nope, .44 was broken due to [1]. .45 looks better with this fix in place. This issue triggered on kvm/arm64 w/ PROVE_LOCKING enabled.

Quoted 9 lines
Quoted 6 lines
Quoted 2 lines

[1] https://source.denx.de/Xenomai/linux-dovetail/-/commit/60ae6e4ea6a074698be4d999e96e9c3697b18ea1

Thanks for tagging v6.1.45-dovetail1 and v5.15.126-dovetail1, I've updated the merging branches accordingly. How about 5.10?

Not done with testing yet.

If you push to -rebase, we could join that effort.

Jan

Signature · 2 lines
Siemens AG, Technology
Linux Expert Center
#13 lore raw
Quoted 99 lines · Jan Kiszka
Quoted 98 lines · Philippe Gerum
Quoted 95 lines · Jan Kiszka
Quoted 93 lines · Philippe Gerum
Quoted 77 lines · Jan Kiszka
Quoted 76 lines · Philippe Gerum
Quoted 73 lines · Jan Kiszka
Quoted 55 lines · Jan Kiszka
Quoted 54 lines · Philippe Gerum
Quoted 50 lines · Florian Bezdeka
Quoted 41 lines · Florian Bezdeka
Quoted 31 lines · Philippe Gerum

Hi,

Quoted 8 lines · Jan Kiszka

Hi Philippe,

quick feedback on latest rebasing:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/8f155631c8b51731dfc2ae5145d4dcc68f2ed7ed

This was likely accidentally folded, right?

It looks so. This conditional statement appeared upstream during the v6.0 cycle it seems, and was unfortunately left unfixed in the dovetail patch for this entire series.

Quoted 14 lines

Furthermore, I will factor this change out into a separate commit in
merging v6.1.y-dovetail, for better traceability:

diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index ce8bdd804bc7..c843bf352999 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -1466,7 +1466,7 @@ void do_user_addr_fault(struct pt_regs *regs,

/* The fault is fully completed (including releasing mmap lock) */
if (fault & VM_FAULT_COMPLETED)
- return;
+ goto out;

Quoted 8 lines
Quoted 5 lines

/*
* If we need to retry the mmap_lock has already been released,

To my understanding, this was a dovetail fix that applied to previous
versions as well.

Only to v6.0, however this series is not maintained dovetail-wise anymore, so this stayed under the radar.

Quoted 3 lines

FYI: This change fixes a real issue here. The 6.1-rebase branch made it through a 24h stress test while the "merge" branch failed. Happily waiting for the next release...

Do we have a idea / plan when the next 6.1 dovetail release will happen? My internal customer is waiting for that and I want to avoid backporting to 6.1.34.

Quoted 9 lines
Quoted 4 lines

There is a brewing rebase to v6.1.42 pending tests here, no challenging source conflict. I pushed the tree untagged to the v6.1.y-rebase branch if you want to give it a try before Jan updates the stable branch.

We are testing against -rebase anyway (but that needs a trigger which I just provided). The merging branch is only updated once there is a release tagged.

Passed with the Xenomai 3 tests:

https://source.denx.de/Xenomai/xenomai-images/-/pipelines/17252

But can we update to 6.1.44 directly? Florian mentioned that there are Downfall-related fixes in that release.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Jan

yes, .44 is actually brewing here already.

Now we are .45 even. Will this one be tagged? CI looks good so far.

Nope, .44 was broken due to [1]. .45 looks better with this fix in place. This issue triggered on kvm/arm64 w/ PROVE_LOCKING enabled.

[1] https://source.denx.de/Xenomai/linux-dovetail/-/commit/60ae6e4ea6a074698be4d999e96e9c3697b18ea1

Quoted 9 lines
Quoted 6 lines
Quoted 3 lines

Thanks for tagging v6.1.45-dovetail1 and v5.15.126-dovetail1, I've updated the merging branches accordingly. How about 5.10?

Not done with testing yet.

If you push to -rebase, we could join that effort.

This would help, thanks. Pushed now.

Signature · 1 line
Philippe.
author
#14 lore raw
Quoted 106 lines · Philippe Gerum
Quoted 103 lines · Jan Kiszka
Quoted 102 lines · Philippe Gerum
Quoted 98 lines · Jan Kiszka
Quoted 85 lines · Philippe Gerum
Quoted 82 lines · Jan Kiszka
Quoted 80 lines · Philippe Gerum
Quoted 66 lines · Jan Kiszka
Quoted 55 lines · Jan Kiszka
Quoted 54 lines · Philippe Gerum
Quoted 50 lines · Florian Bezdeka
Quoted 41 lines · Florian Bezdeka
Quoted 39 lines · Philippe Gerum

Hi,

Jan Kiszka <[email protected]> writes:

Hi Philippe,

quick feedback on latest rebasing:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/8f155631c8b51731dfc2ae5145d4dcc68f2ed7ed

This was likely accidentally folded, right?

It looks so. This conditional statement appeared upstream during the
v6.0 cycle it seems, and was unfortunately left unfixed in the dovetail
patch for this entire series.

Furthermore, I will factor this change out into a separate commit in
merging v6.1.y-dovetail, for better traceability:

diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index ce8bdd804bc7..c843bf352999 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -1466,7 +1466,7 @@ void do_user_addr_fault(struct pt_regs *regs,

/* The fault is fully completed (including releasing mmap lock) */
if (fault & VM_FAULT_COMPLETED)
- return;
+ goto out;

/*
* If we need to retry the mmap_lock has already been released,

To my understanding, this was a dovetail fix that applied to previous
versions as well.

Only to v6.0, however this series is not maintained dovetail-wise
anymore, so this stayed under the radar.

Quoted 3 lines

FYI: This change fixes a real issue here. The 6.1-rebase branch made it through a 24h stress test while the "merge" branch failed. Happily waiting for the next release...

Do we have a idea / plan when the next 6.1 dovetail release will happen? My internal customer is waiting for that and I want to avoid backporting to 6.1.34.

Quoted 9 lines
Quoted 4 lines

There is a brewing rebase to v6.1.42 pending tests here, no challenging source conflict. I pushed the tree untagged to the v6.1.y-rebase branch if you want to give it a try before Jan updates the stable branch.

We are testing against -rebase anyway (but that needs a trigger which I just provided). The merging branch is only updated once there is a release tagged.

Quoted 8 lines

Passed with the Xenomai 3 tests:

https://source.denx.de/Xenomai/xenomai-images/-/pipelines/17252

But can we update to 6.1.44 directly? Florian mentioned that there are Downfall-related fixes in that release.

Jan

yes, .44 is actually brewing here already.

Quoted 8 lines
Quoted 2 lines

Now we are .45 even. Will this one be tagged? CI looks good so far.

Nope, .44 was broken due to [1]. .45 looks better with this fix in place. This issue triggered on kvm/arm64 w/ PROVE_LOCKING enabled.

[1] https://source.denx.de/Xenomai/linux-dovetail/-/commit/60ae6e4ea6a074698be4d999e96e9c3697b18ea1

Thanks for tagging v6.1.45-dovetail1 and v5.15.126-dovetail1, I've updated the merging branches accordingly. How about 5.10?

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Not done with testing yet.

If you push to -rebase, we could join that effort.

This would help, thanks. Pushed now.

Tests went well:
https://source.denx.de/Xenomai/xenomai-images/-/jobs/681220
https://source.denx.de/Xenomai/xenomai-images/-/jobs/681219
https://source.denx.de/Xenomai/xenomai-images/-/jobs/681218

Jan

Signature · 2 lines
Siemens AG, Technology
Linux Expert Center