[kvalo-ath:master-pending] BUILD SUCCESS ebbdaef16a808f08f6e16acb2d0ed988bb0edf42

2024-04-11 Thread kernel test robot
alldefconfig gcc i386 allmodconfig gcc i386 allnoconfig gcc i386 allyesconfig gcc i386 buildonly-randconfig-001-20240411 clang i386 buildonly-randconfig-002-20240411 clang i386

[kvalo-ath:pending] BUILD SUCCESS 1c55726f32ed5ca0572ad271f45942b9464d9585

2024-04-11 Thread kernel test robot
buildonly-randconfig-001-20240411 clang i386 buildonly-randconfig-002-20240411 clang i386 buildonly-randconfig-003-20240411 clang i386 buildonly-randconfig-004-20240411 clang i386 buildonly-randconfig-005-20240411 clang i386 buildonly-randconfig

Issue with ATH10K driver on sunxi platform using sdio

2024-04-11 Thread Lukas Schmid
Hi, I am trying to use an QCA9377-3 based module on a custom board based around an Allwinner V3s SoC. The modules are loaded correctly, the module is detected and scanning for networks works. However when trying to connect to a network, I get the following message about an unaligned

[PATCH net-next v6 10/10] wifi: ath11k: allocate dummy net_device dynamically

2024-04-11 Thread Breno Leitao
Embedding net_device into structures prohibits the usage of flexible arrays in the net_device structure. For more details, see the discussion at [1]. Un-embed the net_device from struct ath11k_ext_irq_grp by converting it into a pointer. Then use the leverage alloc_netdev() to allocate the

[PATCH net-next v6 07/10] net: ibm/emac: allocate dummy net_device dynamically

2024-04-11 Thread Breno Leitao
Embedding net_device into structures prohibits the usage of flexible arrays in the net_device structure. For more details, see the discussion at [1]. Un-embed the net_device from the private struct by converting it into a pointer. Then use the leverage the new alloc_netdev_dummy() helper to

[PATCH net-next v6 09/10] wifi: ath10k: allocate dummy net_device dynamically

2024-04-11 Thread Breno Leitao
Embedding net_device into structures prohibits the usage of flexible arrays in the net_device structure. For more details, see the discussion at [1]. Un-embed the net_device from struct ath10k by converting it into a pointer. Then use the leverage alloc_netdev() to allocate the net_device object

[PATCH net-next v6 05/10] net: mediatek: mtk_eth_sock: allocate dummy net_device dynamically

2024-04-11 Thread Breno Leitao
Embedding net_device into structures prohibits the usage of flexible arrays in the net_device structure. For more details, see the discussion at [1]. Un-embed the net_device from the private struct by converting it into a pointer. Then use the leverage the new alloc_netdev_dummy() helper to

[PATCH net-next v6 08/10] wifi: qtnfmac: Use netdev dummy allocator helper

2024-04-11 Thread Breno Leitao
There is a new dummy netdev allocator, use it instead of alloc_netdev()/init_dummy_netdev combination. Using alloc_netdev() with init_dummy_netdev might cause some memory corruption at the driver removal side. Fixes: 61cdb09ff760 ("wifi: qtnfmac: allocate dummy net_device dynamically")

[PATCH net-next v6 04/10] net: marvell: prestera: allocate dummy net_device dynamically

2024-04-11 Thread Breno Leitao
Embedding net_device into structures prohibits the usage of flexible arrays in the net_device structure. For more details, see the discussion at [1]. Un-embed the net_device from the private struct by converting it into a pointer. Then use the leverage the new alloc_netdev_dummy() helper to

[PATCH net-next v6 06/10] net: ipa: allocate dummy net_device dynamically

2024-04-11 Thread Breno Leitao
Embedding net_device into structures prohibits the usage of flexible arrays in the net_device structure. For more details, see the discussion at [1]. Un-embed the net_device from the private struct by converting it into a pointer. Then use the leverage the new alloc_netdev_dummy() helper to

