From nobody Fri Oct 20 15:56:13 2023 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 4SBq261gpfz4xwCT; Fri, 20 Oct 2023 15:56:14 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SBq260Ccvz3FBn; Fri, 20 Oct 2023 15:56:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697817374; 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=isLGar7BMNzqFaALeiePwRY5bOxldbbq5P68f8Z2XjM=; b=qDGn1jP9gpHO5Vnhy6rHJ0iKsFeU1TDf0YJXnZPf4eE73Wjj1XzKNg7Q1STKXsk28+YdcS 9oJnHNKJlHqqffRBG1LIWMu6s61QGxKyeiv5Ow90VNoN80J4wUjn9GS6HHRpOi+V87QTPv nbog5MoOXUtnhbuT0WHMqYUlpa7kKZdv2Rel6/nB+5GIM9q6PAFm0BAC6wYaVg1ZjlXpT0 a15mLPoksyQul2ot+ELLmbCS3mrg3Wzmi8aTsxGMXVuCUu9HnXgv+J0TFYqqE7lPL61OSo tGxXJGtw7bjQoOGD5Ipg7TbLGkhRyzeSzDSmIadU1R481gMfnTNBwJyDuvJpQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697817374; a=rsa-sha256; cv=none; b=B7++aYwm2TZXes08CSwaQTdalSF2FdSiJSXuwcQgaFfCsqIlkY6FjgyZ1rX6S/Gj5yvmdA Dmg9mVVoe1MPy/On7ycunn6SyVapcSJNI3c3ebvtBaOQ1vJ/WC8twv3VsgUMM6qKFGSC1d x0uc8FxTn1lGVVf9C0e3CYXtNbquV9gfcJGr/TCpuUdUTry1O9ptqPcMsE11AQKiCT9NIs GjtlcxRB9OoNCCCxy4O/j7Mh7WLhMtn1GfXd4kVyVfPrwV1Jf7Esmw/LXMlhe2g3Qna1Ed C9Vt0XUzZxyL/Scj2FZinfxNRdmXVa1wBMQSEnHi1HPF0R+HFbpHz3UOvP2fjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697817374; 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=isLGar7BMNzqFaALeiePwRY5bOxldbbq5P68f8Z2XjM=; b=Fmcr24/W4w+FmGVHZwxqtTWcmfZAdorpqoJQG17xf6jIUGryFvL4p+5xz85FXmUUMrmWJT llRQIB5QHiCvcu663DxJVaZptMw1Cfrlzs9mS11DvGcvtXZ3DUcLXj+XiEMCEO7TRBUFN9 JherT9dgSkLaF0HUiQiw6mCFpkxG6UDHivryQsB3lqIKzWNZBJsPw1Hl+sLeUnJfd3mmzx Qr43sb9cPTEDdaoDkiPe5dvwR4QmasQc+6/pgQ1myEaGmlpHvTXTJkCNbMIHW0jIVFVNsE NfPQahbkBqO22XjJjxsSd9LRacCapLcmBzRG7P2rLitu4OMks5G2s9Bkt56juA== 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 4SBq256QtXzfGC; Fri, 20 Oct 2023 15:56:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39KFuDJP021697; Fri, 20 Oct 2023 15:56:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39KFuDls021694; Fri, 20 Oct 2023 15:56:13 GMT (envelope-from git) Date: Fri, 20 Oct 2023 15:56:13 GMT Message-Id: <202310201556.39KFuDls021694@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 1c02fbf2305a - stable/14 - arm64, risvc: warn about ignored kstack_pages for thread0 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 1c02fbf2305ac0f058c42f9b81de8543c6e19ff4 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=1c02fbf2305ac0f058c42f9b81de8543c6e19ff4 commit 1c02fbf2305ac0f058c42f9b81de8543c6e19ff4 Author: Konstantin Belousov AuthorDate: 2023-10-11 18:56:28 +0000 Commit: Konstantin Belousov CommitDate: 2023-10-20 15:55:45 +0000 arm64, risvc: warn about ignored kstack_pages for thread0 (cherry picked from commit 6aa641b71d0dd1b26674f0b6dba086410f643595) --- sys/arm64/arm64/machdep.c | 4 ++++ sys/riscv/riscv/machdep.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/sys/arm64/arm64/machdep.c b/sys/arm64/arm64/machdep.c index 8aa45a86fef4..bb7689c19101 100644 --- a/sys/arm64/arm64/machdep.c +++ b/sys/arm64/arm64/machdep.c @@ -1049,6 +1049,10 @@ initarm(struct arm64_bootparams *abp) early_boot = 0; + if (bootverbose && kstack_pages != KSTACK_PAGES) + printf("kern.kstack_pages = %d ignored for thread0\n", + kstack_pages); + TSEXIT(); } diff --git a/sys/riscv/riscv/machdep.c b/sys/riscv/riscv/machdep.c index 261dc8d6d840..d5767e240c7e 100644 --- a/sys/riscv/riscv/machdep.c +++ b/sys/riscv/riscv/machdep.c @@ -596,5 +596,9 @@ initriscv(struct riscv_bootparams *rvbp) early_boot = 0; + if (bootverbose && kstack_pages != KSTACK_PAGES) + printf("kern.kstack_pages = %d ignored for thread0\n", + kstack_pages); + TSEXIT(); }