Re: [linux-yocto] [kernel-cache][master][yocto-6.6][PATCH] bsp/intel-corei7-64: enable Intel IOMMU support

2024-05-13 Thread Naveen Saini
Thanks Bruce. I will fix necessary configuration.

Regards,
Naveen

> -Original Message-
> From: Bruce Ashfield 
> Sent: Tuesday, May 14, 2024 10:14 AM
> To: Saini, Naveen Kumar 
> Cc: linux-yocto@lists.yoctoproject.org
> Subject: Re: [linux-yocto] [kernel-cache][master][yocto-6.6][PATCH]
> bsp/intel-corei7-64: enable Intel IOMMU support
> 
> both patches are merged.
> 
> I had to fixup the from field so I could push the patch, it is worth double
> checking your configuration (but gmail and groups.io have been mangling
> some patches regardless of configuration)
> 
> Bruce
> 
> 
> In message: [linux-yocto] [kernel-cache][master][yocto-6.6][PATCH]
> bsp/intel-corei7-64: enable Intel IOMMU support on 09/05/2024 Naveen
> Saini via lists.yoctoproject.org wrote:
> 
> > Enable Intel IOMMU driver for intel-corei7-64 machine.
> >
> > Signed-off-by: Naveen Saini 
> > ---
> >  bsp/intel-common/intel-corei7-64.scc | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/bsp/intel-common/intel-corei7-64.scc
> > b/bsp/intel-common/intel-corei7-64.scc
> > index ad9122c1..840c739f 100644
> > --- a/bsp/intel-common/intel-corei7-64.scc
> > +++ b/bsp/intel-common/intel-corei7-64.scc
> > @@ -25,6 +25,8 @@ include features/x2apic/x2apic.scc  #
> > CONFIG_INTEL_SPEED_SELECT_INTERFACE is 64-bit only  include
> > features/intel-sst/intel-sst.scc
> >
> > +include features/iommu/iommu.scc
> > +
> >  # This line comes last as it has the final word on  # CONFIG values.
> >  kconf hardware intel-corei7-64.cfg
> > --
> > 2.37.3
> >
> 
> >
> > 
> >


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13935): 
https://lists.yoctoproject.org/g/linux-yocto/message/13935
Mute This Topic: https://lists.yoctoproject.org/mt/105996440/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.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc & v6.1/standard/nxp-sdk-6.1/nxp-soc][PATCH] arm64: dts: imx93-11x11-evk: Use "alloc-ranges" + "size" instead of "reg" for the

2024-05-13 Thread Bruce Ashfield
merged.

Bruce

In message: [linux-yocto][linux-yocto 
v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc & 
v6.1/standard/nxp-sdk-6.1/nxp-soc][PATCH] arm64: dts: imx93-11x11-evk: Use 
"alloc-ranges" + "size" instead of "reg" for the ethosu_mem
on 12/05/2024 Xiaolei Wang via lists.yoctoproject.org wrote:

