Commit fc3f0bb4 authored by Dmytro Maluka's avatar Dmytro Maluka
Browse files

ANDROID: GKI: x86: Update ABI and symbol list after pvMMIO changes



Commit "ANDROID: x86/paravirt: Add pv_mmio_ops" changed the x86 ABI:
extended the 'paravirt_patch_template' struct with new fields, and
correspondingly changed the 'pv_ops' global variable value.

So update x86 ABI accordingly, via:

  tools/bazel run //common:kernel_x86_64_abi_update

Additionally update the symbol list for the Cuttlefish kernel
(virtual_device_x86_64): add the 'pv_ops' symbol to it, to fix the
build error:

  These symbols are missing from the symbol list and are not available at runtime for unsigned modules:
    pv_ops required by ['goldfish_battery.ko', 'mt76.ko', 'mt76x02-lib.ko']

Note that even though the aforementioned commit only changes the MMIO
accessors operation for pKVM guest kernels (i.e. Microdroid kernels),
not for regular Android kernels including Cuttlefish (since kernel will
detect at runtime that it is not a pKVM guest and thus will patch the
MMIO accessors to make them work exactly like before that commit), it
still makes them depend on the 'pv_ops' symbol at build time.

Bug: 391539939
Bug: 353950489
Upstream-Task: 402758258

Change-Id: I297b4f2fa795462027f969112751d007690244f7
Signed-off-by: default avatarDmytro Maluka <dmaluka@google.com>
parent 7acb4f6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment