Commit Graph

26 Commits

Author SHA1 Message Date
J. Avila
5a641fb83f ANDROID: ABI: Update the ABI XML
KMI_GENERATION bumped to 3.

Leaf changes summary: 3152 artifacts changed
Changed leaf types summary: 3 leaf types changed
Removed/Changed/Added functions summary: 0 Removed, 3094 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 55 Changed, 0 Added variable

Bug: 186415778
Signed-off-by: J. Avila <elavila@google.com>
Change-Id: Ib1b13031e83e293fb761bdd335e5450ae8df3445
2021-04-27 21:08:03 +00:00
Todd Kjos
8bd9e809e9 ANDROID: GKI: 4/23 KMI update
Set KMI_GENERATION=2 for 4/23 KMI update

Bug: 186241007
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I5d07a9750c00e23c596a682d7d5b32b820b71f3f
2021-04-24 14:15:43 -07:00
Nick Desaulniers
f096764239 ANDROID: clang: update to 12.0.5
Bug: 185804542
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: If3d0c122472d8979b326d8a6fece30d8b2af962a
2021-04-19 22:42:16 +00:00
Alistair Delva
40537e85f7 ANDROID: GKI: Bump KMI_GENERATION, ABI representation
KMI_GENERATION is bumped to 1.

Leaf changes summary: 10 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 7 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 3 Added variables

7 Added functions:

  [A] 'function void all_vm_events(unsigned long int*)'
  [A] 'function page* balloon_page_alloc()'
  [A] 'function page* balloon_page_dequeue(balloon_dev_info*)'
  [A] 'function void balloon_page_enqueue(balloon_dev_info*, page*)'
  [A] 'function int page_reporting_register(page_reporting_dev_info*)'
  [A] 'function void page_reporting_unregister(page_reporting_dev_info*)'
  [A] 'function long int si_mem_available()'

3 Added variables:

  [A] 'const address_space_operations balloon_aops'
  [A] 'static_key_false init_on_free'
  [A] 'vm_event_state vm_event_states'

Bug: 184983567
Signed-off-by: Alistair Delva <adelva@google.com>
Change-Id: I28114e1d3d264cbd8bd2007df37fc35dfa91f84b
2021-04-12 15:14:11 +00:00
Nick Desaulniers
aa88d3d644 ANDROID: clang: update to 12.0.4
Bug: 183031914
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: I7b5219a9f91aa2554b6206d98f3c2140c9d24629
2021-03-22 14:57:21 -07:00
Nick Desaulniers
1b106caa69 ANDROID: clang: update to 12.0.3
Bug: 180726982
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: I8a67ee80c4eb7d62fc342f4f7b5c6e6d8f3e55f7
2021-03-02 20:48:19 +00:00
Alistair Delva
265b539e4c ANDROID: clang: update to 12.0.1
Bug: 176824850
Signed-off-by: Alistair Delva <adelva@google.com>
Change-Id: I0e22f79ea7d2e2183a2988a89312be4126cc4ea2
2021-01-26 04:19:57 +00:00
Matthias Maennich
33a674bd42 ANDROID: create initial symbol lists for android12-5.10
Bug: 175534863
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: I99bb33802b001bbe9e0adb96b52ba81b9df3b30b
2020-12-16 11:36:20 +00:00
Matthias Maennich
3bab27c056 ANDROID: build.config: set branch to android12-5.10
Bug: 175534863
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: Ie50e1fbaa0f96b052c3f5f856a58531b5a67e11d
2020-12-14 10:05:46 +00:00
Matthias Maennich
6991ab0b2d ANDROID: Enable hermetic toolchain
Enable the use of the hermetic toolchain across all builds of this
branch. For allmodconfig builds, also allow the use of openssl from the
host.

