Commit Graph

1169359 Commits

Author SHA1 Message Date
David Wronek
45c35ddaed Fix clang 19 issues
Change-Id: I5d5d81bcefaf02a9542674ec00a58e9dd958561d
2024-12-25 17:54:26 +01:00
Wei Yang
322217c1fe memblock tests: fix undefined reference to `panic'
[ Upstream commit e0f5a8e74be88f2476e58b25d3b49a9521bdc4ec ]

commit e96c6b8f212a ("memblock: report failures when memblock_can_resize
is not set") introduced the usage of panic, which is not defined in
memblock test.

Let's define it directly in panic.h to fix it.

Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
CC: Song Shuai <songshuaishuai@tinylab.org>
CC: Mike Rapoport <rppt@kernel.org>
Link: https://lore.kernel.org/r/20240402132701.29744-3-richard.weiyang@gmail.com
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-25 13:42:54 +01:00
David Wronek
4a4d118674 e3q: Disable input booster
Change-Id: Ibef4cb569858b7757c2a06a8a971667e1ea71ede
2024-12-22 11:56:24 +01:00
David Wronek
2029f79be4 e3q: TEMPORARY HACK TO LOAD ALL MODULES
Change-Id: Ic4d2c388f19c63fad0d462c396fa08195d49e47f
2024-12-15 11:51:50 +01:00
David Wronek
dc2add5696 e3q: Fix sound card not being online
Change-Id: I8d8c39cae14413f158a61e16856f656b7be27d12
2024-12-11 21:50:34 +01:00
David Wronek
78c670a929 e3q: Import S928BXXS3AXI1 changes 2024-10-20 20:10:16 +02:00
Bruno Martins
976e70b34a scripts: Allow QCOM devicetree overlays to be properly combined
Apply the same logic that Qualcomm uses on their 5.15 kernel_platform
build scripts, as seen in commit e10f5dc.

As a sidenote, passing DTC_FLAGS externally is not an option since it
overrides any other flags set by the kernel makefile.
2024-10-20 20:09:27 +02:00
Danny Lin
5780d3b53b dtc: Silence warnings by default
Change-Id: Id9adf76a357dabd5f64503852baf84e67488fcb0
2024-10-20 20:09:27 +02:00
Cosmin Tanislav
395e33d386 arch: arm64: dts: Exclude standard dts if vendor dts exists
Change-Id: I11f68b27a45fa02861bd5b6526bf49664bfccfb8
2024-10-20 20:09:27 +02:00
David Wronek
dc0027c516 Import S928BXXU3AXH7 changes 2024-10-20 20:09:27 +02:00
David Wronek
4c31cc9fe8 Makefile: export headers from certain external modules 2024-10-07 20:17:23 +02:00
SGCMarkus
247458f58c Android.bp: add soong namespace 2024-10-05 13:28:37 +02:00
TALU
e4a3136cae arm64: Revert "sigcontext: use standard __uint128_t type for vregs in struct fpsimd_context."
It causes this issue with the Android build system:

out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/ge
n/usr/include/asm/sigcontext.h:53:2: error: unknown type name '__uint128_t'
        __uint128_t vregs[32];
        ^

Change-Id: Ia4cf9c0e2b6a32550ec6c4398139838add0b24a1
2024-10-05 13:26:14 +02:00
danielml
6bc44a0977 scripts: headers: Skip removal of unwanted headers
Change-Id: I5ba672e50a991c266e4e4195a25155708380ab69
2024-10-05 13:25:54 +02:00
SGCMarkus
ad386a8919 Makefile: export headers from certain external modules
* audio-kernel
* display-drivers
* video-kernel
* nxp driver

Change-Id: I64d38125fd705be754f67485e6d2eac2e664d7ef
2024-10-05 13:25:41 +02:00
LuK1337
ef6745fc13 Android: Add empty Android.mk file
* This prevents inclusion of drivers/staging/greybus/tools/Android.mk
  which will conflict in case we have more than 1 kernel tree in AOSP
  source dir.

Change-Id: I335bca7b6d6463b1ffc673ab5367603347516e13
2024-10-05 13:25:26 +02:00
Linux Build Service Account
7cf8e36f33 Merge 328d73e6b8 on remote branch
Change-Id: Ifb5ec2e7d8b7b8b3b11a6aba3565d1c0faa7e4b1
2024-09-11 03:24:30 -07:00
QCTECMDR Service
328d73e6b8 Merge "net: stmmac: Fix LPM issue on gen3" 2024-09-04 19:04:22 -07:00
QCTECMDR Service
9a254c3f9e Merge "soc: qcom: hab: Replace imp whse with rbtree based" 2024-09-04 19:04:21 -07:00
QCTECMDR Service
9ec41dc89f Merge "defconfig: sdmsteppeauto: Enable gpi config" 2024-09-04 19:04:21 -07:00
QCTECMDR Service
17124d3595 Merge "q2spi-msm-geni: Ensure Channel errors handled sequentially after START sequence fail" 2024-09-04 08:58:22 -07:00
Kishor Krishna Bhat
9e0b7733ce defconfig: sdmsteppeauto: Enable gpi config
Enable gpi config to allow the uart to access gpi.

Change-Id: I37bb00f25f3f5caed974b06828a118739a857e29
Signed-off-by: Kishor Krishna Bhat <quic_kishkris@quicinc.com>
2024-09-04 12:48:51 +05:30
QCTECMDR Service
e8fcda613b Merge "net: qrtr: Add condition to check data length while logging" 2024-09-03 22:40:04 -07:00
Chandana Kishori Chiluveru
4219aa4a08 q2spi-msm-geni: Ensure Channel errors handled sequentially after START sequence fail
When slave is in sleep q2spi host transfer will fail with GSI
start sequence failure. In this scenario two events reported from
GSI channel error and TX dma completion event 0x22. Since GSI
reports these events separately if start sequence fail is not
processed before channel error gpi_q2spi_terminate_all is called twice
and leading to GSI failures.

Ensure Channel errors in GSI recover path are handled sequentially
only after START sequence fail is processed.

Change-Id: Ie85528b6354241153330c403ba026c5006d5c78e
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2024-09-03 05:48:04 -07:00
Suraj Jaiswal
d2744b2a67 net: stmmac: Fix LPM issue on gen3
Fix LPM issue on gen3.

Change-Id: Ib7f4953e2cd25db3ace8a5912490ad528b6a0059
Signed-off-by: Suraj Jaiswal <quic_jsuraj@quicinc.com>
2024-09-03 15:09:54 +05:30
QCTECMDR Service
7f32770218 Merge "kernel: msm: Adding PPS2/PPS3" 2024-09-02 23:10:38 -07:00
QCTECMDR Service
10192a0685 Merge "usb: dwc3: dwc3-msm-core: configured dp/dm irqs" 2024-09-02 23:10:38 -07:00
QCTECMDR Service
488e19cdcf Merge "usb: dwc3: dwc3-msm-core: Switch to UTMI clk during host teardown" 2024-09-02 23:10:37 -07:00
QCTECMDR Service
ec0db65b6e Merge "net: stmmac: Re initialize Rx buffers" 2024-09-02 23:10:37 -07:00
QCTECMDR Service
e3bfd6c700 Merge "usb: gadget: f_gsi: bail out if opts is null" 2024-09-02 23:10:37 -07:00
QCTECMDR Service
472400d2a2 Merge "drivers: dcvs: bwmon: synchronize_irq before hibernation" 2024-09-02 23:10:36 -07:00
QCTECMDR Service
c69541a532 Merge "defconfig: Add support for usb related configs in Neo" 2024-09-02 23:10:36 -07:00
QCTECMDR Service
f5d64bca6c Merge "q2spi-msm-geni: Perform GSI terminate sequence for sleep packet" 2024-09-02 23:10:36 -07:00
Pranav Mahesh Phansalkar
cc7ea4f701 net: qrtr: Add condition to check data length while logging
For non QMI packets having data length less than eight bytes,
skb_copy_bits fails to copy packet data to log buffer.

So, Add condition to check data length. If the data length is less
than eight bytes, send actual data length to skb_copy_bits.

Change-Id: I2181016f224952d214a8f39fb06b47ace01dc51a
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-08-30 14:50:23 +05:30
Shubham Chouhan
573d0730c5 defconfig: Add support for usb related configs in Neo
Add support for usb related defconfigs on neo.

Change-Id: I3b6270e4f2f543af77af2d6357aa7011074023b3
Signed-off-by: Shubham Chouhan <quic_schouhan@quicinc.com>
2024-08-30 00:39:09 -07:00
Chintan Kothari
a324ec868e ARM: config: msm: Enable config for buses drivers in NEO
Enabling config for HS_UART,i2c,spi,gpi drivers for NEO soc.

Change-Id: Id177635b376d3078999e296b792389eadd5a232d
Signed-off-by: Chintan Kothari <quic_ckothari@quicinc.com>
2024-08-30 00:38:43 -07:00
Prashanth K
2e6653987c usb: gadget: f_gsi: bail out if opts is null
Currently, functions gsi_inst_clean & gsi_free_inst utilises
gsi_opts without any check, however there is a possibility
that the opts structure could become NULL. In such case, due
to lack of if checks can result in NULL pointer dereference.

Change-Id: I548690e2eee377b5292f258972ae7e38417f3085
Signed-off-by: Prashanth K <quic_prashk@quicinc.com>
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
2024-08-29 22:50:58 -07:00
Wesley Cheng
85b2f4820c usb: dwc3: dwc3-msm-core: Switch to UTMI clk during host teardown
After moving the flush_work() call after the usb_phy_notify_disconnect()
to address USB type C compliance issues (LFPS generated during host
teardown):

commit fb3c680116db ("usb: dwc3: dwc3-msm-core: Notify PHY disconnect
before doing flush_work")

During USB device PIPO, the notify PHY disconnect call to the QMP PHY
will cause the PHY to be powered down.  As part of the stop host mode
routine, the DWC3 core has to be placed back into device/peripheral
mode.  Some parts of the device mode initialization sequence, such as
the core soft reset, requires that the PIPE clk (or controller source
clock) be active, otherwise the core soft reset will time out.

To mitigate the side effect, temporarily switch to the UTMI as the
controller clock source, so that the PIPE clock can be powered off
without any consequences.  Once the move to DWC3 gadget mode is
complete, re-enable the PIPE clock as the controller source. (after
flush_work() is complete).

Change-Id: I59de803d737581c0037348498b8447f872adb62f
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2024-08-29 22:39:12 -07:00
QCTECMDR Service
d2fad072d1 Merge "clk: qcom: gcc-mdm9607: Fix cmd_rcgr offset for blsp1_uart6_apps_clk_src" 2024-08-29 00:47:47 -07:00
QCTECMDR Service
5b5c055ca1 Merge "defconfig: autogvm: Enable Aquantia PHY" 2024-08-29 00:47:47 -07:00
Srinath Pandey
b3bbfe7c43 net: stmmac: Re initialize Rx buffers
reinit rx buffers in resume.
Add support for driver remove\shutdown operation.

Change-Id: I3df26647627817a574990c223382d8e5d4da4c03
Signed-off-by: Srinath Pandey <quic_srinpand@quicinc.com>
2024-08-28 23:20:09 -07:00
Uttkarsh Aggarwal
37b027fb58 usb: dwc3: dwc3-msm-core: configured dp/dm irqs
- Ensure proper configuration of USB wakeup interrupts for
  DP_HS_PHY_IRQ and DM_HS_PHY_IRQ.
- Apply level high trigger when in host mode without a connected
  device.
- Use edge rising trigger otherwise.

Change-Id: I5962baa53c5170c61bca7be389d38bf63894caea
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-08-28 21:43:02 -07:00
QCTECMDR Service
840e64a463 Merge "remoteproc: qcom: pas: Fix rproc_config_check" 2024-08-28 13:18:17 -07:00
Srinath Pandey
b70cdcf3aa defconfig: autogvm: Enable Aquantia PHY
Enable CONFIG_AQUANTIA_PHY to support Aquantia phy in LA Guest.

Change-Id: I0823019f287974187b917193215bc0f389527920
Signed-off-by: Srinath Pandey <quic_srinpand@quicinc.com>
2024-08-28 10:36:13 -07:00
QCTECMDR Service
02d9ccf25c Merge "arm64: defconfig: Enable socinfo and smem drivers for Seraph SoC" 2024-08-28 10:00:20 -07:00
QCTECMDR Service
9da77be8b0 Merge "soc: qcom: hab: Add 3 new mmids in virtio-hab" 2024-08-28 06:34:20 -07:00
QCTECMDR Service
10a316335c Merge "net: ethernet: stmmac: Add 2.5G Phy Support" 2024-08-28 06:34:20 -07:00
QCTECMDR Service
c0db2be621 Merge "serial: msm_geni_serial: Prevent geni register access while suspend is in progress" 2024-08-28 03:07:30 -07:00
QCTECMDR Service
f90bdc4aa7 Merge "defconfig: Enable interconnect driver for NEO" 2024-08-28 03:07:30 -07:00
QCTECMDR Service
c1365d16ff Merge "drivers: emac_mdio_fe: Add module dependency" 2024-08-28 03:07:29 -07:00