Skip to content

serial: 8250_aspeed_vuart: fix duplicate __release_region() on unbind

Zev Weiss linux-arm-kernel linux-aspeed linux-serial lkml openbmc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3serial: 8250_aspeed_vuart: factor out aspeed_vuart_{read,write}b() helper functionsdrivers/tty/serial/8250/8250_aspeed_vuart.c+24 -141 reply
2/3serial: 8250_aspeed_vuart: initialize vuart->port in aspeed_vuart_probe()drivers/tty/serial/8250/8250_aspeed_vuart.c+2 -33 replies
3/3serial: 8250_aspeed_vuart: use UPF_IOREMAP to set up register mappingdrivers/tty/serial/8250/8250_aspeed_vuart.c+3 -80 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAndrew Jeffery
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] serial: 8250_aspeed_vuart: fix duplicate __release_region() on unbind

Hello,

This series addresses a bug reported by Andrew Jeffery [0] wherein the aspeed-vuart driver triggers a "Trying to free nonexistent resource" warning from __release_region() when unbound from a device. The first two patches provide some preparatory refactoring and cleanups; the actual fix is in the final patch.

Joel, note that this series has a dependency on the "generalized DT properties" series [1] (specifically the second patch), which has been merged upstream but is not yet in the OpenBMC dev-5.10 tree.

[0] https://github.com/openbmc/linux/issues/203
[1] https://lore.kernel.org/openbmc/20210412034712.16778-1-zev at bewilderbeest.net/

Zev Weiss (3):
serial: 8250_aspeed_vuart: factor out aspeed_vuart_{read,write}b()
helper functions
serial: 8250_aspeed_vuart: initialize vuart->port in
aspeed_vuart_probe()
serial: 8250_aspeed_vuart: use UPF_IOREMAP to set up register mapping

 drivers/tty/serial/8250/8250_aspeed_vuart.c | 50 +++++++++++----------
 1 file changed, 27 insertions(+), 23 deletions(-)
Signature · 1 line
2.31.1