nvdimm: support nvdimm on arm64 kernel#377
Conversation
|
Hi~ @grahamwhaley @chavafg Is there any way to trigger ARM CI here? ;) |
grahamwhaley
left a comment
There was a problem hiding this comment.
A couple of questions, but generally
lgtm
kernel/configs/arm64_kata_kvm_4.19.x
Outdated
| # CONFIG_OF_OVERLAY is not set | ||
| # CONFIG_PARPORT is not set | ||
| CONFIG_PNP=y | ||
| CONFIG_PNP_DEBUG_MESSAGES=y |
There was a problem hiding this comment.
not sure if you set this deliberately? Payoff of size vs debuggability...
kernel/configs/arm64_kata_kvm_4.19.x
Outdated
| # CONFIG_THERMAL_GOV_FAIR_SHARE is not set | ||
| # CONFIG_THERMAL_GOV_STEP_WISE is not set | ||
| # CONFIG_THERMAL_GOV_BANG_BANG is not set | ||
| CONFIG_THERMAL_GOV_USER_SPACE=y |
There was a problem hiding this comment.
On purpose? Maybe you gained some default =y items during a new config generation. If you have not already, you might want to scrutinize the diff for any stray new additions you didn't intend.
There was a problem hiding this comment.
noooo, my bad, I just quickly compared the new diff with x86 config(x86_64_kata_kvm_4.19.X) to make two configs as same as possible, not scrutinizing what these diff represent.
I will turn off the CONFIG_THERMAL, since VM may not be involved in thermal managment. ;)
|
@Pennyzct - no, no way to trigger the ARM CI here - in fact, we tried to add the Power8 CI here last week iirc (or maybe that was osbuilder), and it didn't work as it went to pull OBS images that did not exist I think. |
|
ooh, 'leaky pods' on the 18.04 CI.... |
|
Yes, @jodh-intel suggested to get a kernel backtrace of such VM Panics. We can probably get that by enabling serial console and then redirecting the guest serial to some host file. |
|
@nitkon - you should get something in the proxy log without the need for a serial console. Certainly oops's are logged an I've seen panics when the rootfs is not mountable. |
|
Hi~ @grahamwhaley I had another relevant PR in runtime repo, and i will try to make this pr as dependency to see if ARM CI on runtime repo could test these two PRs together. ;) |
efa99dd to
8570097
Compare
|
Hi~@grahamwhaley I have addressed the comments and done the fix, ptal. ;) |
|
Hi @Pennyzct - It's actually documented here: And here's an example of a PR that used it: |
Original guest image was reprensented as block device in qemu-aarch64, and it will bring up write lock error when running multiple containers. Thanks to the new expanded IPA_SIZE feature in kernel 4.20 and Eric Auger's related patch set in qemu(which are still under upstream review), we could fully support nvdimm on arm64. Depends-on: github.com/kata-containers/packaging#377 Fixes: kata-containers#843 Signed-off-by: Penny Zheng <penny.zheng@arm.com>
Since we overrided the func appendImage for aarch64, we should also provide related unit test. Depends-on: github.com/kata-containers/packaging#377 Fixes: kata-containers#843 Signed-off-by: Penny Zheng <penny.zheng@arm.com>
|
Hi~ @jodh-intel tons of thanks!!! |
|
/test |
|
Still seeing failures: In spite of the version being changed. Retriggering one more time... /test |
let's open nvdimm-related kernel config parameters on arm64, such as CONFIG_ACPI_NFIT, etc. and we also need to backport patch 'kvm:arm64:Dynamic IPA and 52bit IPA'(https://patchwork.kernel.org/cover/10616271/) and related dependency into v4.19.X to fully support nvdimm from guest kernel. Former patch has already been merged into v4.20.X. Fixes: kata-containers#376 Signed-off-by: Penny Zheng <penny.zheng@arm.com>
|
Hi~ @amshinde re-based and updated the version number. ;) |
|
Thanks @Pennyzct. Let's retry the CI... /retest |
let's open nvdimm-related kernel config parameters on arm64, such as
CONFIG_ACPI_NFIT, etc. and we also need to backport patch kvm:arm64:Dynamic IPA and 52bit IPA and related dependency into v4.19.X to fully support nvdimm from guest kernel.Former patch has already been merged into v4.20.X.
Fixes: #376
Signed-off-by: Penny Zheng penny.zheng@arm.com