[linux-yocto][linux-yocto v5.15] update to SDK12.23.04 for marvell octeon[RT]

2023-04-28 Thread Ruiqiang Hao via lists.yoctoproject.org
Hi Bruce,

Please help to merge these patches into our linux-yocto repo.

repo:
linux-yocto
branch:
v5.15/standard/preempt-rt/cn-sdkv5.4/octeon

Thanks,
Ruiqiang

The following changes since commit 27ce0c445507e848b9ed5de6a0d6b02d2510e12c:

  Merge branch 'v5.15/standard/preempt-rt/base' into 
v5.15/standard/preempt-rt/cn-sdkv5.15/octeon (2023-04-27 10:30:42 -0400)

are available in the Git repository at:

  g...@github.com:cythe/linux.git v5.15/standard/preempt-rt/cn-sdkv5.15/octeon

for you to fetch changes up to 5a32bd6c1fb3869464a5ff2f68318d978b5797c2:

  octeontx2-af: update TIM adjust GTI errata silicons (2023-04-28 02:37:58 
+)


Damian Eppel (2):
  firmware: octeontx2: sysfs interface for retimer
  firmware: octeontx2: retimer-mgmt: change SMC call number

Geetha sowjanya (3):
  octeontx2-af: mcs: Fix per port bypass config
  octeontx2-af: mcs: Remove SA stats support
  octeontx2-pf: Using compound/head page ref count

George Cherian (1):
  driver:mpam: Fix the compilations issues when ACPI is not selected

Gowthami Thiagarajan (4):
  drivers: mtd: spi-nor: Support kmsg dumper based on pstore/blk
  spi: spi-nor: Fix the spi_nor_panic_write
  drivers:spi:cadence-xspi: Add low-level changes to support kmsg 
panic/oops write
  drivers:spi:cadence-xspi: Switch to polling mode when in panic

Hariprasad Kelam (2):
  octeontx2-af: cn10kb: Correct PF to NIX block mapping
  octeontx2-pf: Define new ethtool modes for CN10KB

Naveen Mamindlapalli (5):
  octeontx2-af: Fix return value in rvu_mbox_handler_nix_lf_stop_rx
  octeontx2-bphy-netdev: cnf10k: don't modify pps threshold when sw 
timecounter is not used
  octeontx2-af: Fix ptp timestamp conversion when using external clock
  octeontx2-bphy-netdev: Fix ptp timestamp conversion when using external 
clock
  octeontx2-bphy-netdev: Fixed sparse errors

Nithin Dabilpuram (1):
  octeontx2-af: fix issue with spitosa table teardown

Piyush Malgujar (1):
  driver: spi: cadence: Add ACPI support

Radha Mohan Chintakuntla (2):
  ptm-ep: Add PTM requestor driver
  octeontx2-sdp: add CN10kB for using correct mask

Rahul Bhansali (1):
  octeontx2-af: updated Tx link register range

Rakesh Babu Saladi (1):
  octeontx2-af: cn10k: Apply PTP errata workaround for relevant chip 
variants

Shijith Thotton (1):
  octeontx2-af: update TIM adjust GTI errata silicons

Srujana Challa (6):
  octeontx2-af: fix CPT ctx flush
  crypto:octeontx2: fetch engine capabilities for SGv2
  crypto: octeontx2: add LF reset on queue disable
  crypto:octeontx2: Fix CN10KA model detection logic
  crypto: octeontx2: add devlink option to set max_rxc_icb_cnt
  octeontx2-af: fix accessing of CPT register on 105xx.

Subbaraya Sundeep (4):
  octeontx2-pf: mcs: Match macsec ethertype along with DMAC
  octeontx2-pf: mcs: Fix shared counters logic
  octeontx2-af: Remove AF resource limits
  octeontx2-pf: Restore TC ingress police rules when interface is up

Suman Ghosh (9):
  octeontx2-af: Fix issues with NPC field hash extract
  octeontx2-pf: Update PFC configuration
  Octeontx2-af: Remove DMAC filter check during NPC initialization
  Octeontx2-pf: Fix error condition for GTP-U/C rule insertion
  Octeontx2-af: Install TC filter rules in hardware based on priority
  octeontx2-af: Remove tc rule count check while getting ntuple rule count
  octeontx2-pf: Remove source port check while adding ntuple rule for 
GTP-U/C
  octeontx2-pf: Check ntuple status from netdev feautre status
  octeontx2-af: Enable hash extraction of IPv6 source/destination

Sunil Kumar Kori (1):
  octeontx2-af: fix Rx PTP mode cleanup

 drivers/crypto/marvell/octeontx2/cn10k_cpt.c   |  18 +-
 drivers/crypto/marvell/octeontx2/cn10k_cpt.h   |   1 +
 drivers/crypto/marvell/octeontx2/otx2_cpt_common.h |  17 +-
 .../crypto/marvell/octeontx2/otx2_cpt_devlink.c|  45 +
 .../marvell/octeontx2/otx2_cpt_mbox_common.c   |  25 +
 drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h |  16 +-
 drivers/crypto/marvell/octeontx2/otx2_cptlf.h  |  76 +-
 drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c |   1 +
 drivers/crypto/marvell/octeontx2/otx2_cptvf.h  |   2 +
 drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c |  13 +
 drivers/crypto/marvell/octeontx2/otx2_cptvf_mbox.c |  27 +
 drivers/firmware/octeontx2/Kconfig |  15 +
 drivers/firmware/octeontx2/Makefile|   1 +
 drivers/firmware/octeontx2/retimer-mgmt.c  | 243 +
 drivers/mtd/spi-nor/core.c |  61 ++
 drivers/net/ethernet/marvell/octeontx2/af/Makefile |   2 +-
 drivers/net/ethernet/marvell/octeontx2/af/cgx.c|  38 +-
 .../net/ethernet/marvell/octeontx2/af/cgx_fw_if.h  |  11 +-
 drivers/net/ethernet/marvell/octeontx2/af/mbox.h   |  25 +-
 

[linux-yocto][linux-yocto v5.15] update to SDK12.23.04 for marvell octeon

2023-04-28 Thread Ruiqiang Hao via lists.yoctoproject.org
Hi Bruce,

Please help to merge these patches into our linux-yocto repo.

repo:
linux-yocto
branch:
v5.15/standard/cn-sdkv5.4/octeon

Thanks,
Ruiqiang

The following changes since commit 2d0d753026e95a7a3984d58fa600f8383dd2fbc8:

  Merge branch 'v5.15/standard/base' into v5.15/standard/cn-sdkv5.15/octeon 
(2023-04-27 10:27:35 -0400)

are available in the Git repository at:

  g...@github.com:cythe/linux.git v5.15/standard/cn-sdkv5.15/octeon

for you to fetch changes up to 4d797c95997e67fc3db8433597cb044ef55cb379:

  octeontx2-af: update TIM adjust GTI errata silicons (2023-04-28 01:49:28 
+)


Damian Eppel (2):
  firmware: octeontx2: sysfs interface for retimer
  firmware: octeontx2: retimer-mgmt: change SMC call number

Geetha sowjanya (3):
  octeontx2-af: mcs: Fix per port bypass config
  octeontx2-af: mcs: Remove SA stats support
  octeontx2-pf: Using compound/head page ref count

George Cherian (1):
  driver:mpam: Fix the compilations issues when ACPI is not selected

Gowthami Thiagarajan (4):
  drivers: mtd: spi-nor: Support kmsg dumper based on pstore/blk
  spi: spi-nor: Fix the spi_nor_panic_write
  drivers:spi:cadence-xspi: Add low-level changes to support kmsg 
panic/oops write
  drivers:spi:cadence-xspi: Switch to polling mode when in panic

Hariprasad Kelam (2):
  octeontx2-af: cn10kb: Correct PF to NIX block mapping
  octeontx2-pf: Define new ethtool modes for CN10KB

Naveen Mamindlapalli (5):
  octeontx2-af: Fix return value in rvu_mbox_handler_nix_lf_stop_rx
  octeontx2-bphy-netdev: cnf10k: don't modify pps threshold when sw 
timecounter is not used
  octeontx2-af: Fix ptp timestamp conversion when using external clock
  octeontx2-bphy-netdev: Fix ptp timestamp conversion when using external 
clock
  octeontx2-bphy-netdev: Fixed sparse errors

Nithin Dabilpuram (1):
  octeontx2-af: fix issue with spitosa table teardown

Piyush Malgujar (1):
  driver: spi: cadence: Add ACPI support

Radha Mohan Chintakuntla (2):
  ptm-ep: Add PTM requestor driver
  octeontx2-sdp: add CN10kB for using correct mask

Rahul Bhansali (1):
  octeontx2-af: updated Tx link register range

Rakesh Babu Saladi (1):
  octeontx2-af: cn10k: Apply PTP errata workaround for relevant chip 
variants

Shijith Thotton (1):
  octeontx2-af: update TIM adjust GTI errata silicons

Srujana Challa (6):
  octeontx2-af: fix CPT ctx flush
  crypto:octeontx2: fetch engine capabilities for SGv2
  crypto: octeontx2: add LF reset on queue disable
  crypto:octeontx2: Fix CN10KA model detection logic
  crypto: octeontx2: add devlink option to set max_rxc_icb_cnt
  octeontx2-af: fix accessing of CPT register on 105xx.

Subbaraya Sundeep (4):
  octeontx2-pf: mcs: Match macsec ethertype along with DMAC
  octeontx2-pf: mcs: Fix shared counters logic
  octeontx2-af: Remove AF resource limits
  octeontx2-pf: Restore TC ingress police rules when interface is up

Suman Ghosh (9):
  octeontx2-af: Fix issues with NPC field hash extract
  octeontx2-pf: Update PFC configuration
  Octeontx2-af: Remove DMAC filter check during NPC initialization
  Octeontx2-pf: Fix error condition for GTP-U/C rule insertion
  Octeontx2-af: Install TC filter rules in hardware based on priority
  octeontx2-af: Remove tc rule count check while getting ntuple rule count
  octeontx2-pf: Remove source port check while adding ntuple rule for 
GTP-U/C
  octeontx2-pf: Check ntuple status from netdev feautre status
  octeontx2-af: Enable hash extraction of IPv6 source/destination

Sunil Kumar Kori (1):
  octeontx2-af: fix Rx PTP mode cleanup

 drivers/crypto/marvell/octeontx2/cn10k_cpt.c   |  18 +-
 drivers/crypto/marvell/octeontx2/cn10k_cpt.h   |   1 +
 drivers/crypto/marvell/octeontx2/otx2_cpt_common.h |  17 +-
 .../crypto/marvell/octeontx2/otx2_cpt_devlink.c|  45 +
 .../marvell/octeontx2/otx2_cpt_mbox_common.c   |  25 +
 drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h |  16 +-
 drivers/crypto/marvell/octeontx2/otx2_cptlf.h  |  76 +-
 drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c |   1 +
 drivers/crypto/marvell/octeontx2/otx2_cptvf.h  |   2 +
 drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c |  13 +
 drivers/crypto/marvell/octeontx2/otx2_cptvf_mbox.c |  27 +
 drivers/firmware/octeontx2/Kconfig |  15 +
 drivers/firmware/octeontx2/Makefile|   1 +
 drivers/firmware/octeontx2/retimer-mgmt.c  | 243 +
 drivers/mtd/spi-nor/core.c |  61 ++
 drivers/net/ethernet/marvell/octeontx2/af/Makefile |   2 +-
 drivers/net/ethernet/marvell/octeontx2/af/cgx.c|  38 +-
 .../net/ethernet/marvell/octeontx2/af/cgx_fw_if.h  |  11 +-
 drivers/net/ethernet/marvell/octeontx2/af/mbox.h   |  25 +-
 drivers/net/ethernet/marvell/octeontx2/af/mc

Re: [linux-yocto][linux-yocto v5.15] update to SDK12.23.04 for marvell octeon[RT]

2023-04-28 Thread Ruiqiang Hao via lists.yoctoproject.org
Hi Bruce,

Sorry, my branch name in the above email is incorrect, please merge into 
follow branch.

repo:
linux-yocto
branch:
v5.15/standard/preempt-rt/cn-sdkv5.15/octeon

Thanks,
Ruiqiang

From: linux-yocto@lists.yoctoproject.org  
on behalf of Ruiqiang Hao via lists.yoctoproject.org 

Sent: Friday, April 28, 2023 15:53
To: bruce.ashfi...@gmail.com 
Cc: linux-yocto@lists.yoctoproject.org 
Subject: [linux-yocto][linux-yocto v5.15] update to SDK12.23.04 for marvell 
octeon[RT]

Hi Bruce,

Please help to merge these patches into our linux-yocto repo.

repo:
linux-yocto
branch:
v5.15/standard/preempt-rt/cn-sdkv5.4/octeon

Thanks,
Ruiqiang

The following changes since commit 27ce0c445507e848b9ed5de6a0d6b02d2510e12c:

  Merge branch 'v5.15/standard/preempt-rt/base' into 
v5.15/standard/preempt-rt/cn-sdkv5.15/octeon (2023-04-27 10:30:42 -0400)

are available in the Git repository at:

  g...@github.com:cythe/linux.git v5.15/standard/preempt-rt/cn-sdkv5.15/octeon

for you to fetch changes up to 5a32bd6c1fb3869464a5ff2f68318d978b5797c2:

  octeontx2-af: update TIM adjust GTI errata silicons (2023-04-28 02:37:58 
+)


Damian Eppel (2):
  firmware: octeontx2: sysfs interface for retimer
  firmware: octeontx2: retimer-mgmt: change SMC call number

Geetha sowjanya (3):
  octeontx2-af: mcs: Fix per port bypass config
  octeontx2-af: mcs: Remove SA stats support
  octeontx2-pf: Using compound/head page ref count

George Cherian (1):
  driver:mpam: Fix the compilations issues when ACPI is not selected

Gowthami Thiagarajan (4):
  drivers: mtd: spi-nor: Support kmsg dumper based on pstore/blk
  spi: spi-nor: Fix the spi_nor_panic_write
  drivers:spi:cadence-xspi: Add low-level changes to support kmsg 
panic/oops write
  drivers:spi:cadence-xspi: Switch to polling mode when in panic

Hariprasad Kelam (2):
  octeontx2-af: cn10kb: Correct PF to NIX block mapping
  octeontx2-pf: Define new ethtool modes for CN10KB

Naveen Mamindlapalli (5):
  octeontx2-af: Fix return value in rvu_mbox_handler_nix_lf_stop_rx
  octeontx2-bphy-netdev: cnf10k: don't modify pps threshold when sw 
timecounter is not used
  octeontx2-af: Fix ptp timestamp conversion when using external clock
  octeontx2-bphy-netdev: Fix ptp timestamp conversion when using external 
clock
  octeontx2-bphy-netdev: Fixed sparse errors

Nithin Dabilpuram (1):
  octeontx2-af: fix issue with spitosa table teardown

Piyush Malgujar (1):
  driver: spi: cadence: Add ACPI support

Radha Mohan Chintakuntla (2):
  ptm-ep: Add PTM requestor driver
  octeontx2-sdp: add CN10kB for using correct mask

Rahul Bhansali (1):
  octeontx2-af: updated Tx link register range

Rakesh Babu Saladi (1):
  octeontx2-af: cn10k: Apply PTP errata workaround for relevant chip 
variants

Shijith Thotton (1):
  octeontx2-af: update TIM adjust GTI errata silicons

Srujana Challa (6):
  octeontx2-af: fix CPT ctx flush
  crypto:octeontx2: fetch engine capabilities for SGv2
  crypto: octeontx2: add LF reset on queue disable
  crypto:octeontx2: Fix CN10KA model detection logic
  crypto: octeontx2: add devlink option to set max_rxc_icb_cnt
  octeontx2-af: fix accessing of CPT register on 105xx.

Subbaraya Sundeep (4):
  octeontx2-pf: mcs: Match macsec ethertype along with DMAC
  octeontx2-pf: mcs: Fix shared counters logic
  octeontx2-af: Remove AF resource limits
  octeontx2-pf: Restore TC ingress police rules when interface is up

Suman Ghosh (9):
  octeontx2-af: Fix issues with NPC field hash extract
  octeontx2-pf: Update PFC configuration
  Octeontx2-af: Remove DMAC filter check during NPC initialization
  Octeontx2-pf: Fix error condition for GTP-U/C rule insertion
  Octeontx2-af: Install TC filter rules in hardware based on priority
  octeontx2-af: Remove tc rule count check while getting ntuple rule count
  octeontx2-pf: Remove source port check while adding ntuple rule for 
GTP-U/C
  octeontx2-pf: Check ntuple status from netdev feautre status
  octeontx2-af: Enable hash extraction of IPv6 source/destination

Sunil Kumar Kori (1):
  octeontx2-af: fix Rx PTP mode cleanup

 drivers/crypto/marvell/octeontx2/cn10k_cpt.c   |  18 +-
 drivers/crypto/marvell/octeontx2/cn10k_cpt.h   |   1 +
 drivers/crypto/marvell/octeontx2/otx2_cpt_common.h |  17 +-
 .../crypto/marvell/octeontx2/otx2_cpt_devlink.c|  45 +
 .../marvell/octeontx2/otx2_cpt_mbox_common.c   |  25 +
 drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h |  16 +-
 drivers/crypto/marvell/octeontx2/otx2_cptlf.h  |  76 +-
 drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c |   1 +
 drivers/crypto/marvell/octeontx2/otx2_cptvf.h  |   2 +
 drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c |  13 +
 driver

Re: [linux-yocto][linux-yocto v5.15] update to SDK12.23.04 for marvell octeon

2023-04-28 Thread Ruiqiang Hao via lists.yoctoproject.org
Hi Bruce,

Sorry, my branch name in the above email is incorrect, please merge into 
follow branch.

repo:
linux-yocto
branch:
v5.15/standard/cn-sdkv5.15/octeon

Thanks,
Ruiqiang


From: linux-yocto@lists.yoctoproject.org  
on behalf of Ruiqiang Hao via lists.yoctoproject.org 

Sent: Friday, April 28, 2023 15:53
To: bruce.ashfi...@gmail.com 
Cc: linux-yocto@lists.yoctoproject.org 
Subject: [linux-yocto][linux-yocto v5.15] update to SDK12.23.04 for marvell 
octeon

Hi Bruce,

Please help to merge these patches into our linux-yocto repo.

repo:
linux-yocto
branch:
v5.15/standard/cn-sdkv5.4/octeon

Thanks,
Ruiqiang

The following changes since commit 2d0d753026e95a7a3984d58fa600f8383dd2fbc8:

  Merge branch 'v5.15/standard/base' into v5.15/standard/cn-sdkv5.15/octeon 
(2023-04-27 10:27:35 -0400)

are available in the Git repository at:

  g...@github.com:cythe/linux.git v5.15/standard/cn-sdkv5.15/octeon

