Home | History | Annotate | Download | only in apple
History log of /src/sys/arch/arm/apple/apple_intc.c
RevisionDateAuthorComments
 1.9  28-Jun-2022  jmcneill appleintc: update ci_cpl in pic_set_priority callback
 1.8  02-May-2022  ryo fix non-MULTIPROCESSOR build
 1.7  28-Mar-2022  riastradh arm/apple: Use container_of, not bespoke offsetof arithmetic.

Better type-safety this way.
 1.6  26-Nov-2021  skrll Mask the bottom 5 bits in the standard pic way. NFC.
 1.5  26-Nov-2021  skrll no need to shout
 1.4  31-Oct-2021  skrll 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
 1.3  16-Oct-2021  ryo fix non-MULTIPROCESSOR build

Build tested only.
 1.2  06-Sep-2021  jmcneill Instead of requiring drivers to be explicit about their device memory
mapping requirements, move this decision into the fdt layer. This
introduces a new MD function, fdtbus_bus_tag_create, which is responsible
for returning per-node bus_space handles.
 1.1  30-Aug-2021  jmcneill Add initial support for Apple M1.

Currently supported devices:
- Interrupt controller
- IOMMU
- PCIe (USB3 and ethernet)
- Reboot via watchdog
- Framebuffer console

RSS XML Feed