<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/coreboot/arm-trusted-firmware.git/Makefile, branch topics/clang-format</title>
<subtitle>review.coreboot.org: arm-trusted-firmware.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/'/>
<entry>
<title>build: communicate correct page size to linker</title>
<updated>2023-02-15T10:24:14+00:00</updated>
<author>
<name>Chris Kay</name>
<email>chris.kay@arm.com</email>
</author>
<published>2022-12-22T13:26:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=ac98b82a1f2e1ee323967a8a80e496e82ad9a832'/>
<id>ac98b82a1f2e1ee323967a8a80e496e82ad9a832</id>
<content type='text'>
This change communicates the common and maximum page sizes to the
linker, which allows us to use the built-in constants that it provides
to deal with page alignments.

We only support 4K pages today so the fact these are fixed is not too
much of an issue, but we will need to revisit this if we ever support
other page sizes.

Change-Id: I3358c51e70df794025ddf25209ae0e2a96550b0e
Signed-off-by: Chris Kay &lt;chris.kay@arm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change communicates the common and maximum page sizes to the
linker, which allows us to use the built-in constants that it provides
to deal with page alignments.

We only support 4K pages today so the fact these are fixed is not too
much of an issue, but we will need to revisit this if we ever support
other page sizes.

Change-Id: I3358c51e70df794025ddf25209ae0e2a96550b0e
Signed-off-by: Chris Kay &lt;chris.kay@arm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "fix(build): allow warnings when using lld" into integration</title>
<updated>2023-02-14T16:09:35+00:00</updated>
<author>
<name>Manish Pandey</name>
<email>manish.pandey2@arm.com</email>
</author>
<published>2023-02-14T16:09:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=be2a05058311855d8648d6682cd393ccf232a4e8'/>
<id>be2a05058311855d8648d6682cd393ccf232a4e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(pie): pass `-fpie` to the preprocessor as well</title>
<updated>2023-02-10T17:01:46+00:00</updated>
<author>
<name>Chris Kay</name>
<email>chris.kay@arm.com</email>
</author>
<published>2023-02-02T14:39:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=966660ecd0c8a3d6e4d18a5352bb431e71a9a793'/>
<id>966660ecd0c8a3d6e4d18a5352bb431e71a9a793</id>
<content type='text'>
When PIE is enabled, the `-fpie` flag is passed to the compiler but not
to the preprocessor. This change ensures that both tools are aware of
when the image is position-independent when preprocessing, which impacts
some pre-defined preprocessor definitions.

Change-Id: I5208a591d60ee01312f6bf3dd7343abe6535ee61
Signed-off-by: Chris Kay &lt;chris.kay@arm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When PIE is enabled, the `-fpie` flag is passed to the compiler but not
to the preprocessor. This change ensures that both tools are aware of
when the image is position-independent when preprocessing, which impacts
some pre-defined preprocessor definitions.

Change-Id: I5208a591d60ee01312f6bf3dd7343abe6535ee61
Signed-off-by: Chris Kay &lt;chris.kay@arm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(context-mgmt): enable SCXTNUM access</title>
<updated>2023-02-09T11:46:03+00:00</updated>
<author>
<name>Maksims Svecovs</name>
<email>maksims.svecovs@arm.com</email>
</author>
<published>2023-02-02T16:10:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=01cf14dd41cae9c68cb5e76a815747a0d2a19a4a'/>
<id>01cf14dd41cae9c68cb5e76a815747a0d2a19a4a</id>
<content type='text'>
Enable SCXTNUM_ELx access for lower ELs in non-secure state.
Make realm context setup take this build flag into account but enable it
by default when RME is used.

Signed-off-by: Maksims Svecovs &lt;maksims.svecovs@arm.com&gt;
Change-Id: Ieb0186b2fdffad464bb9316fc3973772c9c28cd0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enable SCXTNUM_ELx access for lower ELs in non-secure state.
Make realm context setup take this build flag into account but enable it
by default when RME is used.

Signed-off-by: Maksims Svecovs &lt;maksims.svecovs@arm.com&gt;
Change-Id: Ieb0186b2fdffad464bb9316fc3973772c9c28cd0
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(build): allow warnings when using lld</title>
<updated>2023-01-19T20:14:43+00:00</updated>
<author>
<name>Yabin Cui</name>
<email>yabinc@google.com</email>
</author>
<published>2023-01-19T20:06:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=ebac6922d1f6fc16c5d3953dfb512553001dcdd3'/>
<id>ebac6922d1f6fc16c5d3953dfb512553001dcdd3</id>
<content type='text'>
After https://reviews.llvm.org/D118840, ld.lld reports
below section type mismatch warnings:

  LD      trusted-firmware-a/build/qemu/release/bl1/bl1.elf
ld.lld: error: section type mismatch for base_xlat_table
&gt;&gt;&gt; trusted-firmware-a/build/qemu/release/bl1/xlat_tables_context.o:
    (base_xlat_table): SHT_PROGBITS
&gt;&gt;&gt; output section .bss: SHT_NOBITS

ld.lld: error: section type mismatch for xlat_table
&gt;&gt;&gt; trusted-firmware-a/build/qemu/release/bl1/xlat_tables_context.o:
    (xlat_table): SHT_PROGBITS
&gt;&gt;&gt; output section xlat_table: SHT_NOBITS

So allow warnings to make build pass.

Change-Id: I70503ad03b3be7a18ffe29ef6f2127c3f4d540f1
Signed-off-by: Yabin Cui &lt;yabinc@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After https://reviews.llvm.org/D118840, ld.lld reports
below section type mismatch warnings:

  LD      trusted-firmware-a/build/qemu/release/bl1/bl1.elf
ld.lld: error: section type mismatch for base_xlat_table
&gt;&gt;&gt; trusted-firmware-a/build/qemu/release/bl1/xlat_tables_context.o:
    (base_xlat_table): SHT_PROGBITS
&gt;&gt;&gt; output section .bss: SHT_NOBITS

ld.lld: error: section type mismatch for xlat_table
&gt;&gt;&gt; trusted-firmware-a/build/qemu/release/bl1/xlat_tables_context.o:
    (xlat_table): SHT_PROGBITS
&gt;&gt;&gt; output section xlat_table: SHT_NOBITS

So allow warnings to make build pass.

Change-Id: I70503ad03b3be7a18ffe29ef6f2127c3f4d540f1
Signed-off-by: Yabin Cui &lt;yabinc@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge changes from topic "bk/warnings" into integration</title>
<updated>2023-01-10T10:56:42+00:00</updated>
<author>
<name>Manish Pandey</name>
<email>manish.pandey2@arm.com</email>
</author>
<published>2023-01-10T10:56:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=601e2d4325a7def628990f4a25889f374c81ca06'/>
<id>601e2d4325a7def628990f4a25889f374c81ca06</id>
<content type='text'>
* changes:
  docs: describe the new warning levels
  build: add -Wunused-const-variable=2 to W=2
  build: include -Wextra in generic builds
  docs(porting-guide): update a reference
  fix(st-usb): replace redundant checks with asserts
  fix(brcm): add braces around bodies of conditionals
  fix(renesas): align incompatible function pointers
  fix(zynqmp): remove redundant api_version check
  fix: remove old-style declarations
  fix: unify fallthrough annotations
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* changes:
  docs: describe the new warning levels
  build: add -Wunused-const-variable=2 to W=2
  build: include -Wextra in generic builds
  docs(porting-guide): update a reference
  fix(st-usb): replace redundant checks with asserts
  fix(brcm): add braces around bodies of conditionals
  fix(renesas): align incompatible function pointers
  fix(zynqmp): remove redundant api_version check
  fix: remove old-style declarations
  fix: unify fallthrough annotations
</pre>
</div>
</content>
</entry>
<entry>
<title>build: add -Wunused-const-variable=2 to W=2</title>
<updated>2022-12-01T16:33:40+00:00</updated>
<author>
<name>Boyan Karatotev</name>
<email>boyan.karatotev@arm.com</email>
</author>
<published>2022-11-21T14:49:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=d141e638442ea37ae64b5ddd375349aaa1870c2d'/>
<id>d141e638442ea37ae64b5ddd375349aaa1870c2d</id>
<content type='text'>
TF-A is quite strict with warnings and redundant code. This flag
furthers this so it would be useful to have it. Add it to W=2 as it sets
off a few platforms which require a somewhat involved fix.

Signed-off-by: Boyan Karatotev &lt;boyan.karatotev@arm.com&gt;
Change-Id: Id52b3d477b4ada7dd69a36101ab22c575ab4ef19
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TF-A is quite strict with warnings and redundant code. This flag
furthers this so it would be useful to have it. Add it to W=2 as it sets
off a few platforms which require a somewhat involved fix.

Signed-off-by: Boyan Karatotev &lt;boyan.karatotev@arm.com&gt;
Change-Id: Id52b3d477b4ada7dd69a36101ab22c575ab4ef19
</pre>
</div>
</content>
</entry>
<entry>
<title>build: include -Wextra in generic builds</title>
<updated>2022-12-01T16:33:26+00:00</updated>
<author>
<name>Boyan Karatotev</name>
<email>boyan.karatotev@arm.com</email>
</author>
<published>2022-11-21T14:16:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=d75a9ecdaa8caa7f845297958a3f606b66bc2264'/>
<id>d75a9ecdaa8caa7f845297958a3f606b66bc2264</id>
<content type='text'>
TF-A is more strict with compiler warnings in comparison to other
projects (notably Linux) for security and -Wextra enables a lot of
desirable warnings. This patch enables -Wextra by default (from W=1
previously) and reorganises the warning levels so that they can useful
when enabled and not just a build failure. This will help us move
towards fixing the warnings that are too many to fix at once and
enabling all W={1, 2} warnings.

The warning levels get new meanings:
* W=1: warnings we want the generic build to include but are too time
  consuming to fix at the moment. They re-enable warnings taken out for
  generic builds.
* W=2: warnings we want the generic build to include but cannot be
  enabled due to external libraries.
* W=3: warnings that are informative but not necessary and generally too
  verbose and frequently ignored.

Quality expectations for new contributions mean that generally they
should have no warnings up to W=2. To allow code to be developed with
them in mind, -Werror is disabled when W=x is set. This way enabling
warnings will not just fail the build due to technicalities we have and
contributors will be able to actually see if they get any.

Signed-off-by: Boyan Karatotev &lt;boyan.karatotev@arm.com&gt;
Change-Id: Ieb15ddd635d458a956a34b0f9d0ea2f81b9c0745
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TF-A is more strict with compiler warnings in comparison to other
projects (notably Linux) for security and -Wextra enables a lot of
desirable warnings. This patch enables -Wextra by default (from W=1
previously) and reorganises the warning levels so that they can useful
when enabled and not just a build failure. This will help us move
towards fixing the warnings that are too many to fix at once and
enabling all W={1, 2} warnings.

The warning levels get new meanings:
* W=1: warnings we want the generic build to include but are too time
  consuming to fix at the moment. They re-enable warnings taken out for
  generic builds.
* W=2: warnings we want the generic build to include but cannot be
  enabled due to external libraries.
* W=3: warnings that are informative but not necessary and generally too
  verbose and frequently ignored.

Quality expectations for new contributions mean that generally they
should have no warnings up to W=2. To allow code to be developed with
them in mind, -Werror is disabled when W=x is set. This way enabling
warnings will not just fail the build due to technicalities we have and
contributors will be able to actually see if they get any.

Signed-off-by: Boyan Karatotev &lt;boyan.karatotev@arm.com&gt;
Change-Id: Ieb15ddd635d458a956a34b0f9d0ea2f81b9c0745
</pre>
</div>
</content>
</entry>
<entry>
<title>build: restrict usage of CTX_INCLUDE_EL2_REGS</title>
<updated>2022-12-01T10:04:40+00:00</updated>
<author>
<name>Govindraj Raja</name>
<email>govindraj.raja@arm.com</email>
</author>
<published>2022-11-21T13:10:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=f1910cc178fe1488e30f66aa9a4f9e450b955eb1'/>
<id>f1910cc178fe1488e30f66aa9a4f9e450b955eb1</id>
<content type='text'>
CTX_INCLUDE_EL2_REGS is used to save/restore EL2 registers and
it should be only used when there is SPMD or RME enabled.

Make CTX_INCLUDE_EL2_REGS an internal macro and remove
from documentation.

Signed-off-by: Govindraj Raja &lt;govindraj.raja@arm.com&gt;
Change-Id: I6a70edfd88163423ff0482de094601cf794246d6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CTX_INCLUDE_EL2_REGS is used to save/restore EL2 registers and
it should be only used when there is SPMD or RME enabled.

Make CTX_INCLUDE_EL2_REGS an internal macro and remove
from documentation.

Signed-off-by: Govindraj Raja &lt;govindraj.raja@arm.com&gt;
Change-Id: I6a70edfd88163423ff0482de094601cf794246d6
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(changelog): changelog for v2.8 release</title>
<updated>2022-11-16T20:10:49+00:00</updated>
<author>
<name>laurenw-arm</name>
<email>lauren.wehrmeister@arm.com</email>
</author>
<published>2022-11-15T16:15:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=0fa7fe59f3a34cb16e390da9bdd290a52005d450'/>
<id>0fa7fe59f3a34cb16e390da9bdd290a52005d450</id>
<content type='text'>
Change-Id: I1d99ea46ad527993ee786c34a67f94d74470f960
Signed-off-by: Lauren Wehrmeister &lt;lauren.wehrmeister@arm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I1d99ea46ad527993ee786c34a67f94d74470f960
Signed-off-by: Lauren Wehrmeister &lt;lauren.wehrmeister@arm.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
