Thread (3 messages) flat view 3 messages, 3 authors, 2020-04-21

Re: [PATCH] powerpc/pseries: Make vio and ibmebus initcalls pseries specific

From: Tyrel Datwyler <tyreld@linux.ibm.com>
Date: 2020-04-18 01:07:00

On 4/16/20 9:07 PM, Oliver O'Halloran wrote:
The vio and ibmebus buses are used for pseries specific paravirtualised
devices and currently they're initialised by the generic initcall types.
This is mostly fine, but it can result in some nuisance errors in dmesg
when booting on PowerNV on some OSes, e.g.

[    2.984439] synth uevent: /devices/vio: failed to send uevent
[    2.984442] vio vio: uevent: failed to send synthetic uevent
[   17.968551] synth uevent: /devices/vio: failed to send uevent
[   17.968554] vio vio: uevent: failed to send synthetic uevent

We don't see anything similar for the ibmebus because that depends on
!CONFIG_LITTLE_ENDIAN.

This patch squashes those by switching to using machine_*_initcall() so the bus
type is only registered when the kernel is running on a pseries machine.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
---
Reviewed-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help