]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
9 years agoMFC r265229,r265239:
bdrewery [Sat, 17 May 2014 02:32:47 +0000 (02:32 +0000)]
MFC r265229,r265239:

    Add -J to filter by matching jail IDs and names.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266279 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 257774, 256760, 262916, 262905, 262918, 262919, 262920, 262921, 262924,
ian [Sat, 17 May 2014 00:53:12 +0000 (00:53 +0000)]
MFC 257774, 256760, 262916, 262905, 262918, 262919, 262920, 262921, 262924,
    262925, 262929, 262932, 262935, 262940, 262941, 262942, 262948, 262949,
    262950

  Strip arm/conf/DEFAULTS down to just items that are mandatory for running
  the architecture.

  Move all the files named foo/common.c to foo/foo_common.c

  Initial cut for DTS on the hl201 board.

  Add commented out dts for sam9260ek as well as early printf support.

  Make clock optional on uart nodes, then back it out ("I don't know what I
  was thinking, but it is lame.")

  Set the baud rate if it isn't 0

  Make at91_soc_id() public.

  Properly round at91 resource on unmapping.

  Move AT91 AIC related stuff to own file.

  Fix another bug in multicast filtering.  i.MX uses 6 bits from MSB in
  LE CRC32 for the hash value, not the lowest 6 bits in BE CRC32.

  Follow r262916 with one more config file that references a renamed common.c

  Remove bogus AT91 define that causes compile errors.  Most of the defines
  for SAM9X are going away soonish anyway (once FDT works), but until
  then...

  Remove all dregs of a per-thread undefined-exception-mode stack.

  Rework the VFP code that handles demand-based save and restore of state.

  Always call vfp_discard() on thread death.

  When a thread begins life it doesn't own the VFP hardware state on any cpu.

  Make undefined exception entry MP-safe.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266277 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 258211, 257775, 258096,
ian [Fri, 16 May 2014 23:49:40 +0000 (23:49 +0000)]
MFC 258211, 257775, 258096,

  Add mbox and pruss drivers to ti build.

  Use common bus_space-v6 instead of local copies.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266275 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 262695, 262708, 262709, 262710, 262711, 262728, 262870, 262877, 262880,
ian [Fri, 16 May 2014 23:27:18 +0000 (23:27 +0000)]
MFC 262695, 262708, 262709, 262710, 262711, 262728, 262870, 262877, 262880,
    262885, 262891, 262903,

  imx6: Add a tunable to set the number of active cores, enable SMP by default.

  ffec: Fix multicast filtering.

  Allwinner a10/a20...
  - Add gpio and clock bits for A10/A20's EMAC ethernet controller driver
    - EMAC gpio configuration
    - EMAC clock activation
  - Add Static Random Access Memory controller driver for A10/A20.
      A10/A20's SRAM is used by devices, such as CPU, EMAC,
      for extra fast memory or as cache.
  - Add EMAC 10/100 Ethernet controller driver for A10/A20.
      It is available mostly in A10 devices like Hackberry, Marsboard,
      Mele A1000, A2000, A100 HTPC, cubieboard1 and A20 device
      like cubieboard2.
      TX performance can be improved using both channels 0 and 1.
      RX performance is poor and needs improvement with the assistance of
      external DMA controller in case there
  - Add EMAC and SRAM controller entries to FDT.
  - Add EMAC device to kernel config files and enable EMAC, SRAM drivers.

  OMAP: When calculating the MPU freq, make sure not to overflow.

  Vybrid:
  - Add driver for Port control and interrupts (PORT).
  - Export panel info to DTS
  - Reset all the layers before setup first one
  - Enable display

  nandfs: Slight code reordering to make error branch last.

  Add option TMPFS to arm/conf/DEFAULTS, remove it from the few configs
  that have it individually.  Concensus on freebsd-arm@ is that it should
  be included in all ARM kernels.

  Fix the arm sys_sigreturn(): its argument is a struct ucontext, not a
  struct sigframe containing the struct ucontext.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266274 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 264304: Really only allow IMGACT_BINMISC for amd64/i386 builds.
ian [Fri, 16 May 2014 22:55:01 +0000 (22:55 +0000)]
MFC 264304: Really only allow IMGACT_BINMISC for amd64/i386 builds.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266273 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264269, r264282, r264280, r264291, r264276, r264314
sbruno [Fri, 16 May 2014 21:56:33 +0000 (21:56 +0000)]
MFC r264269, r264282, r264280, r264291, r264276, r264314

Merge sson's binmiscctl and image activator features to stable/10

Submitted by: sson@freebsd.org

git-svn-id: svn://svn.freebsd.org/base/stable/10@266272 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r265779:
hselasky [Fri, 16 May 2014 16:11:14 +0000 (16:11 +0000)]
MFC r265779:
Fix for NULL pointer.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266257 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r265585
brueffer [Fri, 16 May 2014 16:06:31 +0000 (16:06 +0000)]
MFC: r265585

Generate hardware notes for mrsas(4).

git-svn-id: svn://svn.freebsd.org/base/stable/10@266255 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r265583, r265716
brueffer [Fri, 16 May 2014 16:03:26 +0000 (16:03 +0000)]
MFC: r265583, r265716

First cleanup pass: new sentence -> new line, mdoc, typos and style.

Fix two more typos. (1)

Submitted by: Trond Endrestol (1)

git-svn-id: svn://svn.freebsd.org/base/stable/10@266253 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 262614, 262625, 262626, 262627, 262682, 262714, 262725, 262736
ian [Fri, 16 May 2014 15:56:34 +0000 (15:56 +0000)]
MFC 262614, 262625, 262626, 262627, 262682, 262714, 262725, 262736

  Integrate device-tree upstream files into the build process:
  (1) Invoke cpp to bring in files via #include (although the old
      /include/ stuff is supported still).
  (2) bring in files from either vendor tree or freebsd-custom files
      when building.
  (3) move all dts* files from sys/boot/fdt/dts to
      sys/boot/fdt/dts/${MACHINE} as appropriate.
  (4) encode all the magic to do the build in sys/tools/fdt/make_dtb.sh
      so that the different places in the tree use the exact same logic.
  (5) switch back to gpl dtc by default. the bsdl one in the tree has
      significant issues not easily addressed by those unfamiliar with
      the code.

  Only try to build the static dtb when we're building a static dtb.

  Use proper include path for dtc as well as cpp.

  Fix syntax errors (missing ; other minor glitches) in existing dts files.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266251 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r265238, r265240
brueffer [Fri, 16 May 2014 15:48:45 +0000 (15:48 +0000)]
MFC: r265238, r265240

Properly free resources in case of error.

CID: 1007032
Found with: Coverity Prevent(tm)

git-svn-id: svn://svn.freebsd.org/base/stable/10@266243 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 252439: Fix the led 'gpios' definition to match the documented binding
ian [Fri, 16 May 2014 15:39:11 +0000 (15:39 +0000)]
MFC 252439: Fix the led 'gpios' definition to match the documented binding

git-svn-id: svn://svn.freebsd.org/base/stable/10@266240 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 258547, 259122
ian [Fri, 16 May 2014 15:34:23 +0000 (15:34 +0000)]
MFC 258547, 259122

  Add clock frequency for rk3188 watchdog.
  Replace "clocks" to "clock-frequency".
  Add gpio config for usb1 in dts.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266239 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r260522, r260523, r261439, r261440, r261586, r264504, r264769, r265193,
