Re: [linux-yocto][v5.15/standard/x86 and v5.15/standard/preempt-rt/x86][PATCH] update ice driver for ICE-D HCC and LCC platforms

2023-06-28 Thread LiweiSong via lists.yoctoproject.org


On 6/29/23 05:51, Bruce Ashfield wrote:
> In message: [linux-yocto][v5.15/standard/x86 and 
> v5.15/standard/preempt-rt/x86][PATCH] update ice driver for ICE-D HCC and LCC 
> platforms
> on 29/06/2023 Liwei Song wrote:
> 
>> Hi Bruce,
>>
>> This pull is to update ice driver to support NIC on ICE-D HCC and LCC boards,
>> All patches are upstream, and you may notice that there are some changes to 
>> net core,
>> these are all new adding invokes and definitions, won't impact the core 
>> function, 
>> pretty clean and safe to be applied, others are all aim at ice driver, could 
>> you
>> help merge these patches to below branches?
> Thanks for the explantion, it made it much easier to review the changes.
> 
> This has now been merged.
> 
> Bruce
> 
>>   v5.15/standard/preempt-rt/x86
>>   v5.15/standard/x86
>>
>>
>> Thanks,
>> Liwei.
>>
>>
>>
>> The following changes since commit 261decb82d1d3889fbc0c3df890e2193c0f90750:
>>
>>   Merge branch 'v5.15/standard/base' into v5.15/standard/preempt-rt/x86 
>> (2023-06-22 14:19:10 -0400)

Hi Bruce,

Because the base branch of the pull is v5.15/standard/preempt-rt/x86, that 
cause some rt kernel patches
are merged into standard/x86 branch, I use to wrongly think that we can specify 
"since commit 261decb82d1d3889fbc0c3df890e2193c0f90750"
to merge the patches that I added, so cause this, sorry for that.

I made a new pull for v5.15/standard/x86 branch, this new pull firstly revert 
the wrong merge,
then apply the ice patches, the new pull below is only for v5.15/standard/x86 
branch.
Sorry for the inconvenient.

Thanks,
Liwei.



The following changes since commit b391c7cccac1375c9ce0d1f202dd91cbfb00244d:

  Merge branch 'x86-ice-update-merge' into v5.15/standard/x86 (2023-06-28 
17:50:52 -0400)

are available in the Git repository at:

  https://github.com/2005songliwei/linux-yocto-pull.git v5.15-standard-x86-pull1

for you to fetch changes up to 0dd3679f128907de580fb366e2cce0683aa29537:

  ice: make writes to /dev/gnssX synchronous (2023-06-29 02:34:05 +)


Ahmed Zaki (1):
  ice: Fix stats after PF reset

Alexander Lobakin (13):
  ice: remove dead store on XSK hotpath
  ice: switch to napi_build_skb()
  ice: respect metadata in legacy-rx/ice_construct_skb()
  ice: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
  ice: respect metadata on XSK Rx to skb
  ice: switch: add and use u16[] aliases to ice_adv_lkup_elem::{h, m}_u
  ice: switch: unobscurify bitops loop in ice_fill_adv_dummy_packet()
  ice: switch: use a struct to pass packet template params
  ice: switch: use convenience macros to declare dummy pkt templates
  ice: switch: convert packet template match code to rodata
  ice: arfs: fix use-after-free when freeing @rx_cpu_rmap
  ice: fix access-beyond-end in the switch code
  net/ice: fix initializing the bitmap in the switch code

Amritha Nambiar (1):
  ice: Add support for outer dest MAC for ADQ tunnels

Anatolii Gerasymenko (7):
  ice: clear stale Tx queue settings before configuring
  ice: ethtool: Prohibit improper channel config for DCB
  ice: Implement FCS/CRC and VLAN stripping co-existence policy
  ice: Add port option admin queue commands
  ice: Implement devlink port split operations
  ice: Use ICE_RLAN_BASE_S instead of magic number
  ice: Handle LLDP MIB Pending change

Anirudh Venkataramanan (8):
  ice: Add feature bitmap, helpers and a check for DSCP
  ice: Fix link mode handling
  ice: Add EXTTS feature to the feature bitmap
  ice: Fix VSIs unable to share unicast MAC
  ice: Allow 100M speeds for some devices
  ice: Print human-friendly PHY types
  ice: remove redundant non-null check in ice_setup_pf_sw()
  ice: Add support for 100G KR2/CR2/SR2 link reporting

Arkadiusz Kubalewski (3):
  ice: Merge pin initialization of E810 and E810T adapters
  ice: support features on new E810T variants
  ice: use GNSS subsystem instead of TTY

Arnd Bergmann (1):
  ethernet: ice: avoid gcc-9 integer overflow warning

Benjamin Mikailenko (4):
  ice: Fix VSI rebuild WARN_ON check for VF
  ice: Ignore error message when setting same promiscuous mode
  ice: Accumulate HW and Netdev statistics over reset
  ice: Accumulate ring statistics over reset

Bjorn Helgaas (2):
  ice: Remove redundant pci_enable_pcie_error_reporting()
  ice: Remove unnecessary aer.h include

Brett Creeley (24):
  ice: Add support for VF rate limiting
  ice: Add support to print error on PHY FW load failure
  ice: Remove boolean vlan_promisc flag from function
  ice: Remove toggling of antispoof for VF trusted promiscuous mode
  ice: Refactor promiscuous functions
  ice: Refactor spoofcheck configuration functions
  ice: Add helper function for adding VLAN 0
  ice: Add new VSI VLAN ops
  ice: Introduce ice_vlan struct
  

[linux-yocto]: [kernel for intel-socfpga]: watchdog: dw_wdt: register notify callback to stop watchdog when shuting down system

2023-06-28 Thread Meng Li via lists.yoctoproject.org
From: Limeng 

Hi Bruce,

This patch is used to register notify callback to stop watchdog when shuting 
down system
Could you please help to merge it into linux-ycoto kernel repo, both standard 
and rt branches
v6.1/standard/intel-sdk-6.1/intel-socfpga
v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga

diffstat info as below:

 dw_wdt.c |   25 -
 1 file changed, 24 insertions(+), 1 deletion(-)


thanks,
Limeng

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12824): 
https://lists.yoctoproject.org/g/linux-yocto/message/12824
Mute This Topic: https://lists.yoctoproject.org/mt/99844367/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] watchdog: dw_wdt: register notify callback to stop watchdog when shuting down system

2023-06-28 Thread Meng Li via lists.yoctoproject.org
On Intel SoC FPGA platform, Stratix10 or Agilex, the watchdog
is started in u-boot, so kernel will create a timer and work to
keep watchdog alive. But when user executes commands "halt",
"poweroff" or "shutdown", the system is reset when watchdog
triggers timeout. The root cause is that the watchdog not stopped
properly. So, register notify callback to stop watchdog when shuting
down system.

Signed-off-by: Meng Li 
---
 drivers/watchdog/dw_wdt.c | 25 -
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c
index 61af5d1332ac..e93150b92040 100644
--- a/drivers/watchdog/dw_wdt.c
+++ b/drivers/watchdog/dw_wdt.c
@@ -28,6 +28,8 @@
 #include 
 #include 
 #include 
+#include 
+#include 
 
 #define WDOG_CONTROL_REG_OFFSET0x00
 #define WDOG_CONTROL_REG_WDT_EN_MASK   0x01
@@ -492,6 +494,19 @@ static int dw_wdt_init_timeouts(struct dw_wdt *dw_wdt, 
struct device *dev)
return 0;
 }
 
+static int dw_wdt_notify(struct notifier_block *nb,
+   unsigned long code, void *data)
+{
+   struct watchdog_device *wdd;
+
+   wdd = container_of(nb, struct watchdog_device, reboot_nb);
+   if (code == SYS_HALT || code == SYS_POWER_OFF)
+   if (!nowayout)
+   dw_wdt_stop(wdd);
+
+   return NOTIFY_DONE;
+}
+
 #ifdef CONFIG_DEBUG_FS
 
 #define DW_WDT_DBGFS_REG(_name, _off) \
@@ -664,14 +679,22 @@ static int dw_wdt_drv_probe(struct platform_device *pdev)
 
watchdog_set_restart_priority(wdd, 128);
 
-   ret = watchdog_register_device(wdd);
+   wdd->reboot_nb.notifier_call = dw_wdt_notify;
+   ret = register_reboot_notifier(&wdd->reboot_nb);
if (ret)
goto out_assert_rst;
 
+   ret = watchdog_register_device(wdd);
+   if (ret)
+   goto err_out_notifier;
+
dw_wdt_dbgfs_init(dw_wdt);
 
return 0;
 
+err_out_notifier:
+   unregister_reboot_notifier(&wdd->reboot_nb);
+
 out_assert_rst:
reset_control_assert(dw_wdt->rst);
 
-- 
2.34.1


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



[linux-yocto][v6.1/standard/preempt-rt/sdkv6.1/xlnx-soc][PATCH] drm/xlnx: fix kmemleak by sending vblank_event in atomic_disable

