Re: [PATCH 1/5] KVM: arm64: Drop direct PAGE_[SHIFT|SIZE] usage as page size

2021-08-11 Thread Marc Zyngier
On Wed, 11 Aug 2021 10:37:36 +0100, Anshuman Khandual wrote: > > > > On 8/11/21 1:41 PM, Marc Zyngier wrote: > > On Wed, 11 Aug 2021 06:34:46 +0100, > > Anshuman Khandual wrote: > >> > >> > >> > >> On 8/10/21 7:03 PM, Marc Zyngier wrote: > >>> On 2021-08-10 08:02, Anshuman Khandual wrote: >

Re: [PATCH 1/5] KVM: arm64: Drop direct PAGE_[SHIFT|SIZE] usage as page size

2021-08-11 Thread Anshuman Khandual
On 8/11/21 1:41 PM, Marc Zyngier wrote: > On Wed, 11 Aug 2021 06:34:46 +0100, > Anshuman Khandual wrote: >> >> >> >> On 8/10/21 7:03 PM, Marc Zyngier wrote: >>> On 2021-08-10 08:02, Anshuman Khandual wrote: All instances here could just directly test against CONFIG_ARM64_XXK_PAGES

Re: [PATCH 1/5] KVM: arm64: Drop direct PAGE_[SHIFT|SIZE] usage as page size

2021-08-11 Thread Marc Zyngier
On Wed, 11 Aug 2021 06:34:46 +0100, Anshuman Khandual wrote: > > > > On 8/10/21 7:03 PM, Marc Zyngier wrote: > > On 2021-08-10 08:02, Anshuman Khandual wrote: > >> All instances here could just directly test against CONFIG_ARM64_XXK_PAGES > >> instead of evaluating via PAGE_SHIFT or PAGE_SIZE.

Re: [PATCH 1/5] KVM: arm64: Drop direct PAGE_[SHIFT|SIZE] usage as page size

2021-08-10 Thread Anshuman Khandual
On 8/10/21 7:03 PM, Marc Zyngier wrote: > On 2021-08-10 08:02, Anshuman Khandual wrote: >> All instances here could just directly test against CONFIG_ARM64_XXK_PAGES >> instead of evaluating via PAGE_SHIFT or PAGE_SIZE. With this change, there >> will be no such usage left. >> >> Cc: Marc

Re: [PATCH 1/5] KVM: arm64: Drop direct PAGE_[SHIFT|SIZE] usage as page size

2021-08-10 Thread Anshuman Khandual
On 8/10/21 6:50 PM, Will Deacon wrote: > On Tue, Aug 10, 2021 at 12:32:37PM +0530, Anshuman Khandual wrote: >> All instances here could just directly test against CONFIG_ARM64_XXK_PAGES >> instead of evaluating via PAGE_SHIFT or PAGE_SIZE. With this change, there >> will be no such usage left.

Re: [PATCH 1/5] KVM: arm64: Drop direct PAGE_[SHIFT|SIZE] usage as page size

2021-08-10 Thread Marc Zyngier
On 2021-08-10 08:02, Anshuman Khandual wrote: All instances here could just directly test against CONFIG_ARM64_XXK_PAGES instead of evaluating via PAGE_SHIFT or PAGE_SIZE. With this change, there will be no such usage left. Cc: Marc Zyngier Cc: James Morse Cc: Alexandru Elisei Cc: Suzuki K

Re: [PATCH 1/5] KVM: arm64: Drop direct PAGE_[SHIFT|SIZE] usage as page size

2021-08-10 Thread Will Deacon
On Tue, Aug 10, 2021 at 12:32:37PM +0530, Anshuman Khandual wrote: > All instances here could just directly test against CONFIG_ARM64_XXK_PAGES > instead of evaluating via PAGE_SHIFT or PAGE_SIZE. With this change, there > will be no such usage left. > > Cc: Marc Zyngier > Cc: James Morse > Cc:

[PATCH 1/5] KVM: arm64: Drop direct PAGE_[SHIFT|SIZE] usage as page size

2021-08-10 Thread Anshuman Khandual
All instances here could just directly test against CONFIG_ARM64_XXK_PAGES instead of evaluating via PAGE_SHIFT or PAGE_SIZE. With this change, there will be no such usage left. Cc: Marc Zyngier Cc: James Morse Cc: Alexandru Elisei Cc: Suzuki K Poulose Cc: Catalin Marinas Cc: Will Deacon