SVNews r330610

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-03-07 17:08:07 - r330610 by nwhitehorn (Nathan Whitehorn)

Complete list of files affected by revision r330610:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/dev/vt/hw/ofwfb/ofwfb.c  
  History   Contents   Diff   MODIFY   /head/sys/powerpc/aim/aim_machdep.c  
  History   Contents   Diff   MODIFY   /head/sys/powerpc/aim/mmu_oea64.c  
  History   Contents   Diff   MODIFY   /head/sys/powerpc/aim/moea64_native.c  
  History   Contents   Diff   MODIFY   /head/sys/powerpc/aim/slb.c  
  History   Contents   Diff   MODIFY   /head/sys/powerpc/aim/trap_subr64.S  
  History   Contents   Diff   MODIFY   /head/sys/powerpc/include/sr.h  
  History   Contents   Diff   MODIFY   /head/sys/powerpc/include/vmparam.h  
  History   Contents   Diff   MODIFY   /head/sys/powerpc/ofw/ofw_machdep.c  
  History   Contents   Diff   MODIFY   /head/sys/powerpc/ofw/ofw_real.c  
  History   Contents   Diff   MODIFY   /head/sys/powerpc/powerpc/bus_machdep.c  
  History   Contents   Diff   MODIFY   /head/sys/powerpc/powerpc/genassym.c  
  History   Contents   Diff   MODIFY   /head/sys/powerpc/powerpc/mem.c  
  History   Contents   Diff   MODIFY   /head/sys/powerpc/powerpc/uma_machdep.c  
  History   Contents   Diff   MODIFY   /head/sys/powerpc/ps3/platform_ps3.c  

Commit message:

Move the powerpc64 direct map base address from zero to high memory. This
accomplishes a few things:
- Makes NULL an invalid address in the kernel, which is useful for catching
- Lays groundwork for radix-tree translation on POWER9, which requires the
  direct map be at high memory.
- Similarly lays groundwork for a direct map on 64-bit Book-E.

The new base address is chosen as the base of the fourth radix quadrant
(the minimum kernel address in this translation mode) and because all
supported CPUs ignore at least the first two bits of addresses in real
mode, allowing direct-map addresses to be used in real-mode handlers.
This is required by Linux and is part of the architecture standard
starting in POWER ISA 3, so can be relied upon.

Reviewed by: jhibbits, Breno Leitao
Differential Revision: D14499


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 10 ms, 15 files printed. Current time is 2018-03-22 05:46:43. All times are in UTC/GMT.