BitRig/src 350f99esys/arch/arm64/arm64 pmap.c

pmap cannot wait on pool alloc due to held mutex.
DeltaFile
+1-6sys/arch/arm64/arm64/pmap.c
+1-61 files

BitRig/src 614fa01sys/arch/arm64/arm64 pmap.c

Fix logic error related to CANFAIL
DeltaFile
+13-13sys/arch/arm64/arm64/pmap.c
+13-131 files

BitRig/src 00e8461sys/arch/arm64/conf generic.arm64

Running HZ too fast on SMP arm makes no sense

Go back to HZ=100 for arm64
DeltaFile
+1-0sys/arch/arm64/conf/generic.arm64
+1-01 files

BitRig/src 8d6fa04sys/kern kern_sched.c

Hack around an MPlock count problem

Hack around a problem where running kernel had too many kernel
locks on processes when they were trying to go to sleep.
cause unknown. This change is likely just hiding a bug.
DeltaFile
+10-1sys/kern/kern_sched.c
+10-11 files

BitRig/src 4964e1asys/arch/arm64/arm64 cpu.c machdep.c

Enable SMP arm64.
DeltaFile
+252-0sys/arch/arm64/arm64/cpu.c
+176-8sys/arch/arm64/arm64/machdep.c
+176-0sys/arch/arm64/arm64/lock_machdep.c
+66-25sys/arch/arm64/arm64/pmap.c
+84-5sys/arch/arm64/arm64/locore.S
+6-54sys/arch/arm64/arm64/trap.c
+760-9214 files not shown
+948-11320 files

BitRig/src c5270b8sys/arch/arm64/arm64 pmap.c trap.c, sys/arch/arm64/conf GENERIC files.arm64

hacka hack for dragonboard ehci attachment, not working.
DeltaFile
+210-0sys/arch/arm64/dev/msmehci.c
+66-0sys/arch/arm64/conf/GENERIC
+9-1sys/dev/usb/ehci.c
+6-2sys/arch/arm64/arm64/pmap.c
+6-0sys/arch/arm64/conf/files.arm64
+1-1sys/arch/arm64/arm64/trap.c
+298-42 files not shown
+301-48 files

BitRig/src 99f19c7sys/dev/ofw fdt.c ofw_clock.c

Some pieces copied from OpenBSD, believed to be needed for msmehci

Now uncertain, but meh.
DeltaFile
+1,073-0sys/dev/ofw/fdt.c
+440-0sys/dev/ofw/ofw_clock.c
+123-0sys/dev/ofw/ofw_pinctrl.c
+97-0sys/dev/ofw/ofw_gpio.c
+84-0sys/dev/ofw/ofw_clock.h
+81-0sys/dev/ofw/ofw_regulator.c
+1,898-03 files not shown
+1,995-09 files

BitRig/src 767e3bdsys/arch/arm64/fdt fdt.c, sys/arch/arm64/include fdt.h

more changes from OpenBSD:
Author: kettenis <kettenis at openbsd.org>
Date:   Sat Jul 9 12:31:05 2016 +0000
Add interfaces to look up a device tree node by phandle.

ok patrick@, jsg@, visa@

Author: kettenis <kettenis at openbsd.org>
Date:   Mon May 16 21:12:17 2016 +0000
Introduce OF_is_compatible(9), a convenience function to check the "compatible"
property of an OFW/FDT node.

ok deraadt@, pactrick@
DeltaFile
+57-1sys/arch/arm64/fdt/fdt.c
+3-1sys/dev/ofw/openfirm.h
+1-1sys/arch/arm64/include/fdt.h
+61-33 files

BitRig/src 0fbcadbsys/arch/arm64/fdt fdt.c, sys/dev/ofw openfirm.h

From OpenBSD:
Author: kettenis <kettenis at openbsd.org>
Date:   Sun Jun 12 12:55:42 2016 +0000

Add OF_getpropint() and OF_getpropintarray().

ok visa@, jsg@
DeltaFile
+30-1sys/arch/arm64/fdt/fdt.c
+3-1sys/dev/ofw/openfirm.h
+33-22 files

BitRig/src c22c5c6sys/arch/arm64/dev msmuart.c

cleanup, improves large receive some.
DeltaFile
+14-14sys/arch/arm64/dev/msmuart.c
+14-141 files

BitRig/src 654d380sys/arch/arm64/dev msmuart.c

Working but not well polished msmuart driver.
DeltaFile
+188-81sys/arch/arm64/dev/msmuart.c
+188-811 files

BitRig/src 74b9638sys/arch/arm64/arm64 pmap.c

Do not put kernel top level page table into ttbr0
DeltaFile
+5-1sys/arch/arm64/arm64/pmap.c
+5-11 files

BitRig/src c2b4b3dsys/arch/arm64/arm64 autoconf.c

missing spl0
DeltaFile
+1-0sys/arch/arm64/arm64/autoconf.c
+1-01 files

BitRig/src 1647518sys/arch/arm64/dev msmuart.c

Add working console input.
DeltaFile
+54-9sys/arch/arm64/dev/msmuart.c
+54-91 files

BitRig/src 39c285bsys/arch/arm64/arm64 machdep.c

Cleanup

Move console init later to consinit() (standard location)

clean up some commented code from freebsd, no longer meaningful.
DeltaFile
+8-8sys/arch/arm64/arm64/machdep.c
+8-81 files

BitRig/src 31f8719sys/arch/arm64/conf files.arm64 generic.arm64, sys/arch/arm64/dev agmemtimer.c agtimer.c

Agtimer (ARM64 architectural timer) works fine on dragonboard, use it.
DeltaFile
+0-518sys/arch/arm64/dev/agmemtimer.c
+0-4sys/arch/arm64/conf/files.arm64
+2-0sys/arch/arm64/dev/agtimer.c
+0-1sys/arch/arm64/conf/generic.arm64
+2-5234 files

BitRig/src 16d3f12sys/arch/arm64/conf files.arm64 generic.arm64, sys/arch/arm64/dev agmemtimer.c

agtimer modified to use memory mappings
DeltaFile
+518-0sys/arch/arm64/dev/agmemtimer.c
+4-0sys/arch/arm64/conf/files.arm64
+1-0sys/arch/arm64/conf/generic.arm64
+523-03 files

BitRig/src 64b7d01sys/arch/arm64/include fdt.h

Add macro to make it easy to iterate over children of a node.
DeltaFile
+2-0sys/arch/arm64/include/fdt.h
+2-01 files

BitRig/src ca4ce6asys/arch/arm64/dev agtimer.c

Fix bug in timer where incorrect register contents may be written
DeltaFile
+2-2sys/arch/arm64/dev/agtimer.c
+2-21 files

BitRig/src 7291aa4sys/arch/arm64/conf files.arm64 generic.arm64, sys/arch/arm64/dev qgcc.c

Add driver for qcom,gcc-msm8916 (qgcc)
DeltaFile
+111-0sys/arch/arm64/dev/qgcc.c
+7-3sys/arch/arm64/conf/files.arm64
+1-0sys/arch/arm64/conf/generic.arm64
+119-33 files

BitRig/src e818cfcsys/arch/arm64/conf generic.arm64

fix indent
DeltaFile
+5-5sys/arch/arm64/conf/generic.arm64
+5-51 files

BitRig/src 4e27cb2sys/arch/arm64/fdt fdtbus.c

Add some debug to indicate missing clock driver.
DeltaFile
+3-1sys/arch/arm64/fdt/fdtbus.c
+3-11 files

BitRig/src 3b6c5bdsys/arch/arm64/conf Makefile.arm64

Create u-boot 'booti' compatible images.
DeltaFile
+2-0sys/arch/arm64/conf/Makefile.arm64
+2-01 files

BitRig/src 4e04e1esys/arch/arm64/dev ampintc.c, sys/arch/arm64/fdt fdtbus.c

Match interrupt controller

Ignore additional unknown interrupt controllers.
DeltaFile
+28-0sys/arch/arm64/fdt/fdtbus.c
+1-0sys/arch/arm64/dev/ampintc.c
+29-02 files

BitRig/src 08dca28sys/kern init_main.c

Add new copyright year.
DeltaFile
+1-1sys/kern/init_main.c
+1-11 files

BitRig/src 206a155sys/arch/arm64/fdt fdt_machdep.c

Changes to work with Dragonboard.
DeltaFile
+10-0sys/arch/arm64/fdt/fdt_machdep.c
+10-01 files

BitRig/src e261c48sys/arch/arm64/fdt fdt_machdep.c fdt.c, sys/arch/arm64/include fdt.h

Change console to use chosen, allow aliases

Enables dragonboard console.
DeltaFile
+13-25sys/arch/arm64/fdt/fdt_machdep.c
+15-0sys/arch/arm64/fdt/fdt.c
+1-0sys/arch/arm64/include/fdt.h
+29-253 files

BitRig/src dc6eefesys/arch/arm64/arm64 locore.S

Add arm64 'kernel' signature, cleanup

Depending on platform fdt may be passed on x0 or x2,
this also contains a change that moves the x0 content to x2 in
case this platform doesn't init the x2 if passed a NULL x2, where
the kernel later expects the fdt pointer.
DeltaFile
+56-5sys/arch/arm64/arm64/locore.S
+56-51 files

BitRig/src 438e48dsys/arch/arm64/arm64 machdep.c

remove gdb_ waitcount debug code.
DeltaFile
+0-36sys/arch/arm64/arm64/machdep.c
+0-361 files

BitRig/src 7d93deesys/arch/arm64/conf files.arm64 generic.arm64, sys/arch/arm64/dev msmuart.c msmuartvar.h

Console driver for Dragonboard (Qualcomm apq8016)

Derived from IMX serial driver.

NOTE: driver is not complete, only console output is tested.
DeltaFile
+857-0sys/arch/arm64/dev/msmuart.c
+17-0sys/arch/arm64/dev/msmuartvar.h
+6-0sys/arch/arm64/conf/files.arm64
+3-0sys/arch/arm64/conf/generic.arm64
+883-04 files