Home | History | Annotate | Download | only in macppc
History log of /src/sys/arch/macppc/macppc/pic_heathrow.c
RevisionDateAuthorComments
 1.12  26-Jan-2021  thorpej There is not much point in of_compatible() returning -1 for "no match"
and >= 0 for "match". Just make it return 0 for "no match" and >0 for
"match" so it can be treated like a boolean expression.

As such of_match_compatible() (a wrapper around of_compatible()) is now
obsolete, and will be removed once all call sites are converted to an
appropriate replacement.
 1.11  16-Jun-2017  macallan branches: 1.11.18;
- read IRQs from state, not level register in *_reenable_irq() so we get
edge triggered ones too
- kmem_alloc() -> kmem_zalloc() for paranoia
 1.10  01-Jun-2017  chs 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.
 1.9  02-May-2012  macallan branches: 1.9.2; 1.9.16;
remove some commented out / unused junk
 1.8  13-Mar-2012  macallan malloc() -> kmem_alloc()
 1.7  07-Jul-2011  mrg branches: 1.7.2; 1.7.6;
mark heathrow_read_events() and ohare_read_events() static.
 1.6  19-Jun-2011  matt Use __builtin_clz instead of cntlzw
 1.5  20-Dec-2010  matt branches: 1.5.6;
Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
 1.4  29-Apr-2008  martin branches: 1.4.22;
Convert to new 2 clause license
 1.3  11-Dec-2007  garbled branches: 1.3.8; 1.3.10; 1.3.12;
Fix the endless stream of 7's problem on i8259-like interrupt controllers
once and for all. The i8259 does not like to be read in a loop, when an
interrupt comes in, it will return a valid value, however, if you keep
reading it until there are no outstanding interrupts, it will return 7
(which is the lpt interrupt). Change the pic handler to give an argument
to the get_irq functions of mode, which indicates if this is the first
time we are asking, or if we are just rechecking in a loop. Non-i8259
handlers can safely ignore this argument.

Tested to fix the stream of 7's problem on prep and ofppc. Got rid of
the nasty hack in ofppc with this too, and the prep machine seems to take
less interrupts now, which is a good thing.
 1.2  17-Oct-2007  garbled branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.12; 1.2.14;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.1  02-May-2007  macallan branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10;
file pic_heathrow.c was initially added on branch ppcoea-renovation.
 1.1.10.1  25-Oct-2007  bouyer Sync with HEAD.
 1.1.8.1  18-Oct-2007  yamt sync with head.
 1.1.6.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.1.2.6  11-Oct-2007  macallan add NULL pic_finish_setup()
 1.1.2.5  11-May-2007  macallan actually honour the interrupt type passed to intr_establish instead of
hardcoding level vs. edge triggered interrupts
 1.1.2.4  04-May-2007  macallan adapt to picvar.h changes
 1.1.2.3  03-May-2007  macallan add dummy establish_irq callbacks
 1.1.2.2  03-May-2007  macallan adapt to changes in picvar.h
 1.1.2.1  02-May-2007  macallan support for Heathrow PICs
 1.2.14.1  13-Dec-2007  bouyer Sync with HEAD
 1.2.12.1  13-Dec-2007  yamt sync with head.
 1.2.10.1  26-Dec-2007  ad Sync with head.
 1.2.8.3  09-Jan-2008  matt sync with HEAD
 1.2.8.2  06-Nov-2007  matt sync with HEAD
 1.2.8.1  17-Oct-2007  matt file pic_heathrow.c was added on branch matt-armv6 on 2007-11-06 23:18:50 +0000
 1.2.4.3  21-Jan-2008  yamt sync with head
 1.2.4.2  27-Oct-2007  yamt sync with head.
 1.2.4.1  17-Oct-2007  yamt file pic_heathrow.c was added on branch yamt-lazymbuf on 2007-10-27 11:27:11 +0000
 1.2.2.2  23-Oct-2007  ad Sync with head.
 1.2.2.1  17-Oct-2007  ad file pic_heathrow.c was added on branch vmlocking on 2007-10-23 20:35:55 +0000
 1.3.12.1  16-May-2008  yamt sync with head.
 1.3.10.1  18-May-2008  yamt sync with head.
 1.3.8.1  02-Jun-2008  mjf Sync with HEAD.
 1.4.22.1  05-Mar-2011  rmind sync with head
 1.5.6.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.7.6.2  02-Jun-2012  mrg sync to latest -current.
 1.7.6.1  05-Apr-2012  mrg sync to latest -current.
 1.7.2.2  23-May-2012  yamt sync with head.
 1.7.2.1  17-Apr-2012  yamt sync with head
 1.9.16.1  28-Aug-2017  skrll Sync with HEAD
 1.9.2.1  03-Dec-2017  jdolecek update from HEAD
 1.11.18.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed