From nobody Sun Dec 08 13:37:45 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y5mJn6Lv2z5ghJn; Sun, 08 Dec 2024 13:37:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y5mJn3rr7z4q54; Sun, 8 Dec 2024 13:37:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733665065; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=05ZcgilnSiRmcYg5XF+k7gRBK58eNv83OBacF3kEgH4=; b=ZP9UnRmF6JbBXPvKAb9pvOds+XoTd3++Tq1ecTgq6ta1Tmo6LDj8xONMQGhkxmf7Mj7P5m BK8XFAtXPLW3Yr3J0qNDOWJj9Z1PHWPLLBnFKo1Anr4CbGtD5L1i+0UbrDHowXP/+PInnU fNknhZuE44YsGoIBPRLemGgW5Fjtgsgq2YxmVAAxdPGyFwZYSWsssjlI1WB7DKNYv/+uIE W5eBkvNhvwp3YRBcXhrBgZQysPpObsFdJs1vMZmwh3PakGjKdXnnXHRMIEO61OvTbFzYz3 FxAU243Cw1ayNRSZrJ+DQo/eS8M1hmr+Sn1URF7fO/0bcFIbLOEllIvaxIkTHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733665065; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=05ZcgilnSiRmcYg5XF+k7gRBK58eNv83OBacF3kEgH4=; b=k9hirEJDkmkiYX0PvvTfZDTfCI5UU3iC9es5W0brZOcU65cnPwO8c2Uld36j5EhQkXcUAn 8KNVfQlx1BjWHr/P4oapYL4dHyDb+cXH6LngAX6epI/DwayzIuFItpjmtD2iG7G6JS6A4m Onpe3nMQELyDTYU6Lx6XqH7rBzotvxYnM0R3xFrmSVVcizkgN3N+6GG71+5stU77hmSGZ9 BavyIgACX/dGaQFjXhA9295TI0jsnzf3fnrWHoWuodOEtmpARzkL6bBCWwct7mdiGLMnbj X/Fg+gd91GffjlQNHJoBXoy6ErxWQtVeak2MtpfgoXn4RZg7jH1FWiljg52/Hg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733665065; a=rsa-sha256; cv=none; b=R4OwAELVysTMKGuxFUMgK+noxpUuvKSBEQmv7LQHhZLmJXQT8f3BmPcM46oq1QfgU2WTEm cv5Mtdn011ofS9qDFl/Lt1BV9TjVvE3lmsZwwCdVwGZo9eM4zMOQaRFER2rRnyF/w4E59K uMnHUNB8Fe55gkUHJ1tw+mblfzDdHVZE4WB1z36HKuagtHWNjUt+IJC4t2tKVzGtFqUT1+ iZmEk2idDozwlz4ohzNoeAdyzXa9exIZ7bYTrlV2CZ8rVkIroJBs7YcZcX60WECwAwWC0x d2at8CtLRspjWuxHAysw9guO90sZNpjgC6+cggDhRwCx0Pbm98Qx9dJszWOp1A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y5mJn2xVYzvFD; Sun, 8 Dec 2024 13:37:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B8DbjLY039116; Sun, 8 Dec 2024 13:37:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B8Dbjga039113; Sun, 8 Dec 2024 13:37:45 GMT (envelope-from git) Date: Sun, 8 Dec 2024 13:37:45 GMT Message-Id: <202412081337.4B8Dbjga039113@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Michal Meloun Subject: git: d321b707d6a9 - stable/14 - arm: add read_frequently, read_mostly and exclusive_cache_line sections to linker script. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mmel X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: d321b707d6a939ddda1a77915b0f8518923f8b84 Auto-Submitted: auto-generated The branch stable/14 has been updated by mmel: URL: https://cgit.FreeBSD.org/src/commit/?id=d321b707d6a939ddda1a77915b0f8518923f8b84 commit d321b707d6a939ddda1a77915b0f8518923f8b84 Author: Michal Meloun AuthorDate: 2024-11-17 10:39:19 +0000 Commit: Michal Meloun CommitDate: 2024-12-08 10:36:38 +0000 arm: add read_frequently, read_mostly and exclusive_cache_line sections to linker script. MFC after: 1 week (cherry picked from commit d98a18d032e6ed3dbae30233d217c6597000e391) --- sys/conf/ldscript.arm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sys/conf/ldscript.arm b/sys/conf/ldscript.arm index 4c6716908bde..62f9c0847c4a 100644 --- a/sys/conf/ldscript.arm +++ b/sys/conf/ldscript.arm @@ -82,6 +82,21 @@ SECTIONS *(.data) *(.gnu.linkonce.d*) } + . = ALIGN(64); + .data.read_frequently : + { + *(SORT_BY_ALIGNMENT(.data.read_frequently)) + } + .data.read_mostly : + { + *(.data.read_mostly) + } + . = ALIGN(64); + .data.exclusive_cache_line : + { + *(.data.exclusive_cache_line) + } + . = ALIGN(64); .data1 : { *(.data1) } . = ALIGN(32 / 8); .init_array :