2023-06-28 Thread quanyang.wang via lists.yoctoproject.org
From: Quanyang Wang 

commit a7e02f7796c163ac8297b30223bf24bade9f8a50 upstream

When running xrandr to change resolution of DP, the kmemleak as below
can be observed:

unreferenced object 0x00080a351000 (size 256):
  comm "Xorg", pid 248, jiffies 4294899614 (age 19.960s)
  hex dump (first 32 bytes):
98 a0 bc 01 08 00 ff ff 01 00 00 00 00 00 00 00  
ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00  
  backtrace:
[] kmemleak_alloc+0x30/0x40
[] kmem_cache_alloc+0x3d4/0x588
[<88ea9bd7>] drm_atomic_helper_setup_commit+0x84/0x5f8
[<2290a264>] drm_atomic_helper_commit+0x58/0x388
[] drm_atomic_commit+0x4c/0x60
[] drm_atomic_connector_commit_dpms+0xe8/0x110
[<20ade187>] drm_mode_obj_set_property_ioctl+0x1b0/0x450
[<918206d6>] drm_connector_property_set_ioctl+0x3c/0x68
[<8d51e7a5>] drm_ioctl_kernel+0xc4/0x118
[<2a819b75>] drm_ioctl+0x214/0x448
[<8ca4e588>] __arm64_sys_ioctl+0xa8/0xf0
[<34e15a35>] el0_svc_common.constprop.0+0x74/0x190
[<1b93d916>] do_el0_svc+0x24/0x90
[] el0_svc+0x14/0x20
[] el0_sync_handler+0xb0/0xb8
[<3e79c15f>] el0_sync+0x174/0x180

This is because there is a scenario that a drm_crtc_commit commit is
allocated but not freed. The drm subsystem require/release references
to a CRTC commit by calling drm_crtc_commit_get/put, and when
drm_crtc_commit_put find that commit.ref.refcount is zero, it will
call __drm_crtc_commit_free to free this CRTC commit. Among these
drm_crtc_commit_get/put pairs, there is a drm_crtc_commit_get in
drm_atomic_helper_setup_commit as below:

...
new_crtc_state->event->base.completion = &commit->flip_done;
new_crtc_state->event->base.completion_release = release_crtc_commit;
drm_crtc_commit_get(commit);
...

This reference to the CRTC commit should be released at the function
release_crtc_commit by calling e->completion_release(e->completion) in
drm_send_event_locked. So we need to call drm_send_event_locked at
two places: handling vblank event in the irq handler and the crtc disable
helper. But in zynqmp_disp_crtc_atomic_disable, it only marks the flip
is done and not call drm_crtc_commit_put. This result that the refcount
of this commit is always non-zero and this commit will never be freed.

Since the function drm_crtc_send_vblank_event has operations both sending
a flip_done signal and releasing reference to the CRTC commit, let's use
it instead.

Signed-off-by: Quanyang Wang 
Signed-off-by: Daniel Vetter 
Link: 
https://patchwork.freedesktop.org/patch/msgid/20210202064121.173362-1-quanyang.w...@windriver.com
---
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/gpu/drm/xlnx/zynqmp_disp.c | 18 +-
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp.c 
b/drivers/gpu/drm/xlnx/zynqmp_disp.c
index c86e7a7775c5f..69fc2c48579fd 100644
--- a/drivers/gpu/drm/xlnx/zynqmp_disp.c
+++ b/drivers/gpu/drm/xlnx/zynqmp_disp.c
@@ -2043,8 +2043,6 @@ static void zynqmp_disp_enable(struct zynqmp_disp *disp)
  */
 static void zynqmp_disp_disable(struct zynqmp_disp *disp, bool force)
 {
-   struct drm_crtc *crtc = &disp->xlnx_crtc.crtc;
-
if (!force && (!disp->enabled || zynqmp_disp_layer_is_enabled(disp)))
return;
 
@@ -2053,12 +2051,6 @@ static void zynqmp_disp_disable(struct zynqmp_disp 
*disp, bool force)
zynqmp_disp_av_buf_disable_buf(&disp->av_buf);
zynqmp_disp_av_buf_disable(&disp->av_buf);
 
-   /* Mark the flip is done as crtc is disabled anyway */
-   if (crtc->state->event) {
-   complete_all(crtc->state->event->base.completion);
-   crtc->state->event = NULL;
-   }
-
disp->enabled = false;
 }
 
