Hi Itaru,
http://git.linaro.org/leg/acpi/acpi.git/commit/2399067775ba5f65038ed0b5dc334...
Was supposed to fix that, I obviously missed a corner case, can you send me your .config file.
Thanks
Graeme
On 15 July 2015 at 12:01, Itaru Kitayama itaru.kitayama@riken.jp wrote:
Hi Graeme,
My build still fails on Mustang in the Linaro's ARMv8 server lab:
$ make CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CHK include/generated/bounds.h CHK include/generated/timeconst.h CHK include/generated/asm-offsets.h CALL scripts/checksyscalls.sh CHK include/generated/compile.h CHK include/generated/uapi/linux/version.h LINK vmlinux LD vmlinux.o MODPOST vmlinux.o GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o drivers/built-in.o: In function `pcibios_set_phb_msi_domain': /home/itaru.kitayama/devel/drivers/pci/probe.c:669: undefined reference to `pci_acpi_set_phb_msi_domain' Makefile:918: recipe for target 'vmlinux' failed make: *** [vmlinux] Error 1
On 7/15/15 12:42 AM, G Gregory wrote:
Hi Itaru,
I have pushed some fixes which should hopefully fix the compile issues. But I do not have hardware to test result.
Graeme
On 10 July 2015 at 10:53, Itaru Kitayama itaru.kitayama@riken.jp wrote:
Hi Graeme, I would like to configure KVM in for my purposes.
Itaru
On 7/10/15 5:07 PM, G Gregory wrote:
Hi Itaru,
It looks like KVM is broken in Als branch, I would disable it in .config
I do not have a .config for mustang
Graeme
On 10 July 2015 at 01:17, Itaru Kitayama itaru.kitayama@riken.jp wrote:
Al, Graeme,
Do you have the .config file? Build still fails.
CC arch/arm64/kvm/../../../virt/kvm/arm/vgic.o CC arch/arm64/kvm/../../../virt/kvm/arm/vgic-v2.o
arch/arm64/kvm/../../../virt/kvm/arm/vgic-v2.c: In function ‘vgic_v2_acpi_probe’: arch/arm64/kvm/../../../virt/kvm/arm/vgic-v2.c:276:8: error: implicit declaration of function ‘acpi_table_parse_madt’ [-Werror=implicit-function-declaration] ret = acpi_table_parse_madt(ACPI_MADT_TYPE_GENERIC_INTERRUPT, ^ arch/arm64/kvm/../../../virt/kvm/arm/vgic-v2.c:277:5: error: ‘acpi_tbl_entry_handler’ undeclared (first use in this function) (acpi_tbl_entry_handler)gic_get_acpi_header, 0); ^ arch/arm64/kvm/../../../virt/kvm/arm/vgic-v2.c:277:5: note: each undeclared identifier is reported only once for each function it appears in arch/arm64/kvm/../../../virt/kvm/arm/vgic-v2.c:277:28: error: expected ‘)’ before ‘gic_get_acpi_header’ (acpi_tbl_entry_handler)gic_get_acpi_header, 0); ^ arch/arm64/kvm/../../../virt/kvm/arm/vgic-v2.c:290:20: error: implicit declaration of function ‘acpi_register_gsi’ [-Werror=implicit-function-declaration] vgic->maint_irq = acpi_register_gsi(NULL, vgic_acpi->vgic_interrupt, ^ arch/arm64/kvm/../../../virt/kvm/arm/vgic-v2.c: At top level: arch/arm64/kvm/../../../virt/kvm/arm/vgic-v2.c:264:13: warning: ‘gic_get_acpi_header’ defined but not used [-Wunused-function] static void gic_get_acpi_header(struct acpi_subtable_header *header) ^ cc1: some warnings being treated as errors scripts/Makefile.build:258: recipe for target 'arch/arm64/kvm/../../../virt/kvm/arm/vgic-v2.o' failed make[1]: *** [arch/arm64/kvm/../../../virt/kvm/arm/vgic-v2.o] Error 1 Makefile:943: recipe for target 'arch/arm64/kvm' failed make: *** [arch/arm64/kvm] Error 2
On 7/10/15 1:23 AM, Al Stone wrote:
On 07/09/2015 04:59 AM, G Gregory wrote: > > On 9 July 2015 at 06:17, Itaru Kitayama itaru.kitayama@riken.jp > wrote: >> >> Hi, >> >> Build of the topic branch fails with an error: >> >> CHK include/config/kernel.release >> CHK include/generated/uapi/linux/version.h >> CHK include/generated/utsrelease.h >> CHK include/generated/bounds.h >> CHK include/generated/timeconst.h >> CHK include/generated/asm-offsets.h >> CALL scripts/checksyscalls.sh >> CHK include/generated/compile.h >> CC arch/arm64/kernel/setup.o >> arch/arm64/kernel/setup.c: In function ‘arm64_spcr_setup’: >> arch/arm64/kernel/setup.c:603:3: error: implicit declaration of >> function >> ‘acpi_setup_spcr’ [-Werror=implicit-function-declaration] >> acpi_setup_spcr(); >> ^ >> cc1: some warnings being treated as errors >> scripts/Makefile.build:258: recipe for target >> 'arch/arm64/kernel/setup.o' >> failed >> make[1]: *** [arch/arm64/kernel/setup.o] Error 1 >> Makefile:943: recipe for target 'arch/arm64/kernel' failed >> make: *** [arch/arm64/kernel] Error 2 >> > Looks like Al forgot this patch. > > > > > http://git.linaro.org/leg/acpi/acpi.git/commit/325c9758bd4b7f35faa83e1fb8933... > > I assume he will update the tree later. > > Quick fix is to set CONFIG_ACPI_SPCR in .config > > Graeme
Whoops. My apologies. I had CONFIG_ACPI_SPCR set already so I missed this. I pushed the patch mentioned into the topic branch.