306813 Commits

Author SHA1 Message Date
2a47f9a859 Added version indicator, and cleaned up directories. 2021-04-05 23:07:17 -04:00
91b2fd7a0b Old flo_defconfig 2021-04-05 22:42:00 -04:00
e78b0f87d8 Merge branch 'flo' of https://tonoxisisle.services/git/Tononix/ubports_kernel_google_msm into flo 2021-04-05 22:38:16 -04:00
75d02e6a47 Hello world config 2021-04-05 22:37:59 -04:00
11acd1e2cb More slimport changes. 2021-04-05 22:30:30 -04:00
1c11e00dec slimport: Add slimport detection function (completed orig patch) 2021-04-05 22:22:42 -04:00
9ec4f16645 slimport: anx7808: Improve the cable detection.
The device might fall in abnormal state in slimport with power on.
The slimport couldn't detect the cable correctly at that time.
We make a sure that the slimport is in power off before turning it on
to avoid that issue.
2021-04-05 22:17:06 -04:00
51c894d695 Turned off HDCP by default since it stops the display from enabling. 2021-04-05 22:05:31 -04:00
Tonoxis
344fb69ad7 Changed a couple more options 2021-04-05 21:33:58 -04:00
Tonoxis
f5e1e62aec Added new /SANE/ configuration. It now boots, runs well on slimport, and has zRAM (WOO)! 2021-04-05 09:36:49 +00:00
Tonoxis
4f3981d33b Almost forgot these last few unimportant files... 2021-04-04 16:25:28 -04:00
Tonoxis
b6d5d2143c turned off gcc-wrapper and updated EXTRAVERSION with number of attempts/changes. 2021-04-04 16:24:46 -04:00
Tonoxis
955dbf356b Removed irrelevant patch rejections. 2021-04-04 16:23:53 -04:00
Tonoxis
41ecc233c8 Pulled in backported OverlayFS from linux-sunxi 3.4-ovl13 branch. 2021-04-04 16:23:17 -04:00
Tonoxis
66b91c76c0 Pulled in android-ready zram from davidmueller13/Vindicator-flo-aosp. 2021-04-04 16:21:55 -04:00
Tonoxis
820a7dfba0 Pulled in slightly re-worked GPU driver from davidmueller13/Vindicator-flo-aosp. 2021-04-04 16:20:12 -04:00
ameyagokhale
899031e962 Updated README 2020-09-29 06:08:28 +00:00
ameyagokhale
7367984272 Anbox Addition 2020-09-29 06:03:25 +00:00
Andreas Pokorny
e9b6a47470 Merge pull request #1 from ubports/flo-newmmc
add 5.0 emmc support
2018-12-30 09:22:26 +01:00
Dalton Durst
3fdf719e84 mmc: add 5.0 emmc support
bug: 17968808 Kernel change for new eMMC v5.0 parts for FLO/DEB

Change-Id: Ia18152457fe3ff70401b199c267fa37374b9d544
Signed-off-by: hsuan-chih_chen <hsuan-chih_chen@asus.com>
2018-12-28 12:20:09 -06:00
Dalton Durst
2bef4aabd3 Add information for building the kernel on flo 2018-12-18 14:15:41 -06:00
Andy Whitcroft
a37d1e4d62 UBUNTU: Ubuntu-flo-3.4.0-5.23
Signed-off-by: Andy Whitcroft <apw@canonical.com>
2016-02-25 16:06:37 +00:00
Andy Whitcroft
76fd297eff UBUNTU: Start new release
Ignore: yes
Signed-off-by: Andy Whitcroft <apw@canonical.com>
2016-02-25 15:54:06 +00:00
Andy Whitcroft
6d1327f4a0 UBUNTU: [Config] depend on kmod in preference to module-init-tools -- part 3
BugLink: http://bugs.launchpad.net/bugs/1541917
Signed-off-by: Andy Whitcroft <apw@canonical.com
2016-02-25 15:53:05 +00:00
Andy Whitcroft
b6f434c3b3 UBUNTU: Ubuntu-flo-3.4.0-5.22
Signed-off-by: Andy Whitcroft <apw@canonical.com>
2016-02-25 12:44:03 +00:00
Andy Whitcroft
f49c420fff UBUNTU: Start new release
Ignore: yes
Signed-off-by: Andy Whitcroft <apw@canonical.com>
2016-02-25 08:52:58 +00:00
Andy Whitcroft
e4bf75d352 UBUNTU: SAUCE: timeconst.pl -- fix use of defined on arrays
The recent perl transition has turned the use of defined(@array) into an
error.  The defined is simply not required.  Remove it to quiet the
error.

