From patchwork Fri Nov 15 20:58: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: 843524 Delivered-To: patch@linaro.org Received: by 2002:adf:9bcc:0:b0:382:184f:390f with SMTP id e12csp1059190wrc; Fri, 15 Nov 2024 13:03:43 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWPDAq9o3MMUA43gIUjkjy3+jyFEQAC03KhCWMtRcqrYEqPmVknkZOShuuZhbgIGPttm81DBQ==@linaro.org X-Google-Smtp-Source: AGHT+IFn8dacJDT+MZ0s54BSy6UI0lXbOXznx/cDl78A4x1m+Q0QTfwyPygzUt5DwAKWKEhaBDAS X-Received: by 2002:a05:620a:414b:b0:7b1:54bf:7185 with SMTP id af79cd13be357-7b362313799mr519707685a.38.1731704622765; Fri, 15 Nov 2024 13:03:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731704622; cv=none; d=google.com; s=arc-20240605; b=jI0dkJCJrvvcSPUY0PfKUKzCkuDvChtLx8L6pxTz6Zkzb/+CVzxyEWZaG9aptsqWrl AF53yJSiamGi80V51k0DoiKb7jNR87vpO4gRLsmU+G4E4CYAeBknC/R3tX97Mi7WJS4f DbpAUmIwVwl6h1JcDM99Lw+G591VSZw7FhIrh3Npi45BkL/bRySEmUXvFolxtOh6j404 J811m4xOPdYkMetTEheXsWtU+kKvvBD/uVGawTBfNGk+TuAd5dvADTtGyXXS1rx1DToU 5tx7CdBu+i0vSBs/e59tePIA7rzAuwhhjz8Qiq20lqgxyEdAM8cdBTfyk3ULgF3L7xGg ENAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=QbNlBnAW9PFPyjzSTtQpE4/aMbCM3Oh1YovDgszQh+4=; fh=kQadAhxV42GJ3cd2VUw1RyURv/zJQGvmUdF7iLEVTtc=; b=AMgu1D0NTjjTC6C6KIZq5XmQqF8f+Q7bSOexNfLTRZJcj1QtziU8Fs7Q3+/ly7IfJY cKqErXcj7tfumG/l5UDKZiHHezgVEhzGovjqbg3HVMePxJenZIUdUbJjW9LtqHdXH4ah NUkGx0ULueAczmLXrJQ56Mw17Kaqqrd7e2LgD4vFgyo1GF+n1ky3gryBrGaJhg/4NsRh UluMSFDqICCuu/BC1xBUpLs7agYMFqqOLCH1PBM+wSalJycy37nS44KnjtdYf4Pef8dl oxma1MFLyjSSN70BEPiKa045mOUW77zbq5HU3cRHs2I56s8P6KtOzZVoUjOjAWXmtPyU CVcA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JD9dYxu4; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b35c9701f4si512974485a.2.2024.11.15.13.03.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Nov 2024 13:03:42 -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=JD9dYxu4; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tC3PR-0007df-7c; Fri, 15 Nov 2024 15:59:17 -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 1tC3PG-0007Yi-Cd for qemu-devel@nongnu.org; Fri, 15 Nov 2024 15:59:06 -0500 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tC3PE-0004Or-HB for qemu-devel@nongnu.org; Fri, 15 Nov 2024 15:59:06 -0500 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-723db2798caso1979683b3a.0 for ; Fri, 15 Nov 2024 12:59:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1731704343; x=1732309143; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QbNlBnAW9PFPyjzSTtQpE4/aMbCM3Oh1YovDgszQh+4=; b=JD9dYxu4kxlxuJuTH7dV3v/Sg6JFZkQBW3UjV6ce6GQ2SyJ4kHhwjxUyirBPQbH6om FNq6gCsuZB9zr7rLndOglQf2qYmVNshm3aU0qJm6fJ78KH/YB9C37r7iIw1IZ5kersWb lvsOgTi0JJjxXXwRUEx0ZkjaQlWQ/8C5q/g4h+UEtH8Bn/Qx7LRfoBomZs5unMkmrDx1 r03QXmzYlc3YdPbD/2RcLzdy3axRyuce312boYvCnCYd5yNIqjv/sMhVPPKYm6cjXULn AItr3V9DQah/+BUvJfeHh79pcA1B8PcrbHyf6RNFMbx5Js22gyfypgG8snNxUpl8/tBo eOJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731704343; x=1732309143; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QbNlBnAW9PFPyjzSTtQpE4/aMbCM3Oh1YovDgszQh+4=; b=pSvCuxqmxQIk5OD5aGJ+txW7iRJvA1VlQ5lg053q0RQu54X7drkCPTMskNf1gXueqK tVgsJHX4hHvbMpV7CQSAaV2hZ8gIkTRijbGMyvB8+4ujJUM+pIzrsgCmnLbLMcHCOyKZ AloaU3ELqJ3akXsBmeJWYhOSli2IYbZ8lgsiUE+xhOEwNU1QVJjPx0S/M1yvvuEGjgzE yuTDrkx8wcyVfIMtCbEk0q6O+pCJqpFBf3h9+qlde2kHjHwclQwXCzwKItnxN8gXnXqc EGqIA0iRJO8gj786BixRotyFdBoKI5VwMO9UpR/JgcBUjiaIrwohBIczGePRPjrZDNM1 4ecA== X-Gm-Message-State: AOJu0Yy1KXz47yelbqtBYpneVeQ7S6Eu3TXEsT3Ir6rxgybgyj7ThM6r i25U9o3Zmpg40+/TWZGRGy4GaOOB/Q6EaExuTZQRUWkWAJgj82D+s2AjSFjPlny3I62Aa1TXZde V X-Received: by 2002:a17:90b:1e0d:b0:2ea:122c:ea18 with SMTP id 98e67ed59e1d1-2ea15528912mr4277796a91.21.1731704343140; Fri, 15 Nov 2024 12:59:03 -0800 (PST) Received: from stoup.. ([71.212.136.242]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2ea024a49a8sm3362274a91.23.2024.11.15.12.59.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Nov 2024 12:59:02 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL 12/14] linux-user/ppc: Reduce vdso alignment to 4k Date: Fri, 15 Nov 2024 12:58:47 -0800 Message-ID: <20241115205849.266094-13-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241115205849.266094-1-richard.henderson@linaro.org> References: <20241115205849.266094-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42f.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 Reduce vdso alignment to minimum page size. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- linux-user/ppc/Makefile.vdso | 6 ++++-- linux-user/ppc/vdso-32.so | Bin 3020 -> 3020 bytes linux-user/ppc/vdso-64.so | Bin 3896 -> 3896 bytes linux-user/ppc/vdso-64le.so | Bin 3896 -> 3896 bytes 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/linux-user/ppc/vdso-32.so b/linux-user/ppc/vdso-32.so index b19baafb0d38e15b4a24def5c44a6d684714be45..0dc55e0dddff618b954dbb939335e99956daf64a 100755 GIT binary patch delta 42 zcmV+_0M-A@7t9xsCINtvCrSbU5Rr3n6lq1YQP%3b&XBjV4sl%JXqmbIL$UbO3Tx34 A(f|Me delta 42 xcmX>jenxzP8Y9C*buT6$SzIX6c=(tjbAN``v6&a|RP{JtzgDQRW#f-4TmVmR5>WsE diff --git a/linux-user/ppc/vdso-64.so b/linux-user/ppc/vdso-64.so index 913c831b3819fc09912b9b31f7fbe9ee311ae12f..ac1ab2582e4675979ffca3ce90dce17df579ab2a 100755 GIT binary patch delta 38 wcmV+>0NMYz9=INmtpWfLk*~QFqejR%tq=sGFts+qF9Cf{%e>^#vwQ)(4KYR#WB>pF delta 38 wcmV+>0NMYz9=INmtpWi6k*~QF<@TF=qRS8+wHM`Qf0n_&>m=ZivwQ)(4PLhrs{jB1 diff --git a/linux-user/ppc/vdso-64le.so b/linux-user/ppc/vdso-64le.so index 258a03b807c4eca23547d978c16d1ad5ebd08bc5..424abb4290b7d3100e9dede2f3059483608ba703 100755 GIT binary patch delta 38 wcmV+>0NMYz9=INmsR9rHk*mEFj|Vri9^_Z(nV0Nw;)4VN>*aZovwQ)(4Mvj@kpKVy delta 38 wcmV+>0NMYz9=INmsR952k*mEF`$9%&`;)~jB!C2C?=itIoQ(CfvwQ)(4MbHDMgRZ+ diff --git a/linux-user/ppc/Makefile.vdso b/linux-user/ppc/Makefile.vdso index 3ca3c6b83e..e2b8facbb5 100644 --- a/linux-user/ppc/Makefile.vdso +++ b/linux-user/ppc/Makefile.vdso @@ -6,9 +6,11 @@ VPATH += $(SUBDIR) all: $(SUBDIR)/vdso-32.so $(SUBDIR)/vdso-64.so $(SUBDIR)/vdso-64le.so LDFLAGS32 = -nostdlib -shared -Wl,-T,$(SUBDIR)/vdso-32.ld \ - -Wl,-h,linux-vdso32.so.1 -Wl,--hash-style=both -Wl,--build-id=sha1 + -Wl,-h,linux-vdso32.so.1 -Wl,--hash-style=both \ + -Wl,--build-id=sha1 -Wl,-z,max-page-size=4096 LDFLAGS64 = -nostdlib -shared -Wl,-T,$(SUBDIR)/vdso-64.ld \ - -Wl,-h,linux-vdso64.so.1 -Wl,--hash-style=both -Wl,--build-id=sha1 + -Wl,-h,linux-vdso64.so.1 -Wl,--hash-style=both \ + -Wl,--build-id=sha1 -Wl,-z,max-page-size=4096 $(SUBDIR)/vdso-32.so: vdso.S vdso-32.ld vdso-asmoffset.h $(CC) -o $@ $(LDFLAGS32) -m32 $<