Commit Graph

17 Commits

Author SHA1 Message Date
Yu Tu 29423412ec pcie: add not msi interrupt judge logic [1/1]
PD#SWPL-144384

Problem:
pcie wifi interrupt too many lead to system crash

Solution:
add not msi interrupt judge logic

Verify:
S5

Change-Id: I1d6e420ce48e2e74d787349ff31dc632d18c94bb
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-11-03 19:56:05 +08:00
Yu Tu b667db8993 pcie: resume lost msi lead to wifi not work [1/1]
PD#SWPL-143010

Problem:
common code lose patch [815953dc2011ad7a34de]

Solution:
pcie host workround

Verify:
sc2

Change-Id: Ie115ae9f8565816b52d9b77f8a588114e45fdb02
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-10-23 14:27:42 +08:00
Yu Tu 603f1e1061 pcie: add workround port for some quirks pcie device [1/1]
PD#SWPL-141074

Problem:
Some pcie devices are not designed according to the conventional pcie
specifications, which is weird. So need provide port for workround.

Solution:
add workround port

Verify:
s5 and sc2

Change-Id: I236be95d2a9a879bf9ea85e22344501e60e68dac
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-10-13 19:15:12 +08:00
Yu Tu 8bc712d38a pci: clean coverity error [1/1]
PD#SWPL-134414

Problem:
need clean pci driver coverity error

Solution:
add check return value

Verify:
compile is ok

Change-Id: Icc95d13c4171746729636829ed371eee1e76def7
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-08-15 08:09:07 -07:00
Yu Tu e727c8dec3 pci: pcie with ssd suspend and resume cause crash [1/1]
PD#SWPL-132654

Problem:
pcie with ssd suspend and resume cause crash

Solution:
modified suspend and resume process

Verify:
t7c

Change-Id: Iffd7db7038aba4b1f6574e4759436ec19345f246
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-07-24 05:08:30 -07:00
Yu Tu 445d46ef13 pcie: pcie suspend some scene failed [1/1]
PD#SWPL-129047

Problem:
pcie suspend some scene failed

Solution:
modified suspend condition judgment

Verify:
t3x

Change-Id: I3618f273420a5593da5b6af4c5b8b9694f95087c
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-06-24 21:24:25 -07:00
Yu Tu 88b89de0d1 pcie: configure pcie phy for temperature compensation [1/1]
PD#SWPL-124477

Problem:
The pcie of a high or low temperature cooker causes the system
to crash

Solution:
configure pcie phy for temperature compensation

Verify:
s5

Change-Id: I78299d0eae03cb179cec2559053612033786d074
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-05-23 03:14:14 -07:00
Yu Tu 5c8bc47b80 pcie: bringup t3x pcie [1/1]
PD#SWPL-117209

Problem:
t3x need to support pcie

Solution:
add pcie driver

Verify:
t3x_bc309

Change-Id: I626241fc5f266e929e59a7bceb6e4ebeaf7d35e6
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-05-18 21:08:39 +08:00
Yu Tu 77b03370e5 pcie: pcie module name not match [1/1]
PD#SWPL-115979

Problem:
pcie module name not match

Solution:
modified to init name

Verify:
t7

Change-Id: I873fbc2215de21ed5d64f2ba26ae82e7ec26ff46
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-04-15 08:59:04 +08:00
Yu Tu b5343fb7c2 pcie: s5 pcie suspend/resume linkup timeout error [1/1]
PD#SWPL-114280

Problem:
s5 pcie suspend/resume linkup timeout error

Solution:
modified linkup suspend check

Verify:
s5_s928x_ax208

Change-Id: I4b1a7dc2b18cb8bfb66932d4022b104d92bcfc50
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-04-15 08:59:04 +08:00
Yu Tu 908927c13e pcie: add pcie driver for s5 [1/1]
PD#SWPL-108762

Problem:
need bringup s5 pcie

Solution:
add s5 pcie driver

Verify:
s5_208

Change-Id: Ifc3430a5b01486faab24ef4222fb74ccaa3fd0ec
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-04-15 08:59:03 +08:00
Yu Tu 6602140f32 pcie: pcie devices use fake smmu protect [1/1]
PD#SWPL-107543

Problem:
pcie devices need tee memory protect

Solution:
add pcie devices use fake smmu protect

Verify:
t7

Change-Id: I396ea32fa42902dd7f0231f9d13df592b6ca94dd
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-01-06 08:17:00 -08:00
Jianxiong Pan eff420da51 mm: select the SWIOTLB and DMA_RESTRICTED_POOL default. [1/1]
PD#SWPL-105795

Problem:
need enable SWIOTLB and DMA_RESTRICTED_POOL for arm.

Solution:
select the SWIOTLB and DMA_RESTRICTED_POOL default.

Verify:
build pass.

Change-Id: Ic3ba5cec1fec95e37ada41c50d72af48c3908124
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2022-12-18 18:38:38 +08:00
Yu Tu 64f06cb58a pcie: add pcie devices tee memory protect [1/1]
PD#SWPL-104320

Problem:
need add pcie devices tee memory protect

Solution:
add pcie devices tee memory protect

Verify:
t7,sc2

Change-Id: I7a20a51c2b27456f6739b931d57963806da8e1a9
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2022-12-07 04:10:19 -07:00
Yu Tu ff1edbaeee pcie: t3: add pcie driver support [1/1]
PD#SWPL-97879

Problem:
need support pcie for t3 chip

Solution:
add support pcie driver

Verify:
T982

Signed-off-by: Yu Tu <yu.tu@amlogic.com>
Change-Id: Ifb5ea0d54ee66474d4ab12f7549cdeff386d2816
2022-12-02 14:04:54 +08:00
wanwei.jiang 087c5c79c2 gki: modify select to depends on [1/1]
PD#SWPL-88872

Problem:
modify select to depends on

Solution:
modify select to depends on

Verify:
SC2

Change-Id: I9e295d17f5c03a6c49b001c18129fc1bc0eaee69
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2022-09-07 20:06:42 +08:00
Yu Tu d4e08c3c15 pcie: add pcie driver [1/1]
PD#SWPL-83304

Problem:
need pcie driver for sc2

Solution:
add pcie driver

Verify:
sc2

Signed-off-by: Yu Tu <yu.tu@amlogic.com>
Change-Id: Ie2b31847791904ce03e81af8992b0ddcd77b1042
2022-09-07 20:06:42 +08:00