Your message dated Fri, 01 Nov 2024 08:41:32 +0000
with message-id <e1t6ndo-001gxn...@fasolo.debian.org>
and subject line Bug#1059425: fixed in cpu-checker 0.7-1.4
has caused the Debian Bug report #1059425,
regarding cpu-checker: enable loongarch64 build
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1059425: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059425
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: cpu-checker
Version: 0.7-1.3
Severity: wishlist
Tags: ftbfs
User: debian-loonga...@lists.debian.org
Usertags: loong64

Dear maintainers,

Compiling the cpu-checker failed on my local loong64 rootfs environment.
We need to add build support for loong64 in debian/control.
At the same time, we also need to add the loongarch64 support in kvm-ok for the LoongArch architecture.

Please consider the patch I have attached.
Referring to other architectures, I have submitted a bug to the Ubuntu launchpad, plesase see https://bugs.launchpad.net/cpu-checker/+bug/2047347
Your opinions are welcome.

thanks,
Dandan Zhang

diff -Nru cpu-checker-0.7/debian/control cpu-checker-0.7/debian/control
--- cpu-checker-0.7/debian/control      2021-08-02 13:30:02.000000000 +0000
+++ cpu-checker-0.7/debian/control      2021-09-14 06:45:39.000000000 +0000
@@ -9,7 +9,7 @@
 Vcs-Bzr: lp:~cpu-checker-dev/cpu-checker/trunk
 
 Package: cpu-checker
-Architecture: amd64 arm64 armhf i386 ppc64el powerpc riscv64 s390x
+Architecture: amd64 arm64 armhf i386 loong64 ppc64el powerpc riscv64 s390x
 Depends: msr-tools [amd64 i386], ${shlibs:Depends}, ${misc:Depends}
 Conflicts: qemu-kvm (<< 0.12.3-0ubuntu13)
 Replaces: qemu-kvm (<< 0.12.3-0ubuntu13)
diff -Nru 
cpu-checker-0.7/debian/patches/cpu-checker-add-loongarch64-support.patch 
cpu-checker-0.7/debian/patches/cpu-checker-add-loongarch64-support.patch
--- cpu-checker-0.7/debian/patches/cpu-checker-add-loongarch64-support.patch    
1970-01-01 00:00:00.000000000 +0000
+++ cpu-checker-0.7/debian/patches/cpu-checker-add-loongarch64-support.patch    
2021-09-14 06:45:39.000000000 +0000
@@ -0,0 +1,26 @@
+Description: Add loongarch64 support 
+Last-Update: 2023-12-25
+
+--- cpu-checker-0.7.orig/kvm-ok
++++ cpu-checker-0.7/kvm-ok
+@@ -63,6 +63,10 @@ case "$(uname -m)" in
+       virt="RISCV"
+       kvm_mod="kvm"
+       ;;
++    loongarch64)
++      virt="LOONGARCH"
++      kvm_mod="kvm"
++      ;;
+     *)
+       virt=$(egrep -m1 -w '^flags[[:blank:]]*:' /proc/cpuinfo | egrep -wo 
'(vmx|svm)') || true
+       [ "$virt" = "vmx" ] && kvm_mod="kvm_intel"
+@@ -122,6 +126,9 @@ elif [ "$virt" = "ARM" ]; then
+ elif [ "$virt" = "RISCV" ]; then
+     # Should also test that we booted in HS mode, if detectable
+     :
++elif [ "$virt" = "LOONGARCH" ]; then
++    # Should also test that we booted in LVZ mode, if detectable
++    :
+ elif [ "$virt" = "generic" ]; then
+     :
+ else
diff -Nru cpu-checker-0.7/debian/patches/series 
cpu-checker-0.7/debian/patches/series
--- cpu-checker-0.7/debian/patches/series       2021-08-02 13:30:02.000000000 
+0000
+++ cpu-checker-0.7/debian/patches/series       2021-09-14 06:45:39.000000000 
+0000
@@ -3,3 +3,4 @@
 powerpc-dummy.patch
 cpu-checker-s390x.patch
 riscv64-dummy.patch
+cpu-checker-add-loongarch64-support.patch