@@ -2636,8 +2628,16 @@ zynqmp_disp_crtc_atomic_disable(struct drm_crtc *crtc,
zynqmp_disp_clk_disable(disp->pclk, &disp->pclk_en);
zynqmp_disp_plane_disable(crtc->primary);
zynqmp_disp_disable(disp, true);
-   if (!disp->dpsub->external_crtc_attached)
+   if (!disp->dpsub->external_crtc_attached) {
drm_crtc_vblank_off(crtc);
+
+   spin_lock_irq(&crtc->dev->event_lock);
+   if (crtc->state->event) {
+   drm_crtc_send_vblank_event(crtc, crtc->state->event);
+   crtc->state->event = NULL;
+   }
+   spin_unlock_irq(&crtc->dev->event_lock);
+   }
pm_runtime_put_sync(disp->dev);
 }
 
-- 
2.36.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12822): 
https://lists.yoctoproject.org/g/linux-yocto/message/12822
Mute This Topic: https://list

[linux-yocto] [yocto-kernel-cache][yocto-6.1][PATCH] xilinx-zynqmp: xilinx-zynqmp: disable CONFIG_ARM_CCI_PMU for rt kernel

2023-06-28 Thread quanyang.wang via lists.yoctoproject.org
From: Quanyang Wang 

CONFIG_ARM_CCI_PMU depends on PERF_EVENTS which is not enabled for
preempt-rt, so the building warning as below can be caught:

   [NOTE]: 'CONFIG_ARM_CCI_PMU' last val (y) and .config val (n) do not match
[INFO]: CONFIG_ARM_CCI_PMU : n
[INFO]: raw config text:

config ARM_CCI_PMU
tristate "ARM CCI PMU driver"
select ARM_CCI
depends on ((ARM && CPU_V7) || ARM64) && PERF_EVENTS
help
  Support for PMU events monitoring on the ARM CCI (Cache Coherent
  Interconnect) family of products.

  If compiled as a module, it will be called arm-cci.

Config 'ARM_CCI_PMU' has the following Direct dependencies 
(ARM_CCI_PMU=n):
(ARM(undefined/n) && CPU_V7(undefined/n)) || ARM64(=y) (=y) && 
PERF_EVENTS(=n)
Parent dependencies are:
 PERF_EVENTS [n] CPU_V7 [CPU_V7] ARM64 [y] ARM [ARM]
[INFO]: config 'CONFIG_ARM_CCI_PMU' was set, but it wasn't assignable, 
check (parent) dependencies

Disable CONFIG_ARM_CCI_PMU to fix this.

Signed-off-by: Quanyang Wang 
---
Hi Bruce,
Would you please help merge this patch to the branch:
yocto-6.1
Thanks,
Quanyang
---
 bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc | 1 +
 bsp/xilinx-zynqmp/xilinx-zynqmp-rt.cfg | 2 ++
 2 files changed, 3 insertions(+)
 create mode 100644 bsp/xilinx-zynqmp/xilinx-zynqmp-rt.cfg

diff --git a/bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc 
b/bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc
index 010f7385c7..a76f5bc914 100644
--- a/bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc
+++ b/bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc
@@ -6,3 +6,4 @@ define KARCH arm64
 include ktypes/preempt-rt/preempt-rt.scc
 
 include xilinx-zynqmp.scc
+kconf hardware xilinx-zynqmp-rt.cfg
diff --git a/bsp/xilinx-zynqmp/xilinx-zynqmp-rt.cfg 
b/bsp/xilinx-zynqmp/xilinx-zynqmp-rt.cfg
new file mode 100644
index 00..25da0a1540
--- /dev/null
+++ b/bsp/xilinx-zynqmp/xilinx-zynqmp-rt.cfg
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: MIT
+CONFIG_ARM_CCI_PMU=n
-- 
2.36.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12821): 
https://lists.yoctoproject.org/g/linux-yocto/message/12821
Mute This Topic: https://lists.yoctoproject.org/mt/99844140/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 v5.15.119 v6.1.36 for linux-yocto

2023-06-28 Thread Kevin Hao
Hi Bruce,

