Home | History | Annotate | Download | only in pic
History log of /src/sys/arch/arm/pic/pic_splfuncs.c
RevisionDateAuthorComments
 1.24  25-Jun-2022  jmcneill Remove GIC_SPLFUNCS.
 1.23  25-Jun-2022  jmcneill pic: splx performance improvement

Skip disabling interrupts and check for pending hard interrupts if old
ipl was < IPL_VM.
 1.22  20-Sep-2021  jmcneill Make _splraise/_spllower/splx functions available to modules again.
 1.21  10-Aug-2021  jmcneill arm: pic: allow overriding _splraise/_spllower/splx
 1.20  27-Mar-2021  jmcneill Revert recent pic optimizations until I have more time to work on this.
 1.19  01-Mar-2021  jmcneill branches: 1.19.2;
Add DISABLE_INTERRUPT_SAVE(), like DISABLE_INTERRUPT() but also returns
the previous state.

Use DISABLE_INTERRUPT_SAVE()/ENABLE_INTERRUPT() in pic_splfuncs instead
of cpsid()/cpsie(). The difference here is the caller no longer specifies
which bits to disable and enable; on arm32 we continue to use I32_bit and
on aarch64 we now consistently toggle both IRQ and FIQ state.
 1.18  22-Feb-2021  jmcneill Make the splx fast path smaller.
 1.17  21-Feb-2021  jmcneill Inline pic_set_priority and use cpu_dosoftints_ci when available.
 1.16  20-Feb-2021  jmcneill Only disable/enable interrupts if processing pending interrupts, and
inline pic_set_pending_psw.
 1.15  20-Feb-2021  jmcneill Adjust ci_intr_depth when processing pending ints
 1.14  20-Feb-2021  jmcneill Inline "pic_do_pending_ints" in splx and check ci_pending_ipls to optimize
the common case (hw priority, no cascaded interrupts pending).

This also removes the need for the "pic_pending_used" flag, and should fix
booting on Raspberry Pi 3.
 1.13  16-Feb-2021  jmcneill pic: avoid pic_do_pending_ints if pic_mark_pending_* has never been called
 1.12  15-Feb-2021  jmcneill splx: use pic_set_priority_psw in interrupts disabled case to skip a few
more daif accesses.
 1.11  15-Feb-2021  jmcneill splx: restore priority even if interrupts are disabled
 1.10  15-Feb-2021  jmcneill splx: only dispatch hard interrupts if interrupts are enabled
 1.9  15-Feb-2021  jmcneill splx: only dispatch softints if interrupts are enabled
 1.8  01-Apr-2018  ryo branches: 1.8.14;
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@)
 1.7  02-Apr-2015  matt branches: 1.7.16;
#include <sys/lwp.h>
 1.6  29-Mar-2015  matt Add aarch64 support (mostly remapping I32_bit and F32_bit onto aarch64 bits).
 1.5  16-Apr-2014  matt branches: 1.5.4;
Do softints after restoring interrupts
 1.4  01-Sep-2012  matt branches: 1.4.2; 1.4.4; 1.4.12; 1.4.14;
Add PIC hooks for MP and for the ARM Generic Interrupt Controller.
 1.3  14-Jul-2012  matt Add hooks for __HAVE_PIC_SET_PRIORITY which allows updating of a hardware
(PIC) priority based on current IPL.
 1.2  28-May-2011  jakllsch branches: 1.2.4; 1.2.6; 1.2.14;
Restore ci_intr_depth increment for duration of pic_do_pending_ints() lost
when this code was moved.
 1.1  11-Mar-2011  bsh branches: 1.1.2;
split arch/arm/pic/pic.c so that we can implement more efficient version of splfoo() while using pic framework.
 1.1.2.3  31-May-2011  rmind sync with head
 1.1.2.2  21-Apr-2011  rmind sync with head
 1.1.2.1  11-Mar-2011  rmind file pic_splfuncs.c was added on branch rmind-uvmplock on 2011-04-21 01:40:53 +0000
 1.2.14.1  28-Nov-2012  matt Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.
 1.2.6.2  22-May-2014  yamt 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")
 1.2.6.1  30-Oct-2012  yamt sync with head
 1.2.4.2  06-Jun-2011  jruoho Sync with HEAD.
 1.2.4.1  28-May-2011  jruoho file pic_splfuncs.c was added on branch jruoho-x86intr on 2011-06-06 09:05:06 +0000
 1.4.14.1  10-Aug-2014  tls Rebase.
 1.4.12.2  15-Feb-2014  matt Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.
 1.4.12.1  01-Sep-2012  matt file pic_splfuncs.c was added on branch matt-nb5-mips64 on 2014-02-15 16:18:37 +0000
 1.4.4.1  18-May-2014  rmind sync with head
 1.4.2.2  03-Dec-2017  jdolecek update from HEAD
 1.4.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.4.1  06-Apr-2015  skrll Sync with HEAD
 1.7.16.1  07-Apr-2018  pgoyette Sync with HEAD. 77 conflicts resolved - all of them $NetBSD$
 1.8.14.1  03-Apr-2021  thorpej Sync with HEAD.
 1.19.2.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed