Re: [linux-yocto][yocto-kernel-cache][yocto-6.1/yocto-6.6/master][PATCH V2] bsp/intel-x86: enable PCIe Advanced Error Reporting driver

2024-05-07 Thread Bruce Ashfield
On Tue, May 7, 2024 at 9:31 PM Liu, Yongxin  wrote:
>
> > -Original Message-
> > From: Bruce Ashfield 
> > Sent: Wednesday, May 8, 2024 9:20
> > To: Liu, Yongxin 
> > Cc: Hao, Kexin ; linux-
> > yo...@lists.yoctoproject.org
> > Subject: Re: [linux-yocto][yocto-kernel-cache][yocto-6.1/yocto-
> > 6.6/master][PATCH V2] bsp/intel-x86: enable PCIe Advanced Error Reporting
> > driver
> >
> > 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.
> >
> > v2 worked perfectly.
> >
> > It is now merged.
>
> Thanks. But this patch is for yocto-6.1, yocto-6.6 and master.
> I saw it only in yocto-6.1.
> Please help to check.
>

Ooops. My mistake, it is on all the branches now.

Bruce

> Thanks,
> Yongxin
>
>
> >
> > Bruce
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13910): 
https://lists.yoctoproject.org/g/linux-yocto/message/13910
Mute This Topic: https://lists.yoctoproject.org/mt/105971882/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/yocto-6.6/master][PATCH V2] bsp/intel-x86: enable PCIe Advanced Error Reporting driver

2024-05-07 Thread Yongxin Liu via lists.yoctoproject.org
> -Original Message-
> From: Bruce Ashfield 
> Sent: Wednesday, May 8, 2024 9:20
> To: Liu, Yongxin 
> Cc: Hao, Kexin ; linux-
> yo...@lists.yoctoproject.org
> Subject: Re: [linux-yocto][yocto-kernel-cache][yocto-6.1/yocto-
> 6.6/master][PATCH V2] bsp/intel-x86: enable PCIe Advanced Error Reporting
> driver
> 
> 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.
> 
> v2 worked perfectly.
> 
> It is now merged.

Thanks. But this patch is for yocto-6.1, yocto-6.6 and master.
I saw it only in yocto-6.1.
Please help to check.

Thanks,
Yongxin
 

> 
> Bruce


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13909): 
https://lists.yoctoproject.org/g/linux-yocto/message/13909
Mute This Topic: https://lists.yoctoproject.org/mt/105971882/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/yocto-6.6/master][PATCH V2] bsp/intel-x86: enable PCIe Advanced Error Reporting driver

2024-05-07 Thread Bruce Ashfield
v2 worked perfectly.

It is now merged.

Bruce

In message: [linux-yocto][yocto-kernel-cache][yocto-6.1/yocto-6.6/master][PATCH 
V2]  bsp/intel-x86: enable PCIe Advanced Error Reporting driver
on 08/05/2024 yongxin@windriver.com wrote:

> From: Yongxin Liu 
> 
> Signed-off-by: Yongxin Liu 
> ---
>  bsp/intel-x86/intel-x86.cfg | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/bsp/intel-x86/intel-x86.cfg b/bsp/intel-x86/intel-x86.cfg
> index 8266bf8f..87e50c06 100644
> --- a/bsp/intel-x86/intel-x86.cfg
> +++ b/bsp/intel-x86/intel-x86.cfg
> @@ -95,6 +95,7 @@ CONFIG_HOTPLUG_PCI=y
>  CONFIG_HOTPLUG_PCI_ACPI=y
>  
>  CONFIG_PCIEPORTBUS=y
> +CONFIG_PCIEAER=y
>  CONFIG_PCIEASPM=y
>  CONFIG_PCIEASPM_DEFAULT=y
>  
> -- 
> 2.43.2
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13908): 
https://lists.yoctoproject.org/g/linux-yocto/message/13908
Mute This Topic: https://lists.yoctoproject.org/mt/105971882/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/yocto-6.6/master][PATCH] bsp/intel-x86: enable PCIe Advanced Error Reporting driver

2024-05-07 Thread Kevin Hao
On Tue, May 07, 2024 at 03:45:05PM -0400, Bruce Ashfield via 
lists.yoctoproject.org wrote:
> Make sure you are following the configuration advice here:
> 
> https://docs.yoctoproject.org/contributor-guide/submit-changes.html#fixing-your-from-identity
> 
> And if the issue persists, we'll have to get into some of the discussion here:
> 
>  https://lore.kernel.org/yocto-docs/20240502191839a351b43b@mail.local/T/#t

By the way, Bruce, do you think we could also add linux-yocto to 
lore.kernel.org?
That way, we can conveniently use b4 for sending, applying and reviewing 
patches or
handling pull request?

Thanks,
Kevin


signature.asc
Description: PGP signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13907): 
https://lists.yoctoproject.org/g/linux-yocto/message/13907
Mute This Topic: https://lists.yoctoproject.org/mt/105931613/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/yocto-6.6/master][PATCH] bsp/intel-x86: enable PCIe Advanced Error Reporting driver

2024-05-07 Thread Yongxin Liu via lists.yoctoproject.org
> -Original Message-
> From: Bruce Ashfield 
> Sent: Wednesday, May 8, 2024 3:45
> To: bruce.ashfi...@gmail.com
> Cc: Liu, Yongxin ; Hao, Kexin
> ; linux-yocto@lists.yoctoproject.org
> Subject: Re: [linux-yocto][yocto-kernel-cache][yocto-6.1/yocto-
> 6.6/master][PATCH] bsp/intel-x86: enable PCIe Advanced Error Reporting
> driver
> 
> 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.
> 
> Make sure you are following the configuration advice here:
> 
> https://docs.yoctoproject.org/contributor-guide/submit-
> changes.html#fixing-your-from-identity
> 
> And if the issue persists, we'll have to get into some of the discussion
> here:
> 
>  https://lore.kernel.org/yocto-docs/20240502191839a351b43b@mail.local/T/#t
> 
> I'll drop this while I wait for a v2

