DW SPI patches does not backport for 4.15 kernel. Set to Won't Fix. See
bug 1826142
** Changed in: kunpeng920/ubuntu-18.04
Status: New => Won't Fix
** Changed in: kunpeng920
Status: New => Fix Committed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1859744
Title:
[spi-0115]spi: dw: use "smp_mb()" to avoid sending spi data error
Status in kunpeng920:
Fix Committed
Status in kunpeng920 ubuntu-18.04 series:
Won't Fix
Status in kunpeng920 ubuntu-18.04-hwe series:
Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
Fix Committed
Status in kunpeng920 upstream-kernel series:
Fix Released
Status in linux package in Ubuntu:
In Progress
Bug description:
[Bug Description]
Because of out-of-order execution about some CPU architecture,
In this debug stage we find Completing spi interrupt enable ->
prodrucing TXEI interrupt -> running "interrupt_transfer" function
will prior to set "dw->rx and dws->rx_end" data, so this patch add
memory barrier to enable dw->rx and dw->rx_end to be visible and
solve to send SPI data error.
eg:
it will fix to this following low possibility error in testing environment
which using SPI control to connect TPM Modules
kernel: tpm tpm0: Operation Timed out
kernel: tpm tpm0: tpm_relinquish_locality: : error -1
[Steps to Reproduce]
1) enable ima and tpm
2)reboot this system
3)
[Actual Results]
kernel: tpm tpm0: Operation Timed out
kernel: tpm tpm0: tpm_relinquish_locality: : error -1
[Expected Results]
ok
[Reproducibility]
low probabilities
[Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):
[Resolution]
bfda044533b2 spi: dw: use "smp_mb()" to avoid sending spi data error
To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859744/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp