Re: [PATCH 1/3] spi: tegra210-quad: use device_reset_optional() instead of device_reset()

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

 



On Tue, Mar 18, 2025, at 19:32, Breno Leitao wrote:
> On Tue, Mar 18, 2025 at 11:29:26AM -0700, Breno Leitao wrote:
>> On Tue, Mar 18, 2025 at 05:34:55PM +0000, Mark Brown wrote:
>> 
>> Summary of the proiblem: tpm_tis is trying to read random numbers
>> through a dead SPI controller. That causes infinite amounts of warnings
>> on the kernel, given that the controller is WARNing on time outs (which
>> is being fixed in one of the patches in this patchset).
>> 
>> Question: Should tpm_tis be aware that the underneath SPI controller is
>> dead, and eventually get unplugged?
>
> Adding Arnd to the email.

Hi Breno,

That does sound like the easiest answer: if the spi controller driver
knows that it needs a reset but there is no reset controller, shutting
itself down and removing its child devices seems like the least
offensive action.

No idea if there are other spi controllers that do something like this.

      Arnd




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux