Home | History | Annotate | Download | only in mpc85xx
History log of /src/sys/arch/evbppc/mpc85xx/machdep.c
RevisionDateAuthorComments
 1.49  22-Jul-2022  thorpej Split the i2c controller into 2 separate instances. This aligns with
how the device is represented when using DeviceTree, and also allows us
to de-weirdify the shared motoi2c code.

XXX Because e500 interrupt code doesn't support shared interrupts, we
no longer establish one for the i2c controller, but this isn't a great
loss as motoi2c doesn't support using interrupts right now anyway.
 1.48  22-Jul-2022  thorpej Stop using deprecated problib functions.
 1.47  22-Jul-2022  thorpej Revert previous; that was intended to be two separate commits.
 1.46  22-Jul-2022  thorpej Stop using deprecated proplib functions.
 1.45  03-Mar-2022  riastradh powerpc: Use device_set_private for e500 cpuN.
 1.44  11-Apr-2019  kamil Fix incorrect CVS Id
 1.43  27-Jan-2018  flxd branches: 1.43.4;
Fix more printf format strings for mfspr() (hi mrg).
 1.42  22-Dec-2016  cherry switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.41  30-Jan-2015  nonaka branches: 1.41.2;
Added RouterBOARD RB850Gx2 config. md root only.
 1.40  23-Jan-2015  nonaka ddb MP support
 1.39  06-Jan-2015  nonaka No need to call e500_tlb1_sync() at e500_cpu_hatch(). It has already
been called at e500_spinup_trampoline().
Pointed by mrg@.
 1.38  05-Jan-2015  nonaka Initialize TLB for non cpu0.
 1.37  27-Dec-2014  nonaka Preliminary support for P1023.
 1.36  19-Dec-2014  nonaka do page recolor.
 1.35  19-Dec-2014  nonaka Do probe cpu cache on !cpu0.
Avoid "panic: kernel diagnostic assertion "line_size > 0" failed: file "/usr/src/sys/arch/powerpc/booke/booke_cache.c", line 90".
 1.34  19-Dec-2014  nonaka Increase timeout for the hatching to complete.

> cpu1: hatch successful (24321 spins, timebase adjusted by -940718014)
 1.33  04-Aug-2014  joerg branches: 1.33.4;
mpc85xx_extirq_names is not used for the MPC8548 branch.
 1.32  24-Jul-2014  joerg Use volatile when writing to NULL.
 1.31  18-Mar-2014  riastradh branches: 1.31.2;
Merge riastradh-drm2 to HEAD.
 1.30  17-Jul-2013  matt kcpuset_t changes
 1.29  29-Jul-2012  matt branches: 1.29.2; 1.29.4; 1.29.10;
Add command line processing from uboot
bootm $loadaddr [opts] [device]
where opts is -[advqs] and device is the boot device.
cpu_rootconf will now wait a bit for devices to appear until the boot device
appears.
 1.28  22-Jul-2012  matt Split mdio/mii access into its own "device" and update accordingly.
(on the P1025 the mdio functionality is separate from the etsec functions).
Provide locking for mii access.
 1.27  18-Jul-2012  matt Add P1025 support to the PCI truth tables.
P1025 only has two PCIe ports, not 3.
 1.26  17-Jul-2012  matt The ETSEC on the P1025 has been moved/split so the MDIO stayed in the same
place but each ETSEC has been split into two virtual halves (G0 and G1) and
each one has a new different base address.
For some reason, tsec1 connects to phy 2 and tsec2 connects to phy 1.
Adjust config file to match
 1.25  15-Jul-2012  matt Add support for the Freescale TWR-P1025 evaluation board and the P1025/P1016
QorIQ processors. XXX tsec isn't working yet on the TWR-P1025.
 1.24  07-Jul-2012  skrll Whitespace.
 1.23  29-Mar-2012  matt Add support for PMAP_MINIMALTLB.
 1.22  27-Jan-2012  para branches: 1.22.2;
converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged
 1.21  02-Aug-2011  matt branches: 1.21.2; 1.21.6;
Fix tpyo.
 1.20  25-Jul-2011  matt Add support for MEMSIZE to limit the amount of memory detected.
 1.19  20-Jul-2011  matt Suppress a GCC 4.5 warning.
 1.18  17-Jul-2011  joerg Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.17  16-Jul-2011  matt Fix off-by-one.
 1.16  01-Jul-2011  matt Fix some array bounds errors found by gcc 4.5
 1.15  30-Jun-2011  matt Modify mapiodev to take a third argument indicating whether the space
should be prefetchable (true) or not (false).
 1.14  29-Jun-2011  matt Some initial MULTIPROCESSOR spin code. Doesn't work yet.
 1.13  25-Jun-2011  matt Make powerpc work on BookE. At this time we only support DOZE (lightest
form of power-saving). By default, power-saving is disabled but can be
enabled in /etc/sysctl.conf by setting machdep.powersave=1
 1.12  23-Jun-2011  matt Switch to using the common <common/pmap/tlb/tlb.h>
 1.11  15-Jun-2011  matt Move booke_fixup_stubs() to fixup.c and rename it to cpu_fixup_stubs().
This makes it easier for other PPC variants to use it.
 1.10  14-Jun-2011  matt print out the first 4 arguments to the kernel from the bootloader.
