Received: by mail.netbsd.org (Postfix, from userid 605) id C1D9C84E67; Sat, 18 Apr 2020 20:03:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 43EA384E5D for ; Sat, 18 Apr 2020 20:03:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id kgDQWqLhU8Xf for ; Sat, 18 Apr 2020 20:03:02 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id CEEF684D02 for ; Sat, 18 Apr 2020 20:03:02 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C6833FB27; Sat, 18 Apr 2020 20:03:02 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 18 Apr 2020 20:03:02 +0000 From: "Manuel Bouyer" Subject: CVS commit: [bouyer-xenpvh] src/sys/arch To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200418200302.C6833FB27@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: Sat Apr 18 20:03:02 UTC 2020 Modified Files: src/sys/arch/amd64/amd64 [bouyer-xenpvh]: vector.S src/sys/arch/i386/i386 [bouyer-xenpvh]: vector.S src/sys/arch/xen/xen [bouyer-xenpvh]: hypervisor.c Log Message: If possible, register a per-cpu callback via HVMOP_set_evtchn_upcall_vector. From FreeBSD. This requires acking the interrupt in hypervisor_pvhvm_callback. Don't try to use x86_cpu_idle_xen() for PVHVM, it cause the domU to hang. FreeBSD doesn't seem to use it either. To generate a diff of this commit: cvs rdiff -u -r1.73.6.5 -r1.73.6.6 src/sys/arch/amd64/amd64/vector.S cvs rdiff -u -r1.85.6.6 -r1.85.6.7 src/sys/arch/i386/i386/vector.S cvs rdiff -u -r1.73.2.6 -r1.73.2.7 src/sys/arch/xen/xen/hypervisor.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.