Re: [PATCH v2 1/7] sysfs/cpu: Add "Unknown" vulnerability state
From: Stefan Wahren
Date: Thu Jan 03 2019 - 14:30:53 EST
Hi Jeremy,
> Jeremy Linton <jeremy.linton@xxxxxxx> hat am 3. Januar 2019 um 17:46 geschrieben:
>
>
> Hi,
>
> On 01/03/2019 10:37 AM, Dave Martin wrote:
> > On Wed, Jan 02, 2019 at 06:49:15PM -0600, Jeremy Linton wrote:
> >> There is a lot of variation in the Arm ecosystem. Because of this,
> >> there exist possible cases where the kernel cannot authoritatively
> >> determine if a machine is vulnerable.
> >>
> >> Rather than guess the vulnerability status in cases where
> >> the mitigation is disabled or the firmware isn't responding
> >> correctly, we need to display an "Unknown" state.
> >>
i applied your patch series on linux-next-20190103. On my Raspberry Pi 3B+ (defconfig) i'm getting this from sysfs:
l1tf:Not affected
meltdown:Not affected
spec_store_bypass:Unknown
spectre_v1:Mitigation: __user pointer sanitization
spectre_v2:Unknown
AFAIK it has 4 Cortex-A53 cores (no PSCI firmware), so shouldn't be affected.
How can this be fixed?
Thanks
Stefan