From patchwork Thu Jan 20 12:36:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 533577 Delivered-To: patch@linaro.org Received: by 2002:ac0:f7d2:0:0:0:0:0 with SMTP id i18csp31406imr; Thu, 20 Jan 2022 10:05:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJxvwKPMLHOYIUi8TmT60yYcGVbuCss0ItoYuRbA0rfFsu7t6tgvzG5rQqg2a8Jq1S7lPt98 X-Received: by 2002:ae9:c00f:: with SMTP id u15mr25038067qkk.689.1642701954040; Thu, 20 Jan 2022 10:05:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642701954; cv=none; d=google.com; s=arc-20160816; b=pvkARmvoFd0F0RBWhEblQKN6WcqZHvpHmU+bFCcAoT6Z3W/To/RA/JjC6ocBvh1PSa iORLR6dJ8tEAvC29Y+5nu22gKoCPDCjJnh8nIPRNnNm8l6G06t2AUVNHbhw6G33v52yt usIEp7N2npbcXp3oM9ZUjIZMu0lLdO6+csy83J4oiyxdPsLunH3TZdp2ISmdeaWjiV8+ 1mANX5XPuTPujj/t5mlsinacYW7MikCQiNgDrcoHRwHlyi4KwADIDfItwmGJbHWWhzV2 VdMnI4D85d7WZfAKVeGPuonXiKP598W+Oo2vlb9XiOtbVN9LephWgOg9AVG9A54LqNWF 6Kiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=qfyJb/sQ4VdSLxqMkRq8iOSNvW9SZMwppbA8FN64ZVE=; b=1C1ukJ//zupA0Lk1hhZsS4qWtrf33ooxeO0GDfbSU1hfscmEnJUMJhfzoSVSR4Gcun 2fUd6gDlADSBiGN/rWdbh11MeS/wt8cS8DY1xoXnOR7RLtgKugcqreFUD9XYAEFSJ5MQ ix3vrkjrZzneehERIDKoFYAQhJ8GEJ/58K6x73GMBKsHFCQLwuZ/YswqUMv5JsOSVFdI FLqaqRk6sYMbRYXct8UxpMxqpizLqadsvUJGUcvTgLYrUMbVm6YXTw2ebQOHIiwsKf9d c6ChvfGDucuQRyUAwuIwJHgH8XZhfO5aZTNslu6dqKzAhgyTAHKtJAag+3M/aMMKdB8K 0l9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=czCeS5av; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h192si83659ywc.443.2022.01.20.10.05.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Jan 2022 10:05:54 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=czCeS5av; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAbon-0007eg-Gs for patch@linaro.org; Thu, 20 Jan 2022 13:05:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAWgM-0004AI-Iy for qemu-devel@nongnu.org; Thu, 20 Jan 2022 07:36:51 -0500 Received: from [2a00:1450:4864:20::32d] (port=53888 helo=mail-wm1-x32d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAWgI-00039H-RP for qemu-devel@nongnu.org; Thu, 20 Jan 2022 07:36:49 -0500 Received: by mail-wm1-x32d.google.com with SMTP id n8so11773714wmk.3 for ; Thu, 20 Jan 2022 04:36:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=qfyJb/sQ4VdSLxqMkRq8iOSNvW9SZMwppbA8FN64ZVE=; b=czCeS5av/SmGGFBYY1QYWAu0IqjseqY1KNqEPdv2sDZlbSInjzlCCTi1f+mupnVOY/ Hpud8V8AzPKcwTdkqSePgNTEaC/SRJbCo5zadBpECyp7qGduq2rmg+hNeY1rgw0U1KFm yaU3D6MdoE7FxYF8swojfAR3T/uwMwU8IPqarT2+b9l9j58QT+NqzIdfUqVLT53p4AfU 3lA/VSpescigqXLyYyi/58VCtPKj9whSitmP/LV2pTxtOWS02tczKfOoWnltllKC0Kz/ GRaLUt88mUSiwHmi1fyMYfGwcQvjA6e7AvAc4LTs68W9dxCe/TIyToRNZa9J/GvPVdJr 05GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qfyJb/sQ4VdSLxqMkRq8iOSNvW9SZMwppbA8FN64ZVE=; b=vdzfqVPAiazqH5LugkNWhoZ55jOaz/bwBIyj39+EsTG3+Nc+89HO6UbEMycBUsGJCH ITIckoCIM+MKDKZvTmJAF2LWWmYJ+eBbDlpQ51NLQQrlNS5pIyHe2/9DJX4pYYmZAfUz 3429k5Eb0khEBE7Hbc+5vvgf0IEiUTj1Yo4KJRuLM/sEUoTg3wwba2nfP9zk04B+zLRq bP5rPAUM4sqyNPAVcf2JRVbFWxf49TZKzRhh8xaTnU9x4RZqT8qM5DK9PN2O9Bkwoudv zXEFpVN4MDBIq0dr11DR7yStN4S7jdS1RIrexeoNjCxASloIEYWyCdpSMhvRUo34YRJz Gd9g== X-Gm-Message-State: AOAM530XdwdPA8MMwIL2V3WAnRGBkHL/RcwyTTLlI0vKnyh0wI0yqotz 5kKybbf/OgoPXDTc+T2OHscTl+iFp4EXgA== X-Received: by 2002:adf:dfc8:: with SMTP id q8mr34992748wrn.142.1642682201329; Thu, 20 Jan 2022 04:36:41 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id t8sm7993324wmq.43.2022.01.20.04.36.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 04:36:40 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 10/38] tests/acpi/bios-table-test: Update expected virt/PPTT file Date: Thu, 20 Jan 2022 12:36:02 +0000 Message-Id: <20220120123630.267975-11-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220120123630.267975-1-peter.maydell@linaro.org> References: <20220120123630.267975-1-peter.maydell@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32d (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32d.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Yanan Wang Run ./tests/data/acpi/rebuild-expected-aml.sh from build directory to update PPTT binary. Also empty bios-tables-test-allowed-diff.h. The disassembled differences between actual and expected PPTT: /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20200528 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/PPTT, Tue Jan 4 12:51:11 2022 + * Disassembly of /tmp/aml-2ZGOF1, Tue Jan 4 12:51:11 2022 * * ACPI Data Table [PPTT] * * Format: [HexOffset DecimalOffset ByteLength] FieldName : FieldValue */ [000h 0000 4] Signature : "PPTT" [Processor Properties Topology Table] -[004h 0004 4] Table Length : 0000004C +[004h 0004 4] Table Length : 00000060 [008h 0008 1] Revision : 02 -[009h 0009 1] Checksum : A8 +[009h 0009 1] Checksum : 48 [00Ah 0010 6] Oem ID : "BOCHS " [010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 [024h 0036 1] Subtable Type : 00 [Processor Hierarchy Node] [025h 0037 1] Length : 14 [026h 0038 2] Reserved : 0000 [028h 0040 4] Flags (decoded below) : 00000001 Physical package : 1 ACPI Processor ID valid : 0 Processor is a thread : 0 Node is a leaf : 0 Identical Implementation : 0 [02Ch 0044 4] Parent : 00000000 [030h 0048 4] ACPI Processor ID : 00000000 [034h 0052 4] Private Resource Number : 00000000 [038h 0056 1] Subtable Type : 00 [Processor Hierarchy Node] [039h 0057 1] Length : 14 [03Ah 0058 2] Reserved : 0000 -[03Ch 0060 4] Flags (decoded below) : 0000000A +[03Ch 0060 4] Flags (decoded below) : 00000000 Physical package : 0 - ACPI Processor ID valid : 1 + ACPI Processor ID valid : 0 Processor is a thread : 0 - Node is a leaf : 1 + Node is a leaf : 0 Identical Implementation : 0 [040h 0064 4] Parent : 00000024 [044h 0068 4] ACPI Processor ID : 00000000 [048h 0072 4] Private Resource Number : 00000000 -Raw Table Data: Length 76 (0x4C) +[04Ch 0076 1] Subtable Type : 00 [Processor Hierarchy Node] +[04Dh 0077 1] Length : 14 +[04Eh 0078 2] Reserved : 0000 +[050h 0080 4] Flags (decoded below) : 0000000A + Physical package : 0 + ACPI Processor ID valid : 1 + Processor is a thread : 0 + Node is a leaf : 1 + Identical Implementation : 0 +[054h 0084 4] Parent : 00000038 +[058h 0088 4] ACPI Processor ID : 00000000 +[05Ch 0092 4] Private Resource Number : 00000000 + +Raw Table Data: Length 96 (0x60) - 0000: 50 50 54 54 4C 00 00 00 02 A8 42 4F 43 48 53 20 // PPTTL.....BOCHS + 0000: 50 50 54 54 60 00 00 00 02 48 42 4F 43 48 53 20 // PPTT`....HBOCHS 0010: 42 58 50 43 20 20 20 20 01 00 00 00 42 58 50 43 // BXPC ....BXPC 0020: 01 00 00 00 00 14 00 00 01 00 00 00 00 00 00 00 // ................ - 0030: 00 00 00 00 00 00 00 00 00 14 00 00 0A 00 00 00 // ................ - 0040: 24 00 00 00 00 00 00 00 00 00 00 00 // $........... + 0030: 00 00 00 00 00 00 00 00 00 14 00 00 00 00 00 00 // ................ + 0040: 24 00 00 00 00 00 00 00 00 00 00 00 00 14 00 00 // $............... + 0050: 0A 00 00 00 38 00 00 00 00 00 00 00 00 00 00 00 // ....8........... Signed-off-by: Yanan Wang Reviewed-by: Ani Sinha Message-id: 20220107083232.16256-7-wangyanan55@huawei.com Signed-off-by: Peter Maydell --- tests/qtest/bios-tables-test-allowed-diff.h | 1 - tests/data/acpi/virt/PPTT | Bin 76 -> 96 bytes 2 files changed, 1 deletion(-) diff --git a/tests/data/acpi/virt/PPTT b/tests/data/acpi/virt/PPTT index 7a1258ecf123555b24462c98ccbb76b4ac1d0c2b..f56ea63b369a604877374ad696c396e796ab1c83 100644 GIT binary patch delta 53 pcmeZC;0g!`2}xjJU|{l?$YrDgWH5jU5Ca567#O&Klm(arApowi1QY-O delta 32 fcmYfB;R*-{3GrcIU|?D?k;`ae01J-_kOKn%ZFdCM diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h index cb143a55a64..dfb8523c8bf 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1,2 +1 @@ /* List of comma-separated changed AML files to ignore */ -"tests/data/acpi/virt/PPTT",