Граф коммитов

266 Коммитов

Автор SHA1 Сообщение Дата
Rachel Menge 6f338743d8
Build mpt2sas and mpt3sas drivers, and pata_legacy as modules (#10367)
CONFIG_SCSI_MPT2SAS and CONFIG_SCSI_MPT3SAS both point to the same driver for PCI-Express SAS 12Gb/s Host Adapters. Make loadable instead of built-in by default as not all use cases need these. We initially made these built-in with the initial distrobution of CBL-Mariner and not by specific request.

CONFIG_PATA_LEGACY supports PATA (Parallel ATA) the older parallel connected bus (those using ribbon cable). Make loadable instead of built-in by default.
2024-09-12 15:00:28 -07:00
Rachel Menge 5cafa37e12
Enable CET, IBT, and Paravirt spinlocks (#10365)
Enable CONFIG_PARAVIRT_SPINLOCK. Performance improvement. Changes the spinlock mechanism for virtualized environments to "something virtualization-friendly". This is recommended by upstream default.

Enable CONFIG_X86_KERNEL_IBT. A security feature to protect against indirect branch tracking. The kernel IBT defense strongly mitigates the common "first step" of ROP attacks, by eliminating arbitrary stack pivots. It is now a recommended default. Should not impact hardware which does not support it. 

Enable CONFIG_X86_CET. Selected by CONFIG_X86_KERNEL_IBT
2024-09-12 11:26:14 -07:00
Rachel Menge b52a6b59d6
Enable usb hiddev and serial ch341 (#10368)
Enable USB HID support for AMD. This feature allows devices to use the HIDDEV API. "The two big examples for this are power devices (especially uninterruptible power supplies) and monitor control on higher end monitors."
Enable the module ch341. This is being added as an optional loadable module to support using a Winchiphead CH341 single port USB to serial adapter.
2024-09-12 09:47:12 -07:00
jozzsi b2de6be6db
kernel-uki: remove usrmount from initrd (#10168) 2024-08-30 10:42:35 -07:00
Christopher Co bde321f1ea
fix: change bfq patch to select "none" scheduler as default (#10240)
On Azure, it is recommended to use an i/o scheduler that passes the scheduling decisions to the underlying Hyper-V hypervisor. In our case, we should use the "none" scheduler, which is also ideal for fast random I/O devices like NVMe. So we update Fedora's bfq patch to change the udev rule to select "none" instead of Fedora's default Budget Fair Queuing (bfq) and rename the patch from referencing "bfq" to "none".

https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/best-practices-for-running-linux-on-hyper-v#use-io-scheduler-noopnone-for-better-disk-io-performance

Signed-off-by: Chris Co <chrco@microsoft.com>
2024-08-23 18:26:53 -07:00
CBL-Mariner-Bot 36bb0399c2
[AUTOPATCHER-kernel] Kernel upgrade to version 6.6.47.1 - branch 3.0-dev (#10239)
Co-authored-by: Rachel Menge <rachelmenge@microsoft.com>
2024-08-22 20:19:13 -07:00
CBL-Mariner-Bot b3ea19c91a
[AUTOPATCHER-kernel] Kernel upgrade to version 6.6.44.1 - branch 3.0-dev (#10142) 2024-08-19 16:00:26 -07:00
Daniel McIlvaney da1c934dd5
Move grub2-rpm-macros to azurelinux-rpm-macros package (#10132)
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
2024-08-13 16:16:45 -07:00
Thien Trung Vuong fd623fa162
kernel-uki: include systemd-cryptsetup in initrd (#10103)
Signed-off-by: Thien Trung Vuong <tvuong@microsoft.com>
2024-08-12 09:45:44 -04:00
Trung 038fc33349
kernel-uki: UKI with new initrd (#10060)
Signed-off-by: Thien Trung Vuong <tvuong@microsoft.com>
2024-08-07 16:55:38 -07:00
Christopher Co ac95dc5df3
feat: enable USB_TMC as module (#10027)
Enable USB Test and Measurement Class driver as a loadable kernel
module. This module is used for many USB devices that meet the USB Test
and Measurement device specification, like HW and Power Analyzers.

Signed-off-by: Chris Co <chrco@microsoft.com>
2024-08-06 14:55:01 -07:00
Christopher Co a928ed0b6b
feat: Enable MPTCP (#10014)
Enable Multipath TCP (MPTCP) to allow using multiple interface paths to send and receive TCP packets for improving throughput and redundancy.

Signed-off-by: Chris Co <chrco@microsoft.com>
2024-08-05 11:09:19 -07:00
Rachel Menge c311b35d87
Enable EVM (#10004)
Enable the Extended Verification Module (EVM) support to allow the verification of security-related extended attributes like SELinux file labels or IMA hash

Signed-off-by: Chris Co <chrco@microsoft.com>
Co-authored-by: Chris Co <chrco@microsoft.com>
2024-08-02 19:54:17 -07:00
Christopher Co 747a3268ab
feat: Enable FS_VERITY and SECURITY_IPE LSM (#9979)
Enable FS-verity and Integrity Policy Enforcement LSM. These are useful security features that users/services can leverage to better secure their system.

Signed-off-by: Chris Co <chrco@microsoft.com>
2024-08-01 11:11:12 -07:00
CBL-Mariner-Bot e1fbaab983
[AUTOPATCHER-kernel] Kernel upgrade to version 6.6.43.1 - branch 3.0-dev (#9976) 2024-07-30 20:49:24 -07:00
Christopher Co 3e0884c6f1
feat: Add drivers for DMI and EROFS, dm-verity verification (#9971)
Add DMI sysfs and EROFS module support. Additionally hooks for Secure Boot with dm-verity verification.
These kconfigs will also be necessary to onboard Azure Linux into upstream systemd's CI testing.

Signed-off-by: Chris Co <chrco@microsoft.com>
2024-07-30 11:27:07 -07:00
CBL-Mariner-Bot cacdec2d12
[AUTOPATCHER-kernel] Kernel upgrade to version 6.6.39.1 - branch 3.0-dev (#9945)
Co-authored-by: Cameron Baird <cameronbaird@microsoft.com>
2024-07-29 14:18:08 -07:00
Kelsey Steele 1e36b3d4e0
kernel: config_aarch64: convert selected configs to modules (#9471)
Moving batch of configs that were built-in to be modules to maintain flexibility, though reduce kernel size and boot speed.

These modules are already set as modules on x86 and only targeted to change on arm64.

Signed-off-by: Kelsey Steele <kelseysteele@microsoft.com>
2024-07-26 10:09:16 -07:00
Christopher Co 0d3b213f0a
Revert "Upgrade grub2 from 2.06 to 2.12 (#9407)" (#9841)
TPM Event log does not appear to be passed to the kernel when Secure Boot is enforcing. To restore this critical functionality, revert back to our previous 2.06 grub2 which has this support and all SBAT-related CVEs patched.

This reverts commit 26d9bca
2024-07-16 10:01:44 -07:00
Trung ded92cfc96
Build kernel-uki and systemd-boot on x86_64 exclusively (#9742)
Signed-off-by: Thien Trung Vuong <tvuong@microsoft.com>
2024-07-10 21:41:11 -07:00
Gary Swalling 46076beaf3
enable kconfig SECONDARY_TRUSTED_KEYRING (#9540)
Enable the secondary keyring for partners to enroll their own key which is used to sign and validate kernel modules for a specific project. This limits the trust of modules built and signed by partners to their respective images and products.
2024-07-05 18:18:31 -07:00
Rachel Menge 5dc3e143c6
kernel hardening settings disable KEXEC and LEGACY_TIOCSTI (#9534) 2024-07-05 17:21:42 -07:00
Trung 203723a23f
Add kernel-uki-signed and systemd-boot-signed (#9521)
- Add kernel-uki-signed.spec
- Add systemd-boot-signed.spec
- kernel-uki: Install UKI EFI binary under /boot and create a symlink to it under /lib/modules/$(uname -r)/

Signed-off-by: Thien Trung Vuong <tvuong@microsoft.com>
2024-07-03 14:35:46 -07:00
Rachel Menge a11e301c70
Add minimum set of LCOW Configs (#9513)
Enable both AMD and ARM configs to support LCOW Boot and POD creation. Note all of these were previously modules and are now built-in
2024-07-01 11:35:25 -07:00
CBL-Mariner-Bot c81e66c66a
[AUTOPATCHER-kernel] Kernel upgrade to version 6.6.35.1 - branch 3.0-dev (#9497)
Co-authored-by: Rachel Menge <rachelmenge@microsoft.com>
2024-06-26 11:32:42 -07:00
Trung 4c37bb0e07
Add support for generating confidential virtual machine images (#9448)
- kernel-uki: include i18n dracut module so UKI systemd-vconsole-setup service works
- toolkit: add support for partition type UUID
- imageconfigs: add CVM image definition

Signed-off-by: Thien Trung Vuong <tvuong@microsoft.com>
Co-authored-by: Dan Streetman <ddstreet@microsoft.com>
2024-06-25 14:02:17 -07:00
J Camposeco 90f521f3df
Add patch to add msflint kernel driver 4.28 as module (#9380) 2024-06-20 09:51:31 -07:00
Gary Swalling 26d9bca561
Upgrade grub2 from 2.06 to 2.12 (#9407) 2024-06-15 20:49:01 -07:00
George Mileka c50d4af5d8
[grub] Disable code optimization for ip frame checksum calculation. (#9391) 2024-06-14 10:56:59 -07:00
Trung 284be01479
Enable CONFIG_AMD_MEM_ENCRYPT, CONFIG_SEV_GUEST (#9285) 2024-06-05 11:52:04 -07:00
Rachel Menge 152c907898
Enable CONFIG_IGC module (#8956)
This driver supports Intel(R) Ethernet Controller I225-LM/I225-V family of adapters. Enable to support more edge hardware SKUs.
2024-05-03 12:50:49 -07:00
Rachel Menge a1cef23144
Remove xfs v4 support (#8626)
XFS v4 is depricated upstream. Remove from kernel in favor of xfs v5.
2024-05-02 21:24:11 -07:00
CBL-Mariner-Bot 5f8b75042e
[AUTOPATCHER-kernel] Kernel upgrade to version 6.6.29.1 - branch 3.0-dev (#8979)
Co-authored-by: Rachel Menge <rachelmenge@microsoft.com>
2024-05-02 13:08:50 -07:00
Sriram Nambakam ddb3fe3c8c
Perf tuning changes (#8944) 2024-05-01 11:25:13 -07:00
Dan Streetman 3d52666a0a grub2: update grub to sbat level 4 2024-04-15 12:43:12 -04:00
Cameron E Baird bad65dc9a3
kernel: Align arm hv,xen,virtio modules with x86 to fix arm boot (#8579) 2024-03-31 19:56:44 -04:00
CBL-Mariner-Bot 92d1eebb7a
[AUTOPATCHER-kernel] Kernel upgrade to version 6.6.22.1 - branch 3.0-dev (#8544)
Co-authored-by: Rachel Menge <rachelmenge@microsoft.com>
2024-03-27 09:28:19 -07:00
Cameron E Baird b17e8b70c2
Split off mkconfig from grub2 package to reduce image footprint (#8485) 2024-03-22 13:10:01 -07:00
Dan Streetman 7f44d8e04f retroactively "fix" version number in previous changelog entry 2024-03-20 12:11:33 -04:00
Dan Streetman 60aeb34e4f kernel: remove unnecessary 10_kernel.cfg grub config file 2024-03-19 17:42:35 -04:00
Mykhailo Bykhovtsev 0d4f13f2f1
Detailed rebranding Part 2 (#8238) 2024-03-08 12:16:21 -08:00
Cameron E Baird 0af08ede9b
Fix VHD build: Make grub2 explictily require systemd-udev (#8262) 2024-03-07 14:57:27 -08:00
Chris Gunn 68e4c4a801
Restore VM guest drivers to initramfs file. (#8273) 2024-03-07 10:48:17 -08:00
Chris Gunn de743d63b9
Remove mkinitrd script. (#8126) 2024-03-01 13:33:09 -08:00
Vince Perri 6cf8b1327f
Remove kernel-hci package (#7861) 2024-02-26 11:03:22 -05:00
Cameron E Baird 5e3cb4fd75
feat: EnableGrubMkconfig by default; deprecate legacy tools-grub.cfg flow (#7618)
Co-authored-by: Daniel McIlvaney <damcilva@microsoft.com>
2024-02-22 12:17:15 -08:00
CBL-Mariner Servicing Account 194e0c1b61 Kernel upgrade to 6.6.14.1 version 2024-02-13 13:22:08 -05:00
Vince Perri b97d0e9522
kernel: Remove no-vmw-sta command line argument (#7466) 2024-02-13 13:14:26 -05:00
Muhammad Falak R Wani 6359c27c2d
treewide: *.spec: switch Distribution to Azure Linux (#7606)
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-02-06 12:14:23 -08:00
Dan Streetman e7314b913e use systemd-bootstrap-rpm-macros 2024-01-30 16:23:16 -05:00