Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3498685ybi; Mon, 29 Jul 2019 07:35:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqyH88IxF5dPzZseK43KNFnw8YY2aOIX9lLJhNP5zWk7vF53MoqmG5KJrhMKzVUVr+jEx5O8 X-Received: by 2002:a17:902:b909:: with SMTP id bf9mr16740614plb.309.1564410921824; Mon, 29 Jul 2019 07:35:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564410921; cv=none; d=google.com; s=arc-20160816; b=F9jGDuZh0hkbydFiqRB6y4SfTh3d+0Y3IAiQ6JdJZRZSfrhBOiXdouvztcPmI6lugn eSLPSwGHy4VBHsEjluI3R+EkmHWGrHPwiGJT7mbtMhyfBnG4IAl5iYqptRS0sVLYqSQA KK8/JktX4FhV3IH0EU9neXqXqI2vLuZspOyhDkRt3MU6cu5SZt57Qfg8v9WJ76WZ+aEq Sy5dIzUG0HnMa1I6evtFidXWKEUV6GH8HZbg7x2uRkcrkww3gJL2FPFHdBqTWSx40iWn 9AXXJidmoWGYRmVWA0+596G8qQ0Yx7KrW2QCKcUWn9yUbPG3rgM2yo2yPx6PgG2G5RUl I6LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1Qg4ugmQtTe6Jeu2janlNWnIvWzDuxv0JhGbvOZJApQ=; b=ABZlLy6u+QfC13ojYkZguqa3baZatX/sc43h8i8WNQxnkc+t1WAVZWnpYf6gYhMql9 fDbaJKltastagKqM6sCkwpyM19Pg9Hicw6tvbfvAfp9Nn/GNVMugXK5tjU+wkmvrVOKy S79vQB3A4TexVXHrbSphoMvTBlOmw4CLRgeP1xhDWVQJUXH9DJ66NkgmCZuAR/Zd5Mnn nPk0xat1k0MJFW2cxaouO8mIO8hyieprld/BLafYYCdaj/q+EZJLNMc6p1brHFmHSoI2 ZxrUUzSD+EsspkuKDIlCqGowLsFDCzTbMjQLGJnrzuqJwugjUN3cNoTKusTWoLFzaOV1 PF8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kvEqu8lI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y1si25772881plb.147.2019.07.29.07.35.06; Mon, 29 Jul 2019 07:35:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kvEqu8lI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728129AbfG2OdB (ORCPT + 99 others); Mon, 29 Jul 2019 10:33:01 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:48646 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727034AbfG2OdB (ORCPT ); Mon, 29 Jul 2019 10:33:01 -0400 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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1Qg4ugmQtTe6Jeu2janlNWnIvWzDuxv0JhGbvOZJApQ=; b=kvEqu8lIKNg3YVqWqPEw2/3Ef y1fnYT8Taww0z//ZgQ7QYqmocWNLDKRrGSQ8/M/wanZx7bA/Hle3i04bGRo2t+gfVHKpuhd8Tm4fq LzhbJ/fD04hxID9rhr/4uKUB9Z7nVIqnX4tWA7NbSDh0oNsJyGUg67I61bW7824DqgrXPj+SvzjSh 2oYczPWXn7b03CdKoQFOWxRU83ICc2vboQZvCdK4PXZp2k5s59QoldBUXuEPwFJAgY1Vk9tdyeh/r B00n0Q5SY8OAMeA4TOMOCjPPaRWDF+kzzigGj6E+nS89LDXnpteW+2DDu0exatN7HxC4LdcD4CnYx fBn5Jtv7A==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1hs6hY-0008Bk-5V; Mon, 29 Jul 2019 14:32:36 +0000 Date: Mon, 29 Jul 2019 07:32:36 -0700 From: Christoph Hellwig To: Jason Yan Cc: mpe@ellerman.id.au, linuxppc-dev@lists.ozlabs.org, diana.craciun@nxp.com, christophe.leroy@c-s.fr, benh@kernel.crashing.org, paulus@samba.org, npiggin@gmail.com, keescook@chromium.org, kernel-hardening@lists.openwall.com, wangkefeng.wang@huawei.com, linux-kernel@vger.kernel.org, jingxiangfeng@huawei.com, thunder.leizhen@huawei.com, fanchengyang@huawei.com, yebin10@huawei.com Subject: Re: [RFC PATCH 03/10] powerpc: introduce kimage_vaddr to store the kernel base Message-ID: <20190729143236.GB11737@infradead.org> References: <20190717080621.40424-1-yanaijie@huawei.com> <20190717080621.40424-4-yanaijie@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190717080621.40424-4-yanaijie@huawei.com> User-Agent: Mutt/1.11.4 (2019-03-13) 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 On Wed, Jul 17, 2019 at 04:06:14PM +0800, Jason Yan wrote: > Now the kernel base is a fixed value - KERNELBASE. To support KASLR, we > need a variable to store the kernel base. This should probably merged into the patch actually using it.