HardenedBSD/src 32801e7share/man/man4 twe.4, sys/arm/arm nexus.c

Merge branch 'freebsd/14-stable/main' into hardened/14-stable/master
DeltaFile
+0-496sys/dev/bhnd/cores/usb/bhnd_usb.c
+255-151sys/dev/pci/pci_host_generic.c
+0-278share/man/man4/twe.4
+0-258sys/dev/bhnd/cores/usb/bhnd_ehci.c
+98-124sys/arm/arm/nexus.c
+0-220sys/dev/bhnd/cores/usb/bhnd_ohci.c
+353-1,52797 files not shown
+3,040-2,989103 files

HardenedBSD/src 782d09asys/powerpc/include bus.h, sys/powerpc/powerpc bus_machdep.c

powerpc: Fix bus_space_unmap

Previously it failed to compile since the macro passed too many
arguments to the function.  Fix by adding the bus handle to the
function and adding an implementation that calls pmap_unmapdev.

Reviewed by:    jhibbits
Differential Revision:  https://reviews.freebsd.org/D43440

(cherry picked from commit a3d6e0de1c89c145b40ed80fe54c6bad1abbf416)
DeltaFile
+6-1sys/powerpc/powerpc/bus_machdep.c
+1-1sys/powerpc/include/bus.h
+7-22 files

HardenedBSD/src 9646f92sys/arm/arm nexus.c, sys/arm64/cavium thunder_pcie_pem.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+98-124sys/arm/arm/nexus.c
+124-93sys/dev/ofw/ofw_pcib.c
+127-85sys/arm64/cavium/thunder_pcie_pem.c
+133-71sys/powerpc/powermac/uninorth.c
+133-64sys/powerpc/powermac/macio.c
+142-53sys/powerpc/mpc85xx/lbc.c
+757-49027 files not shown
+1,470-84433 files

HardenedBSD/src 39072d0sys/arm/arm nexus.c, sys/arm64/cavium thunder_pcie_pem.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+98-124sys/arm/arm/nexus.c
+124-93sys/dev/ofw/ofw_pcib.c
+127-85sys/arm64/cavium/thunder_pcie_pem.c
+133-71sys/powerpc/powermac/uninorth.c
+133-64sys/powerpc/powermac/macio.c
+142-53sys/powerpc/mpc85xx/lbc.c
+757-49027 files not shown
+1,470-84433 files

HardenedBSD/src a3d6e0dsys/powerpc/include bus.h, sys/powerpc/powerpc bus_machdep.c

powerpc: Fix bus_space_unmap

Previously it failed to compile since the macro passed too many
arguments to the function.  Fix by adding the bus handle to the
function and adding an implementation that calls pmap_unmapdev.

Reviewed by:    jhibbits
Differential Revision:  https://reviews.freebsd.org/D43440
DeltaFile
+6-1sys/powerpc/powerpc/bus_machdep.c
+1-1sys/powerpc/include/bus.h
+7-22 files

HardenedBSD/src cb0c532contrib/less screen.c, sys/kern vfs_subr.c

Merge remote-tracking branch 'internal/freebsd/13-stable/main' into hardened/13-stable/master

Conflicts:
        bin/cat/cat.c
        lib/libc/gen/auxv.3
        libexec/rc/rc.d/archdep
        share/man/man5/src.conf.5
        sys/amd64/amd64/elf_machdep.c
        sys/amd64/cloudabi64/cloudabi64_sysvec.c
        sys/amd64/linux/linux_sysvec.c
        sys/amd64/linux32/linux32_sysvec.c
        sys/arm/arm/elf_machdep.c
        sys/arm64/linux/linux_sysvec.c
        sys/compat/ia32/ia32_sysvec.c
        sys/i386/cloudabi32/cloudabi32_sysvec.c
        sys/i386/linux/imgact_linux.c
        sys/i386/linux/linux_sysvec.c
        sys/kern/imgact_aout.c
        sys/kern/kern_module.c

    [22 lines not shown]
DeltaFile
+175-44sys/vm/vm_map.c
+97-38sys/kern/vfs_subr.c
+64-0tests/sys/vm/stack/stack_dlopen_exec_test.c
+57-0tests/sys/vm/stack/stack_mprotect_exec_test.c
+42-11contrib/less/screen.c
+51-0tests/sys/vm/mmap_map_32bit_helper.c
+486-9331,889 files not shown
+1,170-49,85331,895 files

HardenedBSD/src 3bc8099sys/arm/arm swtch-v6.S, sys/arm64/qoriq qoriq_dw_pci.c

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/

Similar commit in current:
(cherry picked from commit 685dc743dc3b)
DeltaFile
+0-3sys/dev/cfe/cfe_env.c
+0-3sys/dev/extres/clk/clk_mux.c
+0-3sys/dev/cxgb/common/cxgb_t3_hw.c
+0-3sys/arm/arm/swtch-v6.S
+0-3sys/arm64/qoriq/qoriq_dw_pci.c
+0-3sys/kern/subr_syscall.c
+0-184,033 files not shown
+0-7,9144,039 files

HardenedBSD/src acf3d6esys/arm64/arm64 pl031_rtc.c, sys/compat/linux linux_socket.c

Merge remote-tracking branch 'internal/hardened/current/master' into hardened/current/cross-dso-cfi

Conflicts:
        tools/build/options/WITH_OFED_EXTRA (deleted)
        usr.sbin/rpc.yppasswdd/Makefile (unresolved)
DeltaFile
+697-0sys/dev/virtio/gpu/virtio_gpu.c
+454-0sys/dev/virtio/gpu/virtio_gpu.h
+153-0sys/arm64/arm64/pl031_rtc.c
+80-52sys/compat/linux/linux_socket.c
+107-0tools/build/freebsd-yeet.pl
+87-11sys/dev/ixl/ixl_pf_main.c
+1,578-6331,042 files not shown
+2,188-48,40531,048 files

HardenedBSD/src 2226d61sys/arm64/arm64 pl031_rtc.c, sys/compat/linux linux_socket.c

Merge remote-tracking branch 'internal/freebsd/current/main' into hardened/current/master

Conflicts:
        bin/cat/cat.c (unresolved)
        lib/csu/aarch64/crt1_c.c (unresolved)
        lib/csu/amd64/crt1_c.c (unresolved)
        lib/csu/i386/crt1_c.c (unresolved)
        lib/csu/powerpc64/crt1_c.c (unresolved)
        lib/csu/powerpc64/reloc.c (unresolved)
        lib/csu/riscv/crt1_c.c (unresolved)
        lib/libc/gen/auxv.3 (unresolved)
        lib/libcasper/services/cap_net/cap_net.3 (unresolved)
        sys/amd64/amd64/elf_machdep.c (unresolved)
        sys/amd64/include/sgxreg.h (deleted)
        sys/amd64/linux/linux_sysvec.c (unresolved)
        sys/amd64/linux32/linux32_sysvec.c (unresolved)
        sys/amd64/sgx/sgx.c (deleted)
        sys/amd64/sgx/sgx_linux.c (deleted)
        sys/amd64/sgx/sgxvar.h (deleted)

    [29 lines not shown]
DeltaFile
+697-0sys/dev/virtio/gpu/virtio_gpu.c
+454-0sys/dev/virtio/gpu/virtio_gpu.h
+153-0sys/arm64/arm64/pl031_rtc.c
+80-52sys/compat/linux/linux_socket.c
+107-0tools/build/freebsd-yeet.pl
+87-11sys/dev/ixl/ixl_pf_main.c
+1,578-6331,044 files not shown
+2,304-48,37531,050 files

