Skip to content

x86, dmi: introduce and use dmi_get_bios_year()

Andy Shevchenko linux-pci 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 8 repliesIn review

Changes in v2 from the cover letter

- move the helper to be regular function (Bjorn, Rafael)
- fix a potential regression introduced in pci_acpi_crs_quirks() (Jean)
- adjust subject lines and commit message bodies (Bjorn)
- add tags (Bjorn, Jean)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4firmware: dmi_scan: Introduce the dmi_get_bios_year() helperdrivers/firmware/dmi_scan.c include/linux/dmi.h+13 -03 replies
2/4x86/PCI: Simplify code by using the new dmi_get_bios_year() helperarch/x86/pci/acpi.c arch/x86/pci/direct.c arch/x86/pci/mmconfig-shared.c+9 -151 reply
3/4ACPI / sleep: Simplify code by using the new dmi_get_bios_year() helperdrivers/acpi/sleep.c+1 -30 replies
4/4PCI: Simplify code by using the new dmi_get_bios_year() helperdrivers/pci/pci.c+1 -50 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBjorn HelgaasJean DelvareRafael J. Wysocki
SeriesR-b
1/4R-b
2/4A-b
3/4R-b
4/4A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/4] x86, dmi: introduce and use dmi_get_bios_year()

Introduce a new helper to extract a year from DMI BIOS date since there are most existing users do and newcomers would utilize as well.

Ingo, this is respin of the patches in x86/platform. I think, if it's possible to rebase, would be easier just to replace existing ones.

Otherwise I would reorganize them as a series of fixups.

Bjorn, Jean, Rafael, thank you for your reviews!

Since v1:
- move the helper to be regular function (Bjorn, Rafael)
- fix a potential regression introduced in pci_acpi_crs_quirks() (Jean)
- adjust subject lines and commit message bodies (Bjorn)
- add tags (Bjorn, Jean)

Andy Shevchenko (4):
firmware: dmi_scan: Introduce the dmi_get_bios_year() helper x86/PCI: Simplify code by using the new dmi_get_bios_year() helper ACPI / sleep: Simplify code by using the new dmi_get_bios_year()
helper
PCI: Simplify code by using the new dmi_get_bios_year() helper

 arch/x86/pci/acpi.c            | 10 +++++-----
 arch/x86/pci/direct.c          |  5 ++---
 arch/x86/pci/mmconfig-shared.c |  9 ++-------
 drivers/acpi/sleep.c           |  4 +---
 drivers/firmware/dmi_scan.c    | 11 +++++++++++
 drivers/pci/pci.c              |  6 +-----
 include/linux/dmi.h            |  2 ++
 7 files changed, 24 insertions(+), 23 deletions(-)
Signature · 1 line
2.16.1