<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-petitboot/lib/efi, branch master</title>
<subtitle>Blackbird™ petitboot sources</subtitle>
<id>https://git.raptorcs.com/git/talos-petitboot/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-petitboot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/'/>
<updated>2018-08-14T01:12:06+00:00</updated>
<entry>
<title>lib/efi: Move magic to implementation</title>
<updated>2018-08-14T01:12:06+00:00</updated>
<author>
<name>Geoff Levand</name>
<email>geoff@infradead.org</email>
</author>
<published>2018-08-10T17:29:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=8d8bafa6cf7d903200b2284298211be835bdf84e'/>
<id>urn:sha1:8d8bafa6cf7d903200b2284298211be835bdf84e</id>
<content type='text'>
efi_check_mount now does a magic number check by default, so
move the magic number related code from efivar.h to efivar.c.

Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>lib/efi: Add new struct efi_mount</title>
<updated>2018-08-14T01:12:02+00:00</updated>
<author>
<name>Geoff Levand</name>
<email>geoff@infradead.org</email>
</author>
<published>2018-08-10T17:29:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=15751f10a1368f56ca10b2bc84011253216103aa'/>
<id>urn:sha1:15751f10a1368f56ca10b2bc84011253216103aa</id>
<content type='text'>
To make it easier to manage EFI variables add a new struct efi_mount
that holds the path to the EFI file system mount and the EFI variable
name GUID. Update the lib/efi routines to use struct efi_mount.  Add
a new routine efi_check_mount based on the checks done in
platform-arm64.

This change to using struct efi_mount removes the static variable
efivarfs_path making the lib/efi routines stateless.

Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>lib/efi: Log operations to debug log</title>
<updated>2018-08-14T01:12:00+00:00</updated>
<author>
<name>Geoff Levand</name>
<email>geoff@infradead.org</email>
</author>
<published>2018-08-10T17:29:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=6f157d5e4154069174c6b6268a7f13bb48a74593'/>
<id>urn:sha1:6f157d5e4154069174c6b6268a7f13bb48a74593</id>
<content type='text'>
Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>lib/efi: Add EFI_DEFALT_ATTRIBUTES macro</title>
<updated>2018-08-14T01:11:57+00:00</updated>
<author>
<name>Geoff Levand</name>
<email>geoff@infradead.org</email>
</author>
<published>2018-08-10T17:29:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=a82b9c070a2acb99c81137cb0b6407244646276f'/>
<id>urn:sha1:a82b9c070a2acb99c81137cb0b6407244646276f</id>
<content type='text'>
For convenience, add a new efi data attributes macro
EFI_DEFALT_ATTRIBUTES.

Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>lib/efi: Add check for ioctl_iflags support</title>
<updated>2018-08-14T01:11:48+00:00</updated>
<author>
<name>Geoff Levand</name>
<email>geoff@infradead.org</email>
</author>
<published>2018-08-08T00:01:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=614843c3975578a9e5ee8451d00e6974c8326f75'/>
<id>urn:sha1:614843c3975578a9e5ee8451d00e6974c8326f75</id>
<content type='text'>
The efi tests may use a filesystem which does not support
ioctl_iflags.  Add a check and skip the ioctl_iflags
operations if not supported.

Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>lib/efi: Cleanup read/write routines</title>
<updated>2018-08-07T01:30:36+00:00</updated>
<author>
<name>Geoff Levand</name>
<email>geoff@infradead.org</email>
</author>
<published>2018-08-02T17:29:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=c3dfc9b7b91045172d460651c0309b09b0ab121a'/>
<id>urn:sha1:c3dfc9b7b91045172d460651c0309b09b0ab121a</id>
<content type='text'>
Make a new stucture struct efi_data to hold the info that describes
an efi variable.  Make a common routine efi_open that opens the efi
variable file.  Switch the efi get/set/del routines over to use
efi_open.

Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>lib/efi: Add new routines to access efi variables</title>
<updated>2018-08-07T01:30:36+00:00</updated>
<author>
<name>Ge Song</name>
<email>ge.song@hxt-semitech.com</email>
</author>
<published>2018-08-02T17:29:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=a915889b7fbbc4be11f9a37ea7afb5b3f3d41173'/>
<id>urn:sha1:a915889b7fbbc4be11f9a37ea7afb5b3f3d41173</id>
<content type='text'>
Provide methods to load/store petitboot's configuration on efi-based
platforms. A test case is also provided.

Signed-off-by: Ge Song &lt;ge.song@hxt-semitech.com&gt;
[Cleanup file comments, make efivarfs_path static.]
Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
</feed>