BugLink: http://bugs.launchpad.net/bugs/1549677
Signed-off-by: Andy Whitcroft <apw@canonical.com>
2016-02-25 08:51:17 +00:00
Andy Whitcroft
1de7507e47 UBUNTU: Ubuntu-flo-3.4.0-5.21
Signed-off-by: Andy Whitcroft <apw@canonical.com>
2016-02-24 19:49:41 +00:00
Andy Whitcroft
12c2f18b53 UBUNTU: [Config] depend on kmod in preference to module-init-tools -- part 2
BugLink: http://bugs.launchpad.net/bugs/1541917
Signed-off-by: Andy Whitcroft <apw@canonical.com>
2016-02-24 19:48:15 +00:00
Andy Whitcroft
d25b8b0e23 UBUNTU: Start new release
Ignore: yes
Signed-off-by: Andy Whitcroft <apw@canonical.com>
2016-02-24 19:45:43 +00:00
Andy Whitcroft
fcfecd0446 UBUNTU: Ubuntu-flo-3.4.0-5.20
Signed-off-by: Andy Whitcroft <apw@canonical.com>
2016-02-24 17:30:19 +00:00
Andy Whitcroft
139a026fd0 UBUNTU: [Config] depend on kmod in preference to module-init-tools
BugLink: http://bugs.launchpad.net/bugs/1541917
Signed-off-by: Andy Whitcroft <apw@canonical.com>
2016-02-24 17:29:04 +00:00
Andy Whitcroft
76f6f47799 UBUNTU: Start new release
Ignore: yes
Signed-off-by: Andy Whitcroft <apw@canonical.com>
2016-02-24 17:28:30 +00:00
Tim Gardner
f5f624b501 UBUNTU: Ubuntu-flo-3.4.0-5.19
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2015-09-03 10:13:40 -06:00
Simon Fels
3f49ff05e8 Bluetooth: close HCI device when user channel socket gets closed
With 9380f9eacfbbee701daa416edd6625efcd3e29e1 the order of unsetting
the HCI_USER_CHANNEL flag of the HCI device was reverted to ensure
the device is first closed before making it available again.

Due to hci_dev_close checking for HCI_USER_CHANNEL being set on the
device it was never really closed and was kept opened. We're now
calling hci_dev_do_close directly to make sure the device is correctly
closed and we keep the correct order to unset the flag on our device
object.

Signed-off-by: Simon Fels <simon.fels@canonical.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
(cherry picked from bluetooth-next 4c63f83c2c2e16a13ce274ee678e28246bd33645)
BugLink: http://bugs.launchpad.net/bugs/1489327
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2015-09-03 10:06:46 -06:00
Simon Fels
dc5e01ba44 UBUNTU: [Config] Enable bluetooth backports
BugLink: http://bugs.launchpad.net/bugs/1489327

Signed-off-by: Simon Fels <simon.fels@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2015-09-03 10:06:46 -06:00
Simon Fels
a784ef995c UBUNTU: backports: import HCI SMD driver
We need to carry and build the HCI SMD driver from now on as part of the backports tree to
keep the dependency on the right bluetooth layer.

The driver itself copied and modified version of the one still shipped as part of the
older bluetooth stack we have in the tree under net/bluetooth. Code was taken from
drivers/bluetooth/hci_smd.c and adjusted to fit the changed HCI driver API.

BugLink: http://bugs.launchpad.net/bugs/1489327

Signed-off-by: Simon Fels <simon.fels@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2015-09-03 10:06:46 -06:00
Simon Fels
0b6d2e6540 UBUNTU: backports: respect already existing redefinitions in the flo tree
As the flo tree isn't a clean 3.4 one without further modifications and backported things
from upstream we need to respect already present symbols from newer upstream kernel
versions and drop them from our compatiblity layer.

BugLink: http://bugs.launchpad.net/bugs/1489327

Signed-off-by: Simon Fels <simon.fels@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2015-09-03 10:06:46 -06:00
Simon Fels
62e84e1cd2 UBUNTU: Import backports 4.2-rc7
backports tree was automatically generated and integrated with the following command:

$ ./gentree.py --integrate --clean --git-revision v4.2-rc7 \
    <path>/linux-next <path>/linux-mako

(we're using a slightly modified backports tree to adjust every export automatically for
 our needs).

See https://backports.wiki.kernel.org/index.php/Documentation/integration for
documentation and https://github.com/ubuntu-phonedations/backports for the used backports
tree.

All uncessary parts (bcma, wifi, nfc etc.) were dropped and just the bluetooth relevant
parts are kept.

BugLink: http://bugs.launchpad.net/bugs/1489327

Signed-off-by: Simon Fels <simon.fels@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2015-09-03 10:06:46 -06:00
Andrzej Kaczmarek
006184adc8 hid: Backport hid-generic driver
This patch provides provisional backport of hid-generic driver which
is required for Bluetooth HIDP to work with backports, since hidp
module has its HID driver removed.

