From nobody Mon Jun 14 14:02:29 2021 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 328E911D4906 for ; Mon, 14 Jun 2021 14:02:31 +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 4G3Y6v0p4nz3Fcn for ; Mon, 14 Jun 2021 14:02:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 03C3D15F7C for ; Mon, 14 Jun 2021 14:02:31 +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 15EE2UlP003559 for ; Mon, 14 Jun 2021 14:02:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15EE2Ubr003558 for virtualization@FreeBSD.org; Mon, 14 Jun 2021 14:02:30 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 168298] VirtualBox using AIO on a zvol crashes Date: Mon, 14 Jun 2021 14:02:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grembo@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D168298 Michael Gmelin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |grembo@FreeBSD.org --- Comment #56 from Michael Gmelin --- (In reply to Tomoyuki Sakurai from comment #55) > Anyway, until I do, if any FreeBSD user runs into this problem, please fe= el > free to stick the patch into your /usr/ports/emulators/virtualbox-ose/fil= es > directory as a possible workaroud, with whatever modifcations you might w= ant.=20 > It's working just fine for me in FreeBSD 13.0 for VBox 6.1.20 at the mome= nt, > and an earlier version of it seems to be working in FreeBSD 12.1 for Vbox > 5.2.34. I can't promise any quick responses if things change, but FreeBS= D is > my working desktop, which I try to keep fairly up to date with released > FreeBSD, and I need a working emulator :). It would be kind of nice to actually do this, until there is a solution upstream (vbox@FreeBSD.org)? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Jun 15 08:29:56 2021 X-Original-To: freebsd-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 6EE7411CA0C8 for ; Tue, 15 Jun 2021 08:30:10 +0000 (UTC) (envelope-from C.Koehne@beckhoff.com) Received: from netsrv01.beckhoff.com (netsrv01.beckhoff.com [62.159.14.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.beckhoff.com", Issuer "Thawte TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G41hx4TD4z4m9f for ; Tue, 15 Jun 2021 08:30:09 +0000 (UTC) (envelope-from C.Koehne@beckhoff.com) Received: from 10.1.0.27 by netsrv01.beckhoff.com (Tls12, Aes256, Sha384, DiffieHellmanEllipticKey256); Tue, 15 Jun 2021 08:30:12 GMT Received: from CorvinK-NB03.fritz.box (172.17.204.105) by NT-Mail02.beckhoff.com (10.1.0.27) with Microsoft SMTP Server (TLS) id 14.3.498.0; Tue, 15 Jun 2021 10:30:07 +0200 From: =?UTF-8?q?Corvin=20K=C3=B6hne?= To: CC: , =?UTF-8?q?Corvin=20K=C3=B6hne?= Subject: [PATCH 0/4] Prepare bhyve's OVMF for GPU-Passthrough Date: Tue, 15 Jun 2021 10:29:56 +0200 Message-ID: <20210615083000.1286-1-c.koehne@beckhoff.com> X-Mailer: git-send-email 2.11.0 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.17.204.105] X-OLX-Disclaimer: Done X-Rspamd-Queue-Id: 4G41hx4TD4z4m9f X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of C.Koehne@beckhoff.com designates 62.159.14.10 as permitted sender) smtp.mailfrom=C.Koehne@beckhoff.com X-Spamd-Result: default: False [-2.30 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[62.159.14.10:from]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[beckhoff.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[62.159.14.10:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3320, ipnet:62.156.0.0/14, country:DE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-ThisMailContainsUnwantedMimeParts: N =EF=BB=BFHi, GPU-Passthrough for bhyve requires a few patches to work properly. These patches will allow GPU-Passthrough for bhyve. It will work for dedicated AMD GPUs and integrated Intel GPUs. Nvidia GPUs are untested. Best Regards, Corvin Corvin K=C3=B6hne (4): OvmfPkg/Bhyve: enable bus enumeration Revert "OvmfPkg/Bhyve: consume PciHostBridgeLibScan" OvmfPkg/Bhyve: add USB support OvmfPkg/Bhyve: use static PCI32Base address OvmfPkg/Bhyve/BhyveX64.dsc | 19 +++++++++++++++---- OvmfPkg/Bhyve/BhyveX64.fdf | 10 ++++++++++ OvmfPkg/Bhyve/PlatformPei/Platform.c | 4 +++- 3 files changed, 28 insertions(+), 5 deletions(-) --=20 2.11.0 Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Bec= khoff Registered office: Verl, Germany | Register court: Guetersloh HRA 7075 From nobody Tue Jun 15 08:29:58 2021 X-Original-To: freebsd-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 00A7811CA004 for ; Tue, 15 Jun 2021 08:30:10 +0000 (UTC) (envelope-from C.Koehne@beckhoff.com) Received: from netsrv01.beckhoff.com (netsrv01.beckhoff.com [62.159.14.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.beckhoff.com", Issuer "Thawte TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G41hy3jhMz4lmR for ; Tue, 15 Jun 2021 08:30:10 +0000 (UTC) (envelope-from C.Koehne@beckhoff.com) Received: from 10.1.0.27 by netsrv01.beckhoff.com (Tls12, Aes256, Sha384, DiffieHellmanEllipticKey256); Tue, 15 Jun 2021 08:30:13 GMT Received: from CorvinK-NB03.fritz.box (172.17.204.105) by NT-Mail02.beckhoff.com (10.1.0.27) with Microsoft SMTP Server (TLS) id 14.3.498.0; Tue, 15 Jun 2021 10:30:09 +0200 From: =?UTF-8?q?Corvin=20K=C3=B6hne?= To: CC: , =?UTF-8?q?Corvin=20K=C3=B6hne?= Subject: [PATCH 2/4] Revert "OvmfPkg/Bhyve: consume PciHostBridgeLibScan" Date: Tue, 15 Jun 2021 10:29:58 +0200 Message-ID: <20210615083000.1286-3-c.koehne@beckhoff.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210615083000.1286-1-c.koehne@beckhoff.com> References: <20210615083000.1286-1-c.koehne@beckhoff.com> 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.17.204.105] X-OLX-Disclaimer: Done X-Rspamd-Queue-Id: 4G41hy3jhMz4lmR X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of C.Koehne@beckhoff.com designates 62.159.14.10 as permitted sender) smtp.mailfrom=C.Koehne@beckhoff.com X-Spamd-Result: default: False [-2.30 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[62.159.14.10:from]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[beckhoff.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_SOME(0.00)[]; SPAMHAUS_ZRD(0.00)[62.159.14.10:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3320, ipnet:62.156.0.0/14, country:DE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-ThisMailContainsUnwantedMimeParts: N =EF=BB=BFThis reverts commit c2f24ba3218ae91a8d5a1a31c31dad3417850d0c. Revert this commit to enable bus enumeration properly. Signed-off-by: Corvin K=C3=B6hne --- OvmfPkg/Bhyve/BhyveX64.dsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/Bhyve/BhyveX64.dsc b/OvmfPkg/Bhyve/BhyveX64.dsc index ef331d556e..951282c7d0 100644 --- a/OvmfPkg/Bhyve/BhyveX64.dsc +++ b/OvmfPkg/Bhyve/BhyveX64.dsc @@ -666,7 +666,7 @@ OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf { - PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLibScan/PciHostBridgeL= ibScan.inf + PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.i= nf PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciH= ostBridgeUtilityLib.inf NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf } --=20 2.11.0 Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Bec= khoff Registered office: Verl, Germany | Register court: Guetersloh HRA 7075 From nobody Tue Jun 15 08:29:57 2021 X-Original-To: freebsd-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 C5B4E11C9ECC for ; Tue, 15 Jun 2021 08:30:11 +0000 (UTC) (envelope-from C.Koehne@beckhoff.com) Received: from Internet2.beckhoff.com (internet2.beckhoff.com [194.25.186.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.beckhoff.com", Issuer "Thawte TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G41hz2tShz4lts for ; Tue, 15 Jun 2021 08:30:11 +0000 (UTC) (envelope-from C.Koehne@beckhoff.com) Received: from 10.1.0.27 by Internet2.beckhoff.com (Tls12, Aes256, Sha384, DiffieHellmanEllipticKey256); Tue, 15 Jun 2021 08:30:08 GMT Received: from CorvinK-NB03.fritz.box (172.17.204.105) by NT-Mail02.beckhoff.com (10.1.0.27) with Microsoft SMTP Server (TLS) id 14.3.498.0; Tue, 15 Jun 2021 10:30:08 +0200 From: =?UTF-8?q?Corvin=20K=C3=B6hne?= To: CC: , =?UTF-8?q?Corvin=20K=C3=B6hne?= Subject: [PATCH 1/4] OvmfPkg/Bhyve: enable bus enumeration Date: Tue, 15 Jun 2021 10:29:57 +0200 Message-ID: <20210615083000.1286-2-c.koehne@beckhoff.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210615083000.1286-1-c.koehne@beckhoff.com> References: <20210615083000.1286-1-c.koehne@beckhoff.com> 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.17.204.105] X-OLX-Disclaimer: Done X-Rspamd-Queue-Id: 4G41hz2tShz4lts X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N =EF=BB=BFNeccessary for GPU Passthrough of dedicated AMD GPUs. For Linux guests, AMD GPUs require that their PCI ROM is processed by UEFI. Enable bus enumeration to process the PCI ROM of all devices. Signed-off-by: Corvin K=C3=B6hne --- OvmfPkg/Bhyve/BhyveX64.dsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/Bhyve/BhyveX64.dsc b/OvmfPkg/Bhyve/BhyveX64.dsc index d8792812ab..ef331d556e 100644 --- a/OvmfPkg/Bhyve/BhyveX64.dsc +++ b/OvmfPkg/Bhyve/BhyveX64.dsc @@ -431,7 +431,7 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE =20 [PcdsFixedAtBuild] - gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE + gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1 --=20 2.11.0 Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Bec= khoff Registered office: Verl, Germany | Register court: Guetersloh HRA 7075 From nobody Tue Jun 15 08:29:59 2021 X-Original-To: freebsd-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 015EE11CA104 for ; Tue, 15 Jun 2021 08:30:12 +0000 (UTC) (envelope-from C.Koehne@beckhoff.com) Received: from Internet2.beckhoff.com (internet2.beckhoff.com [194.25.186.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.beckhoff.com", Issuer "Thawte TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G41hz4NGTz4lrX for ; Tue, 15 Jun 2021 08:30:11 +0000 (UTC) (envelope-from C.Koehne@beckhoff.com) Received: from 10.1.0.27 by Internet2.beckhoff.com (Tls12, Aes256, Sha384, DiffieHellmanEllipticKey256); Tue, 15 Jun 2021 08:30:10 GMT Received: from CorvinK-NB03.fritz.box (172.17.204.105) by NT-Mail02.beckhoff.com (10.1.0.27) with Microsoft SMTP Server (TLS) id 14.3.498.0; Tue, 15 Jun 2021 10:30:09 +0200 From: =?UTF-8?q?Corvin=20K=C3=B6hne?= To: CC: , =?UTF-8?q?Corvin=20K=C3=B6hne?= Subject: [PATCH 3/4] OvmfPkg/Bhyve: add USB support Date: Tue, 15 Jun 2021 10:29:59 +0200 Message-ID: <20210615083000.1286-4-c.koehne@beckhoff.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210615083000.1286-1-c.koehne@beckhoff.com> References: <20210615083000.1286-1-c.koehne@beckhoff.com> 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.17.204.105] X-OLX-Disclaimer: Done X-Rspamd-Queue-Id: 4G41hz4NGTz4lrX X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N =EF=BB=BFAn USB driver is required to use a keyboard or mouse while install= ing an OS or while in a bootloader menu like grub when using GPU + USB Passthrough. Signed-off-by: Corvin K=C3=B6hne --- OvmfPkg/Bhyve/BhyveX64.dsc | 11 +++++++++++ OvmfPkg/Bhyve/BhyveX64.fdf | 10 ++++++++++ 2 files changed, 21 insertions(+) diff --git a/OvmfPkg/Bhyve/BhyveX64.dsc b/OvmfPkg/Bhyve/BhyveX64.dsc index 951282c7d0..c35bf18449 100644 --- a/OvmfPkg/Bhyve/BhyveX64.dsc +++ b/OvmfPkg/Bhyve/BhyveX64.dsc @@ -163,6 +163,7 @@ FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf + UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVar= iablesLib.inf QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibNull.inf QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf @@ -777,6 +778,16 @@ !endif OvmfPkg/VirtioNetDxe/VirtioNet.inf =20 + # + # Usb Support + # + MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf + MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf + MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf + MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf + MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf + MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf + !ifdef $(CSM_ENABLE) IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf { diff --git a/OvmfPkg/Bhyve/BhyveX64.fdf b/OvmfPkg/Bhyve/BhyveX64.fdf index 3eff36dac1..f081b82137 100644 --- a/OvmfPkg/Bhyve/BhyveX64.fdf +++ b/OvmfPkg/Bhyve/BhyveX64.fdf @@ -291,6 +291,16 @@ INF MdeModulePkg/Logo/LogoDxe.inf !include NetworkPkg/Network.fdf.inc INF OvmfPkg/VirtioNetDxe/VirtioNet.inf =20 +# +# Usb Support +# +INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf +INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf +INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf +INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf +INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf +INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf + !ifdef $(CSM_ENABLE) INF IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf !endif --=20 2.11.0 Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Bec= khoff Registered office: Verl, Germany | Register court: Guetersloh HRA 7075 From nobody Tue Jun 15 08:30:00 2021 X-Original-To: freebsd-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 13C6A11CA0D2 for ; Tue, 15 Jun 2021 08:30:13 +0000 (UTC) (envelope-from C.Koehne@beckhoff.com) Received: from netsrv01.beckhoff.com (netsrv01.beckhoff.com [62.159.14.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.beckhoff.com", Issuer "Thawte TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G41j0473pz4m7Q for ; Tue, 15 Jun 2021 08:30:12 +0000 (UTC) (envelope-from C.Koehne@beckhoff.com) Received: from 10.1.0.27 by netsrv01.beckhoff.com (Tls12, Aes256, Sha384, DiffieHellmanEllipticKey256); Tue, 15 Jun 2021 08:30:15 GMT Received: from CorvinK-NB03.fritz.box (172.17.204.105) by NT-Mail02.beckhoff.com (10.1.0.27) with Microsoft SMTP Server (TLS) id 14.3.498.0; Tue, 15 Jun 2021 10:30:10 +0200 From: =?UTF-8?q?Corvin=20K=C3=B6hne?= To: CC: , =?UTF-8?q?Corvin=20K=C3=B6hne?= Subject: [PATCH 4/4] OvmfPkg/Bhyve: use static PCI32Base address Date: Tue, 15 Jun 2021 10:30:00 +0200 Message-ID: <20210615083000.1286-5-c.koehne@beckhoff.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210615083000.1286-1-c.koehne@beckhoff.com> References: <20210615083000.1286-1-c.koehne@beckhoff.com> 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.17.204.105] X-OLX-Disclaimer: Done X-Rspamd-Queue-Id: 4G41j0473pz4m7Q X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N =EF=BB=BFIt's neccessary to allocate a Graphics Stolen Memory area to enabl= e GPU-Passthrough for integrated Intel GPUs. Therefore, use a new memory layout with a static Pci32Baseaddress. Old layout: [... , lowmemlimit] RAM [lowmemlimit, 0xE000 0000] PCI Space New layout: [... , lowmemlimit] RAM [lowmemlimit, gsmbase ] Memory hole (may be absent) [gsmbase , 0xC000 0000] GSM (may be absent) [0xC000 0000, 0xE000 0000] PCI Space Signed-off-by: Corvin K=C3=B6hne --- OvmfPkg/Bhyve/BhyveX64.dsc | 4 ++-- OvmfPkg/Bhyve/PlatformPei/Platform.c | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/OvmfPkg/Bhyve/BhyveX64.dsc b/OvmfPkg/Bhyve/BhyveX64.dsc index c35bf18449..e5d1dbccff 100644 --- a/OvmfPkg/Bhyve/BhyveX64.dsc +++ b/OvmfPkg/Bhyve/BhyveX64.dsc @@ -537,8 +537,8 @@ gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0 - gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0 - gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0 + gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0xC0000000 + gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x20000000 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000 =20 diff --git a/OvmfPkg/Bhyve/PlatformPei/Platform.c b/OvmfPkg/Bhyve/PlatformP= ei/Platform.c index 3a414ffcb7..f38e74ccfc 100644 --- a/OvmfPkg/Bhyve/PlatformPei/Platform.c +++ b/OvmfPkg/Bhyve/PlatformPei/Platform.c @@ -191,7 +191,9 @@ MemMapInitialization ( ASSERT (PciExBarBase <=3D MAX_UINT32 - SIZE_256MB); PciBase =3D (UINT32)(PciExBarBase + SIZE_256MB); } else { - PciBase =3D (TopOfLowRam < BASE_2GB) ? BASE_2GB : TopOfLowRam; + PciBase =3D PcdGet64(PcdPciMmio32Base); + if (PciBase =3D=3D 0) + PciBase =3D (TopOfLowRam < BASE_2GB) ? BASE_2GB : TopOfLowRam; } =20 // --=20 2.11.0 Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Bec= khoff Registered office: Verl, Germany | Register court: Guetersloh HRA 7075 From nobody Wed Jun 16 08:19:49 2021 X-Original-To: freebsd-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 4D63411DF4EF for ; Wed, 16 Jun 2021 08:20:02 +0000 (UTC) (envelope-from SRS0=yD/m=LK=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from vito-vars.onthenet.com.au (vito-vars.OntheNet.com.au [203.13.68.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4G4dQn73nGz4tDR for ; Wed, 16 Jun 2021 08:20:01 +0000 (UTC) (envelope-from SRS0=yD/m=LK=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by vito-vars.onthenet.com.au (Postfix) with ESMTPS id A368C20B49AA for ; Wed, 16 Jun 2021 18:19:50 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 8B1AA209C003 for ; Wed, 16 Jun 2021 18:19:50 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 8122B2104D2A for ; Wed, 16 Jun 2021 18:19:50 +1000 (AEST) Received: from iredmail.onthenet.com.au ([127.0.0.1]) by iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id yfuI5ZMXqK_8 for ; Wed, 16 Jun 2021 18:19:50 +1000 (AEST) Received: from MacBook-Air-4.local (unknown [120.29.46.207]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 529B52104D27; Wed, 16 Jun 2021 18:19:49 +1000 (AEST) Subject: Re: [PATCH 0/4] Prepare bhyve's OVMF for GPU-Passthrough To: =?UTF-8?Q?Corvin_K=c3=b6hne?= Cc: p.bruenn@beckhoff.com, freebsd-virtualization@freebsd.org References: <20210615083000.1286-1-c.koehne@beckhoff.com> From: Peter Grehan Message-ID: Date: Wed, 16 Jun 2021 18:19:49 +1000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 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 In-Reply-To: <20210615083000.1286-1-c.koehne@beckhoff.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=BZdDLol2 c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=azl8yinJeVLa8tjSA6Q3hg==:17 a=IkcTkHD0fZMA:10 a=r6YtysWOX24A:10 a=wEmkmCM3V6jHzAu2OP0A:9 a=QEXdDO2ut3YA:10 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=B/4iLNlM c=1 sm=1 tr=0 a=mJOSnoNX3k71adV6TmU0eQ==:117 a=azl8yinJeVLa8tjSA6Q3hg==:17 a=IkcTkHD0fZMA:10 a=r6YtysWOX24A:10 a=wEmkmCM3V6jHzAu2OP0A:9 a=QEXdDO2ut3YA:10 X-Rspamd-Queue-Id: 4G4dQn73nGz4tDR X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi Corvin, Thanks for posting these here. > GPU-Passthrough for bhyve requires a few patches to work properly. > These patches will allow GPU-Passthrough for bhyve. > It will work for dedicated AMD GPUs and integrated Intel GPUs. > Nvidia GPUs are untested. I have no issue with patches 3/4 and 4/4. However, 1+2/4 switch over to having EFI do the PCI scan/address assignment rather than accepting bhyve's probe. This history here is that tychon@'s initial version of bhyve/EFI had the scan when it was mandatory in OVMF. That didn't work with passthru devices, requiring the "Duet" (EFI-over-BIOS) PCI code to be used. The recent upstreaming of Bhyve/EFI was done prior to the fix allowing dynamic relocation of pass-thru BARs. With Duet not being available, the flag allowing EFI to inherit PCI BAR assignment was set (PcdPciDisableBusEnumeration, as you've found). While it's now possible to allow EFI to scan/assign PCI BARs, I'd like to avoid it if possible for 2 reasons: - assignment policy can stay in bhyve, such as whether to locate 64-bit BARs in the 32-bit region which EFI didn't (doesn't?) allow. Bugs or corner-cases can be fixed in bhyve without requiring a modification to upstream EFI. - there is no need for EFI to perform a slow can via PCI bus operations, resulting in VM-exits, where bhyve can perform all this in memory, which can result in faster boot. Your patch description states: >For Linux guests, AMD GPUs require that their PCI ROM is processed by UEFI. Is it possible to fix this in bhyve ? Can pass-thru ROMs be mapped just like mmio BARs are ? later, Peter. From nobody Fri Jun 18 07:07:06 2021 X-Original-To: freebsd-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 5098911DDA74 for ; Fri, 18 Jun 2021 07:07:10 +0000 (UTC) (envelope-from C.Koehne@beckhoff.com) Received: from Internet2.beckhoff.com (internet2.beckhoff.com [194.25.186.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.beckhoff.com", Issuer "Thawte TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G5qjn0xlDz4rkf; Fri, 18 Jun 2021 07:07:08 +0000 (UTC) (envelope-from C.Koehne@beckhoff.com) Received: from 172.17.5.173 by Internet2.beckhoff.com (Tls12, Aes256, Sha384, DiffieHellmanEllipticKey256); Fri, 18 Jun 2021 07:07:06 GMT Received: from ex04.beckhoff.com (172.17.5.170) by ex08.beckhoff.com (172.17.5.173) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Fri, 18 Jun 2021 09:07:06 +0200 Received: from ex04.beckhoff.com ([fe80::6d52:427d:9b41:cd94]) by ex04.beckhoff.com ([fe80::6d52:427d:9b41:cd94%6]) with mapi id 15.01.2242.010; Fri, 18 Jun 2021 09:07:06 +0200 From: =?utf-8?B?Q29ydmluIEvDtmhuZQ==?= To: Peter Grehan CC: =?utf-8?B?UGF0cmljayBCcsO8bm4=?= , "freebsd-virtualization@freebsd.org" Subject: RE: [PATCH 0/4] Prepare bhyve's OVMF for GPU-Passthrough Thread-Topic: [PATCH 0/4] Prepare bhyve's OVMF for GPU-Passthrough Thread-Index: AQHXYcCmIAQwb6vJ40Wiej/Jebj9MKsWK7aAgAMu2LA= Date: Fri, 18 Jun 2021 07:07:06 +0000 Message-ID: References: <20210615083000.1286-1-c.koehne@beckhoff.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [94.134.94.87] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 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-Rspamd-Queue-Id: 4G5qjn0xlDz4rkf X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of C.Koehne@beckhoff.com designates 194.25.186.210 as permitted sender) smtp.mailfrom=C.Koehne@beckhoff.com X-Spamd-Result: default: False [-2.20 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_BASE64_TEXT_BOGUS(1.00)[]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MIME_BASE64_TEXT(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[194.25.186.210:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:3320, ipnet:194.25.0.0/16, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[beckhoff.com]; SPAMHAUS_ZRD(0.00)[194.25.186.210:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[194.25.186.210:from]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N SGkgUGV0ZXIsDQoNCnRoYW5rIHlvdSBmb3IgeW91ciBmZWVkYmFjaywNCg0KPiBXaGlsZSBpdCdz IG5vdyBwb3NzaWJsZSB0byBhbGxvdyBFRkkgdG8gc2Nhbi9hc3NpZ24gUENJIEJBUnMsIEknZCBs aWtlIHRvIGF2b2lkIGl0IGlmIHBvc3NpYmxlIGZvciAyIHJlYXNvbnM6DQo+ICAgLSBhc3NpZ25t ZW50IHBvbGljeSBjYW4gc3RheSBpbiBiaHl2ZSwgc3VjaCBhcyB3aGV0aGVyIHRvIGxvY2F0ZSA2 NC1iaXQgQkFScyBpbiB0aGUgMzItYml0IHJlZ2lvbiB3aGljaCBFRkkgZGlkbid0IChkb2Vzbid0 PykgYWxsb3cuIEJ1Z3Mgb3IgY29ybmVyLWNhc2VzIGNhbiBiZSBmaXhlZCBpbiBiaHl2ZSB3aXRo b3V0IHJlcXVpcmluZyBhIG1vZGlmaWNhdGlvbiB0byB1cHN0cmVhbSBFRkkuDQoNCkFzIGZhciBh cyBJIGtub3csIFFFTVUgdXNlcyBPVk1GIHdpdGggYnVzIGVudW1lcmF0aW9uIGVuYWJsZWQuIEhv dyBkb2VzIFFFTVUgc29sdmUgc3VjaCBpc3N1ZXM/DQoNCj4gICAtIHRoZXJlIGlzIG5vIG5lZWQg Zm9yIEVGSSB0byBwZXJmb3JtIGEgc2xvdyBzY2FuIHZpYSBQQ0kgYnVzIG9wZXJhdGlvbnMsIHJl c3VsdGluZyBpbiBWTS1leGl0cywgd2hlcmUgYmh5dmUgY2FuIHBlcmZvcm0gYWxsIHRoaXMgaW4g bWVtb3J5LCB3aGljaCBjYW4gcmVzdWx0IGluIGZhc3RlciBib290Lg0KDQpJIGRpZG4ndCBtZWFz dXJlZCBib290IHRpbWUgeWV0LiBCdXQgSSBkaWRuJ3Qgbm90aWNlZCBhbnkgZGlmZmVyZW5jZSBp biBib290IHRpbWUuDQoNCj4gWW91ciBwYXRjaCBkZXNjcmlwdGlvbiBzdGF0ZXM6DQo+ID4gRm9y IExpbnV4IGd1ZXN0cywgQU1EIEdQVXMgcmVxdWlyZSB0aGF0IHRoZWlyIFBDSSBST00gaXMgcHJv Y2Vzc2VkIGJ5IFVFRkkuDQo+DQo+IElzIGl0IHBvc3NpYmxlIHRvIGZpeCB0aGlzIGluIGJoeXZl ID8gQ2FuIHBhc3MtdGhydSBST01zIGJlIG1hcHBlZCBqdXN0IGxpa2UgbW1pbyBCQVJzIGFyZSA/ DQoNCkknbSBtYXBwaW5nIHBhc3N0aHJ1IFJPTXMgbGlrZSBNTUlPIEJBUnMgKHNlZSBteSBwYXRj aCBmb3IgQU1EIEdQVXM6IGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjc0NTYpLg0KVGhl cmUgYXJlIHR3byBpc3N1ZXMgZm9yIEdQVSBQYXNzdGhyb3VnaCB0byB3b3JrIHByb3Blcmx5Og0K DQoxLiBMaW51eCBhbWRncHUgZHJpdmVyIG5lZWRzIGEgUk9NIGZvciBBTUQgR1BVcy4gTGludXgg YXNzdW1lcyB0aGF0IHRoZSBST00gaXMgc2hhZG93ZWQgYmVjYXVzZSBpdCdzIHRoZSBwcmltYXJ5 IHZpZGVvIGNhcmQuIFNoYWRvd2luZyBpcyBub3JtYWxseSBkb25lIGJ5IEVGSS4NCiAgICAgSSBk b24ndCBrbm93IGlmIGl0J3MgcG9zc2libGUgdGhhdCBiaHl2ZSBzaGFkb3dzIHRoZSBST00uDQoy LiBJdCdzIG5lY2Vzc2FyeSB0aGF0IHRoZSBST00gaXMgZXhlY3V0ZWQgYnkgRUZJLiBPdGhlcndp c2UsIGl0J3MgaW1wb3NzaWJsZSB0byBnZXQgYSBkaXNwbGF5IG91dHB1dCB3aGVuIG5vIE9TIGRy aXZlciBpcyBsb2FkZWQuDQogICAgIFRoaXMgbWVhbnMsIHRoYXQgeW91IGRvbid0IGhhdmUgYSBk aXNwbGF5IG91dHB1dCB3aGlsZSBpbnNpZGUgRUZJLCBhIGJvb3Rsb2FkZXIgbWVudSAobGlrZSBn cnViIG1lbnUpIG9yIHdoaWxlIGluc3RhbGxpbmcgYW4gT1MuDQoNCg0KQmVzdCByZWdhcmRzDQpD b3J2aW4NCg0KQmVja2hvZmYgQXV0b21hdGlvbiBHbWJIICYgQ28uIEtHIHwgTWFuYWdpbmcgRGly ZWN0b3I6IERpcGwuIFBoeXMuIEhhbnMgQmVja2hvZmYgUmVnaXN0ZXJlZCBvZmZpY2U6IFZlcmws IEdlcm1hbnkgfCBSZWdpc3RlciBjb3VydDogR3VldGVyc2xvaCBIUkEgNzA3NQ0KDQo= From nobody Fri Jun 18 16:53:22 2021 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 241A75D5F32 for ; Fri, 18 Jun 2021 16:53:22 +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 4G64kB0TX7z50jw for ; Fri, 18 Jun 2021 16:53:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 EDDF6265A0 for ; Fri, 18 Jun 2021 16:53:21 +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 15IGrL52017785 for ; Fri, 18 Jun 2021 16:53:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15IGrLM3017784 for virtualization@FreeBSD.org; Fri, 18 Jun 2021 16:53:21 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 255571] vmx mtu 9000 no transmission Date: Fri, 18 Jun 2021 16:53:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jcaplan@blackberry.com 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=3D255571 --- Comment #2 from jcaplan@blackberry.com --- *** Bug 256696 has been marked as a duplicate of this bug. *** --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Jun 19 15:15:59 2021 X-Original-To: freebsd-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 4F9085D53FB for ; Sat, 19 Jun 2021 15:16:13 +0000 (UTC) (envelope-from manav1811kumar@gmail.com) Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G6fWc5kRhz3tJg for ; Sat, 19 Jun 2021 15:16:12 +0000 (UTC) (envelope-from manav1811kumar@gmail.com) Received: by mail-lf1-x12f.google.com with SMTP id f30so22083053lfj.1 for ; Sat, 19 Jun 2021 08:16:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=qFpuclZFfK/UtNTa8fZUDmf3pxpWiWPqOGAXsNcBW9Q=; b=Doj8hcf+pnLGfS4+tuu4nngefEscR7yVU4UIoV2CgdymPOof/GljHGh8Wz0N/B6g/r LjfVzWWcUTzfwKs6cm2LUHcfcKH8nGjM5N7dLqgc9SToG5BQ9UjD2ki/082rxRLfmmpW iwfPl2EAjhc50piUFWknJFo9FNMojeRvRjZ9zy4cAgbu7s0C0+y52EgLhutuIYTlOaRn yPNRPPUD5YcHLrVUOG/oALfmLPIBY0Y46a94AXaaYVW+3yV/CCGkUwl5IOUydpd2rTe1 z3mLzZS3zP75AcCAjIPh3/XdUGUOSuX40mngnkSbr4tMNH3odZ2RVgbKks4y1SMgocjg WHMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qFpuclZFfK/UtNTa8fZUDmf3pxpWiWPqOGAXsNcBW9Q=; b=gNFT2DjeVpTQeZ0+8VVZIRlVqXalf9IiKOSX0fbgJwm+EGtjayrXy1vg48Ev32gq5i sZkKgrFu7hgp1GQvMFPXA+byeijIYUdE7CFj2tPGkMiTeLL/Dj/TRP9dPWsLjge/smsi Q61m7KRex/dDFD9t2QONWbyoGbtjCmeKORascz/VqYNHtOrF7lWOzyqOYgDnfeWABQ1W A8Zy+XNBhtiuDImFaq8drEYgObuzNxu50E1KPelzEzWardbS8NeIu346i/7Etou6HiSQ F940lZ/rf0zyXSvEQZtZ+S8/5xRZcyga7QpVS+zPomJQCaIdJVr23r7PJlzCnXc8S5x9 SYrA== X-Gm-Message-State: AOAM533L/0h21mEOkLrooiIM+y4icFZEkrFAgOdGE/pppJYx9nejy/88 9uFUrQeeAeWw19aeXBZQY+BChv8hs9zstmvUijWDOc/LjZlouKbu X-Google-Smtp-Source: ABdhPJwgHepu/Oz1XdHWPEhyXfgUzDOqHDnjEp7XIqwCVqTSLPTvLrK5ofMAsWe7ulyskO8qY8TVMYLPbCQL/Bz6pX0= X-Received: by 2002:a05:6512:3b99:: with SMTP id g25mr7399465lfv.262.1624115771097; Sat, 19 Jun 2021 08:16:11 -0700 (PDT) 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 From: MANAV KUMAR Date: Sat, 19 Jun 2021 20:45:59 +0530 Message-ID: Subject: New To Mailing List To: freebsd-virtualization@freebsd.org Content-Type: multipart/alternative; boundary="0000000000009c48c105c51feb05" X-Rspamd-Queue-Id: 4G6fWc5kRhz3tJg X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Doj8hcf+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of manav1811kumar@gmail.com designates 2a00:1450:4864:20::12f as permitted sender) smtp.mailfrom=manav1811kumar@gmail.com X-Spamd-Result: default: False [-2.59 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::12f:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::12f:from:127.0.2.255]; NEURAL_SPAM_SHORT(0.41)[0.410]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::12f:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-ThisMailContainsUnwantedMimeParts: N --0000000000009c48c105c51feb05 Content-Type: text/plain; charset="UTF-8" Hello, I'm a final year cse undergrad, new to this list. I'm really interested in understanding the virtualization techniques being adopted. I've a knowledge of implementing basic techniques which I've learnt while implementing xv6 locally, now looking to learn more in it. Can somebody please give me a head start by telling what we are focusing upon. Thanks Manav --0000000000009c48c105c51feb05-- From nobody Sat Jun 19 18:23:21 2021 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 0DAD411CE942 for ; Sat, 19 Jun 2021 18:23:22 +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 4G6kgY6mFbz4bBv for ; Sat, 19 Jun 2021 18:23:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 D0F191B2A3 for ; Sat, 19 Jun 2021 18:23:21 +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 15JINLQR031681 for ; Sat, 19 Jun 2021 18:23:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15JINLbE031680 for virtualization@FreeBSD.org; Sat, 19 Jun 2021 18:23:21 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 256683] Fatal trap 12: page fault while in kernel mode on AWS C5 Date: Sat, 19 Jun 2021 18:23:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@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: assigned_to short_desc 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=3D256683 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |virtualization@FreeBSD.org Summary|Fatal trap 12: page fault |Fatal trap 12: page fault |while in kernel mode |while in kernel mode on AWS | |C5 --- Comment #3 from Mark Linimon --- ^Triage: fill out Summary and assign. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Jun 20 21:00:50 2021 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 0855911E0EF3 for ; Sun, 20 Jun 2021 21:00:52 +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 4G7Q6q0YNdz4mP0 for ; Sun, 20 Jun 2021 21:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) 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 B4A3410E8F for ; Sun, 20 Jun 2021 21:00:50 +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 15KL0orK009692 for ; Sun, 20 Jun 2021 21:00:50 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15KL0on3009691 for virtualization@FreeBSD.org; Sun, 20 Jun 2021 21:00:50 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202106202100.15KL0on3009691@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: virtualization@FreeBSD.org Subject: Problem reports for virtualization@FreeBSD.org that need special attention Date: Sun, 20 Jun 2021 21:00:50 +0000 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 Content-Type: multipart/alternative; boundary="16242228501.9BF3f.7504" Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N --16242228501.9BF3f.7504 Date: Sun, 20 Jun 2021 21:00:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 247208 | mpt(4): VMWare virtualized LSI controller panics New | 240945 | [hyper-v] [netvsc] hn network driver incorrectly Open | 244838 | "bectl activate -t" does not honor the -t flag in 3 problems total for which you should take action. --16242228501.9BF3f.7504--