The NetBSD Project

CVS log for src/sys/arch/arm/arm32/armv7_generic_space.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / arm32

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Fri Oct 30 18:54:36 2020 UTC (3 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, 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, HEAD
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jun 20 07:10:36 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

KNF #includes

Remove some unnecessary ones while I'm here.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:28 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.8.2.1: +3 -3 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Merge changes from current as of 20200406

Revision 1.10.6.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:17 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with head.

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Thu Feb 27 19:06:23 2020 UTC (4 years, 1 month ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Pull up following revision(s) (requested by skrll in ticket #742):

	sys/arch/arm/arm32/pmap.c: revision 1.388
	sys/arch/arm/arm32/armv7_generic_space.c: revision 1.11
	sys/arch/arm/arm/cpufunc.c: revision 1.176
	sys/arch/arm/conf/Makefile.arm: revision 1.54 (via patch)
	sys/arch/arm/include/arm32/pmap.h: revision 1.161

Fix the armv[67] memory attributes for uncached memory.  Previously it was
mapped as strongly-ordered which meant that unaligned accesses would fault.
armv7_generic_bs_map now maps pages with PMAP_DEV which is treated as SO
bus_dma continues to use PMAP_NOCACHE as appropriate, but this now get
mapped to the correct memory attribute bits for armv[67]

DEVMAP_ENTRY usees a new flag PTE_DEV.

The workaround for the unaligned access faults is now removed.
XXX Other armv[67] boards bus_space implementations should be checked.
XXX There is scope to reduce the difference to aarch64

Revision 1.11 / (download) - annotate - [select for diffs], Wed Feb 5 07:37:35 2020 UTC (4 years, 2 months ago) by skrll
Branch: 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
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Fix the armv[67] memory attributes for uncached memory.  Previously it was
mapped as strongly-ordered which meant that unaligned accesses would fault.

armv7_generic_bs_map now maps pages with PMAP_DEV which is treated as SO

bus_dma continues to use PMAP_NOCACHE as appropriate, but this now get
mapped to the correct memory attribute bits for armv[67]

DEVMAP_ENTRY usees a new flag PTE_DEV.

The workaround for the unaligned access faults is now removed.

XXX Other armv[67] boards bus_space implementations should be checked.
XXX There is scope to reduce the difference to aarch64

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:51 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Sync with HEAD

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:17 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.6.2.2: +2 -2 lines
Diff to previous 1.6.2.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.10 / (download) - annotate - [select for diffs], Mon Nov 19 10:45:47 2018 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: netbsd-9, ad-namecache
Changes since 1.9: +2 -6 lines
Diff to previous 1.9 (colored)

On second thought, get rid of "bs_base" from struct bus_space and use a
custom bs_map for acpipchb instead.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Nov 18 20:21:48 2018 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.8: +6 -2 lines
Diff to previous 1.8 (colored)

Add a "bs_base" field to struct bus_space. If present, use it to translate
mappings by appending the value to the pa passed to bus_space_map.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:11 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.6.2.1: +5 -2 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored)

Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.8 / (download) - annotate - [select for diffs], Sun Apr 1 04:35:03 2018 UTC (6 years ago) by ryo
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407
Branch point for: phil-wifi
Changes since 1.7: +5 -2 lines
Diff to previous 1.7 (colored)

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Thu Mar 22 01:44:42 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.6: +140 -140 lines
Diff to previous 1.6 (colored)

Synch with HEAD, resolve conflicts

Revision 1.7 / (download) - annotate - [select for diffs], Fri Mar 16 17:56:31 2018 UTC (6 years ago) by ryo
Branch: MAIN
CVS Tags: pgoyette-compat-0330, pgoyette-compat-0322
Changes since 1.6: +140 -140 lines
Diff to previous 1.6 (colored)

use designated initializer to make adaptability and flexibility for changing struct bus_space.
no functional change.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jan 22 13:29:28 2018 UTC (6 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.5: +10 -6 lines
Diff to previous 1.5 (colored)

Pass PMAP_WRITE_COMBINE as appropriate in armv7_generic_bs_map, i.e.
same fix as bcm283x_bs_map just got.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 22 13:28:00 2018 UTC (6 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Trailing whitespace

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:51 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.4.2.1: +416 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

update from HEAD

Revision 1.4.2.1, Mon Nov 27 07:44:27 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.4: +0 -416 lines
FILE REMOVED

file armv7_generic_space.c was added on branch tls-maxphys on 2017-12-03 11:35:51 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Mon Nov 27 07:44:27 2017 UTC (6 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Branch point for: tls-maxphys
Changes since 1.3: +6 -6 lines
Diff to previous 1.3 (colored)

KNF

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:24 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1.2.3: +4 -4 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Sat Aug 6 00:19:04 2016 UTC (7 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 1 19:05:24 2016 UTC (7 years, 8 months ago) by jakllsch
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Add pointer to bus_space_set_region_4 implemenation in armv7_generic_bs_tag.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:30 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1.2.2: +8 -8 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 18 00:37:56 2015 UTC (8 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Branch point for: pgoyette-localcount
Changes since 1.1: +8 -8 lines
Diff to previous 1.1 (colored)

mark a4x read region / write region as not implemented

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Apr 6 15:17:52 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.1.2.1: +416 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Sync with HEAD

Revision 1.1.2.1, Sun Mar 29 22:26:18 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.1: +0 -416 lines
FILE REMOVED

file armv7_generic_space.c was added on branch nick-nhusb on 2015-04-06 15:17:52 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 29 22:26:18 2015 UTC (9 years ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Branch point for: nick-nhusb

Shared armv7 bus space implementation.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>