| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
The ARM version of DDB is supposedly reliable enough making this
message benign.
|
|
|
|
| |
configs and there is no reason for them not to be here.
|
|
|
|
| |
file where they are defined.
|
| |
|
|
|
|
| |
only enable support for the SoCs we are built for.
|
| |
|
|
|
|
| |
option they defined into files.am335x.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
few changes to drivers, no kernel config was added. As the SoCs are quite
old and the code is unmaintained start the process of removing support by
deleting the header file and code that depends on it along with the macro
SOC_OMAP3. Other Ti SoCs shouldn't be affected, other than for us to have
less code to maintain.
Differential Revision: https://reviews.freebsd.org/D936
Reviewed by: rpaulo, loos
|
|
|
|
|
|
| |
o Enable SMP
Sponsored by: DARPA, AFRL
|
|
|
|
|
|
| |
PR: 193761
Submitted by: Conrad Meyer <conrad.meyer@isilon.com>
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
| |
Sponsored by: DARPA, AFRL
|
|
|
|
| |
Approved by: stas (mentor)
|
| |
|
|
|
|
|
|
|
| |
flags, like the comment says it does.
Pointy hat: ian
Submitted by: Svatopluk Kraus <onwahe@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
AT91SAM9G45_IRQ_PIODE. According to the data sheet, both PIOD and PIOE
use the same IRQ.
While here remove duplicate definitions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
registers and use it in the ARMv7 CPU functions.
The sysreg.h file has been checked by hand, however it may contain errors
with the comments on when a register was first introduced. The ARMv7 cpu
functions have been checked by compiling both the previous and this version
and comparing the md5 of the object files.
Submitted by: Svatopluk Kraus <onwahe at gmail.com>
Submitted by: Michal Meloun <meloun at miracle.cz>
Reviewed by: ian, rpaulo
Differential Revision: https://reviews.freebsd.org/D795
|
|
|
|
| |
Reviewed by: imp
|
| |
|
| |
|
|
|
|
|
|
| |
Ethernet MAC.
Sponsored by: DARPA, AFRL
|
|
|
|
|
|
| |
match other platforms.
Discussed with: andrew
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the FreeBSD kernel is loaded from Xen the symtab and strtab are
not loaded the same way as the native boot loader. This patch adds
three new global variables to ddb that can be used to specify the
exact position and size of those tables, so they can be directly used
as parameters to db_add_symbol_table. A new helper is introduced, so callers
that used to set ksym_start and ksym_end can use this helper to set the new
variables.
It also adds support for loading them from the Xen PVH port, that was
previously missing those tables.
Sponsored by: Citrix Systems R&D
Reviewed by: kib
ddb/db_main.c:
- Add three new global variables: ksymtab, kstrtab, ksymtab_size that
can be used to specify the position and size of the symtab and
strtab.
- Use those new variables in db_init in order to call db_add_symbol_table.
- Move the logic in db_init to db_fetch_symtab in order to set ksymtab,
kstrtab, ksymtab_size from ksym_start and ksym_end.
ddb/ddb.h:
- Add prototype for db_fetch_ksymtab.
- Declate the extern variables ksymtab, kstrtab and ksymtab_size.
x86/xen/pv.c:
- Add support for finding the symtab and strtab when booted as a Xen
PVH guest. Since Xen loads the symtab and strtab as NetBSD expects
to find them we have to adapt and use the same method.
amd64/amd64/machdep.c:
arm/arm/machdep.c:
i386/i386/machdep.c:
mips/mips/machdep.c:
pc98/pc98/machdep.c:
powerpc/aim/machdep.c:
powerpc/booke/machdep.c:
sparc64/sparc64/machdep.c:
- Use the newly introduced db_fetch_ksymtab in order to set ksymtab,
kstrtab and ksymtab_size.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We've always considered the mpcore timers to be a single monolithic device
and we defined our own fdt binding for it with our own compat string. The
published bindings treat the timers as two separate devices, a global
timer and a "timer-watchdog" device for the per-cpu private timers. Thus
our binding has two tuples in the regs property, one set of registers for
the global timer and one for the private timers. The published bindings
have two separate devices, each with a single set of registers. (Note that
we don't use the optional watchdog feature of the hardware.)
These changes add the compat strings for the published bindings. If our
own compat string appears, we expect to get two sets of memory resources.
For the published bindings, there's only one set of memory resources, and
only the private timers have an associated interrupt.
The other major change is that there can no longer be a single global var
for the softc pointer because now there may be multiple devices at
runtime. Since the global timer is used only as a timecounter and the
private timers only as eventtimers, and there will only be one of each,
those are now the pointers which are global, and the priv fields of those
structures backlink to the device softc.
|
|
|
|
|
|
| |
Disable AHB clock gate for ehci0.
Approved by: stas (mentor)
|
| |
|
|
|
|
|
|
| |
names rather than inline mystery constants for these offsets.
Pointed out by: andrew
|
|
|
|
|
| |
properties. Move fdt_pic_table and fdt_fixup_table into imx6_machdep.c,
which means imx6 doesn't need imx_common.c anymore.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the fdt data we've written for ourselves, the interrupt properties
for GIC interrupts have just been a bare interrupt number. In standard
data that conforms to the published bindings, GIC interrupt properties
contain 3-tuples that describe the interrupt as shared vs private, the
interrupt number within the shared/private address space, and configuration
info such as level vs edge triggered.
The new gic_decode_fdt() function parses both types of data, based on the
#interrupt-cells property. Previously, each platform implemented a decode
routine and put a pointer to it into fdt_pic_table. Now they can just
list this function in their table instead if they use arm/gic.c.
|
|
|
|
|
| |
Also allow the driver to attach to ofwbus as well as simplebus, some FDT
data puts the root interrupt controller on the root bus.
|
|
|
|
|
|
|
|
|
|
|
| |
The code had references to both intr_offset and intr_parent variable names
as referring to the parent interrupt node. The intr_parent variable
wasn't actually defined anywhere, but the only references to it were as
an argument to a macro that didn't use that argument in expansion, so
the undefined variable accidentally didn't cause an error.
The intr_parent name makes more sense in context, so change all occurrances
of intr_offset to intr_parent.
|
| |
|
|
|
|
| |
uses the new fdt_pinctrl interface.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
nexus_alloc_resource() and don't set a bushandle.
nexus_activate_resource() will set a proper bushandle.
- Implement a proper nexus_release_resource().
- Fix ixppcib_activate_resource() to call rman_activate_resource()
before creating a mapping for the resource.
Tested by: jmg
|
|
|
|
|
|
| |
and provides sysctl tunables for enable/disable FPGA<->HPS bridges.
Sponsored by: DARPA, AFRL
|
|
|
|
|
|
|
| |
other architectures with this function.
Submitted by: Svatopluk Kraus <onwahe at gmail.com>
Submitted by: Michal Meloun <meloun at miracle.cz>
|
|
|
|
|
|
| |
Submitted by: Svatopluk Kraus <onwahe at gmail.com>,
Michal Meloun <meloun at miracle.cz>
Differential Revision: https://reviews.freebsd.org/D754
|
|
|
|
|
|
| |
from asm.h as they were already defined in armreg.h.
Submitted by: Michal Meloun <meloun at miracle.cz>
|
|
|
|
| |
Versatile hardware.
|
|
|
|
|
| |
Also rename cmp to cmpval just to keep the asm variable names similar to
the C variable names.
|
|
|
|
|
|
|
|
| |
va == pa map.
I'm not sure the code would work if we are not running from the identity
map as the ARM core may attempt to read the next instruction from an
invalid memory location.
|
| |
|
|
|
|
|
| |
Reviewed by: ian@, rpaulo@
Differential Revision: https://reviews.freebsd.org/D736
|
|
|
|
|
|
|
|
|
|
| |
boards.
This is just intended to split the common config entries out, further
cleanup is expected.
Reviewed by: ian@, rpaulo@ (earlier version)
Differential Revision: https://reviews.freebsd.org/D731
|
|
|
|
|
|
|
|
|
| |
o Unmagic 'configuration done' bit
o Move probe() to place before attach() for better navigation
o Use bus_read_n instead of bus_space_read_n functions
Pointed out by: andrew
Sponsored by: DARPA, AFRL
|
| |
|
|
|
|
|
|
|
|
|
| |
be usable as the default timer in place of the physical timer.
We are guaranteed to have access to the virtual timer, but when running
under a hypervisor may not have access to the physical.
Differential Revision: https://reviews.freebsd.org/D588
|
|
|
|
|
|
| |
from FreeBSD userspace running on ARM core.
Sponsored by: DARPA, AFRL
|