Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1727476

Re: n900 in next-20170901

From Tony Lindgren <tony@atomide.com>
Newsgroups linux.kernel
Subject Re: n900 in next-20170901
Date 2017-09-06 15:40 +0200
Message-ID <umIIF-2qh-9@gated-at.bofh.it> (permalink)
References <ulJQt-4xO-17@gated-at.bofh.it> <umsue-7B9-3@gated-at.bofh.it> <umvBL-1gv-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

* Joonsoo Kim <iamjoonsoo.kim@lge.com> [170905 16:32]:
> I think that I made a mistake for configuration CONFIG_HIGHMEM=y and
> CONFIG_HAVE_MEMBLOCK_NODE_MAP=y. In this case, the MOVABLE_ZONE can
> be *!highmem*. Could you check that your configuration have above
> options?

CONFIG_HIGHMEM is set yeah.

> And, could you check that following patch works for you?

Does not seem to help, tried against next with just 9caf25f996e8
revert and also with 9caf25f996e8.

Regards,

Tony


> ------------>8-----------------
> diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
> index 38f0fde..4c39c92 100644
> --- a/arch/arm/mm/dma-mapping.c
> +++ b/arch/arm/mm/dma-mapping.c
> @@ -518,7 +518,7 @@ void __init dma_contiguous_remap(void)
>                  * considered as highmem even if it's physical address belong
>                  * to lowmem. Therefore, re-mapping isn't required.
>                  */
> -               if (!IS_ENABLED(CONFIG_HIGHMEM))
> +               if (!is_highmem_idx(ZONE_MOVABLE))
>                         iotable_init(&map, 1);
>         }
>  }
> 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

n900 in next-20170901 Pavel Machek <pavel@ucw.cz> - 2017-09-03 22:40 +0200
  Re: n900 in next-20170901 Tony Lindgren <tony@atomide.com> - 2017-09-05 22:20 +0200
    Re: n900 in next-20170901 Vlastimil Babka <vbabka@suse.cz> - 2017-09-05 22:30 +0200
      Re: n900 in next-20170901 Tony Lindgren <tony@atomide.com> - 2017-09-05 22:40 +0200
    Re: n900 in next-20170901 Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2017-09-06 01:40 +0200
      Re: n900 in next-20170901 Tony Lindgren <tony@atomide.com> - 2017-09-06 15:40 +0200
        Re: n900 in next-20170901 Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2017-09-07 09:30 +0200
          Re: n900 in next-20170901 Tony Lindgren <tony@atomide.com> - 2017-09-07 18:20 +0200
    Re: n900 in next-20170901 Pavel Machek <pavel@ucw.cz> - 2017-09-08 11:40 +0200

csiph-web