mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-06 23:35:07 +07:00
Merge branch 'parisc-4.13-5' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
Pull parisc fixes from Helge Deller: - Fix PCI memory bar assignments with 64-bit kernels on machines with Dino/Cujo PCI chipsets. This makes PCI graphic cards work on such machines (from Thomas Bogendoerfer). - Fix documentation to be more clear about the difference between %pF and %pS printk format usage. There are still many places in the kernel which have it wrong (from Petr Mladek, Sergey Senozhatsky & me). * 'parisc-4.13-5' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux: printk-formats.txt: Better describe the difference between %pS and %pF parisc: pci memory bar assignment fails with 64bit kernels on dino/cujo
This commit is contained in:
commit
3bc6c906ea
@ -58,20 +58,23 @@ Symbols/Function Pointers
|
|||||||
%ps versatile_init
|
%ps versatile_init
|
||||||
%pB prev_fn_of_versatile_init+0x88/0x88
|
%pB prev_fn_of_versatile_init+0x88/0x88
|
||||||
|
|
||||||
For printing symbols and function pointers. The ``S`` and ``s`` specifiers
|
The ``F`` and ``f`` specifiers are for printing function pointers,
|
||||||
result in the symbol name with (``S``) or without (``s``) offsets. Where
|
for example, f->func, &gettimeofday. They have the same result as
|
||||||
this is used on a kernel without KALLSYMS - the symbol address is
|
``S`` and ``s`` specifiers. But they do an extra conversion on
|
||||||
printed instead.
|
ia64, ppc64 and parisc64 architectures where the function pointers
|
||||||
|
are actually function descriptors.
|
||||||
|
|
||||||
|
The ``S`` and ``s`` specifiers can be used for printing symbols
|
||||||
|
from direct addresses, for example, __builtin_return_address(0),
|
||||||
|
(void *)regs->ip. They result in the symbol name with (``S``) or
|
||||||
|
without (``s``) offsets. If KALLSYMS are disabled then the symbol
|
||||||
|
address is printed instead.
|
||||||
|
|
||||||
The ``B`` specifier results in the symbol name with offsets and should be
|
The ``B`` specifier results in the symbol name with offsets and should be
|
||||||
used when printing stack backtraces. The specifier takes into
|
used when printing stack backtraces. The specifier takes into
|
||||||
consideration the effect of compiler optimisations which may occur
|
consideration the effect of compiler optimisations which may occur
|
||||||
when tail-call``s are used and marked with the noreturn GCC attribute.
|
when tail-call``s are used and marked with the noreturn GCC attribute.
|
||||||
|
|
||||||
On ia64, ppc64 and parisc64 architectures function pointers are
|
|
||||||
actually function descriptors which must first be resolved. The ``F`` and
|
|
||||||
``f`` specifiers perform this resolution and then provide the same
|
|
||||||
functionality as the ``S`` and ``s`` specifiers.
|
|
||||||
|
|
||||||
Kernel Pointers
|
Kernel Pointers
|
||||||
===============
|
===============
|
||||||
|
@ -956,7 +956,7 @@ static int __init dino_probe(struct parisc_device *dev)
|
|||||||
|
|
||||||
dino_dev->hba.dev = dev;
|
dino_dev->hba.dev = dev;
|
||||||
dino_dev->hba.base_addr = ioremap_nocache(hpa, 4096);
|
dino_dev->hba.base_addr = ioremap_nocache(hpa, 4096);
|
||||||
dino_dev->hba.lmmio_space_offset = 0; /* CPU addrs == bus addrs */
|
dino_dev->hba.lmmio_space_offset = PCI_F_EXTEND;
|
||||||
spin_lock_init(&dino_dev->dinosaur_pen);
|
spin_lock_init(&dino_dev->dinosaur_pen);
|
||||||
dino_dev->hba.iommu = ccio_get_iommu(dev);
|
dino_dev->hba.iommu = ccio_get_iommu(dev);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user