Skip to content
This repository was archived by the owner on Oct 30, 2021. It is now read-only.

Commit 518cfd9

Browse files
committed
Merge branch 'android-msm-sunfish-4.14' into android-msm-pixel-4.14
Conflicts: Documentation/devicetree/bindings/drm/msm/mdss-dsi-panel.txt Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl arch/arm64/include/asm/processor.h arch/arm64/kernel/process.c drivers/block/zram/zram_dedup.c drivers/char/diag/diag_masks.c drivers/char/diag/diag_memorydevice.c drivers/char/diag/diag_memorydevice.h drivers/char/diag/diag_mux.c drivers/char/diag/diag_mux.h drivers/char/diag/diagchar_core.c drivers/char/diag/diagfwd.c drivers/char/diag/diagfwd_bridge.c drivers/gpu/drm/msm/dsi-staging/dsi_backlight.c drivers/gpu/drm/msm/dsi-staging/dsi_display.c drivers/gpu/drm/msm/dsi-staging/dsi_drm.c drivers/gpu/drm/msm/dsi-staging/dsi_panel.c drivers/gpu/drm/msm/sde/sde_connector.c drivers/gpu/drm/msm/sde/sde_connector.h drivers/gpu/drm/msm/sde/sde_crtc.c drivers/gpu/drm/msm/sde/sde_encoder.c drivers/gpu/drm/msm/sde/sde_kms.c drivers/gpu/drm/msm/sde_power_handle.h drivers/gpu/msm/kgsl_events.c drivers/input/misc/lm36011/lm36011_module.c drivers/media/platform/msm/camera/cam_icp/cam_icp_context.c drivers/media/platform/msm/camera/cam_isp/cam_isp_context.c drivers/media/platform/msm/camera/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c drivers/media/platform/msm/camera/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c drivers/media/platform/msm/camera/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.h drivers/media/platform/msm/camera/cam_isp/isp_hw_mgr/isp_hw/include/cam_ife_csid_hw_intf.h drivers/media/platform/msm/camera/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe17x/cam_vfe175_130.h drivers/media/platform/msm/camera/cam_req_mgr/cam_req_mgr_core.c drivers/media/platform/msm/camera/cam_req_mgr/cam_req_mgr_core.h drivers/media/platform/msm/camera/cam_req_mgr/cam_req_mgr_interface.h drivers/media/platform/msm/camera/cam_sensor_module/Makefile drivers/media/platform/msm/camera/cam_sensor_module/cam_cci/cam_cci_core.c drivers/media/platform/msm/camera/cam_sensor_module/cam_cci/cam_cci_dev.c drivers/media/platform/msm/camera/cam_sensor_module/cam_cci/cam_cci_dev.h drivers/media/platform/msm/camera/cam_sensor_module/cam_csiphy/cam_csiphy_core.c drivers/media/platform/msm/camera/cam_sensor_module/cam_csiphy/cam_csiphy_soc.c drivers/media/platform/msm/camera/cam_sensor_module/cam_eeprom/cam_eeprom_dev.h drivers/media/platform/msm/camera/cam_sensor_module/cam_ois/cam_ois_core.c drivers/media/platform/msm/camera/cam_sensor_module/cam_sensor/cam_sensor_core.c drivers/media/platform/msm/camera/cam_sensor_module/cam_sensor/cam_sensor_dev.h drivers/media/platform/msm/sde/rotator/sde_rotator_core.c drivers/pci/host/pci-msm-msi.c drivers/pci/host/pci-msm.c drivers/platform/msm/gsi/gsi.c drivers/platform/msm/ipa/ipa_v3/ipa_debugfs.c drivers/platform/msm/ipa/ipa_v3/ipa_wdi3_i.c drivers/power/supply/google/Kconfig drivers/power/supply/google/Makefile drivers/power/supply/google/gbms_storage.c drivers/power/supply/google/google_battery.c drivers/power/supply/google/google_bms.h drivers/power/supply/google/gvotable.c drivers/power/supply/google/gvotable.h drivers/power/supply/power_supply_sysfs.c drivers/power/supply/qcom/Kconfig drivers/power/supply/qcom/Makefile drivers/power/supply/qcom/qpnp-smb5.c drivers/power/supply/qcom/smb5-lib.c drivers/power/supply/qcom/smb5-lib.h drivers/regulator/Kconfig drivers/regulator/Makefile drivers/regulator/qpnp-amoled-regulator.c drivers/scsi/ufs/ufshcd.h drivers/usb/dwc3/dwc3-msm.c drivers/usb/gadget/function/f_accessory.c fs/ext4/move_extent.c fs/overlayfs/namei.c include/linux/msm_gsi.h include/linux/power_supply.h include/uapi/media/cam_req_mgr.h include/uapi/media/cam_sensor.h kernel/sched/fair.c mm/memory.c Bug: 149536833 Change-Id: I3544549951f29271154814dd78877b83ffb32179 Signed-off-by: Wilson Sung <wilsonsung@google.com>
2 parents 7199d15 + 7dbae7a commit 518cfd9