I have sent a V2 after applying "git config --global sendemail.from 
"yongxin@windriver.com"".
But a new line "From: Yongxin Liu " appears in email 
body.
I don't know whether it matters or not. Please have a try on the V2.

Thanks,
Yongxin


> 
> Bruce
> 
> On Tue, May 7, 2024 at 3:28 PM Bruce Ashfield via lists.yoctoproject.org
>  wrote:
> >
> > I spoke too soon, the mailing list mangled the author field.
> >
> > remote: ##
> > remote: Invalid author Yongxin Liu via lists.yoctoproject.org
> > remote: ##
> >
> > I'm looking for the latest advice on fixing your client so that the
> > list software doesn't do the mangling.
> >
> > So for now, I've dropped the patch.
> >
> > Bruce
> >
> >
> > On Tue, May 7, 2024 at 3:25 PM Bruce Ashfield via
> > lists.yoctoproject.org
> >  wrote:
> > >
> > > merged.
> > >
> > > Bruce
> > >
> > > In message:
> > > [linux-yocto][yocto-kernel-cache][yocto-6.1/yocto-6.6/master][PATCH]
> bsp/intel-x86: enable PCIe Advanced Error Reporting driver on 06/05/2024
> Yongxin Liu via lists.yoctoproject.org wrote:
> > >
> > > > Signed-off-by: Yongxin Liu 
> > > > ---
> > > >  bsp/intel-x86/intel-x86.cfg | 1 +
> > > >  1 file changed, 1 insertion(+)
> > > >
> > > > diff --git a/bsp/intel-x86/intel-x86.cfg
> > > > b/bsp/intel-x86/intel-x86.cfg index 8266bf8f..87e50c06 100644
> > > > --- a/bsp/intel-x86/intel-x86.cfg
> > > > +++ b/bsp/intel-x86/intel-x86.cfg
> > > > @@ -95,6 +95,7 @@ CONFIG_HOTPLUG_PCI=y  CONFIG_HOTPLUG_PCI_ACPI=y
> > > >
> > > >  CONFIG_PCIEPORTBUS=y
> > > > +CONFIG_PCIEAER=y
> > > >  CONFIG_PCIEASPM=y
> > > >  CONFIG_PCIEASPM_DEFAULT=y
> > > >
> > > > --
> > > > 2.43.2
> > > >
> > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> >
> > --
> > - Thou shalt not follow the NULL pointer, for chaos and madness await
> > thee at its end
> > - "Use the force Harry" - Gandalf, Star Trek II
> >
> > 
> >
> 
> 
> --
> - Thou shalt not follow the NULL pointer, for chaos and madness await thee
> at its end
> - "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13906): 
https://lists.yoctoproject.org/g/linux-yocto/message/13906
Mute This Topic: https://lists.yoctoproject.org/mt/105931613/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][yocto-6.1/yocto-6.6/master][PATCH V2] bsp/intel-x86: enable PCIe Advanced Error Reporting driver

2024-05-07 Thread Yongxin Liu via lists.yoctoproject.org
From: Yongxin Liu 

Signed-off-by: Yongxin Liu 
---
 bsp/intel-x86/intel-x86.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bsp/intel-x86/intel-x86.cfg b/bsp/intel-x86/intel-x86.cfg
index 8266bf8f..87e50c06 100644
--- a/bsp/intel-x86/intel-x86.cfg
+++ b/bsp/intel-x86/intel-x86.cfg
@@ -95,6 +95,7 @@ CONFIG_HOTPLUG_PCI=y
 CONFIG_HOTPLUG_PCI_ACPI=y
 
 CONFIG_PCIEPORTBUS=y
+CONFIG_PCIEAER=y
 CONFIG_PCIEASPM=y
 CONFIG_PCIEASPM_DEFAULT=y
 
-- 
2.43.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13905): 
https://lists.yoctoproject.org/g/linux-yocto/message/13905
Mute This Topic: https://lists.yoctoproject.org/mt/105971882/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/nxp-sdk-6.1/nxp-soc & v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc][PATCH] soc: imx9: free buf in imx9_soc_device_register()

2024-05-07 Thread Bruce Ashfield
merged.

Bruce

In message: [linux-yocto][linux-yocto v6.1/standard/nxp-sdk-6.1/nxp-soc & 
v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc][PATCH] soc: imx9: free buf in 
imx9_soc_device_register()
on 07/05/2024 Xiaolei Wang wrote:

