CVS log for src/sys/arch/arm/vexpress/vexpress_platform.c
Up to [cvs.NetBSD.org] / src / sys / arch / arm / vexpress
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Apr 7 08:55:31 2023 UTC (19 months, 4 weeks ago) by skrll
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +12 -12
lines
Rename ARM_PLATFORM to FDT_PLATFORM and make it available outside arm.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:29 2021 UTC (3 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -3
lines
Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.
Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)
Remove unnecessary or redundant interface attributes where they're not
needed.
There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:19 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +3 -2
lines
Sync with HEAD.
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 21:21:08 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +2 -3
lines
- FDT device enumeration now sets the device handle using CFARG_DEVHANDLE.
- fdtbus_device_register() is now obsolete, so G/C it.
- of_device_register() is now obsolete, so G/C it.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Feb 5 08:07:14 2021 UTC (3 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3
lines
Fix build
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Feb 4 22:36:54 2021 UTC (3 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -2
lines
Call acpi_device_register() / fdtbus_device_register() as approrpriate.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Oct 30 18:54:36 2020 UTC (4 years, 1 month ago) by skrll
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Sep 28 11:54:23 2020 UTC (4 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -4
lines
Get rid of a4x bus_space tag from fdtbus_attach_args. The only consumer
of this was various com(4) glue so modify all of that to use the new
com_init_regs_stride instead.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Jul 10 12:25:10 2020 UTC (4 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3
lines
Add support for KASAN on ARMv[67]
Thanks to maxv for many pointers and reviews.
Revision 1.8.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:38 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.8.2.2: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.2: +0 -10
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:31 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.1: +15 -17
lines
Merge changes from current as of 20200406
Revision 1.15.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:20 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +15 -17
lines
Sync with head.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Feb 15 08:16:12 2020 UTC (4 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +15 -17
lines
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}
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Jul 23 12:34:47 2019 UTC (5 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20191119,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -12
lines
No need for console=fb handling with WSDISPLAY_MULTICONS
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:57 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +48 -37
lines
Sync with HEAD
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Jan 31 13:16:31 2019 UTC (5 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20190609,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3
lines
Fix build
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Jan 31 13:06:10 2019 UTC (5 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +11 -4
lines
Change ap_mpstart to return non-zero value if any/all APs don't start.
Revision 1.6.2.6: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:20 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.6.2.5: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.2.5: +23 -23
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Oct 30 16:41:52 2018 UTC (6 years, 1 month ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +23 -23
lines
Retire fdt_putchar and ap_early_put_char in favour of uartputc.
Revision 1.6.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:26 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.6.2.4: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.4: +11 -7
lines
Sync with head
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Oct 18 09:01:53 2018 UTC (6 years, 1 month ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-1020
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +11 -7
lines
Provide generic start code that assumes the MMU is off and caches are
disabled as per the linux booting protocol for ARMv6 and ARMv7 boards.
u-boot image type should be changed to 'linux' for correct behaviour.
The new start code builds a minimal "bootstrap" L1PT with cached access
disabled and uses the same table for all processors. AP startup is
performed in less steps and more code is written in C.
The bootstrap tables and stack are placed into an (orphaned) section
"_init_memory" which is given to uvm when it is no longer used.
Various kernels have been converted to use this code and tested. Some
boards were provided by TNF. Thanks!
The GENERIC kernel now boots on boards using the TEGRA, SUNXI and EXYNOS
kernels. The GENERIC kernel will also work on RPI2 using u-boot.
Thanks to martin@ and aymeric@ for testing on parallella and nanosoc
respectively
Revision 1.6.2.4: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:39 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.6.2.3: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.3: +3 -3
lines
Ssync with HEAD
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Sep 21 12:04:07 2018 UTC (6 years, 2 months ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-0930
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3
lines
Centralise defparam CONSADDR, CONSPEED, CONMODE and CONADDR into
opt_console.h and adjust.
Revision 1.6.2.3: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:27 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.6.2.2: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.2: +10 -10
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Aug 5 14:02:35 2018 UTC (6 years, 4 months ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-0906
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +10 -10
lines
Add prefixes to struct arm_platform{,_info} members.
No functional change.
Revision 1.6.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:40 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.6.2.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.1: +18 -3
lines
Sync with HEAD
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jun 11 19:49:18 2018 UTC (6 years, 5 months ago) by jakllsch
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-0728,
pgoyette-compat-0625
Branch point for: phil-wifi
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +18 -3
lines
fill in vexpress_platform_early_putchar(); make comment about CONSADDR
Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Thu Mar 22 01:44:44 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4
lines
Synch with HEAD, resolve conflicts
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Mar 17 18:34:09 2018 UTC (6 years, 8 months ago) by ryo
Branches: MAIN
CVS tags: pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4
lines
move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag
no functional change. (preliminary changes for merging aarch64)
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Dec 19 09:04:19 2017 UTC (6 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3
lines
Trailing whitespace
Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:56 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.1: +217 -0
lines
update from HEAD
Revision 1.5.2.1
Sat Nov 18 00:25:43 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.5: +0 -217
lines
file vexpress_platform.c was added on branch tls-maxphys on 2017-12-03 11:35:56 +0000
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Nov 18 00:25:43 2017 UTC (7 years ago) by jmcneill
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Branch point for: tls-maxphys
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
Fix clcd node path for newer dtb
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Oct 22 20:35:32 2017 UTC (7 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -14
lines
Centralise defines for DEVMAP_{ALIGN,SIZE,ENTRY,ENTRY_END}
Revision 1.3.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:32 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.1: +229 -0
lines
Sync with HEAD
Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Tue Jun 6 16:26:53 2017 UTC (7 years, 6 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +14 -2
lines
Pull up following revision(s) (requested by jmcneill in ticket #13):
sys/arch/arm/fdt/plfb_fdt.c: revision 1.2
sys/arch/arm/vexpress/vexpress_platform.c: revision 1.3
sys/arch/evbarm/conf/VEXPRESS_A15: revision 1.13
sys/arch/evbarm/fdt/fdt_machdep.c: revisions 1.5, 1.6
sys/dev/ic/pl050.c: revision 1.2
Fix spelling of WS_DEFAULT_FG and WS_KERNEL_FG options.
--
Attach kbd slot to console
--
Allow plfb to be the console device
--
Add support for stdout-path= kernel cmdline option to override the
console device specified in the FDT.
--
Initialize boot_args before bootstrap for the benefit of platform code.
--
Allow 'console=fb' to act as a shortcut on vexpress for
'stdout-path=/smb@08000000/motherboard/iofpga@3,00000000/clcd@1f0000'
Revision 1.3.4.1
Tue Jun 6 09:56:57 2017 UTC (7 years, 6 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.3: +0 -229
lines
file vexpress_platform.c was added on branch nick-nhusb on 2017-08-28 17:51:32 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Jun 6 09:56:57 2017 UTC (7 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825
Branch point for: nick-nhusb
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +14 -2
lines
Allow 'console=fb' to act as a shortcut on vexpress for
'stdout-path=/smb@08000000/motherboard/iofpga@3,00000000/clcd@1f0000'
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jun 2 20:16:05 2017 UTC (7 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: netbsd-8-base
Branch point for: netbsd-8
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +53 -6
lines
Add SMP support to VEXPRESS_A15 kernel. Enable with '-smp 2' on qemu
command line.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jun 2 15:22:47 2017 UTC (7 years, 6 months ago) by jmcneill
Branches: MAIN
Switch VEXPRESS_A15 kernel to use FDT and GENERIC.common. The dtb for this
kernel can be found in the sysutils/dtb-arm-vexpress package as
vexpress-v2p-ca15-tc1.dtb
CVSweb <webmaster@jp.NetBSD.org>