Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6bbbe01 authored by Srinivasarao P's avatar Srinivasarao P
Browse files

Reverting below patches from android-4.19-stable.125



15207c29 ANDROID: add ion_stat tracepoint to common kernel
82d4e597 Revert "UPSTREAM: mm, page_alloc: spread allocations across zones before introducing fragmentation"
5e86f20f Revert "UPSTREAM: mm: use alloc_flags to record if kswapd can wake"
fbc355c1 Revert "BACKPORT: mm: move zone watermark accesses behind an accessor"
35be952a Revert "BACKPORT: mm: reclaim small amounts of memory when an external fragmentation event occurs"
776eba01 Revert "BACKPORT: mm, compaction: be selective about what pageblocks to clear skip hints
ca466128 ANDROID: GKI: USB: add Android ABI padding to some structures
a10905b7 ANDROID: GKI: usb: core: Add support to parse config summary capability descriptors
77379e5a ANDROID: GKI: USB: pd: Extcon fix for C current
27ac6136 ANDROID: GKI: usb: Add support to handle USB SMMU S1 address
52b86b23 ANDROID: GKI: usb: Add helper APIs to return xhci phys addresses
bf3e2f74 ANDROID: GKI: usb: phy: Fix ABI diff for usb_otg_state
a34e2697 ANDROID: GKI: usb: phy: Fix ABI diff due to usb_phy.drive_dp_pulse
7edd3030 ANDROID: GKI: usb: phy: Fix ABI diff for usb_phy_type and usb_phy.reset
639d56b9 ANDROID: GKI: usb: hcd: Add USB atomic notifier callback for HC died error
5b6a5354 ANDROID: GKI: USB: Fix ABI diff for struct usb_bus
a9c813f8 ANDROID: usb: gadget: Add missing inline qualifier to stub functions
632093ec ANDROID: GKI: USB: Resolve ABI diff for usb_gadget and usb_gadget_ops
f7fbc946 ANDROID: GKI: usb: Add helper API to issue stop endpoint command
5dfdaa15 ANDROID: GKI: usb: xhci: Add support for secondary interrupters
a6c834c0 ANDROID: GKI: usb: host: xhci: Add support for usb core indexing
c89d039e ANDROID: GKI: sched: add Android ABI padding to some structures
b14ffb02 ANDROID: GKI: sched.h: add Android ABI padding to some structures
c8308221 ANDROID: GKI: sched: struct fields for Per-Sched-domain over utilization
eead5149 ANDROID: GKI: sched: stub sched_isolate symbols
36e1278b ANDROID: GKI: sched: add task boost vendor fields to task_struct
3bc16e44 ANDROID: GKI: power_supply: Add FG_TYPE power-supply property
4211b823 ANDROID: GKI: power_supply: Add PROP_MOISTURE_DETECTION_ENABLED
0134f3d5 ANDROID: GKI: power: supply: format regression
66e25802 ANDROID: Incremental fs: wake up log pollers less often
c92446c8 ANDROID: Incremental fs: Fix scheduling while atomic error
adb33b84 ANDROID: Incremental fs: Avoid continually recalculating hashes
a8629beb ANDROID: Incremental fs: Fix issues with very large files
c7c8c613 ANDROID: Incremental fs: Add setattr call
9d7386aa ANDROID: Incremental fs: Use simple compression in log buffer
298fe8e6 ANDROID: Incremental fs: Fix create_file performance
580b23c9 ANDROID: Incremental fs: Fix compound page usercopy crash
06a024d4 ANDROID: Incremental fs: Clean up incfs_test build process
5e6feacb ANDROID: Incremental fs: make remount log buffer change atomic
5128381d ANDROID: Incremental fs: Optimize get_filled_block
23f5b7c5 ANDROID: Incremental fs: Fix mislabeled __user ptrs
114b0431 ANDROID: Incremental fs: Use 64-bit int for file_size when writing hash blocks
ae41ea98 ANDROID: Incremental fs: Fix remount
e251cfe6 ANDROID: Incremental fs: Protect get_fill_block, and add a field
759d52ee ANDROID: Incremental fs: Fix crash polling 0 size read_log
21b6d8c9 ANDROID: Incremental fs: get_filled_blocks: better index_out
0389387e net: qualcomm: rmnet: Allow configuration updates to existing devices
95b8a4b5 ANDROID: GKI: regulator: core: Add support for regulator providers with sync state
653a867e ANDROID: GKI: regulator: Add proxy consumer driver
6efb91e1 ANDROID: power_supply: Add RTX power-supply property
e90672c3 ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_CHARGE_DISABLE
d1e32530 usb: dwc3: gadget: Properly set maxpacket limit
074e6e41 usb: dwc3: gadget: Do link recovery for SS and SSP
dbee0a82 usb: dwc3: gadget: Fix request completion check
c521b700 usb: dwc3: gadget: Don't clear flags before transfer ended
d1eded7a usb: dwc3: gadget: don't enable interrupt when disabling endpoint
831494cb usb: dwc3: core: add support for disabling SS instances in park mode
b0434aae usb: dwc3: don't set gadget->is_otg flag
fe60e0dd usb: dwc3: gadget: Wrap around when skip TRBs
b71b0c1c ANDROID: GKI: drivers: thermal: cpu_cooling: Use CPU ID as cooling device ID
eaa42a57 ANDROID: GKI: drivers: of-thermal: Relate thermal zones using same sensor
10d3954a ANDROID: GKI: drivers: thermal: Add support for getting trip temperature
5a7902fb ANDROID: GKI: Add functions of_thermal_handle_trip/of_thermal_handle_trip_temp
b078dd60 ANDROID: GKI: drivers: thermal: Add post suspend evaluate flag to thermal zone devicetree
e92e4035 ANDROID: GKI: drivers: cpu_cooling: allow platform freq mitigation

Change-Id: Id2a4fb08f24ad83c880fa8e4c199ea90837649b5
Signed-off-by: default avatarSrinivasarao P <spathi@codeaurora.org>
parent a4834780
Loading
Loading
Loading
Loading
+0 −32
Original line number Diff line number Diff line
Regulator Proxy Consumer Bindings

Regulator proxy consumers provide a means to use a default regulator state
during bootup only which is removed at the end of boot.  This feature can be
used in situations where a shared regulator can be scaled between several
possible voltages and hardware requires that it be at a high level at the
beginning of boot before the consumer device responsible for requesting the
high level has probed.

Optional properties:
proxy-supply:			phandle of the regulator's own device node.
				This property is required if any of the three
				properties below are specified.
qcom,proxy-consumer-enable:	Boolean indicating that the regulator must be
				kept enabled during boot.
qcom,proxy-consumer-voltage:	List of two integers corresponding the minimum
				and maximum voltage allowed during boot in
				microvolts.
qcom,proxy-consumer-current:	Minimum current in microamps required during
				boot.

Example:

	foo_vreg: regulator@0 {
		regulator-name = "foo";
		regulator-min-microvolt = <1000000>;
		regulator-max-microvolt = <2000000>;
		proxy-supply = <&foo_vreg>;
		qcom,proxy-consumer-voltage = <1500000 2000000>;
		qcom,proxy-consumer-current = <25000>;
		qcom,proxy-consumer-enable;
	};
+0 −3
Original line number Diff line number Diff line
@@ -169,9 +169,6 @@ Optional property:
  Type: bool		thresholds, so the governors may mitigate by ensuring
			timing closures and other low temperature operating
			issues.
- wake-capable-sensor:	Set to true if thermal zone sensor is wake up capable
  Type: bool		and cooling devices binded to this thermal zone are not
  Size: none		affected during suspend.

Note: The delay properties are bound to the maximum dT/dt (temperature
derivative over time) in two situations for a thermal zone:
+21 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ Currently, these files are in /proc/sys/vm:
- swappiness
- user_reserve_kbytes
- vfs_cache_pressure
- watermark_boost_factor
- watermark_scale_factor
- zone_reclaim_mode

@@ -872,6 +873,26 @@ ten times more freeable objects than there are.

=============================================================

watermark_boost_factor:

This factor controls the level of reclaim when memory is being fragmented.
It defines the percentage of the high watermark of a zone that will be
reclaimed if pages of different mobility are being mixed within pageblocks.
The intent is that compaction has less work to do in the future and to
increase the success rate of future high-order allocations such as SLUB
allocations, THP and hugetlbfs pages.

