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

Commit c59dc608 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: qcom: Add boot stat entries for kernel load start and end"

parents f9e40675 fcbb5c5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ CONFIG_ARCH_SDXLEMUR=y
CONFIG_BUILD_ARM_APPENDED_DTB_IMAGE=y
CONFIG_HWSPINLOCK_QCOM=y
CONFIG_MSM_BOOT_STATS=y
CONFIG_MSM_BOOT_TIME_MARKER=y
CONFIG_QGKI_MSM_BOOT_TIME_MARKER=y
CONFIG_QCOM_SMEM=y
CONFIG_SLIMBUS=y
CONFIG_IPC_LOGGING=y
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ CONFIG_PINCTRL_SX150X=y
CONFIG_ADSPRPC_QGKI=y
CONFIG_QCOM_APCS_IPC=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=16
CONFIG_MSM_BOOT_TIME_MARKER=y
CONFIG_QGKI_MSM_BOOT_TIME_MARKER=y
CONFIG_BRIDGE_NF_EBTABLES=y
CONFIG_BRIDGE_EBT_BROUTE=y
CONFIG_BRIDGE=y
+4 −4
Original line number Diff line number Diff line
@@ -405,7 +405,7 @@ static int qcom_ethqos_add_ipaddr(struct ip_params *ip_info,
		} else {
			ETHQOSINFO("Assigned IPv4 address: %s\r\n",
				   ip_info->ipv4_addr_str);
#ifdef CONFIG_MSM_BOOT_TIME_MARKER
#ifdef CONFIG_QGKI_MSM_BOOT_TIME_MARKER
place_marker("M - Etherent Assigned IPv4 address");
#endif
		}
@@ -453,7 +453,7 @@ static int qcom_ethqos_add_ipv6addr(struct ip_params *ip_info,
		} else {
			ETHQOSDBG("Assigned IPv6 address: %s\r\n",
				  ip_info->ipv6_addr_str);
#ifdef CONFIG_MSM_BOOT_TIME_MARKER
#ifdef CONFIG_QGKI_MSM_BOOT_TIME_MARKER
		place_marker("M - Ethernet Assigned IPv6 address");
#endif
		}
@@ -1537,7 +1537,7 @@ static int qcom_ethqos_probe(struct platform_device *pdev)
				    "qcom,emac-smmu-embedded"))
		return emac_emb_smmu_cb_probe(pdev);

#ifdef CONFIG_MSM_BOOT_TIME_MARKER
#ifdef CONFIG_QGKI_MSM_BOOT_TIME_MARKER
	place_marker("M - Ethernet probe start");
#endif

@@ -1684,7 +1684,7 @@ static int qcom_ethqos_probe(struct platform_device *pdev)
		/*Set early eth parameters*/
		ethqos_set_early_eth_param(priv, ethqos);
	}
#ifdef CONFIG_MSM_BOOT_TIME_MARKER
#ifdef CONFIG_QGKI_MSM_BOOT_TIME_MARKER
	place_marker("M - Ethernet probe end");
#endif

+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
#include <linux/net_tstamp.h>
#include <linux/reset.h>
#include <net/page_pool.h>
#ifdef CONFIG_MSM_BOOT_TIME_MARKER
#ifdef CONFIG_QGKI_MSM_BOOT_TIME_MARKER
#include <soc/qcom/boot_stats.h>
#endif

+3 −3
Original line number Diff line number Diff line
@@ -971,7 +971,7 @@ static void stmmac_mac_link_up(struct phylink_config *config,
		priv->eee_enabled = stmmac_eee_init(priv);
		stmmac_set_eee_pls(priv, priv->hw, true);
	}
#ifdef CONFIG_MSM_BOOT_TIME_MARKER
#ifdef CONFIG_QGKI_MSM_BOOT_TIME_MARKER
	if ((phy && phy->link == 1) && !priv->boot_kpi) {
		place_marker("M - Ethernet is Ready.Link is UP");
		priv->boot_kpi = true;
@@ -1985,7 +1985,7 @@ static int stmmac_tx_clean(struct stmmac_priv *priv, int budget, u32 queue)
				priv->dev->stats.tx_packets++;
				priv->xstats.tx_pkt_n++;
				priv->xstats.q_tx_pkt_n[queue]++;
#ifdef CONFIG_MSM_BOOT_TIME_MARKER
#ifdef CONFIG_QGKI_MSM_BOOT_TIME_MARKER
if (priv->dev->stats.tx_packets == 1)
	place_marker("M - Ethernet first packet transmitted");
#endif
@@ -3770,7 +3770,7 @@ static int stmmac_rx(struct stmmac_priv *priv, int limit, u32 queue)
		napi_gro_receive(&ch->rx_napi, skb);

		priv->dev->stats.rx_packets++;
#ifdef CONFIG_MSM_BOOT_TIME_MARKER
#ifdef CONFIG_QGKI_MSM_BOOT_TIME_MARKER
	if (priv->dev->stats.rx_packets == 1)
		place_marker("M - Ethernet first packet received");
#endif
Loading