Skip to content

Commit

Permalink
Pulling: LawRun Old Source files...
Browse files Browse the repository at this point in the history
     Based on LawRun v1 - v9 + ...
          Upstreamed to 4.9.225
          Caf tag 'LA.UM.8.3.r1-07300-sdm845.0'
          use GCC 03 optimizations
          aircrack-ng rtl88XXAU ( nethunter )
          WireGuard drivers
          HID support for keyboard and mouse
          Crc Check toggle to  switch on/off
          fps support
          fsync toggle to switch on/off
          frandom Support
          backlight support
          fix dipper brightness slider
          Drivedroid Support
          our own govorner based on schedutil ( Runutil )
          Gpu reconfiguration as 180mhz to 820mhz
  • Loading branch information
negrroo1 committed Jun 3, 2020
1 parent 465b072 commit 07b4041
Show file tree
Hide file tree
Showing 652 changed files with 25,118 additions and 35,491 deletions.
6 changes: 0 additions & 6 deletions Documentation/devicetree/bindings/input/qti-haptics.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,6 @@ Properties:
haptics module through VDD_HAP pin. This is only needed if VDD_HAP
is supplied from an external boost regulator instead of VPH_PWR.

- qcom,haptics-ext-pin-twm
Usage: optional
Value type: <empty>
Definition: A boolean property which configures haptics into external-pin
control during TWM entry.

Following properties are specific only when LRA actuator is used:

- qcom,lra-resonance-sig-shape
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,3 @@ flash0: qcom,camera-flash {
"CAM_TORCH";
status = "ok";
};

led_flash0: qcom,camera-led-flash {
cell-index = <0>;
compatible = "qcom,camera-led-flash";
qcom,flash-type = <3>;
qcom,flash-source = <&flash_BC847>;
qcom,torch-source = <&flash_BC847>;
};
21 changes: 5 additions & 16 deletions Documentation/devicetree/bindings/usb/qcom,usb-gadget.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,21 @@ Qualcomm Technologies, Inc's USB Gadget

Required properties:
- compatible: Should be "qcom,usb-gadget".
- qcom,vid: VendorId to be used by composite device.

Required subnode properties:
- qcom,pid: ProductId to be used by composite device.
- qcom,composition: List of configurations where each is separated by '|'.
And each configuration has comma separated list of functions
specified as: <f1_name>.<f1_instance_name>,<f2_name>....
- qcom,vid: VendorId to be used by composite device.
- qcom,pid: ProductId to be used by composite device.

Optional properties:
- qcom,default-pid: ProductId to be used by composite device.
- qcom,class: Class of composite device.
- qcom,subclass: SubClass of composite device.
- qcom,protocol: Protocol of composite device.

Example:
Examples:
usb_gadget {
compatible = "qcom,usb-gadget";
qcom,composition = "rndis.rndis|ecm.ecm";
qcom,vid = <0x05c6>;

composition1 {
qcom,pid = <0x9103>;
qcom,composition = "diag.diag,ipc.ipc,gsi.rmnet,gsi.rmnet.v2x,ecm.ecm,gsi.dpl";
};

composition2 {
qcom,pid = <0x9105>;
qcom,composition = "diag.diag,gsi.dpl";
};
qcom,pid = <0x9057>;
};
6 changes: 0 additions & 6 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -8606,12 +8606,6 @@ S: Maintained
F: Documentation/scsi/NinjaSCSI.txt
F: drivers/scsi/nsp32*

NINTENDO HID DRIVER
M: Daniel J. Ogorchock <[email protected]>
L: [email protected]
S: Maintained
F: drivers/hid/hid-nintendo*

NIOS2 ARCHITECTURE
M: Ley Foon Tan <[email protected]>
L: [email protected] (moderated for non-subscribers)
Expand Down
30 changes: 29 additions & 1 deletion Makefile
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -525,12 +525,39 @@ endif
ifneq ($(GCC_TOOLCHAIN),)
CLANG_FLAGS += --gcc-toolchain=$(GCC_TOOLCHAIN)
endif
KBUILD_CPPFLAGS += $(call cc-option,-Qunused-arguments,)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-variable)
KBUILD_CFLAGS += $(call cc-disable-warning, format-invalid-specifier)
KBUILD_CFLAGS += $(call cc-disable-warning, gnu)
KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
KBUILD_CFLAGS += $(call cc-disable-warning, duplicate-decl-specifier)
KBUILD_CFLAGS += -Wno-undefined-optimized
KBUILD_CFLAGS += -Wno-tautological-constant-out-of-range-compare
KBUILD_CFLAGS += $(call cc-option, -Wno-sometimes-uninitialized)
KBUILD_CFLAGS += -Wno-asm-operand-widths
KBUILD_CFLAGS += -Wno-initializer-overrides
KBUILD_CFLAGS += -fno-builtin

# Quiet clang warning: comparison of unsigned expression < 0 is always false

KBUILD_CFLAGS += $(call cc-disable-warning, tautological-compare)
# CLANG uses a _MergedGlobals as optimization, but this breaks modpost, as the
# source of a reference will be _MergedGlobals and not on of the whitelisted names.
# See modpost pattern 2
KBUILD_CFLAGS += $(call cc-option, -mno-global-merge,)
KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior)
CLANG_FLAGS += -no-integrated-as
CLANG_FLAGS += -Werror=unknown-warning-option
KBUILD_CFLAGS += $(CLANG_FLAGS)
KBUILD_AFLAGS += $(CLANG_FLAGS)
endif
else

KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks,)
# These warnings generated too much noise in a regular build.
# Use make W=1 to enable them (see scripts/Makefile.build)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
endif

ifeq ($(mixed-targets),1)
# ===========================================================================
Expand Down Expand Up @@ -677,6 +704,7 @@ KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow)
KBUILD_CFLAGS += $(call cc-disable-warning, int-in-bool-context)
KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
KBUILD_CFLAGS += $(call cc-disable-warning, attribute-alias)
KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)

ifdef CONFIG_LD_DEAD_CODE_DATA_ELIMINATION
KBUILD_CFLAGS += $(call cc-option,-ffunction-sections,)
Expand Down
4 changes: 0 additions & 4 deletions arch/arm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ GZFLAGS :=-9
# Never generate .eh_frame
KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)

ifeq ($(cc-name),clang)
KBUILD_CFLAGS += -Wno-vectorizer-no-neon
endif

# This should work on most of the modern platforms
KBUILD_DEFCONFIG := multi_v7_defconfig
ifeq ($(COMPILER),clang)
Expand Down
20 changes: 0 additions & 20 deletions arch/arm/boot/dts/qcom/sa415m-ccard-usb-ep.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,6 @@
compatible = "qcom,sa415m-ccard",
"qcom,sdxpoorwills", "qcom,ccard";
qcom,board-id = <25 2>, <25 0x102>;

qcom_gadget {
compatible = "qcom,usb-gadget";
qcom,vid = <0x05c6>;

composition1 {
qcom,pid = <0x9103>;
qcom,composition = "diag.diag,ipc.ipc,gsi.rmnet,gsi.rmnet.v2x,ecm.ecm,gsi.dpl";
};

composition2 {
qcom,pid = <0x9105>;
qcom,composition = "diag.diag,gsi.dpl";
};

composition3 {
qcom,pid = <0x9107>;
qcom,composition = "diag.diag,ipc.ipc,gsi.rmnet.v2x,gsi.ecm,gsi.dpl";
};
};
};

&ipa_hw {
Expand Down
13 changes: 13 additions & 0 deletions arch/arm/boot/dts/qcom/sa415m-cdp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,16 @@
status = "okay";
};

