From nobody Fri Apr 29 23:12:47 2022 X-Original-To: dev-commits-src-branches@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 D898C1ABD551; Fri, 29 Apr 2022 23:12:49 +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 4KqpDc3S24z3wVm; Fri, 29 Apr 2022 23:12:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651273968; 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=s6cwrMX+Nd/JDNn9tcF8sUchSRuwpma+RbCPrzZeEE8=; b=jTvd+oy32wjEt6VdCbIoKie7Evwcq1h7TaCHTfCzhOeMCTrIgEJy7sGOIYUCoLmJAxbjjT yB21NCsziuyp3kycYQLFNYT5PxrCdDG8KgRoQNI73r8sZtHAyeC67GS0sDHJnCa4cOlp1r WkaA9z5JSc4SIkj5yEnNpuQsRAkP0JoKu//3m6ggh2vyVTGMlynVWrN7hP0JW8BVL9nHOL Oq+2NZ9kbn78aCO5A8mXqnLj2FhGLD8lTqfWjC9JnXe5V2Znt3ZpbWJIxu2X3FMw5P4zrK sX7fFnjASCZkGBzSxMevedmHm+oiZBEMff2ZMwoGLLd7Ntgu726IZC2OGtB10A== 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 BEF5015EE4; Fri, 29 Apr 2022 23:12:47 +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 23TNClWn045123; Fri, 29 Apr 2022 23:12:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23TNCldL045122; Fri, 29 Apr 2022 23:12:47 GMT (envelope-from git) Date: Fri, 29 Apr 2022 23:12:47 GMT Message-Id: <202204292312.23TNCldL045122@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 04e756596883 - stable/13 - cxgbe: Move page pods KTR traces under VERBOSE_TRACES. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 04e756596883c01631d2afd1a8bb2a4dc6ad5bbd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651273968; 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=s6cwrMX+Nd/JDNn9tcF8sUchSRuwpma+RbCPrzZeEE8=; b=S8HJE7q0sWOUmqYB2PvWsNkciVs6Pem9o9dDaGnm692Arx2YgC4fyZTofERtPOccfqTdsL 5X8rRHnZ8jobVhrjrbHXQ0smURCKESjPt4UEtXI3Y7r/5uaxgULVgm4hyrUnvkfZFlAQ7h 8Dw6ntDJOpl34U3yUcHx7ktimAfE5EYFw0Q4OqnVZd6p9Id7slfLtB4AxOENsDXQVuXb3j OgMDOxb6wIVPhEXysl6i2BRBV1hhqqek2hounmLXEFhL4Yz9lPl4qT+XDljpClZd/hONuI WGGKSVQpZQOvc7h0RUE9VuJ1XX05aDNFlYBAi51zS2hwUmzyJHBMnMNgnx4+oA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651273968; a=rsa-sha256; cv=none; b=WF4CLTpwukygQjKvhQvxUf3SAiPhaROiueZ38qb8jnKZxOGHmL9U6ZgYjwai1JsvysGf1h P9ikwVsEAHQU5ak6yFhkb6rkJ0wBL16mLxNKYelWArUwOHXW0/HZDvu3m5Qtxuc9QvTiFR 8klJv0P8s9pJGO5ix/4ZCJ+IrMuMKXm5UVLY9onN31g9OEL0GIdQj5+gBMOn/tZs6Oq0fU FieDzv1H5YneoYWUnoPYQyGSLMSoG7HEsjqXj6i3T9naq+smszxkpz33z4EyKynhqif7Sf ycNYXd/a9b4PM/xW5SmYauacGtNzipRBlid9SJUdxekBSNVHDI51uBXNll6DaQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=04e756596883c01631d2afd1a8bb2a4dc6ad5bbd commit 04e756596883c01631d2afd1a8bb2a4dc6ad5bbd Author: John Baldwin AuthorDate: 2022-03-02 23:32:21 +0000 Commit: John Baldwin CommitDate: 2022-04-29 23:09:53 +0000 cxgbe: Move page pods KTR traces under VERBOSE_TRACES. (cherry picked from commit 2753997438ae16e520a55fd2381aef3e2f35746e) --- 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;