loos [Fri, 16 May 2014 14:28:55 +0000 (14:28 +0000)]
MFC r260522, r260523, r261439, r261440, r261586, r264504, r264769, r265193,
    r265194, r265197

r260522:
Add the manual page for geom_uncompress(4).

r260523:
Build the geom_uncompress(4) module by default.

Fix geom_uncompress(4) module loading.  Don't link zlib.c (which is a module
itself) directly.

r261439:
Remove some unnecessary code.  The offsets read from the first block are
overwritten a few lines bellow.

r261440:
Fix a logic error.  Because of this inflateReset() wasn't being called and
the output buffer wasn't being cleared between the inflate() calls,
producing zeroed output after the first inflate() call.

This fixes the read of mkuzip(8) images with geom_uncompress(4).

r261586:
Fix the build with DEBUG enabled.  Where possible, fix style(9) issues.

r264504:
Make sure not to do I/O for more than MAXPHYS bytes. Doing so can cause
problems in our providers, such as a KASSERT in md(4). We can initiate
I/O for more than MAXPHYS bytes if we've been given a BIO for MAXPHYS
bytes, the blocks from which we're reading couldn't be compressed and
we had compression in preceeding blocks resulting in misalignment of
the blocks we're trying to read relative to the sector. We're forced to
round up the I/O length to make it an multiple of the sector size.

When we detect the condition, we'll reduce the block count and perform
a "short" read. In g_uzip_done() we need to consider the original I/O
length and stop early if we're about to deflate a block that we didn't
read. By using bio_completed in the cloned BIO and not bio_length to
check for this, we automatically and gracefully handle short reads that
our providers may be doing on top of the short reads we may initiate
ourselves.

r264769:
Keep geom_uncompress(4) in line with geom_uzip(4), bring in the r264504 fix.

Make sure not to start I/O bigger than MAXPHYS bytes.

r265193:
Some style and whitespace fixes.  Reduce the difference between geom_uzip(4)
and geom_uncompress(4).  Now, they produce an almost clean diff(1) output.

Remove a duplicated variable from g_uncompress.c and an unnecessary header
from g_uzip.c.

r265194:
Actually the FEATURE() macro is defined on sys/sysctl.h.

r265197:
Fix a leak in g_uzip_taste().  After retrieve all the block offsets from
the uzip image, free the last data read.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266220 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r262591, r262592, r262593, r262597, r262598, r262599, r262600, r262601,
ian [Fri, 16 May 2014 12:43:45 +0000 (12:43 +0000)]
MFC r262591, r262592, r262593, r262597, r262598, r262599, r262600, r262601,
    r262606

  Initial import of Linux/Vendor DTS files for various embedded boards.

  Initial import of DTS files from Linux

  Correct initial import script

  New AT91 devices or fdt probe added to existing devices.  Some of these
  are just stubs for testing the new dts.
  - nand
  - SDRAMC
  - shdwc
  - tcb
  - usb host and gadget

git-svn-id: svn://svn.freebsd.org/base/stable/10@266217 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r265943:
yongari [Fri, 16 May 2014 05:10:16 +0000 (05:10 +0000)]
MFC r265943:
  Disable TX IP/TCP/UDP checksum offloading for RTL8168C/RTL8168CP.
  Previously only TX IP checksum offloading was disabled but it's
  reported that TX checksum offloading for UDP datagrams with IP
  options also generates corrupted frames.  Reporter's controller is
  RTL8168CP but I guess RTL8168C also have the same issue since it
  shall share the same core.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266212 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r265942:
yongari [Fri, 16 May 2014 05:05:53 +0000 (05:05 +0000)]
MFC r265942:
  Fix checksum computation.  Previously it didn't include carry.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266210 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r262534, r262548, r262549, r262552, r262568, r262581, r262583, r262584,
ian [Fri, 16 May 2014 02:21:51 +0000 (02:21 +0000)]
MFC r262534, r262548, r262549, r262552, r262568, r262581, r262583, r262584,
    r262585, r262587, r262696, r262712

  Replace many pasted identical definitions of cpu_initclocks() with a common
  implementation in arm/machdep.c.

  aicasm: Don't complain about missing prototypes to ease bootstrap issues.

  Vybrid: Add driver for Inter-Integrated Circuit (I2C).

  imx6: Initialize the Low Power Mode bits to keep the ARM cores running
  during WFI.

  All our current ARM multi-core systems have all cores in one package with
  a shared L2 cache, reflect that in the common cpu_topo() routine.

  mpcore timer: Supply a DELAY() implementation via weak linkage, so that
  SoC-specific code can supply a better implementation.

  imx6: Add some rudimentary voltage control.

  Add an armv7 implementation of cpu_sleep().

  Add __used attribute so that the DELAY implementation doesn't get
  optimized away as unreferenced, causing linker errors when trying to
  resolve the weak reference to the missing function.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266207 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r257854 (discussed with alc@)
ian [Fri, 16 May 2014 01:30:30 +0000 (01:30 +0000)]
MFC r257854 (discussed with alc@)

  As of r257209, all architectures have defined
  VM_KMEM_SIZE_SCALE.  In other words, every architecture is now
  auto-sizing the kmem arena.  This revision changes kmeminit() so
  that the definition of VM_KMEM_SIZE_SCALE becomes mandatory and
  the definition of VM_KMEM_SIZE becomes optional.

  Replace or eliminate all existing definitions of VM_KMEM_SIZE.
  With auto-sizing enabled, VM_KMEM_SIZE effectively became an
  alternate spelling for VM_KMEM_SIZE_MIN on most architectures.
  Use VM_KMEM_SIZE_MIN for clarity.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266204 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r262409, r262411, r262413, r262420, r262426, r262427, r262440, r262456,
ian [Fri, 16 May 2014 00:14:50 +0000 (00:14 +0000)]
MFC r262409, r262411, r262413, r262420, r262426, r262427, r262440, r262456,
    r262482, r262483, r262531,

  Move the declaration for mpentry() into a header file instead of pasting
  it into a bunch of different .c files.

  If the L2 cache type is PIPT, pass a physical address for a flush.

  Actually set the proper bit to indicate TTB shared memory.

  Add a new cache maintenance function, idcache_inv_all, to the table, and
  implementations for each of the chips we support.

  Invalidate caches immediately upon entry to init_secondary().  Also set
  the Bufferable bit in the PDE entries of the secondary processor startup
  pagetables.

  Add the bits needed to run SMP on imx6.

  Invalidate the SCU cache tag ram on all 4 cores, not just 1-3.

  Minor tweaks to the imx GPT timer

  Vybrid enhancements...
  - Pin configuration is a complete iomux register now and includes
    drive strength, pull mode, mux mode, speed, etc.
  - Add i2c devices to the tree
  - Add IPG clock
  - Add support for Quartz Module.
  - Pin configuration is a complete iomux register now and includes
    drive strength, pull mode, mux mode, speed, etc.
  - Add i2c devices to the tree
  - Add IPG clock

