Message ID | 20240617161210.4639-1-richard.henderson@linaro.org |
---|---|
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:fb90:0:b0:360:93e7:1765 with SMTP id a16csp628832wrr; Mon, 17 Jun 2024 09:13:29 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWGPfDYV9r8mmyXTV7kHvHeLqoNQqS+PZS2M0dpcWl2s8cSq2/A+7UJnfZTy9gANkfgIUTmMduQEJgjG8u9OkB1 X-Google-Smtp-Source: AGHT+IFi/ewGAYrjOx5Iq52RenQzgWjEzG2MSR44Cp8NORAIct/hIFft9nff88tlOB+GrcgifbXM X-Received: by 2002:a05:690c:fc5:b0:62c:c660:72af with SMTP id 00721157ae682-63222e599efmr132295647b3.24.1718640809327; Mon, 17 Jun 2024 09:13:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718640809; cv=none; d=google.com; s=arc-20160816; b=QqqyNr5Ui0Pm2IhAkc/BbqVoc0ut99+hkYSb3irJRQ/jcHNAIj43NaZYIx4x6h6gE1 F+zJqTLz7na5QXrpy2JFzQXFGMTP6JMjpaUjymi8mcVlcT3uxAQIy29onM9CtwpPeiPY t8UGvvzt7fvyyeWtV2BMzGXbC5A137tEwwH/PzpmJPVrEG1P5ni5VwgJkNNC6WYrcX4i vw4jFM1xewZxsvYfcRKcJwXgwK694peDVyMh/DqUzANTWq5ACJLoeuBZuh7dtvyis3To LAI4p0aurJJRvucOWuaaX14U2b2XI4Lxd86SK3KqJq3z53QSFjgpl9TVTzHeSRKkw3TW csDg== 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=AJmbNQ3qV9DlrSTGH9JXiRNJJ32pUUItmIHzCusvT+k=; fh=3mEp7FusppN5Drq2PN08R8D/9xXM9YdbtG5TkJxJBiE=; b=sqKE5eQ4wVyxxUU6V4Q+mDoNzp4VcYvHGI5ClV8vES6SooMyqhVztgFMBe6sLLpMHI BwNKF6gDsAQd1N0FmC3LgDHQLxey3RxXQ7zDVkwkRiVhA0GtblVrsHcCTkn9314kLm63 uikW3wDolxH6NqyxHrB+5dRE+M9c5jAoCXTuBkyxd4fgoFyTqOyPyk9I6cKPvEDjxq7P ATXP9Q+JyDwVnRWUz/AqiD17tM7QaEJAJ6qAEpxPXFrLYq4Qv5+6YLQ3T0odHmGVvVA5 A2+uDLka6EHR9iw0f0Q1G55DwpfWIiGkQVbUaaS/uyrkRyPMkJ74eZ9YgZZA+M/oMPgy TCNg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tM0E0V0X; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6b2a5a34c44si104040336d6.144.2024.06.17.09.13.29 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Jun 2024 09:13:29 -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=tM0E0V0X; 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 <qemu-devel-bounces@nongnu.org>) id 1sJExw-0005Dq-Hd; Mon, 17 Jun 2024 12:12:20 -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 <richard.henderson@linaro.org>) id 1sJExs-0005D5-Mm for qemu-devel@nongnu.org; Mon, 17 Jun 2024 12:12:16 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1sJExp-00089K-PV for qemu-devel@nongnu.org; Mon, 17 Jun 2024 12:12:15 -0400 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1f44b594deeso42160635ad.2 for <qemu-devel@nongnu.org>; Mon, 17 Jun 2024 09:12:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718640731; x=1719245531; 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=AJmbNQ3qV9DlrSTGH9JXiRNJJ32pUUItmIHzCusvT+k=; b=tM0E0V0Xs/UCqhHCqk77d+bbn/3tkPqNMsae55YlV8xMFw3oedElIaC0Kbabt5pJfT TscrukT3bc7S+Rt+JcKaqM0tN9DA+dGSKLbaJ2O71+dZCaRVabWUQe7mjXHnFx7Of34x v3VMGTijuvMucDELWvU9gnSoQOWxlN+u+ARWFsffjdR+iwfqA86KRVDQh8CKzmYGAM1x U7dTnlxgH8qc1DCQBqVlR1pxLO3RD4XKPF9chyvjg85H6bGZQ/n1j1reM1uktoUKsF7g W3Gxyfv1QC8voIiomy9S4B6X2J4aCY4GBdAfn2gx+dINeKSuOUo0XpcA7bsP9cKIr/wy cc/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718640731; x=1719245531; 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=AJmbNQ3qV9DlrSTGH9JXiRNJJ32pUUItmIHzCusvT+k=; b=FRWbdQVF7VaIqd4UkUl9ROuYr1FjWAe7fpLeKc4k2VUO8VfFRQdw+b2idKgYLu7BJn iA+n2NPvKBiZZfVSCkm647Nlt2Ubjx3NIKy/GD0BjhfJKZWJHPbs0ooRZNuCeuYp93mO cMxikg09UbJLliMVvKFlEvc7/tE5sXFG6bwQwGQNKZ+T8XKKlSsO2W7h+BWZ+aLnBh+2 +lRJO58QQoaVqz422GQoU7cfQGos3I9L94J9iV6cvviiArsB6fJu4Mc3vd5r/XgYVncM Omhjr4ZrmG+BaU8M/yQfDCeunsOZ1GvuaM7E2YtwdNqOBUgFLik5hLdcRUB/FoekOa7P ecMw== X-Gm-Message-State: AOJu0YzfE8wsz3+OQLt+vCVVX2SiweEK8rkObwQ8dezjs6ZTGHx1mvOY bM557syiGov6IPho46f4nkrNwmQ1QbCBslaDf1XAeAt8vYuZ5af9nniegvTjD1bJhR47C5cE97F D X-Received: by 2002:a17:902:e546:b0:1f8:3b7c:dff6 with SMTP id d9443c01a7336-1f862a0ab3bmr110236305ad.65.1718640731521; Mon, 17 Jun 2024 09:12:11 -0700 (PDT) Received: from stoup.. ([71.212.132.216]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f855ee8317sm80829285ad.145.2024.06.17.09.12.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 09:12:11 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com Subject: [RFC PATCH 0/3] target/i386: Reorg push/pop within seg_helper.c Date: Mon, 17 Jun 2024 09:12:07 -0700 Message-Id: <20240617161210.4639-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62a.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, T_SCC_BODY_TEXT_LINE=-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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
target/i386: Reorg push/pop within seg_helper.c
|
expand
|
On Mon, Jun 17, 2024 at 6:12 PM Richard Henderson <richard.henderson@linaro.org> wrote: > > Hi Paolo, > > Thanks for offering to do the work to fix the memory access issues > identified by Robert. > > Here is a code dump from this weekend that I noodled with -- it is > prep work only, not intending to change any semantics, but it may > be helpful in finishing the work. > > I considered adding a MemOp member to the structure, which would > allow the push/pop subroutine to choose the correct access width, > which would allow the callers to stop having 3 nearly identical > code paths. But I didn't quite get that far, and I don't yet > know if that would really work out wrt long-mode. Thanks, I had something working but your patch 3 is definitely prettier so I'll just rebase on top of these three. Paolo