Message ID | 20211109140152.3310657-4-stefanb@linux.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | tpm: Add missing ACPI device identification objects | expand |
On Tue, Nov 09, 2021 at 09:01:52AM -0500, Stefan Berger wrote: > The updated TPM related tables have the following additions: > > Device (TPM) > { > Name (_HID, "MSFT0101" /* TPM 2.0 Security Device */) // _HID: Hardware ID > + Name (_STR, "TPM 2.0 Device") // _STR: Description String > + Name (_UID, One) // _UID: Unique ID > Name (_STA, 0x0F) // _STA: Status > Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings > > Cc: Michael S. Tsirkin <mst@redhat.com> > Cc: Igor Mammedov <imammedo@redhat.com> > Cc: Ani Sinha <ani@anisinha.ca> > Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> > --- > tests/data/acpi/q35/DSDT.tis.tpm12 | Bin 0 -> 8900 bytes > tests/data/acpi/q35/DSDT.tis.tpm2 | Bin 0 -> 8921 bytes > tests/data/acpi/q35/TCPA.tis.tpm12 | Bin 0 -> 50 bytes > tests/data/acpi/q35/TPM2.tis.tpm2 | Bin 0 -> 76 bytes > tests/qtest/bios-tables-test-allowed-diff.h | 11 ----------- > 5 files changed, 11 deletions(-) A disadvantage to doing it like this is that git thinks it's ok to replace any empty file with this, so if acpi changed in any way git will happily resolve it replacing it with this version. > diff --git a/tests/data/acpi/q35/DSDT.tis.tpm12 b/tests/data/acpi/q35/DSDT.tis.tpm12 > index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..dc1c990496a8fb0fc268081a54c5af363bcd833f 100644 > GIT binary patch > literal 8900 > zcmb7KOKcm*8J^`sS}j-7lA<NQ5)qEmHV-(Ilvi6MExF5=EmA9zvXjsSSC-RCc8V;L > z7)W9SkQE?t475nXI_RYU9WX_2?V<M?Z4WKbgAWE0py;6mdI``=iy}r3R=<CSBhQc& > z5c9CyfA;(4pKo?&KWct?4X^pfV~iR9$gjBNMkfD)?`H5Z7-Mu!-%cfVmbJFMe5q|D > zA~B<N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dRe~(x > zK_JXh*91S-L*W-SU@IQd+;D&Z`@`U|9`Y69K#%V`M*OAChigR$?9kwpQPXHKF3|#+ > zhSYKhotk>5J>CzmK*JgMKY0AB89X!dmrKPDkCsk<{_opAfbY;WMvZ8929qfH0o}|V > F`#<HBYk2?w > > literal 0 > HcmV?d00001 > > diff --git a/tests/data/acpi/q35/DSDT.tis.tpm2 b/tests/data/acpi/q35/DSDT.tis.tpm2 > index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..1314a5d3dad1b7b9aff782e649058873c492acb0 100644 > GIT binary patch > literal 8921 > zcmb7KOKcm*8J^`sS}m8-lA<NQ5)+P-J{&ldlvi6MExF5=EmA9zb{=%Wm1Vb*og#}Q > zE|M4lWCciE11*xU4tgm-2Tajhd+5DJduf3ld@zs{MGrmn5}=nBMT{P-e*X+do*^k9 > z=3%-2?Dx$--|WtQ)co?AUhA(%88apeD{iHkExhQvS$qt}7@gC%Q;nTv?JciR?ih(k > z%xGUt@N*mrX6A9PaJp>#Vk7uC2;O)<FxEnL?i1(6xwY`!Yr#22pv&h%%c2vfINfO$ > zI_+)O^4)6A>{P0roxg3FX2%t0QL~fx8qDmRu6iu9JlR=ky0Pn*nCrc;(5uJ08>v~# > zY1jU?^yQJm-~0H5H}bch`|JnTFIh1F7V&N3dnu$ta3!#g1U=`Y?xyh$(fPH7-t0$R > zep$3RbR`U^<)$r~sH=tkrS|r-UL)`FF(&=GpL25y7?;~<rjA&L-=Am9rpcktZ+CWf > zelJd$^A>YzrchZlD}J#hRT|Jns@hu>zg1&4W4G@mSgd{3p?LO8vF>I4hS$kvp6)bT > zc@|Pj5K`0H+kxc-J^RCMz`8+VXQ$74(;s%%*w5E&_K*L@`>b!xh_R)t>G!5+EVu8m > z7-JaCV<%`dG~ey*gVkof!>1VOk6<W%wXqtp0?T$z%{&p6Kti>*pFCCY02cQsiqT_K > zGR=N#U)cy)zzm~ooM-3peKdk>?d@Z=mD9VdnOTixTJfVaL+$OwWxur``;LkGZD?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IFE@EuSsfG-jAY)nGkNy-;dde?1aIqo+o2|#czn|rjqjg > zPB39(-nFBB-Lh}l#(tD6zi}4nn@gSaM9jcIasFf{ZN{vKg$+GKPtg@p<$UM<EopC` > zD81kc4@|BWYp3x@EfN}qU3J7x+=<g0-8p&uEHCpFj?*1&Zzr0$oTwjTO1|05Ju3p- > zJ%hoRn+qO80TU;S@??phOwi*3%E`xCeofS4leK24g;zKg)tjwG5*M<ICvsWu!jCuC > zFQ9Rxx+_ZC>Rs7t`Tim*>8p3{SueM*9^;|!SL-GYe%ALJ{IE)Awd^vEDAWS9#O#;B > zq5ou{$f&KHIb&uPTYjlN)tmb0#s)UO`tUPcTwt%+%)fJQgALFN23kvIpC2*k#dM5j > z9A``EI6YpO;{Fb5vUabW5&y36tN;D|xkFF?uHHZPQ^)+}T(g%zEw-PETag_Dc6HI{ > zCl^jEvEJh-zDDq06PFm?)ijo14VSO1S=fN=8)1OquZE1Ip#1+`fTO6_ZW<xAU!##2 > z45O+oqSlKt?{4#w!RWk3kR?1FgjwpD;K%x?2BR=+#Y37K4iI2}6g<&KzG58c$vwx2 > zKfn2Ktq6e~8k{m}8ZE{pS|HPqS`MI7Q}49T`{8A2*aiQukAJm-XJ-F$x%9!|@|n;6 > YedqfyBbvsj5$(-l5+y&No7rdo2O|D&c>n+a > > literal 0 > HcmV?d00001 > > diff --git a/tests/data/acpi/q35/TCPA.tis.tpm12 b/tests/data/acpi/q35/TCPA.tis.tpm12 > index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..a56961b413e7715b3d60f9836d1c8f2f4c7347cb 100644 > GIT binary patch > literal 50 > qcmWG>4sbMLU|?V}a`Jcf2v%^42yj*a0!E-1hz+7a07U<12eAOxRtEt9 > > literal 0 > HcmV?d00001 > > diff --git a/tests/data/acpi/q35/TPM2.tis.tpm2 b/tests/data/acpi/q35/TPM2.tis.tpm2 > index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..fe0f05987be40f1c1742ae189df7821adc522fc0 100644 > GIT binary patch > literal 76 > wcmWFu@HO&bU|?Vob@F%i2v%^42yj*a0!E-1hz+8V0UI(0%m%6W&kkY&0CHRh0RR91 > > literal 0 > HcmV?d00001 > > diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h > index 9743422eee..dfb8523c8b 100644 > --- a/tests/qtest/bios-tables-test-allowed-diff.h > +++ b/tests/qtest/bios-tables-test-allowed-diff.h > @@ -1,12 +1 @@ > /* List of comma-separated changed AML files to ignore */ > -"tests/data/acpi/q35/APIC.tis.tpm2", > -"tests/data/acpi/q35/DSDT.tis.tpm12", > -"tests/data/acpi/q35/DSDT.tis.tpm2", > -"tests/data/acpi/q35/FACP.tis.tpm2", > -"tests/data/acpi/q35/FACS.tis.tpm2", > -"tests/data/acpi/q35/HPET.tis.tpm2", > -"tests/data/acpi/q35/MCFG.tis.tpm2", > -"tests/data/acpi/q35/TCPA.tis.dsl", > -"tests/data/acpi/q35/TCPA.tis.tpm12", > -"tests/data/acpi/q35/TPM2.tis.tpm2", > -"tests/data/acpi/q35/WAET.tis.tpm2", > -- > 2.31.1 > > >
On Tue, Nov 09, 2021 at 09:14:25AM -0500, Michael S. Tsirkin wrote: > On Tue, Nov 09, 2021 at 09:01:52AM -0500, Stefan Berger wrote: > > The updated TPM related tables have the following additions: > > > > Device (TPM) > > { > > Name (_HID, "MSFT0101" /* TPM 2.0 Security Device */) // _HID: Hardware ID > > + Name (_STR, "TPM 2.0 Device") // _STR: Description String > > + Name (_UID, One) // _UID: Unique ID > > Name (_STA, 0x0F) // _STA: Status > > Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings > > > > Cc: Michael S. Tsirkin <mst@redhat.com> > > Cc: Igor Mammedov <imammedo@redhat.com> > > Cc: Ani Sinha <ani@anisinha.ca> > > Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> > > --- > > tests/data/acpi/q35/DSDT.tis.tpm12 | Bin 0 -> 8900 bytes > > tests/data/acpi/q35/DSDT.tis.tpm2 | Bin 0 -> 8921 bytes > > tests/data/acpi/q35/TCPA.tis.tpm12 | Bin 0 -> 50 bytes > > tests/data/acpi/q35/TPM2.tis.tpm2 | Bin 0 -> 76 bytes > > tests/qtest/bios-tables-test-allowed-diff.h | 11 ----------- > > 5 files changed, 11 deletions(-) > > A disadvantage to doing it like this is that git thinks > it's ok to replace any empty file with this, so if acpi > changed in any way git will happily resolve it > replacing it with this version. Do we actually need to be storing these binary files in git at all ? IIUC, the test will do two things - memcmp the expected binary we store, against the new binary we generated. - if they differ, then disassemble both and report the differences in a user friendly-ish way What if we only stored the sha256 checksum of the binary *and* the dissasembled output in git, never the full binary. IIUC, that would give us the same level of diagnostic output from the test failures. The dissasembled output would then give us meaningful patches for reviewers to look at. The author wouldn't have to describe the difference in the commit message as Stefan has (helpfully) done here. Regards, Daniel
On Tue, Nov 9, 2021 at 8:00 PM Daniel P. Berrangé <berrange@redhat.com> wrote: > > On Tue, Nov 09, 2021 at 09:14:25AM -0500, Michael S. Tsirkin wrote: > > On Tue, Nov 09, 2021 at 09:01:52AM -0500, Stefan Berger wrote: > > > The updated TPM related tables have the following additions: > > > > > > Device (TPM) > > > { > > > Name (_HID, "MSFT0101" /* TPM 2.0 Security Device */) // _HID: Hardware ID > > > + Name (_STR, "TPM 2.0 Device") // _STR: Description String > > > + Name (_UID, One) // _UID: Unique ID > > > Name (_STA, 0x0F) // _STA: Status > > > Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings > > > > > > Cc: Michael S. Tsirkin <mst@redhat.com> > > > Cc: Igor Mammedov <imammedo@redhat.com> > > > Cc: Ani Sinha <ani@anisinha.ca> > > > Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> > > > --- > > > tests/data/acpi/q35/DSDT.tis.tpm12 | Bin 0 -> 8900 bytes > > > tests/data/acpi/q35/DSDT.tis.tpm2 | Bin 0 -> 8921 bytes > > > tests/data/acpi/q35/TCPA.tis.tpm12 | Bin 0 -> 50 bytes > > > tests/data/acpi/q35/TPM2.tis.tpm2 | Bin 0 -> 76 bytes > > > tests/qtest/bios-tables-test-allowed-diff.h | 11 ----------- > > > 5 files changed, 11 deletions(-) > > > > A disadvantage to doing it like this is that git thinks > > it's ok to replace any empty file with this, so if acpi > > changed in any way git will happily resolve it > > replacing it with this version. > > Do we actually need to be storing these binary files in git > at all ? > > IIUC, the test will do two things > > - memcmp the expected binary we store, against the new binary > we generated. > - if they differ, then disassemble both and report the > differences in a user friendly-ish way > > What if we only stored the sha256 checksum of the binary *and* > the dissasembled output in git, never the full binary. If you are going down that path, why need the sha256 at all? The test can disassemble the tables from qemu and only compare the disassembled ASL. > > IIUC, that would give us the same level of diagnostic output > from the test failures. The dissasembled output would then > give us meaningful patches for reviewers to look at. The > author wouldn't have to describe the difference in the > commit message as Stefan has (helpfully) done here. > > > > Regards, > Daniel > -- > |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| > |: https://libvirt.org -o- https://fstop138.berrange.com :| > |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| >
On Tue, Nov 09, 2021 at 08:26:11PM +0530, Ani Sinha wrote: > On Tue, Nov 9, 2021 at 8:00 PM Daniel P. Berrangé <berrange@redhat.com> wrote: > > > > On Tue, Nov 09, 2021 at 09:14:25AM -0500, Michael S. Tsirkin wrote: > > > On Tue, Nov 09, 2021 at 09:01:52AM -0500, Stefan Berger wrote: > > > > The updated TPM related tables have the following additions: > > > > > > > > Device (TPM) > > > > { > > > > Name (_HID, "MSFT0101" /* TPM 2.0 Security Device */) // _HID: Hardware ID > > > > + Name (_STR, "TPM 2.0 Device") // _STR: Description String > > > > + Name (_UID, One) // _UID: Unique ID > > > > Name (_STA, 0x0F) // _STA: Status > > > > Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings > > > > > > > > Cc: Michael S. Tsirkin <mst@redhat.com> > > > > Cc: Igor Mammedov <imammedo@redhat.com> > > > > Cc: Ani Sinha <ani@anisinha.ca> > > > > Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> > > > > --- > > > > tests/data/acpi/q35/DSDT.tis.tpm12 | Bin 0 -> 8900 bytes > > > > tests/data/acpi/q35/DSDT.tis.tpm2 | Bin 0 -> 8921 bytes > > > > tests/data/acpi/q35/TCPA.tis.tpm12 | Bin 0 -> 50 bytes > > > > tests/data/acpi/q35/TPM2.tis.tpm2 | Bin 0 -> 76 bytes > > > > tests/qtest/bios-tables-test-allowed-diff.h | 11 ----------- > > > > 5 files changed, 11 deletions(-) > > > > > > A disadvantage to doing it like this is that git thinks > > > it's ok to replace any empty file with this, so if acpi > > > changed in any way git will happily resolve it > > > replacing it with this version. > > > > Do we actually need to be storing these binary files in git > > at all ? > > > > IIUC, the test will do two things > > > > - memcmp the expected binary we store, against the new binary > > we generated. > > - if they differ, then disassemble both and report the > > differences in a user friendly-ish way > > > > What if we only stored the sha256 checksum of the binary *and* > > the dissasembled output in git, never the full binary. > > If you are going down that path, why need the sha256 at all? The test > can disassemble the tables from qemu and only compare the disassembled > ASL. We don't currently mandate 'iasl' as a dependancy. Currently we still run the tests, but without the pretty error message details. If we didn't have the sha256, we would either need iasl to be mandatory, or not run the test at all. Regards, Daniel
On Tue, Nov 09, 2021 at 02:29:26PM +0000, Daniel P. Berrangé wrote: > On Tue, Nov 09, 2021 at 09:14:25AM -0500, Michael S. Tsirkin wrote: > > On Tue, Nov 09, 2021 at 09:01:52AM -0500, Stefan Berger wrote: > > > The updated TPM related tables have the following additions: > > > > > > Device (TPM) > > > { > > > Name (_HID, "MSFT0101" /* TPM 2.0 Security Device */) // _HID: Hardware ID > > > + Name (_STR, "TPM 2.0 Device") // _STR: Description String > > > + Name (_UID, One) // _UID: Unique ID > > > Name (_STA, 0x0F) // _STA: Status > > > Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings > > > > > > Cc: Michael S. Tsirkin <mst@redhat.com> > > > Cc: Igor Mammedov <imammedo@redhat.com> > > > Cc: Ani Sinha <ani@anisinha.ca> > > > Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> > > > --- > > > tests/data/acpi/q35/DSDT.tis.tpm12 | Bin 0 -> 8900 bytes > > > tests/data/acpi/q35/DSDT.tis.tpm2 | Bin 0 -> 8921 bytes > > > tests/data/acpi/q35/TCPA.tis.tpm12 | Bin 0 -> 50 bytes > > > tests/data/acpi/q35/TPM2.tis.tpm2 | Bin 0 -> 76 bytes > > > tests/qtest/bios-tables-test-allowed-diff.h | 11 ----------- > > > 5 files changed, 11 deletions(-) > > > > A disadvantage to doing it like this is that git thinks > > it's ok to replace any empty file with this, so if acpi > > changed in any way git will happily resolve it > > replacing it with this version. > > Do we actually need to be storing these binary files in git > at all ? > > IIUC, the test will do two things > > - memcmp the expected binary we store, against the new binary > we generated. > - if they differ, then disassemble both and report the > differences in a user friendly-ish way Second if iasl is installed. > What if we only stored the sha256 checksum of the binary Hmm, point being? Same some space? > *and* > the dissasembled output in git, never the full binary. We used to. The issue is that dissasembled output depends very much on the disassembler. Disassembling both with the same tool is one way to address this. > IIUC, that would give us the same level of diagnostic output > from the test failures. The dissasembled output would then > give us meaningful patches for reviewers to look at. The > author wouldn't have to describe the difference in the > commit message as Stefan has (helpfully) done here. > > > > Regards, > Daniel > -- > |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| > |: https://libvirt.org -o- https://fstop138.berrange.com :| > |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
On Tue, Nov 09, 2021 at 08:26:11PM +0530, Ani Sinha wrote: > On Tue, Nov 9, 2021 at 8:00 PM Daniel P. Berrangé <berrange@redhat.com> wrote: > > > > On Tue, Nov 09, 2021 at 09:14:25AM -0500, Michael S. Tsirkin wrote: > > > On Tue, Nov 09, 2021 at 09:01:52AM -0500, Stefan Berger wrote: > > > > The updated TPM related tables have the following additions: > > > > > > > > Device (TPM) > > > > { > > > > Name (_HID, "MSFT0101" /* TPM 2.0 Security Device */) // _HID: Hardware ID > > > > + Name (_STR, "TPM 2.0 Device") // _STR: Description String > > > > + Name (_UID, One) // _UID: Unique ID > > > > Name (_STA, 0x0F) // _STA: Status > > > > Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings > > > > > > > > Cc: Michael S. Tsirkin <mst@redhat.com> > > > > Cc: Igor Mammedov <imammedo@redhat.com> > > > > Cc: Ani Sinha <ani@anisinha.ca> > > > > Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> > > > > --- > > > > tests/data/acpi/q35/DSDT.tis.tpm12 | Bin 0 -> 8900 bytes > > > > tests/data/acpi/q35/DSDT.tis.tpm2 | Bin 0 -> 8921 bytes > > > > tests/data/acpi/q35/TCPA.tis.tpm12 | Bin 0 -> 50 bytes > > > > tests/data/acpi/q35/TPM2.tis.tpm2 | Bin 0 -> 76 bytes > > > > tests/qtest/bios-tables-test-allowed-diff.h | 11 ----------- > > > > 5 files changed, 11 deletions(-) > > > > > > A disadvantage to doing it like this is that git thinks > > > it's ok to replace any empty file with this, so if acpi > > > changed in any way git will happily resolve it > > > replacing it with this version. > > > > Do we actually need to be storing these binary files in git > > at all ? > > > > IIUC, the test will do two things > > > > - memcmp the expected binary we store, against the new binary > > we generated. > > - if they differ, then disassemble both and report the > > differences in a user friendly-ish way > > > > What if we only stored the sha256 checksum of the binary *and* > > the dissasembled output in git, never the full binary. > > If you are going down that path, why need the sha256 at all? The test > can disassemble the tables from qemu and only compare the disassembled > ASL. The output isn't stable unfortunately, so it can't replace the binary.. However, the process of documenting what changed is quite fiddly, so I am open to including both the binary and the dis-assembled file. An issue is that iasl does not support all platforms that qemu supports, in particular the disassembler is broken on BE platforms. Not sure how big a deal that is ... > > > > IIUC, that would give us the same level of diagnostic output > > from the test failures. The dissasembled output would then > > give us meaningful patches for reviewers to look at. The > > author wouldn't have to describe the difference in the > > commit message as Stefan has (helpfully) done here. > > > > > > > > Regards, > > Daniel > > -- > > |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| > > |: https://libvirt.org -o- https://fstop138.berrange.com :| > > |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| > >
On Tue, Nov 09, 2021 at 11:05:28AM -0500, Michael S. Tsirkin wrote: > On Tue, Nov 09, 2021 at 02:29:26PM +0000, Daniel P. Berrangé wrote: > > On Tue, Nov 09, 2021 at 09:14:25AM -0500, Michael S. Tsirkin wrote: > > > On Tue, Nov 09, 2021 at 09:01:52AM -0500, Stefan Berger wrote: > > > > The updated TPM related tables have the following additions: > > > > > > > > Device (TPM) > > > > { > > > > Name (_HID, "MSFT0101" /* TPM 2.0 Security Device */) // _HID: Hardware ID > > > > + Name (_STR, "TPM 2.0 Device") // _STR: Description String > > > > + Name (_UID, One) // _UID: Unique ID > > > > Name (_STA, 0x0F) // _STA: Status > > > > Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings > > > > > > > > Cc: Michael S. Tsirkin <mst@redhat.com> > > > > Cc: Igor Mammedov <imammedo@redhat.com> > > > > Cc: Ani Sinha <ani@anisinha.ca> > > > > Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> > > > > --- > > > > tests/data/acpi/q35/DSDT.tis.tpm12 | Bin 0 -> 8900 bytes > > > > tests/data/acpi/q35/DSDT.tis.tpm2 | Bin 0 -> 8921 bytes > > > > tests/data/acpi/q35/TCPA.tis.tpm12 | Bin 0 -> 50 bytes > > > > tests/data/acpi/q35/TPM2.tis.tpm2 | Bin 0 -> 76 bytes > > > > tests/qtest/bios-tables-test-allowed-diff.h | 11 ----------- > > > > 5 files changed, 11 deletions(-) > > > > > > A disadvantage to doing it like this is that git thinks > > > it's ok to replace any empty file with this, so if acpi > > > changed in any way git will happily resolve it > > > replacing it with this version. > > > > Do we actually need to be storing these binary files in git > > at all ? > > > > IIUC, the test will do two things > > > > - memcmp the expected binary we store, against the new binary > > we generated. > > - if they differ, then disassemble both and report the > > differences in a user friendly-ish way > > Second if iasl is installed. > > > What if we only stored the sha256 checksum of the binary > > Hmm, point being? Same some space? > > > *and* > > the dissasembled output in git, never the full binary. > > We used to. The issue is that dissasembled output depends > very much on the disassembler. Disassembling both > with the same tool is one way to address this. Oh, so new isal releases can change the format, that's annoying :-( Regards, Daniel
On Tue, Nov 9, 2021 at 9:46 PM Daniel P. Berrangé <berrange@redhat.com> wrote: > > On Tue, Nov 09, 2021 at 11:05:28AM -0500, Michael S. Tsirkin wrote: > > On Tue, Nov 09, 2021 at 02:29:26PM +0000, Daniel P. Berrangé wrote: > > > On Tue, Nov 09, 2021 at 09:14:25AM -0500, Michael S. Tsirkin wrote: > > > > On Tue, Nov 09, 2021 at 09:01:52AM -0500, Stefan Berger wrote: > > > > > The updated TPM related tables have the following additions: > > > > > > > > > > Device (TPM) > > > > > { > > > > > Name (_HID, "MSFT0101" /* TPM 2.0 Security Device */) // _HID: Hardware ID > > > > > + Name (_STR, "TPM 2.0 Device") // _STR: Description String > > > > > + Name (_UID, One) // _UID: Unique ID > > > > > Name (_STA, 0x0F) // _STA: Status > > > > > Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings > > > > > > > > > > Cc: Michael S. Tsirkin <mst@redhat.com> > > > > > Cc: Igor Mammedov <imammedo@redhat.com> > > > > > Cc: Ani Sinha <ani@anisinha.ca> > > > > > Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> > > > > > --- > > > > > tests/data/acpi/q35/DSDT.tis.tpm12 | Bin 0 -> 8900 bytes > > > > > tests/data/acpi/q35/DSDT.tis.tpm2 | Bin 0 -> 8921 bytes > > > > > tests/data/acpi/q35/TCPA.tis.tpm12 | Bin 0 -> 50 bytes > > > > > tests/data/acpi/q35/TPM2.tis.tpm2 | Bin 0 -> 76 bytes > > > > > tests/qtest/bios-tables-test-allowed-diff.h | 11 ----------- > > > > > 5 files changed, 11 deletions(-) > > > > > > > > A disadvantage to doing it like this is that git thinks > > > > it's ok to replace any empty file with this, so if acpi > > > > changed in any way git will happily resolve it > > > > replacing it with this version. > > > > > > Do we actually need to be storing these binary files in git > > > at all ? > > > > > > IIUC, the test will do two things > > > > > > - memcmp the expected binary we store, against the new binary > > > we generated. > > > - if they differ, then disassemble both and report the > > > differences in a user friendly-ish way > > > > Second if iasl is installed. > > > > > What if we only stored the sha256 checksum of the binary > > > > Hmm, point being? Same some space? > > > > > *and* > > > the dissasembled output in git, never the full binary. > > > > We used to. The issue is that dissasembled output depends > > very much on the disassembler. Disassembling both > > with the same tool is one way to address this. > > Oh, so new isal releases can change the format, that's > annoying :-( Additionally, depending on iasl binary being used, some tables may or may not be properly interpreted or recognized. For example, the existing iasl binary that comes with the dostro does not recognize the new VIOT tables. One has to use a binary directly compiled from the upstream iasl repo at this time. > > Regards, > Daniel > -- > |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| > |: https://libvirt.org -o- https://fstop138.berrange.com :| > |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| >
On Tue, Nov 09, 2021 at 04:16:34PM +0000, Daniel P. Berrangé wrote: > On Tue, Nov 09, 2021 at 11:05:28AM -0500, Michael S. Tsirkin wrote: > > On Tue, Nov 09, 2021 at 02:29:26PM +0000, Daniel P. Berrangé wrote: > > > On Tue, Nov 09, 2021 at 09:14:25AM -0500, Michael S. Tsirkin wrote: > > > > On Tue, Nov 09, 2021 at 09:01:52AM -0500, Stefan Berger wrote: > > > > > The updated TPM related tables have the following additions: > > > > > > > > > > Device (TPM) > > > > > { > > > > > Name (_HID, "MSFT0101" /* TPM 2.0 Security Device */) // _HID: Hardware ID > > > > > + Name (_STR, "TPM 2.0 Device") // _STR: Description String > > > > > + Name (_UID, One) // _UID: Unique ID > > > > > Name (_STA, 0x0F) // _STA: Status > > > > > Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings > > > > > > > > > > Cc: Michael S. Tsirkin <mst@redhat.com> > > > > > Cc: Igor Mammedov <imammedo@redhat.com> > > > > > Cc: Ani Sinha <ani@anisinha.ca> > > > > > Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> > > > > > --- > > > > > tests/data/acpi/q35/DSDT.tis.tpm12 | Bin 0 -> 8900 bytes > > > > > tests/data/acpi/q35/DSDT.tis.tpm2 | Bin 0 -> 8921 bytes > > > > > tests/data/acpi/q35/TCPA.tis.tpm12 | Bin 0 -> 50 bytes > > > > > tests/data/acpi/q35/TPM2.tis.tpm2 | Bin 0 -> 76 bytes > > > > > tests/qtest/bios-tables-test-allowed-diff.h | 11 ----------- > > > > > 5 files changed, 11 deletions(-) > > > > > > > > A disadvantage to doing it like this is that git thinks > > > > it's ok to replace any empty file with this, so if acpi > > > > changed in any way git will happily resolve it > > > > replacing it with this version. > > > > > > Do we actually need to be storing these binary files in git > > > at all ? > > > > > > IIUC, the test will do two things > > > > > > - memcmp the expected binary we store, against the new binary > > > we generated. > > > - if they differ, then disassemble both and report the > > > differences in a user friendly-ish way > > > > Second if iasl is installed. > > > > > What if we only stored the sha256 checksum of the binary > > > > Hmm, point being? Same some space? > > > > > *and* > > > the dissasembled output in git, never the full binary. > > > > We used to. The issue is that dissasembled output depends > > very much on the disassembler. Disassembling both > > with the same tool is one way to address this. > > Oh, so new isal releases can change the format, that's > annoying :-( Well iasl never promised to generate exactly the same output for the same input. For example, at some point they started adding comments documenting the output. How stable it's been recently/on platforms we care about - I don't know. I'm fine with adding the disassembled files and seeing where does it lead us. > Regards, > Daniel > -- > |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| > |: https://libvirt.org -o- https://fstop138.berrange.com :| > |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
diff --git a/tests/data/acpi/q35/DSDT.tis.tpm12 b/tests/data/acpi/q35/DSDT.tis.tpm12 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..dc1c990496a8fb0fc268081a54c5af363bcd833f 100644 GIT binary patch literal 8900 zcmb7KOKcm*8J^`sS}j-7lA<NQ5)qEmHV-(Ilvi6MExF5=EmA9zvXjsSSC-RCc8V;L z7)W9SkQE?t475nXI_RYU9WX_2?V<M?Z4WKbgAWE0py;6mdI``=iy}r3R=<CSBhQc& z5c9CyfA;(4pKo?&KWct?4X^pfV~iR9$gjBNMkfD)?`H5Z7-Mu!-%cfVmbJFMe5q|D zA~B<NCBe^e$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|#+ zhSYKhotk>5J>CzmK*JgMKY0AB89X!dmrKPDkCsk<{_opAfbY;WMvZ8929qfH0o}|V F`#<HBYk2?w literal 0 HcmV?d00001 diff --git a/tests/data/acpi/q35/DSDT.tis.tpm2 b/tests/data/acpi/q35/DSDT.tis.tpm2 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..1314a5d3dad1b7b9aff782e649058873c492acb0 100644 GIT binary patch literal 8921 zcmb7KOKcm*8J^`sS}m8-lA<NQ5)+P-J{&ldlvi6MExF5=EmA9zb{=%Wm1Vb*og#}Q zE|M4lWCciE11*xU4tgm-2Tajhd+5DJduf3ld@zs{MGrmn5}=nBMT{P-e*X+do*^k9 z=3%-2?Dx$--|WtQ)co?AUhA(%88apeD{iHkExhQvS$qt}7@gC%Q;nTv?JciR?ih(k z%xGUt@N*mrX6A9PaJp>#Vk7uC2;O)<FxEnL?i1(6xwY`!Yr#22pv&h%%c2vfINfO$ zI_+)O^4)6A>{P0roxg3FX2%t0QL~fx8qDmRu6iu9JlR=ky0Pn*nCrc;(5uJ08>v~# zY1jU?^yQJm-~0H5H}bch`|JnTFIh1F7V&N3dnu$ta3!#g1U=`Y?xyh$(fPH7-t0$R zep$3RbR`U^<)$r~sH=tkrS|r-UL)`FF(&=GpL25y7?;~<rjA&L-=Am9rpcktZ+CWf zelJd$^A>YzrchZlD}J#hRT|Jns@hu>zg1&4W4G@mSgd{3p?LO8vF>I4hS$kvp6)bT zc@|Pj5K`0H+kxc-J^RCMz`8+VXQ$74(;s%%*w5E&_K*L@`>b!xh_R)t>G!5+EVu8m z7-JaCV<%`dG~ey*gVkof!>1VOk6<W%wXqtp0?T$z%{&p6Kti>*pFCCY02cQsiqT_K zGR=N#U)cy)zzm~ooM-3peKdk>?d@Z=mD9VdnOTixTJfVaL+$OwWxur``;LkGZD?4> zN|uc`qi;q{^XL}udC^^|?Q-HkV>ZWd?nduMnR(RVoJSiicXu?2!TsZ1hb&}<d6XHL zqI&B79Buh-vt=Z1*_Mf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g0-8p&uEHCpFj?*1&Zzr0$oTwjTO1|05Ju3p- zJ%hoRn+qO80TU;S@??phOwi*3%E`xCeofS4leK24g;zKg)tjwG5*M<ICvsWu!jCuC zFQ9Rxx+_ZC>Rs7t`Tim*>8p3{SueM*9^;|!SL-GYe%ALJ{IE)Awd^vEDAWS9#O#;B zq5ou{$f&KHIb&uPTYjlN)tmb0#s)UO`tUPcTwt%+%)fJQgALFN23kvIpC2*k#dM5j z9A``EI6YpO;{Fb5vUabW5&y36tN;D|xkFF?uHHZPQ^)+}T(g%zEw-PETag_Dc6HI{ zCl^jEvEJh-zDDq06PFm?)ijo14VSO1S=fN=8)1OquZE1Ip#1+`fTO6_ZW<xAU!##2 z45O+oqSlKt?{4#w!RWk3kR?1FgjwpD;K%x?2BR=+#Y37K4iI2}6g<&KzG58c$vwx2 zKfn2Ktq6e~8k{m}8ZE{pS|HPqS`MI7Q}49T`{8A2*aiQukAJm-XJ-F$x%9!|@|n;6 YedqfyBbvsj5$(-l5+y&No7rdo2O|D&c>n+a literal 0 HcmV?d00001 diff --git a/tests/data/acpi/q35/TCPA.tis.tpm12 b/tests/data/acpi/q35/TCPA.tis.tpm12 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..a56961b413e7715b3d60f9836d1c8f2f4c7347cb 100644 GIT binary patch literal 50 qcmWG>4sbMLU|?V}a`Jcf2v%^42yj*a0!E-1hz+7a07U<12eAOxRtEt9 literal 0 HcmV?d00001 diff --git a/tests/data/acpi/q35/TPM2.tis.tpm2 b/tests/data/acpi/q35/TPM2.tis.tpm2 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..fe0f05987be40f1c1742ae189df7821adc522fc0 100644 GIT binary patch literal 76 wcmWFu@HO&bU|?Vob@F%i2v%^42yj*a0!E-1hz+8V0UI(0%m%6W&kkY&0CHRh0RR91 literal 0 HcmV?d00001 diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h index 9743422eee..dfb8523c8b 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1,12 +1 @@ /* List of comma-separated changed AML files to ignore */ -"tests/data/acpi/q35/APIC.tis.tpm2", -"tests/data/acpi/q35/DSDT.tis.tpm12", -"tests/data/acpi/q35/DSDT.tis.tpm2", -"tests/data/acpi/q35/FACP.tis.tpm2", -"tests/data/acpi/q35/FACS.tis.tpm2", -"tests/data/acpi/q35/HPET.tis.tpm2", -"tests/data/acpi/q35/MCFG.tis.tpm2", -"tests/data/acpi/q35/TCPA.tis.dsl", -"tests/data/acpi/q35/TCPA.tis.tpm12", -"tests/data/acpi/q35/TPM2.tis.tpm2", -"tests/data/acpi/q35/WAET.tis.tpm2",
The updated TPM related tables have the following additions: Device (TPM) { Name (_HID, "MSFT0101" /* TPM 2.0 Security Device */) // _HID: Hardware ID + Name (_STR, "TPM 2.0 Device") // _STR: Description String + Name (_UID, One) // _UID: Unique ID Name (_STA, 0x0F) // _STA: Status Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Igor Mammedov <imammedo@redhat.com> Cc: Ani Sinha <ani@anisinha.ca> Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> --- tests/data/acpi/q35/DSDT.tis.tpm12 | Bin 0 -> 8900 bytes tests/data/acpi/q35/DSDT.tis.tpm2 | Bin 0 -> 8921 bytes tests/data/acpi/q35/TCPA.tis.tpm12 | Bin 0 -> 50 bytes tests/data/acpi/q35/TPM2.tis.tpm2 | Bin 0 -> 76 bytes tests/qtest/bios-tables-test-allowed-diff.h | 11 ----------- 5 files changed, 11 deletions(-)