On Tue, 3 Dec 2019 15:42:28 +0530 "Aneesh Kumar K.V"
wrote:
> On 12/3/19 6:20 AM, Dan Williams wrote:
> > On Sat, Nov 30, 2019 at 3:13 PM Andrew Morton
> > wrote:
> >>
> >> On Wed, 25 Sep 2019 09:21:02 +0530 "Aneesh Kumar K.V"
> >> wrote:
> >>
> >>> Andrew Morton writes:
> >>>
> On
On 12/3/19 6:20 AM, Dan Williams wrote:
On Sat, Nov 30, 2019 at 3:13 PM Andrew Morton wrote:
On Wed, 25 Sep 2019 09:21:02 +0530 "Aneesh Kumar K.V"
wrote:
Andrew Morton writes:
On Tue, 17 Sep 2019 21:01:29 +0530 "Aneesh Kumar K.V"
wrote:
vmem_altmap_offset() adjust the section
On Sat, Nov 30, 2019 at 3:13 PM Andrew Morton wrote:
>
> On Wed, 25 Sep 2019 09:21:02 +0530 "Aneesh Kumar K.V"
> wrote:
>
> > Andrew Morton writes:
> >
> > > On Tue, 17 Sep 2019 21:01:29 +0530 "Aneesh Kumar K.V"
> > > wrote:
> > >
> > >> vmem_altmap_offset() adjust the section aligned
On Wed, 25 Sep 2019 09:21:02 +0530 "Aneesh Kumar K.V"
wrote:
> Andrew Morton writes:
>
> > On Tue, 17 Sep 2019 21:01:29 +0530 "Aneesh Kumar K.V"
> > wrote:
> >
> >> vmem_altmap_offset() adjust the section aligned base_pfn offset.
> >> So we need to make sure we account for the same when
On Tue, 17 Sep 2019 21:01:29 +0530 "Aneesh Kumar K.V"
wrote:
> vmem_altmap_offset() adjust the section aligned base_pfn offset.
> So we need to make sure we account for the same when computing base_pfn.
>
> ie, for altmap_valid case, our pfn_first should be:
>
> pfn_first = altmap->base_pfn +
On 9/17/19 8:31 AM, Aneesh Kumar K.V wrote:
vmem_altmap_offset() adjust the section aligned base_pfn offset.
So we need to make sure we account for the same when computing base_pfn.
ie, for altmap_valid case, our pfn_first should be:
pfn_first = altmap->base_pfn + vmem_altmap_offset(altmap);
vmem_altmap_offset() adjust the section aligned base_pfn offset.
So we need to make sure we account for the same when computing base_pfn.
ie, for altmap_valid case, our pfn_first should be:
pfn_first = altmap->base_pfn + vmem_altmap_offset(altmap);
Signed-off-by: Aneesh Kumar K.V
---
* changes