From nobody Mon Sep 30 04:45:21 2024 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 4XH7mL4Jrkz5XkH1; Mon, 30 Sep 2024 04:45:22 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XH7mL2Plfz4F73; Mon, 30 Sep 2024 04:45:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727671522; 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=qOV3n55uSL1cUNuOU7bcbH7hufJIx3djyZfGHNVE5Cc=; b=iorsgez9JNYJta+6GpN1R+4u/BDodyd1cNi2lJbo7tqLCmMTtf2ISjbNf1XK2pAkqpyCM/ tDZFsqAuAxTnL1tlwmCqsCzJxYjO7d1De/XnD3qRMCwH2jw8pg038uiZ44gBbQoRDD8MsQ qwcNjpCuI+GCcnVstrI+bjj9KhkHpKKKgfdfsrZfMXbhe2RLZ1AgGeH95+O6bup5hzSHMB 7RFsq/Zxqs6GwMum0Pdj/HKt/NnYhxbd0+c7O3V/YkRL6dctR8AGxoUN0NP3xdvhHCV1nb FgN/9mSyb2eXFd1XCJ/9oSeipNFgNE2TDzNara2xPdbqxT/5+LG6C1SZE66flg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727671522; 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=qOV3n55uSL1cUNuOU7bcbH7hufJIx3djyZfGHNVE5Cc=; b=jhhT4XFtMjy/qFnCEZ6pRrEwu6RROYqmEuAZG+pJXAKOGWg5q7RYY95jQWGlMkJiXB0juy L2LW0QLFD0ZVdr/ZPGmkSwuAxe5rY81ShPlduxAg+4nuZy/MQ6ZHjE2owSmFO2Wf8y+KWg eUqDonb/40iAw82D8vskRvwhJ5/oAfxnrDtqXEgNHjKSsB/7L3NlE9ymHhLhS0oU01Wqdl w5Iojv4kxif/hlQshBij/tgiPIQGDlZEiyF+zLYyRa0xSarh2R2f7At0e3LeZ4j90pnZ36 h1BZop+zpQs8MCu0HTRejIip/+lO9ek5jNjBqhJ5DiW/xUutG+QEjSmSYU9XOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727671522; a=rsa-sha256; cv=none; b=h1NkGXHa1dF2DL55eBxebt+KupRg+Owag4Yj6zYNOsOR9JVYSkeCZk1st2cNxkR26NNlqg kUbpjD8V9wHy0aEpqjg1PF4QfPFisJJNQ/8Dk1gNRmBsWWhDKl+EhckOZfBgx6UNzjlKo2 IpoQz0qhX3YNhZ1kfxwPefMAenBLJeyN57oQhup4/DV+L7jpDIh7Tn+rHANUYJS9CJMznZ APjLxvh1aYNmTQlpXk96EemwoLD54V7Iga9z4dSz8PZXBNdvprx+yFtu8LVfvIk3NJk+k1 AFVKs3Zll7v2wla3uNzW4N4caQUcLJWR/tttRLx0M7utzs5Pv5NsZfO7exOp6Q== 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 4XH7mK4TrNzdkT; Mon, 30 Sep 2024 04:45:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48U4jLD4086773; Mon, 30 Sep 2024 04:45:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48U4jL6a086770; Mon, 30 Sep 2024 04:45:21 GMT (envelope-from git) Date: Mon, 30 Sep 2024 04:45:21 GMT Message-Id: <202409300445.48U4jL6a086770@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: 49995f771b53 - stable/14 - smmu: Stop checking for failures from malloc(M_WAITOK) 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 49995f771b537064daeb2931ce86a13e78f9d977 Auto-Submitted: auto-generated The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=49995f771b537064daeb2931ce86a13e78f9d977 commit 49995f771b537064daeb2931ce86a13e78f9d977 Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:23 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-30 04:44:18 +0000 smmu: Stop checking for failures from malloc(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45852 (cherry picked from commit f75ceecad2157a0d3aca61a4893ab78f2dec21ee) --- sys/arm64/iommu/smmu.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/arm64/iommu/smmu.c b/sys/arm64/iommu/smmu.c index 4e724f2fd53a..d09f33a9a49f 100644 --- a/sys/arm64/iommu/smmu.c +++ b/sys/arm64/iommu/smmu.c @@ -971,10 +971,6 @@ smmu_init_strtab_2lvl(struct smmu_softc *sc) sz = strtab->num_l1_entries * sizeof(struct l1_desc); strtab->l1 = malloc(sz, M_SMMU, M_WAITOK | M_ZERO); - if (strtab->l1 == NULL) { - contigfree(strtab->vaddr, l1size, M_SMMU); - return (ENOMEM); - } reg = STRTAB_BASE_CFG_FMT_2LVL; reg |= size << STRTAB_BASE_CFG_LOG2SIZE_S;