The header file asm/sizes.h is unnecessary.
And it can also be compiled under X86 arch after the removal.
Signed-off-by: Wang Hongcheng <annie.w...@amd.com>
---
drivers/mmc/host/mmci.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
The header file asm/sizes.h is unnecessary.
And it can also be compiled under X86 arch after the removal.
Signed-off-by: Wang Hongcheng
---
drivers/mmc/host/mmci.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index fb26674..e5e5441 100644
The header file asm/sizes.h is unnecessary.
And it can also be compiled under X86 arch after the removal.
Signed-off-by: Wang Hongcheng <annie.w...@amd.com>
---
drivers/video/fbdev/amba-clcd.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/video/fbdev/amba-clcd.c b/drivers
The header file asm/sizes.h is unnecessary.
And it can also be compiled under X86 arch after the removal.
Signed-off-by: Wang Hongcheng
---
drivers/video/fbdev/amba-clcd.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/video/fbdev/amba-clcd.c b/drivers/video/fbdev/amba-clcd.c
Add device HID AMDI0020 to match the AMD ACPI Vendor ID (AMDI) as
registered in http://www.uefi.org/acpi_id_list, and the UART
controller on future AMD paltform will use the HID instead of AMD0020.
Signed-off-by: Wang Hongcheng <annie.w...@amd.com>
---
drivers/acpi/acpi_apd.c | 1 +
Add device HID AMDI0020 to match the AMD ACPI Vendor ID (AMDI) as
registered in http://www.uefi.org/acpi_id_list, and the UART
controller on future AMD paltform will use the HID instead of AMD0020.
Signed-off-by: Wang Hongcheng
---
drivers/acpi/acpi_apd.c | 1 +
1 file changed, 1 insertion
Add device HID AMDI0030 to match the AMD ACPI Vendor ID (AMDI) as
registered in http://www.uefi.org/acpi_id_list, and the GPIO controller
on future AMD paltform will use the HID instead of AMD0030.
Signed-off-by: Wang Hongcheng <annie.w...@amd.com>
---
drivers/pinctrl/pinctrl-amd.c | 1 +
Add device HID AMDI0030 to match the AMD ACPI Vendor ID (AMDI) as
registered in http://www.uefi.org/acpi_id_list, and the GPIO controller
on future AMD paltform will use the HID instead of AMD0030.
Signed-off-by: Wang Hongcheng
---
drivers/pinctrl/pinctrl-amd.c | 1 +
1 file changed, 1
Add device HID AMDI0020 to match the AMD ACPI Vendor ID (AMDI) as
registered in http://www.uefi.org/acpi_id_list, and the UART
controller on future AMD paltform will use the HID instead of AMD0020.
Signed-off-by: Wang Hongcheng <annie.w...@amd.com>
---
drivers/acpi/acpi_apd.c
Add device HID AMDI0020 to match the AMD ACPI Vendor ID (AMDI) as
registered in http://www.uefi.org/acpi_id_list, and the UART
controller on future AMD paltform will use the HID instead of AMD0020.
Signed-off-by: Wang Hongcheng
---
drivers/acpi/acpi_apd.c | 1 +
drivers/tty/serial
The header file asm/sizes.h is unnecessary.
And it can also be compiled under X86 arch after the removal.
Signed-off-by: Wang Hongcheng <annie.w...@amd.com>
---
drivers/mmc/host/mmci.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
The header file asm/sizes.h is unnecessary.
And it can also be compiled under X86 arch after the removal.
Signed-off-by: Wang Hongcheng
---
drivers/mmc/host/mmci.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index fb26674..e5e5441 100644
The header file asm/sizes.h is unnecessary.
And it can also be compiled under X86 arch after the removal.
Signed-off-by: Wang Hongcheng <annie.w...@amd.com>
---
drivers/video/fbdev/amba-clcd.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/video/fbdev/amba-clcd.c b/drivers
The header file asm/sizes.h is unnecessary.
And it can also be compiled under X86 arch after the removal.
Signed-off-by: Wang Hongcheng
---
drivers/video/fbdev/amba-clcd.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/video/fbdev/amba-clcd.c b/drivers/video/fbdev/amba-clcd.c
As CSRT table will not always work, 2 arguments, base_request_line
and num are added to acpi dma controller register
as another way to get device request line.
Signed-off-by: Wang Hongcheng
---
drivers/dma/acpi-dma.c| 25 -
drivers/dma/dw/platform.c | 2 +-
include
register acpi_dma controller, so ACPI devices can request pl330 DMA
channel. Request line info is get from private data.
Signed-off-by: Wang Hongcheng
---
drivers/acpi/acpi_apd.c| 34 +-
drivers/dma/pl330.c| 27 +++
include
Set a new port type for AMD Carrizo. Add has_pl330_dma to 8250_dw's
private data and init fcr,ier as well as dma rx size.
Signed-off-by: Wang Hongcheng
---
drivers/acpi/acpi_apd.c | 11 +++
drivers/tty/serial/8250/8250_dw.c | 15 +++
drivers/tty/serial
ler register
Thanks,
Hongcheng (Annie)
Wang Hongcheng (6):
8250/Kconfig: add config option CONFIG_SERIAL_8250_AMD
ACPI: create setup_quirk in acpi_apd
ACPI: add 2 parameters to function acpi dma controller register
dmaengine: pl330: add new items for pl330 private data
dmaengine: pl
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
---
drivers/tty/serial/8250/Kconfig | 8
1 file changed, 8
The post_setup hook of AMD0020 device will create an amba device as
the child of a previously created platform device.
Signed-off-by: Wang Hongcheng
---
drivers/acpi/acpi_apd.c | 131
1 file changed, 121 insertions(+), 10 deletions(-)
diff --git
mcbuf_sz means bytes to allocate for MicroCode 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
---
drivers/acpi/acpi_apd.c| 17 +
drivers/dma/pl330.c| 9
As CSRT table will not always work, 2 arguments, base_request_line
and num are added to acpi dma controller register
as another way to get device request line.
Signed-off-by: Wang Hongcheng <annie.w...@amd.com>
---
drivers/dma/acpi-dma.c| 25 -
drivers/
register acpi_dma controller, so ACPI devices can request pl330 DMA
channel. Request line info is get from private data.
Signed-off-by: Wang Hongcheng <annie.w...@amd.com>
---
drivers/acpi/acpi_apd.c| 34 +-
drivers/dma/pl330.c
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
The post_setup hook of AMD0020 device will create an amba device as
the child of a previously created platform device.
Signed-off-by: Wang Hongcheng <annie.w...@amd.com>
---
drivers/acpi/acpi_apd.c | 131
1 file changed, 121 insertions(
ler register
Thanks,
Hongcheng (Annie)
Wang Hongcheng (6):
8250/Kconfig: add config option CONFIG_SERIAL_8250_AMD
ACPI: create setup_quirk in acpi_apd
ACPI: add 2 parameters to function acpi dma controller register
dmaengine: pl330: add new items for pl330 private data
dmaengine: pl
mcbuf_sz means bytes to allocate for MicroCode 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>
---
drivers/acpi/acpi_apd.c| 17 +
drivers/dma
Set a new port type for AMD Carrizo. Add has_pl330_dma to 8250_dw's
private data and init fcr,ier as well as dma rx size.
Signed-off-by: Wang Hongcheng <annie.w...@amd.com>
---
drivers/acpi/acpi_apd.c | 11 +++
drivers/tty/serial/8250/8250_dw.c
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
---
drivers/tty/serial/8250/Kconfig | 8
1 file changed, 8
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 ips are compatible
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
Signed-off-by: Wang Hongcheng
---
drivers/dma/pl330.c | 4
1 file
goto amba_register_err;
diff --git a/drivers/acpi/acpi_apd.c b/drivers/acpi/acpi_apd.c
index a450e7a..eb3316a 100644
--- a/drivers/acpi/acpi_apd.c
+++ b/drivers/acpi/acpi_apd.c
@@ -3,7 +3,8 @@
*
* Copyright (c) 2014,2015 AMD Corporation.
* Authors: Ken Xue
- * Wu, Jef
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
---
drivers/acpi/acpi_apd.c| 13
Set a new port type for AMD Carrizo. Add has_pl330_dma to 8250_dw's
private data and init fcr,ier as well as dma rx size.
Signed-off-by: Wang Hongcheng
---
drivers/acpi/acpi_apd.c | 10 ++
drivers/tty/serial/8250/8250_dw.c | 16
drivers/tty/serial/8250
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
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
---
drivers/acpi/acpi_apd.c| 12
drivers/dma/pl330.c| 38
ion to support pl330
AMBA driver.
Signed-off-by: Huang Rui
Signed-off-by: Wang Hongcheng
---
drivers/acpi/Makefile| 1 +
drivers/acpi/acpi_amba.c | 157 +++
include/linux/acpi.h | 21 +++
3 files changed, 179 insertions(+)
create mode
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 a/Documentation/kernel-parameters.txt
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
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
Set a new port type for AMD Carrizo. Add has_pl330_dma to 8250_dw's
private data and init fcr,ier as well as dma rx size.
Signed-off-by: Wang Hongcheng <annie.w...@amd.com>
---
drivers/acpi/acpi_apd.c | 10 ++
drivers/tty/serial/8250/8250_dw.c
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
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..
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
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
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
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
48 matches
Mail list logo