> Free unused buffer to avoid memory leak in imx9_soc_device_register().
> 
> unreferenced object 0xff8009215180 (size 128):
>comm "(udev-worker)", pid 309, jiffies 4294901878 (age 65.740s)
>hex dump (first 32 bytes):
>  6c d3 c9 a7 8d 1c 40 bb b4 b8 63 8a 4b 1d 3d cc l.@...c.K.=.
>  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>backtrace:
>  [] __kmem_cache_alloc_node+0x240/0x330
>  [] __kmalloc+0x68/0x10c
>  [<66f93058>] nvmem_cell_read+0x40/0xe0
>  [<4e1a073b>] imx9_init_soc_probe+0x184/0x2fc [soc_imx9]
>  [] platform_probe+0x70/0xcc
>  [] really_probe+0xc4/0x2e0
>  [<043f6f98>] __driver_probe_device+0x80/0x120
>  [<7de67432>] driver_probe_device+0x48/0x124
>  [<85d153a6>] __driver_attach+0xa4/0x1bc
>  [<319009c3>] bus_for_each_dev+0x80/0xe0
>  [<6c7d6c30>] driver_attach+0x2c/0x3c
>  [] bus_add_driver+0x15c/0x210
>  [] driver_register+0x80/0x13c
>  [] __platform_driver_register+0x30/0x40
>  [<095e0d10>] 0xffc0012d8028
>  [<7dc559b3>] do_one_initcall+0xb0/0x33c
> 
> Signed-off-by: Xiaolei Wang 
> ---
>  drivers/soc/imx/soc-imx9.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/soc/imx/soc-imx9.c b/drivers/soc/imx/soc-imx9.c
> index 517e45923a1f..4d0cf15ad8bc 100644
> --- a/drivers/soc/imx/soc-imx9.c
> +++ b/drivers/soc/imx/soc-imx9.c
> @@ -76,6 +76,7 @@ static int imx9_soc_device_register(struct device *dev)
>   nvmem_cell_put(cell);
>  
>   memcpy(v, buf, min(len, sizeof(v)));
> + kfree(buf);
>   attr->serial_number = kasprintf(GFP_KERNEL, "%08x%08x%08x%08x", v[0], 
> v[1], v[2], v[3]);
>  
>   if (DIGPROG_MAJOR_UPPER(device_id) == 0x9 && 
> DIGPROG_MAJOR_LOWER(device_id) == 0x2) {
> -- 
> 2.25.1
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13904): 
https://lists.yoctoproject.org/g/linux-yocto/message/13904
Mute This Topic: https://lists.yoctoproject.org/mt/105956992/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-6.1][v6.1/standard/intel-sdk-6.1/intel-socfpga && v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga][PATCH 1/1] usb: dwc2: Add support to get usb speed from dtb

2024-05-07 Thread Bruce Ashfield
merged.

Bruce

In message: 
[linux-yocto][linux-yocto-6.1][v6.1/standard/intel-sdk-6.1/intel-socfpga && 
v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga][PATCH 1/1] usb: dwc2: Add 
support to get usb speed from dtb
on 07/05/2024 Liwei Song wrote:

> This change will get "maximum-speed" from dtb if exist and set USB speed
> accordingly for Agilex and Stratix10 platform.
> 
> Signed-off-by: Liwei Song 
> ---
>  drivers/usb/dwc2/params.c | 4 
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c
> index 8eab5f38b110..37e367154713 100644
> --- a/drivers/usb/dwc2/params.c
> +++ b/drivers/usb/dwc2/params.c
> @@ -96,9 +96,13 @@ static void dwc2_set_s3c6400_params(struct dwc2_hsotg 
> *hsotg)
>  static void dwc2_set_socfpga_agilex_params(struct dwc2_hsotg *hsotg)
>  {
>   struct dwc2_core_params *p = >params;
> + u32 max_speed;
>  
>   p->power_down = DWC2_POWER_DOWN_PARAM_NONE;
>   p->no_clock_gating = true;
> + max_speed = usb_get_maximum_speed(hsotg->dev);
> + if (max_speed)
> + p->speed = max_speed;
>  }
>  
>  static void dwc2_set_rk_params(struct dwc2_hsotg *hsotg)
> -- 
> 2.40.0
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13903): 
https://lists.yoctoproject.org/g/linux-yocto/message/13903
Mute This Topic: https://lists.yoctoproject.org/mt/105956886/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][v6.6/standard/x86 and v6.6/standard/preempt-rt/x86][Pull Request ] cstate, uncore, i10nm_edac and igen6_edac update for some x86 platforms

2024-05-07 Thread Bruce Ashfield
In message: [linux-yocto][v6.6/standard/x86 and 
v6.6/standard/preempt-rt/x86][Pull Request ] cstate, uncore, i10nm_edac  and 
igen6_edac update for some x86 platforms
on 06/05/2024 Liu, Yongxin wrote:

> Hi Bruce,
> 
> Please help to review and merge this Pull Request for linux-yocto, branch 
> "v6.6/standard/x86" and "v6.6/standard/preempt-rt/x86".
> 
> All patches are from mainline kernel.
> 
> This patch series basically did the following changes.
> 
> 1) Intel cstate performance events: add support for Grand Ridge and 
> Sierra Forest
> 2) Intel uncore performance events: add support for Sierra Forest, Grand 
> Ridge and Granite Rapids
> 3) EDAC/i10nm: add support for Intel Grand Ridge
> 4) EDAC/igen6: add support for Intel Alder Lake N

merged.

Bruce

