* [PATCH 0/2] Platform integrity information in sysfs (version 9)
@ 2020-09-30 13:51 Daniel Gutson
2020-09-30 14:19 ` Greg Kroah-Hartman
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Gutson @ 2020-09-30 13:51 UTC (permalink / raw)
To: Daniel Gutson, Derek Kiernan, Tudor Ambarus, Miquel Raynal,
Richard Weinberger, Vignesh Raghavendra, Mika Westerberg,
Arnd Bergmann, Greg Kroah-Hartman, Mauro Carvalho Chehab,
linux-kernel, Richard Hughes, Alex Bazhaniuk, linux-mtd
This patch serie adds a misc kernel module and extends the intel-spi drivers
to publish platform integrity data in the sys-fs.
Please check the comments in the following patches of this serie for further
details.
Daniel Gutson (2):
Platform integrity information in sysfs (version 9)
This patch exports the BIOS Write Enable (bioswe), BIOS Lock Enable
(biosle), and the SMM BIOS Write Protect (SMM_BIOSWP) fields of the
BIOS Control register using the platform-integrity misc kernel
module. The idea is to keep adding more flags, not only from the BC
but also from other registers in following versions.
.../ABI/stable/sysfs-class-platform-integrity | 23 +++++
MAINTAINERS | 7 ++
drivers/misc/Kconfig | 11 +++
drivers/misc/Makefile | 1 +
drivers/misc/platform-integrity.c | 57 ++++++++++++
drivers/mtd/spi-nor/controllers/Kconfig | 1 +
.../mtd/spi-nor/controllers/intel-spi-pci.c | 75 +++++++++++++++-
.../spi-nor/controllers/intel-spi-platform.c | 2 +-
drivers/mtd/spi-nor/controllers/intel-spi.c | 90 ++++++++++++++++++-
drivers/mtd/spi-nor/controllers/intel-spi.h | 9 +-
include/linux/platform-integrity.h | 19 ++++
11 files changed, 288 insertions(+), 7 deletions(-)
create mode 100644 Documentation/ABI/stable/sysfs-class-platform-integrity
create mode 100644 drivers/misc/platform-integrity.c
create mode 100644 include/linux/platform-integrity.h
--
2.25.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] Platform integrity information in sysfs (version 9)
2020-09-30 13:51 [PATCH 0/2] Platform integrity information in sysfs (version 9) Daniel Gutson
@ 2020-09-30 14:19 ` Greg Kroah-Hartman
0 siblings, 0 replies; 4+ messages in thread
From: Greg Kroah-Hartman @ 2020-09-30 14:19 UTC (permalink / raw)
To: Daniel Gutson
Cc: Vignesh Raghavendra, Arnd Bergmann, Tudor Ambarus,
Mauro Carvalho Chehab, Richard Weinberger, Richard Hughes,
linux-kernel, linux-mtd, Miquel Raynal, Derek Kiernan,
Mika Westerberg, Alex Bazhaniuk
On Wed, Sep 30, 2020 at 10:51:01AM -0300, Daniel Gutson wrote:
> This patch serie adds a misc kernel module and extends the intel-spi drivers
> to publish platform integrity data in the sys-fs.
> Please check the comments in the following patches of this serie for further
> details.
>
> Daniel Gutson (2):
> Platform integrity information in sysfs (version 9)
> This patch exports the BIOS Write Enable (bioswe), BIOS Lock Enable
> (biosle), and the SMM BIOS Write Protect (SMM_BIOSWP) fields of the
> BIOS Control register using the platform-integrity misc kernel
> module. The idea is to keep adding more flags, not only from the BC
> but also from other registers in following versions.
You sent 2 patches with the identical subject line, yet they do
different things, you migth want to fix that...
thanks,
greg k-h
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] Platform integrity information in sysfs (version 9)
2020-09-30 16:37 Daniel Gutson
@ 2020-09-30 16:42 ` Daniel Gutson
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Gutson @ 2020-09-30 16:42 UTC (permalink / raw)
To: Daniel Gutson, Derek Kiernan, Tudor Ambarus, Miquel Raynal,
Richard Weinberger, Vignesh Raghavendra, Mika Westerberg,
Arnd Bergmann, Greg Kroah-Hartman, Mauro Carvalho Chehab,
linux-kernel, Richard Hughes, Alex Bazhaniuk, linux-mtd
Sorry, I forgot to restore
Tested-by: Richard Hughes <richard@hughsie.com>
which I removed for experimenting purposes with git-send-email.
On Wed, Sep 30, 2020 at 1:37 PM Daniel Gutson
<daniel.gutson@eclypsium.com> wrote:
>
> This patch serie adds a misc kernel module and extends the intel-spi drivers
> to publish platform integrity data in the sys-fs.
> Please check the comments in the following patches of this serie for further
> details.
>
> Daniel Gutson (2):
> Platform integrity information in sysfs (version 9)
> This patch exports the BIOS Write Enable (bioswe), BIOS Lock Enable
> (biosle), and the SMM BIOS Write Protect (SMM_BIOSWP) fields of the
> BIOS Control register using the platform-integrity misc kernel
> module. The idea is to keep adding more flags, not only from the BC
> but also from other registers in following versions.
>
> .../ABI/stable/sysfs-class-platform-integrity | 23 +++++
> MAINTAINERS | 7 ++
> drivers/misc/Kconfig | 11 +++
> drivers/misc/Makefile | 1 +
> drivers/misc/platform-integrity.c | 57 ++++++++++++
> drivers/mtd/spi-nor/controllers/Kconfig | 1 +
> .../mtd/spi-nor/controllers/intel-spi-pci.c | 75 +++++++++++++++-
> .../spi-nor/controllers/intel-spi-platform.c | 2 +-
> drivers/mtd/spi-nor/controllers/intel-spi.c | 90 ++++++++++++++++++-
> drivers/mtd/spi-nor/controllers/intel-spi.h | 9 +-
> include/linux/platform-integrity.h | 19 ++++
> 11 files changed, 288 insertions(+), 7 deletions(-)
> create mode 100644 Documentation/ABI/stable/sysfs-class-platform-integrity
> create mode 100644 drivers/misc/platform-integrity.c
> create mode 100644 include/linux/platform-integrity.h
>
> --
> 2.25.1
--
Daniel Gutson
Engineering Director
Eclypsium, Inc.
Below The Surface: Get the latest threat research and insights on
firmware and supply chain threats from the research team at Eclypsium.
https://eclypsium.com/research/#threatreport
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 0/2] Platform integrity information in sysfs (version 9)
@ 2020-09-30 16:37 Daniel Gutson
2020-09-30 16:42 ` Daniel Gutson
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Gutson @ 2020-09-30 16:37 UTC (permalink / raw)
To: Daniel Gutson, Derek Kiernan, Tudor Ambarus, Miquel Raynal,
Richard Weinberger, Vignesh Raghavendra, Mika Westerberg,
Arnd Bergmann, Greg Kroah-Hartman, Mauro Carvalho Chehab,
linux-kernel, Richard Hughes, Alex Bazhaniuk, linux-mtd
This patch serie adds a misc kernel module and extends the intel-spi drivers
to publish platform integrity data in the sys-fs.
Please check the comments in the following patches of this serie for further
details.
Daniel Gutson (2):
Platform integrity information in sysfs (version 9)
This patch exports the BIOS Write Enable (bioswe), BIOS Lock Enable
(biosle), and the SMM BIOS Write Protect (SMM_BIOSWP) fields of the
BIOS Control register using the platform-integrity misc kernel
module. The idea is to keep adding more flags, not only from the BC
but also from other registers in following versions.
.../ABI/stable/sysfs-class-platform-integrity | 23 +++++
MAINTAINERS | 7 ++
drivers/misc/Kconfig | 11 +++
drivers/misc/Makefile | 1 +
drivers/misc/platform-integrity.c | 57 ++++++++++++
drivers/mtd/spi-nor/controllers/Kconfig | 1 +
.../mtd/spi-nor/controllers/intel-spi-pci.c | 75 +++++++++++++++-
.../spi-nor/controllers/intel-spi-platform.c | 2 +-
drivers/mtd/spi-nor/controllers/intel-spi.c | 90 ++++++++++++++++++-
drivers/mtd/spi-nor/controllers/intel-spi.h | 9 +-
include/linux/platform-integrity.h | 19 ++++
11 files changed, 288 insertions(+), 7 deletions(-)
create mode 100644 Documentation/ABI/stable/sysfs-class-platform-integrity
create mode 100644 drivers/misc/platform-integrity.c
create mode 100644 include/linux/platform-integrity.h
--
2.25.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-09-30 16:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-30 13:51 [PATCH 0/2] Platform integrity information in sysfs (version 9) Daniel Gutson
2020-09-30 14:19 ` Greg Kroah-Hartman
2020-09-30 16:37 Daniel Gutson
2020-09-30 16:42 ` Daniel Gutson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).