From: Robin Murphy <robin.murphy(a)arm.com>
> Now that PCI inbound window restrictions are handled generically between
> the of_pci resource parsing and the IOMMU layer, and described in the
> Juno DT, we can finally enable the PCIe SMMU without the risk of DMA
> mappings inadvertently allocating unusable addresses.
>
> Similarly, the relevant support for IOMMU mappings for peripheral
> transfers has been hooked up in the pl330 driver for ages, so we can
> happily enable the DMA SMMU without that breaking anything either.
>
> Signed-off-by: Robin Murphy <robin.murphy(a)arm.com>
When we build a kernel with 64k page size and run the ltp syscalls we
sporadically see a kernel crash while doing a mkfs on a connected SATA
drive. This is happening every third test run on any juno-r2 device in
the lab with the same kernel image (stable-rc 5.13.y, mainline and next)
with gcc-11.
Here is a snippet of the boot log [1]:
+ mkfs -t ext4 /dev/disk/by-id/ata-SanDisk_SDSSDA120G_165192443611
mke2fs 1.43.8 (1-Jan-2018)
Discarding device blocks: 4096/29305200
[ 55.344291] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
frozen
[ 55.351423] ata1.00: irq_stat 0x00020002, failed to transmit command
FIS
[ 55.358205] ata1.00: failed command: DATA SET MANAGEMENT
[ 55.363561] ata1.00: cmd 06/01:01:00:00:00/00:00:00:00:00/a0 tag 12
dma 512 out
[ 55.363561] res ec/ff:00:00:00:00/00:00:00:00:ec/00 Emask
0x12 (ATA bus error)
[ 55.378955] ata1.00: status: { Busy }
[ 55.382658] ata1.00: error: { ICRC UNC AMNF IDNF ABRT }
[ 55.387947] ata1: hard resetting link
[ 55.391653] ata1: controller in dubious state, performing PORT_RST
[ 57.588447] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
[ 57.613471] ata1.00: configured for UDMA/100
[ 57.617866] ata1.00: device reported invalid CHS sector 0
[ 57.623397] ata1: EH complete
When we revert this patch we don't see any issue.
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
Cheers,
Anders
[1]
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.13.y/build/v5.13…
Dear Customer,
Hope you are well.
I am Joy of Guangzhou ZTINFO , a leading China’s GPS TRACKER device and solutions provider.
Application of persons, motocycle, assets, fleet management, car rental etc.
Are you interested to know more?
P.S. Your contact is well shared by my partner. If you do not need GPS trackers, you can reply directly (no need). I will not disturb you in the future.
Honors:
High tech Enterprise
Director unit of Guangdong IOT authority
Off campus practice base of Guangdong University of Technology
Our advantage:
1 The world smallest 4G gps tracker
2 International roaming Sim card can be used in 62 countries.
3 Reliable GPS chipset supply to secure the production and shipping term
4 Cheap China Unicom International Roaming Sim Card fees
5 Platform service fees free for the first year
6 High cost performance GPS trackers(2G&4G)
7 No MOQ
8 Special agent and OEM customers welcome
9 Perfect platform tracking service(details improvement)
Best regards,
Joy Cheu
Marketing Manager
Duomi Technology Co.,Ltd
Guangzhou ZTINFO Technology Co.,Ltd
Mob:+86 132 86875721
whatsapp:+86 15258368162
wechat: vivid_joy
Regression found on riscv gcc-11 built with defconfig
Following build warnings / errors reported on linux next 20211028.
metadata:
git_describe: next-20211028
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_short_log: 503f375baa99 (\"Add linux-next specific files for 20211028\")
target_arch: riscv
toolchain: gcc-11
build error :
--------------
/builds/linux/arch/riscv/lib/delay.c: In function '__delay':
/builds/linux/arch/riscv/lib/delay.c:77:17: error: implicit
declaration of function 'cpu_relax'
[-Werror=implicit-function-declaration]
77 | cpu_relax();
| ^~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [/builds/linux/scripts/Makefile.build:288:
arch/riscv/lib/delay.o] Error 1
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
build link:
-----------
https://builds.tuxbuild.com/208R1uE0CO13gO5XbrrWlqwau7r/build.log
build config:
-------------
https://builds.tuxbuild.com/208R1uE0CO13gO5XbrrWlqwau7r/config
# To install tuxmake on your system globally
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch riscv --toolchain gcc-11
--kconfig defconfig
--
Linaro LKFT
https://lkft.linaro.org
Regression found on mips gcc-10 built with defconfig
Following build warnings / errors reported on linux next 20211027.
The bisect tool pointing to the following commit
The first bad commit:
commit 4cb6f4df976b288aa02bbb658d38e73d34d8231f
irq: mips: simplify do_domain_IRQ()
metadata:
git_describe: next-20211027
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_short_log: ae5179317e79 (\"Add linux-next specific files for 20211027\")
target_arch: mips
toolchain: gcc-10
build error :
--------------
<stdin>:1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp]
arch/mips/kernel/irq.c: In function 'do_domain_IRQ':
arch/mips/kernel/irq.c:114:19: error: unused variable 'desc'
[-Werror=unused-variable]
struct irq_desc *desc;
^~~~
cc1: all warnings being treated as errors
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
build link:
-----------
https://builds.tuxbuild.com/205S9XOzkonL7F3xvY8YUO2l1QT/build.log
build config:
-------------
https://builds.tuxbuild.com/205S9XOzkonL7F3xvY8YUO2l1QT/config
# To install tuxmake on your system globally
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch mips --toolchain gcc-10
--kconfig defconfig
--
Linaro LKFT
https://lkft.linaro.org