** Description changed:

  [ Impact ]
  
  Bug fix for missing temperature information in the sideband telemetry
  channel.
  
  The firmware with the fix has been upstreamed:
  * https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/845
  
+ 
  [ Test Case ]
  
- See PDF attached in comment #1.
+ [juergh: Extracted from PDF attached in comment #1]
+ 
+ Instructions for using container to run test workload on Cloud AI 100
+ 
+ Cloud AI Container Setup
+ 
+ Pre-requisite: 
+ 1)  Install 1.20.2.5 (w/ the bug in question) Qaic FW and KMD from Linux 
upstream or from Platform SDK. 
+ 
+ Platform SDK Example:
+ 
+ Download and unzip Cloud AI Platform SDK from http://qpm.qualcomm.com,
+ then:
+ 
+ cd qaic-platform-sdk-1.20.4.0/x86_64/deb/deb
+ 
+ sudo apt update
+ 
+ sudo apt-get install -y ./qaic-fw_1.20.4.0.deb
+ 
+ sudo apt-get install -y ./qaic-kmd_1.20.4.0_all.deb
+ 
+ 2)  Docker
+ 
+ Check for Docker:
+ 
+ sudo docker --version
+ 
+ If not found, then following instructions at
+ https://docs.docker.com/engine/install/ubuntu/ to install.
+ 
+ Start Container
+ 
+ This example starts the container with 2 SoCs and maps the current
+ working directory to /cloud-ai inside the container.
+ 
+ sudo docker run   -it   --workdir /cloud-ai   --entrypoint /bin/bash   
--network=host   --name qaic-platform   --mount 
+ type=bind,source=${PWD},target=/cloud-ai   --device=/dev/accel/accel0   
--device=/dev/accel/accel1   
+ ghcr.io/quic/cloud_ai_inference_ubuntu22:1.20.4.0 
+ 
+ 3)  Run Test
+ 
+ /opt/qti-aic/tools/qaic-diag -d 0 -m 0x4B 0x67 0x14 0x00 0x00
+ 
+ Diag Request:
+ 
+ 0x4b 0x67 0x14 0x0 0x0
+ 
+ Diag Response:
+ 
+ 0x4b 0x67 0x14 0x0 0x11 0x23 0x0
+ 
+ /opt/qti-aic/tools/qaic-diag -d 1 -m 0x4B 0x67 0x14 0x00 0x00
+ 
+ Diag Request:
+ 
+ 0x4b 0x67 0x14 0x0 0x0
+ 
+ Diag Response:
+ 
+ x4b 0x67 0x14 0x0 0x11 0x23 0x0 
+  
+ 4)  Exiting the container 
+ 
+ When test is completed, exit the container.
+ 
+ exit
+ 
+ sudo docker stop qaic-platform
+ 
+ sudo docker container rm qaic-platform
+ 
+ Test Steps:
+ 
+ - Install 1.20.2.6 FW (Step 1) 
+ - Reboot the devices 
+   - echo 1 > /sys/bus/mhi/devices/mhi0/soc_reset 
+   - echo 1 > /sys/bus/mhi/devices/mhi1/soc_reset 
+   OR 
+   - /opt/qti-aic/tools/qaic-util -s 
+ - Install Docker (Step 2) 
+ - Start Container (Step 2) 
+ - Run the workload (Step 3) 
+ 
+ /opt/qti-aic/tools/qaic-diag -d 0 -m 0x4B 0x67 0x14 0x00 0x00
+ 
+ Diag Request:
+ 
+ 0x4b 0x67 0x14 0x0 0x0
+ 
+ Diag Response:
+ 
+ 0x4b 0x67 0x14 0x0 0x11 0x00 0x0
+ 
+ /opt/qti-aic/tools/qaic-diag -d 1 -m 0x4B 0x67 0x14 0x00 0x00
+ 
+ Diag Request:
+ 
+ 0x4b 0x67 0x14 0x0 0x0
+ 
+ Diag Response:
+ 
+ x4b 0x67 0x14 0x0 0x11 0x00 0x0
+ 
+ Temperature value is 0C in response
+ 
+ - Exit the container (Step 4) 
+ - Install 1.20.2.7 FW (Step 1) 
+ - Reboot the devices 
+   - echo 1 > /sys/bus/mhi/devices/mhi0/soc_reset 
+   - echo 1 > /sys/bus/mhi/devices/mhi1/soc_reset 
+   OR 
+   - /opt/qti-aic/tools/qaic-util -s 
+ - Start Container (Step 2) 
+ - Run the workload (Step 3) 
+ 
+ /opt/qti-aic/tools/qaic-diag -d 0 -m 0x4B 0x67 0x14 0x00 0x00
+ 
+ Diag Request:
+ 
+ 0x4b 0x67 0x14 0x0 0x0
+ 
+ Diag Response:
+ 
+ 0x4b 0x67 0x14 0x0 0x11 0x23 0x0
+ 
+ /opt/qti-aic/tools/qaic-diag -d 1 -m 0x4B 0x67 0x14 0x00 0x00
+ 
+ Diag Request:
+ 
+ 0x4b 0x67 0x14 0x0 0x0
+ 
+ Diag Response:
+ 
+ x4b 0x67 0x14 0x0 0x11 0x23 0x0
+ 
+ Temperature value is SOME NON-ZERO number as it is 35C in this case. It 
should hover between 
+ 30-40C typically. 
+ 
  
  [ Where Problems Could Occur ]
  
  Opaque firmware that can bring down the world. Loaded by qaic driver.

** Changed in: linux-firmware (Ubuntu Noble)
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137582

Title:
  Update aic100 fw for temperature reporting

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/2137582/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to