From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99FD3C433DF for ; Sat, 16 May 2020 06:06:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5E5A520671 for ; Sat, 16 May 2020 06:06:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CiSDknuW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726406AbgEPGGa (ORCPT ); Sat, 16 May 2020 02:06:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725803AbgEPGGa (ORCPT ); Sat, 16 May 2020 02:06:30 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3187C061A0C for ; Fri, 15 May 2020 23:06:29 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id z15so4848739pjb.0 for ; Fri, 15 May 2020 23:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=9yedn3qfHjLM32OIbYmV/Cr3YjdgfcJ0Re0Gxm2GLZg=; b=CiSDknuW2CMRJcaVSe9+ahgAMOD3wVXZZnG3298IFAjWCkN9aLnZT5eiBzoRU/9aXy egbfwuoj8CVSPlgRT6xaI2W4FrvUAGdFx857ZhrgxBubFNXnA6DkdJkJrNONhobUUAOV YMNJ7yd9CipogGdTJM2Oa1gc2QlmHziCfTwzL2oYf9np0E6ZpHTjjUG8Jif4ObLYp9vn 0C2yPY/uZ17YWxTbon97nipp94Z87HXdak+ufcmyooY+iXFcJbjHyM37fdbHjgtLONKk 331d95TkOfJ6w7wSi0XNbHrtBOiKRQAJBEhsdYQ/ZhbUM3sD41WsCHKXdOJ89TMi0I4v cZ+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=9yedn3qfHjLM32OIbYmV/Cr3YjdgfcJ0Re0Gxm2GLZg=; b=A8aDbWhti5TKGGGgJpEAlDLWM9RIICufiWnlKaWUU0+4Ra/3eku5bD8TdB1X3h+/V1 USLtuKoRZMqthT/FCzmVS9f9HQNAt8lfv/Ok3G6OmuWT0VrQrHsyv5cH3m+6CCDj5PmI +uPsxobJ3somBxHXg+NBfMbGPe/zj6sg5/5s1ctDClaiKdbPHvhsweN3+31TGNPRxSdu 9yfI9sJNMZsGW3FL+03bfbW2JUYDfKnpEw7dXWaUnfEzB6s4hpRTkgNYbz0jheQmgn1m T3GQyO9l9Ndoo6s9z2anQsCbQmD/9xEUeNnNP+Wv8/oVTwcgtBOZMGVk3nY6foEnhaZu SUng== X-Gm-Message-State: AOAM532yAURqKjguHi2Tg9QQAl0j0j4jMlF6rd90io22adERCcEbDcgw QIl295qA46eg+MlJTfeA0hrJnNJ3 X-Google-Smtp-Source: ABdhPJzGAfpa04r3IfhHrHbETdXS4Ctg9HnFuKMrWSojSbA63aMYelLohClIUG1dqCwqc1UpdZ+BVQ== X-Received: by 2002:a17:90a:2567:: with SMTP id j94mr6900442pje.26.1589609187183; Fri, 15 May 2020 23:06:27 -0700 (PDT) Received: from localhost ([49.205.222.224]) by smtp.gmail.com with ESMTPSA id s2sm946201pjs.9.2020.05.15.23.06.25 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 May 2020 23:06:26 -0700 (PDT) Date: Sat, 16 May 2020 11:36:24 +0530 From: afzal mohammed To: Arnd Bergmann Cc: Russell King , Linux ARM , "linux-kernel@vger.kernel.org" Subject: Re: ARM: static kernel in vmalloc space Message-ID: <20200516060624.GA6371@afzalpc> References: <20200504091018.GA24897@afzalpc> <20200511142113.GA31707@afzalpc> <20200512104758.GA12980@afzalpc> <20200514111755.GA4997@afzalpc> <20200514133545.GA5020@afzalpc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, May 14, 2020 at 05:32:41PM +0200, Arnd Bergmann wrote: > Typical distros currently offer two kernels, with and without LPAE, > and they probably don't want to add a third one for LPAE with > either highmem or vmsplit-4g-4g. Having extra user address > space and more lowmem is both going to help users that > still have 8GB configurations. Okay, so the conclusion i take is, 1. VMSPLIT 4G/4G have to live alongside highmem 2. For user space copy, do pinning followed by kmap Regards afzal From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 501C3C433E0 for ; Sat, 16 May 2020 06:06:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1F638206C0 for ; Sat, 16 May 2020 06:06:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Xx1RnacI"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CiSDknuW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1F638206C0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=j3q2eez4SK9DWL+vz3a7UeaVt3/UrZ741wKy12d4ULs=; b=Xx1RnacIlqrjh2 OBnPfKd05KKn6I+UYP37kpz54wEnW/sRZ1D6XBCxAlkFJZQAID0+5QjKxJn4y+xnM6jxZrAecXsIO laFz+5TCKzi8doroPv21v1qyPsFGGfMUuOxLIKfFymL5yQQ/Za47FHFVjjnoVaH0zu7UV2A/kdw8V aOx2y+xmhd7Ab/nrAx4RvQTmfeVXv7xCwIEKfjQeP5+/2QXNFKPIAKqaneEOXhMbwRcPZEp71K3yu Jq2QhrC1jXYNFrGmQPgEK5GiYd4K3sfAojjIk95hCUygbwuYtCXvCitsBStjsT9TdgOMijEmdeoZt vfcpBBif1oXXzvRuGUww==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jZpxx-0004YJ-W7; Sat, 16 May 2020 06:06:33 +0000 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jZpxu-0004Xx-8N for linux-arm-kernel@lists.infradead.org; Sat, 16 May 2020 06:06:31 +0000 Received: by mail-pj1-x102e.google.com with SMTP id a5so1918890pjh.2 for ; Fri, 15 May 2020 23:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=9yedn3qfHjLM32OIbYmV/Cr3YjdgfcJ0Re0Gxm2GLZg=; b=CiSDknuW2CMRJcaVSe9+ahgAMOD3wVXZZnG3298IFAjWCkN9aLnZT5eiBzoRU/9aXy egbfwuoj8CVSPlgRT6xaI2W4FrvUAGdFx857ZhrgxBubFNXnA6DkdJkJrNONhobUUAOV YMNJ7yd9CipogGdTJM2Oa1gc2QlmHziCfTwzL2oYf9np0E6ZpHTjjUG8Jif4ObLYp9vn 0C2yPY/uZ17YWxTbon97nipp94Z87HXdak+ufcmyooY+iXFcJbjHyM37fdbHjgtLONKk 331d95TkOfJ6w7wSi0XNbHrtBOiKRQAJBEhsdYQ/ZhbUM3sD41WsCHKXdOJ89TMi0I4v cZ+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=9yedn3qfHjLM32OIbYmV/Cr3YjdgfcJ0Re0Gxm2GLZg=; b=IDi4I5CuX5byHFXIWXAJw4Br+FjR1NIiEP+IT0+ieSl9wkF96MTdckXy/3DbXJJgnI q9hY9hh8DkMQhjxGqC2N7GAeA4V3rXTX3+0b/h06vmueBht5X+HjbVHP045XnuIcfd/T Yw2RCtN4G3wwJBgER8MgOnjcFpGdvNm81/cNxL2nIPzsnK2Rn0ko2BQ8saC4twao4/GX vT7ZVVACw8gweKMosGXHDaD0HuhokREQk+f2fOf1RjzcSWThNtYVedImJ7WG9Vqv3N1z xnuk9aZvnGSWNvFEL+spuKkU6JoXv0Y0RgxiLJoFWVtX3GpD6qWJofU48FaoeRIHioIV FAqQ== X-Gm-Message-State: AOAM532nULshdFX+cXVmBRQPEZr7Au7god2q7BNIeCDl1IxXDI2Acit1 EjEQED8LNCzReXmUWYyBlW4= X-Google-Smtp-Source: ABdhPJzGAfpa04r3IfhHrHbETdXS4Ctg9HnFuKMrWSojSbA63aMYelLohClIUG1dqCwqc1UpdZ+BVQ== X-Received: by 2002:a17:90a:2567:: with SMTP id j94mr6900442pje.26.1589609187183; Fri, 15 May 2020 23:06:27 -0700 (PDT) Received: from localhost ([49.205.222.224]) by smtp.gmail.com with ESMTPSA id s2sm946201pjs.9.2020.05.15.23.06.25 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 May 2020 23:06:26 -0700 (PDT) Date: Sat, 16 May 2020 11:36:24 +0530 From: afzal mohammed To: Arnd Bergmann Subject: Re: ARM: static kernel in vmalloc space Message-ID: <20200516060624.GA6371@afzalpc> References: <20200504091018.GA24897@afzalpc> <20200511142113.GA31707@afzalpc> <20200512104758.GA12980@afzalpc> <20200514111755.GA4997@afzalpc> <20200514133545.GA5020@afzalpc> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200515_230630_323085_62E90658 X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Russell King , Linux ARM , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, On Thu, May 14, 2020 at 05:32:41PM +0200, Arnd Bergmann wrote: > Typical distros currently offer two kernels, with and without LPAE, > and they probably don't want to add a third one for LPAE with > either highmem or vmsplit-4g-4g. Having extra user address > space and more lowmem is both going to help users that > still have 8GB configurations. Okay, so the conclusion i take is, 1. VMSPLIT 4G/4G have to live alongside highmem 2. For user space copy, do pinning followed by kmap Regards afzal _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel