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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9929d2390810241827o4b0f525dt1e34b4f17ddad4a6@mail.gmail.com>
Date:	Fri, 24 Oct 2008 18:27:19 -0700
From:	"Jeff Kirsher" <jeffrey.t.kirsher@...el.com>
To:	jeff@...zik.org, davem@...emloft.net
Cc:	netdev@...r.kernel.org, linux-pci@...r.kernel.org,
	jbarnes@...tuousgeek.org, "Bruce Allan" <bruce.w.allan@...el.com>,
	"Jeff Kirsher" <jeffrey.t.kirsher@...el.com>
Subject: Re: [PATCH] [PCI] move ICHx GbE NVM write-protection from e1000e to PCI quirk

On Fri, Oct 24, 2008 at 6:13 PM, Jeff Kirsher
<jeffrey.t.kirsher@...el.com> wrote:
> From: Bruce Allan <bruce.w.allan@...el.com>
>
> The write-protection method being in the driver probe routine is called
> late in the boot sequence, and not at all if the driver is never loaded.
> By making it a PCI quirk the NVM is protected much earlier whether or not
> the driver is loaded.  The write-protection quirk can be disabled with a
> new kernel parameter in the unlikely event the NVM needs to be modified.
>
> Signed-off-by: Bruce Allan <bruce.w.allan@...el.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
> ---
>
>  Documentation/kernel-parameters.txt |    4 +
>  drivers/net/Makefile                |    1
>  drivers/net/e1000e/Makefile         |    1
>  drivers/net/e1000e/e1000.h          |    1
>  drivers/net/e1000e/ethtool.c        |    6 +
>  drivers/net/e1000e/ich8lan.c        |   93 +++-----------------
>  drivers/net/e1000e/ich8lan.h        |   68 +++++++++++++++
>  drivers/net/e1000e/netdev.c         |    4 -
>  drivers/net/e1000e/param.c          |   30 ------
>  drivers/net/e1000e/quirks.c         |  162 +++++++++++++++++++++++++++++++++++
>  10 files changed, 256 insertions(+), 114 deletions(-)
>  create mode 100644 drivers/net/e1000e/ich8lan.h
>  create mode 100644 drivers/net/e1000e/quirks.c
>
>

This PCI quirk is put in ./drivers/net/e1000e in order to share
defines and structs found in the driver source, and is only applicable
to ICHx GbE LOMs supported by that driver anyway.

-- 
Cheers,
Jeff
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