Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch




To: Rin Okuyama <rokuyama.rk%gmail.com@localhost>

Subject: Re: CVS commit: src/sys/arch

From: Nick Hudson <nick.hudson%gmx.co.uk@localhost>

Date: Mon, 11 Oct 2021 08:27:32 +0100




On 11/10/2021 08:14, Rin Okuyama wrote:

Hi,

On 2021/09/23 15:34, Nick Hudson wrote:

Module Name:    src
Committed By:    skrll
Date:        Thu Sep 23 06:34:00 UTC 2021

Modified Files:
    src/sys/arch/aarch64/aarch64: cpufunc.c
    src/sys/arch/arm/arm32: cpu.c

Log Message:
Print the cache information in similar formats and arm and aarch64, e.g.


For classic ARM CPUs, info->[id]cache_sets are not set. This results in

cpu0 at mainbus0 core 0: SA-1110 step B-5 (SA-1 V4 core)
cpu0: DC enabled IC enabled WB enabled LABT
cpu0: L1 16KB/32B 32-way (0 set) VIVT Instruction cache
cpu0: L1 8KB/32B 32-way (0 set) write-back VIVT Data cache

or

cpu0 at mainbus0 core 0: ARM926EJ-S r0p0 (ARM9EJ-S V5TEJ core)
cpu0: DC enabled IC enabled WB enabled LABT
cpu0: L1 32KB/32B 1-way (0 set) VIVT Instruction cache
cpu0: L1 32KB/32B 1-way (0 set) write-back-locking-C VIVT Data cache

Can I commit the attached patch? Or initialize these variables somewhere
else?


I think your patch is fine. Thanks for fixing this.

Nick


Follow-Ups:

Re: CVS commit: src/sys/arch
From: Rin Okuyama


References:

Re: CVS commit: src/sys/arch
From: Rin Okuyama




Prev by Date: Re: CVS commit: src/sys/arch

Next by Date: Re: CVS commit: src/sys/dev/wscons

Previous by Thread: Re: CVS commit: src/sys/arch

Next by Thread: Re: CVS commit: src/sys/arch

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index