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

Re: [BUG] x2apic broken with current AMD hardware


  • To: Elliott Mitchell <ehem+xen@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Wed, 8 Mar 2023 15:37:02 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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=orSWNB9CiE0Q0bjex6syvaCLMk/962wjKO6oqtxQuQE=; b=lx2OERj0eyHot3ivgQB9gVFq6SvLQ5Ce4AjUachkqbqjaH7jVBCKUDtASTBX+stFiizmkSQWWnIsOBqxFEiZWvm0tm31Ig1zNAza2WGb6+Fm9uGtOji9eq9KoIJ+5+GZyzTXDFkrhy6kddW2UhOn6pDKVEhayrOMEupzziPhmtMRbcRODOwI0LcSDrWp2PCnOoR0jVMV6k7V0AaZX5kgz8do8UNJSQCZVTwkJ6c2GpPRDPrUw6XEBTSyLpWk9850oOMsfec8avY7hejvrQ4u2JoZFi1+yYCLvhRJqGBak98kl984vfIhYrU3cekgUnjGJ55axyGdfcMAE5IKmicSwA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PFQAmNkyyx6/NreOYZ1ZWPfKTRpW7CqtwaXg3ycVaUndb7qcPNpovKdwbYwkRIkSmnc3Na0UIGz+n6ukCgKwpPoWolPCzCOoySOH0roVAqlM02O7optbNOe8shM/8VoaCY7iKT4sEjSv0UwIU2Vey9afIjsp/8LhEN6qE9f28Ke8y5vx0NHNFR3cGJbQTQrEmAxzkdaqKK00BmC9o1iTaILeKy5ZXfMbA7nc1k48BcHRI2D7jn3JOVw0zhFUiU3MFEddhPJGIShPR4jhdBDU6R8X+QpuzDlejimIZg2Ow8OG6ji/8JzPTdaS8LkwM7Vcvb8UE66W853vEonavJIcHg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Delivery-date: Wed, 08 Mar 2023 15:37:27 +0000
  • Ironport-data: A9a23:2GNt6KssvJCfi/a73KSm25QeYufnVElfMUV32f8akzHdYApBsoF/q tZmKTuGPKyOMGKgfIwnbIu18BkBv8WAnYRmHAA+qytkFCoT+JbJXdiXEBz9bniYRiHhoOCLz O1FM4Wdc5pkJpP4jk3wWlQ0hSAkjclkfpKlVKiffHg3HVQ+IMsYoUoLs/YjhYJ1isSODQqIu Nfjy+XSI1bg0DNvWo4uw/vrRChH4bKj6Fv0gnRkPaoQ5ASGxyFOZH4iDfrZw0XQE9E88tGSH 44v/JnhlkvF8hEkDM+Sk7qTWiXmlZaLYGBiIlIPM0STqkAqSh4ai87XB9JFAatjsB2bnsgZ9 Tl4ncfYpTHFnEH7sL91vxFwS0mSNEDdkVPNCSDXXce7lyUqf5ZwqhnH4Y5f0YAwo45K7W9yG fMwNzMIaSqci7uN8rOBQ/txhfx8LNLmBdZK0p1g5Wmx4fcOZ7nmGv+PyfoGmTA6i4ZJAOrUY NcfZXx3dhPcbhZTO1ARTpUjgOOvgXq5eDpdwL6XjfNvvy6Pk0osgf60b4W9lt+iHK25mm6xo G7c8nu/KRYdLNGFkhKO8262h/+JliT+MG4XPOzpra800QXDroAVID0HbECnoqWIs2Cjd9xaG kYq6jF2vYFnoSRHSfG4BXVUukWssx4RXplAHusS7VyVjKHT5m6xFmUCCzJMdtEinMs3XiAxk E+EmcvzAj5iu6HTTmiSnop4thu3MCkRaGMHOykNSFJf58G5+d5syBXSUtxkDai5yMXvHi39y CyLqy54gKgPickM1OOw+lWvby+Qm6UlhzUdvm3/Nl9JJCsgDGJ5T+REMWTm0Ms=
  • Ironport-hdrordr: A9a23:bRFhhKxQHQApRgXobm58KrPx/uskLtp133Aq2lEZdPULSKGlfp GV9sjziyWetN9xYgBHpTnkAsW9qBznhPpICOUqTNWftWrdyQiVxeNZnPLfKlTbckWQmI5gPM 9bAtBD4bbLfD9HZKjBkWyF+uIbsaK6Ge2T9JTj5kYoaTsvR7Br7g9/BAreOkpqRDNeDZ58MJ aH/MJIqxepZHxSN62Adww4dtmGg+eOuIPtYBYACRJiwA6SjQmw4Lq/NxSDxB8RXx5G3L9n22 nYlA7S4LmlrpiAu23h/l6Wy64TtMrqy9NFCsDJos8JKg/0ggLtX4hlU63qhkFKnAn6gmxKrP D85zMbe+hj4XLYeW+45TH33RP77Too43j+jXeFnHrKu6XCNXgHIvsEobgcXgrS6kImst05+r lMxXilu51eCg6FtDjh5uLPSwphmiOP0DEfeNYo/jFiuLYlGfZsRM0kjTVo+a47bVXHAVUcYa FT5MK13ocoTbrVVQGUgoBV+q3RYp0CJGb6fqE8gL3u79F3pgEJ86JK/r1uop5HzuNId6V5
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 08/03/2023 3:23 pm, Elliott Mitchell wrote:
> Mostly SSIA.  As originally identified by "Neowutran", appears Xen's
> x2apic wrapper implementation fails with current generation AMD hardware
> (Ryzen 7xxx/Zen 4).  This can be worked around by passing "x2apic=false"
> on Xen's command-line, though I'm wondering about the performance impact.
>
> There hasn't been much activity on xen-devel WRT x2apic, so a patch which
> fixed this may have flown under the radar.  Most testing has also been
> somewhat removed from HEAD.
>
> Thanks to "Neowutran" for falling on this grenade and making it easier
> for the followers.  Pointer to first report:
> https://forum.qubes-os.org/t/ryzen-7000-serie/14538

I'm sorry, but this is unactionable.

That thread is a mess of many different bugs, most entirely unrelated to
Xen in the slightest, and there is conflicting information on whether
the x2apic=false heuristic is even relevant.

There may be a Xen issue hiding in there, but my divination skill level
is unequal to the task...

~Andrew



 


Rackspace

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