From nobody Fri Nov 18 18:26:45 2022 X-Original-To: dev-commits-src-main@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 4NDQGv028Gz4d896; Fri, 18 Nov 2022 18:26:46 +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 4NDQGt36fRz4JSK; Fri, 18 Nov 2022 18:26:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668796006; 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=d369k+j+NBZJI9k/lKLy4NjLQ0lu8tkzOy5v/5ft7mY=; b=baoVdhmdXT9VX4nnyyDBBqRtUq/dAMdr7h+2f1ojB/+C/9Ly352ormydKB+uYIVWHT01td e9aezM+DWZbDFIPxKnf4Hn1W3bEuV+zFFor9VogZ81EmH6TQ0n7kG7hz5SXbqPPF0ZmYmF ASEFXjniLbYCH/V0UGCij7y7gd06gMFbbbKWUkuzKLw7B6nTLc4md+Uk9z0F05CaWENmxh pFgsFzS5841X1QfGX/XeTVgsQQuoOsi+uEXnvEBfrfRcQgCbFONCZOgmoAkJJY71lduOwK 8tmJf2Xp3LbxyqoEoEEAi+G5OVWcQQYzYrUEALYAW+jxJRa1eMf0ct6Zqsr57A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668796006; 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=d369k+j+NBZJI9k/lKLy4NjLQ0lu8tkzOy5v/5ft7mY=; b=RqSx9iWdzcXgOCZAk5XksPrc1FPbOD+P2HolZ8R0TGvkhWTt8q+uhLt6YIJDC/dDGLo49C lipaCZLoWeZ97A4+ULq7ji+f4nFO7NUveqI2aPqkkYn4onbAD+Vur4OCtaxSLd3Cu01BQL KjbL8rySy1bDsTN1uNeh3sHtqH0jA+vNaD6SzBE9fqyj2dZDUImxFglr41JYpUkMiMOsAC mZ3ylSq4dcYBMpMnuCsSCqBLWKh62IYenlsVhdTXGQgWiYUm0ZKGwXBr8IBf6kj+bQVm05 8W1bBsJAXeEbK31WfQteDwempMZm3bekm1tkdybVcqZ8qW8OeMOtj/+pGiHm8w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668796006; a=rsa-sha256; cv=none; b=Jfqo0hU5QhNjVxPKE95j3hIdHV+zV2T7EdwdHz5OQrPu2I346Ap7vCSx6blLODNo4lMEGg PnVPjImZnj3taltJCn24C/RRL53DcYrZJN2Yrxny4/CKBkON4gXQstHLGmsGMzD5o0KVdZ fcIOXGMNsYPanENQGMM8CHcTOfJbqhWMcrbiHnfwHHqKBzT5SHyYpTSdXPJPAO2dmT0M4X hUe3HChsa1TXs3L+8dFngwKcQBDQSCF5P0EGETcDnDfTMUoIDtwGKWMBLhzjcBqInFr724 miXGMl+r41TVodfOKxdtkcVendfXr9x3XNPiCf09BUStFsNS7C/VPC2LgABAtw== 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 4NDQGt0dQJzG5K; Fri, 18 Nov 2022 18:26:46 +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 2AIIQjal030493; Fri, 18 Nov 2022 18:26:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AIIQjTf030492; Fri, 18 Nov 2022 18:26:45 GMT (envelope-from git) Date: Fri, 18 Nov 2022 18:26:45 GMT Message-Id: <202211181826.2AIIQjTf030492@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: e42c24d56b3d - main - vmm: Remove unused vcpuid argument from vioapic_process_eoi. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e42c24d56b3d949aafd0c916e30ab91a4fe1e24d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e42c24d56b3d949aafd0c916e30ab91a4fe1e24d commit e42c24d56b3d949aafd0c916e30ab91a4fe1e24d Author: John Baldwin AuthorDate: 2022-11-18 18:03:39 +0000 Commit: John Baldwin CommitDate: 2022-11-18 18:25:37 +0000 vmm: Remove unused vcpuid argument from vioapic_process_eoi. Reviewed by: corvink, markj Differential Revision: https://reviews.freebsd.org/D37166 --- sys/amd64/vmm/io/vioapic.c | 2 +- sys/amd64/vmm/io/vioapic.h | 2 +- sys/amd64/vmm/io/vlapic.c | 3 +-- sys/amd64/vmm/vmm.c | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/sys/amd64/vmm/io/vioapic.c b/sys/amd64/vmm/io/vioapic.c index aee58849dd7d..e41b5acac920 100644 --- a/sys/amd64/vmm/io/vioapic.c +++ b/sys/amd64/vmm/io/vioapic.c @@ -455,7 +455,7 @@ vioapic_mmio_write(struct vcpu *vcpu, uint64_t gpa, uint64_t wval, } void -vioapic_process_eoi(struct vm *vm, int vcpuid, int vector) +vioapic_process_eoi(struct vm *vm, int vector) { struct vioapic *vioapic; int pin; diff --git a/sys/amd64/vmm/io/vioapic.h b/sys/amd64/vmm/io/vioapic.h index e45975c548a8..988321a6435c 100644 --- a/sys/amd64/vmm/io/vioapic.h +++ b/sys/amd64/vmm/io/vioapic.h @@ -51,7 +51,7 @@ int vioapic_mmio_read(struct vcpu *vcpu, uint64_t gpa, uint64_t *rval, int size, void *arg); int vioapic_pincount(struct vm *vm); -void vioapic_process_eoi(struct vm *vm, int vcpuid, int vector); +void vioapic_process_eoi(struct vm *vm, int vector); #ifdef BHYVE_SNAPSHOT int vioapic_snapshot(struct vioapic *vioapic, struct vm_snapshot_meta *meta); diff --git a/sys/amd64/vmm/io/vlapic.c b/sys/amd64/vmm/io/vlapic.c index 67a09401efb1..664852260943 100644 --- a/sys/amd64/vmm/io/vlapic.c +++ b/sys/amd64/vmm/io/vlapic.c @@ -593,8 +593,7 @@ vlapic_process_eoi(struct vlapic *vlapic) vlapic->isrvec_stk_top--; vlapic_update_ppr(vlapic); if ((tmrptr[idx] & (1 << bitpos)) != 0) { - vioapic_process_eoi(vlapic->vm, vlapic->vcpuid, - vector); + vioapic_process_eoi(vlapic->vm, vector); } return; } diff --git a/sys/amd64/vmm/vmm.c b/sys/amd64/vmm/vmm.c index f19076f27bb9..2ee57895d852 100644 --- a/sys/amd64/vmm/vmm.c +++ b/sys/amd64/vmm/vmm.c @@ -1813,8 +1813,7 @@ restart: error = vm_handle_suspend(vm, vcpuid, &retu); break; case VM_EXITCODE_IOAPIC_EOI: - vioapic_process_eoi(vm, vcpuid, - vme->u.ioapic_eoi.vector); + vioapic_process_eoi(vm, vme->u.ioapic_eoi.vector); break; case VM_EXITCODE_RENDEZVOUS: error = vm_handle_rendezvous(vcpu);