All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Rory Bolt <Rory.Bolt@kioxia.com>
Cc: "linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>
Subject: Re: Possible big endian bug in latest stable kernel
Date: Fri, 28 Jan 2022 08:19:11 +0100	[thread overview]
Message-ID: <YfOY71XYWdyDeENE@kroah.com> (raw)
In-Reply-To: <7d0dcfb5dd844a3d8e4f2458e5a55887@kioxia.com>

On Thu, Jan 27, 2022 at 05:33:27PM +0000, Rory Bolt wrote:
> 
> Hello Greg,
> 
> I used bisect to find the offending commit:
> 
> To my surprise, it appears to be only peripherally related to USB; it is in fact the change to drivers/regulators/core.c
> 
> I cannot explain how this only affects big endian operation, not little endian. I can only theorize that since the u-boot firmware is in little endian mode, it has already set up the regulators... however when I transition to big endian mode, I essentially re-init everything.
> 
> aarch64_be-test /usr/src/linux-5.15.14/drivers/regulator # diff core.c.orig core.c
> 1531c1531,1532
> <               if (rdev->supply_name && !rdev->supply)
> ---
> >               if (rdev->supply_name && !rdev->supply &&
> >                   !rdev->constraints->always_on)
> 
> I am uncertain if this patch is generally correct or not, hence my reluctance to post. It seems that rdev-supply is ALWAYS null and rdev->constraints->always_on is ALWAYS true for the RockPro64 board. My concern is that this may affect other platforms.
> 
> Should I post this to the general kernel mailing list? Is there another more appropriate list?

You point at a merge commit, but not the actual commit that causes the
problem within that merge commit.  I would cc: the developers involved
in that tree and point them at this git bisect run and work with them to
resolve this issue.

thanks,

greg k-h

  reply	other threads:[~2022-01-28  7:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-27 17:33 Possible big endian bug in latest stable kernel Rory Bolt
2022-01-28  7:19 ` Greg KH [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-21 19:13 Rory Bolt
2022-01-22  7:23 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YfOY71XYWdyDeENE@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=Rory.Bolt@kioxia.com \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.