Re: [V6 PATCH 0/7] ACPI: Introduce support for _CCA object

2015-06-15 Thread Suravee Suthikulpanit
Thank you. Suravee On 6/15/15 18:24, Rafael J. Wysocki wrote: On Wednesday, June 10, 2015 11:08:51 AM Suravee Suthikulpanit wrote: This patch series introduce support for _CCA object, which is currently used mainly by ARM64 platform to specify DMA coherency attribute for devices when booting

[V6 PATCH 0/7] ACPI: Introduce support for _CCA object

2015-06-10 Thread Suravee Suthikulpanit
d to linux-4.1-rc1 Suravee Suthikulpanit (7): ACPI / scan: Parse _CCA and setup device coherency arm64 : Introduce support for ACPI _CCA object device property: Introduces device_dma_is_coherent() crypto: ccp - Unify coherency checking logic with device_dma_is_coherent() amd-xgb

[V6 PATCH 4/7] crypto: ccp - Unify coherency checking logic with device_dma_is_coherent()

2015-06-10 Thread Suravee Suthikulpanit
Currently, the driver has separate logic to determine device coherency for DT vs ACPI. This patch simplifies the code with a call to device_dma_is_coherent(). Signed-off-by: Tom Lendacky Signed-off-by: Suravee Suthikulpanit --- drivers/crypto/ccp/ccp-platform.c | 60

[V6 PATCH 5/7] amd-xgbe: Unify coherency checking logic with device_dma_is_coherent()

2015-06-10 Thread Suravee Suthikulpanit
Currently, amd-xgbe driver has separate logic to determine device coherency for DT vs. ACPI. This patch simplifies the code with a call to device_dma_is_coherent(). Signed-off-by: Tom Lendacky Signed-off-by: Suravee Suthikulpanit --- drivers/net/ethernet/amd/xgbe/xgbe-main.c | 27

[V6 PATCH 2/7] arm64 : Introduce support for ACPI _CCA object

2015-06-10 Thread Suravee Suthikulpanit
is missing, arm64 would assign dummy_dma_ops to disable DMA capability of the device. Acked-by: Catalin Marinas Signed-off-by: Mark Salter Signed-off-by: Suravee Suthikulpanit --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/dma-mapping.h | 18 ++- arch/arm64/mm/

[V6 PATCH 1/7] ACPI / scan: Parse _CCA and setup device coherency

2015-06-10 Thread Suravee Suthikulpanit
() when creating each device enumerated in DSDT during ACPI scan. This patch also introduces acpi_dma_is_coherent(), which provides an interface for device drivers to check the coherency information similarly to the of_dma_is_coherent(). Signed-off-by: Mark Salter Signed-off-by: Suravee

[V6 PATCH 3/7] device property: Introduces device_dma_is_coherent()

2015-06-10 Thread Suravee Suthikulpanit
the appropriate interface based on the booting architecture. Signed-off-by: Suravee Suthikulpanit --- drivers/base/property.c | 14 ++ include/linux/property.h | 2 ++ 2 files changed, 16 insertions(+) diff --git a/drivers/base/property.c b/drivers/base/property.c index 1d0b116

[V6 PATCH 6/7] megaraid_sas: fix TRUE and FALSE re-define build error

2015-06-10 Thread Suravee Suthikulpanit
Signed-off-by: Suravee Suthikulpanit Cc: Kashyap Desai Cc: Sumit Saxena Cc: Uday Lingala --- drivers/scsi/megaraid/megaraid_sas_fp.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/scsi/megaraid/megaraid_sas_fp.c b/drivers/scsi/megaraid/megaraid_sas_fp.c index 4f72287

[V6 PATCH 7/7] ufs: fix TRUE and FALSE re-define build error

2015-06-10 Thread Suravee Suthikulpanit
Signed-off-by: Suravee Suthikulpanit Cc: Vinayak Holikatti --- drivers/scsi/ufs/unipro.h | 8 1 file changed, 8 insertions(+) diff --git a/drivers/scsi/ufs/unipro.h b/drivers/scsi/ufs/unipro.h index 3fc3e21..816a8a4 100644 --- a/drivers/scsi/ufs/unipro.h +++ b/drivers/scsi/ufs

[V5 PATCH 2/5] arm64 : Introduce support for ACPI _CCA object

2015-05-20 Thread Suravee Suthikulpanit
is missing, arm64 would assign dummy_dma_ops to disable DMA capability of the device. Acked-by: Catalin Marinas Signed-off-by: Mark Salter Signed-off-by: Suravee Suthikulpanit --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/dma-mapping.h | 18 ++- arch/arm64/mm/

[V5 PATCH 3/5] device property: Introduces device_dma_is_coherent()

2015-05-20 Thread Suravee Suthikulpanit
the appropriate interface based on the booting architecture. Signed-off-by: Suravee Suthikulpanit --- drivers/base/property.c | 14 ++ include/linux/property.h | 2 ++ 2 files changed, 16 insertions(+) diff --git a/drivers/base/property.c b/drivers/base/property.c index 1d0b116

[V5 PATCH 4/5] crypto: ccp - Unify coherency checking logic with device_dma_is_coherent()

2015-05-20 Thread Suravee Suthikulpanit
Currently, the driver has separate logic to determine device coherency for DT vs ACPI. This patch simplifies the code with a call to device_dma_is_coherent(). Signed-off-by: Tom Lendacky Signed-off-by: Suravee Suthikulpanit --- drivers/crypto/ccp/ccp-platform.c | 60

[V5 PATCH 5/5] amd-xgbe: Unify coherency checking logic with device_dma_is_coherent()

2015-05-20 Thread Suravee Suthikulpanit
Currently, amd-xgbe driver has separate logic to determine device coherency for DT vs. ACPI. This patch simplifies the code with a call to device_dma_is_coherent(). Signed-off-by: Tom Lendacky Signed-off-by: Suravee Suthikulpanit --- drivers/net/ethernet/amd/xgbe/xgbe-main.c | 27

[V5 PATCH 0/5] ACPI: Introduce support for _CCA object

2015-05-20 Thread Suravee Suthikulpanit
devices. (by Mark) * Introducing acpi_dma_is_coherent() API (Per Tom suggestion) * Introducing CONFIG_ACPI_MUST_HAVE_CCA kernel configuration. * Rebased to linux-4.1-rc1 Suravee Suthikulpanit (5): ACPI / scan: Parse _CCA and setup device coherency arm64 : Introduce support for ACPI _C

[V5 PATCH 1/5] ACPI / scan: Parse _CCA and setup device coherency

2015-05-20 Thread Suravee Suthikulpanit
() when creating each device enumerated in DSDT during ACPI scan. This patch also introduces acpi_dma_is_coherent(), which provides an interface for device drivers to check the coherency information similarly to the of_dma_is_coherent(). Signed-off-by: Mark Salter Signed-off-by: Suravee

[V4 PATCH 6/6] amd-xgbe: Unify coherency checking logic with device_dma_is_coherent()

2015-05-15 Thread Suravee Suthikulpanit
Currently, amd-xgbe driver has separate logic to determine device coherency for DT vs. ACPI. This patch simplifies the code with a call to device_dma_is_coherent(). Signed-off-by: Tom Lendacky Signed-off-by: Suravee Suthikulpanit CC: David S. Miller --- drivers/net/ethernet/amd/xgbe/xgbe