clockevents: Don't allow dummy broadcast timers

Currently tick_check_broadcast_device doesn't reject clock_event_devices
with CLOCK_EVT_FEAT_DUMMY, and may select them in preference to real
hardware if they have a higher rating value. In this situation, the
dummy timer is responsible for broadcasting to itself, and the core
clockevents code may attempt to call non-existent callbacks for
programming the dummy, eventually leading to a panic.

This patch makes tick_check_broadcast_device always reject dummy timers,
preventing this problem.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Jon Medhurst (Tixy) <tixy@linaro.org>
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull timer fix from Thomas Gleixner:
 "A single bugfix which prevents that a non functional timer device is
  selected to provide the fallback device, which is supposed to serve
  timer interrupts on behalf of non functional devices ..."

* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  clockevents: Don't allow dummy broadcast timers
phy: Add support for VSC8234

No functional changes other than to recognize this PHYID.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Ben Collins <ben.c@servergy.com>
Cc: netdev@vger.kernel.org
phylib: Add XGMII phy interface type

10g PHY type used by Freescale DPAA based SoCs.

Signed-off-by: Ben Collins <ben.c@servergy.com>
Acked-by: David S. Miller <davem@davemloft.net>
of_mdio: Remove flags argument from of_phy_connect

of_phy_connect() only required a flags argument in order to pass it down to
to phy_connect(). Since that argument was removed, it is of no use in this
function either (confirmed by checking all callers in kernel tree as well).

Signed-off-by: Ben Collins <ben.c@servergy.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: devicetree-discuss@lists.ozlabs.org
of_mdio: Add of_phy_attach function

of_phy_connect is useful for most systems, but some drivers will want
finer-grained control over their PHYs, and won't want to use the
PHY Lib state machine or interrupt handlers.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Ben Collins <ben.c@servergy.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: devicetree-discuss@lists.ozlabs.org
sgy-cts-1000: New DTS file for Servergy CTS-1000 systems

This isn't specifically needed in order to build the kernel. It's
stored in flash with firmware. However, keep it in the kernel for
reference (and to have an example for fsl_dpa device tree usage).

Signed-off-by: Ben Collins <ben.c@servergy.com>
Cc: linuxppc-dev@lists.ozlabs.org
fsl_dpa: New driver for Freescale DPAA based ethernet

This driver was originally based on Freescale's DPAA-SDK-1.2.1 driver
which was in turn based on FMD14. It also includes the fsl_qbman from
the same SDK.

These drivers have been ripped of everything that doesn't have to do
with ethernet packet handling, and breathing. All of the USDPAA, ioctls,
etc, have been yanked from the code (~83k lines down to ~21k lines). If
you're looking for the full DPAA stack, stick with Freescale's SDK.

Currently, the only shipping hardware using this is the Servergy CTS-1000,
which is based on P4080DS. It has not been tested on other P* SoCs (e.g.
2041, 3040, 5040, etc).

Signed-off-by: Ben Collins <ben.c@servergy.com>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: devel@driverdev.osuosl.org