Skip to content

Commit

Permalink
net: mana: Enable MANA driver on ARM64 with 4K page size
Browse files Browse the repository at this point in the history
Change the Kconfig dependency, so this driver can be built and run on ARM64
with 4K page size.
16/64K page sizes are not supported yet.

Signed-off-by: Haiyang Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
haiyangz authored and kuba-moo committed May 14, 2024
1 parent 86348d2 commit 40a1d11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/ethernet/microsoft/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ if NET_VENDOR_MICROSOFT

config MICROSOFT_MANA
tristate "Microsoft Azure Network Adapter (MANA) support"
depends on PCI_MSI && X86_64
depends on PCI_MSI
depends on X86_64 || (ARM64 && !CPU_BIG_ENDIAN && ARM64_4K_PAGES)
depends on PCI_HYPERV
select AUXILIARY_BUS
select PAGE_POOL
Expand Down

0 comments on commit 40a1d11

Please sign in to comment.