GhostBSD/ghostbsd b136b3csys/amd64/conf GENERIC

Merge pull request #322 from ghostbsd/ghostbsd/issues#45

Adding I2C support by default
DeltaFile
+4-0sys/amd64/conf/GENERIC
+4-01 files

GhostBSD/ghostbsd 3a69027sys/amd64/conf GENERIC

adding missing new line

(cherry picked from commit a560b477f5f327b1d21299d946f7f8e2a0dd18f3)
DeltaFile
+1-1sys/amd64/conf/GENERIC
+1-11 files

GhostBSD/ghostbsd a560b47sys/amd64/conf GENERIC

adding missing new line
DeltaFile
+1-1sys/amd64/conf/GENERIC
+1-11 files

GhostBSD/ghostbsd c640052sys/amd64/conf GENERIC

Adding I2C support by default

(cherry picked from commit 3779f1ff018992281203798ca17a4bac2a7b2ae8)
DeltaFile
+4-0sys/amd64/conf/GENERIC
+4-01 files

GhostBSD/ghostbsd 3779f1fsys/amd64/conf GENERIC

Adding I2C support by default
DeltaFile
+4-0sys/amd64/conf/GENERIC
+4-01 files

GhostBSD/ghostbsd 2a31748crypto/openssl/test/recipes/30-test_evp_data evprand.txt evpciph_aes_ccm_cavs.txt, share/misc usb_vendors

Merge pull request #321 from ghostbsd/24.04.1

 24.04.1 system update
DeltaFile
+79,394-0crypto/openssl/test/recipes/30-test_evp_data/evprand.txt
+38,311-0sys/dev/ispfw/asm_2800.h
+14,362-15,513sys/dev/ispfw/asm_2500.h
+27,431-0sys/dev/ispfw/asm_2700.h
+25,585-0share/misc/usb_vendors
+23,927-0crypto/openssl/test/recipes/30-test_evp_data/evpciph_aes_ccm_cavs.txt
+209,010-15,51311,451 files not shown
+1,150,214-320,42411,457 files

GhostBSD/ghostbsd dac8400contrib/libcbor/doc/source requirements.txt

Merge pull request #320 from ghostbsd/dependabot/pip/contrib/libcbor/doc/source/idna-3.7

build(deps): bump idna from 3.3 to 3.7 in /contrib/libcbor/doc/source
DeltaFile
+1-1contrib/libcbor/doc/source/requirements.txt
+1-11 files

GhostBSD/ghostbsd 4e7472fcontrib/libcbor/doc/source requirements.txt

build(deps): bump idna from 3.3 to 3.7 in /contrib/libcbor/doc/source

