All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: Vincent Pelletier <plr.vincent@gmail.com>
Cc: Mark Brown <broonie@kernel.org>,
	linux-spi <linux-spi@vger.kernel.org>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Ray Jui <rjui@broadcom.com>,
	Scott Branden <sbranden@broadcom.com>,
	Nicolas Saenz Julienne <nsaenzjulienne@suse.de>,
	linux-rpi-kernel@lists.infradead.org,
	Tudor Ambarus <tudor.ambarus@microchip.com>
Subject: Re: 5.11.0-rc1+: "Division by zero in kernel." when writing to spidev
Date: Thu, 7 Jan 2021 22:53:05 -0300	[thread overview]
Message-ID: <CAOMZO5DSw2Nz5e_0Qn0LcqT-uvvpbjEczUOs2qoEbgC+H8Ho5g@mail.gmail.com> (raw)
In-Reply-To: <20210108011044.5780aa96@gmail.com>

Hi Vincent,

On Thu, Jan 7, 2021 at 10:16 PM Vincent Pelletier <plr.vincent@gmail.com> wrote:

> Thanks.
> I added Tudor Ambarus as well as my debugging points in the direction
> of:
> commit 9326e4f1e5dd1a4410c429638d3c412b6fc17040 (spi/for-5.10)
> Author: Tudor Ambarus <tudor.ambarus@microchip.com>
> Date:   Wed Dec 9 19:35:14 2020 +0200
>
>     spi: Limit the spi device max speed to controller's max speed
>
>     Make sure the max_speed_hz of spi_device does not override
>     the max_speed_hz of controller.

There is a fix for this:
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git/commit/?h=for-linus&id=6820e812dafb4258bc14692f686eec5bde6fba86

  reply	other threads:[~2021-01-08  1:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-06 12:55 5.11.0-rc1+: "Division by zero in kernel." when writing to spidev Vincent Pelletier
2021-01-06 13:00 ` Mark Brown
2021-01-06 15:06   ` Vincent Pelletier
2021-01-06 17:37     ` Mark Brown
2021-01-07  0:57       ` Vincent Pelletier
2021-01-07 15:35         ` Mark Brown
2021-01-08  1:10           ` Vincent Pelletier
2021-01-08  1:53             ` Fabio Estevam [this message]
2021-01-08 11:55               ` Vincent Pelletier

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=CAOMZO5DSw2Nz5e_0Qn0LcqT-uvvpbjEczUOs2qoEbgC+H8Ho5g@mail.gmail.com \
    --to=festevam@gmail.com \
    --cc=broonie@kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=nsaenzjulienne@suse.de \
    --cc=plr.vincent@gmail.com \
    --cc=rjui@broadcom.com \
    --cc=sbranden@broadcom.com \
    --cc=tudor.ambarus@microchip.com \
    /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.