> -----Original Message-----
> From: Rasmus Villemoes <rasmus.villem...@prevas.dk>
> Sent: Tuesday, January 19, 2021 9:08 AM
> To: netdev@vger.kernel.org
> Cc: Leo Li <leoyang...@nxp.com>; David S . Miller <da...@davemloft.net>;
> Qiang Zhao <qiang.z...@nxp.com>; Andrew Lunn <and...@lunn.ch>;
> Christophe Leroy <christophe.le...@csgroup.eu>; Jakub Kicinski
> <k...@kernel.org>; jo...@infinera.com <joakim.tjernl...@infinera.com>;
> Rasmus Villemoes <rasmus.villem...@prevas.dk>
> Subject: [PATCH net-next v2 00/17] ucc_geth improvements
>
> This is a resend of some improvements to the ucc_geth driver that was
> previously sent together with bug fixes, which have by now been applied.
>
> Li Yang, if you don't speak up, I'm going to assume you're fine with
> 2,3,4 being taken through the net tree?
I'm fine with them going through the net tree.
>
> v2: rebase to net/master; address minor style issues; don't introduce a use-
> after-free in patch "don't statically allocate eight ucc_geth_info".
>
> Rasmus Villemoes (17):
> ethernet: ucc_geth: remove unused read of temoder field
> soc: fsl: qe: make cpm_muram_offset take a const void* argument
> soc: fsl: qe: store muram_vbase as a void pointer instead of u8
> soc: fsl: qe: add cpm_muram_free_addr() helper
> ethernet: ucc_geth: use qe_muram_free_addr()
> ethernet: ucc_geth: remove unnecessary memset_io() calls
> ethernet: ucc_geth: replace kmalloc+memset by kzalloc
> ethernet: ucc_geth: remove {rx,tx}_glbl_pram_offset from struct
> ucc_geth_private
> ethernet: ucc_geth: factor out parsing of {rx,tx}-clock{,-name}
> properties
> ethernet: ucc_geth: constify ugeth_primary_info
> ethernet: ucc_geth: don't statically allocate eight ucc_geth_info
> ethernet: ucc_geth: use UCC_GETH_{RX,TX}_BD_RING_ALIGNMENT
> macros
> directly
> ethernet: ucc_geth: remove bd_mem_part and all associated code
> ethernet: ucc_geth: replace kmalloc_array()+for loop by kcalloc()
> ethernet: ucc_geth: add helper to replace repeated switch statements
> ethernet: ucc_geth: inform the compiler that numQueues is always 1
> ethernet: ucc_geth: simplify rx/tx allocations
>
> drivers/net/ethernet/freescale/ucc_geth.c | 549 ++++++++--------------
> drivers/net/ethernet/freescale/ucc_geth.h | 6 -
> drivers/soc/fsl/qe/qe_common.c | 20 +-
> include/soc/fsl/qe/qe.h | 15 +-
> include/soc/fsl/qe/ucc_fast.h | 1 -
> 5 files changed, 209 insertions(+), 382 deletions(-)
>
> --
> 2.23.0