From patchwork Wed Jun 26 19:49:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 807512 Delivered-To: patch@linaro.org Received: by 2002:adf:e842:0:b0:362:4979:7f74 with SMTP id d2csp476665wrn; Wed, 26 Jun 2024 12:51:27 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWyW0uVFVT5ZIVzAm1Y3jMljFiqSewLLR9sOJBBRequ3olRXO03WElwGx6oZEQWoU78MhE/ymOgkCWMmJQtYNEA X-Google-Smtp-Source: AGHT+IHUMSS/xV0IFMLqXtq/IujmnRfWehtUibYbcF80MRyp7R2HKLYQbiumCUDggDpXSxTgXKDP X-Received: by 2002:a05:622a:5cc:b0:440:616d:9f49 with SMTP id d75a77b69052e-444d91bec8cmr109838031cf.31.1719431487061; Wed, 26 Jun 2024 12:51:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1719431487; cv=none; d=google.com; s=arc-20160816; b=lrU+vipfMHqZcmttyPR5I71LXECJpUXM3n0VbKEub3Ncv5CMtGPTFjzA5lWuI2ibFQ 92N/4jBcFJO7o2K2WdIqLtKn5J/9LfS93SAf3oyFT9pFD0txHUBxu1oGn86KGd8RyrmN 5ylUXBfP5JuPjVH2drPHIWbpf4dmuOL0+TSPXbkwKKm+Nn90UqB0GWvZj3Y9ACZFH3mV isn5OuC1NngQuPb3KbsRtete2XqpPmy3tNJSMMvffdvHYzFpc+BZu6D4kShDiiAHYc2J SRUZhFCdIkPMjkWFPKm12LijywBK5UCOXHK/hNRuCyIqnn9QtrWv2Pu1fKwxjoEdaROM qx8w== 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=F0Q7Qb8xkJQuzlOXC/gMXk8OrUSiv1snr6tSiHC/3A4=; fh=YiKACOOGwOIKvy+G1clkODZYvBNJscfpNjsHDps50o0=; b=D6QvWuZV2HDqGW8Bxc1ddc8EsWb+a/E4yyn8vRbf2DVyJn7BKrdCgHFZqaiWUZ6Dme 3vAT/tPTw5Wn8sh02PoY3i6GjgqVyriom9W35SowrUPEEhXJL4JUle4VHFWVFg5cu9RO NrZz/tbf+GuP0q+O8kEe/9Hix+XPOW6J1rNgC478tspJlL3xU9eEbsNyeL+i6xq+gOd+ 9pVJOth4IUSo1FJ3O3xG8BHOtUythKcqT/GIUQC/iOqRprCakVKs79oMGVj1NEBZNizA QFig6E/ZWKjgkfKVj8s2OPD235OrkNUoI99m+0vbPxPv2nc6zTkEARlKAkYDLHQm3jpi dhDQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FWKURi7k; 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 d75a77b69052e-4463453c790si16819911cf.267.2024.06.26.12.51.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Jun 2024 12:51:27 -0700 (PDT) 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=FWKURi7k; 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 1sMYeh-0007If-R5; Wed, 26 Jun 2024 15:50:11 -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 1sMYeg-0007IW-SF for qemu-devel@nongnu.org; Wed, 26 Jun 2024 15:50:10 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sMYeY-0002gj-MU for qemu-devel@nongnu.org; Wed, 26 Jun 2024 15:50:09 -0400 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1fa3bdd91c1so30005635ad.2 for ; Wed, 26 Jun 2024 12:49:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719431392; x=1720036192; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=F0Q7Qb8xkJQuzlOXC/gMXk8OrUSiv1snr6tSiHC/3A4=; b=FWKURi7ksNH0ktUM84oedeUQqN7WZDzkm5DEZnmPm/vEnvs6B5KAZvb4SHPTL+wF88 CvlbGRFucOrCnyvpzBcmY/7fhL8Roq82bVOhCOHW5L331RFAmd0CgPcm6PvAHm/noYqV /0O7iH03jF0fq0NaY0WhaHEEkFBbfgdmVsppS0FJ3wPdLPccUUxo+mgCQYvtUJCGYg41 RZkJzfk/MDF4kOBMFI7T4mPIYchm1u/GppTgKDCExOB58oGRi8tMdc8xya8dt9EuTHvc pp9KIq+MaZcgfj8BXztx3azpcptlLGbCKnB8OdCFbgKPiRaFK4LYHBSjY5Z70BiVBb98 9dvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719431392; x=1720036192; 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=F0Q7Qb8xkJQuzlOXC/gMXk8OrUSiv1snr6tSiHC/3A4=; b=LHto6YnbNbQBrz61583bJ2/Vott9J1yHtcWsk30YlR/eE39k6CrazqCQCqCyvIBb2T vsiSKhGLoSn2QOIVwtUCm1kUS0imWXfwqh2y82LonxPMuAYn4MhY6p9CY8+Vf0ygpXAo 0OjMbj4+Oc2i/lsxeJJhdMEeNQLzTBc9Nmrgkv1c5glQ1mmm6QlgZuFcYLAQst6DPVSJ qcOd/q33ZNzrI/gxoErtN2fpNbhOXOvtExjOH13FH1+rc2fARTfesbU9TbjbrdQqKOHw Dh/gduvxhMY+xnu5TH8v+uEeb5mYaXbgbcY7qoo3ht2ftkZBsMCLG8tMxRPzs7iCTbQV t99w== X-Gm-Message-State: AOJu0Yx9u91n+0fzAJ26b/XvA+AsCTdZyL7+4oSbFb7Ngjjk5zfCw4g/ Xak/NByzjrAlvCcn/43SOdz2APIjNtzVW+Z+9IPbRNmy70zMKLUD8lJCv07gSw+19hbWSg/N94s w X-Received: by 2002:a17:902:654e:b0:1eb:fc2:1eed with SMTP id d9443c01a7336-1fa23ef5f27mr107027725ad.41.1719431392015; Wed, 26 Jun 2024 12:49:52 -0700 (PDT) Received: from stoup.. (174-21-76-141.tukw.qwest.net. [174.21.76.141]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f9eb2f0318sm103734625ad.2.2024.06.26.12.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 12:49:51 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, alex.bennee@linaro.org, berrange@redhat.com, philmd@linaro.org Subject: [PATCH 0/3] target/i386/sev: Fix 32-bit host build issues Date: Wed, 26 Jun 2024 12:49:47 -0700 Message-Id: <20240626194950.1725800-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x635.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, T_SPF_TEMPERROR=0.01 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 I separated the fixes into 3 smaller patches that may be easier to review. r~ Richard Henderson (3): target/i386/sev: Cast id_auth_uaddr through uintptr_t target/i386/sev: Use size_t for object sizes target/i386/sev: Fix printf formats target/i386/sev.c | 41 ++++++++++++++++++++++------------------ target/i386/trace-events | 2 +- 2 files changed, 24 insertions(+), 19 deletions(-) Reviewed-by: Philippe Mathieu-Daudé