This is a backport of the following upstream change:

HID: Create a common generic driver (8215d557e5f3a70e50e07c857d35c250fee62a73)

BugLink: http://bugs.launchpad.net/bugs/1489327

Signed-off-by: Simon Fels <simon.fels@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2015-09-03 10:06:46 -06:00
Milan Broz
aa3fc97937 crypto: af_alg - properly label AF_ALG socket
Th AF_ALG socket was missing a security label (e.g. SELinux)
which means that socket was in "unlabeled" state.

This was recently demonstrated in the cryptsetup package
(cryptsetup v1.6.5 and later.)
See https://bugzilla.redhat.com/show_bug.cgi?id=1115120

This patch clones the sock's label from the parent sock
and resolves the issue (similar to AF_BLUETOOTH protocol family).

Cc: stable@vger.kernel.org
Signed-off-by: Milan Broz <gmazyland@gmail.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from 4c63f83c2c2e16a13ce274ee678e28246bd33645)
BugLink: http://bugs.launchpad.net/bugs/1489327
Signed-off-by: Simon Fels <simon.fels@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2015-09-03 10:06:45 -06:00
Jussi Kivilinna
39b42b6261 crypto: add CMAC support to CryptoAPI
Patch adds support for NIST recommended block cipher mode CMAC to CryptoAPI.

This work is based on Tom St Denis' earlier patch,
 http://marc.info/?l=linux-crypto-vger&m=135877306305466&w=2

Cc: Tom St Denis <tstdenis@elliptictech.com>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from 93b5e86a6d13c5dec18c6611933fb38d7d80f0d2)
BugLink: http://bugs.launchpad.net/bugs/1489327
Signed-off-by: Simon Fels <simon.fels@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2015-09-03 10:06:45 -06:00
Tim Gardner
eb0bf7db5e UBUNTU: Start new release
Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2015-09-03 10:05:34 -06:00
Tim Gardner
96abc96ca2 UBUNTU: Ubuntu-flo-3.4.0-4.18
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2015-07-13 15:49:48 -07:00
Tyler Hicks
f95d736274 audit: printk USER_AVC messages when audit isn't enabled
BugLink: http://bugs.launchpad.net/bugs/1473584

When the audit=1 kernel parameter is absent and auditd is not running,
AUDIT_USER_AVC messages are being silently discarded.

AUDIT_USER_AVC messages should be sent to userspace using printk(), as
mentioned in the commit message of 4a4cd633 ("AUDIT: Optimise the
audit-disabled case for discarding user messages").

When audit_enabled is 0, audit_receive_msg() discards all user messages
except for AUDIT_USER_AVC messages. However, audit_log_common_recv_msg()
refuses to allocate an audit_buffer if audit_enabled is 0. The fix is to
special case AUDIT_USER_AVC messages in both functions.

It looks like commit 50397bd1 ("[AUDIT] clean up audit_receive_msg()")
introduced this bug.

Cc: <stable@kernel.org> # v2.6.25+
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Eric Paris <eparis@redhat.com>
Cc: linux-audit@redhat.com
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
(cherry picked from commit 0868a5e150bc4c47e7a003367cd755811eb41e0b)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2015-07-13 14:45:15 -07:00
Tim Gardner
dc24e8522f UBUNTU: Start new release
Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2015-07-13 14:40:28 -07:00
Andy Whitcroft
ae86c49486 UBUNTU: Ubuntu-flo-3.4.0-4.17
Signed-off-by: Andy Whitcroft <apw@canonical.com>
2015-01-28 19:29:25 +00:00
Andy Whitcroft
528e562dd0 UBUNTU: Start new release
Ignore: yes
Signed-off-by: Andy Whitcroft <apw@canonical.com>
2015-01-28 19:28:51 +00:00
Wang, Xiaoming
d813dde69e net: ipv4: current group_info should be put after using.
Plug a group_info refcount leak in ping_init.
group_info is only needed during initialization and
the code failed to release the reference on exit.
While here move grabbing the reference to a place
where it is actually needed.

Signed-off-by: Chuansheng Liu <chuansheng.liu@intel.com>
Signed-off-by: Zhang Dongxing <dongxing.zhang@intel.com>
Signed-off-by: xiaoming wang <xiaoming.wang@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(backported from commit b04c46190219a4f845e46a459e3102137b7f6cac)
Conflicts:
	net/ipv4/ping.c
CVE-2014-2851
BugLink: http://bugs.launchpad.net/bugs/1312994
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
2015-01-27 18:18:02 +00:00
Andy Whitcroft
84fcc33b9c UBUNTU: Ubuntu-flo-3.4.0-4.16
Signed-off-by: Andy Whitcroft <apw@canonical.com>
2015-01-20 12:18:28 +00:00