freebsd-dev/sys/arm64
Marcin Wojtas a3da4fc60b Fix pmap_change_attr() on arm64 to allow KV addresses
Altough in the comment above the pmap_change_attr() it was mentioned
that VA could be in KV or DMAP memory space. However,
pmap_change_attr_locked() was accepting only the values inside the DMAP
memory range.

To fix that, the condition check was changed so also the va inside the
KV memory range would be accepted.

The sample use case that wasn't supported is the PCI Device that has the
BAR which should me mapped with the Write Combine attribute - for
example BAR2 of the ENA network controller on the A1 instances on AWS.

Tested on A1 AWS instance and changed ENA BAR2 mapped resource to be
write-combined memory region.

Differential Revision: https://reviews.freebsd.org/D22055
MFC after: 2 weeks
Submitted by: Michal Krawczyk <mk@semihalf.com>
Obtained from: Semihalf
Sponsored by: Amazon, Inc.
2019-10-31 15:16:10 +00:00
..
acpica arm64 acpi_iort: add some error handling 2019-06-24 21:24:55 +00:00
arm64 Fix pmap_change_attr() on arm64 to allow KV addresses 2019-10-31 15:16:10 +00:00
cavium Rename the ThunderX CPU identification macros to include the X. This is the 2018-06-13 12:17:11 +00:00
cloudabi32 Remove sv_pagesize, originally introduced with r100384. 2019-03-01 16:16:38 +00:00
cloudabi64 Remove sv_pagesize, originally introduced with r100384. 2019-03-01 16:16:38 +00:00
conf arm64: rk3399: add SPI driver and include it in GENERIC config 2019-10-25 21:38:38 +00:00
coresight Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
include Allow exceptions to be masked when in userspace 2019-10-30 14:05:50 +00:00
intel Add support for Intel Stratix 10 platform. 2019-09-13 16:50:57 +00:00
linux linux: futex_mtx should follow futex_list 2019-10-18 12:25:33 +00:00
qualcomm Enable Qualcomm Debug Subsystem (QDSS) block on MSM8916 SoC. 2018-04-10 12:53:48 +00:00
rockchip arm64: rockchip: typec_phy: Rename timeout to retry 2019-10-29 18:36:16 +00:00