Re: [Question] Hardware management of stage2 page dirty state

2020-05-14 Thread zhukeqian
Hi Catalin, On 2020/5/15 0:14, Catalin Marinas wrote: > Hi Keqian, > > On Thu, May 14, 2020 at 05:16:52PM +0800, zhukeqian wrote: >> I have some questions after deep reading your patch >> https://patchwork.kernel.org/patch/8824261/ which enables hardware updates >> of the Access Flag for Stage 2

Re: [Question] Hardware management of stage2 page dirty state

2020-05-14 Thread Catalin Marinas
Hi Keqian, On Thu, May 14, 2020 at 05:16:52PM +0800, zhukeqian wrote: > I have some questions after deep reading your patch > https://patchwork.kernel.org/patch/8824261/ which enables hardware updates > of the Access Flag for Stage 2 page tables. > > I notice that at the bottom of commit message,

Re: [PATCH kvmtool] rtc: Generate fdt node for the real-time clock

2020-05-14 Thread André Przywara
On 14/05/2020 13:20, Mark Rutland wrote: Hi, > > On Thu, May 14, 2020 at 10:45:53AM +0100, Andre Przywara wrote: >> On arm and arm64 we expose the Motorola RTC emulation to the guest, >> but never advertised this in the device tree. >> >> EDK-2 seems to rely on this device, but on its hardcoded

Re: [PATCH kvmtool] rtc: Generate fdt node for the real-time clock

2020-05-14 Thread Mark Rutland
Hi Andre, On Thu, May 14, 2020 at 10:45:53AM +0100, Andre Przywara wrote: > On arm and arm64 we expose the Motorola RTC emulation to the guest, > but never advertised this in the device tree. > > EDK-2 seems to rely on this device, but on its hardcoded address. To > make this more future-proof, a

[PATCH kvmtool] rtc: Generate fdt node for the real-time clock

2020-05-14 Thread Andre Przywara
On arm and arm64 we expose the Motorola RTC emulation to the guest, but never advertised this in the device tree. EDK-2 seems to rely on this device, but on its hardcoded address. To make this more future-proof, add a DT node with the address in it. EDK-2 can then read the proper address from ther

[Question] Hardware management of stage2 page dirty state

2020-05-14 Thread zhukeqian
Hi Catalin, I have some questions after deep reading your patch https://patchwork.kernel.org/patch/8824261/ which enables hardware updates of the Access Flag for Stage 2 page tables. I notice that at the bottom of commit message, you said the following words: "After some digging through the KVM c