LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Will Deacon <will@kernel.org>
To: torvalds@linux-foundation.org
Cc: catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, kernel-team@android.com
Subject: [GIT PULL] arm64 fix for 5.14
Date: Thu, 26 Aug 2021 14:17:48 +0100 [thread overview]
Message-ID: <20210826131747.GE26318@willie-the-truck> (raw)
Hi Linus,
Please pull this single arm64 fix for 5.14. We received a report this week
that the generic version of pfn_valid(), which we switched to this merge
window in 16c9afc77660 ("arm64/mm: drop HAVE_ARCH_PFN_VALID"), interacts
badly with dma_map_resource() due to the following check:
/* Don't allow RAM to be mapped */
if (WARN_ON_ONCE(pfn_valid(PHYS_PFN(phys_addr))))
return DMA_MAPPING_ERROR;
Since the ongoing saga to determine the semantics of pfn_valid() is
unlikely to be resolved this week (does it indicate valid memory, or
just the presence of a struct page, or whether that struct page has been
initialised?), just revert back to our old version of pfn_valid() for
5.14.
Thanks,
Will
--->8
The following changes since commit bde8fff82e4a4b0f000dbf4d5eadab2079be0b56:
arm64: initialize all of CNTHCTL_EL2 (2021-08-19 10:02:10 +0100)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes
for you to fetch changes up to 3eb9cdffb39701743973382860f214026f4d7825:
Partially revert "arm64/mm: drop HAVE_ARCH_PFN_VALID" (2021-08-25 11:33:24 +0100)
----------------------------------------------------------------
arm64 fix for 5.14
- Fix dma_map_resource() by reverting back to old pfn_valid() code
----------------------------------------------------------------
Will Deacon (1):
Partially revert "arm64/mm: drop HAVE_ARCH_PFN_VALID"
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/page.h | 1 +
arch/arm64/mm/init.c | 37 +++++++++++++++++++++++++++++++++++++
3 files changed, 39 insertions(+)
next reply other threads:[~2021-08-26 13:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-26 13:17 Will Deacon [this message]
2021-08-26 18:41 ` Linus Torvalds
2021-08-27 7:40 ` Christoph Hellwig
2021-08-27 17:03 ` Linus Torvalds
2021-08-27 17:10 ` Christoph Hellwig
2021-08-27 17:16 ` Linus Torvalds
2021-08-31 13:31 ` Will Deacon
2021-08-31 19:16 ` David Hildenbrand
2021-08-31 16:56 ` Catalin Marinas
2021-08-26 18:52 ` pr-tracker-bot
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=20210826131747.GE26318@willie-the-truck \
--to=will@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=kernel-team@android.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--subject='Re: [GIT PULL] arm64 fix for 5.14' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).