Re: [PATCH v9 02/12] acpi/ghes: rework the logic to handle HEST source ID

2024-09-13 Thread Mauro Carvalho Chehab
Em Wed, 11 Sep 2024 17:01:57 +0200 Igor Mammedov escreveu: > On Sun, 25 Aug 2024 05:45:57 +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 v9 02/12] acpi/ghes: rework the logic to handle HEST source ID

2024-09-11 Thread Igor Mammedov
On Sun, 25 Aug 2024 05:45:57 +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 v9 02/12] acpi/ghes: rework the logic to handle HEST source ID

2024-08-24 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.