From nobody Mon Nov 13 19:26:43 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 4STfYw46ptz50RZ2; Mon, 13 Nov 2023 19:26:44 +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 4STfYw1VB4z4cvg; Mon, 13 Nov 2023 19:26:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699903604; 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=+95P3H2htbFzNJwD7yBW+xon2aOkc8n68zVUhsoElIA=; b=oCe4NZqZBhqtKX4P9V2Rb8E1+J3xJls/9wdNLCAJCK2LaZj+TvA0w/l7Doctv7pUcdN3Cb r2rLJcaJ8Q5vbQ6bUVtXlm5Q9BvcOWl7tHOpMX8zW20sGSJAsezwGNMah/TihWJGv/5lNU Q5qLkhV1ci7aNdJkaVJlC+/hgzlcVR8eOkg/UxYILsgp8ODABVk6mtdfQBbKkVihEReZgs wyoQdCYhuKm3ry1m+2c77Yone5fMGdDRufIkIGGSvB9dso3AVEGytX3t240tqa4KSOLl7b YcUgfhwMuemCudY6nZCYMZHSVpqKnXLZBCZiLYuDJQq/yiiCNRSj2PnwCmDzuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699903604; 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=+95P3H2htbFzNJwD7yBW+xon2aOkc8n68zVUhsoElIA=; b=HSOLgVd4Dl8nOZdQwdbxmRvv8GTDJYSqapEws0SVnnT5gsFAd8/miZi5SLKwXOVBNcsbRR abyk761sKPZNDdwRSqOzUSx1SLH6dsNQpZZxYvacwDNbUR5s+bmvufhrB1jolcQU/3E5iK FqjDwH9YJDai8FuxoaSOotXPgqaCq2fqnyJ+UqWa0cZk/Ec5q7xgAR3H/hsvhQffC/zYGA SxbUJIZO8NFdeIZNQuNUrGRAOl42N6fSDk/78di8tzaFv0BcJ963CRrLdQUuKL/eJVRJcx Ue42ZLMjhpsMk/gBiQC2iNQplPEIdK+tWCYVJK2tdS7mt/O9QfXP9514+LvKUQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699903604; a=rsa-sha256; cv=none; b=gEFwmqEHCSHF285X7ZYI454XNt3SzeWc/cthnlwNTfX89Osv3LlPSTr3GtoMIEpoGROc2V qb8bYySbf5rECHw9CjW+0OOf+AwyLQ6mvqXTFzs6BEYgrtx62lkFP8FX0hBMQrPvSUXyok H+NTBKcJzllzt5OqsPDkNWqiFspSpY5d+ts8kzU8lgqhDf3o5Kp1SGXBjmK1R2qafbO2KH j3lo+LAdZS1go5Zrqac5IjvYhkH3/W37BUdXg6JasbcVs4lznXT0j09RL60I1rtN0O9UG/ 4tSj3Spo4R6iui93C4A4utQgU3Mt5oUD2m/DAlvxA7zd9GgL4bdWClpekPNr5w== 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 4STfYw05THz2qP; Mon, 13 Nov 2023 19:26:44 +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 3ADJQhKY061612; Mon, 13 Nov 2023 19:26:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ADJQhsv061609; Mon, 13 Nov 2023 19:26:43 GMT (envelope-from git) Date: Mon, 13 Nov 2023 19:26:43 GMT Message-Id: <202311131926.3ADJQhsv061609@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 0e8044064716 - main - busdma: Add deferred time measurement to arm and powerpc 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0e8044064716fa7cf4fd9a98016f6e8c8f108333 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=0e8044064716fa7cf4fd9a98016f6e8c8f108333 commit 0e8044064716fa7cf4fd9a98016f6e8c8f108333 Author: Warner Losh AuthorDate: 2023-11-13 19:23:31 +0000 Commit: Warner Losh CommitDate: 2023-11-13 19:25:56 +0000 busdma: Add deferred time measurement to arm and powerpc Add the forgotten field to these implementations as well. Pointy hat to: me (make universe vs make tinderbox) Fixes: 20f8814cd3fa Sponsored by: Netflix --- sys/arm/arm/busdma_machdep.c | 1 + sys/powerpc/powerpc/busdma_machdep.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/arm/arm/busdma_machdep.c b/sys/arm/arm/busdma_machdep.c index 07a3da114441..41b92d65ae84 100644 --- a/sys/arm/arm/busdma_machdep.c +++ b/sys/arm/arm/busdma_machdep.c @@ -149,6 +149,7 @@ struct bus_dmamap { struct memdesc mem; bus_dmamap_callback_t *callback; void *callback_arg; + __sbintime_t queued_time; int flags; #define DMAMAP_COHERENT (1 << 0) #define DMAMAP_DMAMEM_ALLOC (1 << 1) diff --git a/sys/powerpc/powerpc/busdma_machdep.c b/sys/powerpc/powerpc/busdma_machdep.c index bffbfa94acac..59e54d2478fa 100644 --- a/sys/powerpc/powerpc/busdma_machdep.c +++ b/sys/powerpc/powerpc/busdma_machdep.c @@ -97,6 +97,7 @@ struct bus_dmamap { int nsegs; bus_dmamap_callback_t *callback; void *callback_arg; + __sbintime_t queued_time; STAILQ_ENTRY(bus_dmamap) links; int contigalloc; };