b9f3b63a luporl Nov. 25, 2021, 7:39 p.m.
Add a new ioctl to vt to make it possible to export RGB offsets
set by vt drivers. This is needed to fix colors on X and Mesa
on some machines, especially on modern PowerPC64 BE ones.

With the appropriate changes in SCFB, to use this ioctl to find
out the correct RGB offsets, this fixes wrong colors on Talos II
and Blackbird, when used with their built-in video cards.

Reviewed by:		alfredo
Sponsored by:		Instituto de Pesquisas Eldorado (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D29000
cgit
b19740f4 kib Nov. 25, 2021, 7:34 p.m.
VOP_STRATEGY() requires locked vnode.  Note that we lock the swap vnode
while pages are busy, but this would only cause real LoR if pages belong
to the swap vnode, which must not be the case for correct use.

Reported and tested by:	peterj
Reviewed by:	markj
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D33119
cgit
6ddf41fa kib Nov. 25, 2021, 7:34 p.m.
to cover VOP_GETATTR() call in sys_swapon().  Move locking from inside
swapongeom() and swaponvp() into sys_swapon().

Reported by and tested by:	peterj
Reviewed by:	markj
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D33119
cgit
a6d04f34 kib Nov. 25, 2021, 7:34 p.m.
Reported and tested by:	peterj
Reviewed by:	markj
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D33119
cgit
9c943f7a emaste Nov. 25, 2021, 5:54 p.m.
With MIPS' retirement we now have more discontinued architectures than
supported ones, making the table somewhat unclear.  Split the table in
two.

Reviewed by:	allanjude
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33110
cgit
cc7decfc markj Nov. 25, 2021, 4:36 p.m.
MFC after:	1 week
cgit
437ea82c markj Nov. 25, 2021, 4:36 p.m.
Currently agp(4) effectively assumes that only one driver instance
exists, as the generic attach routine attempts to create /dev/agpgart
and triggers a panic if it already exists.  Instead, handle this
situation by creating /dev/agpgart<unit> and making /dev/agpgart an
alias of /dev/agpgart0 for compatibility.

PR:		187015
Reviewed by:	imp, kib
Tested by:	Yoshihiro Ota <ota@j.email.ne.jp> (earlier version)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D33068
cgit
52d973f5 mav Nov. 25, 2021, 4:19 p.m.
MFC after:	1 month
cgit
0229172a hselasky Nov. 25, 2021, 2:29 p.m.
Pull Request:	https://github.com/freebsd/freebsd-src/pull/565
MFC after:	1 week
Sponsored by:	NVIDIA Networking
cgit
2ef1cfd2 mjg Nov. 25, 2021, 12:10 p.m.
Sponsored by:	Rubicon Communications, LLC ("Netgate")
cgit
171e56c1 pho Nov. 25, 2021, 11:44 a.m.
b74fdaaf mjg Nov. 25, 2021, 11:31 a.m.
Sponsored by:	Rubicon Communications, LLC ("Netgate")
cgit
b6f387fd mjg Nov. 25, 2021, 11:25 a.m.
Sponsored by:	Rubicon Communications, LLC ("Netgate")
cgit
a2f30c5c imp Nov. 25, 2021, 9:50 a.m.
Sponsored by:		Netflix
cgit
68cbe189 wma Nov. 25, 2021, 8:53 a.m.
Instead of returning 0xffs some controllers, such as Layerscape generate
an external exception when someone attempts to read any register
of config space of a non-existing device other than PCIR_VENDOR.
This causes a kernel panic.
Fix it by bailing during device enumeration if a device vendor register
returns invalid value. (0xffff)
Use this opportunity to replace some hardcoded values with a macro.

I believe that this change won't have any unintended side-effects since
it is safe to assume that vendor == 0xffff -> hdr_type == 0xffff.

Sponsored by:		Alstom
Obtained from:		Semihalf
Reviewed by:		jhb
MFC after:		2 weeks
Differential revision:	https://reviews.freebsd.org/D33059
cgit