From patchwork Thu Mar 21 19:28:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 781591 Delivered-To: patch@linaro.org Received: by 2002:adf:cf01:0:b0:33e:7753:30bd with SMTP id o1csp1001750wrj; Thu, 21 Mar 2024 12:29:11 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWIxu/3hnZH4eTPuWuPMqt8+IXgrkb6696zvLhJbXueiUNdxK3xxRb6LK+UbRibPUrhOZbAwJPkzktmsrUrgJKp X-Google-Smtp-Source: AGHT+IHASc5dg5O2Tlvs9VPstx2cyPdm3wVYrQmV38filVLkOVoX3KHzhOtA1XnOby77f3rjM99S X-Received: by 2002:a05:620a:1a94:b0:78a:d33:68aa with SMTP id bl20-20020a05620a1a9400b0078a0d3368aamr176946qkb.44.1711049351329; Thu, 21 Mar 2024 12:29:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711049351; cv=none; d=google.com; s=arc-20160816; b=ga76xrtzZdBfL51lxFIaCmN6SUJqehwJilCPj/wFaTHkjlU0XmzrsWUCXkZkW/BVXK BXOxRLYU62yVcpSzEch3es3MWmQ5Tgmp93mTwunCQ9HuTv6ldiryQoQKMZYFVJ/XWQem Vid1Oc0Ti90hBDHX9yuwiyCnFzwcXOtTvNBxJwE3/Qv1quItVfYTHmFqjthcXHgL2coy PoVjqyCjgQDXcvCOdkakOLPWLOQk58UBDXrNMR82a1UwH8tZ6JNXIa151tufUxZ3fshy YJSGanu9eh9xt3plDhlMS0nilMAhr1erNoThPB6VQW9SIpKqR3GLER3jAx3eE0lyopcf qI7w== 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=O0ekOmRrQ+fpx5FSwZGStmzTGu3jdCzlHx+IpElHWIM=; fh=dgmN7IbtFJKfSCreYQjl4sATZXhd3Ko+AHTtMML3sVc=; b=Lnp0FDN7MNuPij0ekS/+Y+ngeWXheSodRRL0BE2idocfZkOJzduEKeSFdrVQlWuKa2 rj7dLukXnAv35MbjrogIm1lD+oqmaHVNaUrKeSkaV6aBJ9H6DmIlZU3+cCczNX5zs4zb fN/D0X869uv+Jy6N1vzbQo3ymOl1D5+sD5Hpmw8cjVzgkUQBekE58jMXycusbbLGHIah eizxhoFTv7h5hcWww6Eho1hVYWmhjHDAV/HIh9PD8czOFTKKFC0odjglrmf53K7VCUqe Pa5lcPfvIopky9wXLcH1OIwHlDFWfpTcKhFY8JnP0zvedPCsnAUWnjFrEnyyaD2hyoXW oegA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LzKHMl4X; 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 c6-20020a05620a200600b0078a2aa48febsi412805qka.267.2024.03.21.12.29.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Mar 2024 12:29:11 -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=LzKHMl4X; 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 1rnO5O-0005H5-PO; Thu, 21 Mar 2024 15:28:22 -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 1rnO5L-0005Gh-Fr for qemu-devel@nongnu.org; Thu, 21 Mar 2024 15:28:19 -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 ) id 1rnO5J-0006n5-Vi for qemu-devel@nongnu.org; Thu, 21 Mar 2024 15:28:19 -0400 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1dddad37712so11768295ad.3 for ; Thu, 21 Mar 2024 12:28:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711049296; x=1711654096; 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=O0ekOmRrQ+fpx5FSwZGStmzTGu3jdCzlHx+IpElHWIM=; b=LzKHMl4XmevMkk1OCTgdFXWO1tkexY6OlppABqtxZ1WDElxS0SPjAxBD4Kw8o1SbrU h2yUgQGUoM6M5zSgmzdNCMkmOTTaX0Br0Lel+GJwTY+bGqJ5Qj9u+mkHMDnREv7oLkhg UxgqVmFKFX4YTrqPAqpqdGru/D8j5nxai3CltTMk+PM246MEmXTTR8Dn7QYtDEjENtqk eiqr8mOW5+gnhAzbNHIuI7J8hasjdhrHo+4uO/WSy6eemNsMVGN/D2fKiv3c27wl1HwO wdViuoLDdMY8en1eGZI/DpBzfYNl5PIHl2Ln8RzBhyzCUAp5WV7KEE8u0xB660pArpjs AxDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711049296; x=1711654096; 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=O0ekOmRrQ+fpx5FSwZGStmzTGu3jdCzlHx+IpElHWIM=; b=h+gMogBXyDCaCFZE+ENNmqcre1roSYMMR1HznOIgqDoppndBoTdPs9uxlw1B/tGmzz Po03zVb7WJRKOy18kTOcwzS6yiUiSuYwaiy6EZXA6oTh7qGv0EIXG7vQKiRcGsJQt3r4 +KTz49XHMOKXRugX/8q3o60I+XeI8tze3GCRcevALxpIPKUuxSpYIUVYo4PZ6PVWKI4e Zv0MAlLmnaDqZ4ZaYRgThY0tBG1CpkvYwLuXqgE8qqw2yENycE4FxJpKavZzuxhH3M+O jws0gQSgFzdKk2WHhksI4bMd2zZX9ep1zvlpUEs8lsAQoIJ52cIQoMyf4hkcPlRj0LZl TJIw== X-Gm-Message-State: AOJu0YxZqhY0gwubyW40q/P84hDP3C1I0paCT9w/P4178vvEEFQ08Z+w wxSyNxicsPBjOjcDOTJgGwcZgIeWjw/buPPL3iPIeRX8/50SXaAf1176TAG/re0soSIQ2K1UHvR 2 X-Received: by 2002:a17:902:e984:b0:1de:f59a:4e6 with SMTP id f4-20020a170902e98400b001def59a04e6mr372182plb.24.1711049296230; Thu, 21 Mar 2024 12:28:16 -0700 (PDT) Received: from stoup.. (173-197-098-125.biz.spectrum.com. [173.197.98.125]) by smtp.gmail.com with ESMTPSA id p8-20020a1709027ec800b001e06c1eed85sm207303plb.141.2024.03.21.12.28.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 12:28:15 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: deller@gmx.de, svens@stackframe.org Subject: [PATCH for-9.0 0/2] target/hppa: two more simple fixes Date: Thu, 21 Mar 2024 09:28:11 -1000 Message-Id: <20240321192813.371526-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::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 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 Using the correct space for BE,L linkage might make the difference for a cpu stress test. I believe triggering this would require something like f=(seg,ofs), b=(seg,ofs+4) be 0(sr1,r1) f=(seg,ofs+4), b=(sr1,r1) be,l,n 0(sr2,r2),sr0,r31 f=(sr1,r1), b=(sr2,r2) and then validating the contents of sr0 on return. Linux only places B,GATE in the zero page, so amusingly there were never any high bits to clobber. But I can imagine HP-UX making more use of gateway pages, and certainly a cpu stress test would. r~ Richard Henderson (2): target/hppa: Fix BE,L set of sr0 target/hppa: Fix B,GATE for wide mode target/hppa/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)