From patchwork Tue Feb 21 15:30:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 655375 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp156183wrb; Tue, 21 Feb 2023 07:31:02 -0800 (PST) X-Google-Smtp-Source: AK7set8NMZE+RnExPwFT76S/ch7C3kyNEH8Hh97vWE2RB1cquWN1YIv7MuldfmgX2N2AnWw9mgXj X-Received: by 2002:a05:622a:118b:b0:3b8:4729:8239 with SMTP id m11-20020a05622a118b00b003b847298239mr8929364qtk.12.1676993462600; Tue, 21 Feb 2023 07:31:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676993462; cv=none; d=google.com; s=arc-20160816; b=zBAkKt+IacpwVLEVVDErfgYFFgdJT5pOzibhTzwzcxqVy8U8PRVrIt5YqnfL+usjEO FOprcywUuUUWpVZwHfUyh8r2BRt0R2UPTR/EBbCIuDpUlWhvUMEqfXlZpSh5qIunb1ZW fdi3PIzn3TY9jn4GklAKQzif+ySSL/19N6Y1yd/x/oo3BwIQ4bCwsiFqIPiAepI59W2W gUQIxbUVHc4f9LFEwH+A5vsadqcPrH7hj9eWFWo2YRgpPInvvUs9jLOFUGCsDL/pgvcj 27ykluyhbvskXIT9f/GpnLzyFJ+yCGHGvczsWH9qO7ecznYUuDPBCKj5tCrubOVDFPZR buxQ== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=aiZDv/uHG9+DVwOEhe9Bg3WCBpayODt65mdWP066kYE=; b=yLPKxCmuEj7yLh2G9jPuHu4mP5Ef6r86a6CDhBKeRu17jIogWY2EfiOxR0q9cVfRyo z0cYU6ih72sn7IOAhQW+xRxCp7f8vOujgzEEL6cwqEYOJJJq+Kj2TU+HvxUG+qALg9Gy +D93NSsdh97hlzXZLc5hrMdO2hDf1W2hb+bs77N/Z9J3JV+FenjrVpMLxt8lG9o7PYms 9AZoyBN4xu/pIKtIm14L0PBQATV2cdsNvSipYPZ+ZZA+eAQ41CLS43CMwbrAmSt9B1+D Td/PjT7bCoi3rLMknzOpcaDeBEttvSmcUV4i3N2YRUBFyeFaMu0vTiZUqL4GC+Tzh8gx BcMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cuEMeR9F; 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 n14-20020ac85b4e000000b003b8671211f0si12665669qtw.49.2023.02.21.07.31.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 Feb 2023 07:31:02 -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=cuEMeR9F; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUUbK-0002Xh-G3; Tue, 21 Feb 2023 10:30:44 -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 1pUUb3-0002Fh-HC for qemu-devel@nongnu.org; Tue, 21 Feb 2023 10:30:26 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUUb1-0000VV-Q9 for qemu-devel@nongnu.org; Tue, 21 Feb 2023 10:30:25 -0500 Received: by mail-wr1-x436.google.com with SMTP id c5so5557283wrr.5 for ; Tue, 21 Feb 2023 07:30:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=aiZDv/uHG9+DVwOEhe9Bg3WCBpayODt65mdWP066kYE=; b=cuEMeR9F3+9YK86vTDiVLFbbusubYluR6WIfTMPF71M3ktrGay7pYR+LZ7fYjOArgg 6YKScw/dtsYF9CsOyx3r0JEw+IKcQBVaWM6M8zWFG3bUGKWm3yyEqUqCMG/hBYt1Neue VZGY9KRjJPN2axP8mW+xvpCstOYGio3+1CyNmc6PmdZMSEKDf3E4p7yA48c0kYZskD40 Cp9iXcTyRP9efOoMeibEv3RbAVz+36vGLrfe836239Nm/Ij269pqH+wGBWhiLLML7Mz9 /eKu7llvqtRxxcxHLBsWI3mgBz2pJROfet/IdcbGUkENO6LQdM72SIIEXa497SOg4eXT 17Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aiZDv/uHG9+DVwOEhe9Bg3WCBpayODt65mdWP066kYE=; b=kGiJMSD1S9RLz42QqL1VmyvB0feKcNB4n7sHRh9zvSEDm/z6q4C+6/aClufpxfYZh8 yHoKebLWUxccPAUzuexQlWErAIbw0DRQXPm5ez6FDF1mwrQi1fpl3DxxmJb4tDOayUyo RJkA9S6fMY9Xb5O9azi2uIqhd6GLPot0LYHAU3bKFoQB1PuM0z8VIYC9VXsxiEjAFoyh 1+Ym+Jy3CtTeV2I8ByUCbSOzQ3NJaqGYaeyE/KYnNsX2dQet3m1ULdVHVL6zYNtdiQjn ZGmLbIaeF6Q/6EQGf4IHt+mdKpsDMP8dLibFtDaE8qq5D3pcd1N/7U3q/ZS8QSOEMnEx 8RZw== X-Gm-Message-State: AO0yUKUDWJBIMd4+xzHPDuJRta3EL/tAKlPP7cQ8PvpgwFOdqpyRzg5k zoLj/Wo2OGhvQrT5dgUSiOGdVbDHnbLQ6YiVRc4= X-Received: by 2002:adf:fb06:0:b0:2c5:4c1f:3c9 with SMTP id c6-20020adffb06000000b002c54c1f03c9mr4181014wrr.49.1676993421903; Tue, 21 Feb 2023 07:30:21 -0800 (PST) Received: from volterra.localdomain ([2a01:e0a:5cc:caa0:c49d:d14a:e6ed:555a]) by smtp.gmail.com with ESMTPSA id r1-20020adfdc81000000b002c5503a8d21sm2803417wrj.70.2023.02.21.07.30.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 07:30:21 -0800 (PST) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: sw@weilnetz.de, kkostiuk@redhat.com, clg@kaod.org, richard.henderson@linaro.org, alex.bennee@linaro.org, peter.maydell@linaro.org, philmd@linaro.org, Pierrick Bouvier Subject: [PATCH v4 0/4] Adds support for running QEMU natively on windows-arm64 Date: Tue, 21 Feb 2023 16:30:02 +0100 Message-Id: <20230221153006.20300-1-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=pierrick.bouvier@linaro.org; helo=mail-wr1-x436.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Since v3: - Remove CONFIG_MINGW64_HAS_SETJMP_LONGJMP (only check in meson) - Fix comment to refer to windows-x64 vs windows-arm64 Since v2: - Delete superfluous comment on unreachable code - Fix style for multiline comments Since v1: - Comment why we use generic version of flush_idcache_range - Ensure __mingw_setjmp/longjmp are available using meson - Fix a warning by calling g_assert_not_reached() instead of initializing a variable As before this was tested with: - make check - boot an x64 debian bullseye vm - boot an arm64 ubuntu 22.10 vm Thanks Pierrick Bouvier (4): util/cacheflush: fix cache on windows-arm64 sysemu/os-win32: fix setjmp/longjmp on windows-arm64 qga/vss-win32: fix warning for clang++-15 target/ppc: fix warning with clang-15 include/sysemu/os-win32.h | 28 ++++++++++++++++++++++++---- meson.build | 21 +++++++++++++++++++++ qga/vss-win32/install.cpp | 2 +- target/ppc/dfp_helper.c | 4 ++-- util/cacheflush.c | 14 +++++++++++--- 5 files changed, 59 insertions(+), 10 deletions(-) --- 2.30.2