Page MenuHomeFreeBSD

Add workaround for vt efifb's early use of PHYS_TO_DMAP
ClosedPublic

Authored by emaste on Nov 11 2014, 2:43 PM.
Tags
None
Referenced Files
F136186524: D1142.diff
Sun, Nov 16, 1:38 PM
Unknown Object (File)
Sat, Nov 15, 1:04 PM
Unknown Object (File)
Fri, Nov 14, 6:13 AM
Unknown Object (File)
Thu, Nov 13, 8:27 PM
Unknown Object (File)
Mon, Nov 10, 4:41 PM
Unknown Object (File)
Mon, Nov 10, 3:36 PM
Unknown Object (File)
Fri, Nov 7, 9:41 PM
Unknown Object (File)
Tue, Nov 4, 5:29 PM
Subscribers
None

Details

Summary

In vt_efifb_init the framebuffer's physaddr is passed to PHYS_TO_DMAP before the DMAP is setup. The result is not actually accessed until after the mapping is setup, though. Loosen the assertion in PHYS_TO_DMAP for now, to allow use when dmaplimit == 0.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to Add bandaid for vt efifb's early use of PHYS_TO_DMAP.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: royger, kib.
kib edited edge metadata.
This revision is now accepted and ready to land.Nov 11 2014, 2:49 PM
emaste retitled this revision from Add bandaid for vt efifb's early use of PHYS_TO_DMAP to Add workaround for vt efifb's early use of PHYS_TO_DMAP.
emaste edited edge metadata.

As suggested by kib, add comment at macro definition

emaste updated this revision to Diff 2358.

Closed by commit rS274382 (authored by @emaste).