[SystemZ][z/OS] Emit error when passing vector types without vector extension (#246407)
Currently, there is no ABI defined on z/OS for passing vector types when
the vector extension is disabled/not available. Emit an error message
for this case while we are working on extending the ABI.
This is a temporary measure until the ABI is defined.
---------
Co-authored-by: Kazu Hirata <kazu at google.com>
[mlir][SPIR-V] Add SPV_KHR_float_controls2 and FPFastMathDefault (#244569)
Let spirv.ExecutionModeId take type and constant operands, which
FPFastMathDefault needs, and rename the INTEL FPFastMathMode bits to KHR
names
Use netlink to get RDMA links
Middleware now uses the get_rdma_links function from truenas_pynetif. The function is fast and does not start a new process. Thus this commit removes the caches and the reset_link_choices method.
The internal_interfaces method now gets the RDMA links only if RDMA interfaces are configured. It ignores a configured interface that has no link.
ipfw: match tcpmss only on the first fragment
08f0a1bdc091 dropped the check that O_TCPMSS has a TCP header to look
at. For a non-first fragment of a TCP datagram ulp is NULL, and
args->f_id._flags is not set for such a packet. ipfw_check_packet()
does not zero its struct ip_fw_args, so the flags may still have
TH_SYN from an earlier packet; a tcpmss rule then reads the TCP
header through the NULL pointer and the kernel panics.
Check offset == 0, as the other TCP header opcodes do: then the TCP
header has been pulled up and the flags belong to this packet.
Document that tcpmss looks only at packets with the SYN flag set and
never matches a fragment with a non-zero offset.
Add tests that send SYNs through a tcpmss rule, alone and each
followed by a non-first TCP fragment, and check the rule counters:
frag4: IPv4; panics without the fix.
frag6: IPv6; panics without the fix.
[8 lines not shown]
[NFC][TargetMachine][MachineFunction] `getSubtarget` does not typecheck (#246465)
`getSubtarget<T>()` has not validated its return type since LLVM stopped
being built with RTTI.
[AMDGPU] Reject a non-VGPR src1 on DPP REV opcodes in the assembler (#243195)
DPP REV type opcodes apply DPP to src1, so src1 must be a VGPR. PR
#216835 stopped the DPP combiner folding into them, but the assembler
still accepted a non-VGPR src1.
Ref: PLAT-216290
Co-authored-by: Claude Opus 5 <noreply at anthropic.com>
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
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
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
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
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
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
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
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
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
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
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
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
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
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