From mboxrd@z Thu Jan 1 00:00:00 1970 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.gnu.org (lists.gnu.org [209.51.188.17]) (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 AEB59D116F6 for ; Tue, 2 Dec 2025 12:11:54 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vQPDm-00043S-4w; Tue, 02 Dec 2025 07:11:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vQPDa-00041V-E8 for qemu-devel@nongnu.org; Tue, 02 Dec 2025 07:10:56 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vQPDY-0004HV-0Y for qemu-devel@nongnu.org; Tue, 02 Dec 2025 07:10:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1764677448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Fr+EeQHaTBBEkfXrUEbvpgr1nkBQ0/G4WMdu4ffGE5U=; b=RiZAZCYAuvuRd0AzXu8fcAgSOAJpcBtB9DTwk7M0hb2TLT6j8F1yOx+17nZO3xIHHKG3E6 FV9Rxr9zrveJNO/D5SqtsjhO5WG14wbU9PUII9+2AarA7jzKUMbOh1+S/++7YTVmTD3rq6 hM+UmKqf0zgxeV5te73+Nybhoul6PCs= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-489-LCNfPKdIM-KsLJU9wkvdAg-1; Tue, 02 Dec 2025 07:10:47 -0500 X-MC-Unique: LCNfPKdIM-KsLJU9wkvdAg-1 X-Mimecast-MFC-AGG-ID: LCNfPKdIM-KsLJU9wkvdAg_1764677446 Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-b70b2a89c22so349088266b.0 for ; Tue, 02 Dec 2025 04:10:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1764677446; x=1765282246; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=Fr+EeQHaTBBEkfXrUEbvpgr1nkBQ0/G4WMdu4ffGE5U=; b=Vw1dcSR4Pcl2SeqT8+BNOnu+sA2O8x2FnHfTB8PNrEeZFx1sxx/8oEVyAyrWTZw8rr /HaMuU6cGfc/05RoFEB7xlcqYS42XcRlHijYhvU6fk5YZPUDxtBPuKMHxGw1EKtReDlD 85n6x4rl8E6vNm6WBCaVoiBkncL2T+ebDiik1c60OsyAj1RWvO6F2TBXQ3co0bXM27EJ w45le7bacXGz6gCXzIUfwU7wEbav0S4vtaygSf+orG9XIxnsdteTP+g7cpOLJdVQSjAJ dFcAAYe4Hn8zo8yg2RCS3D+enWvVt6KgrgagrV5XlRx1Ikl7nxz8K5lZyIQLQS/k6zV2 XxjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764677446; x=1765282246; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Fr+EeQHaTBBEkfXrUEbvpgr1nkBQ0/G4WMdu4ffGE5U=; b=rr+2Ob+OROMKG4PHmeJ2RvUeGEyCrbp5m4sZicgcvqcNyPuB6hvIr8anM0IXcr877q KHKdF9eazvkEpidk05NKYHrWlMVU5YTaGmzz1ukrIchyPbMEMaQK4EUzrcD6IlfUKweJ 403Clos2pdRusbUStujUD62gxtNWBfyI83tg79n5J57eLlC1cvBeEfeaGGfVMQOHgeB5 cSSiZkBdxaAfOyM3q5n3pR+sOG9/ZNZaYvbDAtLuDnJsbojBfzuZ9Lua2ESywepWc9Cr wgc96tlySKHU3IheXSfBa3RU+9f0U16TIMkbfCeVgp6QP12bDUB0bKmuxr+a2gelElZ5 jWlQ== X-Forwarded-Encrypted: i=1; AJvYcCXK0vlpVrmhSabF795nyedKFFhcrcjpureMp954nhPIzEDwpWEBxc2YjtZE2fVWkhBbqDGjK0zNDoM+@nongnu.org X-Gm-Message-State: AOJu0YwgB7Hg5Db9N02jaXgTqS/3Eh/RegTk/uoYHs4KH8kyVBOWsJIt 13hJ+ZfpwbqTgQf+hHuWNPPHrCxCNsxZsyBkDHbYEcYXxdukCs9Y0dIVleTHaFf/I7fBtXPpDYX U0rJWvV5vqQ3F8fj2ElX7F60TXquim9+WYSYQq69KPcmBLRGus1sMNUyf X-Gm-Gg: ASbGncsiqZtCUMkCzBwAkQrPWX87ydRVmrI6Gup63xePmIq27pq+y0m6sIahlH+b2ow uaBGGevjXf/cEXIrtnzVk3avpIPKQhCoq2EPdZxmub3OHsPJeA9YRx4cyDgVlNZ4CBiXrG+MqUr jie+hvfWfq8keDHTlsOk2DTmYrykaGxopw6pi5PcnV07MuzTbhlj7j5LDWxcBTsJcC2RGK22QEI qRHOs/A4clryqN1gC9cWtH1SriQUdoW/L5UecmDEZd+C9GobpGCvG/rSP6s+jn6TLtlGqxKArFn pmDINkBTie025Yoz37wdwdjEhNmAK1QoWt119/uBXn9tuAoIGFlV6pj0H6JngRvpVrVzjQ== X-Received: by 2002:a17:907:1c12:b0:b76:b791:b58f with SMTP id a640c23a62f3a-b79c1fb6ca5mr266877166b.0.1764677445599; Tue, 02 Dec 2025 04:10:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IEhZJuuYtbtxrJpwyf+ICnXzdNRSt0Nvo1p1tTRrSamPKNeI+X2Go+4aEfRQv2XlSLvb68dJg== X-Received: by 2002:a17:907:1c12:b0:b76:b791:b58f with SMTP id a640c23a62f3a-b79c1fb6ca5mr266874166b.0.1764677445134; Tue, 02 Dec 2025 04:10:45 -0800 (PST) Received: from imammedo ([213.175.37.14]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b76f519e331sm1522968366b.24.2025.12.02.04.10.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Dec 2025 04:10:44 -0800 (PST) Date: Tue, 2 Dec 2025 13:10:42 +0100 From: Igor Mammedov To: Gavin Shan Cc: Mauro Carvalho Chehab , qemu-arm@nongnu.org, qemu-devel@nongnu.org, jonathan.cameron@huawei.com, armbru@redhat.com, mst@redhat.com, anisinha@redhat.com, gengdongjiu1@gmail.com, peter.maydell@linaro.org, pbonzini@redhat.com, shan.gavin@gmail.com Subject: Re: [PATCH 0/5] acpi/ghes: Error object handling improvement Message-ID: <20251202131042.698612a6@imammedo> In-Reply-To: References: <20251127004435.2098335-1-gshan@redhat.com> <20251201131729.615abe68@foz.lan> <12b7baee-1d6d-440a-a119-971b47d7f3ad@redhat.com> <20251201153121.190c22ec@foz.lan> X-Mailer: Claws Mail 4.3.1 (GTK 3.24.51; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=170.10.129.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On Tue, 2 Dec 2025 00:37:53 +1000 Gavin Shan wrote: > Hi Mauro, > > On 12/2/25 12:31 AM, Mauro Carvalho Chehab wrote: > > On Tue, 2 Dec 2025 00:13:06 +1000 > > Gavin Shan wrote: > >> On 12/1/25 10:17 PM, Mauro Carvalho Chehab wrote: > >>> On Thu, 27 Nov 2025 10:44:30 +1000 > >>> Gavin Shan wrote: > > [...] > > >>> > >>> Btw, what setup are you using to test memory errors? It would be > >>> nice to have it documented somewhere, maybe at > >>> docs/specs/acpi_hest_ghes.rst. > >>> > >> > >> I don't think docs/specs/acpi_hest_ghes.rst is the right place for that > >> as it's for specifications. > > > > Perhaps not, but it would be nice to have it documented somewhere, > > either there or at QEMU wiki. > > > > QEMU wiki may be the best place for it. I never updated to QEMU wiki and > any guiding steps on how to do that? do you have an account already? > > >> I'm sharing how this is tested here to make the thread complete. > > > > Thanks! > > > >> > >> - Both host and guest has 4KB page size > >> > >> - Start the guest by the following command lines > >> > >> /home/gavin/sandbox/qemu.main/build/qemu-system-aarch64 \ > >> -accel kvm -machine virt,gic-version=host,nvdimm=on,ras=on \ > >> -cpu host -smp maxcpus=8,cpus=8,sockets=2,clusters=2,cores=2,threads=1 \ > >> -m 4096M,slots=16,maxmem=128G \ > >> -object memory-backend-ram,id=mem0,size=4096M \ > >> -numa node,nodeid=0,cpus=0-7,memdev=mem0 \ > >> -L /home/gavin/sandbox/qemu.main/build/pc-bios \ > >> -monitor none -serial mon:stdio -nographic \ > >> -gdb tcp::6666 -qmp tcp:localhost:5555,server,wait=off \ > >> -bios /home/gavin/sandbox/qemu.main/build/pc-bios/edk2-aarch64-code.fd \ > >> -boot c \ > >> -device pcie-root-port,bus=pcie.0,chassis=1,id=pcie.1 \ > >> -device pcie-root-port,bus=pcie.0,chassis=2,id=pcie.2 \ > >> -device pcie-root-port,bus=pcie.0,chassis=3,id=pcie.3 \ > >> : \ > >> -device pcie-root-port,bus=pcie.0,chassis=16,id=pcie.16 \ > >> -drive file=/home/gavin/sandbox/images/disk.qcow2,if=none,id=drive0 \ > >> -device virtio-blk-pci,id=virtblk0,bus=pcie.1,drive=drive0,num-queues=4 \ > >> -netdev tap,id=tap1,vhost=true,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown \ > >> -device virtio-net-pci,bus=pcie.8,netdev=tap1,mac=52:54:00:f1:26:b0 > >> > >> - Trigger 'victim -d' in the guest > > > > Hmm... from where I can get victim? > > > > https://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git > > > Regards, > > Mauro > > > > Thanks, > Gavin >