reset enet clock in apm_enet_halt function

The apm_enet_halt function did not completely shut down the enet
hardware which allowed a spurious error message to sometimes be
delivered to kernel enet driver. This spurious error used a queue
id from the firmware and not known to the kernel. This caused the
kernel driver to get out of sync and eventually oops. This patch
does a clock and csr reset to ensure enet mac is completely
shut down by UEFI ExitBootServices handler.

Signed-off-by: Mark Salter <msalter@redhat.com>
Increase depth of exception frame unwinding

The current depth of 10 farmes to unwind and display in response
to an exception is not deep enough to debug all problems. This
patch bumps the max count to 25.

Signed-off-by: Mark Salter <msalter@redhat.com>
Move CPU descriptions into the ACPI MADT.

Signed-off-by: Al Stone <ahs3@redhat.com>
Remove more files during make reallyclean

Add to reallyclean make target the ability to remove the Conf/* files
that can mess up the build when it is necessary to change the tools
template.

Signed-off-by: Al Stone <ahs3@redhat.com>
Add in the new 5.1 fields for the FADT

Signed-off-by: Al Stone <ahs3@redhat.com>
Update the GTDT to the latest 5.1 format.

Signed-off-by: Al Stone <ahs3@redhat.com>
Add in an empty SSDT so that it can be replaced later on at run-time.

Signed-off-by: Al Stone <ahs3@redhat.com>
fix setting of MAC address in ACPI table

The current code uses a ReadyToBootEvent to trigger code which fills
out the local-mac-address for ethenet device in the DSDT table. This
isn't triggering for some reason and APM's latest drop uses an
ExitBootServices event instead. The existing code also uses a "MAC0"
environment variable instead of "RGMII_MAC0". This patch pulls in
bits of APM's latest drop to use ExitBootServices and also adds
compatibility support if RGMII_MAC0 is used instead of MAC0.

Signed-off-by: Mark Salter <msalter@redhat.com>
Fix up ACPI tables for newer SATA and ENET kernel drivers

The existing ACPI tables support the older versions of the kernel
SATA and ENET drivers. Tweak them so that they work with the newer
upstream (or soon to be upstream in enet case) drivers without the
need for a lot of ugliness in the kernel.

Also fix a clock bug in ethernet ACPI object. The wrong bit was
being specified for menet device.

Signed-off-by: Mark Salter <msalter@redhat.com>
[mustang] add PCIe support to the DTB

Pull the mustang dts files from sa2 kernel commit ef2712e9c
(which is upstream https://lkml.org/lkml/2014/3/19/607).

Kernels that support PCIe should be able to take advantage of the
Mustang PCIe root complex.

Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>