History log of /freebsd/sys/dev/dwc/dwc1000_dma.c (Results 1 – 16 of 16)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# e125371f 22-Jan-2024 Gordon Bergling <gbe@FreeBSD.org>

dwc: Fix two typos in a source code comment

- s/recevied/received/
- s/descriptr/descriptor/

MFC after: 3 days


# 1f469a9f 26-Dec-2023 Emmanuel Vadot <manu@FreeBSD.org>

hwreset: Move reset code in dev/hwreset

We've removed kernel option EXT_RESOURCES almost two years ago.
While it was ok to have some code under a common 'extres' subdirectory
at first, we now have a

hwreset: Move reset code in dev/hwreset

We've removed kernel option EXT_RESOURCES almost two years ago.
While it was ok to have some code under a common 'extres' subdirectory
at first, we now have a lot of consumer of it and we made it mandatory
so no need to have it under a cryptic name.

Reviewed by: imp
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D43192

show more ...


# be82b3a0 26-Dec-2023 Emmanuel Vadot <manu@FreeBSD.org>

clk: Move clock code in dev/clk

We've removed kernel option EXT_RESOURCES almost two years ago.
While it was ok to have some code under a common 'extres' subdirectory
at first, we now have a lot of

clk: Move clock code in dev/clk

We've removed kernel option EXT_RESOURCES almost two years ago.
While it was ok to have some code under a common 'extres' subdirectory
at first, we now have a lot of consumer of it and we made it mandatory
so no need to have it under a cryptic name.

Reviewed by: mhorne
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D43191

show more ...


# fdafd315 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

sys: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remov

sys: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix

show more ...


Revision tags: release/14.0.0
# 0cb63dca 16-Oct-2023 Emmanuel Vadot <manu@FreeBSD.org>

Revert "dwc: re-rewrite barrier part"

Turns out we need all the barrier.
The one before writing the OWN bit is needed so the DMA engine
have coherent data, the second one (after the OWN bit is set)

Revert "dwc: re-rewrite barrier part"

Turns out we need all the barrier.
The one before writing the OWN bit is needed so the DMA engine
have coherent data, the second one (after the OWN bit is set) is
also needed because the DMA buffers are allocated with VM_MEMATTR_DEFAULT
whic equals to being cached.

This reverts commit 2b4f615e7d4720b16007cfa8aaedf720f572067a.
This reverts commit 4870346488051b9c4a1dc8b11cab55d4e5b7c230.

Reported by: mmel

show more ...


# 43cd6bbb 12-Oct-2023 Emmanuel Vadot <manu@FreeBSD.org>

dwc: re-rewrite barrier part

We need the DMA engine to have everything coherent *before* we
set the OWN bit (the bit that tells the DMA engine that it owns
the descriptor).

Fixes: 487034648805 ("dw

dwc: re-rewrite barrier part

We need the DMA engine to have everything coherent *before* we
set the OWN bit (the bit that tells the DMA engine that it owns
the descriptor).

Fixes: 487034648805 ("dwc: Rewrite barrier part")

Reported by: jhb

show more ...


# 38cbdae3 06-Oct-2023 Emmanuel Vadot <manu@FreeBSD.org>

dwc: Rewrite barrier part

We only need a barrier after writing the OWN bit so everything is
coherent for the DMA engine.


# 7786911f 05-Oct-2023 Emmanuel Vadot <manu@FreeBSD.org>

dwc: Rewrite part of the descriptors setup functions

- Add a txdesc_clear which clears the tx desc instead of doing that in
dwc_setup_txdesc based on arguments.
- Remove dwc_set_owner, in the e

dwc: Rewrite part of the descriptors setup functions

- Add a txdesc_clear which clears the tx desc instead of doing that in
dwc_setup_txdesc based on arguments.
- Remove dwc_set_owner, in the end we always set the owner of the desc
as we do it for id > 0 and then for the first one.
- Remove dwc_ prefix

No functional changes intended.

show more ...


# 4b7975ec 04-Oct-2023 Emmanuel Vadot <manu@FreeBSD.org>

dwc: Remove if_dwc_mac_type

This doesn't represent the mac_type but if the DMA engine support
extended descriptors.
Read the HW_FEATURE register to learn if the DMA engine supports it.

No functiona

dwc: Remove if_dwc_mac_type

This doesn't represent the mac_type but if the DMA engine support
extended descriptors.
Read the HW_FEATURE register to learn if the DMA engine supports it.

No functional changes intended.

show more ...


# 5d88a52b 04-Oct-2023 Emmanuel Vadot <manu@FreeBSD.org>

dwc: Move dma engine configuration to dwc1000_dma.c

No functional changes intended.


# 363b7c39 04-Oct-2023 Emmanuel Vadot <manu@FreeBSD.org>

dwc: Move the dma reset code in dwc1000_dma.c

No functional changes intended


# f0a7dd77 03-Oct-2023 Emmanuel Vadot <manu@FreeBSD.org>

dwc: Setup desc addresses in the dma init function.


# 29776aa4 03-Oct-2023 Emmanuel Vadot <manu@FreeBSD.org>

dwc: Move interrupt related code to core and dma file

No functional changes intended.


# fe82f82d 28-Sep-2023 Emmanuel Vadot <manu@FreeBSD.org>

dwc: Put all DMA related defines in dma1000_dma.c

No need to polute dwm1000_dma.h now.

No functional changes intended.


# afa0f66e 28-Sep-2023 Emmanuel Vadot <manu@FreeBSD.org>

dwc: Move the txstart dma part to dwc1000_dma

This is dma related to move it to the dma file.

No functional changes intended.


# 972adf0f 28-Sep-2023 Emmanuel Vadot <manu@FreeBSD.org>

dwc: Split dma functions

Synopsis/Designware controller have multiple dma version, the one included
in the driver is the base one. if_awg is one example of a dwc variant that
have another DMA contro

dwc: Split dma functions

Synopsis/Designware controller have multiple dma version, the one included
in the driver is the base one. if_awg is one example of a dwc variant that
have another DMA controller. eqos is a newer variant of dwc that have a newer
dma controller.
In the goal to support all of those in the same base driver start splitting the
dma function to a new file.

No functional changes intended.

show more ...