HardenedBSD/src 685dc74sys/arm64/arm64 cpufunc_asm.S, sys/cam/ctl ctl_scsi_all.h

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
DeltaFile
+0-3sys/cam/ctl/ctl_scsi_all.h
+0-3sys/arm64/arm64/cpufunc_asm.S
+0-3sys/dev/bxe/57710_int_offsets.h
+0-3sys/dev/bxe/57711_int_offsets.h
+0-3sys/dev/bxe/57712_int_offsets.h
+0-3sys/dev/cfe/cfe_env.c
+0-183,795 files not shown
+0-7,4523,801 files

HardenedBSD/src 65b43f4bin/cp/tests cp_test.sh, bin/pkill pkill.c

Merge remote-tracking branch 'freebsd/stable/13' into hardened/13-stable/master

Conflicts:
        sys/i386/linux/imgact_linux.c (deleted)
        sys/kern/imgact_aout.c (deleted)
DeltaFile
+1-3sys/xen/xenbus/xenbusb.h
+1-3sys/dev/qlxge/qls_isr.c
+1-1sys/sys/_bus_dma.h
+1-1bin/cp/tests/cp_test.sh
+1-1bin/pkill/pkill.c
+1-1bin/timeout/timeout.1
+6-105,655 files not shown
+5,661-5,6655,661 files

HardenedBSD/src caa41f6sys/dev/qlxge qls_isr.c, sys/netgraph/bluetooth/l2cap ng_l2cap_ulpi.c

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:         pfg
MFC After:              3 days
Sponsored by:           Netflix

(cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
DeltaFile
+2-2sys/xen/xenbus/xenbusb.h
+2-2sys/dev/qlxge/qls_isr.c
+1-1sys/powerpc/include/openpicvar.h
+1-1sys/powerpc/include/pcpu.h
+1-1sys/powerpc/include/pcpu_aux.h
+1-1sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
+8-85,432 files not shown
+5,440-5,4405,438 files

HardenedBSD/src 161fa17sys/contrib/dev/athk/ath11k mac.c wmi.c

Merge remote-tracking branch 'internal/hardened/current/master' into hardened/current/cross-dso-cfi

Conflicts:
        share/man/man5/src.conf.5 (unresolved)
DeltaFile
+8,669-0sys/contrib/dev/athk/ath11k/mac.c
+8,286-0sys/contrib/dev/athk/ath11k/wmi.c
+5,662-0sys/contrib/dev/athk/ath11k/dp_rx.c
+5,585-0sys/contrib/dev/athk/ath11k/wmi.h
+4,704-0sys/contrib/dev/athk/ath11k/debugfs_htt_stats.c
+3,063-0sys/contrib/dev/athk/ath11k/qmi.c
+35,969-06,232 files not shown
+89,418-15,4896,238 files

HardenedBSD/src 8b901f3contrib/xz ChangeLog, contrib/xz/src/liblzma/common memcmplen.h

Merge remote-tracking branch 'freebsd/main' into hardened/current/master

Conflicts:
        lib/csu/common/csu_common.h (deleted)
        share/man/man5/src.conf.5 (unresolved)
        sys/i386/linux/imgact_linux.c (deleted)
        sys/kern/imgact_aout.c (deleted)
DeltaFile
+267-0contrib/xz/ChangeLog
+66-0share/mk/local.sys.dirdeps.env.mk
+0-66share/mk/local.meta.sys.env.mk
+17-0stand/efi/libefi/devpath.c
+14-0tools/build/options/WITH_META_ERROR_TARGET
+12-1contrib/xz/src/liblzma/common/memcmplen.h
+376-675,795 files not shown
+6,208-5,8965,801 files

HardenedBSD/src 4d846d2sys/dev/adb adb_kbd.c adbvar.h, sys/dev/ae if_ae.c if_aereg.h

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:         pfg
MFC After:              3 days
Sponsored by:           Netflix
DeltaFile
+2-2sys/xen/xenbus/xenbusb.h
+2-2sys/dev/qlxge/qls_isr.c
+1-1sys/dev/adb/adb_kbd.c
+1-1sys/dev/adb/adbvar.h
+1-1sys/dev/ae/if_ae.c
+1-1sys/dev/ae/if_aereg.h
+8-85,571 files not shown
+5,579-5,5795,577 files

HardenedBSD/src c7ce6b0contrib/libstdc++ configure, lib/clang/liblldb LLDBWrapLua.cpp

Merge branch 'hardened/current/master' into hardened/current/uninit-autoinit
DeltaFile
+0-111,817contrib/libstdc++/configure
+72,183-0lib/clang/liblldb/LLDBWrapLua.cpp
+71,590-432tools/tools/locale/etc/final-maps/widths.txt
+31,726-39,305share/ctypedef/ja_JP.eucJP.src
+59,521-0sys/contrib/dev/iwm/iwm-9000-34.fw.uu
+59,517-0sys/contrib/dev/iwm/iwm-9260-34.fw.uu
+294,537-151,55460,534 files not shown
+10,288,584-10,879,88160,540 files

HardenedBSD/src f86c9ebcontrib/llvm-project/llvm/lib/Analysis/models/inliner saved_model.pbtxt, contrib/sqlite3 sqlite3.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi

Conflicts:
        Makefile.inc1 (unresolved)
        share/man/man5/src.conf.5 (unresolved)
        share/mk/src.opts.mk (unresolved)
        share/mk/sys.mk (unresolved)
DeltaFile
+95,073-589share/man/man5/src.conf.5
+35,376-0sys/contrib/openzfs/include/sys/u8_textprep_data.h
+32,634-0contrib/llvm-project/llvm/lib/Analysis/models/inliner/saved_model.pbtxt
+27,826-0sys/contrib/openzfs/module/zstd/lib/zstd.c
+9,980-9,250contrib/sqlite3/sqlite3.c
+10,609-0sys/contrib/openzfs/module/zfs/arc.c
+211,498-9,83918,438 files not shown
+1,674,079-664,95318,444 files

HardenedBSD/src 150a487share/man/man9 bus_dma.9, sys/dev/mpr mpr.c

Merge remote-tracking branch 'origin/freebsd/current/master' into hardened/current/master

Conflicts:
        Makefile.inc1 (unresolved)
DeltaFile
+162-124sys/powerpc/powerpc/bus_machdep.c
+85-0sys/kern/subr_bus_dma.c
+64-5sys/sys/bus_dma.h
+24-28sys/dev/mpr/mpr.c
+46-5share/man/man9/bus_dma.9
+20-25sys/dev/mps/mps.c
+401-18716 files not shown
+448-40622 files

HardenedBSD/src 5302766release/tools ec2.conf, sys/powerpc/aim mmu_oea.c mmu_oea64.c

Merge branch 'freebsd/current/master' into hardened/current/master

* freebsd/current/master:
  [PowerPC] bus_space cleanup part 1 - rename bs_be / bs_le functions
  [PowerPC64LE] Bus space prep for LE
  Spawn the DHCPv6 client in EC2 instances via rtsold.
  Bump the size of EC2 AMIs up to 5 GB.
  [PowerPC64LE] Ensure nvram is built on powerpc64le.
  [PowerPC64LE] Adjust ELF definitions for LE.
  Remove WITHOUT_BMAKE description
  [PowerPC] Implement pmap_mincore() for moea
  [PowerPC64] Implement pmap_mincore() for moea64
DeltaFile
+186-178sys/powerpc/powerpc/bus_machdep.c
+49-1sys/powerpc/aim/mmu_oea.c
+49-0sys/powerpc/aim/mmu_oea64.c
+15-5release/tools/ec2.conf
+0-8tools/build/options/WITHOUT_BMAKE
+5-2sys/powerpc/include/elf.h
+304-1943 files not shown
+311-1969 files

HardenedBSD/src 985bd1fsys/powerpc/powerpc bus_machdep.c

[PowerPC] bus_space cleanup part 2: Convert to c99 initializers.

To make it easier to work with this in the future, convert to c99
designated initializer syntax.

Tested on powerpc, powerpc64, and powerpc64le. No functional change.

Sponsored by:   Tag1 Consulting, Inc.
DeltaFile
+162-124sys/powerpc/powerpc/bus_machdep.c
+162-1241 files

HardenedBSD/src e44d867 (r365699)sys/powerpc/powerpc bus_machdep.c

[PowerPC] bus_space cleanup part 2: Convert to c99 initializers.

To make it easier to work with this in the future, convert to c99
designated initializer syntax.

Tested on powerpc, powerpc64, and powerpc64le. No functional change.

Sponsored by:   Tag1 Consulting, Inc.
DeltaFile
+162-124sys/powerpc/powerpc/bus_machdep.c
+162-1241 files

HardenedBSD/src 88e3d5d (r365698)sys/powerpc/powerpc bus_machdep.c

[PowerPC] bus_space cleanup part 1 - rename bs_be / bs_le functions

The intention of the bus_be naming was for those to be the no-endian-swapping
and for the bus_le to be endian-swapping in all the functions.

This naming breaks down when we're actually are running in LE and need to
use the opposite sense.

As such, rename bs_be_* to native_bs_* and rename bs_le_* to swapped_bs_*.

No functional change.

Sponsored by:   Tag1 Consulting, Inc.
DeltaFile
+178-178sys/powerpc/powerpc/bus_machdep.c
+178-1781 files

HardenedBSD/src 8584d0esys/powerpc/powerpc bus_machdep.c

[PowerPC] bus_space cleanup part 1 - rename bs_be / bs_le functions

The intention of the bus_be naming was for those to be the no-endian-swapping
and for the bus_le to be endian-swapping in all the functions.

This naming breaks down when we're actually are running in LE and need to
use the opposite sense.

As such, rename bs_be_* to native_bs_* and rename bs_le_* to swapped_bs_*.

No functional change.

Sponsored by:   Tag1 Consulting, Inc.
DeltaFile
+178-178sys/powerpc/powerpc/bus_machdep.c
+178-1781 files

HardenedBSD/src edf2151 (r365697)sys/powerpc/powerpc bus_machdep.c nexus.c

[PowerPC64LE] Bus space prep for LE

Swap the BE and LE bus_space tags when on LE, and adjust the nexus tag
to match.

This is prep for a a followup that makes the powerpc bus_space macros easier
to maintain in the future.

Sponsored by:   Tag1 Consulting, Inc.
DeltaFile
+8-0sys/powerpc/powerpc/bus_machdep.c
+5-0sys/powerpc/powerpc/nexus.c
+13-02 files

HardenedBSD/src a880b12sys/powerpc/powerpc bus_machdep.c nexus.c

[PowerPC64LE] Bus space prep for LE

Swap the BE and LE bus_space tags when on LE, and adjust the nexus tag
to match.

This is prep for a a followup that makes the powerpc bus_space macros easier
to maintain in the future.

Sponsored by:   Tag1 Consulting, Inc.
DeltaFile
+8-0sys/powerpc/powerpc/bus_machdep.c
+5-0sys/powerpc/powerpc/nexus.c
+13-02 files

HardenedBSD/src 375f6acsys/arm/ti/omap4 omap4_prcm_clks.c, sys/dev/sdhci sdhci_fsl_fdt.c

Merge branch 'freebsd/current/master' into hardened/current/master

* freebsd/current/master: (37 commits)
  twe: clean up empty lines in .c and .h files
  tws: clean up empty lines in .c and .h files
  virtio: clean up empty lines in .c and .h files
  iscsi: clean up empty lines in .c and .h files
  vmware: clean up empty lines in .c and .h files
  syscons: clean up empty lines in .c and .h files
  twa: clean up empty lines in .c and .h files
  sfxge: clean up empty lines in .c and .h files
  sound: clean up empty lines in .c and .h files
  usb: clean up empty lines in .c and .h files
  security: clean up empty lines in .c and .h files
  nfs: clean up empty lines in .c and .h files
  libkern: clean up empty lines in .c and .h files
  compat: clean up empty lines in .c and .h files
  x86: clean up empty lines in .c and .h files
  ufs: clean up empty lines in .c and .h files

    [5 lines not shown]
DeltaFile
+680-0sys/dev/sdhci/sdhci_fsl_fdt.c
+0-254sys/dev/sfxge/common/efx_regs_mcdi.h
+0-155sys/dev/sfxge/common/efx_regs.h
+0-134sys/dev/sfxge/common/efx_regs_pci.h
+41-51sys/arm/ti/omap4/omap4_prcm_clks.c
+5-74sys/netinet/libalias/alias_db.c
+726-6681,646 files not shown
+1,750-6,8521,652 files

HardenedBSD/src c9fc22bsys/powerpc/aim mmu_radix.c, sys/powerpc/booke pmap.c

powerpc: clean up empty lines in .c and .h files
DeltaFile
+7-19sys/powerpc/booke/pmap.c
+4-16sys/powerpc/powermac/macio.c
+8-12sys/powerpc/powermac/pmu.c
+0-17sys/powerpc/aim/mmu_radix.c
+3-14sys/powerpc/psim/iobus.c
+7-10sys/powerpc/powermac/smu.c
+29-88142 files not shown
+163-417148 files

HardenedBSD/src b64b313 (r365073)sys/powerpc/aim mmu_radix.c, sys/powerpc/booke pmap.c

powerpc: clean up empty lines in .c and .h files
DeltaFile
+7-19sys/powerpc/booke/pmap.c
+4-16sys/powerpc/powermac/macio.c
+8-12sys/powerpc/powermac/pmu.c
+3-14sys/powerpc/psim/iobus.c
+7-10sys/powerpc/powermac/smu.c
+0-17sys/powerpc/aim/mmu_radix.c
+29-88142 files not shown
+163-417148 files

HardenedBSD/src 0221772contrib/subversion/subversion/libsvn_subr/utf8proc utf8proc_data.c, sys/dev/ispfw asm_2500.h asm_2400.h

Merge remote-tracking branch 'upstream/hardened/current/master' into hardened/current/safestack-arm64
DeltaFile
+148,809-148,750sys/dev/qlxgbe/ql_fw.c
+51,685-49,575sys/dev/qlnx/qlnxe/ecore_init_values.h
+14,979-14,981sys/dev/ispfw/asm_2500.h
+0-29,957sys/dev/vxge/vxge-firmware.h
+14,379-13,376contrib/subversion/subversion/libsvn_subr/utf8proc/utf8proc_data.c
+13,798-13,507sys/dev/ispfw/asm_2400.h
+243,650-270,14613,300 files not shown
+1,468,758-867,91513,306 files

HardenedBSD/src 10846dfsys/dev/altera/atse if_atse.c, sys/dev/altera/avgen altera_avgen.c

Merge remote-tracking branch 'origin/hardened/11-stable/master' into hardened/11-stable/unstable

* origin/hardened/11-stable/master:
  MFC r331375: Do not send signals to init directly from shutdown_nice(9), do it from the task context.
  MFC r331374: Fixes for ptrace(PT_GETXSTATE_INFO) related to the padding in struct ptrace_xstate_info).
  MFC 331345:
  HBSD: Resolve merge conflict
  MFC kernel build-id support
  MFC r305860, r306371
  MFC r329817:
  MFC r325621, r325622, r331227
  Revert r330897:
  MFC r329738: MFV r329736: 8969 Cannot boot from RAIDZ with parity > 1
  MFC r331559:  Escape trailing newlines in a long variable list for consistency.
DeltaFile
+555-222sys/mips/beri/beri_pic.c
+26-212sys/dev/altera/avgen/altera_avgen.c
+68-129sys/dev/sound/pci/hdspe-pcm.c
+42-116sys/dev/altera/jtag_uart/altera_jtag_uart_tty.c
+16-109sys/dev/cfe/cfe_ioctl.h
+47-56sys/dev/altera/atse/if_atse.c
+754-8446,790 files not shown
+2,355-15,6846,796 files