Re: [PATCH v2] powerpc/pseries: remove returning ENODEV when uevent is triggered

2024-04-24 Thread Lidong Zhong
Hi Michael, Could you share your opinion about this new patch please? On Thu, Apr 11, 2024 at 10:04 AM Lidong Zhong wrote: > We noticed the following nuisance messages during boot process > > [7.120610][ T1060] vio vio: uevent: failed to send synthetic uevent > [7.122281]

Re: [PATCH] powerpc/pseries: remove returning ENODEV when uevent is triggered

2024-04-10 Thread Lidong Zhong
add_uevent_var(env, "MODALIAS=vio:T%sS%s", vio_dev->type, cp); + else + add_uevent_var(env, "MODALIAS=vio:T%s", vio_dev->type); I think we can avoid some possible regression then. I'll make the change in my v2 patch. -- Regards, Lidong

[PATCH v2] powerpc/pseries: remove returning ENODEV when uevent is triggered

2024-04-10 Thread Lidong Zhong
ion of modalias in modalias_show(), we remove the return of ENODEV in such cases. The failure messages can also be suppressed with this change. v2: keep align the definition of modalias with modalias_show() Signed-off-by: Lidong Zhong --- arch/powerpc/platforms/pseries/vio.c | 8 ++-- 1 file changed,

Re: [PATCH] powerpc/pseries: remove returning ENODEV when uevent is triggered

2024-04-09 Thread Lidong Zhong
Hi Michael, Thanks for your reply. On Tue, Apr 9, 2024 at 4:46 PM Michael Ellerman wrote: > Hi Lidong, > > Thanks for the patch. > > I'm not an expert on udev etc. so apologies if any of these questions > are stupid. > > Lidong Zhong writes: > > We have noti

Re: [PATCH] powerpc/pseries: remove returning ENODEV when uevent is triggered

2024-04-08 Thread Lidong Zhong
Hi Michael, Could you share your opinion about this patch please? Thanks, Lidong On Sat, Mar 23, 2024 at 4:47 PM Lidong Zhong wrote: > We have noticed the following nuisance messages during boot > > [7.120610][ T1060] vio vio: uevent: failed to send synthetic uevent > [

[PATCH] powerpc/pseries: remove returning ENODEV when uevent is triggered

2024-03-23 Thread Lidong Zhong
sible instead of a failure. The above annoying errors can also be removed after the patch applied. Signed-off-by: Lidong Zhong --- arch/powerpc/platforms/pseries/vio.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/platforms/pseries/vio.c b/arch/powerpc