Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fwts.15568 for openSUSE:Leap:15.2:Update checked in at 2021-01-22 12:22:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2:Update/fwts.15568 (Old) and /work/SRC/openSUSE:Leap:15.2:Update/.fwts.15568.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fwts.15568" Fri Jan 22 12:22:59 2021 rev:1 rq:864109 version:20.12.00 Changes: -------- New Changes file: --- /dev/null 2021-01-11 18:20:20.070723563 +0100 +++ /work/SRC/openSUSE:Leap:15.2:Update/.fwts.15568.new.28504/fwts.changes 2021-01-22 12:23:00.330506829 +0100 @@ -0,0 +1,1261 @@ +------------------------------------------------------------------- +Mon Jan 18 08:25:34 UTC 2021 - Martin Pluskal <[email protected]> + +- Add patch fixing bsc#1178442 bsc#1177992 + * acpi-pmtt-fix-infinite-loops-when-length-is-incorrectly-zero.diff + +------------------------------------------------------------------- +Fri Dec 18 06:45:25 UTC 2020 - Martin Pluskal <[email protected]> + +- Update to version 20.12.00: + * See provided changelog for detailed list of changes + +------------------------------------------------------------------- +Tue Dec 1 09:42:44 UTC 2020 - Martin Pluskal <[email protected]> + +- Fix broken source url and prepare done in previous changes + +------------------------------------------------------------------- +Mon Nov 30 14:47:38 CET 2020 - [email protected] + +- add patch fwts-fix-non-acpi.patch + fix build on non-acpi platforms like ppc64le and s390x + +------------------------------------------------------------------- +Fri Nov 27 17:33:03 CET 2020 - [email protected] + +- Update to version 20.11.00: + * See provided changelog for detailed list of changes + +------------------------------------------------------------------- +Tue Sep 22 11:51:22 UTC 2020 - Martin Pluskal <[email protected]> + +- Update to version 20.09.00: + * See provided changelog for detailed list of changes + +------------------------------------------------------------------- +Wed Aug 12 11:12:15 UTC 2020 - Martin Pluskal <[email protected]> + +- Update to version 20.07.00: + * See provided changelog for detailed list of changes + +------------------------------------------------------------------- +Tue Jul 21 10:28:57 UTC 2020 - Martin Pluskal <[email protected]> + +- Update to version 20.06.01: + * See provided changelog for detailed list of changes + +------------------------------------------------------------------- +Tue May 26 11:54:05 UTC 2020 - Martin Pluskal <[email protected]> + +- Update to version 20.05.00: + * See provided changelog for detailed list of changes + +------------------------------------------------------------------- +Wed May 13 07:45:59 UTC 2020 - Martin Pluskal <[email protected]> + +- Update to version 20.03.01: + * Small fixes + +------------------------------------------------------------------- +Thu Apr 2 07:22:40 UTC 2020 - Martin Pluskal <[email protected]> + +- Update to version 20.03.00: + * Plenty of changes + +------------------------------------------------------------------- +Mon Feb 3 14:40:05 UTC 2020 - Martin Pluskal <[email protected]> + +- Update to version 20.01.00: + * Plenty of changes + +------------------------------------------------------------------- +Mon Dec 9 12:42:18 UTC 2019 - Martin Pluskal <[email protected]> + +- Update to version 19.12.00: + * Plenty of changes + +------------------------------------------------------------------- +Thu Oct 3 08:15:15 UTC 2019 - Martin Pluskal <[email protected]> + +- Update to version 19.09.00: + * acpi/boot: skip ACPI BOOT test on UEFI systems. + * acpi: s3: fix typo from 6b94bb6a4b13e + * opal: add more bounds checking and zero pstates array + * fwtstest: boot-0001: sync with boot table check on efi firmware +- Changes for version 19.08.00: + * ACPICA: Update to version 20190816 + * auto-packager: mkpackage.sh: remove cosmic + * efi_runtime: enable KBUILD_MODPOST_WARN=y to workaround build failures + * ACPICA: Update to version 20190816 + * fwtstest: syntaxcheck-0001: update to keep in sync with ACPICA features + * README: Add package dependency notes for ARM64 + +------------------------------------------------------------------- +Tue Aug 13 08:07:06 UTC 2019 - Martin Pluskal <[email protected]> + +- Update to version 19.07.00: + * cpu/msr: add 3 more CPU IDs for IA32_silvermont_MSRs + * cpu/msr: check SGX & LMCE in IA32_FEATURE_CONTROL (3ah) + * cpu/msr: move TSC_ADJUST (3bh) to IA32_MSRs + * cpu/msr: add SMM_MONITOR_CTL (9bh) to IA32_MSRs + * cpu/msr: add MC*_CTL2 MSR registers + * cpu/msr: add VMX_VMFUNC MSR register + * cpu/msr: add MISC_ENABLE MSR to IA32_atom_MSRs + * cpu/msr: add MSR_PMG_IO_CAPTURE_BASE to IA32_silvermont_MSRs + * cpu/msr: add MSR_FEATURE_CONFIG to IA32_silvermont_MSRs + * cpu/msr: add MSR_TEMPERATURE_TARGET to IA32_silvermont_MSRs + * cpu/msr: add MSR_BBL_CR_CTL3 to IA32_silvermont_MSRs + * ACPICA: Update to version 20190703 + +------------------------------------------------------------------- +Tue Jul 23 10:15:09 UTC 2019 - Martin Pluskal <[email protected]> + +- Update to version 19.06.00: + * acpi/fadt: update latest FADT revision to 6.3 + * uefitime: add checking the EFI_UNSUPPORTED return code + * uefirtvariable: add checking the EFI_UNSUPPORTED return code + * uefirtmisc: add checking the EFI_UNSUPPORTED return code + +------------------------------------------------------------------- +Wed May 29 12:17:03 UTC 2019 - Martin Pluskal <[email protected]> + +- Update to version 19.05.00: + * ACPICA: Update to version 20190509 + * Add support for Hygon Dhyana CPU + * dmicheck: update supported SMBIOS version + * acpi/method: check full and battery power if acpi_video0 exists + * dmicheck: checks type length vs. SMBIOS versions + * dmicheck: add Type 1's Field 25 & 26 as used by kernel + * apic: apicedge: fix typo in error messages + * cpufreq: change from abort to skip when cpufreq cannot run + * kernel:version: change ACPI version to ACPICA version + * pci:crs: fix an indentation error + * acpi: s3: check sleep type for output messages + * snapcraft: update to core18 + * acpica: re-work fwts / iasl interface to work with latest ACPICA + * fwts-test: refresh syntaxcheck test output + * fwts-test/syntaxcheck: refresh syntaxcheck test output + * fwts_acpica: don't add in RSDP or null table entries to XSDT or RSDT (LP: #1829167) +- Changes for version 19.03.00: + * acpi: madt: Add support for ACPI 6.3 + * lib: fwts_acpi_tables: add a new function to check reserved values + * lib: fwts_acpi_tables: rename fwts_acpi_subtable_length_check + * srat: replace structure length checks by fwts_acpi_structure_length_check + * acpi: refactor all table length checks to fwts_acpi_table_length_check + * README: update installing fwts by "sudo make install" + * acpi/fadt: reject 5.0 tables with ARM specific attributes set + * acpi/iort: permit SMMU model values of 4 and 5 + * acpi/iort: fix error in SMMU node length check + * ACPICA: fix IASL building issues with gcc-9 and --as-needed linker option + +------------------------------------------------------------------- +Tue Mar 5 11:14:09 UTC 2019 - Martin Pluskal <[email protected]> + +- Update to version 19.02.00: + * klog.json: add an "IOAPIC .. not in IVRS" message + * utilities: kernelscan: add AMD iommu for IVRS errors + * acpi/method: check levels on full power and battery power + * acpi: add address space types according to mantis 1965 (ACPI 6.2b) + * acpi/pptt: check flags by revision (mantis 1870 for ACPI 6.2b) + * acpi: pdtt: update flags defintion according to mantis 1867 (ACPI 6.3) + * acpi/nfit: update memory mapping attributes (mantis 1873 for ACPI 6.3) + * acpi/hmat: update for hmat revision 2 (mantis 1914 for ACPI 6.3) + * acpi/madt: remove two reserved bytes (mantis 1934 for ACPI 6.3) + * acpi/madt: update for Local APIC Flags (mantis 1948 for ACPI 6.3) + * acpi/hmat: update System Locality Latency (mantis 1959 for ACPI 6.3) + * acpi/method: add tests for NVDIMM control methods for ACPI 6.3 + * acpiinfo: update ACPI and ACPICA versions + * acpi/srat: add test for Generic Initiator (mantis 1904 for ACPI 6.3) + * ACPICA: Update to version 20190215 + * acpi: fix a typo in comment + * fwts: fix up a handful of spelling mistakes + * efi_runtime: fix access_ok build issues on 5.0 kernels + * Makefiles: workaround address-of-packed-member warnings with gcc-9 + * acpica: utdecode: fix missing comma in array declaration AcpiGbl_GenericNotify + +------------------------------------------------------------------- +Thu Feb 14 13:22:58 UTC 2019 - Martin Pluskal <[email protected]> + +- Update to version 19.01.00: + * mtrr: check memory type above 4GB on AMD platforms + * ACPICA: Update to version 20190108 + * dmi: dmicheck: remove redundant new lines + * lib: fwts_ac_adapter: fix readdir(ac_power_dir) failing + * lib: fwts_ac_adapter: fix failing to find AC directory + * Update copyright year to 2019 + * mtrr: fix incorrect mask on amd_sys_conf + * sbbr: fadt: clean up major/minor version checking + * acpi/madt: clean up indentation issue, remove tab + * lib: fw_pm_method: move the sleep t_start time out of + logind_on_signal (LP: #1809096) +- Changes for version 18.12.00: + * ACPICA: Update to version 20181213 + * mtrr: allow uncached type for PCI prefetchable memory + * lib: disable /dev/mem access on aarch64 + * dmicheck: drop unaligned memcpy + * lib: drop fwts_memcpy_unaligned ++++ 1064 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Leap:15.2:Update/.fwts.15568.new.28504/fwts.changes New: ---- acpi-pmtt-fix-infinite-loops-when-length-is-incorrectly-zero.diff fwts-V20.12.00.tar.gz fwts-fix-non-acpi.patch fwts-no-compiletime.patch fwts.changes fwts.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fwts.spec ++++++ # # spec file for package fwts # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: fwts Version: 20.12.00 Release: 0 Summary: Firmware Test Suite License: GPL-2.0-or-later Group: Development/Tools/Other URL: https://wiki.ubuntu.com/Kernel/Reference/fwts Source0: https://fwts.ubuntu.com/release/%{name}-V%{version}.tar.gz # PATCH-FIX-OPENSUSE fwts-no-compiletime.patch Patch1: fwts-no-compiletime.patch # PATCH-FIX-OPENSUSE fwts-fix-non-acpi.patch Patch2: fwts-fix-non-acpi.patch # PATCH-FIX-UPSTREAM acpi-pmtt-fix-infinite-loops-when-length-is-incorrectly-zero.diff Patch3: acpi-pmtt-fix-infinite-loops-when-length-is-incorrectly-zero.diff BuildRequires: autoconf BuildRequires: automake BuildRequires: bison BuildRequires: flex BuildRequires: libfdt-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(bash-completion) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(json) BuildRequires: pkgconfig(libbsd) BuildRequires: pkgconfig(libpci) BuildRequires: pkgconfig(libpcre) Requires: bash-completion Recommends: acpica Recommends: dmidecode Recommends: pciutils %description The FirmWare Test Suite (fwts) is a tool to do automatic testing of a PC's firmware. There can be a lot of subtle or vexing Linux Kernel/firmware issues caused when firmware is buggy, so it's useful to have a tool that can automatically check for common BIOS and ACPI errors. Where possible the tool will give some form of advice on how to fix issues or workaround firmware issues. %prep %autosetup -c %{name}-V%{version} -p1 %build find . -name Makefile.am -exec sed -i "s|-Werror||g" {} + autoreconf -fiv %configure \ --disable-static %make_build %install %make_install find %{buildroot} -type f -name "*.la" -delete -print install -D -p -m 0644 data/klog.json %{buildroot}%{_datadir}/%{name}/klog.json install -D -p -m 0644 data/syntaxcheck.json %{buildroot}%{_datadir}/%{name}/syntaxcheck.json # There are no headers, so drop remaining development files rm -f "%{buildroot}/%{_libdir}/%{name}"/*.so %files %doc README README_ACPICA.txt README_SOURCE.txt ./data/README_JSON.txt %doc debian/changelog %{_bindir}/fwts %{_bindir}/kernelscan %{_libdir}/fwts %{_mandir}/man1/fwts-collect.1%{?ext_man} %{_mandir}/man1/fwts-frontend-text.1%{?ext_man} %{_mandir}/man1/fwts.1%{?ext_man} %{_datadir}/bash-completion/completions/fwts %dir %{_datadir}/%{name} %{_datadir}/fwts/clog.json %{_datadir}/fwts/klog.json %{_datadir}/fwts/syntaxcheck.json %{_datadir}/fwts/olog.json %changelog ++++++ acpi-pmtt-fix-infinite-loops-when-length-is-incorrectly-zero.diff ++++++ Index: fwts-20.12.00/src/acpi/pmtt/pmtt.c =================================================================== --- fwts-20.12.00.orig/src/acpi/pmtt/pmtt.c +++ fwts-20.12.00/src/acpi/pmtt/pmtt.c @@ -117,6 +117,14 @@ static void pmtt_controller_test(fwts_fr offset += sizeof(fwts_acpi_table_pmtt_domain) * entry->domain_count; header = (fwts_acpi_table_pmtt_header *) (((char *) entry) + offset); while (offset < entry->header.length) { + + if (header->length == 0) { + fwts_failed(fw, LOG_LEVEL_CRITICAL, + "PMTTBadSubtableLength", + "PMTT Controller has a subtable with zero length"); + break; + } + if (header->type == FWTS_ACPI_PMTT_TYPE_DIMM) { pmtt_physical_component_test(fw, (fwts_acpi_table_pmtt_physical_component *) header, passed); } else { @@ -145,7 +153,16 @@ static void pmtt_socket_test(fwts_framew offset = sizeof(fwts_acpi_table_pmtt_socket); header = (fwts_acpi_table_pmtt_header *) (((char *) entry) + offset); + while (offset < entry->header.length) { + + if (header->length == 0) { + fwts_failed(fw, LOG_LEVEL_CRITICAL, + "PMTTBadSubtableLength", + "PMTT Socket has a subtable with zero length"); + break; + } + if (header->type == FWTS_ACPI_PMTT_TYPE_CONTROLLER) { pmtt_controller_test(fw, (fwts_acpi_table_pmtt_controller *) header, passed); } else { ++++++ fwts-fix-non-acpi.patch ++++++ --- fwts-20.11.00/src/acpica/source/tools/acpiexec/aecommon.h 2020/11/27 15:57:25 1.1 +++ fwts-20.11.00/src/acpica/source/tools/acpiexec/aecommon.h 2020/11/27 15:57:41 @@ -201,11 +201,18 @@ } INIT_FILE_ENTRY; +#if defined(__x86_64__) || defined(__x86_64) || defined(__i386__) || defined(__i386) || defined(__aarch64__) || defined(__riscv) +extern BOOLEAN AcpiGbl_IgnoreErrors; +extern UINT8 AcpiGbl_RegionFillValue; +#else +#define VOID_FUNC(name) void name(void); +extern VOID_FUNC(AcpiGbl_IgnoreErrors) +extern VOID_FUNC(AcpiGbl_RegionFillValue) +#endif + extern BOOLEAN AcpiGbl_UseLocalFaultHandler; extern BOOLEAN AcpiGbl_VerboseHandlers; -extern BOOLEAN AcpiGbl_IgnoreErrors; extern BOOLEAN AcpiGbl_AbortLoopOnTimeout; -extern UINT8 AcpiGbl_RegionFillValue; extern INIT_FILE_ENTRY *AcpiGbl_InitEntries; extern UINT32 AcpiGbl_InitFileLineCount; extern UINT8 AcpiGbl_UseHwReducedFadt; ++++++ fwts-no-compiletime.patch ++++++ --- fwts-20.11.00/src/acpica/source/compiler/aslutils.c 2020/11/27 16:29:34 1.1 +++ fwts-20.11.00/src/acpica/source/compiler/aslutils.c 2020/11/27 16:29:50 @@ -596,7 +596,7 @@ /* Compiler name and version number */ FlPrintFile (FileId, "%s version %X [%s]\n\n", - ASL_COMPILER_NAME, (UINT32) ACPI_CA_VERSION, __DATE__); + ASL_COMPILER_NAME, (UINT32) ACPI_CA_VERSION); } /* Summary of main input and output files */
