Guenter Roeck
beeeac43b6
Revert "serial: 8250_dw: Fix runtime PM handling"
This reverts commit d76c74387e.
While commit d76c74387e ("serial: 8250_dw: Fix runtime PM handling")
fixes runtime PM handling when using kgdb, it introduces a traceback for
everyone else.
BUG: sleeping function called from invalid context at
/mnt/host/source/src/third_party/kernel/next/drivers/base/power/runtime.c:1034
in_atomic(): 1, irqs_disabled(): 1, pid: 1, name: swapper/0
7 locks held by swapper/0/1:
#0: 000000005ec5bc72 (&dev->mutex){....}, at: __driver_attach+0xb5/0x12b
#1: 000000005d5fa9e5 (&dev->mutex){....}, at: __device_attach+0x3e/0x15b
#2: 0000000047e93286 (serial_mutex){+.+.}, at: serial8250_register_8250_port+0x51/0x8bb
#3: 000000003b328f07 (port_mutex){+.+.}, at: uart_add_one_port+0xab/0x8b0
#4: 00000000fa313d4d (&port->mutex){+.+.}, at: uart_add_one_port+0xcc/0x8b0
#5: 00000000090983ca (console_lock){+.+.}, at: vprintk_emit+0xdb/0x217
#6: 00000000c743e583 (console_owner){-...}, at: console_unlock+0x211/0x60f
irq event stamp: 735222
__down_trylock_console_sem+0x4a/0x84
console_unlock+0x338/0x60f
__do_softirq+0x4a4/0x50d
irq_exit+0x64/0xe2
CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.19.0-rc5 #6
Hardware name: Google Caroline/Caroline, BIOS Google_Caroline.7820.286.0 03/15/2017
Call Trace:
dump_stack+0x7d/0xbd
___might_sleep+0x238/0x259
__pm_runtime_resume+0x4e/0xa4
? serial8250_rpm_get+0x2e/0x44
serial8250_console_write+0x44/0x301
? lock_acquire+0x1b8/0x1fa
console_unlock+0x577/0x60f
vprintk_emit+0x1f0/0x217
printk+0x52/0x6e
register_console+0x43b/0x524
uart_add_one_port+0x672/0x8b0
? set_io_from_upio+0x150/0x162
serial8250_register_8250_port+0x825/0x8bb
dw8250_probe+0x80c/0x8b0
? dw8250_serial_inq+0x8e/0x8e
? dw8250_check_lcr+0x108/0x108
? dw8250_runtime_resume+0x5b/0x5b
? dw8250_serial_outq+0xa1/0xa1
? dw8250_remove+0x115/0x115
platform_drv_probe+0x76/0xc5
really_probe+0x1f1/0x3ee
? driver_allows_async_probing+0x5d/0x5d
driver_probe_device+0xd6/0x112
? driver_allows_async_probing+0x5d/0x5d
bus_for_each_drv+0xbe/0xe5
__device_attach+0xdd/0x15b
bus_probe_device+0x5a/0x10b
device_add+0x501/0x894
? _raw_write_unlock+0x27/0x3a
platform_device_add+0x224/0x2b7
mfd_add_device+0x718/0x75b
? __kmalloc+0x144/0x16a
? mfd_add_devices+0x38/0xdb
mfd_add_devices+0x9b/0xdb
intel_lpss_probe+0x7d4/0x8ee
intel_lpss_pci_probe+0xac/0xd4
pci_device_probe+0x101/0x18e
...
Revert the offending patch until a more comprehensive solution
is available.
Cc: Tony Lindgren <tony@atomide.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Phil Edworthy <phil.edworthy@renesas.com>
Fixes: d76c74387e ("serial: 8250_dw: Fix runtime PM handling")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
2018-10-02 14:35:10 -07:00 |
| .. |
|
accessibility
|
|
|
|
acpi
|
Merge branch 'acpi-bus'
|
2018-09-07 10:05:20 +02:00 |
|
amba
|
|
|
|
android
|
android: binder: fix the race mmap and alloc_new_buf_locked
|
2018-09-12 09:18:29 +02:00 |
|
ata
|
for-linus-20180920
|
2018-09-21 09:41:05 +02:00 |
|
atm
|
|
|
|
auxdisplay
|
Char/Misc driver patches for 4.19-rc1
|
2018-08-18 11:04:51 -07:00 |
|
base
|
firmware: Fix security issue with request_firmware_into_buf()
|
2018-09-12 09:31:00 +02:00 |
|
bcma
|
|
|
|
block
|
for-linus-20180929
|
2018-09-29 14:52:14 -07:00 |
|
bluetooth
|
Bluetooth: hci_ldisc: Free rw_semaphore on close
|
2018-09-11 13:33:57 +02:00 |
|
bus
|
Merge branch 'perm-fix' into omap-for-v4.19/fixes-v2
|
2018-08-28 09:58:03 -07:00 |
|
cdrom
|
cdrom: Fix info leak/OOB read in cdrom_ioctl_drive_status
|
2018-08-29 08:09:20 -06:00 |
|
char
|
A few fixes that came around or after the merge window, except
|
2018-09-12 19:33:56 -10:00 |
|
clk
|
clk: x86: Stop marking clocks as CLK_IS_CRITICAL
|
2018-09-17 18:47:58 -07:00 |
|
clocksource
|
clocksource/drivers/timer-atmel-pit: Properly handle error cases
|
2018-09-27 12:01:45 +02:00 |
|
connector
|
|
|
|
cpufreq
|
cpufreq: qcom-kryo: Fix section annotations
|
2018-09-29 15:01:10 +02:00 |
|
cpuidle
|
cpuidle: menu: Retain tick when shallow state is selected
|
2018-08-25 13:16:08 +02:00 |
|
crypto
|
crypto: ccp - add timeout support in the SEV command
|
2018-09-13 13:27:43 +08:00 |
|
dax
|
device-dax: Add missing address_space_operations
|
2018-09-22 09:07:33 -07:00 |
|
dca
|
|
|
|
devfreq
|
Char/Misc driver patches for 4.19-rc1
|
2018-08-18 11:04:51 -07:00 |
|
dio
|
|
|
|
dma
|
dmaengine: mic_x100_dma: use devm_kzalloc to fix an issue
|
2018-08-27 11:16:04 +05:30 |
|
dma-buf
|
|
|
|
edac
|
EDAC: Add missing MEM_LRDDR4 entry in edac_mem_types[]
|
2018-08-17 15:13:34 +02:00 |
|
eisa
|
|
|
|
extcon
|
|
|
|
firewire
|
firewire: use 64-bit time_t based interfaces
|
2018-08-17 16:20:27 -07:00 |
|
firmware
|
efi/libstub/arm: default EFI_ARMSTUB_DTB_LOADER to y
|
2018-09-12 16:41:41 +02:00 |
|
fmc
|
|
|
|
fpga
|
fpga: dfl: fme: fix return value check in in pr_mgmt_init()
|
2018-09-12 09:31:00 +02:00 |
|
fsi
|
fsi: sbefifo: Bump max command length
|
2018-08-08 15:44:47 +10:00 |
|
gnss
|
|
|
|
gpio
|
gpio: Fix crash due to registration race
|
2018-08-31 11:30:45 +02:00 |
|
gpu
|
Merge branch 'drm-fixes-4.19' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
|
2018-09-28 09:30:22 +10:00 |
|
hid
|
HID: i2c-hid: Don't reset device upon system resume
|
2018-09-06 16:30:53 +02:00 |
|
hsi
|
|
|
|
hv
|
vmbus: don't return values for uninitalized channels
|
2018-09-12 09:31:00 +02:00 |
|
hwmon
|
Various bug fixes for nct6775 driver
|
2018-09-19 22:59:30 +02:00 |
|
hwspinlock
|
|
|
|
hwtracing
|
intel_th: pci: Add Ice Lake PCH support
|
2018-09-18 16:08:38 +02:00 |
|
i2c
|
i2c: xiic: Make the start and the byte count write atomic
|
2018-09-06 20:49:09 +02:00 |
|
ide
|
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide
|
2018-08-22 07:40:33 -07:00 |
|
idle
|
|
|
|
iio
|
First set of IIO fixes for the 4.19 cycle.
|
2018-09-09 09:33:29 +02:00 |
|
infiniband
|
Second rc pull request
|
2018-09-27 21:53:55 +02:00 |
|
input
|
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
|
2018-09-28 18:04:50 -07:00 |
|
iommu
|
iommu/amd: Return devid as alias for ACPI HID devices
|
2018-09-26 09:41:11 +02:00 |
|
ipack
|
|
|
|
irqchip
|
irqchip/gic-v3-its: Cap lpi_id_bits to reduce memory footprint
|
2018-09-06 20:31:59 +02:00 |
|
isdn
|
isdn: Disable IIOCDBGVAR
|
2018-08-16 12:26:24 -07:00 |
|
leds
|
leds: ns2: Change unsigned to unsigned int
|
2018-08-06 23:03:12 +02:00 |
|
lightnvm
|
|
|
|
macintosh
|
macintosh: therm_windtunnel: drop using attach_adapter
|
2018-08-24 14:42:42 +02:00 |
|
mailbox
|
mailbox: Add support for i.MX messaging unit
|
2018-08-15 09:53:07 +05:30 |
|
mcb
|
|
|
|
md
|
for-linus-20180929
|
2018-09-29 14:52:14 -07:00 |
|
media
|
media: platform: fix cros-ec-cec build error
|
2018-09-17 14:32:29 -04:00 |
|
memory
|
memory: ti-aemif: fix a potential NULL-pointer dereference
|
2018-09-06 10:04:07 -07:00 |
|
memstick
|
|
|
|
message
|
|
|
|
mfd
|
mfd: omap-usb-host: Fix dts probe of children
|
2018-09-11 16:47:33 +01:00 |
|
misc
|
misc: hmc6352: fix potential Spectre v1
|
2018-09-12 09:31:00 +02:00 |
|
mmc
|
mmc: meson-mx-sdio: fix OF child-node lookup
|
2018-09-05 08:28:45 +02:00 |
|
mtd
|
mtd: devices: m25p80: Make sure the buffer passed in op is DMA-able
|
2018-09-18 10:17:48 +02:00 |
|
mux
|
|
|
|
net
|
Second rc pull request
|
2018-09-27 21:53:55 +02:00 |
|
nfc
|
|
|
|
ntb
|
|
|
|
nubus
|
|
|
|
nvdimm
|
libnvdimm-for-4.19_dax-memory-failure
|
2018-08-25 18:43:59 -07:00 |
|
nvme
|
nvme: properly propagate errors in nvme_mpath_init
|
2018-09-25 16:21:40 -07:00 |
|
nvmem
|
|
|
|
of
|
Devicetree fixes for 4.19, part 2:
|
2018-09-14 13:03:17 -10:00 |
|
opp
|
|
|
|
oprofile
|
|
|
|
parisc
|
|
|
|
parport
|
Char/Misc driver patches for 4.19-rc1
|
2018-08-18 11:04:51 -07:00 |
|
pci
|
pci-v4.19-fixes-2
|
2018-09-28 18:20:41 +02:00 |
|
pcmcia
|
pcmcia: remove long deprecated pcmcia_request_exclusive_irq() function
|
2018-08-18 12:30:42 -07:00 |
|
perf
|
Char/Misc driver patches for 4.19-rc1
|
2018-08-18 11:04:51 -07:00 |
|
phy
|
|
|
|
pinctrl
|
Revert "pinctrl: intel: Do pin translation when lock IRQ"
|
2018-09-25 12:50:00 +02:00 |
|
platform
|
platform/x86: alienware-wmi: Correct a memory leak
|
2018-09-10 13:45:43 -07:00 |
|
pnp
|
|
|
|
power
|
treewide: convert ISO_8859-1 text comments to utf-8
|
2018-08-23 18:48:43 -07:00 |
|
powercap
|
|
|
|
pps
|
|
|
|
ps3
|
|
|
|
ptp
|
Char/Misc driver patches for 4.19-rc1
|
2018-08-18 11:04:51 -07:00 |
|
pwm
|
pwm: mediatek: Add MT7628 support
|
2018-08-20 11:36:07 +02:00 |
|
rapidio
|
drivers/rapidio/devices/rio_mport_cdev.c: remove redundant pointer md
|
2018-08-22 10:52:51 -07:00 |
|
ras
|
|
|
|
regulator
|
regulator: fix crash caused by null driver data
|
2018-09-20 09:04:51 -07:00 |
|
remoteproc
|
remoteproc/davinci: use the reset framework
|
2018-08-16 17:39:55 -07:00 |
|
reset
|
ARM: SoC: late updates
|
2018-08-25 14:12:36 -07:00 |
|
rpmsg
|
|
|
|
rtc
|
RTC for 4.19
|
2018-08-20 16:30:27 -07:00 |
|
s390
|
s390 fixes for 4.19-rc4
|
2018-09-13 16:22:24 -10:00 |
|
sbus
|
|
|
|
scsi
|
scsi: sd: don't crash the host on invalid commands
|
2018-09-21 12:42:57 -04:00 |
|
sfi
|
|
|
|
sh
|
|
|
|
siox
|
|
|
|
slimbus
|
|
|
|
sn
|
|
|
|
soc
|
ARM: Device-tree updates
|
2018-08-23 14:02:22 -07:00 |
|
soundwire
|
soundwire: Fix acquiring bus lock twice during master release
|
2018-08-27 09:49:48 +05:30 |
|
spi
|
spi: Fixes for v4.19
|
2018-09-28 18:04:06 -07:00 |
|
spmi
|
|
|
|
ssb
|
ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG
|
2018-08-09 18:47:47 +03:00 |
|
staging
|
media fixes for v4.19-rc5
|
2018-09-24 15:16:41 +02:00 |
|
target
|
scsi: target: iscsi: Use bin2hex instead of a re-implementation
|
2018-09-21 12:32:30 -04:00 |
|
tc
|
|
|
|
tee
|
ARM: SoC driver updates
|
2018-08-23 13:52:46 -07:00 |
|
thermal
|
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal
|
2018-08-28 16:11:34 -07:00 |
|
thunderbolt
|
|
|
|
tty
|
Revert "serial: 8250_dw: Fix runtime PM handling"
|
2018-10-02 14:35:10 -07:00 |
|
uio
|
Char/Misc fix for 4.19-rc1
|
2018-08-19 09:30:44 -07:00 |
|
usb
|
usb: typec: mux: Take care of driver module reference counting
|
2018-09-20 13:35:01 +02:00 |
|
uwb
|
|
|
|
vfio
|
powerpc updates for 4.19
|
2018-08-17 11:32:50 -07:00 |
|
vhost
|
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
|
2018-08-27 11:59:39 -07:00 |
|
video
|
fbdev changes for v4.19:
|
2018-08-23 15:44:58 -07:00 |
|
virt
|
|
|
|
virtio
|
virtio, vhost: fixes, tweaks
|
2018-08-24 08:45:19 -07:00 |
|
visorbus
|
|
|
|
vlynq
|
|
|
|
vme
|
|
|
|
w1
|
power supply and reset changes for the v4.19 series
|
2018-08-21 18:06:27 -07:00 |
|
watchdog
|
include/linux/compiler*.h: make compiler-*.h mutually exclusive
|
2018-08-22 17:31:34 -07:00 |
|
xen
|
xen: issue warning message when out of grant maptrack entries
|
2018-09-19 11:27:42 -04:00 |
|
zorro
|
|
|
|
Kconfig
|
|
|
|
Makefile
|
Char/Misc driver patches for 4.19-rc1
|
2018-08-18 11:04:51 -07:00 |