To make it sensible with respect to the watermark_scale_factor parameter,
the unit is in fractions of 10,000. The default value of 15,000 means
that up to 150% of the high watermark will be reclaimed in the event of
a pageblock being mixed due to fragmentation. The level of reclaim is
determined by the number of fragmentation events that occurred in the
recent past. If this value is smaller than a pageblock then a pageblocks
worth of pages will be reclaimed (e.g.  2MB on 64-bit x86). A boost factor
of 0 will disable the feature.

=============================================================

watermark_scale_factor:

This factor controls the aggressiveness of kswapd. It defines the
+12 −19
Original line number Diff line number Diff line
@@ -288,6 +288,7 @@ static int rmnet_changelink(struct net_device *dev, struct nlattr *tb[],
{
	struct rmnet_priv *priv = netdev_priv(dev);
	struct net_device *real_dev;
	struct rmnet_endpoint *ep;
	struct rmnet_port *port;
	u16 mux_id;

@@ -302,28 +303,20 @@ static int rmnet_changelink(struct net_device *dev, struct nlattr *tb[],

	if (data[IFLA_RMNET_MUX_ID]) {
		mux_id = nla_get_u16(data[IFLA_RMNET_MUX_ID]);

		if (mux_id != priv->mux_id) {
			struct rmnet_endpoint *ep;

			ep = rmnet_get_endpoint(port, priv->mux_id);
			if (!ep)
				return -ENODEV;

		if (rmnet_get_endpoint(port, mux_id)) {
				NL_SET_ERR_MSG_MOD(extack,
						   "MUX ID already exists");
			NL_SET_ERR_MSG_MOD(extack, "MUX ID already exists");
			return -EINVAL;
		}
		ep = rmnet_get_endpoint(port, priv->mux_id);
		if (!ep)
			return -ENODEV;

		hlist_del_init_rcu(&ep->hlnode);
			hlist_add_head_rcu(&ep->hlnode,
					   &port->muxed_ep[mux_id]);
		hlist_add_head_rcu(&ep->hlnode, &port->muxed_ep[mux_id]);

		ep->mux_id = mux_id;
		priv->mux_id = mux_id;
	}
	}

	if (data[IFLA_RMNET_FLAGS]) {
		struct ifla_rmnet_flags *flags;
+0 −10
Original line number Diff line number Diff line
@@ -469,7 +469,6 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(comp_clamp_level),
	POWER_SUPPLY_ATTR(adapter_cc_mode),
	POWER_SUPPLY_ATTR(skin_health),
	POWER_SUPPLY_ATTR(charge_disable),
	POWER_SUPPLY_ATTR(adapter_details),
	POWER_SUPPLY_ATTR(dead_battery),
	POWER_SUPPLY_ATTR(voltage_fifo),
@@ -477,7 +476,6 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(operating_freq),
	POWER_SUPPLY_ATTR(aicl_delay),
	POWER_SUPPLY_ATTR(aicl_icl),
	POWER_SUPPLY_ATTR(rtx),
	POWER_SUPPLY_ATTR(cutoff_soc),
	POWER_SUPPLY_ATTR(sys_soc),
	POWER_SUPPLY_ATTR(batt_soc),
@@ -506,8 +504,6 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(irq_status),
	POWER_SUPPLY_ATTR(parallel_output_mode),
	POWER_SUPPLY_ATTR(alignment),
	POWER_SUPPLY_ATTR(moisture_detection_enabled),
	POWER_SUPPLY_ATTR(fg_type),
	/* Local extensions of type int64_t */
	POWER_SUPPLY_ATTR(charge_counter_ext),
	POWER_SUPPLY_ATTR(charge_charger_state),
@@ -613,12 +609,6 @@ int power_supply_uevent(struct device *dev, struct kobj_uevent_env *env)

		attr = &power_supply_attrs[psy->desc->properties[j]];

		if (!attr->attr.name) {
			dev_info(dev, "%s:%d FAKE attr.name=NULL skip\n",
				__FILE__, __LINE__);
			continue;
		}

		ret = power_supply_show_property(dev, attr, prop_buf);
		if (ret == -ENODEV || ret == -ENODATA) {
			/* When a battery is absent, we expect -ENODEV. Don't abort;
Loading