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=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL 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 0E5FEC48BE5 for ; Tue, 15 Jun 2021 10:31:17 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9DC8C61454 for ; Tue, 15 Jun 2021 10:31:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9DC8C61454 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id B4B376B0070; Tue, 15 Jun 2021 06:31:15 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AFB146B0071; Tue, 15 Jun 2021 06:31:15 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 99B8A6B0072; Tue, 15 Jun 2021 06:31:15 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0125.hostedemail.com [216.40.44.125]) by kanga.kvack.org (Postfix) with ESMTP id 636316B0070 for ; Tue, 15 Jun 2021 06:31:15 -0400 (EDT) Received: from smtpin06.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id F3F7F180AD806 for ; Tue, 15 Jun 2021 10:31:14 +0000 (UTC) X-FDA: 78255590910.06.9C6BC3E Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com [209.85.210.52]) by imf11.hostedemail.com (Postfix) with ESMTP id B1297200107C for ; Tue, 15 Jun 2021 10:31:03 +0000 (UTC) Received: by mail-ot1-f52.google.com with SMTP id l15-20020a05683016cfb02903fca0eacd15so13776214otr.7 for ; Tue, 15 Jun 2021 03:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QY2/939t5WrgTBjBlWlTUN2kXiGUMSX5srdzV+Tkpzg=; b=YHM+AxYLU1vo0wyn+Xcdbnd4wDcDCXRBgefB95WMmxeVpB3BvW4yvfwfwVluV1Uzct 6K0x9n3XOqRv8uQH8AEMEuII+L+xTyvkNwtmz4LEduSbH1p++oLjK3B5ahJY0azvywOM T31KEOBH92t02N1PEbDaLty+7/fh5xSj5xUDRQatrCmFDyNj2RrjeuLyF00I3rcEzBT5 y4copCCRCT3PrDQibV1nipJBlHCII3CNu463NSgQeBzirVTKyhueU8FaItBT3K9Jt5Tu gXYPLJbUVtIOL6dEEh/yYa6kKqJpNoQ4et+caeyUly9uTAL32yzZbThnjCQGUCk32+3P 6DNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QY2/939t5WrgTBjBlWlTUN2kXiGUMSX5srdzV+Tkpzg=; b=KyFi9tVMpQY5wQFlh6bu0H+BnW8xQVhZ/qgUM8vsMH0GfQq0c4MLn9tVTMpTVOh4hS CrqMc1DFbyftAD1r05vG2SlxuqeeE+kA7MChULZ1gM6Q0mDBWag32Y6qeH/2qUAY0tl6 WsVRxzkaddiXWx0jHqfTfKZlBRT8z/ViShFfscUkcYAMG/CXwTLdeonG1t4DfnfAIGnT Tles7py1jm7NoC7O8F9kspwapU9n/u25KvMnuVyPNC9e+CZ4WPOwVMlMKJ0/WiNr6R8X +fLyZCtoU6XqYBuVKyuaDUui1gZX5yhuSWblDpXCUyV6wekCgtFIigxo35jFEX3R931N jbkA== X-Gm-Message-State: AOAM533n8czB33139GwyLuv70Sywa2n5C5PJI5rOausCOWmf46JXLB9n ZzfseRFTPWjcdxxpUN0kLqsEzwwGR99EFyS8qmu56A== X-Google-Smtp-Source: ABdhPJy0fOalbu0NNzzqQsmoqmUKuJjfDqFf3ggFxXrfL2cRyMZXd7VINleb2XaFbl/rrryoGYhGPaIVwz4Mi8joh90= X-Received: by 2002:a05:6830:93:: with SMTP id a19mr17226203oto.17.1623753073778; Tue, 15 Jun 2021 03:31:13 -0700 (PDT) MIME-Version: 1.0 References: <20210615014705.2234866-1-dja@axtens.net> In-Reply-To: <20210615014705.2234866-1-dja@axtens.net> From: Marco Elver Date: Tue, 15 Jun 2021 12:31:02 +0200 Message-ID: Subject: Re: [PATCH v12 0/6] KASAN core changes for ppc64 radix KASAN To: Daniel Axtens Cc: LKML , Linux Memory Management List , linuxppc-dev@lists.ozlabs.org, kasan-dev , Christophe Leroy , aneesh.kumar@linux.ibm.com, Balbir Singh , Andrey Konovalov Content-Type: text/plain; charset="UTF-8" Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=google.com header.s=20161025 header.b=YHM+AxYL; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf11.hostedemail.com: domain of elver@google.com designates 209.85.210.52 as permitted sender) smtp.mailfrom=elver@google.com X-Stat-Signature: jgeekgr5kxeu51pb5x1yy8dndox5ktmp X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: B1297200107C X-HE-Tag: 1623753063-877777 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: [+Cc Andrey] On Tue, 15 Jun 2021 at 03:47, Daniel Axtens wrote: > > Building on the work of Christophe, Aneesh and Balbir, I've ported > KASAN to 64-bit Book3S kernels running on the Radix MMU. > > I've been trying this for a while, but we keep having collisions > between the kasan code in the mm tree and the code I want to put in to > the ppc tree. So my aim here is for patches 1 through 4 or 1 through 5 > to go in via the mm tree. I think this is reasonable. I'd suggest just sending non-ppc patches separately (i.e. split the series explicitly) to KASAN maintainers, and ensure to Cc Andrew, too. Just point at this series to illustrate how it'll be used. I think the patches are fine, but I'm not entirely sure about the current placements of kasan_arch_is_ready(), so hopefully Andrey can also have a look. > I will then propose the powerpc changes for > a later cycle. (I have attached them to this series as an RFC, and > there are still outstanding review comments I need to attend to.) > > v12 applies to next-20210611. There should be no noticable changes to > other platforms. > > Kind regards, > Daniel > > Daniel Axtens (6): > kasan: allow an architecture to disable inline instrumentation > kasan: allow architectures to provide an outline readiness check > kasan: define and use MAX_PTRS_PER_* for early shadow tables ^^ Up to here could be a separate series to go through -mm. > kasan: Document support on 32-bit powerpc ^^ The Documentation changes are minimal and not just confined to kasan.rst it seems. In fact your "powerpc: Book3S .." patch changes Documentation more. So you could just take "kasan: Document support on 32-bit powerpc" through ppc tree as well. > powerpc/mm/kasan: rename kasan_init_32.c to init_32.c > [RFC] powerpc: Book3S 64-bit outline-only KASAN support