From nobody Fri Dec 24 01:16:32 2021 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 AE69E190DD50; Fri, 24 Dec 2021 01:16:34 +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 4JKq011c1gz3CNT; Fri, 24 Dec 2021 01:16:33 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 CC3C51AEF3; Fri, 24 Dec 2021 01:16:32 +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 1BO1GWA8030891; Fri, 24 Dec 2021 01:16:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BO1GWdN030890; Fri, 24 Dec 2021 01:16:32 GMT (envelope-from git) Date: Fri, 24 Dec 2021 01:16:32 GMT Message-Id: <202112240116.1BO1GWdN030890@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Motin Subject: git: c3593fcdfb0d - stable/13 - smist: Remove unneeded Giant from bus_dma_tag_create(). 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: mav X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: c3593fcdfb0d3d79dbad1f5fb358ede6ef7524f5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640308593; 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=N0FyqzeAvg72afZqdqWzft5psiAElLraKIHmlm227ts=; b=fF96EExhV1mf2R3nRBa+Al6kPMB8TvumLev9RJuo0tYLoUFa70FLJaq1KPr5cWVnWpIW+R oYvD6M831ApznCsZ6XsmXQqTyOBprn2CNnFvNZBteCvg7Qd7UpT59QUZVvhoGO6LdKlyHc UHCtt/0Zp5cMKjz6s4JN7gIXpYDY5teXQFL/+xqONhq2OyzLH5Zo8CR0lsdRwUMpDcew5t 5c932sp6+ej62rGMKbYYJjPCBIs1TMxsWZUJVdB0zmqGl3K1MlFSdmTy+5B6nS2+Mx8TQO 1Rze48YQSq4nTBGvSPvfO6qmR7HOSG+Kqj6TmM4rY+vJ7ZioxKUOSosNq+2V0A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640308593; a=rsa-sha256; cv=none; b=vrZ20fxEWIiT0QdJ8eNNq18zjKCg9vp7ev7FfRz+cOmQHUvxXAEhmyRKHbLBc/Mur+wPSp 9yU9WE5rXuC0b8UyaN761vzfGfnSA3JT1xVzEmQJf8GvDzOix/76ln3jcCfHKc98hx8331 o1ZsfJnL71N8KWY00L+oqPiU9OZJ6xd2xAUV+/h536JTiwHqC9NGYExy2t56csyoTlbjz0 P5MEaQc4ZgLtffE/iYhXb+1LIZ331MV/RhmHvG96zTntFXxma01XYX8lOgHJM86fmf3IzO 69o8ZKSdzQhy32S7zisBuHfeHr+e9MIo8cAQNdj/qo6V3YA/xXcM2zZrYp5+kA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=c3593fcdfb0d3d79dbad1f5fb358ede6ef7524f5 commit c3593fcdfb0d3d79dbad1f5fb358ede6ef7524f5 Author: Alexander Motin AuthorDate: 2021-12-10 01:54:22 +0000 Commit: Alexander Motin CommitDate: 2021-12-24 01:05:24 +0000 smist: Remove unneeded Giant from bus_dma_tag_create(). bus_dmamap_load() call uses BUS_DMA_NOWAIT. MFC after: 2 weeks (cherry picked from commit a69f8104665c7356b08d81728d406c595973672c) --- sys/x86/cpufreq/smist.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/x86/cpufreq/smist.c b/sys/x86/cpufreq/smist.c index f95939001ecb..309b725d31ad 100644 --- a/sys/x86/cpufreq/smist.c +++ b/sys/x86/cpufreq/smist.c @@ -205,8 +205,7 @@ set_ownership(device_t dev) /*alignment*/ PAGE_SIZE, /*no boundary*/ 0, /*lowaddr*/ BUS_SPACE_MAXADDR_32BIT, /*highaddr*/ BUS_SPACE_MAXADDR, NULL, NULL, /*maxsize*/ PAGE_SIZE, /*segments*/ 1, - /*maxsegsize*/ PAGE_SIZE, 0, busdma_lock_mutex, &Giant, - &tag) != 0) { + /*maxsegsize*/ PAGE_SIZE, 0, NULL, NULL, &tag) != 0) { device_printf(dev, "can't create mem tag\n"); return (ENXIO); }