update main to next major BISDN Linux version#192
Draft
KanjiMonster wants to merge 21 commits intomainfrom
Draft
update main to next major BISDN Linux version#192KanjiMonster wants to merge 21 commits intomainfrom
KanjiMonster wants to merge 21 commits intomainfrom
Conversation
7352bce to
1dd408f
Compare
We are targeting now scarthgap. Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
It looks like the GCC in scarthgap enables a few more warnings as errors, which break the build with it. While fixing these issues would be best, the fixes aren't always trivial, so ignore them for now. Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Yocto added the taskstats feature for qemuall builds with 351f82b99181
("linux-yocto: Enable kernel-sample features for runtime tests") [1],
which triggers a config warning:
WARNING: linux-yocto-onl-6.6.100+git-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration:
[NOTE]: 'CONFIG_SCHED_INFO' last val (n) and .config val (y) do not match
[INFO]: CONFIG_SCHED_INFO : y ## .config: 4438 :configs//bsp/armel-iproc/armel-iproc.cfg (n)
[INFO]: raw config text:
config SCHED_INFO
bool
default n
[INFO]: config 'CONFIG_SCHED_INFO' was set, but it wasn't assignable, check (parent) dependencies
[INFO]: selection details for 'CONFIG_SCHED_INFO':
Symbols currently y-selecting this symbol:
- TASK_DELAY_ACCT
Symbols currently n-selecting this symbol (no effect):
- SCHEDSTATS
Since this features seems to be only needed for using qemu to run the
image, and our kernel is hardware-specific so cannot be run in qemu,
let's remove the feature for now.
[1] openembedded/openembedded-core@351f82b
Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Scarthgap targets linux 6.6, so meta-virtualization provides its own include. On the other hand, there is no include for 5.15 anymore, so move our include there. Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Instead of replacing the upstream virtio.cfg, make it a (revert) patch. The build system has special handling for patches for kernel-meta, so patching it works as expected. Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
When using virtualization on scarthgap, it uses a separate kernel-meta checkout for the virtualization fragments, so any changes we do in the main kernel-meta are ineffective. Therefore make sure we also patch the second checkout from meta-virtualization. Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
It looks like newer runc(?) versions are confused if seccomp support is
disabled in docker/runc, but the kernel supports it, and fails to start
up:
fatal: [agema-ag7648-1.switch-testing.bisdn.de]: FAILED! => {"changed": false, "msg": "Error starting container 999f195b40f104fa4e1b5e45002c415c466dce6021daec841cc41d2eea184487: 500 Server Error for http+docker://localhost/v1.44/containers/999f195b40f104fa4e1b5e45002c415c466dce6021daec841cc41d2eea184487/start: Internal Server Error (\"failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: seccomp: config provided but seccomp not supported: unknown\")"}
Work around this by disabling seccomp in the kernel for x86-64 like it
is disabled for armel-iproc.
We may still decide to enable seccomp again at a later time, but for now
let's keep the changes minimal.
Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Now that we are on scarthgap, we do not need our own cve-exclusion.inc anymore, and can just use the one openembedded-core directly. So remove it and the conversion script. Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Scarthgap replaces CVE_CHECK_IGNORE with CVE_STATUS. Update the generate-cve-exclisions script to the upstream version [1] and regenerate our exclusions so they follow the new format. [1] https://github.com/yoctoproject/poky/blob/e9b0ebda42fe67fb23ce72dafde419a392ba2149/meta/recipes-kernel/linux/generate-cve-exclusions.py Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Update onl to latest HEAD from 2024-09-21, to have the last version available. Allows to drop a few patches merged upstream. Changelog (without merge commits): bb648d56281a Fixed broken URL to HCL page f664022ad949 Multirate Soft Select bit manipulation 179eb6c27829 For platform AS7535-28XB-O-AC-F enhanced the sfpi.c with read/write api's to support ONLP_SFP_CONTROL for 'Soft Rate_Select Select' in Optional Status/Control Bits as per SFF-8472 Specification for Management Interface for SFP+ 83b4174e6b66 Enhanced the ONLP_SFP_CONTROL for 'Soft Rate_Select Select' in Optional Status/Control Bits as per SFF-8472 Specification for Management Interface for SFP+ c4cad54c0ae7 [Edgecore][AS5916-54XL] Add lpmode and reset function e9004a4ee495 [Edgecore][as9817-64d][as9817-64o] enhanced the error messages when failing to communicate with BMC bfd32457131f [Edgecore][as9817-64d][as9817-64o] Fixed spi_busy_reg's pcie addr issue 1. the pcie addr of spi_busy_reg becomes the current bar0 addr plus spi_busy_reg offset, instead of a fixed addr. b24ec65b7f6b [Accton][as9817-64d-nb][as9817-64o-nb] Add new platform 8b6d59312e52 [Edgecore][as9817-64d][as9817-64o] Add new platform a94212c34337 [Edgecore][AS5916-54XKS] Support QSFP reset funcion and LP mode 1. Support QSFP reset funcion 2. Support QSFP LP mode e93637540996 [Edgecore][as5912-54x] Add lpmode and reset function 405a9d2b8a0c [Edgecore][as7946-30xb] Add LP mode and fix reset function 1e73ee1c07b7 [Edgecore][as7926_40xfb] Revise locator led definition based on latest hardware specification f1f6f9b220c4 [Edgecore][as7535_28xb] Add QSFP LP Mode ccbb19635465 [Edgecore][as7926_40xfb] Revise OnlPlatformPortConfig information 5ca3163b66b4 [Edgecore][AS4630-54TE] Add controlling function of QSFP Tx disable b8d64690e85b [Edgecore][AS4630-54PE] Add controlling function of QSFP Tx disable 0ecf75e1354e accton-as4610: let CPLD handle the LED device 58af58fdede5 accton-as4610: fix FAN driver id table 48a38a383340 accton-as4610: let CPLD handle the FAN device c2f87e5ed66c accton-as4610: fix value truncation when accessing leds ba9bfecf801a accton-as4610: fix buffer overflow while accessing led states 1b10065ec23c Fix redefinition issues 76d6834c7e96 Remove the configuration about DiagOS 3448e3b90de1 Add <-onie> for secureboot 5f4031ffd34e Add patch for silverstonev2 ce6d7145e356 Add silverstonev2 platform 3cd5b2739860 optoe: fix race in sysfs registration on probe 5cf7eb1a46e6 [Edgecore][AS7535-28XB] Support R01 with 6 thermals adn R02 with 8 thermals 7152797915fc [Edgecore][as7816_64x] enhanced the thermal support of onlp 1. modified the thermal sensor description from "Chassis Thermal Sensor x" to "LM75-x-Addr". 2. can automatically judge if the current fan is of F2B or B2F and assign the corresponding thermal thresholds. 82106240fea1 [as7716-24sc] Use dos2unix to remove ^M (carriage return) 85910da8eabc [as7716-24sc] Support new PSU model on ONL To support as7716-24sc new PSU model, 1. Add new PSU model(AcBel R1CA2122A, AcBel R1CD2122A) 2. Add threshold table to new PSU model Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Update kernel API usage for kernel 6.12 for platform modules: * 6.8 dropped strlcpy, with the replacement being strscpy (mostly) * 6.10 dropped the fourth argument of i2c_mux_add_adapter() * 6.11 changed the return code of platform_driver::remove() from int to void. Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Update bcm591xx to work with kernel 6.12. Mostly minor things, i.e.: * return type of pse_ops::receive() was changed from ssize_t to size_t * unaligned.h was moved from asm to linux Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Update strace to 6.12 matching the 6.12 LTS kernel, taken from walnascar [1] [1] https://github.com/openembedded/openembedded-core/tree/07d4e9312781f5a865cbdd088d5e3485e8c1bffc/meta/recipes-devtools/strace Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Add support for Linux 6.12, and update the kernel configs accordingly: v6.12.10: * CLOCKSOURCE_VALIDATE_LAST_CYCLE: e26cbab9821a timekeeping: Always check for negative motion * DEBUG_TIMEKEEPING: 7b7a9175c63b timekeeping: Remove CONFIG_DEBUG_TIMEKEEPING v6.12: * ARCH_USES_PG_UNCACHED: 7a87225ae2c6 x86: remove PG_uncached * I2C_COMPAT: 7e722083fcc3 i2c: Remove I2C_COMPAT config symbol and related code * KEYBOARD_MCS: dd29eadee1e8 Input: msc_touchkey - remove the driver * MODULE_COMPRESS_NONE: c7ff693fa209 module: Split modules_install compression and in-kernel decompression * SND_VERBOSE_PRINTK: 504dc9f5e62e ALSA: core: Drop snd_print stuff and co * SPLIT_PTLOCK_CPUS: 394290cba966 mm: turn USE_SPLIT_PTE_PTLOCKS / USE_SPLIT_PTE_PTLOCKS into Kconfig options * TOUCHSCREEN_CYTTSP4_CORE: 25162a4f64f8 Input: cyttsp4 - remove driver * TOUCHSCREEN_MCS5000: e8858fc07eb8 Input: msc5000_ts - remove the driver v6.11: * EFI_FAKE_MEMMAP: 37aee82c213d x86/efi: Drop support for fake EFI memory maps * KALLSYMS_BASE_RELATIVE: 64e166099b69 kallsyms: get rid of code for absolute kallsyms * SENSORS_ADM1021: ed99ae74f232 hwmon: Remove obsolete adm1021 and max6642 drivers * SENSORS_MAX6642: ed99ae74f232 hwmon: Remove obsolete adm1021 and max6642 drivers * TEST_USER_COPY: cf6219ee889f usercopy: Convert test_user_copy to KUnit test v6.10: * ACPI_CUSTOM_METHOD: 0cc46f1a52b4 ACPI: Drop the custom_method debugfs interface * AMD_IOMMU_V2: 5a0b11a180a9 iommu/amd: Remove iommu_v2 module * ARCH_HAS_UBSAN_SANITIZE_ALL: 918327e9b7ff ubsan: Remove CONFIG_UBSAN_SANITIZE_ALL * BASE_FULL: 27021649ec88 printk: Remove redundant CONFIG_BASE_FULL * BPFILTER: 98e20e5e13d2 bpfilter: remove bpfilter * CMA_DEBUG: fe58582c0e36 mm/cma: drop CONFIG_CMA_DEBUG * CRASH_CORE => VMCORE_INFO: CRASH_CORE: 443cbaf9e2fd crash: split vmcoreinfo exporting code out from crash_core.c * CRYPTO_CFB: 412ac51ce0b8 crypto: cfb,ofb - Remove cfb and ofb * CRYPTO_OFB: 412ac51ce0b8 crypto: cfb,ofb - Remove cfb and ofb * DRM_DP_AUX_CHARDEV => DRM_DISPLAY_DP_AUX_CHARDEV: 4d66d841a725 drm/display: Make DisplayPort AUX Chardev Kconfig name consistent * DRM_DP_CEC => DRM_DISPLAY_DP_AUX_CEC: 847ad2b5afe6 drm/display: Make DisplayPort CEC-over-AUX Kconfig name consistent * DRM_LEGACY: 94f8f319cbcb drm: Remove Kconfig option for legacy support * FB_LE80578: d9f25b59ed85 fbdev: Remove support for Carillo Ranch driver * FB_SYS_FOPS => FB_SYSMEM_FOPS: 27ad64eac10f fbdev: Rename FB_SYS_FOPS token to FB_SYSMEM_FOPS * HAVE_FAST_GUP => HAVE_GUP_FAST: 25176ad09ca3 mm/treewide: rename CONFIG_HAVE_FAST_GUP to CONFIG_HAVE_GUP_FAST * HAVE_KVM: f48212ee8e78 treewide: remove CONFIG_HAVE_KVM * HW_CONSOLE: 5c49b6a4a4bc vt: remove superfluous CONFIG_HW_CONSOLE * LEDS_TRIGGER_AUDIO: a24de38de804 ALSA: control-led: Integrate mute led trigger * MD_FAULTY: 415c7451872b md: Remove deprecated CONFIG_MD_FAULTY * MD_LINEAR: 849d18e27be9 md: Remove deprecated CONFIG_MD_LINEAR * MD_MULTIPATH: d8730f0cf4ef md: Remove deprecated CONFIG_MD_MULTIPATH * MTD_AR7_PARTS: f10672800876 mtd: parsers: ar7: remove support * MTD_INTEL_VR_NOR: 77bf03252839 mtd: Remove support for Carillo Ranch driver * NET_ACT_IPT: 86fe596b588f net: sched: Remove NET_ACT_IPT from Kconfig * NTFS_DEBUG: 7ffa8f3d3023 fs: Remove NTFS classic * NTFS_RW: 7ffa8f3d3023 fs: Remove NTFS classic * PAGE_TABLE_ISOLATION => MITIGATION_PAGE_TABLE_ISOLATION: ea4654e08853 x86/bugs: Rename CONFIG_PAGE_TABLE_ISOLATION => CONFIG_MITIGATION_PAGE_TABLE_ISOLATION * QLGE: 875be090928d staging: qlge: Retire the driver * RETPOLINE => MITIGATION_RETPOLINE: aefb2f2e619b x86/bugs: Rename CONFIG_RETPOLINE => CONFIG_MITIGATION_RETPOLINE * SLAB: 2a19be61a651 mm/slab: remove CONFIG_SLAB from all Kconfig and Makefile * STRING_SELFTEST: 29d8568849fe string: Convert selftest to KUnit * STRSCPY_KUNIT_TEST: bb8d9b742aa7 string: Merge strscpy KUnit tests into string_kunit.c * TEST_STRING_HELPERS: fb57550fcbd8 string: Convert helpers selftest to KUnit * THERMAL_WRITABLE_TRIPS: a85739c8c689 thermal: Get rid of CONFIG_THERMAL_WRITABLE_TRIPS * UNIX_SCM: 99a7a5b9943e af_unix: Remove CONFIG_UNIX_SCM. * XZ_DEC_IA64: cf8e8658100d arch: Remove Itanium (IA-64) architecture Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Update linux-libc-headers to 6.12 matching our kernel version. Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Now that kernel 6.12 is available, switch to it. Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Update linux 6.12 to 6.12.58 and kmeta accordingly. Changelogs: * https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.58 * https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.57 * https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.56 * https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.55 Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Update kernel 6.12 to 6.12.62 and kmeta to HEAD. Changelogs: * https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.62 * https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.61 * https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.60 * https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.59 Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Unsubmitted is not a valid Upstream-Status state, so update the patch to Inactive-Upstream, like all others. Fixes: 508e406 ("onl: update and fixup Upstream-Status tags") Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
${S} is set to ${WORKDIR}/git, so replace the explicit git/ in
destsuffix with ${S}. This makes the recipe more robust against upstream
changes.
Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Newer Yocto versions complain about lack of whitespace around
assignment, so add the required whitespaces.
WARNING: .../poky/meta-open-network-linux/conf/machine/include/onl.inc:12 has a lack of whitespace around the assignment: 'ONL_PLATFORM="${@'${ONIE_ARCH}-${ONIE_MACHINE}'.replace('_', '-')}"'
Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft pull request to collect all next major BISDN Linux changes. Will be rebased from time to time.
Contains:
Pending:
WIP: