Home | History | Annotate | Download | only in mainbus
History log of /src/sys/arch/arm/mainbus/cpu_mainbus.c
RevisionDateAuthorComments
 1.19  09-May-2024  pho kern/58195: arm: Support drvctl -d and -r for cpufeaturebus

This is required for detaching and re-attaching the vmt(4) driver on aarch64.
 1.18  15-Feb-2020  skrll Various updates and improvements to cpu start up on arm/aarch64

- start sharing more code around the AP startup messaging.
- call arm_cpu_topology_set early so that ci_core_id is available for
drivers, e.g. bcm2835_intr.c
- both arm and aarch64 now have
- a static cpu_info_store array
- the same arm_cpu_{hatched,mbox}
 1.17  28-Jan-2020  skrll Traiing whitespace
 1.16  29-Oct-2014  skrll branches: 1.16.20; 1.16.26;
Sprinkle #include "opt_multiprocessor.h"
 1.15  05-Jun-2014  matt branches: 1.15.2;
Cleanup a few MULTIPROCESSOR issues.
 1.14  28-Mar-2014  matt branches: 1.14.2;
arm_cpu_max = num of cpus
 1.13  29-Aug-2012  matt branches: 1.13.2; 1.13.4;
Add core locator to mainbus. Add support for attaching multiple CPUs
 1.12  29-Aug-2012  matt Use new armv7 CP15 register to print out cache types.
If the cpu_cc_freq is set, report it.
Add macros to make inlines for reading/writing co-processor registers.
 1.11  05-Jun-2011  matt branches: 1.11.2; 1.11.10;
