* [Bug Report] smmuv3 event 0x10 report when running virtio-blk-pci
@ 2024-09-09 14:22 Zhou Wang via
2024-09-09 14:31 ` Peter Maydell
2024-09-09 14:47 ` Mostafa Saleh
0 siblings, 2 replies; 8+ messages in thread
From: Zhou Wang via @ 2024-09-09 14:22 UTC (permalink / raw)
To: qemu-devel, qemu-arm; +Cc: Shameer Kolothum
Hi All,
When I tested mainline qemu(commit 7b87a25f49), it reports smmuv3 event 0x10
during kernel booting up.
qemu command which I use is as below:
qemu-system-aarch64 -machine virt,kernel_irqchip=on,gic-version=3,iommu=smmuv3 \
-kernel Image -initrd minifs.cpio.gz \
-enable-kvm -net none -nographic -m 3G -smp 6 -cpu host \
-append 'rdinit=init console=ttyAMA0 ealycon=pl0ll,0x90000000 maxcpus=3' \
-device pcie-root-port,port=0x8,chassis=0,id=pci.0,bus=pcie.0,multifunction=on,addr=0x2 \
-device pcie-root-port,port=0x9,chassis=1,id=pci.1,bus=pcie.0,addr=0x2.0x1 \
-device virtio-blk-pci,drive=drive0,id=virtblk0,num-queues=8,packed=on,bus=pci.1 \
-drive file=/home/boot.img,if=none,id=drive0,format=raw
smmuv3 event 0x10 log:
[...]
[ 1.962656] virtio-pci 0000:02:00.0: Adding to iommu group 0
[ 1.963150] virtio-pci 0000:02:00.0: enabling device (0000 -> 0002)
[ 1.964707] virtio_blk virtio0: 6/0/0 default/read/poll queues
[ 1.965759] virtio_blk virtio0: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB)
[ 1.966934] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
[ 1.967442] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 1.967478] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
[ 1.968381] clk: Disabling unused clocks
[ 1.968677] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
[ 1.968990] PM: genpd: Disabling unused power domains
[ 1.969424] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
[ 1.969814] ALSA device list:
[ 1.970240] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
[ 1.970471] No soundcards found.
[ 1.970902] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
[ 1.971600] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
[ 1.971601] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
[ 1.971601] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
[ 1.971602] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
[ 1.971606] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
[ 1.971607] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
[ 1.974202] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
[ 1.974634] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
[ 1.975005] Freeing unused kernel memory: 10112K
[ 1.975062] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
[ 1.975442] Run init as init process
Another information is that if "maxcpus=3" is removed from the kernel command line,
it will be OK.
I am not sure if there is a bug about vsmmu. It will be very appreciated if anyone
know this issue or can take a look at it.
Thanks,
Zhou
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bug Report] smmuv3 event 0x10 report when running virtio-blk-pci
2024-09-09 14:22 [Bug Report] smmuv3 event 0x10 report when running virtio-blk-pci Zhou Wang via
@ 2024-09-09 14:31 ` Peter Maydell
2024-09-10 1:24 ` Zhou Wang via
2024-09-09 14:47 ` Mostafa Saleh
1 sibling, 1 reply; 8+ messages in thread
From: Peter Maydell @ 2024-09-09 14:31 UTC (permalink / raw)
To: Zhou Wang
Cc: qemu-devel, qemu-arm, Shameer Kolothum, Eric Auger, Mostafa Saleh
On Mon, 9 Sept 2024 at 15:22, Zhou Wang via <qemu-devel@nongnu.org> wrote:
>
> Hi All,
>
> When I tested mainline qemu(commit 7b87a25f49), it reports smmuv3 event 0x10
> during kernel booting up.
Does it still do this if you either:
(1) use the v9.1.0 release (commit fd1952d814da)
(2) use "-machine virt-9.1" instead of "-machine virt"
?
My suspicion is that this will have started happening now that
we expose an SMMU with two-stage translation support to the guest
in the "virt" machine type (which we do not if you either
use virt-9.1 or in the v9.1.0 release).
I've cc'd Eric (smmuv3 maintainer) and Mostafa (author of
the two-stage support).
> qemu command which I use is as below:
>
> qemu-system-aarch64 -machine virt,kernel_irqchip=on,gic-version=3,iommu=smmuv3 \
> -kernel Image -initrd minifs.cpio.gz \
> -enable-kvm -net none -nographic -m 3G -smp 6 -cpu host \
> -append 'rdinit=init console=ttyAMA0 ealycon=pl0ll,0x90000000 maxcpus=3' \
> -device pcie-root-port,port=0x8,chassis=0,id=pci.0,bus=pcie.0,multifunction=on,addr=0x2 \
> -device pcie-root-port,port=0x9,chassis=1,id=pci.1,bus=pcie.0,addr=0x2.0x1 \
> -device virtio-blk-pci,drive=drive0,id=virtblk0,num-queues=8,packed=on,bus=pci.1 \
> -drive file=/home/boot.img,if=none,id=drive0,format=raw
>
> smmuv3 event 0x10 log:
> [...]
> [ 1.962656] virtio-pci 0000:02:00.0: Adding to iommu group 0
> [ 1.963150] virtio-pci 0000:02:00.0: enabling device (0000 -> 0002)
> [ 1.964707] virtio_blk virtio0: 6/0/0 default/read/poll queues
> [ 1.965759] virtio_blk virtio0: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB)
> [ 1.966934] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
> [ 1.967442] input: gpio-keys as /devices/platform/gpio-keys/input/input0
> [ 1.967478] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
> [ 1.968381] clk: Disabling unused clocks
> [ 1.968677] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
> [ 1.968990] PM: genpd: Disabling unused power domains
> [ 1.969424] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> [ 1.969814] ALSA device list:
> [ 1.970240] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> [ 1.970471] No soundcards found.
> [ 1.970902] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
> [ 1.971600] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
> [ 1.971601] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
> [ 1.971601] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> [ 1.971602] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> [ 1.971606] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
> [ 1.971607] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
> [ 1.974202] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
> [ 1.974634] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> [ 1.975005] Freeing unused kernel memory: 10112K
> [ 1.975062] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> [ 1.975442] Run init as init process
>
> Another information is that if "maxcpus=3" is removed from the kernel command line,
> it will be OK.
>
> I am not sure if there is a bug about vsmmu. It will be very appreciated if anyone
> know this issue or can take a look at it.
thanks
-- PMM
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bug Report] smmuv3 event 0x10 report when running virtio-blk-pci
2024-09-09 14:22 [Bug Report] smmuv3 event 0x10 report when running virtio-blk-pci Zhou Wang via
2024-09-09 14:31 ` Peter Maydell
@ 2024-09-09 14:47 ` Mostafa Saleh
2024-09-10 1:51 ` Zhou Wang via
1 sibling, 1 reply; 8+ messages in thread
From: Mostafa Saleh @ 2024-09-09 14:47 UTC (permalink / raw)
To: Zhou Wang; +Cc: qemu-devel, qemu-arm, Shameer Kolothum
Hi Zhou,
On Mon, Sep 9, 2024 at 3:22 PM Zhou Wang via <qemu-devel@nongnu.org> wrote:
>
> Hi All,
>
> When I tested mainline qemu(commit 7b87a25f49), it reports smmuv3 event 0x10
> during kernel booting up.
>
> qemu command which I use is as below:
>
> qemu-system-aarch64 -machine virt,kernel_irqchip=on,gic-version=3,iommu=smmuv3 \
> -kernel Image -initrd minifs.cpio.gz \
> -enable-kvm -net none -nographic -m 3G -smp 6 -cpu host \
> -append 'rdinit=init console=ttyAMA0 ealycon=pl0ll,0x90000000 maxcpus=3' \
> -device pcie-root-port,port=0x8,chassis=0,id=pci.0,bus=pcie.0,multifunction=on,addr=0x2 \
> -device pcie-root-port,port=0x9,chassis=1,id=pci.1,bus=pcie.0,addr=0x2.0x1 \
> -device virtio-blk-pci,drive=drive0,id=virtblk0,num-queues=8,packed=on,bus=pci.1 \
> -drive file=/home/boot.img,if=none,id=drive0,format=raw
>
> smmuv3 event 0x10 log:
> [...]
> [ 1.962656] virtio-pci 0000:02:00.0: Adding to iommu group 0
> [ 1.963150] virtio-pci 0000:02:00.0: enabling device (0000 -> 0002)
> [ 1.964707] virtio_blk virtio0: 6/0/0 default/read/poll queues
> [ 1.965759] virtio_blk virtio0: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB)
> [ 1.966934] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
> [ 1.967442] input: gpio-keys as /devices/platform/gpio-keys/input/input0
> [ 1.967478] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
> [ 1.968381] clk: Disabling unused clocks
> [ 1.968677] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
> [ 1.968990] PM: genpd: Disabling unused power domains
> [ 1.969424] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> [ 1.969814] ALSA device list:
> [ 1.970240] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> [ 1.970471] No soundcards found.
> [ 1.970902] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
> [ 1.971600] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
> [ 1.971601] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
> [ 1.971601] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> [ 1.971602] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> [ 1.971606] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
> [ 1.971607] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
> [ 1.974202] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
> [ 1.974634] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> [ 1.975005] Freeing unused kernel memory: 10112K
> [ 1.975062] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> [ 1.975442] Run init as init process
>
> Another information is that if "maxcpus=3" is removed from the kernel command line,
> it will be OK.
>
That's interesting, not sure how that would be related.
> I am not sure if there is a bug about vsmmu. It will be very appreciated if anyone
> know this issue or can take a look at it.
>
Can you please provide logs with adding "-d trace:smmu*" to qemu invocation.
Also if possible, can you please provide which Linux kernel version
you are using, I will see if I can repro.
Thanks,
Mostafa
> Thanks,
> Zhou
>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bug Report] smmuv3 event 0x10 report when running virtio-blk-pci
2024-09-09 14:31 ` Peter Maydell
@ 2024-09-10 1:24 ` Zhou Wang via
2024-09-10 6:42 ` Eric Auger
2024-09-11 9:17 ` Eric Auger
0 siblings, 2 replies; 8+ messages in thread
From: Zhou Wang via @ 2024-09-10 1:24 UTC (permalink / raw)
To: Peter Maydell
Cc: qemu-devel, qemu-arm, Shameer Kolothum, Eric Auger, Mostafa Saleh
On 2024/9/9 22:31, Peter Maydell wrote:
> On Mon, 9 Sept 2024 at 15:22, Zhou Wang via <qemu-devel@nongnu.org> wrote:
>>
>> Hi All,
>>
>> When I tested mainline qemu(commit 7b87a25f49), it reports smmuv3 event 0x10
>> during kernel booting up.
>
> Does it still do this if you either:
> (1) use the v9.1.0 release (commit fd1952d814da)
> (2) use "-machine virt-9.1" instead of "-machine virt"
I tested above two cases, the problem is still there.
>
> ?
>
> My suspicion is that this will have started happening now that
> we expose an SMMU with two-stage translation support to the guest
> in the "virt" machine type (which we do not if you either
> use virt-9.1 or in the v9.1.0 release).
>
> I've cc'd Eric (smmuv3 maintainer) and Mostafa (author of
> the two-stage support).
>
>> qemu command which I use is as below:
>>
>> qemu-system-aarch64 -machine virt,kernel_irqchip=on,gic-version=3,iommu=smmuv3 \
>> -kernel Image -initrd minifs.cpio.gz \
>> -enable-kvm -net none -nographic -m 3G -smp 6 -cpu host \
>> -append 'rdinit=init console=ttyAMA0 ealycon=pl0ll,0x90000000 maxcpus=3' \
>> -device pcie-root-port,port=0x8,chassis=0,id=pci.0,bus=pcie.0,multifunction=on,addr=0x2 \
>> -device pcie-root-port,port=0x9,chassis=1,id=pci.1,bus=pcie.0,addr=0x2.0x1 \
>> -device virtio-blk-pci,drive=drive0,id=virtblk0,num-queues=8,packed=on,bus=pci.1 \
>> -drive file=/home/boot.img,if=none,id=drive0,format=raw
>>
>> smmuv3 event 0x10 log:
>> [...]
>> [ 1.962656] virtio-pci 0000:02:00.0: Adding to iommu group 0
>> [ 1.963150] virtio-pci 0000:02:00.0: enabling device (0000 -> 0002)
>> [ 1.964707] virtio_blk virtio0: 6/0/0 default/read/poll queues
>> [ 1.965759] virtio_blk virtio0: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB)
>> [ 1.966934] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
>> [ 1.967442] input: gpio-keys as /devices/platform/gpio-keys/input/input0
>> [ 1.967478] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
>> [ 1.968381] clk: Disabling unused clocks
>> [ 1.968677] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
>> [ 1.968990] PM: genpd: Disabling unused power domains
>> [ 1.969424] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>> [ 1.969814] ALSA device list:
>> [ 1.970240] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>> [ 1.970471] No soundcards found.
>> [ 1.970902] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
>> [ 1.971600] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
>> [ 1.971601] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
>> [ 1.971601] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>> [ 1.971602] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>> [ 1.971606] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
>> [ 1.971607] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
>> [ 1.974202] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
>> [ 1.974634] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>> [ 1.975005] Freeing unused kernel memory: 10112K
>> [ 1.975062] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>> [ 1.975442] Run init as init process
>>
>> Another information is that if "maxcpus=3" is removed from the kernel command line,
>> it will be OK.
>>
>> I am not sure if there is a bug about vsmmu. It will be very appreciated if anyone
>> know this issue or can take a look at it.
>
> thanks
> -- PMM
> .
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bug Report] smmuv3 event 0x10 report when running virtio-blk-pci
2024-09-09 14:47 ` Mostafa Saleh
@ 2024-09-10 1:51 ` Zhou Wang via
2024-09-10 9:33 ` Mostafa Saleh
0 siblings, 1 reply; 8+ messages in thread
From: Zhou Wang via @ 2024-09-10 1:51 UTC (permalink / raw)
To: Mostafa Saleh; +Cc: qemu-devel, qemu-arm, Shameer Kolothum
[-- Attachment #1: Type: text/plain, Size: 3368 bytes --]
On 2024/9/9 22:47, Mostafa Saleh wrote:
> Hi Zhou,
>
> On Mon, Sep 9, 2024 at 3:22 PM Zhou Wang via <qemu-devel@nongnu.org> wrote:
>>
>> Hi All,
>>
>> When I tested mainline qemu(commit 7b87a25f49), it reports smmuv3 event 0x10
>> during kernel booting up.
>>
>> qemu command which I use is as below:
>>
>> qemu-system-aarch64 -machine virt,kernel_irqchip=on,gic-version=3,iommu=smmuv3 \
>> -kernel Image -initrd minifs.cpio.gz \
>> -enable-kvm -net none -nographic -m 3G -smp 6 -cpu host \
>> -append 'rdinit=init console=ttyAMA0 ealycon=pl0ll,0x90000000 maxcpus=3' \
>> -device pcie-root-port,port=0x8,chassis=0,id=pci.0,bus=pcie.0,multifunction=on,addr=0x2 \
>> -device pcie-root-port,port=0x9,chassis=1,id=pci.1,bus=pcie.0,addr=0x2.0x1 \
>> -device virtio-blk-pci,drive=drive0,id=virtblk0,num-queues=8,packed=on,bus=pci.1 \
>> -drive file=/home/boot.img,if=none,id=drive0,format=raw
>>
>> smmuv3 event 0x10 log:
>> [...]
>> [ 1.962656] virtio-pci 0000:02:00.0: Adding to iommu group 0
>> [ 1.963150] virtio-pci 0000:02:00.0: enabling device (0000 -> 0002)
>> [ 1.964707] virtio_blk virtio0: 6/0/0 default/read/poll queues
>> [ 1.965759] virtio_blk virtio0: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB)
>> [ 1.966934] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
>> [ 1.967442] input: gpio-keys as /devices/platform/gpio-keys/input/input0
>> [ 1.967478] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
>> [ 1.968381] clk: Disabling unused clocks
>> [ 1.968677] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
>> [ 1.968990] PM: genpd: Disabling unused power domains
>> [ 1.969424] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>> [ 1.969814] ALSA device list:
>> [ 1.970240] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>> [ 1.970471] No soundcards found.
>> [ 1.970902] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
>> [ 1.971600] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
>> [ 1.971601] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
>> [ 1.971601] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>> [ 1.971602] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>> [ 1.971606] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
>> [ 1.971607] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
>> [ 1.974202] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
>> [ 1.974634] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>> [ 1.975005] Freeing unused kernel memory: 10112K
>> [ 1.975062] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>> [ 1.975442] Run init as init process
>>
>> Another information is that if "maxcpus=3" is removed from the kernel command line,
>> it will be OK.
>>
>
> That's interesting, not sure how that would be related.
>
>> I am not sure if there is a bug about vsmmu. It will be very appreciated if anyone
>> know this issue or can take a look at it.
>>
>
> Can you please provide logs with adding "-d trace:smmu*" to qemu invocation.
Sure. Please see the attached log(using above qemu commit and command).
>
> Also if possible, can you please provide which Linux kernel version
> you are using, I will see if I can repro.
I just use the latest mainline kernel(commit b831f83e40a2) with defconfig.
Thanks,
Zhou
>
> Thanks,
> Mostafa
>
>> Thanks,
>> Zhou
>>
>>
>>
>
> .
[-- Attachment #2: qemu_boot_log.txt --]
[-- Type: text/plain, Size: 42227 bytes --]
smmu_add_mr smmuv3-iommu-memory-region-0-0
smmu_add_mr smmuv3-iommu-memory-region-0-1
smmu_add_mr smmuv3-iommu-memory-region-16-2
smmu_add_mr smmuv3-iommu-memory-region-17-3
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x480fd450]
[ 0.000000] Linux version 6.11.0-rc6-00183-gb831f83e40a2 (sherlock@kl-dev) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #3 SMP PREEMPT Fri Sep 6 19:33:46 CST 2024
[ 0.000000] KASLR enabled
[ 0.000000] random: crng init done
[ 0.000000] Machine model: linux,dummy-virt
[ 0.000000] efi: UEFI not found.
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xff9f79c0-0xff9f9fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] cma: Reserved 32 MiB at 0x00000000fa800000 on node -1
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] smccc: KVM: hypervisor services detected (0x00000000 0x00000000 0x00000000 0x00000003)
[ 0.000000] percpu: Embedded 23 pages/cpu s54296 r8192 d31720 u94208
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: detected: Address authentication (architected QARMA5 algorithm)
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: Spectre-v4
[ 0.000000] CPU features: detected: Spectre-BHB
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: rdinit=init console=ttyAMA0 ealycon=pl0ll,0x90000000 maxcpus=3
[ 0.000000] Unknown kernel command line parameters "ealycon=pl0ll,0x90000000", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Fallback order for Node 0: 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 786432
[ 0.000000] Policy zone: DMA
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 3MB
[ 0.000000] software IO TLB: area num 8.
[ 0.000000] software IO TLB: SWIOTLB bounce buffer size roundup to 4MB
[ 0.000000] software IO TLB: mapped [mem 0x00000000f9e00000-0x00000000fa200000] (4MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=6.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[ 0.000000] RCU Tasks: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
[ 0.000000] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: 256 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: GICv3 features: 16 PPIs, DirectLPI
[ 0.000000] GICv3: GICD_CTRL.DS=1, SCR_EL3.FIQ=0
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000080a0000
[ 0.000000] ITS [mem 0x08080000-0x0809ffff]
[ 0.000000] ITS@0x0000000008080000: allocated 8192 Devices @43070000 (indirect, esz 8, psz 64K, shr 1)
[ 0.000000] ITS@0x0000000008080000: allocated 8192 Interrupt Collections @43080000 (flat, esz 8, psz 64K, shr 1)
[ 0.000000] GICv3: using LPI property table @0x0000000043090000
[ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000430a0000
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 100.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0x1ffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
[ 0.000000] sched_clock: 57 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
[ 0.000015] arm-pv: using stolen time PV
[ 0.000068] Console: colour dummy device 80x25
[ 0.000083] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
[ 0.000086] pid_max: default: 32768 minimum: 301
[ 0.000099] LSM: initializing lsm=capability
[ 0.000118] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.000122] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.000336] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.000524] rcu: Hierarchical SRCU implementation.
[ 0.000526] rcu: Max phase no-delay instances is 1000.
[ 0.000548] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 0.000576] fsl-mc MSI: its@8080000 domain created
[ 0.000661] EFI services will not be available.
[ 0.000694] smp: Bringing up secondary CPUs ...
[ 0.000794] Detected PIPT I-cache on CPU1
[ 0.000826] GICv3: CPU1: found redistributor 1 region 0:0x00000000080c0000
[ 0.000851] GICv3: CPU1: using allocated LPI pending table @0x00000000430b0000
[ 0.000877] CPU1: Booted secondary processor 0x0000000001 [0x480fd450]
[ 0.001063] Detected PIPT I-cache on CPU2
[ 0.001093] GICv3: CPU2: found redistributor 2 region 0:0x00000000080e0000
[ 0.001116] GICv3: CPU2: using allocated LPI pending table @0x00000000430c0000
[ 0.001141] CPU2: Booted secondary processor 0x0000000002 [0x480fd450]
[ 0.001210] smp: Brought up 1 node, 3 CPUs
[ 0.001212] SMP: Total of 3 processors activated.
[ 0.001213] CPU: All CPU(s) started at EL1
[ 0.001214] CPU features: detected: Branch Target Identification
[ 0.001215] CPU features: detected: ARMv8.4 Translation Table Level
[ 0.001216] CPU features: detected: Instruction cache invalidation not required for I/D coherence
[ 0.001217] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[ 0.001218] CPU features: detected: Common not Private translations
[ 0.001219] CPU features: detected: CRC32 instructions
[ 0.001220] CPU features: detected: Data independent timing control (DIT)
[ 0.001221] CPU features: detected: E0PD
[ 0.001222] CPU features: detected: Enhanced Privileged Access Never
[ 0.001222] CPU features: detected: Enhanced Virtualization Traps
[ 0.001224] CPU features: detected: Generic authentication (architected QARMA5 algorithm)
[ 0.001225] CPU features: detected: RCpc load-acquire (LDAPR)
[ 0.001226] CPU features: detected: LSE atomic instructions
[ 0.001227] CPU features: detected: Privileged Access Never
[ 0.001228] CPU features: detected: RAS Extension Support
[ 0.001228] CPU features: detected: Random Number Generator
[ 0.001229] CPU features: detected: Speculation barrier (SB)
[ 0.001230] CPU features: detected: Stage-2 Force Write-Back
[ 0.001231] CPU features: detected: TLB range maintenance instructions
[ 0.001232] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[ 0.001233] CPU features: detected: Scalable Vector Extension
[ 0.001261] alternatives: applying system-wide alternatives
[ 0.001607] CPU features: detected: Hardware dirty bit management on CPU0-2
[ 0.001610] SVE: maximum available vector length 32 bytes per vector
[ 0.001611] SVE: default vector length 32 bytes per vector
[ 0.001666] Memory: 2821756K/3145728K available (16768K kernel code, 4992K rwdata, 11520K rodata, 10112K init, 728K bss, 286384K reserved, 32768K cma-reserved)
[ 0.001925] devtmpfs: initialized
[ 0.002547] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.002551] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[ 0.002699] 2G module region forced by RANDOMIZE_MODULE_REGION_FULL
[ 0.002700] 0 pages in range for non-PLT usage
[ 0.002700] 513200 pages in range for PLT usage
[ 0.002726] pinctrl core: initialized pinctrl subsystem
[ 0.002929] DMI not present or invalid.
[ 0.003752] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.004029] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.004132] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.004266] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.004274] audit: initializing netlink subsys (disabled)
[ 0.004373] audit: type=2000 audit(0.004:1): state=initialized audit_enabled=0 res=1
[ 0.004517] thermal_sys: Registered thermal governor 'step_wise'
[ 0.004519] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.004527] cpuidle: using governor menu
[ 0.004555] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.004593] ASID allocator initialised with 65536 entries
[ 0.004888] Serial: AMBA PL011 UART driver
[ 0.007050] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 13, base_baud = 0) is a PL011 rev1
[ 0.007074] printk: legacy console [ttyAMA0] enabled
[ 0.073929] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.074480] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.074967] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.075501] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.075988] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.076510] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.077001] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.077523] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.078397] ACPI: Interpreter disabled.
[ 0.079320] iommu: Default domain type: Translated
[ 0.079701] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.080258] SCSI subsystem initialized
[ 0.080630] usbcore: registered new interface driver usbfs
[ 0.081080] usbcore: registered new interface driver hub
[ 0.081501] usbcore: registered new device driver usb
[ 0.082070] pps_core: LinuxPPS API ver. 1 registered
[ 0.082452] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.083164] PTP clock support registered
[ 0.083513] EDAC MC: Ver: 3.0.0
[ 0.083825] scmi_core: SCMI protocol bus registered
[ 0.084460] FPGA manager framework
[ 0.084745] Advanced Linux Sound Architecture Driver Initialized.
[ 0.085376] vgaarb: loaded
[ 0.085678] clocksource: Switched to clocksource arch_sys_counter
[ 0.086187] VFS: Disk quotas dquot_6.6.0
[ 0.086495] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.087068] pnp: PnP ACPI: disabled
[ 0.088691] NET: Registered PF_INET protocol family
[ 0.089172] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.090274] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.090983] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.091577] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.092273] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 0.093251] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.093846] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.094414] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.095032] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.095575] RPC: Registered named UNIX socket transport module.
[ 0.096036] RPC: Registered udp transport module.
[ 0.096400] RPC: Registered tcp transport module.
[ 0.096763] RPC: Registered tcp-with-tls transport module.
[ 0.097184] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.097684] PCI: CLS 0 bytes, default 64
[ 0.098028] Unpacking initramfs...
[ 0.101994] Initialise system trusted keyrings
[ 0.102395] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[ 0.103016] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.103600] NFS: Registering the id_resolver key type
[ 0.103997] Key type id_resolver registered
[ 0.104319] Key type id_legacy registered
[ 0.104631] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.105143] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.105756] 9p: Installing v9fs 9p2000 file system support
[ 0.117312] Key type asymmetric registered
[ 0.117637] Asymmetric key parser 'x509' registered
[ 0.118048] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 0.118617] io scheduler mq-deadline registered
[ 0.118973] io scheduler kyber registered
[ 0.119298] io scheduler bfq registered
[ 0.121550] pl061_gpio 9030000.pl061: PL061 GPIO chip registered
[ 0.122441] pci-host-generic 4010000000.pcie: host bridge /pcie@10000000 ranges:
[ 0.123037] pci-host-generic 4010000000.pcie: IO 0x003eff0000..0x003effffff -> 0x0000000000
[ 0.123721] pci-host-generic 4010000000.pcie: MEM 0x0010000000..0x003efeffff -> 0x0010000000
[ 0.124393] pci-host-generic 4010000000.pcie: MEM 0x8000000000..0xffffffffff -> 0x8000000000
[ 0.125064] pci-host-generic 4010000000.pcie: Memory resource size exceeds max for 32 bits
[ 0.125709] pci-host-generic 4010000000.pcie: ECAM at [mem 0x4010000000-0x401fffffff] for [bus 00-ff]
[ 0.126428] pci-host-generic 4010000000.pcie: PCI host bridge to bus 0000:00
[ 0.126957] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.127377] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.127841] pci_bus 0000:00: root bus resource [mem 0x10000000-0x3efeffff]
[ 0.128357] pci_bus 0000:00: root bus resource [mem 0x8000000000-0xffffffffff]
[ 0.128917] pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000 conventional PCI endpoint
[ 0.129710] pci 0000:00:02.0: [1b36:000c] type 01 class 0x060400 PCIe Root Port
[ 0.130606] pci 0000:00:02.0: BAR 0 [mem 0x00000000-0x00000fff]
[ 0.131100] pci 0000:00:02.0: PCI bridge to [bus 00]
[ 0.132106] pci 0000:00:02.1: [1b36:000c] type 01 class 0x060400 PCIe Root Port
[ 0.132914] pci 0000:00:02.1: BAR 0 [mem 0x00000000-0x00000fff]
[ 0.133391] pci 0000:00:02.1: PCI bridge to [bus 00]
[ 0.134554] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.135413] pci 0000:00:02.1: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.136423] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.137260] pci 0000:02:00.0: [1af4:1042] type 00 class 0x010000 PCIe Endpoint
[ 0.137879] pci 0000:02:00.0: BAR 1 [mem 0x00000000-0x00000fff]
[ 0.138376] pci 0000:02:00.0: BAR 4 [mem 0x00000000-0x00003fff 64bit pref]
[ 0.139250] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 0.139874] pci 0000:00:02.0: bridge window [io 0x1000-0x0fff] to [bus 01] add_size 1000
[ 0.140499] pci 0000:00:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 01] add_size 200000 add_align 100000
[ 0.141607] pci 0000:00:02.0: bridge window [mem 0x00100000-0x000fffff] to [bus 01] add_size 200000 add_align 100000
[ 0.142445] pci 0000:00:02.1: bridge window [io 0x1000-0x0fff] to [bus 02] add_size 1000
[ 0.143069] pci 0000:00:02.1: bridge window [mem 0x00100000-0x001fffff 64bit pref] to [bus 02] add_size 100000 add_align 100000
[ 0.143934] pci 0000:00:02.1: bridge window [mem 0x00100000-0x001fffff] to [bus 02] add_size 100000 add_align 100000
[ 0.144743] pci 0000:00:02.0: bridge window [mem 0x10000000-0x101fffff]: assigned
[ 0.145316] pci 0000:00:02.0: bridge window [mem 0x8000000000-0x80001fffff 64bit pref]: assigned
[ 0.146018] pci 0000:00:02.1: bridge window [mem 0x10200000-0x103fffff]: assigned
[ 0.146593] pci 0000:00:02.1: bridge window [mem 0x8000200000-0x80003fffff 64bit pref]: assigned
[ 0.147261] pci 0000:00:02.0: BAR 0 [mem 0x10400000-0x10400fff]: assigned
[ 0.147780] pci 0000:00:02.0: bridge window [io 0x1000-0x1fff]: assigned
[ 0.148289] pci 0000:00:02.1: BAR 0 [mem 0x10401000-0x10401fff]: assigned
[ 0.148803] pci 0000:00:02.1: bridge window [io 0x2000-0x2fff]: assigned
[ 0.149315] pci 0000:00:02.0: PCI bridge to [bus 01]
[ 0.149698] pci 0000:00:02.0: bridge window [io 0x1000-0x1fff]
[ 0.150426] pci 0000:00:02.0: bridge window [mem 0x10000000-0x101fffff]
[ 0.151093] pci 0000:00:02.0: bridge window [mem 0x8000000000-0x80001fffff 64bit pref]
[ 0.152022] pci 0000:02:00.0: BAR 4 [mem 0x8000200000-0x8000203fff 64bit pref]: assigned
[ 0.152650] pci 0000:02:00.0: BAR 1 [mem 0x10200000-0x10200fff]: assigned
[ 0.153169] pci 0000:00:02.1: PCI bridge to [bus 02]
[ 0.153549] pci 0000:00:02.1: bridge window [io 0x2000-0x2fff]
[ 0.154296] pci 0000:00:02.1: bridge window [mem 0x10200000-0x103fffff]
[ 0.154982] pci 0000:00:02.1: bridge window [mem 0x8000200000-0x80003fffff 64bit pref]
[ 0.155991] pci_bus 0000:00: resource 4 [io 0x0000-0xffff]
[ 0.156427] pci_bus 0000:00: resource 5 [mem 0x10000000-0x3efeffff]
[ 0.156915] pci_bus 0000:00: resource 6 [mem 0x8000000000-0xffffffffff]
[ 0.157426] pci_bus 0000:01: resource 0 [io 0x1000-0x1fff]
[ 0.157877] pci_bus 0000:01: resource 1 [mem 0x10000000-0x101fffff]
[ 0.158361] pci_bus 0000:01: resource 2 [mem 0x8000000000-0x80001fffff 64bit pref]
[ 0.158944] pci_bus 0000:02: resource 0 [io 0x2000-0x2fff]
[ 0.159379] pci_bus 0000:02: resource 1 [mem 0x10200000-0x103fffff]
[ 0.159861] pci_bus 0000:02: resource 2 [mem 0x8000200000-0x80003fffff 64bit pref]
[ 0.167240] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.168470] msm_serial: driver initialized
[ 0.168875] SuperH (H)SCI(F) driver initialized
[ 0.169257] STM32 USART driver initialized
smmuv3_read_mmio addr: 0x0 val:0xd44101a size: 0x4(0)
smmuv3_read_mmio addr: 0x4 val:0x2730010 size: 0x4(0)
smmuv3_read_mmio addr: 0xc val:0x1404 size: 0x4(0)
smmuv3_read_mmio addr: 0x14 val:0x74 size: 0x4(0)
smmuv3_read_mmio addr: 0x18 val:0x0 size: 0x4(0)
[ 0.170051] arm-smmu-v3 9050000.smmuv3: ias 44-bit, oas 44-bit (features 0x00008305)
[ 0.171084] arm-smmu-v3 9050000.smmuv3: allocated 65536 entries for cmdq
[ 0.171812] arm-smmu-v3 9050000.smmuv3: allocated 32768 entries for evtq
smmuv3_read_mmio addr: 0x20 val:0x0 size: 0x4(0)
smmuv3_write_mmio addr: 0x20 val:0x0 size: 0x4(0)
smmuv3_read_mmio addr: 0x24 val:0x0 size: 0x4(0)
smmuv3_write_mmio addr: 0x28 val:0xd75 size: 0x4(0)
smmuv3_write_mmio addr: 0x2c val:0x6 size: 0x4(0)
smmuv3_write_mmio addr: 0x80 val:0x40000000442b6000 size: 0x8(0)
smmuv3_write_mmio addr: 0x88 val:0x10210 size: 0x4(0)
smmuv3_write_mmio addr: 0x90 val:0x40000000faa00010 size: 0x8(0)
smmuv3_write_mmio addr: 0x98 val:0x0 size: 0x4(0)
smmuv3_write_mmio addr: 0x9c val:0x0 size: 0x4(0)
smmuv3_cmdq_consume_out prod:0, cons:0, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x20 val:0x8 size: 0x4(0)
smmuv3_read_mmio addr: 0x24 val:0x8 size: 0x4(0)
smmuv3_cmdq_consume prod=2 cons=0 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_CFGI_STE_RANGE
smmuv3_cmdq_cfgi_ste_range start=0x0 - end=0xffffffff
smmuv3_cmdq_consume prod=2 cons=1 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:2, cons:2, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0x2 size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0x2 size: 0x4(0)
smmuv3_cmdq_consume prod=4 cons=2 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_TLBI_NSNH_ALL
smmuv3_cmdq_tlbi_nsnh
smmu_iotlb_inv_all IOTLB invalidate all
smmuv3_cmdq_consume prod=4 cons=3 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:4, cons:4, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0x4 size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0x4 size: 0x4(0)
smmuv3_write_mmio addr: 0xa0 val:0x40000000fab0000f size: 0x8(0)
smmuv3_write_mmio addr: 0xa8 val:0x0 size: 0x4(0)
smmuv3_write_mmio addr: 0xac val:0x0 size: 0x4(0)
smmuv3_cmdq_consume_out prod:4, cons:4, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x20 val:0xc size: 0x4(0)
smmuv3_read_mmio addr: 0x24 val:0xc size: 0x4(0)
smmuv3_write_mmio addr: 0x50 val:0x0 size: 0x4(0)
smmuv3_read_mmio addr: 0x54 val:0x0 size: 0x4(0)
smmuv3_write_mmio addr: 0x68 val:0x0 size: 0x8(0)
smmuv3_write_mmio addr: 0xb0 val:0x0 size: 0x8(0)
smmuv3_write_mmio addr: 0x50 val:0x5 size: 0x4(0)
smmuv3_read_mmio addr: 0x54 val:0x5 size: 0x4(0)
smmuv3_cmdq_consume_out prod:4, cons:4, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x20 val:0xd size: 0x4(0)
smmuv3_read_mmio addr: 0x24 val:0xd size: 0x4(0)
[ 0.174309] loop: module loaded
[ 0.174811] megasas: 07.727.03.00-rc1
[ 0.175398] physmap-flash 0.flash: physmap platform flash device: [mem 0x00000000-0x03ffffff]
[ 0.177146] 0.flash: Found 2 x16 devices at 0x0 in 32-bit bank. Manufacturer ID 0x000000 Chip ID 0x000000
[ 0.177935] Intel/Sharp Extended Query Table at 0x0031
[ 0.179225] Using buffer write method
[ 0.179538] physmap-flash 0.flash: physmap platform flash device: [mem 0x04000000-0x07ffffff]
[ 0.181208] 0.flash: Found 2 x16 devices at 0x0 in 32-bit bank. Manufacturer ID 0x000000 Chip ID 0x000000
[ 0.181997] Intel/Sharp Extended Query Table at 0x0031
[ 0.183229] Using buffer write method
[ 0.183539] Concatenating MTD devices:
[ 0.183846] (0): "0.flash"
[ 0.184068] (1): "0.flash"
[ 0.184291] into device "0.flash"
[ 1.910661] Freeing initrd memory: 173860K
[ 1.912704] tun: Universal TUN/TAP device driver, 1.6
[ 1.913343] thunder_xcv, ver 1.0
[ 1.913625] thunder_bgx, ver 1.0
[ 1.913922] nicpf, ver 1.0
[ 1.914404] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[ 1.914988] hns3: Copyright (c) 2017 Huawei Corporation.
[ 1.915448] hclge is initializing
[ 1.915727] e1000: Intel(R) PRO/1000 Network Driver
[ 1.916127] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 1.916593] e1000e: Intel(R) PRO/1000 Network Driver
[ 1.916985] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 1.917461] igb: Intel(R) Gigabit Ethernet Network Driver
[ 1.917932] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 1.918388] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 1.918888] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 1.919468] sky2: driver version 1.30
[ 1.920032] VFIO - User Level meta-driver version: 0.3
[ 1.921171] usbcore: registered new interface driver usb-storage
[ 1.922523] rtc-pl031 9010000.pl031: registered as rtc0
[ 1.922969] rtc-pl031 9010000.pl031: setting system clock to 1970-01-01T22:05:29 UTC (79529)
[ 1.923850] i2c_dev: i2c /dev entries driver
[ 1.926210] sdhci: Secure Digital Host Controller Interface driver
[ 1.926746] sdhci: Copyright(c) Pierre Ossman
[ 1.927271] Synopsys Designware Multimedia Card Interface Driver
[ 1.927954] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.928872] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.930013] usbcore: registered new interface driver usbhid
[ 1.930471] usbhid: USB HID core driver
[ 1.947189] hw perfevents: enabled with armv8_pmuv3 PMU driver, 9 counters available
[ 1.949151] NET: Registered PF_PACKET protocol family
[ 1.949591] 9pnet: Installing 9P2000 support
[ 1.949976] Key type dns_resolver registered
[ 1.952044] registered taskstats version 1
[ 1.952422] Loading compiled-in X.509 certificates
[ 1.954261] Demotion targets for Node 0: null
[ 1.955621] pcieport 0000:00:02.0: Adding to iommu group 0
smmuv3_cmdq_consume prod=6 cons=4 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_TLBI_NH_ASID
smmuv3_cmdq_tlbi_nh_asid asid=1
smmu_iotlb_inv_asid_vmid IOTLB invalidate asid=1 vmid=-1
smmuv3_cmdq_consume prod=6 cons=5 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:6, cons:6, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0x6 size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0x6 size: 0x4(0)
smmuv3_cmdq_consume prod=8 cons=6 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_CFGI_CD
smmuv3_cmdq_cfgi_cd sid=0x10
smmuv3_config_cache_inv Config cache INV for sid=0x10
smmuv3_cmdq_consume prod=8 cons=7 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:8, cons:8, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0x8 size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0x8 size: 0x4(0)
smmuv3_cmdq_consume prod=10 cons=8 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_CFGI_CD
smmuv3_cmdq_cfgi_cd sid=0x10
smmuv3_config_cache_inv Config cache INV for sid=0x10
smmuv3_cmdq_consume prod=10 cons=9 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:10, cons:10, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0xa size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0xa size: 0x4(0)
smmuv3_cmdq_consume prod=12 cons=10 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_CFGI_STE
smmuv3_cmdq_cfgi_ste streamid= 0x10
smmuv3_config_cache_inv Config cache INV for sid=0x10
smmuv3_cmdq_consume prod=12 cons=11 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:12, cons:12, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0xc size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0xc size: 0x4(0)
smmuv3_cmdq_consume prod=14 cons=12 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_CFGI_STE
smmuv3_cmdq_cfgi_ste streamid= 0x10
smmuv3_config_cache_inv Config cache INV for sid=0x10
smmuv3_cmdq_consume prod=14 cons=13 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:14, cons:14, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0xe size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0xe size: 0x4(0)
smmuv3_cmdq_consume prod=15 cons=14 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_PREFETCH_CONFIG
smmuv3_cmdq_consume_out prod:15, cons:15, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0xf size: 0x4(0)
[ 1.956372] pcieport 0000:00:02.0: enabling device (0000 -> 0003)
[ 1.957892] pcieport 0000:00:02.0: PME: Signaling with IRQ 21
[ 1.958508] pcieport 0000:00:02.0: AER: enabled with IRQ 21
[ 1.959128] pcieport 0000:00:02.1: Adding to iommu group 0
smmuv3_cmdq_consume prod=17 cons=15 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_TLBI_NH_ASID
smmuv3_cmdq_tlbi_nh_asid asid=1
smmu_iotlb_inv_asid_vmid IOTLB invalidate asid=1 vmid=-1
smmuv3_cmdq_consume prod=17 cons=16 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:17, cons:17, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0x11 size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0x11 size: 0x4(0)
smmuv3_cmdq_consume prod=19 cons=17 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_CFGI_CD
smmuv3_cmdq_cfgi_cd sid=0x11
smmuv3_config_cache_inv Config cache INV for sid=0x11
smmuv3_cmdq_consume prod=19 cons=18 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:19, cons:19, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0x13 size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0x13 size: 0x4(0)
smmuv3_cmdq_consume prod=21 cons=19 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_CFGI_CD
smmuv3_cmdq_cfgi_cd sid=0x11
smmuv3_config_cache_inv Config cache INV for sid=0x11
smmuv3_cmdq_consume prod=21 cons=20 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:21, cons:21, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0x15 size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0x15 size: 0x4(0)
smmuv3_cmdq_consume prod=23 cons=21 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_CFGI_STE
smmuv3_cmdq_cfgi_ste streamid= 0x11
smmuv3_config_cache_inv Config cache INV for sid=0x11
smmuv3_cmdq_consume prod=23 cons=22 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:23, cons:23, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0x17 size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0x17 size: 0x4(0)
smmuv3_cmdq_consume prod=25 cons=23 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_CFGI_STE
smmuv3_cmdq_cfgi_ste streamid= 0x11
smmuv3_config_cache_inv Config cache INV for sid=0x11
smmuv3_cmdq_consume prod=25 cons=24 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:25, cons:25, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0x19 size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0x19 size: 0x4(0)
smmuv3_cmdq_consume prod=26 cons=25 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_PREFETCH_CONFIG
smmuv3_cmdq_consume_out prod:26, cons:26, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0x1a size: 0x4(0)
[ 1.959777] pcieport 0000:00:02.1: enabling device (0000 -> 0003)
[ 1.961174] pcieport 0000:00:02.1: PME: Signaling with IRQ 22
[ 1.961914] pcieport 0000:00:02.1: AER: enabled with IRQ 22
[ 1.962667] virtio-pci 0000:02:00.0: Adding to iommu group 0
smmuv3_cmdq_consume prod=28 cons=26 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_TLBI_NH_ASID
smmuv3_cmdq_tlbi_nh_asid asid=1
smmu_iotlb_inv_asid_vmid IOTLB invalidate asid=1 vmid=-1
smmuv3_cmdq_consume prod=28 cons=27 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:28, cons:28, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0x1c size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0x1c size: 0x4(0)
smmuv3_cmdq_consume prod=30 cons=28 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_CFGI_CD
smmuv3_cmdq_cfgi_cd sid=0x200
smmuv3_config_cache_inv Config cache INV for sid=0x200
smmuv3_cmdq_consume prod=30 cons=29 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:30, cons:30, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0x1e size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0x1e size: 0x4(0)
smmuv3_cmdq_consume prod=32 cons=30 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_CFGI_CD
smmuv3_cmdq_cfgi_cd sid=0x200
smmuv3_config_cache_inv Config cache INV for sid=0x200
smmuv3_cmdq_consume prod=32 cons=31 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:32, cons:32, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0x20 size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0x20 size: 0x4(0)
smmuv3_cmdq_consume prod=34 cons=32 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_CFGI_STE
smmuv3_cmdq_cfgi_ste streamid= 0x200
smmuv3_config_cache_inv Config cache INV for sid=0x200
smmuv3_cmdq_consume prod=34 cons=33 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:34, cons:34, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0x22 size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0x22 size: 0x4(0)
smmuv3_cmdq_consume prod=36 cons=34 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_CFGI_STE
smmuv3_cmdq_cfgi_ste streamid= 0x200
smmuv3_config_cache_inv Config cache INV for sid=0x200
smmuv3_cmdq_consume prod=36 cons=35 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC
smmuv3_cmdq_consume_out prod:36, cons:36, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0x24 size: 0x4(0)
smmuv3_read_mmio addr: 0x9c val:0x24 size: 0x4(0)
smmuv3_cmdq_consume prod=37 cons=36 prod.wrap=0 cons.wrap=0
smmuv3_cmdq_opcode <--- SMMU_CMD_PREFETCH_CONFIG
smmuv3_cmdq_consume_out prod:37, cons:37, prod_wrap:0, cons_wrap:0
smmuv3_write_mmio addr: 0x98 val:0x25 size: 0x4(0)
[ 1.963359] virtio-pci 0000:02:00.0: enabling device (0000 -> 0002)
[ 1.964962] virtio_blk virtio0: 6/0/0 default/read/poll queues
[ 1.966077] virtio_blk virtio0: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB)
smmuv3_config_cache_miss Config cache MISS for sid=0x200 (hits=0, misses=1, hit rate=0)
smmuv3_find_ste sid=0x200 features:0x1, sid_split:0x8
smmuv3_find_ste_2lvl strtab_base:0x40000000442b6000 l1ptr:0x442b6010 l1_off:0x2, l2ptr:0xfa984000 l2_off:0x0 max_l2_ste:511
smmuv3_get_ste STE addr: 0xfa984000
smmuv3_get_cd CD addr: 0x43bb7000
smmuv3_decode_cd oas=44
smmuv3_decode_cd_tt TT[0]:tsz:16 ttb:0x46c0f000 granule_sz:12 had:0
smmu_iotlb_lookup_miss IOTLB cache MISS asid=1 vmid=-1 addr=0xfffff040 hit=0 miss=1 hit rate=0
smmu_get_pte baseaddr=0x46c0f000 index=0x0, pteaddr=0x46c0f000, pte=0x462ce003
smmu_ptw_level stage=1 level=0 iova=0xfffff040 subpage_sz=0x8000000000 baseaddr=0x46c0f000 offset=0 => pte=0x462ce003
smmu_get_pte baseaddr=0x462ce000 index=0x3, pteaddr=0x462ce018, pte=0x462cf003
smmu_ptw_level stage=1 level=1 iova=0xfffff040 subpage_sz=0x40000000 baseaddr=0x462ce000 offset=3 => pte=0x462cf003
smmu_get_pte baseaddr=0x462cf000 index=0x1ff, pteaddr=0x462cfff8, pte=0x46f60003
smmu_ptw_level stage=1 level=2 iova=0xfffff040 subpage_sz=0x200000 baseaddr=0x462cf000 offset=511 => pte=0x46f60003
smmu_get_pte baseaddr=0x46f60000 index=0x1ff, pteaddr=0x46f60ff8, pte=0x60000008090e4b
smmu_ptw_level stage=1 level=3 iova=0xfffff040 subpage_sz=0x1000 baseaddr=0x46f60000 offset=511 => pte=0x60000008090e4b
smmu_ptw_page_pte stage=1 level=3 iova=0xfffff040 base@=0x46f60000 pte@=0x46f60ff8 pte=0x60000008090e4b page address = 0x8090000
smmu_iotlb_insert IOTLB ++ asid=1 vmid=-1 addr=0xfffff000 tg=1 level=3
smmuv3_translate_success smmuv3-iommu-memory-region-0-0 sid=0x200 iova=0xfffff040 translated=0x8090040 perm=0x3 stage=1
smmuv3_config_cache_hit Config cache HIT for sid=0x200 (hits=1, misses=1, hit rate=50)
smmu_iotlb_lookup_hit IOTLB cache HIT asid=1 vmid=-1 addr=0xfffff040 hit=1 miss=1 hit rate=50
smmuv3_translate_success smmuv3-iommu-memory-region-0-0 sid=0x200 iova=0xfffff040 translated=0x8090040 perm=0x3 stage=1
smmuv3_config_cache_hit Config cache HIT for sid=0x200 (hits=2, misses=1, hit rate=66)
smmu_iotlb_lookup_hit IOTLB cache HIT asid=1 vmid=-1 addr=0xfffff040 hit=2 miss=1 hit rate=66
smmuv3_translate_success smmuv3-iommu-memory-region-0-0 sid=0x200 iova=0xfffff040 translated=0x8090040 perm=0x3 stage=1
smmuv3_config_cache_hit Config cache HIT for sid=0x200 (hits=3, misses=1, hit rate=75)
smmu_iotlb_lookup_miss IOTLB cache MISS asid=1 vmid=-1 addr=0x0 hit=2 miss=2 hit rate=50
smmu_get_pte baseaddr=0x46c0f000 index=0x0, pteaddr=0x46c0f000, pte=0x462ce003
smmu_ptw_level stage=1 level=0 iova=0x0 subpage_sz=0x8000000000 baseaddr=0x46c0f000 offset=0 => pte=0x462ce003
smmu_get_pte baseaddr=0x462ce000 index=0x0, pteaddr=0x462ce000, pte=0x0
smmu_ptw_level stage=1 level=1 iova=0x0 subpage_sz=0x40000000 baseaddr=0x462ce000 offset=0 => pte=0x0
smmu_ptw_invalid_pte stage=1 level=1 base@=0x462ce000 pte@=0x462ce000 offset=0 pte=0x0
smmuv3_record_event SMMU_EVT_F_TRANSLATION sid=0x200
smmuv3_trigger_irq irq=0
smmuv3_config_cache_hit Config cache HIT for sid=0x200 (hits=4, misses=1, hit rate=80)
smmu_iotlb_lookup_miss IOTLB cache MISS asid=1 vmid=-1 addr=0x0 hit=2 miss=3 hit rate=40
smmu_get_pte baseaddr=0x46c0f000 index=0x0, pteaddr=0x46c0f000, pte=0x462ce003
smmu_ptw_level stage=1 level=0 iova=0x0 subpage_sz=0x8000000000 baseaddr=0x46c0f000 offset=0 => pte=0x462ce003
smmu_get_pte baseaddr=0x462ce000 index=0x0, pteaddr=0x462ce000, pte=0x0
smmu_ptw_level stage=1 level=1 iova=0x0 subpage_sz=0x40000000 baseaddr=0x462ce000 offset=0 => pte=0x0
smmu_ptw_invalid_pte stage=1 level=1 base@=0x462ce000 pte@=0x462ce000 offset=0 pte=0x0
smmuv3_record_event SMMU_EVT_F_TRANSLATION sid=0x200
smmuv3_trigger_irq irq=0
smmuv3_config_cache_hit Config cache HIT for sid=0x200 (hits=5, misses=1, hit rate=83)
smmu_iotlb_lookup_miss IOTLB cache MISS asid=1 vmid=-1 addr=0x0 hit=2 miss=4 hit rate=33
smmu_get_pte baseaddr=0x46c0f000 index=0x0, pteaddr=0x46c0f000, pte=0x462ce003
smmu_ptw_level stage=1 level=0 iova=0x0 subpage_sz=0x8000000000 baseaddr=0x46c0f000 offset=0 => pte=0x462ce003
smmu_get_pte baseaddr=0x462ce000 index=0x0, pteaddr=0x462ce000, pte=0x0
smmu_ptw_level stage=1 level=1 iova=0x0 subpage_sz=0x40000000 baseaddr=0x462ce000 offset=0 => pte=0x0
smmu_ptw_invalid_pte stage=1 level=1 base@=0x462ce000 pte@=0x462ce000 offset=0 pte=0x0
smmuv3_record_event SMMU_EVT_F_TRANSLATION sid=0x200
smmuv3_trigger_irq irq=0
smmuv3_config_cache_hit Config cache HIT for sid=0x200 (hits=6, misses=1, hit rate=85)
smmu_iotlb_lookup_hit IOTLB cache HIT asid=1 vmid=-1 addr=0xfffff040 hit=3 miss=4 hit rate=42
smmuv3_translate_success smmuv3-iommu-memory-region-0-0 sid=0x200 iova=0xfffff040 translated=0x8090040 perm=0x3 stage=1
smmuv3_config_cache_hit Config cache HIT for sid=0x200 (hits=7, misses=1, hit rate=87)
smmu_iotlb_lookup_hit IOTLB cache HIT asid=1 vmid=-1 addr=0xfffff040 hit=4 miss=4 hit rate=50
smmuv3_translate_success smmuv3-iommu-memory-region-0-0 sid=0x200 iova=0xfffff040 translated=0x8090040 perm=0x3 stage=1
smmuv3_config_cache_hit Config cache HIT for sid=0x200 (hits=8, misses=1, hit rate=88)
smmu_iotlb_lookup_hit IOTLB cache HIT asid=1 vmid=-1 addr=0xfffff040 hit=5 miss=4 hit rate=55
smmuv3_translate_success smmuv3-iommu-memory-region-0-0 sid=0x200 iova=0xfffff040 translated=0x8090040 perm=0x3 stage=1
smmuv3_config_cache_hit Config cache HIT for sid=0x200 (hits=9, misses=1, hit rate=90)
smmu_iotlb_lookup_hit IOTLB cache HIT asid=1 vmid=-1 addr=0xfffff040 hit=6 miss=4 hit rate=60
smmuv3_translate_success smmuv3-iommu-memory-region-0-0 sid=0x200 iova=0xfffff040 translated=0x8090040 perm=0x3 stage=1
smmuv3_config_cache_hit Config cache HIT for sid=0x200 (hits=10, misses=1, hit rate=90)
smmu_iotlb_lookup_hit IOTLB cache HIT asid=1 vmid=-1 addr=0xfffff040 hit=7 miss=4 hit rate=63
smmuv3_translate_success smmuv3-iommu-memory-region-0-0 sid=0x200 iova=0xfffff040 translated=0x8090040 perm=0x3 stage=1
smmuv3_read_mmio addr: 0xa8 val:0x3 size: 0x4(0)
smmuv3_write_mmio addr: 0xac val:0x1 size: 0x4(0)
smmuv3_config_cache_hit Config cache HIT for sid=0x200 (hits=11, misses=1, hit rate=91)
smmu_iotlb_lookup_hit IOTLB cache HIT asid=1 vmid=-1 addr=0xfffff040 hit=8 miss=4 hit rate=66
smmuv3_translate_success smmuv3-iommu-memory-region-0-0 sid=0x200 iova=0xfffff040 translated=0x8090040 perm=0x3 stage=1
[ 1.967654] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
[ 1.968191] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 1.968376] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
[ 1.969189] clk: Disabling unused clocks
[ 1.969405] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
[ 1.969758] PM: genpd: Disabling unused power domains
[ 1.969761] ALSA device list:
[ 1.970221] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
[ 1.970644] No soundcards found.
[ 1.970894] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
smmuv3_write_mmio addr: 0xac val:0x2 size: 0x4(0)
[ 1.972125] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
[ 1.972591] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
[ 1.973054] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
[ 1.973516] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
[ 1.974004] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
smmuv3_write_mmio addr: 0xac val:0x3 size: 0x4(0)
[ 1.974487] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
[ 1.974962] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
[ 1.975350] Freeing unused kernel memory: 10112K
[ 1.975430] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
[ 1.975838] Run init as init process
[ 1.976279] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
[ 1.977043] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
smmuv3_read_mmio addr: 0xa8 val:0x3 size: 0x4(0)
smmuv3_read_mmio addr: 0xa8 val:0x3 size: 0x4(0)
chown: unknown user/group root:tty
net.ipv4.conf.all.rp_filter = 1
depmod: ERROR: could not open directory /lib/modules/6.11.0-rc6-00183-gb831f83e40a2: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
modprobe: FATAL: Module bridge not found in directory /lib/modules/6.11.0-rc6-00183-gb831f83e40a2
modprobe: FATAL: Module ixgbe not found in directory /lib/modules/6.11.0-rc6-00183-gb831f83e40a2
modprobe: FATAL: Module ixgbevf not found in directory /lib/modules/6.11.0-rc6-00183-gb831f83e40a2
modprobe: FATAL: Module raid0 not found in directory /lib/modules/6.11.0-rc6-00183-gb831f83e40a2
modprobe: FATAL: Module raid1 not found in directory /lib/modules/6.11.0-rc6-00183-gb831f83e40a2
modprobe: FATAL: Module raid10 not found in directory /lib/modules/6.11.0-rc6-00183-gb831f83e40a2
modprobe: FATAL: Module ras_decode_drv not found in directory /lib/modules/6.11.0-rc6-00183-gb831f83e40a2
modprobe: FATAL: Module einj not found in directory /lib/modules/6.11.0-rc6-00183-gb831f83e40a2
root@localhost:/#
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bug Report] smmuv3 event 0x10 report when running virtio-blk-pci
2024-09-10 1:24 ` Zhou Wang via
@ 2024-09-10 6:42 ` Eric Auger
2024-09-11 9:17 ` Eric Auger
1 sibling, 0 replies; 8+ messages in thread
From: Eric Auger @ 2024-09-10 6:42 UTC (permalink / raw)
To: Zhou Wang, Peter Maydell
Cc: qemu-devel, qemu-arm, Shameer Kolothum, Mostafa Saleh
Hi Zhou,
On 9/10/24 03:24, Zhou Wang via wrote:
> On 2024/9/9 22:31, Peter Maydell wrote:
>> On Mon, 9 Sept 2024 at 15:22, Zhou Wang via <qemu-devel@nongnu.org> wrote:
>>> Hi All,
>>>
>>> When I tested mainline qemu(commit 7b87a25f49), it reports smmuv3 event 0x10
>>> during kernel booting up.
>> Does it still do this if you either:
>> (1) use the v9.1.0 release (commit fd1952d814da)
>> (2) use "-machine virt-9.1" instead of "-machine virt"
> I tested above two cases, the problem is still there.
Thank you for reporting. I am able to reproduce and effectively the
maxcpus kernel option is triggering the issue. It works without. I will
come back to you asap.
Eric
>
>> ?
>>
>> My suspicion is that this will have started happening now that
>> we expose an SMMU with two-stage translation support to the guest
>> in the "virt" machine type (which we do not if you either
>> use virt-9.1 or in the v9.1.0 release).
>>
>> I've cc'd Eric (smmuv3 maintainer) and Mostafa (author of
>> the two-stage support).
>>
>>> qemu command which I use is as below:
>>>
>>> qemu-system-aarch64 -machine virt,kernel_irqchip=on,gic-version=3,iommu=smmuv3 \
>>> -kernel Image -initrd minifs.cpio.gz \
>>> -enable-kvm -net none -nographic -m 3G -smp 6 -cpu host \
>>> -append 'rdinit=init console=ttyAMA0 ealycon=pl0ll,0x90000000 maxcpus=3' \
>>> -device pcie-root-port,port=0x8,chassis=0,id=pci.0,bus=pcie.0,multifunction=on,addr=0x2 \
>>> -device pcie-root-port,port=0x9,chassis=1,id=pci.1,bus=pcie.0,addr=0x2.0x1 \
>>> -device virtio-blk-pci,drive=drive0,id=virtblk0,num-queues=8,packed=on,bus=pci.1 \
>>> -drive file=/home/boot.img,if=none,id=drive0,format=raw
>>>
>>> smmuv3 event 0x10 log:
>>> [...]
>>> [ 1.962656] virtio-pci 0000:02:00.0: Adding to iommu group 0
>>> [ 1.963150] virtio-pci 0000:02:00.0: enabling device (0000 -> 0002)
>>> [ 1.964707] virtio_blk virtio0: 6/0/0 default/read/poll queues
>>> [ 1.965759] virtio_blk virtio0: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB)
>>> [ 1.966934] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
>>> [ 1.967442] input: gpio-keys as /devices/platform/gpio-keys/input/input0
>>> [ 1.967478] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
>>> [ 1.968381] clk: Disabling unused clocks
>>> [ 1.968677] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
>>> [ 1.968990] PM: genpd: Disabling unused power domains
>>> [ 1.969424] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>>> [ 1.969814] ALSA device list:
>>> [ 1.970240] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>>> [ 1.970471] No soundcards found.
>>> [ 1.970902] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
>>> [ 1.971600] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
>>> [ 1.971601] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
>>> [ 1.971601] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>>> [ 1.971602] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>>> [ 1.971606] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
>>> [ 1.971607] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
>>> [ 1.974202] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
>>> [ 1.974634] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>>> [ 1.975005] Freeing unused kernel memory: 10112K
>>> [ 1.975062] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>>> [ 1.975442] Run init as init process
>>>
>>> Another information is that if "maxcpus=3" is removed from the kernel command line,
>>> it will be OK.
>>>
>>> I am not sure if there is a bug about vsmmu. It will be very appreciated if anyone
>>> know this issue or can take a look at it.
>> thanks
>> -- PMM
>> .
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bug Report] smmuv3 event 0x10 report when running virtio-blk-pci
2024-09-10 1:51 ` Zhou Wang via
@ 2024-09-10 9:33 ` Mostafa Saleh
0 siblings, 0 replies; 8+ messages in thread
From: Mostafa Saleh @ 2024-09-10 9:33 UTC (permalink / raw)
To: Zhou Wang; +Cc: qemu-devel, qemu-arm, Shameer Kolothum
On Tue, Sep 10, 2024 at 2:51 AM Zhou Wang <wangzhou1@hisilicon.com> wrote:
>
> On 2024/9/9 22:47, Mostafa Saleh wrote:
> > Hi Zhou,
> >
> > On Mon, Sep 9, 2024 at 3:22 PM Zhou Wang via <qemu-devel@nongnu.org> wrote:
> >>
> >> Hi All,
> >>
> >> When I tested mainline qemu(commit 7b87a25f49), it reports smmuv3 event 0x10
> >> during kernel booting up.
> >>
> >> qemu command which I use is as below:
> >>
> >> qemu-system-aarch64 -machine virt,kernel_irqchip=on,gic-version=3,iommu=smmuv3 \
> >> -kernel Image -initrd minifs.cpio.gz \
> >> -enable-kvm -net none -nographic -m 3G -smp 6 -cpu host \
> >> -append 'rdinit=init console=ttyAMA0 ealycon=pl0ll,0x90000000 maxcpus=3' \
> >> -device pcie-root-port,port=0x8,chassis=0,id=pci.0,bus=pcie.0,multifunction=on,addr=0x2 \
> >> -device pcie-root-port,port=0x9,chassis=1,id=pci.1,bus=pcie.0,addr=0x2.0x1 \
> >> -device virtio-blk-pci,drive=drive0,id=virtblk0,num-queues=8,packed=on,bus=pci.1 \
> >> -drive file=/home/boot.img,if=none,id=drive0,format=raw
> >>
> >> smmuv3 event 0x10 log:
> >> [...]
> >> [ 1.962656] virtio-pci 0000:02:00.0: Adding to iommu group 0
> >> [ 1.963150] virtio-pci 0000:02:00.0: enabling device (0000 -> 0002)
> >> [ 1.964707] virtio_blk virtio0: 6/0/0 default/read/poll queues
> >> [ 1.965759] virtio_blk virtio0: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB)
> >> [ 1.966934] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
> >> [ 1.967442] input: gpio-keys as /devices/platform/gpio-keys/input/input0
> >> [ 1.967478] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
> >> [ 1.968381] clk: Disabling unused clocks
> >> [ 1.968677] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
> >> [ 1.968990] PM: genpd: Disabling unused power domains
> >> [ 1.969424] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> >> [ 1.969814] ALSA device list:
> >> [ 1.970240] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> >> [ 1.970471] No soundcards found.
> >> [ 1.970902] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
> >> [ 1.971600] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
> >> [ 1.971601] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
> >> [ 1.971601] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> >> [ 1.971602] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> >> [ 1.971606] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
> >> [ 1.971607] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
> >> [ 1.974202] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
> >> [ 1.974634] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> >> [ 1.975005] Freeing unused kernel memory: 10112K
> >> [ 1.975062] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
> >> [ 1.975442] Run init as init process
> >>
> >> Another information is that if "maxcpus=3" is removed from the kernel command line,
> >> it will be OK.
> >>
> >
> > That's interesting, not sure how that would be related.
> >
> >> I am not sure if there is a bug about vsmmu. It will be very appreciated if anyone
> >> know this issue or can take a look at it.
> >>
> >
> > Can you please provide logs with adding "-d trace:smmu*" to qemu invocation.
>
> Sure. Please see the attached log(using above qemu commit and command).
>
Thanks a lot, it seems the SMMUv3 indeed receives a translation
request with addr 0x0 which causes this event.
I don't see any kind of modification (alignment) of the address in this path.
So my hunch it's not related to the SMMUv3 and the initiator is
issuing bogus addresses.
> >
> > Also if possible, can you please provide which Linux kernel version
> > you are using, I will see if I can repro.
>
> I just use the latest mainline kernel(commit b831f83e40a2) with defconfig.
>
I see, I can't repro in my setup which has no "--enable-kvm" and with
"-cpu max" instead of host.
I will try other options and see if I can repro.
Thanks,
Mostafa
> Thanks,
> Zhou
>
> >
> > Thanks,
> > Mostafa
> >
> >> Thanks,
> >> Zhou
> >>
> >>
> >>
> >
> > .
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bug Report] smmuv3 event 0x10 report when running virtio-blk-pci
2024-09-10 1:24 ` Zhou Wang via
2024-09-10 6:42 ` Eric Auger
@ 2024-09-11 9:17 ` Eric Auger
1 sibling, 0 replies; 8+ messages in thread
From: Eric Auger @ 2024-09-11 9:17 UTC (permalink / raw)
To: Zhou Wang, Peter Maydell
Cc: qemu-devel, qemu-arm, Shameer Kolothum, Mostafa Saleh
Hi,
On 9/10/24 03:24, Zhou Wang via wrote:
> On 2024/9/9 22:31, Peter Maydell wrote:
>> On Mon, 9 Sept 2024 at 15:22, Zhou Wang via <qemu-devel@nongnu.org> wrote:
>>> Hi All,
>>>
>>> When I tested mainline qemu(commit 7b87a25f49), it reports smmuv3 event 0x10
>>> during kernel booting up.
>> Does it still do this if you either:
>> (1) use the v9.1.0 release (commit fd1952d814da)
>> (2) use "-machine virt-9.1" instead of "-machine virt"
> I tested above two cases, the problem is still there.
I have not much progressed yet but I see it comes with
qemu traces.
smmuv3-iommu-memory-region-0-0 translation failed for iova=0x0
(SMMU_EVT_F_TRANSLATION)
../..
qemu-system-aarch64: virtio-blk failed to set guest notifier (-22),
ensure -accel kvm is set.
qemu-system-aarch64: virtio_bus_start_ioeventfd: failed. Fallback to
userspace (slower).
the PCIe Host bridge seems to cause that translation failure at iova=0
Also virtio-iommu has the same issue:
qemu-system-aarch64: virtio_iommu_translate no mapping for 0x0 for sid=1024
qemu-system-aarch64: virtio-blk failed to set guest notifier (-22),
ensure -accel kvm is set.
qemu-system-aarch64: virtio_bus_start_ioeventfd: failed. Fallback to
userspace (slower).
Only happens with maxcpus=3. Note the virtio-blk-pci is not protected by
the vIOMMU in your case.
Thanks
Eric
>
>> ?
>>
>> My suspicion is that this will have started happening now that
>> we expose an SMMU with two-stage translation support to the guest
>> in the "virt" machine type (which we do not if you either
>> use virt-9.1 or in the v9.1.0 release).
>>
>> I've cc'd Eric (smmuv3 maintainer) and Mostafa (author of
>> the two-stage support).
>>
>>> qemu command which I use is as below:
>>>
>>> qemu-system-aarch64 -machine virt,kernel_irqchip=on,gic-version=3,iommu=smmuv3 \
>>> -kernel Image -initrd minifs.cpio.gz \
>>> -enable-kvm -net none -nographic -m 3G -smp 6 -cpu host \
>>> -append 'rdinit=init console=ttyAMA0 ealycon=pl0ll,0x90000000 maxcpus=3' \
>>> -device pcie-root-port,port=0x8,chassis=0,id=pci.0,bus=pcie.0,multifunction=on,addr=0x2 \
>>> -device pcie-root-port,port=0x9,chassis=1,id=pci.1,bus=pcie.0,addr=0x2.0x1 \
>>> -device virtio-blk-pci,drive=drive0,id=virtblk0,num-queues=8,packed=on,bus=pci.1 \
>>> -drive file=/home/boot.img,if=none,id=drive0,format=raw
>>>
>>> smmuv3 event 0x10 log:
>>> [...]
>>> [ 1.962656] virtio-pci 0000:02:00.0: Adding to iommu group 0
>>> [ 1.963150] virtio-pci 0000:02:00.0: enabling device (0000 -> 0002)
>>> [ 1.964707] virtio_blk virtio0: 6/0/0 default/read/poll queues
>>> [ 1.965759] virtio_blk virtio0: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB)
>>> [ 1.966934] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
>>> [ 1.967442] input: gpio-keys as /devices/platform/gpio-keys/input/input0
>>> [ 1.967478] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
>>> [ 1.968381] clk: Disabling unused clocks
>>> [ 1.968677] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
>>> [ 1.968990] PM: genpd: Disabling unused power domains
>>> [ 1.969424] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>>> [ 1.969814] ALSA device list:
>>> [ 1.970240] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>>> [ 1.970471] No soundcards found.
>>> [ 1.970902] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
>>> [ 1.971600] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
>>> [ 1.971601] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
>>> [ 1.971601] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>>> [ 1.971602] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>>> [ 1.971606] arm-smmu-v3 9050000.smmuv3: event 0x10 received:
>>> [ 1.971607] arm-smmu-v3 9050000.smmuv3: 0x0000020000000010
>>> [ 1.974202] arm-smmu-v3 9050000.smmuv3: 0x0000020000000000
>>> [ 1.974634] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>>> [ 1.975005] Freeing unused kernel memory: 10112K
>>> [ 1.975062] arm-smmu-v3 9050000.smmuv3: 0x0000000000000000
>>> [ 1.975442] Run init as init process
>>>
>>> Another information is that if "maxcpus=3" is removed from the kernel command line,
>>> it will be OK.
>>>
>>> I am not sure if there is a bug about vsmmu. It will be very appreciated if anyone
>>> know this issue or can take a look at it.
>> thanks
>> -- PMM
>> .
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-09-11 9:18 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09 14:22 [Bug Report] smmuv3 event 0x10 report when running virtio-blk-pci Zhou Wang via
2024-09-09 14:31 ` Peter Maydell
2024-09-10 1:24 ` Zhou Wang via
2024-09-10 6:42 ` Eric Auger
2024-09-11 9:17 ` Eric Auger
2024-09-09 14:47 ` Mostafa Saleh
2024-09-10 1:51 ` Zhou Wang via
2024-09-10 9:33 ` Mostafa Saleh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).