qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH 1/6] aspeed/smc: Use max number of CE instead of 'num_cs'


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 1/6] aspeed/smc: Use max number of CE instead of 'num_cs'
Date: Mon, 7 Mar 2022 11:19:36 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1

On 7/3/22 08:18, Cédric Le Goater wrote:
The Aspeed SMC model uses the 'num_cs' field to allocate resources
fitting the number of devices of the machine. This is a small
optimization without real need in the controller. Simplify modelling
and use the max_peripherals field instead.

"(which by the way is not very descriptive, but we are going to
rename it to 'cs_num_max' in a pair of commits)."


Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
  hw/ssi/aspeed_smc.c | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]