| #
471aeecf |
| 06-Apr-2022 |
naddy <naddy@openbsd.org> |
constify struct cfattach
|
| #
ebe67516 |
| 21-Feb-2022 |
jsg <jsg@openbsd.org> |
implenent -> implement
|
| #
52287a62 |
| 20-Dec-2020 |
kettenis <kettenis@openbsd.org> |
Fix typo.
|
| #
4fe74606 |
| 20-Dec-2020 |
kettenis <kettenis@openbsd.org> |
The TCE table needs to be aligned on a boundary that is a multiple of its size. Fixes booting on machines that have memory banks higher up in physical address space which needs a larger TCE table.
|
| #
dfa9b95e |
| 15-Nov-2020 |
kettenis <kettenis@openbsd.org> |
Make sure we perform address translation to all elements of a DMA mapping.
|
| #
e584986b |
| 25-Oct-2020 |
kettenis <kettenis@openbsd.org> |
Implement a workaround for PCI devices that can't address the full 64-bit PCI address space. Needed for radeondrm(4) and amdgpu(4) since Radeon GPUs only implement 36, 40 or 44 bits of address space.
|
| #
bc16de68 |
| 24-Oct-2020 |
kettenis <kettenis@openbsd.org> |
Prefer 32-bit MSI even if the hardware supports 64-bit MSI to work around buggy Radeon cards that advertise 64-bit MSI but only implement 40 bits.
|
| #
a940e3de |
| 21-Sep-2020 |
kettenis <kettenis@openbsd.org> |
Correctly pass the "struct cpu_info" pointer along when establishing interrupts. This fixes IPIs on machines with certain (newer?) OPAL firmware. It also allows implementing pci_intr_establish_cpu(
Correctly pass the "struct cpu_info" pointer along when establishing interrupts. This fixes IPIs on machines with certain (newer?) OPAL firmware. It also allows implementing pci_intr_establish_cpu(9), which is needed for distributing interrupt handlers across CPUs.
tested by gkoehler@
show more ...
|
| #
9a6d29e4 |
| 01-Sep-2020 |
kettenis <kettenis@openbsd.org> |
Implement address translation for bus_space_mmap(9).
|
| #
976ec351 |
| 01-Sep-2020 |
kettenis <kettenis@openbsd.org> |
Store the device tree node in the pcitag_t.
|
| #
1d508df5 |
| 23-Aug-2020 |
kettenis <kettenis@openbsd.org> |
Attempt to support IODA2 bridges such as the one found on POWER8 chips. These lack an "ibm,opal-available-m64-ranges" property, but it seems we can assume a 0-15 range. At least this is what Linux d
Attempt to support IODA2 bridges such as the one found on POWER8 chips. These lack an "ibm,opal-available-m64-ranges" property, but it seems we can assume a 0-15 range. At least this is what Linux does.
show more ...
|
| #
8c3334e9 |
| 14-Jul-2020 |
kettenis <kettenis@openbsd.org> |
Make INTx interupts work.
|
| #
155713db |
| 05-Jul-2020 |
kettenis <kettenis@openbsd.org> |
We need to set the bypass bit for "raw" DMA memory as well.
|
| #
06b18bea |
| 29-Jun-2020 |
kettenis <kettenis@openbsd.org> |
Use the right bus space tag when enabling MSI-X interrupts. Makes them actually work.
|
| #
4f6e6564 |
| 26-Jun-2020 |
jsg <jsg@openbsd.org> |
avoid uninitialised pointer use
found with scan-build, ok kettenis@
|
| #
c324a513 |
| 14-Jun-2020 |
kettenis <kettenis@openbsd.org> |
Provide address space extents. While the firmware does configure the bridge windows it doesn't enable the bus master bit in the command register. This prevents DMA from working. By providing the add
Provide address space extents. While the firmware does configure the bridge windows it doesn't enable the bus master bit in the command register. This prevents DMA from working. By providing the address space extents ppb(4) will automatically configure the bridge and set the bit.
show more ...
|
| #
0d8e59b5 |
| 14-Jun-2020 |
kettenis <kettenis@openbsd.org> |
Get context switching between kernel threads going.
Since the stacks for kernel threads are not mapped 1:1 this involves translating virtual addresses into physical addresses when making OPAL calls.
|
| #
1af8fcf9 |
| 13-Jun-2020 |
kettenis <kettenis@openbsd.org> |
Add support for the XIVE interrupt controller found on POWER9 CPUs.
|
| #
fbe80760 |
| 10-Jun-2020 |
kettenis <kettenis@openbsd.org> |
Allocate MSIs from the range provided by the device tree and bind them to a PE.
|
| #
1f76319b |
| 10-Jun-2020 |
kettenis <kettenis@openbsd.org> |
A bit of MSI support code; we need to distinguish between 32-bit and 64-bit MSIs on powerpc64.
|
| #
324b9c79 |
| 08-Jun-2020 |
kettenis <kettenis@openbsd.org> |
Set up 64-bit mmio windows and enable DMA bypass mode.
|
| #
7fe0f08f |
| 07-Jun-2020 |
kettenis <kettenis@openbsd.org> |
Do the approprate address remapping and install bus_space(9) functions that do the necessary byte swapping for a little-endian bus.
|
| #
ce837c9b |
| 07-Jun-2020 |
kettenis <kettenis@openbsd.org> |
Probe the PCI bus.
|