History log of /linux-master/arch/parisc/include/asm/pdcpat.h
Revision Date Author Comments
# db2b0d76 29-Mar-2022 Helge Deller <deller@gmx.de>

parisc: Add PDC locking functions for rendezvous code

Add pdc_cpu_rendezvous_lock() and pdc_cpu_rendezvous_unlock()
to lock PDC while CPU is transitioning into rendezvous state.
This is needed, because the transition phase may take up to 8 seconds.

Add pdc_pat_get_PDC_entrypoint() to get PDC entry point for current CPU.

Signed-off-by: Helge Deller <deller@gmx.de>


# d578bf28 11-Feb-2019 Helge Deller <deller@gmx.de>

parisc: Add constant for PDC_PAT_COMPLEX firmware call

Signed-off-by: Helge Deller <deller@gmx.de>


# fe8376db 19-Oct-2018 Helge Deller <deller@gmx.de>

parisc: Add PDC PAT cell_info() and pd_get_pdc_revisions() functions

Add wrappers for the PDC_PAT_CELL_GET_INFO and
PDC_PAT_PD_GET_PDC_INTERF_REV PAT PDC subfunctions.

Both provide access to the PAT capability bitfield which can guide us if
simultaneous PTLBs are allowed on the bus, and if firmware will
rendezvous all processors within PDCE_Check in case of an HPMC.

Signed-off-by: Helge Deller <deller@gmx.de>


# 8dbac774 06-Oct-2018 Helge Deller <deller@gmx.de>

parisc: Add SYSTEM_INFO and REGISTER TOC PAT functions

Signed-off-by: Helge Deller <deller@gmx.de>


# 8a5aa00e 04-Aug-2017 Helge Deller <deller@gmx.de>

parisc: PDT/firmware: Add support to read PDT on older PAT-machines

Older machines with a PAT firmware (e.g. the rp5470) return their Page
Deallocation Table (PDT) info per cell via the PDC_PAT_MEM_PD_INFO PDC call.
This patch adds the necessary structures and wrappers to call firmware.

Signed-off-by: Helge Deller <deller@gmx.de>


# 25a9b765 25-Jul-2017 Helge Deller <deller@gmx.de>

parisc: Add function to return DIMM slot of physical address

Add a firmware wrapper function, which asks PDC firmware for the DIMM slot of a
physical address. This is needed to show users which DIMM module needs
replacement in case a broken DIMM was encountered.

Signed-off-by: Helge Deller <deller@gmx.de>


# c9c2877d 11-May-2017 Helge Deller <deller@gmx.de>

parisc: Add Page Deallocation Table (PDT) support

The firmare in most parisc machines maintains a Page Deallocation Table (PDT)
which holds a list of physical memory addresses where hardware detected memory
errors (single bit and double bit errors).

This patch adds the missing PDC firmware calls and the logic to read the PDT
from firmware, report all current PDT entries and exclude the reported bad
memory from being used by Linux.

Signed-off-by: Helge Deller <deller@gmx.de>


# 637250cc 17-Nov-2016 Helge Deller <deller@gmx.de>

parisc: Enhance CPU detection code on PAT machines

This patch fixes the debug code which runs during the inventory scan on
machines with PAT firmware.

Additionally print out the relationship between the detected logical CPU
number and it's physical location and physical cpu number.
This leads to information which can be used to feed numa-structures in
the kernel in later patches. An example output is from my single-CPU (2
cores) C8000 machine is:

Logical CPU #0 is physical cpu #0 at 0xffff0000ffff15, hpa 0xfffffffffe780000
Logical CPU #1 is physical cpu #1 at 0xffff0000ffff15, hpa 0xfffffffffe781000

Signed-off-by: Helge Deller <deller@gmx.de>


# deae26bf 28-Jul-2008 Kyle McMartin <kyle@mcmartin.ca>

parisc: move include/asm-parisc to arch/parisc/include/asm