CVS commit: [netbsd-9] src/sys/arch/arm/cortex

2021-03-31 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Mar 31 13:41:01 UTC 2021

Modified Files:
src/sys/arch/arm/cortex [netbsd-9]: gic.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #1238):

sys/arch/arm/cortex/gic.c: revision 1.47

Only target the boot cpu for real with SPI interrupts.  I tried to do
this back in 2014, but somehow I missed a spot.

This is a quick-and-dirty fix for the USB stack which expects transfer
completions to be in-order.  If interrupts happen across the CPUs then
this isn't guaranteed (yet).

kern/55243 panic at usb_transfer_complete() on raspberry pi 4


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.38.4.1 src/sys/arch/arm/cortex/gic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-9] src/sys/arch/arm/cortex

2020-05-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu May  7 18:25:14 UTC 2020

Modified Files:
src/sys/arch/arm/cortex [netbsd-9]: gic_v2m.c gic_v2m.h

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #895):

sys/arch/arm/cortex/gic_v2m.h: revision 1.3
sys/arch/arm/cortex/gic_v2m.c: revision 1.9

Do not store a pointer to the passed in struct pci_attach_args


To generate a diff of this commit:
cvs rdiff -u -r1.6.2.1 -r1.6.2.2 src/sys/arch/arm/cortex/gic_v2m.c
cvs rdiff -u -r1.1.8.1 -r1.1.8.2 src/sys/arch/arm/cortex/gic_v2m.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-9] src/sys/arch/arm/cortex

2020-02-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Feb 10 18:17:57 UTC 2020

Modified Files:
src/sys/arch/arm/cortex [netbsd-9]: gicv3_its.c

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #680):

sys/arch/arm/cortex/gicv3_its.c: revision 1.25

Use kmem_zalloc for its state, fixes possible crash if a driver tries to
set affinity before a CPU is online.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.21.2.1 src/sys/arch/arm/cortex/gicv3_its.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.