From nobody Thu Dec 9 00:33:39 2021 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 0C63818C2B05; Thu, 9 Dec 2021 00:33:40 +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 4J8ZlR5VQXz4r31; Thu, 9 Dec 2021 00:33:39 +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 9CA821D1B2; Thu, 9 Dec 2021 00:33:39 +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 1B90XdmX078216; Thu, 9 Dec 2021 00:33:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B90Xda6078215; Thu, 9 Dec 2021 00:33:39 GMT (envelope-from git) Date: Thu, 9 Dec 2021 00:33:39 GMT Message-Id: <202112090033.1B90Xda6078215@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: b2e306164faa - stable/12 - nehemiah: manually assemble xstore(-rng) 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: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: b2e306164faa10ab0be957378a5344f45f7288de Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639010019; 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=Ih90hvrTa95cD4p7rnecQlolW3IbCyzpgmGSIO1Jcjk=; b=diDyEzLOMzTVyuWH1Gzq5rs15bfyrD1WklgDEyzUB+PenB/mMiHr1d3b9utL1q0HyFYaxh /K5NUUgvIEneTiQ/9TFVPQOIsVBRh7j0t4ZKOyU9HKROOEsw9XJA5NnChaK81vLt+rfksl Li8RznDnTz6on70kOpP8oLgQiMgXJzAWdzKjQqEuK/C2iDUIUxOCJxxmNKT47Wh2UAcI/W bY1nLkHh5tcqRP9cM1Y57PTGjHVGwrc6lw0cZoVI8ocxk9axJ4FTKcURtbHJxwPfN8fwUo abP6ZyM6MLZ8mPwez9BSNSNBN3/WR+5ClRFukEysFr53BE+bRt5EBWVHP46p/w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639010019; a=rsa-sha256; cv=none; b=mf7yet02XwjCoYKpKUVlGNJqY9YHyzpJOg0mkE7nODTurHrcUn68y90yNjsKROUHjZtW/w uFDMv9sJM/JBqwlPsXLk4W5+YxvhlWssG/EMYFN59cAc6yQc7s+p76W6aGpsdQfqwBfDYV TExgyDJj+8ZOKZnOjkrMTPJtYdXGnTavt/hmg6NF/DFqqZqa21RrQ0tyvRg7L1ocop7ChZ 5LNbnfzuIPDNUiU/SB4MlNV57GVN5jYMdHbgO0amcCcD5EMg6Esh0dZCiydsfH4KXA7qi6 vQiV91YECAcmCtELMIMjTYJLq+bgpoyctTxctoO7Yw5Juc1NRbOL7hkn+n2rag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=b2e306164faa10ab0be957378a5344f45f7288de commit b2e306164faa10ab0be957378a5344f45f7288de Author: Konstantin Belousov AuthorDate: 2021-10-20 22:42:05 +0000 Commit: Konstantin Belousov CommitDate: 2021-12-09 00:31:53 +0000 nehemiah: manually assemble xstore(-rng) PR: 259218 (cherry picked from commit 362c6d8dec6dfbedc5717e45769042279a1dd3df) --- sys/dev/random/nehemiah.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/random/nehemiah.c b/sys/dev/random/nehemiah.c index c5f42b83d220..6666eca2930e 100644 --- a/sys/dev/random/nehemiah.c +++ b/sys/dev/random/nehemiah.c @@ -68,7 +68,7 @@ VIA_RNG_store(void *buf) #ifdef __GNUCLIKE_ASM __asm __volatile( "movl $0,%%edx\n\t" - "xstore" + ".byte 0x0f, 0xa7, 0xc0" : "=a" (retval), "+d" (rate), "+D" (buf) : : "memory"