]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r257738, r259202, r258410, r260288, r260292, r260294, r260320, r260323,
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 14 May 2014 19:18:58 +0000 (19:18 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 14 May 2014 19:18:58 +0000 (19:18 +0000)
commit09b5c238433b977af8c423b23e4804300d74a806
tree4d7e5652ad495e1d8b2080c968e1eaf2b8f0ffba
parentaaded605346887044f06d12e395948c28d2e9e22
MFC r257738, r259202, r258410, r260288, r260292, r260294, r260320, r260323,
    r260326, r260327, r260331, r260333, r260340, r260371, r260372, r260373,
    r260374, r260375

  Add common bus_space tag definition shared for most supported ARMv6/v7 SoCs.
  Correct license statements to reflect the fact that these files were all
  derived from sys/arm/mv/bus_space.c.

  In pmap_unmapdev(), remember the size, and use that as an argument to
  kva_free(), or we'd end up always passing it a size of 0

  In pmap_mapdev(), first check whether a static mapping exists,

  Convert TI static device mapping to use the new arm_devmap_add_entry(),

  Use the common armv6 fdt_bus_tag defintion for tegra instead of a local copy.

  Eliminate use of fdt_immr_addr(), it's not needed for tegra

  Convert lpc from using fdt_immr style to arm_devmap_add_entry() to make
  static device mappings.

  Retire machine/fdt.h as a header used by MI code, as its function is now
  obsolete. This involves the following pieces:
  - Remove it entirely on PowerPC, where it is not used by MD code either
  - Remove all references to machine/fdt.h in non-architecture-specific code
    (aside from uart_cpu_fdt.c, shared by ARM and MIPS, and so is somewhat
    non-arch-specific).
  - Fix code relying on header pollution from machine/fdt.h includes
  - Legacy fdtbus.c (still used on x86 FDT systems) now passes resource
    requests to its parent (nexus). This allows x86 FDT devices to allocate
    both memory and IO requests and removes the last notionally MI use of
    fdtbus_bs_tag.
  - On those architectures that retain a machine/fdt.h, unused bits like
    FDT_MAP_IRQ and FDT_INTR_MAX have been removed.

  Add #include <machine/fdt.h> to a few files that used to get it via pollution

  Enable the mv cesa security/crypto device by providing the required property
  in the dts source, and adding the right devices to the kernel config.

  Remove dev/fdt/fdt_pci.c, which was code specific to Marvell ARM SoCs,
  related to setting up static device mappings.  Since it was only used by
  arm/mv/mv_pci.c, it's now just static functions within that file, plus
  one public function that gets called only from arm/mv/mv_machdep.c.

  Switch RPi to using arm_devmap_add_entry() to set up static device mapping.

  Allow 'no static device mappings' to potentially work.

  Don't try to find a static mapping before calling pmap_mapdev(), that logic
  is now part of pmap_mapdev() and doesn't need to be duplicated here.

 Switch a10 to using arm_devmap_add_entry() to set up static device mapping.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266084 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
39 files changed:
sys/arm/allwinner/a10_machdep.c
sys/arm/arm/bus_space-v6.c [moved from sys/arm/tegra/bus_space.c with 84% similarity]
sys/arm/arm/bus_space_generic.c
sys/arm/arm/devmap.c
sys/arm/arm/machdep.c
sys/arm/arm/trap.c
sys/arm/broadcom/bcm2835/bcm2835_fbd.c
sys/arm/broadcom/bcm2835/bcm2835_machdep.c
sys/arm/conf/DOCKSTAR
sys/arm/freescale/imx/imx51_ipuv3.c
sys/arm/include/fdt.h
sys/arm/include/intr.h
sys/arm/include/ofw_machdep.h
sys/arm/include/psl.h
sys/arm/lpc/lpc_gpio.c
sys/arm/lpc/lpc_machdep.c
sys/arm/lpc/lpc_mmc.c
sys/arm/lpc/lpcreg.h
sys/arm/mv/mv_machdep.c
sys/arm/mv/mv_pci.c
sys/arm/mv/mvvar.h
sys/arm/tegra/files.tegra2
sys/arm/tegra/tegra2_machdep.c
sys/arm/ti/ti_machdep.c
sys/arm/versatile/bus_space.c
sys/arm/xilinx/zy7_bus_space.c
sys/boot/fdt/dts/dockstar.dts
sys/conf/files
sys/dev/fdt/fdt_common.c
sys/dev/fdt/fdt_common.h
sys/dev/fdt/fdt_pci.c [deleted file]
sys/dev/fdt/fdtbus.c
sys/dev/fdt/simplebus.c
sys/dev/uart/uart_bus_fdt.c
sys/dev/uart/uart_dev_lpc.c
sys/mips/include/fdt.h
sys/powerpc/include/fdt.h [deleted file]
sys/x86/include/fdt.h
sys/x86/include/ofw_machdep.h