<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arm64/kernel/cpu_errata.c, branch linux-5.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-07-22T07:34:04Z</updated>
<entry>
<title>arm64: Add missing sentinel to erratum_1463225</title>
<updated>2020-07-22T07:34:04Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2020-07-09T05:13:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5077daec9578714d954cf2db4d10b5e0e919b366'/>
<id>urn:sha1:5077daec9578714d954cf2db4d10b5e0e919b366</id>
<content type='text'>
[ Upstream commit 09c717c92b52df54918e12cbfe6a4658233fda69 ]

When the erratum_1463225 array was introduced a sentinel at the end was
missing thus causing a KASAN: global-out-of-bounds in
is_affected_midr_range_list on arm64 error.

Fixes: a9e821b89daa ("arm64: Add KRYO4XX gold CPU cores to erratum list 1463225 and 1418040")
Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Reviewed-by: Sai Prakash Ranjan &lt;saiprakash.ranjan@codeaurora.org&gt;
Link: https://lore.kernel.org/linux-arm-kernel/CA+G9fYs3EavpU89-rTQfqQ9GgxAMgMAk7jiiVrfP0yxj5s+Q6g@mail.gmail.com/
Link: https://lore.kernel.org/r/20200709051345.14544-1-f.fainelli@gmail.com
Signed-off-by: Will Deacon &lt;will@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>arm64: Add KRYO4XX silver CPU cores to erratum list 1530923 and 1024718</title>
<updated>2020-07-22T07:34:02Z</updated>
<author>
<name>Sai Prakash Ranjan</name>
</author>
<published>2020-06-30T18:00:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dcce640d5b12f709e12f00d68315e6fc2f979c86'/>
<id>urn:sha1:dcce640d5b12f709e12f00d68315e6fc2f979c86</id>
<content type='text'>
[ Upstream commit 9b23d95c539ebc5d6d6b5d6f20d2d7922384e76e ]

KRYO4XX silver/LITTLE CPU cores with revision r1p0 are affected by
erratum 1530923 and 1024718, so add them to the respective list.
The variant and revision bits are implementation defined and are
different from the their Cortex CPU counterparts on which they are
based on, i.e., r1p0 is equivalent to rdpe.

Signed-off-by: Sai Prakash Ranjan &lt;saiprakash.ranjan@codeaurora.org&gt;
Link: https://lore.kernel.org/r/7013e8a3f857ca7e82863cc9e34a614293d7f80c.1593539394.git.saiprakash.ranjan@codeaurora.org
Signed-off-by: Will Deacon &lt;will@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>arm64: Add KRYO4XX gold CPU cores to erratum list 1463225 and 1418040</title>
<updated>2020-07-22T07:34:02Z</updated>
<author>
<name>Sai Prakash Ranjan</name>
</author>
<published>2020-06-30T18:00:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=25a737bbe122bd2b804472e28a6282def402a9dd'/>
<id>urn:sha1:25a737bbe122bd2b804472e28a6282def402a9dd</id>
<content type='text'>
[ Upstream commit a9e821b89daa55cc940c546b124101939d3f0451 ]

KRYO4XX gold/big CPU core revisions r0p0 to r3p1 are affected by
erratum 1463225 and 1418040, so add them to the respective list.
The variant and revision bits are implementation defined and are
different from the their Cortex CPU counterparts on which they are
based on, i.e., (r0p0 to r3p1) is equivalent to (rcpe to rfpf).

Signed-off-by: Sai Prakash Ranjan &lt;saiprakash.ranjan@codeaurora.org&gt;
Link: https://lore.kernel.org/r/83780e80c6377c12ca51b5d53186b61241685e49.1593539394.git.saiprakash.ranjan@codeaurora.org
Signed-off-by: Will Deacon &lt;will@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>arm64: Add KRYO{3,4}XX silver CPU cores to SSB safelist</title>
<updated>2020-07-16T06:13:16Z</updated>
<author>
<name>Sai Prakash Ranjan</name>
</author>
<published>2020-06-25T10:31:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0bafbef3877a91e8185f448fc935cf84858d4621'/>
<id>urn:sha1:0bafbef3877a91e8185f448fc935cf84858d4621</id>
<content type='text'>
[ Upstream commit 108447fd0d1a34b0929cd26dc637c917a734ebab ]

QCOM KRYO{3,4}XX silver/LITTLE CPU cores are based on
Cortex-A55 and are SSB safe, hence add them to SSB
safelist -&gt; arm64_ssb_cpus[].

Reported-by: Stephen Boyd &lt;swboyd@chromium.org&gt;
Signed-off-by: Sai Prakash Ranjan &lt;saiprakash.ranjan@codeaurora.org&gt;
Reviewed-by: Douglas Anderson &lt;dianders@chromium.org&gt;
Link: https://lore.kernel.org/r/20200625103123.7240-1-saiprakash.ranjan@codeaurora.org
Signed-off-by: Will Deacon &lt;will@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>arm64: Mark call_smc_arch_workaround_1 as __maybe_unused</title>
<updated>2020-03-11T12:01:59Z</updated>
<author>
<name>Nathan Chancellor</name>
</author>
<published>2020-03-10T23:25:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9a25136a61179fe79689abf3c3fc67f89ce9ec13'/>
<id>urn:sha1:9a25136a61179fe79689abf3c3fc67f89ce9ec13</id>
<content type='text'>
When building allnoconfig:

