Re: Fwd: Regarding pmbus_core.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Guenter,

Thanks for the pointer. Actually during bmr454 probing during kernel boots-up it
called system reset/crash. For reference please find bmr454 probing log below:

[   14.910630] pmbus 7-0010: bmr454 BMR status word : 0x2
[   14.922945] pmbus 7-0010: bmr454 BMR status cml : 0x2

---> Immediately after above bmr454 probing it reset/crash the system
and jump to u-boot.

Using debug prints I observed system got resettted after reaching to
_pmbus_write_byte  function. But
sometimes probing is fine, not observing any system reset/crash.

Regards,
Pankaj Pandey


On Wed, Aug 30, 2023 at 7:38 AM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
>
> On Wed, Aug 30, 2023 at 07:16:46AM +0530, Pankaj Pandey wrote:
> > ---------- Forwarded message ---------
> > From: Pankaj Pandey <pankaj.embedded@xxxxxxxxx>
> > Date: Wed, Aug 30, 2023 at 4:42 AM
> > Subject: Regarding pmbus_core.c
> > To: <linux@xxxxxxxxxxxx>
> >
> >
> > Hi Guenter Roeck,
> >
> > I am facing an issue at drivers/hwmon/pmbus/pmbus_core.c of linux-5.10 kernel.
> > I am using the bm454 driver from drivers/hwmon/pmbus/pmbus.c.
> > Observed sometimes my Powepc based target board called for reset from
> > inside int pmbus_write_byte_data(struct i2c_client *client, int page,
> > u8 reg, u8 value)  function.  It is not consistent, sometimes not
>
> Sorry, I don't understand what you mean with "called for reset from
> inside int pmbus_write_byte_data". Please clarify.
>
> If I recall correctly, bmr454 is very picky when it comes to i2c bus
> speed. If it acts up, you might have some success with picking a different
> bus speed.
>
> Thanks,
> Guenter
>
> > observed any reset and bmr454 initialized fine.  Please suggest any
> > pointers to debug this issue.
> >
> > Regards,
> > Pankaj Pandey




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux