From nobody Wed Feb 8 10:36:48 2023 X-Original-To: virtualization@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 4PBbym3Fzfz3n1Kc for ; Wed, 8 Feb 2023 10:36:48 +0000 (UTC) (envelope-from bugzilla-noreply@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 4PBbym003bz42GY for ; Wed, 8 Feb 2023 10:36:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675852608; 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: in-reply-to:in-reply-to:references:references; bh=gaqlpZT/3qOoJ2LJZ04V4S/TOEiR7w+/h3zwPDJ/HS4=; b=OmoFFPBruSAAknTx4kiAcBT2hldVOnh476YhoVrjmc/tfk4McuMyY5Gp70Uut3rO/Yt4Lu 7kSOnDlE4eoYRh5vLE0jzpzEGjwYMjvBmYiqKS2bJA6AoDST76hExIsRektHy4SMerE7FV OLfZ2Y5i6oCX0jhmlWbE+r6sMMi5a4hy0RETm90/FUeFMX70p7lu7IHq9BVaHTx5tPVLSY dUc3e2bUWPoxBXBWxWZel1wGr/kiTAjT/aqpreZ6rlkhJ/3h+ytsmkgqEB0IFYlrhSUNg5 nKCd65Exl7gJrpftUJML5LanFQvpnPrzWPEduKUdrx9P7ngO3Icnwi6lsP3Ivw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675852608; a=rsa-sha256; cv=none; b=rNsCdw2l3UNiqIXaVk15tPBzcMSGWfEE8QZ3r0xxo9IBLAD7cUv/hxAf+CCK0jO4VteO3H MV/pvTIZPp/mjBgTTCCN1/cgXM96/LGSz2urQgPs543k3swznm/k3i1tkBz6rVMH97dXED IzIvYMhpi0wEiYlM6zY/W+8cjn1DmTJd3nCQto+nWTwiIfH1c/BRnh+Q5+YyzG6HYSShP1 qqHij9742mxaoGHEJKlYY1Og/VVo9RS1PhfGGS1mSAIlyJR5sg3FdeTIo8yYjvEt6PYkny 8kKmUVCYzqrqCvn87FEdwvHXrUSaMJqSbJq+UBh1ZyQub0LI6DlgOlYtys4zHw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4PBbyl69RdztqP for ; Wed, 8 Feb 2023 10:36:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 318AalEA038207 for ; Wed, 8 Feb 2023 10:36:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 318AaldS038206 for virtualization@FreeBSD.org; Wed, 8 Feb 2023 10:36:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 268794] Simultaneous vcpu_lock_all() and vm_handle_rendezvous() can deadlock vmm Date: Wed, 08 Feb 2023 10:36:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: bhyve X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: corvink@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268794 --- Comment #14 from Corvin K=C3=B6hne --- The easiest test to check if the rom works correctly would be to boot a lin= ux guest and checking the dmesg output. Additionally, if it fails, it'll give = us more information about the failure. The VBIOS of older gpus don't contain an EFI driver which is required for graphical output on boot. You can test it with the EfiRom tool included in edk2's BaseTools. To get the tool, clone https://github.com/tianocore/edk2 = and run make in the BaseTools folder. Running `edksetup.sh` in the base folder = of the repo adds the command to your path. After that run `EfiRom -d your-vbios.rom`. It should contain EFI ROM header like: ``` Image 1 -- Offset 0x0 ROM header contents Signature 0xAA55 PCIR offset 0x001C Signature PCIR Vendor ID 0x8086 Device ID 0x5912 Length 0x001C Revision 0x0003 DeviceListOffset 0x00 Class Code 0x000000 Image size 0x11C00 Code revision: 0x0000 MaxRuntimeImageLength 0x00 ConfigUtilityCodeHeaderOffset 0x00 DMTFCLPEntryPointOffset 0x00 Indicator 0x80 (last image) Code type 0x03 (EFI image) EFI ROM header contents EFI Signature 0x0EF1 Compression Type 0x0000 (not compressed) Machine type 0x8664 (X64) Subsystem 0x000B (EFI boot service driver) EFI image offset 0x01E0 (@0x1E0) ``` --=20 You are receiving this mail because: You are the assignee for the bug.=