Re: [PATCH v10 07/21] acpi/ghes: rework the logic to handle HEST source ID

2024-10-03 Thread Igor Mammedov
On Tue, 1 Oct 2024 13:57:59 +0200 Mauro Carvalho Chehab wrote: > Em Tue, 17 Sep 2024 13:59:34 +0200 > Igor Mammedov escreveu: > > > On Sat, 14 Sep 2024 08:13:28 +0200 > > Mauro Carvalho Chehab wrote: > > > > > The current logic is based on a lot of duct tape, with > > > offsets calculated b

Re: [PATCH v10 07/21] acpi/ghes: rework the logic to handle HEST source ID

2024-10-01 Thread Mauro Carvalho Chehab
Em Tue, 17 Sep 2024 13:59:34 +0200 Igor Mammedov escreveu: > On Sat, 14 Sep 2024 08:13:28 +0200 > Mauro Carvalho Chehab wrote: > > > The current logic is based on a lot of duct tape, with > > offsets calculated based on one define with the number of > > source IDs and an enum. > > > > Rewrite

Re: [PATCH v10 07/21] acpi/ghes: rework the logic to handle HEST source ID

2024-09-17 Thread Igor Mammedov
On Sat, 14 Sep 2024 08:13:28 +0200 Mauro Carvalho Chehab wrote: > The current logic is based on a lot of duct tape, with > offsets calculated based on one define with the number of > source IDs and an enum. > > Rewrite the logic in a way that it would be more resilient > of code changes, by movi

[PATCH v10 07/21] acpi/ghes: rework the logic to handle HEST source ID

2024-09-13 Thread Mauro Carvalho Chehab
The current logic is based on a lot of duct tape, with offsets calculated based on one define with the number of source IDs and an enum. Rewrite the logic in a way that it would be more resilient of code changes, by moving the source ID count to an enum and make the offset calculus more explicit.