Re: amd-iommu: can't boot with amdgpu, AMD-Vi: Completion-Wait loop timed out

2017-03-17 Thread Alex Deucher
On Fri, Mar 17, 2017 at 8:15 AM, Daniel Drake wrote: > Hi, > > On Mon, Mar 13, 2017 at 2:01 PM, Deucher, Alexander > wrote: >> > We are unable to boot Acer Aspire E5-553G (AMD FX-9800P RADEON R7) nor >> > Acer Aspire E5-523 with standard configurations because during boot >> > the screen is flood

Re: [RFC PATCH 1/5] pci/p2p: add a function to test peer to peer capability

2019-01-29 Thread Alex Deucher
On Tue, Jan 29, 2019 at 12:47 PM wrote: > > From: Jérôme Glisse > > device_test_p2p() return true if two devices can peer to peer to > each other. We add a generic function as different inter-connect > can support peer to peer and we want to genericaly test this no > matter what the inter-connect

Re: [RFC PATCH 1/5] pci/p2p: add a function to test peer to peer capability

2019-01-29 Thread Alex Deucher
On Tue, Jan 29, 2019 at 3:25 PM Logan Gunthorpe wrote: > > > > On 2019-01-29 12:56 p.m., Alex Deucher wrote: > > On Tue, Jan 29, 2019 at 12:47 PM wrote: > >> > >> From: Jérôme Glisse > >> > >> device_test_p2p() return true if two devices

Re: [PATCH 19/28] gpu/drm: remove the powerpc hack in drm_legacy_sg_alloc

2020-04-09 Thread Alex Deucher
On Thu, Apr 9, 2020 at 5:41 AM Daniel Vetter wrote: > > On Thu, Apr 9, 2020 at 10:54 AM Benjamin Herrenschmidt > wrote: > > > > On Wed, 2020-04-08 at 14:25 +0200, Daniel Vetter wrote: > > > On Wed, Apr 08, 2020 at 01:59:17PM +0200, Christoph Hellwig wrote: > > > > If this code was broken for non-

Re: [RFC 4/4] drm: Add NVIDIA Tegra support

2012-04-12 Thread Alex Deucher
On Thu, Apr 12, 2012 at 5:33 AM, Thierry Reding wrote: > * Sascha Hauer wrote: >> You might want to have a look at the sdrm patches I recently posted to >> dri-devel and arm Linux Kernel. Among other things they allow to >> register crtcs/connectors/encoders seperately so that each of them can >>

Re: [RFC 4/4] drm: Add NVIDIA Tegra support

2012-04-12 Thread Alex Deucher
On Thu, Apr 12, 2012 at 9:25 AM, Thierry Reding wrote: > * Alex Deucher wrote: >> On Thu, Apr 12, 2012 at 5:33 AM, Thierry Reding >> wrote: >> > In other words I would like to use the Tegra hardware to render content >> > into >> > a framebuf

Re: [RFC 4/4] drm: Add NVIDIA Tegra support

2012-04-12 Thread Alex Deucher
On Thu, Apr 12, 2012 at 10:09 AM, Alex Deucher wrote: > On Thu, Apr 12, 2012 at 9:25 AM, Thierry Reding > wrote: >> * Alex Deucher wrote: >>> On Thu, Apr 12, 2012 at 5:33 AM, Thierry Reding >>> wrote: >>> > In other words I would like to use the Te

Re: [PATCH] fix double ;;s in code

2018-02-20 Thread Alex Deucher
On Tue, Feb 20, 2018 at 3:03 AM, Jani Nikula wrote: > On Mon, 19 Feb 2018, Pavel Machek wrote: >> On Mon 2018-02-19 16:41:35, Daniel Vetter wrote: >>> Yeah, pls split this into one patch per area, with a suitable patch >>> subject prefix. Look at git log of each file to get a feeling for what's >

Re: [PATCH 0/8] Convert the intel iommu driver to the dma-iommu api

