[linux-yocto] [kernel-cache][master][yocto-6.6][PATCH] features/qat/qat.cfg: enable CONFIG_PCIEAER

2024-01-18 Thread Naveen Saini
Error:
4.24.0-5/qat17/quickassist/qat/drivers/crypto/qat/
qat_common/../../../../compat/qat_compat.c:401:19: error:
'struct pci_dev' has no member named 'aer_cap'; did you mean 'ats_cap'?
|   401 | if (!dev->aer_cap)
|   |   ^~~
|   |   ats_cap

https://github.com/torvalds/linux/blob/296455ade1fdcf5f8f8c033201633b60946c589a/include/linux/pci.h#L339

Signed-off-by: Naveen Saini 
---
 features/qat/qat.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/features/qat/qat.cfg b/features/qat/qat.cfg
index 2dc36225..5f138f1f 100644
--- a/features/qat/qat.cfg
+++ b/features/qat/qat.cfg
@@ -10,3 +10,5 @@ CONFIG_CRYPTO_VMAC=m
 CONFIG_CRYPTO_CTS=m
 CONFIG_CRYPTO_RSA=y
 CONFIG_CRYPTO_DH=y
+CONFIG_PCIEAER=y
+CONFIG_RAS=y
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13503): 
https://lists.yoctoproject.org/g/linux-yocto/message/13503
Mute This Topic: https://lists.yoctoproject.org/mt/103824880/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.1/standard/preempt-rt/sdkv6.1/xlnx-soc][PATCH] driver: soc: xilinx: rename cpu_number1 to dummy_cpu_number

2024-01-18 Thread quanyang.wang via lists.yoctoproject.org

ping.

On 1/17/24 10:53, quanyang.wang via lists.yoctoproject.org wrote:

From: Quanyang Wang 

The per cpu variable cpu_number1 is passed to xlnx_event_handler as
argument "dev_id", but is not used in this function. So drop the
initialization of this variable and rename it to dummy_cpu_number.
This patch is to fix the following calltrace when the kernel option
CONFIG_DEBUG_ATOMIC_SLEEP is enabled:

 BUG: sleeping function called from invalid context at 
include/linux/sched/mm.h:274
 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1, name: swapper/0
 preempt_count: 1, expected: 0
 CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.1.0 #53
 Hardware name: Xilinx Versal vmk180 Eval board rev1.1 (QSPI) (DT)
 Call trace:
  dump_backtrace+0xd0/0xe0
  show_stack+0x18/0x40
  dump_stack_lvl+0x7c/0xa0
  dump_stack+0x18/0x34
  __might_resched+0x10c/0x140
  __might_sleep+0x4c/0xa0
  __kmem_cache_alloc_node+0xf4/0x168
  kmalloc_trace+0x28/0x38
  __request_percpu_irq+0x74/0x138
  xlnx_event_manager_probe+0xf8/0x298
  platform_probe+0x68/0xd8

Signed-off-by: Quanyang Wang 
---
Hi Bruce,
Would you please help merge this patch to the branches:
v6.1/standard/preempt-rt/sdkv6.1/xlnx-soc
v6.1/standard/sdkv6.1/xlnx-soc
Thanks,
Quanyang
---
  drivers/soc/xilinx/xlnx_event_manager.c | 14 +++---
  1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/drivers/soc/xilinx/xlnx_event_manager.c 
b/drivers/soc/xilinx/xlnx_event_manager.c
index 9b6fe19666946..9156cb45bd533 100644
--- a/drivers/soc/xilinx/xlnx_event_manager.c
+++ b/drivers/soc/xilinx/xlnx_event_manager.c
@@ -22,7 +22,7 @@
  #include 
  #include 
  
-static DEFINE_PER_CPU_READ_MOSTLY(int, cpu_number1);

+static DEFINE_PER_CPU_READ_MOSTLY(int, dummy_cpu_number);
  
  static int virq_sgi;

  static int event_manager_availability = -EACCES;
