Add config option CONFIG_SERIAL_8250_AMD in use of AMD carrizo.
Because carrizo's UART DMA device is an amba device, it selects
ARM_AMBA option. Anything uses amba devices must select ARM_AMBA.
Signed-off-by: Wang Hongcheng <annie.w...@amd.com>
---
drivers/tty/serial/8250/Kconf
quent patches, we will use this function to support pl330
AMBA driver.
Signed-off-by: Huang Rui <ray.hu...@amd.com>
Signed-off-by: Wang Hongcheng <annie.w...@amd.com>
---
drivers/acpi/Makefile| 1 +
drivers/acpi/acpi_amba.c | 157 +++
include/l
ACPI HID named devices IOMMU driver support
Wang Hongcheng (6):
8250/Kconfig: add config option CONFIG_SERIAL_8250_AMD
ACPI: add struct acpi_amba_quirk for AMD pl330 specific device config
dmaengine: pl330: add new items for pl330 private data
dmaengine: pl330: provide ACPI dmaengine interface
From: Wan Zongshun
AMD UART is a ACPI HID named device, it also is none-pci device,
currently, iommu driver only supports pci device, so UART DMA did
not work at current AMD IOMMU driver.
AMD reused 8250 serial driver and ARM PL330 DMA engine driver,
since AMD uart and dma
From: Wan Zongshun
Add ivrs_acpihid kernel parameter description,
like ivrs_acpihid[00:14.5]=AMD0020:0.
Signed-off-by: Wan Zongshun
---
Documentation/kernel-parameters.txt | 7 +++
1 file changed, 7 insertions(+)
diff --git
hors: Ken Xue <ken@amd.com>
- * Wu, Jeff <jeff...@amd.com>
+ * Jeff Wu <15618388...@163.com>
+ * Wang Hongcheng <annie.w...@amd.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Pub
register acpi_dma controller, so ACPI devices can request pl330 DMA
channel.
A filter is added in private data for Carrizo specific hardware
design
Signed-off-by: Wang Hongcheng <annie.w...@amd.com>
---
drivers/acpi/acpi_apd.c| 12
drivers/dma/pl330.c
has_no_cap_mask means this device has no preset cap mask.
mcbuf_sz means bytes to allocate for MC buffer.
flags is for irq sharing, default is non-shared, in AMD
Carrizo, pl330 shares IRQ with its corresponding UART device.
Signed-off-by: Wang Hongcheng <annie.w...@amd.com>
---
driver
Because amd iommu and software iommu need this mask.For example,
if we use software iommu without this mask, we will
get 'Out of SW-IOMMU space' error, when calling swiotlb_map_page
function.
Signed-off-by: Wan Zongshun <vincent@amd.com>
Signed-off-by: Wang Hongcheng <annie.w..