&thermal_zones {
mdm-core-step {
trips {
mdm-step-trip-0 {
temperature = <105000>;
};

mdm-step-trip-1 {
temperature = <115000>;
};
};
};
};
16 changes: 15 additions & 1 deletion arch/arm/boot/dts/qcom/sa415m-mtp-256.dts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
/* Copyright (c) 2019, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
Expand Down Expand Up @@ -32,3 +32,17 @@
&smb138x {
status = "disabled";
};

&thermal_zones {
mdm-core-step {
trips {
mdm-step-trip-0 {
temperature = <105000>;
};

mdm-step-trip-1 {
temperature = <115000>;
};
};
};
};
16 changes: 15 additions & 1 deletion arch/arm/boot/dts/qcom/sa415m-ttp.dtsi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
Expand Down Expand Up @@ -99,6 +99,20 @@
status = "disabled";
};

&thermal_zones {
mdm-core-step {
trips {
mdm-step-trip-0 {
temperature = <105000>;
};

mdm-step-trip-1 {
temperature = <115000>;
};
};
};
};

&i2c_4 {
status = "okay";

Expand Down
16 changes: 15 additions & 1 deletion arch/arm/boot/dts/qcom/sa415m-v2-mtp.dts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
/* Copyright (c) 2019, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
Expand Down Expand Up @@ -37,3 +37,17 @@
&smb138x {
status = "disabled";
};

&thermal_zones {
mdm-core-step {
trips {
mdm-step-trip-0 {
temperature = <105000>;
};

mdm-step-trip-1 {
temperature = <115000>;
};
};
};
};
7 changes: 1 addition & 6 deletions arch/arm/configs/msm8909-perf_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ CONFIG_CNSS_SDIO=y
CONFIG_CLD_HL_SDIO_CORE=y
CONFIG_INPUT_EVDEV=y
CONFIG_KEYBOARD_GPIO=y
CONFIG_KEYBOARD_MATRIX=y
CONFIG_INPUT_JOYSTICK=y
CONFIG_INPUT_TOUCHSCREEN=y
CONFIG_INPUT_MISC=y
Expand Down Expand Up @@ -332,14 +331,10 @@ CONFIG_MSM_ISP_V1=y
CONFIG_MSM_ISPIF=y
CONFIG_MSM_VIDC_3X_V4L2=y
CONFIG_MSM_VIDC_3X_GOVERNORS=y
CONFIG_RADIO_IRIS=y
CONFIG_RADIO_IRIS_TRANSPORT=y
CONFIG_QCOM_KGSL=y
CONFIG_FB=y
CONFIG_FB_MSM=y
CONFIG_FB_MSM_MDSS=y
CONFIG_FB_MSM_MDSS_WRITEBACK=y
CONFIG_FB_MSM_MDSS_SPI_PANEL=y
CONFIG_FB_MSM_MDSS_DSI_CTRL_STATUS=y
CONFIG_FB_MSM_MDSS_MDP3=y
CONFIG_FB_MSM_MDSS_XLOG_DEBUG=y
Expand Down Expand Up @@ -456,7 +451,6 @@ CONFIG_SENSORS_SSC=y
CONFIG_MSM_TZ_LOG=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_SECURITY=y
CONFIG_FANOTIFY=y
CONFIG_QUOTA=y
CONFIG_QUOTA_NETLINK_INTERFACE=y
CONFIG_FUSE_FS=y
Expand Down Expand Up @@ -485,6 +479,7 @@ CONFIG_HARDENED_USERCOPY=y
CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SMACK=y
CONFIG_SECURITY_APPARMOR=y
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_CRYPTO_XCBC=y
CONFIG_CRYPTO_CRC32=y
CONFIG_CRYPTO_MD4=y
Expand Down
8 changes: 1 addition & 7 deletions arch/arm/configs/msm8909_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ CONFIG_CLD_HL_SDIO_CORE=y
CONFIG_INPUT_EVDEV=y
CONFIG_INPUT_EVBUG=y
CONFIG_KEYBOARD_GPIO=y
CONFIG_KEYBOARD_MATRIX=y
# CONFIG_INPUT_MOUSE is not set
CONFIG_INPUT_JOYSTICK=y
CONFIG_JOYSTICK_XPAD=y
Expand Down Expand Up @@ -355,15 +354,11 @@ CONFIG_MSM_ISP_V1=y
CONFIG_MSM_ISPIF=y
CONFIG_MSM_VIDC_3X_V4L2=y
CONFIG_MSM_VIDC_3X_GOVERNORS=y
CONFIG_RADIO_IRIS=y
CONFIG_RADIO_IRIS_TRANSPORT=y
CONFIG_QCOM_KGSL=y
CONFIG_FB=y
CONFIG_FB_VIRTUAL=y
CONFIG_FB_MSM=y
CONFIG_FB_MSM_MDSS=y
CONFIG_FB_MSM_MDSS_WRITEBACK=y
CONFIG_FB_MSM_MDSS_SPI_PANEL=y
CONFIG_FB_MSM_MDSS_DSI_CTRL_STATUS=y
CONFIG_FB_MSM_MDSS_MDP3=y
CONFIG_FB_MSM_MDSS_XLOG_DEBUG=y
Expand Down Expand Up @@ -398,7 +393,6 @@ CONFIG_USB_STORAGE=y
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_CP210X=y
CONFIG_USB_SERIAL_FTDI_SIO=y
CONFIG_USB_SERIAL_DEBUG=y
CONFIG_USB_EHSET_TEST_FIXTURE=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_DEBUG_FILES=y
Expand Down Expand Up @@ -506,7 +500,6 @@ CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT3_FS=y
CONFIG_EXT4_FS_SECURITY=y
CONFIG_FANOTIFY=y
CONFIG_QUOTA=y
CONFIG_QUOTA_NETLINK_INTERFACE=y
# CONFIG_PRINT_QUOTA_WARNING is not set
Expand Down Expand Up @@ -593,6 +586,7 @@ CONFIG_HARDENED_USERCOPY=y
CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SMACK=y
CONFIG_SECURITY_APPARMOR=y
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_CRYPTO_XCBC=y
CONFIG_CRYPTO_CRC32=y
CONFIG_CRYPTO_MD4=y
Expand Down
1 change: 1 addition & 0 deletions arch/arm/configs/ranchu_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ CONFIG_NETFILTER_XT_MATCH_MARK=y
CONFIG_NETFILTER_XT_MATCH_OWNER=y
CONFIG_NETFILTER_XT_MATCH_POLICY=y
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y
CONFIG_NETFILTER_XT_MATCH_QTAGUID=y
CONFIG_NETFILTER_XT_MATCH_QUOTA=y
CONFIG_NETFILTER_XT_MATCH_QUOTA2=y
CONFIG_NETFILTER_XT_MATCH_SOCKET=y
Expand Down
1 change: 0 additions & 1 deletion arch/arm/configs/sa415m-perf_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,6 @@ CONFIG_QCOM_SHOW_RESUME_IRQ=y
CONFIG_ANDROID=y
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDER_IPC_32BIT=y
CONFIG_MSM_TZ_LOG=y
CONFIG_VFAT_FS=y
CONFIG_TMPFS=y
CONFIG_UBIFS_FS=y
Expand Down
1 change: 0 additions & 1 deletion arch/arm/configs/sdm429-bg-perf_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ CONFIG_DM_VERITY=y
CONFIG_DM_VERITY_FEC=y
CONFIG_NETDEVICES=y
CONFIG_DUMMY=y
CONFIG_IFB=y
CONFIG_TUN=y
# CONFIG_NET_VENDOR_AMAZON is not set
# CONFIG_NET_CADENCE is not set
Expand Down
1 change: 0 additions & 1 deletion arch/arm/configs/sdm429-bg_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ CONFIG_DM_VERITY=y
CONFIG_DM_VERITY_FEC=y
CONFIG_NETDEVICES=y
CONFIG_DUMMY=y
CONFIG_IFB=y
CONFIG_TUN=y
# CONFIG_NET_VENDOR_AMAZON is not set
# CONFIG_NET_CADENCE is not set
Expand Down
7 changes: 0 additions & 7 deletions arch/arm/mm/ioremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,10 @@ void __check_vmalloc_seq(struct mm_struct *mm)

do {
seq = init_mm.context.vmalloc_seq;
#ifdef CONFIG_ENABLE_VMALLOC_SAVING
memcpy(pgd_offset(mm, PAGE_OFFSET),
pgd_offset_k(PAGE_OFFSET),
sizeof(pgd_t) * (pgd_index(VMALLOC_END) -
pgd_index(PAGE_OFFSET)));
#else
memcpy(pgd_offset(mm, VMALLOC_START),
pgd_offset_k(VMALLOC_START),
sizeof(pgd_t) * (pgd_index(VMALLOC_END) -
pgd_index(VMALLOC_START)));
#endif
mm->context.vmalloc_seq = seq;
} while (seq != init_mm.context.vmalloc_seq);
}
Expand Down
Loading

0 comments on commit 07b4041

Please sign in to comment.