Re: [PATCH v2 01/35] acpi: add helper routines to initialize ACPI tables

2021-09-06 Thread Igor Mammedov
On Fri, 3 Sep 2021 09:22:10 +0200 Eric Auger wrote: > Hi Igor, > > On 9/3/21 9:12 AM, Igor Mammedov wrote: > > On Thu, 2 Sep 2021 14:56:00 +0200 > > Eric Auger wrote: > > > >> Hi Igor, > >> > >> On 7/8/21 5:45 PM, Igor Mammedov wrote: > >>> Patch introduces acpi_init_table()/acpi_table_com

Re: [PATCH v2 01/35] acpi: add helper routines to initialize ACPI tables

2021-09-06 Thread Igor Mammedov
On Sat, 4 Sep 2021 15:57:52 -0400 "Michael S. Tsirkin" wrote: > On Fri, Sep 03, 2021 at 09:12:21AM +0200, Igor Mammedov wrote: > > On Thu, 2 Sep 2021 14:56:00 +0200 > > Eric Auger wrote: > > > > > Hi Igor, > > > > > > On 7/8/21 5:45 PM, Igor Mammedov wrote: > > > > Patch introduces acpi_in

Re: [PATCH v2 01/35] acpi: add helper routines to initialize ACPI tables

2021-09-04 Thread Michael S. Tsirkin
On Fri, Sep 03, 2021 at 09:12:21AM +0200, Igor Mammedov wrote: > On Thu, 2 Sep 2021 14:56:00 +0200 > Eric Auger wrote: > > > Hi Igor, > > > > On 7/8/21 5:45 PM, Igor Mammedov wrote: > > > Patch introduces acpi_init_table()/acpi_table_composed() API > > > that hides pointer/offset arithmetic from

Re: [PATCH v2 01/35] acpi: add helper routines to initialize ACPI tables

2021-09-03 Thread Eric Auger
Hi Igor, On 9/3/21 9:12 AM, Igor Mammedov wrote: > On Thu, 2 Sep 2021 14:56:00 +0200 > Eric Auger wrote: > >> Hi Igor, >> >> On 7/8/21 5:45 PM, Igor Mammedov wrote: >>> Patch introduces acpi_init_table()/acpi_table_composed() API >>> that hides pointer/offset arithmetic from user as opposed >>>

Re: [PATCH v2 01/35] acpi: add helper routines to initialize ACPI tables

2021-09-03 Thread Igor Mammedov
On Thu, 2 Sep 2021 14:56:00 +0200 Eric Auger wrote: > Hi Igor, > > On 7/8/21 5:45 PM, Igor Mammedov wrote: > > Patch introduces acpi_init_table()/acpi_table_composed() API > > that hides pointer/offset arithmetic from user as opposed > > to build_header(), to prevent errors caused by it [1]. > >

Re: [PATCH v2 01/35] acpi: add helper routines to initialize ACPI tables

2021-09-02 Thread Eric Auger
Hi Igor, On 7/8/21 5:45 PM, Igor Mammedov wrote: > Patch introduces acpi_init_table()/acpi_table_composed() API > that hides pointer/offset arithmetic from user as opposed > to build_header(), to prevent errors caused by it [1]. > > acpi_init_table(): > initializes table header and keeps tr

[PATCH v2 01/35] acpi: add helper routines to initialize ACPI tables

2021-07-08 Thread Igor Mammedov
Patch introduces acpi_init_table()/acpi_table_composed() API that hides pointer/offset arithmetic from user as opposed to build_header(), to prevent errors caused by it [1]. acpi_init_table(): initializes table header and keeps track of table data/offsets acpi_table_composed(): se