On Thu, 2019-05-30 at 10:39 -0500, Larry Finger wrote: > On 5/30/19 10:04 AM, Gianfranco Costamagna wrote: > > Hello, > > sorry for not stepping in before, I crafted a patch one week ago, > > that seems to > > be working so far > > > > > > https://salsa.debian.org/pkg-virtualbox-team/virtualbox/blob/master/debian/patches/new-kernel-5.2.patch > > > > > > MIT attached > > (I already sent it over irc as soon as I did it) > > > > HTH > > > > G. > > > > Il giovedì 30 maggio 2019, 08:47:41 CEST, Larry Finger > > <[email protected]> ha scritto: > > > > > > On 5/29/19 11:59 PM, Valdis Klētnieks wrote: > > > On Wed, 29 May 2019 13:32:40 -0500, Larry Finger said: > > > > > >> 2. The arguments for ttm_bo_device_init() are changed. > > > > > >> > > =================================================================== > > >> --- VirtualBox- > > 6.0.8.orig/src/VBox/Additions/linux/drm/vbox_ttm.c > > >> +++ VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_ttm.c > > >> @@ -298,6 +298,11 @@ int vbox_mm_init(struct vbox_private *vb > > >> if (ret) > > >> return ret; > > >> #endif > > >> +int ttm_bo_device_init(struct ttm_bo_device *bdev, > > >> + struct ttm_bo_driver *driver, > > >> + struct address_space *mapping, > > >> + bool need_dma32); > > >> + > > > > > > Umm.. doesn't this prototype need #ifdef's for kernel version? > > > > This patch is incorrect. I will have the corrected one tomorrow. > > > > My corrected patch is attached.
The only difference for Gianfranco patch is first hunk [1] , Larry doesn't use it , as Gianfranco state is based on [2] [1] https://salsa.debian.org/pkg-virtualbox-team/virtualbox/blob/master/debian/patches/new-kernel-5.2.patch#L8 to Line 29 [2] https://github.com/torvalds/linux/commit/c8613fc6293b0f8c1d303c991338d085cf4d9f12 > > Larry > _______________________________________________ > vbox-dev mailing list > [email protected] > https://www.virtualbox.org/mailman/listinfo/vbox-dev -- Sérgio M. B. _______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