This is a trial merge of the stable kernel v5.15.119 v6.1.36 for the following 
branches in the linux-yocto.
  be40fc41bd6e  v5.15/standard/sdkv5.10/axxia
  e75835741a61  v5.15/standard/preempt-rt/sdkv5.10/axxia
  5286aba085f3  v5.15/standard/base
  2ecfdafb698d  v5.15/standard/preempt-rt/base
  8fa9560c4dd4  v5.15/standard/cn-sdkv5.4/octeon
  63def203e4e4  v5.15/standard/preempt-rt/cn-sdkv5.4/octeon
  c6a6f3f7ccb0  v5.15/standard/cn-sdkv5.15/octeon
  c85fe0177765  v5.15/standard/preempt-rt/cn-sdkv5.15/octeon
  3a984e518a65  v5.15/standard/ti-sdk-5.10/ti-j72xx
  6e6d68f31692  v5.15/standard/preempt-rt/ti-sdk-5.10/ti-j72xx
  ef85dc984077  v5.15/standard/nxp-sdk-5.15/nxp-soc 
 #Have textual conflicts
  d442c239e922  v5.15/standard/preempt-rt/nxp-sdk-5.15/nxp-soc  
 #Have textual conflicts
  ca6190648f39  v5.15/standard/bcm-2xxx-rpi
  fe77be715143  v5.15/standard/preempt-rt/bcm-2xxx-rpi
  a0e68ed68874  v5.15/standard/nxp-sdk-5.15/nxp-s32g
  731e0747cfc8  v5.15/standard/preempt-rt/nxp-sdk-5.15/nxp-s32g
  33587f804c1f  v5.15/standard/intel-sdk-5.15/intel-socfpga
  737a52381316  v5.15/standard/preempt-rt/intel-sdk-5.15/intel-socfpga
  93636851643a  v5.15/standard/x86
  13e6b9070532  v5.15/standard/preempt-rt/x86
  06e2203ca6b4  v5.15/standard/sdkv5.15/xlnx-soc
  fae6ce5c0f62  v5.15/standard/preempt-rt/sdkv5.15/xlnx-soc
  6ddeb74e2aed  v6.1/standard/base  
 #Have textual conflicts
  5b1265e16f7c  v6.1/standard/preempt-rt/base
  b6138f7d213f  v6.1/standard/ti-sdk-6.1/ti-j7xxx
  411bdd3dfd02  v6.1/standard/preempt-rt/ti-sdk-6.1/ti-j7xxx
  32bbd6f8e4a5  v6.1/standard/nxp-sdk-6.1/nxp-soc   
 #Have textual conflicts
  b290cbd38c6f  v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc
 #Have textual conflicts
  9ed6c482ead6  v6.1/standard/cn-sdkv5.15/octeon
  ad8cdb51154a  v6.1/standard/preempt-rt/cn-sdkv5.15/octeon
  1178a4b79ab9  v6.1/standard/bcm-2xxx-rpi
  e7efd0895134  v6.1/standard/preempt-rt/bcm-2xxx-rpi
  3bf26017b1d0  v6.1/standard/nxp-sdk-5.15/nxp-s32g
  60acc0e89194  v6.1/standard/preempt-rt/nxp-sdk-5.15/nxp-s32g
  363ec7b1b160  v6.1/standard/intel-sdk-6.1/intel-socfpga
  88d337e2b686  v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga
  8ae2964866b5  v6.1/standard/x86
  4bd09df854bd  v6.1/standard/preempt-rt/x86
  1233d3e4f7e3  v6.1/standard/sdkv6.1/xlnx-soc
  e9c4e041e2f0  v6.1/standard/preempt-rt/sdkv6.1/xlnx-soc

