From nobody Mon Sep 30 05:08:12 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 4XH8Gh5CQSz5XlfY; Mon, 30 Sep 2024 05:08:12 +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 4XH8Gh3M88z4Wr6; Mon, 30 Sep 2024 05:08:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727672892; 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=GKMrRUOn+y5jEph/hYaAkbF8/YB6BFYHYUf3ep87TTE=; b=trMX+WKdhTbqP3Ftms8UubxLNmTHBNMVdEeOZ4/JcyBJdN9jxK6HOa46bBzz/NR8m2+mM5 J4aS7mdavYD8h/iXo95UB9sE05SY/KUSSSBU2DZ3Gd8OdHQm0z6DWhmk3q7hPGsgZ4Pgou S2ZsB9JolGGc2xu89OsK1XWMt0pzxU/+8GIQmIYBX4dieLENg5oipERKBlP7EFgK1ccOMP Ug0uQzpKTAeqT81/J/03I8m5w+TlE3pa6rNyNZHLeG3PmAe3ID26Y1bqEPI5xaGSLpXugs tbA0E12Bm8s8SU01aAm53Qcdb/Q94H11u24ImKw1N3Rs+yO0KaaNoaJ+IK0k6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727672892; 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=GKMrRUOn+y5jEph/hYaAkbF8/YB6BFYHYUf3ep87TTE=; b=UhxSJ7XAzRsy8XKQhXt/j69P3kTLqKXH7sfrceoIoXSUdUg1uNGTNcHHyHJQ6+zhTSTW0k PYm3NmOd1xB79ylce3bmj1JxKWAHliy+7ZV4H3AJ2+jIRrjxRU8fIHyjVM9PHcBgK1fFJR sxJ/pYXbICyoQxP2y3iaNt2XqwAejqdxerV+L3wJhBSjicpOQAuYMw/Uw7NjSqd96FIvrE Uq9eoJN25GBPRnU+1dqvEsGwvVgQY+rYzX9CcQ49TH4xJaA0rkUEwSnMj/eMzX6C/zg6BD iNanjERdE/PQDa2vtQOnTmAs1oIpOZf8ysMDDX1qNlr5FN8nPUZz142PdJC3/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727672892; a=rsa-sha256; cv=none; b=qa2/+N1VLI3dXf8DOt2hjuKclxbv9CAsEj/jD5wN5buKbv+/0sPtLfMTpORmkjqRbfV3vN L5PR8qZMwLSc2psb/+mRIdOnMPuny88IxETncvOM0FzwOhILu8v1IdQzdPXVTsSXQiP8TB cGrUnzjpCySx9d+2+FYDDTe6/y3kbG1a5MMp31tBSXBdAeUIDjA0c131zeXH0NW478YOlI ox0Uw2O157oi2AN8Gyltil8MHrnckxJ9RLowLvF/Mt53dzmpI92jdsFs0Ae4YDdla0wVOD IRFUGDi7+7oo2g3HZSffPzCfXWsDVqaJiD9S5oK4yDQYfS1Lyk17CREA5sAYkQ== 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 4XH8Gh2zcbzfx5; Mon, 30 Sep 2024 05:08:12 +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 48U58CSc024560; Mon, 30 Sep 2024 05:08:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48U58CIM024557; Mon, 30 Sep 2024 05:08:12 GMT (envelope-from git) Date: Mon, 30 Sep 2024 05:08:12 GMT Message-Id: <202409300508.48U58CIM024557@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: 91b6d79c2f39 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 91b6d79c2f39199d51f7642410418a8b10dcef0d Auto-Submitted: auto-generated The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=91b6d79c2f39199d51f7642410418a8b10dcef0d commit 91b6d79c2f39199d51f7642410418a8b10dcef0d Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:23 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-30 05:05:32 +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) (cherry picked from commit 49995f771b537064daeb2931ce86a13e78f9d977) --- 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 40f78041c316..98e8ad14e277 100644 --- a/sys/arm64/iommu/smmu.c +++ b/sys/arm64/iommu/smmu.c @@ -931,10 +931,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;