include/acpi/actbl2.h | 132 +++++++++++++++++++++++++++++++----------- 1 file changed, 99 insertions(+), 33 deletions(-)
AEST V2 was published[1], add V2 support based on AEST V1. Fix some code styling issues as well. Change from v1: - fix error variable name in struct acpi_aest_node_interface_64k. [1]: https://developer.arm.com/documentation/den0085/latest/ Ruidong Tian (2): ACPICA: AEST: Fix coding style at struct definition ACPICA: AEST: Add support for the AEST V2 table include/acpi/actbl2.h | 132 +++++++++++++++++++++++++++++++----------- 1 file changed, 99 insertions(+), 33 deletions(-) -- 2.33.1
On Wed, Apr 10, 2024 at 02:36:00PM +0800, Ruidong Tian wrote: > AEST V2 was published[1], add V2 support based on AEST V1. > Any changes to ACPICA has to get merged in the external ACPICA project. Refer [1] for details from Rafael. You can also refer [2] in the kernel docs. -- Regards, Sudeep [1] https://lore.kernel.org/all/CAJZ5v0g087vTJmgLHssedyCuhh61F_hR+TP3HQpoTACuzh+0jA@mail.gmail.com [2] Documentation/driver-api/acpi/linuxized-acpica.rst
在 2024/4/10 17:22, Sudeep Holla 写道: > On Wed, Apr 10, 2024 at 02:36:00PM +0800, Ruidong Tian wrote: >> AEST V2 was published[1], add V2 support based on AEST V1. >> > > Any changes to ACPICA has to get merged in the external ACPICA project. > Refer [1] for details from Rafael. You can also refer [2] in the kernel > docs. > Patch1 is just a fix to follow kernel code style. Patch2 had merged to acpica project, PR link can be see in patch2 comment: Link: https://github.com/acpica/acpica/commit/ebb4979
On Thu, Apr 11, 2024 at 03:54:48PM +0800, Ruidong Tian wrote: > > > 在 2024/4/10 17:22, Sudeep Holla 写道: > > On Wed, Apr 10, 2024 at 02:36:00PM +0800, Ruidong Tian wrote: > > > AEST V2 was published[1], add V2 support based on AEST V1. > > > > > > > Any changes to ACPICA has to get merged in the external ACPICA project. > > Refer [1] for details from Rafael. You can also refer [2] in the kernel > > docs. > > > > Patch1 is just a fix to follow kernel code style. IIUC such changes are not allowed as ACPICA changes are always imported from the external project. So you have to take same route as patch2 > Patch2 had merged to > acpica project, PR link can be see in patch2 comment: > > Link: https://github.com/acpica/acpica/commit/ebb4979 Thanks, this will then get imported into kernel next time ACPICA changes get merged which usually happens regularly. -- Regards, Sudeep
在 2024/4/11 17:14, Sudeep Holla 写道:
> On Thu, Apr 11, 2024 at 03:54:48PM +0800, Ruidong Tian wrote:
>>
>>
>> 在 2024/4/10 17:22, Sudeep Holla 写道:
>>> On Wed, Apr 10, 2024 at 02:36:00PM +0800, Ruidong Tian wrote:
>>>> AEST V2 was published[1], add V2 support based on AEST V1.
>>>>
>>>
>>> Any changes to ACPICA has to get merged in the external ACPICA project.
>>> Refer [1] for details from Rafael. You can also refer [2] in the kernel
>>> docs.
>>>
>>
>> Patch1 is just a fix to follow kernel code style.
>
> IIUC such changes are not allowed as ACPICA changes are always imported
> from the external project. So you have to take same route as patch2
In ACPICA, all struct use typedef which is not allowed in kernel:
It's a **mistake** to use typedef for structures and pointers[1].
I see all other structs in actbl2.h follow this rule, so I fix all
typedef in AEST struct to follow kernel code style. But i can not apple
this fix in ACPICA. Patch1 is just a kernel patch.
[1]: Documentation/process/coding-style.rst
> 1
>> Patch2 had merged to
>> acpica project, PR link can be see in patch2 comment:
>>
>> Link: https://github.com/acpica/acpica/commit/ebb4979
>
> Thanks, this will then get imported into kernel next time ACPICA changes
> get merged which usually happens regularly.
>
On Fri, Apr 12, 2024 at 10:41:31AM +0800, Ruidong Tian wrote: > > > 在 2024/4/11 17:14, Sudeep Holla 写道: > > On Thu, Apr 11, 2024 at 03:54:48PM +0800, Ruidong Tian wrote: > > > > > > > > > 在 2024/4/10 17:22, Sudeep Holla 写道: > > > > On Wed, Apr 10, 2024 at 02:36:00PM +0800, Ruidong Tian wrote: > > > > > AEST V2 was published[1], add V2 support based on AEST V1. > > > > > > > > > > > > > Any changes to ACPICA has to get merged in the external ACPICA project. > > > > Refer [1] for details from Rafael. You can also refer [2] in the kernel > > > > docs. > > > > > > > > > > Patch1 is just a fix to follow kernel code style. > > > > IIUC such changes are not allowed as ACPICA changes are always imported > > from the external project. So you have to take same route as patch2 > > In ACPICA, all struct use typedef which is not allowed in kernel: > > It's a **mistake** to use typedef for structures and pointers[1]. > Fair enough. > I see all other structs in actbl2.h follow this rule, so I fix all typedef > in AEST struct to follow kernel code style. But i can not apple this fix in > ACPICA. Patch1 is just a kernel patch. > No patches from the kernel tree applies to APCICA because of some variations in the coding style that the import script modifies when applying to the kernel. So make similar changes in APCICA project and send it there. It will get imported if it gets merged there. -- Regards, Sudeep
© 2016 - 2026 Red Hat, Inc.