Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp442345ybz; Fri, 1 May 2020 01:50:53 -0700 (PDT) X-Google-Smtp-Source: APiQypJE0G7aA1ve00ByTdtHmHgCYlj7UPNRpfwkkYZW/pF0CfOdBgv3F2Eh3xY2lJqL+z64hpvh X-Received: by 2002:a17:906:cf8a:: with SMTP id um10mr2203093ejb.60.1588323053354; Fri, 01 May 2020 01:50:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588323053; cv=none; d=google.com; s=arc-20160816; b=bNjcoVS+KwVKZYTo3NrpOilKBU0QrYgoaUecm2kgLxw5wTdUeVLdooP8imblGg8B+2 pIKePFgsLJjwhxHM4/RfIUNR5gdCq9eRBxQc4YByjw/ac5x9HqiEcNdTkxWB/Kc5LRlL lw80xN7eKYMevc9aQOmnqtJ25+WzG35FjteRVC1ZHZp4rNDOETeEMaZUlhcT6mPYz6JC eTXECxYoHp83WAWqel+9wA4usKyyjuhB/JWpbbeHVBQ9+9AKuV6h3AC6RqJF/xiIeVdM NCZBzwZqhh+jtwNyK8tXJ8US2xCjmb3LDpmSQuIRq6dRjhW0vJ2y2Q6UA+zMHS2pSIVY vQGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=arn/piRu3PKyj7yP3hHFFHkHZ1ALOX6EyGAfQtqWcHk=; b=JMrBxcV0OLEsxsyNH76SmxW/jRwSuQogp5ivDQUREAjRnFlyXCOVlPE+7VHPyk16o8 Xx+65ljf4q2cpz/ZpXAtf2D2yZdqSPlLdzzOYlCiJU5QQ92eE7BoqOardV8MdJRHzaHu 2iKGn5zpUUfViTqsIqs1yRfWemOPEViJp0GSVxA5m/J1M1hF2QHkNXc3BBuGhQCyKoja epaqVJKdC5eSb/S2yqEbyVY3VlJClOtW9I+ExAM1r9OCihcbx+ku3Fx3+FK/3pZSpb7L XnqGcAeF9c/GAS5wxVnJHYkQeloMbPP3WhV1t8bLAZLQYLabfkf3id8eWsBxj3pTfAR5 Rg1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=nzgl7h+p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t9si1291469ejr.422.2020.05.01.01.50.30; Fri, 01 May 2020 01:50:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=nzgl7h+p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728387AbgEAIqe (ORCPT + 99 others); Fri, 1 May 2020 04:46:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728345AbgEAIqe (ORCPT ); Fri, 1 May 2020 04:46:34 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69248C035494 for ; Fri, 1 May 2020 01:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=arn/piRu3PKyj7yP3hHFFHkHZ1ALOX6EyGAfQtqWcHk=; b=nzgl7h+pCfn8LgiZxOzDyW50ff CrRTrwKf8LndmWwXSTnKp5gLJFKLe1CoB4zY3Dby+38R8ohnz2jcoqAi6shTvD1OLnarP9P4BPZQV 9mrnYiedBjvFoOlINOPvBn5rvQ6Ef1euIH2spFI6qzb7j6LSL/xcCwLbtqVOSUwHjhUO6TOXnfjTJ faS57echPJtCvjnsIfAqy/IoX9MgyU+Sc0RpGCLldDEZjFB5wrk3NEw44tiilcAcx4AcSh25DmWqh Ub0QYiqFPUMRfKHiHfmGvHCjXhU2CyoEx/MBwJNaw1NsMwNVYc6AD8pPH3sQQ+t/K57+bSYf7luEN cnhyld5g==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jURJa-0002xd-99; Fri, 01 May 2020 08:46:34 +0000 Date: Fri, 1 May 2020 01:46:34 -0700 From: Christoph Hellwig To: ira.weiny@intel.com Cc: linux-kernel@vger.kernel.org, Max Filippov , linux-xtensa@linux-xtensa.org Subject: xtensa question, was Re: [PATCH V1 00/10] Remove duplicated kmap code Message-ID: <20200501084634.GH27858@infradead.org> References: <20200430203845.582900-1-ira.weiny@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200430203845.582900-1-ira.weiny@intel.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Max, any idea why xtensa uses PAGE_KERNEL_EXEC instead of PAGE_KERNEL for kmap_prot? Mapping all mapped highmem as executable seems rather dangerous.