freebsd-dev/sys/powerpc
Justin Hibbits b5d5429449 powerpc/booke: Fix pmap_mapdev_attr() for multi-TLB1 entry mappings
Also, fix pmap_change_attr() to ignore non-kernel mappings.

* Fix a masking bug in mmu_booke_mapdev_attr() which caused it to align
  mappings to the smallest mapping alignment, instead of the largest.  This
  caused mappings to be potentially pessimally aligned, using more TLB
  entries than necessary.
* Return existing mappings from mmu_booke_mapdev_attr() that span more than
  one TLB1 entry.  The drm-current-kmod drivers map discontiguous segments
  of the GPU, resulting in more than one TLB entry being used to satisfy the
  mapping.
* Ignore non-kernel mappings in mmu_booke_change_attr().  There's a bug in
  the linuxkpi layer that causes it to actually try to change physical
  address mappings, instead of virtual addresses.  amd64 doesn't encounter
  this because it ignores non-kernel mappings.

With this it's possible to use drm-current-kmod on Book-E.
2019-11-06 04:40:12 +00:00
..
aim [PPC64] Fix trapstk overflow 2019-10-31 11:59:00 +00:00
amigaone powerpc: Add AmigaOne platform, a subclass of MPC85xx 2019-10-16 00:38:50 +00:00
booke powerpc/booke: Fix pmap_mapdev_attr() for multi-TLB1 entry mappings 2019-11-06 04:40:12 +00:00
conf Add support for building Book-E kernels with clang/lld. 2019-11-02 21:15:56 +00:00
cpufreq powerpc: Fix cpufreq statement scoping 2019-03-08 03:59:53 +00:00
fpu powerpc: Apply r178139 from sparc64 to powerpc's fpu_sqrt 2019-04-03 03:54:30 +00:00
include Add support for building Book-E kernels with clang/lld. 2019-11-02 21:15:56 +00:00
mambo sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
mikrotik - Allow different slicers for different flash types to be registered 2017-02-22 10:21:39 +00:00
mpc85xx Add support for building Book-E kernels with clang/lld. 2019-11-02 21:15:56 +00:00
ofw [PPC] Avoid underflows in NUMA domains 2019-10-22 18:28:58 +00:00
powermac Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
powernv powerpc64/powernv: Add opal NVRAM driver for PowerNV systems 2019-09-14 03:30:34 +00:00
powerpc powerpc: Add display of raw instruction values to x/I in ddb. 2019-11-03 02:18:45 +00:00
ps3 Convert to if_foreach_llmaddr() KPI. 2019-10-21 18:13:33 +00:00
pseries Convert to if_foreach_llmaddr() KPI. 2019-10-21 18:13:37 +00:00
psim add snps IP uart support / genaralize UART 2018-08-19 21:10:21 +00:00