Bug#1012347: arm64 CPU Phytium FT-2000/4 cpuinfo

2022-06-08 Thread Helge Kreutzmann
Hello Punit,
On Wed, Jun 08, 2022 at 09:40:08AM +0100, Punit Agrawal wrote:
> Helge Kreutzmann  writes:
> > On Tue, Jun 07, 2022 at 09:47:03AM +0100, Punit Agrawal wrote:
> >> "xiao sheng wen(肖盛文)"  writes:
> >> 
> >> > 在 2022/6/5 21:18, Helge Kreutzmann 写道:
> >> >>> CPU implementer: 0x70
> >> >> If you happen to know a table of "CPU implementer" for ARM (i.e. a
> >> >> mapping of the number to the company), then I can easily add even
> >> >> more :-))
> >> 
> >> You can see the list of currently assigned implementer codes in the
> >> description of the MIDR_EL1 register[0] in the Arm developer
> >> documentation.
> >> 
> >> [0] 
> >> https://developer.arm.com/documentation/ddi0595/2021-06/External-Registers/MIDR-EL1--Main-ID-Register
> >
> > Thanks a lot, I added those, should greatly improve detection on Arm.
> > Interestingly, though, the recently reported "Phytium" is not on the
> > list. (Which what this report was initially about)
> 
> Indeed, I noticed it too after sending the mail. Sorry, I don't know
> what's going on there. Probably need somebody from Arm.com to add their
> 2c.

I don't think we need to bother, the current state is now vastly
improved, and I take Phytium as a "bonus".

Greetings

  Helge

-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   Dipl.-Phys.   http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
   Help keep free software "libre": http://www.ffii.de/


signature.asc
Description: PGP signature


Bug#1012347: arm64 CPU Phytium FT-2000/4 cpuinfo

2022-06-08 Thread Punit Agrawal
Helge Kreutzmann  writes:

> Hello Punit,
> On Tue, Jun 07, 2022 at 09:47:03AM +0100, Punit Agrawal wrote:
>> "xiao sheng wen(肖盛文)"  writes:
>> 
>> > 在 2022/6/5 21:18, Helge Kreutzmann 写道:
>> >>> CPU implementer  : 0x70
>> >> If you happen to know a table of "CPU implementer" for ARM (i.e. a
>> >> mapping of the number to the company), then I can easily add even
>> >> more :-))
>> 
>> You can see the list of currently assigned implementer codes in the
>> description of the MIDR_EL1 register[0] in the Arm developer
>> documentation.
>> 
>> [0] 
>> https://developer.arm.com/documentation/ddi0595/2021-06/External-Registers/MIDR-EL1--Main-ID-Register
>
> Thanks a lot, I added those, should greatly improve detection on Arm.
> Interestingly, though, the recently reported "Phytium" is not on the
> list. (Which what this report was initially about)

Indeed, I noticed it too after sending the mail. Sorry, I don't know
what's going on there. Probably need somebody from Arm.com to add their
2c.

[...]



Bug#1012347: arm64 CPU Phytium FT-2000/4 cpuinfo

2022-06-07 Thread Helge Kreutzmann
Hello Punit,
On Tue, Jun 07, 2022 at 09:47:03AM +0100, Punit Agrawal wrote:
> "xiao sheng wen(肖盛文)"  writes:
> 
> > 在 2022/6/5 21:18, Helge Kreutzmann 写道:
> >>> CPU implementer   : 0x70
> >> If you happen to know a table of "CPU implementer" for ARM (i.e. a
> >> mapping of the number to the company), then I can easily add even
> >> more :-))
> 
> You can see the list of currently assigned implementer codes in the
> description of the MIDR_EL1 register[0] in the Arm developer
> documentation.
> 
> [0] 
> https://developer.arm.com/documentation/ddi0595/2021-06/External-Registers/MIDR-EL1--Main-ID-Register

