Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • alistair23/pmaports
  • exkc/pmaports
  • fossdd/pmaports
  • JustSoup321/pmaports
  • Eisenbahnfan/pmaports
  • raihan2000/pmaports
  • sleirsgoevy/pmaports
  • Adrian/pmaports
  • adamthiede/pmaports
  • jianhua/pmaports
  • knuxify/pmaports
  • Arnavion/pmaports
  • barni2000/pmaports
  • longnoserob/pmaports
  • smankusors/pmaports
  • Aren/pmaports
  • langfingaz/pmaports
  • sicelo/pmaports
  • kouta-kun/pmaports
  • craftyguy/pmaports
  • rdacayan/pmaports
  • rmader/pmaports
  • Haui111/pmaports
  • jakko/pmaports
  • dujem/pmaports
  • methanal/pmaports
  • WeirdTreeThing/pmaports
  • MightyM17/pmaports
  • sertonix/pmaports
  • amessier/pmaports
  • akemnade/pmaports
  • setotau/pmaports
  • kevinwidjaja21/pmaports
  • NekoCWD/pmaports
  • ollieparanoid/pmaports
  • manoedinata/pmaports
  • Drakulix/pmaports
  • grimler/pmaports
  • benpicco/pmaports
  • Frieder.Hannenheim/pmaports
  • andrisas/pmaports
  • EspiDev/pmaports
  • maze42/pmaports
  • anjandev/pmaports
  • danct12/pmaports
  • ijiki16/pmaports
  • jja2000/pmaports
  • fancsali/pmaports
  • bolilingmeng89006/pmaports
  • Minecrell/pmaports
  • chipiguay/pmaports
  • cherrypicker/pmaports
  • fortuna-mainline/pmaports
  • pevik/pmaports
  • Patriot-06/pmaports
  • JoseskVolpe/pmaports
  • verdre/pmaports
  • proycon/pmaports
  • AutumnSpark1226/pmaports
  • PsychoGame/pmaports
  • fraolt/pmaports
  • VaporGame/pmaports
  • pugzarecute/pmaports
  • CalcProgrammer1/pmaports
  • hexaheximal/pmaports
  • dabao1955/pmaports
  • HenriDellal/pmaports
  • semfault/pmaports
  • strobo5/pmaports
  • andrewgigena/pmaports
  • Athozus/pmaports
  • 1peter10/pmaports
  • vixalien/pmaports
  • Tooniis/pmaports
  • adomerle/pmaports
  • bjorn3/pmaports
  • StacyHarper/pmaports
  • Jack_Kekzoz/pmaports
  • Ceddicedced/pmaports
  • Justin_Zobel/pmaports
  • airtower-luna/pmaports
  • f-izzo/pmaports
  • cosmo/pmaports
  • 9lore/pmaports
  • postmarketOS/pmaports
  • Johnnynator/pmaports
  • iAboothahir/pmaports
  • N1kroks/pmaports
  • neuschaefer/pmaports
  • DylanVanAssche/pmaports
  • yehiashamaa987/pmaports
  • Operachi/pmaports
  • faveoled/pmaports
  • ilpianista/pmaports
  • johkra/pmaports
  • HDDTHR/pmaports
  • zsoltiv/pmaports
  • Justin/pmaports
  • Kaloyan501/pmaports_huawei_p8_lite_2015_fix
  • joelselvaraj/pmaports
  • rontti/pmaports
  • dsankouski/pmaports
  • StandaSK/pmaports
  • paricbat/pmaports
  • asdfugil/pmaports
  • komaru-yml/pmaports
  • MasterPlexus/pmaports
  • Felix/pmaports
  • ayakael/pmaports
  • feisuzhu/pmaports
  • AJ-RR/pmaports
  • SzczurekYT/pmaports
  • mediaberry/pmaports
  • justsomeguy/pmaports
  • Augis154/pmaports
  • hrdl/pmaports
  • sib0ndt/pmaports
  • 19atlas/pmaports
  • vipaoL/pmaports
  • wannjanjic/pmaports
  • dh/pmaports
  • LogicalErzor/pmaports
  • halamix2/pmaports
  • Shamilkv34/pmaports
  • Cogitri/pmaports
  • fallenritemonk/pmaports
  • user0-07161/pmaports
  • rock3tsprocket/pmaports
  • ellyq/pmaports
  • rodent/pmaports
  • mkorpershoek/pmaports
  • candrew/pmaports
  • fallaciousreasoning/pmaports
  • chalkin/pmaports
  • ungeskriptet/pmaports
  • r00t/pmaports
  • panpanpanpan/pmaports
  • celiffe/pmaports
  • davidfurey/pmaports
  • kidd/pmaports
  • tpikonen/pmaports
  • camelCaseNick/pmaports
  • ermine/pmaports
  • lgh/pmaports
  • sajattack/pmaports
  • StephanieBread/pmaports
  • M0Rf30/pmaports
  • notfound405/pmaports
  • samueldr/pmaports
  • r10nw7fd3/pmaports
  • treid998/pmaports-merge
  • denysvitali/pmaports
  • rodriguezst/pmaports
  • puppiestdoggo1/pmaports
  • donihalim/pmaports
  • EDKPiepaint/pmaports-apple-tonga-test
  • SanyaPilot/pmaports
157 results
Show changes
Commits on Source (10)
  • Ion Agorria's avatar
    device-xiaomi: new device (!165) · 26592daa
    Ion Agorria authored
    Initial support for Xiaomi A1 aka xiaomi-tissot using LineageOS 15.1
    kernel, has similar board to Xiaomi Redmi 4 aka xiaomi-mido with some
    differences that had to be patched such as reversing skip_initramfs and
    ignoring dm param. 16.0 kernel boots but display fb init doesn't work.
    
    Weston boots with touch support, SSH via USB RNDIS works.
    
    [skip ci]: this built once in CI already, good to go.
    Unverified
    26592daa
  • Marijn rom's avatar
    asus-grouper: add mdss-fb-init-hack (!170) · 7f69748f
    Marijn rom authored
    mdss-fb-init-hack fixes the black screen (e.g. in XFCE4)
    Unverified
    7f69748f
  • Hacker1245's avatar
    motorola-cedric: Enable OTG (!163) · dca30e4e
    Hacker1245 authored
    OTG was tested with a keyboard and a pendrive.
    
    [skip ci]: this was built successfully in CI earlier, only rebased and
               squashed the commits here.
    Unverified
    dca30e4e
  • Bart Ribbers's avatar
    device/device-lg-bullhead: disable 2 cpu's to prevent bootlooping (!139) · 0746e147
    Bart Ribbers authored
    Quite a few Nexus 5X devices have the tendency to bootloop after a while
    of being on, iirc because it overheats. This has been a known issue for
    quite some time, and most Android ROM's for it have measures in place to
    prevent this, in the form of disabling some CPU cores (iirc "Big cores"
    or something like that). My Nexus 5X is also subject to this issue.
    
    According to craftyguy, resolving this is as easy as changing the boot
    command to not use those CPU cores. This commit does exactly that. It
    should probably be made optional for people with this device without
    that issue, but since I have no clue how to do that atm, this is the
    safest for now.
    Unverified
    0746e147
  • Bart Ribbers's avatar
    kde/plasma*: update to 5.14.5 (!151) · c25ca379
    Bart Ribbers authored
    Tested on Qemu amd64. Everything built and ran successfully. Even
    better, applications start in full-screen again!
    Unverified
    c25ca379
  • Bart Ribbers's avatar
    main/postmarketos-ui-plasma-mobile: remove elisa from depends (!151) · 9c51b261
    Bart Ribbers authored
    We had 2 music players included which doesn't make sense, and vvave is
    actually made with a focus on mobile.
    
    [skip ci]: do not try to build this merge request, ollieparanoid made
               sure that it builds for x86_64, armhf, aarch64.
    Unverified
    9c51b261
  • Grant Miller's avatar
    samsung-jflte: Use armv7 (!144) · b226f616
    Grant Miller authored
    I have tested this on xfce4 and weston. Also plasma-mobile "works"! The
    performance isn't any better than on armhf, it's still less than one
    frame per second and llvmpipe still doesn't work.
    
    After switching to armv7, this kernel fails to compile with the
    following error unless CONFIG_CRYPTO_AES_ARM_BS is disabled:
    
    arch/arm/crypto/aesbs-core.S:449: Error: thumb conditional instruction should be in IT block -- `addeq r6,r6,#0x10'
    arch/arm/crypto/aesbs-core.S:904: Error: thumb conditional instruction should be in IT block -- `addeq r6,r6,#0x10'
    arch/arm/crypto/aesbs-core.S:2100: Error: thumb conditional instruction should be in IT block -- `subne r9,#0x10'
    Unverified
    b226f616
  • Grant Miller's avatar
    linux-samsung-jflte: Use gnu89 patch (!144) · 093b6869
    Grant Miller authored
    [skip ci]: this MR was built successfully in CI already
    Unverified
    093b6869
  • Oliver Smith's avatar
    busybox-static-*: update to 1.29.3-r10 · 7828c621
    Oliver Smith authored
    Unverified
    7828c621
  • Bart Ribbers's avatar
    sony-amami: use armv7 (!126) · 02f73e7e
    Bart Ribbers authored
    Tested it with Weston and it boots fine.
    
    [skip ci]: already built in CI, no need to build again
    Unverified
    02f73e7e
Showing
with 89 additions and 181 deletions
......@@ -3,7 +3,7 @@
pkgname=busybox-static-aarch64
pkgver=1.29.3
pkgrel=9
pkgrel=10
_arch="aarch64"
_mirror="http://dl-cdn.alpinelinux.org/alpine/"
......@@ -26,4 +26,4 @@ package() {
rm .PKGINFO .SIGN.*
}
sha512sums="8679eae12f19e65c2c15fb8bc83bb8e0b1097167c63eb68aee7cc3d3dc7dd066cb763223ae9c6aeba8e707585a38f8a9a427d9c2b448c9963c2f2e20f8854f60 busybox-static-1.29.3-r9-aarch64.apk"
sha512sums="23cfd9b05b87923fff3f67298cd1f038ffe0185d983701b1d2aa8d1d8d7157f047dcb694a1a8a8d65bfc006f76331abc84a65ca5a724e9c4c88a1e15ee6edd60 busybox-static-1.29.3-r10-aarch64.apk"
......@@ -3,7 +3,7 @@
pkgname=busybox-static-armhf
pkgver=1.29.3
pkgrel=9
pkgrel=10
_arch="armhf"
_mirror="http://dl-cdn.alpinelinux.org/alpine/"
......@@ -26,4 +26,4 @@ package() {
rm .PKGINFO .SIGN.*
}
sha512sums="811d2e9441474de4dc46ba0aa662b6afa8b3bb2653ce9abd72eb8c3ff52ec92b4e37d4ce675f73f1bddb7d7c908e81fe33cbb9514182a021d2833971feac0b33 busybox-static-1.29.3-r9-armhf.apk"
sha512sums="d03dfa87ca37c979a9261282ef2753194dbb9d42dd65a98dabdfd5db639438964157a49497020bdc1681d3cf2584334558ba06986544cec685f1cca0b7047704 busybox-static-1.29.3-r10-armhf.apk"
......@@ -3,7 +3,7 @@
pkgname=busybox-static-armv7
pkgver=1.29.3
pkgrel=9
pkgrel=10
_arch="armv7"
_mirror="http://dl-cdn.alpinelinux.org/alpine/"
......@@ -26,4 +26,4 @@ package() {
rm .PKGINFO .SIGN.*
}
sha512sums="b72cff48397198c362a1b85ddd69f1aa81d62f7db4d2e409309cf2e1b15b090076a0a31ade104c98368622e21249d34b4c3b66ec49e60d736106b2df02cd53a7 busybox-static-1.29.3-r9-armv7.apk"
sha512sums="6844e05fd77314e77e154c395fb13a4063ae35f9fd3573d02cb971799bfbc1dfd7697edfe9b39e89d83a1a9852c43f89cb8fb3b683e2feab35ff5b40d316b35f busybox-static-1.29.3-r10-armv7.apk"
pkgname=device-asus-grouper
pkgver=1
pkgrel=15
pkgrel=16
pkgdesc="Asus Nexus 7 2012 Wifi"
url="https://postmarketos.org"
arch="armhf"
license="MIT"
depends="postmarketos-base linux-asus-grouper mkbootimg mesa-dri-swrast"
depends="postmarketos-base linux-asus-grouper mkbootimg mesa-dri-swrast mdss-fb-init-hack"
makedepends=""
install=""
subpackages=""
......
......@@ -2,7 +2,7 @@
pkgname="device-lg-bullhead"
pkgdesc="Google Nexus 5X"
pkgver=0.1
pkgrel=5
pkgrel=6
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
......@@ -19,4 +19,4 @@ package() {
devicepkg_package $startdir $pkgname
}
sha512sums="6e63026f61f5c5ff38007d79e8d132796f545e9b8e1911d52c9904532d3dd7e15c36aa00f136340dbe672b0527f70749f64777a06844ec4c98fc0752ea23a8ec deviceinfo"
sha512sums="f34a66422c240d80c5222f7b5ce6c34c023b36824b7e18a835cb8159230161f9ccf4735fd555e9f4fabd26be8c475280ee503eb213bef3bae598eb0e18f21ac6 deviceinfo"
......@@ -21,7 +21,7 @@ deviceinfo_dev_keyboard=""
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="console=ttyHSL0,115200,n8 androidboot.hardware=bullhead boot_cpus=0-5 lpm_levels.sleep_disabled=1 msm_poweroff.download_mode=0 buildvariant=userdebug"
deviceinfo_kernel_cmdline="console=ttyHSL0,115200,n8 androidboot.hardware=bullhead boot_cpus=0-3 maxcpus=4 lpm_levels.sleep_disabled=1 msm_poweroff.download_mode=0 buildvariant=userdebug"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_flash_offset_base="0x00000000"
......
......@@ -2,10 +2,10 @@
pkgname="device-samsung-jflte"
pkgdesc="Samsung Galaxy S4"
pkgver=0.5
pkgrel=3
pkgrel=4
url="https://postmarketos.org"
license="MIT"
arch="armhf"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-jflte mkbootimg mesa-dri-swrast
msm-fb-refresher"
......@@ -29,5 +29,5 @@ nonfree_firmware() {
mkdir "$subpkgdir"
}
sha512sums="534fd4edb12358f33dc76ea305ef1fe27762093c6114bdf494db3db3488cd30710b69fe370bb7dd788f213c8e9b4fddfd0fa7fb2758a4795aa9f1450a1238fff deviceinfo
sha512sums="286991344db7e8be6cc773d36bd8da1ee9975b1125da6a81fe77a699591a2d6722fe7692b43fe630838302588608ccc39564a78af1519afd18cb16ec68718286 deviceinfo
515cd3be1816bea9a1859a37f6568e3e82a9f8f16cbbc71ba13d60723f98eafbda9046ebb1ee7f4ae23dd2b2b2b18506f64516ca45ff71af18e7c163f12248bd fb.modes"
......@@ -8,7 +8,7 @@ deviceinfo_codename="samsung-jflte"
deviceinfo_date=""
deviceinfo_dtb=""
deviceinfo_modules_initfs=""
deviceinfo_arch="armhf"
deviceinfo_arch="armv7"
# Device related
deviceinfo_keyboard="false"
......
pkgname=device-sony-amami
pkgver=2
pkgrel=3
pkgver=3
pkgrel=0
pkgdesc="Sony Xperia Z1 Compact"
url="https://postmarketos.org"
arch="armhf"
arch="armv7"
license="MIT"
depends="postmarketos-base mkbootimg mdss-fb-init-hack mesa-dri-swrast"
makedepends=""
......@@ -43,6 +43,6 @@ nonfree_firmware() {
mkdir "$subpkgdir"
}
sha512sums="4a608461dbc39bb83f354b95caf655b7d137fec8b449e66359471fd5d39c323a045645c1b554619fd8e856b0da3820a282beae893edf5c729047d542de04c2b5 deviceinfo
sha512sums="44b411fcb17f4bf08f917e5a06895818843bc6b7eceb5ca5945b6a865fcb857925dc355029438d5e9ad0a797b437dbfce2a5218426700a7e11412fe1711ae49f deviceinfo
8b6034c0338ab4c7d648f47983aad6da07e427e7dba47baabf85a1b3ddeeda47c8d7fbcd547a302c9a759b2943ee30d3e82c3b368d8582833a058e4671638a9e 90-android-touch-dev.rules
4dc5b6a2d9de6b97e4033b14771b8a6afe922afcd0bc4c97481cfad775726109dd0570058b94b2cd805691343076e7d4d886218787ba883cc31dd1e6e3abb0af fb.modes"
......@@ -12,7 +12,7 @@ deviceinfo_dtb="qcom-msm8974-sony-xperia-amami"
deviceinfo_modules_initfs=""
deviceinfo_external_storage="true"
deviceinfo_flash_method="fastboot"
deviceinfo_arch="armhf"
deviceinfo_arch="armv7"
deviceinfo_generate_bootimg="true"
# Splash screen
......
# Reference: <https://postmarketos.org/devicepkg>
pkgname="device-xiaomi-tissot"
pkgdesc="Xiaomi A1"
pkgver=0.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-xiaomi-tissot mkbootimg mesa-dri-swrast msm-fb-refresher"
makedepends="devicepkg-dev"
source="deviceinfo
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="176aa6496dd4bc335fec4ba986348390b60233ba303d3b170650dbe3020e2a15438ca8708f2d9e5fc92e9dc8f3301fe7ba0f8840e953e4591a7bd7da22c0b459 deviceinfo"
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell scripts.
deviceinfo_format_version="0"
deviceinfo_name="Xiaomi A1"
deviceinfo_manufacturer="Xiaomi"
deviceinfo_codename="xiaomi-tissot"
deviceinfo_date=""
deviceinfo_dtb=""
deviceinfo_modules_initfs=""
deviceinfo_arch="aarch64"
# Device related
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1080"
deviceinfo_screen_height="1920"
deviceinfo_dev_touchscreen="/dev/input/event1"
deviceinfo_dev_touchscreen_calibration=""
deviceinfo_dev_keyboard=""
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78af000 androidboot.selinux=permissive buildvariant=eng"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
......@@ -3,7 +3,7 @@
pkgname="linux-motorola-cedric"
pkgver=3.18.49
pkgrel=0
pkgrel=1
pkgdesc="Motorola Moto G5 kernel fork"
arch="aarch64"
_carch="arm64"
......@@ -70,7 +70,7 @@ package() {
}
sha512sums="706b37cf09d23abab80ba6e8dfbd8c806e4ecb4c3a31f0b0b5ba7ac29c7922716c46e89e4a99eb0febc2d7abe4b433e1b25a7e4f4c05ec43646c6c685e44b4c4 linux-motorola-cedric-2d29701ed2d080029f0bd3ceba07df66ae4e9c2d.tar.gz
21077263e7b8f2cd168d6fb4589b9823c2465e10facb3c4cb2a658a26413267781c233a85251017f1a33a88dfb11a08f5e35ea7b437f0098693ca32cfd6fd41a config-motorola-cedric.aarch64
502a26d95a99df2fa0135a8a3a57353ad36f16f927d617d3e5f0962eda7460c7abb1e9f029cbd17960000e84a5203fb78eed77b5eea9308db3a70acd311e5e21 config-motorola-cedric.aarch64
197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch
9c549714f03c7a7666e8aa7508a48cfdccab7cf3e97fb59c4df8fa97f75492365926f82c4a677c50780d68d4905504dcccbdd6de6344bd8d4b88b2331933ed46 03_fix_rndis_ipa_trace_header_not_found.patch
b408f157cc025d410b38f5aee9be977e670e1ac3f195f6c3a6681446fa0c3887067d62a4f729cfcd058fab42fca355b0265764dc2d21515f6e023ed025f55d41 05_fix_u_f_header.patch
......
......@@ -1748,7 +1748,7 @@ CONFIG_CLD_LL_CORE=y
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set
CONFIG_INPUT_POLLDEV=y
# CONFIG_INPUT_SPARSEKMAP is not set
# CONFIG_INPUT_MATRIXKMAP is not set
......@@ -3268,7 +3268,7 @@ CONFIG_HID_MULTITOUCH=y
# CONFIG_HID_PETALYNX is not set
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_PRIMAX is not set
# CONFIG_HID_ROCCAT is not set
CONFIG_HID_ROCCAT=y
# CONFIG_HID_SAITEK is not set
# CONFIG_HID_SAMSUNG is not set
# CONFIG_HID_SONY is not set
......@@ -3313,10 +3313,10 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
#
CONFIG_USB_DEFAULT_PERSIST=y
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_OTG is not set
CONFIG_USB_OTG=y
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not set
# CONFIG_USB_OTG_FSM is not set
CONFIG_USB_OTG_FSM=y
# CONFIG_USB_MON is not set
# CONFIG_USB_WUSB_CBAF is not set
......
From aeea3592a13bf12861943e44fc48f1f270941f8d Mon Sep 17 00:00:00 2001
From: Behan Webster <behanw@converseincode.com>
Date: Wed, 24 Sep 2014 01:06:46 +0100
Subject: [PATCH] ARM: 8158/1: LLVMLinux: use static inline in ARM ftrace.h
With compilers which follow the C99 standard (like modern versions of gcc and
clang), "extern inline" does the wrong thing (emits code for an externally
linkable version of the inline function). In this case using static inline
and removing the NULL version of return_address in return_address.c does
the right thing.
Signed-off-by: Behan Webster <behanw@converseincode.com>
Reviewed-by: Mark Charlebois <charlebm@gmail.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
arch/arm/include/asm/ftrace.h | 2 +-
arch/arm/kernel/return_address.c | 5 -----
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/arch/arm/include/asm/ftrace.h b/arch/arm/include/asm/ftrace.h
index 39eb16b0066f2..bfe2a2f5a644e 100644
--- a/arch/arm/include/asm/ftrace.h
+++ b/arch/arm/include/asm/ftrace.h
@@ -45,7 +45,7 @@ void *return_address(unsigned int);
#else
-extern inline void *return_address(unsigned int level)
+static inline void *return_address(unsigned int level)
{
return NULL;
}
diff --git a/arch/arm/kernel/return_address.c b/arch/arm/kernel/return_address.c
index fafedd86885dd..f6aa84d5b93c9 100644
--- a/arch/arm/kernel/return_address.c
+++ b/arch/arm/kernel/return_address.c
@@ -63,11 +63,6 @@ void *return_address(unsigned int level)
#warning "TODO: return_address should use unwind tables"
#endif
-void *return_address(unsigned int level)
-{
- return NULL;
-}
-
#endif /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) / else */
EXPORT_SYMBOL_GPL(return_address);
From e41494c15d4df342854ac3d2940f5d6ac3158212 Mon Sep 17 00:00:00 2001
From: Bryan Huntsman <bryanh@codeaurora.org>
Date: Mon, 3 Jun 2013 18:48:08 -0700
Subject: [PATCH] msm: fix in-tree compilation for perf_trace_counters
In-tree compilation for arch/arm/mach-msm/perf_trace_counters.c was
hitting this error:
In file included from arch/arm/mach-msm/perf_trace_counters.h:127:0,
from arch/arm/mach-msm/perf_trace_counters.c:14:
include/trace/define_trace.h:79:43: fatal error: ./perf_trace_counters.h: No such file or directory
Instructions for TRACE_INCLUDE_FILE in include/trace/define_trace.h say
"the path is relative to define_trace.h, not the file including it".
Fix in-tree compilation by making the path relative to define_trace.h.
Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
---
arch/arm/mach-msm/perf_trace_counters.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/mach-msm/perf_trace_counters.h b/arch/arm/mach-msm/perf_trace_counters.h
index ce7e336aa40d..8f77badf42ac 100644
--- a/arch/arm/mach-msm/perf_trace_counters.h
+++ b/arch/arm/mach-msm/perf_trace_counters.h
@@ -121,7 +121,6 @@ TRACE_EVENT(sched_switch_with_ctrs,
#endif
#undef TRACE_INCLUDE_PATH
-#define TRACE_INCLUDE_PATH .
+#define TRACE_INCLUDE_PATH ../../arch/arm/mach-msm
#define TRACE_INCLUDE_FILE perf_trace_counters
#include <trace/define_trace.h>
-
source:
https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9
* These need to be static to avoid these errors:
drivers/built-in.o: In function `.LANCHOR1':
msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock'
msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock'
Makefile:877: recipe for target '.tmp_vmlinux1' failed
make: *** [.tmp_vmlinux1] Error 1
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
--- a/drivers/gpu/msm/kgsl_iommu.c
+++ b/drivers/gpu/msm/kgsl_iommu.c
@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu)
*
* Return - int - number of commands.
*/
-inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
unsigned int *cmds)
{
struct kgsl_device *device = mmu->device;
@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
*
* Return - int - number of commands.
*/
-inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu,
+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu,
unsigned int *cmds)
{
struct kgsl_device *device = mmu->device;
......@@ -3,9 +3,9 @@
pkgname="linux-samsung-jflte"
pkgver=3.4.112
pkgrel=8
pkgrel=10
pkgdesc="Samsung Galaxy S4 kernel fork"
arch="armhf"
arch="armv7"
_carch="arm"
_flavor="samsung-jflte"
url="https://kernel.org"
......@@ -24,14 +24,10 @@ _config="config-${_flavor}.${arch}"
source="
$pkgname-$_commit.tar.gz::https://github.com/LineageOS/${_repository}/archive/${_commit}.tar.gz
$_config
00_fix_return_address.patch
patch_lifebook_detect.patch
patch_fsp_detect.patch
02_gpu-msm-fix-gcc5-compile.patch
03-fix-video-argb-setting.patch
gpu_msm2_fix_compile.patch
gcc7-give-up-on-ilog2-const-optimizations.patch
gcc8-fix-put-user.patch
kernel-use-the-gnu89-standard-explicitly.patch
"
builddir="$srcdir/${_repository}-${_commit}"
......@@ -67,12 +63,8 @@ package() {
}
sha512sums="7b73724636d9fb2a19e6405b1c6acd9f08020cb2d8c51f209eab2dea90616f15e88e96cdea62931864a6a3f6d4ad1c0b0b9b5cae3e3a690c20f5a9dcb4b33d82 linux-samsung-jflte-e8d93e03563e42d7c762d4e9a87d77115102b301.tar.gz
f5457d3f0b1a6191220b465d6ad536038a130cb5f469ccafaa818b24b93d4caf949ba84013266a483ff74cc6d9714d2397d7162148a2840fd194ef27e1d9b75f config-samsung-jflte.armhf
ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41f0a5c7d03e27921ccaa214fd0ac5c72245a094ce60128864 00_fix_return_address.patch
36418ec3d31d1d6d9915afcf3d38d4549aeeb49c3825414b51b67db7a1ab6482f22d2723da3b258b671956809949278a51f6507df9b0052aec0bd0c59f56919a patch_lifebook_detect.patch
9da951bb0391564f33bdb0a97c339997eda7b15ec2f160da8af237cc87c233b8c3dcdc1a12759e04d69d075ae9b0afaf726101ef356e788d7f4606a03db2e248 patch_fsp_detect.patch
7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 02_gpu-msm-fix-gcc5-compile.patch
1984ab34f5ed15ef7d7c2fd18a8aba66d2d0a736938d2bcfaa618e8f85a5b25d0bf9d7240aedffae741c5f0495288c299e9bdbe050135e4c608113e23b9c5f92 config-samsung-jflte.armv7
e3083c260ed9c4fc0d83f43106700b6173876dbfae072f6e6696ac6785a4dc17771fbcb3e21601e04ed29a11bf0f7a2a09ad549375e0c34cea245c7f2e2bcbbd 03-fix-video-argb-setting.patch
8ab0ed40315a22b046e6250df7ad0f7834ed011598c85d34500b6fc047f1c830b998f9fa3b1d5150d98ba34f3924cd62576e0e7d3d62fcc9832319eafc533c96 gpu_msm2_fix_compile.patch
77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch
197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch"
197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch
ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch"
......@@ -3614,7 +3614,6 @@ CONFIG_CRYPTO_WORKQUEUE=y
CONFIG_CRYPTO_CRYPTD=y
CONFIG_CRYPTO_AUTHENC=y
# CONFIG_CRYPTO_TEST is not set
CONFIG_CRYPTO_ABLK_HELPER=y
#
# Authenticated Encryption with Associated Data
......@@ -3667,7 +3666,7 @@ CONFIG_CRYPTO_SHA512_ARM_NEON=y
#
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_ARM=y
CONFIG_CRYPTO_AES_ARM_BS=y
# CONFIG_CRYPTO_AES_ARM_BS is not set
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_BLOWFISH is not set
......
fix undefined reference to `kgsl_iommu_sync_lock'
diff --git a/drivers/gpu/msm2/kgsl_iommu.c b/drivers/gpu/msm2/kgsl_iommu.c
index 5ad557f..9450041 100644
--- a/drivers/gpu/msm2/kgsl_iommu.c
+++ b/drivers/gpu/msm2/kgsl_iommu.c
@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu)
*
* Return - int - number of commands.
*/
-inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
unsigned int *cmds)
{
struct kgsl_device *device = mmu->device;
@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
*
* Return - int - number of commands.
*/
-inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu,
+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu,
unsigned int *cmds)
{
struct kgsl_device *device = mmu->device;