Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / Atom feed
* [GIT PULL] arm64: Fix for -rc7
@ 2019-11-08 10:32 Will Deacon
  2019-11-08 17:55 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Will Deacon @ 2019-11-08 10:32 UTC (permalink / raw)
  To: torvalds
  Cc: catalin.marinas, Linux Kernel Mailing List,
	Linux ARM Kernel Mailing List

Hi Linus,

Please pull this single arm64 fix for -rc7. It's a revert of 747a70e60b72
("arm64: Fix copy-on-write referencing in HugeTLB"), not because that
patch was wrong, but because it was broken by aa57157be69f ("arm64: Ensure
VM_WRITE|VM_SHARED ptes are clean by default") which we merged in -rc6.

We spotted the issue in Android (AOSP), where one of the JIT threads gets
stuck on a write fault during boot because the faulting pte is marked as
PTE_DIRTY | PTE_WRITE | PTE_RDONLY and the fault handler decides that
there's nothing to do thanks to pte_same() masking out PTE_RDONLY.

Thanks to John Stultz for reporting this and testing this so quickly, and
to Steve Capper for confirming that the HugeTLB tests continue to pass.

Cheers,

Will

--->8

The following changes since commit 1cf45b8fdbb87040e1d1bd793891089f4678aa41:

  arm64: apply ARM64_ERRATUM_843419 workaround for Brahma-B53 core (2019-11-01 10:47:37 +0000)

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 6767df245f4736d0cf0c6fb7cf9cf94b27414245:

  arm64: Do not mask out PTE_RDONLY in pte_same() (2019-11-06 19:31:56 +0000)

----------------------------------------------------------------
arm64 fix for -rc7

- Fix pte_same() to avoid getting stuck on write fault

----------------------------------------------------------------
Catalin Marinas (1):
      arm64: Do not mask out PTE_RDONLY in pte_same()

 arch/arm64/include/asm/pgtable.h | 17 -----------------
 1 file changed, 17 deletions(-)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] arm64: Fix for -rc7
  2019-11-08 10:32 [GIT PULL] arm64: Fix for -rc7 Will Deacon
@ 2019-11-08 17:55 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2019-11-08 17:55 UTC (permalink / raw)
  To: Will Deacon
  Cc: catalin.marinas, torvalds, Linux Kernel Mailing List,
	Linux ARM Kernel Mailing List

The pull request you sent on Fri, 8 Nov 2019 10:32:31 +0000:

> git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/9e8ed26e6062e4f585fe831fba362eb567648881

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-08 10:32 [GIT PULL] arm64: Fix for -rc7 Will Deacon
2019-11-08 17:55 ` pr-tracker-bot

Linux-ARM-Kernel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-arm-kernel/0 linux-arm-kernel/git/0.git
	git clone --mirror https://lore.kernel.org/linux-arm-kernel/1 linux-arm-kernel/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-arm-kernel linux-arm-kernel/ https://lore.kernel.org/linux-arm-kernel \
		linux-arm-kernel@lists.infradead.org
	public-inbox-index linux-arm-kernel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-arm-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git