diff options
| author | Frank Li <Frank.Li@nxp.com> | 2025-03-15 15:15:36 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-29 11:02:15 +0200 |
| commit | e2520cc19b7589819ae3614aaf07389910a9606b (patch) | |
| tree | 29ea681fe758c307369ddd76b783acc912b63c6e /include/uapi/linux/virtio_crypto.h | |
| parent | e658f2d94a74cd4b4fc54875d89e34c68c318274 (diff) | |
PCI: dwc: Use resource start as ioremap() input in dw_pcie_pme_turn_off()
[ Upstream commit 8f4a489b370e6612700aa16b9e4373b2d85d7503 ]
The msg_res region translates writes into PCIe Message TLPs. Previously we
mapped this region using atu.cpu_addr, the input address programmed into
the ATU.
"cpu_addr" is a misnomer because when a bus fabric translates addresses
between the CPU and the ATU, the ATU input address is different from the
CPU address. A future patch will rename "cpu_addr" and correct the value
to be the ATU input address instead of the CPU physical address.
Map the msg_res region before writing to it using the msg_res resource
start, a CPU physical address.
Link: https://lore.kernel.org/r/20250315201548.858189-2-helgaas@kernel.org
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/uapi/linux/virtio_crypto.h')
0 files changed, 0 insertions, 0 deletions
