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

Re: Problems in PV dom0 on recent x86 hardware


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Jason Andryuk <jason.andryuk@xxxxxxx>
  • Date: Tue, 16 Jul 2024 10:21:13 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=suse.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=R1GesTdzZVOiDJ3T0q9bh7q8cxBHxqzVwIG/PEWB9B0=; b=LiQwHp5eUN8zedITJk7bQofUgPuVYR995bse+6dKYbSivxsofxM+NxF2E1vRCRNVTDUX6apccp7ad2erjdRFkJbqYZ2YmGQJvxOF56YMK/menYE8eqGmKAzjNeI2Zr7fZGBj8Tx8KAEKMHXoLReiCJjLQhEIWcPMEt35VES4NK7l0+GMvCUJ1WdHJFhMsYWwZSk37DiPlf55308jKfwl/icg74j+DGM9Tatub6zkcNvRfC/pPH8H3GwK4ub6DPcjdWyCKy0SbZen3RT54eszvC5OCZwIR3vLW4kSaqYd1RsMfQ0yQ0sk0Ttf58ScvM838H2OPZCvlQB4opGUN7TubQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KdEKKwbBj556VXxzjvfV8AbHYuj1tHPBlQzRibB1dr3A+aB3irMsPSkuFiVtRiQDweUUamFIx78Q0kVDDeRYfvbOeJniNlerP25tHusga8zeL4rtVE7pX/WngstFYvq1pBlkPYBrAaMSSra87gmMq5vWIWA3/CoCDYOb3/wAskOyMbOBpoEY6pV+k/YHRsEYiSuDaFtcPCfuMxOr7ceYM23Hf8gHhB6Q0nyDxdJx5BDfuz5+T2PFHiZa2CtT+y9NpdHV56JQUG7ZFciqBOI5Ll4TeVAeAYbGcuiiCAtmyXDYpkSvf7eAQQILbKLyr7+R/ACshCnyEo7OhKaiVwMDlQ==
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Jürgen Groß <jgross@xxxxxxxx>
  • Delivery-date: Tue, 16 Jul 2024 14:50:00 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 2024-07-16 10:43, Jan Beulich wrote:
On 09.07.2024 15:08, Jason Andryuk wrote:
On 2024-07-09 06:56, Jürgen Groß wrote:
On 09.07.24 09:01, Jan Beulich wrote:
On 09.07.2024 08:36, Jürgen Groß wrote:
On 09.07.24 08:24, Jan Beulich wrote:
On 08.07.2024 23:30, Jason Andryuk wrote:
    From the backtrace, it looks like the immediate case is just
trying to
read a 4-byte version:

    >>>> [   44.575541]  ucsi_acpi_dsm+0x53/0x80
    >>>> [   44.575546]  ucsi_acpi_read+0x2e/0x60
    >>>> [   44.575550]  ucsi_register+0x24/0xa0
    >>>> [   44.575555]  ucsi_acpi_probe+0x162/0x1e3

int ucsi_register(struct ucsi *ucsi)
{
            int ret;

            ret = ucsi->ops->read(ucsi, UCSI_VERSION, &ucsi->version,
                                  sizeof(ucsi->version));

->read being ucsi_acpi_read()

However, the driver also appears write to adjacent addresses.

There are also corresponding write functions in the driver, yes, but
ucsi_acpi_async_write() (used directly or indirectly) similarly calls
ucsi_acpi_dsm(), which wires through to acpi_evaluate_dsm(). That's
ACPI object evaluation, which isn't obvious without seeing the
involved AML whether it might write said memory region.

I guess an ACPI dump would help here?

Perhaps, yes.

It is available in the bug report:

https://bugzilla.opensuse.org/show_bug.cgi?id=1227301

After acpixtract & iasl:

$ grep -ir FEEC *
dsdt.dsl:   OperationRegion (ECMM, SystemMemory, 0xFEEC2000, 0x0100)
ssdt16.dsl: OperationRegion (SUSC, SystemMemory, 0xFEEC2100, 0x30)

As I look to have only flawed variants of acpixtract to hand, any chance
you could supply me with dsdt.dsl and all ssdt*.dsl that you successfully
extracted / disassembled?

Sure thing.  There are a lot - all attached.

Regards,
Jason

Attachment: dsdt.dsl
Description: Text Data

Attachment: ssdt1.dsl
Description: Text Data

Attachment: ssdt2.dsl
Description: Text Data

Attachment: ssdt3.dsl
Description: Text Data

Attachment: ssdt4.dsl
Description: Text Data

Attachment: ssdt5.dsl
Description: Text Data

Attachment: ssdt6.dsl
Description: Text Data

Attachment: ssdt7.dsl
Description: Text Data

Attachment: ssdt8.dsl
Description: Text Data

Attachment: ssdt9.dsl
Description: Text Data

Attachment: ssdt10.dsl
Description: Text Data

Attachment: ssdt11.dsl
Description: Text Data

Attachment: ssdt12.dsl
Description: Text Data

Attachment: ssdt13.dsl
Description: Text Data

Attachment: ssdt14.dsl
Description: Text Data

Attachment: ssdt15.dsl
Description: Text Data

Attachment: ssdt16.dsl
Description: Text Data

Attachment: ssdt17.dsl
Description: Text Data

Attachment: ssdt18.dsl
Description: Text Data

Attachment: ssdt19.dsl
Description: Text Data

Attachment: ssdt20.dsl
Description: Text Data

Attachment: ssdt21.dsl
Description: Text Data

Attachment: ssdt22.dsl
Description: Text Data

Attachment: ssdt23.dsl
Description: Text Data

Attachment: ssdt24.dsl
Description: Text Data


 


Rackspace

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