| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
replace them by primary ones where needed.
|
| |
|
|
|
|
| |
not used L1_ADDR_BITS definition.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
configuration from the FDT data, then set the pins into the requested
state. As part of this the gpio controller now reports the correct number
of pins instead of returning the number of bank * 32.
To allow for a future consolidated kernel we add the SOC_ALLWINNER_A10 and
SOC_ALLWINNER_A20 kernel options. These need to be set as appropriate for
the SoC the kernel will boot on.
Submitted by: Emmanuel Vadot <manu@bidouilliste.com>
Differential Revision: https://reviews.freebsd.org/D5177
|
|
|
|
|
|
| |
are not utilized there. Only domain #0 is used and there is no reference
to it in the whole pmap-v6.c. Thus initialize domain access register in
locore-v6.c without reference too.
|
|
|
|
| |
page is always mapped in KVA space and so it's always writeable.
|
| |
|
|
|
|
|
| |
The struct is used for definition of static device mappings which
should always have same protection and attributes.
|
|
|
|
|
|
|
|
| |
Before this change all mappings done by this function were executable
as pte entries have NOT EXECUTABLE bit.
The function is used only for static device mappings at present. Thus
this is also a fix as DEVICE memory should not be mapped as executable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
will allow for code that uses the old fdt_get_range and fdt_regsize
functions to find a range, map it, access, then unmap to replace this, up
to and including the map, with a call to OF_decode_addr.
As this function should only be used in the early boot code the unmap is
mostly do document we no longer need the mapping as it's a no-op, at least
on arm.
Reviewed by: jhibbits
Sponsored by: ABT Systems Ltd
Differential Revision: https://reviews.freebsd.org/D5258
|
|
|
|
|
|
|
|
| |
am335x_prcm driver which uses it. Used BUS_PASS_BUS is a quick pick
for now and may be revised when other drivers start using multipass
feature.
This is needed after an update of Linux dts files done in r295436.
|
|
|
|
|
|
|
|
|
| |
(1) The channel mask is get from "brcm,dma-channel-mask" property of
dma node, and if not provided, from "broadcom,channels" property.
(2) Consequently, sdhci driver does not allocate any specific channel.
(3) Use CS_RESET bit for initial channel reset.
Differential Revision: https://reviews.freebsd.org/D4303
|
|
|
|
|
|
|
| |
Management IC.
Submitted by: Jared McNeill <jmcneill@invisible.ca>
Differential Revision: https://reviews.freebsd.org/D5298
|
|
|
|
|
|
|
|
| |
A10/A20 SoC. Based loosely on the submitters NetBSD driver, tested on
Cubieboard 2. Playback and capture are supported.
Submitted by: Jared McNeill <jmcneill@invisible.ca>
Differential Revision: https://reviews.freebsd.org/D5202
|
|
|
|
|
|
| |
here remove magic shifts, and cleanup pwr_name.
Sponsored by: ABT Systems Ltd
|
|
|
|
|
|
|
| |
least the audio codec driver currently in review.
Submitted by: Jared McNeill <jmcneill@invisible.ca>
Differential Revision: https://reviews.freebsd.org/D5050
|
|
|
|
|
|
|
| |
with this and an Allwinner SoC to power off.
Submitted by: Emmanuel Vadot <manu@bidouilliste.com>
Differential Revision: https://reviews.freebsd.org/D4954
|
|
|
|
|
| |
Reported by: Jared McNeill <jmcneill@invisible.ca>
Pointy-hat to: andrew
|
|
|
|
| |
Sponsored by: ABT Systems Ltd
|
|
|
|
|
|
|
| |
through WUGEN to GIC. Hardware initialization is left in state after
reset as well as before.
This is needed after an update of Linux dts files.
|
|
|
|
|
|
|
|
|
|
| |
Marvell twsi part, however uses different register locations, as such split
the existing driver into Marvell and Allwinner attachments.
While here clean a few style issues.
Submitted by: Emmanuel Vadot <manu@bidouilliste.com>
Differential Revision: https://reviews.freebsd.org/D4846
|
|
|
|
|
|
|
| |
directory as it is expected multiple attachments will be added for the SoC
families that use this hardware.
Sponsored by: ABT Systems Ltd
|
|
|
|
|
|
| |
location. The device is also found in Allwinner SoCs.
Sponsored by: ABT Systems Ltd
|
| |
|
|
|
|
| |
a null terminated string.
|
|
|
|
|
|
| |
Controller.
Sponsored by: ABT Systems Ltd
|
| |
|
|
|
|
| |
comments, and std.zedboard just pointed to files.zedboard and std.xilinx.
|
|
|
|
| |
Pointy hat to: andrew
|
| |
|
|
|
|
| |
conversion so we don't need to pass the data through fdt32_to_cpu.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use the Linux compat string
* Use EARLY_DRIVER_MODULE to attach at the right time
* Add a generic A10 kernel config file
* A20 now use generic_timer
* Add two new dts files for Olimex boards
* Update our custom DTS file for A10 and A20 to use the same compatible
property names as the vendor ones.
Submitted by: Emmanuel Vadot <manu@bidouilliste.com>
Differential Revision: https://reviews.freebsd.org/D4792
|
|
|
|
|
|
|
|
| |
leave the machine dependent bits in sys/arm/.
This is in preparation for MIPS INTRNG work.
Submitted by: Stanislav Galabov <sgalabov@gmail.com>
|
|
|
|
|
|
| |
requirement for uma_int.h.
Suggested by: jhb
|
|
|
|
|
|
|
| |
from a larger patch.
Submitted by: Emmanuel Vadot <manu@bidouilliste.com>
X-Differential Revision: https://reviews.freebsd.org/D4792
|
|
|
|
|
|
| |
in all but ARMv4 specific files.
Expand ARMv6 compatibility stubs in cpu-v4.h. Use physical address
in L2 cache functions if ARM_L2_PIPT is defined.
|
|
|
|
|
|
|
|
| |
variables and functions. This stuff is named properly now.
Thus, the VM_MEMATTR_xxx is an index to PTE2 attribute table.
Pointy hat to: skra
|
|
|
|
|
| |
anything as both VM_MEMATTR_WB_WA and PTE2_ATTR_WB_WA are zero.
Correct also type of pmap_dcache_wb_pou() last argument.
|
|
|
|
|
| |
from cpu-v6.h to it.
Remove unneeded cpu-v6.h includes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which return -1 as well as on tier 1 archs. Remove block_userspace_access
used only in these implementations.
(1) These functions may be called in interrupt context and pcb_onfault
can be already set in this time. Thus, prior pcb_onfault must be saved
and restored afterwards.
(2) The check that an abort came either from nested interrupt or while
in critical section or holding not sleepable lock must be avoided for
this case.
These functions are called only for profiling reason, so there will be
only small gain by making the code more complex.
|
|
|
|
| |
Don't duplicate this initialization in cpu_setup().
|
|
|
|
|
|
| |
for __ARM_ARCH >= 6.
It's TEX class number now, so it still has some meaning.
|
|
|
|
|
| |
for ARMv7. For ARMv6, it controls ARMv5 compatible alignment support.
This bit have no effect until unaligned access is enabled.
|
|
|
|
|
|
|
|
| |
(1) Move cnt.v_trap increment to the beginning. There is cnt.v_vm_faults
counter in vm_fault(), so a number of hardware emulation aborts may be
get roughly as difference.
(2) Move kdb_reenter() up to not be ignored if pmap_fault() has failed.
(3) Update comments.
|
| |
|
|
|
|
| |
readable at any time.
|
| |
|
| |
|
|
|
|
| |
Remove unused #define for drain_writebuf.
|
|
|
|
| |
Remove it from cpu_functions table.
|