Re: [GIT PULL] parisc architecture fixes for 4.15-rc7

From: Helge Deller
Date: Wed Jan 10 2018 - 08:45:07 EST


On 10.01.2018 00:03, Kees Cook wrote:
> On Sun, Jan 7, 2018 at 8:21 AM, Helge Deller <deller@xxxxxx> wrote:
>> Hi Linus,
>>
>> please pull a few fixes for the parisc architecture from:
>>
>> git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.15-3
>>
>> The fixes are:
>> - Many small fixes to show the real physical addresses of devices instead of
>> hashed addresses.
>>
>> - One important fix to unbreak 32-bit SMP support: We forgot to 16-byte align
>> the spinlocks in the assembler code.
>>
>> - Qemu support: The host will get a chance to sleep when the parisc guest is
>> idle. We use the same mechanism as the power architecture by overlaying the
>> "or %r10,%r10,%r10" instruction which is simply a nop on real hardware.
>>
>> Thanks,
>> Helge
>>
>> ----------------------------------------------------------------
>> Helge Deller (6):
>> parisc: Show unhashed hardware inventory
>> parisc: Show unhashed EISA EEPROM address
>
> These looks like a physical addresses, yes.
>
>> parisc: Show initial kernel memory layout unhashed
>> parisc: Show unhashed HPA of Dino chip
>
> But these are virtual addresses and should be just removed, not
> switched to %px. They're not physical addresses that I can see, e.g.
> "dino_dev" is clearly being used as an in-memory structure, and the
> kernel layout literally says "virtual kernel memory layout".

Agreed, some of those should go.
I'll clean that up in upcoming patches.

Thanks!
Helge