lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231128002648.320892-1-jfraker@google.com>
Date: Mon, 27 Nov 2023 16:26:43 -0800
From: John Fraker <jfraker@...gle.com>
To: netdev@...r.kernel.org
Cc: John Fraker <jfraker@...gle.com>
Subject: [PATCH net-next 0/5] gve: Add support for non-4k page sizes.

This patch series adds support for non-4k page sizes to the driver. Prior
to this patch series, the driver assumes a 4k page size in many small
ways, and will crash in a kernel compiled for a different page size.

This changeset aims to be a minimal changeset that unblocks certain arm
platforms with large page sizes.

John Fraker (5):
  gve: Perform adminq allocations through a dma_pool.
  gve: Deprecate adminq_pfn for pci revision 0x1.
  gve: Remove obsolete checks that rely on page size.
  gve: Add page size register to the register_page_list command.
  gve: Remove dependency on 4k page size.

 drivers/net/ethernet/google/gve/gve.h          |  8 +++-
 drivers/net/ethernet/google/gve/gve_adminq.c   | 88 ++++++++++++++++++++++++---------------
 drivers/net/ethernet/google/gve/gve_adminq.h   |  3 +-
 drivers/net/ethernet/google/gve/gve_ethtool.c  |  2 +-
 drivers/net/ethernet/google/gve/gve_main.c     |  4 +-
 drivers/net/ethernet/google/gve/gve_register.h |  9 ++++
 drivers/net/ethernet/google/gve/gve_rx.c       | 17 +++-----
 drivers/net/ethernet/google/gve/gve_tx.c       |  2 +-
 8 files changed, 81 insertions(+), 52 deletions(-)

-- 
2.43.0.rc1.413.gea7ed67945-goog


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