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=-6.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 981B8C433DB for ; Tue, 12 Jan 2021 09:05:44 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2708A22DFB for ; Tue, 12 Jan 2021 09:05:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2708A22DFB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 385578D0076; Tue, 12 Jan 2021 04:05:43 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 333288D0051; Tue, 12 Jan 2021 04:05:43 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 249258D0076; Tue, 12 Jan 2021 04:05:43 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0062.hostedemail.com [216.40.44.62]) by kanga.kvack.org (Postfix) with ESMTP id 0EC588D0051 for ; Tue, 12 Jan 2021 04:05:43 -0500 (EST) Received: from smtpin11.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 9711B9415 for ; Tue, 12 Jan 2021 09:05:42 +0000 (UTC) X-FDA: 77696540124.11.end05_16143a327514 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin11.hostedemail.com (Postfix) with ESMTP id 4E473180F8B8B for ; Tue, 12 Jan 2021 09:05:42 +0000 (UTC) X-HE-Tag: end05_16143a327514 X-Filterd-Recvd-Size: 3608 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf08.hostedemail.com (Postfix) with ESMTP for ; Tue, 12 Jan 2021 09:05:41 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 8BC6F230FF for ; Tue, 12 Jan 2021 09:05:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610442340; bh=bjd/707GK1bm6/mi1xk8Lwzjj+wCIAT2bS3UP0CKR1U=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=VRoncQMtHuBhXZQmQkZ+e6Oh9YdJgT+ZHakVYDJn2v8DVJJg+6t9G2exQbtIqOXgB vK9ix/R4FGCA0FfT4Dk1WPCfMJ7kxQWjjLh37YGwX0CB/7vGYMTLI031/U7TjG0fzL P37YEOs6g0OevoPFqOL+cqjeJ7UAwib50mSvez8Qh/DODpaSpJH0VfCdI/xJJ3LGrw A+dGN/RdcGeKhgyl1psoDYKOJOsGESrfbIL3z15GBVunUMYNeq7CuOdA36tpTaFDwT Dx1TorGnmXqStxms9cSGu41pCyvphMenw+zlrIBC4K2hzvYnRLFTgUVRu7tJ9DDi9B 4xUEsgYUXYIBg== Received: by mail-ot1-f41.google.com with SMTP id w3so1561085otp.13 for ; Tue, 12 Jan 2021 01:05:40 -0800 (PST) X-Gm-Message-State: AOAM530DoDwt8kiji44H51Rq0NGOpsfC3enf8nRelWEErq1jjPJwcb0f 16VCHzy7OZyRQbgJ8XJPFy8YjB9ikIPIHI9TH/I= X-Google-Smtp-Source: ABdhPJwj3mPMmgYQ0X+AvLaM4xW5bzXHpHoZO7TjUBvmuZFCzbVPq210vv6JqOcL4kamNliDzBUPfHVmeWuiGwbdPio= X-Received: by 2002:a05:6830:1c24:: with SMTP id f4mr2131209ote.108.1610442339716; Tue, 12 Jan 2021 01:05:39 -0800 (PST) MIME-Version: 1.0 References: <20210109044622.8312-1-hailongliiu@yeah.net> <4c009d78.4e1.176ebcf8bc9.Coremail.hailongliiu@yeah.net> <20210111221820.b252f44de1e0bf4add506776@linux-foundation.org> In-Reply-To: <20210111221820.b252f44de1e0bf4add506776@linux-foundation.org> From: Ard Biesheuvel Date: Tue, 12 Jan 2021 10:05:28 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] arm/kasan:fix the arry size of kasan_early_shadow_pte To: Andrew Morton Cc: Linus Walleij , Ziliang Guo , "linux-kernel@vger.kernel.org" , Hailong Liu , Russell King , kasan-dev , hailong , Linux Memory Management List , Alexander Potapenko , Linux ARM , Andrey Ryabinin , Dmitry Vyukov Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, 12 Jan 2021 at 07:19, Andrew Morton wrote: > > On Sun, 10 Jan 2021 13:03:49 +0100 Linus Walleij wrote: > > > On Sun, Jan 10, 2021 at 11:21 AM hailong wrote: > > > > > >> +#ifndef PTE_HWTABLE_PTRS > > > >> +#define PTE_HWTABLE_PTRS 0 > > > >> +#endif > > > > > > > >Can this even happen? We have either pgtable-2level.h or > > > >pgtable-3level.h, both of which define PTE_HWTABLE_PTRS. > > > > > > > > > > I guess not for arm. But I'm not sure for other ARCHs. > > > > Oh it's a generic include. Sorry for the confusion. > > > > All good then! > > > > This code is 2+ years old. Do we think it warrants a cc:stable? > Not needed - ARM only gained Kasan support this cycle, and this patch does not affect any other architectures