@@ -569,7 +569,6 @@ static void xlnx_disable_percpu_irq(void *data)
  static int xlnx_event_init_sgi(struct platform_device *pdev)
  {
int ret = 0;
-   int cpu;
/*
 * IRQ related structures are used for the following:
 * for each SGI interrupt ensure its mapped by GIC IRQ domain
@@ -606,11 +605,8 @@ static int xlnx_event_init_sgi(struct platform_device 
*pdev)
sgi_fwspec.param[0] = sgi_num;
virq_sgi = irq_create_fwspec_mapping(_fwspec);
  
-	cpu = get_cpu();

-   per_cpu(cpu_number1, cpu) = cpu;
ret = request_percpu_irq(virq_sgi, xlnx_event_handler, 
"xlnx_event_mgmt",
-_number1);
-   put_cpu();
+_cpu_number);
  
  	WARN_ON(ret);

if (ret) {
@@ -626,16 +622,12 @@ static int xlnx_event_init_sgi(struct platform_device 
*pdev)
  
  static void xlnx_event_cleanup_sgi(struct platform_device *pdev)

  {
-   int cpu = smp_processor_id();
-
-   per_cpu(cpu_number1, cpu) = cpu;
-
cpuhp_remove_state(CPUHP_AP_ONLINE_DYN);
  
  	on_each_cpu(xlnx_disable_percpu_irq, NULL, 1);
  
  	irq_clear_status_flags(virq_sgi, IRQ_PER_CPU);

-   free_percpu_irq(virq_sgi, _number1);
+   free_percpu_irq(virq_sgi, _cpu_number);
irq_dispose_mapping(virq_sgi);
  }
  





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13502): 
https://lists.yoctoproject.org/g/linux-yocto/message/13502
Mute This Topic: https://lists.yoctoproject.org/mt/103778951/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][PATCH v5.10/standard/base 1/1] gpio: gpio-altera: Add missing of_node_put() in altera_gpio_probe

2024-01-18 Thread Bruce Ashfield
Since this is targeted at all BSPs, we should indicate if the
patch is a backport/cherry-pick or if it has also been submitted
upstream.

Bruce

In message: [linux-yocto][PATCH v5.10/standard/base 1/1] gpio: gpio-altera: Add 
missing of_node_put() in altera_gpio_probe
on 18/01/2024 Haitao Liu wrote:

> Fix following error:
> 
> OF: ERROR: memory leak, expected refcount 1 instead of 2,
> of_node_get()/of_node_put() unbalanced - destroy cset entry: attach
> overlay node /soc/gpio@df020180
> 
> After finishing using device node got from of_mm_gpiochip_add_data(),
> of_node_put() needs to be called. The refcount would be incremented in
> of_mm_gpiochip_add_data.
> 
> Fixes: 5d07a692f9562 (gpio: gpiolib-of: Fix refcount bugs in 
> of_mm_gpiochip_add_data())
> 
> Signed-off-by: Haitao Liu 
> ---
>  drivers/gpio/gpio-altera.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpio/gpio-altera.c b/drivers/gpio/gpio-altera.c
> index b7932ecc3b61..b78b05a18e61 100644
> --- a/drivers/gpio/gpio-altera.c
> +++ b/drivers/gpio/gpio-altera.c
> @@ -308,6 +308,8 @@ static int altera_gpio_probe(struct platform_device *pdev)
>   return ret;
>   }
>  
> + of_node_put(node);
> +
>   platform_set_drvdata(pdev, altera_gc);
>  
>   return 0;
> -- 
> 2.25.1
> 

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



Re: [linux-yocto] [yocto-kernel-cache][yocto-6.1][PATCH] bsp: xilinx-versal: enable USB_CONFIGFS option for USB device mode

2024-01-18 Thread Bruce Ashfield
In message: [yocto-kernel-cache][yocto-6.1][PATCH] bsp: xilinx-versal: enable 
USB_CONFIGFS option for USB device mode
on 18/01/2024 quanyang.w...@windriver.com wrote:

> From: Quanyang Wang 
> 
> These kernel options are enabled to test USB device mode for
> VMK180/VCK190.
> 
> Signed-off-by: Quanyang Wang 
> ---
> Hi Bruce,
> Would you please help merge this patch to the branch:
>   yocto-6.1

merged.

Bruce

> Thanks,
> Quanyang
> ---
>  bsp/xilinx-versal/xilinx-versal.cfg | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/bsp/xilinx-versal/xilinx-versal.cfg 
> b/bsp/xilinx-versal/xilinx-versal.cfg
> index 2b0473ae55..d329fc89fb 100644
> --- a/bsp/xilinx-versal/xilinx-versal.cfg
> +++ b/bsp/xilinx-versal/xilinx-versal.cfg
> @@ -74,6 +74,8 @@ CONFIG_USB_OTG_FSM=m
>  CONFIG_USB_GADGET=y
>  CONFIG_USB_GADGET_XILINX=y
>  CONFIG_USB_ULPI_BUS=y
> +CONFIG_USB_CONFIGFS=y
> +CONFIG_USB_CONFIGFS_MASS_STORAGE=y
>  
>  CONFIG_MMC=y
>  CONFIG_MMC_BLOCK=y
> -- 
> 2.36.1
> 

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



Re: [linux-yocto][v5.15/standard/preempt-rt/sdkv5.15/xlnx-soc][PATCH] driver: soc: xilinx: rename cpu_number1 to dummy_cpu_number

2024-01-18 Thread Bruce Ashfield
In message: [linux-yocto][v5.15/standard/preempt-rt/sdkv5.15/xlnx-soc][PATCH] 
driver: soc: xilinx: rename cpu_number1 to dummy_cpu_number
on 17/01/2024 quanyang.w...@windriver.com wrote:

> From: Quanyang Wang 
> 
> The per cpu variable cpu_number1 is passed to xlnx_event_handler as
> argument "dev_id", but is not used in this function. So drop the
> initialization of this variable and rename it to dummy_cpu_number.
> This patch is to fix the following calltrace when the kernel option
> CONFIG_DEBUG_ATOMIC_SLEEP is enabled:
> 
> BUG: sleeping function called from invalid context at 
> include/linux/sched/mm.h:274
> in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1, name: swapper/0
> preempt_count: 1, expected: 0
> CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.1.0 #53
> Hardware name: Xilinx Versal vmk180 Eval board rev1.1 (QSPI) (DT)
> Call trace:
>  dump_backtrace+0xd0/0xe0
>  show_stack+0x18/0x40
>  dump_stack_lvl+0x7c/0xa0
>  dump_stack+0x18/0x34
>  __might_resched+0x10c/0x140
>  __might_sleep+0x4c/0xa0
>  __kmem_cache_alloc_node+0xf4/0x168
>  kmalloc_trace+0x28/0x38
>  __request_percpu_irq+0x74/0x138
>  xlnx_event_manager_probe+0xf8/0x298
>  platform_probe+0x68/0xd8
> 
> Signed-off-by: Quanyang Wang 
> ---
> Hi Bruce,
> Would you please help merge this patch to the branches:
>   v5.15/standard/preempt-rt/sdkv5.15/xlnx-soc
>   v5.15/standard/sdkv5.15/xlnx-soc

merged.

Bruce


> Thanks,
> Quanyang
> ---
>  drivers/soc/xilinx/xlnx_event_manager.c | 14 +++---
>  1 file changed, 3 insertions(+), 11 deletions(-)
> 
> diff --git a/drivers/soc/xilinx/xlnx_event_manager.c 
> b/drivers/soc/xilinx/xlnx_event_manager.c
> index cf152eb58d87a..1ab3486e64f95 100644
> --- a/drivers/soc/xilinx/xlnx_event_manager.c
> +++ b/drivers/soc/xilinx/xlnx_event_manager.c
> @@ -20,7 +20,7 @@
>  #include 
>  #include 
>  
> -static DEFINE_PER_CPU_READ_MOSTLY(int, cpu_number1);
> +static DEFINE_PER_CPU_READ_MOSTLY(int, dummy_cpu_number);
>  
>  static int virq_sgi;
>  static int event_manager_availability = -EACCES;
> @@ -552,7 +552,6 @@ static void xlnx_disable_percpu_irq(void *data)
>  static int xlnx_event_init_sgi(struct platform_device *pdev)
>  {
>   int ret = 0;
> - int cpu;
>   /*
>* IRQ related structures are used for the following:
>* for each SGI interrupt ensure its mapped by GIC IRQ domain
> @@ -589,11 +588,8 @@ static int xlnx_event_init_sgi(struct platform_device 
> *pdev)
>   sgi_fwspec.param[0] = sgi_num;
>   virq_sgi = irq_create_fwspec_mapping(_fwspec);
>  
> - cpu = get_cpu();
> - per_cpu(cpu_number1, cpu) = cpu;
>   ret = request_percpu_irq(virq_sgi, xlnx_event_handler, 
> "xlnx_event_mgmt",
> -  _number1);
> - put_cpu();
> +  _cpu_number);
>  
>   WARN_ON(ret);
>   if (ret) {
> @@ -609,16 +605,12 @@ static int xlnx_event_init_sgi(struct platform_device 
> *pdev)
>  
>  static void xlnx_event_cleanup_sgi(struct platform_device *pdev)
>  {
> - int cpu = smp_processor_id();
> -
> - per_cpu(cpu_number1, cpu) = cpu;
> -
>   cpuhp_remove_state(CPUHP_AP_ONLINE_DYN);
>  
>   on_each_cpu(xlnx_disable_percpu_irq, NULL, 1);
>  
>   irq_clear_status_flags(virq_sgi, IRQ_PER_CPU);
> - free_percpu_irq(virq_sgi, _number1);
> + free_percpu_irq(virq_sgi, _cpu_number);
>   irq_dispose_mapping(virq_sgi);
>  }
>  
> -- 
> 2.36.1
> 

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



Re: [linux-yocto][linux-yocto v6.1/standard/ti-sdk-6.1/ti-j7xxx & v6.1/standard/preempt-rt/ti-sdk-6.1/ti-j7xxx][PATCH 1/2] ARM: dts: tps65217: add power regulator & backlight drivers support

2024-01-18 Thread Bruce Ashfield
I should also say that if the upstream conversation results in a
different patch, please send an incremental update for merging.

Bruce

On Thu, Jan 18, 2024 at 3:06 PM Bruce Ashfield via
lists.yoctoproject.org
 wrote:
>
> merged.
>
> Bruce
>
> In message: [linux-yocto][linux-yocto v6.1/standard/ti-sdk-6.1/ti-j7xxx & 
> v6.1/standard/preempt-rt/ti-sdk-6.1/ti-j7xxx][PATCH 1/2]  ARM: dts: tps65217: 
> add power regulator & backlight drivers support
> on 17/01/2024 Xulin Sun wrote:
>
> > Support TPS65217 voltage regulator driver and TPS65217 Backlight driver.
> > And enable them by default. This will avoid below booting failed
> > information:
> > tps65217-pmic: Failed to locate of_node [id: -1]
> > tps65217-bl: Failed to locate of_node [id: -1]
> >
> > Signed-off-by: Xulin Sun 
> > ---
> >  arch/arm/boot/dts/tps65217.dtsi | 10 ++
> >  1 file changed, 10 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/tps65217.dtsi 
> > b/arch/arm/boot/dts/tps65217.dtsi
> > index 0d463de5650f..f412e7476660 100644
> > --- a/arch/arm/boot/dts/tps65217.dtsi
> > +++ b/arch/arm/boot/dts/tps65217.dtsi
> > @@ -13,6 +13,16 @@  {
> >   interrupt-controller;
> >   #interrupt-cells = <1>;
> >
> > + pmic {
> > + compatible = "ti,tps65217-pmic";
> > + status = "okay";
> > + };
> > +
> > + bl {
> > + compatible = "ti,tps65217-bl";
> > + status = "okay";
> > + };
> > +
> >   charger {
> >   compatible = "ti,tps65217-charger";
> >   interrupts = <0>, <1>;
> > --
> > 2.34.1
> >
>
> In message: [linux-yocto][linux-yocto v6.1/standard/ti-sdk-6.1/ti-j7xxx & 
> v6.1/standard/preempt-rt/ti-sdk-6.1/ti-j7xxx][PATCH 2/2]  ARM: dts: 
> am335x-boneblack-hdmi: disable HDMI audio simple-audio-card node
> on 17/01/2024 Xulin Sun wrote:
>
> > Disable HDMI audio simple-audio-card node as a workaround, since we did not
> > have the document and not figure out how to set the HDMI audio parameters
> > for the BBB target board, to avoid below booting error information if
> > connecting HDMI monitor:
> > davinci-mcasp.0-i2s-hifi: ASoC: error at __soc_pcm_hw_params on 
> > davinci-mcasp.0-i2s-hifi: -22
> > davinci-mcasp 48038000.mcasp: stream has more channels (2) than are enabled 
> > in mcasp (0)
> > davinci-mcasp 48038000.mcasp: ASoC: error at snd_soc_dai_hw_params on 
> > 48038000.mcasp: -22
> >
> > Signed-off-by: Xulin Sun 
> > ---
> >  arch/arm/boot/dts/am335x-boneblack-hdmi.dtsi | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/arm/boot/dts/am335x-boneblack-hdmi.dtsi 
> > b/arch/arm/boot/dts/am335x-boneblack-hdmi.dtsi
> > index 7cfddada9348..37fac7374136 100644
> > --- a/arch/arm/boot/dts/am335x-boneblack-hdmi.dtsi
> > +++ b/arch/arm/boot/dts/am335x-boneblack-hdmi.dtsi
> > @@ -128,6 +128,7 @@ sound {
> >   simple-audio-card,format = "i2s";
> >   simple-audio-card,bitclock-master = <_master>;
> >   simple-audio-card,frame-master = <_master>;
> > + status = "disabled";
> >
> >   dailink0_master: simple-audio-card,cpu {
> >   sound-dai = <>;
> > --
> > 2.34.1
> >
>
>
> 
>


-- 
- 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 (#13498): 
https://lists.yoctoproject.org/g/linux-yocto/message/13498
Mute This Topic: https://lists.yoctoproject.org/mt/103779680/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/linux-yocto/leave/6687884/21656/624485779/xyzzy
 [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto][linux-yocto v6.1/standard/ti-sdk-6.1/ti-j7xxx & v6.1/standard/preempt-rt/ti-sdk-6.1/ti-j7xxx][PATCH 1/2] ARM: dts: tps65217: add power regulator & backlight drivers support

2024-01-18 Thread Bruce Ashfield
merged.

Bruce

In message: [linux-yocto][linux-yocto v6.1/standard/ti-sdk-6.1/ti-j7xxx & 
v6.1/standard/preempt-rt/ti-sdk-6.1/ti-j7xxx][PATCH 1/2]  ARM: dts: tps65217: 
add power regulator & backlight drivers support
on 17/01/2024 Xulin Sun wrote:

> Support TPS65217 voltage regulator driver and TPS65217 Backlight driver.
> And enable them by default. This will avoid below booting failed
> information:
> tps65217-pmic: Failed to locate of_node [id: -1]
> tps65217-bl: Failed to locate of_node [id: -1]
> 
> Signed-off-by: Xulin Sun 
> ---
>  arch/arm/boot/dts/tps65217.dtsi | 10 ++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/tps65217.dtsi b/arch/arm/boot/dts/tps65217.dtsi
> index 0d463de5650f..f412e7476660 100644
> --- a/arch/arm/boot/dts/tps65217.dtsi
> +++ b/arch/arm/boot/dts/tps65217.dtsi
> @@ -13,6 +13,16 @@  {
>   interrupt-controller;
>   #interrupt-cells = <1>;
>  
> + pmic {
> + compatible = "ti,tps65217-pmic";
> + status = "okay";
> + };
> +
> + bl {
> + compatible = "ti,tps65217-bl";
> + status = "okay";
> + };
> +
>   charger {
>   compatible = "ti,tps65217-charger";
>   interrupts = <0>, <1>;
> -- 
> 2.34.1
> 

In message: [linux-yocto][linux-yocto v6.1/standard/ti-sdk-6.1/ti-j7xxx & 
v6.1/standard/preempt-rt/ti-sdk-6.1/ti-j7xxx][PATCH 2/2]  ARM: dts: 
am335x-boneblack-hdmi: disable HDMI audio simple-audio-card node
on 17/01/2024 Xulin Sun wrote:

> Disable HDMI audio simple-audio-card node as a workaround, since we did not
> have the document and not figure out how to set the HDMI audio parameters
> for the BBB target board, to avoid below booting error information if
> connecting HDMI monitor:
> davinci-mcasp.0-i2s-hifi: ASoC: error at __soc_pcm_hw_params on 
> davinci-mcasp.0-i2s-hifi: -22
> davinci-mcasp 48038000.mcasp: stream has more channels (2) than are enabled 
> in mcasp (0)
> davinci-mcasp 48038000.mcasp: ASoC: error at snd_soc_dai_hw_params on 
> 48038000.mcasp: -22
> 
> Signed-off-by: Xulin Sun 
> ---
>  arch/arm/boot/dts/am335x-boneblack-hdmi.dtsi | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/am335x-boneblack-hdmi.dtsi 
> b/arch/arm/boot/dts/am335x-boneblack-hdmi.dtsi
> index 7cfddada9348..37fac7374136 100644
> --- a/arch/arm/boot/dts/am335x-boneblack-hdmi.dtsi
> +++ b/arch/arm/boot/dts/am335x-boneblack-hdmi.dtsi
> @@ -128,6 +128,7 @@ sound {
>   simple-audio-card,format = "i2s";
>   simple-audio-card,bitclock-master = <_master>;
>   simple-audio-card,frame-master = <_master>;
> + status = "disabled";
>  
>   dailink0_master: simple-audio-card,cpu {
>   sound-dai = <>;
> -- 
> 2.34.1
> 


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



Re: [linux-yocto][yocto-kernel-cache][yocto-6.1 master][PATCH 0/1] feature/security: add configs to harden protection

2024-01-18 Thread Bruce Ashfield
In message: [linux-yocto][yocto-kernel-cache][yocto-6.1 master][PATCH 0/1] 
feature/security: add configs to harden protection
on 16/01/2024 Xiangyu Chen wrote:

> From: Xiangyu Chen 
> 
> Hi Bruce,
> 
> After using kernel-hardening-checker[1] utils to check current configs, we 
> picked up some configs from failure case to
> feature/security/security.cfg to improve the kernel security.
> 
> Following configs no impact on performance but can improve kernel security:
> 
> CONFIG_HW_RANDOM_TPM=y Exposing the TPM's Random Number Generator(if have) as 
> a hwrng device.
> CONFIG_DEBUG_WX=y Warn on W+X mappings at boot.
> CONFIG_SECURITY_DMESG_RESTRICT=y Restrict unprivileged access to the kernel 
> syslog.
> CONFIG_LDISC_AUTOLOAD=n Disable automatically load TTY Line Disciplines.

Since these aren't on by default in the standard / preempt-rt kernel
configuration, I have no objections to them being added to the fragment.

I've merged them to all branches 6.1+

Bruce

> 
> 
> Thanks!
> 
> Ref:
> [1] https://github.com/a13xp0p0v/kernel-hardening-checker
> 
> Xiangyu Chen (1):
>   feature/security: add configs to harden protection
> 
>  features/security/security.cfg | 12 
>  1 file changed, 12 insertions(+)
> 
> -- 
> 2.35.5
> 

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



Re: [linux-yocto] [yocto-kernel-cache yocto-6.1] enable NVME kernel config for marvell cn102xx

2024-01-18 Thread Bruce Ashfield
In message: [linux-yocto] [yocto-kernel-cache yocto-6.1] enable NVME kernel 
config for marvell cn102xx
on 16/01/2024 Ruiqiang Hao wrote:

> Hi Bruce,
> 
> Please help to merge code into our linux-yocto repo.
> 
> repo:
>   yocto-kernel-cache
> branch:
>   yocto-6.1

merged.

Bruce

> 
> Thanks,
> Ruiqiang

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



Re: [linux-yocto] [yocto-kernel-cache][yocto-5.15][PATCH] aptiv-s32g: update to compatible with SDK BSP39

2024-01-18 Thread Bruce Ashfield
In message: [yocto-kernel-cache][yocto-5.15][PATCH] aptiv-s32g: update to 
compatible with SDK BSP39
on 16/01/2024 quanyang.w...@windriver.com wrote:

> From: Quanyang Wang 
> 
> There are some new configs enabled in SDK BSP39 release, so update kernel
> cache to be compatible with SDK.
> 
> Signed-off-by: Quanyang Wang 
> ---
> Hi Bruce,
> Would you please help merge this patch to the branch:
>   yocto-5.15

merged.

Bruce

> Thanks,
> Quanyang
> ---
>  bsp/aptiv-s32g/aptiv-cvc.cfg | 8 
>  1 file changed, 8 insertions(+)
> 
> diff --git a/bsp/aptiv-s32g/aptiv-cvc.cfg b/bsp/aptiv-s32g/aptiv-cvc.cfg
> index 5f266fede3..64e6238b73 100644
> --- a/bsp/aptiv-s32g/aptiv-cvc.cfg
> +++ b/bsp/aptiv-s32g/aptiv-cvc.cfg
> @@ -28,6 +28,9 @@ 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_DEFAULT_GOV_PERFORMANCE=y
> +CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
> +CONFIG_ARM_SCMI_CPUFREQ=y
>  
>  CONFIG_ARM_SCMI_TRANSPORT_SMC_ATOMIC_ENABLE=y
>  # To keep align with SDK, unset the ARM_SCMI_POWER_DOMAIN config
> @@ -120,6 +123,7 @@ CONFIG_INPUT_UINPUT=y
>  # Thermal
>  CONFIG_THERMAL=y
>  CONFIG_QORIQ_THERMAL=y
> +CONFIG_CPU_THERMAL=y
>  
>  # ADC
>  CONFIG_IIO=y
> @@ -156,6 +160,10 @@ CONFIG_S32CC_WDT=y
>  CONFIG_BLK_DEV_NVME=y
>  CONFIG_NVME_TARGET=y
>  CONFIG_NVMEM_S32CC_SIUL2=y
> +CONFIG_NVMEM_S32CC_OCOTP=y
> +CONFIG_NVMEM_S32CC_GPR=y
> +# CONFIG_NVMEM_SCMI is not set
> +
>  
>  # Regulator configuration
>  CONFIG_REGULATOR=y
> -- 
> 2.36.1
> 

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