The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.85: download - view: text, markup, annotated - select for diffs
Sun Oct 30 10:20:45 2022 UTC (2 years ago) by riastradh
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-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, HEAD
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +20 -5 lines
arm/pic: Sprinkle dtrace probes on interrupt handlers like x86.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sat Oct 29 15:13:27 2022 UTC (2 years ago) by riastradh
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +9 -5 lines
arm/pic: Use a local variable to reduce #ifdef scope.

Avoids straddling a conditional this way.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Jul 28 10:26:26 2022 UTC (2 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +6 -6 lines
arm/pic: Mark definitions static to match declarations.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Thu Jul 28 10:26:15 2022 UTC (2 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +9 -2 lines
arm/pic: Assert ci_cpl doesn't lower across interrupt handler.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Thu Jul 28 07:15:27 2022 UTC (2 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +7 -4 lines
Catch up with the per lwp astpending (rather than per cpu) flag in the
preemption code.  NFC as preemption (still) isn't enabled.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sat Jun 25 12:41:56 2022 UTC (2 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +7 -8 lines
pic: Update ci_cpl in pic_set_priority callback.

Not all ICs need interrupts disabled to update the priority. DAIF accesses
are not cheap, so push the update of ci_cpl from pic_set_priority to the
IC's pic_set_priority callback, and let the IC driver determine whether
or not it needs interrupts disabled.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Jan 2 11:17:39 2022 UTC (2 years, 10 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -4 lines
arm: No #if DIAGNOSTIC needed any more.

Compiler can (and gcc does) flush call to strlen when the result is
unused, so no performance impact here.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Dec 21 07:11:02 2021 UTC (2 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +26 -24 lines
Fix a bug where pic_establish_intr would fail to call pic_establish_irq
if a free pic__iplsources slot was found, i.e. an interrupt handler at
the same ipl had been disestablished previously.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Tue Dec 21 07:07:32 2021 UTC (2 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -5 lines
G/C pic_iplsource

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Dec 21 06:51:16 2021 UTC (2 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +9 -8 lines
KNF

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Oct 31 16:29:18 2021 UTC (3 years ago) by skrll
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -3 lines
Only perform pic_unblock_percpu if all of the following are true
- mp_online, i.e. APs are running.
- is_mpsafe, i.e. the interrupt handler is MP safe
- is_percpu, i.e. the interrupt actually requires it!

The last one (is_percpu) is true for GIC PPI+SGI only.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Oct 31 16:24:47 2021 UTC (3 years ago) by skrll
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -2 lines
Assert we can sleep in pic_add

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Oct 31 16:23:48 2021 UTC (3 years ago) by skrll
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3 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.72: download - view: text, markup, annotated - select for diffs
Sun Sep 26 13:38:49 2021 UTC (3 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +19 -4 lines
If an SGI or PPI is established after interrupts are enabled, make sure
we unblock the source on _all_ CPUs and not just the CPU that is
establishing the interrupt.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Aug 8 19:28:08 2021 UTC (3 years, 3 months ago) by skrll
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +30 -60 lines
Re-apply

Move 'struct pic_pending' from percpu to struct cpu_info. Saves a few
instructions in splx.

There is(/was) no need to use atomic operations on the percpu / cpu_info
members, so don't.

Finally removng the use of percpu should help avoid problems with "late"
attaching cpus.

Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:18 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +10 -8 lines
Sync with HEAD.

Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 21:44:41 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +77 -34 lines
Sync with HEAD.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Mar 27 12:15:09 2021 UTC (3 years, 7 months ago) by jmcneill
Branches: MAIN
CVS tags: 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
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +77 -34 lines
Revert recent pic optimizations until I have more time to work on this.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Feb 21 17:07:45 2021 UTC (3 years, 8 months ago) by jmcneill
Branches: MAIN
Branch point for: thorpej-cfargs
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +5 -33 lines
Inline pic_set_priority and use cpu_dosoftints_ci when available.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Feb 21 08:31:36 2021 UTC (3 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +7 -4 lines
Fixup with __HAVE_PREEMPTION code which is currently unused

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Feb 20 19:30:46 2021 UTC (3 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -13 lines
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.66: download - view: text, markup, annotated - select for diffs
Sat Feb 20 14:51:07 2021 UTC (3 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +31 -62 lines
Move 'struct pic_pending' from percpu to struct cpu_info. Saves a few
instructions in splx.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Feb 16 22:12:49 2021 UTC (3 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +11 -2 lines
pic: avoid pic_do_pending_ints if pic_mark_pending_* has never been called

Revision 1.64: download - view: text, markup, annotated - select for diffs
Mon Feb 15 16:32:07 2021 UTC (3 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -3 lines
splx: use pic_set_priority_psw in interrupts disabled case to skip a few
more daif accesses.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Feb 15 13:03:52 2021 UTC (3 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +20 -5 lines
pic: reduce the number of daif accesses in pic_do_pending_ints

The caller has already provided daif state. No need to keep updating
daif via pic_set_priority if it's already in the state we need (interrupts
disabled).

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Feb 7 21:18:37 2021 UTC (3 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +6 -5 lines
Use ENABLE_INTERRUPT() / DISABLE_INTERRUPT() instead of cpsie()/cpsid() in
places where we don't care about the cpsie() return value.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Nov 1 14:42:05 2020 UTC (4 years ago) by jmcneill
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -2 lines
intr_ipi_send: assert that kcp is either NULL or contains exactly one CPU

Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Oct 26 07:16:41 2020 UTC (4 years ago) by skrll
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +11 -3 lines
Improve a comment

Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Oct 26 07:14:42 2020 UTC (4 years ago) by skrll
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +6 -4 lines
KNF

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Oct 25 08:29:30 2020 UTC (4 years ago) by skrll
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -3 lines
KASSERT -> KASSERTMSG

Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Jul 27 16:26:51 2020 UTC (4 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -3 lines
Trailing whitespace

Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:30 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.1: +57 -55 lines
Merge changes from current as of 20200406

Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:19 2020 UTC (4 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +25 -52 lines
Sync with head.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Feb 1 12:55:35 2020 UTC (4 years, 9 months ago) by riastradh
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -6 lines
KNF

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Feb 1 12:55:26 2020 UTC (4 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +20 -26 lines
Reduce some ifdefs.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Feb 1 12:55:13 2020 UTC (4 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -15 lines
pic_pending_zero is unnecessary; percpu_alloc already zeroes.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Feb 1 12:55:02 2020 UTC (4 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +6 -14 lines
Switch arm pic allocation and initialization to percpu_create.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Dec 24 20:40:09 2019 UTC (4 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +11 -4 lines
Update pic_add to allocate and return an irqbase if passed
PIC_IRQBASE_ALLOC.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Dec 24 20:37:44 2019 UTC (4 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3 lines
Make pic_sourcebase static

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Dec 23 15:51:47 2019 UTC (4 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +6 -4 lines
Add reference counts to intr_mask/intr_unmask as calls can be nested, spotted by thorpej

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Dec 23 15:34:23 2019 UTC (4 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +22 -2 lines
Implement acpi_md_intr_mask and acpi_md_intr_unmask

Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:55 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +254 -5 lines
Sync with HEAD

Revision 1.41.2.4: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:19 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.41.2.3: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.2.3: +211 -4 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Nov 16 15:06:22 2018 UTC (5 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, 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, isaki-audio2-base, isaki-audio2
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +32 -5 lines
Add intr_establish_xname support to arm and expose it to intrctl

Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Nov 13 20:24:48 2018 UTC (5 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +5 -5 lines
Fix intrctl for pics with non-0 irqbase

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Nov 11 10:14:14 2018 UTC (5 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +182 -2 lines
Add support for intrctl(8).

Revision 1.41.2.3: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:26 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.41.2.2: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.2: +20 -2 lines
Sync with head

Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Oct 12 21:46:32 2018 UTC (6 years ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-1020
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +20 -2 lines
Implement intr_string(9)

Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:29 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.41.2.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.1: +27 -3 lines
Sync with HEAD

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Jul 15 16:03:24 2018 UTC (6 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +26 -2 lines
Add support for setting and getting interrupt affinity.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Jul 9 06:08:42 2018 UTC (6 years, 4 months ago) by ryo
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
fix false positive KASSERT.
the case that secondary processors failed to hatch, and not attached.

when "cpu1 at cpus0: disabled (unresponsive)"

Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 7 04:12:12 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -8 lines
Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Apr 1 04:35:04 2018 UTC (6 years, 7 months ago) by ryo
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407
Branch point for: phil-wifi
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -8 lines
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.14.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:55 2017 UTC (6 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.14.2.2: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.2: +182 -62 lines
update from HEAD

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Oct 12 19:59:22 2017 UTC (7 years ago) by skrll
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +7 -7 lines
Trailing whitespace

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Sep 21 19:29:14 2017 UTC (7 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
spaces to TAB

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Aug 29 22:57:05 2017 UTC (7 years, 2 months ago) by nisimura
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +4 -4 lines
decouple pic_ipi_kpreempt() from DDB

Revision 1.25.2.4: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:31 2017 UTC (7 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.25.2.3: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.3: +2 -7 lines
Sync with HEAD

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Aug 25 20:36:16 2017 UTC (7 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3 lines
The assertion at the bottom of intr_ipi_send is invalid for UP configs; add
a text for arm_cpu_max == 1

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:06 2017 UTC (7 years, 5 months ago) by chs
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-3-RELEASE, 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
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -7 lines
remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

Revision 1.25.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:31 2015 UTC (8 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.25.2.2: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.2: +4 -3 lines
Sync with HEAD (as of 26th Dec)

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Oct 11 20:20:33 2015 UTC (9 years ago) by mlelstv
Branches: MAIN
CVS tags: 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, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -3 lines
unblock interrupts also when reusing a previously freed irq slot.

Revision 1.22.2.3: download - view: text, markup, annotated - select for diffs
Thu Jul 30 09:37:37 2015 UTC (9 years, 3 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.22.2.2: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.2: +126 -48 lines
Pull up following revision(s) (requested by skrll in ticket #890):
	sys/arch/arm/pic/pic.c: revision 1.27-1.32
	sys/arch/arm/omap/omap5430_intr.h: revision 1.3
	sys/arch/arm/broadcom/bcm2835_obio.c: revision 1.25
	sys/arch/arm/cortex/gic.c: revision 1.18
	sys/arch/arm/broadcom/bcm2835reg.h: revision 1.15
	sys/arch/evbarm/rpi/rpi_machdep.c: revision 1.61
	sys/arch/arm/broadcom/bcm2835_intr.h: revision 1.2
	sys/arch/arm/marvell/mvsoc_intr.h: revision 1.5
	sys/arch/arm/broadcom/bcm2835_intr.c: revision 1.8-1.10
	sys/arch/arm/pic/picvar.h: revision 1.12-1.14
	sys/arch/arm/omap/omap4430_intr.h: revision 1.3

Don't clear CI_ASTPENDING in exception return, do it in ast() instead.
Add basic support for __HAVE_PREEMPTION.
Use atomic ops for ci_astpending if __HAVE_PREEMPTION is defined.
Use kpreempt_disable/kpreempt_enable
Add __HAVE_PIC_HAVE_PENDING_INTRS and define it if __HAVE_PIC_SET_PRIORITY
is undefined (also define in mvsoc_intr.h since their use of the latter is
peculiar).  This new define controls whether the pending interrupt logic is
compiled.  The GIC doesn't use pending interrupts since it uses the priority
level on the GIC to control delivery of interrupts, thus there can never
be a pending interrupt.  The kernel shrinks about 4KB with the removal of
the pending interupt support,
Only if we __HAVE_PIC_PENDING_INTRS do we need the variables to track them.
Add #define __HAVE_PIC_PENDING_INTRS for the non-GIC PICs.
Add a pic_cpus to the softc which specifies which cpus the pic can send
IPIs to.  For GIC, initialize pic_cpus to kcpuset_running since it can handle
all the cpus.
Adapt pic to deal with the BCM2836 interrupts.
Move pic_pending_pics, pic_pending_ipls, and pic_blocked_irqs into a
structure and make then per-cpu.  There is no global interrupt state anymore.
Use right kcpuset call.
Don't need pic_ipi_sender anymore.
Don't send IPIs to ourselves if sending to everyone.
RPI2 MP support.
Thanks to Matt Thomas for making this possible with his changes to pic.c
Use a bit per IPI type in local mailbox 0 registers. Ok matt@
IPIs should be IPL_HIGH according to rmind@
Fix bcm2836mp_pic_{un,}block_irqs to handle timer AND mailbox interrupts
if they're both passed.  Thanks to nat@ for finding this.
Sprinkle some KASSERTs

Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:39:56 2015 UTC (9 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.25.2.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.1: +172 -55 lines
Sync with HEAD

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Apr 18 14:09:32 2015 UTC (9 years, 6 months ago) by skrll
Branches: MAIN
CVS tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +27 -4 lines
Serialise work in pic_add.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Apr 15 15:45:06 2015 UTC (9 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +18 -2 lines
Add separate IPI routines for IPI_AST and IPI_KPREEMPT.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Apr 14 22:36:54 2015 UTC (9 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
__HAVE_PREEEMPTION -> __HAVE_PREEMPTION

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Apr 12 15:32:19 2015 UTC (9 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +7 -2 lines
Don't send IPIs to ourselves if sending to everyone.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Apr 12 08:55:14 2015 UTC (9 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -14 lines
Don't need pic_ipi_sender anymore.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Apr 12 08:52:54 2015 UTC (9 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
Use right kcpuset call.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Apr 11 19:39:09 2015 UTC (9 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +108 -37 lines
Adapt pic to deal with the BCM2836 interrupts.
Move pic_pending_pics, pic_pending_ipls, and pic_blocked_irqs into a
structure and make then per-cpu.  There is no global interrupt state anymore.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Apr 8 21:43:30 2015 UTC (9 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +13 -5 lines
Add __HAVE_PIC_HAVE_PENDING_INTRS and define it if __HAVE_PIC_SET_PRIORITY
is undefined (also define in mvsoc_intr.h since their use of the latter is
peculiar).  This new define controls whether the pending interrupt logic is
compiled.  The GIC doesn't use pending interrupts since it uses the priority
level on the GIC to control delivery of interrupts, thus there can never
be a pending interrupt.  The kernel shrinks about 4KB with the removal of
the pending interupt support,

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Apr 8 18:10:08 2015 UTC (9 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +8 -2 lines
Don't clear CI_ASTPENDING in exception return, do it in ast() instead.
Add basic support for __HAVE_PREEMPTION.
Use atomic ops for ci_astpending if __HAVE_PREEMPTION is defined.
Use kpreempt_disable/kpreempt_enable

Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:17:53 2015 UTC (9 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +8 -2 lines
Sync with HEAD

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Mar 29 00:31:30 2015 UTC (9 years, 7 months ago) by matt
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +8 -2 lines
Add aarch64 support (mostly remapping I32_bit and F32_bit onto aarch64 bits).

Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 10 19:57:26 2014 UTC (10 years ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-0-RC2, netbsd-7-0-RC1
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.1: +3 -2 lines
Pull up following revision(s) (requested by skrll in ticket #209):
	sys/arch/arm/pic/pic.c: revision 1.25
	sys/arch/arm/arm/cpufunc_asm_armv7.S: revision 1.21
	sys/arch/arm/arm32/pmap.c: revision 1.312
	sys/arch/arm/arm32/bus_dma.c: revision 1.89
	sys/arch/arm/arm32/pmap.c: revision 1.313
	sys/arch/arm/arm32/pmap.c: revision 1.314
	sys/arch/arm/arm32/pmap.c: revision 1.315
	sys/arch/arm/arm32/pmap.c: revision 1.316
Include opt_multiprocessor.h
When allocing a l1page, if a page isn't available, use uvm_wait to wait
for one to become available.  Should fix PR/49364.
Post a dmb before invalidating the cache in the post-{read,write}
operations to ensure that any/all cachelines brought in via speculation
are really flushed.
Ensure all memory operations are complete by before wfi. For example, the
cpu could have just been in uvm_pageidlezero.
In pmap_fault_fixup re-instate the TLB flush for the shared L1 case that
occurs for non-ARM_MMU_EXTENDED kernels.
This fixes rump/rumpkern/t_sp:stress_killer on rpi which is currently
non-ARM_MMU_EXTENDED
Remove an unnecessary flush that sneaked in as part of break-before-make
change.
Remove an XXXNH comment.
Update PTE_SYNC_CURRENT to add a dsb for armv7 - part of the
break-before-make fix.

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Sun Nov 9 16:05:25 2014 UTC (10 years ago) by martin
Branches: netbsd-7
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4 lines
Pull up following revision(s) (requested by skrll in ticket #188):
	sys/arch/arm/include/arm32/pmap.h: revision 1.136
	sys/arch/arm/include/armreg.h: revision 1.100
	sys/arch/arm/cortex/gic.c: revision 1.11
	sys/arch/arm/arm32/db_interface.c: revision 1.54
	sys/arch/arm/include/armreg.h: revision 1.101
	sys/arch/arm/cortex/gic.c: revision 1.12
	sys/arch/arm/arm32/arm32_machdep.c: revision 1.107
	sys/arch/arm/arm/cpufunc_asm_armv7.S: revision 1.19
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.20
	sys/arch/evbarm/conf/BPI: revision 1.5
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.21
	sys/arch/arm/arm32/pmap.c: revision 1.306
	sys/arch/arm/arm32/db_machdep.c: revision 1.22
	sys/arch/arm/arm32/arm32_tlb.c: revision 1.3
	sys/arch/arm/arm/undefined.c: revision 1.55
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.22
	sys/arch/arm/arm32/pmap.c: revision 1.307
	sys/arch/arm/arm32/arm32_tlb.c: revision 1.4
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.23
	sys/arch/arm/arm32/arm32_tlb.c: revision 1.5
	sys/arch/evbarm/conf/BPI: revision 1.8
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.24
	sys/arch/arm/arm32/arm32_tlb.c: revision 1.6
	sys/arch/arm/arm32/arm32_tlb.c: revision 1.7
	sys/arch/evbarm/conf/CUBIETRUCK: revision 1.5
	sys/arch/arm/pic/pic.c: revision 1.23
	sys/arch/arm/pic/pic.c: revision 1.24
	sys/arch/arm/pic/picvar.h: revision 1.11
	sys/arch/arm/arm/cpufunc_asm_armv7.S: revision 1.20
	sys/arch/arm/mainbus/cpu_mainbus.c: revision 1.16
	sys/arch/arm/arm32/pmap.c: revision 1.298
	sys/arch/arm/arm/cpufunc_asm_arm11.S: revision 1.17
	sys/arch/arm/arm/cpufunc_asm_pj4b.S: revision 1.5
	sys/arch/arm/arm32/pmap.c: revision 1.310
	sys/arch/arm/arm32/pmap.c: revision 1.311
	sys/arch/arm/arm32/arm32_kvminit.c: revision 1.32
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.19
	sys/arch/arm/arm32/arm32_boot.c: revision 1.10
	sys/arch/arm/arm/ast.c: revision 1.25
	sys/arch/arm/include/armreg.h: revision 1.98
	sys/uvm/pmap/pmap_tlb.c: revision 1.10
	sys/arch/arm/arm32/arm32_boot.c: revision 1.8
	sys/arch/arm/arm32/arm32_boot.c: revision 1.9
	sys/arch/arm/arm/arm_machdep.c: revision 1.43
Various ARM MP fixes.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Nov 8 17:09:38 2014 UTC (10 years ago) by skrll
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -2 lines
Include opt_multiprocessor.h

Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Oct 29 14:41:57 2014 UTC (10 years ago) by skrll
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
In the MULTIPROCESSOR case mark all interrupt handlers not at IPL_VM as
mpsafe, so the kernel_lock is only taken at IPL_VM as per spl(9).

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Oct 13 09:21:06 2014 UTC (10 years ago) by skrll
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
Comment out a printf that was confusing entering ddb output.

Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:47 2014 UTC (10 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.2.1: +57 -16 lines
Rebase to HEAD as of a few days ago.

Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:53:52 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +10 -2 lines
Rebase.

Revision 1.8.4.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:34 2014 UTC (10 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.8.4.2: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.4.2: +49 -16 lines
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.22: download - view: text, markup, annotated - select for diffs
Mon May 19 22:47:53 2014 UTC (10 years, 5 months ago) by rmind
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +10 -2 lines
Implement MI IPI interface with cross-call support.

Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:44:59 2014 UTC (10 years, 5 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +49 -15 lines
sync with head

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Mar 13 23:47:53 2014 UTC (10 years, 7 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +26 -5 lines
Support MPSAFE interrupts.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Mar 3 08:50:48 2014 UTC (10 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +23 -11 lines
Add a mpsafe flag to the intrsource

Revision 1.3.16.1: download - view: text, markup, annotated - select for diffs
Sat Feb 15 16:18:37 2014 UTC (10 years, 8 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +257 -99 lines
Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Jan 28 13:20:30 2014 UTC (10 years, 9 months ago) by martin
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
Mark a diagnostic-only variable

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Dec 8 14:37:01 2013 UTC (10 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
Mark rv as unused (for now)

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Sep 7 00:32:02 2013 UTC (11 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -3 lines
Use KASSERTMSG

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:12 2013 UTC (11 years, 2 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -3 lines
sync with head

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Aug 19 07:06:06 2013 UTC (11 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -3 lines
Whitespace

Revision 1.15.6.1: download - view: text, markup, annotated - select for diffs
Fri May 10 00:57:56 2013 UTC (11 years, 6 months ago) by khorben
Branches: khorben-n900
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +31 -7 lines
Allow interrupt handlers to be temporarily disabled or enabled again,
including from within interrupt context: returning non-zero keeps the
handler enabled (as previously), while returning zero disables the
interrupt until a call to intr_enable().

This is necessary with the TPS65950 companion chip because:
- it interrupts on the main code (via IRQ_SYS_nIRQ0)
- interrupt handling requires I2C traffic (to access registers)
- interrupt-based interaction is necessary with this chip (keypad, GPIO...)

XXX Affects other ARM devices using the ARM PIC code, additional code
    review is required to address them.

Revision 1.8.4.2: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:32:50 2013 UTC (11 years, 9 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.8.4.1: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.4.1: +3 -3 lines
sync with (a bit old) head

Revision 1.8.12.1: download - view: text, markup, annotated - select for diffs
Wed Nov 28 22:40:39 2012 UTC (11 years, 11 months ago) by matt
Branches: matt-nb6-plus
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +197 -25 lines
Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.

Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:07 2012 UTC (11 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.8.10.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 18:45:04 2012 UTC (11 years, 11 months ago) by riz
Branches: netbsd-6
CVS tags: 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
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #656):
	sys/arch/arm/pic/pic.c: revision 1.15
Fix a bug that incorrect arg is passed to pic_block_irqs() on disestablish.
Fixes PR#45371 by Yuichiro Goto.

Revision 1.8.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:19:08 2012 UTC (12 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +196 -24 lines
sync with head

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Oct 30 07:42:35 2012 UTC (12 years ago) by msaitoh
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, matt-nb6-plus-nbase, matt-nb6-plus-base, agc-symver-base, agc-symver
Branch point for: rmind-smpnet, khorben-n900
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
Fix a bug that incorrect arg is passed to pic_block_irqs() on disestablish.
Fixes PR#45371 by Yuichiro Goto.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Sep 1 01:44:16 2012 UTC (12 years, 2 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -2 lines
Add #ifdef DIAGNOSTIC / #endif

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Sep 1 00:00:42 2012 UTC (12 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +178 -19 lines
Add PIC hooks for MP and for the ARM Generic Interrupt Controller.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Jul 20 21:53:57 2012 UTC (12 years, 3 months ago) by matt
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
Fix botched change to use right value for ipl.  Thanks jak

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jul 14 07:52:53 2012 UTC (12 years, 3 months ago) by matt
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +21 -12 lines
Add hooks for __HAVE_PIC_SET_PRIORITY which allows updating of a hardware
(PIC) priority based on current IPL.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jul 7 08:05:48 2012 UTC (12 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -3 lines
Convert a KASSERT to a KASSERTMSG

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jul 4 13:34:24 2012 UTC (12 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -2 lines
Add a KASSERT

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:05:06 2011 UTC (13 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +10 -40 lines
Sync with HEAD.

Revision 1.4.6.2: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:40:53 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.4.6.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.6.1: +8 -42 lines
sync with head

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Mar 11 03:16:14 2011 UTC (13 years, 8 months ago) by bsh
Branches: 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-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, jym-xensuspend-nbase, jym-xensuspend-base, 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, netbsd-6, matt-nb6-plus
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +10 -44 lines
split arch/arm/pic/pic.c so that we can implement more efficient version of splfoo() while using pic framework.

Revision 1.4.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:49:39 2011 UTC (13 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +28 -10 lines
sync with head

Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:13 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +6 -2 lines
Sync with HEAD

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Feb 1 21:44:27 2011 UTC (13 years, 9 months ago) by jakllsch
Branches: MAIN
CVS tags: uebayasi-xip-base7, bouyer-quota2-nbase, bouyer-quota2-base
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -2 lines
Increment ci->ci_intr_depth for the duration of pic_do_pending_ints().
Fixes locking catastrophy commonly noticed with mvsata(4) on evbarm.

Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:21:03 2010 UTC (14 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +24 -10 lines
Sync with HEAD (-D20101022).

Revision 1.1.24.3: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:31:41 2010 UTC (14 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1.24.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.24.2: +24 -10 lines
sync with head

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Aug 31 14:33:41 2010 UTC (14 years, 2 months ago) by kiyohara
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +22 -8 lines
Fix lost interrupt. (2/2)
  + It is likely to lose sight of interrupt when the interrupt of irq_base
    that is smaller than the same at the level is generated if PIC_MAXSOURCES
    is 33 or more.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Aug 31 14:23:27 2010 UTC (14 years, 2 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4 lines
Fix lost interrupt. (1/2)
 + Change blocked_irqs that dispach if change pending_irqs in the loop.

Revision 1.1.24.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:10:44 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1.24.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.24.1: +33 -31 lines
sync with head.

Revision 1.3.8.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:15:59 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +33 -31 lines
Sync with HEAD.

Revision 1.1.20.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:27:54 2009 UTC (15 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.1.20.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.20.1: +31 -29 lines
Sync with HEAD.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Dec 30 05:43:14 2008 UTC (15 years, 10 months ago) by matt
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +33 -31 lines
Use atomic ops to manipulate the bitmasks.

Revision 1.1.20.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:55 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +569 -0 lines
Sync with HEAD.

Revision 1.1.22.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:31:40 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +569 -0 lines
sync with head.

Revision 1.1.24.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:22:01 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +569 -0 lines
sync with head.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:14 2008 UTC (16 years, 6 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, matt-nb5-mips64
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Apr 27 18:58:45 2008 UTC (16 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +576 -0 lines
Merge kernel changes in matt-armv6 to HEAD.

Revision 1.1.2.13: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:03:55 2008 UTC (16 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.1.2.12: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.12: +12 -3 lines
sync with HEAD

Revision 1.1.2.12: download - view: text, markup, annotated - select for diffs
Sat Mar 1 00:03:44 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.1.2.11: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.11: +9 -8 lines
fix off-by-error.
pass irq_base to pic_find_pending_irqs_by_ipl

Revision 1.1.2.11: download - view: text, markup, annotated - select for diffs
Fri Feb 29 23:49:30 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.1.2.10: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.10: +2 -2 lines
fix another swapped argument

Revision 1.1.2.10: download - view: text, markup, annotated - select for diffs
Fri Feb 29 23:40:36 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.1.2.9: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.9: +2 -2 lines
Fix swapped args to pic_find_pending_irqs_by_ipl

Revision 1.1.2.9: download - view: text, markup, annotated - select for diffs
Fri Feb 29 23:28:52 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.1.2.8: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.8: +1 -0 lines
set pic->pic_id to the slot # when we add it.

Revision 1.1.2.8: download - view: text, markup, annotated - select for diffs
Fri Feb 29 23:01:55 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.1.2.7: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.7: +1 -1 lines
Make sure we established the interrupts we thought we did.

Revision 1.1.2.7: download - view: text, markup, annotated - select for diffs
Fri Feb 29 22:29:39 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.1.2.6: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.6: +41 -5 lines
Rework establish_irq to take an intrsource.
Enable an interrupt after establishing it.

Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 28 18:22:41 2008 UTC (16 years, 9 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.1.2.5: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.5: +111 -67 lines
Update to new vmlocking world.

Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Tue Nov 6 19:21:35 2007 UTC (17 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.1.2.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.4: +27 -1 lines
add spl* routines and prototypes.
add intr_establish/intr_disestablish

Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Wed Sep 12 06:20:23 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.3: +5 -1 lines
Add commented out debug code to pic_add.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 11 02:31:12 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +182 -65 lines
Another round of pic code.  Includes spl* code.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 30 07:05:23 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +88 -12 lines
More W-I-P

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 29 05:17:39 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +266 -0 lines
Commit W-I-P new generic interrupt controller code similar in idea
to the one in ppcoea-renovation.

Revision 1.1
Wed Aug 29 05:17:39 2007 UTC (17 years, 2 months ago) by matt
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2, matt-armv6
FILE REMOVED
file pic.c was initially added on branch matt-armv6.

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>