From nobody Thu Mar 16 16:46:09 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 4PctSK527fz3yKVd; Thu, 16 Mar 2023 16:46:09 +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 4PctSK4XQZz3n3Z; Thu, 16 Mar 2023 16:46:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678985169; 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=nYLk2phH3PZRPAkeqWrOtCpPz+1c7lOYdWoq061zcXc=; b=Sdp69cYoYMWT1b5itq6Xt41bUyFXDfJh05fSQcX6DaaLE5mEWofz8gV18Vt/3RbNEc0UC+ FJI87OjetwCcfZgWz7T92Zrwu7xmda3Tjd3nzocHVX2plOiPyetCP8ij+S+ACYCviE2ObT r6XpXLgTd0okUiok+GmgEmOEJ2Mv4V/FOWBBWyEoBfC+EXjIQGcU+AXUblTPIc7+wL5bYR r9pYHYwG89zknxO4YcNksfHjZxkuBtOVQGXLbZFslJ0TiKqjp/hBUw3kWbpz5Fo1Yq8yNd I8QvEBlv20Q3UnGCgffPdPYP5qH4bnDnJX1F3uGZ8KCmksAtglDmu7BY0vahlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678985169; 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=nYLk2phH3PZRPAkeqWrOtCpPz+1c7lOYdWoq061zcXc=; b=Gp0xaXTNCKwAaPj6B6tYQnhVaDUFtqo3JYQQIOb2aSum2PSWOQGqW2QsfYBp/TUjnLmbXy CMrqaFFGPjRhceFAA3NdPD199gOOUdU6/3NrElHLnQepBZ1Y94Cu9QixcYHQp613Ko2Q19 Pj/oQM4X8QwpXCm9/dPn8Zm4YBAoTcrjMoj5qw1SrthRVTqC30rBMt6xzJp25E5g1hAO3t lPkW7sB7/+9Fv3diDR/tMlHAj07DcJxaX8hXArj7gSliahO3VToL9i5oVmnxw8n9vThKKr EJpBcLG4JZ/ZJ7Ys+aQflOx7VEZmoYyH44Iebd9iL3ILg3jt8DSSBAGET5W8GQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678985169; a=rsa-sha256; cv=none; b=E6JK94Uq9TekedJrLsJmBuJBjPg6ul63m7k+9ObC/5WEJBAymmBpZO5if6hPRT3uD2MLtn loUUGNMYhK6g7S0JdRyx21bOFfE01U/nAnFfD6NEwmNRhgB3bwn7aY1/vusmLmh0hiuvI/ miZbPK0DFX171M76hc7z7w+7LgUoLiq9lbndAgPqIh9Vf5i8oPBkh93OBxp8GOn1fWCWIQ PTTBCsDPjmxYnxj5bxPamZkV4/iwPKD4xCY/Ek03RXfc7HUuXcqAyj/x7pCjGM3RBa5ceK 3fm9Uh0feqLGSKUhsqIxlY6QaFai2lKM5Y2tTcMDCE8tbSGBH1h480lNn7W0lw== 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 4PctSK3YpCzrN4; Thu, 16 Mar 2023 16:46:09 +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 32GGk9Jl022235; Thu, 16 Mar 2023 16:46:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32GGk9le022234; Thu, 16 Mar 2023 16:46:09 GMT (envelope-from git) Date: Thu, 16 Mar 2023 16:46:09 GMT Message-Id: <202303161646.32GGk9le022234@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: bc108947579e - main - Remove an unneeded CTASSERT in the smmu driver 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: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bc108947579ede209e49dfc38791705aca962fef Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=bc108947579ede209e49dfc38791705aca962fef commit bc108947579ede209e49dfc38791705aca962fef Author: Andrew Turner AuthorDate: 2023-03-16 15:35:04 +0000 Commit: Andrew Turner CommitDate: 2023-03-16 16:45:42 +0000 Remove an unneeded CTASSERT in the smmu driver We don't map the DMAP here Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D38951 --- sys/arm64/iommu/iommu_pmap.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/arm64/iommu/iommu_pmap.c b/sys/arm64/iommu/iommu_pmap.c index acef3d8d3368..6319d97ff763 100644 --- a/sys/arm64/iommu/iommu_pmap.c +++ b/sys/arm64/iommu/iommu_pmap.c @@ -80,10 +80,6 @@ __FBSDID("$FreeBSD$"); #define smmu_l2_index(va) (((va) >> IOMMU_L2_SHIFT) & IOMMU_Ln_ADDR_MASK) #define smmu_l3_index(va) (((va) >> IOMMU_L3_SHIFT) & IOMMU_Ln_ADDR_MASK) -/* This code assumes all L1 DMAP entries will be used */ -CTASSERT((DMAP_MIN_ADDRESS & ~IOMMU_L0_OFFSET) == DMAP_MIN_ADDRESS); -CTASSERT((DMAP_MAX_ADDRESS & ~IOMMU_L0_OFFSET) == DMAP_MAX_ADDRESS); - static vm_page_t _pmap_alloc_l3(pmap_t pmap, vm_pindex_t ptepindex); static void _smmu_pmap_unwire_l3(pmap_t pmap, vm_offset_t va, vm_page_t m, struct spglist *free);