Add a definition of the uboot bootinfo structure.
 1.9  12-Jun-2011  mrg move module_machine_booke into the booke machdep.
 1.8  12-Jun-2011  mrg for booke and ibm4xx evbppc systems, set module_machine to to either
"powerpc-ibm4xx" or "powerpc-booke".
 1.7  05-Jun-2011  matt Remove <machine/atomic.h>; use <sys/atomic.h> instead.
Add <powerpc/cpuset.h> (for mpc85xx pmap).
Add some initial MP code for mpc85xx
Rework ipi code to be common across all ppcs
Change PPC to keep curlwp in %r13 while in the kernel.
Move astpending from cpu_info to mdlwp
Improve cpu_need_resched to be more MP friendly.
 1.6  28-May-2011  matt branches: 1.6.2;
allow configuring multiple CPUs (still needs work).
Detect boot page on MP e500 CPUs (P2020, MPC8572, etc) and prevent use of
that page in NetBSD. This page is used to communicate with u-boot to spin
up secondary CPUs.
Probe LBC before PCI so that LBC attached devices can be configured before
probing the PCI. This gives a chance to download/setup PCI Express switches
before probing/configuring PCI.
Fix PIXIS speed entry bug/typo.
Rework SYS_CLK logic so that the SYS_CLK config option has the highest priority.
 1.5  17-Feb-2011  matt branches: 1.5.2;
Support a little bus_space for mapping the GUR registers since some
devices use little endian registers. Add MPC8533 support.
 1.4  13-Feb-2011  matt Fix some typos.
 1.3  08-Feb-2011  matt Add MPC85xx variants.
Move to having a common kernel for all MPC85xx variants (CADMUS/PIXIS still
remain a problem).
 1.2  18-Jan-2011  matt branches: 1.2.2;
Add support for various MPC85xx platforms. The MPC8536DS and MPC8548CDS
development systems and the RB800 (routerboard 800) platform. The CF on
the RB800 doesn't work yet.
 1.1  07-Jan-2011  matt branches: 1.1.2; 1.1.4;
file machdep.c was initially added on branch matt-nb5-pq3.
 1.1.4.1  06-Jun-2011  jruoho Sync with HEAD.
 1.1.2.5  14-Oct-2011  matt Sync with current pulling P2020 and other newer processor support.
 1.1.2.4  02-Aug-2011  matt Pull in changes from -current to get ehci at cpunode working.
 1.1.2.3  26-Jul-2011  matt Fix typo.
 1.1.2.2  17-Jan-2011  matt Enable SPE for RB800.
Add SPE tidbits for mpc85xx.
 1.1.2.1  07-Jan-2011  matt Add mpc85xx support for MPC8536DS (Freescale Development System),
MPC8548CDS (Freescale Development System), and RB800 (RouterBoard 800).
 1.2.2.3  05-Mar-2011  bouyer Sync with HEAD
 1.2.2.2  17-Feb-2011  bouyer Sync with HEAD
 1.2.2.1  08-Feb-2011  bouyer Sync with HEAD
 1.5.2.4  12-Jun-2011  rmind sync with head
 1.5.2.3  31-May-2011  rmind sync with head
 1.5.2.2  05-Mar-2011  rmind sync with head
 1.5.2.1  17-Feb-2011  rmind file machdep.c was added on branch rmind-uvmplock on 2011-03-05 20:50:16 +0000
 1.6.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.21.6.2  05-Apr-2012  mrg sync to latest -current.
 1.21.6.1  18-Feb-2012  mrg merge to -current.
 1.21.2.3  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.21.2.2  30-Oct-2012  yamt sync with head
 1.21.2.1  17-Apr-2012  yamt sync with head
 1.22.2.1  09-May-2012  riz Pull up following revision(s) (requested by matt in ticket #241):
sys/arch/powerpc/conf/kern-mb.ldscript: revision 1.1
sys/arch/powerpc/include/booke/pmap.h: revision 1.9
sys/arch/powerpc/booke/e500_tlb.c: revision 1.8
sys/arch/powerpc/conf/files.powerpc: revision 1.83
sys/arch/powerpc/booke/booke_pmap.c: revision 1.13
sys/arch/powerpc/include/booke/e500var.h: revision 1.5
sys/arch/evbppc/mpc85xx/machdep.c: revision 1.23
Add ldscript which aligns .data to a 1MB boundary. (used for testing)
Add PMAP_MINIMALTLB defflag
Add vsize_t to pmap_md_{un,}map_poolpage.
Add pmap_kvptefill prototype.
Slightly change pmap_bootstrap prototype.
Add e500_tlb_minimize prototype.
Add support PMAP_MINIMALTLB option. This changes the default use of TLB1
entries to map all of physical memory to using two TLB1 entries, one for
mapping text and one for data. The rest of memory is mapped using the
page table which is updated as needed. This is used to trap memory
corruption issues.
Add support for PMAP_MINIMALTLB.
 1.29.10.1  23-Jul-2013  riastradh sync with HEAD
 1.29.4.1  28-Aug-2013  rmind sync with head
 1.29.2.2  03-Dec-2017  jdolecek update from HEAD
 1.29.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.31.2.1  10-Aug-2014  tls Rebase.
 1.33.4.2  05-Feb-2017  skrll Sync with HEAD
 1.33.4.1  06-Apr-2015  skrll Sync with HEAD
 1.41.2.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.43.4.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed