summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2013-11-26 03:00:54 +0000
committergrehan <grehan@FreeBSD.org>2013-11-26 03:00:54 +0000
commitfbf25c0508965f67dc1302f75b1c5022c1217d91 (patch)
treec9d6a2e9f6061b806d9d2eaa7424eea4a6ee2c49 /sys/powerpc
parent52a5b970b701b4c9abe6e2062e8d7ba3cfca4e76 (diff)
downloadFreeBSD-src-fbf25c0508965f67dc1302f75b1c5022c1217d91.zip
FreeBSD-src-fbf25c0508965f67dc1302f75b1c5022c1217d91.tar.gz
The Data Byte Count (DBC) field of a Physical Region Descriptor
Table is 22 bits, with the bit 31 being the interrupt-on-completion bit. OpenBSD and UEFI set this bit, resulting in large block i/o lengths being sent to bhyve and coredumping the process. Fix by masking off the relevant 22 bits when using the DBC field as a length. Reviewed by: Zhixiang Yu Discussed with: Tycho Nightingale (tycho.nightingale@pluribusnetworks.com) MFC after: 10.0
Diffstat (limited to 'sys/powerpc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud