Re: [PULL 04/16] aspeed/smc: Cache AspeedSMCClass

2023-05-12 Thread Cédric Le Goater
Hello, On 5/12/23 06:00, Philippe Mathieu-Daudé wrote: Hi Cédric, On 25/10/22 17:20, Cédric Le Goater wrote: Store a reference on the AspeedSMC class under the flash object and use it when accessing the flash contents. Avoiding the class cast checkers in these hot paths improves performance by

Re: [PULL 04/16] aspeed/smc: Cache AspeedSMCClass

2023-05-11 Thread Philippe Mathieu-Daudé
Hi Cédric, On 25/10/22 17:20, Cédric Le Goater wrote: Store a reference on the AspeedSMC class under the flash object and use it when accessing the flash contents. Avoiding the class cast checkers in these hot paths improves performance by 10% when running the aspeed avocado tests. I doubt you

[PULL 04/16] aspeed/smc: Cache AspeedSMCClass

2022-10-25 Thread Cédric Le Goater
Store a reference on the AspeedSMC class under the flash object and use it when accessing the flash contents. Avoiding the class cast checkers in these hot paths improves performance by 10% when running the aspeed avocado tests. Message-Id: <20220923084803.498337-7-...@kaod.org> Signed-off-by: Céd