Thanks a lot, I added those, should greatly improve detection on Arm.
Interestingly, though, the recently reported "Phytium" is not on the
list. (Which what this report was initially about)

Greetings

Helge

-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   Dipl.-Phys.   http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
   Help keep free software "libre": http://www.ffii.de/


signature.asc
Description: PGP signature


Bug#1012347: arm64 CPU Phytium FT-2000/4 cpuinfo

2022-06-07 Thread Punit Agrawal
"xiao sheng wen(肖盛文)"  writes:

> 在 2022/6/5 21:18, Helge Kreutzmann 写道:
>>> CPU implementer : 0x70
>> If you happen to know a table of "CPU implementer" for ARM (i.e. a
>> mapping of the number to the company), then I can easily add even
>> more :-))

You can see the list of currently assigned implementer codes in the
description of the MIDR_EL1 register[0] in the Arm developer
documentation.

[0] 
https://developer.arm.com/documentation/ddi0595/2021-06/External-Registers/MIDR-EL1--Main-ID-Register

[...]



Bug#1012347: arm64 CPU Phytium FT-2000/4 cpuinfo

2022-06-05 Thread 肖盛文
在 2022/6/5 21:18, Helge Kreutzmann 写道:
>> CPU implementer  : 0x70
> If you happen to know a table of "CPU implementer" for ARM (i.e. a
> mapping of the number to the company), then I can easily add even
> more :-))

I aslo didn't know it now.

But I just look the kernel source code, I find the file

arch/arm/include/asm/cputype.h

It has some infos about " implemented processors or cores".

From line 61:

#define ARM_CPU_IMP_ARM 0x41
#define ARM_CPU_IMP_BRCM   0x42
#define ARM_CPU_IMP_DEC 0x44
#define ARM_CPU_IMP_INTEL   0x69

I has one Raspberry Pi 4 Model B Rev 1.5, it's linuxinfo output is:

Linux raspberrypi 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022
Four ARM processors, 864.00 total bogomips, 3794M RAM
System library 2.31.0

The last core info of /proc/cpuinfo file is:

processor    : 3
BogoMIPS    : 108.00
Features    : fp asimd evtstrm crc32 cpuid
CPU implementer    : 0x41
CPU architecture: 8
CPU variant    : 0x0
CPU part    : 0xd08
CPU revision    : 3

"CPU implementer    : 0x41" and "CPU part    : 0xd08" match the line in
arch/arm/include/asm/cputype.h:

#define ARM_CPU_PART_CORTEX_A72 0x4100d080


CC to debian-...@lists.debian.org , welcome to discuss.

Welcome to supply more infos for arm CPU implementers.


Thanks!

xiao sheng wen(肖盛文)



OpenPGP_signature
Description: OpenPGP digital signature


Bug#1012347: arm64 CPU Phytium FT-2000/4 cpuinfo

2022-06-05 Thread Helge Kreutzmann
Hello Xiao,
On Sun, Jun 05, 2022 at 03:02:37PM +0800, xiao wrote:
>   Here is the arm64 CPU Phytium FT-2000/4 cpuinfo,
>   welcome to add it to linuxinfo package.

Added.

> CPU implementer   : 0x70

If you happen to know a table of "CPU implementer" for ARM (i.e. a
mapping of the number to the company), then I can easily add even
more :-))

Greetings

Helge
-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   Dipl.-Phys.   http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
   Help keep free software "libre": http://www.ffii.de/


signature.asc
Description: PGP signature


Bug#1012347: arm64 CPU Phytium FT-2000/4 cpuinfo

2022-06-05 Thread 肖盛文
control:  submitter -1 !


Add the URL on it's website:

https://www.phytium.com.cn/en/article/97


