[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3] x86/xen: Add support for HVMOP_set_evtchn_upcall_vector


  • To: Jane Malalane <jane.malalane@xxxxxxxxxx>, LKML <linux-kernel@xxxxxxxxxxxxxxx>
  • From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
  • Date: Thu, 28 Jul 2022 19:09:56 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DOQT/KUqlqsGczY6dMr3wVoRwKshwl33ymjdIQA2U1g=; b=Y4NzSirXCs6XKzZAKT20TRVmDWu/Gb90rzCtLY88Z6i0jJZu5ceKNlmwo8yK5eyM2UmYjMc+F8T8RMxvfyd+kXlv15YLim8IQfwSlZPq1VUS7hHgFlTAZRf7hS1KVE7vcw9f+k5dErLJwWo1VSECpfUNUjLx/blDOImpiXBolGhVohAnyS1tSx1gWbXT5FcObcbT/QTxBq1EUhHiSIY6xmVYVyrqrDG+TbTHMdsc/sFpTUs8Y3anUC4zYrby0p7dLJPbyp5uWGHfaga2FFbzEe4yx+VJwPkrQ9gx8kr47YudFaPwe5TG9LrMvICU1FQYZfpwjhNMRf3yhDPhfzFePg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lzCWH93LsbwdFfdaCY8bDO8UMs1c380yFP7crQTk/iWDAEi6CJshofcL8sF4pwrRKcrS2+2KVK4akdaUXkq+YLOa++VXfNV/BTWbOkRqmvmxFJ5fH2TE1CuhRwG66txtPN2ZGMswm4fi7Fn1tI/DQpIZ8AzdQE00VZZPnlElorUI+UpSB2qOCA3C7qia7GvkbVxHqy108GhP/heQRhUTE3EXtek7ANQ9tqiRRhR3viXXRnHHmqQhgkm4DQeiwAqIjSsbZgPeDnb0socjeLiAZUzEIcefwagilPJY27ilacv+ZJUxr2lUtw8ImSBsIgZ6/enOduIa2NwBnu+jsf2iZg==
  • Cc: Juergen Gross <jgross@xxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Borislav Petkov <bp@xxxxxxxxx>, Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>, x86@xxxxxxxxxx, "H. Peter Anvin" <hpa@xxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Maximilian Heyne <mheyne@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 28 Jul 2022 23:10:32 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 7/28/22 8:52 AM, Jane Malalane wrote:
+/*
+ * Setup per-vCPU vector-type callbacks and trick toolstack to think


The comment should be adjusted -- no need to mention toolstack now that that 
code has been factored out.


Other than that


Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>


+ * we are enlightened. If this setup is unavailable, fallback to the
+ * global vector-type callback.
+ */
+static __init void xen_init_setup_upcall_vector(void)
+{




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.