> 
> 
> The following changes since commit 6655dc03f5de7bb734da3ec8eb97f9be281dfbdb:
> 
>   Merge tag 'v6.6.29' into v6.6/standard/base (2024-05-01 16:42:09 -0400)
> 
> are available in the Git repository at:
> 
>   https://github.com/liux2085/linux-yocto.git v6.6_x86_pull
> 
> for you to fetch changes up to 9a03c31e128c6be5e0427e54198f76f9b904fe4a:
> 
>   EDAC/i10nm: Add Intel Grand Ridge micro-server support (2024-05-06 20:14:41 
> +0800)
> 
> 
> Kan Liang (8):
>   perf/x86/intel/cstate: Cleanup duplicate attr_groups
>   perf/x86/intel/cstate: Add Sierra Forest support
>   perf/x86/intel/cstate: Add Grand Ridge support
>   perf/x86/intel/uncore: Generic uncore_get_uncores and MMIO format of SPR
>   perf/x86/uncore: Use u64 to replace unsigned for the uncore offsets 
> array
>   perf/x86/intel/uncore: Support Granite Rapids
>   perf/x86/intel/uncore: Support IIO free-running counters on GNR
>   perf/x86/intel/uncore: Support Sierra Forest and Grand Ridge
> 
> Qiuxu Zhuo (3):
>   EDAC/igen6: Make get_mchbar() helper function
>   EDAC/igen6: Add Intel Alder Lake-N SoCs support
>   EDAC/i10nm: Add Intel Grand Ridge micro-server support
> 
>  arch/x86/events/intel/cstate.c   | 158 
> +-
>  arch/x86/events/intel/uncore.c   |  12 
>  arch/x86/events/intel/uncore.h   |  10 +++---
>  arch/x86/events/intel/uncore_discovery.c |   5 +++--
>  arch/x86/events/intel/uncore_discovery.h |   2 +-
>  arch/x86/events/intel/uncore_nhmex.c |   2 +-
>  arch/x86/events/intel/uncore_snbep.c | 137 
> +++--
>  drivers/edac/i10nm_base.c|   1 +
>  drivers/edac/igen6_edac.c|  81 
> ++---
>  9 files changed, 339 insertions(+), 69 deletions(-)
> 
> 
> Thanks,
> Yongxin

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13902): 
https://lists.yoctoproject.org/g/linux-yocto/message/13902
Mute This Topic: https://lists.yoctoproject.org/mt/105938064/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.6][PATCH] nxp-imx8: add scc and cfg files for NXP IMX8 series platform

2024-05-07 Thread Bruce Ashfield
merged.

Bruce

In message: [linux-yocto][yocto-kernel-cache][yocto-6.6][PATCH] nxp-imx8: add 
scc and cfg files for NXP IMX8 series platform
on 07/05/2024 Xulin Sun wrote:

