Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 cpuinfo (0.0~git20190201.d5e37ad-1) unstable; urgency=medium
 .
   * New upstream version 0.0~git20190201.d5e37ad
   * Remove add-binaries-install.patch, merged upstream.
Author: Mo Zhou <cdluminate@gmail.com>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2021-07-05

--- cpuinfo-0.0~git20190201.d5e37ad.orig/include/cpuinfo.h
+++ cpuinfo-0.0~git20190201.d5e37ad/include/cpuinfo.h
@@ -174,6 +174,9 @@ enum cpuinfo_vendor {
 	 * Processors are designed by HiSilicon, a subsidiary of Huawei.
 	 */
 	cpuinfo_vendor_huawei   = 15,
+	
+	/** Loongson Technologies, Inc. Vendor of LoongArch processor microarchitectures. */
+	cpuinfo_vendor_loongson     = 258,
 
 	/* Active vendors of embedded CPUs */
 
--- cpuinfo-0.0~git20190201.d5e37ad.orig/tools/cpu-info.c
+++ cpuinfo-0.0~git20190201.d5e37ad/tools/cpu-info.c
@@ -38,6 +38,8 @@ static const char* vendor_to_string(enum
 			return "Broadcom";
 		case cpuinfo_vendor_apm:
 			return "Applied Micro";
+		case cpuinfo_vendor_loongson:
+			return "Loongson";
 		default:
 			return NULL;
 	}
