[linux-yocto]: [kernel/kernel-rt]: usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock

2024-06-13 Thread Meng Li via lists.yoctoproject.org
From: Limeng 

Hi Bruce,

This patch is used to fix deadlock issues when testing suspend/resume. I will 
send it to mainline upstream in later.
So, could you please help merge these patches into linux-ycoto kernel in 
advance, both below 2 branchs?
v6.6/standard/nxp-sdk-6.6/nxp-soc
v6.6/standard/preempt-rt/nxp-sdk-6.6/nxp-soc

diffstat info as below:

 core.c |6 --
 1 file changed, 6 deletions(-)


thanks,
Limeng

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14031): 
https://lists.yoctoproject.org/g/linux-yocto/message/14031
Mute This Topic: https://lists.yoctoproject.org/mt/106647367/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] usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock

2024-06-13 Thread Meng Li via lists.yoctoproject.org
When config CONFIG_USB_DWC3_DUAL_ROLE is selected, and trigger system
to enter suspend status with below command:
echo mem > /sys/power/state
There will be a deadlock issue occurring. Because dwc3_gadget_suspend() also
try to get the lock again when previous invoked dwc3_suspend_common() has
got the lock . This issue is introduced by commit c7ebd8149ee5 ("usb: dwc3:
gadget: Fix NULL pointer dereference in dwc3_gadget_suspend") that removes
the code of checking whether dwc->gadget_driver is NULL or not. It causes the
following code is executed and deadlock occurs when trying to get the spinlock.
To fix the deadlock issue, refer to commit 5265397f9442("usb: dwc3: Remove
DWC3 locking during gadget suspend/resume"), remove lock of otg mode during
gadget suspend/resume.

Fixes: c7ebd8149ee5 ("Fix NULL pointer dereference in dwc3_gadget_suspend")
Cc: sta...@vger.kernel.org
Signed-off-by: Meng Li 
---
 drivers/usb/dwc3/core.c | 6 --
 1 file changed, 6 deletions(-)

diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index a8fb10cc65bc..9bb4ab409bbb 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@ -2112,7 +2112,6 @@ static int dwc3_core_init_for_resume(struct dwc3 *dwc)
 
 static int dwc3_suspend_common(struct dwc3 *dwc, pm_message_t msg)
 {
-   unsigned long   flags;
u32 reg;
 
switch (dwc->current_dr_role) {
@@ -2150,9 +2149,7 @@ static int dwc3_suspend_common(struct dwc3 *dwc, 
pm_message_t msg)
break;
 
if (dwc->current_otg_role == DWC3_OTG_ROLE_DEVICE) {
-   spin_lock_irqsave(&dwc->lock, flags);
dwc3_gadget_suspend(dwc);
-   spin_unlock_irqrestore(&dwc->lock, flags);
synchronize_irq(dwc->irq_gadget);
}
 
@@ -2169,7 +2166,6 @@ static int dwc3_suspend_common(struct dwc3 *dwc, 
pm_message_t msg)
 
 static int dwc3_resume_common(struct dwc3 *dwc, pm_message_t msg)
 {
-   unsigned long   flags;
int ret;
u32 reg;
 
@@ -2227,9 +2223,7 @@ static int dwc3_resume_common(struct dwc3 *dwc, 
pm_message_t msg)
if (dwc->current_otg_role == DWC3_OTG_ROLE_HOST) {
dwc3_otg_host_init(dwc);
} else if (dwc->current_otg_role == DWC3_OTG_ROLE_DEVICE) {
-   spin_lock_irqsave(&dwc->lock, flags);
dwc3_gadget_resume(dwc);
-   spin_unlock_irqrestore(&dwc->lock, flags);
}
 
break;
-- 
2.34.1


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



[linux-yocto][linux-yocto v6.6/standard/ti-sdk-6.6/ti-soc] ti-j7xxx kernel part to align TI SDK v6.6 kernel tag 10.00.01

2024-06-13 Thread Xulin Sun via lists.yoctoproject.org

Hi Bruce,

Could you please help to create a new kernel branch 
"v6.6/standard/ti-sdk-6.6/ti-soc"

based on "v6.6/standard/base" for upgrading BSP to kernel v6.6?

And merge below patches to the new branch "v6.6/standard/ti-sdk-6.6/ti-soc".



The following changes since commit 9576b5b9f8e3c78e6c315f475def18e5c29e475a:

  Merge tag 'v6.6.32' into v6.6/standard/base (2024-05-28 13:31:12 -0400)

are available in the Git repository at:

   https://github.com/xulinsun/ti-j72x v6.6/standard/ti-sdk-6.6/ti-soc

for you to fetch changes up to 287cacead6fda00bccaea19fe451627179a40a0a:

  HACK: arm64: dts: ti: k3-am62x: Disable M4FSS rproc support 
(2024-06-13 17:27:05 +0800)



Abdel Alkuor (9):
  dt-bindings: usb: tps6598x: Add tps25750
  USB: typec: tsp6598x: Add cmd timeout and response delay
  USB: typec: tps6598x: Add patch mode to tps6598x
  USB: typec: tps6598x: Refactor tps6598x port registration
  USB: typec: tps6598x: Add device data to of_device_id
  USB: typec: tps6598x: Add TPS25750 support
  USB: typec: tps6598x: Add trace for tps25750 irq
  USB: typec: tps6598x: Add power status trace for tps25750
  USB: typec: tps6598x: Add status trace for tps25750

Adam Ford (1):
  net: ethernet: davinci_emac: Use MAC Address from Device Tree

Andrejs Cainikovs (1):
  arm64: dts: ti: verdin-am62: add support for Verdin USB1 interface

Andrew Davis (68):
  dt-bindings: mfd: syscon: Add ti,am654-dss-oldi-io-ctrl compatible
  arm64: dts: ti: k3-am65: Add full compatible to dss-oldi-io-ctrl node
  arm64: dts: ti: k3-am64: Fix typo in epwm_tbclk node name
  drm: omapdrm: Improve check for contiguous buffers
  arm64: dts: ti: k3-j7200: Add chipid node to wkup_conf bus
  arm64: dts: ti: k3-j784s4: Add chipid node to wkup_conf bus
  arm64: dts: ti: k3-j721s2: Add chipid node to wkup_conf bus
  arm64: dts: ti: k3-am65: Add chipid node to wkup_conf bus
  arm64: dts: ti: k3-j721e: Add chipid node to wkup_conf bus
  arm64: dts: ti: k3-am65: Enable SDHCI nodes at the board level
  arm64: dts: ti: k3-am625-beagleplay: Use UART name in pinmux name
  arm64: dts: ti: k3-am65: Add AM652 DTSI file
  mux: mmio: use reg property when parent device is not a syscon
  power: supply: bq27xxx: Switch to a simpler IDA interface
  power: supply: bq27xxx: Add devm action to free IDA
  power: supply: bq27xxx: Use devm to free device mutex
  power: supply: bq27xxx: Use devm_power_supply_register() helper
  power: supply: bq27xxx: Move one time design full read out of poll
  remoteproc: k3-dsp: Use devm_rproc_alloc() helper
  remoteproc: k3-dsp: Add devm action to release reserved memory
  remoteproc: k3-dsp: Use devm_kcalloc() helper
  remoteproc: k3-dsp: Use devm_ti_sci_get_by_phandle() helper
  remoteproc: k3-dsp: Use devm_kzalloc() helper
  remoteproc: k3-dsp: Add devm action to release tsp
  remoteproc: k3-dsp: Use devm_ioremap_wc() helper
  remoteproc: k3-dsp: Use devm_rproc_add() helper
  arm64: dts: ti: k3-am642-evm: Do not split single items
  arm64: dts: ti: k3-am642-sk: Do not split single items
  arm64: dts: ti: iot2050: Do not split single items
  arm64: dts: ti: k3-am654-base-board: Do not split single items
  arm64: dts: ti: k3-am68-sk-som: Do not split single items
  arm64: dts: ti: k3-am69-sk: Do not split single items
  arm64: dts: ti: k3-j7200-som-p0: Do not split single items
  arm64: dts: ti: k3-j721e-beagleboneai64: Do not split single items
  arm64: dts: ti: k3-j721e-sk: Do not split single items
  arm64: dts: ti: k3-j721e-som-p0: Do not split single items
  arm64: dts: ti: k3-j721s2-som-p0: Do not split single items
  arm64: dts: ti: k3-j7200: Enable PCIe nodes at the board level
  arm64: dts: ti: k3-j7200: Remove PCIe endpoint node
  arm64: dts: ti: k3-am65: Remove PCIe endpoint nodes
  arm64: dts: ti: k3-am64: Remove PCIe endpoint node
  arm64: dts: ti: k3-am64: Convert serdes_ln_ctrl node into reg-mux
  arm64: dts: ti: k3-j7200: Convert serdes_ln_ctrl node into reg-mux
  arm64: dts: ti: k3-j7200: Convert usb_serdes_mux node into reg-mux
  arm64: dts: ti: k3-j721e: Convert serdes_ln_ctrl node into reg-mux
  arm64: dts: ti: k3-j721e: Convert usb_serdes_mux node into reg-mux
  arm64: dts: ti: k3-j721s2: Convert usb_serdes_mux node into reg-mux
  arm64: dts: ti: k3-j721s2: Convert serdes_ln_ctrl node into reg-mux
  arm64: dts: ti: k3-j7200: Make the FSS node a simple-bus
  arm64: dts: ti: k3-am62: Make the main_conf node a simple-bus
  arm64: dts: ti: k3-am62a: Make the main_conf node a simple-bus
  dma-buf: heaps: Initialize during core instead of subsys
  dma-buf: heaps: Add Carveout heap to DMA-BUF Heaps
  misc: sram: Add DMA-BUF Heap exporting of SRAM areas
  remoteproc: core: Make Remoteproc dev

[linux-yocto][linux-yocto v6.6/standard/preempt-rt/ti-sdk-6.6/ti-soc] ti-j7xxx adds preempt-rt kernel patches to align TI SDK v6.6 kernel

2024-06-13 Thread Xulin Sun via lists.yoctoproject.org

Hi Bruce,

Could you please help to create a new kernel branch 
"v6.6/standard/preempt-rt/ti-sdk-6.6/ti-soc"

based on "v6.6/standard/preempt-rt/base" for upgrading BSP to kernel v6.6?

And merge below patches to the new branch 
"v6.6/standard/preempt-rt/ti-sdk-6.6/ti-soc".


The following changes since commit 0e9d5160c30f6503041165c9521e295aab3b17c4:

  Linux 6.6.31-rt31 (2024-06-05 08:15:07 -0400)

are available in the Git repository at:

   https://github.com/xulinsun/ti-j72x 
v6.6/standard/preempt-rt/ti-sdk-6.6/ti-soc


for you to fetch changes up to 4e9a23d1af922e4ab4a01dfe544a5c612a44109f:

  HACK: arm64: dts: ti: k3-am62x: Disable M4FSS rproc support 
(2024-06-12 07:41:17 +)



Abdel Alkuor (9):
  dt-bindings: usb: tps6598x: Add tps25750
  USB: typec: tsp6598x: Add cmd timeout and response delay
  USB: typec: tps6598x: Add patch mode to tps6598x
  USB: typec: tps6598x: Refactor tps6598x port registration
  USB: typec: tps6598x: Add device data to of_device_id
  USB: typec: tps6598x: Add TPS25750 support
  USB: typec: tps6598x: Add trace for tps25750 irq
  USB: typec: tps6598x: Add power status trace for tps25750
  USB: typec: tps6598x: Add status trace for tps25750

Adam Ford (1):
  net: ethernet: davinci_emac: Use MAC Address from Device Tree

Andrejs Cainikovs (1):
  arm64: dts: ti: verdin-am62: add support for Verdin USB1 interface

Andrew Davis (68):
  dt-bindings: mfd: syscon: Add ti,am654-dss-oldi-io-ctrl compatible
  arm64: dts: ti: k3-am65: Add full compatible to dss-oldi-io-ctrl node
  arm64: dts: ti: k3-am64: Fix typo in epwm_tbclk node name
  drm: omapdrm: Improve check for contiguous buffers
  arm64: dts: ti: k3-j7200: Add chipid node to wkup_conf bus
  arm64: dts: ti: k3-j784s4: Add chipid node to wkup_conf bus
  arm64: dts: ti: k3-j721s2: Add chipid node to wkup_conf bus
  arm64: dts: ti: k3-am65: Add chipid node to wkup_conf bus
  arm64: dts: ti: k3-j721e: Add chipid node to wkup_conf bus
  arm64: dts: ti: k3-am65: Enable SDHCI nodes at the board level
  arm64: dts: ti: k3-am625-beagleplay: Use UART name in pinmux name
  arm64: dts: ti: k3-am65: Add AM652 DTSI file
  mux: mmio: use reg property when parent device is not a syscon
  power: supply: bq27xxx: Switch to a simpler IDA interface
  power: supply: bq27xxx: Add devm action to free IDA
  power: supply: bq27xxx: Use devm to free device mutex
  power: supply: bq27xxx: Use devm_power_supply_register() helper
  power: supply: bq27xxx: Move one time design full read out of poll
  remoteproc: k3-dsp: Use devm_rproc_alloc() helper
  remoteproc: k3-dsp: Add devm action to release reserved memory
  remoteproc: k3-dsp: Use devm_kcalloc() helper
  remoteproc: k3-dsp: Use devm_ti_sci_get_by_phandle() helper
  remoteproc: k3-dsp: Use devm_kzalloc() helper
  remoteproc: k3-dsp: Add devm action to release tsp
  remoteproc: k3-dsp: Use devm_ioremap_wc() helper
  remoteproc: k3-dsp: Use devm_rproc_add() helper
  arm64: dts: ti: k3-am642-evm: Do not split single items
  arm64: dts: ti: k3-am642-sk: Do not split single items
  arm64: dts: ti: iot2050: Do not split single items
  arm64: dts: ti: k3-am654-base-board: Do not split single items
  arm64: dts: ti: k3-am68-sk-som: Do not split single items
  arm64: dts: ti: k3-am69-sk: Do not split single items
  arm64: dts: ti: k3-j7200-som-p0: Do not split single items
  arm64: dts: ti: k3-j721e-beagleboneai64: Do not split single items
  arm64: dts: ti: k3-j721e-sk: Do not split single items
  arm64: dts: ti: k3-j721e-som-p0: Do not split single items
  arm64: dts: ti: k3-j721s2-som-p0: Do not split single items
  arm64: dts: ti: k3-j7200: Enable PCIe nodes at the board level
  arm64: dts: ti: k3-j7200: Remove PCIe endpoint node
  arm64: dts: ti: k3-am65: Remove PCIe endpoint nodes
  arm64: dts: ti: k3-am64: Remove PCIe endpoint node
  arm64: dts: ti: k3-am64: Convert serdes_ln_ctrl node into reg-mux
  arm64: dts: ti: k3-j7200: Convert serdes_ln_ctrl node into reg-mux
  arm64: dts: ti: k3-j7200: Convert usb_serdes_mux node into reg-mux
  arm64: dts: ti: k3-j721e: Convert serdes_ln_ctrl node into reg-mux
  arm64: dts: ti: k3-j721e: Convert usb_serdes_mux node into reg-mux
  arm64: dts: ti: k3-j721s2: Convert usb_serdes_mux node into reg-mux
  arm64: dts: ti: k3-j721s2: Convert serdes_ln_ctrl node into reg-mux
  arm64: dts: ti: k3-j7200: Make the FSS node a simple-bus
  arm64: dts: ti: k3-am62: Make the main_conf node a simple-bus
  arm64: dts: ti: k3-am62a: Make the main_conf node a simple-bus
  dma-buf: heaps: Initialize during core instead of subsys
  dma-buf: heaps: Add Carveout heap to DMA-BUF Heaps
  misc: sram: Add DMA-BUF Heap exporting of SRAM areas
  remoteproc: core:

[linux-yocto][v6.6/standard/x86][PATCH] efi/unaccepted: touch soft lockup during memory accept

2024-06-13 Thread Bin Lan via lists.yoctoproject.org
From: Chen Yu 

Commit 50e782a86c98 ("efi/unaccepted: Fix soft lockups caused by
parallel memory acceptance") has released the spinlock so other CPUs can
do memory acceptance in parallel and not triggers softlockup on other
CPUs.

However the softlock up was intermittent shown up if the memory of the
TD guest is large, and the timeout of softlockup is set to 1 second:

 RIP: 0010:_raw_spin_unlock_irqrestore
 Call Trace:
 ? __hrtimer_run_queues
 
 ? hrtimer_interrupt
 ? watchdog_timer_fn
 ? __sysvec_apic_timer_interrupt
 ? __pfx_watchdog_timer_fn
 ? sysvec_apic_timer_interrupt
 
 ? __hrtimer_run_queues
 
 ? hrtimer_interrupt
 ? asm_sysvec_apic_timer_interrupt
 ? _raw_spin_unlock_irqrestore
 ? __sysvec_apic_timer_interrupt
 ? sysvec_apic_timer_interrupt
 accept_memory
 try_to_accept_memory
 do_huge_pmd_anonymous_page
 get_page_from_freelist
 __handle_mm_fault
 __alloc_pages
 __folio_alloc
 ? __tdx_hypercall
 handle_mm_fault
 vma_alloc_folio
 do_user_addr_fault
 do_huge_pmd_anonymous_page
 exc_page_fault
 ? __do_huge_pmd_anonymous_page
 asm_exc_page_fault
 __handle_mm_fault

When the local irq is enabled at the end of accept_memory(), the
softlockup detects that the watchdog on single CPU has not been fed for
a while. That is to say, even other CPUs will not be blocked by
spinlock, the current CPU might be stunk with local irq disabled for a
while, which hurts not only nmi watchdog but also softlockup.

Chao Gao pointed out that the memory accept could be time costly and
there was similar report before. Thus to avoid any softlocup detection
during this stage, give the softlockup a flag to skip the timeout check
at the end of accept_memory(), by invoking touch_softlockup_watchdog().

This patch fixes CVE-2024-36936.

Reported-by: Hossain, Md Iqbal 
Signed-off-by: Chen Yu 
Reviewed-by: Kirill A. Shutemov 
Fixes: 50e782a86c98 ("efi/unaccepted: Fix soft lockups caused by parallel 
memory acceptance")
Signed-off-by: Ard Biesheuvel 
(cherry picked from commit 1c5a1627f48105cbab81d25ec2f72232bfaa8185)
Signed-off-by: Bin Lan 
---
 drivers/firmware/efi/unaccepted_memory.c | 5 +
 1 file changed, 5 insertions(+)

diff --git a/drivers/firmware/efi/unaccepted_memory.c 
b/drivers/firmware/efi/unaccepted_memory.c
index 79fb687bb90f..30a831cc205c 100644
--- a/drivers/firmware/efi/unaccepted_memory.c
+++ b/drivers/firmware/efi/unaccepted_memory.c
@@ -3,6 +3,8 @@
 #include 
 #include 
 #include 
+#include 
+#include 
 #include 
 
 /* Protects unaccepted memory bitmap and accepting_list */
@@ -148,6 +150,9 @@ void accept_memory(phys_addr_t start, phys_addr_t end)
}
 
list_del(&range.list);
+
+   touch_softlockup_watchdog();
+
spin_unlock_irqrestore(&unaccepted_memory_lock, flags);
 }
 
-- 
2.34.1


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



[linux-yocto] Trial merge of v6.1.93 v6.6.33 for linux-yocto

2024-06-13 Thread Kevin Hao
Hi Bruce,

This is a trial merge of the stable kernel v6.1.93 v6.6.33 for the following 
branches in the linux-yocto.
  beff341412bb  v6.1/standard/sdkv5.10/axxia
  adf6a319a08c  v6.1/standard/preempt-rt/sdkv5.10/axxia
  3803209e1cd9  v6.1/standard/base
  2dad312fdbf5  v6.1/standard/preempt-rt/base
  6d88b8874bf0  v6.1/standard/ti-sdk-6.1/ti-j7xxx   
 #Have textual conflicts
  f29a19aab881  v6.1/standard/preempt-rt/ti-sdk-6.1/ti-j7xxx
 #Have textual conflicts
  ba9de1b7d853  v6.1/standard/nxp-sdk-6.1/nxp-soc   
 #Have textual and semantic conflicts
  95431f33c190  v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc
 #Have textual and semantic conflicts
  63086a984030  v6.1/standard/cn-sdkv5.15/octeon
  d53e77347afe  v6.1/standard/preempt-rt/cn-sdkv5.15/octeon
  10fca30ab00b  v6.1/standard/cn-sdkv6.1/octeon
  f3a012b2fd20  v6.1/standard/preempt-rt/cn-sdkv6.1/octeon
  3a73b0697321  v6.1/standard/microchip-polarfire-soc
  cb461ec12dba  v6.1/standard/preempt-rt/microchip-polarfire-soc
  1861207088da  v6.1/standard/bcm-2xxx-rpi  
 #Have textual conflicts
  fee777513ed0  v6.1/standard/preempt-rt/bcm-2xxx-rpi   
 #Have textual conflicts
  0d8c1ab921c2  v6.1/standard/nxp-sdk-5.15/nxp-s32g
  6248cbcc3128  v6.1/standard/preempt-rt/nxp-sdk-5.15/nxp-s32g
  12f3fbda3298  v6.1/standard/intel-sdk-6.1/intel-socfpga
  43444c513551  v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga
  4ad615f21983  v6.1/standard/x86
  57384fc3eeaf  v6.1/standard/preempt-rt/x86
  f9790d19d1df  v6.1/standard/sdkv6.1/xlnx-soc
  0b10ca9fb92c  v6.1/standard/preempt-rt/sdkv6.1/xlnx-soc
  12c0e283ba82  v6.6/standard/sdkv5.15/axxia
  e6b68de08010  v6.6/standard/preempt-rt/sdkv5.15/axxia
  6b6c0c35c7d7  v6.6/standard/base
  4608bc9beeb6  v6.6/standard/preempt-rt/base
  794d9facb23c  v6.6/standard/nxp-sdk-6.6/nxp-soc   
 #Have textual conflicts
  6b47593fac99  v6.6/standard/preempt-rt/nxp-sdk-6.6/nxp-soc
 #Have textual conflicts
  d5f1ea0cf46b  v6.6/standard/sdkv6.6/xlnx-soc  
 #Have textual conflicts
  f78a3bb34ec6  v6.6/standard/preempt-rt/sdkv6.6/xlnx-soc   
 #Have textual conflicts

Please note there are some semantic merge conflicts when merging the v6.1 stable
into nxp branches. All the branches have passed my build test. I have pushed all
these branches to:
https://github.com/haokexin/linux

You can use this as a reference for the linux-yocto stable kernel bump.

Thanks,
Kevin

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



[linux-yocto][linux-yocto v6.6][v6.6/standard/sdkv5.15/axxia && v6.6/standard/preempt-rt/sdkv5.15/axxia][PATCH 1/1] arm: dts: axxia: drop temp configs from i2c node

2024-06-13 Thread LiweiSong via lists.yoctoproject.org
These i2c temp sensors were probed in the SPD case since upstream
commit 4d5ace787273 ("eeprom: at24: Probe for DDR3 thermal sensor
in the SPD case"), if they are still kept in class-based I2C probing
routin, it will cause these client being detected two times, and
a busy error status will return as below, so remove them from dts.

i2c i2c-1: Failed to register i2c client jc42 at 0x18 (-16)
i2c i2c-1: Failed to register i2c client jc42 at 0x1a (-16)

Signed-off-by: Liwei Song 
---
v6.6/standard/sdkv5.15/axxia
v6.6/standard/preempt-rt/sdkv5.15/axxia

 arch/arm/boot/dts/intel/axm/axm5508-amarillo.dts | 10 --
 arch/arm/boot/dts/intel/axm/axm5512-amarillo.dts | 10 --
 arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts | 10 --
 3 files changed, 30 deletions(-)

diff --git a/arch/arm/boot/dts/intel/axm/axm5508-amarillo.dts 
b/arch/arm/boot/dts/intel/axm/axm5508-amarillo.dts
index 9845b0e8659d..d3fc20bc378f 100644
--- a/arch/arm/boot/dts/intel/axm/axm5508-amarillo.dts
+++ b/arch/arm/boot/dts/intel/axm/axm5508-amarillo.dts
@@ -160,16 +160,6 @@ adt7467@2e {
reg = <0x2e>;
};
 
-   temp@18 {
-   compatible = "jedec,jc-42.4-temp";
-   reg = <0x18>;
-   };
-
-   temp@1a {
-   compatible = "jedec,jc-42.4-temp";
-   reg = <0x1a>;
-   };
-
spd@50 {
compatible = "spd";
reg = <0x50>;
diff --git a/arch/arm/boot/dts/intel/axm/axm5512-amarillo.dts 
b/arch/arm/boot/dts/intel/axm/axm5512-amarillo.dts
index c7feca4099b9..19e7b0a1a23c 100644
--- a/arch/arm/boot/dts/intel/axm/axm5512-amarillo.dts
+++ b/arch/arm/boot/dts/intel/axm/axm5512-amarillo.dts
@@ -160,16 +160,6 @@ adt7467@2e {
reg = <0x2e>;
};
 
-   temp@18 {
-   compatible = "jedec,jc-42.4-temp";
-   reg = <0x18>;
-   };
-
-   temp@1a {
-   compatible = "jedec,jc-42.4-temp";
-   reg = <0x1a>;
-   };
-
spd@50 {
compatible = "spd";
reg = <0x50>;
diff --git a/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts 
b/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts
index 8572efaace2c..b6f893f755f7 100644
--- a/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts
+++ b/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts
@@ -174,16 +174,6 @@ adt7467@2e {
reg = <0x2e>;
};
 
-   temp@18 {
-   compatible = "jedec,jc-42.4-temp";
-   reg = <0x18>;
-   };
-
-   temp@1a {
-   compatible = "jedec,jc-42.4-temp";
-   reg = <0x1a>;
-   };
-
spd@50 {
compatible = "spd";
reg = <0x50>;
-- 
2.35.5


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



Re: [linux-yocto][linux-yocto v6.6/standard/preempt-rt/ti-sdk-6.6/ti-soc] ti-j7xxx adds preempt-rt kernel patches to align TI SDK v6.6 kernel

2024-06-13 Thread Bruce Ashfield
In message: [linux-yocto][linux-yocto 
v6.6/standard/preempt-rt/ti-sdk-6.6/ti-soc] ti-j7xxx adds preempt-rt kernel 
patches to align TI SDK v6.6 kernel
on 13/06/2024 Xulin Sun wrote:

> Hi Bruce,
> 
> Could you please help to create a new kernel branch
> "v6.6/standard/preempt-rt/ti-sdk-6.6/ti-soc"
> based on "v6.6/standard/preempt-rt/base" for upgrading BSP to kernel v6.6?
> 
> And merge below patches to the new branch
> "v6.6/standard/preempt-rt/ti-sdk-6.6/ti-soc".

created and merged.

Bruce

> 
> The following changes since commit 0e9d5160c30f6503041165c9521e295aab3b17c4:
> 
>   Linux 6.6.31-rt31 (2024-06-05 08:15:07 -0400)
> 
> are available in the Git repository at:
> 
>    https://github.com/xulinsun/ti-j72x
> v6.6/standard/preempt-rt/ti-sdk-6.6/ti-soc
> 
> for you to fetch changes up to 4e9a23d1af922e4ab4a01dfe544a5c612a44109f:
> 
>   HACK: arm64: dts: ti: k3-am62x: Disable M4FSS rproc support (2024-06-12
> 07:41:17 +)
> 
> 
> Abdel Alkuor (9):
>   dt-bindings: usb: tps6598x: Add tps25750
>   USB: typec: tsp6598x: Add cmd timeout and response delay
>   USB: typec: tps6598x: Add patch mode to tps6598x
>   USB: typec: tps6598x: Refactor tps6598x port registration
>   USB: typec: tps6598x: Add device data to of_device_id
>   USB: typec: tps6598x: Add TPS25750 support
>   USB: typec: tps6598x: Add trace for tps25750 irq
>   USB: typec: tps6598x: Add power status trace for tps25750
>   USB: typec: tps6598x: Add status trace for tps25750
> 
> Adam Ford (1):
>   net: ethernet: davinci_emac: Use MAC Address from Device Tree
> 
> Andrejs Cainikovs (1):
>   arm64: dts: ti: verdin-am62: add support for Verdin USB1 interface
> 
> Andrew Davis (68):
>   dt-bindings: mfd: syscon: Add ti,am654-dss-oldi-io-ctrl compatible
>   arm64: dts: ti: k3-am65: Add full compatible to dss-oldi-io-ctrl node
>   arm64: dts: ti: k3-am64: Fix typo in epwm_tbclk node name
>   drm: omapdrm: Improve check for contiguous buffers
>   arm64: dts: ti: k3-j7200: Add chipid node to wkup_conf bus
>   arm64: dts: ti: k3-j784s4: Add chipid node to wkup_conf bus
>   arm64: dts: ti: k3-j721s2: Add chipid node to wkup_conf bus
>   arm64: dts: ti: k3-am65: Add chipid node to wkup_conf bus
>   arm64: dts: ti: k3-j721e: Add chipid node to wkup_conf bus
>   arm64: dts: ti: k3-am65: Enable SDHCI nodes at the board level
>   arm64: dts: ti: k3-am625-beagleplay: Use UART name in pinmux name
>   arm64: dts: ti: k3-am65: Add AM652 DTSI file
>   mux: mmio: use reg property when parent device is not a syscon
>   power: supply: bq27xxx: Switch to a simpler IDA interface
>   power: supply: bq27xxx: Add devm action to free IDA
>   power: supply: bq27xxx: Use devm to free device mutex
>   power: supply: bq27xxx: Use devm_power_supply_register() helper
>   power: supply: bq27xxx: Move one time design full read out of poll
>   remoteproc: k3-dsp: Use devm_rproc_alloc() helper
>   remoteproc: k3-dsp: Add devm action to release reserved memory
>   remoteproc: k3-dsp: Use devm_kcalloc() helper
>   remoteproc: k3-dsp: Use devm_ti_sci_get_by_phandle() helper
>   remoteproc: k3-dsp: Use devm_kzalloc() helper
>   remoteproc: k3-dsp: Add devm action to release tsp
>   remoteproc: k3-dsp: Use devm_ioremap_wc() helper
>   remoteproc: k3-dsp: Use devm_rproc_add() helper
>   arm64: dts: ti: k3-am642-evm: Do not split single items
>   arm64: dts: ti: k3-am642-sk: Do not split single items
>   arm64: dts: ti: iot2050: Do not split single items
>   arm64: dts: ti: k3-am654-base-board: Do not split single items
>   arm64: dts: ti: k3-am68-sk-som: Do not split single items
>   arm64: dts: ti: k3-am69-sk: Do not split single items
>   arm64: dts: ti: k3-j7200-som-p0: Do not split single items
>   arm64: dts: ti: k3-j721e-beagleboneai64: Do not split single items
>   arm64: dts: ti: k3-j721e-sk: Do not split single items
>   arm64: dts: ti: k3-j721e-som-p0: Do not split single items
>   arm64: dts: ti: k3-j721s2-som-p0: Do not split single items
>   arm64: dts: ti: k3-j7200: Enable PCIe nodes at the board level
>   arm64: dts: ti: k3-j7200: Remove PCIe endpoint node
>   arm64: dts: ti: k3-am65: Remove PCIe endpoint nodes
>   arm64: dts: ti: k3-am64: Remove PCIe endpoint node
>   arm64: dts: ti: k3-am64: Convert serdes_ln_ctrl node into reg-mux
>   arm64: dts: ti: k3-j7200: Convert serdes_ln_ctrl node into reg-mux
>   arm64: dts: ti: k3-j7200: Convert usb_serdes_mux node into reg-mux
>   arm64: dts: ti: k3-j721e: Convert serdes_ln_ctrl node into reg-mux
>   arm64: dts: ti: k3-j721e: Convert usb_serdes_mux node into reg-mux
>   arm64: dts: ti: k3-j721s2: Convert usb_serdes_mux node into reg-mux
>   arm64: dts: ti: k3-j721s2: Convert serdes_ln_ctrl node into reg-mux
>   arm64: dts

Re: [linux-yocto][v6.6/standard/x86][PATCH] efi/unaccepted: touch soft lockup during memory accept

2024-06-13 Thread Bruce Ashfield
merged.

Bruce

In message: [linux-yocto][v6.6/standard/x86][PATCH] efi/unaccepted: touch soft 
lockup during memory accept
on 13/06/2024 Bin Lan via lists.yoctoproject.org wrote:

> From: Chen Yu 
> 
> Commit 50e782a86c98 ("efi/unaccepted: Fix soft lockups caused by
> parallel memory acceptance") has released the spinlock so other CPUs can
> do memory acceptance in parallel and not triggers softlockup on other
> CPUs.
> 
> However the softlock up was intermittent shown up if the memory of the
> TD guest is large, and the timeout of softlockup is set to 1 second:
> 
>  RIP: 0010:_raw_spin_unlock_irqrestore
>  Call Trace:
>  ? __hrtimer_run_queues
>  
>  ? hrtimer_interrupt
>  ? watchdog_timer_fn
>  ? __sysvec_apic_timer_interrupt
>  ? __pfx_watchdog_timer_fn
>  ? sysvec_apic_timer_interrupt
>  
>  ? __hrtimer_run_queues
>  
>  ? hrtimer_interrupt
>  ? asm_sysvec_apic_timer_interrupt
>  ? _raw_spin_unlock_irqrestore
>  ? __sysvec_apic_timer_interrupt
>  ? sysvec_apic_timer_interrupt
>  accept_memory
>  try_to_accept_memory
>  do_huge_pmd_anonymous_page
>  get_page_from_freelist
>  __handle_mm_fault
>  __alloc_pages
>  __folio_alloc
>  ? __tdx_hypercall
>  handle_mm_fault
>  vma_alloc_folio
>  do_user_addr_fault
>  do_huge_pmd_anonymous_page
>  exc_page_fault
>  ? __do_huge_pmd_anonymous_page
>  asm_exc_page_fault
>  __handle_mm_fault
> 
> When the local irq is enabled at the end of accept_memory(), the
> softlockup detects that the watchdog on single CPU has not been fed for
> a while. That is to say, even other CPUs will not be blocked by
> spinlock, the current CPU might be stunk with local irq disabled for a
> while, which hurts not only nmi watchdog but also softlockup.
> 
> Chao Gao pointed out that the memory accept could be time costly and
> there was similar report before. Thus to avoid any softlocup detection
> during this stage, give the softlockup a flag to skip the timeout check
> at the end of accept_memory(), by invoking touch_softlockup_watchdog().
> 
> This patch fixes CVE-2024-36936.
> 
> Reported-by: Hossain, Md Iqbal 
> Signed-off-by: Chen Yu 
> Reviewed-by: Kirill A. Shutemov 
> Fixes: 50e782a86c98 ("efi/unaccepted: Fix soft lockups caused by parallel 
> memory acceptance")
> Signed-off-by: Ard Biesheuvel 
> (cherry picked from commit 1c5a1627f48105cbab81d25ec2f72232bfaa8185)
> Signed-off-by: Bin Lan 
> ---
>  drivers/firmware/efi/unaccepted_memory.c | 5 +
>  1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/firmware/efi/unaccepted_memory.c 
> b/drivers/firmware/efi/unaccepted_memory.c
> index 79fb687bb90f..30a831cc205c 100644
> --- a/drivers/firmware/efi/unaccepted_memory.c
> +++ b/drivers/firmware/efi/unaccepted_memory.c
> @@ -3,6 +3,8 @@
>  #include 
>  #include 
>  #include 
> +#include 
> +#include 
>  #include 
>  
>  /* Protects unaccepted memory bitmap and accepting_list */
> @@ -148,6 +150,9 @@ void accept_memory(phys_addr_t start, phys_addr_t end)
>   }
>  
>   list_del(&range.list);
> +
> + touch_softlockup_watchdog();
> +
>   spin_unlock_irqrestore(&unaccepted_memory_lock, flags);
>  }
>  
> -- 
> 2.34.1
> 

> 
> 
> 


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



Re: [linux-yocto][linux-yocto v6.6][v6.6/standard/sdkv5.15/axxia && v6.6/standard/preempt-rt/sdkv5.15/axxia][PATCH 1/1] arm: dts: axxia: drop temp configs from i2c node

2024-06-13 Thread Bruce Ashfield
In message: [linux-yocto][linux-yocto v6.6][v6.6/standard/sdkv5.15/axxia && 
v6.6/standard/preempt-rt/sdkv5.15/axxia][PATCH 1/1] arm: dts: axxia: drop temp 
configs from i2c node
on 13/06/2024 Liwei Song wrote:

> These i2c temp sensors were probed in the SPD case since upstream
> commit 4d5ace787273 ("eeprom: at24: Probe for DDR3 thermal sensor
> in the SPD case"), if they are still kept in class-based I2C probing
> routin, it will cause these client being detected two times, and
> a busy error status will return as below, so remove them from dts.
> 
> i2c i2c-1: Failed to register i2c client jc42 at 0x18 (-16)
> i2c i2c-1: Failed to register i2c client jc42 at 0x1a (-16)
> 
> Signed-off-by: Liwei Song 
> ---
> v6.6/standard/sdkv5.15/axxia
> v6.6/standard/preempt-rt/sdkv5.15/axxia

merged.

Bruce

> 
>  arch/arm/boot/dts/intel/axm/axm5508-amarillo.dts | 10 --
>  arch/arm/boot/dts/intel/axm/axm5512-amarillo.dts | 10 --
>  arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts | 10 --
>  3 files changed, 30 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/intel/axm/axm5508-amarillo.dts 
> b/arch/arm/boot/dts/intel/axm/axm5508-amarillo.dts
> index 9845b0e8659d..d3fc20bc378f 100644
> --- a/arch/arm/boot/dts/intel/axm/axm5508-amarillo.dts
> +++ b/arch/arm/boot/dts/intel/axm/axm5508-amarillo.dts
> @@ -160,16 +160,6 @@ adt7467@2e {
>   reg = <0x2e>;
>   };
>  
> - temp@18 {
> - compatible = "jedec,jc-42.4-temp";
> - reg = <0x18>;
> - };
> -
> - temp@1a {
> - compatible = "jedec,jc-42.4-temp";
> - reg = <0x1a>;
> - };
> -
>   spd@50 {
>   compatible = "spd";
>   reg = <0x50>;
> diff --git a/arch/arm/boot/dts/intel/axm/axm5512-amarillo.dts 
> b/arch/arm/boot/dts/intel/axm/axm5512-amarillo.dts
> index c7feca4099b9..19e7b0a1a23c 100644
> --- a/arch/arm/boot/dts/intel/axm/axm5512-amarillo.dts
> +++ b/arch/arm/boot/dts/intel/axm/axm5512-amarillo.dts
> @@ -160,16 +160,6 @@ adt7467@2e {
>   reg = <0x2e>;
>   };
>  
> - temp@18 {
> - compatible = "jedec,jc-42.4-temp";
> - reg = <0x18>;
> - };
> -
> - temp@1a {
> - compatible = "jedec,jc-42.4-temp";
> - reg = <0x1a>;
> - };
> -
>   spd@50 {
>   compatible = "spd";
>   reg = <0x50>;
> diff --git a/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts 
> b/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts
> index 8572efaace2c..b6f893f755f7 100644
> --- a/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts
> +++ b/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts
> @@ -174,16 +174,6 @@ adt7467@2e {
>   reg = <0x2e>;
>   };
>  
> - temp@18 {
> - compatible = "jedec,jc-42.4-temp";
> - reg = <0x18>;
> - };
> -
> - temp@1a {
> - compatible = "jedec,jc-42.4-temp";
> - reg = <0x1a>;
> - };
> -
>   spd@50 {
>   compatible = "spd";
>   reg = <0x50>;
> -- 
> 2.35.5
> 

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



Re: [linux-yocto][linux-yocto v6.6/standard/ti-sdk-6.6/ti-soc] ti-j7xxx kernel part to align TI SDK v6.6 kernel tag 10.00.01

2024-06-13 Thread Bruce Ashfield
In message: [linux-yocto][linux-yocto v6.6/standard/ti-sdk-6.6/ti-soc] ti-j7xxx 
kernel part to align TI SDK v6.6 kernel tag 10.00.01
on 13/06/2024 Xulin Sun wrote:

> Hi Bruce,
> 
> Could you please help to create a new kernel branch
> "v6.6/standard/ti-sdk-6.6/ti-soc"
> based on "v6.6/standard/base" for upgrading BSP to kernel v6.6?

merged.

Bruce

> 
> And merge below patches to the new branch "v6.6/standard/ti-sdk-6.6/ti-soc".
> 
> 
> 
> The following changes since commit 9576b5b9f8e3c78e6c315f475def18e5c29e475a:
> 
>   Merge tag 'v6.6.32' into v6.6/standard/base (2024-05-28 13:31:12 -0400)
> 
> are available in the Git repository at:
> 
>    https://github.com/xulinsun/ti-j72x v6.6/standard/ti-sdk-6.6/ti-soc
> 
> for you to fetch changes up to 287cacead6fda00bccaea19fe451627179a40a0a:
> 
>   HACK: arm64: dts: ti: k3-am62x: Disable M4FSS rproc support (2024-06-13
> 17:27:05 +0800)
> 
> 
> Abdel Alkuor (9):
>   dt-bindings: usb: tps6598x: Add tps25750
>   USB: typec: tsp6598x: Add cmd timeout and response delay
>   USB: typec: tps6598x: Add patch mode to tps6598x
>   USB: typec: tps6598x: Refactor tps6598x port registration
>   USB: typec: tps6598x: Add device data to of_device_id
>   USB: typec: tps6598x: Add TPS25750 support
>   USB: typec: tps6598x: Add trace for tps25750 irq
>   USB: typec: tps6598x: Add power status trace for tps25750
>   USB: typec: tps6598x: Add status trace for tps25750
> 
> Adam Ford (1):
>   net: ethernet: davinci_emac: Use MAC Address from Device Tree
> 
> Andrejs Cainikovs (1):
>   arm64: dts: ti: verdin-am62: add support for Verdin USB1 interface
> 
> Andrew Davis (68):
>   dt-bindings: mfd: syscon: Add ti,am654-dss-oldi-io-ctrl compatible
>   arm64: dts: ti: k3-am65: Add full compatible to dss-oldi-io-ctrl node
>   arm64: dts: ti: k3-am64: Fix typo in epwm_tbclk node name
>   drm: omapdrm: Improve check for contiguous buffers
>   arm64: dts: ti: k3-j7200: Add chipid node to wkup_conf bus
>   arm64: dts: ti: k3-j784s4: Add chipid node to wkup_conf bus
>   arm64: dts: ti: k3-j721s2: Add chipid node to wkup_conf bus
>   arm64: dts: ti: k3-am65: Add chipid node to wkup_conf bus
>   arm64: dts: ti: k3-j721e: Add chipid node to wkup_conf bus
>   arm64: dts: ti: k3-am65: Enable SDHCI nodes at the board level
>   arm64: dts: ti: k3-am625-beagleplay: Use UART name in pinmux name
>   arm64: dts: ti: k3-am65: Add AM652 DTSI file
>   mux: mmio: use reg property when parent device is not a syscon
>   power: supply: bq27xxx: Switch to a simpler IDA interface
>   power: supply: bq27xxx: Add devm action to free IDA
>   power: supply: bq27xxx: Use devm to free device mutex
>   power: supply: bq27xxx: Use devm_power_supply_register() helper
>   power: supply: bq27xxx: Move one time design full read out of poll
>   remoteproc: k3-dsp: Use devm_rproc_alloc() helper
>   remoteproc: k3-dsp: Add devm action to release reserved memory
>   remoteproc: k3-dsp: Use devm_kcalloc() helper
>   remoteproc: k3-dsp: Use devm_ti_sci_get_by_phandle() helper
>   remoteproc: k3-dsp: Use devm_kzalloc() helper
>   remoteproc: k3-dsp: Add devm action to release tsp
>   remoteproc: k3-dsp: Use devm_ioremap_wc() helper
>   remoteproc: k3-dsp: Use devm_rproc_add() helper
>   arm64: dts: ti: k3-am642-evm: Do not split single items
>   arm64: dts: ti: k3-am642-sk: Do not split single items
>   arm64: dts: ti: iot2050: Do not split single items
>   arm64: dts: ti: k3-am654-base-board: Do not split single items
>   arm64: dts: ti: k3-am68-sk-som: Do not split single items
>   arm64: dts: ti: k3-am69-sk: Do not split single items
>   arm64: dts: ti: k3-j7200-som-p0: Do not split single items
>   arm64: dts: ti: k3-j721e-beagleboneai64: Do not split single items
>   arm64: dts: ti: k3-j721e-sk: Do not split single items
>   arm64: dts: ti: k3-j721e-som-p0: Do not split single items
>   arm64: dts: ti: k3-j721s2-som-p0: Do not split single items
>   arm64: dts: ti: k3-j7200: Enable PCIe nodes at the board level
>   arm64: dts: ti: k3-j7200: Remove PCIe endpoint node
>   arm64: dts: ti: k3-am65: Remove PCIe endpoint nodes
>   arm64: dts: ti: k3-am64: Remove PCIe endpoint node
>   arm64: dts: ti: k3-am64: Convert serdes_ln_ctrl node into reg-mux
>   arm64: dts: ti: k3-j7200: Convert serdes_ln_ctrl node into reg-mux
>   arm64: dts: ti: k3-j7200: Convert usb_serdes_mux node into reg-mux
>   arm64: dts: ti: k3-j721e: Convert serdes_ln_ctrl node into reg-mux
>   arm64: dts: ti: k3-j721e: Convert usb_serdes_mux node into reg-mux
>   arm64: dts: ti: k3-j721s2: Convert usb_serdes_mux node into reg-mux
>   arm64: dts: ti: k3-j721s2: Convert serdes_ln_ctrl node into reg-mux
>   arm64: dts: ti: k3-j7200: Make the FSS node a simple-bus

Re: [linux-yocto]: [kernel/kernel-rt]: usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock

2024-06-13 Thread Bruce Ashfield
In message: [linux-yocto]: [kernel/kernel-rt]: usb: dwc3: core: remove lock of 
otg mode during gadget suspend/resume to avoid deadlock
on 13/06/2024 Meng Li wrote:

> From: Limeng 
> 
> Hi Bruce,
> 
> This patch is used to fix deadlock issues when testing suspend/resume. I will 
> send it to mainline upstream in later.
> So, could you please help merge these patches into linux-ycoto kernel in 
> advance, both below 2 branchs?
> v6.6/standard/nxp-sdk-6.6/nxp-soc
> v6.6/standard/preempt-rt/nxp-sdk-6.6/nxp-soc

Given the response of upstream, I'll wait until you've replied
and an agreed upon solution is acheived.

Bruce

> 
> diffstat info as below:
> 
>  core.c |6 --
>  1 file changed, 6 deletions(-)
> 
> 
> thanks,
> Limeng

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14038): 
https://lists.yoctoproject.org/g/linux-yocto/message/14038
Mute This Topic: https://lists.yoctoproject.org/mt/106647367/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 linux-yocto] of: overlay: Delete the unused overlay_lock

2024-06-13 Thread Kevin Hao
From: Kevin Hao 

This unused lock was introduced by commit 4066b40be0b7 ("OF: DT-Overlay
configfs interface (v8)"). Delete it to fix the build warning.

Signed-off-by: Kevin Hao 
---
Hi Bruce,

Please help me merge this into the following two branches:
  v6.6/standard/sdkv6.6/xlnx-soc
  v6.6/standard/preempt-rt/sdkv6.6/xlnx-soc
---
 drivers/of/configfs.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/of/configfs.c b/drivers/of/configfs.c
index 3839f14dc893..cbaf0bf04381 100644
--- a/drivers/of/configfs.c
+++ b/drivers/of/configfs.c
@@ -43,8 +43,6 @@ struct cfs_overlay_item {
void*mem;
 };
 
-static DEFINE_MUTEX(overlay_lock);
-
 static int create_overlay(struct cfs_overlay_item *overlay, void *blob)
 {
int err;

---
base-commit: f78a3bb34ec6b49d99b0db87a3a868d6f52c59f0
change-id: 20240614-dt-overlay-75c9bd8e9e91

Best regards,
-- 
Kevin Hao 


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



Re: [linux-yocto]: [kernel/kernel-rt]: usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock

2024-06-13 Thread Meng Li via lists.yoctoproject.org


> -Original Message-
> From: Bruce Ashfield 
> Sent: Friday, June 14, 2024 3:24 AM
> To: Li, Meng 
> Cc: linux-yocto@lists.yoctoproject.org
> Subject: Re: [linux-yocto]: [kernel/kernel-rt]: usb: dwc3: core: remove lock 
> of
> otg mode during gadget suspend/resume to avoid deadlock
> 
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and
> know the content is safe.
> 
> In message: [linux-yocto]: [kernel/kernel-rt]: usb: dwc3: core: remove lock of
> otg mode during gadget suspend/resume to avoid deadlock on 13/06/2024
> Meng Li wrote:
> 
> > From: Limeng 
> >
> > Hi Bruce,
> >
> > This patch is used to fix deadlock issues when testing suspend/resume. I 
> > will
> send it to mainline upstream in later.
> > So, could you please help merge these patches into linux-ycoto kernel in
> advance, both below 2 branchs?
> > v6.6/standard/nxp-sdk-6.6/nxp-soc
> > v6.6/standard/preempt-rt/nxp-sdk-6.6/nxp-soc
> 
> Given the response of upstream, I'll wait until you've replied and an agreed
> upon solution is acheived.
> 

Ok! I agree your advice, wait for the upstream response from USB maintainer, 
and then improve my patch.
I can reproduce this issue on NXP platforms using usb dwc3 driver, for example, 
ls1028. And I also verify this patch, suspend/resume feature
works fine with it.
I think maybe it needs a long period to review this patch in upstream 
community, and then accept it finally. Maybe it is not accepted by upstream in 
worse case.
So, is it possible to merge this patch into NXP branch, not standard/base 
branch in advance? In this way, it will not affect other BSP.

Thanks,
LImeng
 
> Bruce
> 
> >
> > diffstat info as below:
> >
> >  core.c |6 --
> >  1 file changed, 6 deletions(-)
> >
> >
> > thanks,
> > Limeng

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