Received: by mail.netbsd.org (Postfix, from userid 605) id 4615184D4C; Thu, 9 May 2019 17:09:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B980784D76 for ; Thu, 9 May 2019 17:09:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id sCed923SJdzn for ; Thu, 9 May 2019 17:09:51 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 5535B84D3F for ; Thu, 9 May 2019 17:09:51 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 4F0F9FB16; Thu, 9 May 2019 17:09:51 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 9 May 2019 17:09:51 +0000 From: "Manuel Bouyer" Subject: CVS commit: src/sys/arch To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20190509170951.4F0F9FB16@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Manuel Bouyer" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: bouyer Date: Thu May 9 17:09:51 UTC 2019 Modified Files: src/sys/arch/x86/include: cpufunc.h src/sys/arch/xen/include: xen.h xenfunc.h src/sys/arch/xen/x86: hypervisor_machdep.c xen_intr.c src/sys/arch/xen/xen: evtchn.c Log Message: sti/cli are not allowed on Xen, we have to clear/set a bit in the shared page. Revert x86_disable_intr/x86_enable_intr to plain function calls on XENPV. While there, clean up unused functions and macros, and change cli()/sti() macros to x86_disable_intr/x86_enable_intr. Makes Xen domU boot again (http://www-soc.lip6.fr/~bouyer/NetBSD-tests/xen/HEAD/) To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/arch/x86/include/cpufunc.h cvs rdiff -u -r1.43 -r1.44 src/sys/arch/xen/include/xen.h cvs rdiff -u -r1.17 -r1.18 src/sys/arch/xen/include/xenfunc.h cvs rdiff -u -r1.35 -r1.36 src/sys/arch/xen/x86/hypervisor_machdep.c cvs rdiff -u -r1.15 -r1.16 src/sys/arch/xen/x86/xen_intr.c cvs rdiff -u -r1.85 -r1.86 src/sys/arch/xen/xen/evtchn.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.