for you to fetch changes up to 4d797c95997e67fc3db8433597cb044ef55cb379:

  octeontx2-af: update TIM adjust GTI errata silicons (2023-04-28 01:49:28 
+)


Damian Eppel (2):
  firmware: octeontx2: sysfs interface for retimer
  firmware: octeontx2: retimer-mgmt: change SMC call number

Geetha sowjanya (3):
  octeontx2-af: mcs: Fix per port bypass config
  octeontx2-af: mcs: Remove SA stats support
  octeontx2-pf: Using compound/head page ref count

George Cherian (1):
  driver:mpam: Fix the compilations issues when ACPI is not selected

Gowthami Thiagarajan (4):
  drivers: mtd: spi-nor: Support kmsg dumper based on pstore/blk
  spi: spi-nor: Fix the spi_nor_panic_write
  drivers:spi:cadence-xspi: Add low-level changes to support kmsg 
panic/oops write
  drivers:spi:cadence-xspi: Switch to polling mode when in panic

Hariprasad Kelam (2):
  octeontx2-af: cn10kb: Correct PF to NIX block mapping
  octeontx2-pf: Define new ethtool modes for CN10KB

Naveen Mamindlapalli (5):
  octeontx2-af: Fix return value in rvu_mbox_handler_nix_lf_stop_rx
  octeontx2-bphy-netdev: cnf10k: don't modify pps threshold when sw 
timecounter is not used
  octeontx2-af: Fix ptp timestamp conversion when using external clock
  octeontx2-bphy-netdev: Fix ptp timestamp conversion when using external 
clock
  octeontx2-bphy-netdev: Fixed sparse errors

Nithin Dabilpuram (1):
  octeontx2-af: fix issue with spitosa table teardown

Piyush Malgujar (1):
  driver: spi: cadence: Add ACPI support

Radha Mohan Chintakuntla (2):
  ptm-ep: Add PTM requestor driver
  octeontx2-sdp: add CN10kB for using correct mask

Rahul Bhansali (1):
  octeontx2-af: updated Tx link register range

Rakesh Babu Saladi (1):
  octeontx2-af: cn10k: Apply PTP errata workaround for relevant chip 
variants

Shijith Thotton (1):
  octeontx2-af: update TIM adjust GTI errata silicons

Srujana Challa (6):
  octeontx2-af: fix CPT ctx flush
  crypto:octeontx2: fetch engine capabilities for SGv2
  crypto: octeontx2: add LF reset on queue disable
  crypto:octeontx2: Fix CN10KA model detection logic
  crypto: octeontx2: add devlink option to set max_rxc_icb_cnt
  octeontx2-af: fix accessing of CPT register on 105xx.

Subbaraya Sundeep (4):
  octeontx2-pf: mcs: Match macsec ethertype along with DMAC
  octeontx2-pf: mcs: Fix shared counters logic
  octeontx2-af: Remove AF resource limits
  octeontx2-pf: Restore TC ingress police rules when interface is up

Suman Ghosh (9):
  octeontx2-af: Fix issues with NPC field hash extract
  octeontx2-pf: Update PFC configuration
  Octeontx2-af: Remove DMAC filter check during NPC initialization
  Octeontx2-pf: Fix error condition for GTP-U/C rule insertion
  Octeontx2-af: Install TC filter rules in hardware based on priority
  octeontx2-af: Remove tc rule count check while getting ntuple rule count
  octeontx2-pf: Remove source port check while adding ntuple rule for 
GTP-U/C
  octeontx2-pf: Check ntuple status from netdev feautre status
  octeontx2-af: Enable hash extraction of IPv6 source/destination

Sunil Kumar Kori (1):
  octeontx2-af: fix Rx PTP mode cleanup

 drivers/crypto/marvell/octeontx2/cn10k_cpt.c   |  18 +-
 drivers/crypto/marvell/octeontx2/cn10k_cpt.h   |   1 +
 drivers/crypto/marvell/octeontx2/otx2_cpt_common.h |  17 +-
 .../crypto/marvell/octeontx2/otx2_cpt_devlink.c|  45 +
 .../marvell/octeontx2/otx2_cpt_mbox_common.c   |  25 +
 drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h |  16 +-
 drivers/crypto/marvell/octeontx2/otx2_cptlf.h  |  76 +-
 drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c |   1 +
 drivers/crypto/marvell/octeontx2/otx2_cptvf.h  |   2 +
 drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c |  13 +
 drivers/crypto/marvell/octeontx2/otx2_cptvf_mbox.c |  27 +
 driv

[linux-yocto] [PATCH 1/5] gpu: drm: bridge: improve the function of getting training status

2023-04-28 Thread Meng Li via lists.yoctoproject.org
When reading link status, the request size is 13, but this real return
size from ls1028 dp firmware is 10, they don't match with each other.
So, getting training status operation is failed, and cause the whole
display driver initializes failed. This issue is introduced by commit
7ce8d36a326e("MLK-25748: gpu: drm: bridge: Added support for
fast link training"). But the root cause is that the dp firmware of
ls1028 platform from the latest LSDK2108 does not support the fast
link training. Because NXP never upgrade the ls1028 dp firmware since
LSDK2004, it still sends 10 bytes to mhdp driver, and then cause parse
command failed. This issue also occurs since LSDK2012.
In order to work with the current dp firmware of ls1028 platform and
not affect imx series platforms, so create a special case to process
ls1028 platform.

Signed-off-by: Meng Li 
---
 drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c | 16 
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c 
b/drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c
index 299e533d6b52..46fc27dba884 100644
--- a/drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c
+++ b/drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c
@@ -233,13 +233,21 @@ static int cdns_mhdp_get_training_status(struct 
cdns_mhdp_device *mhdp)
if (ret)
goto err_get_training_status;
 
-   ret = cdns_mhdp_mailbox_validate_receive(mhdp, MB_MODULE_ID_DP_TX,
-DPTX_READ_LINK_STAT,
-sizeof(status));
+   if (of_machine_is_compatible("fsl,ls1028a-rdb"))
+   ret = cdns_mhdp_mailbox_validate_receive(mhdp, 
MB_MODULE_ID_DP_TX,
+   DPTX_READ_LINK_STAT,
+   sizeof(status) - 3);
+   else
+   ret = cdns_mhdp_mailbox_validate_receive(mhdp, 
MB_MODULE_ID_DP_TX,
+   DPTX_READ_LINK_STAT,
+   sizeof(status));
if (ret)
goto err_get_training_status;
 
-   ret = cdns_mhdp_mailbox_read_receive(mhdp, status, sizeof(status));
+   if (of_machine_is_compatible("fsl,ls1028a-rdb"))
+   ret = cdns_mhdp_mailbox_read_receive(mhdp, status, 
sizeof(status) - 3);
+   else
+   ret = cdns_mhdp_mailbox_read_receive(mhdp, status, 
sizeof(status));
if (ret)
goto err_get_training_status;
 
-- 
2.36.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12440): 
https://lists.yoctoproject.org/g/linux-yocto/message/12440
Mute This Topic: https://lists.yoctoproject.org/mt/98555944/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto] [PATCH 3/5] enetc: add suspend/resume function to manage pm in ethernet driver

2023-04-28 Thread Meng Li via lists.yoctoproject.org
When running suspend/resume test on nxp ls1028 platform, there is below
warning trace
Call trace:
 mdio_bus_phy_resume+0xa8/0x128
 dpm_run_callback+0x4c/0x184
 device_resume+0x9c/0x1f0
 dpm_resume+0x114/0x340
 dpm_resume_end+0x24/0x3c
 suspend_devices_and_enter+0x1e0/0x810
 pm_suspend+0x288/0x330
 ..
 el0t_64_sync+0x1a0/0x1a4
---[ end trace e8da30565a047649 ]---
Because there is a commit 47ac7b2f6a1f("net: phy: Warn about incorrect
mdio_bus_phy_resume() state") to check phy state when entering resume
phase. This is only a surface phenomenon, the root cause is that enetc driver
can not co-operation with common phy code properly. According to
commit fba863b81604("net: phy: make PHY PM ops a no-op if MAC driver
manages PHY PM "). enetc also can manages PHY PM by itself. So, add
suspend/resume function to manage both mac and phy PM.

Signed-off-by: Meng Li 
---
 .../net/ethernet/freescale/enetc/enetc_pf.c   | 67 +++
 1 file changed, 67 insertions(+)

diff --git a/drivers/net/ethernet/freescale/enetc/enetc_pf.c 
b/drivers/net/ethernet/freescale/enetc/enetc_pf.c
index c4560222318d..538a4dba42d3 100644
--- a/drivers/net/ethernet/freescale/enetc/enetc_pf.c
+++ b/drivers/net/ethernet/freescale/enetc/enetc_pf.c
@@ -8,6 +8,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include "enetc_ierb.h"
 #include "enetc_pf.h"
@@ -1243,6 +1244,8 @@ static int enetc_pf_probe(struct pci_dev *pdev,
struct enetc_si *si;
struct enetc_pf *pf;
int err;
+   struct fwnode_handle *phy_fwnode;
+   struct phy_device *phy_dev;
 
err = enetc_pf_register_with_ierb(pdev);
if (err == -EPROBE_DEFER)
@@ -1349,6 +1352,11 @@ static int enetc_pf_probe(struct pci_dev *pdev,
 
enetc_tsn_pf_init(ndev, pdev);
 
+   phy_fwnode = fwnode_get_phy_node(of_fwnode_handle(priv->dev->of_node));
+   phy_dev = fwnode_phy_find_device(phy_fwnode);
+   if (phy_dev)
+   phy_dev->mac_managed_pm = 1;
+
return 0;
 
 err_reg_netdev:
@@ -1405,6 +1413,62 @@ static void enetc_pf_remove(struct pci_dev *pdev)
enetc_pci_remove(pdev);
 }
 
+static int enetc_pf_resume(struct device *dev)
+{
+   struct enetc_si *si = dev_get_drvdata(dev);
+   struct net_device *netdev = si->ndev;
+   struct enetc_ndev_priv *priv = netdev_priv(netdev);
+   struct fwnode_handle *phy_fwnode;
+   struct phy_device *phy_dev;
+
+   if (!netdev)
+   return 0;
+
+   rtnl_lock();
+
+   if (!netif_running(netdev)) {
+   rtnl_unlock();
+   return 0;
+   }
+
+   phy_fwnode = fwnode_get_phy_node(of_fwnode_handle(priv->dev->of_node));
+   phy_dev = fwnode_phy_find_device(phy_fwnode);
+   if (phy_dev)
+   phy_init_hw(phy_dev);
+   enetc_start(netdev);
+
+   rtnl_unlock();
+
+   return 0;
+}
+
+static int enetc_pf_suspend(struct device *dev)
+{
+   struct enetc_si *si = dev_get_drvdata(dev);
+   struct net_device *netdev = si->ndev;
+
+   if (!netdev)
+   return 0;
+
+   rtnl_lock();
+
+   if (!netif_running(netdev)) {
+   rtnl_unlock();
+   return 0;
+   }
+
+   enetc_stop(netdev);
+
+   rtnl_unlock();
+
+   return 0;
+}
+
+static const struct dev_pm_ops enetc_pf_pm_ops = {
+   .suspend= enetc_pf_suspend,
+   .resume = enetc_pf_resume,
+};
+
 static const struct pci_device_id enetc_pf_id_table[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_FREESCALE, ENETC_DEV_ID_PF) },
{ 0, } /* End of table. */
@@ -1419,6 +1483,9 @@ static struct pci_driver enetc_pf_driver = {
 #ifdef CONFIG_PCI_IOV
.sriov_configure = enetc_sriov_configure,
 #endif
+   .driver = {
+   .pm = &enetc_pf_pm_ops,
+   },
 };
 module_pci_driver(enetc_pf_driver);
 
-- 
2.36.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12442): 
https://lists.yoctoproject.org/g/linux-yocto/message/12442
Mute This Topic: https://lists.yoctoproject.org/mt/98555946/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto] [PATCH 2/5] tsn: replace GFP_KERNEL with GFP_ATOMIC to avoid sleeping in atomic context

2023-04-28 Thread Meng Li via lists.yoctoproject.org
When running qbv test of TSN feature in RT kernel, there is below call trace
BUG: sleeping function called from invalid context at 
include/linux/sched/mm.h:229
in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 502, name: tsntool
preempt_count: 0, expected: 0
RCU nest depth: 1, expected: 0
CPU: 0 PID: 502 Comm: tsntool Not tainted 5.15.65-rt48-yocto-preempt-rt #1
Hardware name: LS1028A RDB Board (DT)
Call trace:
 dump_backtrace+0x0/0x1a0
 ..
__might_resched+0x160/0x1c0
__might_sleep+0x58/0xb0
 kmem_cache_alloc+0x260/0x310
 __alloc_skb+0x1a8/0x1d0
 tsn_event+0x58/0x230
 atomic_notifier_call_chain+0x6c/0x9c
 call_tsn_notifiers+0x30/0x40
 enetc_qbv_set+0x2e8/0x5fc
 cmd_qbv_set.isra.0+0x1d4/0x300
 tsn_qbv_set+0x2c/0x44
 ..
 el0t_64_sync+0x1a0/0x1a4
So, replace GFP_KERNEL with GFP_ATOMIC to avoid sleeping
in atomic context.

Signed-off-by: Meng Li 
---
 net/tsn/genl_tsn.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/tsn/genl_tsn.c b/net/tsn/genl_tsn.c
index fdb2288394a3..4fca4a998af9 100644
--- a/net/tsn/genl_tsn.c
+++ b/net/tsn/genl_tsn.c
@@ -3506,7 +3506,7 @@ static int tsn_multicast_to_user(unsigned long event,
int res = 0;
 
/* If new attributes are added, please revisit this allocation */
-   skb = genlmsg_new(sizeof(*tsn_info), GFP_KERNEL);
+   skb = genlmsg_new(sizeof(*tsn_info), GFP_ATOMIC);
if (!skb) {
pr_err("Allocation failure.\n");
return -ENOMEM;
@@ -3514,7 +3514,7 @@ static int tsn_multicast_to_user(unsigned long event,
 
switch (event) {
case TSN_QBV_CONFIGCHANGETIME_ARRIVE:
-   nlh = genlmsg_put(skb, 0, 1, &tsn_family, 0, TSN_CMD_QBV_SET);
+   nlh = genlmsg_put(skb, 0, 1, &tsn_family, GFP_ATOMIC, 
TSN_CMD_QBV_SET);
qbvdata = &tsn_info->ntdata.qbv_notify;
res = NLA_PUT_U64(skb, TSN_QBV_ATTR_CTRL_BASETIME,
  qbvdata->admin.base_time);
@@ -3561,7 +3561,7 @@ static int tsn_multicast_to_user(unsigned long event,
(void)genlmsg_end(skb, nlh);
 
res = genlmsg_multicast_allns(&tsn_family, skb, 0,
- TSN_MCGRP_QBV, GFP_KERNEL);
+ TSN_MCGRP_QBV, GFP_ATOMIC);
skb = NULL;
if (res && res != -ESRCH) {
pr_err("genlmsg_multicast_allns error: %d\n", res);
-- 
2.36.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12441): 
https://lists.yoctoproject.org/g/linux-yocto/message/12441
Mute This Topic: https://lists.yoctoproject.org/mt/98555945/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto] [PATCH 4/5] enetc: tsn: release resource before exiting enetc_qci_fmi_get() function

2023-04-28 Thread Meng Li via lists.yoctoproject.org
When testing FMI feature with below command
tsntool qcifmiget --device eth0 --index 2
There is a memory leak occurring as below
unreferenced object 0x0047e200 (size 128):
  comm "tsntool", pid 444, jiffies 4294931230 (age 17.688s)
  hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  
  backtrace:
[] kmem_cache_alloc_trace+0x3e8/0x680
[<34f0835f>] enetc_qci_fmi_get+0x174/0x294
[] cmd_qci_fmi_get.isra.0+0xb8/0x390
[] tsn_qci_fmi_get+0x28/0x40
[<16a765c0>] genl_family_rcv_msg_doit+0xd0/0x15c
[<468e65a1>] genl_rcv_msg+0xec/0x1f0
[] netlink_rcv_skb+0x64/0x130
[<63fa81de>] genl_rcv+0x40/0x60
[<71bbebf2>] netlink_unicast+0x230/0x310
[<5fb3fad1>] netlink_sendmsg+0x1bc/0x400
[<8ac52897>] __sys_sendto+0xd4/0x12c
[<252525f3>] __arm64_sys_sendto+0x30/0x40
[<0d993fdc>] invoke_syscall+0x5c/0x130
[<92b245b4>] el0_svc_common.constprop.0+0x4c/0x100
[<8829e8f3>] do_el0_svc+0x4c/0xb4
[<6bebec28>] el0_svc+0x28/0x80
Because the fmi_counter_data is not freed after it is used.
In additional, refer to other functions, unmap DMA, and clear
cbdr to 0 after it is used.

Signed-off-by: Meng Li 
---
 drivers/net/ethernet/freescale/enetc/enetc_tsn.c | 4 
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/ethernet/freescale/enetc/enetc_tsn.c 
b/drivers/net/ethernet/freescale/enetc/enetc_tsn.c
index 5ff36647be84..f087f0b5e340 100644
--- a/drivers/net/ethernet/freescale/enetc/enetc_tsn.c
+++ b/drivers/net/ethernet/freescale/enetc/enetc_tsn.c
@@ -1533,6 +1533,10 @@ static int enetc_qci_fmi_get(struct net_device *ndev, 
u32 index,
 
memcpy(counters, fmi_counter_data, sizeof(*counters));
 
+   dma_unmap_single(&priv->si->pdev->dev, dma, data_size, DMA_FROM_DEVICE);
+   memset(cbdr, 0, sizeof(*cbdr));
+   kfree(fmi_counter_data);
+
return 0;
 }
 
-- 
2.36.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12443): 
https://lists.yoctoproject.org/g/linux-yocto/message/12443
Mute This Topic: https://lists.yoctoproject.org/mt/98555947/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto] [PATCH 5/5] enetc: tsn: release resource before exiting enetc_qci_sfi_counters_get() function

2023-04-28 Thread Meng Li via lists.yoctoproject.org
When testing FMI feature with below command
tsntool qcisfiget --device eth0 --index 2
There is a memory leak occurring as below
unreferenced object 0x00402000 (size 128):
  comm "tsntool", pid 445, jiffies 4294959297 (age 25.588s)
  hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  
  backtrace:
[<7dda64ca>] kmem_cache_alloc_trace+0x3e8/0x680
[] enetc_qci_sfi_counters_get+0x6c/0x1c0
[<1154ca2b>] cmd_qci_sfi_get.isra.0+0xd4/0x3d0
[<71bf773b>] tsn_qci_sfi_get+0x28/0x40
[] genl_family_rcv_msg_doit+0xd0/0x15c
[<4c0bcaf9>] genl_rcv_msg+0xec/0x1f0
[] netlink_rcv_skb+0x64/0x130
[<5ac4890d>] genl_rcv+0x40/0x60
[] netlink_unicast+0x230/0x310
[<5dc31afc>] netlink_sendmsg+0x1bc/0x400
[] __sys_sendto+0xd4/0x12c
[<6b3b6e55>] __arm64_sys_sendto+0x30/0x40
[<558195c4>] invoke_syscall+0x5c/0x130
[<9b6bc5a1>] el0_svc_common.constprop.0+0x4c/0x100
[<1d66b8d7>] do_el0_svc+0x4c/0xb4
[<1d739dd6>] el0_svc+0x28/0x80
Because the sfi_counter_data is not freed after it is used.
In additional, refer to other functions, unmap DMA, too.

Signed-off-by: Meng Li 
---
 drivers/net/ethernet/freescale/enetc/enetc_tsn.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/ethernet/freescale/enetc/enetc_tsn.c 
b/drivers/net/ethernet/freescale/enetc/enetc_tsn.c
index f087f0b5e340..3bf1669792a0 100644
--- a/drivers/net/ethernet/freescale/enetc/enetc_tsn.c
+++ b/drivers/net/ethernet/freescale/enetc/enetc_tsn.c
@@ -913,6 +913,8 @@ static int enetc_qci_sfi_counters_get(struct net_device 
*ndev, u32 index,
le32_to_cpu(sfi_counter_data->flow_meter_dropl);
 
memset(cbdr, 0, sizeof(*cbdr));
+   dma_unmap_single(&priv->si->pdev->dev, dma, data_size, DMA_FROM_DEVICE);
+   kfree(sfi_counter_data);
return 0;
 }
 
-- 
2.36.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12444): 
https://lists.yoctoproject.org/g/linux-yocto/message/12444
Mute This Topic: https://lists.yoctoproject.org/mt/98555948/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto]: [kernel/kernel-rt]: nxp-ls1028: kernel patches used to fix issues

2023-04-28 Thread Meng Li via lists.yoctoproject.org
From: Limeng 

Hi Bruce,

The 5 patches are used to fix issues for NXP ls1028 BSP
So, could you please help merge these patches into linux-ycoto kernel, both 
below 2 branchs?
v6.1/standard/nxp-sdk-6.1/nxp-soc
v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc

diffstat info as below:

 drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c|   16 -
 drivers/net/ethernet/freescale/enetc/enetc_pf.c  |   67 +++
 drivers/net/ethernet/freescale/enetc/enetc_tsn.c |6 ++
 net/tsn/genl_tsn.c   |6 +-
 4 files changed, 88 insertions(+), 7 deletions(-)


thanks,
Limeng

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12439): 
https://lists.yoctoproject.org/g/linux-yocto/message/12439
Mute This Topic: https://lists.yoctoproject.org/mt/98555943/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto] [yocto-kernel-cache]: nxp-ls1028: add scc and cfg files for nxp- ls1028 platform

2023-04-28 Thread Meng Li via lists.yoctoproject.org
From: Limeng 

Hi Bruce,

Recently, I am working on nxp ls1028 SoC BSP, and want to add scc and cfg files 
for this BSP in kernel-cache.

Could you please help to merge this patch into yocto-kernel-cache, branch is 
only yocto-6.1?

diffstat info as below:

 nxp-ls1028-preempt-rt.scc |8 +
 nxp-ls1028-standard.scc   |9 +
 nxp-ls1028.cfg|  250 ++
 nxp-ls1028.scc|9 +
 4 files changed, 276 insertions(+)


thanks,
Limeng

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12445): 
https://lists.yoctoproject.org/g/linux-yocto/message/12445
Mute This Topic: https://lists.yoctoproject.org/mt/98555973/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto] [PATCH] nxp-ls1028: add scc and cfg files for nxp-ls1028 platform

2023-04-28 Thread Meng Li via lists.yoctoproject.org
Refer to scc and cfg files on branch yocto-5.15, add new scc and cfg
files for BSP nxp-ls1028 on branch yocto-6.1.

Signed-off-by: Meng Li 
---
 bsp/nxp-ls1028/nxp-ls1028-preempt-rt.scc |   8 +
 bsp/nxp-ls1028/nxp-ls1028-standard.scc   |   9 +
 bsp/nxp-ls1028/nxp-ls1028.cfg| 250 +++
 bsp/nxp-ls1028/nxp-ls1028.scc|   9 +
 4 files changed, 276 insertions(+)
 create mode 100644 bsp/nxp-ls1028/nxp-ls1028-preempt-rt.scc
 create mode 100644 bsp/nxp-ls1028/nxp-ls1028-standard.scc
 create mode 100644 bsp/nxp-ls1028/nxp-ls1028.cfg
 create mode 100644 bsp/nxp-ls1028/nxp-ls1028.scc

diff --git a/bsp/nxp-ls1028/nxp-ls1028-preempt-rt.scc 
b/bsp/nxp-ls1028/nxp-ls1028-preempt-rt.scc
new file mode 100644
index ..e75210b0
--- /dev/null
+++ b/bsp/nxp-ls1028/nxp-ls1028-preempt-rt.scc
@@ -0,0 +1,8 @@
+define KMACHINE nxp-ls1028
+define KTYPE preempt-rt
+define KARCH arm64
+
+include ktypes/preempt-rt
+branch nxp-ls1028
+
+include nxp-ls1028.scc
diff --git a/bsp/nxp-ls1028/nxp-ls1028-standard.scc 
b/bsp/nxp-ls1028/nxp-ls1028-standard.scc
new file mode 100644
index ..8f98a496
--- /dev/null
+++ b/bsp/nxp-ls1028/nxp-ls1028-standard.scc
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: MIT
+define KMACHINE nxp-ls1028
+define KTYPE standard
+define KARCH arm64
+
+include ktypes/standard
+branch nxp-ls1028
+
+include nxp-ls1028.scc
diff --git a/bsp/nxp-ls1028/nxp-ls1028.cfg b/bsp/nxp-ls1028/nxp-ls1028.cfg
new file mode 100644
index ..d2a95703
--- /dev/null
+++ b/bsp/nxp-ls1028/nxp-ls1028.cfg
@@ -0,0 +1,250 @@
+CONFIG_ARM64=y
+CONFIG_64BIT=y
+CONFIG_ARCH_NXP=y
+CONFIG_ARCH_LAYERSCAPE=y
+CONFIG_MMU=y
+CONFIG_SMP=y
+CONFIG_NR_CPUS=2
+
+CONFIG_SCHED_MC=y
+CONFIG_ARM64_VA_BITS_48=y
+
+CONFIG_PCI=y
+CONFIG_PCIEPORTBUS=y
+CONFIG_HOTPLUG_PCI_PCIE=y
+CONFIG_HOTPLUG_PCI=y
+CONFIG_PCI_LAYERSCAPE=y
+CONFIG_PCI_HOST_GENERIC=y
+CONFIG_PCI_IOV=y
+CONFIG_PCI_MSI=y
+
+CONFIG_CMA=y
+
+CONFIG_CPU_IDLE=y
+CONFIG_ARM_PSCI_CPUIDLE=y
+CONFIG_CPU_IDLE_GOV_MENU=y
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
+CONFIG_CPUFREQ_DT=y
+CONFIG_QORIQ_CPUFREQ=y
+
+CONFIG_SOC_BUS=y
+CONFIG_REGMAP=y
+CONFIG_REGMAP_I2C=y
+CONFIG_REGMAP_SPI=y
+CONFIG_REGMAP_MMIO=y
+CONFIG_DMA_SHARED_BUFFER=y
+
+CONFIG_DMA_CMA=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_CFI_ADV_OPTIONS=y
+CONFIG_MTD_CFI_INTELEXT=y
+CONFIG_MTD_CFI_AMDSTD=y
+CONFIG_MTD_PHYSMAP=y
+CONFIG_MTD_PHYSMAP_OF=y
+CONFIG_MTD_SST25L=y
+CONFIG_MTD_RAW_NAND=y
+CONFIG_MTD_SPI_NOR=y
+CONFIG_MTD_NAND_FSL_IFC=y
+
+CONFIG_COMMON_CLK=y
+CONFIG_CLK_QORIQ=y
+CONFIG_CLK_LS1028A_PLLDIG=y
+
+CONFIG_SRAM=y
+CONFIG_EEPROM_AT24=y
+
+CONFIG_ATA=y
+CONFIG_SATA_AHCI=y
+CONFIG_SATA_AHCI_PLATFORM=y
+CONFIG_AHCI_QORIQ=y
+
+CONFIG_NETDEVICES=y
+
+# enetc
+CONFIG_NET_DSA=y
+CONFIG_NET_DSA_TAG_OCELOT=y
+CONFIG_NET_DSA_MSCC_FELIX=y
+CONFIG_NET_SWITCHDEV=y
+CONFIG_FSL_ENETC=y
+CONFIG_FSL_ENETC_VF=y
+CONFIG_FSL_ENETC_MDIO=y
+CONFIG_FSL_ENETC_PTP_CLOCK=y
+CONFIG_FSL_ENETC_QOS=y
+
+# tsn
+CONFIG_PTP_1588_CLOCK=y
+CONFIG_PTP_1588_CLOCK_QORIQ=y
+CONFIG_TSN=y
+CONFIG_ENETC_TSN=y
+CONFIG_NET_PKTGEN=y
+CONFIG_NET_VENDOR_MICROSEMI=y
+CONFIG_MSCC_OCELOT_SWITCH=y
+CONFIG_MSCC_FELIX_SWITCH_TSN=y
+CONFIG_MSCC_OCELOT_SWITCH_LIB=y
+CONFIG_VITESSE_PHY=y
+CONFIG_NET_SCH_ETF=y
+CONFIG_NET_SCH_CBS=y
+CONFIG_NET_SCH_MQPRIO=y
+CONFIG_NET_SCH_TAPRIO=y
+
+CONFIG_BRIDGE=y
+CONFIG_BRIDGE_VLAN_FILTERING=y
+
+# can
+CONFIG_CAN=y
+CONFIG_CAN_FLEXCAN=y
+
+CONFIG_INPUT_MATRIXKMAP=y
+CONFIG_CHROME_PLATFORMS=y
+CONFIG_CROS_EC=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_MISC=y
+CONFIG_KEYBOARD_ADC=m
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_MOUSE_PS2=y
+CONFIG_KEYBOARD_CROS_EC=y
+
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_OF_PLATFORM=y
+
+CONFIG_I2C=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_MUX=y
+CONFIG_I2C_IMX=y
+CONFIG_I2C_COMPAT=y
+CONFIG_I2C_MUX_PCA954x=y
+
+CONFIG_SPI=y
+CONFIG_SPI_FSL_DSPI=y
+CONFIG_SPI_NXP_FLEXSPI=y
+
+CONFIG_GPIOLIB=y
+CONFIG_OF_GPIO=y
+CONFIG_GPIOLIB_IRQCHIP=y
+CONFIG_GPIO_PCA953X=y
+CONFIG_GPIO_PCA953X_IRQ=y
+CONFIG_GPIO_GENERIC=y
+CONFIG_GPIO_DWAPB=y
+CONFIG_GPIO_GENERIC_PLATFORM=y
+CONFIG_GPIO_MB86S7X=y
+CONFIG_GPIO_MPC8XXX=y
+CONFIG_GPIO_PL061=y
+CONFIG_GPIO_XGENE=y
+
+CONFIG_POWER_RESET_XGENE=y
+CONFIG_POWER_RESET_SYSCON=y
+CONFIG_ENERGY_MODEL=y
+
+CONFIG_SYSCON_REBOOT_MODE=y
+CONFIG_BATTERY_BQ27XXX=y
+CONFIG_SENSORS_LM90=m
+CONFIG_SENSORS_INA2XX=m
+
+CONFIG_CPU_THERMAL=y
+
+CONFIG_WATCHDOG=y
+CONFIG_IMX2_WDT=y
+CONFIG_ARM_ARCH_TIMER=y
+CONFIG_ARM_SP805_WATCHDOG=y
+
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_REGULATOR_GPIO=y
+
+CONFIG_MEDIA_SUPPORT=y
+CONFIG_MEDIA_CAMERA_SUPPORT=y
+CONFIG_MEDIA_ANALOG_TV_SUPPORT=y
+CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y
+CONFIG_MEDIA_CONTROLLER=y
+CONFIG_MEDIA_PLATFORM_SUPPORT=y
+
+CONFIG_SOUND=y
+CONFIG_SND=y
+CONFIG_SND_SOC=y
+CONFIG_SND_SOC_FSL_SAI=y
+CONFIG_SND_SIMPLE_CARD=y
+CONFIG_SND_SOC_I2C_AND_SPI=y
+CONFIG_SND_SOC_SGTL5000=y
+CON