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 5DD20C87FCA for ; Fri, 1 Aug 2025 20:51:40 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uhwig-0006vA-BL; Fri, 01 Aug 2025 16:51:14 -0400 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 1uhveg-0007xw-RQ for qemu-devel@nongnu.org; Fri, 01 Aug 2025 15:43:02 -0400 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uhvee-0003Va-Ve for qemu-devel@nongnu.org; Fri, 01 Aug 2025 15:43:02 -0400 Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-32117db952aso64275a91.0 for ; Fri, 01 Aug 2025 12:42:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1754077378; x=1754682178; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=m1GzHJVzvXUVPGDotiMouF8v4IRAjdbu+6sEQhGrmUY=; b=flwGdOhm5n1zWaqmi0Nrk08qCQCOnbZtRVQVXHTd9BoJXpSnfzew0kbxsrNTCfXNy1 X3/3/C8z1I+hH29dfseDkQFfoZRggFJvK6JGFcMEODj5NXwhJpbTV9NTJnV1yNbTE5aJ TMdxQ6B0NBx6+gyGr/JGSSdMvD2ZE6GUz9nV87+45TIoayEiYLNezooN1G/kSKrPfetn hQjThbY98wHxNNpWGQUaeuM+KQlXoJsYdB8LLR6bted8uMTGDMc8yXcK1TwmhJou4rvq U6mmdguU/cqmKC3lcaxyrDxlSHWYMpf4V6iOrPG3XG8CjyQi592VX/9gOwZZbBREqOvL DBQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1754077378; x=1754682178; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=m1GzHJVzvXUVPGDotiMouF8v4IRAjdbu+6sEQhGrmUY=; b=D0Xbx7sM3HEdtR4CKTsB1udQ+XIw4dVY7W/XCOhwDIhhZrPNYe22OdkNCakINTT0sh xQlA35gZlTO/dLr+7AVOnl2S9glXFcULi3a7BtoJYUXSlaqfQ1kRnuXSv1/qJIQcV//v p1f9QFACbOxxMPEZsOLeGKRR98ektAyPEfH3S8OKlAvTKGZKKKCC0J+j21PajLv3WDtN ChXudrmp1ERzZVDFabjQYzzkETPqzm0oAnF7TTkSmzvdu5rU/Iq1jLYw99GRy2+aeAKw wEmg0iZVsB+NHUmWag71zmu9W6iOSDPe2EwFEm+r2QUlIhwopgyEqKdgHdcXCbkbXIkE 8iDw== X-Gm-Message-State: AOJu0YwQ0puzkDeBekJSxPVF7abG9rdXOFi4rpADXbPgTgNeg+IOCVeC BnXKX6Idf9IAbFx3qvf9EUtFN9dEb9wkb819o+WYmi0XF7KsCanitIEgq1YmjD9Ojr8= X-Gm-Gg: ASbGncuPBCv35oE/E+IvQXhEnrgLqli5VykaJ7ViaLH47qjDCPbqn+SDgcQXH6I/rRe jAMR6vQzcq9ay0/smbCNOybVae3AmeJ1ledAuLz+NSNB/6ATQvsaG5MOhBy90rN5EUoYra+fUA2 QFgXxMpVUDkjgLcl3IqIyigSe591p5EilBgzBsszb8iMue7fBkYCxUHO7hDb8Ikjhv7QEB96AOA 6FBc0teWPXEX7eWuFv8cBNrURgU3SVYfw0u004M9MfqjWiJKoHEtKKeCH8WVakkCGCVNDJFQfcF YsjpG+1rbwoVIqwRr3ADVosuRvbuk9o0DZOQdwnWOq5p/HrHby4/zIAx5p57QPWETBjfio/eXh+ 1suR7w+lGSe1DMCZQSZE+6z/5Go/C2L9U+khL8S0pfgKJCQ== X-Google-Smtp-Source: AGHT+IFUI9d+0UqBMgY+QfDhUuShoGJdcaNmuEl3nahB6UcgRGYUAHJZXBL1JJKAb3DaSkXEtreezw== X-Received: by 2002:a17:90b:1b4f:b0:31f:30a6:56ff with SMTP id 98e67ed59e1d1-321162a204fmr1264550a91.19.1754077377902; Fri, 01 Aug 2025 12:42:57 -0700 (PDT) Received: from [192.168.1.87] ([38.41.223.211]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3207eca6eb1sm5412904a91.22.2025.08.01.12.42.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Aug 2025 12:42:57 -0700 (PDT) Message-ID: Date: Fri, 1 Aug 2025 12:42:56 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC 0/9] WHPX support for Arm Content-Language: en-US To: Mohamed Mediouni Cc: qemu-devel@nongnu.org, =?UTF-8?Q?Daniel_P=2E_Berrang=C3=A9?= , Paolo Bonzini , Sunil Muthuswamy , =?UTF-8?Q?Marc-Andr=C3=A9_Lureau?= , =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= , Peter Maydell , qemu-arm@nongnu.org References: <20250731052753.93255-1-mohamed@unpredictable.fr> <8af5e691-da19-4141-8874-51ca685288ac@linaro.org> <864AC97D-2C45-402A-92AF-D0FDDB72C40E@unpredictable.fr> <21266cf2-887d-4bf3-8c9a-7633bffd8cd2@linaro.org> <17413DE3-C53B-4DA6-9777-3E772D2C2C2D@unpredictable.fr> <5A71E199-4C6E-467D-9E9B-04DE9EF1A9CC@unpredictable.fr> From: Pierrick Bouvier In-Reply-To: <5A71E199-4C6E-467D-9E9B-04DE9EF1A9CC@unpredictable.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pj1-x1029.google.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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 8/1/25 12:31 PM, Mohamed Mediouni wrote: >>> I didn’t test anything on the stable branch for now but only on Canary so far. >>> Just cursorily tested (EDK2 only) an X Elite device on prod (26100.4652) and this issue doesn’t appear. >>> I have 8cx Gen 3 and 8cx Gen 1 (SQ1) devices around, will test on those older SoCs later and see. >>> Random idea for testing: what if you put -M highmem=off, does that change anything? >>> >> >> Good guess, it solves the problem with edk2, and direct boots linux kernel successfully now. >> > > If you don’t mind, could you please test the latest commit I just put on the Git repo (whpx branch)? It should address this properly. > Sure. Without highmem=off, I get a new error: Physical address width: 36 C:\msys64\home\tcwg\qemu\build\qemu-system-aarch64.exe: VCPU supports less PA bits (36) than requested by the memory map (40)