From nobody Mon Nov 03 20:29:37 2025 X-Original-To: dev-commits-src-branches@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 4d0jqk00Hhz6FjDq; Mon, 03 Nov 2025 20:29:37 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d0jqj6HHJz3KMx; Mon, 03 Nov 2025 20:29:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762201777; 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=SsYsdVnk3tHVELgwOu3mXuEcXNMbCwoGrg5uYuF225E=; b=LQzTeANZmtU2BdbhCoTNCI3Yh684m/Tgho+ptaXyEZsn/ZcXf3R8SiVB5A0ZjbVsKB0cUh e+7T87Bst6GBMT5vWi5cQCmO5gflx9X14pxUo2ZJwHMxVaZjoQy9Zbltqox9JZPt95BFYK oa9rjx6lHrBhmVyYgUyMqv5HV2ULCdjRJBvYrhAGAIuh1GZwMLfO/wPtxINSTrdGBNn0L1 yvcjYSnWX/CUc61S0cew2T0TrQFwe2nP/yPCvRsyZ7r1Fa5Opg60ORokUhUogdf3+3QZcT IJWUQtrxuVxH55i8ndaIsQtQE0CtfLDNaLCf09nAEl7wBZ/a/C0OY5KueYXsWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762201777; 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=SsYsdVnk3tHVELgwOu3mXuEcXNMbCwoGrg5uYuF225E=; b=hPGJAi7eNpIHZs1TA2hVHJuc8TiCze5UV1QvMPZtL/UIU2w7Y0mva3hrASF1slEDDvf2fc hP691ionKwq43IibCTsDSokZDBwiFQazq7EV6toLGB3jmINw3a68aHBsZhsd3lCV4jiQ2j OKrdwnmoECQvCwQxcYj1/uBZ30e4rLgGBf/mOrfuPA9OB7L1XzOD1eu09CvLtksv7w+Sjj eMZY83Gg7AYliQQKlBsXTzUAXeD1teMUIkYGonaHO1ia1d7hTk0rfypvYNZTcxeqOS8Hrk CPvDQfEQgjxwYnWM/Dfokw4MoZvfuOJSpzC/YRIC6ny8vmo6fuVs65VYmCvzcA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762201777; a=rsa-sha256; cv=none; b=fSOtxTAs74L6P4j4T83vQyrexZEkkHvTmsEXYNcDO2Fxms5SzofnbccWnZ9OoVXIKvuWX3 mneLp3nWU+UlPpci9Biy0EBU01Fax4MhUCGi+KtemBh5ogbA8n2PK6MZR7XqbyvEkKiv4s 0bsICd/6o/bxqvvBppvfxw1i/+fLFcAdeyM1ZmBwFIgT+LshG8pSYv0grWdsVRNCFdOVaf dr+8wmm1YnusdE08EWMFbgOKBY04jdf1DhT9e2v0PHQ6DehFuAU/GJHs2h4YuK5ANdfv+b alwfCCanlOllV1LcdHoTUl8Kg3u/8PY4vwEzHMKreeV/s012AxAp8dSbZ9G3Qg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4d0jqj5r4vz9j6; Mon, 03 Nov 2025 20:29:37 +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 5A3KTbNX050845; Mon, 3 Nov 2025 20:29:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5A3KTbVW050842; Mon, 3 Nov 2025 20:29:37 GMT (envelope-from git) Date: Mon, 3 Nov 2025 20:29:37 GMT Message-Id: <202511032029.5A3KTbVW050842@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Colin Percival Subject: git: 4002a34e6836 - releng/15.0 - random: garbage collect the RANDOM_PURE_OCTEON entropy source List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cperciva X-Git-Repository: src X-Git-Refname: refs/heads/releng/15.0 X-Git-Reftype: branch X-Git-Commit: 4002a34e6836a10061fba8a76eeb9a092e1759dc Auto-Submitted: auto-generated The branch releng/15.0 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=4002a34e6836a10061fba8a76eeb9a092e1759dc commit 4002a34e6836a10061fba8a76eeb9a092e1759dc Author: David E. O'Brien AuthorDate: 2025-10-17 00:55:51 +0000 Commit: Colin Percival CommitDate: 2025-11-03 20:28:35 +0000 random: garbage collect the RANDOM_PURE_OCTEON entropy source It was used for Octeon MIPS and all producers have been removed from the source tree. Approved by: re (cperciva) Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D53146 (cherry picked from commit 283699338c5724253f721f4d0e488113dd49bd17) (cherry picked from commit b3bf22d70eb580b0a03906b17442f3950686b23a) --- sys/dev/random/fenestrasX/fx_pool.c | 3 --- sys/dev/random/random_harvestq.c | 3 +-- sys/sys/random.h | 3 +-- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/sys/dev/random/fenestrasX/fx_pool.c b/sys/dev/random/fenestrasX/fx_pool.c index 6a9828023678..95c2d223e0de 100644 --- a/sys/dev/random/fenestrasX/fx_pool.c +++ b/sys/dev/random/fenestrasX/fx_pool.c @@ -167,9 +167,6 @@ static const struct fxrng_ent_char { [RANDOM_RANDOMDEV] = { .entc_cls = &fxrng_lo_push, }, - [RANDOM_PURE_OCTEON] = { - .entc_cls = &fxrng_hi_push, /* Could be made pull. */ - }, [RANDOM_PURE_SAFE] = { .entc_cls = &fxrng_hi_push, }, diff --git a/sys/dev/random/random_harvestq.c b/sys/dev/random/random_harvestq.c index 96676e8694bf..e38fd38c310b 100644 --- a/sys/dev/random/random_harvestq.c +++ b/sys/dev/random/random_harvestq.c @@ -661,8 +661,7 @@ static const char *random_source_descr[ENTROPYSOURCE] = { [RANDOM_UMA] = "UMA", [RANDOM_CALLOUT] = "CALLOUT", [RANDOM_RANDOMDEV] = "RANDOMDEV", /* ENVIRONMENTAL_END */ - [RANDOM_PURE_OCTEON] = "PURE_OCTEON", /* PURE_START */ - [RANDOM_PURE_SAFE] = "PURE_SAFE", + [RANDOM_PURE_SAFE] = "PURE_SAFE", /* PURE_START */ [RANDOM_PURE_GLXSB] = "PURE_GLXSB", [RANDOM_PURE_HIFN] = "PURE_HIFN", [RANDOM_PURE_RDRAND] = "PURE_RDRAND", diff --git a/sys/sys/random.h b/sys/sys/random.h index dca30dc8fde4..af6b1e117423 100644 --- a/sys/sys/random.h +++ b/sys/sys/random.h @@ -89,8 +89,7 @@ enum random_entropy_source { RANDOM_ENVIRONMENTAL_END = RANDOM_RANDOMDEV, /* Fast hardware random-number sources from here on. */ RANDOM_PURE_START, - RANDOM_PURE_OCTEON = RANDOM_PURE_START, - RANDOM_PURE_SAFE, + RANDOM_PURE_SAFE = RANDOM_PURE_START, RANDOM_PURE_GLXSB, RANDOM_PURE_HIFN, RANDOM_PURE_RDRAND,