Re: [PATCH v2 3/8] machine: Print supported CPU models instead of typenames

2023-08-31 Thread Igor Mammedov
On Wed, 30 Aug 2023 17:34:12 +1000 Gavin Shan wrote: > Hi Igor, > > On 8/29/23 19:03, Igor Mammedov wrote: > > On Tue, 29 Aug 2023 16:28:45 +1000 > > Gavin Shan wrote: > >> On 8/29/23 00:46, Igor Mammedov wrote: > >>> On Mon, 31 Jul 2023 15:07:30 +1000 > >>> Gavin Shan wrote: > On 7

Re: [PATCH v2 3/8] machine: Print supported CPU models instead of typenames

2023-08-30 Thread Gavin Shan
Hi Igor, On 8/29/23 19:03, Igor Mammedov wrote: On Tue, 29 Aug 2023 16:28:45 +1000 Gavin Shan wrote: On 8/29/23 00:46, Igor Mammedov wrote: On Mon, 31 Jul 2023 15:07:30 +1000 Gavin Shan wrote: On 7/27/23 19:00, Igor Mammedov wrote: On Thu, 27 Jul 2023 15:16:18 +1000 Gavin Shan wrote:

Re: [PATCH v2 3/8] machine: Print supported CPU models instead of typenames

2023-08-29 Thread Igor Mammedov
On Tue, 29 Aug 2023 16:28:45 +1000 Gavin Shan wrote: > Hi Igor, > > On 8/29/23 00:46, Igor Mammedov wrote: > > On Mon, 31 Jul 2023 15:07:30 +1000 > > Gavin Shan wrote: > >> On 7/27/23 19:00, Igor Mammedov wrote: > >>> On Thu, 27 Jul 2023 15:16:18 +1000 > >>> Gavin Shan wrote: > >>> >

Re: [PATCH v2 3/8] machine: Print supported CPU models instead of typenames

2023-08-28 Thread Gavin Shan
Hi Igor, On 8/29/23 00:46, Igor Mammedov wrote: On Mon, 31 Jul 2023 15:07:30 +1000 Gavin Shan wrote: On 7/27/23 19:00, Igor Mammedov wrote: On Thu, 27 Jul 2023 15:16:18 +1000 Gavin Shan wrote: On 7/27/23 09:08, Richard Henderson wrote: On 7/25/23 17:32, Gavin Shan wrote: -static const

Re: [PATCH v2 3/8] machine: Print supported CPU models instead of typenames

2023-08-28 Thread Igor Mammedov
On Mon, 31 Jul 2023 15:07:30 +1000 Gavin Shan wrote: > On 7/27/23 19:00, Igor Mammedov wrote: > > On Thu, 27 Jul 2023 15:16:18 +1000 > > Gavin Shan wrote: > > > >> On 7/27/23 09:08, Richard Henderson wrote: > >>> On 7/25/23 17:32, Gavin Shan wrote: > -static const char *q800_machine_

Re: [PATCH v2 3/8] machine: Print supported CPU models instead of typenames

2023-07-30 Thread Gavin Shan
On 7/28/23 00:27, Richard Henderson wrote: On 7/26/23 22:16, Gavin Shan wrote: On 7/27/23 09:08, Richard Henderson wrote: On 7/25/23 17:32, Gavin Shan wrote: -static const char *q800_machine_valid_cpu_types[] = { +static const char * const q800_machine_valid_cpu_types[] = {   M68K_CPU_T

Re: [PATCH v2 3/8] machine: Print supported CPU models instead of typenames

2023-07-30 Thread Gavin Shan
On 7/27/23 19:00, Igor Mammedov wrote: On Thu, 27 Jul 2023 15:16:18 +1000 Gavin Shan wrote: On 7/27/23 09:08, Richard Henderson wrote: On 7/25/23 17:32, Gavin Shan wrote: -static const char *q800_machine_valid_cpu_types[] = { +static const char * const q800_machine_valid_cpu_types[] = {  

Re: [PATCH v2 3/8] machine: Print supported CPU models instead of typenames

2023-07-27 Thread Richard Henderson
On 7/26/23 22:16, Gavin Shan wrote: On 7/27/23 09:08, Richard Henderson wrote: On 7/25/23 17:32, Gavin Shan wrote: -static const char *q800_machine_valid_cpu_types[] = { +static const char * const q800_machine_valid_cpu_types[] = {   M68K_CPU_TYPE_NAME("m68040"),   NULL   }; +static co

Re: [PATCH v2 3/8] machine: Print supported CPU models instead of typenames

2023-07-27 Thread Igor Mammedov
On Thu, 27 Jul 2023 15:16:18 +1000 Gavin Shan wrote: > On 7/27/23 09:08, Richard Henderson wrote: > > On 7/25/23 17:32, Gavin Shan wrote: > >> -static const char *q800_machine_valid_cpu_types[] = { > >> +static const char * const q800_machine_valid_cpu_types[] = { > >>   M68K_CPU_TYPE_NAME(

Re: [PATCH v2 3/8] machine: Print supported CPU models instead of typenames

2023-07-26 Thread Gavin Shan
On 7/27/23 09:08, Richard Henderson wrote: On 7/25/23 17:32, Gavin Shan wrote: -static const char *q800_machine_valid_cpu_types[] = { +static const char * const q800_machine_valid_cpu_types[] = {   M68K_CPU_TYPE_NAME("m68040"),   NULL   }; +static const char * const q800_machine_valid_

Re: [PATCH v2 3/8] machine: Print supported CPU models instead of typenames

2023-07-26 Thread Richard Henderson
On 7/25/23 17:32, Gavin Shan wrote: -static const char *q800_machine_valid_cpu_types[] = { +static const char * const q800_machine_valid_cpu_types[] = { M68K_CPU_TYPE_NAME("m68040"), NULL }; +static const char * const q800_machine_valid_cpu_models[] = { +"m68040", +NULL