struct device * -> device_t, struct cfdata * -> cfdata_t
CFATTACH_DECL(*, sizeof(struct device), -> CFATTACH_DECL_NEW(&, 0
 1.10  14-Mar-2009  dsl branches: 1.10.4; 1.10.6; 1.10.10;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.9  14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.8  11-Dec-2005  christos branches: 1.8.80; 1.8.88; 1.8.94; 1.8.98;
merge ktrace-lwp.
 1.7  15-Jul-2003  lukem __KERNEL_RCSID()
 1.6  02-Oct-2002  thorpej branches: 1.6.8;
Use CFATTACH_DECL().
 1.5  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.4  06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.3  05-Jan-2002  chris branches: 1.3.8;
Make some of the arm32 files build with LOOSE_PROTOTYPES not set in the makefile. Turned up a few mismatched functions. Note that this isn't all of the arm32 files. Aim will be to get arm32 kernels built with LOOSE_PROTOTYPES not set.
 1.2  23-Nov-2001  thorpej Use <arm/undefined.h> instead of <machine/undefined.h>.
 1.1  20-Apr-2001  matt branches: 1.1.2; 1.1.4; 1.1.6; 1.1.12;
Split cpu from mainbus so that cpu can attached to other buses (like ofbus).
 1.1.12.6  18-Oct-2002  nathanw Catch up to -current.
 1.1.12.5  17-Sep-2002  nathanw Catch up to -current.
 1.1.12.4  28-Feb-2002  nathanw Catch up to -current.
 1.1.12.3  11-Jan-2002  nathanw More catchup.
 1.1.12.2  08-Jan-2002  nathanw Catch up to -current.
 1.1.12.1  20-Apr-2001  nathanw file cpu_mainbus.c was added on branch nathanw_sa on 2002-01-08 00:23:18 +0000
 1.1.6.2  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.6.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.4.1  21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2  23-Apr-2001  bouyer Sync with HEAD.
 1.1.2.1  20-Apr-2001  bouyer file cpu_mainbus.c was added on branch thorpej_scsipi on 2001-04-23 09:41:35 +0000
 1.3.8.1  19-May-2002  gehenna Remove unnecessary #include
 1.6.8.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.8.2  18-Sep-2004  skrll Sync with HEAD.
 1.6.8.1  03-Aug-2004  skrll Sync with HEAD
 1.8.98.1  15-Feb-2014  matt Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.
 1.8.94.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.8.88.1  28-Apr-2009  skrll Sync with HEAD.
 1.8.80.1  04-May-2009  yamt sync with head.
 1.10.10.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.10.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.10.4.1  12-Jun-2011  rmind sync with head
 1.11.10.1  28-Nov-2012  matt Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.
 1.11.2.2  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.11.2.1  30-Oct-2012  yamt sync with head
 1.13.4.1  18-May-2014  rmind sync with head
 1.13.2.2  03-Dec-2017  jdolecek update from HEAD
 1.13.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.14.2.1  10-Aug-2014  tls Rebase.
 1.15.2.1  09-Nov-2014  martin Pull up following revision(s) (requested by skrll in ticket #188):
sys/arch/arm/include/arm32/pmap.h: revision 1.136
sys/arch/arm/include/armreg.h: revision 1.100
sys/arch/arm/cortex/gic.c: revision 1.11
sys/arch/arm/arm32/db_interface.c: revision 1.54
sys/arch/arm/include/armreg.h: revision 1.101
sys/arch/arm/cortex/gic.c: revision 1.12
sys/arch/arm/arm32/arm32_machdep.c: revision 1.107
sys/arch/arm/arm/cpufunc_asm_armv7.S: revision 1.19
sys/arch/arm/cortex/a9_mpsubr.S: revision 1.20
sys/arch/evbarm/conf/BPI: revision 1.5
sys/arch/arm/cortex/a9_mpsubr.S: revision 1.21
sys/arch/arm/arm32/pmap.c: revision 1.306
sys/arch/arm/arm32/db_machdep.c: revision 1.22
sys/arch/arm/arm32/arm32_tlb.c: revision 1.3
sys/arch/arm/arm/undefined.c: revision 1.55
sys/arch/arm/cortex/a9_mpsubr.S: revision 1.22
sys/arch/arm/arm32/pmap.c: revision 1.307
sys/arch/arm/arm32/arm32_tlb.c: revision 1.4
sys/arch/arm/cortex/a9_mpsubr.S: revision 1.23
sys/arch/arm/arm32/arm32_tlb.c: revision 1.5
sys/arch/evbarm/conf/BPI: revision 1.8
sys/arch/arm/cortex/a9_mpsubr.S: revision 1.24
sys/arch/arm/arm32/arm32_tlb.c: revision 1.6
sys/arch/arm/arm32/arm32_tlb.c: revision 1.7
sys/arch/evbarm/conf/CUBIETRUCK: revision 1.5
sys/arch/arm/pic/pic.c: revision 1.23
sys/arch/arm/pic/pic.c: revision 1.24
sys/arch/arm/pic/picvar.h: revision 1.11
sys/arch/arm/arm/cpufunc_asm_armv7.S: revision 1.20
sys/arch/arm/mainbus/cpu_mainbus.c: revision 1.16
sys/arch/arm/arm32/pmap.c: revision 1.298
sys/arch/arm/arm/cpufunc_asm_arm11.S: revision 1.17
sys/arch/arm/arm/cpufunc_asm_pj4b.S: revision 1.5
sys/arch/arm/arm32/pmap.c: revision 1.310
sys/arch/arm/arm32/pmap.c: revision 1.311
sys/arch/arm/arm32/arm32_kvminit.c: revision 1.32
sys/arch/arm/cortex/a9_mpsubr.S: revision 1.19
sys/arch/arm/arm32/arm32_boot.c: revision 1.10
sys/arch/arm/arm/ast.c: revision 1.25
sys/arch/arm/include/armreg.h: revision 1.98
sys/uvm/pmap/pmap_tlb.c: revision 1.10
sys/arch/arm/arm32/arm32_boot.c: revision 1.8
sys/arch/arm/arm32/arm32_boot.c: revision 1.9
sys/arch/arm/arm/arm_machdep.c: revision 1.43
Various ARM MP fixes.
 1.16.26.1  29-Feb-2020  ad Sync with head.
 1.16.20.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed