| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This prototype should have been removed with commit
ac4db4cec5b6b1e0a25e910851e50831afb0749d.
|
|
|
|
|
|
| |
This disables any usage of the on-device R/W cache since all device
cache maintenance functions are compiled out under RTEMS leaving no way
to flush the cache before system reset and making data loss possible.
|
| |
|
|
|
|
|
| |
This moves the ZynqMP-specific variable initialization to the start of
the function to avoid Coverity warnings.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Note: This test currently only works with a board with a Tsi148 like the
MVME2500. For other boards it will print only a message.
|
|
|
|
|
| |
The glue layer provides the necessary function so that the Tsi148 driver
in the BSP can use the PCI functionality from libbsd.
|
| |
|
|
|
|
| |
The CFG_ADDR has to be written before reading or writing the CFG_DATA.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The x86 provides it own bus space support. Use the generic
bus space calls. This however requires the BUS_SPACE_MEM tag
be provided for all architectures. Make the generic value
match the x86 value.
|
|
|
|
|
|
| |
The documentation for this function suggests that it can handle invalid
descriptors safely. This change allows negative descriptors to be
handled without a crash.
|
| |
|
| |
|
|
|
|
|
| |
The open path length was not set when at the root node and this
sometimes failed the current directory checks.
|
|
|
|
|
| |
NFSv4 mounts NFS file systems to the flat root of a pseudo file
system. This change allow the same basename to be used.
|
|
|
|
| |
Closes #4723
|
|
|
|
|
|
|
|
|
| |
The kernel open call requires a path so to open a file we need to
set the current directory to the parent vnode. If the open mode is
create the path info vnode is the directory to perform the open
create in. Using the parent node creates the file in wrong path.
Updates #4723
|
|
|
|
|
|
|
| |
If the size in the attributes struct does not match the mode_t the
VNOVAL checks fail because size of the values are not the same.
Updates #4723
|
|
|
|
|
|
|
| |
This removes the workaround applied on the fly for QEMU that disables
priority queueing. The priority queue interrupt was not previously
hooked up properly in QEMU and RSB now has the patches to allow it to
work.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The racoon session code copies an fd_set from one variable into another
prior to calling select. That works well for simple structures.
In libbsd we have to allocate fd_sets instead of using fixed structures
to avoid a problem with file numbers bigger than FD_SETSIZE. The simple
assignment didn't work in that case.
This patch makes sure that a memcpy is used instead.
Update #4913
|
|
|
|
|
|
|
|
| |
This reverts commit 6ee31ae968323c71c478b2f52ec5a5cbff8c8f5d.
A fix has been committed to RTEMS pkgcfg and Makefile generation to
handle this issue and having this in place with the fix in RTEMS causes
a failure to build.
|
| |
|
|
|
|
|
|
| |
This fixes an issue where the card present signal doesn't stabilize
quickly and indicates present when no card is inserted in a removable
slot.
|
|
|
|
| |
Updates #4860
|
| |
|
|
|
|
| |
Git commit c6c89ab952f9ffe895939a2621180acc99ae8b80.
|
|
|
|
|
|
| |
Tested on VCK190
Closes #4762
|
|
|
|
|
|
| |
This moves the ZynqMP BSPs over to using device trees for CGEM
instantiation now that all BSP variants provide appropriate device
trees.
|
|
|
|
|
| |
This adds support to the CGEM driver for selection of SGMII PHY
interfaces specified via device tree parameters.
|
|
|
|
|
| |
This reintroduces device tree support to the CGEM driver while
preserving the ability to statically define CGEM interfaces.
|
|
|
|
|
| |
This improves the compatibility of this driver across board and memory
variants by avoiding use of the HISPD mode.
|
|
|
|
|
|
|
|
| |
The BSD SD subsystem enforces a 50MHz clock cap for devices which don't
report their own maximum clock speed. This setting is unnecessary for
the Zynq 7000 version of this IP and restricts the Zynq Ultrascale+
MPSoC version of this IP without need since it reports its maximum speed
as 200MHz.
|
|
|
|
|
|
| |
This driver works on both the Zynq 7000 chips as well as the Zynq
Ultrascale+ MPSoC chips and targets the Arasan SDHCI IP that exists in
both.
|
|
|
|
|
|
|
|
| |
The initial version of this driver was masking the capabilities register
to hide 8 bit bus capability. This is not necessary since these devices
report that capability correctly and the masking affects performance
negatively on ZynqMP boards where the 8 bit bus is supported. This also
removes two quirks that were made necessary by the capabilities masking.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add two underscore characters "__" to names of BIT_* and BITSET_*
macros to move them to the implementation name space and to prevent
a name space pollution due to BIT_* macros in 3rd party programs with
conflicting parameter signatures.
These prefixed macro names are used in kernel header files to define
macros in e.g. sched.h, sys/cpuset.h and sys/domainset.h.
If C programs are built with either -D_KERNEL (automatically passed
when building a kernel or kernel modules) or -D_WANT_FREENBSD_BITSET
(or this macros is defined in the source code before including the
bitset macros), then all macros are made visible with their previous
names, too. E.g., both __BIT_SET() and BIT_SET() are visible with
either of _KERNEL or _WANT_FREEBSD_BITSET defined.
The main reason for this change is that some 3rd party sources
including sched.h have been found to contain conflicting BIT_*
macros.
As a work-around, parts of shed.h have been made conditional and
depend on _WITH_CPU_SET_T being set when sched.h is included.
Ports that expect the full functionality provided by sched.h need
to be built with -D_WITH_CPU_SET_T. But this leads to conflicts if
BIT_* macros are defined in that program, too.
This patch set makes all of sched.h visible again without this
parameter being passed and without any name space pollution due
to BIT_* macros becoming visible when sched.h is included.
This patch set will be backported to the STABLE branches, but ports
will need to use -D_WITH_CPU_SET_T as long as there are supported
releases that do not contain these patches.
Reviewed by: kib, markj
MFC after: 1 month
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D33235
|
|
|
|
|
|
| |
Probing a SDIO/SDHCI interface that has been disabled by system init via
holding it in reset can cause a CPU hang. This prevents probing of
devices that have been disabled in such a manner on ZynqMP systems.
|
| |
|