arch/arm64/kernel/cpu_errata.c:174:13: warning: unused function
'call_smc_arch_workaround_1' [-Wunused-function]
static void call_smc_arch_workaround_1(void)
            ^
1 warning generated.

Follow arch/arm and mark this function as __maybe_unused.

Fixes: 4db61fef16a1 ("arm64: kvm: Modernize __smccc_workaround_1_smc_start annotations")
Signed-off-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64: kvm: Modernize __smccc_workaround_1_smc_start annotations</title>
<updated>2020-03-09T17:35:43Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2020-02-18T19:58:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4db61fef16a104f94bde24fe163064b98cee6b7c'/>
<id>urn:sha1:4db61fef16a104f94bde24fe163064b98cee6b7c</id>
<content type='text'>
In an effort to clarify and simplify the annotation of assembly functions
in the kernel new macros have been introduced. These replace ENTRY and
ENDPROC with separate annotations for standard C callable functions,
data and code with different calling conventions.

Using these for __smccc_workaround_1_smc is more involved than for most
symbols as this symbol is annotated quite unusually, rather than just have
the explicit symbol we define _start and _end symbols which we then use to
compute the length. This does not play at all nicely with the new style
macros. Instead define a constant for the size of the function and use that
in both the C code and for .org based size checks in the assembly code.

Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Acked-by: Marc Zyngier &lt;maz@kernel.org&gt;
</content>
</entry>
<entry>
<title>arm64: kvm: Modernize annotation for __bp_harden_hyp_vecs</title>
<updated>2020-03-09T17:35:35Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2020-02-18T19:58:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e52aab9015277c39c6f03a76a7e9487370013f8'/>
<id>urn:sha1:6e52aab9015277c39c6f03a76a7e9487370013f8</id>
<content type='text'>
We have recently introduced new macros for annotating assembly symbols
for things that aren't C functions, SYM_CODE_START() and SYM_CODE_END(),
in an effort to clarify and simplify our annotations of assembly files.

Using these for __bp_harden_hyp_vecs is more involved than for most symbols
as this symbol is annotated quite unusually as rather than just have the
explicit symbol we define _start and _end symbols which we then use to
compute the length. This does not play at all nicely with the new style
macros. Since the size of the vectors is a known constant which won't vary
the simplest thing to do is simply to drop the separate _start and _end
symbols and just use a #define for the size.

Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Acked-by: Marc Zyngier &lt;maz@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-next/errata' into for-next/core</title>
<updated>2020-01-22T11:35:05Z</updated>
<author>
<name>Will Deacon</name>
</author>
<published>2020-01-22T11:35:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab3906c53144837f1a192b5c3ba71ec2f938c187'/>
<id>urn:sha1:ab3906c53144837f1a192b5c3ba71ec2f938c187</id>
<content type='text'>
* for-next/errata: (3 commits)
  arm64: Workaround for Cortex-A55 erratum 1530923
  ...
</content>
</entry>
<entry>
<title>arm64: Add KRYO{3,4}XX CPU cores to spectre-v2 safe list</title>
<updated>2020-01-17T12:46:41Z</updated>
<author>
<name>Sai Prakash Ranjan</name>
</author>
<published>2020-01-16T20:03:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=83b0c36b8a136042aa9209fc9ca2fab31d5fbe7c'/>
<id>urn:sha1:83b0c36b8a136042aa9209fc9ca2fab31d5fbe7c</id>
<content type='text'>
The "silver" KRYO3XX and KRYO4XX CPU cores are not affected by Spectre
variant 2. Add them to spectre_v2 safe list to correct the spurious
ARM_SMCCC_ARCH_WORKAROUND_1 warning and vulnerability status reported
under sysfs.

Reviewed-by: Stephen Boyd &lt;swboyd@chromium.org&gt;
Tested-by: Stephen Boyd &lt;swboyd@chromium.org&gt;
Signed-off-by: Sai Prakash Ranjan &lt;saiprakash.ranjan@codeaurora.org&gt;
[will: tweaked commit message to remove stale mention of "gold" cores]
Signed-off-by: Will Deacon &lt;will@kernel.org&gt;
</content>
</entry>
<entry>
<title>arm64: Workaround for Cortex-A55 erratum 1530923</title>
<updated>2020-01-16T10:44:14Z</updated>
<author>
<name>Steven Price</name>
</author>
<published>2019-12-16T11:56:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=275fa0ea2cf7a84450f9c0ec0d9e7ec168ed2e2d'/>
<id>urn:sha1:275fa0ea2cf7a84450f9c0ec0d9e7ec168ed2e2d</id>
<content type='text'>
Cortex-A55 erratum 1530923 allows TLB entries to be allocated as a
result of a speculative AT instruction. This may happen in the middle of
a guest world switch while the relevant VMSA configuration is in an
inconsistent state, leading to erroneous content being allocated into
TLBs.

The same workaround as is used for Cortex-A76 erratum 1165522
(WORKAROUND_SPECULATIVE_AT_VHE) can be used here. Note that this
mandates the use of VHE on affected parts.

Acked-by: Marc Zyngier &lt;maz@kernel.org&gt;
Signed-off-by: Steven Price &lt;steven.price@arm.com&gt;
Signed-off-by: Will Deacon &lt;will@kernel.org&gt;
</content>
</entry>
</feed>