2020-08-26 Thread Alex Deucher
On Mon, Aug 24, 2020 at 2:56 AM Tom Murphy wrote: > > Hi Logan/All, > > I have added a check for the sg_dma_len == 0 : > """ > } __sgt_iter(struct scatterlist *sgl, bool dma) { > struct sgt_iter s = { .sgp = sgl }; > > + if (sgl && sg_dma_len(sgl) == 0) > + s.sgp = NULL; >

Re: [PATCH 1/1] drm/amdkfd: fix build error with AMD_IOMMU_V2=m

2021-03-09 Thread Alex Deucher
On Tue, Mar 9, 2021 at 12:55 PM Jean-Philippe Brucker wrote: > > Hi Felix, > > On Tue, Mar 09, 2021 at 11:30:19AM -0500, Felix Kuehling wrote: > > > I think the proper fix would be to not rely on custom hooks into a > > > particular > > > IOMMU driver, but to instead ensure that the amdgpu driver

Re: [Linaro-mm-sig] [PATCH v5 05/38] drm: prime: use sgtable iterators in drm_prime_sg_to_page_addr_arrays()

2020-09-25 Thread Alex Deucher
PU fixes for v5.9 in the queue? Maybe you can add > that patch to the queue? Dave: would it be okay that way? I think this should go into drm-misc for 5.9 since it's an update to drm_prime.c. Is that patch ready to merge? Acked-by: Alex Deucher Alex > > Best regards >

Re: I got an IOMMU IO page fault. What to do now?

2021-10-27 Thread Alex Deucher
On Wed, Oct 27, 2021 at 1:20 PM Robin Murphy wrote: > > On 27/10/2021 5:45 pm, Paul Menzel wrote: > > Dear Robin, > > > > > > On 25.10.21 18:01, Robin Murphy wrote: > >> On 2021-10-25 12:23, Christian König wrote: > > > >>> not sure how the IOMMU gives out addresses, but the printed ones look > >>

Re: I got an IOMMU IO page fault. What to do now?

2021-10-27 Thread Alex Deucher
On Wed, Oct 27, 2021 at 1:24 PM Alex Deucher wrote: > > On Wed, Oct 27, 2021 at 1:20 PM Robin Murphy wrote: > > > > On 27/10/2021 5:45 pm, Paul Menzel wrote: > > > Dear Robin, > > > > > > > > > On 25.10.21 18:01, Robin Murphy wr

Re: [Bugfix]

2015-07-30 Thread Alex Deucher
On Thu, Jul 30, 2015 at 12:44 PM, Jiang Liu wrote: > Hi Alexander, Mark, Alex, > Could you please help to apply the debug patch and send me back > the dmesg? Please also help to turn kernel paramemter "apic=debug". See attached. Thanks, Alex > > Hi Mark, > It seems that this re

[PATCH V3 0/2] x86 IOMMU Documentation updates

2022-03-28 Thread Alex Deucher via iommu
This was originally just a patch to add an AMD IOMMU documentation page, but grew into some cleanup of the Intel IOMMU documentation page. v2: AMD documentation rework Add Intel Updates v3: Further documentation reworks Alex Deucher (2): Documentation: x86: Add documentation for AMD IOMMU

[PATCH V3 1/2] Documentation: x86: Add documentation for AMD IOMMU

2022-03-28 Thread Alex Deucher via iommu
Add preliminary documentation for AMD IOMMU. Signed-off-by: Alex Deucher --- V2: Incorporate feedback from Robin to clarify IOMMU vs DMA engine (e.g., a device) and document proper DMA API. Also correct the fact that the AMD IOMMU is not limited to managing PCI devices. v3: Fix

[PATCH V3 2/2] Documentation: x86: Clarify Intel IOMMU documentation

2022-03-28 Thread Alex Deucher via iommu
Based on feedback from Robin on the initial AMD IOMMU documentation, fix up the Intel documentation to clarify IOMMU vs device and modern DMA API. Signed-off-by: Alex Deucher --- V2: Fix spelling error in commit message Rework ACPI section as suggested by Dave Hansen Documentation/x86

[PATCH v4] Documentation: x86: rework IOMMU documentation

2022-04-22 Thread Alex Deucher via iommu
Add preliminary documentation for AMD IOMMU and combine with the existing Intel IOMMU documentation and clean up and modernize some of the existing documentation to align with the current state of the kernel. Signed-off-by: Alex Deucher --- V2: Incorporate feedback from Robin to clarify IOMMU

[PATCH v5] Documentation: x86: rework IOMMU documentation

2022-04-22 Thread Alex Deucher via iommu
Add preliminary documentation for AMD IOMMU and combine with the existing Intel IOMMU documentation and clean up and modernize some of the existing documentation to align with the current state of the kernel. Signed-off-by: Alex Deucher --- V2: Incorporate feedback from Robin to clarify IOMMU

[PATCH] Documentation: x86: rework IOMMU documentation

2022-04-22 Thread Alex Deucher via iommu
Add preliminary documentation for AMD IOMMU and combine with the existing Intel IOMMU documentation and clean up and modernize some of the existing documentation to align with the current state of the kernel. Signed-off-by: Alex Deucher --- V2: Incorporate feedback from Robin to clarify IOMMU

[PATCH] Documentation: x86: add documenation for AMD IOMMU

2022-03-08 Thread Alex Deucher via iommu
Add preliminary documenation for AMD IOMMU. Signed-off-by: Alex Deucher --- Documentation/x86/amd-iommu.rst | 85 +++ Documentation/x86/index.rst | 1 + Documentation/x86/intel-iommu.rst | 2 +- 3 files changed, 87 insertions(+), 1 deletion(-) create mode

[PATCH v2 1/2] Documentation: x86: Add documenation for AMD IOMMU

2022-03-09 Thread Alex Deucher via iommu
Add preliminary documenation for AMD IOMMU. Signed-off-by: Alex Deucher --- V2: incorporate feedback from Robin to clarify IOMMU vs DMA engine (e.g., a device) and document proper DMA API. Also correct the fact that the AMD IOMMU is not limited to managing PCI devices. Documentation

[PATCH 2/2] Documentation: x86: Clarify Intel IOMMU documenation

2022-03-09 Thread Alex Deucher via iommu
Based on feedback from Robin on the initial AMD IOMMU documentation, fix up the Intel documentation to clarify IOMMU vs device and modern DMA API. Signed-off-by: Alex Deucher --- Documentation/x86/intel-iommu.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a