[Bug 1043231] New: Kernel build failed at armv7hl
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231 Bug ID: 1043231 Summary: Kernel build failed at armv7hl Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: armv7 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: matwey.kornilov@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 728059 --> http://bugzilla.opensuse.org/attachment.cgi?id=728059&action=edit 0001-ARM-EXYNOS-Remove-calls-to-of_genpd_get_from_provide.patch Hello, There is Leap 42.3 Port for armv7hl architecture. However, in order to build kernel the patches attached here should be applied. kernel-vanilla is built successfully. kernel-default patching is required to adapt armv7hl-specific parts to backported suse patches. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c1
--- Comment #1 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c2
--- Comment #2 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c3
--- Comment #3 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c4
--- Comment #4 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c5
--- Comment #5 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c6
--- Comment #6 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c7
--- Comment #7 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c8
--- Comment #8 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c9
--- Comment #9 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c10
--- Comment #10 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c11
--- Comment #11 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c12
--- Comment #12 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c13
--- Comment #13 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c14
--- Comment #14 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c15
--- Comment #15 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c16
--- Comment #16 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c17
--- Comment #17 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c18
--- Comment #18 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c19
--- Comment #19 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c20
--- Comment #20 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c21
Takashi Iwai
0001-ARM-EXYNOS-Remove-calls-to-of_genpd_get_from_provide.patch is 0002-mvebu-Use-dev_pm_opp_set_sharing_cpus-to-mark-OPP-ta.patch is 0003-cpufreq-tegra124-No-need-of-setting-platform-data.patch is
They are fine.
0004-extcon-adc-jack-Remove-the-usage-of-extcon_set_state.patch 0005-extcon-arizona-Remove-the-usage-of-extcon_update_sta.patch
OK, these aren't used for x86, so it's no big problem about kABI change for now.
0006-input-misc-max77693-Use-pwm_get_args-where-appropria.patch
Ditto.
0007-ACPI-bus-add-stub-acpi_evaluate_dsm-to-linux-acpi.h.patch 0008-ACPI-bus-add-stub-acpi_dev_found-to-linux-acpi.h.patch
These are required to fix:
/home/matwey/lab/linux/drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c: In function 'hns_dsaf_get_cfg': /home/matwey/lab/linux/drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c:64: 7: error: implicit declaration of function 'acpi_dev_found' [-Werror=implicit-function-declaration] if (acpi_dev_found(hns_dsaf_acpi_match[0].id))
So, actually it is SUSE kernel patch net-hns-dsaf-adds-support-of-acpi.patch which breaks hisilicon compilation for armv7l. I think there could be three options 1) accepting ACPI-* patches 2) fixing net-hns-dsaf-adds-support-of-acpi.patch, net-hns-net-hns-enet-adds-support-of-acpi.patch, net-hns-Add-ACPI-support-to-check-SFP-present.patch and net-hns-implement-the-miscellaneous-operation-by-asl.patch in order no to use acpi_dev_found() and acpi_evaluate_dsm() functions at armv7l 3) disable NET_VENDOR_HISILICON_HNS in config and not to build this code. What would you prefer?
I put Benjamin to Cc. But I guess these two are fine from the kABI POV, too, as they just add dummy static inline functions. So far, so good. I'll try to apply these ones. Let's check the rest. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c22
--- Comment #22 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
Alexander Graf
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c23
--- Comment #23 from Alexander Graf
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c25
--- Comment #25 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c26
--- Comment #26 from Andreas Färber
0010-pwm-rcar-Make-use-of-pwm_is_enabled.patch:
is needed to fix:
/home/matwey/lab/linux/drivers/pwm/pwm-rcar.c: In function 'rcar_pwm_config': /home/matwey/lab/linux/drivers/pwm/pwm-rcar.c:160:16: error: 'PWMF_ENABLED' undeclared (first use in this function) if (!test_bit(PWMF_ENABLED, &pwm->flags) && !duty_ns)
It is rk3399-pwm-0009-pwm-Move-the-enabled-disabled-info-into-pwm_state.patch who stole PWMF_ENABLED macro definition. Aarch64 team could found it by itself since pwm-rcar is required for Renesas R8A7795-based 64-bit boards (but CONFIG_PWM_RCAR is not enabled in arch64 default config). Since pwm-rcar is useless for armv7l I think there is also option to drop CONFIG_PWM_RCAR from armv7l config. What would you prefer?
Dirk had disabled all Renesas ARMv7 drivers on master at one point, so please just disable any R-Car drivers in Leap. (-> Tumbleweed for new stuff) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231
http://bugzilla.opensuse.org/show_bug.cgi?id=1043231#c27
--- Comment #27 from Takashi Iwai
participants (1)
-
bugzilla_noreply@novell.com