> Signed-off-by: Xulin Sun 
> ---
>  bsp/nxp-imx8/nxp-imx8-preempt-rt.cfg |  15 +
>  bsp/nxp-imx8/nxp-imx8-preempt-rt.scc |   9 +
>  bsp/nxp-imx8/nxp-imx8-standard.scc   |   7 +
>  bsp/nxp-imx8/nxp-imx8.cfg| 623 +++
>  bsp/nxp-imx8/nxp-imx8.scc|  11 +
>  5 files changed, 665 insertions(+)
>  create mode 100644 bsp/nxp-imx8/nxp-imx8-preempt-rt.cfg
>  create mode 100644 bsp/nxp-imx8/nxp-imx8-preempt-rt.scc
>  create mode 100644 bsp/nxp-imx8/nxp-imx8-standard.scc
>  create mode 100644 bsp/nxp-imx8/nxp-imx8.cfg
>  create mode 100644 bsp/nxp-imx8/nxp-imx8.scc
> 
> diff --git a/bsp/nxp-imx8/nxp-imx8-preempt-rt.cfg 
> b/bsp/nxp-imx8/nxp-imx8-preempt-rt.cfg
> new file mode 100644
> index ..780e974a
> --- /dev/null
> +++ b/bsp/nxp-imx8/nxp-imx8-preempt-rt.cfg
> @@ -0,0 +1,15 @@
> +..
> +.WARNING
> +.
> +. This file is a kernel configuration fragment, and not a full kernel
> +. configuration file.  The final kernel configuration is made up of
> +. an assembly of processed fragments, each of which is designed to
> +. capture a specific part of the final configuration (e.g. platform
> +. configuration, feature configuration, and board specific hardware
> +. configuration).  For more information on kernel configuration, please
> +. consult the product documentation.
> +.
> +..
> +
> +# CONFIG_TRANSPARENT_HUGEPAGE is not set
> +# CONFIG_LEDS_TRIGGER_CPU is not set
> diff --git a/bsp/nxp-imx8/nxp-imx8-preempt-rt.scc 
> b/bsp/nxp-imx8/nxp-imx8-preempt-rt.scc
> new file mode 100644
> index ..d900d656
> --- /dev/null
> +++ b/bsp/nxp-imx8/nxp-imx8-preempt-rt.scc
> @@ -0,0 +1,9 @@
> +define KMACHINE nxp-imx8
> +define KTYPE preempt-rt
> +define KARCH arm64
> +
> +include ktypes/preempt-rt
> +
> +include nxp-imx8.scc
> +
> +kconf hardware nxp-imx8-preempt-rt.cfg
> diff --git a/bsp/nxp-imx8/nxp-imx8-standard.scc 
> b/bsp/nxp-imx8/nxp-imx8-standard.scc
> new file mode 100644
> index ..d94f2dfd
> --- /dev/null
> +++ b/bsp/nxp-imx8/nxp-imx8-standard.scc
> @@ -0,0 +1,7 @@
> +define KMACHINE nxp-imx8
> +define KTYPE standard
> +define KARCH arm64
> +
> +include ktypes/standard
> +
> +include nxp-imx8.scc
> diff --git a/bsp/nxp-imx8/nxp-imx8.cfg b/bsp/nxp-imx8/nxp-imx8.cfg
> new file mode 100644
> index ..642c1489
> --- /dev/null
> +++ b/bsp/nxp-imx8/nxp-imx8.cfg
> @@ -0,0 +1,623 @@
> +CONFIG_ARM64=y
> +CONFIG_SMP=y
> +CONFIG_ARCH_NXP=y
> +CONFIG_ARCH_LAYERSCAPE=y
> +CONFIG_ARCH_MXC=y
> +CONFIG_HAVE_IMX_BUSFREQ=y
> +
> +CONFIG_PM=y
> +CONFIG_CPU_PM=y
> +
> +#
> +# CPU Idle
> +#
> +CONFIG_CPU_IDLE=y
> +CONFIG_ARM_PSCI_CPUIDLE=y
> +CONFIG_ARM_PSCI_CPUIDLE_DOMAIN=y
> +
> +#
> +# CPU Frequency scaling
> +#
> +CONFIG_CPU_FREQ=y
> +CONFIG_CPU_FREQ_GOV_ATTR_SET=y
> +CONFIG_CPU_FREQ_GOV_COMMON=y
> +CONFIG_CPU_FREQ_STAT=y
> +CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
> +CONFIG_CPU_FREQ_GOV_POWERSAVE=y
> +CONFIG_CPU_FREQ_GOV_USERSPACE=y
> +CONFIG_CPU_FREQ_GOV_ONDEMAND=y
> +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
> +CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
> +
> +#
> +# CPU frequency scaling drivers
> +#
> +CONFIG_CPUFREQ_DT=y
> +CONFIG_ARM_IMX_CPUFREQ_DT=y
> +
> +#
> +# CAN
> +#
> +CONFIG_CAN=m
> +CONFIG_CAN_FLEXCAN=m
> +
> +CONFIG_PCI=y
> +CONFIG_PCI_MSI=y
> +CONFIG_PCI_IMX6=y
> +CONFIG_PCI_IMX6_HOST=y
> +CONFIG_PHY_FSL_IMX8Q_PCIE=y
> +
> +CONFIG_IMX_DSP=y
> +CONFIG_IMX_SCU=y
> +CONFIG_IMX_SCU_PD=y
> +CONFIG_IMX_SECO_MU=y
> +CONFIG_IMX_ELE_TRNG=y
> +
> +#
> +## MTD
> +#
> +CONFIG_MTD=y
> +CONFIG_MTD_CMDLINE_PARTS=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_CFI_STAA=y
> +CONFIG_MTD_PHYSMAP=y
> +CONFIG_MTD_PHYSMAP_OF=y
> +CONFIG_MTD_DATAFLASH=y
> +CONFIG_MTD_RAW_NAND=y
> +CONFIG_MTD_NAND_DENALI_DT=y
> +CONFIG_MTD_SPI_NOR=y
> +CONFIG_MTD_SST25L=y
> +
> +#
> +## Regulator Driver
> +#
> +CONFIG_PWM=y
> +CONFIG_REGULATOR=y
> +CONFIG_REGULATOR_FIXED_VOLTAGE=y
> +CONFIG_REGULATOR_FAN53555=y
> +CONFIG_REGULATOR_GPIO=y
> +CONFIG_REGULATOR_MAX8973=y
> +CONFIG_REGULATOR_PCA9450=y
> +CONFIG_REGULATOR_PFUZE100=y
> +CONFIG_REGULATOR_PWM=y
> +
> +#
> +# MMC Driver
> +#
> +CONFIG_MMC=y
> +CONFIG_MMC_SDHCI=y
> +CONFIG_MMC_SDHCI_PLTFM=y
> +CONFIG_MMC_SDHCI_ESDHC_IMX=y
> +
> +#
> +# Controllers with non-SFF native interface
> +#
> +CONFIG_ATA=y
> +CONFIG_MFD_SYSCON=y
> +CONFIG_AHCI_IMX=y
> +CONFIG_SATA_AHCI=y
> +CONFIG_SATA_AHCI_PLATFORM=y
> +CONFIG_LEDS_TRIGGERS=y
> +
> +#
> +# Networking
> +#
> +CONFIG_FEC=y
> +CONFIG_AT803X_PHY=y
> +CONFIG_REALTEK_PHY=y
> +CONFIG_STMMAC_ETH=y
> +
> +#
> +# Input device support
> +#
> +CONFIG_INPUT=y
> +CONFIG_INPUT_KEYBOARD=y

Re: [linux-yocto] [linux-yocto std/rt kernel v6.1]: nxp-s32g: gpio: fix pinctrl_gpio_get_mux_owner

2024-05-07 Thread Bruce Ashfield
In message: [linux-yocto] [linux-yocto std/rt kernel v6.1]: nxp-s32g: gpio: fix 
pinctrl_gpio_get_mux_owner
on 07/05/2024 Zhantao Tang wrote:

> Hi Bruce,
> 
> There is a patch to fix pinctrl_gpio_get_mux_owner issue.
> Would you please help to merge it into
>   v6.1/standard/nxp-sdk-5.15/nxp-s32g,
>   v6.1/standard/preempt-rt/nxp-sdk-5.15/nxp-s32g
> branches?

merged.

Bruce

> 
> 
> Thanks,
> Zhantao
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13900): 
https://lists.yoctoproject.org/g/linux-yocto/message/13900
Mute This Topic: https://lists.yoctoproject.org/mt/105953225/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/yocto-6.6/master][PATCH] bsp/intel-x86: enable PCIe Advanced Error Reporting driver

2024-05-07 Thread Bruce Ashfield
Make sure you are following the configuration advice here:

https://docs.yoctoproject.org/contributor-guide/submit-changes.html#fixing-your-from-identity

And if the issue persists, we'll have to get into some of the discussion here:

 https://lore.kernel.org/yocto-docs/20240502191839a351b43b@mail.local/T/#t

I'll drop this while I wait for a v2

Bruce

On Tue, May 7, 2024 at 3:28 PM Bruce Ashfield via
lists.yoctoproject.org
 wrote:
