All of lore.kernel.org
 help / color / mirror / Atom feed
* usb: dwc2: RODATA_FULL_DEFAULT_ENABLED causes kernel oops
@ 2019-05-26 10:11 ` Stefan Wahren
  0 siblings, 0 replies; 12+ messages in thread
From: Stefan Wahren @ 2019-05-26 10:11 UTC (permalink / raw)
  To: Antti Seppälä, Minas Harutyunyan, Ard Biesheuvel
  Cc: Felipe Balbi, Greg Kroah-Hartman, Will Deacon, linux-usb,
	linux-arm-kernel, Artur Petrosyan

Hi,

i want to remind about an issue which was originally reported by Wayne
Piekarski [1]. I'm able to reproduce this oops with Mainline Linux 5.0.2
on a Raspberry Pi 3B+ (arm64/defconfig) and according to Jan Kratochvil
[2] this applies to 5.1.0 and 5.2.0.

The crash is reproducible since commit c55191e96ca ("arm64: mm: apply
r/o permissions of VM areas to its linear alias as well"), but the root
cause of the crash was introduced much earlier with commit 56406e017a88
("usb: dwc2: Fix DMA alignment to start at allocated boundary").

I tested successfully the following workarounds with the RPi 3B+:

1) Disable RODATA_FULL_DEFAULT_ENABLED

2) revert commit 56406e017a88 ("usb: dwc2: Fix DMA alignment to start at
allocated boundary")

It would be nice if someone can come up with a proper solution.

Regards
Stefan

[1] - https://marc.info/?l=linux-usb&m=155440243702650&w=2
[2] - https://bugzilla.kernel.org/show_bug.cgi?id=203149


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

end of thread, other threads:[~2019-05-29 18:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-26 10:11 usb: dwc2: RODATA_FULL_DEFAULT_ENABLED causes kernel oops Stefan Wahren
2019-05-26 10:11 ` Stefan Wahren
2019-05-26 10:44 ` Antti Seppälä
2019-05-26 10:44   ` Antti Seppälä
2019-05-26 12:58   ` Ard Biesheuvel
2019-05-26 12:58     ` Ard Biesheuvel
2019-05-26 18:02     ` Ard Biesheuvel
2019-05-26 18:02       ` Ard Biesheuvel
2019-05-26 19:58   ` Stefan Wahren
2019-05-26 19:58     ` Stefan Wahren
2019-05-29 17:59     ` Stefan Wahren
2019-05-29 17:59       ` Stefan Wahren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.