[linux-yocto][v5.10/standard/nxp-sdk-5.10/nxp-s32g2xx & v5.10/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g2xx][PATCH] kernel/dma/coherent.c: fix compile error

2024-02-22 Thread Li Wang via lists.yoctoproject.org
kernel/dma/coherent.c: error: passing argument 1 of 
'dma_release_coherent_memory'
from incompatible pointer type [-Werror=incompatible-pointer-types]

Signed-off-by: Li Wang 
---
 kernel/dma/coherent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/dma/coherent.c b/kernel/dma/coherent.c
index 9ee5f6a2c385..c1c2c737e6ab 100644
--- a/kernel/dma/coherent.c
+++ b/kernel/dma/coherent.c
@@ -146,7 +146,7 @@ void dma_release_declared_memory(struct device *dev)
 
if (!mem)
return;
-   dma_release_coherent_memory(mem);
+   _dma_release_coherent_memory(mem);
dev->dma_mem = NULL;
 }
 EXPORT_SYMBOL(dma_release_declared_memory);
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13600): 
https://lists.yoctoproject.org/g/linux-yocto/message/13600
Mute This Topic: https://lists.yoctoproject.org/mt/104522930/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] [yocto-kernel-cache]: ti-am62: enable optee related kernel configs

2024-02-22 Thread Bruce Ashfield
In message: [yocto-kernel-cache]: ti-am62: enable optee related kernel configs
on 22/02/2024 Meng Li wrote:

> From: Limeng 
> 
> Hi Bruce,
> 
> This patch is used to enable optee related kernel configs.
> Could you please help to merge this patch into yocto-kernel-cache, branch is 
> yocto-6.1?

I've merged it to 6.1, and I've also spit out the feature fragment and merged 
it to 6.6 and master.

Bruce

> 
> diffstat info ad below:
> 
>  bsp/ti-am62/ti-am62.scc  |2 ++
>  features/optee/optee.cfg |3 +++
>  features/optee/optee.scc |4 
>  3 files changed, 9 insertions(+)
> 
> 
> thanks,
> Limeng

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13599): 
https://lists.yoctoproject.org/g/linux-yocto/message/13599
Mute This Topic: https://lists.yoctoproject.org/mt/104509212/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-cache][PATCH v2] squashfs: Add initial support

2024-02-22 Thread Bruce Ashfield
merged to 6.1+, SRCREV bumps will follow in a few days.

Bruce

In message: [linux-yocto] [kernel-cache][PATCH v2] squashfs: Add initial support
on 21/02/2024 Vyacheslav Yurkov wrote:

> It's required at least in selftest to test read-only file systems.
> 
> Signed-off-by: Vyacheslav Yurkov 
> ---
>  cfg/fs/squashfs.cfg | 2 ++
>  cfg/fs/squashfs.scc | 5 +
>  2 files changed, 7 insertions(+)
>  create mode 100644 cfg/fs/squashfs.cfg
>  create mode 100644 cfg/fs/squashfs.scc
> 
> diff --git a/cfg/fs/squashfs.cfg b/cfg/fs/squashfs.cfg
> new file mode 100644
> index ..27906251
> --- /dev/null
> +++ b/cfg/fs/squashfs.cfg
> @@ -0,0 +1,2 @@
> +# SPDX-License-Identifier: MIT
> +CONFIG_SQUASHFS=y
> diff --git a/cfg/fs/squashfs.scc b/cfg/fs/squashfs.scc
> new file mode 100644
> index ..bb82fe60
> --- /dev/null
> +++ b/cfg/fs/squashfs.scc
> @@ -0,0 +1,5 @@
> +# SPDX-License-Identifier: MIT
> +define KFEATURE_DESCRIPTION "Enable squashfs filesystem support"
> +define KFEATURE_COMPATIBILITY all
> +
> +kconf non-hardware squashfs.cfg
> -- 
> 2.25.1
> 

> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13598): 
https://lists.yoctoproject.org/g/linux-yocto/message/13598
Mute This Topic: https://lists.yoctoproject.org/mt/104483810/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] ALSA: usb-audio: Remove duplicated quirk table entries

2024-02-22 Thread Bruce Ashfield
In message: [linux-yocto] ALSA: usb-audio: Remove duplicated quirk table entries
on 21/02/2024 Kevin Hao wrote:

> From: Kevin Hao 
> 
> The merge commit 7104a5aa5d2a ("Merge branch 'v6.1/standard/base' into
> v6.1/standard/bcm-2xxx-rpi") left some duplicated quirk table entries
> when fixing merge conflicts. Remove them and also shuffle some entries
> to sort them in USB ID order as what it does in stable commit
> 7b430fb92440 ("ALSA: usb-audio: Sort quirk table entries").
> 
> Signed-off-by: Kevin Hao 
> ---
> Hi Bruce,
> 
> Please help me merge this onto the following two branches:
>   v6.1/standard/bcm-2xxx-rpi
>   v6.1/standard/preempt-rt/bcm-2xxx-rpi

Argh.

I thought I had duplicated some and did a quick scan, but yet
missed seeing the issue.

This is now merged.

Bruce

> 
>  sound/usb/quirks.c | 21 +++--
>  1 file changed, 3 insertions(+), 18 deletions(-)
> 
> diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
> index 555174c686ae..fc6c8e171587 100644
> --- a/sound/usb/quirks.c
> +++ b/sound/usb/quirks.c
> @@ -2081,6 +2081,8 @@ static const struct usb_audio_quirk_flags_table 
> quirk_flags_table[] = {
>  QUIRK_FLAG_IGNORE_CTL_ERROR),
>   DEVICE_FLG(0x0951, 0x16ad, /* Kingston HyperX */
>  QUIRK_FLAG_CTL_MSG_DELAY_1M),
> + DEVICE_FLG(0x09da, 0x2695, /* A4Tech FHD 1080p webcam */
> +QUIRK_FLAG_DISABLE_AUTOSUSPEND | QUIRK_FLAG_GET_SAMPLE_RATE),
>   DEVICE_FLG(0x0b0e, 0x0349, /* Jabra 550a */
>  QUIRK_FLAG_CTL_MSG_DELAY_1M),
>   DEVICE_FLG(0x0ecb, 0x205c, /* JBL Quantum610 Wireless */
> @@ -2183,24 +2185,7 @@ static const struct usb_audio_quirk_flags_table 
> quirk_flags_table[] = {
>  QUIRK_FLAG_ALIGN_TRANSFER),
>   DEVICE_FLG(0x534d, 0x2109, /* MacroSilicon MS2109 */
>  QUIRK_FLAG_ALIGN_TRANSFER),
> - DEVICE_FLG(0x1224, 0x2a25, /* Jieli Technology USB PHY 2.0 */
> -QUIRK_FLAG_GET_SAMPLE_RATE),
> - DEVICE_FLG(0x2b53, 0x0023, /* Fiero SC-01 (firmware v1.0.0 @ 48 kHz) */
> -QUIRK_FLAG_GENERIC_IMPLICIT_FB),
> - DEVICE_FLG(0x2b53, 0x0024, /* Fiero SC-01 (firmware v1.0.0 @ 96 kHz) */
> -QUIRK_FLAG_GENERIC_IMPLICIT_FB),
> - DEVICE_FLG(0x2b53, 0x0031, /* Fiero SC-01 (firmware v1.1.0) */
> -QUIRK_FLAG_GENERIC_IMPLICIT_FB),
> - DEVICE_FLG(0x0525, 0xa4ad, /* Hamedal C20 usb camero */
> -QUIRK_FLAG_IFACE_SKIP_CLOSE),
> - DEVICE_FLG(0x0ecb, 0x205c, /* JBL Quantum610 Wireless */
> -QUIRK_FLAG_FIXED_RATE),
> - DEVICE_FLG(0x0ecb, 0x2069, /* JBL Quantum810 Wireless */
> -QUIRK_FLAG_FIXED_RATE),
> - DEVICE_FLG(0x09da, 0x2695, /* A4Tech FHD 1080p webcam */
> -QUIRK_FLAG_DISABLE_AUTOSUSPEND | QUIRK_FLAG_GET_SAMPLE_RATE),
> - DEVICE_FLG(0x1bcf, 0x2283, /* NexiGo N930AF FHD Webcam */
> -QUIRK_FLAG_GET_SAMPLE_RATE),
> +
>   /* Vendor matches */
>   VENDOR_FLG(0x045e, /* MS Lifecam */
>  QUIRK_FLAG_GET_SAMPLE_RATE),
> -- 
> 2.40.1
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13597): 
https://lists.yoctoproject.org/g/linux-yocto/message/13597
Mute This Topic: https://lists.yoctoproject.org/mt/104482068/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] ti-am62: enable optee related kernel configs

2024-02-22 Thread Meng Li via lists.yoctoproject.org
Add optee feature and enable it in ti-am62 BSP.

Signed-off-by: Meng Li 
---
 bsp/ti-am62/ti-am62.cfg  | 0
 bsp/ti-am62/ti-am62.scc  | 2 ++
 features/optee/optee.cfg | 3 +++
 features/optee/optee.scc | 4 
 4 files changed, 9 insertions(+)
 mode change 100755 => 100644 bsp/ti-am62/ti-am62.cfg
 create mode 100644 features/optee/optee.cfg
 create mode 100644 features/optee/optee.scc

diff --git a/bsp/ti-am62/ti-am62.cfg b/bsp/ti-am62/ti-am62.cfg
old mode 100755
new mode 100644
diff --git a/bsp/ti-am62/ti-am62.scc b/bsp/ti-am62/ti-am62.scc
index 9a0dda7f..3d10246a 100644
--- a/bsp/ti-am62/ti-am62.scc
+++ b/bsp/ti-am62/ti-am62.scc
@@ -4,5 +4,7 @@ include cfg/fs/flash_fs.cfg
 include features/hugetlb/hugetlb.scc
 # Enable the ability to run 32 bit apps
 include arch/arm/32bit-compat.scc
+# Enable optee
+include features/optee/optee.scc
 
 kconf hardware ti-am62.cfg
diff --git a/features/optee/optee.cfg b/features/optee/optee.cfg
new file mode 100644
index ..3aa27f0a
--- /dev/null
+++ b/features/optee/optee.cfg
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: MIT
+CONFIG_TEE=y
+CONFIG_OPTEE=y
diff --git a/features/optee/optee.scc b/features/optee/optee.scc
new file mode 100644
index ..db4c19e5
--- /dev/null
+++ b/features/optee/optee.scc
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: MIT
+define KFEATURE_DESCRIPTION "Enable optee support"
+
+kconf hardware optee.cfg
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13595): 
https://lists.yoctoproject.org/g/linux-yocto/message/13595
Mute This Topic: https://lists.yoctoproject.org/mt/104509211/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]: ti-am62: enable optee related kernel configs

2024-02-22 Thread Meng Li via lists.yoctoproject.org
From: Limeng 

Hi Bruce,

This patch is used to enable optee related kernel configs.
Could you please help to merge this patch into yocto-kernel-cache, branch is 
yocto-6.1?

diffstat info ad below:

 bsp/ti-am62/ti-am62.scc  |2 ++
 features/optee/optee.cfg |3 +++
 features/optee/optee.scc |4 
 3 files changed, 9 insertions(+)


thanks,
Limeng

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