Bug: 157507870
Change-Id: Iabb1fe4f760f9821df0318934942302ffffade7c
Signed-off-by: Matthias Maennich <maennich@google.com>
2020-11-10 11:12:53 +00:00
Nick Desaulniers
cf67471ced ANDROID: clang: update to 11.0.5
Bug: 170775238
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: Ibf405b519d406c58a25f4a765c6ba2d6f1bae50f
2020-10-27 11:22:40 -07:00
Nick Desaulniers
dacc12eb10 ANDROID: build.config.common: enable LLVM=1
This moves builds to all use LLVM=1 argument to make, rather than
CC=clang NM=llvm-nm OBJCOPY=llvm-objcopy ... (see also
https://www.kernel.org/doc/html/latest/kbuild/llvm.html#llvm-utilities).

Step 3 of aosp/1405387.

Bug: 65987925
Bug: 141693040
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: I0975dcad48b6c5344124343606e1c7f85e76e4ee
2020-09-22 20:25:08 +00:00
Will McVicker
67a1d5d3be ANDROID: drop KERNEL_DIR setting in build.config.common
And replace many references of ${ROOT_DIR}/common with
${ROOT_DIR}/${KERNEL_DIR}, which makes it a lot easier
to branch off of ACK and update the KERNEL_DIR.

The variable of KERNEL_DIR will be set in build/_setup_env.sh
to the directory of the build config file by default if it's
not set explicitly in the build config file or in environment.

Test: build test with following configs
        common/build.config.gki.aarch64
        common/build.config.db845c
        common/build.config.hikey960
        cuttlefish-modules/build.config.cuttlefish.aarch64

Bug: 162785964
Change-Id: I790ac0ded10bd790484f14c6f93d53e06c38b830
Signed-off-by: Will McVicker <willmcvicker@google.com>
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
(cherry picked from commit 931718fa65fe5e34d143250c048f591a7d74e5f8)
[elavila: resolve conflicts]
Signed-off-by: J. Avila <elavila@google.com>
2020-08-31 15:20:37 +00:00
Elliot Berman
023411cbe9 ANDROID: Use DTC from the hermetic toolchain
Set DTC from kernel build tools. The DTC is the same as used in AOSP.

Bug: 162811113
Change-Id: I16c513ba9c6ce5a1206e95e8de4ae923c11db894
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-08-19 00:33:58 +00:00
Will McVicker
f0bec7afff ANDROID: update the kernel release format for GKI
The new kernel release format is: w.x.y-zz-k where,
  w.x.y are the current values
  zzz is the Android Release value
  k is the KMI Generation number

This allows one to identify the kernel module interface version using
`uname -r`. The KMI Generation number is used to identify any KMI
changes that occur after the KMI freeze. This should only occur in an
unlikely event that a security patch requires a KMI update.

Here is a local example:
  5.4.51-android12-0-00153-ga972f59040e4-dirty

Signed-off-by: Will McVicker <willmcvicker@google.com>
Bug: 159842160
Change-Id: I33f40e424ca967b85d810cdb12c6a2c58e4197b7
[willmcvicker: squash with commit 0c0d417747d8e289b2808c3fca32c845f82fd5e5]
2020-07-27 23:41:36 +00:00
Matthias Maennich
82ce726a3f ANDROID: Use depmod from the hermetic toolchain
DEPMOD=depmod overwrites the default DEPMOD=/sbin/depmod and uses the
depmod version from PATH (coming from the hermetic toolchain).

Bug: 130657633
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: I73eefaa5508298bc61e9e586f981c5ddabed7656
2020-06-22 08:19:19 +00:00
Alistair Delva
2ffcd3857f ANDROID: clang: update to 11.0.1
Bug: 155426344
Signed-off-by: Alistair Delva <adelva@google.com>
Change-Id: Id3fde5d1aef8420f280863dfb1bede16056b4a83
2020-05-18 19:36:33 +00:00
Nick Desaulniers
c68d25a6d8 ANDROID: clang: update to 10.0.6
Bug: 153164546
Change-Id: Iedeef21a93e45d2266a049f360ffe7f5bbc5f943
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
2020-04-08 18:01:31 +00:00
Alistair Delva
4e33416b65 ANDROID: clang: update to 10.0.5
Bug: 151950245
Signed-off-by: Alistair Delva <adelva@google.com>
Change-Id: Id3112a7530683fdfbb136191e6e395eda9ed279f
2020-03-30 20:08:42 +00:00
Alistair Delva
7385a070e2 ANDROID: clang: update to 10.0.4
Bug: 149785865
Change-Id: Id666b686a6e62c035f4abd620994326792c6bc8a
Signed-off-by: Alistair Delva <adelva@google.com>
2020-02-19 18:09:28 +00:00
Alistair Delva
dbc9ea9521 ANDROID: clang: update to 10.0.1
Bug: 144776928
Change-Id: Ic1c76a05a54b0001eac6f9c6f248222989aa79bd
Signed-off-by: Alistair Delva <adelva@google.com>
2019-11-26 12:58:21 -08:00
Matthias Maennich
836bc88629 ANDROID: add unstripped modules to the distribution
The kernel ABI is determined by what vmlinux and the kernel modules are
exposing in their distribution. Hence, add IN_KERNEL_MODULES to the
distribution and ensure they have proper debug information.

Change-Id: Ia0ac6b8aa98fa28690acc1469c92c92e01f0fcbd
Signed-off-by: Matthias Maennich <maennich@google.com>
2019-11-20 23:43:38 +00:00
Peter Collingbourne
d37d6fd8c0 ANDROID: build kernels with llvm-nm and llvm-objcopy
Causes CONFIG_RELR to be enabled, resulting in a gki_defconfig image size
decrease of 2.2MB/10.3% uncompressed or 170KB/2.0% compressed.

Bug: 137200966
Change-Id: I85d36e346ca54bfc50aaca6804684b9bf16c47f0
Signed-off-by: Peter Collingbourne <pcc@google.com>
2019-11-14 22:13:48 +00:00
Nick Desaulniers
7a5e47a1a8 build.config.*: Link android-mainline kernels with LLD
We've been building mainline x86_64 with LLD for months now, and don't
plan to upgrade Android's binutils to work around issues upstream
related to:

commit c603a309cc ("x86/mm: Identify the end of the kernel area to be reserved")

Bug: 138463564
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Alistair Delva <adelva@google.com>
Change-Id: Ic52f7f374c494e5d39efb758a7739ebd33799f49
2019-10-25 18:56:06 +00:00
Ram Muthiah
6ce0937faa ANDROID: Move from clang r353983c to r365631c
Bug: 139440459
Test: BUILD_CONFIG=common/build.config.gki.x86_64 build/build.sh
Test: BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh
Change-Id: I7ee5d9a687843c09bbc5edb591d3337bd5bfbcbc
Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2019-10-22 17:59:02 +00:00
Matthias Maennich
6e792fdbdf ANDROID: refactor build.config files to remove duplication
The build.config.* files largely contain duplicate information by their
nature. Reorganize them reduce duplication and to allow adding new
configurations without copying the definitions again.

Bug: 140224784
Change-Id: I6a3810a125b0ed48591690ca33bb5c02be58218a
Signed-off-by: Matthias Maennich <maennich@google.com>
2019-08-30 14:55:29 +01:00