FreeBSD/src fb73a0c — tools/test/vm86 Makefile vm86_test_asm.s

tools: Remove the vm86 test tool

This requires an i386 kernel (virtual 8086 mode only works from 32-bit
protected mode, it is not supported by long mode).

Reviewed by:    kib, emaste
Differential Revision:  https://reviews.freebsd.org/D60676
DeltaFile
+0-120tools/test/vm86/vm86_test.c
+0-39tools/test/vm86/vm86_test_asm.s
+0-5tools/test/vm86/Makefile
+0-1643 files

FreeBSD/src 5574728 — sys/isa isa_common.h isa_common.c, sys/powerpc/mpc85xx isa.c

isa: Retire the isa_init() MD hook

The implementation was an empty function on all current platforms.

Reviewed by:    imp, kib, emaste
Differential Revision:  https://reviews.freebsd.org/D60675
DeltaFile
+0-5sys/x86/isa/isa.c
+0-5sys/powerpc/mpc85xx/isa.c
+0-1sys/isa/isa_common.h
+0-1sys/isa/isa_common.c
+0-124 files

FreeBSD/src 470a7ca — contrib/pnpinfo Makefile pnpinfo.8, usr.sbin/pnpinfo Makefile Makefile.depend

Retire the pnpinfo(8) utility

This was only enabled for i386 and is not relevant on modern hardware.
It was used to enumerate ISA add-on cards with configurable I/O
resources.

Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D60673
DeltaFile
+0-607contrib/pnpinfo/pnpinfo.c
+0-74contrib/pnpinfo/pnpinfo.h
+0-57contrib/pnpinfo/pnpinfo.8
+0-14usr.sbin/pnpinfo/Makefile.depend
+0-10usr.sbin/pnpinfo/Makefile
+0-7contrib/pnpinfo/Makefile
+0-7693 files not shown
+4-7719 files

FreeBSD/src 4e5834f — sys/isa isa_if.m isavar.h

isa: Retire the ISAPNP option and related code

This was only enabled for i386 and is not relevant on modern hardware.
It configured ISA add-on cards with configurable I/O resources.

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D60674
DeltaFile
+0-767sys/isa/pnp.c
+0-603sys/isa/pnpparse.c
+13-560sys/isa/isa_common.c
+0-245sys/isa/pnpreg.h
+0-47sys/isa/isavar.h
+2-22sys/isa/isa_if.m
+15-2,2446 files not shown
+15-2,28212 files

FreeBSD/src ff07dc9 — sys/modules Makefile

sys/modules: Consolidate amd64-only lists

Merge the previous amd64 || i386 list (which itself seemed to be split
into two arbitrary sub-groups) with the other amd64-only list into a
single, alphabetically-sorted list.

Reviewed by:    imp, kib
Differential Revision:  https://reviews.freebsd.org/D62017
DeltaFile
+76-75sys/modules/Makefile
+76-751 files

FreeBSD/src 6ace147 — sys/libkern quad.h udivmoddi4.c

sys/libkern: Remove [u]divmoddi4 libcalls

These were previously used by i386 but are no longer used.

Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D61882
DeltaFile
+0-65sys/libkern/divmoddi4.c
+0-46sys/libkern/udivmoddi4.c
+0-2sys/libkern/quad.h
+0-1133 files

FreeBSD/src 952bb5d — sys/modules Makefile

sys/modules: Collapse a few lists with identical conditionals

Reviewed by:    imp, kib
Differential Revision:  https://reviews.freebsd.org/D62018
DeltaFile
+12-22sys/modules/Makefile
+12-221 files

FreeBSD/src d7deefe — sys/crypto/des/arch/i386 des_enc.S, sys/i386/i386 machdep.c pmap.c

Remove the i386 kernel and i386-only device drivers

This does not move any content from sys/x86 back to sys/amd64.  A
few machine headers that are now amd64-specific may make sense to
move in the future.

This also removes all references to DEV_APIC which was only optional
on i386 and previously forced on for amd64.  Now the #ifdef's are
removed and just assume DEV_APIC is always present.

Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D60671
DeltaFile
+0-10,585sys/i386/linux/linux_systrace_args.c
+0-6,484sys/i386/i386/pmap.c
+0-2,810sys/crypto/des/arch/i386/des_enc.S
+0-2,637sys/i386/linux/syscalls.master
+0-2,493sys/i386/linux/linux_proto.h
+0-1,866sys/i386/i386/machdep.c
+0-26,875425 files not shown
+508-70,733431 files

FreeBSD/src 75a747d — sys/crypto/ccp ccp_hardware.c, sys/dev/arcmsr arcmsr.c

sys: Remove PAE #ifdef's in drivers

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D60672
DeltaFile
+0-5sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
+0-4sys/dev/arcmsr/arcmsr.c
+0-4sys/crypto/ccp/ccp_hardware.c
+0-133 files

FreeBSD/src 0307bad — sys/x86/x86 local_apic.c

x86 lapic: Assume amd64 values when setting IDT entries

Suggested by:   kib
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D60809
DeltaFile
+10-14sys/x86/x86/local_apic.c
+10-141 files

FreeBSD/src af767e4 — sys/x86/include apicvar.h

amd64: Close gap between the TLB shootdown and bitmap IPIs

Previously this gap was filled by multiple TLB shootdown IPIs on i386.

Suggested by:   kib
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D60808
DeltaFile
+1-1sys/x86/include/apicvar.h
+1-11 files

FreeBSD/src 6baa2c0 — share/man/man4 smp.4

smp.4: Drop COMPATIBILITY section

FreeBSD's kernel is now inherently SMP and it is supported on all
architectures.

Reviewed by:    ziaee, kib
Differential Revision:  https://reviews.freebsd.org/D61881
DeltaFile
+0-8share/man/man4/smp.4
+0-81 files

FreeBSD/src 7fede8c — sys/dev/bxe bxe_stats.c

bxe: Use __SIZEOF_LONG__ to compute BITS_PER_LONG

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D60807
DeltaFile
+1-5sys/dev/bxe/bxe_stats.c
+1-51 files

FreeBSD/src 5c16b26 — usr.bin/kdump linux.c

kdump: Use types and constants from amd64 linux32 for Linux on i386

Reviewed by:    imp, kib
Differential Revision:  https://reviews.freebsd.org/D61350
DeltaFile
+7-3usr.bin/kdump/linux.c
+7-31 files

FreeBSD/src 5640776 — sys/crypto/via padlock_hash.c padlock.c

padlock: Remove architecture #ifdefs

This used to matter when PC98 was in the tree as this driver was
stubbed out for PC98, but since PC98's removal these #ifdefs are
always true since the driver is only compiled on x86 architectures.

Suggested by:   kib
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D60806
DeltaFile
+0-6sys/crypto/via/padlock.c
+0-2sys/crypto/via/padlock_hash.c
+0-82 files

FreeBSD/src 2a62595 — share/man/man4 vte.4, sys/dev/mii rdcphyreg.h rdcphy.c

vte: Remove the vte(4) driver

While the module for this driver is enabled on all architectures and
it is present in the MI NOTES, this driver supports a Fast Ethernet
MAC included in the 32-bit-only Vortex86 SoC.  It is not available as
a standalone part, so is not relevant on any architectures other than
i386.

The companion rdcphy(4) driver is removed as well as it was only used
by the same SoC.

Reported by:    imp
Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D62016
DeltaFile
+0-2,070sys/dev/vte/if_vte.c
+0-346sys/dev/vte/if_vtereg.h
+0-231sys/dev/mii/rdcphy.c
+0-163sys/dev/vte/if_vtevar.h
+0-153share/man/man4/vte.4
+0-73sys/dev/mii/rdcphyreg.h
+0-3,0369 files not shown
+4-3,07015 files

FreeBSD/src 6bd1b87 — lib/libkvm kvm_i386.h

libkvm: Drop static assertions for the i386 backend

These constants are never going to change but can only be verified
while kernel support remains in the tree.  Remove the assertions in
preparation for removing kernel support.

Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D61351
DeltaFile
+0-21lib/libkvm/kvm_i386.h
+0-211 files

FreeBSD/src 33d157b — lib/libprocstat libprocstat.c

libprocstat: Add static assertions for kinfo structure sizes

This ensures the structure sizes are validated for architectures that
do not build a kernel.

Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D61349
DeltaFile
+12-0lib/libprocstat/libprocstat.c
+12-01 files

FreeBSD/src 7bc1729 — . ObsoleteFiles.inc, share/man/man4/man4.i386 glxiic.4

glxiic: Retire the glxiic(4) driver

This driver is for a chipset (AMD Geode) only used with 32-bit x86
processors.

Reviewed by:    imp, kib, emaste
Differential Revision:  https://reviews.freebsd.org/D60666
DeltaFile
+0-1,078sys/dev/glxiic/glxiic.c
+0-105share/man/man4/man4.i386/glxiic.4
+0-19tools/kerneldoc/subsys/Doxyfile-dev_glxiic
+0-8sys/modules/glxiic/Makefile
+4-0ObsoleteFiles.inc
+0-2sys/modules/Makefile
+4-1,2123 files not shown
+4-1,2169 files

FreeBSD/src 0b3180f — lib/libkvm kvm_i386.c

libkvm: Remove a fallback for pre-5.0 i386 kernels

5.0 exported a kernbase symbol with the value of KERNBASE for use in
libkvm (commit f85f3040062dffca6dfcb0c3c2ac64d99cc19db3).  This
fallback allowed libkvm to still examine crashdumps from kernels
without that change on i386.  However, the value of KERNBASE for i386
hasn't actually been static, e.g. it changed during the 4G/4G change,
so this fallback hasn't worked for several years anyway.

Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D61352
DeltaFile
+0-8lib/libkvm/kvm_i386.c
+0-81 files

FreeBSD/src 19302bb — lib/libsysdecode linux.c syscallnames.c

libsysdecode: Use types and constants from amd64 linux32 for Linux on i386

Reviewed by:    imp, kib
Differential Revision:  https://reviews.freebsd.org/D60669
DeltaFile
+2-1lib/libsysdecode/syscallnames.c
+1-1lib/libsysdecode/linux.c
+3-22 files

FreeBSD/src b39be2f — share/man/man4/man4.i386 glxsb.4, sys/dev/glxsb glxsb.h glxsb_hash.c

glxsb: Retire the glxsb(4) driver

This driver is for a chipset (AMD Geode) only used with 32-bit x86
processors.

Reviewed by:    imp, kib, emaste
Differential Revision:  https://reviews.freebsd.org/D60667
DeltaFile
+0-767sys/dev/glxsb/glxsb.c
+0-157sys/dev/glxsb/glxsb_hash.c
+0-96share/man/man4/man4.i386/glxsb.4
+0-52sys/dev/glxsb/glxsb.h
+0-19tools/kerneldoc/subsys/Doxyfile-dev_glxsb
+0-7sys/modules/glxsb/Makefile
+0-1,0986 files not shown
+5-1,11112 files

FreeBSD/src 78eb3be — . Makefile

universe: More gracefully handle architectures without kernels

Only define the universe_<target>_kernels target that wraps
universe_kernels for a given architecture if the architecture's kernel
config directory exists.

Reviewed by:    imp, emaste
Differential Revision:  https://reviews.freebsd.org/D60670
DeltaFile
+2-0Makefile
+2-01 files

FreeBSD/src 8af1e99 — sys/kern kern_descrip.c imgact_elf.c, sys/sys user.h

sys: Enable kinfo structure size assertions for all architectures

Reviewed by:    imp, kib
Differential Revision:  https://reviews.freebsd.org/D61348
DeltaFile
+6-12sys/sys/user.h
+2-6sys/kern/kern_proc.c
+0-6sys/kern/imgact_elf.c
+0-4sys/kern/kern_descrip.c
+8-284 files

FreeBSD/src dbc1678 — share/man/man4 tdfx.4, sys/dev/tdfx tdfx_pci.h tdfx_linux.c

3dfx: Remove the tdfx(4) driver

While this driver is enabled for amd64, it is for really old hardware
that was only really relevant for i386 systems.  The Linux ioctl
support was also only supported for i386.

Reviewed by:    imp, kib
Differential Revision:  https://reviews.freebsd.org/D60661
DeltaFile
+0-834sys/dev/tdfx/tdfx_pci.c
+0-107sys/dev/tdfx/tdfx_vars.h
+0-100sys/dev/tdfx/tdfx_io.h
+0-96share/man/man4/tdfx.4
+0-90sys/dev/tdfx/tdfx_linux.c
+0-62sys/dev/tdfx/tdfx_pci.h
+0-1,28910 files not shown
+4-1,39316 files

FreeBSD/src 9d21853 — share/man/man4 procfs.4

procfs.4: The dbregs file is not i386-only

Reviewed by:    ziaee, markj
Differential Revision:  https://reviews.freebsd.org/D61878
DeltaFile
+2-2share/man/man4/procfs.4
+2-21 files

FreeBSD/src 3e92c78 — share/man/man4 aac.4, sys/dev/aac aac_linux.c

aac_linux: Remove Linux ioctl support for the aac(4) driver

This was only supported for i386.

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D61879
DeltaFile
+0-87sys/dev/aac/aac_linux.c
+1-11share/man/man4/aac.4
+0-6sys/modules/aac/aac_linux/Makefile
+0-4sys/modules/aac/Makefile
+0-1sys/modules/aac/Makefile.inc
+1-1095 files

FreeBSD/src 7b91d56 — . ObsoleteFiles.inc, share/man/man4/man4.i386 Makefile vpd.4

vpd: Remove the vpd(4) driver

While this driver is enabled in the build for both i386 and amd64, I
strongly suspect it is a de facto i386-only driver.  It was added to
the tree back in 2002 for IBM ThinkPad laptops of that era that were
likely all 32-bit only.  It also supports only a few strings that are
a subset of information available via SMBIOS.

Reviewed by:    imp, kib, emaste
Differential Revision:  https://reviews.freebsd.org/D60665
DeltaFile
+0-307sys/x86/bios/vpd.c
+0-88share/man/man4/man4.i386/vpd.4
+0-9sys/modules/bios/vpd/Makefile
+4-0ObsoleteFiles.inc
+1-2share/man/man4/man4.i386/Makefile
+0-2sys/x86/conf/NOTES
+5-4082 files not shown
+6-4108 files

FreeBSD/src e98cdbf — share/man/man4 aacraid.4, sys/dev/aacraid aacraid_linux.c

aacraid_linux: Remove Linux ioctl support for the aacraid(4) driver

This was only supported for i386.

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D61880
DeltaFile
+0-90sys/dev/aacraid/aacraid_linux.c
+1-11share/man/man4/aacraid.4
+0-6sys/modules/aacraid/aacraid_linux/Makefile
+0-4sys/modules/aacraid/Makefile
+0-1sys/modules/aacraid/Makefile.inc
+1-1125 files

FreeBSD/src 88c9cad — share/man/man4/man4.i386 sbni.4, sys/dev/sbni if_sbnireg.h if_sbnivar.h

sbni: Remove the sbni(4) driver

This device driver was only enabled in i386 kernels.  While the driver
is not inherently i386-only, this hardware (leased-line modems) is no
longer in common use.  If someone needs this driver (and tests it) on
a supported architecture it can be resurrected easily.

Reviewed by:    imp, glebius, kib, emaste
Differential Revision:  https://reviews.freebsd.org/D60664
DeltaFile
+0-1,246sys/dev/sbni/if_sbni.c
+0-172sys/dev/sbni/if_sbni_pci.c
+0-158sys/dev/sbni/if_sbni_isa.c
+0-156sys/dev/sbni/if_sbnivar.h
+0-130share/man/man4/man4.i386/sbni.4
+0-99sys/dev/sbni/if_sbnireg.h
+0-1,9617 files not shown
+6-2,00113 files