[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <631aa35e-2575-3ec0-ec0f-7d45e49b8373@flygoat.com>
Date: Fri, 9 Oct 2020 11:00:36 +0800
From: Jiaxun Yang <jiaxun.yang@...goat.com>
To: Serge Semin <fancer.lancer@...il.com>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Cc: Hauke Mehrtens <hauke@...ke-m.de>,
Rafał Miłecki <zajec5@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
bcm-kernel-feedback-list@...adcom.com,
"Maciej W. Rozycki" <macro@...ux-mips.org>,
Keguang Zhang <keguang.zhang@...il.com>,
John Crispin <john@...ozen.org>, linux-mips@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2] MIPS: replace add_memory_region with memblock
在 2020/10/8 23:20, Serge Semin 写道:
[...]
>
>> - add_memory_region(LOONGSON_HIGHMEM_START,
>> - highmemsize << 20, BOOT_MEM_RAM);
>> -
>> - add_memory_region(LOONGSON_PCI_MEM_END + 1, LOONGSON_HIGHMEM_START -
>> - LOONGSON_PCI_MEM_END - 1, BOOT_MEM_RESERVED);
>> -
>> + memblock_add(LOONGSON_HIGHMEM_START, highmemsize << 20);
> The same question. Is it ok to discard the
> [LOONGSON_PCI_MEM_END+1:LOONGSON_HIGHMEM_START-LOONGSON_PCI_MEM_END-1] region
> removal operation?
Hi all,
I can confirm this reservation can be removed.
It was used to ensure HIGHMEM won't overlap PCI MMIO region when
firmware was unreliable.
But I do think we shouldn't care this case as an unreliable firmware
shouldn't
ship with any devices for end users.
Also it won't affect display of /proc/iomem, now we're on age of
DeviceTree :-)
Thanks.
- Jiaxun
>
> -Sergey
>
>> #endif /* !CONFIG_64BIT */
>> }
>>
Powered by blists - more mailing lists