The NetBSD Project

CVS log for src/sys/arch/arm/cortex/gicv3_its.h

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jan 28 21:48:03 2025 UTC (2 months, 3 weeks ago) by jmcneill
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
gicv3_its: rename pt_dev_id to pt_index

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Dec 7 19:53:07 2024 UTC (4 months, 2 weeks ago) by jmcneill
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +24 -1 lines
gicv3: ITS: Add support for indirect device tables.

When devbits is too large to fit into the first level of device table,
some hardware supports the concept of indirect tables. Add support for
this and use it when supported.

This is required for MSIs to work properly on Snapdragon X Elite platforms
(otherwise, MAPD command fails and stalls the ITS command queue).

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Oct 31 16:23:47 2021 UTC (3 years, 5 months 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, netbsd-10-base, netbsd-10-1-RELEASE, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -1 lines
Rework Arm (32bit and 64bit) AP startup so that cpu_hatch doesn't sleep.

The AP initialisation code in cpu_init_secondary_processor will read and
initialise the required system registers and state for the BP to attach
and report.

Rework the interrupt handler code for this new sequence. Thankfully,
this removes a bunch of code for bcm2836mp.

The VFP detection handler on <= armv7 relies on the global undefined
handler being in place until the BP attaches vfp. That is, after the
APs have been spun up.

gicv3_its.c has a serialisation issue which is protected against in
the gicv3_its_cpu_init, which is called from cpu_hatch, with a spin
lock. The serialisation issue needs addressing more completely.

Tested on RPI3, Apple M1, QEMU, and lx2k

Fixes PR port-arm/56264:
   diagnostic assertion "l->l_stat == LSONPROC" failed on RPI3

Revision 1.6.10.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:16 2021 UTC (4 years ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +3 -3 lines
Sync with HEAD.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jan 16 21:05:15 2021 UTC (4 years, 3 months ago) by jmcneill
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-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
Remove MAXCPUS dependency.

Revision 1.4.4.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:33 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.4.4.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.2: +3 -2 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jun 12 21:02:07 2019 UTC (5 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, 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, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Allow set_affinity calls before PEs are brought online. We store the
desired target PE if set_affinity is called early and restore the routes
when the PE comes alive.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jun 12 10:00:09 2019 UTC (5 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -1 lines
Fail gracefully if gicv3_its_set_affinity is called before a cpu is
brought online.

Revision 1.4.4.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:52 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.4.1: +74 -0 lines
Sync with HEAD

Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:32 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.2: +2 -1 lines
Sync with HEAD, resolve a few conflicts

Revision 1.4.4.1
Wed Nov 28 22:54:11 2018 UTC (6 years, 4 months ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.4: +0 -74 lines
file gicv3_its.h was added on branch phil-wifi on 2019-06-10 22:05:52 +0000

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Nov 28 22:54:11 2018 UTC (6 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1 lines
Allow non-power of 2 counts, and support alloc/release/alloc patterns for a device as long as the ITT size is sufficient

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:18 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +73 -0 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.3.2.1
Sat Nov 24 22:08:53 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.3: +0 -73 lines
file gicv3_its.h was added on branch pgoyette-compat on 2018-11-26 01:52:18 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Nov 24 22:08:53 2018 UTC (6 years, 5 months ago) by jakllsch
Branches: MAIN
CVS tags: pgoyette-compat-1126
Branch point for: pgoyette-compat
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -1 lines
include dev/pci/pcivar.h, we use pci_attach_args directly

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Nov 10 11:46:31 2018 UTC (6 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -2 lines
Implement pic_get_affinity/pic_set_affinity for LPIs via ITS

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Nov 9 23:36:24 2018 UTC (6 years, 5 months ago) by jmcneill
Branches: MAIN
Add support for GICv3 Locality-specific Periphal Interrupts (LPIs) and the
Interrupt Translation Service (ITS).

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>