From nobody Wed Nov 06 14:46:51 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 4Xk7MH45kgz5cgJf; Wed, 06 Nov 2024 14:46:51 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xk7MH28nXz4ChM; Wed, 6 Nov 2024 14:46:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730904411; 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=0SWGC7Uiwygu2lYs5K0VvO+HS/hHbwaiAofJTCbhPJ8=; b=cMin7Qxctk0IFkmMv+l25dWoOuy5NXyOvxcQKZ4quVr1V2lkpPY6aHe6EDcx78AzGrJ9ws 5Eo9ek2cFfMNrsxIP9Yd84FwHit6fCD1DyAkPsiVVprwsd0pIajQv+stiX/yXqXDvUkmZF kJDu4ZqWYKU22/4rJPHHEdMy2aqkXaQD2ZgTQnwy39+YSgknakCj7nXPoD3/1wA4gTlszx VQZaJoGRjrJSTvAE301sE7nvfMyg+cM69ryJBJnHvCR2CIif5zAgs4gYm1f45YA8U+08y+ 2LIX9Ks5knJvVY3ExoDtpNR3Mq06uIfxL5Gr6zmmDQZ8rQ7UTUofHD4NGSLBhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730904411; 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=0SWGC7Uiwygu2lYs5K0VvO+HS/hHbwaiAofJTCbhPJ8=; b=BMEnpp++GV7lzSdQRHFHvIfxX9H1ASTF+PxEL3XRkiWvOkTNvkfZjzrCG6nLNyCbjWsa+u 7qEAoLfrrrI/0GX3h5f900r/628rXJ6tyW33IyOwgCY5kU8CsWcVP0OAF4QA+tbG8dOR0b h5nOFcIFRH+ZAEZ9aLeEJelIDOjbhYXm9e5RP+es+DQqsD/WCnqmeJZDHRYfumn/OZ1lz0 LQUvYsvtdp+WUE+uwvpkrtjRcM5B2MPcywQsK2/qhF+NEOXtoErevJ7MoH18Qtw2ePsUwE AfnB6YJagGX5/HyEdtUEC86PGQRA/GV/875P0Zb+f672QwikcPmge4CieMS9eg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730904411; a=rsa-sha256; cv=none; b=h9UvhrTKQjjrF/8ZUfxg1wxZv+ARiDQN4oCQk7g5akbGsaI0xxzhNW8LiJ6ngTEpzXC2Gk mvsy/QFUPIQIcc7WviIOAcHWKH3EnYT/RTwWh4z0ucj4pwzoB0j+A08ipzHsf7HP4wyxmu aTMWQk2y32/d+/yxeBngzDq4I1/xBttGmoktRHEgpqfgcT4/r4XMWl067gjX/b2JW5VUeZ qv0vE94/P9+1GdY3UOMfI0DjkKbZT+nY47BzskIJjvv3Iam0K4Hjhhcz+ppFFRgs8/+hL/ XFFKPDLMLjGJw5xd+0RU8Ud25uDVJS26VH0R71+xFOgX7v/XCOZSVPEMhYj77w== 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 4Xk7MH1c5lz15NL; Wed, 6 Nov 2024 14:46:51 +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 4A6Ekp1v083343; Wed, 6 Nov 2024 14:46:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A6Ekprl083340; Wed, 6 Nov 2024 14:46:51 GMT (envelope-from git) Date: Wed, 6 Nov 2024 14:46:51 GMT Message-Id: <202411061446.4A6Ekprl083340@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Roger Pau =?utf-8?Q?Monn=C3=A9?= Subject: git: 6ac22dc3d823 - main - x86/xen: Use intended values in HVM_CALLBACK_VECTOR 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: royger X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6ac22dc3d82395b88f1d8a404aa9985306f06656 Auto-Submitted: auto-generated The branch main has been updated by royger: URL: https://cgit.FreeBSD.org/src/commit/?id=6ac22dc3d82395b88f1d8a404aa9985306f06656 commit 6ac22dc3d82395b88f1d8a404aa9985306f06656 Author: Alan Robinson AuthorDate: 2024-10-25 07:27:39 +0000 Commit: Roger Pau Monné CommitDate: 2024-11-06 14:46:05 +0000 x86/xen: Use intended values in HVM_CALLBACK_VECTOR Replace the HVM_CB_GSI_GSI SHIFT and MASK with the existing but currently unused HVM_CB_VECTOR_VECTOR_SHIFT and MASK. The binary values are identical. Reviewed by: Elliott Mitchell Reviewed by: royger Pull request: https://github.com/freebsd/freebsd-src/pull/1490 --- sys/xen/hvm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/xen/hvm.h b/sys/xen/hvm.h index 3ff3ee3c51e6..cc414b7b471d 100644 --- a/sys/xen/hvm.h +++ b/sys/xen/hvm.h @@ -87,7 +87,7 @@ enum { }; #define HVM_CALLBACK_VECTOR(vector) \ (((uint64_t)HVM_CB_TYPE_VECTOR << HVM_CB_TYPE_SHIFT) \ - | (((vector) & HVM_CB_GSI_GSI_MASK) << HVM_CB_GSI_GSI_SHIFT)) + | (((vector) & HVM_CB_VECTOR_VECTOR_MASK) << HVM_CB_VECTOR_VECTOR_SHIFT)) enum xen_hvm_init_type { XEN_HVM_INIT_EARLY,