>
> I spoke too soon, the mailing list mangled the author field.
>
> remote: ##
> remote: Invalid author Yongxin Liu via lists.yoctoproject.org
> remote: ##
>
> I'm looking for the latest advice on fixing your client so that the
> list software doesn't do the mangling.
>
> So for now, I've dropped the patch.
>
> Bruce
>
>
> On Tue, May 7, 2024 at 3:25 PM Bruce Ashfield via
> lists.yoctoproject.org
>  wrote:
> >
> > merged.
> >
> > Bruce
> >
> > In message: 
> > [linux-yocto][yocto-kernel-cache][yocto-6.1/yocto-6.6/master][PATCH] 
> > bsp/intel-x86: enable PCIe Advanced Error Reporting driver
> > on 06/05/2024 Yongxin Liu via lists.yoctoproject.org wrote:
> >
> > > Signed-off-by: Yongxin Liu 
> > > ---
> > >  bsp/intel-x86/intel-x86.cfg | 1 +
> > >  1 file changed, 1 insertion(+)
> > >
> > > diff --git a/bsp/intel-x86/intel-x86.cfg b/bsp/intel-x86/intel-x86.cfg
> > > index 8266bf8f..87e50c06 100644
> > > --- a/bsp/intel-x86/intel-x86.cfg
> > > +++ b/bsp/intel-x86/intel-x86.cfg
> > > @@ -95,6 +95,7 @@ CONFIG_HOTPLUG_PCI=y
> > >  CONFIG_HOTPLUG_PCI_ACPI=y
> > >
> > >  CONFIG_PCIEPORTBUS=y
> > > +CONFIG_PCIEAER=y
> > >  CONFIG_PCIEASPM=y
> > >  CONFIG_PCIEASPM_DEFAULT=y
> > >
> > > --
> > > 2.43.2
> > >
> >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
> --
> - Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end
> - "Use the force Harry" - Gandalf, Star Trek II
>
> 
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13899): 
https://lists.yoctoproject.org/g/linux-yocto/message/13899
Mute This Topic: https://lists.yoctoproject.org/mt/105931613/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/yocto-6.6/master][PATCH] bsp/intel-x86: enable PCIe Advanced Error Reporting driver

2024-05-07 Thread Bruce Ashfield
I spoke too soon, the mailing list mangled the author field.

remote: ##
remote: Invalid author Yongxin Liu via lists.yoctoproject.org
remote: ##

I'm looking for the latest advice on fixing your client so that the
list software doesn't do the mangling.

So for now, I've dropped the patch.

Bruce


On Tue, May 7, 2024 at 3:25 PM Bruce Ashfield via
lists.yoctoproject.org
 wrote:
>
> merged.
>
> Bruce
>
> In message: 
> [linux-yocto][yocto-kernel-cache][yocto-6.1/yocto-6.6/master][PATCH] 
> bsp/intel-x86: enable PCIe Advanced Error Reporting driver
> on 06/05/2024 Yongxin Liu via lists.yoctoproject.org wrote:
>
> > Signed-off-by: Yongxin Liu 
> > ---
> >  bsp/intel-x86/intel-x86.cfg | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/bsp/intel-x86/intel-x86.cfg b/bsp/intel-x86/intel-x86.cfg
> > index 8266bf8f..87e50c06 100644
> > --- a/bsp/intel-x86/intel-x86.cfg
> > +++ b/bsp/intel-x86/intel-x86.cfg
> > @@ -95,6 +95,7 @@ CONFIG_HOTPLUG_PCI=y
> >  CONFIG_HOTPLUG_PCI_ACPI=y
> >
> >  CONFIG_PCIEPORTBUS=y
> > +CONFIG_PCIEAER=y
> >  CONFIG_PCIEASPM=y
> >  CONFIG_PCIEASPM_DEFAULT=y
> >
> > --
> > 2.43.2
> >
>
> >
> >
> >
>
>
> 
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13898): 
https://lists.yoctoproject.org/g/linux-yocto/message/13898
Mute This Topic: https://lists.yoctoproject.org/mt/105931613/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/yocto-6.6/master][PATCH] bsp/intel-x86: enable PCIe Advanced Error Reporting driver

2024-05-07 Thread Bruce Ashfield
merged.

Bruce

In message: 
[linux-yocto][yocto-kernel-cache][yocto-6.1/yocto-6.6/master][PATCH] 
bsp/intel-x86: enable PCIe Advanced Error Reporting driver
on 06/05/2024 Yongxin Liu via lists.yoctoproject.org wrote:

> Signed-off-by: Yongxin Liu 
> ---
>  bsp/intel-x86/intel-x86.cfg | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/bsp/intel-x86/intel-x86.cfg b/bsp/intel-x86/intel-x86.cfg
> index 8266bf8f..87e50c06 100644
> --- a/bsp/intel-x86/intel-x86.cfg
> +++ b/bsp/intel-x86/intel-x86.cfg
> @@ -95,6 +95,7 @@ CONFIG_HOTPLUG_PCI=y
>  CONFIG_HOTPLUG_PCI_ACPI=y
>  
>  CONFIG_PCIEPORTBUS=y
> +CONFIG_PCIEAER=y
>  CONFIG_PCIEASPM=y
>  CONFIG_PCIEASPM_DEFAULT=y
>  
> -- 
> 2.43.2
> 

> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13897): 
https://lists.yoctoproject.org/g/linux-yocto/message/13897
Mute This Topic: https://lists.yoctoproject.org/mt/105931613/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.1/standard/nxp-sdk-6.1/nxp-soc & v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc][PATCH] soc: imx9: free buf in imx9_soc_device_register()

2024-05-07 Thread Xiaolei Wang via lists.yoctoproject.org
Free unused buffer to avoid memory leak in imx9_soc_device_register().

