099c6f6d mjg Oct. 22, 2018, 6:44 a.m.
Instead of finding the exact size to fit in we can just shift the target
by -8 + tail. Doing a blind write to a previously rep stosq'ed area comes
with a penalty so do it conditionally.

Sample win on EPYC when zeroing a 257 sized buffer (tail = 1) aligned to
16 bytes:
before: 44782846 ops/s
after:  46118614 ops/s

Idea stolen from NetBSD.

Sponsored by:	The FreeBSD Foundation
cgit ViewVC
4a8e4793 kp Oct. 22, 2018, 4:12 a.m.
PR:		201520
Obtained from:	OpenBSD
MFC after:	2 weeks
cgit ViewVC
8fd10880 bwidawsk Oct. 22, 2018, 3:29 a.m.
The Device Specific Method (_DSM) is on optional object that defines
device specific controls. This will be useful for our power management
controller in upcoming patches. More information can be found in ACPI
spec 6.2 section 9.1.1

https://www.uefi.org/sites/default/files/resources/ACPI_6_2.pdf

This patch had a minor modification changing ENOMEM to AE_NO_MEMORY
after it got review and approval but before committing.

Test Plan: Tested in my s0ix branch

Reviewed by:	kib
Approved by:	emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D17121
cgit ViewVC
8f59bec2 imp Oct. 22, 2018, 2:42 a.m.
tree over time (most my fault).
cgit ViewVC
221ac8f4 imp Oct. 22, 2018, 2:36 a.m.
needed for almost 20 years, and is totally useless now that ncr(4) has
been removed.

Relnotes: yes
cgit ViewVC
6a186782 imp Oct. 22, 2018, 2:36 a.m.
This driver has been obsolete since the FreeBSD 4.x. It should have
been removed then since the sym(4) driver had subsumed it. The driver
was commented out of GENERIC in 2000.

RelNotes: Yes
cgit ViewVC
51a2f839 imp Oct. 22, 2018, 2:36 a.m.
scsi_low was a common set of routines to do the SCSI bus sequencing
for the ncv, nsp and stg drivers. Those have been removed, so it's no
longer needed since nothing else in the tree uses it and nothing
likely ever will (it's for super-low-end 8-bit parallel SCSI cards).
cgit ViewVC
49a93324 imp Oct. 22, 2018, 2:35 a.m.
stg(4) is marked as gone in 12. Remove it. There are no sightings of
it in the nycbug dmesg database. It was for an obscure SCSI card that
sold mostly in Japan, and was especially popilar among pc98 hackers in
the 4.x time frame. It was also only enabled on i386.

Relnote: Yes
cgit ViewVC
08204c2c imp Oct. 22, 2018, 2:35 a.m.
nsp(4) is marked as gone in 12. Remove it. There are no sightings of
it in the nycbug dmesg database. It was for an obscure SCSI card that
sold mostly in Japan, and was especially popilar among pc98 hackers in
the 4.x time frame. It was also only enabled on i386.

Relnote: Yes
cgit ViewVC
2dfd3588 imp Oct. 22, 2018, 2:35 a.m.
ncv(4) is marked as gone in 12. Remove it. There are no sightings of
it in the nycbug dmesg database. It was for an obscure SCSI card that
sold mostly in Japan, and was especially popilar among pc98 hackers in
the 4.x time frame..

Relnote: Yes
cgit ViewVC
e9b5375b imp Oct. 22, 2018, 2:35 a.m.
Marked as gone in 12 and not relevant since the early 90s. No
sightings in nycbug's dmesg database.

Relnotes: yes
cgit ViewVC
a1db7455 imp Oct. 22, 2018, 2:34 a.m.
The buslogic scsi driver has been tagged as gone in 12 for some time
now. Remove it. The nycbug dmesg database shows only one sighting in 6
for this driver. It was very popular in the early days of the project,
but that popularity seems to have died by 2004 when the nycbug
database started up.

Relnotes: yes
cgit ViewVC
43b16da8 imp Oct. 22, 2018, 2:34 a.m.
Remove the advanssy drivers (both adv and adw). They were tagged as
gone in 12 a while qgo. The nycbug dmesg database shows this was last
seen in 6 and there were only a few adv sightings then (none for adw).

Relnotes: yes
cgit ViewVC
c24bd33d imp Oct. 22, 2018, 2:34 a.m.
aic was marked to be gone in 12 a while ago. Go ahead and remove it.
nycbug's dmesg database shows this was last seen in 6 and one more
time in 4.x. It never was popular, and what popularity it had was over
before the nycbug databse got going in 2004.

Relnotes: yes
cgit ViewVC
39c362e0 imp Oct. 22, 2018, 2:34 a.m.
We tagged aha as gone in 12 a while ago. Proceed with its removal.
Data from nycbug's database shows the last sighting of this driver in
6, with the prior one in 4.x show its popularity had died prior to
4.x.

Relnotes: yes
cgit ViewVC