Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2010 19:25:11 +0000 (UTC)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/conf kern.pre.mk options.mips src/sys/contrib/octeon-sdk cvmx-access-native.h cvmx-app-init.h cvmx-asm.h cvmx-cmd-queue.c cvmx-cmd-queue.h cvmx-fpa.c cvmx-helper-board.c cvmx-helper-errata.c cvmx-helper-fpa.c ...
Message-ID:  <201007211830.o6LIUVQk098950@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jmallett    2010-07-20 19:25:11 UTC

  FreeBSD src repository

  Modified files:
    sys/conf             kern.pre.mk options.mips 
    sys/contrib/octeon-sdk cvmx-access-native.h cvmx-app-init.h 
                           cvmx-asm.h cvmx-cmd-queue.c 
                           cvmx-cmd-queue.h cvmx-fpa.c 
                           cvmx-helper-board.c 
                           cvmx-helper-errata.c cvmx-helper-fpa.c 
                           cvmx-helper-loop.c cvmx-helper-npi.c 
                           cvmx-helper-rgmii.c cvmx-helper-sgmii.c 
                           cvmx-helper-spi.c cvmx-helper-util.c 
                           cvmx-helper-util.h cvmx-helper-xaui.c 
                           cvmx-helper.c cvmx-helper.h cvmx-pko.c 
                           cvmx-platform.h cvmx-rtc.h cvmx-spi.c 
                           cvmx-thunder.c cvmx-usb.c cvmx-usb.h 
                           octeon-model.h 
    sys/mips/cavium      files.octeon1 obio.c octeon_ebt3000_cf.c 
                         octeon_machdep.c octeon_mp.c 
                         octeon_pcmap_regs.h std.octeon1 
                         uart_bus_octeonusart.c 
                         uart_cpu_octeonusart.c 
                         uart_dev_oct16550.c 
    sys/mips/conf        OCTEON1 OCTEON1-32 OCTEON1.hints 
    sys/mips/include     _bus.h cache_mipsNN.h cpufunc.h cpuregs.h 
    sys/mips/mips        bus_space_generic.c cache.c 
                         cache_mipsNN.c cpu.c exception.S locore.S 
                         machdep.c mainbus.c mpboot.S pm_machdep.c 
                         support.S vm_machdep.c 
  Added files:
    sys/mips/cavium      ciu.c cvmx_config.h octeon_ds1337.c 
                         octeon_rnd.c octeon_rtc.c octopci.c 
                         octopci_bus_space.c octopcireg.h 
                         octopcivar.h 
    sys/mips/cavium/octe cavium-ethernet.h ethernet-common.c 
                         ethernet-common.h ethernet-defines.h 
                         ethernet-headers.h ethernet-mdio.c 
                         ethernet-mdio.h ethernet-mem.c 
                         ethernet-mem.h ethernet-rgmii.c 
                         ethernet-rx.c ethernet-rx.h 
                         ethernet-sgmii.c ethernet-spi.c 
                         ethernet-tx.c ethernet-tx.h 
                         ethernet-util.h ethernet-xaui.c 
                         ethernet.c octe.c octebus.c octebusvar.h 
                         wrapper-cvmx-includes.h 
  Removed files:
    sys/contrib/octeon-sdk perfzilla_screen.png 
    sys/mips/cavium      driveid.h octeon_ebt3000_cf.h 
    sys/mips/cavium/dev/rgmii octeon_fau.h octeon_fpa.c 
                              octeon_fpa.h octeon_ipd.c 
                              octeon_ipd.h octeon_pip.h 
                              octeon_pko.c octeon_pko.h 
                              octeon_rgmx.c octeon_rgmx.h 
  Log:
  SVN rev 210311 on 2010-07-20 19:25:11Z by jmallett
  
  Update the port of FreeBSD to Cavium Octeon to use the Cavium Simple Executive
  library:
  o) Increase inline unit / large function growth limits for MIPS to accommodate
     the needs of the Simple Executive, which uses a shocking amount of inlining.
  o) Remove TARGET_OCTEON and use CPU_CNMIPS to do things required by cnMIPS and
     the Octeon SoC.
  o) Add OCTEON_VENDOR_LANNER to use Lanner's allocation of vendor-specific
     board numbers, specifically to support the MR320.
  o) Add OCTEON_BOARD_CAPK_0100ND to hard-wire configuration for the CAPK-0100nd,
     which improperly uses an evaluation board's board number and breaks board
     detection at runtime.  This board is sold by Portwell as the CAM-0100.
  o) Add support for the RTC available on some Octeon boards.
  o) Add support for the Octeon PCI bus.  Note that rman_[sg]et_virtual for IO
     ports can not work unless building for n64.
  o) Clean up the CompactFlash driver to use Simple Executive macros and
     structures where possible (it would be advisable to use the Simple Executive
     API to set the PIO mode, too, but that is not done presently.)  Also use
     structures from FreeBSD's ATA layer rather than structures copied from
     Linux.
  o) Print available Octeon SoC features on boot.
  o) Add support for the Octeon timecounter.
  o) Use the Simple Executive's routines rather than local copies for doing reads
     and writes to 64-bit addresses and use its macros for various device
     addresses rather than using local copies.
  o) Rename octeon_board_real to octeon_is_simulation to reduce differences with
     Cavium-provided code originally written for Linux.  Also make it use the
     same simplified test that the Simple Executive and Linux both use rather
     than our complex one.
  o) Add support for the Octeon CIU, which is the main interrupt unit, as a bus
     to use normal interrupt allocation and setup routines.
  o) Use the Simple Executive's bootmem facility to allocate physical memory for
     the kernel, rather than assuming we know which addresses we can steal.
     NB: This may reduce the amount of RAM the kernel reports you as having if
         you are leaving large temporary allocations made by U-Boot allocated
         when starting FreeBSD.
  o) Add a port of the Cavium-provided Ethernet driver for Linux.  This changes
     Ethernet interface naming from rgmxN to octeN.  The new driver has vast
     improvements over the old one, both in performance and functionality, but
     does still have some features which have not been ported entirely and there
     may be unimplemented code that can be hit in everyday use.  I will make
     every effort to correct those as they are reported.
  o) Support loading the kernel on non-contiguous cores.
  o) Add very conservative support for harvesting randomness from the Octeon
     random number device.
  o) Turn SMP on by default.
  o) Clean up the style of the Octeon kernel configurations a little and make
     them compile with -march=octeon.
  o) Add support for the Lanner MR320 and the CAPK-0100nd to the Simple
     Executive.
  o) Modify the Simple Executive to build on FreeBSD and to build without
     executive-config.h or cvmx-config.h.  In the future we may want to
     revert part of these changes and supply executive-config.h and
     cvmx-config.h and access to the options contained in those files via
     kernel configuration files.
  o) Modify the Simple Executive USB routines to support getting and setting
     of the USB PID.
  
  Revision  Changes    Path
  1.113     +6 -0      src/sys/conf/kern.pre.mk
  1.8       +6 -1      src/sys/conf/options.mips
  1.2       +11 -0     src/sys/contrib/octeon-sdk/cvmx-access-native.h
  1.2       +6 -0      src/sys/contrib/octeon-sdk/cvmx-app-init.h
  1.2       +2 -2      src/sys/contrib/octeon-sdk/cvmx-asm.h
  1.2       +0 -1      src/sys/contrib/octeon-sdk/cvmx-cmd-queue.c
  1.2       +4 -2      src/sys/contrib/octeon-sdk/cvmx-cmd-queue.h
  1.2       +0 -1      src/sys/contrib/octeon-sdk/cvmx-fpa.c
  1.2       +58 -0     src/sys/contrib/octeon-sdk/cvmx-helper-board.c
  1.2       +0 -3      src/sys/contrib/octeon-sdk/cvmx-helper-errata.c
  1.2       +0 -2      src/sys/contrib/octeon-sdk/cvmx-helper-fpa.c
  1.2       +1 -4      src/sys/contrib/octeon-sdk/cvmx-helper-loop.c
  1.2       +1 -5      src/sys/contrib/octeon-sdk/cvmx-helper-npi.c
  1.2       +28 -4     src/sys/contrib/octeon-sdk/cvmx-helper-rgmii.c
  1.2       +1 -5      src/sys/contrib/octeon-sdk/cvmx-helper-sgmii.c
  1.2       +1 -4      src/sys/contrib/octeon-sdk/cvmx-helper-spi.c
  1.2       +0 -2      src/sys/contrib/octeon-sdk/cvmx-helper-util.c
  1.2       +0 -2      src/sys/contrib/octeon-sdk/cvmx-helper-util.h
  1.2       +1 -5      src/sys/contrib/octeon-sdk/cvmx-helper-xaui.c
  1.2       +0 -2      src/sys/contrib/octeon-sdk/cvmx-helper.c
  1.2       +4 -1      src/sys/contrib/octeon-sdk/cvmx-helper.h
  1.2       +0 -2      src/sys/contrib/octeon-sdk/cvmx-pko.c
  1.2       +10 -0     src/sys/contrib/octeon-sdk/cvmx-platform.h
  1.2       +1 -1      src/sys/contrib/octeon-sdk/cvmx-rtc.h
  1.2       +0 -1      src/sys/contrib/octeon-sdk/cvmx-spi.c
  1.2       +6 -5      src/sys/contrib/octeon-sdk/cvmx-thunder.c
  1.2       +18 -1     src/sys/contrib/octeon-sdk/cvmx-usb.c
  1.2       +7 -0      src/sys/contrib/octeon-sdk/cvmx-usb.h
  1.2       +1 -1      src/sys/contrib/octeon-sdk/octeon-model.h
  1.2       +0 -98     src/sys/contrib/octeon-sdk/perfzilla_screen.png (dead)
  1.1       +359 -0    src/sys/mips/cavium/ciu.c (new)
  1.1       +194 -0    src/sys/mips/cavium/cvmx_config.h (new)
  1.4       +0 -220    src/sys/mips/cavium/dev/rgmii/octeon_fau.h (dead)
  1.6       +0 -230    src/sys/mips/cavium/dev/rgmii/octeon_fpa.c (dead)
  1.3       +0 -259    src/sys/mips/cavium/dev/rgmii/octeon_fpa.h (dead)
  1.4       +0 -148    src/sys/mips/cavium/dev/rgmii/octeon_ipd.c (dead)
  1.3       +0 -204    src/sys/mips/cavium/dev/rgmii/octeon_ipd.h (dead)
  1.3       +0 -219    src/sys/mips/cavium/dev/rgmii/octeon_pip.h (dead)
  1.4       +0 -378    src/sys/mips/cavium/dev/rgmii/octeon_pko.c (dead)
  1.3       +0 -332    src/sys/mips/cavium/dev/rgmii/octeon_pko.h (dead)
  1.9       +0 -2328   src/sys/mips/cavium/dev/rgmii/octeon_rgmx.c (dead)
  1.3       +0 -630    src/sys/mips/cavium/dev/rgmii/octeon_rgmx.h (dead)
  1.3       +0 -298    src/sys/mips/cavium/driveid.h (dead)
  1.4       +47 -4     src/sys/mips/cavium/files.octeon1
  1.5       +45 -25    src/sys/mips/cavium/obio.c
  1.1       +94 -0     src/sys/mips/cavium/octe/cavium-ethernet.h (new)
  1.1       +278 -0    src/sys/mips/cavium/octe/ethernet-common.c (new)
  1.1       +52 -0     src/sys/mips/cavium/octe/ethernet-common.h (new)
  1.1       +101 -0    src/sys/mips/cavium/octe/ethernet-defines.h (new)
  1.1       +43 -0     src/sys/mips/cavium/octe/ethernet-headers.h (new)
  1.1       +138 -0    src/sys/mips/cavium/octe/ethernet-mdio.c (new)
  1.1       +40 -0     src/sys/mips/cavium/octe/ethernet-mdio.h (new)
  1.1       +207 -0    src/sys/mips/cavium/octe/ethernet-mem.c (new)
  1.1       +33 -0     src/sys/mips/cavium/octe/ethernet-mem.h (new)
  1.1       +359 -0    src/sys/mips/cavium/octe/ethernet-rgmii.c (new)
  1.1       +410 -0    src/sys/mips/cavium/octe/ethernet-rx.c (new)
  1.1       +37 -0     src/sys/mips/cavium/octe/ethernet-rx.h (new)
  1.1       +135 -0    src/sys/mips/cavium/octe/ethernet-sgmii.c (new)
  1.1       +309 -0    src/sys/mips/cavium/octe/ethernet-spi.c (new)
  1.1       +398 -0    src/sys/mips/cavium/octe/ethernet-tx.c (new)
  1.1       +34 -0     src/sys/mips/cavium/octe/ethernet-tx.h (new)
  1.1       +84 -0     src/sys/mips/cavium/octe/ethernet-util.h (new)
  1.1       +134 -0    src/sys/mips/cavium/octe/ethernet-xaui.c (new)
  1.1       +536 -0    src/sys/mips/cavium/octe/ethernet.c (new)
  1.1       +515 -0    src/sys/mips/cavium/octe/octe.c (new)
  1.1       +123 -0    src/sys/mips/cavium/octe/octebus.c (new)
  1.1       +41 -0     src/sys/mips/cavium/octe/octebusvar.h (new)
  1.1       +50 -0     src/sys/mips/cavium/octe/wrapper-cvmx-includes.h (new)
  1.1       +213 -0    src/sys/mips/cavium/octeon_ds1337.c (new)
  1.5       +19 -17    src/sys/mips/cavium/octeon_ebt3000_cf.c
  1.3       +0 -75     src/sys/mips/cavium/octeon_ebt3000_cf.h (dead)
  1.17      +206 -499  src/sys/mips/cavium/octeon_machdep.c
  1.3       +32 -7     src/sys/mips/cavium/octeon_mp.c
  1.9       +1 -607    src/sys/mips/cavium/octeon_pcmap_regs.h
  1.1       +137 -0    src/sys/mips/cavium/octeon_rnd.c (new)
  1.1       +130 -0    src/sys/mips/cavium/octeon_rtc.c (new)
  1.1       +402 -0    src/sys/mips/cavium/octopci.c (new)
  1.1       +583 -0    src/sys/mips/cavium/octopci_bus_space.c (new)
  1.1       +105 -0    src/sys/mips/cavium/octopcireg.h (new)
  1.1       +35 -0     src/sys/mips/cavium/octopcivar.h (new)
  1.3       +0 -3      src/sys/mips/cavium/std.octeon1
  1.4       +8 -1      src/sys/mips/cavium/uart_bus_octeonusart.c
  1.5       +4 -19     src/sys/mips/cavium/uart_cpu_octeonusart.c
  1.4       +14 -5     src/sys/mips/cavium/uart_dev_oct16550.c
  1.8       +33 -29    src/sys/mips/conf/OCTEON1
  1.10      +33 -28    src/sys/mips/conf/OCTEON1-32
  1.3       +3 -3      src/sys/mips/conf/OCTEON1.hints
  1.3       +1 -1      src/sys/mips/include/_bus.h
  1.3       +1 -1      src/sys/mips/include/cache_mipsNN.h
  1.7       +1 -1      src/sys/mips/include/cpufunc.h
  1.11      +1 -1      src/sys/mips/include/cpuregs.h
  1.4       +8 -8      src/sys/mips/mips/bus_space_generic.c
  1.4       +2 -2      src/sys/mips/mips/cache.c
  1.4       +2 -2      src/sys/mips/mips/cache_mipsNN.c
  1.8       +1 -1      src/sys/mips/mips/cpu.c
  1.20      +3 -3      src/sys/mips/mips/exception.S
  1.12      +2 -2      src/sys/mips/mips/locore.S
  1.31      +1 -1      src/sys/mips/mips/machdep.c
  1.5       +2 -2      src/sys/mips/mips/mainbus.c
  1.8       +1 -1      src/sys/mips/mips/mpboot.S
  1.9       +1 -1      src/sys/mips/mips/pm_machdep.c
  1.10      +1 -1      src/sys/mips/mips/support.S
  1.17      +3 -3      src/sys/mips/mips/vm_machdep.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007211830.o6LIUVQk098950>