This seems a normal stable release. There is a conflict on v6.1/standard/base 
due to
the merge of commit 0c6552f83725 ("tick/common: Align tick period during 
sched_timer setup")
and several trivial conflicts on the 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 (#12820): 
https://lists.yoctoproject.org/g/linux-yocto/message/12820
Mute This Topic: https://lists.yoctoproject.org/mt/99843837/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][v5.15/standard/x86 and v5.15/standard/preempt-rt/x86][PATCH] update ice driver for ICE-D HCC and LCC platforms

2023-06-28 Thread Bruce Ashfield
In message: [linux-yocto][v5.15/standard/x86 and 
v5.15/standard/preempt-rt/x86][PATCH] update ice driver for ICE-D HCC and LCC 
platforms
on 29/06/2023 Liwei Song wrote:

> Hi Bruce,
> 
> This pull is to update ice driver to support NIC on ICE-D HCC and LCC boards,
> All patches are upstream, and you may notice that there are some changes to 
> net core,
> these are all new adding invokes and definitions, won't impact the core 
> function, 
> pretty clean and safe to be applied, others are all aim at ice driver, could 
> you
> help merge these patches to below branches?

Thanks for the explantion, it made it much easier to review the changes.

This has now been merged.

Bruce

> 
>   v5.15/standard/preempt-rt/x86
>   v5.15/standard/x86
> 
> 
> Thanks,
> Liwei.
> 
> 
> 
> The following changes since commit 261decb82d1d3889fbc0c3df890e2193c0f90750:
> 
>   Merge branch 'v5.15/standard/base' into v5.15/standard/preempt-rt/x86 
> (2023-06-22 14:19:10 -0400)
> 
> are available in the Git repository at:
> 
>   https://github.com/2005songliwei/linux-yocto-pull.git origin/x86-ice-update
> 
> for you to fetch changes up to 458b31bf3d571865f034fe82b488e995d89e0d86:
> 
>   ice: make writes to /dev/gnssX synchronous (2023-06-28 23:22:06 +0800)
> 
> 
> Ahmed Zaki (1):
>   ice: Fix stats after PF reset
> 
> Alexander Lobakin (13):
>   ice: remove dead store on XSK hotpath
>   ice: switch to napi_build_skb()
>   ice: respect metadata in legacy-rx/ice_construct_skb()
>   ice: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
>   ice: respect metadata on XSK Rx to skb
>   ice: switch: add and use u16[] aliases to ice_adv_lkup_elem::{h, m}_u
>   ice: switch: unobscurify bitops loop in ice_fill_adv_dummy_packet()
>   ice: switch: use a struct to pass packet template params
>   ice: switch: use convenience macros to declare dummy pkt templates
>   ice: switch: convert packet template match code to rodata
>   ice: arfs: fix use-after-free when freeing @rx_cpu_rmap
>   ice: fix access-beyond-end in the switch code
>   net/ice: fix initializing the bitmap in the switch code
> 
> Amritha Nambiar (1):
>   ice: Add support for outer dest MAC for ADQ tunnels
> 
> Anatolii Gerasymenko (7):
>   ice: clear stale Tx queue settings before configuring
>   ice: ethtool: Prohibit improper channel config for DCB
>   ice: Implement FCS/CRC and VLAN stripping co-existence policy
>   ice: Add port option admin queue commands
>   ice: Implement devlink port split operations
>   ice: Use ICE_RLAN_BASE_S instead of magic number
>   ice: Handle LLDP MIB Pending change
> 
> Anirudh Venkataramanan (8):
>   ice: Add feature bitmap, helpers and a check for DSCP
>   ice: Fix link mode handling
>   ice: Add EXTTS feature to the feature bitmap
>   ice: Fix VSIs unable to share unicast MAC
>   ice: Allow 100M speeds for some devices
>   ice: Print human-friendly PHY types
>   ice: remove redundant non-null check in ice_setup_pf_sw()
>   ice: Add support for 100G KR2/CR2/SR2 link reporting
> 
> Arkadiusz Kubalewski (3):
>   ice: Merge pin initialization of E810 and E810T adapters
>   ice: support features on new E810T variants
>   ice: use GNSS subsystem instead of TTY
> 
> Arnd Bergmann (1):
>   ethernet: ice: avoid gcc-9 integer overflow warning
> 
> Benjamin Mikailenko (4):
>   ice: Fix VSI rebuild WARN_ON check for VF
>   ice: Ignore error message when setting same promiscuous mode
>   ice: Accumulate HW and Netdev statistics over reset
>   ice: Accumulate ring statistics over reset
> 
> Bjorn Helgaas (2):
>   ice: Remove redundant pci_enable_pcie_error_reporting()
>   ice: Remove unnecessary aer.h include
> 
> Brett Creeley (24):
>   ice: Add support for VF rate limiting
>   ice: Add support to print error on PHY FW load failure
>   ice: Remove boolean vlan_promisc flag from function
>   ice: Remove toggling of antispoof for VF trusted promiscuous mode
>   ice: Refactor promiscuous functions
>   ice: Refactor spoofcheck configuration functions
>   ice: Add helper function for adding VLAN 0
>   ice: Add new VSI VLAN ops
>   ice: Introduce ice_vlan struct
>   ice: Refactor vf->port_vlan_info to use ice_vlan
>   ice: Use the proto argument for VLAN ops
>   ice: Adjust naming for inner VLAN operations
>   ice: Add outer_vlan_ops and VSI specific VLAN ops implementations
>   ice: Add hot path support for 802.1Q and 802.1ad VLAN offloads
>   virtchnl: Add support for new VLAN capabilities
>   ice: Add support for VIRTCHNL_VF_OFFLOAD_VLAN_V2
>   ice: Support configuring the device to Double VLAN Mode
>   ice: Advertise 802.1ad VLAN filtering and offloads for PF netdev
>   ice: Add support for 802.1ad port VLANs VF
>   ice: Add ability for PF admin to

Re: [linux-yocto][yocto-kernel-cache yocto-6.1][PATCH] nxp-imx6: Enable CONFIG_SMP for imx6q

2023-06-28 Thread Bruce Ashfield
merged.

Bruce

In message: [linux-yocto][yocto-kernel-cache yocto-6.1][PATCH] nxp-imx6: Enable 
CONFIG_SMP for imx6q
on 27/06/2023 Xiaolei Wang wrote:

> imx6q has 4 cpus, so enable CONFIG_SMP.
> 
> Signed-off-by: Xiaolei Wang 
> ---
>  bsp/nxp-imx6/nxp-imx6.cfg | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/bsp/nxp-imx6/nxp-imx6.cfg b/bsp/nxp-imx6/nxp-imx6.cfg
> index 9d8b42ae..2117f04c 100644
> --- a/bsp/nxp-imx6/nxp-imx6.cfg
> +++ b/bsp/nxp-imx6/nxp-imx6.cfg
> @@ -13,6 +13,9 @@ CONFIG_CPU_FREQ_GOV_USERSPACE=y
>  CONFIG_CPU_FREQ_GOV_ONDEMAND=y
>  CONFIG_ARM_IMX6Q_CPUFREQ=y
>  
> +CONFIG_SMP=y
> +CONFIG_NR_CPUS=4
> +
>  CONFIG_CPU_IDLE=y
>  CONFIG_CPU_IDLE_GOV_MENU=y
>  
> -- 
> 2.25.1
> 

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



[linux-yocto][v5.15/standard/x86 and v5.15/standard/preempt-rt/x86][PATCH] update ice driver for ICE-D HCC and LCC platforms

2023-06-28 Thread LiweiSong via lists.yoctoproject.org
Hi Bruce,

This pull is to update ice driver to support NIC on ICE-D HCC and LCC boards,
All patches are upstream, and you may notice that there are some changes to net 
core,
these are all new adding invokes and definitions, won't impact the core 
function, 
pretty clean and safe to be applied, others are all aim at ice driver, could you
help merge these patches to below branches?

  v5.15/standard/preempt-rt/x86
  v5.15/standard/x86


Thanks,
Liwei.



The following changes since commit 261decb82d1d3889fbc0c3df890e2193c0f90750:

  Merge branch 'v5.15/standard/base' into v5.15/standard/preempt-rt/x86 
(2023-06-22 14:19:10 -0400)

are available in the Git repository at:

  https://github.com/2005songliwei/linux-yocto-pull.git origin/x86-ice-update

for you to fetch changes up to 458b31bf3d571865f034fe82b488e995d89e0d86:

  ice: make writes to /dev/gnssX synchronous (2023-06-28 23:22:06 +0800)


Ahmed Zaki (1):
  ice: Fix stats after PF reset

Alexander Lobakin (13):
  ice: remove dead store on XSK hotpath
  ice: switch to napi_build_skb()
  ice: respect metadata in legacy-rx/ice_construct_skb()
  ice: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
  ice: respect metadata on XSK Rx to skb
  ice: switch: add and use u16[] aliases to ice_adv_lkup_elem::{h, m}_u
  ice: switch: unobscurify bitops loop in ice_fill_adv_dummy_packet()
  ice: switch: use a struct to pass packet template params
  ice: switch: use convenience macros to declare dummy pkt templates
  ice: switch: convert packet template match code to rodata
  ice: arfs: fix use-after-free when freeing @rx_cpu_rmap
  ice: fix access-beyond-end in the switch code
  net/ice: fix initializing the bitmap in the switch code

Amritha Nambiar (1):
  ice: Add support for outer dest MAC for ADQ tunnels

Anatolii Gerasymenko (7):
  ice: clear stale Tx queue settings before configuring
  ice: ethtool: Prohibit improper channel config for DCB
  ice: Implement FCS/CRC and VLAN stripping co-existence policy
  ice: Add port option admin queue commands
  ice: Implement devlink port split operations
  ice: Use ICE_RLAN_BASE_S instead of magic number
  ice: Handle LLDP MIB Pending change

Anirudh Venkataramanan (8):
  ice: Add feature bitmap, helpers and a check for DSCP
  ice: Fix link mode handling
  ice: Add EXTTS feature to the feature bitmap
  ice: Fix VSIs unable to share unicast MAC
  ice: Allow 100M speeds for some devices
  ice: Print human-friendly PHY types
  ice: remove redundant non-null check in ice_setup_pf_sw()
  ice: Add support for 100G KR2/CR2/SR2 link reporting

Arkadiusz Kubalewski (3):
  ice: Merge pin initialization of E810 and E810T adapters
  ice: support features on new E810T variants
  ice: use GNSS subsystem instead of TTY

Arnd Bergmann (1):
  ethernet: ice: avoid gcc-9 integer overflow warning

Benjamin Mikailenko (4):
  ice: Fix VSI rebuild WARN_ON check for VF
  ice: Ignore error message when setting same promiscuous mode
  ice: Accumulate HW and Netdev statistics over reset
  ice: Accumulate ring statistics over reset

Bjorn Helgaas (2):
  ice: Remove redundant pci_enable_pcie_error_reporting()
  ice: Remove unnecessary aer.h include

Brett Creeley (24):
  ice: Add support for VF rate limiting
  ice: Add support to print error on PHY FW load failure
  ice: Remove boolean vlan_promisc flag from function
  ice: Remove toggling of antispoof for VF trusted promiscuous mode
  ice: Refactor promiscuous functions
  ice: Refactor spoofcheck configuration functions
  ice: Add helper function for adding VLAN 0
  ice: Add new VSI VLAN ops
  ice: Introduce ice_vlan struct
  ice: Refactor vf->port_vlan_info to use ice_vlan
  ice: Use the proto argument for VLAN ops
  ice: Adjust naming for inner VLAN operations
  ice: Add outer_vlan_ops and VSI specific VLAN ops implementations
  ice: Add hot path support for 802.1Q and 802.1ad VLAN offloads
  virtchnl: Add support for new VLAN capabilities
  ice: Add support for VIRTCHNL_VF_OFFLOAD_VLAN_V2
  ice: Support configuring the device to Double VLAN Mode
  ice: Advertise 802.1ad VLAN filtering and offloads for PF netdev
  ice: Add support for 802.1ad port VLANs VF
  ice: Add ability for PF admin to enable VF VLAN pruning
  ice: Remove and replace ice speed defines with ethtool.h versions
  ice: Add more usage of existing function ice_get_vf_vsi(vf)
  ice: Fix disabling Rx VLAN filtering with port VLAN enabled
  ice: Fix ice_cfg_rdma_fltr() to only update relevant fields

Cai Huoqing (1):
  ice: Make use of the helper function devm_add_action_or_reset()

Christophe JAILLET (7):
  ice: Slightly simply ice_find_free_recp_res_idx
  ice: Optimize a few bitmap operations
   

[linux-yocto] [kernel-cache][PATCH 0/1] netfilter: update notrack->ct

2023-06-28 Thread Eero Aaltonen via lists.yoctoproject.org
From: Eero Aaltonen 

Attached patch to update the deprecated NETFILTER_XT_TARGET_NOTRACK
flag; removed since Linux 3.7.1.

I would hope to apply this to multiple version branches. Is there a
branch maintenance policy / convention written somewhere?

Eero Aaltonen (1):
  netfilter: update notrack->ct

 features/netfilter/netfilter.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.25.1


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



[linux-yocto] [kernel-cache][PATCH 1/1] netfilter: update notrack->ct

2023-06-28 Thread Eero Aaltonen via lists.yoctoproject.org
From: Eero Aaltonen 

xt_NOTRACK was removed in linux-stable commit
965505015beccc4ec900798070165875b8e8dccf

included in Linux 3.7.1 and has been superseded by xt_CT.

Signed-off-by: Eero Aaltonen 
---
 features/netfilter/netfilter.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/features/netfilter/netfilter.cfg b/features/netfilter/netfilter.cfg
index 4e8d1bb6..c581afd4 100644
--- a/features/netfilter/netfilter.cfg
+++ b/features/netfilter/netfilter.cfg
@@ -29,13 +29,13 @@ CONFIG_NF_CT_NETLINK=m
 CONFIG_NETFILTER_XTABLES=m
 CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
 CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
+CONFIG_NETFILTER_XT_TARGET_CT=m
 CONFIG_NETFILTER_XT_TARGET_DSCP=m
 CONFIG_NETFILTER_XT_TARGET_HL=m
 CONFIG_NETFILTER_XT_TARGET_LOG=m
 CONFIG_NETFILTER_XT_TARGET_MARK=m
 CONFIG_NETFILTER_XT_TARGET_NFLOG=m
 CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
-CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
 CONFIG_NETFILTER_XT_TARGET_TRACE=m
 CONFIG_NETFILTER_XT_TARGET_TCPMSS=m
 CONFIG_NETFILTER_XT_MATCH_COMMENT=m
-- 
2.25.1


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