freebsd with flexible iflib nic queues
Go to file
Mitchell Horne 8937bd37d0 arm64: limit EFI excluded regions to physical memory types
Consolidate add_efi_map_entry() and exclude_efi_map_entry() into a
single function, handle_efi_map_entry(), so that the exact set of entry
types handled is the same in the addition or exclusion cases. Before,
exclude_efi_map_entry() had a 'default' case that would exclude all
entry types that were not listed explicitly in the switch statement.

Logically, we do not need to exclude a range that could not possibly be
added to physmem, and we do not need to exclude bus ranges that are not
physical memory, for example EFI_MD_TYPE_IOMEM.

Since physmem's ram0 device will reserve bus memory resources for its
owned ranges, this was preventing attachment of the watchdog device on
the RPI4B. For some reason its region of memory-mapped I/O appeared in
the EFI memory map (with the aforementioned EFI_MD_TYPE_IOMEM type).
This change fixes the attachment issue, as we prevent the physmem API
from messing with this range of bus space.

PR:		270044
Reported by:	karels, Mark Millard
Reviewed by:	andrew, karels, imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D39003
2023-03-15 12:28:35 -03:00
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 2021-08-04 15:02:00 -04:00
.github .github: Test DISK_IMAGE_TOOLS_BOOTSTRAP in CI 2023-03-15 00:06:53 +00:00
bin uuidgen(1): fix another typo 2023-03-06 09:03:52 +01:00
cddl ctf: Remove unused function prototype for getpname() 2023-02-26 12:18:25 +08:00
contrib netbsd-tests: Remove some pointless sleeps from message queue tests 2023-03-10 17:06:46 -05:00
crypto ssh: fix leak and apply style(9) to hostname canonicalization 2023-03-14 13:16:57 -04:00
etc Reserve u2f group for FIDO/U2F key support (SSH, etc.) 2023-03-14 13:09:40 -04:00
gnu gnu diff3: apply patch to committed src, rather than at build time 2022-11-13 21:33:40 -05:00
include secure_getenv: Put under __BSD_VISIBLE 2023-03-14 17:43:13 -06:00
kerberos5 kerberos5: retire now-unused MIPS support 2022-11-02 13:16:18 -04:00
lib libbe: Avoid double printing cloning errors. 2023-03-14 21:15:17 -06:00
libexec rc: ignore .pkgsave files 2023-03-14 20:52:15 -06:00
release ARM release build: enable IPv6 SLAAC by default 2023-02-12 22:32:16 +01:00
rescue rescue: Fix link order of SSL libraries and fetch. 2023-02-02 09:23:02 -08:00
sbin ping: Remove ifndef icmp_data guards 2023-03-14 11:58:03 -04:00
secure OpenSSL: Regen manual pages for OpenSSL 1.1.1t 2023-02-07 14:01:15 -05:00
share Add new DISK_IMAGE_TOOLS_BOOTSTRAP option 2023-03-15 00:06:53 +00:00
stand loader: Add support for booting from a ZFS snapshot 2023-03-14 14:18:29 +00:00
sys arm64: limit EFI excluded regions to physical memory types 2023-03-15 12:28:35 -03:00
targets retire sconfig(8) ce(4)/cp(4) configuration tool 2022-12-13 15:25:13 -05:00
tests sendfile tests: Mount filesystems under the test workdir 2023-03-13 10:45:35 -04:00
tools Add new DISK_IMAGE_TOOLS_BOOTSTRAP option 2023-03-15 00:06:53 +00:00
usr.bin tftp: Add test cases for URL mode. 2023-03-13 16:16:26 +00:00
usr.sbin ppp: Remove trailing semicolon 2023-03-14 20:39:34 -06:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml CI: Run pkgbase METALOG lint script 2023-03-14 21:13:46 -04:00
.clang-format clang-format: Add bitset loop macros 2021-09-21 12:08:01 -04:00
.git-blame-ignore-revs Add git-blame ignore file 2023-01-23 15:27:25 -05:00
.gitattributes
.gitignore .gitignore: Ignore LSP generated .cache 2023-03-07 10:04:18 -05:00
CONTRIBUTING.md CONTRIBUTING.md: correct developer certificate of origin link markup 2023-02-27 21:36:29 -05:00
COPYRIGHT Happy New Year 2023! 2023-01-01 13:44:43 +08:00
LOCKS
MAINTAINERS MAINTAINERS+GitHub: Reflect ipfilter was moved from contrib to netpfil 2023-02-28 10:33:03 -08:00
Makefile universe: Switch GCC toolchains to GCC 12. 2023-01-27 13:35:13 -08:00
Makefile.inc1 Add new DISK_IMAGE_TOOLS_BOOTSTRAP option 2023-03-15 00:06:53 +00:00
Makefile.libcompat libcompat: avoid installing include files twice 2022-11-16 19:15:20 -05:00
Makefile.sys.inc
ObsoleteFiles.inc ng_atmllc: remove 2023-03-09 18:04:21 +00:00
README.md Vendor import of OpenSSH 9.2p1 2023-02-05 13:04:12 -05:00
RELNOTES RELNOTES: Add an entry for NFS server support in vnet prisons 2023-03-12 14:55:46 -07:00
UPDATING UPDATING 2023-02-24 23:20:52 -07:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.