head	1.4;
access;
symbols
	pkgsrc-2022Q2:1.3.0.28
	pkgsrc-2022Q2-base:1.3
	pkgsrc-2022Q1:1.3.0.26
	pkgsrc-2022Q1-base:1.3
	pkgsrc-2021Q4:1.3.0.24
	pkgsrc-2021Q4-base:1.3
	pkgsrc-2021Q3:1.3.0.22
	pkgsrc-2021Q3-base:1.3
	pkgsrc-2021Q2:1.3.0.20
	pkgsrc-2021Q2-base:1.3
	pkgsrc-2021Q1:1.3.0.18
	pkgsrc-2021Q1-base:1.3
	pkgsrc-2020Q4:1.3.0.16
	pkgsrc-2020Q4-base:1.3
	pkgsrc-2020Q3:1.3.0.14
	pkgsrc-2020Q3-base:1.3
	pkgsrc-2020Q2:1.3.0.12
	pkgsrc-2020Q2-base:1.3
	pkgsrc-2020Q1:1.3.0.8
	pkgsrc-2020Q1-base:1.3
	pkgsrc-2019Q4:1.3.0.10
	pkgsrc-2019Q4-base:1.3
	pkgsrc-2019Q3:1.3.0.6
	pkgsrc-2019Q3-base:1.3
	pkgsrc-2019Q2:1.3.0.4
	pkgsrc-2019Q2-base:1.3
	pkgsrc-2019Q1:1.3.0.2
	pkgsrc-2019Q1-base:1.3
	pkgsrc-2018Q4:1.1.0.4
	pkgsrc-2018Q4-base:1.1
	pkgsrc-2018Q3:1.1.0.2
	pkgsrc-2018Q3-base:1.1;
locks; strict;
comment	@# @;


1.4
date	2022.06.28.16.33.25;	author bouyer;	state dead;
branches;
next	1.3;
commitid	lkljtNX5KSYPgPJD;

1.3
date	2019.03.25.15.28.13;	author bouyer;	state Exp;
branches;
next	1.2;
commitid	m6uKzjA0AM4NbLgB;

1.2
date	2019.03.07.11.13.27;	author bouyer;	state dead;
branches;
next	1.1;
commitid	Gzute5jK7xPyjqeB;

1.1
date	2018.07.24.13.40.11;	author bouyer;	state Exp;
branches;
next	;
commitid	QjVUWJGQIz5tqoLA;


desc
@@


1.4
log
@Remove xenkernel411 and xenkernel411, they're EOL upstream
@
text
@$NetBSD: patch-zz-bouyer,v 1.3 2019/03/25 15:28:13 bouyer Exp $
Dirty hack to avoid assert failure. This has been discussed on xen-devel
but no solution has been found so far.
The box producing http://www-soc.lip6.fr/~bouyer/NetBSD-tests/xen/
is running with this patch; the printk has fired but the
hypervisor keeps running.

--- xen/arch/x86/mm.c.orig	2018-07-19 10:32:07.000000000 +0200
+++ xen/arch/x86/mm.c	2018-07-21 20:47:47.000000000 +0200
@@@@ -674,7 +674,12 @@@@
     typeof(pg->linear_pt_count) oc;
 
     oc = arch_fetch_and_add(&pg->linear_pt_count, -1);
-    ASSERT(oc > 0);
+    if (oc <= 0) {
+            gdprintk(XENLOG_WARNING,
+                 "mm.c:dec_linear_entries(): oc %d would fail assert\n", oc);
+	    pg->linear_pt_count = 0;
+    }
+    /* ASSERT(oc > 0); */
 }
 
 static bool inc_linear_uses(struct page_info *pg)
@


1.3
log
@The ASSERT(oc > 0) bug is still here, it's just that it doens't show up
any more on my test server. So add back the workaround.
Bump PKGREVISION
@
text
@d1 1
a1 1
$NetBSD: patch-zz-bouyer,v 1.1 2018/07/24 13:40:11 bouyer Exp $
@


1.2
log
@Update to 4.11.1nb1
PKGREVISION set to 1 on purpose, because this is not a stock 4.11.1 kernel
(it includes security patches).
4.11.1 includes all security patches up to XSA282.
Apply official patches for XSA284, XSA285, XSA287, XSA288, XSA290, XSA291,
XSA292, XSA293 and XSA294.
Other changes since 4.11.0 are mostly bugfixes, no new features.
@
text
@d3 1
a3 1
but no solution has been fonud so far.
@


1.1
log
@Add Xen 4.11.0 packages.
Note that there is a bug in 4.11 (also present in recent 4.6 and 4.8)
which causes an infrequent assert failure when running NetBSD PV guests.
The root cause has not been found, but a workaround is inclued which doesn't
seems to have ill effects. See xenkernel411/patches/patch-zz-bouyer
for details.
@
text
@d1 1
a1 1
$NetBSD: $
@

