Re: crash in gart_unmap_page() with master snapshot (commit e1ef035d272e)

2019-01-04 Thread Michal Kubecek
On Fri, Jan 04, 2019 at 09:53:18AM +0100, Christoph Hellwig wrote: > Hi Michal, > > can you try the patch below? The machine has been running with it for 12 hours now without any apparent problem. Without the patch it crashed once after ~10 minutes and once after ~3 hours (then I switched back to

[PATCH] arm64: dts: stratix10: Add Stratix10 SMMU support

2019-01-04 Thread thor . thayer
From: Thor Thayer Now there are device tree clocks for the ARM64 SMMU, add SMMU support to the Stratix10 Device Tree which includes adding the SMMU node and adding IOMMU stream ids to the SMMU peripherals. Signed-off-by: Thor Thayer --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 29 ++

Re: [PATCH v3] crypto: talitos - fix ablkcipher for CONFIG_VMAP_STACK

2019-01-04 Thread Horia Geanta
On 1/4/2019 5:17 PM, Horia Geanta wrote: > On 12/21/2018 10:07 AM, Christophe Leroy wrote: > [snip] >> IV cannot be on stack when CONFIG_VMAP_STACK is selected because the stack >> cannot be DMA mapped anymore. >> This looks better, thanks. > >> This patch copies the IV into the extended descripto

Re: [PATCH v3] crypto: talitos - fix ablkcipher for CONFIG_VMAP_STACK

2019-01-04 Thread Horia Geanta
On 12/21/2018 10:07 AM, Christophe Leroy wrote: [snip] > IV cannot be on stack when CONFIG_VMAP_STACK is selected because the stack > cannot be DMA mapped anymore. > This looks better, thanks. > This patch copies the IV into the extended descriptor when iv is not > a valid linear address. > Thoug

Re: crash in gart_unmap_page() with master snapshot (commit e1ef035d272e)

2019-01-04 Thread Christoph Hellwig
Hi Michal, can you try the patch below? --- >From 6b22ae23a1971646dacc8a0ad313a6329a04cf98 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Fri, 4 Jan 2019 09:50:33 +0100 Subject: x86/amd_gart: fix unmapping of non-GART mappings In many cases we don't have to create a GART mapping at all,

Re: iommu_intel or i915 regression in 4.18, 4.19.12 and drm-tip

2019-01-04 Thread Joonas Lahtinen
Quoting Eric Wong (2019-01-04 03:06:26) > Joonas Lahtinen wrote: > > Quoting Eric Wong (2018-12-27 13:49:48) > > > I just got a used Thinkpad X201 (Core i5 M 520, Intel QM57 > > > chipset) and hit some kernel panics while trying to view > > > image/animation-intensive stuff in Firefox (X11) unless

Re: [PATCH 02/15] swiotlb: remove dma_mark_clean

2019-01-04 Thread Christoph Hellwig
One more ifdef to rescue.. Btw, do you know why we only play these mark clean bits for swiotlb and not for the various iommus? Also do you have any good receipe to build an ia64 cross compiler on a recent Debian system? Unlike most architectures Debian doesn't have a pre-built one, and the scrip