From nobody Wed Mar 02 23:32:31 2022 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 2458A19F71B5; Wed, 2 Mar 2022 23:32:32 +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 4K89Q80X6Zz3vXs; Wed, 2 Mar 2022 23:32:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646263952; 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=krz7Ah5krIkAQmSp4Up4ttCDCzMLnwrebeah9iWkflc=; b=h6l8DDQafroPsEEFGvU0goD/uFh8aqaD8r42XCmmCmUh1T2y4eK9a3pur3Xny1YVeysJcq cv2t63ksCqMTfQ0VHIBKcCZDRj5KR1a8czdvUDjaaZUiJ2FrA2EM04N+Tc8rt83Wdy9mx+ 88kpjleh5nurCojks6FaOspArFipbxYwbP+d9893aSLE0EJ+XaYFKJgLVH1xRiN26eM2vI BAFuLnfGw428rj70IGdaIxGLZAuQon/MfeF/q6IEpMEdFknzD1o1xBqikDkTfSyQIpC/Mf dJ6ocuP6JFwI1mRCDO5C8RAMdDdyJjc9kx8jIxB+sDq8DQt731REr8SnZexw2w== 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 E698550A9; Wed, 2 Mar 2022 23:32:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 222NWV3Y000918; Wed, 2 Mar 2022 23:32:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 222NWVVT000917; Wed, 2 Mar 2022 23:32:31 GMT (envelope-from git) Date: Wed, 2 Mar 2022 23:32:31 GMT Message-Id: <202203022332.222NWVVT000917@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 2753997438ae - main - cxgbe: Move page pods KTR traces under VERBOSE_TRACES. 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2753997438ae16e520a55fd2381aef3e2f35746e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646263952; 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=krz7Ah5krIkAQmSp4Up4ttCDCzMLnwrebeah9iWkflc=; b=oJOYN+vagZwkY5L4r9UJf/cFJkUG20fQmnP9dGecVmzy6zqiRS3UY+93hGcXfixtH2pUga 4vrX4neYP6U6x/wu4RSffG9F/SAAfuOycME6DzTRO9fjZLvPm96MnWNDulfRz5ylJwh7d3 syL3I5aYa6jMUSwP40y14KMU0uqrW+YLSUNTQoymRouO+2GjrC+tPi5MSQ2j38QGUiJqF8 Bh7T4adGwkJLiSlXNMFRXuNZZKghSoYJoIW8jts5EvGa0XXqgjI/qB1UxeN46hrZKMjgPS oezrDED6ZmsX+vTAiFHPCycm5vHrJI/deTzLWEU/VBZLqbtcYDWr1+4rdpc1cQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646263952; a=rsa-sha256; cv=none; b=dXOg0+THT8T0Vz9f5quSqV0BDu2SJKzrDazsCAVvLyJ7mRR77FTH9aWfLJz1yWZ9zzYJvl 0yvEUL5b783p59PZu2NYiyt9bEYaJTYHK2c6ZOJ+YIGDQ/Qf634yZyK4YC1auzLAKlw+Hv eOe4/vuMJfx2KnlLoCgqPqJtIZ/4z2GzAF6z8ui1JjpXD/yg1vhFkZDN3EBYpd8ooM2k4y PsMAWP4OsZh8wun8mXypGPiDbLYl9qXooCcKB6lpY+pab8l8oQDWku5u60nmG9DgkDvRNe 09MnnWfrj2ZPT4oYidYXIQAi45mORTIBogJ/JhaD32ZiPVROLbAIapyopSlSAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=2753997438ae16e520a55fd2381aef3e2f35746e commit 2753997438ae16e520a55fd2381aef3e2f35746e Author: John Baldwin AuthorDate: 2022-03-02 23:32:21 +0000 Commit: John Baldwin CommitDate: 2022-03-02 23:32:21 +0000 cxgbe: Move page pods KTR traces under VERBOSE_TRACES. --- sys/dev/cxgbe/tom/t4_ddp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/dev/cxgbe/tom/t4_ddp.c b/sys/dev/cxgbe/tom/t4_ddp.c index f49a8aaaaf70..7614f2ea9497 100644 --- a/sys/dev/cxgbe/tom/t4_ddp.c +++ b/sys/dev/cxgbe/tom/t4_ddp.c @@ -866,9 +866,11 @@ alloc_page_pods(struct ppod_region *pr, u_int nppods, u_int pgsz_idx, &addr) != 0) return (ENOMEM); +#ifdef VERBOSE_TRACES CTR5(KTR_CXGBE, "%-17s arena %p, addr 0x%08x, nppods %d, pgsz %d", __func__, pr->pr_arena, (uint32_t)addr & pr->pr_tag_mask, nppods, 1 << pr->pr_page_shift[pgsz_idx]); +#endif /* * The hardware tagmask includes an extra invalid bit but the arena was @@ -1077,8 +1079,10 @@ t4_free_page_pods(struct ppod_reservation *prsv) addr = prsv->prsv_tag & pr->pr_tag_mask; MPASS((addr & pr->pr_invalid_bit) == 0); +#ifdef VERBOSE_TRACES CTR4(KTR_CXGBE, "%-17s arena %p, addr 0x%08x, nppods %d", __func__, pr->pr_arena, addr, prsv->prsv_nppods); +#endif vmem_free(pr->pr_arena, addr, PPOD_SZ(prsv->prsv_nppods)); prsv->prsv_nppods = 0;