From nobody Thu Apr 04 23:06:25 2024 X-Original-To: dev-commits-src-main@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 4V9cgQ24PYz5GFGH; Thu, 4 Apr 2024 23:06:26 +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 4V9cgQ1VD0z4XVN; Thu, 4 Apr 2024 23:06:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712271986; 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=81PhBpsYYw2QgfP/6QhBXTgiXJIfldE0QmsoIxsBNjA=; b=G2lM8vL82cL6J18KfY0tfQaLjIiGi7JnDORUfNpKBc1dPTfBefetisagzFc0iM6YK0ofPb sCwp2oc2pdjsWJvOf6N54f2NSv9Z/BUPvX8PXIzBtwh3T264TOdwo8/49LZs6ophjC7a54 YUSXSb+Mgakzq2+v1cwQfBBwjESI1tWCD7SppLyeEpM6zaLx3oczz7AIKSMsAYW2zt9sYl zJKbhklF8Fm8mNxqtY2kbXL38uAPTES51eHBYm/nGf7/oDDfAlcm3kYCbhFy8qY+6e6AaR 9+56ilPDrKCADzZn1kOx7/fXB4xJoCfRvMdAaEL7o6Q1pfWMi/sD0Sfh4nY/UA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712271986; a=rsa-sha256; cv=none; b=YR0fYE02zmHDO4vtcjUksRCNwKTO8fzclPR1j9nzTfeMC4BfRKIJgIiICkHuniFC3COINA PT/YcD+XlpjoytI6mQEO6ZlOstVhHRYUyPb5NDCyUFo5WLTTneyqpehVc7q9Jy1zcr/b5a 84IKoENFzd863qq1bjApfRtkHM8YZ9AzXHPTZ/6ni7s65dzEDZr3LXHRKUbY+1tIUyJHz7 Y2ENNdZOQsuAhMrFfZiHZa0W0hO36g2AATj5VxUB1HorKOBdEWgYmj5yQ5fe3olz/S3wHQ GTiDCn6ru5AY5clgJCGJcEn4bdNCD6/2c2RIr8Far5g0MsIi8r8vFCyX/An4Vw== 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=1712271986; 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=81PhBpsYYw2QgfP/6QhBXTgiXJIfldE0QmsoIxsBNjA=; b=BPtx3RNO559XOQ3ZD0FpjqwdkjBEn5yU3dad54F3BOQ7gpMpljW2XWqxMdyMApXo2D1rx7 6lBF0db96vWwYOFA3ZTEXWez8O8yyt2PSnVQXO6tmSa9f54TVVaaZCq2iMfiCQIJJFURDr gCdpGWLykn1DTCkxo/wCLAKDa3Amtegx9kq383vj/4Nz0L3mMXvA5t8vdKp7nsBPCY08Ot T9JiKGLRzQcXU0iOtgurxMnoKBj4iM8ahdHN9aIKUunJhtLMNqhETC9Mayy8VL1S1YM7pJ Ah2++p+Mc3cXdzbLcLOLH9ONvjwZUksfD+lQigi8TEIMxcwkFXy3LVY+bXI8kA== 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 4V9cgQ0wVPzc05; Thu, 4 Apr 2024 23:06:26 +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 434N6PZ1031877; Thu, 4 Apr 2024 23:06:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 434N6PMh031874; Thu, 4 Apr 2024 23:06:25 GMT (envelope-from git) Date: Thu, 4 Apr 2024 23:06:25 GMT Message-Id: <202404042306.434N6PMh031874@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Justin Hibbits Subject: git: fcace5ab088e - main - powerpc/booke: Reserve KVA for minidump working area List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhibbits X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fcace5ab088edfc5b74e0cd9e731639bf07a9437 Auto-Submitted: auto-generated The branch main has been updated by jhibbits: URL: https://cgit.FreeBSD.org/src/commit/?id=fcace5ab088edfc5b74e0cd9e731639bf07a9437 commit fcace5ab088edfc5b74e0cd9e731639bf07a9437 Author: Justin Hibbits AuthorDate: 2024-04-04 22:23:39 +0000 Commit: Justin Hibbits CommitDate: 2024-04-04 23:03:27 +0000 powerpc/booke: Reserve KVA for minidump working area This was already handled for the AIM64 pmaps, so add the same to Book-E64 pmap. --- sys/powerpc/booke/pmap.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/powerpc/booke/pmap.c b/sys/powerpc/booke/pmap.c index 7982876b5594..69edb58ae235 100644 --- a/sys/powerpc/booke/pmap.c +++ b/sys/powerpc/booke/pmap.c @@ -749,6 +749,11 @@ mmu_booke_bootstrap(vm_offset_t start, vm_offset_t kernelend) debugf("ptbl_buf_pool_vabase = 0x%"PRI0ptrX" end = 0x%"PRI0ptrX"\n", ptbl_buf_pool_vabase, virtual_avail); #endif +#ifdef __powerpc64__ + /* Allocate KVA space for crashdumpmap. */ + crashdumpmap = (caddr_t)virtual_avail; + virtual_avail += MAXDUMPPGS * PAGE_SIZE; +#endif /* Calculate corresponding physical addresses for the kernel region. */ phys_kernelend = kernload + kernsize;