- Remove #include <> header files.
- Remove APM_CNT register defines, which should not be here as
they are SMI related.
- Remove MP_IRQ_ defines as they are duplicates of the same ones
in asm/mpspec.h.
- Remove ACTL register defines, which should not be here as they
are chipset specific.
-
Rename fill_header() to acpi_fill_header() for consistency.
Change its signature to remove the 'length' parameter and
make it a public API.
Also remove the unnecessary include files, and improve the
AmlCode[] comment a little bit.
Signed-off-by: Bin Meng
Reviewed-by: Stefan
It will be much easier if we split the whole dsdt.asl file into
multiple smaller ASL parts and have access to U-Boot include files.
Signed-off-by: Bin Meng
Reviewed-by: Stefan Roese
Tested-by: Stefan Roese
---
Changes in v2: None
Remove -va option when invoking IASL compiler so that we can see
errors/warnings/remarks in the build log.
Signed-off-by: Bin Meng
Reviewed-by: Stefan Roese
Tested-by: Stefan Roese
---
Changes in v2: None
scripts/Makefile.lib | 2 +-
1 file
Fix the following two build warnings in function 'write_acpi_tables':
warning: format '%lx' expects argument of type 'long unsigned int',
but argument 2 has type 'u32' [-Wformat=]
Signed-off-by: Bin Meng
Reviewed-by: Stefan Roese
Tested-by: Stefan Roese
This updates all x86 boards that currently have IRQ router in the
dts files to include ACTL register details.
Signed-off-by: Bin Meng
Reviewed-by: Stefan Roese
Tested-by: Stefan Roese
---
Changes in v2: None
arch/x86/dts/bayleybay.dts
Currently the make rule for dsdt.c uses a wildcard, as below:
$(obj)/%.c:$(src)/%.asl
To avoid any side effect, explicitly mention dsdt.c as this is
the file we intend to use for ACPI DSDT AML generation.
Signed-off-by: Bin Meng
Reviewed-by: Stefan Roese
By default SCI is disabled after power on. ACTL is the register to
enable SCI and route it to PIC/APIC. To support both ACPI in PIC
mode and APIC mode, configure SCI to use IRQ9.
Signed-off-by: Bin Meng
Reviewed-by: Stefan Roese
Tested-by: Stefan Roese
Currently when compiling U-Boot with ASL file, the build log says:
ASL board/intel/bayleybay/dsdt.c
This looks odd as ASL compiler's input is ASL file, not C file.
Change the make rule to use $< instead.
Signed-off-by: Bin Meng
Reviewed-by: Stefan Roese
Reserve IRQ9 which is to be used as SCI interrupt number
for ACPI in PIC mode.
Signed-off-by: Bin Meng
Reviewed-by: Stefan Roese
Tested-by: Stefan Roese
---
Changes in v2:
- Change to use IS_ENABLED()
arch/x86/cpu/irq.c | 5 +
1 file
This series introduces initial ACPI support for Intel BayTrail.
Advanced Configuration and Power Interface (ACPI) aims to establish
industry-standard interfaces enabling OS-directed configuration, power
management, and thermal management of mobile, desktop, and server platforms.
Linux can boot
The following build warning is seen in tables.c:
warning: implicit declaration of function 'memalign'
Add the missing header file to fix it.
Signed-off-by: Bin Meng
Reviewed-by: Stefan Roese
Tested-by: Stefan Roese
---
Changes in v2: None
Remove asm/acpi.h which is never used.
Signed-off-by: Bin Meng
Reviewed-by: Stefan Roese
Tested-by: Stefan Roese
---
Changes in v2: None
arch/x86/cpu/ivybridge/lpc.c | 1 -
arch/x86/cpu/ivybridge/model_206ax.c | 1 -
Hi Stefan,
On Tue, May 3, 2016 at 8:31 PM, Stefan Roese wrote:
> Hi Bin,
>
>
> On 02.05.2016 09:33, Bin Meng wrote:
>>
>> By default SCI is disabled after power on. ACTL is the register to
>> enable SCI and route it to PIC/APIC. To support both ACPI in PIC
>> mode and APIC mode,
On 07.05.16 09:12, Masahiro Yamada wrote:
> Hi.
>
> I assume the following code in
> arch/arm/cpu/armv8/start.S is for spin-table.
>
>
>
> #ifdef CONFIG_ARMV8_MULTIENTRY
>branch_if_master x0, x1, master_cpu
>
>/*
> * Slave CPUs
> */
> slave_cpu:
>wfe
Hi.
I assume the following code in
arch/arm/cpu/armv8/start.S is for spin-table.
#ifdef CONFIG_ARMV8_MULTIENTRY
branch_if_master x0, x1, master_cpu
/*
* Slave CPUs
*/
slave_cpu:
wfe
ldr x1, =CPU_RELEASE_ADDR
ldr x0, [x1]
cbz x0,
101 - 116 of 116 matches
Mail list logo