[SRU][o/n/j:azure][PATCH 0/1] net: mana: Add support for page sizes other than 4KB on ARM64

John Cabaj john.cabaj at canonical.com
Tue Jun 25 21:09:17 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/2070402

[Impact]

* Request from MSFT to add MANA support for page sizes other than 4KB

[Fix]

* Clean cherry pick from linux-next, 382d1741b5b2: "net: mana: Add support for page sizes other than 4KB on ARM64"
* Uses MANA_PAGE_SIZE, which defaults to 4KB, rather than PAGE_SIZE which is tied to platform page size

[Test Plan]

* Compile tested
* Boot tested
* Module loaded

[Regression potential]

* Changes isolated, minimal regression risk
* Functionally equivalent, simply changing the origin of defines

[Other info]

* SF #00388152

Haiyang Zhang (1):
  net: mana: Add support for page sizes other than 4KB on ARM64

 drivers/net/ethernet/microsoft/Kconfig            |  2 +-
 drivers/net/ethernet/microsoft/mana/gdma_main.c   | 10 +++++-----
 drivers/net/ethernet/microsoft/mana/hw_channel.c  | 14 +++++++-------
 drivers/net/ethernet/microsoft/mana/mana_en.c     |  8 ++++----
 drivers/net/ethernet/microsoft/mana/shm_channel.c | 13 +++++++------
 include/net/mana/gdma.h                           | 10 +++++++++-
 include/net/mana/mana.h                           |  3 ++-
 7 files changed, 35 insertions(+), 25 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list