在 2022/6/5 15:02,
> Package: linuxinfo
> Version: 3.3.3-1
> Severity: wishlist
> Tags: upstream
> X-Debbugs-Cc: atzli...@sina.com, debian-...@lists.debian.org
>
> Hi,
>
>   Here is the arm64 CPU Phytium FT-2000/4 cpuinfo,
>   welcome to add it to linuxinfo package.
>
> -- Package-specific info:
> /proc/cpuinfo:
> processor : 0
> BogoMIPS  : 96.00
> Features  : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
> CPU implementer   : 0x70
> CPU architecture: 8
> CPU variant   : 0x1
> CPU part  : 0x663
> CPU revision  : 3



OpenPGP_signature
Description: OpenPGP digital signature


Bug#1012347: arm64 CPU Phytium FT-2000/4 cpuinfo

2022-06-05 Thread 肖盛文)
Package: linuxinfo
Version: 3.3.3-1
Severity: wishlist
Tags: upstream
X-Debbugs-Cc: atzli...@sina.com, debian-...@lists.debian.org

Hi,

  Here is the arm64 CPU Phytium FT-2000/4 cpuinfo,
  welcome to add it to linuxinfo package.

-- Package-specific info:
/proc/cpuinfo:
processor   : 0
BogoMIPS: 96.00
Features: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x70
CPU architecture: 8
CPU variant : 0x1
CPU part: 0x663
CPU revision: 3

processor   : 1
BogoMIPS: 96.00
Features: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x70
CPU architecture: 8
CPU variant : 0x1
CPU part: 0x663
CPU revision: 3

processor   : 2
BogoMIPS: 96.00
Features: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x70
CPU architecture: 8
CPU variant : 0x1
CPU part: 0x663
CPU revision: 3

processor   : 3
BogoMIPS: 96.00
Features: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x70
CPU architecture: 8
CPU variant : 0x1
CPU part: 0x663
CPU revision: 3

Size of /proc/kcore:
-r 1 root root 140887812218880 Jun  5 14:46 /proc/kcore

/proc/meminfo:
MemTotal:   16358564 kB
MemFree:15545908 kB
MemAvailable:   15682224 kB
Buffers:   33464 kB
Cached:   291352 kB
SwapCached:0 kB
Active:   264948 kB
Inactive: 235032 kB
Active(anon): 175716 kB
Inactive(anon): 8816 kB
Active(file):  89232 kB
Inactive(file):   226216 kB
Unevictable:  64 kB
Mlocked:  64 kB
SwapTotal: 0 kB
SwapFree:  0 kB
Dirty: 4 kB
Writeback: 0 kB
AnonPages:171416 kB
Mapped:   186336 kB
Shmem:  9356 kB
Slab:  79428 kB
SReclaimable:  32236 kB
SUnreclaim:47192 kB
KernelStack:3104 kB
PageTables: 3772 kB
NFS_Unstable:  0 kB
Bounce:0 kB
WritebackTmp:  0 kB
CommitLimit: 8179280 kB
Committed_AS: 979036 kB
VmallocTotal:   135290290112 kB
VmallocUsed:   0 kB
VmallocChunk:  0 kB
Percpu: 1152 kB
HardwareCorrupted: 0 kB
AnonHugePages: 51200 kB
ShmemHugePages:0 kB
ShmemPmdMapped:0 kB
CmaTotal:  65536 kB
CmaFree:1260 kB
HugePages_Total:   0
HugePages_Free:0
HugePages_Rsvd:0
HugePages_Surp:0
Hugepagesize:   2048 kB
Hugetlb:   0 kB

-- System Information:
Distributor ID: Atzlinux
Description:Tongwandou (atzlinux) 11
Release:11.3
Codename:   bullseye
Architecture: aarch64

Kernel: Linux 4.19.237-atzlinux-ft8 (SMP w/4 CPU threads)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), 
LANGUAGE=zh_CN:zh
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linuxinfo depends on:
ii  libc6  2.33-7

linuxinfo recommends no packages.

linuxinfo suggests no packages.

-- no debconf information