Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp349378pxk; Thu, 17 Sep 2020 04:58:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcbfL7rbTw2eSBUqt3JoFR5+7nLjJd/v84O5Icdy2xQnZ/9TRUWrnIg/IccdloebCVyf+j X-Received: by 2002:a50:f199:: with SMTP id x25mr31620129edl.347.1600343880324; Thu, 17 Sep 2020 04:58:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600343880; cv=none; d=google.com; s=arc-20160816; b=FU9mh95HWLxokJDbdJN5ZcD3Vr02D0jcdIdgQbQZZWXJTDhPV0K+Qvp3YMYnd2rC79 16jLV8wq6z2/iEAp/2X8RGKihJJhF1ozfmnsqZQe1+AxM6Oc/m5ItGe9TaCxOoHSbsuI Gt5wGv8Iyz3KmuHdkgT7IWZpws/CBT/eDZQ4U/ZA3eH3aDA8q60gv5GQ1pSVnXAo6v6D croIPP1oZjbKbBj7Lq6MfB4YJSzEPf7laKAUnOy2ZzUS2vYx3O6bykKna4YnnIWPYkFx D/gQ9n6BjPmusAfG7SdWnA3+vDzCqR5cbilEyjJj6+KAuOIbb/BCEmq307iraRv4OMPx rAqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:subject:references:in-reply-to :cc:to:from; bh=mteSVq3PDK/whbJuofJ05TB2qW8R4lA4zPHkqr+5kLc=; b=W3ZnlKeoSsmcEteQPusFBjBBzIIwx7qFB7uyYBsgHFVLxrjQjoC52d87ZW0y/2GL6I VsONgcA8m+grcWUuSLGg22u6v7eTyd6cAqb4RDqorAIS7Tfyl++PEakDtgumXVcZKWl0 ntuXetOkpTZb4jG6MxjSdDcB78u+L8T8os/soKmb4cMgT/SzFO/m29JTQmHrY8WdydoS RFIJtNe2Z/ZC2w/mHlxzSuBZ3ZGaGpE5Z4wdw03wj+QlAxFl3N+Eekp3hLV2TiFB3ReJ 8AQ58ZcjkqgSnvOAy4bPk81V4tp+j2PUGEJJ6B4yLiQX/FbUVo884SMMsB+UDcgh+l8u ltwA== ARC-Authentication-Results: i=1; mx.google.com; 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 mh25si14274985ejb.568.2020.09.17.04.57.36; Thu, 17 Sep 2020 04:58:00 -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; 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 S1726843AbgIQL4P (ORCPT + 99 others); Thu, 17 Sep 2020 07:56:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726786AbgIQL1a (ORCPT ); Thu, 17 Sep 2020 07:27:30 -0400 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7514BC06178B for ; Thu, 17 Sep 2020 04:27:22 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4BsZSR0Sg2z9sTQ; Thu, 17 Sep 2020 21:27:18 +1000 (AEST) From: Michael Ellerman To: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Christophe Leroy Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <8ae4554357da4882612644a74387ae05525b2aaa.1599800716.git.christophe.leroy@csgroup.eu> References: <8ae4554357da4882612644a74387ae05525b2aaa.1599800716.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH] powerpc/kasan: Fix CONFIG_KASAN_VMALLOC for 8xx Message-Id: <160034201660.3339803.1270264630243029470.b4-ty@ellerman.id.au> Date: Thu, 17 Sep 2020 21:27:18 +1000 (AEST) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 11 Sep 2020 05:05:38 +0000 (UTC), Christophe Leroy wrote: > Before the commit identified below, pages tables allocation was > performed after the allocation of final shadow area for linear memory. > But that commit switched the order, leading to page tables being > already allocated at the time 8xx kasan_init_shadow_8M() is called. > Due to this, kasan_init_shadow_8M() doesn't map the needed > shadow entries because there are already page tables. > > [...] Applied to powerpc/next. [1/1] powerpc/kasan: Fix CONFIG_KASAN_VMALLOC for 8xx https://git.kernel.org/powerpc/c/4c42dc5c69a8f24c467a6c997909d2f1d4efdc7f cheers