git-svn-id: svn://svn.freebsd.org/base/stable/10@266203 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r262394: Fix parsing multiple roots with whitespace between them.
ian [Thu, 15 May 2014 22:51:14 +0000 (22:51 +0000)]
MFC r262394:  Fix parsing multiple roots with whitespace between them.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266202 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261982, r261987, r262123, r262244, r262278, r262280, r262353, r262354,
ian [Thu, 15 May 2014 22:50:06 +0000 (22:50 +0000)]
MFC r261982, r261987, r262123, r262244, r262278, r262280, r262353, r262354,
    r262355, r262419,

  Add Vybrid driver for Synchronous Audio Interface (SAI).

  Decrease SAI buffer size. Handle eDMA interrupt on running channel only.

  Give the physmem fdt helper routines static linkage since no global
  definition of them is provided anywhere.

  Add imx6 early printf support, wrapped in #if 0 because it's rarely needed.

  Add basic cpu frequency control and temperature monitoring to imx6_anatop.

  Add the FREEBSD_BOOT_LOADER option so that a loaded DTB passed in from
  ubldr will actually get used.

  Create a generic IMX6 kernel config, then fix it to have an ident line.

  Don't force imx6 bootverbose on anymore, it can be set from ubldr now.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266201 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261938, r261939, r261940, r261944, r261945, r261946, r261947, r261956, r261957...
ian [Thu, 15 May 2014 22:35:04 +0000 (22:35 +0000)]
MFC r261938, r261939, r261940, r261944, r261945, r261946, r261947, r261956, r261957, r261983, r261094,
    r261955, r261958,

  Add a driver to provide access to imx6 on-chip one-time-programmble data.

  Make it possible to access the ocotp registers before the ocotp device
  is attached, by establishing a temporary mapping of the registers when
  necessary.

  It turns out Freescale cleverly made the ocotp device compatible across
  several different families of SoCs, so move it to the freescale directory
  and prefix everything with fsl rather than imx6.

  Convert the imx6 sdhci "R1B fix" from a busy-loop in the interrupt handler
  to a callout.

  Increase the wait time for acquiring the SD bus from 10 to 250ms.

  If no compatible cards were found after probing the SD bus, say so.

  Add timeout logic to sdhci, separate from the timeouts done by the hardware.

  After a timeout, reset the controller using SDHCI_RESET_CMD|SDHCI_RESET_DATA
  rather than SDHCI_RESET_ALL; the latter turns off clocks and power, removing
  any possibility of recovering from the error.

  Add a helper routine to depth-search the device tree for a node with a
  matching 'compatible' property.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266200 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261917, r261918, r261919, r261920, r261921, r261922
ian [Thu, 15 May 2014 22:11:48 +0000 (22:11 +0000)]
MFC r261917, r261918, r261919, r261920, r261921, r261922

  Always clear L1 PTE descriptor when removing superpage on ARM

  Invalidate L1 PTE regardles of existance of the corresponding l2_bucket.

  Ensure proper TLB invalidation on superpage promotion and demotion on ARM

  Base pages within newly created superpage need to be invalidated so that
  new mapping is "visible" immediately after creation.

  Fix superpage promotion on ARM with respect to RO/RW and wired attributes

  Avoid redundant superpage promotion attempts on ARM

  Remove spurious assertion from pmap_extract_locked() on ARM

  Handle pmap_enter() on already promoted mappings for ARMv6/v7

git-svn-id: svn://svn.freebsd.org/base/stable/10@266199 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261803, r261808, r261814, r261815, r261816, r261817, r261818, r261826,
ian [Thu, 15 May 2014 22:03:24 +0000 (22:03 +0000)]
MFC r261803, r261808, r261814, r261815, r261816, r261817, r261818, r261826,
    r261848, r261855

  On armv6 and later, use the WriteNotRead bit of the fault status register
  to decide what protections are required by the faulting access.

  Use the right symbols for determining arm architecture.  Include the
  necessary header file which has the new FAULT_WNR symbol defined in it.

  Allow the kernel to be loaded at any 1MiB address. This requirement is
  because we use the 1MiB section maps as they only need a single pagetable.

  Add function for configuring Vybrid PLL4 (Audio) clock frequency output.

  imx6 changes ...

  - Fix the definition of the SDHCI_STATE_DAT and SDHCI_STATE_CMD fields,
    and add SDHCI_RETUNE_REQUEST.  None of these are actually used in the
    code yet.

  - Write translation code for the SDHCI_PRESENT_STATE register.
    Freescale moved some bits around in their version of the register,
    adjust things so that the sdhci code sees the standard layout.

  - Add standard non-removable and cd-gpios properties to the usdhc
    devices.  That generates references to gpio devices, so uncomment them
    even though there isn't a gpio driver to do anything with them yet.

  - Add handling of standard "non-removable" property, and also some
    workaround code so that if card detect is wired to a gpio pin, for now
    we just treat it the same as non-removable (because there isn't a gpio
    driver yet).

  - Enable both sdcard slots, but not the sdio-based wifi that we don't
    yet have a driver for.

  - Remove a couple obsolete function declarations.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266198 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261786, r261789
ian [Thu, 15 May 2014 21:41:32 +0000 (21:41 +0000)]
MFC r261786, r261789

  Rework the EARLY_PRINTF mechanism.  Instead of defining a special eprintf()
  routine, now a platform can provide a pointer to an early_putc() routine
  which is used instead of cn_putc().  Control can be handed off from early
  printf support to standard console support by NULLing out the pointer
  during standard console init.

  Convert two while(1); statements into proper panics.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266197 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261681, r261682, r261683, r261684, r261685, r261686, r261687, r261688,
ian [Thu, 15 May 2014 21:21:47 +0000 (21:21 +0000)]
MFC r261681, r261682, r261683, r261684, r261685, r261686, r261687, r261688,
    r261689, r261690, r261783, r261791, r261836, r261837, r261841,

  Add FDT matching code to AT91 device drivers.

  Better nomatch messages: include compat string.  Also, flag devices as
  disabled in the successful probe message, but leave what that means to
  the actual driver (no semantic changes).

  Fix Embest board name and id.

  Honor the disabled status by only grabbing resources and returning
  when running under FDT in the AT91 SPI driver.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266196 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261643, r261646, r261648, r261649, r261651, r261656, r261657, r261663,
ian [Thu, 15 May 2014 20:58:23 +0000 (20:58 +0000)]
MFC r261643, r261646, r261648, r261649, r261651, r261656, r261657, r261663,
    r261676, r261677, r261698, r261778

  Consolidate code related to setting up physical memory configuration into
  a new physmem.c file.

  Replace compile-time constant KERNPHYSADDR with abp_physaddr

  Calculate the kernel's load address from the PC in the elf / gzip
  trampoline instead of relying on KERNPHYSADDR as a compile-time constant.

  It turns out a global variable is the only straightforward way to
  communicate the kernel's physical load address from where it's known in
  initarm() into cpu_mp_start() which is called from non-arm code and
  takes no parameters.

  Remove the now unused MMU_INIT macro.

  Use vm_paddr_t, not vm_offset_t, when dealing with physical addresses.

  No need to set physmem in each initarm() instance anymore, it's handled
  in common code now.

  Pass the pagetable used from locore.S to initarm to allow it to map data
  in as required.

  Fix the physmem exclude-region clipping logic for the edge-trim case.

  Add some extra debugging output when DEBUG is defined.

  Update legacy platforms to use new arm_physmem helper routines.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266194 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r256672
ian [Thu, 15 May 2014 19:28:52 +0000 (19:28 +0000)]
MFC r256672

If we avoid to use the page at addr 0, we should adjust the size to reflect it.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266178 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r257549, r261642
ian [Thu, 15 May 2014 19:09:31 +0000 (19:09 +0000)]
MFC r257549, r261642

Don't create a distinct free page pool for segregating allocations that are
accessed through the direct map unless the kernel configuration actually
includes a direct map.  Only a few configurations do, and for the rest the
unnecessary free page pool is a small pessimization.