unreferenced object 0xff8009215180 (size 128):
   comm "(udev-worker)", pid 309, jiffies 4294901878 (age 65.740s)
   hex dump (first 32 bytes):
 6c d3 c9 a7 8d 1c 40 bb b4 b8 63 8a 4b 1d 3d cc l.@...c.K.=.
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
   backtrace:
 [] __kmem_cache_alloc_node+0x240/0x330
 [] __kmalloc+0x68/0x10c
 [<66f93058>] nvmem_cell_read+0x40/0xe0
 [<4e1a073b>] imx9_init_soc_probe+0x184/0x2fc [soc_imx9]
 [] platform_probe+0x70/0xcc
 [] really_probe+0xc4/0x2e0
 [<043f6f98>] __driver_probe_device+0x80/0x120
 [<7de67432>] driver_probe_device+0x48/0x124
 [<85d153a6>] __driver_attach+0xa4/0x1bc
 [<319009c3>] bus_for_each_dev+0x80/0xe0
 [<6c7d6c30>] driver_attach+0x2c/0x3c
 [] bus_add_driver+0x15c/0x210
 [] driver_register+0x80/0x13c
 [] __platform_driver_register+0x30/0x40
 [<095e0d10>] 0xffc0012d8028
 [<7dc559b3>] do_one_initcall+0xb0/0x33c

Signed-off-by: Xiaolei Wang 
---
 drivers/soc/imx/soc-imx9.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/imx/soc-imx9.c b/drivers/soc/imx/soc-imx9.c
index 517e45923a1f..4d0cf15ad8bc 100644
--- a/drivers/soc/imx/soc-imx9.c
+++ b/drivers/soc/imx/soc-imx9.c
@@ -76,6 +76,7 @@ static int imx9_soc_device_register(struct device *dev)
nvmem_cell_put(cell);
 
memcpy(v, buf, min(len, sizeof(v)));
+   kfree(buf);
attr->serial_number = kasprintf(GFP_KERNEL, "%08x%08x%08x%08x", v[0], 
v[1], v[2], v[3]);
 
if (DIGPROG_MAJOR_UPPER(device_id) == 0x9 && 
DIGPROG_MAJOR_LOWER(device_id) == 0x2) {
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13896): 
https://lists.yoctoproject.org/g/linux-yocto/message/13896
Mute This Topic: https://lists.yoctoproject.org/mt/105956992/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-6.1][v6.1/standard/intel-sdk-6.1/intel-socfpga && v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga][PATCH 1/1] usb: dwc2: Add support to get usb speed from dtb

2024-05-07 Thread LiweiSong via lists.yoctoproject.org
This change will get "maximum-speed" from dtb if exist and set USB speed
accordingly for Agilex and Stratix10 platform.

Signed-off-by: Liwei Song 
---
 drivers/usb/dwc2/params.c | 4 
 1 file changed, 4 insertions(+)

diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c
index 8eab5f38b110..37e367154713 100644
--- a/drivers/usb/dwc2/params.c
+++ b/drivers/usb/dwc2/params.c
@@ -96,9 +96,13 @@ static void dwc2_set_s3c6400_params(struct dwc2_hsotg *hsotg)
 static void dwc2_set_socfpga_agilex_params(struct dwc2_hsotg *hsotg)
 {
struct dwc2_core_params *p = >params;
+   u32 max_speed;
 
p->power_down = DWC2_POWER_DOWN_PARAM_NONE;
p->no_clock_gating = true;
+   max_speed = usb_get_maximum_speed(hsotg->dev);
+   if (max_speed)
+   p->speed = max_speed;
 }
 
 static void dwc2_set_rk_params(struct dwc2_hsotg *hsotg)
-- 
2.40.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13895): 
https://lists.yoctoproject.org/g/linux-yocto/message/13895
Mute This Topic: https://lists.yoctoproject.org/mt/105956886/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][yocto-6.6][PATCH] nxp-imx8: add scc and cfg files for NXP IMX8 series platform

2024-05-07 Thread Xulin Sun via lists.yoctoproject.org
Signed-off-by: Xulin Sun 
---
 bsp/nxp-imx8/nxp-imx8-preempt-rt.cfg |  15 +
 bsp/nxp-imx8/nxp-imx8-preempt-rt.scc |   9 +
 bsp/nxp-imx8/nxp-imx8-standard.scc   |   7 +
 bsp/nxp-imx8/nxp-imx8.cfg| 623 +++
 bsp/nxp-imx8/nxp-imx8.scc|  11 +
 5 files changed, 665 insertions(+)
 create mode 100644 bsp/nxp-imx8/nxp-imx8-preempt-rt.cfg
 create mode 100644 bsp/nxp-imx8/nxp-imx8-preempt-rt.scc
 create mode 100644 bsp/nxp-imx8/nxp-imx8-standard.scc
 create mode 100644 bsp/nxp-imx8/nxp-imx8.cfg
 create mode 100644 bsp/nxp-imx8/nxp-imx8.scc

