-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AUTOPATCHER-kernel] Kernel upgrade to version 6.6.76.1 - branch 3.0-dev #12277
base: 3.0-dev
Are you sure you want to change the base?
Conversation
@@ -2119,6 +2119,7 @@ CONFIG_ZRAM_DEF_COMP_LZORLE=y | |||
# CONFIG_ZRAM_DEF_COMP_LZO is not set | |||
CONFIG_ZRAM_DEF_COMP="lzo-rle" | |||
# CONFIG_ZRAM_WRITEBACK is not set | |||
# CONFIG_ZRAM_TRACK_ENTRY_ACTIME is not set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Result of microsoft/CBL-Mariner-Linux-Kernel@b7c3fd6
This is a new option seperates out ZRAM access time tracking or "ac-time tracking" which was previously a part of the memory tracking option. It is selected if ZRAM_MEMORY_TRACKING
is enabled which is on in ARM64 but not in x86_64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keeping off to stay inline with what was previously present for x86_64
@@ -7129,9 +7130,9 @@ CONFIG_TMPFS_XATTR=y | |||
# CONFIG_TMPFS_INODE64 is not set | |||
# CONFIG_TMPFS_QUOTA is not set | |||
CONFIG_HUGETLBFS=y | |||
# CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON is not set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved as a result of microsoft/CBL-Mariner-Linux-Kernel@5cfadda
@@ -2626,6 +2626,7 @@ CONFIG_ZRAM_DEF_COMP_LZORLE=y | |||
# CONFIG_ZRAM_DEF_COMP_LZO is not set | |||
CONFIG_ZRAM_DEF_COMP="lzo-rle" | |||
CONFIG_ZRAM_WRITEBACK=y | |||
CONFIG_ZRAM_TRACK_ENTRY_ACTIME=y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as in config
Result of microsoft/CBL-Mariner-Linux-Kernel@b7c3fd6
This is a new option seperates out ZRAM access time tracking or "ac-time tracking" which was previously a part of the memory tracking option. It is selected if ZRAM_MEMORY_TRACKING is enabled which is on in ARM64 but not in x86_64.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keeping on to stay inline with what was previously present for aarch64
SPECS/kernel/config_aarch64
Outdated
@@ -9167,7 +9168,6 @@ CONFIG_BRCMSTB_DPFE=y | |||
CONFIG_BRCMSTB_MEMC=y | |||
# CONFIG_OMAP_GPMC is not set | |||
CONFIG_FSL_IFC=y | |||
CONFIG_MTK_SMI=m |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Result of microsoft/CBL-Mariner-Linux-Kernel@acefaa6
The config_aarch64
sets DRM_MEDIATEK
which previously selected MTK_SMI
. MTK_SMI is still available at https://github.com/microsoft/CBL-Mariner-Linux-Kernel/blob/rolling-lts/mariner-3/6.6.76.1/drivers/memory/Kconfig#L183
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This only selectable now by
│ - MTK_IOMMU [=n] && IOMMU_SUPPORT [=y] && (ARCH_MEDIATEK [=y] || COMPILE_TEST [=n])
│ - MTK_IOMMU_V1 [=n] && IOMMU_SUPPORT [=y] && ARM && (ARCH_MEDIATEK [=y] || COMPILE_TEST [=n])
Which would require turning on MTK_IOMMU or MTK_IOMMU_V1 .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order to keep CONFIG_MTK_SMI
we need to enable
CONFIG_MTK_IOMMU=m
CONFIG_IOMMU_IO_PGTABLE_ARMV7S=y
# CONFIG_IOMMU_IO_PGTABLE_ARMV7S_SELFTEST is not set
I tested the kernel modules' size using du -s /lib/modules/$(uname -r)
(default unit appears to be KB) and vmlinuz size difference and saw ~64KB increase
Without CONFIG_MTK_SMI
49164 /lib/modules/6.6.76.1-1.azl3
-rw------- 1 root root 48718336 Feb 11 02:38 /boot/vmlinuz-6.6.76.1-1.azl3
With CONFIG_MTK_SMI
49228 /lib/modules/6.6.76.1-1001.azl3
-rw------- 1 root root 48718336 Feb 12 18:55 /boot/vmlinuz-6.6.76.1-1001.azl3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keeping CONFIG_MTK_SMI to stay inline with previous offerings
52c77f7
to
aabc139
Compare
[AUTOPATCHER-kernel] Kernel upgrade to version 6.6.76.1 - branch 3.0-dev
Upgrade pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=732782&view=results
Updated Builds
BB - in progress
full build- (in progress)
[BVT tests] (in progress)
AMD
ARM