#
13182cd7 |
| 30-May-2023 |
Nikos Nikoleris <nikos.nikoleris@arm.com> |
arm64: Add support for gic initialization through ACPI
In systems with ACPI support and when a DT is not provided, we can use the MADTs to figure out if it implements a GICv2 or a GICv3 and discover
arm64: Add support for gic initialization through ACPI
In systems with ACPI support and when a DT is not provided, we can use the MADTs to figure out if it implements a GICv2 or a GICv3 and discover the GIC parameters. This change implements this but retains the default behavior; we check if a valid DT is provided, if not, we try to discover the cores in the system using ACPI.
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|
#
3d29f825 |
| 30-May-2023 |
Nikos Nikoleris <nikos.nikoleris@arm.com> |
arm64: Add support for cpu initialization through ACPI
In systems with ACPI support and when a DT is not provided, we can use the MADTs to discover the number of CPUs and their corresponding MIDR. T
arm64: Add support for cpu initialization through ACPI
In systems with ACPI support and when a DT is not provided, we can use the MADTs to discover the number of CPUs and their corresponding MIDR. This change implements this but retains the default behavior; we check if a valid DT is provided, if not, we try to discover the cores in the system using ACPI.
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Shaoqin Huang <shahuang@redhat.com> Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|
#
64cd0cc1 |
| 30-May-2023 |
Nikos Nikoleris <nikos.nikoleris@arm.com> |
lib/acpi: Extend the definition of the FADT table
This change add more fields in the APCI table FADT to allow for the discovery of the PSCI conduit in arm64 systems. The definition for FADT is simil
lib/acpi: Extend the definition of the FADT table
This change add more fields in the APCI table FADT to allow for the discovery of the PSCI conduit in arm64 systems. The definition for FADT is similar to the one in include/acpi/actbl.h in Linux.
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Ricardo Koller <ricarkol@google.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Shaoqin Huang <shahuang@redhat.com> Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|
#
74e927c7 |
| 30-May-2023 |
Nikos Nikoleris <nikos.nikoleris@arm.com> |
lib/acpi: Add support for the XSDT table
XSDT provides pointers to other ACPI tables much like RSDT. However, contrary to RSDT that provides 32-bit addresses, XSDT provides 64-bit pointers. ACPI req
lib/acpi: Add support for the XSDT table
XSDT provides pointers to other ACPI tables much like RSDT. However, contrary to RSDT that provides 32-bit addresses, XSDT provides 64-bit pointers. ACPI requires that if XSDT is valid then it takes precedence over RSDT.
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Andrew Jones <andrew.jones@linux.dev> [ Alex E: Use flexible array member for XSDT struct ] Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com> Reviewed-by: Shaoqin Huang <shahuang@redhat.com> Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|
#
169f786f |
| 30-May-2023 |
Alexandru Elisei <alexandru.elisei@arm.com> |
lib/acpi: Convert table names to Linux style
kvm-unit-tests is about to import several table struct definitions from Linux, convert the names of the existing tables to follow the Linux style.
This
lib/acpi: Convert table names to Linux style
kvm-unit-tests is about to import several table struct definitions from Linux, convert the names of the existing tables to follow the Linux style.
This is purely a cosmetic change and no functional change is intended.
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|
#
e2ad9858 |
| 30-May-2023 |
Nikos Nikoleris <nikos.nikoleris@arm.com> |
lib: Fix style for acpi.{c,h}
Manually fix style issues to make the files consistent with the kernel coding style.
Zero-length array members have been replaced with flexible array members (for deta
lib: Fix style for acpi.{c,h}
Manually fix style issues to make the files consistent with the kernel coding style.
Zero-length array members have been replaced with flexible array members (for details about the motivation, consult Documentation/process/deprecated.rst in the Linux tree, the section about zero-length and one-element arrays).
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com> [ Alex E: changes other than indentation ] Reviewed-by: Shaoqin Huang <shahuang@redhat.com> Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|
#
b3e76d57 |
| 30-May-2023 |
Nikos Nikoleris <nikos.nikoleris@arm.com> |
lib: Apply Lindent to acpi.{c,h}
The change was done by modifying Linux's scripts/Lindent to use 100 columns instead of 80.
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Sha
lib: Apply Lindent to acpi.{c,h}
The change was done by modifying Linux's scripts/Lindent to use 100 columns instead of 80.
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Shaoqin Huang <shahuang@redhat.com> Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|
#
670b1f54 |
| 30-May-2023 |
Nikos Nikoleris <nikos.nikoleris@arm.com> |
lib: Move acpi header and implementation to lib
Move acpi.h to lib to make it available for other architectures.
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Shaoqin Huang
lib: Move acpi header and implementation to lib
Move acpi.h to lib to make it available for other architectures.
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Shaoqin Huang <shahuang@redhat.com> Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|
#
0d99dcec |
| 26-Jun-2023 |
Andrew Jones <andrew.jones@linux.dev> |
arm/arm64: MAINTAINERS: Drop deprecated list
The list has been dead long enough for everyone to learn it's dead, but it's still in MAINTAINERS, which means get_maintainer will keep adding to patch s
arm/arm64: MAINTAINERS: Drop deprecated list
The list has been dead long enough for everyone to learn it's dead, but it's still in MAINTAINERS, which means get_maintainer will keep adding to patch submissions. Time to drop it.
Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|