From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758089AbcBDNvG (ORCPT ); Thu, 4 Feb 2016 08:51:06 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:32505 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755908AbcBDNvD (ORCPT ); Thu, 4 Feb 2016 08:51:03 -0500 Subject: Re: [Xen-devel] [PATCH v2 10/11] xen/hvmlite: Boot secondary CPUs To: David Vrabel , konrad.wilk@oracle.com References: <1454341137-14110-1-git-send-email-boris.ostrovsky@oracle.com> <1454341137-14110-11-git-send-email-boris.ostrovsky@oracle.com> <56B32A29.6050406@citrix.com> Cc: xen-devel@lists.xenproject.org, mcgrof@suse.com, linux-kernel@vger.kernel.org, roger.pau@citrix.com From: Boris Ostrovsky Message-ID: <56B35748.3010302@oracle.com> Date: Thu, 4 Feb 2016 08:51:04 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <56B32A29.6050406@citrix.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: userv0021.oracle.com [156.151.31.71] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/04/2016 05:38 AM, David Vrabel wrote: > On 01/02/16 15:38, Boris Ostrovsky wrote: >> HVMlite secondary VCPUs use baremetal bringup path (i.e. native_* >> smp_ops) but need to do some preparation in PV code. > If we always provided an emulated APIC could we use the native SMP > bring-up instead? We do use native SMP bringup now (wrapped in xen_hvm_cpu_up/xen_cpu_die/xen_play_dead)), I added a couple of PV APIC ops to help with that, most notably xen_wakeup_secondary_cpu(). -boris