HomeFreeBSD

Attach and LAW problems to fix

Description

Attach and LAW problems to fix

Summary:

  1. Attach problem - mpc85xx_probe() relies on fact that 0xfff0 mask matches all

QorIQ CPUs what is not true since e6500. This shall be reworked to match against
all supported CPUs.

  1. There is no any reason for operating system to re-program or anyhow else

touch the LAWs programmed by firmware (u-boot). Right now mpc85xx_attach()
removes all LaW entries except for DRAM. This causes MCE to be generated when
later any of driver maps DTB-provided hardware addresses which do not exist
anymore because corresponding LaWs were removed.

Submitted by: Ivan Krivonos <int0dster_AT_gmail.com>
Differential Revision: https://reviews.freebsd.org/D7663

Details

Provenance
jhibbitsAuthored on
Differential Revision
D7663: Attach and LAW problems to fix
Parents
rS305042: MFhead @ r305041
Branches
Unknown
Tags
Unknown