> Reserve memory defined through "reg" is unconditionally set as reserve
> memory, so these reserve memory regions can also be successfully set in
> the crash kernel. However, if they are also used as CMA memory and
> their starting addresses are not within the accessible range of the
> crash kernel, it will cause the following memory access exception.
> On the other hand, reserve memory defined through the combination of
> "alloc-ranges" and "size" will be allocated from the memory space
> accessible to the current kernel. If there is no memory that meets the
> corresponding restriction conditions, allocation will fail, thus
> avoiding the memory access exception mentioned earlier. For the crash
> kernel, it is acceptable for allocation of reserve memory to fail in
> such cases.
> 
> At the same time, verify the npu working problem through python3 
> label_image.py
> -d /usr/lib64/libethosu_delegate.so -i grace_hopper.bmp -l labels.txt. No
> exceptions have been found yet
> 
> Unable to handle kernel paging request at virtual address fffe
> Mem abort info:
>   ESR = 0x9606
>   EC = 0x25: DABT (current EL), IL = 32 bits
>   SET = 0, FnV = 0
>   EA = 0, S1PTW = 0
>   FSC = 0x06: level 2 translation fault
> Data abort info:
>   ISV = 0, ISS = 0x0006
>   CM = 0, WnR = 0
> swapper pgtable: 4k pages, 39-bit VAs, pgdp=defd8000
> [fffe] pgd=1000fd4a7003, p4d=1000fd4a7003, 
> pud=1000fd4a7003, pmd=
> Internal error: Oops: 9606 [#1] PREEMPT SMP
> Modules linked in:
> CPU: 0 PID: 1 Comm: swapper/0 Tainted: GW  
> 6.1.83-yocto-standard #1
> Hardware name: NXP i.MX93 11X11 EVK board (DT)
> pstate: 0049 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
> pc : cma_init_reserved_areas+0xb4/0x24c
> lr : cma_init_reserved_areas+0x88/0x24c
> sp : ffc00b32bd40
> x29: ffc00b32bd40 x28: 0680 x27: fffe
> x26: ffc009866078 x25: ffc00974e5e8 x24: ffc00b2b9d70
> x23:  x22: ffc00b2b9dd8 x21: 000c
> x20: ffc0098f6008 x19: ffc00b2b9d70 x18: fffd
> x17: 20647261646e6174 x16: 732d6f74636f792d x15: ffc00b32b2e0
> x14:  x13: 303278302f303178 x12: 302b6b726f665f6d
> x11: 656572665f74696e x10: 0004 x9 : ffc00919c8f4
> x8 : ff80214f8000 x7 : d6d64d8a x6 : d0855cef
> x5 : 00ff x4 : 0001 x3 : ffc0098f6008
> x2 : 0001 x1 : ffc00a125700 x0 : 
> Call trace:
>  cma_init_reserved_areas+0xb4/0x24c
>  do_one_initcall+0xb0/0x33c
>  kernel_init_freeable+0x2d4/0x344
>  kernel_init+0x30/0x140
>  ret_from_fork+0x10/0x20
> 
> Signed-off-by: Xiaolei Wang 
> ---
>  arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts 
> b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> index d58bce2a86e2..50822162bf9a 100644
> --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> @@ -36,7 +36,8 @@ linux,cma {
>   ethosu_mem: ethosu_region@C000 {
>   compatible = "shared-dma-pool";
>   reusable;
> - reg = <0x0 0xC000 0x0 0x1000>;
> + alloc-ranges = <0 0xB000 0 0x2000>;
> + size = <0 0x1000>;
>   };
>  
>   vdev0vring0: vdev0vring0@a400 {
> -- 
> 2.25.1
> 

> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13934): 
https://lists.yoctoproject.org/g/linux-yocto/message/13934
Mute This Topic: https://lists.yoctoproject.org/mt/10600/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 kernel v6.1]: aptiv-s32g: update to compatible with SDK BSP40

2024-05-13 Thread Bruce Ashfield
merged!

Bruce

In message: [yocto-kernel-cache kernel v6.1]: aptiv-s32g: update to compatible 
with SDK BSP40
on 11/05/2024 Zhantao Tang wrote:

> Hi Bruce,
> 
> There is a patch to update v6.1 kernel cache for aptiv-s32g bsp,
> would you please help to merge the following patch into
>   yocto-6.1
> branch?
> 
> Thanks,
> Zhantao
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13933): 
https://lists.yoctoproject.org/g/linux-yocto/message/13933
Mute This Topic: https://lists.yoctoproject.org/mt/106032784/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][master][yocto-6.6][PATCH] bsp/intel-corei7-64: enable Intel IOMMU support

2024-05-13 Thread Bruce Ashfield
both patches are merged.

I had to fixup the from field so I could push the patch,
it is worth double checking your configuration (but
gmail and groups.io have been mangling some patches
regardless of configuration)

Bruce


In message: [linux-yocto] [kernel-cache][master][yocto-6.6][PATCH] 
bsp/intel-corei7-64: enable Intel IOMMU support
on 09/05/2024 Naveen Saini via lists.yoctoproject.org wrote:

> Enable Intel IOMMU driver for intel-corei7-64 machine.
> 
> Signed-off-by: Naveen Saini 
> ---
>  bsp/intel-common/intel-corei7-64.scc | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/bsp/intel-common/intel-corei7-64.scc 
> b/bsp/intel-common/intel-corei7-64.scc
> index ad9122c1..840c739f 100644
> --- a/bsp/intel-common/intel-corei7-64.scc
> +++ b/bsp/intel-common/intel-corei7-64.scc
> @@ -25,6 +25,8 @@ include features/x2apic/x2apic.scc
>  # CONFIG_INTEL_SPEED_SELECT_INTERFACE is 64-bit only
>  include features/intel-sst/intel-sst.scc
>  
> +include features/iommu/iommu.scc
> +
>  # This line comes last as it has the final word on
>  # CONFIG values.
>  kconf hardware intel-corei7-64.cfg
> -- 
> 2.37.3
> 

> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13932): 
https://lists.yoctoproject.org/g/linux-yocto/message/13932
Mute This Topic: https://lists.yoctoproject.org/mt/105996440/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 yocto-6.1][PATCH] nxp-imx9: Enable RTC_DRV_BBNSM for nxp-imx9

2024-05-13 Thread Bruce Ashfield
merged.

Bruce

In message: [linux-yocto][yocto-kernel-cache yocto-6.1][PATCH] nxp-imx9: Enable 
RTC_DRV_BBNSM for nxp-imx9
on 09/05/2024 Xiaolei Wang wrote:

> Enable RTC_DRV_BBNSM for nxp-imx9.
> 
> Signed-off-by: Xiaolei Wang 
> ---
>  bsp/nxp-imx9/nxp-imx9.cfg | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/bsp/nxp-imx9/nxp-imx9.cfg b/bsp/nxp-imx9/nxp-imx9.cfg
> index d68b93be..4726803b 100644
> --- a/bsp/nxp-imx9/nxp-imx9.cfg
> +++ b/bsp/nxp-imx9/nxp-imx9.cfg
> @@ -487,6 +487,7 @@ CONFIG_RTC_CLASS=y
>  CONFIG_RTC_DRV_IMX_SC=y
>  CONFIG_RTC_DRV_IMX_RPMSG=y
>  CONFIG_RTC_DRV_SNVS=y
> +CONFIG_RTC_DRV_BBNSM=y
>  
>  #
>  # DMA Devices
> -- 
> 2.25.1
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13931): 
https://lists.yoctoproject.org/g/linux-yocto/message/13931
Mute This Topic: https://lists.yoctoproject.org/mt/105995051/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.1] kernel code for marvell octeon

2024-05-13 Thread Bruce Ashfield
In message: [linux-yocto][linux-yocto v6.1] kernel code for marvell octeon
on 09/05/2024 Ruiqiang Hao wrote:

> Hi Bruce,
> 
> Please help to merge code into our linux-yocto repo.
> 
> repo:
>   linux-yocto
> branch:
>   v6.1/standard/cn-sdkv6.1/octeon
>   v6.1/standard/preempt-rt/cn-sdkv6.1/octeon

merged.

Bruce

> 
> Thanks,
> Ruiqiang
> 

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