#19516 closed defect (fixed)
Linux kernel version: 5.7 - we need changes (fixed in 6.1.10)
Reported by: | Frank Batschulat (Oracle) | Owned by: | Frank Batschulat (Oracle) |
---|---|---|---|
Component: | other | Version: | VirtualBox 6.1.6 |
Keywords: | linux kernel 5.7 | Cc: | |
Guest type: | Linux | Host type: | Linux |
Description
From: "Larry Finger" <> To: vbox-dev@… Subject: [vbox-dev] Fixes for kernel 5.7 Date: Fri, 17 Apr 2020 17:47:11 +0200
Hi,
Attached are the fixes required by API changes in kernel 5.7 as follows:
- The number of arguments for drm_fb_helper_init() is reduced.
- Routine drm_fb_helper_single_add_all_connectors() just did a "return 0"
and has been eliminated.
As usual, these patches are released under the MIT license.
Larry
Attachments (1)
Change History (11)
by , 4 years ago
Attachment: | fixes_for_5.7.patch added |
---|
comment:1 by , 4 years ago
Owner: | set to |
---|---|
Status: | new → accepted |
comment:3 by , 4 years ago
comment:4 by , 4 years ago
For the 6.0.X and 5.2.X branches we also have to backport the changes done in trunk under the revison r128366 "Additions/linux/vboxvideo: Update driver to use drm_dev_register." because drm_get_pci_dev() we used there in vbox_pci_probe() has been made static in 5.7-rc1:
https://elixir.bootlin.com/linux/v5.7-rc1/source/drivers/gpu/drm/drm_pci.c#L195
this has been done in the 6.0.X branch with revision r137455 and in the 5.2.X branch with revision r137462
comment:5 by , 4 years ago
fwiw, the current 6.1.X test builds contain the current 5.7-rc2 changes already, pick up:
Guest Additions 6.1.x revision 137519
https://www.virtualbox.org/download/testcase/VBoxGuestAdditions_6.1.7-137519.iso
and for the host from:
https://www.virtualbox.org/wiki/Testbuilds
Linux 64-bit 6.1.x revision 137519
Linux EL6 64-bit 6.1.x revision 137519
Linux EL7 64-bit 6.1.x revision 137519
Linux EL8 64-bit 6.1.x revision 137519
comment:6 by , 4 years ago
still works for 5.7-rc4 from:
https://git.kernel.org/torvalds/t/linux-5.7-rc4.tar.gz
comment:7 by , 4 years ago
The changes done so far above are part of the offical released versions: VirtualBox 6.1.8, 6.0.22 and 5.2.42
comment:9 by , 4 years ago
This still works for the final mainline 5.7 kernel version from: https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.7.tar.xz
comment:10 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Summary: | Linux kernel version: 5.7 - we need changes → Linux kernel version: 5.7 - we need changes (fixed in 6.1.10) |
fixed in Virtualbox release 6.1.10
This bug will be used to track changes required to support the 5.7 linux kernel train. The first issue that cropped up with 5.7-rc1 was:
The fix for this will be:
This makes it work with 5.7-rc2 from:
https://git.kernel.org/torvalds/t/linux-5.7-rc2.tar.gz
references/background:
1) drm: Remove unused arg from drm_fb_helper_init
https://github.com/torvalds/linux/commit/2dea2d1182179e7dded5352d3ed9f84ad3945b93
2)