Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 439C0C6FA99 for ; Sat, 11 Mar 2023 00:10:21 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.508622.783468 (Exim 4.92) (envelope-from ) id 1pamo4-0003zq-Rs; Sat, 11 Mar 2023 00:09:52 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 508622.783468; Sat, 11 Mar 2023 00:09:52 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pamo4-0003zj-P5; Sat, 11 Mar 2023 00:09:52 +0000 Received: by outflank-mailman (input) for mailman id 508622; Sat, 11 Mar 2023 00:09:51 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pamo3-0003zd-A5 for xen-devel@lists.xenproject.org; Sat, 11 Mar 2023 00:09:51 +0000 Received: from mailhost.m5p.com (mailhost.m5p.com [74.104.188.4]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 070e3d2f-bfa1-11ed-956e-85ef70e17bfa; Sat, 11 Mar 2023 01:09:47 +0100 (CET) Received: from m5p.com (mailhost.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:f7]) by mailhost.m5p.com (8.16.1/8.15.2) with ESMTPS id 32B09Yqq017349 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 10 Mar 2023 19:09:40 -0500 (EST) (envelope-from ehem@m5p.com) Received: (from ehem@localhost) by m5p.com (8.16.1/8.15.2/Submit) id 32B09YGB017348; Fri, 10 Mar 2023 16:09:34 -0800 (PST) (envelope-from ehem) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 070e3d2f-bfa1-11ed-956e-85ef70e17bfa Date: Fri, 10 Mar 2023 16:09:34 -0800 From: Elliott Mitchell To: Jan Beulich Cc: xen-devel@lists.xenproject.org Subject: Re: [BUG] x2apic broken with current AMD hardware Message-ID: References: <21436010-8212-7b09-a577-09d3f57156bf@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21436010-8212-7b09-a577-09d3f57156bf@suse.com> On Thu, Mar 09, 2023 at 10:03:23AM +0100, Jan Beulich wrote: > > In any event you will want to collect a serial log at maximum verbosity. > It would also be of interest to know whether turning off the IOMMU avoids > the issue as well (on the assumption that your system has less than 255 > CPUs). I think I might have figured out the situation in a different fashion. I was taking a look at the BIOS manual for this motherboard and noticed a mention of a "Local APIC Mode" setting. Four values are listed "Compatibility", "xAPIC", "x2APIC", and "Auto". That is the sort of setting I likely left at "Auto" and that may well result in x2 functionality being disabled. Perhaps the x2APIC functionality on AMD is detecting whether the hardware is present, and failing to test whether it has been enabled? (could be useful to output a message suggesting enabling the hardware feature) -- (\___(\___(\______ --=> 8-) EHM <=-- ______/)___/)___/) \BS ( | ehem+sigmsg@m5p.com PGP 87145445 | ) / \_CS\ | _____ -O #include O- _____ | / _/ 8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445