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

Re: [PATCH] x86/xen: fix secondary processor fpu initialization


  • To: Juergen Gross <jgross@xxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, x86@xxxxxxxxxx
  • From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
  • Date: Mon, 3 Jul 2023 13:51:57 -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=28yXbymEz3ANKb2ikl9to739c0KzjJQ3hnl6I4urb7k=; b=jzG5h95DKLqBuT3UFMQiX3CCZB0e3uXPRRa9/680J2M0L4wZiHr6iwcD7TRtlUlsMwh4tqZ5ipJG+bW8I7L8Bn6Xg3SssqR8MyVsd3sbvvqWEbTJWJCMLMfP+FnWzxn4K1CloHr07zZJ9YzXZbaXaZ8vxbl8tIoMt/M345z4ZyWW4WraglzJMxNLV/7F3pgp1+7v3q9Brs1LSNIJSXEOhfzBsv7r7cgm/6vFvGmjNqKWQ0X9ucAjxMjVygh75esSE+zvmMQ5rHssUHKt5wgkklcRGThs1EdvQ/1LVq3QSSxVR1yFHddgQctjU3+vGptOCwNoxtfC+sNUC50w8ytCVg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zg+ZPCLiM0B217EJNgtAvpOVtTxAqRq+5ZX90KTBw5ZmLuTFB4+Jau7pXbTLRQMFHm9h2BpnFGDvf8iOI4lH2qUZu1sRiwzzereG5g4xxigNPr7m6DTc/4OChzUlsvz1WO1JTtYsNkTNztCKXLE1sbBN6A4dlGAEOJmSuRrMATvakGErXCTnDhhhdGYyp4yWsxAmdzlKohxZK0EsWnJqT7kPfvVyulgjfv4IUVhd0IuWc9WiXyS/+uqWiXUZVI5Pz2DfV1OjmFjDcLGQqUERfy3xYzfuFwY/NGXX9bBVx2c3s6qwxRdburn/zf7ZH6Ho1ngtstreSWyFSapL++/uFQ==
  • Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Borislav Petkov <bp@xxxxxxxxx>, Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 03 Jul 2023 17:52:28 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>



On 7/3/23 9:00 AM, Juergen Gross wrote:
Moving the call of fpu__init_cpu() from cpu_init() to start_secondary()
broke Xen PV guests, as those don't call start_secondary() for APs.

Fix that by adding the call of fpu__init_cpu() to cpu_bringup(), which
is the Xen PV replacement of start_secondary().

Fixes: b81fac906a8f ("x86/fpu: Move FPU initialization into 
arch_cpu_finalize_init()")
Signed-off-by: Juergen Gross <jgross@xxxxxxxx>


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




 


Rackspace

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