Re: [PATCH] hw/misc/stm32l4x5_rcc: Add validation for MCOPRE and MCOSEL values

2024-08-14 Thread Peter Maydell
On Wed, 14 Aug 2024 at 05:35, Michael Tokarev wrote: > > 18.06.2024 16:55, Zheyu Ma wrote: > > This commit adds validation checks for the MCOPRE and MCOSEL values in > > the rcc_update_cfgr_register function. If the MCOPRE value exceeds > > 0b100 or the MCOSEL value exceeds 0b111, an error is logg

Re: [PATCH] hw/misc/stm32l4x5_rcc: Add validation for MCOPRE and MCOSEL values

2024-08-13 Thread Michael Tokarev
18.06.2024 16:55, Zheyu Ma wrote: This commit adds validation checks for the MCOPRE and MCOSEL values in the rcc_update_cfgr_register function. If the MCOPRE value exceeds 0b100 or the MCOSEL value exceeds 0b111, an error is logged and the corresponding clock mux is disabled. This helps in identi

Re: [PATCH] hw/misc/stm32l4x5_rcc: Add validation for MCOPRE and MCOSEL values

2024-08-13 Thread Peter Maydell
On Fri, 21 Jun 2024 at 13:59, Peter Maydell wrote: > > On Tue, 18 Jun 2024 at 14:56, Zheyu Ma wrote: > > > > This commit adds validation checks for the MCOPRE and MCOSEL values in > > the rcc_update_cfgr_register function. If the MCOPRE value exceeds > > 0b100 or the MCOSEL value exceeds 0b111, a

Re: [PATCH] hw/misc/stm32l4x5_rcc: Add validation for MCOPRE and MCOSEL values

2024-06-21 Thread Peter Maydell
On Fri, 21 Jun 2024 at 16:03, Philippe Mathieu-Daudé wrote: > > On 18/6/24 15:55, Zheyu Ma wrote: > > This commit adds validation checks for the MCOPRE and MCOSEL values in > > the rcc_update_cfgr_register function. If the MCOPRE value exceeds > > 0b100 or the MCOSEL value exceeds 0b111, an error

Re: [PATCH] hw/misc/stm32l4x5_rcc: Add validation for MCOPRE and MCOSEL values

2024-06-21 Thread Philippe Mathieu-Daudé
On 18/6/24 15:55, Zheyu Ma wrote: This commit adds validation checks for the MCOPRE and MCOSEL values in the rcc_update_cfgr_register function. If the MCOPRE value exceeds 0b100 or the MCOSEL value exceeds 0b111, an error is logged and the corresponding clock mux is disabled. This helps in identi

Re: [PATCH] hw/misc/stm32l4x5_rcc: Add validation for MCOPRE and MCOSEL values

2024-06-21 Thread Peter Maydell
On Tue, 18 Jun 2024 at 14:56, Zheyu Ma wrote: > > This commit adds validation checks for the MCOPRE and MCOSEL values in > the rcc_update_cfgr_register function. If the MCOPRE value exceeds > 0b100 or the MCOSEL value exceeds 0b111, an error is logged and the > corresponding clock mux is disabled.