Re: [RFC PATCH 03/23] scripts: add script to generate C header files from SVD XML files

2024-08-13 Thread Octavian Purdila
On Mon, Aug 12, 2024 at 3:43 PM Richard Henderson wrote: > > On 8/13/24 03:56, Octavian Purdila wrote: > >>>typedef struct { > >>> ... > >>> union { > >>>uint32_t PSELID; /* 0x0FF8 Peripheral Select and > >>> * Flexcomm m

Re: [RFC PATCH 03/23] scripts: add script to generate C header files from SVD XML files

2024-08-13 Thread Philippe Mathieu-Daudé
On 9/8/24 11:59, Daniel P. Berrangé wrote: On Fri, Aug 09, 2024 at 11:42:38AM +0200, Paolo Bonzini wrote: On Fri, Aug 9, 2024 at 11:30 AM Philippe Mathieu-Daudé wrote: On 9/8/24 00:30, Octavian Purdila wrote: On Thu, Aug 8, 2024 at 2:56 PM John Snow wrote: diff --git a/configure b/confi

Re: [RFC PATCH 03/23] scripts: add script to generate C header files from SVD XML files

2024-08-12 Thread Richard Henderson
On 8/13/24 03:56, Octavian Purdila wrote: typedef struct { ... union { uint32_t PSELID; /* 0x0FF8 Peripheral Select and * Flexcomm module ID */ struct { uint32_t PERSEL : 3;/* [2..0] Peripheral Sele

Re: [RFC PATCH 03/23] scripts: add script to generate C header files from SVD XML files

2024-08-12 Thread Octavian Purdila
On Mon, Aug 12, 2024 at 8:27 AM Peter Maydell wrote: > Hi Peter, Thanks for the review! > On Mon, 5 Aug 2024 at 21:17, Octavian Purdila wrote: > > > > From: Stefan Stanacar > > > > From: Stefan Stanacar > > > > The CMSIS System View Description format(CMSIS-SVD) is an XML based > > descript

Re: [RFC PATCH 03/23] scripts: add script to generate C header files from SVD XML files

2024-08-12 Thread Peter Maydell
On Mon, 5 Aug 2024 at 21:17, Octavian Purdila wrote: > > From: Stefan Stanacar > > From: Stefan Stanacar > > The CMSIS System View Description format(CMSIS-SVD) is an XML based > description of Arm Cortex-M microcontrollers provided and maintained > by sillicon vendors. It includes details such

Re: [RFC PATCH 03/23] scripts: add script to generate C header files from SVD XML files

2024-08-09 Thread Octavian Purdila
On Thu, Aug 8, 2024 at 11:34 PM Paolo Bonzini wrote: > > On 8/8/24 23:56, John Snow wrote: > > I haven't read the rest of this series; I'm chiming in solely from the > > build/python maintainer angle. Do we *always* need pysvd, no matter how > > QEMU was configured? Adding it to the meson line her

Re: [RFC PATCH 03/23] scripts: add script to generate C header files from SVD XML files

2024-08-09 Thread Daniel P . Berrangé
On Fri, Aug 09, 2024 at 11:42:38AM +0200, Paolo Bonzini wrote: > On Fri, Aug 9, 2024 at 11:30 AM Philippe Mathieu-Daudé > wrote: > > > > On 9/8/24 00:30, Octavian Purdila wrote: > > > On Thu, Aug 8, 2024 at 2:56 PM John Snow wrote: > > > > > > >>> diff --git a/configure b/configure > > >>> index

Re: [RFC PATCH 03/23] scripts: add script to generate C header files from SVD XML files

2024-08-09 Thread Paolo Bonzini
On Fri, Aug 9, 2024 at 11:30 AM Philippe Mathieu-Daudé wrote: > > On 9/8/24 00:30, Octavian Purdila wrote: > > On Thu, Aug 8, 2024 at 2:56 PM John Snow wrote: > > > >>> diff --git a/configure b/configure > >>> index 5ad1674ca5..811bfa5d54 100755 > >>> --- a/configure > >>> +++ b/configure > >>> @

Re: [RFC PATCH 03/23] scripts: add script to generate C header files from SVD XML files

2024-08-09 Thread Philippe Mathieu-Daudé
On 9/8/24 00:30, Octavian Purdila wrote: On Thu, Aug 8, 2024 at 2:56 PM John Snow wrote: diff --git a/configure b/configure index 5ad1674ca5..811bfa5d54 100755 --- a/configure +++ b/configure @@ -956,7 +956,7 @@ mkvenv="$python ${source_path}/python/scripts/mkvenv.py" # Finish preparing th

Re: [RFC PATCH 03/23] scripts: add script to generate C header files from SVD XML files

2024-08-08 Thread Paolo Bonzini
On 8/8/24 23:56, John Snow wrote: I haven't read the rest of this series; I'm chiming in solely from the build/python maintainer angle. Do we *always* need pysvd, no matter how QEMU was configured? Adding it to the meson line here is a very big hammer. In general I'd agree, though for a 7.5 kB

Re: [RFC PATCH 03/23] scripts: add script to generate C header files from SVD XML files

2024-08-08 Thread John Snow
On Thu, Aug 8, 2024 at 6:30 PM Octavian Purdila wrote: > On Thu, Aug 8, 2024 at 2:56 PM John Snow wrote: > > > > > > > > On Mon, Aug 5, 2024 at 4:17 PM Octavian Purdila > wrote: > >> > >> From: Stefan Stanacar > >> > >> From: Stefan Stanacar > >> > >> The CMSIS System View Description format(

Re: [RFC PATCH 03/23] scripts: add script to generate C header files from SVD XML files

2024-08-08 Thread Octavian Purdila
On Thu, Aug 8, 2024 at 2:56 PM John Snow wrote: > > > > On Mon, Aug 5, 2024 at 4:17 PM Octavian Purdila wrote: >> >> From: Stefan Stanacar >> >> From: Stefan Stanacar >> >> The CMSIS System View Description format(CMSIS-SVD) is an XML based >> description of Arm Cortex-M microcontrollers provid

Re: [RFC PATCH 03/23] scripts: add script to generate C header files from SVD XML files

2024-08-08 Thread John Snow
On Mon, Aug 5, 2024 at 4:17 PM Octavian Purdila wrote: > From: Stefan Stanacar > > From: Stefan Stanacar > > The CMSIS System View Description format(CMSIS-SVD) is an XML based > description of Arm Cortex-M microcontrollers provided and maintained > by sillicon vendors. It includes details such

[RFC PATCH 03/23] scripts: add script to generate C header files from SVD XML files

2024-08-05 Thread Octavian Purdila
From: Stefan Stanacar From: Stefan Stanacar The CMSIS System View Description format(CMSIS-SVD) is an XML based description of Arm Cortex-M microcontrollers provided and maintained by sillicon vendors. It includes details such as peripherals registers (down to bitfields), peripheral register bl