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 60D30CCFA00 for ; Sun, 2 Nov 2025 23:04:37 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vFh7G-0007bz-9t; Sun, 02 Nov 2025 18:04: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 1vFh7E-0007bb-WC for qemu-devel@nongnu.org; Sun, 02 Nov 2025 18:04:05 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vFh7D-0003ek-6y for qemu-devel@nongnu.org; Sun, 02 Nov 2025 18:04:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1762124642; 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=vhJlhyl3Tq6ZrMsbM4j6dNCCYitvL7uLEe94HeZ7A+M=; b=K32lR3CUpD05C4RoTaJ+xKtBDnFfAd+jRlDx9LOL5v+sqd+irOUIaG+LN9guN2fzodY6/N vttOnyNk8XYmHXWpEsPoC5e14n/M8TBts8B0PasPmybiEPAe9BvrRAH09DBGdIeH2ggcrR kT0iYieD9LXjLbP34QHhIoQ3s7+mo9I= Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-90-J78MD_bPMw2zGdtp-2McPg-1; Sun, 02 Nov 2025 18:04:01 -0500 X-MC-Unique: J78MD_bPMw2zGdtp-2McPg-1 X-Mimecast-MFC-AGG-ID: J78MD_bPMw2zGdtp-2McPg_1762124640 Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-33baf262850so4427135a91.0 for ; Sun, 02 Nov 2025 15:04:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1762124640; x=1762729440; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=vhJlhyl3Tq6ZrMsbM4j6dNCCYitvL7uLEe94HeZ7A+M=; b=lmmn91wVvbgxFkjBpyPSA94iw8IhemtBse/zNvyaoBw4EPv8bYH98ZbD0/vhvO+9mW JaWfc0W/t+eh9jUq9qLIg7H2k7dR6Ffua2bUKroz4nDWdLi/pVpjNlhYnRB6Xiv2Q8SS nmd9tUFur3/3Tt5SPHF5cmhBVKhffmMBYiKySlsx2xMWr7YhXsrKHnVEAQc3d1ocNHkP 6Z5MuUXG78BoWT2/eeMXBkuoLH7BRWOpyly/OO9ruqZql7wutFOjOELs2lQ5/Z2rnWgl AVl06LMDm1rdXSf5zbUhUMZGJB/0KjpPl3bY1XWURh3l0f+18UloPBZ8+N4viXZ2hv7Q DmTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762124640; x=1762729440; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vhJlhyl3Tq6ZrMsbM4j6dNCCYitvL7uLEe94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kBMbc6eLPAWdShJozg= X-Received: by 2002:a17:90b:1c8c:b0:340:5b6a:5bb0 with SMTP id 98e67ed59e1d1-34083088e22mr13670421a91.26.1762124639901; Sun, 02 Nov 2025 15:03:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFbk65Ry5yCUNKJVbZPPGEItAfFuloNNmDHhrcdVvNWci7j36taDGABSh1mXIPA3xolwSYaw== X-Received: by 2002:a17:90b:1c8c:b0:340:5b6a:5bb0 with SMTP id 98e67ed59e1d1-34083088e22mr13670394a91.26.1762124639515; Sun, 02 Nov 2025 15:03:59 -0800 (PST) Received: from [192.168.68.51] (n175-34-62-5.mrk21.qld.optusnet.com.au. [175.34.62.5]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3409288c910sm8826544a91.8.2025.11.02.15.03.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 Nov 2025 15:03:59 -0800 (PST) Message-ID: Date: Mon, 3 Nov 2025 09:03:53 +1000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RESEND v2 3/3] target/arm/kvm: Support multiple memory CPERs injection To: Jonathan Cameron Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, mst@redhat.com, imammedo@redhat.com, anisinha@redhat.com, gengdongjiu1@gmail.com, peter.maydell@linaro.org, pbonzini@redhat.com, mchehab+huawei@kernel.org, shan.gavin@gmail.com References: <20251007060810.258536-1-gshan@redhat.com> <20251007060810.258536-4-gshan@redhat.com> <20251031101051.00006fa3@huawei.com> Content-Language: en-US From: Gavin Shan In-Reply-To: <20251031101051.00006fa3@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=170.10.133.124; envelope-from=gshan@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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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 10/31/25 8:10 PM, Jonathan Cameron wrote: > On Tue, 7 Oct 2025 16:08:10 +1000 > Gavin Shan wrote: > >> In the combination of 64KB host and 4KB guest, a problematic host page >> affects 16x guest pages. In this specific case, it's reasonable to >> push 16 consecutive memory CPERs. Otherwise, QEMU can run into core >> dump due to the current error can't be delivered as the previous error >> isn't acknoledges. It's caused by the nature the host page can be >> accessed in parallel due to the mismatched host and guest page sizes. >> >> Imporve push_ghes_memory_errors() to push 16x consecutive memory CPERs >> for this specific case. The maximal error block size is bumped to 4KB, >> providing enough storage space for those 16x memory CPERs. >> >> Signed-off-by: Gavin Shan > Subject to tests being added and the Docs update Mauro requested + follow > on from earlier patch reviews, this looks good to me. > Yes, the ACPI tables were forgotten to be patched in the last respin. I will do in the next respin. Thanks, Gavin