File tree

713 files changed

+90198
-11835
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

713 files changed

+90198
-11835
lines changed

AndroidKernel.mk

+5-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@ KERNEL_GCC_NOANDROID_CHK := $(shell (echo "int main() {return 0;}" | $(KERNEL_CR
7676

7777
real_cc :=
7878
ifeq ($(KERNEL_LLVM_SUPPORT),true)
79-
real_cc := REAL_CC=$(KERNEL_LLVM_BIN) CLANG_TRIPLE=aarch64-linux-gnu-
79+
ifeq ($(KERNEL_ARCH), arm64)
80+
real_cc := REAL_CC=$(KERNEL_LLVM_BIN) CLANG_TRIPLE=aarch64-linux-gnu-
81+
else
82+
real_cc := REAL_CC=$(KERNEL_LLVM_BIN) CLANG_TRIPLE=arm-linux-gnueabihf
83+
endif
8084
else
8185
ifeq ($(strip $(KERNEL_GCC_NOANDROID_CHK)),0)
8286
KERNEL_CFLAGS := KCFLAGS=-mno-android

Documentation/devicetree/bindings/arm/msm/msm.txt

+4
Original file line numberDiff line numberDiff line change
@@ -237,5 +237,9 @@ compatible = "qcom,atollp"
237237
compatible = "qcom,atollp-idp"
238238
compatible = "qcom,atollp-atp"
239239
compatible = "qcom,atollp-qrd"
240+
compatible = "qcom,atoll-ab"
241+
compatible = "qcom,atoll-ab-idp"
242+
compatible = "qcom,atoll-ab-atp"
243+
compatible = "qcom,atoll-ab-qrd"
240244
compatible = "qcom,qcs610-iot"
241245
compatible = "qcom,qcs410-iot"

Documentation/devicetree/bindings/bus/mhi.txt

+6
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ Main node properties:
4141
Use "esoc" followed by numbers starting from 0 for external SOC's or
4242
any other relevant names.
4343

44+
- mhi,sfr-support
45+
Usage: optional
46+
Value type: <bool>
47+
Definition: Set to true if MHI device supports sending subsystem failure
48+
reason upon assert in case PCIe link is functional.
49+
4450
============================
4551
mhi channel node properties:
4652
============================

Documentation/devicetree/bindings/display/msm/sde.txt

+39
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,17 @@ Optional properties:
446446
1: priority have to be explicitly configured for a given pair of pipes.
447447
- qcom,sde-num-mnoc-ports: A u32 property to indicate the number of mnoc ports
448448
- qcom,sde-axi-bus-width: A u32 property to indicate the axi bus width value in bytes
449+
- qcom,sde-mixer-stage-base-layer: A boolean property to indicate if a layer can be staged on base
450+
stage instead of border fill
451+
- qcom,sde-limits: A node that lists the limits for different properties. This node
452+
can have multiple child nodes. Each child node represents a
453+
specific usecase limit. The usecase can be defined for properties like
454+
sspp linewidth, bw limit etc.
455+
e.g. qcom,sde-limits
456+
-- qcom,sde-limit-name: name of the usecase
457+
-- qcom,sde-limit-cases: different usecases to be considered
458+
-- qcom,sde-limit-ids: respective ids for the above usecases
459+
-- qcom,sde-limit-values: usecase and value for different combinations
449460

450461
Bus Scaling Subnodes:
451462
- qcom,sde-reg-bus: Property to provide Bus scaling for register access for
@@ -769,6 +780,34 @@ Example:
769780
qcom,sde-dspp-vlut = <0x0 0x00010000>;
770781
};
771782

783+
qcom,sde-limits {
784+
qcom,sde-linewidth-limits{
785+
qcom,sde-limit-cases = "vig", "dma", "scaling", "inline_rot";
786+
qcom,sde-limit-ids= <0x1 0x2 0x4 0x8>;
787+
/* the qcom,sde-limit-values property consist of two values:
788+
one for the usecase and the other for the value. The usecase can be
789+
any combination of the values mentioned in qcom,sde-limit-ids.
790+
For eg: <0x5 2560> means usecase is 0x5 and value is 2560.
791+
0x5 = (0x1 | 0x4) = vig + scaling. Thus the linewidth for usecase
792+
vig + scaling = 2560 */
793+
qcom,sde-limit-values = <0x1 4096>,
794+
<0x5 2560>,
795+
<0xd 1088>,
796+
<0x2 4096>;
797+
};
798+
qcom,sde-bw-limits{
799+
qcom,sde-limit-cases = "per_pipe", "total_bw", "vfe_on", "cwb_on";
800+
qcom,sde-limit-ids = <0x1 0x2 0x4 0x8>;
801+
qcom,sde-limit-values = <0x1 2600000>,
802+
<0x9 2600000>,
803+
<0x5 2600000>,
804+
<0xd 2600000>,
805+
<0x2 5800000>,
806+
<0xa 5500000>,
807+
<0x6 4400000>,
808+
<0xe 3900000>;
809+
};
810+
};
772811
qcom,sde-mixer-blocks {
773812
qcom,sde-mixer-gc = <0x3c0 0x00010000>;
774813
};

Documentation/devicetree/bindings/drm/msm/mdss-dsi-panel.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ Optional properties:
143143
0 = default value
144144
- qcom,mdss-dsi-v-bottom-border: Vertical bottom border in pixel.
145145
0 = default value
146+
- qcom,mdss-dsi-overlap-pixels: Horizontal overlap pixels for certain panels.
147+
0 = default value
146148
- qcom,mdss-dsi-underflow-color: Specifies the controller settings for the
147149
panel under flow color.
148150
0xff = default value.
@@ -503,6 +505,7 @@ Optional properties:
503505
- qcom,panel-ack-disabled: A boolean property to indicate, whether we need to wait for any ACK from the panel
504506
for any commands that we send.
505507
- qcom,mdss-dsi-force-clock-lane-hs: Boolean to force dsi clock lanes to HS mode always.
508+
- qcom,panel-cphy-mode: Boolean to specify whether panel is using cphy.
506509

507510
- qcom,compression-mode: Select compression mode for panel.
508511
"fbc" - frame buffer compression
@@ -548,7 +551,8 @@ Optional properties:
548551
to identify the default topology for the
549552
display. The first set is indexed by the
550553
value 0.
551-
- qcom,mdss-dsi-ext-bridge-mode: External bridge chip is connected instead of panel.
554+
- qcom,mdss-dsi-ext-bridge: Array of u32 values which specifies the external bridge chip reg number, it
555+
should match the port config.
552556
- google,mdss-dsi-panel-vendor string: panel vendor name
553557
- google,mdss-dsi-panel-sn-location Panel serial number is read by MIPI command. And it is defined by a
554558
set of 3 values in the order:

Documentation/devicetree/bindings/drm/msm/sde-dsi.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ Required properties:
88
- compatible: Should be "qcom,dsi-ctrl-hw-v<version>". Supported
99
versions include 1.4, 2.0 and 2.2.
1010
eg: qcom,dsi-ctrl-hw-v1.4, qcom,dsi-ctrl-hw-v2.0,
11-
qcom,dsi-ctrl-hw-v2.2, qcom,dsi-ctrl-hw-v2.3
11+
qcom,dsi-ctrl-hw-v2.2, qcom,dsi-ctrl-hw-v2.3,
12+
qcom,dsi-ctrl-hw-v2.4
1213
And for dsi phy driver:
1314
qcom,dsi-phy-v0.0-hpm, qcom,dsi-phy-v0.0-lpm,
1415
qcom,dsi-phy-v1.0, qcom,dsi-phy-v2.0,

Documentation/devicetree/bindings/i2c/qcom,i2c-qcom-geni.txt

+13-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,19 @@ Required properties:
1515
- qcom,wrapper-core: Wrapper QUPv3 core containing this I2C controller.
1616

1717
Optional property:
18-
- qcom,clk-freq-out : Desired I2C bus clock frequency in Hz.
18+
- qcom,clk-freq-out: Desired I2C bus clock frequency in Hz.
1919
When missing default to 400000Hz.
20+
- qcom,clk-cfg: Array of <u32>, clk cfg array should have 2nd to 5th parameter as
21+
suggested by hardware expert. Standard frequency parameters taken cared by the
22+
driver itself. This field is needed only if client freq is not from the i2c standard
23+
supported frequencies or to fine tune the existing clock parameters.
24+
1st parameter: clk-freq-out, desired I2C bus clock frequency in Hz.
25+
2nd parameter: clk_div, desired I2C bus divider value.
26+
3rd parameter: t_high, desired HIGH period of SCL clock.
27+
4th parameter: t_low, desired LOW period of SCL clock.
28+
5th parameter: t_cycle, desired clock cycle.
29+
30+
Note: Both qcom,clk-freq-out and qcom,clk-cfg should not be specified at the same time.
2031

2132
Child nodes should conform to i2c bus binding.
2233

@@ -37,4 +48,5 @@ i2c@a94000 {
3748
#size-cells = <0>;
3849
qcom,wrapper-core = <&qupv3_0>;
3950
qcom,clk-freq-out = <400000>;
51+
qcom,clk-cfg = <400000 2 5 12 24>; //optional to qcom,clk-freq-out
4052
};

Documentation/devicetree/bindings/pci/msm_ep_pcie.txt

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ Optional Properties:
6969
- qcom,msm-bus,num-cases
7070
- qcom,msm-bus,num-paths
7171
- qcom,msm-bus,vectors-KBps
72+
- qcom,pcie-m2-autonomous: Enable L1ss sleep/exit to support M2 autonomous mode.
7273

7374
Example:
7475

Documentation/devicetree/bindings/pinctrl/qcom,lpi-pinctrl.txt

+8
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ Following properties are for LPI GPIO controller device main node.
3737
The first cell will be used to define gpio number and the
3838
second denotes the flags for this gpio.
3939

40+
- goog,ignored-gpios:
41+
Usage: optional
42+
Value type: <prop-encoded-array>
43+
Definition: List of gpio numbers should be ignored by the driver. It
44+
might be useful if this gpio mmio is unmapped from Linux
45+
kernel address space and that addresses should never be
46+
accessed.
47+
4048
- clock-names:
4149
Usage: optional
4250
Value type: <string>

Documentation/devicetree/bindings/pinctrl/qcom,sdmmagpie-pinctrl.txt

+8
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ SDMMAGPIE platform.
4747
Definition: must be 2. Specifying the pin number and flags, as defined
4848
in <dt-bindings/gpio/gpio.h>
4949

50+
- goog,ignored-gpios:
51+
Usage: optional
52+
Value type: <prop-encoded-array>
53+
Definition: List of gpio numbers should be ignored by the driver. It
54+
might be useful if this gpio mmio is unmapped from Linux
55+
kernel address space and that addresses should never be
56+
accessed.
57+
5058
Please refer to ../gpio/gpio.txt and ../interrupt-controller/interrupts.txt for
5159
a general description of GPIO and interrupt bindings.
5260

Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl

+7-6
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,20 @@ SM8150 platform.
4747
Definition: must be 2. Specifying the pin number and flags, as defined
4848
in <dt-bindings/gpio/gpio.h>
4949

50-
- goog,ignored-gpios:
51-
Usage: optional
52-
Value type: <prop-encoded-array>
53-
Definition: List of gpio numbers should be ignored by the driver. It might
54-
be useful if this gpio mmio is unmapped from Linux kernel address space
55-
and that addresses should never be accessed.
5650
- dirconn-list:
5751
Usage: optional
5852
Value type: <prop-encoded-array>
5953
Definition: a 3-tuple list which contains mapping of GPIO pin to
6054
hardware IRQ, and a boolean for enabling the TLMM direct
6155
connect interrupt for the pin.
6256

57+
- goog,ignored-gpios:
58+
Usage: optional
59+
Value type: <prop-encoded-array>
60+
Definition: List of gpio numbers should be ignored by the driver. It might
61+
be useful if this gpio mmio is unmapped from Linux kernel address space
62+
and that addresses should never be accessed.
63+
6364
Please refer to ../gpio/gpio.txt and ../interrupt-controller/interrupts.txt for
6465
a general description of GPIO and interrupt bindings.
6566

Documentation/devicetree/bindings/power/supply/qcom/qpnp-qg.txt

+8
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,14 @@ First Level Node - QGAUGE device
441441
value is 90%. This property is valid only if
442442
qcom,tcss-enable is defined.
443443

444+
- qcom,bass-enable
445+
Usage: optional
446+
Value type: bool
447+
Definition: Enable Battery SOC based SOC scaling. This logic
448+
allows monotonic-SOC scaling at low-temperatures
449+
when there is variation in system-SOC due to
450+
changes in the load.
451+
444452
==========================================================
445453
Second Level Nodes - Peripherals managed by QGAUGE driver
446454
==========================================================
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
Qualcomm Technologies, Inc. SMB1398 Charger Specific Bindings
2+
3+
SMB1398 combo charge chip can be working in different modes:
4+
(1) DIV2 charge pump mode to work as a companion charger that can be paired
5+
with Qualcomm Technologies, Inc. family of standalone chargers;
6+
(2) DIV2 and 3-level buck combo mode to regulate output power from wireless
7+
charger receiver and provide input power for downstream chargers.
8+
9+
=======================
10+
Required Node Structure
11+
=======================
12+
13+
SMB1398 Charger must be described in two levels of device nodes.
14+
15+
==================================
16+
First Level Node - SMB1398 Charger
17+
==================================
18+
19+
Charger specific properties:
20+
- compatible
21+
Usage: required
22+
Value type: <string>
23+
Definition: "qcom,smb1396-div2-cp-master" for SMB1396 working in DIV2
24+
mode as a companion master charger.
25+
"qcom,smb1396-div2-cp-slave" for SMB1396 working in DIV2
26+
mode as a companion slave charger.
27+
"qcom,smb1398-pre-regulator" for SMB1398 working in combo
28+
mode (auto transition between DIV2 CP and 3-level buck) as a
29+
pre-regulator stand between wireless receiver and downstream
30+
chargers.
31+
32+
- interrupts
33+
Usage: optional
34+
Value type: <prop-encoded-array>
35+
Definition: Peripheral interrupt specifier. This is required when SMB1396
36+
working as a DIV2 CP master.
37+
38+
- interrupt-names
39+
Usage: optional
40+
Value type: <stringlist>
41+
Definition: Interrupt names. This list must match up 1-to-1 with the
42+
interrupts specified in the 'interrupts' property. This is
43+
required when SMB1396 working as a DIV2 CP master.
44+
45+
- io-channels
46+
- io-channel-names
47+
Usage: optional
48+
Value type: <phandle>
49+
Definition: The IIO channel for measuring SMB1398 die temperature,
50+
io-channel-names should be "die-temp". For other details about
51+
IIO bindings see:
52+
Documentation/devicetree/bindings/iio/iio-bindings.txt
53+
These properties are required when SMB1396 working as a DIV2 CP
54+
master.
55+
56+
- qcom,div2-cp-min-ilim-ua
57+
Usage: optional
58+
Value type: <u32>
59+
Definition: The minimum ILIM settings to enable SMB1398 working in DIV2 mode.
60+
The switcher is disabled when ILIM is below this value.
61+
If this values is not specified, the default minimum ILIM is 1A.
62+
This is only applicable when SMB1396 working as a DIV2 CP master.
63+
64+
- qcom,max-cutoff-soc
65+
Usage: optional
66+
Value type: <u32>
67+
Definition: SOC beyond which SMB1398 is kept disabled.
68+
If this value is not specified then default value is 85%.
69+
This is only applicable when SMB1396 working as a DIV2 CP master.
70+
71+
- qcom,ilim-ua-disable-slave
72+
Usage: optional
73+
Value type: <u32>
74+
Definition: The minimum ILIM setting to disable slave CP after hitting taper.
75+
If this value is not specified, the default value is 3 times of
76+
"qcom,div2-cp-min-ilim-ua". This is only applicable when both
77+
SMB1396 DIV2 CP master and slave are present.
78+
79+
Peripheral specific properties:
80+
=======
81+
Example
82+
=======
83+
84+
smb1398_charger: qcom,combo_charger {
85+
compatible = "qcom,smb1396-div2-cp-master";
86+
interrupt-parent = <&smb1398>;
87+
status = "disabled";
88+
89+
io-channels = <&pm8150b_vadc ADC_AMUX_THM2>;
90+
io-channel-names = "die_temp";
91+
92+
interrupts = <0x26 0x1 IRQ_TYPE_EDGE_RISING>,
93+
<0x26 0x3 IRQ_TYPE_EDGE_RISING>,
94+
<0x26 0x5 IRQ_TYPE_EDGE_RISING>,
95+
<0x26 0x7 IRQ_TYPE_EDGE_RISING>,
96+
<0x27 0x5 IRQ_TYPE_EDGE_RISING>,
97+
<0x27 0x6 IRQ_TYPE_EDGE_RISING>,
98+
<0x27 0x7 IRQ_TYPE_EDGE_RISING>;
99+
interrupt-names = "temp-shdwn",
100+
"div2-irev",
101+
"usbin-uv",
102+
"usbin-ov",
103+
"div2-ilim",
104+
"div2-win-uv",
105+
"div2-win-ov";
106+
};

Documentation/devicetree/bindings/sound/qcom-audio-dev.txt

+5
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,11 @@ Required properties:
433433
Optional properties:
434434
- qcom,lpi-gpios : This boolean property is added if GPIOs are under
435435
LPI TLMM.
436+
- qcom,chip-wakeup-reg : This lists registers related to control interrupt mask
437+
for respective LPI TLMM GPIOs.
438+
- qcom,chip-wakeup-maskbit : This gives info on maskbit for given list of registers.
439+
- qcom,chip-wakeup-default-val : This gives info on default value to be updated
440+
for given chip regs.
436441

437442
* msm-dai-slim
438443

Documentation/leds/leds-class.txt

+4
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ overhead, I suggest these become part of the device name. The naming scheme
5151
above leaves scope for further attributes should they be needed. If sections
5252
of the name don't apply, just leave that section blank.
5353

54+
Optionally, the driver may choose to register with the LED_BRIGHTNESS_FAST flag.
55+
This flag indicates that the driver implements the brightness_set() callback
56+
function using a fastpath so the LED core can use hrtimer if the driver requires
57+
high precision for the trigger timing.
5458

5559
Brightness setting API
5660
======================

arch/arm/Kconfig

+23
Original file line numberDiff line numberDiff line change
@@ -1758,6 +1758,29 @@ config ARM_MODULE_PLTS
17581758

17591759
source "mm/Kconfig"
17601760

1761+
choice
1762+
prompt "Virtual Memory Reclaim"
1763+
default ENABLE_VMALLOC_SAVING
1764+
help
1765+
Select the method of reclaiming virtual memory
1766+
1767+
config ENABLE_VMALLOC_SAVING
1768+
bool "Reclaim memory for each subsystem"
1769+
help
1770+
Enable this config to reclaim the virtual space belonging
1771+
to any subsystem which is expected to have a lifetime of
1772+
the entire system. This feature allows lowmem to be non-
1773+
contiguous.
1774+
1775+
config NO_VM_RECLAIM
1776+
bool "Do not reclaim memory"
1777+
help
1778+
Do not reclaim any memory. This might result in less lowmem
1779+
and wasting virtual memory space which could otherwise be
1780+
reclaimed by using any of the other two config options.
1781+
1782+
endchoice
1783+
17611784
config FORCE_MAX_ZONEORDER
17621785
int "Maximum zone order"
17631786
default "12" if SOC_AM33XX

0 commit comments

Comments
 (0)