aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2018-10-18 20:49:16 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2018-10-18 20:49:16 +0000
commit3ade9440198973efee3e6ae9636e1b147c72140b (patch)
tree7d48b9a02d69fb495fce3c36fedd0259a5ab7164 /gnu/usr.bin
parent9ae7bc39c24e99fe6e0211568624d0a0807540b8 (diff)
downloadsrc-3ade9440198973efee3e6ae9636e1b147c72140b.tar.gz
src-3ade9440198973efee3e6ae9636e1b147c72140b.zip
Do not flush cache for PCIe config window.
Apparently AMD machines cannot tolerate this. This was uncovered by r339386, where cache flush started really flushing the requested range. Introduce pmap_mapdev_pciecfg(), which simply does not flush cache comparing with pmap_mapdev(). It assumes that the MCFG region was never accessed through the cacheable mapping, which is most likely true for machine to boot at all. Note that i386 does not need the change, since the architecture handles access per-page due to the KVA shortage, and page remapping already does not flush the cache. Reported and tested by: mjg, Mike Tancsa <mike@sentex.net> Reviewed by: alc Sponsored by: The FreeBSD Foundation Approved by: re (gjb) MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D17612
Notes
Notes: svn path=/head/; revision=339432
Diffstat (limited to 'gnu/usr.bin')
0 files changed, 0 insertions, 0 deletions