<div dir="auto"><div>As is, this looks fine for lunar kernel.</div><div dir="auto"><br></div><div dir="auto">Or even add KVM flavour to config generator in unstable kernel, like we have RISCV there. Such that we split configs for it in the parent kernel by default.</div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Thu, 27 Oct 2022, 12:54 Stefan Bader, <<a href="mailto:stefan.bader@canonical.com">stefan.bader@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 27.10.22 10:41, Paolo Pisati wrote:<br>
> BugLink: <a href="https://bugs.launchpad.net/bugs/1994693" rel="noreferrer noreferrer" target="_blank">https://bugs.launchpad.net/bugs/1994693</a><br>
> <br>
> [Issue]<br>
> <br>
> linux-kvm wasn't using annotations from debian.master, and that induced a<br>
> skew in fundamental config options between main and kvm kernels.<br>
> <br>
> [Fix]<br>
> <br>
> The attached series (broken down in pieces to ease review) make linux-kvm use<br>
> annotations from debian.master and override options that are meant to be<br>
> different.<br>
> <br>
> Must be applied on top of "[SRU][KINETIC linux-kvm][PATCH] UBUNTU: [Config]<br>
> Update SQUASHFS configs" already posted on the mailing list.<br>
> <br>
> [How to test]<br>
> <br>
> Crank updateconfigs shouldn't report any check-config error afterward.<br>
> <br>
> [Regression potential]<br>
> <br>
> These five patches:<br>
> <br>
>    UBUNTU: [Config] align IMA config with debian.master<br>
>    UBUNTU: [Config] align UBSAN config with debian.master<br>
>    UBUNTU: [Config] disable X86_KERNEL_IBT<br>
>    UBUNTU: [Config] align LSM_MMAP_MIN_ADDR with master<br>
>    UBUNTU: [Config] align LSM with master<br>
> <br>
> are the only changes in kvm config, everything else is annotations fix up.<br>
> <br>
> Paolo Pisati (14):<br>
>    UBUNTU: [Config] align IMA config with debian.master<br>
>    UBUNTU: annotations: include annotations from debian.master<br>
>    UBUNTU: annotations: CONFIG_SND_SOC* policy is not available<br>
>    UBUNTU: annotations: fix up disabled options in master but not<br>
>      available in kvm<br>
>    UBUNTU: annotations: fix up options built as module in master but not<br>
>      available in kvm<br>
>    UBUNTU: annotations: fix up options built-in in master but not<br>
>      available in kvm<br>
>    UBUNTU: [Config] align UBSAN config with debian.master<br>
>    UBUNTU: annotations: fix up options built-in in master but disabled in<br>
>      kvm<br>
>    UBUNTU: annotations: fix up options built as module in master but<br>
>      disabled in kvm<br>
>    UBUNTU: annotations: fix up options built-in in master but built as<br>
>      module in kvm<br>
>    UBUNTU: [Config] disable X86_KERNEL_IBT<br>
>    UBUNTU: annotations: fix up LATENCYTOP<br>
>    UBUNTU: [Config] align LSM_MMAP_MIN_ADDR with master<br>
>    UBUNTU: [Config] align LSM with master<br>
> <br>
>   debian.kvm/config/annotations          | 61 ++++++++++++++++++++++++++<br>
>   debian.kvm/config/config.common.ubuntu | 57 +++++++++++++++++++++---<br>
>   2 files changed, 111 insertions(+), 7 deletions(-)<br>
> <br>
<br>
First two complaints are more nitpick but anyway: this should at least include a <br>
pull request. Second, "K/linux-kvm" is bad because "/" is more commonly used to <br>
list all required pieces. Please use "K:linux-kvm" or the complete handle <br>
"kinetic:linux-kvm".<br>
<br>
My main concern is with the patches which change config. There is no explanation <br>
in the commit message why this makes sense/is done. The initial approach of KVM <br>
was a minimal kernel which quickly boots in a VM/cloud.<br>
I know this all should have been done better that way when this thing was <br>
created. But at least now with changing things to match master we should better <br>
note down (and the best long-term place is the commit message) what these things <br>
do and why we think this should be synced now.<br>
<br>
-Stefan<br>
<br>
-- <br>
kernel-team mailing list<br>
<a href="mailto:kernel-team@lists.ubuntu.com" target="_blank" rel="noreferrer">kernel-team@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/kernel-team" rel="noreferrer noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/kernel-team</a><br>
</blockquote></div></div></div>