diff --git a/bsp/nxp-imx8/nxp-imx8-preempt-rt.cfg 
b/bsp/nxp-imx8/nxp-imx8-preempt-rt.cfg
new file mode 100644
index ..780e974a
--- /dev/null
+++ b/bsp/nxp-imx8/nxp-imx8-preempt-rt.cfg
@@ -0,0 +1,15 @@
+..
+.WARNING
+.
+. This file is a kernel configuration fragment, and not a full kernel
+. configuration file.  The final kernel configuration is made up of
+. an assembly of processed fragments, each of which is designed to
+. capture a specific part of the final configuration (e.g. platform
+. configuration, feature configuration, and board specific hardware
+. configuration).  For more information on kernel configuration, please
+. consult the product documentation.
+.
+..
+
+# CONFIG_TRANSPARENT_HUGEPAGE is not set
+# CONFIG_LEDS_TRIGGER_CPU is not set
diff --git a/bsp/nxp-imx8/nxp-imx8-preempt-rt.scc 
b/bsp/nxp-imx8/nxp-imx8-preempt-rt.scc
new file mode 100644
index ..d900d656
--- /dev/null
+++ b/bsp/nxp-imx8/nxp-imx8-preempt-rt.scc
@@ -0,0 +1,9 @@
+define KMACHINE nxp-imx8
+define KTYPE preempt-rt
+define KARCH arm64
+
+include ktypes/preempt-rt
+
+include nxp-imx8.scc
+
+kconf hardware nxp-imx8-preempt-rt.cfg
diff --git a/bsp/nxp-imx8/nxp-imx8-standard.scc 
b/bsp/nxp-imx8/nxp-imx8-standard.scc
new file mode 100644
index ..d94f2dfd
--- /dev/null
+++ b/bsp/nxp-imx8/nxp-imx8-standard.scc
@@ -0,0 +1,7 @@
+define KMACHINE nxp-imx8
+define KTYPE standard
+define KARCH arm64
+
+include ktypes/standard
+
+include nxp-imx8.scc
diff --git a/bsp/nxp-imx8/nxp-imx8.cfg b/bsp/nxp-imx8/nxp-imx8.cfg
new file mode 100644
index ..642c1489
--- /dev/null
+++ b/bsp/nxp-imx8/nxp-imx8.cfg
@@ -0,0 +1,623 @@
+CONFIG_ARM64=y
+CONFIG_SMP=y
+CONFIG_ARCH_NXP=y
+CONFIG_ARCH_LAYERSCAPE=y
+CONFIG_ARCH_MXC=y
+CONFIG_HAVE_IMX_BUSFREQ=y
+
+CONFIG_PM=y
+CONFIG_CPU_PM=y
+
+#
+# CPU Idle
+#
+CONFIG_CPU_IDLE=y
+CONFIG_ARM_PSCI_CPUIDLE=y
+CONFIG_ARM_PSCI_CPUIDLE_DOMAIN=y
+
+#
+# CPU Frequency scaling
+#
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_GOV_ATTR_SET=y
+CONFIG_CPU_FREQ_GOV_COMMON=y
+CONFIG_CPU_FREQ_STAT=y
+CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
+
+#
+# CPU frequency scaling drivers
+#
+CONFIG_CPUFREQ_DT=y
+CONFIG_ARM_IMX_CPUFREQ_DT=y
+
+#
+# CAN
+#
+CONFIG_CAN=m
+CONFIG_CAN_FLEXCAN=m
+
+CONFIG_PCI=y
+CONFIG_PCI_MSI=y
+CONFIG_PCI_IMX6=y
+CONFIG_PCI_IMX6_HOST=y
+CONFIG_PHY_FSL_IMX8Q_PCIE=y
+
+CONFIG_IMX_DSP=y
+CONFIG_IMX_SCU=y
+CONFIG_IMX_SCU_PD=y
+CONFIG_IMX_SECO_MU=y
+CONFIG_IMX_ELE_TRNG=y
+
+#
+## MTD
+#
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=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_CFI_STAA=y
+CONFIG_MTD_PHYSMAP=y
+CONFIG_MTD_PHYSMAP_OF=y
+CONFIG_MTD_DATAFLASH=y
+CONFIG_MTD_RAW_NAND=y
+CONFIG_MTD_NAND_DENALI_DT=y
+CONFIG_MTD_SPI_NOR=y
+CONFIG_MTD_SST25L=y
+
+#
+## Regulator Driver
+#
+CONFIG_PWM=y
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_REGULATOR_FAN53555=y
+CONFIG_REGULATOR_GPIO=y
+CONFIG_REGULATOR_MAX8973=y
+CONFIG_REGULATOR_PCA9450=y
+CONFIG_REGULATOR_PFUZE100=y
+CONFIG_REGULATOR_PWM=y
+
+#
+# MMC Driver
+#
+CONFIG_MMC=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_PLTFM=y
+CONFIG_MMC_SDHCI_ESDHC_IMX=y
+
+#
+# Controllers with non-SFF native interface
+#
+CONFIG_ATA=y
+CONFIG_MFD_SYSCON=y
+CONFIG_AHCI_IMX=y
+CONFIG_SATA_AHCI=y
+CONFIG_SATA_AHCI_PLATFORM=y
+CONFIG_LEDS_TRIGGERS=y
+
+#
+# Networking
+#
+CONFIG_FEC=y
+CONFIG_AT803X_PHY=y
+CONFIG_REALTEK_PHY=y
+CONFIG_STMMAC_ETH=y
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_KEYBOARD_ADC=m
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_KEYBOARD_SNVS_PWRKEY=y
+CONFIG_KEYBOARD_IMX_SC_KEY=y
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_ATMEL_MXT=m
+CONFIG_TOUCHSCREEN_SYNAPTICS_DSX_I2C=m
+CONFIG_INPUT_MISC=y
+
+#
+# Serial drivers
+#
+
+CONFIG_SERIAL_IMX=y
+CONFIG_SERIAL_IMX_CONSOLE=y
+CONFIG_SERIAL_FSL_LPUART=y
+CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
+CONFIG_SERIAL_FSL_LINFLEXUART=y
+CONFIG_SERIAL_FSL_LINFLEXUART_CONSOLE=y
+
+#
+# SPI
+#
+CONFIG_SPI=y
+CONFIG_SPI_MASTER=y
+CONFIG_SPI_MEM=y