Remove the ARM_USE_SMALL_ALLOC option and code related to it.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266175 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261616, r261639
ian [Thu, 15 May 2014 18:38:19 +0000 (18:38 +0000)]
MFC r261616, r261639

  Remove FreeBSD 6 support from atmel usb controllers.

  Add Vybrid drivers for:
  - Enhanced Direct Memory Access Controller (eDMA)
  - Direct Memory Access Multiplexer (DMAMUX)

git-svn-id: svn://svn.freebsd.org/base/stable/10@266170 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r259270
loos [Thu, 15 May 2014 18:18:53 +0000 (18:18 +0000)]
MFC r259270

After r266105 ofw_iicbuc.c will be built by default for any kernel which
includes options 'iicbus' and 'fdt'.  Remove the (now) unnecessary entries.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266168 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r265876:
cperciva [Thu, 15 May 2014 18:07:35 +0000 (18:07 +0000)]
MFC r265876:
  In cf_get_method, when we don't already know what clock speed the CPU is
  running at, guess the nearest value instead of looking for a value within
  25 MHz of the observed frequency.

  Prior to this change, if a system booted with Intel Turbo Boost enabled,
  the dev.cpu.0.freq sysctl is nonfunctional, since the ACPI-reported
  frequency for Turbo Boost states does not match the actual clock frequency
  (and thus no levels are within 25 MHz of the observed frequency) and the
  current performance level is read before a new level is set.

Relnotes: Bug fix in power management on CPUs with Intel Turbo Boost

git-svn-id: svn://svn.freebsd.org/base/stable/10@266165 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r256871, r259034, r266010
loos [Thu, 15 May 2014 18:05:51 +0000 (18:05 +0000)]
MFC r256871, r259034, r266010

r256871:
Implement watchdog function and register it with watchdog list.

r259034:
Make the sysctl node read-only.

r266010:
Remove extra newlines.
No functional changes.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266164 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261570, r261572
ian [Thu, 15 May 2014 17:53:42 +0000 (17:53 +0000)]
MFC r261570, r261572

  Revert r260440 (add USB_HOST_ALIGN to all configs, it's only needed for
  platforms with a 64-byte cacheline size).

  Add option USB_HOST_ALIGN=64 for all SoCs that have 64 byte cache lines.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266162 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261423, r261424, r261516, r261513, r261562, r261563, r261564, r261565,
ian [Thu, 15 May 2014 17:30:16 +0000 (17:30 +0000)]
MFC r261423, r261424, r261516, r261513, r261562, r261563, r261564, r261565,
    r261596, r261606

  Add the imx sdhci controller.

  Move Open Firmware device root on PowerPC, ARM, and MIPS systems to
  a sub-node of nexus (ofwbus) rather than direct attach under nexus. This
  fixes FDT on x86 and will make coexistence with ACPI on ARM systems easier.
  SPARC is unchanged.

  Add the missing ')' at end of sentence.  Reword it to use a more common idiom.

  Pass the kernel physical address to initarm through the boot param struct.

  Make functions only used in vfp.c static, and remove vfp_enable.

  Fix __syscall on armeb EABI. As it returns a 64-bit value it needs to
  place 32-bit data in r1, not r0. 64-bit data is already packed correctly.

  Use abp_physaddr for the physical address over KERNPHYSADDR. This helps us
  remove the need to load the kernel at a fixed address.

  Remove references to PHYSADDR where it's used only in debugging output.

  Dynamically generate the page table. This will allow us to detect the
  physical address we are loaded at to change the mapping.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266160 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261414, r261415, r261417, r261418, r261419
ian [Thu, 15 May 2014 16:59:47 +0000 (16:59 +0000)]
MFC r261414, r261415, r261417, r261418, r261419

  Don't call device_set_ivars() for the mmchs

  Change the way pcpu and curthread are stored per-core

  Invalidate cachelines for bounce pages on PREREAD too, there may still be
  stale entries from a previous transfer.

  Only use the CPU ID register if SMP is defined. Some non-MPCore armv6 cpu,
  such as the one found in the RPi, don't have it, and just hang when we try
  to access it.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266159 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261411, r261413, r261416:
ian [Thu, 15 May 2014 16:23:24 +0000 (16:23 +0000)]
MFC r261411, r261413, r261416:

  Add support for Colibri VF50 Evaluation Board.

  Add driver for Display Control Unit (DCU4).

  Add prototype for tcon_bypass() used by dcu4.
  Add register definition.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266155 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261410
ian [Thu, 15 May 2014 16:11:06 +0000 (16:11 +0000)]
MFC r261410

  Follow r261352 by updating all drivers which are children of simplebus
  to check the status property in their probe routines.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266152 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r259125, r264019, r264083, r264153, r264197
loos [Thu, 15 May 2014 15:47:52 +0000 (15:47 +0000)]
MFC r259125, r264019, r264083, r264153, r264197

r259125:
Fix a few typos on the scm (control module) pin mux definitions.

r264019:
Fix some of the style(9) problems on ti_gpio.

Remove redundant code and declarations.

r264083:
Move the GPIO bank initialization to a new function to make easier to detect
errors.

Reset the GPIO module during the initialization.  This is guaranteed to be
the same as a hardware reset.  Tested on AM335x (BBB) and checked against
the omap3 and omap4 TRM.

Do a better job freeing resources when there are errors and on
ti_gpio_detach().

r264153:
- Fix the setup of interrupts for banks 2 and 3 on AM335x.

    On AM335x each one of the four GPIO banks has two physical interrupt
    lines, so we now allocate resources and setup our interrupt handler for
    all the (8) available interrupts.

    On OMAP3 and OMAP4 there is only one interrupt for each GPIO bank (6
    banks, 6 interrupts), but there are two set of registers where the
    first one is used to setup the delivery of interrupts to the MPU and
    the second set, setup the delivery of interrupts to the DSP.

    On AM335x, each set of registers controls each one of the interrupt
    lines.

- Remove nonexistent registers for OMAP4 and AM335x, replace their use with
  the correct ones for these SoCs.

- Remove stray whitespace.

r264197:
Partially revert r264083.

While it is the recommended initialization procedure, it hangs on the reset
of the second GPIO module on pandaboard.

Removes the module reset for now as more investigation is needed.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266148 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261406, r261409: enhance Vybrid support...
ian [Thu, 15 May 2014 15:43:33 +0000 (15:43 +0000)]
MFC r261406, r261409: enhance Vybrid support...

  o Expand device tree information
  o Export iomuxc (pins) configuration to DTS
  o Allow devices to assign clocks in DTS
  o Split kernel configuration to chip common and board specific parts.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266146 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261137, r261393
ian [Thu, 15 May 2014 15:40:05 +0000 (15:40 +0000)]
MFC r261137, r261393

  Correct the alignment of sp through functions that use UNWINDSVCFRAME.

  Update all arm code that manipulates the PSR registers to use modern syntax.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266144 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r265012, r265191, r265289, r265310
loos [Thu, 15 May 2014 15:15:23 +0000 (15:15 +0000)]
MFC r265012, r265191, r265289, r265310

r265012:
Fix the gpio-specifier decoding by respecting the GPIO controller's
#gpio-cells property.

Add a new ofw_bus method (OFW_BUS_MAP_GPIOS()) that allows the GPIO
controller to implement its own mapping to deal with gpio-specifiers,
allowing the decoding of gpio-specifiers to be controller specific.

