freebsd-dev/sys/sparc64/include
Marius Strobl cdf8665e67 MFC: r205269
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.

Committed from:	EH2010
2010-04-04 14:57:46 +00:00
..
_bus.h
_inttypes.h
_limits.h
_stdint.h
_types.h
asi.h MFC: r203829 2010-03-30 20:02:26 +00:00
asm.h
asmacros.h MFC: r203846 2010-03-30 20:46:10 +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 MFC: r200878 2010-01-13 20:07:45 +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 - Remove the BUS_HANDLE_MIN checking in the __BUS_DEBUG_ACCESS macro; 2008-05-08 21:10:39 +00:00
cache.h MFC: r204152, r204164 2010-03-31 21:32:52 +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 MFC: r203829 2010-03-30 20:02:26 +00:00
cpu.h MFC: r204152, r204164 2010-03-31 21:32:52 +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 MFC: r205269 2010-04-04 14:57:46 +00:00
elf.h MFC r197933: 2009-10-20 13:32:28 +00:00
endian.h
exec.h
fireplane.h MFC: r203829 2010-03-30 20:02:26 +00:00
float.h
floatingpoint.h
fp.h
frame.h
fsr.h
gdb_machdep.h
idprom.h
ieee.h
ieeefp.h
in_cksum.h MFC: r198502 2009-11-25 18:31:34 +00:00
instr.h
intr_machdep.h MFC 198134,198149,198170,198171,198391,200948: 2010-01-21 17:54:29 +00:00
iommureg.h MFC: r200923 2010-01-13 21:16:07 +00:00
iommuvar.h MFC: r200923 2010-01-13 21:16:07 +00:00
jbus.h MFC: r203829 2010-03-30 20:02:26 +00:00
kdb.h
kerneldump.h
ktr.h MFC: r203838 2010-03-30 20:29:45 +00:00
limits.h
lsu.h
md_var.h MFC: r204152, r204164 2010-03-31 21:32:52 +00:00
memdev.h Remove the unused major/minor numbers from iodev and memdev. 2008-06-25 07:45:31 +00:00
metadata.h
mutex.h
nexusvar.h MFC: r203845 2010-03-30 20:44:04 +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 MFC r197316 2009-10-31 18:54:26 +00:00
pcb.h MFC r199135: 2009-12-12 20:06:25 +00:00
pcpu.h MFC: r204152, r204164 2010-03-31 21:32:52 +00:00
pmap.h MFC: r204152, r204164 2010-03-31 21:32:52 +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 MFC: r204152, r204164 2010-03-31 21:32:52 +00:00
stack.h
stdarg.h
sysarch.h - Include <machine/utrap.h> so this header doesn't have an MD 2008-04-23 20:38:37 +00:00
tick.h MFC: r204152, r204164 2010-03-31 21:32:52 +00:00
tlb.h MFC: r205258 2010-03-31 21:57:48 +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 MFC: r205258 2010-03-31 21:57:48 +00:00
ucontext.h
upa.h MFC: r203838 2010-03-30 20:29:45 +00:00
utrap.h
varargs.h
ver.h MFC: r205263 2010-03-31 22:00:22 +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 MFC: r205409 2010-04-01 15:17:50 +00:00