| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
to clang, where the stack frame format changed significantly.
Prompted by guenther@ noticing deprecated ASM warnings
ok drahn@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
attacks. OpenBSD/armv7 is already in pretty good shape as we have always
been flushing the branch predictor cache on context switches. This diff adds
additional flushes to page faults in kernel address space. The impact on
performance should be minimal as these page faults should only happen when
userland (deliberately or accidentally) tries to access kernel addres space
which would lead to a fatal signal (SIGSEGV or SIGBUS).
Loosely based on changes made by Marc Zyngier in Linux and based on
information in Arm Trusted Firmware Security Advisory TFV 6.
Note that for Cortex-A15 (and Cortex-A72) you will need firmware that sets
the ACTRL[0] bit for this diff to be effective. Also note that with this
diff Cortex-A57 is still vulnerable.
ok jsg@
|
|
|
|
| |
ok kettenis@ patrick@
|
|
|
|
|
|
| |
and remove some xscale definitions.
ok kettenis@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUS_DMA_COHERENT flag was mapped as device memory which does not use the
store buffer. It is now mapped as normal inner and outer non-cacheable
which does.
While we drain the cpu store buffer for this case, on cortex a9 systems we
also need to explicitly drain the PL310 L2's store buffer. With PL310
revisions r3p2 and later this is done automatically after being present in
the store buffer for 256 cycles. On i.MX6 PL310 is rev r3p1 which does
not have this behaviour. This issue is i.MX6 errata ERR055199 and PL310
errata 769419.
This change restores io performance with a usb flash drive attached to
my cubox. Raw reads go from 3 MB/s to 19 MB/s for example.
Based on code written by patrick@ some time ago.
ok kettenis@ patrick@
|
|
|
|
| |
Generic xscale support and support for pxa2x0 used by zaurus remains.
|
|
|
|
|
|
| |
specific Auxiliary Control Register (ACTLR).
ok patrick@
|
|
|
|
|
|
|
| |
processor in our code. Now we're left with only armv7 and XScale for
armish and zaurus.
ok jsg@
|
|
|
|
| |
ok jsg@
|
|
|
|
|
|
| |
all unused and unmaintained ARM processors from the past.
ok bmercer@ jsg@
|
|
|
|
|
|
| |
and the included headers didn't even exist.
ok jsg@
|
|
|
|
|
|
|
| |
used and has probably never been used at all. Some included headers
do not even exist.
ok jsg@
|
|
|
|
|
|
| |
are not used by any of the arm platforms.
ok jsg@
|
|
|
|
| |
From Patrick Wildt.
|
|
|
|
|
|
|
| |
never supported by any arm port and wouldn't have built due to a missing
cpufunc_asm_arm8.S file.
From Patrick Wildt.
|
|
|
|
|
| |
This matches FreeBSD and makes things a bit more consistent.
Discussed with Patrick.
|
|
|
|
| |
ok dlg@ mpi@ deraadt@
|
|
|
|
|
|
| |
dynamically determine where e.g. the interrupt controller is.
ok bmercer@
|
| |
|
|
|
|
| |
ok miod@
|
|
|
|
|
|
| |
instruction fault on ARM9E caused by a coprocessor call.
ok miod@
|
|
|
|
|
|
| |
ARMv7 support.
ok miod@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
keep:
- remove bootconfig parameter passing feature (unused).
- unifdef __PROG32 and remove all remains of arm26 code.
- remove ARMFPE support (unused).
- remove support for ARM2, ARM2AS, ARM3, ARM6, ARM7, ARM7TDMI and StrongARM
processor families, and the related silicon bug workarounds (especially
the SA-110 STM^ bug).
- remove cpu_functions no longer necessary after previous removals.
- remove ARM32_DISABLE_ALIGNMENT_FAULTS option (unused).
- make FIQ support conditional on option FIQ (unused, but may be eventually).
Discussed with drahn@ and jasper@ long ago, I was sitting on this commit for
no good reason.
|
|
|
|
| |
Discussed and okay drahn@. Okay deraadt@.
|
| |
|
|
|
|
| |
and not complete.
|
|
|
|
| |
ok drahn@
|
|
|
|
| |
ok drahn@
|
| |
|
| |
|
|
|