From owner-freebsd-arm@freebsd.org Fri Jul 17 14:08:45 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CEB109A4932 for ; Fri, 17 Jul 2015 14:08:45 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) by mx1.freebsd.org (Postfix) with ESMTP id B330A16E3 for ; Fri, 17 Jul 2015 14:08:45 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.isc.freebsd.org (Postfix, from userid 1346) id A22BDEF07; Fri, 17 Jul 2015 14:08:45 +0000 (UTC) Date: Fri, 17 Jul 2015 14:08:45 +0000 To: freebsd-arm@freebsd.org From: "zbb (Zbigniew Bodek)" Reply-to: D3107+327+a15a6a8a12bdc6fc@FreeBSD.org Subject: [Differential] [Closed] D3107: Fix ARM64 stack calculation Message-ID: <497101434bde5b8ff94e80cdb0287f3d@localhost.localdomain> X-Priority: 3 Thread-Topic: D3107: Fix ARM64 stack calculation X-Herald-Rules: <28>, <31>, <32>, <34> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: MGU3ZWIwMjcwYmFiODRiMmUwODVmN2IzNDdjIFWpDG0= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_497101434bde5b8ff94e80cdb0287f3d" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2015 14:08:45 -0000 --b1_497101434bde5b8ff94e80cdb0287f3d Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: 8bit This revision was automatically updated to reflect the committed changes. Closed by commit rS285654: Fix secondary stacks calculation on ARM64 (authored by zbb). CHANGED PRIOR TO COMMIT https://reviews.freebsd.org/D3107?vs=7002&id=7046#toc REPOSITORY rS FreeBSD src repository CHANGES SINCE LAST UPDATE https://reviews.freebsd.org/D3107?vs=7002&id=7046 REVISION DETAIL https://reviews.freebsd.org/D3107 AFFECTED FILES head/sys/arm64/arm64/locore.S CHANGE DETAILS diff --git a/head/sys/arm64/arm64/locore.S b/head/sys/arm64/arm64/locore.S --- a/head/sys/arm64/arm64/locore.S +++ b/head/sys/arm64/arm64/locore.S @@ -179,8 +179,7 @@ mp_virtdone: ldr x4, =secondary_stacks mov x5, #(PAGE_SIZE * KSTACK_PAGES) - sub x1, x0, #1 - mul x5, x1, x5 + mul x5, x0, x5 add sp, x4, x5 b init_secondary EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: wma_semihalf.com, andoriyu_gmail.com, emaste, zbb Cc: imp, andrew, freebsd-arm-list, emaste --b1_497101434bde5b8ff94e80cdb0287f3d Content-Type: text/x-patch; charset=utf-8; name="D3107.7046.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D3107.7046.patch" ZGlmZiAtLWdpdCBhL2hlYWQvc3lzL2FybTY0L2FybTY0L2xvY29yZS5TIGIvaGVhZC9zeXMvYXJt NjQvYXJtNjQvbG9jb3JlLlMKLS0tIGEvaGVhZC9zeXMvYXJtNjQvYXJtNjQvbG9jb3JlLlMKKysr IGIvaGVhZC9zeXMvYXJtNjQvYXJtNjQvbG9jb3JlLlMKQEAgLTE3OSw4ICsxNzksNyBAQAogbXBf dmlydGRvbmU6CiAJbGRyCXg0LCA9c2Vjb25kYXJ5X3N0YWNrcwogCW1vdgl4NSwgIyhQQUdFX1NJ WkUgKiBLU1RBQ0tfUEFHRVMpCi0Jc3ViCXgxLCB4MCwgIzEKLQltdWwJeDUsIHgxLCB4NQorCW11 bAl4NSwgeDAsIHg1CiAJYWRkCXNwLCB4NCwgeDUKIAogCWIJaW5pdF9zZWNvbmRhcnkKCg== --b1_497101434bde5b8ff94e80cdb0287f3d--