From: Christoph Hellwig <hch@lst•de>
To: "Koenig, Christian" <Christian.Koenig@amd•com>
Cc: Kate Stewart <kstewart@linuxfoundation•org>,
Masayoshi Mizuma <m.mizuma@jp•fujitsu.com>,
"Maciej W. Rozycki" <macro@linux-mips•org>,
Eric Biggers <ebiggers@google•com>,
Catalin Marinas <catalin.marinas@arm•com>,
Imre Deak <imre.deak@intel•com>,
dri-devel <dri-devel@lists•freedesktop.org>,
Chris Wilson <chris@chris-wilson•co.uk>,
Masahiro Yamada <yamada.masahiro@socionext•com>,
Benjamin Gaignard <benjamin.gaignard@linaro•org>,
Mauro Carvalho Chehab <mchehab+samsung@kernel•org>,
Will Deacon <will@kernel•org>, Christoph Hellwig <hch@lst•de>,
Emil Velikov <emil.velikov@collabora•com>,
Rob Clark <robdclark@chromium•org>,
Michael Ellerman <mpe@ellerman•id.au>,
Paul Burton <paul.burton@mips•com>,
Mike Rapoport <rppt@linux•ibm.com>,
Geert Uytterhoeven <geert@linux-m68k•org>,
"moderated list:ARM64 PORT \(AARCH64 ARCHITECTURE\)"
<linux-arm-kernel@lists•infradead.org>,
Daniel Vetter <daniel.vetter@ffwll•ch>,
"open list:MIPS" <linux-mips@vger•kernel.org>,
Linus Walleij <linus.walleij@linaro•org>,
Robin Murphy <robin.murphy@arm•com>,
"open list:DRM DRIVER FOR MSM ADRENO GPU"
<linux-arm-msm@vger•kernel.org>,
"Sharma, Deepak" <Deepak.Sharma@amd•com>,
Joerg Roedel <jroedel@suse•de>, Arnd Bergmann <arnd@arndb•de>,
Anshuman Khandual <anshuman.khandual@arm•com>,
Hauke Mehrtens <hauke@hauke-m•de>,
Jesper Dangaard Brouer <brouer@redhat•com>,
"Wolfram Sang \(Renesas\)" <wsa+renesas@sang-engineering•com>,
"open list:LINUX FOR POWERPC \(32-BIT AND 64-BIT\)"
<linuxppc-dev@lists•ozlabs.org>,
Alexios Zavras <alexios.zavras@intel•com>,
Russell King <rmk+kernel@armlinux•org.uk>,
Doug Anderson <armlinux@m•disordat.com>,
Thomas Gleixner <tglx@linutronix•de>, Sean Paul <sean@poorly•run>,
Allison Randal <allison@lohutok•net>,
Christophe Leroy <christophe.leroy@c-s•fr>,
Ard Biesheuvel <ard.biesheuvel@linaro•org>,
Enrico Weigelt <info@metux•net>,
open list <linux-kernel@vger•kernel.org>,
Rob Clark <robdclark@gmail•com>,
Souptick Joarder <jrdr.linux@gmail•com>,
Greg Kroah-Hartman <gregkh@linuxfoundation•org>,
Andrew Morton <akpm@linux-foundation•org>,
"open list:DRM DRIVER FOR MSM ADRENO GPU"
<freedreno@lists•freedesktop.org>
Subject: Re: [PATCH 0/6] drm+dma: cache support for arm, etc
Date: Thu, 15 Aug 2019 20:52:00 +0200 [thread overview]
Message-ID: <20190815185200.GA21407@lst.de> (raw)
In-Reply-To: <215e5cb7-0fcf-48db-a656-817054dde420@email.android.com>
On Thu, Aug 15, 2019 at 06:48:39PM +0000, Koenig, Christian wrote:
> Well, for the graphics case I absolutely need to keep the linear kernel mapping. Because for certain use cases the memory is accessed by the kernel all the time as well.
Then don't set DMA_ATTR_NO_KERNEL_MAPPING. At least for x86 and arm64
we should be able to support uncached allocations easily even without
that, and I plan to support that for your use case. But if the driver
is explicitly saying it doesn't want a permanent kernel mapping it makes
sense to (optionally if the architecture can easily do it) unmap the
memory from the kernel linear mapping.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next parent reply other threads:[~2019-08-15 18:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <215e5cb7-0fcf-48db-a656-817054dde420@email.android.com>
2019-08-15 18:52 ` Christoph Hellwig [this message]
2019-08-14 21:59 [PATCH 0/6] drm+dma: cache support for arm, etc Rob Clark
2019-08-15 6:51 ` Christoph Hellwig
2019-08-15 13:54 ` Rob Clark
2019-08-15 17:53 ` Christoph Hellwig
2019-08-15 18:21 ` Koenig, Christian
2019-08-15 18:27 ` Christoph Hellwig
2019-08-16 21:04 ` Rob Clark
2019-08-19 5:23 ` Christoph Hellwig
2019-08-19 14:39 ` Rob Clark
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190815185200.GA21407@lst.de \
--to=hch@lst$(echo .)de \
--cc=Christian.Koenig@amd$(echo .)com \
--cc=Deepak.Sharma@amd$(echo .)com \
--cc=akpm@linux-foundation$(echo .)org \
--cc=alexios.zavras@intel$(echo .)com \
--cc=allison@lohutok$(echo .)net \
--cc=anshuman.khandual@arm$(echo .)com \
--cc=ard.biesheuvel@linaro$(echo .)org \
--cc=armlinux@m$(echo .)disordat.com \
--cc=arnd@arndb$(echo .)de \
--cc=benjamin.gaignard@linaro$(echo .)org \
--cc=brouer@redhat$(echo .)com \
--cc=catalin.marinas@arm$(echo .)com \
--cc=chris@chris-wilson$(echo .)co.uk \
--cc=christophe.leroy@c-s$(echo .)fr \
--cc=daniel.vetter@ffwll$(echo .)ch \
--cc=dri-devel@lists$(echo .)freedesktop.org \
--cc=ebiggers@google$(echo .)com \
--cc=emil.velikov@collabora$(echo .)com \
--cc=freedreno@lists$(echo .)freedesktop.org \
--cc=geert@linux-m68k$(echo .)org \
--cc=gregkh@linuxfoundation$(echo .)org \
--cc=hauke@hauke-m$(echo .)de \
--cc=imre.deak@intel$(echo .)com \
--cc=info@metux$(echo .)net \
--cc=jrdr.linux@gmail$(echo .)com \
--cc=jroedel@suse$(echo .)de \
--cc=kstewart@linuxfoundation$(echo .)org \
--cc=linus.walleij@linaro$(echo .)org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-arm-msm@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-mips@vger$(echo .)kernel.org \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=m.mizuma@jp$(echo .)fujitsu.com \
--cc=macro@linux-mips$(echo .)org \
--cc=mchehab+samsung@kernel$(echo .)org \
--cc=mpe@ellerman$(echo .)id.au \
--cc=paul.burton@mips$(echo .)com \
--cc=rmk+kernel@armlinux$(echo .)org.uk \
--cc=robdclark@chromium$(echo .)org \
--cc=robdclark@gmail$(echo .)com \
--cc=robin.murphy@arm$(echo .)com \
--cc=rppt@linux$(echo .)ibm.com \
--cc=sean@poorly$(echo .)run \
--cc=tglx@linutronix$(echo .)de \
--cc=will@kernel$(echo .)org \
--cc=wsa+renesas@sang-engineering$(echo .)com \
--cc=yamada.masahiro@socionext$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox