Commit Graph

721 Commits

Author SHA1 Message Date
voidanix e6ea883538 bullhead: don't do LOCALVERSION_AUTO
It's lineage and will stay lineage for us
2019-11-23 19:53:05 +01:00
voidanix 922a44ebbe bullhead: update config 2019-08-26 18:02:33 +02:00
voidanix af6f221a60 configs: add vndbinder 2019-08-26 15:26:21 +02:00
voidanix 994be43722 configs: remove useless defconfigs
keep vanilla defconfig in case someone prefers AOSP
2019-08-20 23:26:24 +02:00
razorloves 4089c289ff bullhead: Regen defconfig for OPM6.171019.030.B1 changes
Change-Id: I8e50aa9f04f64df4985a8a74aee790846304df76
2018-06-11 00:57:55 -05:00
razorloves a4ceb3a8de Android 8.1.0 Release 0.62
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCWxWzwwAKCRDorT+BmrEO
 eEmGAJ9Y4YMBAgQmIsz5GjbvNk3Kqu3RGACdEcAsk2is8cSq1kKvF6Hmlappr3w=
 =pyl6
 -----END PGP SIGNATURE-----

Merge aosp tag 'android-8.1.0_r0.62' into lineage-15.1

June 2018 OPM6.171019.030.B1

  f7affbf Revert "ion: ensure CMO target is valid"
  71a0cf4 msm: ADSPRPC: Use ID in response to get context pointer
  1c03a6d qcacld-2.0: Fix potential buffer overwrite in the htt_t2h_lp_msg_handler
  0963d6e qcacld-2.0: Add data_len check to avoid OOB access
  b85cb60 BACKPORT: ASN.1: fix out-of-bounds read when parsing indefinite length item
  e26c230 UPSTREAM: KEYS: fix out-of-bounds read during ASN.1 parsing
  758fa30 qcacld-2.0: Fix potential buffer overflow
  88e7e58 ion: ensure CMO target is valid
  8aae2ec crypto: hmac - require that the underlying hash algorithm is unkeyed
  a343e34 qcacld-2.0: Move NBUF_UPDATE_TX_PKT_COUNT before freeing netbuf
  7970e95 diag: dci: check signed values for negativity
  58e7effd diag: Add conditional check for len in dci_process_ctrl_status()
  1cc5ac5 diag: Validate copying length against source buffer length
  7e15586 mm-camera2:isp2: Handle use after free buffer
  2b052636 ANDROID: Bluetooth: hidp: buffer overflow in hidp_process_report
  bbee8ff UPSTREAM: HID: Bluetooth: hidp: make sure input buffers are big enough
  be5c4ba qcacld-2.0: Remove FW memory dump feature
  04300ee BACKPORT: ipv6: fix udpv6 sendmsg crash caused by too small MTU
  1d6da6b UPSTREAM: ipv4, ipv6: ensure raw socket message is big enough to hold an IP header
  1748f845 msm: ADSPRPC: use access_ok to validate pointers
  3607a99 ASoC: wcd_cpe_core: Add mutex lock for CPE session
2018-06-11 00:43:41 -05:00
Hanumanth Reddy Pothula be5c4bae70 qcacld-2.0: Remove FW memory dump feature
FW memory dump feature is no longer used. Hence remove FW memory
dump feature code changes.

Bug: 65542521
Change-Id: Ida655f83630c369df746e7c0c9d61a8fee2932a2
CRs-Fixed: 2120605
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2018-04-16 17:43:39 +00:00
razorloves e845ba0b07 bullhead: defconfig: add minimal lineage config
cp bullhead_defconfig to lineageos_bullhead_defconfig

Change-Id: Ie7eb90f0484684f036a5242ed7afd79204b91a7e
2017-12-23 20:15:40 -06:00
Patrick Tjin 8d150aecd9 arm64/configs: bullhead: make savedefconfig
Change-Id: Ia3761566ce3381c56189c0fd7f24417510ecb97b
Signed-off-by: Patrick Tjin <pattjin@google.com>
2017-03-23 15:06:10 -07:00
Srinivas Girigowda 40f8945b31 bullhead: Enable cnss_genl driver compilation
cnss_genl driver creates a netlink family and multicast groups
to facilitate communication between WLAN driver and userspace.

