Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2018 16:54:16 +0000 (UTC)
From:      =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= <royger@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r340982 - stable/11/sys/x86/xen
Message-ID:  <201811261654.wAQGsGiK096935@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: royger
Date: Mon Nov 26 16:54:16 2018
New Revision: 340982
URL: https://svnweb.freebsd.org/changeset/base/340982

Log:
  MFC r338628: xen: limit the usage of PIRQs to a legacy PVH Dom0
  
  Sponsored by:	Citrix Systems R&D

Modified:
  stable/11/sys/x86/xen/xen_intr.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/x86/xen/xen_intr.c
==============================================================================
--- stable/11/sys/x86/xen/xen_intr.c	Mon Nov 26 16:38:39 2018	(r340981)
+++ stable/11/sys/x86/xen/xen_intr.c	Mon Nov 26 16:54:16 2018	(r340982)
@@ -658,7 +658,8 @@ xen_intr_init(void *dummy __unused)
 		xen_intr_pirq_eoi_map_enabled = true;
 
 	intr_register_pic(&xen_intr_pic);
-	intr_register_pic(&xen_intr_pirq_pic);
+	if (xen_pv_domain() && xen_initial_domain())
+		intr_register_pic(&xen_intr_pirq_pic);
 
 	if (bootverbose)
 		printf("Xen interrupt system initialized\n");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811261654.wAQGsGiK096935>