On 6/21/2016 9:46 AM, Joerg Roedel wrote:
On Tue, Jun 21, 2016 at 09:27:27AM -0500, Suthikulpanit, Suravee wrote:
On 6/21/2016 8:50 AM, Joerg Roedel wrote:
The code has a few style issues (thing I'd implemented differently), but
it looks functional.
Anything in particular that you think I
On 6/21/2016 9:46 AM, Joerg Roedel wrote:
On Tue, Jun 21, 2016 at 09:27:27AM -0500, Suthikulpanit, Suravee wrote:
On 6/21/2016 8:50 AM, Joerg Roedel wrote:
The code has a few style issues (thing I'd implemented differently), but
it looks functional.
Anything in particular that you think I
On 6/21/2016 8:50 AM, Joerg Roedel wrote:
The code has a few style issues (thing I'd implemented differently), but
it looks functional.
Anything in particular that you think I should improve or/and change?
Thanks,
Suravee
On 6/21/2016 8:50 AM, Joerg Roedel wrote:
The code has a few style issues (thing I'd implemented differently), but
it looks functional.
Anything in particular that you think I should improve or/and change?
Thanks,
Suravee
On 6/14/2016 5:01 PM, Paolo Bonzini wrote:
On 14/06/2016 23:44, Suravee Suthikulanit wrote:
> On 6/14/2016 4:22 PM, Paolo Bonzini wrote:
>> - Original Message -
>>> From: "Suravee Suthikulanit" <suravee.suthikulpa...@amd.com>
>>> To: "
On 6/14/2016 5:01 PM, Paolo Bonzini wrote:
On 14/06/2016 23:44, Suravee Suthikulanit wrote:
> On 6/14/2016 4:22 PM, Paolo Bonzini wrote:
>> - Original Message -
>>> From: "Suravee Suthikulanit"
>>> To: "Paolo Bonzini" ,
>>> l
On 6/14/2016 4:22 PM, Paolo Bonzini wrote:
- Original Message -
From: "Suravee Suthikulanit" <suravee.suthikulpa...@amd.com>
To: "Paolo Bonzini" <pbonz...@redhat.com>, linux-kernel@vger.kernel.org,
k...@vger.kernel.org
Cc: rkrc...@redhat.com
Sent: T
On 6/14/2016 4:22 PM, Paolo Bonzini wrote:
- Original Message -
From: "Suravee Suthikulanit"
To: "Paolo Bonzini" , linux-kernel@vger.kernel.org,
k...@vger.kernel.org
Cc: rkrc...@redhat.com
Sent: Tuesday, June 14, 2016 8:20:30 PM
Subject: Re: [PATCH] KVM: S
Hi Paolo,
On 6/14/2016 11:40 AM, Paolo Bonzini wrote:
AVIC needs __default_cpu_present_to_apicid. Stub out all functions
that use it, and disable the module parameter, if Linux is
compiled without local APIC support.
I think you are right that we should disable AVIC #ifndef
Hi Paolo,
On 6/14/2016 11:40 AM, Paolo Bonzini wrote:
AVIC needs __default_cpu_present_to_apicid. Stub out all functions
that use it, and disable the module parameter, if Linux is
compiled without local APIC support.
I think you are right that we should disable AVIC #ifndef
On 5/30/2016 10:14 AM, Tomasz Nowicki wrote:
From the functionality point of view this series may be split into the
following logic parts:
1. Export ECAM API and add parent device to pci_config_window
2. Add IO resources handling to PCI core code
3. Support for generic domain assignment based on
On 5/30/2016 10:14 AM, Tomasz Nowicki wrote:
From the functionality point of view this series may be split into the
following logic parts:
1. Export ECAM API and add parent device to pci_config_window
2. Add IO resources handling to PCI core code
3. Support for generic domain assignment based on
On 5/9/2016 6:49 AM, Joerg Roedel wrote:
On Fri, Apr 08, 2016 at 07:49:22AM -0500, Suthikulpanit, Suravee wrote:
From: Suravee Suthikulpanit
This patch introduces a new IOMMU driver parameter, amd_iommu_guest_ir,
which can be used to specify different interrupt
On 5/9/2016 6:49 AM, Joerg Roedel wrote:
On Fri, Apr 08, 2016 at 07:49:22AM -0500, Suthikulpanit, Suravee wrote:
From: Suravee Suthikulpanit
This patch introduces a new IOMMU driver parameter, amd_iommu_guest_ir,
which can be used to specify different interrupt remapping mode for
passthrough
Hi Radim / Paolo,
Sorry for delay in response.
On 4/12/2016 11:22 AM, Radim Krčmář wrote:
2016-04-07 03:20-0500, Suravee Suthikulpanit:
From: Suravee Suthikulpanit
This patch introduces VMEXIT handlers, avic_incomplete_ipi_interception()
and
Hi Radim / Paolo,
Sorry for delay in response.
On 4/12/2016 11:22 AM, Radim Krčmář wrote:
2016-04-07 03:20-0500, Suravee Suthikulpanit:
From: Suravee Suthikulpanit
This patch introduces VMEXIT handlers, avic_incomplete_ipi_interception()
and avic_unaccelerated_access_interception() along
On 1/28/2016 8:43 PM, Olof Johansson wrote:
On Thu, Jan 28, 2016 at 2:20 PM, Suravee Suthikulanit
wrote:
Hi Olof,
On 1/28/2016 3:39 PM, Olof Johansson wrote:
Hi Suravee,
On Wed, Jan 27, 2016 at 1:11 PM, Suravee Suthikulpanit
wrote:
From: Suravee Suthikulpanit
This patch series
On 1/28/2016 8:43 PM, Olof Johansson wrote:
On Thu, Jan 28, 2016 at 2:20 PM, Suravee Suthikulanit
<suravee.suthikulpa...@amd.com> wrote:
Hi Olof,
On 1/28/2016 3:39 PM, Olof Johansson wrote:
Hi Suravee,
On Wed, Jan 27, 2016 at 1:11 PM, Suravee Suthikulpanit
<suravee.suthikulpa..
Hi Olof,
On 1/28/2016 3:39 PM, Olof Johansson wrote:
Hi Suravee,
On Wed, Jan 27, 2016 at 1:11 PM, Suravee Suthikulpanit
wrote:
From: Suravee Suthikulpanit
This patch series contains several updates for the AMD Seattle SOC DTS files.
It also adds new board files for newer Overdrive and
Hi Olof,
On 1/28/2016 3:39 PM, Olof Johansson wrote:
Hi Suravee,
On Wed, Jan 27, 2016 at 1:11 PM, Suravee Suthikulpanit
wrote:
From: Suravee Suthikulpanit
This patch series contains several updates for the AMD Seattle SOC DTS
On 12/17/2015 10:57 AM, Bjorn Helgaas wrote:
On Wed, Dec 16, 2015 at 06:23:49PM -0600, Suravee Suthikulanit wrote:
Hi Bjorn,
Thanks for your review. Please see my comments below.
On 12/16/2015 4:12 PM, Bjorn Helgaas wrote:
On Thu, Dec 10, 2015 at 08:55:29AM -0800, Suravee Suthikulpanit wrote
Hi Mika,
On 12/18/2015 4:13 AM, Mika Westerberg wrote:
[]
So instead of this, what if we do not assign dev->get_clk_rate_khz at
all and then do something like below in the core driver?
I like the changes below since it is clear to see within the core file
how things are handled when
Hi Mika,
On 12/18/2015 4:13 AM, Mika Westerberg wrote:
[]
So instead of this, what if we do not assign dev->get_clk_rate_khz at
all and then do something like below in the core driver?
I like the changes below since it is clear to see within the core file
how things are handled when
On 12/17/2015 10:57 AM, Bjorn Helgaas wrote:
On Wed, Dec 16, 2015 at 06:23:49PM -0600, Suravee Suthikulanit wrote:
Hi Bjorn,
Thanks for your review. Please see my comments below.
On 12/16/2015 4:12 PM, Bjorn Helgaas wrote:
On Thu, Dec 10, 2015 at 08:55:29AM -0800, Suravee Suthikulpanit wrote
On 12/14/2015 9:08 AM, Joerg Roedel wrote:
On Fri, Dec 11, 2015 at 04:54:38PM -0600, Suravee Suthikulpanit wrote:
Current driver makes assumption that device with devid zero is always
included in the range of devices to be managed by IOMMU. However,
certain FW does not include devid zero in
On 12/16/2015 8:56 PM, Loc Ho wrote:
Hi,
The current driver uses input clock source frequency to calculate
values for [SS|FS]_[HC|LC] registers. However, when booting ACPI, we do not
currently have a good way to provide the frequency information.
Instead, we can leverage the SSCN and FFCN ACPI
Mika,
On 12/16/2015 8:54 AM, Mika Westerberg wrote:
On Wed, Dec 16, 2015 at 08:29:38AM -0600, Suravee Suthikulpanit wrote:
>
>
>On 12/16/2015 03:16 AM, Mika Westerberg wrote:
> >On Tue, Dec 15, 2015 at 08:14:34PM -0600, Suravee Suthikulpanit wrote:
> >>Hi Mika,
> >>
> >>On 12/15/15 15:55,
On 12/16/2015 4:15 PM, Bjorn Helgaas wrote:
On Thu, Dec 10, 2015 at 08:55:27AM -0800, Suravee Suthikulpanit wrote:
>This patch introduces pci_msi_register_fwnode_provider() for irqchip
>to register a callback, to provide a way to determine appropriate MSI
>domain for a pci device.
>
>It also
Hi Bjorn,
Thanks for your review. Please see my comments below.
On 12/16/2015 4:12 PM, Bjorn Helgaas wrote:
On Thu, Dec 10, 2015 at 08:55:29AM -0800, Suravee Suthikulpanit wrote:
This patch replaces the struct device_node with struct fwnode_handle
since this structure is common between DT and
Hi Bjorn,
Thanks for your review. Please see my comments below.
On 12/16/2015 4:12 PM, Bjorn Helgaas wrote:
On Thu, Dec 10, 2015 at 08:55:29AM -0800, Suravee Suthikulpanit wrote:
This patch replaces the struct device_node with struct fwnode_handle
since this structure is common between DT and
Mika,
On 12/16/2015 8:54 AM, Mika Westerberg wrote:
On Wed, Dec 16, 2015 at 08:29:38AM -0600, Suravee Suthikulpanit wrote:
>
>
>On 12/16/2015 03:16 AM, Mika Westerberg wrote:
> >On Tue, Dec 15, 2015 at 08:14:34PM -0600, Suravee Suthikulpanit wrote:
> >>Hi Mika,
> >>
> >>On 12/15/15 15:55,
On 12/16/2015 4:15 PM, Bjorn Helgaas wrote:
On Thu, Dec 10, 2015 at 08:55:27AM -0800, Suravee Suthikulpanit wrote:
>This patch introduces pci_msi_register_fwnode_provider() for irqchip
>to register a callback, to provide a way to determine appropriate MSI
>domain for a pci device.
>
>It also
On 12/16/2015 8:56 PM, Loc Ho wrote:
Hi,
The current driver uses input clock source frequency to calculate
values for [SS|FS]_[HC|LC] registers. However, when booting ACPI, we do not
currently have a good way to provide the frequency information.
Instead, we can leverage the SSCN and FFCN ACPI
On 12/14/2015 9:08 AM, Joerg Roedel wrote:
On Fri, Dec 11, 2015 at 04:54:38PM -0600, Suravee Suthikulpanit wrote:
Current driver makes assumption that device with devid zero is always
included in the range of devices to be managed by IOMMU. However,
certain FW does not include devid zero in
On 12/10/2015 3:14 AM, Marc Zyngier wrote:
+int __init gicv2m_init(struct fwnode_handle *parent_handle,
>+ struct irq_domain *parent)
>+{
>+ int ret = gicv2m_of_init(parent_handle, parent);
>+
>+ if (ret)
>+ ret = gicv2m_acpi_init(parent);
>+ return ret;
This
On 12/10/2015 3:14 AM, Marc Zyngier wrote:
+int __init gicv2m_init(struct fwnode_handle *parent_handle,
>+ struct irq_domain *parent)
>+{
>+ int ret = gicv2m_of_init(parent_handle, parent);
>+
>+ if (ret)
>+ ret = gicv2m_acpi_init(parent);
>+ return ret;
This
On 12/9/2015 8:20 PM, Duc Dang wrote:
This has been tested on AMD Seattle (Overdrive) RevB system.
>
>NOTE: I have not tested ACPI GICv2m multiframe support since
>I don't have access to such system. Any helps are appreciated.
Hi Suravee,
I tested your v2m-multiframe-v6 branch with APM X-Gene
On 12/9/2015 12:16 PM, Marc Zyngier wrote:
diff --git a/drivers/irqchip/irq-gic-v2m.c b/drivers/irqchip/irq-gic-v2m.c
>>>[...]
>>>@@ -359,6 +368,8 @@ static int __init gicv2m_init_one(struct fwnode_handle
*fwnode,
>>>
>>>if (to_of_node(fwnode))
>>>name =
Hi Marc,
On 12/9/2015 4:38 AM, Marc Zyngier wrote:
On Tue, 8 Dec 2015 17:48:06 -0800
Suravee Suthikulpanit wrote:
This patch introduces gicv2m_acpi_init(), which uses information
in MADT GIC MSI frames structure to initialize GICv2m driver.
Signed-off-by: Suravee Suthikulpanit
On 12/9/2015 4:13 AM, Marc Zyngier wrote:
On Tue, 8 Dec 2015 17:48:02 -0800
Suravee Suthikulpanit wrote:
This patch introduces pci_msi_register_fwnode_provider() for irqchip
to register a callback, to provide a way to determine appropriate MSI
domain for a pci device.
It also introduces
On 12/9/2015 4:13 AM, Marc Zyngier wrote:
On Tue, 8 Dec 2015 17:48:02 -0800
Suravee Suthikulpanit wrote:
This patch introduces pci_msi_register_fwnode_provider() for irqchip
to register a callback, to provide a way to determine appropriate MSI
domain for a pci
Hi Marc,
On 12/9/2015 4:38 AM, Marc Zyngier wrote:
On Tue, 8 Dec 2015 17:48:06 -0800
Suravee Suthikulpanit wrote:
This patch introduces gicv2m_acpi_init(), which uses information
in MADT GIC MSI frames structure to initialize GICv2m driver.
Signed-off-by:
On 12/9/2015 12:16 PM, Marc Zyngier wrote:
diff --git a/drivers/irqchip/irq-gic-v2m.c b/drivers/irqchip/irq-gic-v2m.c
>>>[...]
>>>@@ -359,6 +368,8 @@ static int __init gicv2m_init_one(struct fwnode_handle
*fwnode,
>>>
>>>if (to_of_node(fwnode))
>>>name =
On 12/9/2015 8:20 PM, Duc Dang wrote:
This has been tested on AMD Seattle (Overdrive) RevB system.
>
>NOTE: I have not tested ACPI GICv2m multiframe support since
>I don't have access to such system. Any helps are appreciated.
Hi Suravee,
I tested your v2m-multiframe-v6 branch with APM X-Gene
Arg... sorry for the typo in the subject. It should say:
[PATCH] PCI: Fix OF logic in pci_dma_configure()
Suravee
On 11/18/2015 6:49 PM, Suravee Suthikulpanit wrote:
This patch fixes a bug introduced by previous commit,
which incorrectly checkes the of_node of the end-point device.
Instead,
Hi All,
On 11/18/2015 6:41 AM, Arnd Bergmann wrote:
On Wednesday 18 November 2015 12:00:32 Robin Murphy wrote:
On 17/11/15 15:00, Robin Murphy wrote:
On 28/10/15 22:50, Suravee Suthikulpanit wrote:
Signed-off-by: Suravee Suthikulpanit
Acked-by: Rob Herring
Acked-by: Bjorn Helgaas
On 11/18/2015 6:41 AM, Arnd Bergmann wrote:
On Wednesday 18 November 2015 12:00:32 Robin Murphy wrote:
On 17/11/15 15:00, Robin Murphy wrote:
On 28/10/15 22:50, Suravee Suthikulpanit wrote:
Signed-off-by: Suravee Suthikulpanit
Acked-by: Rob Herring
Acked-by: Bjorn Helgaas
Reviewed-by:
Hi All,
On 11/18/2015 6:41 AM, Arnd Bergmann wrote:
On Wednesday 18 November 2015 12:00:32 Robin Murphy wrote:
On 17/11/15 15:00, Robin Murphy wrote:
On 28/10/15 22:50, Suravee Suthikulpanit wrote:
Signed-off-by: Suravee Suthikulpanit
Acked-by: Rob Herring
On 11/18/2015 6:41 AM, Arnd Bergmann wrote:
On Wednesday 18 November 2015 12:00:32 Robin Murphy wrote:
On 17/11/15 15:00, Robin Murphy wrote:
On 28/10/15 22:50, Suravee Suthikulpanit wrote:
Signed-off-by: Suravee Suthikulpanit
Acked-by: Rob Herring
Arg... sorry for the typo in the subject. It should say:
[PATCH] PCI: Fix OF logic in pci_dma_configure()
Suravee
On 11/18/2015 6:49 PM, Suravee Suthikulpanit wrote:
This patch fixes a bug introduced by previous commit,
which incorrectly checkes the of_node of the end-point device.
Instead,
On 11/1/2015 7:01 PM, Rafael J. Wysocki wrote:
Queued up for v4.4, but I'll include it into my second pull request in the
second half of the merge window.
Thanks,
Rafael
Thank you,
Suravee
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Hi Dennis / Hanjun,
On 11/2/2015 5:58 AM, Hanjun Guo wrote:
Hi Dennis,
On 11/02/2015 12:02 PM, Dennis Chen wrote:
On Thu, Oct 29, 2015 at 6:50 AM, Suravee Suthikulpanit
wrote:
From: Jeremy Linton
ACPI configurations can now mark devices as noncoherent,
support that choice.
NOTE: This is
Hi Dennis / Hanjun,
On 11/2/2015 5:58 AM, Hanjun Guo wrote:
Hi Dennis,
On 11/02/2015 12:02 PM, Dennis Chen wrote:
On Thu, Oct 29, 2015 at 6:50 AM, Suravee Suthikulpanit
wrote:
From: Jeremy Linton
ACPI configurations can now mark
On 11/1/2015 7:01 PM, Rafael J. Wysocki wrote:
Queued up for v4.4, but I'll include it into my second pull request in the
second half of the merge window.
Thanks,
Rafael
Thank you,
Suravee
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Hi Tomasz,
On 10/15/2015 9:03 AM, Suravee Suthikulanit wrote:
+if (!data)
+return NULL;
+
+return data->fwnode;
+}
+
+static int __init
+acpi_parse_madt_msi(struct acpi_subtable_header *header,
+const unsigned long end)
+{
+int ret;
+struct resource
Hi Tomasz,
Thanks for the feedback.
On 10/15/2015 1:15 AM, Tomasz Nowicki wrote:
[..]
@@ -138,6 +140,11 @@ static int gicv2m_irq_gic_domain_alloc(struct
irq_domain *domain,
fwspec.param[0] = 0;
fwspec.param[1] = hwirq - 32;
fwspec.param[2] = IRQ_TYPE_EDGE_RISING;
Hi Tomasz,
On 10/15/2015 9:03 AM, Suravee Suthikulanit wrote:
+if (!data)
+return NULL;
+
+return data->fwnode;
+}
+
+static int __init
+acpi_parse_madt_msi(struct acpi_subtable_header *header,
+const unsigned long end)
+{
+int ret;
+struct resource
Hi Tomasz,
Thanks for the feedback.
On 10/15/2015 1:15 AM, Tomasz Nowicki wrote:
[..]
@@ -138,6 +140,11 @@ static int gicv2m_irq_gic_domain_alloc(struct
irq_domain *domain,
fwspec.param[0] = 0;
fwspec.param[1] = hwirq - 32;
fwspec.param[2] = IRQ_TYPE_EDGE_RISING;
On 10/14/2015 10:28 AM, Marc Zyngier wrote:
On 14/10/15 15:13, Suravee Suthikulanit wrote:
Hi Marc,
On 10/14/2015 6:27 AM, Marc Zyngier wrote:
The GICv2m driver is so far limited to a single MSI frame, but
nothing prevents an implementation from having several of them.
This patch expands
Hi Marc,
On 10/14/2015 6:27 AM, Marc Zyngier wrote:
The GICv2m driver is so far limited to a single MSI frame, but
nothing prevents an implementation from having several of them.
This patch expands the driver to enumerate all frames, keeping
the first one as the canonical identifier for the
On 10/14/2015 10:28 AM, Marc Zyngier wrote:
On 14/10/15 15:13, Suravee Suthikulanit wrote:
Hi Marc,
On 10/14/2015 6:27 AM, Marc Zyngier wrote:
The GICv2m driver is so far limited to a single MSI frame, but
nothing prevents an implementation from having several of them.
This patch expands
Hi Marc,
On 10/14/2015 6:27 AM, Marc Zyngier wrote:
The GICv2m driver is so far limited to a single MSI frame, but
nothing prevents an implementation from having several of them.
This patch expands the driver to enumerate all frames, keeping
the first one as the canonical identifier for the
Bjorn / Rafael,
On 10/13/2015 10:52 AM, Suravee Suthikulpanit wrote:
On 09/14/2015 09:34 AM, Bjorn Helgaas wrote:
[..]
I think acpi_check_dma_coherency() is better, but only slightly. It
still doesn't give a hint about the *sense* of the return value. I
think it'd be easier to read if there
Bjorn / Rafael,
On 10/13/2015 10:52 AM, Suravee Suthikulpanit wrote:
On 09/14/2015 09:34 AM, Bjorn Helgaas wrote:
[..]
I think acpi_check_dma_coherency() is better, but only slightly. It
still doesn't give a hint about the *sense* of the return value. I
think it'd be easier to read if there
For ARM64 PROBE_ONLY and non-PROBE_ONLY modes:
Reviewed and Tested-by: Suravee Suthikulpanit
Please see minor comments below.
On 6/9/2015 4:01 AM, Lorenzo Pieralisi wrote:
When a PCI bus is scanned, upon PCI bridge detection the kernel
has to read the bridge registers to set-up its
For ARM64 PROBE_ONLY and non-PROBE_ONLY modes:
Reviewed and Tested-by: Suravee Suthikulpanit
suravee.suthikulpa...@amd.com
Please see minor comments below.
On 6/9/2015 4:01 AM, Lorenzo Pieralisi wrote:
When a PCI bus is scanned, upon PCI bridge detection the kernel
has to read the bridge
On 5/28/2015 9:38 PM, Mark Salter wrote:
On Wed, 2015-05-20 at 17:09 -0500, Suravee Suthikulpanit wrote:
>Fromhttp://www.uefi.org/sites/default/files/resources/ACPI_6.0.pdf,
>section 6.2.17 _CCA states that ARM platforms require ACPI _CCA
>object to be specified for DMA-cabpable devices.
On 5/28/2015 9:38 PM, Mark Salter wrote:
On Wed, 2015-05-20 at 17:09 -0500, Suravee Suthikulpanit wrote:
Fromhttp://www.uefi.org/sites/default/files/resources/ACPI_6.0.pdf,
section 6.2.17 _CCA states that ARM platforms require ACPI _CCA
object to be specified for DMA-cabpable devices.
On 5/27/2015 12:54 PM, Lorenzo Pieralisi wrote:
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
> >index 062fee6..335d9f2 100644
> >--- a/drivers/pci/probe.c
> >+++ b/drivers/pci/probe.c
> >@@ -453,7 +453,11 @@ void pci_read_bridge_bases(struct pci_bus *child)
> > struct resource
Hi Lorenzo,
Sorry for late reply.
On 5/21/2015 8:14 AM, Lorenzo Pieralisi wrote:
When a PCI bus is scanned, upon PCI bridge detection the kernel
has to read the bridge registers to set-up its resources so that
the PCI resource hierarchy can be validated properly.
Most if not all architectures
Hi Lorenzo,
Sorry for late reply.
On 5/21/2015 8:14 AM, Lorenzo Pieralisi wrote:
When a PCI bus is scanned, upon PCI bridge detection the kernel
has to read the bridge registers to set-up its resources so that
the PCI resource hierarchy can be validated properly.
Most if not all architectures
On 5/27/2015 12:54 PM, Lorenzo Pieralisi wrote:
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 062fee6..335d9f2 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -453,7 +453,11 @@ void pci_read_bridge_bases(struct pci_bus *child)
struct resource *res;
On 5/22/2015 8:25 PM, Rafael J. Wysocki wrote:
On Friday, May 22, 2015 07:15:17 PM Suravee Suthikulanit wrote:
On 5/22/2015 6:05 PM, Rafael J. Wysocki wrote:
On Friday, May 22, 2015 05:24:15 PM Suravee Suthikulanit wrote:
Not sure if this went out earlier. So I am resending.
On 5/22/15 16:56
On 5/22/2015 6:05 PM, Rafael J. Wysocki wrote:
On Friday, May 22, 2015 05:24:15 PM Suravee Suthikulanit wrote:
Not sure if this went out earlier. So I am resending.
On 5/22/15 16:56, Rafael J. Wysocki wrote:
diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c
index 39c485b..b9657af 100644
Not sure if this went out earlier. So I am resending.
On 5/22/15 16:56, Rafael J. Wysocki wrote:
diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c
>index 39c485b..b9657af 100644
>--- a/drivers/acpi/glue.c
>+++ b/drivers/acpi/glue.c
>@@ -13,6 +13,7 @@
> #include
> #include
> #include
Not sure if this went out earlier. So I am resending.
On 5/22/15 16:56, Rafael J. Wysocki wrote:
diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c
index 39c485b..b9657af 100644
--- a/drivers/acpi/glue.c
+++ b/drivers/acpi/glue.c
@@ -13,6 +13,7 @@
#include linux/slab.h
#include
On 5/22/2015 8:25 PM, Rafael J. Wysocki wrote:
On Friday, May 22, 2015 07:15:17 PM Suravee Suthikulanit wrote:
On 5/22/2015 6:05 PM, Rafael J. Wysocki wrote:
On Friday, May 22, 2015 05:24:15 PM Suravee Suthikulanit wrote:
Not sure if this went out earlier. So I am resending.
On 5/22/15 16:56
On 5/22/2015 6:05 PM, Rafael J. Wysocki wrote:
On Friday, May 22, 2015 05:24:15 PM Suravee Suthikulanit wrote:
Not sure if this went out earlier. So I am resending.
On 5/22/15 16:56, Rafael J. Wysocki wrote:
diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c
index 39c485b..b9657af 100644
On 5/20/2015 5:28 AM, Will Deacon wrote:
On Fri, May 15, 2015 at 10:23:12PM +0100, Suravee Suthikulpanit wrote:
Currently, device drivers, which support both OF and ACPI,
need to call two separate APIs, of_dma_is_coherent() and
acpi_dma_is_coherent()) to determine device coherency attribute.
On 5/20/2015 4:34 AM, Catalin Marinas wrote:
On Wed, May 20, 2015 at 11:27:54AM +0200, Arnd Bergmann wrote:
On Wednesday 20 May 2015 10:24:15 Catalin Marinas wrote:
On Sat, May 16, 2015 at 01:59:00AM +0200, Rafael J. Wysocki wrote:
On Friday, May 15, 2015 04:23:11 PM Suravee Suthikulpanit
On 5/20/2015 5:01 AM, Catalin Marinas wrote:
On Fri, May 15, 2015 at 04:23:09PM -0500, Suravee Suthikulpanit wrote:
+static inline bool acpi_dma_is_supported(struct acpi_device *adev)
+{
+ /**
+* Currently, we mainly support _CCA=1 (i.e. is_coherent=1)
+* This should be
On 5/20/2015 5:03 AM, Catalin Marinas wrote:
On Fri, May 15, 2015 at 04:23:10PM -0500, Suravee Suthikulpanit wrote:
From http://www.uefi.org/sites/default/files/resources/ACPI_6.0.pdf,
section 6.2.17 _CCA states that ARM platforms require ACPI _CCA
object to be specified for DMA-cabpable
On 5/20/2015 5:01 AM, Catalin Marinas wrote:
On Fri, May 15, 2015 at 04:23:09PM -0500, Suravee Suthikulpanit wrote:
+static inline bool acpi_dma_is_supported(struct acpi_device *adev)
+{
+ /**
+* Currently, we mainly support _CCA=1 (i.e. is_coherent=1)
+* This should be
On 5/20/2015 4:34 AM, Catalin Marinas wrote:
On Wed, May 20, 2015 at 11:27:54AM +0200, Arnd Bergmann wrote:
On Wednesday 20 May 2015 10:24:15 Catalin Marinas wrote:
On Sat, May 16, 2015 at 01:59:00AM +0200, Rafael J. Wysocki wrote:
On Friday, May 15, 2015 04:23:11 PM Suravee Suthikulpanit
On 5/20/2015 5:03 AM, Catalin Marinas wrote:
On Fri, May 15, 2015 at 04:23:10PM -0500, Suravee Suthikulpanit wrote:
From http://www.uefi.org/sites/default/files/resources/ACPI_6.0.pdf,
section 6.2.17 _CCA states that ARM platforms require ACPI _CCA
object to be specified for DMA-cabpable
On 5/20/2015 5:28 AM, Will Deacon wrote:
On Fri, May 15, 2015 at 10:23:12PM +0100, Suravee Suthikulpanit wrote:
Currently, device drivers, which support both OF and ACPI,
need to call two separate APIs, of_dma_is_coherent() and
acpi_dma_is_coherent()) to determine device coherency attribute.
Hi Rafael,
On 5/15/2015 6:53 PM, Rafael J. Wysocki wrote:
On Friday, May 15, 2015 04:23:09 PM Suravee Suthikulpanit wrote:
[...]
diff --git a/drivers/acpi/acpi_platform.c b/drivers/acpi/acpi_platform.c
index 4bf7559..f6bc438 100644
--- a/drivers/acpi/acpi_platform.c
+++
Hi Rafael,
On 5/15/2015 6:53 PM, Rafael J. Wysocki wrote:
On Friday, May 15, 2015 04:23:09 PM Suravee Suthikulpanit wrote:
[...]
diff --git a/drivers/acpi/acpi_platform.c b/drivers/acpi/acpi_platform.c
index 4bf7559..f6bc438 100644
--- a/drivers/acpi/acpi_platform.c
+++
On 5/11/2015 8:20 PM, Rafael J. Wysocki wrote:
On Monday, May 11, 2015 05:16:27 PM Catalin Marinas wrote:
On Fri, May 08, 2015 at 10:53:59PM +0200, Rafael J. Wysocki wrote:
On Thursday, May 07, 2015 07:37:12 PM Suravee Suthikulpanit wrote:
diff --git a/drivers/acpi/Kconfig
On 5/11/2015 8:20 PM, Rafael J. Wysocki wrote:
On Monday, May 11, 2015 05:16:27 PM Catalin Marinas wrote:
On Fri, May 08, 2015 at 10:53:59PM +0200, Rafael J. Wysocki wrote:
On Thursday, May 07, 2015 07:37:12 PM Suravee Suthikulpanit wrote:
diff --git a/drivers/acpi/Kconfig
Rafael,
Any comments on this patch?
Thanks,
Suravee
On 5/5/2015 10:12 AM, Suravee Suthikulpanit wrote:
Currently, device drivers, which support both OF and ACPI,
need to call two separate APIs, of_dma_is_coherent() and
acpi_dma_is_coherent()) to determine device coherency attribute.
This
On 5/6/2015 5:21 PM, Rafael J. Wysocki wrote:
> >>+ bool
> >>+
> >>+config ACPI_SUPPORT_CCA_ZERO
> >
> >I guess this means "we support devices that can DMA, but are not coherent".
> >right?
>
>Yes, basically when _CCA=0.
So what about
ARCH_SUPPORT_CACHE_INCOHERENT_DMA
Since this
On 5/6/2015 5:08 AM, Robin Murphy wrote:
[...]
+static void __dummy_sync_single_for_cpu(struct device *dev,
+dma_addr_t dev_addr, size_t size,
+enum dma_data_direction dir)
+{
+}
+
+static void __dummy_sync_single_for_device(struct device *dev,
+
On 5/6/2015 5:08 AM, Robin Murphy wrote:
[...]
+static void __dummy_sync_single_for_cpu(struct device *dev,
+dma_addr_t dev_addr, size_t size,
+enum dma_data_direction dir)
+{
+}
+
+static void __dummy_sync_single_for_device(struct device *dev,
+
On 5/6/2015 5:21 PM, Rafael J. Wysocki wrote:
+ bool
+
+config ACPI_SUPPORT_CCA_ZERO
I guess this means we support devices that can DMA, but are not coherent.
right?
Yes, basically when _CCA=0.
So what about
ARCH_SUPPORT_CACHE_INCOHERENT_DMA
Since this is specific to ACPI
Rafael,
Any comments on this patch?
Thanks,
Suravee
On 5/5/2015 10:12 AM, Suravee Suthikulpanit wrote:
Currently, device drivers, which support both OF and ACPI,
need to call two separate APIs, of_dma_is_coherent() and
acpi_dma_is_coherent()) to determine device coherency attribute.
This
On 5/5/2015 10:44 AM, Arnd Bergmann wrote:
On Tuesday 05 May 2015 10:12:06 Suravee Suthikulpanit wrote:
+struct dma_map_ops dummy_dma_ops = {
+ .alloc = __dummy_alloc,
+ .free = __dummy_free,
+ .mmap = __dummy_mmap,
+
On 5/5/2015 11:12 AM, Arnd Bergmann wrote:
On Tuesday 05 May 2015 11:09:38 Suravee Suthikulanit wrote:
However, codes in several places are making use of dma_map_ops without
checking if the ops are NULL (i.e.
include/asm-generic/dma-mapping-common.h and in arch-specific
implementation
On 5/5/2015 10:44 AM, Arnd Bergmann wrote:
On Tuesday 05 May 2015 10:12:06 Suravee Suthikulpanit wrote:
+struct dma_map_ops dummy_dma_ops = {
+ .alloc = __dummy_alloc,
+ .free = __dummy_free,
+ .mmap = __dummy_mmap,
+
On 5/5/2015 11:12 AM, Arnd Bergmann wrote:
On Tuesday 05 May 2015 11:09:38 Suravee Suthikulanit wrote:
However, codes in several places are making use of dma_map_ops without
checking if the ops are NULL (i.e.
include/asm-generic/dma-mapping-common.h and in arch-specific
implementation
1 - 100 of 276 matches
Mail list logo