Bumps [idna](https://github.com/kjd/idna) from 3.3 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.3...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support at github.com>
DeltaFile
+1-1contrib/libcbor/doc/source/requirements.txt
+1-11 files

GhostBSD/ghostbsd 28f4688sys/conf package-version

Updating src from Wednesday, April 10 2024 07:55

And updated the version to 24.04.1
DeltaFile
+1-1sys/conf/package-version
+1-11 files

GhostBSD/ghostbsd 9b597b1crypto/openssl/test/recipes/30-test_evp_data evprand.txt evpciph_aes_ccm_cavs.txt, share/misc usb_vendors

Merge remote-tracking branch 'freebsd/stable/14' into 24.04.1
DeltaFile
+79,394-0crypto/openssl/test/recipes/30-test_evp_data/evprand.txt
+38,311-0sys/dev/ispfw/asm_2800.h
+14,362-15,513sys/dev/ispfw/asm_2500.h
+27,431-0sys/dev/ispfw/asm_2700.h
+25,585-0share/misc/usb_vendors
+23,927-0crypto/openssl/test/recipes/30-test_evp_data/evpciph_aes_ccm_cavs.txt
+209,010-15,51311,450 files not shown
+1,150,213-320,42311,456 files

GhostBSD/ghostbsd 7ced571sbin/ccdconfig ccdconfig.8

ccdconfig: reference gpart rather than fdisk and disklabel

fdisk and disklabel are legacy tools for legacy disk partitioning
schemes.

Reviewed by:    imp
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D43564

(cherry picked from commit 8669e516f0e6f48a5017db9e5f4768275f1deaa8)
DeltaFile
+4-6sbin/ccdconfig/ccdconfig.8
+4-61 files

GhostBSD/ghostbsd 9407889sys/net if_bridge.c

MFC: if_bridge: use IF_MINMTU

Replace incorrect constant 576 with IF_MINMTU to check for minumum MTU.
This unbreaks bridging tap interfaces with small mtu.

(cherry picked from commit 319a5d086b50f38618b62c78e83b12931f00b508)
DeltaFile
+1-1sys/net/if_bridge.c
+1-11 files

GhostBSD/ghostbsd e069c45contrib/netbsd-tests/fs/tmpfs t_times.sh

tmpfs: Improve file time tests.

* The empty test case no longer fails because 89f1dcb3eb46 causes empty
  files to bypass the bug.
* The bug still exists, so add a test case which exercises it.
* While here, tighten up some of the checks.

A similar patch has been submitted upstream.

PR:             274615
X-MFC-With:     89f1dcb3eb46
Sponsored by:   Juniper Networks, Inc.
Sponsored by:   Klara, Inc.
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D44609

(cherry picked from commit 8311bc5f17dec348749f763b82dfe2737bc53cd7)
DeltaFile
+38-12contrib/netbsd-tests/fs/tmpfs/t_times.sh
+38-121 files

GhostBSD/ghostbsd 7da45efsys/kern kern_linker.c

kern linker: Do not touch userrefs of the kernel file

A nonzero `userrefs` of a linker file indicates that the file, either
loaded from kldload(2) or preloaded, can be unloaded via kldunload(2).
As for the kernel file, it can be unloaded by the loader but should not
be after initialization.

This change fixes regression from d9ce8a41eac9 which incidentally
increases `userrefs` of the kernel file.

Reviewed by:    dfr, dab, jhb
Fixes:  d9ce8a41eac9 kern_linker: Handle module-loading failures in preloaded .ko files
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D42530

(cherry picked from commit 39450eba8e6cd5b83def724481127b58ecc1fcc1)
DeltaFile
+3-0sys/kern/kern_linker.c
+3-01 files

GhostBSD/ghostbsd f1994d1sys/kern kern_linker.c

kern linker: Do not unload a module if it has dependants

Despite the name, linker_file_unload() will drop a reference and return
success when the module file has dependants, i.e. it has more than one
reference. When user request to unload such modules then the kernel
should reject unambiguously and immediately.

PR:             274986
Reviewed by:    dfr, dab, jhb
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D42527

(cherry picked from commit f43ff3e15c8b4b161ce09c8ab008abc4222db26b)
DeltaFile
+2-0sys/kern/kern_linker.c
+2-01 files

GhostBSD/ghostbsd 7748f70sys/dev/cxgbe/tom t4_tls.c t4_tom.h

cxgbe tom: Handle a race condition when enabling TLS offload

Use a separate state for when a request to set RX_QUIESCE has been
sent but the resulting TCB reply has not been received.  In
particular, this correctly handles the case where data has been
received and queued in the receive queue before the quiesce request
takes effect.

Reviewed by:    np
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D44435

(cherry picked from commit 9978c6289d621ac9edc95acb4e0f527a62a49b03)
DeltaFile
+10-2sys/dev/cxgbe/tom/t4_tls.c
+3-2sys/dev/cxgbe/tom/t4_tom.h
+13-42 files

GhostBSD/ghostbsd d4ad843sys/dev/cxgbe/tom t4_ddp.c

ddp: Clear active DDP buffer members to NULL to pacify an assertion

Reviewed by:    np
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D43999

(cherry picked from commit 25429e274371eba9a90ea27cbf73e88329916e0d)
DeltaFile
+8-1sys/dev/cxgbe/tom/t4_ddp.c
+8-11 files

GhostBSD/ghostbsd 30eab96usr.sbin/kldxref elf.c ef.c

kldxref: Properly handle reading strings near the end of an ELF file

If a string is at or near the end of an input file and the amount of
remaining data in the file is smaller than the maximum string size,
the pread(2) system call would return a short read which is treated as
an error.  Instead, add a new helper function for reading a string
which permits short reads so long as the data read from the file
contains a terminated string.

Reported by:    jrtc27
Reviewed by:    jrtc27
Sponsored by:   University of Cambridge, Google, Inc.
Differential Revision:  https://reviews.freebsd.org/D44419

(cherry picked from commit 785600d0fb13d6f0b4595bf4dbbc048113dda71d)
DeltaFile
+18-0usr.sbin/kldxref/elf.c
+1-8usr.sbin/kldxref/ef.c
+1-8usr.sbin/kldxref/ef_obj.c
+4-0usr.sbin/kldxref/ef.h
+24-164 files

GhostBSD/ghostbsd f091b71sys/arm/arm busdma_machdep.c

arm busdma: Fix parameter types to exclusion_bounce_check

These are bus addresses not CPU virtual addresses.

Reviewed by:    andrew
Sponsored by:   University of Cambridge, Google, Inc.
Differential Revision:  https://reviews.freebsd.org/D44343

(cherry picked from commit 66658b0f2775824b2a80fb56ca15e6ceae2f8240)
DeltaFile
+1-1sys/arm/arm/busdma_machdep.c
+1-11 files

GhostBSD/ghostbsd 85cdbae.github/workflows cross-bootstrap-tools.yml

.github: Switch to v4 of actions/checkout

GitHub is emitting a warning that v3 is deprecated due to using
Node.js 16.

(cherry picked from commit e6dccf00500d7e9e2311b372e28897df7c0421dd)
DeltaFile
+1-1.github/workflows/cross-bootstrap-tools.yml
+1-11 files

GhostBSD/ghostbsd 05a8315sbin/nvmecontrol firmware.c

nvmecontrol: Update the test for a valid firmare revision slot

Reported by:    Coverity Scan
CID:            1539214
Fixes:          7485926e09a0 nvme: Firmware revisions in the firmware slot info logpage are ASCII strings

(cherry picked from commit 1b38f851d809950cfe112c705029f40edd0579b3)
DeltaFile
+1-1sbin/nvmecontrol/firmware.c
+1-11 files

GhostBSD/ghostbsd 1608990sbin/nvmecontrol logpage.c, sys/dev/nvme nvme.h nvme_ctrlr.c

nvme: Firmware revisions in the firmware slot info logpage are ASCII strings

In particular, don't try to byteswap the values as 64-bit integers and
always print a non-empty version as a string.

Reviewed by:    chuck, imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D44121

(cherry picked from commit 7485926e09a08fbfe83a9bc908e7d43aaca4c172)
DeltaFile
+2-12sys/dev/nvme/nvme.h
+2-11sbin/nvmecontrol/logpage.c
+0-4sys/dev/nvme/nvme_ctrlr.c
+4-273 files

GhostBSD/ghostbsd e2d8835sys/arm64/arm64 locore.S

arm64: Fix typo in pagetable_l0_ttbr0_bootstrap symbol name

Obtained from:  CheriBSD

(cherry picked from commit c6a6ec85a70314b8270e25a06e77e2e7c95c7055)
DeltaFile
+3-3sys/arm64/arm64/locore.S
+3-31 files

GhostBSD/ghostbsd 794517asys/netlink netlink_snl.h

netlink: Don't use a zero-length array

Define SNL_DECLARE_FIELD_PARSER* macros to create a parser that has
no output attributes only input fields and use this to define the
snl_donemsg_parser.

This removes the need for the zero-length nla_p_donemsg[] variable.
Zero length arrays are not valid in ISO C.

Reviewed by:    jrtc27, melifaro
Differential Revision:  https://reviews.freebsd.org/D43918

(cherry picked from commit 69945c49fea7ac2352c1fd7d22f70f2e3861ba81)
DeltaFile
+13-3sys/netlink/netlink_snl.h
+13-31 files

GhostBSD/ghostbsd d2c8cb4sys/netpfil/ipfw ip_fw2.c

ipfw: Skip to the start of the loop when following a keep-state rule

When a packet matches an existing dynamic rule for a keep-state rule,
the matching engine advances the "instruction pointer" to the action
portion of the rule skipping over the match conditions.  However, the
code was merely breaking out of the switch statement rather than doing
a continue, so the remainder of the loop body after the switch was
still executed.  If the first action opcode contains an F_NOT but not
an F_OR (such as an "untag" action), then match is toggled to 0, and
the code exits the inner loop via a break which aborts processing of
the actions.

To fix, just use a continue instead of a break.

PR:             276732
Reviewed by:    jhb, ae
MFC after:      2 weeks

(cherry picked from commit 62b1faa3b7495de22a3225e42dabe6ce8c371e86)
DeltaFile
+1-2sys/netpfil/ipfw/ip_fw2.c
+1-21 files

GhostBSD/ghostbsd 0090752sys/dev/vmd vmd.c vmd.h

vmd: Use bus_read/write_* instead of bus_space_read/write_*

Using an explicit bus space tag and handle is deprecated.

Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D43885

(cherry picked from commit 76c678688634e9e2ea5f6369fb979aabddbfe426)
DeltaFile
+6-15sys/dev/vmd/vmd.c
+0-2sys/dev/vmd/vmd.h
+6-172 files

GhostBSD/ghostbsd 50a4c3bsys/riscv/riscv machdep.c

riscv: Add missing includes for DDB

The #ifdef DDB code in parse_metadata was dead code without opt_ddb.h.
While here, update the call to db_fetch_ksymtab for changes in commit
02bc014a200a.

Reviewed by:    mhorne
Obtained from:  CheriBSD
Differential Revision:  https://reviews.freebsd.org/D43919

(cherry picked from commit 962b0bcbd924d308016237abc991280f15777e7f)
DeltaFile
+6-1sys/riscv/riscv/machdep.c
+6-11 files

GhostBSD/ghostbsd cfb8cc9sys/dev/acpica acpi.c

acpi: Don't assume a resource is reserved in acpi_delete_resource

This fixes a panic if a driver uses bus_set_resource to add a resource
that fails to reserve and then deletes the resource via
bus_delete_resource.

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D43891

(cherry picked from commit e05436d577de98944b97b9cf510b29c4d2091b3f)
DeltaFile
+2-1sys/dev/acpica/acpi.c
+2-11 files

GhostBSD/ghostbsd 13926bcsys/dev/pci pci_host_generic_fdt.c

pci_host_generic_fdt: Remove duplicate DEVMETHOD entries

These are already inherited from generic_pcie_core_driver.

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D43888

(cherry picked from commit 93923685d35d95e76bd2c125c007e13354b9428c)
DeltaFile
+0-2sys/dev/pci/pci_host_generic_fdt.c
+0-21 files

GhostBSD/ghostbsd 9c69985sys/dev/pci pci_host_generic.c

pci_host_generic: Include the bridge's device name in rman descriptions

The rman description strings now match those used in the PCI-PCI
bridge driver.  Using more specific names removes ambiguity in devinfo -u
output on systems with multiple host to PCI bridges.

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D43890

(cherry picked from commit 51f8ac224f3b87555ea17c7e7c4015a2a2b8b191)
DeltaFile
+16-3sys/dev/pci/pci_host_generic.c
+16-31 files