Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
Delta | File |
---|
+1,708 | -0 | sys/dev/clk/clk.c |
+0 | -1,708 | sys/dev/extres/clk/clk.c |
+0 | -1,439 | sys/arm64/rockchip/clk/rk3568_cru.c |
+1,439 | -0 | sys/dev/clk/rockchip/rk3568_cru.c |
+1,325 | -0 | sys/dev/regulator/regulator.c |
+0 | -1,325 | sys/dev/extres/regulator/regulator.c |
+4,472 | -4,472 | 510 files not shown |
+34,864 | -33,089 | 516 files |
Merge branch 'freebsd/current/main' into hardened/current/master
Delta | File |
---|
+0 | -1,708 | sys/dev/extres/clk/clk.c |
+1,708 | -0 | sys/dev/clk/clk.c |
+1,439 | -0 | sys/dev/clk/rockchip/rk3568_cru.c |
+0 | -1,439 | sys/arm64/rockchip/clk/rk3568_cru.c |
+0 | -1,325 | sys/dev/extres/regulator/regulator.c |
+1,325 | -0 | sys/dev/regulator/regulator.c |
+4,472 | -4,472 | 510 files not shown |
+34,864 | -33,089 | 516 files |
HardenedBSD/src 62e8ccc — sys/dev/extres/syscon syscon.c syscon_generic.c, sys/dev/syscon syscon.c syscon_generic.c
syscon: Move syscon code in dev/syscon
We've removed kernel option EXT_RESOURCES almost two years ago.
While it was ok to have some code under a common 'extres' subdirectory
at first, we now have a lot of consumer of it and we made it mandatory
so no need to have it under a cryptic name.
Reviewed by: mhorne
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D43196
phy: Move phy code in dev/phy
We've removed kernel option EXT_RESOURCES almost two years ago.
While it was ok to have some code under a common 'extres' subdirectory
at first, we now have a lot of consumer of it and we made it mandatory
so no need to have it under a cryptic name.
Reviewed by: emaste, imp
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D43195
HardenedBSD/src 1f469a9 — sys/dev/extres/hwreset hwreset.c hwreset_array.c, sys/dev/hwreset hwreset.c hwreset_array.c
hwreset: Move reset code in dev/hwreset
We've removed kernel option EXT_RESOURCES almost two years ago.
While it was ok to have some code under a common 'extres' subdirectory
at first, we now have a lot of consumer of it and we made it mandatory
so no need to have it under a cryptic name.
Reviewed by: imp
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D43192
clk: Move clock code in dev/clk
We've removed kernel option EXT_RESOURCES almost two years ago.
While it was ok to have some code under a common 'extres' subdirectory
at first, we now have a lot of consumer of it and we made it mandatory
so no need to have it under a cryptic name.
Reviewed by: mhorne
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D43191
HardenedBSD/src 97f1bce — contrib/libevent ltmain.sh configure, contrib/libevent/build-aux ltmain.sh config.sub
Merge remote-tracking branch 'internal/hardened/current/master' into hardened/current/cross-dso-cfi
Conflicts:
share/man/man5/src.conf.5 (unresolved)
share/mk/src.opts.mk (unresolved)
Delta | File |
---|
+11,369 | -0 | contrib/libevent/build-aux/ltmain.sh |
+0 | -11,147 | contrib/libevent/ltmain.sh |
+2,733 | -365 | contrib/libevent/configure |
+1,114 | -917 | contrib/libevent/event_rpcgen.py |
+0 | -1,807 | contrib/libevent/config.sub |
+1,793 | -0 | contrib/libevent/build-aux/config.sub |
+17,009 | -14,236 | 8,605 files not shown |
+45,456 | -43,888 | 8,611 files |
Merge remote-tracking branch 'internal/freebsd/current/main' into hardened/current/master
Conflicts:
sys/amd64/amd64/elf_machdep.c (unresolved)
sys/amd64/sgx/sgx.c (deleted)
sys/amd64/sgx/sgx_linux.c (deleted)
sys/arm/arm/elf_machdep.c (unresolved)
sys/arm64/arm64/elf_machdep.c (unresolved)
sys/kern/imgact_aout.c (deleted)
sys/kern/kern_environment.c (unresolved)
sys/kern/kern_module.c (unresolved)
sys/kern/kern_priv.c (unresolved)
sys/kern/kern_procctl.c (unresolved)
sys/kern/kern_resource.c (unresolved)
sys/kern/sys_process.c (unresolved)
sys/netlink/netlink_message_writer.c (unresolved)
sys/riscv/riscv/elf_machdep.c (unresolved)
sys/vm/vm_map.c (unresolved)
HardenedBSD/src fdafd31 — sys/dev/malo if_malohal.c if_malo_pci.c, sys/net80211 ieee80211_action.c ieee80211_sta.c
sys: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
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]
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
Similar commit in current:
(cherry picked from commit 685dc743dc3b)
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)
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]
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
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)
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)
Merge remote-tracking branch 'internal/hardened/current/master' into hardened/current/cross-dso-cfi
Conflicts:
share/man/man5/src.conf.5 (unresolved)
Delta | File |
---|
+8,669 | -0 | sys/contrib/dev/athk/ath11k/mac.c |
+8,286 | -0 | sys/contrib/dev/athk/ath11k/wmi.c |
+5,662 | -0 | sys/contrib/dev/athk/ath11k/dp_rx.c |
+5,585 | -0 | sys/contrib/dev/athk/ath11k/wmi.h |
+4,704 | -0 | sys/contrib/dev/athk/ath11k/debugfs_htt_stats.c |
+3,063 | -0 | sys/contrib/dev/athk/ath11k/qmi.c |
+35,969 | -0 | 6,232 files not shown |
+89,418 | -15,489 | 6,238 files |
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)
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
Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
Conflicts:
share/man/man5/src.conf.5 (unresolved)
Delta | File |
---|
+40,646 | -40,658 | share/colldef_unicode/zh_CN.UTF-8.src |
+46,300 | -0 | sys/contrib/dev/rtw88/rtw8822c_table.c |
+0 | -27,824 | sys/contrib/openzfs/module/zstd/lib/zstd.c |
+22,204 | -0 | sys/contrib/dev/rtw88/rtw8822b_table.c |
+9,441 | -436 | sys/contrib/zlib/crc32.h |
+5,931 | -3,922 | contrib/sqlite3/sqlite3.c |
+124,522 | -72,840 | 14,231 files not shown |
+826,315 | -442,381 | 14,237 files |
Merge branch 'freebsd/current/main' into hardened/current/master
HardenedBSD/src b2c1681 — sys/arm64/rockchip rk_gpio.c rk_iodomain.c, sys/arm64/rockchip/clk rk3288_cru.c rk3328_cru.c
arm64 rockchip: Remove unused devclass arguments to DRIVER_MODULE.
Merge branch 'hardened/current/master' into hardened/current/uninit-autoinit
Delta | File |
---|
+0 | -111,817 | contrib/libstdc++/configure |
+72,183 | -0 | lib/clang/liblldb/LLDBWrapLua.cpp |
+71,590 | -432 | tools/tools/locale/etc/final-maps/widths.txt |
+31,726 | -39,305 | share/ctypedef/ja_JP.eucJP.src |
+59,521 | -0 | sys/contrib/dev/iwm/iwm-9000-34.fw.uu |
+59,517 | -0 | sys/contrib/dev/iwm/iwm-9260-34.fw.uu |
+294,537 | -151,554 | 60,534 files not shown |
+10,288,584 | -10,879,881 | 60,540 files |
Merge remote-tracking branch 'tor/freebsd/12-stable/master' into hardened/12-stable/master
Conflicts:
sys/conf/newvers.sh (unresolved)
sys/x86/x86/cpu_machdep.c (unresolved)
Delta | File |
---|
+3,435 | -12 | contrib/ntp/CommitLog |
+1,498 | -1,346 | contrib/ntp/ntpd/ntp_parser.c |
+1,126 | -1,537 | sys/arm64/rockchip/clk/rk3399_cru.c |
+65 | -2,394 | sys/gnu/dts/arm64/amlogic/meson-g12a.dtsi |
+2,435 | -0 | sys/gnu/dts/arm64/amlogic/meson-g12-common.dtsi |
+1,076 | -1,022 | contrib/ntp/ntpd/ntp_keyword.h |
+9,635 | -6,311 | 776 files not shown |
+51,052 | -15,309 | 782 files |
MFC r354087, r354089, r354094, r354100, r354103, r354152
r354087:
arm64: rk3399: Add clock and gate for usb3 clocks
r354089:
arm64: rockchip: Add RK3399 TypeC phy driver
This is a driver for the USB3 PHY present in the RK3399.
While the phy support DP (Display Port) the driver doesn't has we have
no driver to test this with for now.
All the lane and pll configuration is just magic values from rockchip.
While the manual have some info on those registers it's really hard to
understand how to calculate those values (if there is a way).
r354094 by peterj:
Fix use of uninitialised variable.
The RK805 regs array was being allocated before it's required size was
[31 lines not shown]
MFC r354087, r354089, r354094, r354100, r354103, r354152
r354087:
arm64: rk3399: Add clock and gate for usb3 clocks
r354089:
arm64: rockchip: Add RK3399 TypeC phy driver
This is a driver for the USB3 PHY present in the RK3399.
While the phy support DP (Display Port) the driver doesn't has we have
no driver to test this with for now.
All the lane and pll configuration is just magic values from rockchip.
While the manual have some info on those registers it's really hard to
understand how to calculate those values (if there is a way).
r354094 by peterj:
Fix use of uninitialised variable.
The RK805 regs array was being allocated before it's required size was
[31 lines not shown]
HardenedBSD/src 8cc71a9 — contrib/llvm-project/llvm/lib/Target/Hexagon HexagonDepInstrInfo.td, contrib/llvm-project/llvm/lib/Target/X86 X86ISelLowering.cpp
Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
Conflicts:
gnu/lib/libgcc/Makefile (deleted)
share/man/man5/src.conf.5 (unresolved)
usr.bin/clang/lld/Makefile (unresolved)
usr.sbin/rpc.statd/Makefile (unresolved)
Delta | File |
---|
+59,521 | -0 | sys/contrib/dev/iwm/iwm-9000-34.fw.uu |
+59,517 | -0 | sys/contrib/dev/iwm/iwm-9260-34.fw.uu |
+45,556 | -0 | contrib/llvm-project/llvm/lib/Target/X86/X86ISelLowering.cpp |
+0 | -42,750 | contrib/llvm/lib/Target/X86/X86ISelLowering.cpp |
+0 | -37,629 | contrib/llvm/lib/Target/Hexagon/HexagonDepInstrInfo.td |
+37,628 | -0 | contrib/llvm-project/llvm/lib/Target/Hexagon/HexagonDepInstrInfo.td |
+202,222 | -80,379 | 29,524 files not shown |
+5,482,014 | -5,100,486 | 29,530 files |
Merge branch 'freebsd/current/master' into hardened/current/master
* freebsd/current/master:
Fix column title alignment.
arm64: rockchip: typec_phy: Rename timeout to retry
libexecinfo test: Don't strip installed test
There is a long standing problem with multicast programming for NICs and IPv6. With IPv6 we may call if_addmulti() in context of processing of an incoming packet. Usually this is interrupt context. While most of the NIC drivers are able to reprogram multicast filters without sleeping, some of them can't. An example is e1000 family of drivers. With iflib conversion the problem was somewhat hidden. Iflib processes packets in private taskqueue, so going to sleep doesn't trigger an assertion. However, the sleep would block operation of the driver and following incoming packets would fill the ring and eventually would start being dropped. Enabling epoch for the full time of a packet processing again started to trigger assertions for e1000.
Merge td_epochnest with td_no_sleeping.
Augment macros that manipulate td_no_sleeping with assertions to check underleak and overflow of the counter.
Pull in r373338 from upstream llvm trunk (by Simon Pilgrim):
arm64: rockchip: typec_phy: Rename timeout to retry
Declare retry in the function scope.
Rename it to retry as there is a timeout function which was
causing to code to compile.
Reported by: jhibbits
MFC after: 1 month
X-MFC-WITH: r354089
arm64: rockchip: typec_phy: Rename timeout to retry
Declare retry in the function scope.
Rename it to retry as there is a timeout function which was
causing to code to compile.
Reported by: jhibbits
MFC after: 1 month
X-MFC-WITH: r354089