Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4897153ybl; Tue, 4 Feb 2020 04:04:20 -0800 (PST) X-Google-Smtp-Source: APXvYqwhfCbKL5wZD4uaFB+UvcizA9UJYz9HiWBZubQF9YuS+6MLjX/X2a7lORtUV7sq4FAHnP82 X-Received: by 2002:a54:450d:: with SMTP id l13mr3244748oil.117.1580817860439; Tue, 04 Feb 2020 04:04:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580817860; cv=none; d=google.com; s=arc-20160816; b=G0vh3Lp4awkrPthmY8CY/B7FqrNAm1Lh5+JgDsQvhFbNaY3FjKXccTp9aL5R/S6mgp gCrL2JoXCIKiR1bV9MfNv/SqxMh79dke1B8k2Tup/0lyVLVIR/2otq831qZ15Iqp88m3 sHvZmZCZutXLpqqqgIYvRplEmYrTWsv+/KYt3xab6VFBm8LD0DEKW5p3jsZZCjjHF9U0 CWAeubjuNRhvuYgpz5B1EsN4OB1kRsheMrGkIvcjuoS7RR2ss2THMxhNb0veZAFLFcwP onhTAowuH51wbbX/j/GOu0DdK/h38h4ZCt3GIWa1KEfxs9u6NIFi+Ql3xYVK2aQnS1ls aYrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=s5rgRmoZR8h+0HubT0kDLd9N4S0UUZifSdOmkvnx7YQ=; b=OGr6vl6Ml9RAzCgeX3SaTFrpQF+RYd2u4u25zag7ucnidW2hZZ5hdaqSWCf5IXB4xX 3oUgGy/q2Ldzy1uMpbRh8732EhPzDC1vnVvtUQk24WDR4DN4ZIzoIsbx/amUaDlK9/mA 6JPS5fUzZMeQTV3ZROVcSOF0tZiB1tyjwa22snFO5irTEIQMTpl7rDnkDxt9ghxtlqOi kQnwCU7P47NsKuzv4dsT3ksNNPeTAn5PWfkBtEa9J+qPfTrvCglE8LSZXsmS1Gkbf/of WHpPf/6f3nPG+ccxQ9zqAJZgf0KIk1oOukoDuORTuwdiYCPx5nGTr3xSBG5amsAF+LtG 0FsA== ARC-Authentication-Results: i=1; mx.google.com; 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 z15si9596291oih.41.2020.02.04.04.04.06; Tue, 04 Feb 2020 04:04:20 -0800 (PST) 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; 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 S1727238AbgBDMBk (ORCPT + 99 others); Tue, 4 Feb 2020 07:01:40 -0500 Received: from bilbo.ozlabs.org ([203.11.71.1]:46175 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727148AbgBDMBj (ORCPT ); Tue, 4 Feb 2020 07:01:39 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 48BjwK1mspzB3x2; Tue, 4 Feb 2020 23:01:36 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 41196224883a64e56e0ef237c19eb837058df071 In-Reply-To: To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc/32s: Fix kasan_early_hash_table() for CONFIG_VMAP_STACK Message-Id: <48BjwK1mspzB3x2@ozlabs.org> Date: Tue, 4 Feb 2020 23:01:36 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2020-01-29 at 12:34:36 UTC, Christophe Leroy wrote: > On book3s/32 CPUs that are handling MMU through a hash table, > MMU_init_hw() function was adapted for VMAP_STACK in order to > handle virtual addresses instead of physical addresses in the > low level hash functions. > > When using KASAN, the same adaptations are required for the > early hash table set up by kasan_early_hash_table() function. > > Fixes: cd08f109e262 ("powerpc/32s: Enable CONFIG_VMAP_STACK") > Signed-off-by: Christophe Leroy Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/41196224883a64e56e0ef237c19eb837058df071 cheers