freebsd-dev/sys/sparc64/include
Marius Strobl ddcc3ff59e o Add support for UltraSparc-IV+:
- Swap the configuration of the first and second large dTLB as with
    US-IV+ these can only hold entries of certain page sizes each, which
    we happened to chose the non-working way around.
  - Additionally ensure that the large iTLB is set up to hold 8k pages
    (currently this happens to be a NOP though).
  - Add a workaround for US-IV+ erratum #2.
  - Turn off dTLB parity error reporting as otherwise we get seemingly
    false positives when copying in the user window by simulating a
    fill trap on return to usermode. Given that these parity errors can
    be avoided by disabling multi issue mode and the problem could be
    reproduced with a second machine this appears to be a silicon bug of
    some sort.
  - Add a membar #Sync also before the stores to ASI_DCACHE_TAG. While
    at it, turn of interrupts across the whole cheetah_cache_flush() for
    simplicity instead of around every flush. This should have next to no
    impact as for cheetah-class machines we typically only need to flush
    the caches a few times during boot when recovering from peeking/poking
    non-existent PCI devices, if at all.
  - Just use KERNBASE for FLUSH as we also do elsewhere as the US-IV+
    documentation doesn't seem to mention that these CPUs also ignore the
    address like previous cheetah-class CPUs do. Again the code changing
    LSU_IC is executed seldom enough that the negligible optimization of
    using %g0 instead should have no real impact.

  With these changes FreeBSD runs stable on V890 equipped with US-IV+
  and -j128 buildworlds in a loop for days are no problem. Unfortunately,
  the performance isn't were it should be as a buildworld on a 4x1.5GHz
  US-IV+ V890 takes nearly 3h while on a V440 with (theoretically) less
  powerfull 4x1.5GHz US-IIIi it takes just over 1h. It's unclear whether
  this is related to the supposed silicon bug mentioned above or due to
  another issue. The documentation (which contains a sever bug in the
  description of the bits added to the context registers though) at least
  doesn't mention any requirements for changes in the CPU handling besides
  those implemented and the cache as well as the TLB configurations and
  handling look fine.
o Re-arrange cheetah_init() so it's easier to add support for SPARC64
  V up to VIIIfx CPUs, which only require parts of this initialization.
2010-03-17 22:45:09 +00:00
..
_align.h Get rid of the _NO_NAMESPACE_POLLUTION kludge by creating an 2009-09-08 20:45:40 +00:00
_bus.h
_inttypes.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
_limits.h
_stdint.h
_types.h
asi.h - Assert that HEAPSZ is a multiple of PAGE_SIZE as at least the firmware 2010-02-13 14:13:39 +00:00
asm.h
asmacros.h Predict KASSERTs to be true. 2010-02-13 19:17:06 +00:00
atomic.h - bump __FreeBSD version to reflect added buf_ring, memory barriers, 2008-11-22 05:55:56 +00:00
bus_common.h - Add macros for the states of the interrupt clear registers. 2009-12-22 21:48:18 +00:00
bus_dma.h
bus_private.h Improve r185008 so the streaming cache is only flushed when 2009-02-10 21:51:33 +00:00
bus.h
cache.h Some machines can not only consist of CPUs running at different speeds 2010-02-20 23:24:19 +00:00
ccr.h
clock.h - USIII-based machines can consist of CPUs running at different 2008-09-03 17:39:19 +00:00
cmt.h - Assert that HEAPSZ is a multiple of PAGE_SIZE as at least the firmware 2010-02-13 14:13:39 +00:00
cpu.h Some machines can not only consist of CPUs running at different speeds 2010-02-20 23:24:19 +00:00
cpufunc.h - USIII-based machines can consist of CPUs running at different 2008-09-03 17:39:19 +00:00
db_machdep.h
dcr.h o Add support for UltraSparc-IV+: 2010-03-17 22:45:09 +00:00
elf.h Change the load base to below 2GB so PIE binaries work including when 2009-10-18 13:08:15 +00:00
endian.h
exec.h
fireplane.h - Assert that HEAPSZ is a multiple of PAGE_SIZE as at least the firmware 2010-02-13 14:13:39 +00:00
float.h
floatingpoint.h
fp.h
frame.h
fsr.h
gdb_machdep.h
idprom.h
ieee.h
ieeefp.h
in_cksum.h Sync with the other archs and wrapper the prototype of in_cksum_skip(9) 2009-10-26 22:00:26 +00:00
instr.h
intr_machdep.h Merge from amd64/i386: 2009-12-24 15:43:37 +00:00
iommureg.h - Add support for the IOMMUs of Fire JBus to PCIe and Oberon Uranus 2009-12-23 22:02:34 +00:00
iommuvar.h - Add support for the IOMMUs of Fire JBus to PCIe and Oberon Uranus 2009-12-23 22:02:34 +00:00
jbus.h - Assert that HEAPSZ is a multiple of PAGE_SIZE as at least the firmware 2010-02-13 14:13:39 +00:00
kdb.h
kerneldump.h
ktr.h - Search the whole OFW device tree instead of only the children of the 2010-02-13 16:52:33 +00:00
limits.h
lsu.h
md_var.h Some machines can not only consist of CPUs running at different speeds 2010-02-20 23:24:19 +00:00
memdev.h
metadata.h
mutex.h
nexusvar.h - Add the 'cmp' and 'core' pseudo-busses which are used to group CPU cores 2010-02-13 18:51:49 +00:00
ofw_machdep.h Modularize the Open Firmware client interface to allow run-time switching 2008-12-20 00:33:10 +00:00
ofw_mem.h
ofw_nexus.h
param.h Add a new sysctl for reporting all of the supported page sizes. 2009-09-18 17:04:57 +00:00
pcb.h Extract the code that records syscall results in the frame into MD 2009-11-10 11:43:07 +00:00
pcpu.h Some machines can not only consist of CPUs running at different speeds 2010-02-20 23:24:19 +00:00
pmap.h Some machines can not only consist of CPUs running at different speeds 2010-02-20 23:24:19 +00:00
pmc_mdep.h
proc.h
profile.h
pstate.h
ptrace.h
reg.h
reloc.h
resource.h
runq.h
sc_machdep.h
setjmp.h
sf_buf.h
sigframe.h
signal.h
smp.h Some machines can not only consist of CPUs running at different speeds 2010-02-20 23:24:19 +00:00
stack.h
stdarg.h
sysarch.h
tick.h Some machines can not only consist of CPUs running at different speeds 2010-02-21 09:25:53 +00:00
tlb.h - Add TTE and context register bits for the additional page sizes supported 2010-03-17 20:23:14 +00:00
trap.h - There's no need to wrap kdb_active and kdb_trap() in #ifdef KDB as 2009-03-19 20:46:51 +00:00
tsb.h
tstate.h
tte.h - Add TTE and context register bits for the additional page sizes supported 2010-03-17 20:23:14 +00:00
ucontext.h
upa.h - Search the whole OFW device tree instead of only the children of the 2010-02-13 16:52:33 +00:00
utrap.h
varargs.h
ver.h Add macros for the VER.impl of SPARC64 II to VIIIfx. 2010-03-17 21:00:39 +00:00
vm.h Add support to the virtual memory system for configuring machine- 2009-07-12 23:31:20 +00:00
vmparam.h - Use the generally more appropriate PROM base rather than the 2009-02-10 21:48:42 +00:00
watch.h
wstate.h