The default ofw_bus_map_gpios() decodes the linux standard (#gpio-cells =
<2>) and the FreeBSD standard (#gpio-cells = <3>).

It pass the gpio-specifier flag field to the children as an ivar variable so
they can act upon.

r265191:
Remove unnecessary headers.  Sort out the headers.  Add a missing header on
ofw_gpiobus.c (it was working because of sys/libkern.h).

r265289:
eally sort out the headers.

sys/systm.h must always come after sys/param.h.

Remove sys/types.h which should never be included together with sys/param.h.

Add sys/malloc.h for correctness even if it seems to don't be needed.

Remove more unused headers found by unusedinc (from bde@).

r265310:
Move gpiobus routines to dev/gpio.  Avoid polluting ofw_bus with bus
specific parts.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266135 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r257207, r261161, r261163:
ian [Thu, 15 May 2014 15:02:48 +0000 (15:02 +0000)]
MFC r257207, r261161, r261163:

  Update the hard-float version of the fenv functions to use the VFP unit.
  Any other floating-point unit is unsupported on ARM.

  Use __fenv_static for all static inline functions.

  Correctly shift the mask when masking/unmasking exceptions.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266133 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261215, r261257
ian [Thu, 15 May 2014 14:37:52 +0000 (14:37 +0000)]
MFC r261215, r261257

  Merge from vendor branch importing dtc git
  rev 6a15eb2350426d285130e4c9d84c0bdb6575547a

  Don't build BSDL dtc if the GPL dtc is enabled.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266130 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261351, r261352, r261355, r261396, r261397, r261398, r261403, r261404,
ian [Thu, 15 May 2014 14:26:11 +0000 (14:26 +0000)]
MFC r261351, r261352, r261355, r261396, r261397, r261398, r261403, r261404,
    r261405

  Open Firmware interrupt specifiers can consist of arbitrary-length byte
  strings and include arbitrary information (IRQ line/domain/sense). When the
  ofw_bus_map_intr() API was introduced, it assumed that, as on most systems,
  these were either 1 cell, containing an interrupt line, or 2, containing
  a line number plus a sense code. It turns out a non-negligible number of
  ARM systems use 3 (or even 4!) cells for interrupts, so make this more
  general.

  Provide a simpler and more standards-compliant simplebus implementation to
  get the Routerboard 800 up and running with the vendor device tree. This
  does not implement some BERI-specific features (which hopefully won't be
  necessary soon), so move the old code to mips/beri, with a higher attach
  priority when built, until MIPS interrupt domain support is rearranged.

  Allow nesting of simplebuses.

  Add a set of helpers (ofw_bus_get_status() and ofw_bus_status_okay()) to
  process "status" properties of OF nodes.

  Fix one remnant endian flaw in nexus.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266128 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264850
smh [Thu, 15 May 2014 12:39:28 +0000 (12:39 +0000)]
MFC r264850

Add the ability to set a minimum ashift size for ZFS pool creation or root level
vdev addition.

Change max_auto_ashift sysctl to error when an invalid value is requested instead
of silently limiting it.

Sponsored by: Multiplay

git-svn-id: svn://svn.freebsd.org/base/stable/10@266122 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r258546: Add watchdog driver for rk3188.
ian [Thu, 15 May 2014 03:22:57 +0000 (03:22 +0000)]
MFC r258546: Add watchdog driver for rk3188.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266113 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261252, r261279, r261304, r261305, r261322, r261336, r261337, r261338,
ian [Thu, 15 May 2014 02:41:23 +0000 (02:41 +0000)]
MFC r261252, r261279, r261304, r261305, r261322, r261336, r261337, r261338,
    r261353

  Fix the name of the dts file for the HL201...

  When mapping an address, the bsh needs the same offset we do for other things.

  Add explicit depends on bus_if.h and device_if.h to avoid a
  chicken and egg problem in some compilation environments.

  Switch to using PAs rather than VAs for the addresses we map for
  devices. This is a nop, except for what's reported by atmelbus for the
  resources.

  Comment cleanups.  Move things around for diff reduction against FDT work.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266110 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266092
loos [Thu, 15 May 2014 01:37:17 +0000 (01:37 +0000)]
MFC r266092

gpioiic.4 and gpioled.4 will first appear in 10.1-RELEASE.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266106 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r258046, r258047, r258050, r259035, r259036, r259037, r261842, r261843,
loos [Thu, 15 May 2014 01:27:53 +0000 (01:27 +0000)]
MFC r258046, r258047, r258050, r259035, r259036, r259037, r261842, r261843,
    r261844, r261845, r261846, r262194, r262522, r262559

r258046:
Fix a typo on a comment in ofw_bus_if.m, the default method will return -1
when a node doesn't exist.

r258047:
Move the KASSERT() check to the point before the increase of number of pins.

r258050:
Fix gpiobus to return BUS_PROBE_GENERIC insted of BUS_PROBE_SPECIFIC (0) so
it can be overriden by its OFW/FDT version.

Give a chance for GPIO devices that implement the device_identify method to
attach.

r259035:
Remove unnecessary includes and an unused softc variable.  While here apply
two minor style(9) fixes.

r259036:
Move the GPIOBUS_SET_PINFLAGS(..., ..., pin, GPIO_PIN_OUTPUT) to led(4)
control callback function.  This makes gpioled(4) works even if the pin
is accidentally set to an input.

r259037:
Fix the pin value reading on AM335x.  Because of the inverted logic it was
always returning '0' for all the reads, even for the outputs.  It is now
known to work with gpioiic(4) and gpioled(4).

r261842:
Add an OFW GPIO compatible bus.  This allows the use of the DTS files to
describe GPIO bindings in the system.

Move the GPIOBUS lock macros to gpiobusvar.h as they are now shared between
the OFW and the non OFW versions of GPIO bus.

Export gpiobus_print_pins() so it can also be used on the OFW GPIO bus.

r261843:
Add OFW support to the in tree gpio compatible devices: gpioiic(4) and
gpioled(4).

Tested on RPi and BBB (using the hardware I2C controller and gpioiic(4) for
the I2C tests).  It was also verified for regressions on RSPRO (MIPS/ar71xx)
used as reference for a non OFW-based system.

Update the gpioled(4) and gpioiic(4) man pages with some details and
examples about the FDT/OFW support.

Some compatibility details pointed out by imp@ will follow in subsequent
commits.

r261844:
Allow the use of OFW I2C bus together with iicbb(4) on OFW-based systems.

This change makes ofw_iicbus attach to iicbb(4) controllers in addition to
the already supported i2c host bridges (iichb).

On iicbb(4) allow the direct access of the OFW parent node by its children,
so they can be directly attached to iicbb(4) node on the DTS without the
need of describing the i2c bus.

r261845:
Allow the use of the OFW GPIO bus for ti_gpio and bcm2835_gpio.  With this
change the gpio children can be described as directly connected to the GPIO
controller without the need of describing the OFW GPIO bus itself on the
DTS file.

With this commit the OFW GPIO bus is fully functional on BBB and RPi.

GPIO controllers which want to use the OFW GPIO bus will need similar
changes.

r261846:
Make the gpioled(4) work out of the box on BBB.

Add gpioled(4) to BEAGLEBONE kernel and add the description of the four
on-board leds of beaglebone-black to its DTS file.

r262194:
Remove an unnecessary header.

r262522:
Fix make depend for iicbus.

r262559:
Inspired by r262522, fix make depend.  This fixes the build of gpio modules.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266105 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r262665:
markj [Thu, 15 May 2014 00:52:17 +0000 (00:52 +0000)]
MFC r262665:
Expose a few DTrace parameters as sysctls under kern.dtrace and add
descriptions for several existing sysctls.

PR: 187027

git-svn-id: svn://svn.freebsd.org/base/stable/10@266102 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r258209, r258210, r261211,
ian [Wed, 14 May 2014 23:57:07 +0000 (23:57 +0000)]
MFC r258209, r258210, r261211,

  Add a driver for the Texas Instruments Mailbox hardware.

  Add a driver for the TI Programmable Realtime Unit Subsystem.

  fix args to mtx_init

git-svn-id: svn://svn.freebsd.org/base/stable/10@266098 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r260886, r261165, r261171, r261172, r261214
ian [Wed, 14 May 2014 23:51:07 +0000 (23:51 +0000)]
MFC r260886, r261165, r261171, r261172, r261214

  Fix gcc with -Wstrict-prototypes by telling it bi_emac takes no
  parameters.

  Bus space handles need to be the VA of the requested resource, not the
  rounded page VA. Correct so the DBGU device can be mapped for FDT
  console since it isn't on a page boundary.

  Make early printf output nicer by inserting a carriage return before
  any linefeeds that are output.

  Before resetting the USART, delay a bit to allow the transmitter to
  finish the current character to drain to avoid glitching. Also,
  simplify the code a smidge.

  Remove extra parens to silence clang warning.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266097 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r258044, r258679, r263990
loos [Wed, 14 May 2014 23:33:38 +0000 (23:33 +0000)]
MFC r258044, r258679, r263990

Adds gpioiic.4 and gpioled.4 man pages.  Moves some of the information that
was previously available on gpio.4 to their respectives pages.  Add the
cross references on gpioctl.8.

Add gpiobus(4) as a link to gpio(4).

git-svn-id: svn://svn.freebsd.org/base/stable/10@266096 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261083, r261092, r261126, r261127, r261128, r261129, r261130, r261131
ian [Wed, 14 May 2014 23:17:33 +0000 (23:17 +0000)]
MFC r261083, r261092, r261126, r261127, r261128, r261129, r261130, r261131

  Add Atmel serial drivers.

  uart clock-frequency is a FreeBSD-specific extention. Make it optional and
  allow the client uart drivers to decide if a frequency is required.

  Remove redundant declaration for uart devclass.
  Commit some unrelated, but harmless, FDT ifdefs.

  Add at91 NAND support, Fix comment.

  Remove obsolete options and fix comments

git-svn-id: svn://svn.freebsd.org/base/stable/10@266095 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261038, r261039, r261040, r261041
ian [Wed, 14 May 2014 22:52:16 +0000 (22:52 +0000)]
MFC r261038, r261039, r261040, r261041

  Implement generic support for early printf.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266094 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r260921: Add nand to arm NOTES
ian [Wed, 14 May 2014 20:49:10 +0000 (20:49 +0000)]
MFC r260921: Add nand to arm NOTES

git-svn-id: svn://svn.freebsd.org/base/stable/10@266090 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r260893: Free dma memory from the dma map before destroying the map.
ian [Wed, 14 May 2014 20:47:51 +0000 (20:47 +0000)]
MFC r260893: Free dma memory from the dma map before destroying the map.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266089 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r259728, r260752
ian [Wed, 14 May 2014 20:38:05 +0000 (20:38 +0000)]
MFC r259728, r260752

  Add Freescale i.MX515 vt(9) driver.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266088 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r260695, r260696, r260884, r260885, r260886, r260887
ian [Wed, 14 May 2014 20:31:54 +0000 (20:31 +0000)]
MFC r260695, r260696, r260884, r260885, r260886, r260887

  Provide a simplified way to specify GPIO pins for the Atmel port.

  Add at91 data so we can convert a PIO unit number into a base address.

  Add at91 standard memory controller helper functions.

  Generalize AT91 NAND support a bit.

  Connect NAND for the SAM9260EK eval board, as well as the HotE HL-201.

  Add nand device and NANDFS into the mix for those at91 boards that have
  support for it at the moment.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266087 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r260440, r260441, r260447, r260490, r260493
ian [Wed, 14 May 2014 20:17:31 +0000 (20:17 +0000)]
MFC r260440, r260441, r260447, r260490, r260493

  Add option USB_HOST_ALIGN to configs that contain 'device usb'.

  Update dts files of Cubieboard1,2 to use 1GB memory.

  Add a function to print the contents of the static device mapping table,

git-svn-id: svn://svn.freebsd.org/base/stable/10@266086 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r256839, r256948, r256950, r257299, r257414, r258057, r259090
ian [Wed, 14 May 2014 20:11:20 +0000 (20:11 +0000)]
MFC  r256839, r256948, r256950, r257299, r257414, r258057, r259090

  Add configuration for the Freescale i.MX53 Quick Start Board.

  Add the Raspberry Pi BSC (I2C compliant) controller driver.

  Add Radxa Rock board (by radxa.com) support.

  Digi-CCWMX53: enable ffec and uart, USB.

  Add support for Freescale Vybrid Family VF600

  Move and rename dwc otg driver to more generic one as it appears to work
  for rk3188 SoC based board too.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266085 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r257738, r259202, r258410, r260288, r260292, r260294, r260320, r260323,
ian [Wed, 14 May 2014 19:18:58 +0000 (19:18 +0000)]
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

9 years agoMFC r260281, r260282, r260283, r260285
ian [Wed, 14 May 2014 18:54:34 +0000 (18:54 +0000)]
MFC r260281, r260282, r260283, r260285

  Implement OFW_BUS_MAP_INTR() in terms of the FDT PIC table

  Reimplement fdt_intr_to_rl() in terms of OFW_BUS_MAP_INTR() and
  OFW_BUS_CONFIG_INTR().

  Use bus_space_map() rather than pmap_mapdev() in nexus_activate_resource(),
  when running on FDT systems.  Unmap memory in nexus_deactivate_resource().

  Remove fdt_pic_table code from MIPS, PowerPC, and x86, as it is no longer
  used by anything.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266079 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r260161, r260163, r260165, r260166, r260189
ian [Wed, 14 May 2014 18:25:13 +0000 (18:25 +0000)]
MFC r260161, r260163, r260165, r260166, r260189

  Add polarity and level support to ARM GIC

  Do not attach to PCI bridges in AHCI driver

  Use only mapped BIOs on ARM

  Fix race condition in DELAY for SP804 timer.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266070 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r260092, r260093, r260121, r260180,
ian [Wed, 14 May 2014 18:16:32 +0000 (18:16 +0000)]
MFC r260092, r260093, r260121, r260180,

  Allow AT91_MCI_ALLOW_OVERCLOCK to be an option in kernel config files.

  Set the SoC name for the atmelbus name.

  Add support for Samsung K9F2G08U0A (256MiB SLC) NAND

  Comment updates.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266065 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r260118
ian [Wed, 14 May 2014 17:43:49 +0000 (17:43 +0000)]
MFC r260118

  Delete echoed doesn't rub out the previous character, so always
  use <backspace> <space> <backspace> instead. This fixes hitting
  DELETE instead of BACKSPACE at mountroot> prompt.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266059 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r258359, r258742, r258845, r259936, r259640
ian [Wed, 14 May 2014 17:40:18 +0000 (17:40 +0000)]
MFC r258359, r258742, r258845, r259936, r259640

  Apply access flags for managed and unmanaged pages properly on ARMv6/v7

  Set the PGA_WRITEABLE flag when the protections indicate write access, not
  just when the current access is a write.

  Enable missing Access Flag for secondary cores on ARMv6/v7

  Add identification and necessary type checks for Krait CPU cores.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266058 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r256707, r256708, r257291, r258358
ian [Wed, 14 May 2014 17:01:35 +0000 (17:01 +0000)]
MFC r256707, r256708, r257291, r258358

  Switch to use WBWA mappings for page tables on armv6, this is needed for SMP.
  Fix PTE_SYNC() for PIPT L2 caches, using the virtual address wasn't so useful.
  Use PTE_SYNC() for >= armv6
  Spell cpu_l2cache_wb_range correctly.

  Fix condition that determines PMAP_NEEDS_PTE_SYNC value for ARM

  Use values of the correct defines to determine statement's result.
  ARM_ARCH_ symbols are always defined, hence only values are relevant.

  Avoid clearing EXEC permission bit when setting the page RW on ARMv6/v7

  When emulating modified bit the executable attribute was cleared by
  mistake when calling pmap_set_prot().

git-svn-id: svn://svn.freebsd.org/base/stable/10@266050 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r257170, r257171, r257172, r257240, r257278, r257279, r257280, r257281,
ian [Wed, 14 May 2014 16:32:27 +0000 (16:32 +0000)]
MFC r257170, r257171, r257172, r257240, r257278, r257279, r257280, r257281,
    r257282, r257332

  Wait for DesignWare UART transfers completion before accessing line control

  Enable UART busy detection handling for Armada XP - based board

  Enable SATA interface on Armada XP
  Run mvs SATA driver on Armada XP instead of old mv_sata

  Retire arm_remap_nocache() and the data and constants associated with it.

  Remove hard-coded mappings related to Armada XP support

  Fix-up DTB for Armada XP registers' base according to the actual settings

  Change Armada XP kernel load address to the u-boot's end address

  Remove not working and deprecated PJ4Bv6 support

  Switch off explicit broadcasting of the TLB flush operations for PJ4B CPU

  Add missing ARMv6 CPU functions to ARM Makefile

git-svn-id: svn://svn.freebsd.org/base/stable/10@266046 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r265535
marius [Wed, 14 May 2014 16:18:08 +0000 (16:18 +0000)]
MFC: r265535

- Sprinkle const and static as appropriate.
- Fix whitespace bugs.
- Remove pointless returns in void functions.
- Nuke pointless switch cases mirroring the default.

Sponsored by: Bally Wulff Games & Entertainment GmbH

git-svn-id: svn://svn.freebsd.org/base/stable/10@266043 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r256561
marius [Wed, 14 May 2014 16:16:23 +0000 (16:16 +0000)]
MFC: r256561

Prevent an unlikely, but real double free issue in gvinum(8).

Coverity ID: 1018965

git-svn-id: svn://svn.freebsd.org/base/stable/10@266042 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r265072:
bdrewery [Wed, 14 May 2014 15:35:01 +0000 (15:35 +0000)]
MFC r265072:

  Remove redundant include

git-svn-id: svn://svn.freebsd.org/base/stable/10@266036 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264499:
bdrewery [Wed, 14 May 2014 15:30:49 +0000 (15:30 +0000)]
MFC r264499:

  Make g_access() KASSERT() more useful.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266031 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264918:
bdrewery [Wed, 14 May 2014 15:24:25 +0000 (15:24 +0000)]
MFC r264918:

  Fix spelling error.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266030 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264465:
bdrewery [Wed, 14 May 2014 15:23:06 +0000 (15:23 +0000)]
MFC r264465:

  Prefer /etc/login.conf for some of these environment values.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266029 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoAdd missing mergeinfo for r266026
bdrewery [Wed, 14 May 2014 15:22:08 +0000 (15:22 +0000)]
Add missing mergeinfo for r266026

git-svn-id: svn://svn.freebsd.org/base/stable/10@266027 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264795:
bdrewery [Wed, 14 May 2014 15:21:27 +0000 (15:21 +0000)]
MFC r264795:

  Fix grammar error and trailing newline.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266026 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264385:
bdrewery [Wed, 14 May 2014 15:16:02 +0000 (15:16 +0000)]
MFC r264385:

  Use proper MFSNAMELEN for fs type.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266023 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r259517, r259518
ian [Wed, 14 May 2014 14:37:27 +0000 (14:37 +0000)]
MFC r259517, r259518

Add vt support for RPi. (No early stage yet.)

git-svn-id: svn://svn.freebsd.org/base/stable/10@266022 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r258800, r258802, r258805, r258806, r258807, r258851, r258857,
ian [Wed, 14 May 2014 14:17:51 +0000 (14:17 +0000)]
MFC r258800, r258802, r258805, r258806, r258807, r258851, r258857,
    r259199, r259484, r259513, r259514, r259516

  The kernel stack guard pages are only below the stack pointer, not above.

  Remove unnecessary double-setting of the thread's onfault state in
  copyinstr().

  Open Firmware mandates that certain cross-references, in particular those
  in /chosen, be ihandles. The ePAPR spec makes those cross-reference phandles,
  since FDT has no concept of ihandles. Have the OF FDT CI module interpret
  queries about ihandles as cross-reference phandles.

  Real OF systems have an ihandle under /chosen/stdout, not a phandle. Use
  the right type.

  Rearchitect platform memory map parsing to make it less
  Open Firmware-centric.

  Remove fdtbus_bs_tag definition, which is now obsolete. The remainder of
  this file is also slated for future demolition.

  Return the correct IEEE 1275 code for "nextprop".

  Use the common Open Firmware PCI interrupt routing code instead of the
  duplicate version in dev/fdt.

  Configure interrupt sense based on device tree information.

  Simplify the ofw_bus_lookup_imap() API slightly: make it allocate maskbuf
  internally instead of requiring the caller to allocate it.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266020 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r258268, r258271, r258272, r258274, r258275, r258427, r258694, r258696,
ian [Wed, 14 May 2014 14:08:45 +0000 (14:08 +0000)]
MFC r258268, r258271, r258272, r258274, r258275, r258427, r258694, r258696,
    r258697, r258757

  Do not assume a value for #address-cells when parsing the OF translations
  map. This allows the kernel to get farther with OpenBIOS on 64-bit CPUs.

  Actually look up #address-cells instead of assuming it is correlated with
  the Uninorth version number.

  #interrupt-cells belongs to the iparent, not the device parent.

  Add a sysctl to allow disabling resetting the OF syscons.

  For PCI<->PCI bridges, #address-cells may be 3.

  Make RTAS calls, which call setfault() to recover from machine checks,
  preserve any existing fault buffer.

  badaddr() is used only in the grackle PCI driver, so move its definition
  there. Clean up a spurious setfault() declaration as well.

  This [phyp_console] driver doesn't need the /options node, so don't check
  for it.

  Use the Open Firmware-based CPU frequency determination as a generic
  fallback if we can't measure CPU frequency. This is also useful on a
  variety of embedded systems using FDT.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266019 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r265362
brueffer [Wed, 14 May 2014 13:54:07 +0000 (13:54 +0000)]
MFC: r265362

Mention the axge(4) driver in the hardware notes.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266017 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r265454
marius [Wed, 14 May 2014 13:47:50 +0000 (13:47 +0000)]
MFC: r265454

- Allow foot shooting with the resetconfig command via the -f option.
- Fix typos preventing -f to actually work with the create command.
- Initialize flags to zero rather than using stack garbage when handling
  the grow command.

Sponsored by: Bally Wulff Games & Entertainment GmbH

git-svn-id: svn://svn.freebsd.org/base/stable/10@266014 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r265149
smh [Wed, 14 May 2014 09:12:01 +0000 (09:12 +0000)]
MFC r265149

Make uninteresting PCI devices with no attached drivers only print out
on a verbose boot.

Sponsored by: Multiplay

git-svn-id: svn://svn.freebsd.org/base/stable/10@266008 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r258259, r258798, r259010
ian [Wed, 14 May 2014 04:57:55 +0000 (04:57 +0000)]
MFC r258259, r258798, r259010

  Unify handling of illegal instruction faults between AIM and Book-E.

  Make uart_cpu_powerpc work on both FDT and OFW systems.

  Fix debug printfs in FPU_EMU to compile on powerpc64 and enable it for
  powerpc64.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266005 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r258247, r258250, r258257
ian [Wed, 14 May 2014 04:42:38 +0000 (04:42 +0000)]
MFC r258247, r258250, r258257

  Remove a pointless #ifdef AIM. This is just PPC64 specific, including
  64-bit Book-E.

  Make single precision floating point arithmetic actually work

  Split the function of the PCB_FPU flags into two: PCB_FPU now indicates that
  the actual FPU is enabled, while PCB_FPREGS indicates that the FPU state
  structure in the PCB is valid.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266004 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r257995, r258244, r258246,
ian [Wed, 14 May 2014 04:14:58 +0000 (04:14 +0000)]
MFC r257995, r258244, r258246,

 Rename the "bare" platform "mpc85xx"
 Also turn "bare" into a truly bare platform

 Move CCSR discovery into the platform module

 There is no reason Book-E needs to save XER and CTR on context switches.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266003 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r258002, r258024, r258027, r258051, r258052, r258243, r258244, r258002,
ian [Wed, 14 May 2014 03:09:37 +0000 (03:09 +0000)]
MFC r258002, r258024, r258027, r258051, r258052, r258243, r258244, r258002,
    r258024, r258027, r258051, r258052, r258243,

  Follow up r223485, which made AIM use the ABI thread pointer instead of
  PCPU fields for curthread, by doing the same to Book-E.

  Use the same implementation of copyinout.c for both AIM and Book-E.

  Actually add IOMMU domain to the list of known mappings.

  Following the approach with ACPI DMAR on x86, split IOMMU handling into
  a variant PCI bus instead of trying to shoehorn it into the PCI host bridge
  adapter.

  Make sure that TLB1 mappings are aligned correctly.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266001 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r257702, r257745, r257746, r257747, r257751, r257791, r257793,
ian [Wed, 14 May 2014 01:53:20 +0000 (01:53 +0000)]
MFC r257702, r257745, r257746, r257747, r257751, r257791, r257793,
    r257794, r257795, r257992

  Teach nexus(4) about Open Firmware (e.g. FDT) on ARM and MIPS, retiring
  fdtbus in most cases.

  Make OF_nextprop() work correctly for FDT by using the libfdt
  fdt_next_property_offset() API.

  Do not panic if pmap_mincore() is called.

  An addendum: it is possible, though of questionable utility, for a node
  to have no properties at all.
  Add definition for the Atheros 8021 gigabit PHY.

  Consolidate Apple firmware hacks and improve them by switching on the
  presence of mac-io devices in the tree, which uniquely identifies Apple
  hardware.

  Allow OF_decode_addr() to also be able to map resources on big-endian
  devices.

  Make tsec work with the device tree present on the RB800.

  Be more flexible about which compatible strings to accept.  This brings up
  the PCI Express bus on the RB800 using the firmware device tree.

  Rename the "bare" platform "mpc85xx", which is what it actually is, and
  add actual platform probing based on PVR.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266000 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r257334, r257336, r257337, r257338, r257341, r257342, r257343, r257370,
ian [Wed, 14 May 2014 01:35:43 +0000 (01:35 +0000)]
MFC r257334, r257336, r257337, r257338, r257341, r257342, r257343, r257370,
    r257368, r257416

  Hints-only devices should return BUS_PROBE_NOWILDCARD from their probe
  methods.

git-svn-id: svn://svn.freebsd.org/base/stable/10@265999 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r257180, r257195, r257196, r257198, r257209, r257295
ian [Wed, 14 May 2014 01:16:05 +0000 (01:16 +0000)]
MFC r257180, r257195,  r257196, r257198, r257209, r257295

 Add some extra sanity checking and checks to printf format specifiers.

 Try even harder to find a console before giving up.

 Make devices with registers into the KVA region work reliably.

 Turn on VM_KMEM_SIZE_SCALE on 32-bit as well as 64-bit PowerPC.

 Return NOKEY instead of 0 if there are no more key presses queued.

git-svn-id: svn://svn.freebsd.org/base/stable/10@265998 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoRecord mergeinfo that got run over by a bus.
ian [Wed, 14 May 2014 00:55:21 +0000 (00:55 +0000)]
Record mergeinfo that got run over by a bus.

git-svn-id: svn://svn.freebsd.org/base/stable/10@265997 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r257161, r257169, r257178, r257190, r257191
ian [Wed, 14 May 2014 00:51:26 +0000 (00:51 +0000)]
MFC r257161, r257169, r257178, r257190, r257191

 Add pmap_mapdev_attr() and pmap_kenter_attr() interfaces.

 Fix concurrency issues with TLB1 updates and make pmap_kextract() search
 TLB1 mappings as well

  Interrelated improvements to early boot mappings:
  - Remove explicit requirement that the SOC registers be found except as an
    optimization (although the MPC85XX LAW drivers still require they be found
    externally, which should change).
  - Remove magic CCSRBAR_VA value.
  - Allow bus_machdep.c's early-boot code to handle non 1:1 mappings and
    systems not in real-mode or global 1:1 maps in early boot.
  - Allow pmap_mapdev() on Book-E to reissue previous addresses if the
    area is already mapped. Additionally have it check all mappings, not
    just the CCSR area.

 Add some extra sanity checking and checks to printf format specifiers.

 Bump initial TLB size. The kernel is not necessarily less than 16 MB

 Handle (in a slightly ugly way) ePAPR-type loaders that just place a
 device tree into r3.

git-svn-id: svn://svn.freebsd.org/base/stable/10@265996 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoRecord mergeinfo that was eaten by the dog. Yeah, that's my story and
ian [Wed, 14 May 2014 00:05:35 +0000 (00:05 +0000)]
Record mergeinfo that was eaten by the dog.  Yeah, that's my story and
I'm sticking to it.

git-svn-id: svn://svn.freebsd.org/base/stable/10@265992 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoRecord missing merge info caused by an erroneous "helper" script I wrote.
ian [Tue, 13 May 2014 23:56:51 +0000 (23:56 +0000)]
Record missing merge info caused by an erroneous "helper" script I wrote.

git-svn-id: svn://svn.freebsd.org/base/stable/10@265991 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoFix OpenSSL NULL pointer deference vulnerability.
delphij [Tue, 13 May 2014 23:19:16 +0000 (23:19 +0000)]
Fix OpenSSL NULL pointer deference vulnerability.

Obtained from: OpenBSD
Security: FreeBSD-SA-14:09.openssl
Security: CVE-2014-0198

git-svn-id: svn://svn.freebsd.org/base/stable/10@265986 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoDocument r265922, mrsas(4) merge.
gjb [Tue, 13 May 2014 22:43:02 +0000 (22:43 +0000)]
Document r265922, mrsas(4) merge.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@265984 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC of tzdata2014c
edwin [Tue, 13 May 2014 22:35:06 +0000 (22:35 +0000)]
MFC of tzdata2014c

- Egypt will go into DST in 15 May 2014

git-svn-id: svn://svn.freebsd.org/base/stable/10@265983 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f