From nobody Fri Dec 10 01:55:07 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 0BD6118DECD7; Fri, 10 Dec 2021 01:55:08 +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 4J9DVz5WpHz4mrx; Fri, 10 Dec 2021 01:55:07 +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 99BA011D42; Fri, 10 Dec 2021 01:55:07 +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 1BA1t7Ab007208; Fri, 10 Dec 2021 01:55:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BA1t7Dn007207; Fri, 10 Dec 2021 01:55:07 GMT (envelope-from git) Date: Fri, 10 Dec 2021 01:55:07 GMT Message-Id: <202112100155.1BA1t7Dn007207@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Motin Subject: git: a69f8104665c - main - 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/main X-Git-Reftype: branch X-Git-Commit: a69f8104665c7356b08d81728d406c595973672c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639101307; 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=66We9mIOlzoen3KfbT51rOd9nTjVJgSzUvQ73sTq4ZY=; b=u+VaQgl8si9sUzAPRUHrj3vn/Bo8F6sbexrPcJMdHZ45x4u4vN4agiTECtMnDAJpNE4j26 9KmSJViE4wS+sCICMOkr1pbgkoZie+5V65kdbWDyDCIB6CrGlpjqbddwHUnWWNsKwdrxdn 8nPPMkWPFV6rdpcmVOxGtjw3kUB6cwKcYZmXbf4N7YekoHGYB1rY/0MtsEIMVdZFYImWm2 hRC6YPQNX7b6NDifX7s+JqrkgPRdUzqzdLASzhwS0TKn7njnVZCguz2/s9sziK6uNCxwz9 4xRGpQeEpqLzmgEw2UNyP1SiwOgVt9ahB0Xf7UrXl4r72xYvyXYpQXtp0vveoA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639101307; a=rsa-sha256; cv=none; b=s+gn/Zq+bBKM8DsM7uNmDkJMPYZ6wo5H4oGazWnxNhT+VKzBt7Dll3ZFqDXsflqpL4NQPx 8wfiAlI2xL9CwhQJZyeJ9HiNGl/bxoPMEw5BaANbCh1Uojx2z59HZKkd75ZXdHIzpB/+uJ jripMXft64OCdRwOd8djo81YXxHgHcfrRJJmYwPgmV7xLFK26QnUcoDUPZPCncGx9D3T/m YV2S6HrXCB0xMo4BrEw3rqrg0xQ36X4CtLNUmsADX5OB6a3ld6jb3jeBmcLsgEX8WUFRUX KjjyLHmu/eamS3d+KEzlTdhRFsphtBdbD82ByvJ0/+Ox53inraX5PjYFrytOkA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=a69f8104665c7356b08d81728d406c595973672c commit a69f8104665c7356b08d81728d406c595973672c Author: Alexander Motin AuthorDate: 2021-12-10 01:54:22 +0000 Commit: Alexander Motin CommitDate: 2021-12-10 01:54:22 +0000 smist: Remove unneeded Giant from bus_dma_tag_create(). bus_dmamap_load() call uses BUS_DMA_NOWAIT. MFC after: 2 weeks --- 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 fda7cb2f52bc..129ec2d4884b 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); }