[PATCH net-next v6 03/10] net: create a dummy net_device allocator

2024-04-11 Thread Breno Leitao
It is impossible to use init_dummy_netdev together with alloc_netdev() as the 'setup' argument. This is because alloc_netdev() initializes some fields in the net_device structure, and later init_dummy_netdev() memzero them all. This causes some problems as reported here:

[PATCH net-next v6 02/10] net: free_netdev: exit earlier if dummy

2024-04-11 Thread Breno Leitao
For dummy devices, exit earlier at free_netdev() instead of executing the whole function. This is necessary, because dummy devices are special, and shouldn't have the second part of the function executed. Otherwise reg_state, which is NETREG_DUMMY, will be overwritten and there will be no way to

[PATCH net-next v6 01/10] net: core: Fix documentation

2024-04-11 Thread Breno Leitao
Fix bad grammar in description of init_dummy_netdev() function. This topic showed up in the review of the "allocate dummy device dynamically" patch set. Suggested-by: Ido Schimmel Signed-off-by: Breno Leitao Reviewed-by: Ido Schimmel --- net/core/dev.c | 4 ++-- 1 file changed, 2

[PATCH net-next v6 00/10] allocate dummy device dynamically

2024-04-11 Thread Breno Leitao
struct net_device shouldn't be embedded into any structure, instead, the owner should use the private space to embed their state into net_device. But, in some cases the net_device is embedded inside the private structure, which blocks the usage of zero-length arrays inside net_device. Create a

Re: [PATCH net-next v5 00/10] allocate dummy device dynamically

2024-04-11 Thread Breno Leitao
On Thu, Apr 11, 2024 at 06:09:26AM -0700, Jakub Kicinski wrote: > On Wed, 10 Apr 2024 06:13:41 -0700 Breno Leitao wrote: > > wifi: ath11k: allocate dummy net_device dynamically > > Sorry Breno, I didn't notice earlier, patch 10 didn't make it > to the list. The series wasn't ingested by CI and

[kvalo-ath:ath-qca] BUILD SUCCESS 8e3376186426c31a313c2070722ea0ee7554df2a

2024-04-11 Thread kernel test robot
allnoconfig gcc arc allyesconfig gcc arc defconfig gcc arc haps_hs_defconfig gcc arc randconfig-001-20240411 gcc arc randconfig-002-20240411 gcc arm

Re: [PATCH net-next v5 00/10] allocate dummy device dynamically

2024-04-11 Thread Jakub Kicinski
On Wed, 10 Apr 2024 06:13:41 -0700 Breno Leitao wrote: > wifi: ath11k: allocate dummy net_device dynamically Sorry Breno, I didn't notice earlier, patch 10 didn't make it to the list. The series wasn't ingested by CI and tested because of this. Could you repost? -- pw-bot: cr

[kvalo-ath:master] BUILD SUCCESS 363e7193eaf258fe7f04e8db560bd8a282a12cd9

2024-04-11 Thread kernel test robot
allnoconfig gcc arc allyesconfig gcc arc defconfig gcc arc haps_hs_defconfig gcc arc randconfig-001-20240411 gcc arc randconfig-002-20240411 gcc arm

[kvalo-ath:ath-next] BUILD SUCCESS 4f242b1d6996af14f98cb1093d26cdacd6a83ad7

2024-04-11 Thread kernel test robot
allnoconfig gcc arc allyesconfig gcc arc defconfig gcc arc haps_hs_defconfig gcc arc randconfig-001-20240411 gcc arc randconfig-002

Re: [PATCH net-next v5 00/10] allocate dummy device dynamically

2024-04-11 Thread Kalle Valo
Breno Leitao writes: > struct net_device shouldn't be embedded into any structure, instead, > the owner should use the private space to embed their state into > net_device. > > But, in some cases the net_device is embedded inside the private > structure, which blocks the usage of zero-length