The NetBSD Project

CVS log for src/sys/arch/arm/include/bus_defs.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19 / (download) - annotate - [select for diffs], Sat Oct 15 11:07:38 2022 UTC (16 months, 1 week ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Use "non-posted" instead of "strongly ordered" to describe nGnRnE mappings

Rename the following defines:
 - _ARM_BUS_SPACE_MAP_STRONGLY_ORDERED to BUS_SPACE_MAP_NONPOSTED
 - PMAP_DEV_SO to PMAP_DEV_NP
 - LX_BLKPAG_ATTR_DEVICE_MEM_SO to LX_BLKPAG_ATTR_DEVICE_MEM_NP
Rename the following option:
 - AARCH64_DEVICE_MEM_STRONGLY_ORDERED to AARCH64_DEVICE_MEM_NONPOSTED

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jan 22 15:10:30 2022 UTC (2 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Ensure bus_dmatag_subregion is called with an inclusive max_addr
everywhere.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Aug 30 22:56:26 2021 UTC (2 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored)

Add storage for an iommu cookie in bus_dmamap_t and store untranslated CPU
address in bus_dma_segment_t.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Apr 23 06:02:48 2021 UTC (2 years, 10 months ago) by skrll
Branch: 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Trialing whitespace

Revision 1.11.2.3 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:04 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.11.2.2: +6 -0 lines
Diff to previous 1.11.2.2 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with HEAD

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:28:52 2020 UTC (3 years, 10 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.14: +7 -1 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Sync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 13 07:09:51 2020 UTC (3 years, 10 months ago) by maxv
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Changes since 1.14: +7 -1 lines
Diff to previous 1.14 (colored)

Add KASAN-DMA support on aarch64, same as amd64. Discussed with skrll@.

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:29 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.11.2.1: +8 -1 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored)

Merge changes from current as of 20200406

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Sun Dec 29 09:27:10 2019 UTC (4 years, 2 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Changes since 1.13: +8 -1 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #586):

	sys/arch/arm/nvidia/tegra_pcie.c: revision 1.27
	sys/arch/aarch64/aarch64/pmap.c: revision 1.57
	sys/arch/aarch64/aarch64/locore.S: revision 1.48
	sys/arch/aarch64/include/armreg.h: revision 1.29
	sys/arch/aarch64/aarch64/pmap.c: revision 1.58
	sys/arch/aarch64/aarch64/locore.S: revision 1.49
	sys/arch/arm/acpi/acpipchb.c: revision 1.14
	sys/arch/aarch64/aarch64/genassym.cf: revision 1.16
	sys/arch/arm/acpi/acpi_machdep.c: revision 1.13
	sys/arch/aarch64/include/pmap.h: revision 1.27
	sys/arch/aarch64/aarch64/genassym.cf: revision 1.17
	sys/arch/aarch64/include/pmap.h: revision 1.28
	sys/arch/arm/fdt/pcihost_fdtvar.h: revision 1.3
	sys/arch/arm/include/bus_defs.h: revision 1.14
	sys/arch/aarch64/aarch64/bus_space.c: revision 1.9
	sys/arch/arm/fdt/pcihost_fdt.c: revision 1.12
	sys/arch/aarch64/conf/files.aarch64: revision 1.15
	sys/arch/aarch64/conf/files.aarch64: revision 1.16
	sys/arch/arm/rockchip/rk3399_pcie.c: revision 1.9

Enable early write acknowledge for device memory mappings.

Do not use Early Write Acknowledge for PCIe I/O and config space.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Dec 28 17:19:43 2019 UTC (4 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.13: +8 -1 lines
Diff to previous 1.13 (colored)

Do not use Early Write Acknowledge for PCIe I/O and config space.

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

Sync with HEAD

Revision 1.10.28.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:19 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.10.28.1: +1 -1 lines
Diff to previous 1.10.28.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.13 / (download) - annotate - [select for diffs], Mon Nov 19 10:45:47 2018 UTC (5 years, 3 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-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)

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

Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 18 20:21:48 2018 UTC (5 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (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.10.28.1 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:12 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.10: +36 -6 lines
Diff to previous 1.10 (colored)

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

Revision 1.11 / (download) - annotate - [select for diffs], Sun Apr 1 04:35:04 2018 UTC (5 years, 10 months 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.10: +36 -6 lines
Diff to previous 1.10 (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.1.12.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:46 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.1.12.2: +4 -4 lines
Diff to previous 1.1.12.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:39:32 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.1.2.2: +12 -5 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

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")

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:44:58 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jan 29 00:42:15 2014 UTC (10 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, 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, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Make multiple inclusion symbols always start with _ARM_ (not _ARM32_ or
_MACHINE_).

Revision 1.1.12.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:29 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.1.12.1: +9 -2 lines
Diff to previous 1.1.12.1 (colored) to branchpoint 1.1 (colored)

resync with head

Revision 1.9 / (download) - annotate - [select for diffs], Sat Feb 16 06:49:59 2013 UTC (11 years ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.8: +7 -1 lines
Diff to previous 1.8 (colored)

Add PRIxBUSADDR, etal

Revision 1.1.10.2 / (download) - annotate - [select for diffs], Wed Feb 13 23:52:45 2013 UTC (11 years ago) by matt
Branch: matt-nb6-plus
Changes since 1.1.10.1: +3 -2 lines
Diff to previous 1.1.10.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jan 27 19:00:08 2013 UTC (11 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.7: +2 -3 lines
Diff to previous 1.7 (colored)

Get rid of _BUS_DMAMAP_MEM_XLATE

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 27 18:31:31 2013 UTC (11 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored)

Add a _BUS_DMAMAP_NOALLOC which tells bus_dmamem_alloc to skip that
dmarange when allocating memory.
Add a second dmarange to bcm23xx obio to allow it to map coherently mapped
memory.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jan 27 17:38:55 2013 UTC (11 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Add a flag to make bus_dmamem_map use the bus/sys transation table when
mapping bus addresses.  Make bcm2835 obio use it.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Jan 16 05:32:48 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.1.2.1: +57 -57 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

sync with (a bit old) head

Revision 1.1.10.1 / (download) - annotate - [select for diffs], Wed Nov 28 22:40:28 2012 UTC (11 years, 3 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.1: +116 -64 lines
Diff to previous 1.1 (colored)

Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.

Revision 1.1.12.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:05 2012 UTC (11 years, 3 months ago) by tls
Branch: tls-maxphys
Changes since 1.1: +116 -64 lines
Diff to previous 1.1 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 12 18:00:37 2012 UTC (11 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7
Changes since 1.4: +57 -57 lines
Diff to previous 1.4 (colored)

C99 types

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:04 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.1: +60 -8 lines
Diff to previous 1.1 (colored)

sync with head

Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 19 13:46:07 2012 UTC (11 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Make IS_BOUNCING a map flag and use it to simplify code and to avoid calling
the sync routines if (COHERENT|IS_BOUNCING) == COHERENT.  (this eeks out a
little bit more performance).

Revision 1.3 / (download) - annotate - [select for diffs], Wed Oct 17 20:17:18 2012 UTC (11 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

Add per-segment and per-ragne flag (to store _BUS_DMAMAP_COHERENT).
Use the per-range flag to set the per-segment flag.
This allows bus_dma to skip flushing for known coherent memory regions.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 18 05:47:27 2012 UTC (11 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.1: +57 -8 lines
Diff to previous 1.1 (colored)

Add bounce buffer support for ARM bus_dma(9).  Add macros to help initialize
bus_dma_tag structures.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jul 1 17:09:58 2011 UTC (12 years, 8 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, tls-maxphys, matt-nb6-plus

Per discussion at
<http://mail-index.netbsd.org/tech-kern/2010/04/02/msg007941.html>,
divide each machine's bus.h into bus_defs.h (constants & data types)
and bus_funcs.h (macro implementations of bus_space(9) routines and MD
prototypes).

Note that some bus_space(9) routines' implementation will move to .c
files from inline subroutines or macros in .h files.

I've only made the split for machine architectures where there is PCI.
All of the non-PCI-having architectures will require a similar split.

These #include files are not referenced by any (committed) Makefiles or
header files, yet.  Changes to Makefiles, to <sys/bus.h>, and to some
more machine-dependent files will dribble in before I throw the switch.

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>