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


Default branch: MAIN


Revision 1.85 / (download) - annotate - [select for diffs], Sun Oct 30 10:20:45 2022 UTC (15 months, 4 weeks ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.84: +20 -5 lines
Diff to previous 1.84 (colored)

arm/pic: Sprinkle dtrace probes on interrupt handlers like x86.

Revision 1.84 / (download) - annotate - [select for diffs], Sat Oct 29 15:13:27 2022 UTC (15 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.83: +9 -5 lines
Diff to previous 1.83 (colored)

arm/pic: Use a local variable to reduce #ifdef scope.

Avoids straddling a conditional this way.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Jul 28 10:26:26 2022 UTC (19 months ago) by riastradh
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.82: +6 -6 lines
Diff to previous 1.82 (colored)

arm/pic: Mark definitions static to match declarations.

Revision 1.82 / (download) - annotate - [select for diffs], Thu Jul 28 10:26:15 2022 UTC (19 months ago) by riastradh
Branch: MAIN
Changes since 1.81: +9 -2 lines
Diff to previous 1.81 (colored)

arm/pic: Assert ci_cpl doesn't lower across interrupt handler.

Revision 1.81 / (download) - annotate - [select for diffs], Thu Jul 28 07:15:27 2022 UTC (19 months ago) by skrll
Branch: MAIN
Changes since 1.80: +7 -4 lines
Diff to previous 1.80 (colored)

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) - annotate - [select for diffs], Sat Jun 25 12:41:56 2022 UTC (20 months ago) by jmcneill
Branch: MAIN
Changes since 1.79: +7 -8 lines
Diff to previous 1.79 (colored)

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) - annotate - [select for diffs], Sun Jan 2 11:17:39 2022 UTC (2 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.78: +2 -4 lines
Diff to previous 1.78 (colored)

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) - annotate - [select for diffs], Tue Dec 21 07:11:02 2021 UTC (2 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.77: +26 -24 lines
Diff to previous 1.77 (colored)

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) - annotate - [select for diffs], Tue Dec 21 07:07:32 2021 UTC (2 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.76: +2 -5 lines
Diff to previous 1.76 (colored)

G/C pic_iplsource

Revision 1.76 / (download) - annotate - [select for diffs], Tue Dec 21 06:51:16 2021 UTC (2 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.75: +9 -8 lines
Diff to previous 1.75 (colored)

KNF

Revision 1.75 / (download) - annotate - [select for diffs], Sun Oct 31 16:29:18 2021 UTC (2 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored)

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) - annotate - [select for diffs], Sun Oct 31 16:24:47 2021 UTC (2 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.73: +4 -2 lines
Diff to previous 1.73 (colored)

Assert we can sleep in pic_add

Revision 1.73 / (download) - annotate - [select for diffs], Sun Oct 31 16:23:48 2021 UTC (2 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

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) - annotate - [select for diffs], Sun Sep 26 13:38:49 2021 UTC (2 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.71: +19 -4 lines
Diff to previous 1.71 (colored)

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) - annotate - [select for diffs], Sun Aug 8 19:28:08 2021 UTC (2 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.70: +30 -60 lines
Diff to previous 1.70 (colored)

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) - annotate - [select for diffs], Sat Apr 3 22:28:18 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.61: +10 -8 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Sync with HEAD.

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 21:44:41 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.69: +77 -34 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

Sync with HEAD.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Mar 27 12:15:09 2021 UTC (2 years, 11 months ago) by jmcneill
Branch: 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
Changes since 1.69: +77 -34 lines
Diff to previous 1.69 (colored)

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

Revision 1.69 / (download) - annotate - [select for diffs], Sun Feb 21 17:07:45 2021 UTC (3 years ago) by jmcneill
Branch: MAIN
Branch point for: thorpej-cfargs
Changes since 1.68: +5 -33 lines
Diff to previous 1.68 (colored)

Inline pic_set_priority and use cpu_dosoftints_ci when available.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Feb 21 08:31:36 2021 UTC (3 years ago) by skrll
Branch: MAIN
Changes since 1.67: +7 -4 lines
Diff to previous 1.67 (colored)

Fixup with __HAVE_PREEMPTION code which is currently unused

Revision 1.67 / (download) - annotate - [select for diffs], Sat Feb 20 19:30:46 2021 UTC (3 years ago) by jmcneill
Branch: MAIN
Changes since 1.66: +3 -13 lines
Diff to previous 1.66 (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.66 / (download) - annotate - [select for diffs], Sat Feb 20 14:51:07 2021 UTC (3 years ago) by jmcneill
Branch: MAIN
Changes since 1.65: +31 -62 lines
Diff to previous 1.65 (colored)

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

Revision 1.65 / (download) - annotate - [select for diffs], Tue Feb 16 22:12:49 2021 UTC (3 years ago) by jmcneill
Branch: MAIN
Changes since 1.64: +11 -2 lines
Diff to previous 1.64 (colored)

pic: avoid pic_do_pending_ints if pic_mark_pending_* has never been called

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

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

Revision 1.63 / (download) - annotate - [select for diffs], Mon Feb 15 13:03:52 2021 UTC (3 years ago) by jmcneill
Branch: MAIN
Changes since 1.62: +20 -5 lines
Diff to previous 1.62 (colored)

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) - annotate - [select for diffs], Sun Feb 7 21:18:37 2021 UTC (3 years ago) by jmcneill
Branch: MAIN
Changes since 1.61: +6 -5 lines
Diff to previous 1.61 (colored)

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) - annotate - [select for diffs], Sun Nov 1 14:42:05 2020 UTC (3 years, 3 months ago) by jmcneill
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.60: +3 -2 lines
Diff to previous 1.60 (colored)

intr_ipi_send: assert that kcp is either NULL or contains exactly one CPU

Revision 1.60 / (download) - annotate - [select for diffs], Mon Oct 26 07:16:41 2020 UTC (3 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.59: +11 -3 lines
Diff to previous 1.59 (colored)

Improve a comment

Revision 1.59 / (download) - annotate - [select for diffs], Mon Oct 26 07:14:42 2020 UTC (3 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.58: +6 -4 lines
Diff to previous 1.58 (colored)

KNF

Revision 1.58 / (download) - annotate - [select for diffs], Sun Oct 25 08:29:30 2020 UTC (3 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.57: +4 -3 lines
Diff to previous 1.57 (colored)

KASSERT -> KASSERTMSG

Revision 1.57 / (download) - annotate - [select for diffs], Mon Jul 27 16:26:51 2020 UTC (3 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

Trailing whitespace

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:30 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.42.2.1: +57 -55 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

Merge changes from current as of 20200406

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:19 2020 UTC (3 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.52: +25 -52 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with head.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Feb 1 12:55:35 2020 UTC (4 years ago) by riastradh
Branch: 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
Changes since 1.55: +4 -6 lines
Diff to previous 1.55 (colored)

KNF

Revision 1.55 / (download) - annotate - [select for diffs], Sat Feb 1 12:55:26 2020 UTC (4 years ago) by riastradh
Branch: MAIN
Changes since 1.54: +20 -26 lines
Diff to previous 1.54 (colored)

Reduce some ifdefs.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Feb 1 12:55:13 2020 UTC (4 years ago) by riastradh
Branch: MAIN
Changes since 1.53: +4 -15 lines
Diff to previous 1.53 (colored)

pic_pending_zero is unnecessary; percpu_alloc already zeroes.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Feb 1 12:55:02 2020 UTC (4 years ago) by riastradh
Branch: MAIN
Changes since 1.52: +6 -14 lines
Diff to previous 1.52 (colored)

Switch arm pic allocation and initialization to percpu_create.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Dec 24 20:40:09 2019 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.51: +11 -4 lines
Diff to previous 1.51 (colored)

Update pic_add to allocate and return an irqbase if passed
PIC_IRQBASE_ALLOC.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Dec 24 20:37:44 2019 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

Make pic_sourcebase static

Revision 1.50 / (download) - annotate - [select for diffs], Mon Dec 23 15:51:47 2019 UTC (4 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.49: +6 -4 lines
Diff to previous 1.49 (colored)

Add reference counts to intr_mask/intr_unmask as calls can be nested, spotted by thorpej

Revision 1.49 / (download) - annotate - [select for diffs], Mon Dec 23 15:34:23 2019 UTC (4 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.48: +22 -2 lines
Diff to previous 1.48 (colored)

Implement acpi_md_intr_mask and acpi_md_intr_unmask

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:55 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.42: +254 -5 lines
Diff to previous 1.42 (colored)

Sync with HEAD

Revision 1.41.2.4 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:19 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.41.2.3: +211 -4 lines
Diff to previous 1.41.2.3 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.48 / (download) - annotate - [select for diffs], Fri Nov 16 15:06:22 2018 UTC (5 years, 3 months ago) by jmcneill
Branch: 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-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
Changes since 1.47: +32 -5 lines
Diff to previous 1.47 (colored)

Add intr_establish_xname support to arm and expose it to intrctl

Revision 1.47 / (download) - annotate - [select for diffs], Tue Nov 13 20:24:48 2018 UTC (5 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.46: +5 -5 lines
Diff to previous 1.46 (colored)

Fix intrctl for pics with non-0 irqbase

Revision 1.46 / (download) - annotate - [select for diffs], Sun Nov 11 10:14:14 2018 UTC (5 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.45: +182 -2 lines
Diff to previous 1.45 (colored)

Add support for intrctl(8).

Revision 1.41.2.3 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:26 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.41.2.2: +20 -2 lines
Diff to previous 1.41.2.2 (colored) to branchpoint 1.41 (colored)

Sync with head

Revision 1.45 / (download) - annotate - [select for diffs], Fri Oct 12 21:46:32 2018 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-1020
Changes since 1.44: +20 -2 lines
Diff to previous 1.44 (colored)

Implement intr_string(9)

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:29 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.41.2.1: +27 -3 lines
Diff to previous 1.41.2.1 (colored) to branchpoint 1.41 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Sun Jul 15 16:03:24 2018 UTC (5 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Changes since 1.43: +26 -2 lines
Diff to previous 1.43 (colored)

Add support for setting and getting interrupt affinity.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Jul 9 06:08:42 2018 UTC (5 years, 7 months ago) by ryo
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

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) - annotate - [select for diffs], Sat Apr 7 04:12:12 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.41: +3 -8 lines
Diff to previous 1.41 (colored)

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

Revision 1.42 / (download) - annotate - [select for diffs], Sun Apr 1 04:35:04 2018 UTC (5 years, 10 months ago) by ryo
Branch: 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
Changes since 1.41: +3 -8 lines
Diff to previous 1.41 (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.14.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:55 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.14.2.2: +182 -62 lines
Diff to previous 1.14.2.2 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

update from HEAD

Revision 1.41 / (download) - annotate - [select for diffs], Thu Oct 12 19:59:22 2017 UTC (6 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.40: +7 -7 lines
Diff to previous 1.40 (colored)

Trailing whitespace

Revision 1.40 / (download) - annotate - [select for diffs], Thu Sep 21 19:29:14 2017 UTC (6 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

spaces to TAB

Revision 1.39 / (download) - annotate - [select for diffs], Tue Aug 29 22:57:05 2017 UTC (6 years, 5 months ago) by nisimura
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)

decouple pic_ipi_kpreempt() from DDB

Revision 1.25.2.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:31 2017 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.25.2.3: +2 -7 lines
Diff to previous 1.25.2.3 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Fri Aug 25 20:36:16 2017 UTC (6 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

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) - annotate - [select for diffs], Thu Jun 1 02:45:06 2017 UTC (6 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, 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
Changes since 1.36: +2 -7 lines
Diff to previous 1.36 (colored)

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) - annotate - [select for diffs], Sun Dec 27 12:09:31 2015 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.25.2.2: +4 -3 lines
Diff to previous 1.25.2.2 (colored) to branchpoint 1.25 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.36 / (download) - annotate - [select for diffs], Sun Oct 11 20:20:33 2015 UTC (8 years, 4 months ago) by mlelstv
Branch: 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
Changes since 1.35: +4 -3 lines
Diff to previous 1.35 (colored)

unblock interrupts also when reusing a previously freed irq slot.

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Thu Jul 30 09:37:37 2015 UTC (8 years, 7 months ago) by martin
Branch: 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
Changes since 1.22.2.2: +126 -48 lines
Diff to previous 1.22.2.2 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

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) - annotate - [select for diffs], Sat Jun 6 14:39:56 2015 UTC (8 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.25.2.1: +172 -55 lines
Diff to previous 1.25.2.1 (colored) to branchpoint 1.25 (colored)

Sync with HEAD

Revision 1.35 / (download) - annotate - [select for diffs], Sat Apr 18 14:09:32 2015 UTC (8 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.34: +27 -4 lines
Diff to previous 1.34 (colored)

Serialise work in pic_add.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Apr 15 15:45:06 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.33: +18 -2 lines
Diff to previous 1.33 (colored)

Add separate IPI routines for IPI_AST and IPI_KPREEMPT.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Apr 14 22:36:54 2015 UTC (8 years, 10 months ago) by jmcneill
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

__HAVE_PREEEMPTION -> __HAVE_PREEMPTION

Revision 1.32 / (download) - annotate - [select for diffs], Sun Apr 12 15:32:19 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.31: +7 -2 lines
Diff to previous 1.31 (colored)

Don't send IPIs to ourselves if sending to everyone.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Apr 12 08:55:14 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.30: +2 -14 lines
Diff to previous 1.30 (colored)

Don't need pic_ipi_sender anymore.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Apr 12 08:52:54 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Use right kcpuset call.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Apr 11 19:39:09 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.28: +108 -37 lines
Diff to previous 1.28 (colored)

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) - annotate - [select for diffs], Wed Apr 8 21:43:30 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.27: +13 -5 lines
Diff to previous 1.27 (colored)

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) - annotate - [select for diffs], Wed Apr 8 18:10:08 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.26: +8 -2 lines
Diff to previous 1.26 (colored)

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) - annotate - [select for diffs], Mon Apr 6 15:17:53 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.25: +8 -2 lines
Diff to previous 1.25 (colored)

Sync with HEAD

Revision 1.26 / (download) - annotate - [select for diffs], Sun Mar 29 00:31:30 2015 UTC (8 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.25: +8 -2 lines
Diff to previous 1.25 (colored)

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

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Mon Nov 10 19:57:26 2014 UTC (9 years, 3 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-0-RC2, netbsd-7-0-RC1
Changes since 1.22.2.1: +3 -2 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored)

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) - annotate - [select for diffs], Sun Nov 9 16:05:25 2014 UTC (9 years, 3 months ago) by martin
Branch: netbsd-7
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

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) - annotate - [select for diffs], Sat Nov 8 17:09:38 2014 UTC (9 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.24: +3 -2 lines
Diff to previous 1.24 (colored)

Include opt_multiprocessor.h

Revision 1.24 / (download) - annotate - [select for diffs], Wed Oct 29 14:41:57 2014 UTC (9 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

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) - annotate - [select for diffs], Mon Oct 13 09:21:06 2014 UTC (9 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Comment out a printf that was confusing entering ddb output.

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:47 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.14.2.1: +57 -16 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored)

Rebase to HEAD as of a few days ago.

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

Rebase.

Revision 1.8.4.3 / (download) - annotate - [select for diffs], Thu May 22 11:39:34 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.8.4.2: +49 -16 lines
Diff to previous 1.8.4.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (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.22 / (download) - annotate - [select for diffs], Mon May 19 22:47:53 2014 UTC (9 years, 9 months ago) by rmind
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.21: +10 -2 lines
Diff to previous 1.21 (colored)

Implement MI IPI interface with cross-call support.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Sun May 18 17:44:59 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.15.2.1: +49 -15 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync with head

Revision 1.21 / (download) - annotate - [select for diffs], Thu Mar 13 23:47:53 2014 UTC (9 years, 11 months ago) by matt
Branch: 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
Changes since 1.20: +26 -5 lines
Diff to previous 1.20 (colored)

Support MPSAFE interrupts.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Mar 3 08:50:48 2014 UTC (9 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.19: +23 -11 lines
Diff to previous 1.19 (colored)

Add a mpsafe flag to the intrsource

Revision 1.3.16.1 / (download) - annotate - [select for diffs], Sat Feb 15 16:18:37 2014 UTC (10 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.3: +257 -99 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

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

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 28 13:20:30 2014 UTC (10 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Mark a diagnostic-only variable

Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 8 14:37:01 2013 UTC (10 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Mark rv as unused (for now)

Revision 1.17 / (download) - annotate - [select for diffs], Sat Sep 7 00:32:02 2013 UTC (10 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (colored)

Use KASSERTMSG

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:12 2013 UTC (10 years, 6 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.15: +2 -3 lines
Diff to previous 1.15 (colored)

sync with head

Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 19 07:06:06 2013 UTC (10 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.15: +2 -3 lines
Diff to previous 1.15 (colored)

Whitespace

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Fri May 10 00:57:56 2013 UTC (10 years, 9 months ago) by khorben
Branch: khorben-n900
Changes since 1.15: +31 -7 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

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) - annotate - [select for diffs], Wed Jan 16 05:32:50 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.8.4.1: +3 -3 lines
Diff to previous 1.8.4.1 (colored) to branchpoint 1.8 (colored)

sync with (a bit old) head

Revision 1.8.12.1 / (download) - annotate - [select for diffs], Wed Nov 28 22:40:39 2012 UTC (11 years, 3 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.8: +197 -25 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

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

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:07 2012 UTC (11 years, 3 months ago) by tls
Branch: tls-maxphys
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.8.10.1 / (download) - annotate - [select for diffs], Mon Nov 19 18:45:04 2012 UTC (11 years, 3 months ago) by riz
Branch: 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
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

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) - annotate - [select for diffs], Tue Oct 30 17:19:08 2012 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.8: +196 -24 lines
Diff to previous 1.8 (colored)

sync with head

Revision 1.15 / (download) - annotate - [select for diffs], Tue Oct 30 07:42:35 2012 UTC (11 years, 4 months ago) by msaitoh
Branch: 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
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Fix a bug that incorrect arg is passed to pic_block_irqs() on disestablish.
Fixes PR#45371 by Yuichiro Goto.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Sep 1 01:44:16 2012 UTC (11 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored)

Add #ifdef DIAGNOSTIC / #endif

Revision 1.13 / (download) - annotate - [select for diffs], Sat Sep 1 00:00:42 2012 UTC (11 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.12: +178 -19 lines
Diff to previous 1.12 (colored)

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

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 20 21:53:57 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Fix botched change to use right value for ipl.  Thanks jak

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jul 14 07:52:53 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.10: +21 -12 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jul 7 08:05:48 2012 UTC (11 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.9: +4 -3 lines
Diff to previous 1.9 (colored)

Convert a KASSERT to a KASSERTMSG

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jul 4 13:34:24 2012 UTC (11 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

Add a KASSERT

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:06 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.6: +10 -40 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with HEAD.

Revision 1.4.6.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:40:53 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.4.6.1: +8 -42 lines
Diff to previous 1.4.6.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 11 03:16:14 2011 UTC (12 years, 11 months ago) by bsh
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-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
Changes since 1.7: +10 -44 lines
Diff to previous 1.7 (colored)

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) - annotate - [select for diffs], Sat Mar 5 20:49:39 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.4: +28 -10 lines
Diff to previous 1.4 (colored)

sync with head

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:13 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.6: +6 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Tue Feb 1 21:44:27 2011 UTC (13 years ago) by jakllsch
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.6: +6 -2 lines
Diff to previous 1.6 (colored)

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) - annotate - [select for diffs], Fri Oct 22 07:21:03 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.4: +24 -10 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with HEAD (-D20101022).

Revision 1.1.24.3 / (download) - annotate - [select for diffs], Sat Oct 9 03:31:41 2010 UTC (13 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.24.2: +24 -10 lines
Diff to previous 1.1.24.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 31 14:33:41 2010 UTC (13 years, 6 months ago) by kiyohara
Branch: 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
Changes since 1.5: +22 -8 lines
Diff to previous 1.5 (colored)

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) - annotate - [select for diffs], Tue Aug 31 14:23:27 2010 UTC (13 years, 6 months ago) by kiyohara
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

Fix lost interrupt. (1/2)
 + Change blocked_irqs that dispach if change pending_irqs in the loop.

Revision 1.1.24.2 / (download) - annotate - [select for diffs], Mon May 4 08:10:44 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.24.1: +33 -31 lines
Diff to previous 1.1.24.1 (colored) to branchpoint 1.1 (colored)

sync with head.

Revision 1.3.8.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:15:59 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.3: +33 -31 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.1.20.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:27:54 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.1.20.1: +31 -29 lines
Diff to previous 1.1.20.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 30 05:43:14 2008 UTC (15 years, 2 months ago) by matt
Branch: 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
Changes since 1.3: +33 -31 lines
Diff to previous 1.3 (colored)

Use atomic ops to manipulate the bitmasks.

Revision 1.1.20.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:55 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1: +569 -0 lines
Diff to previous 1.1 (colored)

Sync with HEAD.

Revision 1.1.22.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:40 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.1: +569 -0 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.1.24.1 / (download) - annotate - [select for diffs], Fri May 16 02:22:01 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1: +569 -0 lines
Diff to previous 1.1 (colored)

sync with head.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:14 2008 UTC (15 years, 10 months ago) by martin
Branch: 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
Changes since 1.2: +2 -9 lines
Diff to previous 1.2 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 27 18:58:45 2008 UTC (15 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.1: +576 -0 lines
Diff to previous 1.1 (colored)

Merge kernel changes in matt-armv6 to HEAD.

Revision 1.1.2.13 / (download) - annotate - [select for diffs], Sun Mar 23 02:03:55 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.1.2.12: +12 -3 lines
Diff to previous 1.1.2.12 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with HEAD

Revision 1.1.2.12 / (download) - annotate - [select for diffs], Sat Mar 1 00:03:44 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.1.2.11: +9 -8 lines
Diff to previous 1.1.2.11 (colored) to branchpoint 1.1 (colored)

fix off-by-error.
pass irq_base to pic_find_pending_irqs_by_ipl

Revision 1.1.2.11 / (download) - annotate - [select for diffs], Fri Feb 29 23:49:30 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.1.2.10: +2 -2 lines
Diff to previous 1.1.2.10 (colored) to branchpoint 1.1 (colored)

fix another swapped argument

Revision 1.1.2.10 / (download) - annotate - [select for diffs], Fri Feb 29 23:40:36 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.1.2.9: +2 -2 lines
Diff to previous 1.1.2.9 (colored) to branchpoint 1.1 (colored)

Fix swapped args to pic_find_pending_irqs_by_ipl

Revision 1.1.2.9 / (download) - annotate - [select for diffs], Fri Feb 29 23:28:52 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.1.2.8: +1 -0 lines
Diff to previous 1.1.2.8 (colored) to branchpoint 1.1 (colored)

set pic->pic_id to the slot # when we add it.

Revision 1.1.2.8 / (download) - annotate - [select for diffs], Fri Feb 29 23:01:55 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.1.2.7: +1 -1 lines
Diff to previous 1.1.2.7 (colored) to branchpoint 1.1 (colored)

Make sure we established the interrupts we thought we did.

Revision 1.1.2.7 / (download) - annotate - [select for diffs], Fri Feb 29 22:29:39 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.1.2.6: +41 -5 lines
Diff to previous 1.1.2.6 (colored) to branchpoint 1.1 (colored)

Rework establish_irq to take an intrsource.
Enable an interrupt after establishing it.

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Mon Jan 28 18:22:41 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.1.2.5: +111 -67 lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored)

Update to new vmlocking world.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Tue Nov 6 19:21:35 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.1.2.4: +27 -1 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored)

add spl* routines and prototypes.
add intr_establish/intr_disestablish

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Wed Sep 12 06:20:23 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
Changes since 1.1.2.3: +5 -1 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)

Add commented out debug code to pic_add.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Tue Sep 11 02:31:12 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
Changes since 1.1.2.2: +182 -65 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

Another round of pic code.  Includes spl* code.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Thu Aug 30 07:05:23 2007 UTC (16 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.1.2.1: +88 -12 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

More W-I-P

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Wed Aug 29 05:17:39 2007 UTC (16 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.1: +266 -0 lines
Diff to previous 1.1 (colored)

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 (16 years, 6 months ago) by matt
Branch: 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.

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>