The NetBSD Project

CVS log for src/sys/arch/arm/pic/pic_splfuncs.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.24 / (download) - annotate - [select for diffs], Sat Jun 25 13:24:35 2022 UTC (21 months, 2 weeks 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-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, HEAD
Changes since 1.23: +8 -51 lines
Diff to previous 1.23 (colored)

Remove GIC_SPLFUNCS.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jun 25 12:39:46 2022 UTC (21 months, 2 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.22: +18 -13 lines
Diff to previous 1.22 (colored)

pic: splx performance improvement

Skip disabling interrupts and check for pending hard interrupts if old
ipl was < IPL_VM.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Sep 20 21:05:15 2021 UTC (2 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.21: +43 -5 lines
Diff to previous 1.21 (colored)

Make _splraise/_spllower/splx functions available to modules again.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Aug 10 15:31:55 2021 UTC (2 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.20: +16 -8 lines
Diff to previous 1.20 (colored)

arm: pic: allow overriding _splraise/_spllower/splx

Revision 1.8.14.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:18 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 21:44:41 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.19: +16 -51 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Mar 27 12:15:09 2021 UTC (3 years ago) by jmcneill
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-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.19: +16 -51 lines
Diff to previous 1.19 (colored)

Revert recent pic optimizations until I have more time to work on this.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Mar 1 11:29:14 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Branch point for: thorpej-cfargs
Changes since 1.18: +8 -7 lines
Diff to previous 1.18 (colored)

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.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Feb 22 21:16:25 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.17: +31 -19 lines
Diff to previous 1.17 (colored)

Make the splx fast path smaller.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Feb 21 17:07:45 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.16: +8 -7 lines
Diff to previous 1.16 (colored)

Inline pic_set_priority and use cpu_dosoftints_ci when available.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Feb 20 22:53:31 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.15: +10 -5 lines
Diff to previous 1.15 (colored)

Only disable/enable interrupts if processing pending interrupts, and
inline pic_set_pending_psw.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Feb 20 19:35:07 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored)

Adjust ci_intr_depth when processing pending ints

Revision 1.14 / (download) - annotate - [select for diffs], Sat Feb 20 19:30:46 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.13: +30 -35 lines
Diff to previous 1.13 (colored)

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.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Feb 16 22:12:50 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.12: +35 -21 lines
Diff to previous 1.12 (colored)

pic: avoid pic_do_pending_ints if pic_mark_pending_* has never been called

Revision 1.12 / (download) - annotate - [select for diffs], Mon Feb 15 16:32:07 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

splx: use pic_set_priority_psw in interrupts disabled case to skip a few
more daif accesses.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Feb 15 16:04:01 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)

splx: restore priority even if interrupts are disabled

Revision 1.10 / (download) - annotate - [select for diffs], Mon Feb 15 15:42:58 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.9: +9 -7 lines
Diff to previous 1.9 (colored)

splx: only dispatch hard interrupts if interrupts are enabled

Revision 1.9 / (download) - annotate - [select for diffs], Mon Feb 15 15:07:47 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.8: +5 -4 lines
Diff to previous 1.8 (colored)

splx: only dispatch softints if interrupts are enabled

Revision 1.7.16.1 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:12 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.7: +3 -8 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Sun Apr 1 04:35:04 2018 UTC (6 years ago) by ryo
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, 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, netbsd-9-base, 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, isaki-audio2-base, isaki-audio2, 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
Changes since 1.7: +3 -8 lines
Diff to previous 1.7 (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.4.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:55 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.4.2.1: +8 -1 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

update from HEAD

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:17:53 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.5: +10 -3 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Thu Apr 2 03:11:34 2015 UTC (9 years ago) by matt
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, 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, 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, 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.6: +3 -2 lines
Diff to previous 1.6 (colored)

#include <sys/lwp.h>

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 29 00:31:30 2015 UTC (9 years ago) by matt
Branch: MAIN
Changes since 1.5: +9 -3 lines
Diff to previous 1.5 (colored)

Add aarch64 support (mostly remapping I32_bit and F32_bit onto aarch64 bits).

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:47 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.4: +3 -6 lines
Diff to previous 1.4 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.4.14.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:53:52 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.4: +3 -6 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Rebase.

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Thu May 22 11:39:34 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.6.1: +3 -6 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (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.4.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:44:59 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.4: +3 -6 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with head

Revision 1.5 / (download) - annotate - [select for diffs], Wed Apr 16 22:44:42 2014 UTC (9 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, nick-nhusb-base, 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
Branch point for: nick-nhusb
Changes since 1.4: +3 -6 lines
Diff to previous 1.4 (colored)

Do softints after restoring interrupts

Revision 1.4.12.2 / (download) - annotate - [select for diffs], Sat Feb 15 16:18:37 2014 UTC (10 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.4.12.1: +104 -0 lines
Diff to previous 1.4.12.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.

Revision 1.2.14.1 / (download) - annotate - [select for diffs], Wed Nov 28 22:40:39 2012 UTC (11 years, 4 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.2: +34 -17 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

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

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:08 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.2: +34 -17 lines
Diff to previous 1.2 (colored)

sync with head

Revision 1.4.12.1, Sat Sep 1 00:00:42 2012 UTC (11 years, 7 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.4: +0 -104 lines
FILE REMOVED

file pic_splfuncs.c was added on branch matt-nb5-mips64 on 2014-02-15 16:18:37 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Sat Sep 1 00:00:42 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, matt-nb6-plus-nbase, matt-nb6-plus-base, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy, rmind-smpnet, matt-nb5-mips64
Changes since 1.3: +31 -15 lines
Diff to previous 1.3 (colored)

Add PIC hooks for MP and for the ARM Generic Interrupt Controller.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jul 14 07:52:53 2012 UTC (11 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.2: +5 -4 lines
Diff to previous 1.2 (colored)

Add hooks for __HAVE_PIC_SET_PRIORITY which allows updating of a hardware
(PIC) priority based on current IPL.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:06 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.2.4.1: +87 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Tue May 31 03:03:56 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.1.2.2: +4 -0 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.2.4.1, Sat May 28 20:56:37 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.2: +0 -87 lines
FILE REMOVED

file pic_splfuncs.c was added on branch jruoho-x86intr on 2011-06-06 09:05:06 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sat May 28 20:56:37 2011 UTC (12 years, 10 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-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, 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, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, matt-nb6-plus, jruoho-x86intr
Changes since 1.1: +6 -2 lines
Diff to previous 1.1 (colored)

Restore ci_intr_depth increment for duration of pic_do_pending_ints() lost
when this code was moved.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:40:53 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.1.2.1: +83 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

sync with head

Revision 1.1.2.1, Fri Mar 11 03:16:14 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.1: +0 -83 lines
FILE REMOVED

file pic_splfuncs.c was added on branch rmind-uvmplock on 2011-04-21 01:40:53 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Fri Mar 11 03:16:14 2011 UTC (13 years, 1 month ago) by bsh
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: rmind-uvmplock

split arch/arm/pic/pic.c so that we can implement more efficient version of splfoo() while using pic framework.

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>