Go to file
Souradeep Chakrabarti e7a9817b8d Hyper-V: vmbus: implementat bus_get_dma_tag in vmbus
In ARM64 Hyper-V UFS filesystem is getting corruption and those
corruptions are consistently happening just after hitting a page
boundary. It is unable to correctly read disk blocks into buffers
that are not aligned to 512-byte boundaries.

It happens because storvsc needs physically contiguous memory which
may not be the case when bus_dma needs to create a bounce buffer.
This can happen when the destination is not cache-line aligned.

Hyper-V VMs have VMbus synthetic devices and PCI pass-thru devices
that are added dynamically via the VMbus protocol and are not
represented in the ACPI DSDT. Only the top level VMbus node exists
in the DSDT. As such, on ARM64 these devices don't pick up coherence
information and default to not hardware coherent.

PR:		267654, 272666
Reviewed by:	andrew, whu
Tested by:	lwhsu
MFC after:	3 days
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D41728
2023-09-14 07:11:25 +00:00
.cirrus-ci
.github MAINTAINERS: Add myself to stand 2023-05-07 22:30:10 -06:00
bin sh: also auto-complete functions 2023-09-12 18:40:05 +02:00
cddl Fix zfsd with the device_removal pool feature. 2023-09-12 08:46:12 -06:00
contrib irdma(4): remove artificial completion generator 2023-09-13 15:16:21 -07:00
crypto ssh-keygen: Generate Ed25519 keys when invoked without arguments 2023-09-07 13:34:21 -04:00
etc include: Add tests for N2867. 2023-09-07 06:40:14 +00:00
gnu Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
include pkgbase: Move headers and libs out of runtime and utilities 2023-09-12 13:22:21 +01:00
kerberos5 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
lib ncurses: avoid hardcoded assumptions about the layout of .OBJDIR 2023-09-12 16:00:45 -05:00
libexec ftpd: correct deprecation notice markup 2023-09-13 22:13:42 +01:00
release pkgbase: Move headers and libs out of runtime and utilities 2023-09-12 13:22:21 +01:00
rescue zfs: merge openzfs/zfs@804414aad 2023-08-26 23:51:42 +02:00
sbin libipf: fix parser error message. 2023-08-31 22:15:54 +02:00
secure libcrypto: Switch back to the generated assembly in sys/crypto/openssl 2023-08-29 14:46:44 -07:00
share tslog.4: fix typo 2023-09-12 21:10:08 +02:00
stand stand/loader.efi: fix regression with ignoring nvstore 2023-09-11 11:04:48 -07:00
sys Hyper-V: vmbus: implementat bus_get_dma_tag in vmbus 2023-09-14 07:11:25 +00:00
targets Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
tests pf tests: pfsync:defer requires scapy 2023-09-13 11:12:27 +02:00
tools tools/wlanstats: fix -Wunused-but-set-variable 2023-09-11 14:28:07 +00:00
usr.bin grep: Suppress EISDIR when reading. 2023-09-08 18:19:46 +00:00
usr.sbin pkg: use https by default 2023-09-11 17:41:32 +02:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml Cirrus-CI: restore amd64-gcc12 build/test on main 2023-08-18 22:35:39 -04:00
.clang-format Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06: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: reinsert double spaces 2023-07-10 12:24:24 -06:00
COPYRIGHT Happy New Year 2023! 2023-01-01 13:44:43 +08:00
LOCKS Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
MAINTAINERS Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
Makefile Makefile: Support universe-toolchain on non-FreeBSD 2023-08-23 18:00:16 +01:00
Makefile.inc1 Teach make showconfig about group options 2023-09-01 17:54:23 +01:00
Makefile.libcompat build{libcompat}: Pass UNIVERSE_TOOLCHAIN_PATH to the _lc_build-tools submake 2023-08-21 21:00:45 -07:00
Makefile.sys.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ObsoleteFiles.inc rtw88/rtw89: remove local firmware. 2023-09-05 21:13:18 +00:00
README.md Vendor import of file 5.45. 2023-09-09 21:50:07 -07:00
RELNOTES Belatedly document OPIE removal in RELNOTES and UPDATING. 2023-09-13 11:43:45 +00:00
UPDATING Belatedly document OPIE removal in RELNOTES and UPDATING. 2023-09-13 11:43:45 +00: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.