Define flag CONFIG_CNSS_GENL and set to 'y'(yes) to enable
compilation of the cnss_genl driver inorder to use the same.

Change-Id: I9d81f933e4fe3c9383f213c777d335e1fe51bdd2
Signed-off-by: Srinivas Dasari <dasaris@codeaurora.org>
CRs-Fixed: 1117130
Bug: 32775496
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
2017-03-15 12:19:35 -07:00
Sandeep Patil 3d163376d4 defconfig: enable PROC_DEVICETREE for bullhead
enable /proc/device-tree to make sure early mount code can discover
android specific DT properties for fstab entries.

Bug: 27805372
Bug: 35803310

Test: Boot bullhead with early mount and also test sideloaded OTA

Change-Id: Id8b9198a546f114d9c2eabbcc3842d986f29e819
Signed-off-by: Sandeep Patil <sspatil@google.com>
2017-02-27 17:01:30 -08:00
John Dias 383afae450 Merge branch 'android-msm-bullhead-3.10-nyc-mr2' into android-msm-bullhead-3.10
April 2017.1

Bug: 34977530
2017-02-23 17:05:32 -08:00
John Dias e5706784ae Merge branch 'android-msm-bullhead-3.10-nyc-mr1' into android-msm-bullhead-3.10-nyc-mr2
April 2017.1

Bug: 34977530
2017-02-15 17:05:47 -08:00
Bruce Levy 825b236b7a FROMLIST: defconfig: msm: Disable CONFIG_CP_ACCESS64
Disable the cpaccess64 driver.
This driver allows user space access to cpu registers.
With this driver enabled, a CTS test causes the
system to crash.

CRs-Fixed: 968777
Bug: 32068683
Change-Id: I3ebe7220c7ca68a25b781c2e836a735d11dcaf08
Signed-off-by: Bruce Levy <blevy@codeaurora.org>
Signed-off-by: Siqi Lin <siqilin@google.com>
(am from https://source.codeaurora.org/quic/la/kernel/msm-3.18/commit/?h=LA.HB.0.3&id=452d2ad331d20b19e8a0768c4b6e7fe1b65abe8f)
2017-02-15 03:08:08 +00:00
Patrick Tjin 415ccacc9e Merge branch 'android-msm-bullhead-3.10-nyc-mr2' into android-msm-bullhead-3.10
March 2017.1

Bug: 34128678
2017-01-18 15:25:56 -08:00
Lorenzo Colitti f97a38bc9e bullhead: config: enable CONFIG_CRYPTO_SHA512 and savedefconfig
Bug: 34114242
Change-Id: I53a121503bc9c3b43f004a612efa92068ea3fc4f
2017-01-16 17:09:25 +09:00
Max Bires fcb795b0fe arm64: bullhead_defconfig: Unsetting DEVPORT from bullhead configurations.
/dev/port is not used as shown by previous SELinux policy changes to
blacklist it. It is being unset to reduce kernel size and attack
surface, mirroring the same chagnes done to DEVMEM and DEVKMEM.

Change-Id: I0a9e26fa3f234fd94a6d0521bc7edc7d5a84f4f6
Signed-off-by: Max Bires <jbires@google.com>
Bug: 33301618
2017-01-06 18:37:39 +00:00
Patrick Tjin 488f3bdc24 Merge branch android-msm-bullhead-3.10-nyc-mr2 into android-msm-bullhead-3.10 2016-12-13 19:07:41 -08:00
John Dias 2431031b32 arm64/configs: enable RCU_BOOST
Enable RCU boost to avoid risk of priority-inversion
and memory leaks when readers are preempted.

Bug: 32633926
Change-Id: I6de9b83c7f83646955e229a94078ae49c5962bc2
Signed-off-by: John Dias <joaodias@google.com>
2016-12-09 22:25:01 +00:00
Patrick Tjin 8d8b94b6b0 arm64/configs: bullhead: add CONFIG_QUOTA
Bug: 28032718
Change-Id: Idcdb529881df5c30a0de0db6f0865bc554bf5f71
2016-11-15 22:52:44 +00:00
Martijn Coenen 02111bc358 arm64/configs: bullhead: enable hwbinder domain.
Change-Id: I990b10784b02d23c92b56c577cf1ba81cfac6f78
Signed-off-by: Martijn Coenen <maco@android.com>
2016-11-02 13:31:22 +01:00
Wei Wang 478382f187 arm64/configs: bullhead: remove kernel logger
Bug: 31941628
Change-Id: I9193319a38fea170844a2adb66f93e24e862f9d9
2016-10-04 16:33:42 -07:00
Patrick Tjin 8be927c77c arm64/configs: bullhead: disable extra SCSI configs
Bug: 30951599
Change-Id: Ie76dced13ceaba8bd30574e6d16fcf802322cc6e
Signed-off-by: Patrick Tjin <pattjin@google.com>
2016-09-17 08:20:28 +00:00
Lorenzo Colitti d50137a63a bullhead: Add IPv6 rpfilter support.
Bug: 9580643
Bug: 30298058
Change-Id: Iaef6b863029da32db6284b340fd2ff162cf3e7ec
2016-08-02 06:26:19 +00:00
Mekala Natarajan 9ec5de0995 bullhead_defconfig: enable SECURITY_PERF_EVENTS_RESTRICT
Bug: 29119870
Change-Id: If2de39c04ebc542479da547196cd292de972cb03
Signed-off-by: Mekala Natarajan <mnatarajan@google.com>
2016-06-20 18:52:45 +00:00
Jeff Vander Stoep 7dcbe1f355 enable fstack-protector-strong
Enable protection against stack corruption. (most) Functions with the
possibility of stack corruption  are protected with a canary.

With this change, the bullhead kernel grows from 10636247 to 10878698
an increase of 2.3%. Performance loss is considered minimal. Security
against stack overflow is greatly improved. [1]

This is the improved version of CONFIG_CC_STACKPROTECTOR=y which is
enabled in shamu's kernel.

[1] https://lwn.net/Articles/584225

Bug: 28837708
Change-Id: I41e45451793d917a633160df093b73b81a9360e5
2016-05-26 06:53:54 +00:00
Yueyao (Nathan) Zhu 7872047076 bullhead_defconfig: disable CONFIG_PFT as it is unsupported
Disable the drivers/platform/msm/pft.c driver as it is unsupported by
Qualcomm, and opens us up to a wide range of potential attack surfaces
that has not been audited by anyone.

Qualcomm recommends that it be disabled, as it hooks into SELinux in
some "interesting" ways, and the userspace portion of the code is not
even part of the image.

Bug: 28588434
Change-Id: I932ff9f8e9bc3aff01585f210514f52958a508b4
Author: Greg Kroah-Hartman <gregkh@google.com>
2016-05-16 22:50:42 +00:00
Thierry Strudel 394aa6b217 bullhead_defconfig: disable NF_TARGET_REJECT_SKERR
Disable forcing socket error when rejecting with icmp* for now
due to frequent kernel crash.

Bug: 28424847
Change-Id: I3926b2b160fbafe8597d0442b297bd1accf70b4b
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2016-05-11 19:22:39 -07:00
Thierry Strudel 3469bb98e3 Revert "bullhead_defconfig: enable option for iotop to work"
This reverts commit 00b2d9c3f5.
2016-04-07 12:53:50 -07:00
Daniel Rosenberg d1605d73dd bullhead: Enable sdcardfs
Bug: 27794037
Signed-off-by: Daniel Rosenberg <drosen@google.com>
2016-03-29 17:59:49 -07:00
Kiran Gunda 6444e3ad62 msm: msm_bus: remove the buspm module from kernel
Remove the buspm module from msm_bus since it adds
no functionality to the bus bandwidth aggregation
driver. It is a loadable module used for profiling
purposes.

Bug: 26354602
Change-Id: I7d70a22f73a0c396a3d8e330d3207871546cbfe3
Signed-off-by: Yuan Lin <yualin@google.com>
2016-03-24 21:35:38 -07:00
Tim Murray e4870a69c2 Revert "Disable Android kernel LMK, enable mem cgroups."
This reverts commit 3f7e5ad6b2.

bug 27804052
bug 27381069
bug 27799851

Change-Id: I0e5d2a56f976f45cc5cd6e623af4a0feae198006
2016-03-22 20:39:44 -07:00
Thierry Strudel 00b2d9c3f5 bullhead_defconfig: enable option for iotop to work
Change-Id: Ia345a08d1735f995a0a270ddf451bf45f50d61b8
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2016-03-14 10:25:57 -07:00
Martijn Coenen 3f7e5ad6b2 Disable Android kernel LMK, enable mem cgroups.
Android userspace lmkd was disabled because it was suspected
to be the cause of performance issues. In the end we didn't
find any reason for userspace lmkd to be causing these issues,
so re-enable userspace lmkd by disabling the kernel one.

Change-Id: I7a06ce683d5d3975c0f50626a429acfc9312ea25
2016-03-10 13:49:04 +01:00
Patrick Tjin 652c94ce54 arm64/config: bullhead: add CONFIG_IP_MULTICAST and savedefconfig
Bug: 19173869
Signed-off-by: Patrick Tjin <pattjin@google.com>
2016-03-09 13:13:25 -08:00
Martijn Coenen 5195cfd1ff Revert "bullhead_defconfig: disable Android LMK, enable mem cgroups."
This reverts commit 0dbad758a5.
2016-02-25 09:49:52 +00:00
Srinivas Girigowda 1a7e9c2eb0 bullhead: Add CNSS platform kernel configs
Separate the WLAN CNSS platform driver according to
the bus interface PCIe and SDIO. Add separate Kernel
Config file for the WLAN CNSS platform Driver and its
necessary module which has support for the CNSS
connectivity Subsystem.

Add Kernel Config flag to refactoring the CNSS platform Driver:

CONFIG_CNSS Kernel Config add support to CNSS Core
driver compilation and export Generic GPL wrappers.

CONFIG_CNSS_SDIO Kernel Config add support to CNSS
Platform Driver compilation for SDIO based WiFi Devices
and export platform driver API's based on the SDIO bus.

CONFIG_CNSS_PCI Kernel Config add support to CNSS
Platform Driver compilation for PCIe based WiFi Devices
and export platform driver API's based on the PCIe bus.

CRs-Fixed: 939171
Signed-off-by: Subhani Shaik <subhanis@codeaurora.org>
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
2016-02-19 21:58:22 +00:00
Srinivas Girigowda a9f143423b Net: CNSS: refactoring CNSS platform Driver
Separate the WLAN CNSS platform driver according to
the bus interface PCIe and SDIO. Add separate Kernel
Config file for the WLAN CNSS platform Driver and its
necessary module which has support for the CNSS
connectivity Subsystem.

Add Kernel Config flag to refactoring the CNSS platform Driver:

CONFIG_CNSS Kernel Config add support to CNSS Core
driver compilation and export Generic GPL wrappers.

CONFIG_CNSS_SDIO Kernel Config add support to CNSS
Platform Driver compilation for SDIO based WiFi Devices
and export platform driver API's based on the SDIO bus.

CONFIG_CNSS_PCI Kernel Config add support to CNSS
Platform Driver compilation for PCIe based WiFi Devices
and export platform driver API's based on the PCIe bus.

CRs-fixed: 939171
Change-Id: I8cce5bbc87e6742179a7967ccba295f55c444b28
Signed-off-by: Kai Liu <kaliu@codeaurora.org>
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Signed-off-by: Amarnath Hullur Subramanyam <amarnath@codeaurora.org>
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
2016-02-19 21:56:31 +00:00
Ben Fennema 2eb0448f7a bullhead_defconfig: switch back to nanohub
Power regression resolved.

Bug: 27122067
Bug: 27057077

Change-Id: Ia7f2946eb6bc9041c4492e2be1f8da38b3ad08ef
Signed-off-by: Ben Fennema <fennema@google.com>
2016-02-17 13:44:58 -08:00
Lorenzo Colitti 094123c645 bullhead: enable CONFIG_INET_DIAG_DESTROY
BUG=26976388
Change-Id: Iea88117ab33087c3910c1894b30b013a617c1d11
2016-02-16 17:34:16 +09:00
Ben Fennema 680d605413 bullhead_defconfig: revert back to chinook contexthub
revert back to chinook while tracking down power regression

Bug: 27122067
Change-Id: I87e77b26869eba7522faa5414f7bbb447297d579
Signed-off-by: Ben Fennema <fennema@google.com>
2016-02-10 14:42:54 -08:00
Martijn Coenen 0dbad758a5 bullhead_defconfig: disable Android LMK, enable mem cgroups.
To start using user-space low memory killer.

Change-Id: Ie60e20739b1cc6ba51bc01b24c3c963f3a30db2c
2016-02-10 01:39:31 +00:00
Ben Fennema dd4b8a08e5 nanohub: add nanohub kernel driver
Adds nanohub kernel driver files as well as device tree configuration to
use nanohub instead of contexthub (spich)

Change-Id: I089dd5c3a08968a002e965e8d1ed260b93e32ce3
Signed-off-by: Ben Fennema <fennema@google.com>
2016-02-05 12:51:01 -08:00
dcashman 4bb0fa3db3 bullhead_defconfig: update mmap_rnd_bits to max value.
Bug: 26648393
Signed-off-by: Daniel Cashman <dcashman@google.com>
Change-Id: Idd9038fcbe6e346e7f0262281c31238a9ddc884b
2016-01-21 03:04:23 +00:00
Tim Murray 9a2bf03bd6 bullhead: set CONFIG_HZ to 300
1000Hz is still too aggressive from a power consumption point of
view. Set to 300Hz for now.

bug 26444620

Change-Id: I3d1ca38d518e5705b653487bfa95085873247f1c
2016-01-14 11:43:31 -08:00
Tim Murray 2c51b35da0 bullhead: disable ALLOC_IN_4K_CHUNKS.
Disable ALLOC_IN_4K_CHUNKS to try and keep unmovable pages
centralized. This should help avoid setting all pageblocks to unmovable.

bug 25392275

Change-Id: I95e3dd9aec9a772d85b54cf51764d31bf4d3be63
2016-01-14 11:43:31 -08:00
Tim Murray b86ce971d3 bullhead_defconfig: set CONFIG_HZ to 1000
Increase CONFIG_HZ in order to improve UI responsiveness, especially
when there is significant background CPU work.

bug 25347271

Change-Id: If2d77233ea333d1be8facb8c35f8241aa9e2fd6e
2016-01-12 11:34:54 -08:00
Sami Tolvanen 198ce7d738 arch: arm64: bullhead_defconfig: enable CONFIG_DM_VERITY_FEC
Bug: 21893453
Change-Id: I52ab1457be57e72f4cbbbb6668d4dd9995e06717
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
2016-01-04 11:53:21 +00:00
Vineeta Srivastava 529f523acd Revert "bullhead: Enable SCHED_HRTICK"
This reverts commit 0482650b09.
2015-12-10 13:02:07 -08:00
Tim Murray 0482650b09 bullhead: Enable SCHED_HRTICK
SCHED_HRTICK seems to improve system responsiveness under load
significantly. Enable it for now while keeping CONFIG_HZ at 100.

Bug: 25745871
Change-Id: Ieb57610a3d513b727debee012301e9523bd4ec3c
2015-11-19 10:48:25 -08:00