Re: [PATCH] hw/arm/stm32f405: Add preliminary RCC emulation support

2020-03-06 Thread Alistair Francis
> From: Alistair Francis > Sent: Friday, March 6, 2020 4:40 AM > To: Stephanos Ioannidis > Cc: Peter Maydell ; Alistair Francis > ; open list:All patches CC here > ; open list:ARM TCG CPUs > Subject: Re: [PATCH] hw/arm/stm32f405: Add preliminary RCC emulation support &

Re: [PATCH] hw/arm/stm32f405: Add preliminary RCC emulation support

2020-03-06 Thread Alistair Francis
essage- > From: Peter Maydell > Sent: Friday, March 6, 2020 4:30 AM > To: Alistair Francis > Cc: Stephanos Ioannidis ; Alistair Francis > ; open list:All patches CC here > ; open list:ARM TCG CPUs > Subject: Re: [PATCH] hw/arm/stm32f405: Add preliminary RCC emulation

RE: [PATCH] hw/arm/stm32f405: Add preliminary RCC emulation support

2020-03-05 Thread Stephanos Ioannidis
DYIE No, PLLSAIRDYF and PLLSAIRDYIE are for STM32F42xxx and STM32F43xxx. STM32F405 does not have these fields. Stephanos -Original Message- From: Alistair Francis Sent: Friday, March 6, 2020 4:40 AM To: Stephanos Ioannidis Cc: Peter Maydell ; Alistair Francis ; open list:All patches

RE: [PATCH] hw/arm/stm32f405: Add preliminary RCC emulation support

2020-03-05 Thread Stephanos Ioannidis
BIT_RANGE(a, b), ...)? -Original Message- From: Peter Maydell Sent: Friday, March 6, 2020 4:30 AM To: Alistair Francis Cc: Stephanos Ioannidis ; Alistair Francis ; open list:All patches CC here ; open list:ARM TCG CPUs Subject: Re: [PATCH] hw/arm/stm32f405: Add preliminary RCC emulati

RE: [PATCH] hw/arm/stm32f405: Add preliminary RCC emulation support

2020-03-05 Thread Stephanos Ioannidis
open list:ARM TCG CPUs Subject: Re: [PATCH] hw/arm/stm32f405: Add preliminary RCC emulation support On Sat, Feb 29, 2020 at 6:12 AM Stephanos Ioannidis wrote: > > The RCC (reset and clock control) is a hardware peripheral reset and > clock configuration controller available on the STM32

Re: [PATCH] hw/arm/stm32f405: Add preliminary RCC emulation support

2020-03-05 Thread Alistair Francis
On Thu, Mar 5, 2020 at 11:30 AM Peter Maydell wrote: > > On Thu, 5 Mar 2020 at 19:24, Alistair Francis wrote: > > > > On Sat, Feb 29, 2020 at 6:12 AM Stephanos Ioannidis > > wrote: > > > > +typedef union { > > > +struct { > > > +uint32_t hsion : 1; > > > +uint32_t hsirdy : 1

Re: [PATCH] hw/arm/stm32f405: Add preliminary RCC emulation support

2020-03-05 Thread Alistair Francis
= heOn Sat, Feb 29, 2020 at 6:12 AM Stephanos Ioannidis wrote: > > The RCC (reset and clock control) is a hardware peripheral reset and > clock configuration controller available on the STM32F4xx series > devices. > > This commit adds preliminary support for the RCC peripheral emulation, > in or

Re: [PATCH] hw/arm/stm32f405: Add preliminary RCC emulation support

2020-03-05 Thread Peter Maydell
On Thu, 5 Mar 2020 at 19:24, Alistair Francis wrote: > > On Sat, Feb 29, 2020 at 6:12 AM Stephanos Ioannidis wrote: > > +typedef union { > > +struct { > > +uint32_t hsion : 1; > > +uint32_t hsirdy : 1; > > +uint32_t reserved0 : 1; > > +uint32_t hsitrim : 5; >

Re: [PATCH] hw/arm/stm32f405: Add preliminary RCC emulation support

2020-03-05 Thread Alistair Francis
On Sat, Feb 29, 2020 at 6:12 AM Stephanos Ioannidis wrote: > > The RCC (reset and clock control) is a hardware peripheral reset and > clock configuration controller available on the STM32F4xx series > devices. > > This commit adds preliminary support for the RCC peripheral emulation, > in order to

[PATCH] hw/arm/stm32f405: Add preliminary RCC emulation support

2020-02-29 Thread Stephanos Ioannidis
The RCC (reset and clock control) is a hardware peripheral reset and clock configuration controller available on the STM32F4xx series devices. This commit adds preliminary support for the RCC peripheral emulation, in order to support proper emulation of the firmware images that use the STM32Cube d