--- End Message ---
--- Begin Message ---
Source: cpu-checker
Source-Version: 0.7-1.4
Done: Gianfranco Costamagna <locutusofb...@debian.org>

We believe that the bug you reported is fixed in the latest version of
cpu-checker, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1059...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gianfranco Costamagna <locutusofb...@debian.org> (supplier of updated 
cpu-checker package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 27 Oct 2024 08:49:11 +0100
Source: cpu-checker
Built-For-Profiles: noudeb
Architecture: source
Version: 0.7-1.4
Distribution: unstable
Urgency: medium
Maintainer: Kees Cook <k...@ubuntu.com>
Changed-By: Gianfranco Costamagna <locutusofb...@debian.org>
Closes: 1059425
Changes:
 cpu-checker (0.7-1.4) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ zhangdandan <zhangdan...@loongson.cn> ]
   * Add support for loongarch64 (Closes: #1059425)
Checksums-Sha1:
 cceb0e75b84b8bb83755628530c01fd9bf41bc76 1957 cpu-checker_0.7-1.4.dsc
 b0b8efa3b174574468df405169d3557909d91d79 4768 cpu-checker_0.7-1.4.debian.tar.xz
 2bc0c0a192f8fd645c73fbc2f591872113c88f2f 7608 
cpu-checker_0.7-1.4_source.buildinfo
Checksums-Sha256:
 5031665f24cdaa3177820641590359d6f8672f7ae6fe0d340669201bc95017cf 1957 
cpu-checker_0.7-1.4.dsc
 aa3ff588bf77c83a572903ad664168686e103d2e98c1d0ee0323ecc96e1ac756 4768 
cpu-checker_0.7-1.4.debian.tar.xz
 1a0378404979e8d11b22aff605f54e44a9eaa712107e3f7c3906f5e42db459ea 7608 
cpu-checker_0.7-1.4_source.buildinfo
Files:
 c67a1f709064271c8f51d2397f66087a 1957 utils optional cpu-checker_0.7-1.4.dsc
 e6124fbc270b243b700b51c08699d719 4768 utils optional 
cpu-checker_0.7-1.4.debian.tar.xz
 d1f63de315d853e2fa696959b6ef64d4 7608 utils optional 
cpu-checker_0.7-1.4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmcd8J0ACgkQ808JdE6f
XdmwTRAAw5JnPCYhBU8Q6GoyVN9z5tE5LKnSD8/d0y4i4f/v8NERvem+q6mPxflH
jUH7T2sglkyTrCIodyN9ZW8PgoS4s8Zgqh0xHZaLgeKpeR7ZMZZQuXBv+rqdlhO5
9wGSYg3fl2Z/o9B026syOWmydmfr60tSk1hnGx0wh9rxSDPxq4UW/Ooll+4LObir
zdedxa05PVJe39Z89yUYgZWQIbnxoLvolAaQWqGquMw3dtmqkoJKIojfQzwoThIX
acV1BXL/AeSWmNECd67VGsBA80NfDkcrdhYeZ+A7G4kOz+RDYySt5fqtZdhF/lPL
FjhN+Ii7BSPyM9mxxJGpB5dl09m1pboCiBUHbxhLrx70V0m388hyYdgOXEv2SMdN
TV2LgreBUQdYqNYgpV+r84xjuYpUYi2pPH6n7pvtO/3Qt0YGUOObgi7j0J8bz8S+
4w9CG6dDmJIZt4XBwi2RhB1WYOfScPIqMskp920BVVIotYMzVOR9AuTFusCsqKHh
rMVrYjJhKCl775hKmCbRMyTiYWZGQ8feN+nmQun2LKoqauodAmN552NDDbMtmmzo
o4Bg7TcvknWZ1XhasSAmZW5t/0E1C085SH3yByb7PLBGEB/4wnQJzmmgLqNAdWwX
awfcyNezyQWff89A0L89kvGKTSHgK0t+roIwmHIig3yT9s8mFxU=
=y24I
-----END PGP SIGNATURE-----

Attachment: pgpm2aOG9b6xF.pgp
Description: PGP signature


--- End Message ---

Reply via email to